/** * 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 type { CreateMigrationJobRequest, CreateMigrationJobResponse, LegacyAuthRequest, LegacyAuthResponse, MigrationJobListResponse, MigrationJobResponse } from '../model'; /** * Authenticate with legacy Space Invoices credentials and get a list of owned organizations. * @summary Authenticate with legacy API */ export type legacyMigrationAuthResponse200 = { data: LegacyAuthResponse; status: 200; }; export type legacyMigrationAuthResponse401 = { data: void; status: 401; }; export type legacyMigrationAuthResponseSuccess = (legacyMigrationAuthResponse200) & { headers: Headers; }; export type legacyMigrationAuthResponseError = (legacyMigrationAuthResponse401) & { headers: Headers; }; export type legacyMigrationAuthResponse = (legacyMigrationAuthResponseSuccess | legacyMigrationAuthResponseError); export declare const getLegacyMigrationAuthUrl: () => string; export declare const legacyMigrationAuth: (legacyAuthRequest: LegacyAuthRequest, options?: RequestInit) => Promise; /** * Create a new legacy migration job. * @summary Create migration job */ export type createMigrationJobResponse202 = { data: CreateMigrationJobResponse; status: 202; }; export type createMigrationJobResponse409 = { data: void; status: 409; }; export type createMigrationJobResponseSuccess = (createMigrationJobResponse202) & { headers: Headers; }; export type createMigrationJobResponseError = (createMigrationJobResponse409) & { headers: Headers; }; export type createMigrationJobResponse = (createMigrationJobResponseSuccess | createMigrationJobResponseError); export declare const getCreateMigrationJobUrl: () => string; export declare const createMigrationJob: (createMigrationJobRequest: CreateMigrationJobRequest, options?: RequestInit) => Promise; /** * List all migration jobs for the current account. * @summary List migration jobs */ export type listMigrationJobsResponse200 = { data: MigrationJobListResponse; status: 200; }; export type listMigrationJobsResponseSuccess = (listMigrationJobsResponse200) & { headers: Headers; }; export type listMigrationJobsResponse = (listMigrationJobsResponseSuccess); export declare const getListMigrationJobsUrl: () => string; export declare const listMigrationJobs: (options?: RequestInit) => Promise; /** * Get status and progress of a migration job. * @summary Get migration job status */ export type getMigrationJobResponse200 = { data: MigrationJobResponse; status: 200; }; export type getMigrationJobResponse404 = { data: void; status: 404; }; export type getMigrationJobResponseSuccess = (getMigrationJobResponse200) & { headers: Headers; }; export type getMigrationJobResponseError = (getMigrationJobResponse404) & { headers: Headers; }; export type getMigrationJobResponse = (getMigrationJobResponseSuccess | getMigrationJobResponseError); export declare const getGetMigrationJobUrl: (id: string) => string; export declare const getMigrationJob: (id: string, options?: RequestInit) => Promise; //# sourceMappingURL=legacy-migration.d.ts.map