import * as z from "zod/v4-mini"; import { Result as SafeParseResult } from "../../types/fp.js"; import { ScheduleStatus } from "./schedule-status.js"; import { SDKValidationError } from "./sdk-validation-error.js"; import { SubscriptionScheduleChangeType } from "./subscription-schedule-change-type.js"; /** * configuration contains type-specific configuration (e.g., target_plan_id for plan changes) */ export type Configuration = {}; /** * execution_result contains type-specific execution result */ export type ExecutionResult = {}; /** * Full details of a subscription schedule */ export type SubscriptionScheduleResponse = { /** * can_be_cancelled indicates if the schedule can be cancelled */ canBeCancelled?: boolean | undefined; /** * cancelled_at is when the schedule was cancelled */ cancelledAt?: Date | undefined; /** * configuration contains type-specific configuration (e.g., target_plan_id for plan changes) */ configuration?: Configuration | undefined; /** * created_at timestamp */ createdAt?: Date | undefined; /** * days_until_execution is the number of days until execution */ daysUntilExecution?: number | undefined; /** * error_message contains the error if execution failed */ errorMessage?: string | undefined; /** * executed_at is when the schedule was executed */ executedAt?: Date | undefined; /** * execution_result contains type-specific execution result */ executionResult?: ExecutionResult | undefined; /** * id of the schedule */ id?: string | undefined; /** * metadata from the schedule */ metadata?: { [k: string]: string; } | undefined; scheduleType?: SubscriptionScheduleChangeType | undefined; /** * scheduled_at is when the schedule will execute */ scheduledAt?: Date | undefined; status?: ScheduleStatus | undefined; /** * subscription_id is the ID of the subscription */ subscriptionId?: string | undefined; /** * updated_at timestamp */ updatedAt?: Date | undefined; }; /** @internal */ export declare const Configuration$inboundSchema: z.ZodMiniType; export declare function configurationFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ExecutionResult$inboundSchema: z.ZodMiniType; export declare function executionResultFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const SubscriptionScheduleResponse$inboundSchema: z.ZodMiniType; export declare function subscriptionScheduleResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=subscription-schedule-response.d.ts.map