import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { CreateRunTransfer, CreateRunTransfer$Outbound } from "./createruntransfer.js"; /** * Occurrences to either create or modify. */ export type Occurrence = { /** * If set to true, will cancel the occurrence. If set false will resume the occurrence. If unset leaves the value unchanged. */ canceled?: boolean | undefined; /** * If set this defines what occurrence to modify, if invalid will fail the request. * * @remarks * If null or "" it defines to add a new occurrence. */ occurrenceID?: string | undefined; /** * Timestamp to run the transfer after. Value must be into the future. */ runOn?: Date | undefined; /** * Defines the attributes of a transfer. */ runTransfer?: CreateRunTransfer | undefined; }; /** @internal */ export declare const Occurrence$inboundSchema: z.ZodType; /** @internal */ export type Occurrence$Outbound = { canceled?: boolean | undefined; occurrenceID?: string | undefined; runOn?: string | undefined; runTransfer?: CreateRunTransfer$Outbound | undefined; }; /** @internal */ export declare const Occurrence$outboundSchema: z.ZodType; export declare function occurrenceToJSON(occurrence: Occurrence): string; export declare function occurrenceFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=occurrence.d.ts.map