@mittwald/api-client 0.0.0-development-de8b283-20260817 → 0.0.0-development-6372ff8-20260818

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.
@@ -8,10 +8,6 @@ const buildAiHostingApi = (baseClient) => ({
8
8
  customerGetKey: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetKey, baseClient.aiHosting.customerGetKey).getApiResource,
9
9
  /** Get a list of currently active models. */
10
10
  customerGetDetailedModels: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetDetailedModels, baseClient.aiHosting.customerGetDetailedModels).getApiResource,
11
- /** Get ai hosting plan and usages of a customer by planId. */
12
- customerGetPlan: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetPlan, baseClient.aiHosting.customerGetPlan).getApiResource,
13
- /** Get all ai hosting plans of a customer. */
14
- customerGetPlans: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetPlans, baseClient.aiHosting.customerGetPlans).getApiResource,
15
11
  /** Get ai hosting plan and usages of a customer. Deprecated: use /ai-hostings/{planId} instead. */
16
12
  customerGetUsage: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetUsage, baseClient.aiHosting.customerGetUsage).getApiResource,
17
13
  /** Get a list of currently active models. */
@@ -24,6 +20,10 @@ const buildAiHostingApi = (baseClient) => ({
24
20
  projectGetDetailedModels: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetDetailedModels, baseClient.aiHosting.projectGetDetailedModels).getApiResource,
25
21
  /** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
26
22
  projectGetUsage: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetUsage, baseClient.aiHosting.projectGetUsage).getApiResource,
23
+ /** Get ai hosting plan and usages of a customer by planId. */
24
+ customerGetPlan: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetPlan, baseClient.aiHosting.customerGetPlan).getApiResource,
25
+ /** Get all ai hosting plans of a customer. */
26
+ customerGetPlans: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetPlans, baseClient.aiHosting.customerGetPlans).getApiResource,
27
27
  });
28
28
  const buildAppApi = (baseClient) => ({
29
29
  /** Get an App. */
@@ -322,6 +322,8 @@ const buildDomainApi = (baseClient) => ({
322
322
  sslGetCertificate: new ApiCallAsyncResourceFactory(descriptors.sslGetCertificate, baseClient.domain.sslGetCertificate).getApiResource,
323
323
  /** List Certificates belonging to a Project or an Ingress. */
324
324
  sslListCertificates: new ApiCallAsyncResourceFactory(descriptors.sslListCertificates, baseClient.domain.sslListCertificates).getApiResource,
325
+ /** Get the status of a DNS zone-file import job. */
326
+ dnsGetDnsZoneFileImport: new ApiCallAsyncResourceFactory(descriptors.dnsGetDnsZoneFileImport, baseClient.domain.dnsGetDnsZoneFileImport).getApiResource,
325
327
  });
326
328
  const buildFileApi = (baseClient) => ({
327
329
  /** Get a File's meta. */
@@ -12,8 +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
- /** Creates an AI hosting profile and accepts the current model terms. */
16
- customerDeclareProfile: this.requestFunctionFactory(descriptors.aiHostingCustomerDeclareProfile),
17
15
  /** Get a key of a customer. */
18
16
  customerGetKey: this.requestFunctionFactory(descriptors.aiHostingCustomerGetKey),
19
17
  /** Update a key for a customer. */
@@ -22,12 +20,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
22
20
  customerDeleteKey: this.requestFunctionFactory(descriptors.aiHostingCustomerDeleteKey),
23
21
  /** Get a list of currently active models. */
24
22
  customerGetDetailedModels: this.requestFunctionFactory(descriptors.aiHostingCustomerGetDetailedModels),
25
- /** Get ai hosting plan and usages of a customer by planId. */
26
- customerGetPlan: this.requestFunctionFactory(descriptors.aiHostingCustomerGetPlan),
27
- /** Renames an AI hosting plan. */
28
- customerUpdatePlan: this.requestFunctionFactory(descriptors.aiHostingCustomerUpdatePlan),
29
- /** Get all ai hosting plans of a customer. */
30
- customerGetPlans: this.requestFunctionFactory(descriptors.aiHostingCustomerGetPlans),
31
23
  /** Get ai hosting plan and usages of a customer. Deprecated: use /ai-hostings/{planId} instead. */
32
24
  customerGetUsage: this.requestFunctionFactory(descriptors.aiHostingCustomerGetUsage),
33
25
  /** Get a list of currently active models. */
@@ -48,6 +40,14 @@ export class MittwaldAPIV2Client extends ApiClientBase {
48
40
  projectGetUsage: this.requestFunctionFactory(descriptors.aiHostingProjectGetUsage),
49
41
  /** Links a container with a project licence. */
50
42
  projectLinkContainer: this.requestFunctionFactory(descriptors.aiHostingProjectLinkContainer),
43
+ /** Get ai hosting plan and usages of a customer by planId. */
44
+ customerGetPlan: this.requestFunctionFactory(descriptors.aiHostingCustomerGetPlan),
45
+ /** Renames an AI hosting plan. */
46
+ customerUpdatePlan: this.requestFunctionFactory(descriptors.aiHostingCustomerUpdatePlan),
47
+ /** Get all ai hosting plans of a customer. */
48
+ customerGetPlans: this.requestFunctionFactory(descriptors.aiHostingCustomerGetPlans),
49
+ /** Creates an AI hosting profile and accepts the current model terms. */
50
+ customerDeclareProfile: this.requestFunctionFactory(descriptors.aiHostingCustomerDeclareProfile),
51
51
  };
52
52
  /** The App API allows you to manage your apps within a project, and all the system softwares that are installed as dependencies. */
53
53
  app = {
@@ -557,8 +557,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
557
557
  ingressUpdateIngressPaths: this.requestFunctionFactory(descriptors.ingressUpdateIngressPaths),
558
558
  /** Update the tls settings of an Ingress. */
559
559
  ingressUpdateIngressTls: this.requestFunctionFactory(descriptors.ingressUpdateIngressTls),
560
- /** Create a DNSZone. */
561
- dnsCreateDnsZone: this.requestFunctionFactory(descriptors.dnsCreateDnsZone),
562
560
  /** Get a DNSZone. */
563
561
  dnsGetDnsZone: this.requestFunctionFactory(descriptors.dnsGetDnsZone),
564
562
  /** Delete a DNSZone. */
@@ -567,6 +565,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
567
565
  dnsGetZoneFile: this.requestFunctionFactory(descriptors.dnsGetZoneFile),
568
566
  /** List DNSZones belonging to a Project. */
569
567
  dnsListDnsZones: this.requestFunctionFactory(descriptors.dnsListDnsZones),
568
+ /** Create a DNSZone for a domain in a Project. */
569
+ dnsCreateProjectDnsZone: this.requestFunctionFactory(descriptors.dnsCreateProjectDnsZone),
570
570
  /** Set a record set on a DNSZone to managed. */
571
571
  dnsSetRecordSetManaged: this.requestFunctionFactory(descriptors.dnsSetRecordSetManaged),
572
572
  /** Update a record set on a DNSZone. */
@@ -651,6 +651,12 @@ export class MittwaldAPIV2Client extends ApiClientBase {
651
651
  sslListCertificates: this.requestFunctionFactory(descriptors.sslListCertificates),
652
652
  /** Update the certificate of a CertificateRequest. */
653
653
  sslSetCertificateRequestCertificate: this.requestFunctionFactory(descriptors.sslSetCertificateRequestCertificate),
654
+ /** Get the status of a DNS zone-file import job. */
655
+ dnsGetDnsZoneFileImport: this.requestFunctionFactory(descriptors.dnsGetDnsZoneFileImport),
656
+ /** Start a server-side DNS zone-file import for a Project. */
657
+ dnsCreateDnsZoneFileImport: this.requestFunctionFactory(descriptors.dnsCreateDnsZoneFileImport),
658
+ /** Preview a DNS zone-file import for a Project. */
659
+ dnsPreviewProjectDnsZoneFileImport: this.requestFunctionFactory(descriptors.dnsPreviewProjectDnsZoneFileImport),
654
660
  };
655
661
  /** The mail API allows you to manage your mail accounts. */
656
662
  mail = {
@@ -16,12 +16,6 @@ export const aiHostingCustomerCreateKey = {
16
16
  method: "POST",
17
17
  operationId: "ai-hosting-customer-create-key",
18
18
  };
19
- /** Creates an AI hosting profile and accepts the current model terms. */
20
- export const aiHostingCustomerDeclareProfile = {
21
- path: "/v2/customers/{customerId}/ai-hostings/profile",
22
- method: "POST",
23
- operationId: "ai-hosting-customer-declare-profile",
24
- };
25
19
  /** Get a key of a customer. */
26
20
  export const aiHostingCustomerGetKey = {
27
21
  path: "/v2/customers/{customerId}/ai-hosting-keys/{keyId}",
@@ -46,24 +40,6 @@ export const aiHostingCustomerGetDetailedModels = {
46
40
  method: "GET",
47
41
  operationId: "ai-hosting-customer-get-detailed-models",
48
42
  };
49
- /** Get ai hosting plan and usages of a customer by planId. */
50
- export const aiHostingCustomerGetPlan = {
51
- path: "/v2/customers/{customerId}/ai-hostings/{planId}",
52
- method: "GET",
53
- operationId: "ai-hosting-customer-get-plan",
54
- };
55
- /** Renames an AI hosting plan. */
56
- export const aiHostingCustomerUpdatePlan = {
57
- path: "/v2/customers/{customerId}/ai-hostings/{planId}",
58
- method: "PUT",
59
- operationId: "ai-hosting-customer-update-plan",
60
- };
61
- /** Get all ai hosting plans of a customer. */
62
- export const aiHostingCustomerGetPlans = {
63
- path: "/v2/customers/{customerId}/ai-hostings",
64
- method: "GET",
65
- operationId: "ai-hosting-customer-get-plans",
66
- };
67
43
  /** Get ai hosting plan and usages of a customer. Deprecated: use /ai-hostings/{planId} instead. */
68
44
  export const aiHostingCustomerGetUsage = {
69
45
  path: "/v2/customers/{customerId}/ai-hosting",
@@ -1228,12 +1204,6 @@ export const userUpdateAccount = {
1228
1204
  method: "PUT",
1229
1205
  operationId: "user-update-account",
1230
1206
  };
1231
- /** Create a DNSZone. */
1232
- export const dnsCreateDnsZone = {
1233
- path: "/v2/dns-zones",
1234
- method: "POST",
1235
- operationId: "dns-create-dns-zone",
1236
- };
1237
1207
  /** Get a DNSZone. */
1238
1208
  export const dnsGetDnsZone = {
1239
1209
  path: "/v2/dns-zones/{dnsZoneId}",
@@ -1258,6 +1228,12 @@ export const dnsListDnsZones = {
1258
1228
  method: "GET",
1259
1229
  operationId: "dns-list-dns-zones",
1260
1230
  };
1231
+ /** Create a DNSZone for a domain in a Project. */
1232
+ export const dnsCreateProjectDnsZone = {
1233
+ path: "/v2/projects/{projectId}/dns-zones",
1234
+ method: "POST",
1235
+ operationId: "dns-create-project-dns-zone",
1236
+ };
1261
1237
  /** Set a record set on a DNSZone to managed. */
1262
1238
  export const dnsSetRecordSetManaged = {
1263
1239
  path: "/v2/dns-zones/{dnsZoneId}/record-sets/{recordSet}/actions/set-managed",
@@ -2872,3 +2848,45 @@ export const containerListAccessibleServices = {
2872
2848
  method: "GET",
2873
2849
  operationId: "container-list-accessible-services",
2874
2850
  };
2851
+ /** Get ai hosting plan and usages of a customer by planId. */
2852
+ export const aiHostingCustomerGetPlan = {
2853
+ path: "/v2/customers/{customerId}/ai-hostings/{planId}",
2854
+ method: "GET",
2855
+ operationId: "ai-hosting-customer-get-plan",
2856
+ };
2857
+ /** Renames an AI hosting plan. */
2858
+ export const aiHostingCustomerUpdatePlan = {
2859
+ path: "/v2/customers/{customerId}/ai-hostings/{planId}",
2860
+ method: "PUT",
2861
+ operationId: "ai-hosting-customer-update-plan",
2862
+ };
2863
+ /** Get all ai hosting plans of a customer. */
2864
+ export const aiHostingCustomerGetPlans = {
2865
+ path: "/v2/customers/{customerId}/ai-hostings",
2866
+ method: "GET",
2867
+ operationId: "ai-hosting-customer-get-plans",
2868
+ };
2869
+ /** Creates an AI hosting profile and accepts the current model terms. */
2870
+ export const aiHostingCustomerDeclareProfile = {
2871
+ path: "/v2/customers/{customerId}/ai-hostings/profile",
2872
+ method: "POST",
2873
+ operationId: "ai-hosting-customer-declare-profile",
2874
+ };
2875
+ /** Get the status of a DNS zone-file import job. */
2876
+ export const dnsGetDnsZoneFileImport = {
2877
+ path: "/v2/dns-zone-imports/{zoneFileImportId}",
2878
+ method: "GET",
2879
+ operationId: "dns-get-dns-zone-file-import",
2880
+ };
2881
+ /** Start a server-side DNS zone-file import for a Project. */
2882
+ export const dnsCreateDnsZoneFileImport = {
2883
+ path: "/v2/projects/{projectId}/dns-zone-imports",
2884
+ method: "POST",
2885
+ operationId: "dns-create-dns-zone-file-import",
2886
+ };
2887
+ /** Preview a DNS zone-file import for a Project. */
2888
+ export const dnsPreviewProjectDnsZoneFileImport = {
2889
+ path: "/v2/projects/{projectId}/dns-zones/import-preview",
2890
+ method: "POST",
2891
+ operationId: "dns-preview-project-dns-zone-file-import",
2892
+ };
@@ -8,10 +8,6 @@ const buildAiHostingApi = (baseClient) => ({
8
8
  customerGetKey: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetKey, baseClient.aiHosting.customerGetKey).getApiResource,
9
9
  /** Get a list of currently active models. */
10
10
  customerGetDetailedModels: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetDetailedModels, baseClient.aiHosting.customerGetDetailedModels).getApiResource,
11
- /** Get ai hosting plan and usages of a customer by planId. */
12
- customerGetPlan: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetPlan, baseClient.aiHosting.customerGetPlan).getApiResource,
13
- /** Get all ai hosting plans of a customer. */
14
- customerGetPlans: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetPlans, baseClient.aiHosting.customerGetPlans).getApiResource,
15
11
  /** Get ai hosting plan and usages of a customer. Deprecated: use /ai-hostings/{planId} instead. */
16
12
  customerGetUsage: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetUsage, baseClient.aiHosting.customerGetUsage).getApiResource,
17
13
  /** Get a list of currently active models. */
@@ -24,6 +20,10 @@ const buildAiHostingApi = (baseClient) => ({
24
20
  projectGetDetailedModels: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetDetailedModels, baseClient.aiHosting.projectGetDetailedModels).getApiResource,
25
21
  /** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
26
22
  projectGetUsage: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetUsage, baseClient.aiHosting.projectGetUsage).getApiResource,
23
+ /** Get ai hosting plan and usages of a customer by planId. */
24
+ customerGetPlan: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetPlan, baseClient.aiHosting.customerGetPlan).getApiResource,
25
+ /** Get all ai hosting plans of a customer. */
26
+ customerGetPlans: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetPlans, baseClient.aiHosting.customerGetPlans).getApiResource,
27
27
  });
28
28
  const buildAppApi = (baseClient) => ({
29
29
  /** Get an App. */
@@ -322,6 +322,8 @@ const buildDomainApi = (baseClient) => ({
322
322
  sslGetCertificate: new ApiCallAsyncResourceFactory(descriptors.sslGetCertificate, baseClient.domain.sslGetCertificate).getApiResource,
323
323
  /** List Certificates belonging to a Project or an Ingress. */
324
324
  sslListCertificates: new ApiCallAsyncResourceFactory(descriptors.sslListCertificates, baseClient.domain.sslListCertificates).getApiResource,
325
+ /** Get the status of a DNS zone-file import job. */
326
+ dnsGetDnsZoneFileImport: new ApiCallAsyncResourceFactory(descriptors.dnsGetDnsZoneFileImport, baseClient.domain.dnsGetDnsZoneFileImport).getApiResource,
325
327
  });
326
328
  const buildFileApi = (baseClient) => ({
327
329
  /** Get a File's meta. */
@@ -12,8 +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
- /** Creates an AI hosting profile and accepts the current model terms. */
16
- customerDeclareProfile: this.requestFunctionFactory(descriptors.aiHostingCustomerDeclareProfile),
17
15
  /** Get a key of a customer. */
18
16
  customerGetKey: this.requestFunctionFactory(descriptors.aiHostingCustomerGetKey),
19
17
  /** Update a key for a customer. */
@@ -22,12 +20,6 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
22
20
  customerDeleteKey: this.requestFunctionFactory(descriptors.aiHostingCustomerDeleteKey),
23
21
  /** Get a list of currently active models. */
24
22
  customerGetDetailedModels: this.requestFunctionFactory(descriptors.aiHostingCustomerGetDetailedModels),
25
- /** Get ai hosting plan and usages of a customer by planId. */
26
- customerGetPlan: this.requestFunctionFactory(descriptors.aiHostingCustomerGetPlan),
27
- /** Renames an AI hosting plan. */
28
- customerUpdatePlan: this.requestFunctionFactory(descriptors.aiHostingCustomerUpdatePlan),
29
- /** Get all ai hosting plans of a customer. */
30
- customerGetPlans: this.requestFunctionFactory(descriptors.aiHostingCustomerGetPlans),
31
23
  /** Get ai hosting plan and usages of a customer. Deprecated: use /ai-hostings/{planId} instead. */
32
24
  customerGetUsage: this.requestFunctionFactory(descriptors.aiHostingCustomerGetUsage),
33
25
  /** Get a list of currently active models. */
@@ -48,6 +40,14 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
48
40
  projectGetUsage: this.requestFunctionFactory(descriptors.aiHostingProjectGetUsage),
49
41
  /** Links a container with a project licence. */
50
42
  projectLinkContainer: this.requestFunctionFactory(descriptors.aiHostingProjectLinkContainer),
43
+ /** Get ai hosting plan and usages of a customer by planId. */
44
+ customerGetPlan: this.requestFunctionFactory(descriptors.aiHostingCustomerGetPlan),
45
+ /** Renames an AI hosting plan. */
46
+ customerUpdatePlan: this.requestFunctionFactory(descriptors.aiHostingCustomerUpdatePlan),
47
+ /** Get all ai hosting plans of a customer. */
48
+ customerGetPlans: this.requestFunctionFactory(descriptors.aiHostingCustomerGetPlans),
49
+ /** Creates an AI hosting profile and accepts the current model terms. */
50
+ customerDeclareProfile: this.requestFunctionFactory(descriptors.aiHostingCustomerDeclareProfile),
51
51
  };
52
52
  /** The App API allows you to manage your apps within a project, and all the system softwares that are installed as dependencies. */
53
53
  app = {
@@ -557,8 +557,6 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
557
557
  ingressUpdateIngressPaths: this.requestFunctionFactory(descriptors.ingressUpdateIngressPaths),
558
558
  /** Update the tls settings of an Ingress. */
559
559
  ingressUpdateIngressTls: this.requestFunctionFactory(descriptors.ingressUpdateIngressTls),
560
- /** Create a DNSZone. */
561
- dnsCreateDnsZone: this.requestFunctionFactory(descriptors.dnsCreateDnsZone),
562
560
  /** Get a DNSZone. */
563
561
  dnsGetDnsZone: this.requestFunctionFactory(descriptors.dnsGetDnsZone),
564
562
  /** Delete a DNSZone. */
@@ -567,6 +565,8 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
567
565
  dnsGetZoneFile: this.requestFunctionFactory(descriptors.dnsGetZoneFile),
568
566
  /** List DNSZones belonging to a Project. */
569
567
  dnsListDnsZones: this.requestFunctionFactory(descriptors.dnsListDnsZones),
568
+ /** Create a DNSZone for a domain in a Project. */
569
+ dnsCreateProjectDnsZone: this.requestFunctionFactory(descriptors.dnsCreateProjectDnsZone),
570
570
  /** Set a record set on a DNSZone to managed. */
571
571
  dnsSetRecordSetManaged: this.requestFunctionFactory(descriptors.dnsSetRecordSetManaged),
572
572
  /** Update a record set on a DNSZone. */
@@ -651,6 +651,12 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
651
651
  sslListCertificates: this.requestFunctionFactory(descriptors.sslListCertificates),
652
652
  /** Update the certificate of a CertificateRequest. */
653
653
  sslSetCertificateRequestCertificate: this.requestFunctionFactory(descriptors.sslSetCertificateRequestCertificate),
654
+ /** Get the status of a DNS zone-file import job. */
655
+ dnsGetDnsZoneFileImport: this.requestFunctionFactory(descriptors.dnsGetDnsZoneFileImport),
656
+ /** Start a server-side DNS zone-file import for a Project. */
657
+ dnsCreateDnsZoneFileImport: this.requestFunctionFactory(descriptors.dnsCreateDnsZoneFileImport),
658
+ /** Preview a DNS zone-file import for a Project. */
659
+ dnsPreviewProjectDnsZoneFileImport: this.requestFunctionFactory(descriptors.dnsPreviewProjectDnsZoneFileImport),
654
660
  };
655
661
  /** The mail API allows you to manage your mail accounts. */
656
662
  mail = {
@@ -16,12 +16,6 @@ export const aiHostingCustomerCreateKey = {
16
16
  method: "POST",
17
17
  operationId: "ai-hosting-customer-create-key",
18
18
  };
19
- /** Creates an AI hosting profile and accepts the current model terms. */
20
- export const aiHostingCustomerDeclareProfile = {
21
- path: "/v3-next/customers/{customerId}/ai-hostings/profile",
22
- method: "POST",
23
- operationId: "ai-hosting-customer-declare-profile",
24
- };
25
19
  /** Get a key of a customer. */
26
20
  export const aiHostingCustomerGetKey = {
27
21
  path: "/v3-next/customers/{customerId}/ai-hosting-keys/{keyId}",
@@ -46,24 +40,6 @@ export const aiHostingCustomerGetDetailedModels = {
46
40
  method: "GET",
47
41
  operationId: "ai-hosting-customer-get-detailed-models",
48
42
  };
49
- /** Get ai hosting plan and usages of a customer by planId. */
50
- export const aiHostingCustomerGetPlan = {
51
- path: "/v3-next/customers/{customerId}/ai-hostings/{planId}",
52
- method: "GET",
53
- operationId: "ai-hosting-customer-get-plan",
54
- };
55
- /** Renames an AI hosting plan. */
56
- export const aiHostingCustomerUpdatePlan = {
57
- path: "/v3-next/customers/{customerId}/ai-hostings/{planId}",
58
- method: "PUT",
59
- operationId: "ai-hosting-customer-update-plan",
60
- };
61
- /** Get all ai hosting plans of a customer. */
62
- export const aiHostingCustomerGetPlans = {
63
- path: "/v3-next/customers/{customerId}/ai-hostings",
64
- method: "GET",
65
- operationId: "ai-hosting-customer-get-plans",
66
- };
67
43
  /** Get ai hosting plan and usages of a customer. Deprecated: use /ai-hostings/{planId} instead. */
68
44
  export const aiHostingCustomerGetUsage = {
69
45
  path: "/v3-next/customers/{customerId}/ai-hosting",
@@ -1228,12 +1204,6 @@ export const userUpdateAccount = {
1228
1204
  method: "PUT",
1229
1205
  operationId: "user-update-account",
1230
1206
  };
1231
- /** Create a DNSZone. */
1232
- export const dnsCreateDnsZone = {
1233
- path: "/v3-next/dns-zones",
1234
- method: "POST",
1235
- operationId: "dns-create-dns-zone",
1236
- };
1237
1207
  /** Get a DNSZone. */
1238
1208
  export const dnsGetDnsZone = {
1239
1209
  path: "/v3-next/dns-zones/{dnsZoneId}",
@@ -1258,6 +1228,12 @@ export const dnsListDnsZones = {
1258
1228
  method: "GET",
1259
1229
  operationId: "dns-list-dns-zones",
1260
1230
  };
1231
+ /** Create a DNSZone for a domain in a Project. */
1232
+ export const dnsCreateProjectDnsZone = {
1233
+ path: "/v3-next/projects/{projectId}/dns-zones",
1234
+ method: "POST",
1235
+ operationId: "dns-create-project-dns-zone",
1236
+ };
1261
1237
  /** Set a record set on a DNSZone to managed. */
1262
1238
  export const dnsSetRecordSetManaged = {
1263
1239
  path: "/v3-next/dns-zones/{dnsZoneId}/record-sets/{recordSet}/actions/set-managed",
@@ -2872,3 +2848,45 @@ export const containerListAccessibleServices = {
2872
2848
  method: "GET",
2873
2849
  operationId: "container-list-accessible-services",
2874
2850
  };
2851
+ /** Get ai hosting plan and usages of a customer by planId. */
2852
+ export const aiHostingCustomerGetPlan = {
2853
+ path: "/v3-next/customers/{customerId}/ai-hostings/{planId}",
2854
+ method: "GET",
2855
+ operationId: "ai-hosting-customer-get-plan",
2856
+ };
2857
+ /** Renames an AI hosting plan. */
2858
+ export const aiHostingCustomerUpdatePlan = {
2859
+ path: "/v3-next/customers/{customerId}/ai-hostings/{planId}",
2860
+ method: "PUT",
2861
+ operationId: "ai-hosting-customer-update-plan",
2862
+ };
2863
+ /** Get all ai hosting plans of a customer. */
2864
+ export const aiHostingCustomerGetPlans = {
2865
+ path: "/v3-next/customers/{customerId}/ai-hostings",
2866
+ method: "GET",
2867
+ operationId: "ai-hosting-customer-get-plans",
2868
+ };
2869
+ /** Creates an AI hosting profile and accepts the current model terms. */
2870
+ export const aiHostingCustomerDeclareProfile = {
2871
+ path: "/v3-next/customers/{customerId}/ai-hostings/profile",
2872
+ method: "POST",
2873
+ operationId: "ai-hosting-customer-declare-profile",
2874
+ };
2875
+ /** Get the status of a DNS zone-file import job. */
2876
+ export const dnsGetDnsZoneFileImport = {
2877
+ path: "/v3-next/dns-zone-imports/{zoneFileImportId}",
2878
+ method: "GET",
2879
+ operationId: "dns-get-dns-zone-file-import",
2880
+ };
2881
+ /** Start a server-side DNS zone-file import for a Project. */
2882
+ export const dnsCreateDnsZoneFileImport = {
2883
+ path: "/v3-next/projects/{projectId}/dns-zone-imports",
2884
+ method: "POST",
2885
+ operationId: "dns-create-dns-zone-file-import",
2886
+ };
2887
+ /** Preview a DNS zone-file import for a Project. */
2888
+ export const dnsPreviewProjectDnsZoneFileImport = {
2889
+ path: "/v3-next/projects/{projectId}/dns-zones/import-preview",
2890
+ method: "POST",
2891
+ operationId: "dns-preview-project-dns-zone-file-import",
2892
+ };
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '4.441.0';
1
+ export const MittwaldAPIClientVersion = '4.442.0';
@@ -39,48 +39,6 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV2Client) => {
39
39
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
40
40
  } | undefined;
41
41
  }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingCustomerDetailedModel[]>;
42
- /** Get ai hosting plan and usages of a customer by planId. */
43
- customerGetPlan: (conf: {
44
- customerId: string;
45
- planId: string;
46
- headers?: {
47
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
48
- } | undefined;
49
- queryParameters?: {
50
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
51
- topUsageCount?: number | undefined;
52
- } | undefined;
53
- }) => import("@mittwald/react-use-promise").AsyncResource<{
54
- customerId: string;
55
- deletedAt?: string | undefined;
56
- description: string;
57
- keys: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsage;
58
- modelTermsApprovalRequired: boolean;
59
- nextTokenReset: string;
60
- planId?: string | undefined;
61
- rateLimit: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingRateLimit;
62
- tokens: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsageBig;
63
- topUsages?: {
64
- keyId?: string;
65
- name: string;
66
- projectId?: string;
67
- tokenUsed: number;
68
- }[] | undefined;
69
- }>;
70
- /** Get all ai hosting plans of a customer. */
71
- customerGetPlans: (conf: {
72
- customerId: string;
73
- headers?: {
74
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
75
- } | undefined;
76
- queryParameters?: {
77
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
78
- topUsageCount?: number | undefined;
79
- } | undefined;
80
- }) => import("@mittwald/react-use-promise").AsyncResource<{
81
- modelTermsApprovalRequired: boolean;
82
- plans: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanOptions[];
83
- }>;
84
42
  /** Get ai hosting plan and usages of a customer. Deprecated: use /ai-hostings/{planId} instead. */
85
43
  customerGetUsage: (conf: {
86
44
  customerId: string;
@@ -169,6 +127,48 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV2Client) => {
169
127
  nextTokenReset?: string | undefined;
170
128
  projectId: string;
171
129
  }>;
130
+ /** Get ai hosting plan and usages of a customer by planId. */
131
+ customerGetPlan: (conf: {
132
+ customerId: string;
133
+ planId: string;
134
+ headers?: {
135
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
136
+ } | undefined;
137
+ queryParameters?: {
138
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
139
+ topUsageCount?: number | undefined;
140
+ } | undefined;
141
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
142
+ customerId: string;
143
+ deletedAt?: string | undefined;
144
+ description: string;
145
+ keys: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsage;
146
+ modelTermsApprovalRequired: boolean;
147
+ nextTokenReset: string;
148
+ planId?: string | undefined;
149
+ rateLimit: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingRateLimit;
150
+ tokens: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsageBig;
151
+ topUsages?: {
152
+ keyId?: string;
153
+ name: string;
154
+ projectId?: string;
155
+ tokenUsed: number;
156
+ }[] | undefined;
157
+ }>;
158
+ /** Get all ai hosting plans of a customer. */
159
+ customerGetPlans: (conf: {
160
+ customerId: string;
161
+ headers?: {
162
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
163
+ } | undefined;
164
+ queryParameters?: {
165
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
166
+ topUsageCount?: number | undefined;
167
+ } | undefined;
168
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
169
+ modelTermsApprovalRequired: boolean;
170
+ plans: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanOptions[];
171
+ }>;
172
172
  };
173
173
  declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
174
174
  /** Get an App. */
@@ -1414,6 +1414,7 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
1414
1414
  extensionId?: string | undefined;
1415
1415
  searchTerm?: string | undefined;
1416
1416
  anchor?: string | undefined;
1417
+ hasAcceptedAllScopes?: boolean | undefined;
1417
1418
  limit?: number | undefined;
1418
1419
  skip?: number | undefined;
1419
1420
  page?: number | undefined;
@@ -1451,6 +1452,7 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
1451
1452
  nextScheduledWebhookExecution?: string | undefined;
1452
1453
  pendingInstallation: boolean;
1453
1454
  pendingRemoval: boolean;
1455
+ scopeChangeAcceptanceDeadline?: string | undefined;
1454
1456
  variantKey?: string | undefined;
1455
1457
  webhookExecutionHalted: boolean;
1456
1458
  }>;
@@ -1571,6 +1573,7 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
1571
1573
  nextScheduledWebhookExecution?: string | undefined;
1572
1574
  pendingInstallation: boolean;
1573
1575
  pendingRemoval: boolean;
1576
+ scopeChangeAcceptanceDeadline?: string | undefined;
1574
1577
  variantKey?: string | undefined;
1575
1578
  webhookExecutionHalted: boolean;
1576
1579
  }>;
@@ -1605,6 +1608,7 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
1605
1608
  nextScheduledWebhookExecution?: string | undefined;
1606
1609
  pendingInstallation: boolean;
1607
1610
  pendingRemoval: boolean;
1611
+ scopeChangeAcceptanceDeadline?: string | undefined;
1608
1612
  variantKey?: string | undefined;
1609
1613
  webhookExecutionHalted: boolean;
1610
1614
  }>;
@@ -1691,7 +1695,7 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
1691
1695
  limit?: number | undefined;
1692
1696
  skip?: number | undefined;
1693
1697
  page?: number | undefined;
1694
- sort?: "name" | "pricing.priceInCents" | "relevance" | undefined;
1698
+ sort?: "name" | "pricing.priceInCents" | undefined;
1695
1699
  order?: "asc" | "desc" | undefined;
1696
1700
  } | undefined;
1697
1701
  } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtension[]>;
@@ -2543,6 +2547,27 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
2543
2547
  ingressId?: string | undefined;
2544
2548
  } | undefined;
2545
2549
  } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.SslCertificate[]>;
2550
+ /** Get the status of a DNS zone-file import job. */
2551
+ dnsGetDnsZoneFileImport: (conf: {
2552
+ zoneFileImportId: string;
2553
+ headers?: {
2554
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2555
+ "x-access-token"?: string | undefined;
2556
+ } | undefined;
2557
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
2558
+ failedZones?: {
2559
+ error?: string;
2560
+ name?: string;
2561
+ }[] | undefined;
2562
+ id?: string | undefined;
2563
+ importedZones?: string[] | undefined;
2564
+ projectId?: string | undefined;
2565
+ skippedZones?: {
2566
+ name?: string;
2567
+ reason?: string;
2568
+ }[] | undefined;
2569
+ status?: string | undefined;
2570
+ }>;
2546
2571
  };
2547
2572
  declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
2548
2573
  /** Get a File's meta. */