/** * Status values for data deletion requests from Segment API. * Values match Segment API response values exactly. */ export declare const DATA_DELETE_STATUSES: { readonly Failed: "FAILED"; readonly Finished: "FINISHED"; readonly Initialized: "INITIALIZED"; readonly Invalid: "INVALID"; readonly NotSupported: "NOT_SUPPORTED"; readonly PartialSuccess: "PARTIAL_SUCCESS"; readonly Running: "RUNNING"; readonly Unknown: "UNKNOWN"; }; /** * Type union for data deletion status values. */ export type DataDeleteStatus = (typeof DATA_DELETE_STATUSES)[keyof typeof DATA_DELETE_STATUSES]; /** * Response status for deletion regulation operations. */ export declare const DATA_DELETE_RESPONSE_STATUSES: { readonly Success: "ok"; readonly Failure: "error"; }; /** * Type union for data deletion response status values. */ export type DataDeleteResponseStatus = (typeof DATA_DELETE_RESPONSE_STATUSES)[keyof typeof DATA_DELETE_RESPONSE_STATUSES]; /** * Response from creating a data deletion task. * The service throws errors on failure, so this type only represents the Success case. */ export type DeleteRegulationResponse = { status: typeof DATA_DELETE_RESPONSE_STATUSES.Success; regulateId: string; }; /** * Status information for a data deletion request. */ export type DeleteRegulationStatus = { deletionRequestTimestamp?: number; hasCollectedDataSinceDeletionRequest: boolean; dataDeletionRequestStatus: DataDeleteStatus; }; //# sourceMappingURL=types.d.mts.map