/** * Generated by orval v8.5.3 🍺 * Do not edit manually. * Space Invoices API * REST API for invoice management, customer management, and accounting operations. Features include cursor-based pagination for efficient data navigation, flexible JSON querying with MongoDB-style operators, full-text search across multiple fields, and comprehensive metadata support for custom tracking. * OpenAPI spec version: 1.0.0 */ import * as zod from "zod"; /** * Authenticate with legacy Space Invoices credentials and get a list of owned organizations. * @summary Authenticate with legacy API */ export declare const legacyMigrationAuthHeaderXAccountIdRegExp: RegExp; export declare const LegacyMigrationAuthHeader: zod.ZodObject<{ "x-account-id": zod.ZodOptional; }, zod.z.core.$strip>; export declare const LegacyMigrationAuthBody: zod.ZodObject<{ email: zod.ZodEmail; password: zod.ZodString; }, zod.z.core.$strip>; export declare const LegacyMigrationAuthResponse: zod.ZodObject<{ organizations: zod.ZodArray; tax_number: zod.ZodNullable; created_at: zod.ZodString; already_migrated: zod.ZodBoolean; migrated_environment: zod.ZodNullable; }, zod.z.core.$strip>>; legacy_session_id: zod.ZodString; }, zod.z.core.$strip>; /** * Create a new legacy migration job. * @summary Create migration job */ export declare const createMigrationJobHeaderXAccountIdRegExp: RegExp; export declare const CreateMigrationJobHeader: zod.ZodObject<{ "x-account-id": zod.ZodOptional; }, zod.z.core.$strip>; export declare const CreateMigrationJobBody: zod.ZodObject<{ legacy_org_id: zod.ZodString; legacy_session_id: zod.ZodString; environment: zod.ZodEnum<{ live: "live"; sandbox: "sandbox"; }>; confirm_unsupported_data: zod.ZodOptional; }, zod.z.core.$strip>; /** * List all migration jobs for the current account. * @summary List migration jobs */ export declare const listMigrationJobsHeaderXAccountIdRegExp: RegExp; export declare const ListMigrationJobsHeader: zod.ZodObject<{ "x-account-id": zod.ZodOptional; }, zod.z.core.$strip>; export declare const ListMigrationJobsResponse: zod.ZodObject<{ data: zod.ZodArray; status: zod.ZodEnum<{ pending: "pending"; failed: "failed"; processing: "processing"; completed: "completed"; }>; step: zod.ZodNullable; step_number: zod.ZodNumber; total_steps: zod.ZodNumber; progress_detail: zod.ZodNullable; error: zod.ZodNullable; created_at: zod.ZodString; started_at: zod.ZodNullable; completed_at: zod.ZodNullable; }, zod.z.core.$strip>>; }, zod.z.core.$strip>; /** * Get status and progress of a migration job. * @summary Get migration job status */ export declare const GetMigrationJobParams: zod.ZodObject<{ id: zod.ZodString; }, zod.z.core.$strip>; export declare const getMigrationJobHeaderXAccountIdRegExp: RegExp; export declare const GetMigrationJobHeader: zod.ZodObject<{ "x-account-id": zod.ZodOptional; }, zod.z.core.$strip>; export declare const GetMigrationJobResponse: zod.ZodObject<{ id: zod.ZodString; legacy_org_id: zod.ZodString; environment: zod.ZodString; entity_id: zod.ZodNullable; status: zod.ZodEnum<{ pending: "pending"; failed: "failed"; processing: "processing"; completed: "completed"; }>; step: zod.ZodNullable; step_number: zod.ZodNumber; total_steps: zod.ZodNumber; progress_detail: zod.ZodNullable; error: zod.ZodNullable; created_at: zod.ZodString; started_at: zod.ZodNullable; completed_at: zod.ZodNullable; }, zod.z.core.$strip>; //# sourceMappingURL=legacy-migration.d.ts.map