import * as z from "zod/v3"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { ActivityNotificationExecutionDetailResponseDto } from "./activitynotificationexecutiondetailresponsedto.js"; import { ActivityNotificationStepResponseDto } from "./activitynotificationstepresponsedto.js"; import { DigestMetadataDto } from "./digestmetadatadto.js"; import { ProvidersIdEnum } from "./providersidenum.js"; /** * Type of the job */ export declare const ActivityNotificationJobResponseDtoType: { readonly InApp: "in_app"; readonly Email: "email"; readonly Sms: "sms"; readonly Chat: "chat"; readonly Push: "push"; readonly Digest: "digest"; readonly Trigger: "trigger"; readonly Delay: "delay"; readonly Throttle: "throttle"; readonly Custom: "custom"; readonly HttpRequest: "http_request"; }; /** * Type of the job */ export type ActivityNotificationJobResponseDtoType = ClosedEnum; /** * Optional payload for the job */ export type Payload = {}; export type ActivityNotificationJobResponseDto = { /** * Unique identifier of the job */ id: string; /** * Type of the job */ type: ActivityNotificationJobResponseDtoType; /** * Optional digest for the job, including metadata and events */ digest?: DigestMetadataDto | undefined; /** * Execution details of the job */ executionDetails: Array; /** * Step details of the job */ step: ActivityNotificationStepResponseDto; /** * Optional context object for additional error details. */ overrides?: { [k: string]: any; } | undefined; /** * Optional payload for the job */ payload?: Payload | undefined; /** * Provider ID of the job */ providerId: ProvidersIdEnum; /** * Status of the job */ status: string; /** * Updated time of the notification */ updatedAt?: string | undefined; /** * The number of times the digest/delay job has been extended to align with the subscribers schedule */ scheduleExtensionsCount?: number | undefined; }; /** @internal */ export declare const ActivityNotificationJobResponseDtoType$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const Payload$inboundSchema: z.ZodType; export declare function payloadFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ActivityNotificationJobResponseDto$inboundSchema: z.ZodType; export declare function activityNotificationJobResponseDtoFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=activitynotificationjobresponsedto.d.ts.map