@mittwald/api-client 0.0.0-development-a6957ed-20260824 → 0.0.0-development-f13d74a-20260826

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.
@@ -4,15 +4,11 @@ export * from "@mittwald/react-use-promise";
4
4
  const buildAiHostingApi = (baseClient) => ({
5
5
  /** Get a list of already created keys. */
6
6
  customerGetKeys: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetKeys, baseClient.aiHosting.customerGetKeys).getApiResource,
7
- /** Get all ai hosting plans of a customer. */
8
- customerGetPlans: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetPlans, baseClient.aiHosting.customerGetPlans).getApiResource,
9
7
  /** Get a key of a customer. */
10
8
  customerGetKey: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetKey, baseClient.aiHosting.customerGetKey).getApiResource,
11
9
  /** Get a list of currently active models. */
12
10
  customerGetDetailedModels: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetDetailedModels, baseClient.aiHosting.customerGetDetailedModels).getApiResource,
13
- /** Get ai hosting plan and usages of a customer by planId. */
14
- customerGetPlan: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetPlan, baseClient.aiHosting.customerGetPlan).getApiResource,
15
- /** Get ai hosting plan and usages of a customer. Deprecated: use /ai-hostings/{planId} instead. */
11
+ /** Get ai hosting plan and usages of a customer. */
16
12
  customerGetUsage: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetUsage, baseClient.aiHosting.customerGetUsage).getApiResource,
17
13
  /** Get a list of currently active models. */
18
14
  getModels: new ApiCallAsyncResourceFactory(descriptors.aiHostingGetModels, baseClient.aiHosting.getModels).getApiResource,
@@ -22,14 +18,10 @@ const buildAiHostingApi = (baseClient) => ({
22
18
  projectGetKey: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetKey, baseClient.aiHosting.projectGetKey).getApiResource,
23
19
  /** Get a list of currently active models. */
24
20
  projectGetDetailedModels: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetDetailedModels, baseClient.aiHosting.projectGetDetailedModels).getApiResource,
25
- /** Get all ai hosting plans and usages of a project. */
26
- projectGetPlans: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetPlans, baseClient.aiHosting.projectGetPlans).getApiResource,
27
21
  /** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
28
22
  projectGetUsage: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetUsage, baseClient.aiHosting.projectGetUsage).getApiResource,
29
23
  });
30
24
  const buildAppApi = (baseClient) => ({
31
- /** Get the installed `SystemSoftware' for a specific `AppInstallation`. */
32
- getAppInstallationSystemSoftware: new ApiCallAsyncResourceFactory(descriptors.appGetAppInstallationSystemSoftware, baseClient.app.getAppInstallationSystemSoftware).getApiResource,
33
25
  /** Get an App. */
34
26
  getApp: new ApiCallAsyncResourceFactory(descriptors.appGetApp, baseClient.app.getApp).getApiResource,
35
27
  /** Get an AppInstallation. */
@@ -58,6 +50,8 @@ const buildAppApi = (baseClient) => ({
58
50
  listUpdateCandidatesForAppversion: new ApiCallAsyncResourceFactory(descriptors.appListUpdateCandidatesForAppversion, baseClient.app.listUpdateCandidatesForAppversion).getApiResource,
59
51
  /** Get runtime status belonging to an AppInstallation. */
60
52
  retrieveStatus: new ApiCallAsyncResourceFactory(descriptors.appRetrieveStatus, baseClient.app.retrieveStatus).getApiResource,
53
+ /** Get the installed `SystemSoftware' for a specific `AppInstallation`. */
54
+ getAppInstallationSystemSoftware: new ApiCallAsyncResourceFactory(descriptors.appGetAppInstallationSystemSoftware, baseClient.app.getAppInstallationSystemSoftware).getApiResource,
61
55
  });
62
56
  const buildArticleApi = (baseClient) => ({
63
57
  /** Get an Article. */
@@ -306,8 +300,6 @@ const buildDomainApi = (baseClient) => ({
306
300
  listTldContactSchemas: new ApiCallAsyncResourceFactory(descriptors.domainListTldContactSchemas, baseClient.domain.listTldContactSchemas).getApiResource,
307
301
  /** List TLDs. */
308
302
  listTlds: new ApiCallAsyncResourceFactory(descriptors.domainListTlds, baseClient.domain.listTlds).getApiResource,
309
- /** List Domain-Migrations belonging to a pAccount. */
310
- migrationListMigrationsByPaccount: new ApiCallAsyncResourceFactory(descriptors.domainMigrationListMigrationsByPaccount, baseClient.domain.migrationListMigrationsByPaccount).getApiResource,
311
303
  /** List Domain-Migrations belonging to a Project. */
312
304
  migrationListMigrationsByProjectId: new ApiCallAsyncResourceFactory(descriptors.domainMigrationListMigrationsByProjectId, baseClient.domain.migrationListMigrationsByProjectId).getApiResource,
313
305
  /** Suggest a list of domains based on a prompt using AI. */
@@ -382,10 +374,6 @@ const buildMailApi = (baseClient) => ({
382
374
  listMailRateLimits: new ApiCallAsyncResourceFactory(descriptors.mailListMailRateLimits, baseClient.mail.listMailRateLimits).getApiResource,
383
375
  /** List mail settings of a Project. */
384
376
  listProjectMailSettings: new ApiCallAsyncResourceFactory(descriptors.mailListProjectMailSettings, baseClient.mail.listProjectMailSettings).getApiResource,
385
- /** Get a Migration. */
386
- migrationGetMigration: new ApiCallAsyncResourceFactory(descriptors.mailMigrationGetMigration, baseClient.mail.migrationGetMigration).getApiResource,
387
- /** List Migrations belonging to a Project in customer center or mStudio. */
388
- migrationListMigrations: new ApiCallAsyncResourceFactory(descriptors.mailMigrationListMigrations, baseClient.mail.migrationListMigrations).getApiResource,
389
377
  });
390
378
  const buildMiscApi = (baseClient) => ({
391
379
  /** List valid time zones. */
@@ -12,10 +12,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
12
12
  customerGetKeys: this.requestFunctionFactory(descriptors.aiHostingCustomerGetKeys),
13
13
  /** Creates a new key. */
14
14
  customerCreateKey: this.requestFunctionFactory(descriptors.aiHostingCustomerCreateKey),
15
- /** Get all ai hosting plans of a customer. */
16
- customerGetPlans: this.requestFunctionFactory(descriptors.aiHostingCustomerGetPlans),
17
- /** Creates an AI hosting profile and accepts the current model terms. */
18
- customerDeclareProfile: this.requestFunctionFactory(descriptors.aiHostingCustomerDeclareProfile),
19
15
  /** Get a key of a customer. */
20
16
  customerGetKey: this.requestFunctionFactory(descriptors.aiHostingCustomerGetKey),
21
17
  /** Update a key for a customer. */
@@ -24,11 +20,7 @@ export class MittwaldAPIV2Client extends ApiClientBase {
24
20
  customerDeleteKey: this.requestFunctionFactory(descriptors.aiHostingCustomerDeleteKey),
25
21
  /** Get a list of currently active models. */
26
22
  customerGetDetailedModels: this.requestFunctionFactory(descriptors.aiHostingCustomerGetDetailedModels),
27
- /** Get ai hosting plan and usages of a customer by planId. */
28
- customerGetPlan: this.requestFunctionFactory(descriptors.aiHostingCustomerGetPlan),
29
- /** Renames an AI hosting plan. */
30
- customerUpdatePlan: this.requestFunctionFactory(descriptors.aiHostingCustomerUpdatePlan),
31
- /** Get ai hosting plan and usages of a customer. Deprecated: use /ai-hostings/{planId} instead. */
23
+ /** Get ai hosting plan and usages of a customer. */
32
24
  customerGetUsage: this.requestFunctionFactory(descriptors.aiHostingCustomerGetUsage),
33
25
  /** Get a list of currently active models. */
34
26
  getModels: this.requestFunctionFactory(descriptors.aiHostingGetModels),
@@ -44,8 +36,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
44
36
  projectDeleteKey: this.requestFunctionFactory(descriptors.aiHostingProjectDeleteKey),
45
37
  /** Get a list of currently active models. */
46
38
  projectGetDetailedModels: this.requestFunctionFactory(descriptors.aiHostingProjectGetDetailedModels),
47
- /** Get all ai hosting plans and usages of a project. */
48
- projectGetPlans: this.requestFunctionFactory(descriptors.aiHostingProjectGetPlans),
49
39
  /** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
50
40
  projectGetUsage: this.requestFunctionFactory(descriptors.aiHostingProjectGetUsage),
51
41
  /** Links a container with a project licence. */
@@ -53,8 +43,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
53
43
  };
54
44
  /** The App API allows you to manage your apps within a project, and all the system softwares that are installed as dependencies. */
55
45
  app = {
56
- /** Get the installed `SystemSoftware' for a specific `AppInstallation`. */
57
- getAppInstallationSystemSoftware: this.requestFunctionFactory(descriptors.appGetAppInstallationSystemSoftware),
58
46
  /** Get an App. */
59
47
  getApp: this.requestFunctionFactory(descriptors.appGetApp),
60
48
  /** Get an AppInstallation. */
@@ -93,6 +81,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
93
81
  retrieveStatus: this.requestFunctionFactory(descriptors.appRetrieveStatus),
94
82
  /** Remove linkage between an AppInstallation and a Database. */
95
83
  unlinkDatabase: this.requestFunctionFactory(descriptors.appUnlinkDatabase),
84
+ /** Get the installed `SystemSoftware' for a specific `AppInstallation`. */
85
+ getAppInstallationSystemSoftware: this.requestFunctionFactory(descriptors.appGetAppInstallationSystemSoftware),
96
86
  };
97
87
  /** The article API allows you to read article information. */
98
88
  article = {
@@ -599,14 +589,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
599
589
  listTldContactSchemas: this.requestFunctionFactory(descriptors.domainListTldContactSchemas),
600
590
  /** List TLDs. */
601
591
  listTlds: this.requestFunctionFactory(descriptors.domainListTlds),
602
- /** Check if a Domain-Migration from a pAccount into a Project is possible. */
603
- migrationCheckMigrationIsPossible: this.requestFunctionFactory(descriptors.domainMigrationCheckMigrationIsPossible),
604
- /** List Domain-Migrations belonging to a pAccount. */
605
- migrationListMigrationsByPaccount: this.requestFunctionFactory(descriptors.domainMigrationListMigrationsByPaccount),
606
592
  /** List Domain-Migrations belonging to a Project. */
607
593
  migrationListMigrationsByProjectId: this.requestFunctionFactory(descriptors.domainMigrationListMigrationsByProjectId),
608
- /** Order a Domain-Migration from a pAccount into a Project. */
609
- migrationOrderDomainMigration: this.requestFunctionFactory(descriptors.domainMigrationOrderDomainMigration),
610
594
  /** Resends a Contact-Verification email. */
611
595
  resendContactVerificationEmail: this.requestFunctionFactory(descriptors.domainResendContactVerificationEmail),
612
596
  /** Resend a Domain email. */
@@ -651,8 +635,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
651
635
  sslReplaceCertificate: this.requestFunctionFactory(descriptors.sslReplaceCertificate),
652
636
  /** List Certificates belonging to a Project or an Ingress. */
653
637
  sslListCertificates: this.requestFunctionFactory(descriptors.sslListCertificates),
654
- /** Update the certificate of a CertificateRequest. */
655
- sslSetCertificateRequestCertificate: this.requestFunctionFactory(descriptors.sslSetCertificateRequestCertificate),
656
638
  };
657
639
  /** The mail API allows you to manage your mail accounts. */
658
640
  mail = {
@@ -696,14 +678,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
696
678
  listMailRateLimits: this.requestFunctionFactory(descriptors.mailListMailRateLimits),
697
679
  /** List mail settings of a Project. */
698
680
  listProjectMailSettings: this.requestFunctionFactory(descriptors.mailListProjectMailSettings),
699
- /** Check if a Migration between two projects is possible. */
700
- migrationCheckMigrationIsPossible: this.requestFunctionFactory(descriptors.mailMigrationCheckMigrationIsPossible),
701
- /** Get a Migration. */
702
- migrationGetMigration: this.requestFunctionFactory(descriptors.mailMigrationGetMigration),
703
- /** List Migrations belonging to a Project in customer center or mStudio. */
704
- migrationListMigrations: this.requestFunctionFactory(descriptors.mailMigrationListMigrations),
705
- /** Request a Mail Migration between two projects. */
706
- migrationRequestMailMigration: this.requestFunctionFactory(descriptors.mailMigrationRequestMailMigration),
707
681
  /** Recover emails for a MailAddress from a backup. */
708
682
  recoverMailAddressEmails: this.requestFunctionFactory(descriptors.mailRecoverMailAddressEmails),
709
683
  /** Request a rate limit change for a MailAddress. */
@@ -16,18 +16,6 @@ export const aiHostingCustomerCreateKey = {
16
16
  method: "POST",
17
17
  operationId: "ai-hosting-customer-create-key",
18
18
  };
19
- /** Get all ai hosting plans of a customer. */
20
- export const aiHostingCustomerGetPlans = {
21
- path: "/v2/customers/{customerId}/ai-hostings",
22
- method: "GET",
23
- operationId: "ai-hosting-customer-get-plans",
24
- };
25
- /** Creates an AI hosting profile and accepts the current model terms. */
26
- export const aiHostingCustomerDeclareProfile = {
27
- path: "/v2/customers/{customerId}/ai-hostings",
28
- method: "POST",
29
- operationId: "ai-hosting-customer-declare-profile",
30
- };
31
19
  /** Get a key of a customer. */
32
20
  export const aiHostingCustomerGetKey = {
33
21
  path: "/v2/customers/{customerId}/ai-hosting-keys/{keyId}",
@@ -52,19 +40,7 @@ export const aiHostingCustomerGetDetailedModels = {
52
40
  method: "GET",
53
41
  operationId: "ai-hosting-customer-get-detailed-models",
54
42
  };
55
- /** Get ai hosting plan and usages of a customer by planId. */
56
- export const aiHostingCustomerGetPlan = {
57
- path: "/v2/customers/{customerId}/ai-hostings/{planId}",
58
- method: "GET",
59
- operationId: "ai-hosting-customer-get-plan",
60
- };
61
- /** Renames an AI hosting plan. */
62
- export const aiHostingCustomerUpdatePlan = {
63
- path: "/v2/customers/{customerId}/ai-hostings/{planId}",
64
- method: "PUT",
65
- operationId: "ai-hosting-customer-update-plan",
66
- };
67
- /** Get ai hosting plan and usages of a customer. Deprecated: use /ai-hostings/{planId} instead. */
43
+ /** Get ai hosting plan and usages of a customer. */
68
44
  export const aiHostingCustomerGetUsage = {
69
45
  path: "/v2/customers/{customerId}/ai-hosting",
70
46
  method: "GET",
@@ -112,12 +88,6 @@ export const aiHostingProjectGetDetailedModels = {
112
88
  method: "GET",
113
89
  operationId: "ai-hosting-project-get-detailed-models",
114
90
  };
115
- /** Get all ai hosting plans and usages of a project. */
116
- export const aiHostingProjectGetPlans = {
117
- path: "/v2/projects/{projectId}/ai-hostings",
118
- method: "GET",
119
- operationId: "ai-hosting-project-get-plans",
120
- };
121
91
  /** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
122
92
  export const aiHostingProjectGetUsage = {
123
93
  path: "/v2/projects/{projectId}/ai-hosting",
@@ -130,12 +100,6 @@ export const aiHostingProjectLinkContainer = {
130
100
  method: "POST",
131
101
  operationId: "ai-hosting-project-link-container",
132
102
  };
133
- /** Get the installed `SystemSoftware' for a specific `AppInstallation`. */
134
- export const appGetAppInstallationSystemSoftware = {
135
- path: "/v2/app-installations/{appInstallationId}/system-software",
136
- method: "GET",
137
- operationId: "app-get-app-installation-system-software",
138
- };
139
103
  /** Get an App. */
140
104
  export const appGetApp = {
141
105
  path: "/v2/apps/{appId}",
@@ -1360,30 +1324,12 @@ export const domainListTlds = {
1360
1324
  method: "GET",
1361
1325
  operationId: "domain-list-tlds",
1362
1326
  };
1363
- /** Check if a Domain-Migration from a pAccount into a Project is possible. */
1364
- export const domainMigrationCheckMigrationIsPossible = {
1365
- path: "/v2/domain-migrations/actions/possibility-check",
1366
- method: "POST",
1367
- operationId: "domain-migration-check-migration-is-possible",
1368
- };
1369
- /** List Domain-Migrations belonging to a pAccount. */
1370
- export const domainMigrationListMigrationsByPaccount = {
1371
- path: "/v2/p-accounts/{pAccount}/domain-migrations",
1372
- method: "GET",
1373
- operationId: "domain-migration-list-migrations-by-p-account",
1374
- };
1375
1327
  /** List Domain-Migrations belonging to a Project. */
1376
1328
  export const domainMigrationListMigrationsByProjectId = {
1377
1329
  path: "/v2/projects/{projectId}/domain-migrations",
1378
1330
  method: "GET",
1379
1331
  operationId: "domain-migration-list-migrations-by-project-id",
1380
1332
  };
1381
- /** Order a Domain-Migration from a pAccount into a Project. */
1382
- export const domainMigrationOrderDomainMigration = {
1383
- path: "/v2/domain-migrations",
1384
- method: "POST",
1385
- operationId: "domain-migration-order-domain-migration",
1386
- };
1387
1333
  /** Resends a Contact-Verification email. */
1388
1334
  export const domainResendContactVerificationEmail = {
1389
1335
  path: "/v2/contact-verifications/{contactVerificationId}/actions/resend-contact-verification-email",
@@ -1996,30 +1942,6 @@ export const mailListProjectMailSettings = {
1996
1942
  method: "GET",
1997
1943
  operationId: "mail-list-project-mail-settings",
1998
1944
  };
1999
- /** Check if a Migration between two projects is possible. */
2000
- export const mailMigrationCheckMigrationIsPossible = {
2001
- path: "/v2/mail-migrations/actions/possibility-check",
2002
- method: "POST",
2003
- operationId: "mail-migration-check-migration-is-possible",
2004
- };
2005
- /** Get a Migration. */
2006
- export const mailMigrationGetMigration = {
2007
- path: "/v2/mail-migrations/{migrationId}",
2008
- method: "GET",
2009
- operationId: "mail-migration-get-migration",
2010
- };
2011
- /** List Migrations belonging to a Project in customer center or mStudio. */
2012
- export const mailMigrationListMigrations = {
2013
- path: "/v2/mail-migrations",
2014
- method: "GET",
2015
- operationId: "mail-migration-list-migrations",
2016
- };
2017
- /** Request a Mail Migration between two projects. */
2018
- export const mailMigrationRequestMailMigration = {
2019
- path: "/v2/mail-migrations/actions/request",
2020
- method: "POST",
2021
- operationId: "mail-migration-request-mail-migration",
2022
- };
2023
1945
  /** Recover emails for a MailAddress from a backup. */
2024
1946
  export const mailRecoverMailAddressEmails = {
2025
1947
  path: "/v2/mail-addresses/{mailAddressId}/backups/{backupId}/recovery",
@@ -2518,12 +2440,6 @@ export const sslListCertificates = {
2518
2440
  method: "GET",
2519
2441
  operationId: "ssl-list-certificates",
2520
2442
  };
2521
- /** Update the certificate of a CertificateRequest. */
2522
- export const sslSetCertificateRequestCertificate = {
2523
- path: "/v2/certificate-requests/{certificateRequestId}/certificate",
2524
- method: "PATCH",
2525
- operationId: "ssl-set-certificate-request-certificate",
2526
- };
2527
2443
  /** Get storage space Statistics belonging to a Project. */
2528
2444
  export const storagespaceGetProjectStatistics = {
2529
2445
  path: "/v2/projects/{projectId}/storage-space-statistics",
@@ -2878,3 +2794,9 @@ export const verificationVerifyCompany = {
2878
2794
  method: "POST",
2879
2795
  operationId: "verification-verify-company",
2880
2796
  };
2797
+ /** Get the installed `SystemSoftware' for a specific `AppInstallation`. */
2798
+ export const appGetAppInstallationSystemSoftware = {
2799
+ path: "/v2/app-installations/{appInstallationId}/system-software",
2800
+ method: "GET",
2801
+ operationId: "app-get-app-installation-system-software",
2802
+ };
@@ -4,15 +4,11 @@ export * from "@mittwald/react-use-promise";
4
4
  const buildAiHostingApi = (baseClient) => ({
5
5
  /** Get a list of already created keys. */
6
6
  customerGetKeys: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetKeys, baseClient.aiHosting.customerGetKeys).getApiResource,
7
- /** Get all ai hosting plans of a customer. */
8
- customerGetPlans: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetPlans, baseClient.aiHosting.customerGetPlans).getApiResource,
9
7
  /** Get a key of a customer. */
10
8
  customerGetKey: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetKey, baseClient.aiHosting.customerGetKey).getApiResource,
11
9
  /** Get a list of currently active models. */
12
10
  customerGetDetailedModels: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetDetailedModels, baseClient.aiHosting.customerGetDetailedModels).getApiResource,
13
- /** Get ai hosting plan and usages of a customer by planId. */
14
- customerGetPlan: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetPlan, baseClient.aiHosting.customerGetPlan).getApiResource,
15
- /** Get ai hosting plan and usages of a customer. Deprecated: use /ai-hostings/{planId} instead. */
11
+ /** Get ai hosting plan and usages of a customer. */
16
12
  customerGetUsage: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetUsage, baseClient.aiHosting.customerGetUsage).getApiResource,
17
13
  /** Get a list of currently active models. */
18
14
  getModels: new ApiCallAsyncResourceFactory(descriptors.aiHostingGetModels, baseClient.aiHosting.getModels).getApiResource,
@@ -22,14 +18,10 @@ const buildAiHostingApi = (baseClient) => ({
22
18
  projectGetKey: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetKey, baseClient.aiHosting.projectGetKey).getApiResource,
23
19
  /** Get a list of currently active models. */
24
20
  projectGetDetailedModels: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetDetailedModels, baseClient.aiHosting.projectGetDetailedModels).getApiResource,
25
- /** Get all ai hosting plans and usages of a project. */
26
- projectGetPlans: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetPlans, baseClient.aiHosting.projectGetPlans).getApiResource,
27
21
  /** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
28
22
  projectGetUsage: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetUsage, baseClient.aiHosting.projectGetUsage).getApiResource,
29
23
  });
30
24
  const buildAppApi = (baseClient) => ({
31
- /** Get the installed `SystemSoftware' for a specific `AppInstallation`. */
32
- getAppInstallationSystemSoftware: new ApiCallAsyncResourceFactory(descriptors.appGetAppInstallationSystemSoftware, baseClient.app.getAppInstallationSystemSoftware).getApiResource,
33
25
  /** Get an App. */
34
26
  getApp: new ApiCallAsyncResourceFactory(descriptors.appGetApp, baseClient.app.getApp).getApiResource,
35
27
  /** Get an AppInstallation. */
@@ -58,6 +50,8 @@ const buildAppApi = (baseClient) => ({
58
50
  listUpdateCandidatesForAppversion: new ApiCallAsyncResourceFactory(descriptors.appListUpdateCandidatesForAppversion, baseClient.app.listUpdateCandidatesForAppversion).getApiResource,
59
51
  /** Get runtime status belonging to an AppInstallation. */
60
52
  retrieveStatus: new ApiCallAsyncResourceFactory(descriptors.appRetrieveStatus, baseClient.app.retrieveStatus).getApiResource,
53
+ /** Get the installed `SystemSoftware' for a specific `AppInstallation`. */
54
+ getAppInstallationSystemSoftware: new ApiCallAsyncResourceFactory(descriptors.appGetAppInstallationSystemSoftware, baseClient.app.getAppInstallationSystemSoftware).getApiResource,
61
55
  });
62
56
  const buildArticleApi = (baseClient) => ({
63
57
  /** Get an Article. */
@@ -286,16 +280,16 @@ const buildDatabaseApi = (baseClient) => ({
286
280
  listRedisVersions: new ApiCallAsyncResourceFactory(descriptors.databaseListRedisVersions, baseClient.database.listRedisVersions).getApiResource,
287
281
  });
288
282
  const buildDomainApi = (baseClient) => ({
289
- /** List domains. */
290
- serviceNextListDomains: new ApiCallAsyncResourceFactory(descriptors.domainServiceNextListDomains, baseClient.domain.serviceNextListDomains).getApiResource,
283
+ /** List Domains */
284
+ listDomains: new ApiCallAsyncResourceFactory(descriptors.domainListDomains, baseClient.domain.listDomains).getApiResource,
291
285
  /** Get a DNSZone. */
292
286
  dnsGetDnsZone: new ApiCallAsyncResourceFactory(descriptors.dnsGetDnsZone, baseClient.domain.dnsGetDnsZone).getApiResource,
293
287
  /** Get a zone file for a DNSZone. */
294
288
  dnsGetZoneFile: new ApiCallAsyncResourceFactory(descriptors.dnsGetZoneFile, baseClient.domain.dnsGetZoneFile).getApiResource,
295
289
  /** List DNSZones belonging to a Project. */
296
290
  dnsListDnsZones: new ApiCallAsyncResourceFactory(descriptors.dnsListDnsZones, baseClient.domain.dnsListDnsZones).getApiResource,
297
- /** Get a domain. */
298
- serviceNextGetDomain: new ApiCallAsyncResourceFactory(descriptors.domainServiceNextGetDomain, baseClient.domain.serviceNextGetDomain).getApiResource,
291
+ /** Get a Domain. */
292
+ getDomain: new ApiCallAsyncResourceFactory(descriptors.domainGetDomain, baseClient.domain.getDomain).getApiResource,
299
293
  /** Get a Contact-Verification. */
300
294
  getContactVerification: new ApiCallAsyncResourceFactory(descriptors.domainGetContactVerification, baseClient.domain.getContactVerification).getApiResource,
301
295
  /** Get the latest screenshot's FileReference belonging to a Domain. */
@@ -306,8 +300,6 @@ const buildDomainApi = (baseClient) => ({
306
300
  listTldContactSchemas: new ApiCallAsyncResourceFactory(descriptors.domainListTldContactSchemas, baseClient.domain.listTldContactSchemas).getApiResource,
307
301
  /** List TLDs. */
308
302
  listTlds: new ApiCallAsyncResourceFactory(descriptors.domainListTlds, baseClient.domain.listTlds).getApiResource,
309
- /** List Domain-Migrations belonging to a pAccount. */
310
- migrationListMigrationsByPaccount: new ApiCallAsyncResourceFactory(descriptors.domainMigrationListMigrationsByPaccount, baseClient.domain.migrationListMigrationsByPaccount).getApiResource,
311
303
  /** List Domain-Migrations belonging to a Project. */
312
304
  migrationListMigrationsByProjectId: new ApiCallAsyncResourceFactory(descriptors.domainMigrationListMigrationsByProjectId, baseClient.domain.migrationListMigrationsByProjectId).getApiResource,
313
305
  /** Suggest a list of domains based on a prompt using AI. */
@@ -382,10 +374,6 @@ const buildMailApi = (baseClient) => ({
382
374
  listMailRateLimits: new ApiCallAsyncResourceFactory(descriptors.mailListMailRateLimits, baseClient.mail.listMailRateLimits).getApiResource,
383
375
  /** List mail settings of a Project. */
384
376
  listProjectMailSettings: new ApiCallAsyncResourceFactory(descriptors.mailListProjectMailSettings, baseClient.mail.listProjectMailSettings).getApiResource,
385
- /** Get a Migration. */
386
- migrationGetMigration: new ApiCallAsyncResourceFactory(descriptors.mailMigrationGetMigration, baseClient.mail.migrationGetMigration).getApiResource,
387
- /** List Migrations belonging to a Project in customer center or mStudio. */
388
- migrationListMigrations: new ApiCallAsyncResourceFactory(descriptors.mailMigrationListMigrations, baseClient.mail.migrationListMigrations).getApiResource,
389
377
  });
390
378
  const buildMiscApi = (baseClient) => ({
391
379
  /** List valid time zones. */
@@ -12,10 +12,6 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
12
12
  customerGetKeys: this.requestFunctionFactory(descriptors.aiHostingCustomerGetKeys),
13
13
  /** Creates a new key. */
14
14
  customerCreateKey: this.requestFunctionFactory(descriptors.aiHostingCustomerCreateKey),
15
- /** Get all ai hosting plans of a customer. */
16
- customerGetPlans: this.requestFunctionFactory(descriptors.aiHostingCustomerGetPlans),
17
- /** Creates an AI hosting profile and accepts the current model terms. */
18
- customerDeclareProfile: this.requestFunctionFactory(descriptors.aiHostingCustomerDeclareProfile),
19
15
  /** Get a key of a customer. */
20
16
  customerGetKey: this.requestFunctionFactory(descriptors.aiHostingCustomerGetKey),
21
17
  /** Update a key for a customer. */
@@ -24,11 +20,7 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
24
20
  customerDeleteKey: this.requestFunctionFactory(descriptors.aiHostingCustomerDeleteKey),
25
21
  /** Get a list of currently active models. */
26
22
  customerGetDetailedModels: this.requestFunctionFactory(descriptors.aiHostingCustomerGetDetailedModels),
27
- /** Get ai hosting plan and usages of a customer by planId. */
28
- customerGetPlan: this.requestFunctionFactory(descriptors.aiHostingCustomerGetPlan),
29
- /** Renames an AI hosting plan. */
30
- customerUpdatePlan: this.requestFunctionFactory(descriptors.aiHostingCustomerUpdatePlan),
31
- /** Get ai hosting plan and usages of a customer. Deprecated: use /ai-hostings/{planId} instead. */
23
+ /** Get ai hosting plan and usages of a customer. */
32
24
  customerGetUsage: this.requestFunctionFactory(descriptors.aiHostingCustomerGetUsage),
33
25
  /** Get a list of currently active models. */
34
26
  getModels: this.requestFunctionFactory(descriptors.aiHostingGetModels),
@@ -44,8 +36,6 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
44
36
  projectDeleteKey: this.requestFunctionFactory(descriptors.aiHostingProjectDeleteKey),
45
37
  /** Get a list of currently active models. */
46
38
  projectGetDetailedModels: this.requestFunctionFactory(descriptors.aiHostingProjectGetDetailedModels),
47
- /** Get all ai hosting plans and usages of a project. */
48
- projectGetPlans: this.requestFunctionFactory(descriptors.aiHostingProjectGetPlans),
49
39
  /** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
50
40
  projectGetUsage: this.requestFunctionFactory(descriptors.aiHostingProjectGetUsage),
51
41
  /** Links a container with a project licence. */
@@ -53,8 +43,6 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
53
43
  };
54
44
  /** The App API allows you to manage your apps within a project, and all the system softwares that are installed as dependencies. */
55
45
  app = {
56
- /** Get the installed `SystemSoftware' for a specific `AppInstallation`. */
57
- getAppInstallationSystemSoftware: this.requestFunctionFactory(descriptors.appGetAppInstallationSystemSoftware),
58
46
  /** Get an App. */
59
47
  getApp: this.requestFunctionFactory(descriptors.appGetApp),
60
48
  /** Get an AppInstallation. */
@@ -93,6 +81,8 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
93
81
  retrieveStatus: this.requestFunctionFactory(descriptors.appRetrieveStatus),
94
82
  /** Remove linkage between an AppInstallation and a Database. */
95
83
  unlinkDatabase: this.requestFunctionFactory(descriptors.appUnlinkDatabase),
84
+ /** Get the installed `SystemSoftware' for a specific `AppInstallation`. */
85
+ getAppInstallationSystemSoftware: this.requestFunctionFactory(descriptors.appGetAppInstallationSystemSoftware),
96
86
  };
97
87
  /** The article API allows you to read article information. */
98
88
  article = {
@@ -551,8 +541,8 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
551
541
  };
552
542
  /** The domain API allows you to manage your domains, DNS records, SSL certificates and ingress resources. */
553
543
  domain = {
554
- /** List domains. */
555
- serviceNextListDomains: this.requestFunctionFactory(descriptors.domainServiceNextListDomains),
544
+ /** List Domains */
545
+ listDomains: this.requestFunctionFactory(descriptors.domainListDomains),
556
546
  /** Update the nameservers of a Domain. */
557
547
  updateDomainNameservers: this.requestFunctionFactory(descriptors.domainUpdateDomainNameservers),
558
548
  /** Update the paths of an Ingress. */
@@ -585,8 +575,8 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
585
575
  checkDomainTransferability: this.requestFunctionFactory(descriptors.domainCheckDomainTransferability),
586
576
  /** Create an auth code for a Domains transfer-out process. */
587
577
  createDomainAuthCode: this.requestFunctionFactory(descriptors.domainCreateDomainAuthCode),
588
- /** Get a domain. */
589
- serviceNextGetDomain: this.requestFunctionFactory(descriptors.domainServiceNextGetDomain),
578
+ /** Get a Domain. */
579
+ getDomain: this.requestFunctionFactory(descriptors.domainGetDomain),
590
580
  /** Delete a Domain. */
591
581
  deleteDomain: this.requestFunctionFactory(descriptors.domainDeleteDomain),
592
582
  /** Get a Contact-Verification. */
@@ -599,14 +589,8 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
599
589
  listTldContactSchemas: this.requestFunctionFactory(descriptors.domainListTldContactSchemas),
600
590
  /** List TLDs. */
601
591
  listTlds: this.requestFunctionFactory(descriptors.domainListTlds),
602
- /** Check if a Domain-Migration from a pAccount into a Project is possible. */
603
- migrationCheckMigrationIsPossible: this.requestFunctionFactory(descriptors.domainMigrationCheckMigrationIsPossible),
604
- /** List Domain-Migrations belonging to a pAccount. */
605
- migrationListMigrationsByPaccount: this.requestFunctionFactory(descriptors.domainMigrationListMigrationsByPaccount),
606
592
  /** List Domain-Migrations belonging to a Project. */
607
593
  migrationListMigrationsByProjectId: this.requestFunctionFactory(descriptors.domainMigrationListMigrationsByProjectId),
608
- /** Order a Domain-Migration from a pAccount into a Project. */
609
- migrationOrderDomainMigration: this.requestFunctionFactory(descriptors.domainMigrationOrderDomainMigration),
610
594
  /** Resends a Contact-Verification email. */
611
595
  resendContactVerificationEmail: this.requestFunctionFactory(descriptors.domainResendContactVerificationEmail),
612
596
  /** Resend a Domain email. */
@@ -651,8 +635,6 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
651
635
  sslReplaceCertificate: this.requestFunctionFactory(descriptors.sslReplaceCertificate),
652
636
  /** List Certificates belonging to a Project or an Ingress. */
653
637
  sslListCertificates: this.requestFunctionFactory(descriptors.sslListCertificates),
654
- /** Update the certificate of a CertificateRequest. */
655
- sslSetCertificateRequestCertificate: this.requestFunctionFactory(descriptors.sslSetCertificateRequestCertificate),
656
638
  };
657
639
  /** The mail API allows you to manage your mail accounts. */
658
640
  mail = {
@@ -696,14 +678,6 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
696
678
  listMailRateLimits: this.requestFunctionFactory(descriptors.mailListMailRateLimits),
697
679
  /** List mail settings of a Project. */
698
680
  listProjectMailSettings: this.requestFunctionFactory(descriptors.mailListProjectMailSettings),
699
- /** Check if a Migration between two projects is possible. */
700
- migrationCheckMigrationIsPossible: this.requestFunctionFactory(descriptors.mailMigrationCheckMigrationIsPossible),
701
- /** Get a Migration. */
702
- migrationGetMigration: this.requestFunctionFactory(descriptors.mailMigrationGetMigration),
703
- /** List Migrations belonging to a Project in customer center or mStudio. */
704
- migrationListMigrations: this.requestFunctionFactory(descriptors.mailMigrationListMigrations),
705
- /** Request a Mail Migration between two projects. */
706
- migrationRequestMailMigration: this.requestFunctionFactory(descriptors.mailMigrationRequestMailMigration),
707
681
  /** Recover emails for a MailAddress from a backup. */
708
682
  recoverMailAddressEmails: this.requestFunctionFactory(descriptors.mailRecoverMailAddressEmails),
709
683
  /** Request a rate limit change for a MailAddress. */