@mittwald/api-client 0.0.0-development-3821954-20251017 → 0.0.0-development-7f54d64-20251022

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -48,6 +48,10 @@ const buildBackupApi = (baseClient) => ({
48
48
  getProjectBackupSchedule: new ApiCallAsyncResourceFactory(descriptors.backupGetProjectBackupSchedule, baseClient.backup.getProjectBackupSchedule).getApiResource,
49
49
  /** Get a ProjectBackup. */
50
50
  getProjectBackup: new ApiCallAsyncResourceFactory(descriptors.backupGetProjectBackup, baseClient.backup.getProjectBackup).getApiResource,
51
+ /** Get paths for a ProjectBackup. */
52
+ getProjectBackupDirectories: new ApiCallAsyncResourceFactory(descriptors.backupGetProjectBackupDirectories, baseClient.backup.getProjectBackupDirectories).getApiResource,
53
+ /** Get databases for a ProjectBackup. */
54
+ getProjectBackupDatabases: new ApiCallAsyncResourceFactory(descriptors.backupGetProjectBackupDatabases, baseClient.backup.getProjectBackupDatabases).getApiResource,
51
55
  });
52
56
  const buildContainerApi = (baseClient) => ({
53
57
  /** List Registries belonging to a Project. */
@@ -186,6 +190,8 @@ const buildCronjobApi = (baseClient) => ({
186
190
  getCronjob: new ApiCallAsyncResourceFactory(descriptors.cronjobGetCronjob, baseClient.cronjob.getCronjob).getApiResource,
187
191
  /** Get a CronjobExecution. */
188
192
  getExecution: new ApiCallAsyncResourceFactory(descriptors.cronjobGetExecution, baseClient.cronjob.getExecution).getApiResource,
193
+ /** Get a CronjobExecution analysis for failed executions. */
194
+ getExecutionAnalysis: new ApiCallAsyncResourceFactory(descriptors.cronjobGetExecutionAnalysis, baseClient.cronjob.getExecutionAnalysis).getApiResource,
189
195
  });
190
196
  const buildCustomerApi = (baseClient) => ({
191
197
  /** List Invites belonging to a Customer. */
@@ -310,6 +316,10 @@ const buildMailApi = (baseClient) => ({
310
316
  listBackupsForMailAddress: new ApiCallAsyncResourceFactory(descriptors.mailListBackupsForMailAddress, baseClient.mail.listBackupsForMailAddress).getApiResource,
311
317
  /** List mail settings of a Project. */
312
318
  listProjectMailSettings: new ApiCallAsyncResourceFactory(descriptors.mailListProjectMailSettings, baseClient.mail.listProjectMailSettings).getApiResource,
319
+ /** Get a Migration. */
320
+ migrationGetMigration: new ApiCallAsyncResourceFactory(descriptors.mailMigrationGetMigration, baseClient.mail.migrationGetMigration).getApiResource,
321
+ /** List Migrations belonging to a Project in customer center or mStudio. */
322
+ migrationListMigrations: new ApiCallAsyncResourceFactory(descriptors.mailMigrationListMigrations, baseClient.mail.migrationListMigrations).getApiResource,
313
323
  });
314
324
  const buildMiscApi = (baseClient) => ({
315
325
  /** Get a list of currently active llm models. */
@@ -50,10 +50,10 @@ export class MittwaldAPIV2Client extends ApiClientBase {
50
50
  requestAppinstallationCopy: this.requestFunctionFactory(descriptors.appRequestAppinstallationCopy),
51
51
  /** Get runtime status belonging to an AppInstallation. */
52
52
  retrieveStatus: this.requestFunctionFactory(descriptors.appRetrieveStatus),
53
- /** Remove linkage between an AppInstallation and a Database. */
54
- unlinkDatabase: this.requestFunctionFactory(descriptors.appUnlinkDatabase),
55
53
  /** Create linkage between an AppInstallation and DatabaseUsers. */
56
54
  setDatabaseUsers: this.requestFunctionFactory(descriptors.appSetDatabaseUsers),
55
+ /** Remove linkage between an AppInstallation and a Database. */
56
+ unlinkDatabase: this.requestFunctionFactory(descriptors.appUnlinkDatabase),
57
57
  };
58
58
  /** The article API allows you to read article information. */
59
59
  article = {
@@ -86,8 +86,16 @@ export class MittwaldAPIV2Client extends ApiClientBase {
86
86
  getProjectBackup: this.requestFunctionFactory(descriptors.backupGetProjectBackup),
87
87
  /** Delete a ProjectBackup. */
88
88
  deleteProjectBackup: this.requestFunctionFactory(descriptors.backupDeleteProjectBackup),
89
+ /** Get paths for a ProjectBackup. */
90
+ getProjectBackupDirectories: this.requestFunctionFactory(descriptors.backupGetProjectBackupDirectories),
91
+ /** Restore a ProjectBackup's path. */
92
+ requestProjectBackupRestorePath: this.requestFunctionFactory(descriptors.backupRequestProjectBackupRestorePath),
89
93
  /** Change the description of a ProjectBackup. */
90
94
  updateProjectBackupDescription: this.requestFunctionFactory(descriptors.backupUpdateProjectBackupDescription),
95
+ /** Restore a ProjectBackup's database. */
96
+ requestProjectBackupRestoreDatabase: this.requestFunctionFactory(descriptors.backupRequestProjectBackupRestoreDatabase),
97
+ /** Get databases for a ProjectBackup. */
98
+ getProjectBackupDatabases: this.requestFunctionFactory(descriptors.backupGetProjectBackupDatabases),
91
99
  };
92
100
  /** The container API allows you to manage your stacks, containers, volumes and registries. */
93
101
  container = {
@@ -377,6 +385,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
377
385
  getExecution: this.requestFunctionFactory(descriptors.cronjobGetExecution),
378
386
  /** Update a Cronjob's app id. */
379
387
  updateCronjobAppId: this.requestFunctionFactory(descriptors.cronjobUpdateCronjobAppId),
388
+ /** Get a CronjobExecution analysis for failed executions. */
389
+ getExecutionAnalysis: this.requestFunctionFactory(descriptors.cronjobGetExecutionAnalysis),
380
390
  };
381
391
  /** The customer API allows you to manage your own organizations and users. */
382
392
  customer = {
@@ -433,6 +443,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
433
443
  };
434
444
  /** The database API allows you to manage your databases, like MySQL and Redis databases. */
435
445
  database = {
446
+ /** Copy a MySQLDatabase with a MySQLUser. */
447
+ copyMysqlDatabase: this.requestFunctionFactory(descriptors.databaseCopyMysqlDatabase),
436
448
  /** List MySQLDatabases belonging to a Project. */
437
449
  listMysqlDatabases: this.requestFunctionFactory(descriptors.databaseListMysqlDatabases),
438
450
  /** Create a MySQLDatabase with a MySQLUser. */
@@ -481,8 +493,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
481
493
  updateRedisDatabaseConfiguration: this.requestFunctionFactory(descriptors.databaseUpdateRedisDatabaseConfiguration),
482
494
  /** Update a RedisDatabase's description. */
483
495
  updateRedisDatabaseDescription: this.requestFunctionFactory(descriptors.databaseUpdateRedisDatabaseDescription),
484
- /** Copy a MySQLDatabase with a MySQLUser. */
485
- copyMysqlDatabase: this.requestFunctionFactory(descriptors.databaseCopyMysqlDatabase),
486
496
  };
487
497
  /** The domain API allows you to manage your domains, DNS records, SSL certificates and ingress resources. */
488
498
  domain = {
@@ -568,6 +578,12 @@ export class MittwaldAPIV2Client extends ApiClientBase {
568
578
  sslReplaceCertificate: this.requestFunctionFactory(descriptors.sslReplaceCertificate),
569
579
  /** List Certificates belonging to a Project or an Ingress. */
570
580
  sslListCertificates: this.requestFunctionFactory(descriptors.sslListCertificates),
581
+ /** Update the certificate of a CertificateRequest. */
582
+ sslSetCertificateRequestCertificate: this.requestFunctionFactory(descriptors.sslSetCertificateRequestCertificate),
583
+ /** Create a scheduled deletion of a Domain. */
584
+ createScheduledDeletion: this.requestFunctionFactory(descriptors.domainCreateScheduledDeletion),
585
+ /** Cancel a scheduled deletion of a Domain. */
586
+ cancelScheduledDeletion: this.requestFunctionFactory(descriptors.domainCancelScheduledDeletion),
571
587
  };
572
588
  /** The mail API allows you to manage your mail accounts. */
573
589
  mail = {
@@ -603,6 +619,14 @@ export class MittwaldAPIV2Client extends ApiClientBase {
603
619
  listBackupsForMailAddress: this.requestFunctionFactory(descriptors.mailListBackupsForMailAddress),
604
620
  /** List mail settings of a Project. */
605
621
  listProjectMailSettings: this.requestFunctionFactory(descriptors.mailListProjectMailSettings),
622
+ /** Check if a Migration between two projects is possible. */
623
+ migrationCheckMigrationIsPossible: this.requestFunctionFactory(descriptors.mailMigrationCheckMigrationIsPossible),
624
+ /** Get a Migration. */
625
+ migrationGetMigration: this.requestFunctionFactory(descriptors.mailMigrationGetMigration),
626
+ /** List Migrations belonging to a Project in customer center or mStudio. */
627
+ migrationListMigrations: this.requestFunctionFactory(descriptors.mailMigrationListMigrations),
628
+ /** Request a Mail Migration between two projects. */
629
+ migrationRequestMailMigration: this.requestFunctionFactory(descriptors.mailMigrationRequestMailMigration),
606
630
  /** Recover emails for a MailAddress from a backup. */
607
631
  recoverMailAddressEmails: this.requestFunctionFactory(descriptors.mailRecoverMailAddressEmails),
608
632
  /** Update the description of a DeliveryBox. */
@@ -794,8 +818,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
794
818
  misc = {
795
819
  /** Get a list of currently active llm models. */
796
820
  getLlmModelsExperimental: this.requestFunctionFactory(descriptors.miscGetLlmModelsExperimental),
797
- /** Obtain a service token. */
798
- servicetokenAuthenticateService: this.requestFunctionFactory(descriptors.servicetokenAuthenticateService),
799
821
  /** Check if an email is from mittwald. */
800
822
  verificationDetectPhishingEmail: this.requestFunctionFactory(descriptors.verificationDetectPhishingEmail),
801
823
  /** Check if an address exists. */
@@ -130,18 +130,18 @@ export const appRetrieveStatus = {
130
130
  method: "GET",
131
131
  operationId: "app-retrieve-status",
132
132
  };
133
- /** Remove linkage between an AppInstallation and a Database. */
134
- export const appUnlinkDatabase = {
135
- path: "/v2/app-installations/{appInstallationId}/databases/{databaseId}",
136
- method: "DELETE",
137
- operationId: "app-unlink-database",
138
- };
139
133
  /** Create linkage between an AppInstallation and DatabaseUsers. */
140
134
  export const appSetDatabaseUsers = {
141
135
  path: "/v2/app-installations/{appInstallationId}/databases/{databaseId}/users",
142
136
  method: "PUT",
143
137
  operationId: "app-set-database-users",
144
138
  };
139
+ /** Remove linkage between an AppInstallation and a Database. */
140
+ export const appUnlinkDatabase = {
141
+ path: "/v2/app-installations/{appInstallationId}/databases/{databaseId}",
142
+ method: "DELETE",
143
+ operationId: "app-unlink-database",
144
+ };
145
145
  /** Get an Article. */
146
146
  export const articleGetArticle = {
147
147
  path: "/v2/articles/{articleId}",
@@ -220,6 +220,18 @@ export const backupDeleteProjectBackup = {
220
220
  method: "DELETE",
221
221
  operationId: "backup-delete-project-backup",
222
222
  };
223
+ /** Get paths for a ProjectBackup. */
224
+ export const backupGetProjectBackupDirectories = {
225
+ path: "/v2/project-backups/{projectBackupId}/path",
226
+ method: "GET",
227
+ operationId: "backup-get-project-backup-directories",
228
+ };
229
+ /** Restore a ProjectBackup's path. */
230
+ export const backupRequestProjectBackupRestorePath = {
231
+ path: "/v2/project-backups/{projectBackupId}/restore-path",
232
+ method: "POST",
233
+ operationId: "backup-request-project-backup-restore-path",
234
+ };
223
235
  /** Change the description of a ProjectBackup. */
224
236
  export const backupUpdateProjectBackupDescription = {
225
237
  path: "/v2/project-backups/{projectBackupId}/description",
@@ -856,6 +868,12 @@ export const customerResendCustomerInviteMail = {
856
868
  method: "POST",
857
869
  operationId: "customer-resend-customer-invite-mail",
858
870
  };
871
+ /** Copy a MySQLDatabase with a MySQLUser. */
872
+ export const databaseCopyMysqlDatabase = {
873
+ path: "/v2/mysql-databases/{mysqlDatabaseId}/actions/copy",
874
+ method: "POST",
875
+ operationId: "database-copy-mysql-database",
876
+ };
859
877
  /** List MySQLDatabases belonging to a Project. */
860
878
  export const databaseListMysqlDatabases = {
861
879
  path: "/v2/projects/{projectId}/mysql-databases",
@@ -1702,6 +1720,30 @@ export const mailListProjectMailSettings = {
1702
1720
  method: "GET",
1703
1721
  operationId: "mail-list-project-mail-settings",
1704
1722
  };
1723
+ /** Check if a Migration between two projects is possible. */
1724
+ export const mailMigrationCheckMigrationIsPossible = {
1725
+ path: "/v2/mail-migrations/actions/possibility-check",
1726
+ method: "POST",
1727
+ operationId: "mail-migration-check-migration-is-possible",
1728
+ };
1729
+ /** Get a Migration. */
1730
+ export const mailMigrationGetMigration = {
1731
+ path: "/v2/mail-migrations/{migrationId}",
1732
+ method: "GET",
1733
+ operationId: "mail-migration-get-migration",
1734
+ };
1735
+ /** List Migrations belonging to a Project in customer center or mStudio. */
1736
+ export const mailMigrationListMigrations = {
1737
+ path: "/v2/mail-migrations",
1738
+ method: "GET",
1739
+ operationId: "mail-migration-list-migrations",
1740
+ };
1741
+ /** Request a Mail Migration between two projects. */
1742
+ export const mailMigrationRequestMailMigration = {
1743
+ path: "/v2/mail-migrations/actions/request",
1744
+ method: "POST",
1745
+ operationId: "mail-migration-request-mail-migration",
1746
+ };
1705
1747
  /** Recover emails for a MailAddress from a backup. */
1706
1748
  export const mailRecoverMailAddressEmails = {
1707
1749
  path: "/v2/mail-addresses/{mailAddressId}/backups/{backupId}/recovery",
@@ -2098,12 +2140,6 @@ export const relocationCreateRelocation = {
2098
2140
  method: "POST",
2099
2141
  operationId: "relocation-create-relocation",
2100
2142
  };
2101
- /** Obtain a service token. */
2102
- export const servicetokenAuthenticateService = {
2103
- path: "/v2/services/{accessKeyId}/actions/authenticate",
2104
- method: "POST",
2105
- operationId: "servicetoken-authenticate-service",
2106
- };
2107
2143
  /** Get all SFTPUsers for a Project. */
2108
2144
  export const sftpUserListSftpUsers = {
2109
2145
  path: "/v2/projects/{projectId}/sftp-users",
@@ -2218,6 +2254,12 @@ export const sslListCertificates = {
2218
2254
  method: "GET",
2219
2255
  operationId: "ssl-list-certificates",
2220
2256
  };
2257
+ /** Update the certificate of a CertificateRequest. */
2258
+ export const sslSetCertificateRequestCertificate = {
2259
+ path: "/v2/certificate-requests/{certificateRequestId}/certificate",
2260
+ method: "PATCH",
2261
+ operationId: "ssl-set-certificate-request-certificate",
2262
+ };
2221
2263
  /** Get storage space Statistics belonging to a Project. */
2222
2264
  export const storagespaceGetProjectStatistics = {
2223
2265
  path: "/v2/projects/{projectId}/storage-space-statistics",
@@ -2572,9 +2614,33 @@ export const verificationVerifyCompany = {
2572
2614
  method: "POST",
2573
2615
  operationId: "verification-verify-company",
2574
2616
  };
2575
- /** Copy a MySQLDatabase with a MySQLUser. */
2576
- export const databaseCopyMysqlDatabase = {
2577
- path: "/v2/mysql-databases/{mysqlDatabaseId}/actions/copy",
2617
+ /** Create a scheduled deletion of a Domain. */
2618
+ export const domainCreateScheduledDeletion = {
2619
+ path: "/v2/domains/{domainId}/scheduled-deletion",
2578
2620
  method: "POST",
2579
- operationId: "database-copy-mysql-database",
2621
+ operationId: "domain-create-scheduled-deletion",
2622
+ };
2623
+ /** Cancel a scheduled deletion of a Domain. */
2624
+ export const domainCancelScheduledDeletion = {
2625
+ path: "/v2/domains/{domainId}/scheduled-deletion",
2626
+ method: "DELETE",
2627
+ operationId: "domain-cancel-scheduled-deletion",
2628
+ };
2629
+ /** Get a CronjobExecution analysis for failed executions. */
2630
+ export const cronjobGetExecutionAnalysis = {
2631
+ path: "/v2/cronjobs/{cronjobId}/executions/{executionId}/analysis",
2632
+ method: "GET",
2633
+ operationId: "cronjob-get-execution-analysis",
2634
+ };
2635
+ /** Restore a ProjectBackup's database. */
2636
+ export const backupRequestProjectBackupRestoreDatabase = {
2637
+ path: "/v2/project-backups/{projectBackupId}/restore-database",
2638
+ method: "POST",
2639
+ operationId: "backup-request-project-backup-restore-database",
2640
+ };
2641
+ /** Get databases for a ProjectBackup. */
2642
+ export const backupGetProjectBackupDatabases = {
2643
+ path: "/v2/project-backups/{projectBackupId}/database",
2644
+ method: "GET",
2645
+ operationId: "backup-get-project-backup-databases",
2580
2646
  };
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '0.0.0-development-b0a4b41-20251017';
1
+ export const MittwaldAPIClientVersion = '4.242.3';
@@ -344,8 +344,46 @@ declare const buildBackupApi: (baseClient: MittwaldAPIV2Client) => {
344
344
  parentId?: string | undefined;
345
345
  projectId: string;
346
346
  requestedAt: string;
347
+ restorePath?: import("./types.js").MittwaldAPIV2.Components.Schemas.BackupProjectBackupRestorePath | undefined;
347
348
  status: string;
348
349
  }>;
350
+ /** Get paths for a ProjectBackup. */
351
+ getProjectBackupDirectories: (conf: {
352
+ projectBackupId: string;
353
+ headers?: {
354
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
355
+ "x-access-token"?: string | undefined;
356
+ } | undefined;
357
+ queryParameters?: {
358
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
359
+ directory?: string | undefined;
360
+ } | undefined;
361
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
362
+ absolutePath: string;
363
+ isDirectory?: boolean | undefined;
364
+ isExecutable?: boolean | undefined;
365
+ isFile?: boolean | undefined;
366
+ isSymlink?: boolean | undefined;
367
+ items?: import("./types.js").MittwaldAPIV2.Components.Schemas.BackupProjectBackupPath[] | undefined;
368
+ name: string;
369
+ size: number;
370
+ target?: string | undefined;
371
+ }>;
372
+ /** Get databases for a ProjectBackup. */
373
+ getProjectBackupDatabases: (conf: {
374
+ projectBackupId: string;
375
+ headers?: {
376
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
377
+ "x-access-token"?: string | undefined;
378
+ } | undefined;
379
+ queryParameters?: {
380
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
381
+ directory?: string | undefined;
382
+ } | undefined;
383
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
384
+ databases: string[];
385
+ projectBackupId: string;
386
+ }>;
349
387
  };
350
388
  declare const buildContainerApi: (baseClient: MittwaldAPIV2Client) => {
351
389
  /** List Registries belonging to a Project. */
@@ -1022,7 +1060,7 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
1022
1060
  domain: string;
1023
1061
  id: string;
1024
1062
  };
1025
- chargeability?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionInstanceChargeability | undefined;
1063
+ chargeability: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionInstanceChargeability;
1026
1064
  consentedScopes: string[];
1027
1065
  contributorId: string;
1028
1066
  contributorName: string;
@@ -1129,7 +1167,7 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
1129
1167
  domain: string;
1130
1168
  id: string;
1131
1169
  };
1132
- chargeability?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionInstanceChargeability | undefined;
1170
+ chargeability: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionInstanceChargeability;
1133
1171
  consentedScopes: string[];
1134
1172
  contributorId: string;
1135
1173
  contributorName: string;
@@ -1160,7 +1198,7 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
1160
1198
  domain: string;
1161
1199
  id: string;
1162
1200
  };
1163
- chargeability?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionInstanceChargeability | undefined;
1201
+ chargeability: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionInstanceChargeability;
1164
1202
  consentedScopes: string[];
1165
1203
  contributorId: string;
1166
1204
  contributorName: string;
@@ -1462,6 +1500,19 @@ declare const buildCronjobApi: (baseClient: MittwaldAPIV2Client) => {
1462
1500
  id?: string;
1463
1501
  } | undefined;
1464
1502
  }>;
1503
+ /** Get a CronjobExecution analysis for failed executions. */
1504
+ getExecutionAnalysis: (conf: {
1505
+ executionId: string;
1506
+ cronjobId: string;
1507
+ headers?: {
1508
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1509
+ "x-access-token"?: string | undefined;
1510
+ } | undefined;
1511
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1512
+ issues?: string[] | undefined;
1513
+ message: string;
1514
+ recommendation?: string | undefined;
1515
+ }>;
1465
1516
  };
1466
1517
  declare const buildCustomerApi: (baseClient: MittwaldAPIV2Client) => {
1467
1518
  /** List Invites belonging to a Customer. */
@@ -1860,6 +1911,7 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
1860
1911
  nameservers: string[];
1861
1912
  processes?: import("./types.js").MittwaldAPIV2.Components.Schemas.DomainProcess[] | undefined;
1862
1913
  projectId: string;
1914
+ scheduledDeletionDate?: string | undefined;
1863
1915
  transferInAuthCode?: string | undefined;
1864
1916
  usesDefaultNameserver: boolean;
1865
1917
  }>;
@@ -2446,6 +2498,36 @@ declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
2446
2498
  projectId: string;
2447
2499
  whitelist: string[];
2448
2500
  }>;
2501
+ /** Get a Migration. */
2502
+ migrationGetMigration: (conf: {
2503
+ migrationId: string;
2504
+ headers?: {
2505
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2506
+ "x-access-token"?: string | undefined;
2507
+ } | undefined;
2508
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
2509
+ aborted: boolean;
2510
+ addresses: import("./types.js").MittwaldAPIV2.Components.Schemas.MailmigrationMigrationMailAddress[];
2511
+ finalizers: import("./types.js").MittwaldAPIV2.Components.Schemas.MailmigrationMigrationFinalizeJob;
2512
+ finished: boolean;
2513
+ id: string;
2514
+ mailboxes: import("./types.js").MittwaldAPIV2.Components.Schemas.MailmigrationMigrationMailbox[];
2515
+ sourceCoabProjectId: string;
2516
+ targetNexusProjectId: string;
2517
+ }>;
2518
+ /** List Migrations belonging to a Project in customer center or mStudio. */
2519
+ migrationListMigrations: (conf: {
2520
+ headers: {
2521
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2522
+ Authorization: string;
2523
+ "x-access-token"?: string | undefined;
2524
+ };
2525
+ queryParameters?: {
2526
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2527
+ pAccountName?: string | undefined;
2528
+ projectId?: string | undefined;
2529
+ } | undefined;
2530
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MailmigrationMigration[]>;
2449
2531
  };
2450
2532
  declare const buildMiscApi: (baseClient: MittwaldAPIV2Client) => {
2451
2533
  /** Get a list of currently active llm models. */