@mittwald/api-client 4.474.0 → 4.476.0

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.
@@ -172,6 +172,8 @@ const buildMarketplaceApi = (baseClient) => ({
172
172
  contributorGetCustomerBillingPortalLink: new ApiCallAsyncResourceFactory(descriptors.contributorGetCustomerBillingPortalLink, baseClient.marketplace.contributorGetCustomerBillingPortalLink).getApiResource,
173
173
  /** Get the Stripe Dashboard Link for a Contributor. */
174
174
  contributorGetLoginLink: new ApiCallAsyncResourceFactory(descriptors.contributorGetLoginLink, baseClient.marketplace.contributorGetLoginLink).getApiResource,
175
+ /** Get a specific OAuth2 client. */
176
+ contributorGetOauthClient: new ApiCallAsyncResourceFactory(descriptors.contributorGetOauthClient, baseClient.marketplace.contributorGetOauthClient).getApiResource,
175
177
  /** List ContractPartners of the contributor. */
176
178
  contributorListContractPartnersOfContributor: new ApiCallAsyncResourceFactory(descriptors.contributorListContractPartnersOfContributor, baseClient.marketplace.contributorListContractPartnersOfContributor).getApiResource,
177
179
  /** List incoming Invoices of a Contributor. */
@@ -214,8 +216,6 @@ const buildMarketplaceApi = (baseClient) => ({
214
216
  extensionListScopes: new ApiCallAsyncResourceFactory(descriptors.extensionListScopes, baseClient.marketplace.extensionListScopes).getApiResource,
215
217
  /** Get payment method details */
216
218
  customerGetPaymentMethod: new ApiCallAsyncResourceFactory(descriptors.marketplaceCustomerGetPaymentMethod, baseClient.marketplace.customerGetPaymentMethod).getApiResource,
217
- /** Get a specific OAuth2 client. */
218
- contributorGetOauthClient: new ApiCallAsyncResourceFactory(descriptors.contributorGetOauthClient, baseClient.marketplace.contributorGetOauthClient).getApiResource,
219
219
  });
220
220
  const buildConversationApi = (baseClient) => ({
221
221
  /** Get all conversation the authenticated user has created or has access to. */
@@ -296,12 +296,16 @@ const buildDatabaseApi = (baseClient) => ({
296
296
  const buildDomainApi = (baseClient) => ({
297
297
  /** List Domains */
298
298
  listDomains: new ApiCallAsyncResourceFactory(descriptors.domainListDomains, baseClient.domain.listDomains).getApiResource,
299
+ /** List DNS zone-file import jobs belonging to a Project. */
300
+ dnsListDnsZoneFileImports: new ApiCallAsyncResourceFactory(descriptors.dnsListDnsZoneFileImports, baseClient.domain.dnsListDnsZoneFileImports).getApiResource,
301
+ /** List DNSZones belonging to a Project. */
302
+ dnsListDnsZones: new ApiCallAsyncResourceFactory(descriptors.dnsListDnsZones, baseClient.domain.dnsListDnsZones).getApiResource,
299
303
  /** Get a DNSZone. */
300
304
  dnsGetDnsZone: new ApiCallAsyncResourceFactory(descriptors.dnsGetDnsZone, baseClient.domain.dnsGetDnsZone).getApiResource,
305
+ /** Get the status of a DNS zone-file import job. */
306
+ dnsGetDnsZoneFileImport: new ApiCallAsyncResourceFactory(descriptors.dnsGetDnsZoneFileImport, baseClient.domain.dnsGetDnsZoneFileImport).getApiResource,
301
307
  /** Get a zone file for a DNSZone. */
302
308
  dnsGetZoneFile: new ApiCallAsyncResourceFactory(descriptors.dnsGetZoneFile, baseClient.domain.dnsGetZoneFile).getApiResource,
303
- /** List DNSZones belonging to a Project. */
304
- dnsListDnsZones: new ApiCallAsyncResourceFactory(descriptors.dnsListDnsZones, baseClient.domain.dnsListDnsZones).getApiResource,
305
309
  /** Get a Domain. */
306
310
  getDomain: new ApiCallAsyncResourceFactory(descriptors.domainGetDomain, baseClient.domain.getDomain).getApiResource,
307
311
  /** Get a Contact-Verification. */
@@ -330,10 +334,6 @@ const buildDomainApi = (baseClient) => ({
330
334
  sslGetCertificate: new ApiCallAsyncResourceFactory(descriptors.sslGetCertificate, baseClient.domain.sslGetCertificate).getApiResource,
331
335
  /** List Certificates belonging to a Project or an Ingress. */
332
336
  sslListCertificates: new ApiCallAsyncResourceFactory(descriptors.sslListCertificates, baseClient.domain.sslListCertificates).getApiResource,
333
- /** List DNS zone-file import jobs belonging to a Project. */
334
- dnsListDnsZoneFileImports: new ApiCallAsyncResourceFactory(descriptors.dnsListDnsZoneFileImports, baseClient.domain.dnsListDnsZoneFileImports).getApiResource,
335
- /** Get the status of a DNS zone-file import job. */
336
- dnsGetDnsZoneFileImport: new ApiCallAsyncResourceFactory(descriptors.dnsGetDnsZoneFileImport, baseClient.domain.dnsGetDnsZoneFileImport).getApiResource,
337
337
  });
338
338
  const buildFileApi = (baseClient) => ({
339
339
  /** Get a File's meta. */
@@ -448,10 +448,10 @@ const buildUserApi = (baseClient) => ({
448
448
  listSessions: new ApiCallAsyncResourceFactory(descriptors.userListSessions, baseClient.user.listSessions).getApiResource,
449
449
  /** Obtain authorization from the resource owner. */
450
450
  oauthGetAuthorization: new ApiCallAsyncResourceFactory(descriptors.userOauthGetAuthorization, baseClient.user.oauthGetAuthorization).getApiResource,
451
- /** Request a support code. */
452
- supportCodeRequest: new ApiCallAsyncResourceFactory(descriptors.userSupportCodeRequest, baseClient.user.supportCodeRequest).getApiResource,
453
451
  /** Check if a password is leaked. */
454
452
  searchedLeakedPasswordsByRange: new ApiCallAsyncResourceFactory(descriptors.userSearchedLeakedPasswordsByRange, baseClient.user.searchedLeakedPasswordsByRange).getApiResource,
453
+ /** Request a support code. */
454
+ supportCodeRequest: new ApiCallAsyncResourceFactory(descriptors.userSupportCodeRequest, baseClient.user.supportCodeRequest).getApiResource,
455
455
  });
456
456
  const buildProjectApi = (baseClient) => ({
457
457
  /** List Invites belonging to a Project. */
@@ -482,10 +482,10 @@ const buildProjectApi = (baseClient) => ({
482
482
  listProjects: new ApiCallAsyncResourceFactory(descriptors.projectListProjects, baseClient.project.listProjects).getApiResource,
483
483
  /** List Servers belonging to the executing user. */
484
484
  listServers: new ApiCallAsyncResourceFactory(descriptors.projectListServers, baseClient.project.listServers).getApiResource,
485
- /** Get storage space Statistics belonging to a Project. */
486
- storagespaceGetProjectStatistics: new ApiCallAsyncResourceFactory(descriptors.storagespaceGetProjectStatistics, baseClient.project.storagespaceGetProjectStatistics).getApiResource,
487
485
  /** Get storage space Statistics belonging to a Server. */
488
486
  storagespaceGetServerStatistics: new ApiCallAsyncResourceFactory(descriptors.storagespaceGetServerStatistics, baseClient.project.storagespaceGetServerStatistics).getApiResource,
487
+ /** Get storage space Statistics belonging to a Project. */
488
+ storagespaceGetProjectStatistics: new ApiCallAsyncResourceFactory(descriptors.storagespaceGetProjectStatistics, baseClient.project.storagespaceGetProjectStatistics).getApiResource,
489
489
  });
490
490
  const buildProjectFileSystemApi = (baseClient) => ({
491
491
  /** List directories belonging to a Project. */
@@ -298,6 +298,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
298
298
  contributorGetCustomerBillingPortalLink: this.requestFunctionFactory(descriptors.contributorGetCustomerBillingPortalLink),
299
299
  /** Get the Stripe Dashboard Link for a Contributor. */
300
300
  contributorGetLoginLink: this.requestFunctionFactory(descriptors.contributorGetLoginLink),
301
+ /** Get a specific OAuth2 client. */
302
+ contributorGetOauthClient: this.requestFunctionFactory(descriptors.contributorGetOauthClient),
301
303
  /** List ContractPartners of the contributor. */
302
304
  contributorListContractPartnersOfContributor: this.requestFunctionFactory(descriptors.contributorListContractPartnersOfContributor),
303
305
  /** List incoming Invoices of a Contributor. */
@@ -410,8 +412,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
410
412
  customerGetPaymentMethod: this.requestFunctionFactory(descriptors.marketplaceCustomerGetPaymentMethod),
411
413
  /** Get the link to update the marketplace payment method */
412
414
  customerUpdatePaymentMethod: this.requestFunctionFactory(descriptors.marketplaceCustomerUpdatePaymentMethod),
413
- /** Get a specific OAuth2 client. */
414
- contributorGetOauthClient: this.requestFunctionFactory(descriptors.contributorGetOauthClient),
415
415
  };
416
416
  /** The conversation API allows you to manage your support conversations. */
417
417
  conversation = {
@@ -577,16 +577,22 @@ export class MittwaldAPIV2Client extends ApiClientBase {
577
577
  ingressUpdateIngressPaths: this.requestFunctionFactory(descriptors.ingressUpdateIngressPaths),
578
578
  /** Update the tls settings of an Ingress. */
579
579
  ingressUpdateIngressTls: this.requestFunctionFactory(descriptors.ingressUpdateIngressTls),
580
+ /** List DNS zone-file import jobs belonging to a Project. */
581
+ dnsListDnsZoneFileImports: this.requestFunctionFactory(descriptors.dnsListDnsZoneFileImports),
582
+ /** Import a DNS zone file into a Project, or preview it with dry-run. */
583
+ dnsCreateDnsZoneFileImport: this.requestFunctionFactory(descriptors.dnsCreateDnsZoneFileImport),
584
+ /** List DNSZones belonging to a Project. */
585
+ dnsListDnsZones: this.requestFunctionFactory(descriptors.dnsListDnsZones),
586
+ /** Create a DNSZone for a verified Ingress in a Project. */
587
+ dnsCreateProjectDnsZone: this.requestFunctionFactory(descriptors.dnsCreateProjectDnsZone),
580
588
  /** Get a DNSZone. */
581
589
  dnsGetDnsZone: this.requestFunctionFactory(descriptors.dnsGetDnsZone),
582
590
  /** Delete a DNSZone. */
583
591
  dnsDeleteDnsZone: this.requestFunctionFactory(descriptors.dnsDeleteDnsZone),
592
+ /** Get the status of a DNS zone-file import job. */
593
+ dnsGetDnsZoneFileImport: this.requestFunctionFactory(descriptors.dnsGetDnsZoneFileImport),
584
594
  /** Get a zone file for a DNSZone. */
585
595
  dnsGetZoneFile: this.requestFunctionFactory(descriptors.dnsGetZoneFile),
586
- /** List DNSZones belonging to a Project. */
587
- dnsListDnsZones: this.requestFunctionFactory(descriptors.dnsListDnsZones),
588
- /** Create a DNSZone for a verified Ingress in a Project. */
589
- dnsCreateProjectDnsZone: this.requestFunctionFactory(descriptors.dnsCreateProjectDnsZone),
590
596
  /** Set a record set on a DNSZone to managed. */
591
597
  dnsSetRecordSetManaged: this.requestFunctionFactory(descriptors.dnsSetRecordSetManaged),
592
598
  /** Update a record set on a DNSZone. */
@@ -663,12 +669,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
663
669
  sslReplaceCertificate: this.requestFunctionFactory(descriptors.sslReplaceCertificate),
664
670
  /** List Certificates belonging to a Project or an Ingress. */
665
671
  sslListCertificates: this.requestFunctionFactory(descriptors.sslListCertificates),
666
- /** List DNS zone-file import jobs belonging to a Project. */
667
- dnsListDnsZoneFileImports: this.requestFunctionFactory(descriptors.dnsListDnsZoneFileImports),
668
- /** Import a DNS zone file into a Project, or preview it with dry-run. */
669
- dnsCreateDnsZoneFileImport: this.requestFunctionFactory(descriptors.dnsCreateDnsZoneFileImport),
670
- /** Get the status of a DNS zone-file import job. */
671
- dnsGetDnsZoneFileImport: this.requestFunctionFactory(descriptors.dnsGetDnsZoneFileImport),
672
672
  };
673
673
  /** The mail API allows you to manage your mail accounts. */
674
674
  mail = {
@@ -848,6 +848,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
848
848
  removeAvatar: this.requestFunctionFactory(descriptors.userRemoveAvatar),
849
849
  /** Resend the Email-Address verification email. */
850
850
  resendVerificationEmail: this.requestFunctionFactory(descriptors.userResendVerificationEmail),
851
+ /** Check if a password is leaked. */
852
+ searchedLeakedPasswordsByRange: this.requestFunctionFactory(descriptors.userSearchedLeakedPasswordsByRange),
851
853
  /** Submit your spotlight usage. */
852
854
  spotlightFeedback: this.requestFunctionFactory(descriptors.userSpotlightFeedback),
853
855
  /** Request a support code. */
@@ -858,8 +860,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
858
860
  verifyPhoneNumber: this.requestFunctionFactory(descriptors.userVerifyPhoneNumber),
859
861
  /** Verify your registration. */
860
862
  verifyRegistration: this.requestFunctionFactory(descriptors.userVerifyRegistration),
861
- /** Check if a password is leaked. */
862
- searchedLeakedPasswordsByRange: this.requestFunctionFactory(descriptors.userSearchedLeakedPasswordsByRange),
863
863
  };
864
864
  /** The file API allows you to manage your files, for example for conversations attachments and avatar uploads. */
865
865
  file = {
@@ -1000,14 +1000,14 @@ export class MittwaldAPIV2Client extends ApiClientBase {
1000
1000
  listServers: this.requestFunctionFactory(descriptors.projectListServers),
1001
1001
  /** Resend the mail for a ProjectInvite. */
1002
1002
  resendProjectInviteMail: this.requestFunctionFactory(descriptors.projectResendProjectInviteMail),
1003
- /** Get storage space Statistics belonging to a Project. */
1004
- storagespaceGetProjectStatistics: this.requestFunctionFactory(descriptors.storagespaceGetProjectStatistics),
1005
- /** Update a Project's storage space statistics. */
1006
- storagespaceUpdateProjectStatistics: this.requestFunctionFactory(descriptors.storagespaceUpdateProjectStatistics),
1007
1003
  /** Get storage space Statistics belonging to a Server. */
1008
1004
  storagespaceGetServerStatistics: this.requestFunctionFactory(descriptors.storagespaceGetServerStatistics),
1009
1005
  /** Update a Server's storage space statistics. */
1010
1006
  storagespaceUpdateServerStatistics: this.requestFunctionFactory(descriptors.storagespaceUpdateServerStatistics),
1007
+ /** Get storage space Statistics belonging to a Project. */
1008
+ storagespaceGetProjectStatistics: this.requestFunctionFactory(descriptors.storagespaceGetProjectStatistics),
1009
+ /** Update a Project's storage space statistics. */
1010
+ storagespaceUpdateProjectStatistics: this.requestFunctionFactory(descriptors.storagespaceUpdateProjectStatistics),
1011
1011
  };
1012
1012
  /** The filesystem API allows you to directly access the filesystem of your project. */
1013
1013
  projectFileSystem = {
@@ -742,6 +742,12 @@ export const contributorGetLoginLink = {
742
742
  method: "GET",
743
743
  operationId: "contributor-get-login-link",
744
744
  };
745
+ /** Get a specific OAuth2 client. */
746
+ export const contributorGetOauthClient = {
747
+ path: "/v2/oauth2/clients/{oauthClientId}",
748
+ method: "GET",
749
+ operationId: "contributor-get-oauth-client",
750
+ };
745
751
  /** List ContractPartners of the contributor. */
746
752
  export const contributorListContractPartnersOfContributor = {
747
753
  path: "/v2/contributors/{contributorId}/contract-partners",
@@ -1282,6 +1288,30 @@ export const userUpdateAccount = {
1282
1288
  method: "PUT",
1283
1289
  operationId: "user-update-account",
1284
1290
  };
1291
+ /** List DNS zone-file import jobs belonging to a Project. */
1292
+ export const dnsListDnsZoneFileImports = {
1293
+ path: "/v2/projects/{projectId}/dns-zone-imports",
1294
+ method: "GET",
1295
+ operationId: "dns-list-dns-zone-file-imports",
1296
+ };
1297
+ /** Import a DNS zone file into a Project, or preview it with dry-run. */
1298
+ export const dnsCreateDnsZoneFileImport = {
1299
+ path: "/v2/projects/{projectId}/dns-zone-imports",
1300
+ method: "POST",
1301
+ operationId: "dns-create-dns-zone-file-import",
1302
+ };
1303
+ /** List DNSZones belonging to a Project. */
1304
+ export const dnsListDnsZones = {
1305
+ path: "/v2/projects/{projectId}/dns-zones",
1306
+ method: "GET",
1307
+ operationId: "dns-list-dns-zones",
1308
+ };
1309
+ /** Create a DNSZone for a verified Ingress in a Project. */
1310
+ export const dnsCreateProjectDnsZone = {
1311
+ path: "/v2/projects/{projectId}/dns-zones",
1312
+ method: "POST",
1313
+ operationId: "dns-create-project-dns-zone",
1314
+ };
1285
1315
  /** Get a DNSZone. */
1286
1316
  export const dnsGetDnsZone = {
1287
1317
  path: "/v2/dns-zones/{dnsZoneId}",
@@ -1294,24 +1324,18 @@ export const dnsDeleteDnsZone = {
1294
1324
  method: "DELETE",
1295
1325
  operationId: "dns-delete-dns-zone",
1296
1326
  };
1327
+ /** Get the status of a DNS zone-file import job. */
1328
+ export const dnsGetDnsZoneFileImport = {
1329
+ path: "/v2/dns-zone-imports/{zoneFileImportId}",
1330
+ method: "GET",
1331
+ operationId: "dns-get-dns-zone-file-import",
1332
+ };
1297
1333
  /** Get a zone file for a DNSZone. */
1298
1334
  export const dnsGetZoneFile = {
1299
1335
  path: "/v2/dns-zones/{dnsZoneId}/zone-file",
1300
1336
  method: "GET",
1301
1337
  operationId: "dns-get-zone-file",
1302
1338
  };
1303
- /** List DNSZones belonging to a Project. */
1304
- export const dnsListDnsZones = {
1305
- path: "/v2/projects/{projectId}/dns-zones",
1306
- method: "GET",
1307
- operationId: "dns-list-dns-zones",
1308
- };
1309
- /** Create a DNSZone for a verified Ingress in a Project. */
1310
- export const dnsCreateProjectDnsZone = {
1311
- path: "/v2/projects/{projectId}/dns-zones",
1312
- method: "POST",
1313
- operationId: "dns-create-project-dns-zone",
1314
- };
1315
1339
  /** Set a record set on a DNSZone to managed. */
1316
1340
  export const dnsSetRecordSetManaged = {
1317
1341
  path: "/v2/dns-zones/{dnsZoneId}/record-sets/{recordSet}/actions/set-managed",
@@ -2524,30 +2548,6 @@ export const sslListCertificates = {
2524
2548
  method: "GET",
2525
2549
  operationId: "ssl-list-certificates",
2526
2550
  };
2527
- /** Get storage space Statistics belonging to a Project. */
2528
- export const storagespaceGetProjectStatistics = {
2529
- path: "/v2/projects/{projectId}/storage-space-statistics",
2530
- method: "GET",
2531
- operationId: "storagespace-get-project-statistics",
2532
- };
2533
- /** Update a Project's storage space statistics. */
2534
- export const storagespaceUpdateProjectStatistics = {
2535
- path: "/v2/projects/{projectId}/storage-space-statistics",
2536
- method: "PATCH",
2537
- operationId: "storagespace-update-project-statistics",
2538
- };
2539
- /** Get storage space Statistics belonging to a Server. */
2540
- export const storagespaceGetServerStatistics = {
2541
- path: "/v2/servers/{serverId}/storage-space-statistics",
2542
- method: "GET",
2543
- operationId: "storagespace-get-server-statistics",
2544
- };
2545
- /** Update a Server's storage space statistics. */
2546
- export const storagespaceUpdateServerStatistics = {
2547
- path: "/v2/servers/{serverId}/storage-space-statistics",
2548
- method: "PATCH",
2549
- operationId: "storagespace-update-server-statistics",
2550
- };
2551
2551
  /** Add phone number and start verification process. */
2552
2552
  export const userAddPhoneNumber = {
2553
2553
  path: "/v2/users/{userId}/phone",
@@ -2848,6 +2848,12 @@ export const userResendVerificationEmail = {
2848
2848
  method: "POST",
2849
2849
  operationId: "user-resend-verification-email",
2850
2850
  };
2851
+ /** Check if a password is leaked. */
2852
+ export const userSearchedLeakedPasswordsByRange = {
2853
+ path: "/v2/leaked-passwords/{passwordHashPrefix}",
2854
+ method: "GET",
2855
+ operationId: "user-searched-leaked-passwords-by-range",
2856
+ };
2851
2857
  /** Submit your spotlight usage. */
2852
2858
  export const userSpotlightFeedback = {
2853
2859
  path: "/v2/users/self/spotlights/{spotlightId}/feedback",
@@ -2896,33 +2902,27 @@ export const verificationVerifyCompany = {
2896
2902
  method: "POST",
2897
2903
  operationId: "verification-verify-company",
2898
2904
  };
2899
- /** Get a specific OAuth2 client. */
2900
- export const contributorGetOauthClient = {
2901
- path: "/v2/oauth2/clients/{oauthClientId}",
2905
+ /** Get storage space Statistics belonging to a Server. */
2906
+ export const storagespaceGetServerStatistics = {
2907
+ path: "/v2/servers/{serverId}/storage-space-statistics",
2902
2908
  method: "GET",
2903
- operationId: "contributor-get-oauth-client",
2909
+ operationId: "storagespace-get-server-statistics",
2904
2910
  };
2905
- /** Check if a password is leaked. */
2906
- export const userSearchedLeakedPasswordsByRange = {
2907
- path: "/v2/leaked-passwords/{passwordHashPrefix}",
2908
- method: "GET",
2909
- operationId: "user-searched-leaked-passwords-by-range",
2911
+ /** Update a Server's storage space statistics. */
2912
+ export const storagespaceUpdateServerStatistics = {
2913
+ path: "/v2/servers/{serverId}/storage-space-statistics",
2914
+ method: "PATCH",
2915
+ operationId: "storagespace-update-server-statistics",
2910
2916
  };
2911
- /** List DNS zone-file import jobs belonging to a Project. */
2912
- export const dnsListDnsZoneFileImports = {
2913
- path: "/v2/projects/{projectId}/dns-zone-imports",
2917
+ /** Get storage space Statistics belonging to a Project. */
2918
+ export const storagespaceGetProjectStatistics = {
2919
+ path: "/v2/projects/{projectId}/storage-space-statistics",
2914
2920
  method: "GET",
2915
- operationId: "dns-list-dns-zone-file-imports",
2916
- };
2917
- /** Import a DNS zone file into a Project, or preview it with dry-run. */
2918
- export const dnsCreateDnsZoneFileImport = {
2919
- path: "/v2/projects/{projectId}/dns-zone-imports",
2920
- method: "POST",
2921
- operationId: "dns-create-dns-zone-file-import",
2921
+ operationId: "storagespace-get-project-statistics",
2922
2922
  };
2923
- /** Get the status of a DNS zone-file import job. */
2924
- export const dnsGetDnsZoneFileImport = {
2925
- path: "/v2/dns-zone-imports/{zoneFileImportId}",
2926
- method: "GET",
2927
- operationId: "dns-get-dns-zone-file-import",
2923
+ /** Update a Project's storage space statistics. */
2924
+ export const storagespaceUpdateProjectStatistics = {
2925
+ path: "/v2/projects/{projectId}/storage-space-statistics",
2926
+ method: "PATCH",
2927
+ operationId: "storagespace-update-project-statistics",
2928
2928
  };
@@ -172,6 +172,8 @@ const buildMarketplaceApi = (baseClient) => ({
172
172
  contributorGetCustomerBillingPortalLink: new ApiCallAsyncResourceFactory(descriptors.contributorGetCustomerBillingPortalLink, baseClient.marketplace.contributorGetCustomerBillingPortalLink).getApiResource,
173
173
  /** Get the Stripe Dashboard Link for a Contributor. */
174
174
  contributorGetLoginLink: new ApiCallAsyncResourceFactory(descriptors.contributorGetLoginLink, baseClient.marketplace.contributorGetLoginLink).getApiResource,
175
+ /** Get a specific OAuth2 client. */
176
+ contributorGetOauthClient: new ApiCallAsyncResourceFactory(descriptors.contributorGetOauthClient, baseClient.marketplace.contributorGetOauthClient).getApiResource,
175
177
  /** List ContractPartners of the contributor. */
176
178
  contributorListContractPartnersOfContributor: new ApiCallAsyncResourceFactory(descriptors.contributorListContractPartnersOfContributor, baseClient.marketplace.contributorListContractPartnersOfContributor).getApiResource,
177
179
  /** List incoming Invoices of a Contributor. */
@@ -214,8 +216,6 @@ const buildMarketplaceApi = (baseClient) => ({
214
216
  extensionListScopes: new ApiCallAsyncResourceFactory(descriptors.extensionListScopes, baseClient.marketplace.extensionListScopes).getApiResource,
215
217
  /** Get payment method details */
216
218
  customerGetPaymentMethod: new ApiCallAsyncResourceFactory(descriptors.marketplaceCustomerGetPaymentMethod, baseClient.marketplace.customerGetPaymentMethod).getApiResource,
217
- /** Get a specific OAuth2 client. */
218
- contributorGetOauthClient: new ApiCallAsyncResourceFactory(descriptors.contributorGetOauthClient, baseClient.marketplace.contributorGetOauthClient).getApiResource,
219
219
  });
220
220
  const buildConversationApi = (baseClient) => ({
221
221
  /** Get all conversation the authenticated user has created or has access to. */
@@ -296,12 +296,16 @@ const buildDatabaseApi = (baseClient) => ({
296
296
  const buildDomainApi = (baseClient) => ({
297
297
  /** List Domains */
298
298
  listDomains: new ApiCallAsyncResourceFactory(descriptors.domainListDomains, baseClient.domain.listDomains).getApiResource,
299
+ /** List DNS zone-file import jobs belonging to a Project. */
300
+ dnsListDnsZoneFileImports: new ApiCallAsyncResourceFactory(descriptors.dnsListDnsZoneFileImports, baseClient.domain.dnsListDnsZoneFileImports).getApiResource,
301
+ /** List DNSZones belonging to a Project. */
302
+ dnsListDnsZones: new ApiCallAsyncResourceFactory(descriptors.dnsListDnsZones, baseClient.domain.dnsListDnsZones).getApiResource,
299
303
  /** Get a DNSZone. */
300
304
  dnsGetDnsZone: new ApiCallAsyncResourceFactory(descriptors.dnsGetDnsZone, baseClient.domain.dnsGetDnsZone).getApiResource,
305
+ /** Get the status of a DNS zone-file import job. */
306
+ dnsGetDnsZoneFileImport: new ApiCallAsyncResourceFactory(descriptors.dnsGetDnsZoneFileImport, baseClient.domain.dnsGetDnsZoneFileImport).getApiResource,
301
307
  /** Get a zone file for a DNSZone. */
302
308
  dnsGetZoneFile: new ApiCallAsyncResourceFactory(descriptors.dnsGetZoneFile, baseClient.domain.dnsGetZoneFile).getApiResource,
303
- /** List DNSZones belonging to a Project. */
304
- dnsListDnsZones: new ApiCallAsyncResourceFactory(descriptors.dnsListDnsZones, baseClient.domain.dnsListDnsZones).getApiResource,
305
309
  /** Get a Domain. */
306
310
  getDomain: new ApiCallAsyncResourceFactory(descriptors.domainGetDomain, baseClient.domain.getDomain).getApiResource,
307
311
  /** Get a Contact-Verification. */
@@ -330,10 +334,6 @@ const buildDomainApi = (baseClient) => ({
330
334
  sslGetCertificate: new ApiCallAsyncResourceFactory(descriptors.sslGetCertificate, baseClient.domain.sslGetCertificate).getApiResource,
331
335
  /** List Certificates belonging to a Project or an Ingress. */
332
336
  sslListCertificates: new ApiCallAsyncResourceFactory(descriptors.sslListCertificates, baseClient.domain.sslListCertificates).getApiResource,
333
- /** List DNS zone-file import jobs belonging to a Project. */
334
- dnsListDnsZoneFileImports: new ApiCallAsyncResourceFactory(descriptors.dnsListDnsZoneFileImports, baseClient.domain.dnsListDnsZoneFileImports).getApiResource,
335
- /** Get the status of a DNS zone-file import job. */
336
- dnsGetDnsZoneFileImport: new ApiCallAsyncResourceFactory(descriptors.dnsGetDnsZoneFileImport, baseClient.domain.dnsGetDnsZoneFileImport).getApiResource,
337
337
  });
338
338
  const buildFileApi = (baseClient) => ({
339
339
  /** Get a File's meta. */
@@ -448,10 +448,10 @@ const buildUserApi = (baseClient) => ({
448
448
  listSessions: new ApiCallAsyncResourceFactory(descriptors.userListSessions, baseClient.user.listSessions).getApiResource,
449
449
  /** Obtain authorization from the resource owner. */
450
450
  oauthGetAuthorization: new ApiCallAsyncResourceFactory(descriptors.userOauthGetAuthorization, baseClient.user.oauthGetAuthorization).getApiResource,
451
- /** Request a support code. */
452
- supportCodeRequest: new ApiCallAsyncResourceFactory(descriptors.userSupportCodeRequest, baseClient.user.supportCodeRequest).getApiResource,
453
451
  /** Check if a password is leaked. */
454
452
  searchedLeakedPasswordsByRange: new ApiCallAsyncResourceFactory(descriptors.userSearchedLeakedPasswordsByRange, baseClient.user.searchedLeakedPasswordsByRange).getApiResource,
453
+ /** Request a support code. */
454
+ supportCodeRequest: new ApiCallAsyncResourceFactory(descriptors.userSupportCodeRequest, baseClient.user.supportCodeRequest).getApiResource,
455
455
  });
456
456
  const buildProjectApi = (baseClient) => ({
457
457
  /** List Invites belonging to a Project. */
@@ -482,10 +482,10 @@ const buildProjectApi = (baseClient) => ({
482
482
  listProjects: new ApiCallAsyncResourceFactory(descriptors.projectListProjects, baseClient.project.listProjects).getApiResource,
483
483
  /** List Servers belonging to the executing user. */
484
484
  listServers: new ApiCallAsyncResourceFactory(descriptors.projectListServers, baseClient.project.listServers).getApiResource,
485
- /** Get storage space Statistics belonging to a Project. */
486
- storagespaceGetProjectStatistics: new ApiCallAsyncResourceFactory(descriptors.storagespaceGetProjectStatistics, baseClient.project.storagespaceGetProjectStatistics).getApiResource,
487
485
  /** Get storage space Statistics belonging to a Server. */
488
486
  storagespaceGetServerStatistics: new ApiCallAsyncResourceFactory(descriptors.storagespaceGetServerStatistics, baseClient.project.storagespaceGetServerStatistics).getApiResource,
487
+ /** Get storage space Statistics belonging to a Project. */
488
+ storagespaceGetProjectStatistics: new ApiCallAsyncResourceFactory(descriptors.storagespaceGetProjectStatistics, baseClient.project.storagespaceGetProjectStatistics).getApiResource,
489
489
  });
490
490
  const buildProjectFileSystemApi = (baseClient) => ({
491
491
  /** List directories belonging to a Project. */
@@ -298,6 +298,8 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
298
298
  contributorGetCustomerBillingPortalLink: this.requestFunctionFactory(descriptors.contributorGetCustomerBillingPortalLink),
299
299
  /** Get the Stripe Dashboard Link for a Contributor. */
300
300
  contributorGetLoginLink: this.requestFunctionFactory(descriptors.contributorGetLoginLink),
301
+ /** Get a specific OAuth2 client. */
302
+ contributorGetOauthClient: this.requestFunctionFactory(descriptors.contributorGetOauthClient),
301
303
  /** List ContractPartners of the contributor. */
302
304
  contributorListContractPartnersOfContributor: this.requestFunctionFactory(descriptors.contributorListContractPartnersOfContributor),
303
305
  /** List incoming Invoices of a Contributor. */
@@ -410,8 +412,6 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
410
412
  customerGetPaymentMethod: this.requestFunctionFactory(descriptors.marketplaceCustomerGetPaymentMethod),
411
413
  /** Get the link to update the marketplace payment method */
412
414
  customerUpdatePaymentMethod: this.requestFunctionFactory(descriptors.marketplaceCustomerUpdatePaymentMethod),
413
- /** Get a specific OAuth2 client. */
414
- contributorGetOauthClient: this.requestFunctionFactory(descriptors.contributorGetOauthClient),
415
415
  };
416
416
  /** The conversation API allows you to manage your support conversations. */
417
417
  conversation = {
@@ -577,16 +577,22 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
577
577
  ingressUpdateIngressPaths: this.requestFunctionFactory(descriptors.ingressUpdateIngressPaths),
578
578
  /** Update the tls settings of an Ingress. */
579
579
  ingressUpdateIngressTls: this.requestFunctionFactory(descriptors.ingressUpdateIngressTls),
580
+ /** List DNS zone-file import jobs belonging to a Project. */
581
+ dnsListDnsZoneFileImports: this.requestFunctionFactory(descriptors.dnsListDnsZoneFileImports),
582
+ /** Import a DNS zone file into a Project, or preview it with dry-run. */
583
+ dnsCreateDnsZoneFileImport: this.requestFunctionFactory(descriptors.dnsCreateDnsZoneFileImport),
584
+ /** List DNSZones belonging to a Project. */
585
+ dnsListDnsZones: this.requestFunctionFactory(descriptors.dnsListDnsZones),
586
+ /** Create a DNSZone for a verified Ingress in a Project. */
587
+ dnsCreateProjectDnsZone: this.requestFunctionFactory(descriptors.dnsCreateProjectDnsZone),
580
588
  /** Get a DNSZone. */
581
589
  dnsGetDnsZone: this.requestFunctionFactory(descriptors.dnsGetDnsZone),
582
590
  /** Delete a DNSZone. */
583
591
  dnsDeleteDnsZone: this.requestFunctionFactory(descriptors.dnsDeleteDnsZone),
592
+ /** Get the status of a DNS zone-file import job. */
593
+ dnsGetDnsZoneFileImport: this.requestFunctionFactory(descriptors.dnsGetDnsZoneFileImport),
584
594
  /** Get a zone file for a DNSZone. */
585
595
  dnsGetZoneFile: this.requestFunctionFactory(descriptors.dnsGetZoneFile),
586
- /** List DNSZones belonging to a Project. */
587
- dnsListDnsZones: this.requestFunctionFactory(descriptors.dnsListDnsZones),
588
- /** Create a DNSZone for a verified Ingress in a Project. */
589
- dnsCreateProjectDnsZone: this.requestFunctionFactory(descriptors.dnsCreateProjectDnsZone),
590
596
  /** Set a record set on a DNSZone to managed. */
591
597
  dnsSetRecordSetManaged: this.requestFunctionFactory(descriptors.dnsSetRecordSetManaged),
592
598
  /** Update a record set on a DNSZone. */
@@ -663,12 +669,6 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
663
669
  sslReplaceCertificate: this.requestFunctionFactory(descriptors.sslReplaceCertificate),
664
670
  /** List Certificates belonging to a Project or an Ingress. */
665
671
  sslListCertificates: this.requestFunctionFactory(descriptors.sslListCertificates),
666
- /** List DNS zone-file import jobs belonging to a Project. */
667
- dnsListDnsZoneFileImports: this.requestFunctionFactory(descriptors.dnsListDnsZoneFileImports),
668
- /** Import a DNS zone file into a Project, or preview it with dry-run. */
669
- dnsCreateDnsZoneFileImport: this.requestFunctionFactory(descriptors.dnsCreateDnsZoneFileImport),
670
- /** Get the status of a DNS zone-file import job. */
671
- dnsGetDnsZoneFileImport: this.requestFunctionFactory(descriptors.dnsGetDnsZoneFileImport),
672
672
  };
673
673
  /** The mail API allows you to manage your mail accounts. */
674
674
  mail = {
@@ -848,6 +848,8 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
848
848
  removeAvatar: this.requestFunctionFactory(descriptors.userRemoveAvatar),
849
849
  /** Resend the Email-Address verification email. */
850
850
  resendVerificationEmail: this.requestFunctionFactory(descriptors.userResendVerificationEmail),
851
+ /** Check if a password is leaked. */
852
+ searchedLeakedPasswordsByRange: this.requestFunctionFactory(descriptors.userSearchedLeakedPasswordsByRange),
851
853
  /** Submit your spotlight usage. */
852
854
  spotlightFeedback: this.requestFunctionFactory(descriptors.userSpotlightFeedback),
853
855
  /** Request a support code. */
@@ -858,8 +860,6 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
858
860
  verifyPhoneNumber: this.requestFunctionFactory(descriptors.userVerifyPhoneNumber),
859
861
  /** Verify your registration. */
860
862
  verifyRegistration: this.requestFunctionFactory(descriptors.userVerifyRegistration),
861
- /** Check if a password is leaked. */
862
- searchedLeakedPasswordsByRange: this.requestFunctionFactory(descriptors.userSearchedLeakedPasswordsByRange),
863
863
  };
864
864
  /** The file API allows you to manage your files, for example for conversations attachments and avatar uploads. */
865
865
  file = {
@@ -1000,14 +1000,14 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
1000
1000
  listServers: this.requestFunctionFactory(descriptors.projectListServers),
1001
1001
  /** Resend the mail for a ProjectInvite. */
1002
1002
  resendProjectInviteMail: this.requestFunctionFactory(descriptors.projectResendProjectInviteMail),
1003
- /** Get storage space Statistics belonging to a Project. */
1004
- storagespaceGetProjectStatistics: this.requestFunctionFactory(descriptors.storagespaceGetProjectStatistics),
1005
- /** Update a Project's storage space statistics. */
1006
- storagespaceUpdateProjectStatistics: this.requestFunctionFactory(descriptors.storagespaceUpdateProjectStatistics),
1007
1003
  /** Get storage space Statistics belonging to a Server. */
1008
1004
  storagespaceGetServerStatistics: this.requestFunctionFactory(descriptors.storagespaceGetServerStatistics),
1009
1005
  /** Update a Server's storage space statistics. */
1010
1006
  storagespaceUpdateServerStatistics: this.requestFunctionFactory(descriptors.storagespaceUpdateServerStatistics),
1007
+ /** Get storage space Statistics belonging to a Project. */
1008
+ storagespaceGetProjectStatistics: this.requestFunctionFactory(descriptors.storagespaceGetProjectStatistics),
1009
+ /** Update a Project's storage space statistics. */
1010
+ storagespaceUpdateProjectStatistics: this.requestFunctionFactory(descriptors.storagespaceUpdateProjectStatistics),
1011
1011
  };
1012
1012
  /** The filesystem API allows you to directly access the filesystem of your project. */
1013
1013
  projectFileSystem = {