@mittwald/api-client 0.0.0-development-6372ff8-20260818 → 0.0.0-development-852f7c4-20260820

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,6 +8,10 @@ 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,
11
15
  /** Get ai hosting plan and usages of a customer. Deprecated: use /ai-hostings/{planId} instead. */
12
16
  customerGetUsage: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetUsage, baseClient.aiHosting.customerGetUsage).getApiResource,
13
17
  /** Get a list of currently active models. */
@@ -18,12 +22,10 @@ const buildAiHostingApi = (baseClient) => ({
18
22
  projectGetKey: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetKey, baseClient.aiHosting.projectGetKey).getApiResource,
19
23
  /** Get a list of currently active models. */
20
24
  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,
21
27
  /** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
22
28
  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
29
  });
28
30
  const buildAppApi = (baseClient) => ({
29
31
  /** Get an App. */
@@ -100,6 +102,8 @@ const buildContainerApi = (baseClient) => ({
100
102
  getTemplateAsset: new ApiCallAsyncResourceFactory(descriptors.containerGetTemplateAsset, baseClient.container.getTemplateAsset).getApiResource,
101
103
  /** Get a Container Template by ID. */
102
104
  getTemplate: new ApiCallAsyncResourceFactory(descriptors.containerGetTemplate, baseClient.container.getTemplate).getApiResource,
105
+ /** List Services the executing user has access to. */
106
+ listAccessibleServices: new ApiCallAsyncResourceFactory(descriptors.containerListAccessibleServices, baseClient.container.listAccessibleServices).getApiResource,
103
107
  /** List Stacks belonging to the executing user. */
104
108
  listSelfStacks: new ApiCallAsyncResourceFactory(descriptors.containerListSelfStacks, baseClient.container.listSelfStacks).getApiResource,
105
109
  /** List Services belonging to a Project. */
@@ -110,8 +114,6 @@ const buildContainerApi = (baseClient) => ({
110
114
  listTemplates: new ApiCallAsyncResourceFactory(descriptors.containerListTemplates, baseClient.container.listTemplates).getApiResource,
111
115
  /** List Volumes belonging to a Project. */
112
116
  listVolumes: new ApiCallAsyncResourceFactory(descriptors.containerListVolumes, baseClient.container.listVolumes).getApiResource,
113
- /** List Services the executing user has access to. */
114
- listAccessibleServices: new ApiCallAsyncResourceFactory(descriptors.containerListAccessibleServices, baseClient.container.listAccessibleServices).getApiResource,
115
117
  });
116
118
  const buildContractApi = (baseClient) => ({
117
119
  /** Return the BaseItem of the Contract with the given ID. */
@@ -286,12 +288,14 @@ const buildDatabaseApi = (baseClient) => ({
286
288
  const buildDomainApi = (baseClient) => ({
287
289
  /** List Domains */
288
290
  listDomains: new ApiCallAsyncResourceFactory(descriptors.domainListDomains, baseClient.domain.listDomains).getApiResource,
291
+ /** List DNSZones belonging to a Project. */
292
+ dnsListDnsZones: new ApiCallAsyncResourceFactory(descriptors.dnsListDnsZones, baseClient.domain.dnsListDnsZones).getApiResource,
289
293
  /** Get a DNSZone. */
290
294
  dnsGetDnsZone: new ApiCallAsyncResourceFactory(descriptors.dnsGetDnsZone, baseClient.domain.dnsGetDnsZone).getApiResource,
295
+ /** Get the status of a DNS zone-file import job. */
296
+ dnsGetDnsZoneFileImport: new ApiCallAsyncResourceFactory(descriptors.dnsGetDnsZoneFileImport, baseClient.domain.dnsGetDnsZoneFileImport).getApiResource,
291
297
  /** Get a zone file for a DNSZone. */
292
298
  dnsGetZoneFile: new ApiCallAsyncResourceFactory(descriptors.dnsGetZoneFile, baseClient.domain.dnsGetZoneFile).getApiResource,
293
- /** List DNSZones belonging to a Project. */
294
- dnsListDnsZones: new ApiCallAsyncResourceFactory(descriptors.dnsListDnsZones, baseClient.domain.dnsListDnsZones).getApiResource,
295
299
  /** Get a Domain. */
296
300
  getDomain: new ApiCallAsyncResourceFactory(descriptors.domainGetDomain, baseClient.domain.getDomain).getApiResource,
297
301
  /** Get a Contact-Verification. */
@@ -322,8 +326,6 @@ const buildDomainApi = (baseClient) => ({
322
326
  sslGetCertificate: new ApiCallAsyncResourceFactory(descriptors.sslGetCertificate, baseClient.domain.sslGetCertificate).getApiResource,
323
327
  /** List Certificates belonging to a Project or an Ingress. */
324
328
  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,
327
329
  });
328
330
  const buildFileApi = (baseClient) => ({
329
331
  /** Get a File's meta. */
@@ -12,6 +12,8 @@ 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),
15
17
  /** Get a key of a customer. */
16
18
  customerGetKey: this.requestFunctionFactory(descriptors.aiHostingCustomerGetKey),
17
19
  /** Update a key for a customer. */
@@ -20,6 +22,12 @@ export class MittwaldAPIV2Client extends ApiClientBase {
20
22
  customerDeleteKey: this.requestFunctionFactory(descriptors.aiHostingCustomerDeleteKey),
21
23
  /** Get a list of currently active models. */
22
24
  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),
23
31
  /** Get ai hosting plan and usages of a customer. Deprecated: use /ai-hostings/{planId} instead. */
24
32
  customerGetUsage: this.requestFunctionFactory(descriptors.aiHostingCustomerGetUsage),
25
33
  /** Get a list of currently active models. */
@@ -36,18 +44,12 @@ export class MittwaldAPIV2Client extends ApiClientBase {
36
44
  projectDeleteKey: this.requestFunctionFactory(descriptors.aiHostingProjectDeleteKey),
37
45
  /** Get a list of currently active models. */
38
46
  projectGetDetailedModels: this.requestFunctionFactory(descriptors.aiHostingProjectGetDetailedModels),
47
+ /** Get all ai hosting plans and usages of a project. */
48
+ projectGetPlans: this.requestFunctionFactory(descriptors.aiHostingProjectGetPlans),
39
49
  /** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
40
50
  projectGetUsage: this.requestFunctionFactory(descriptors.aiHostingProjectGetUsage),
41
51
  /** Links a container with a project licence. */
42
52
  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
53
  };
52
54
  /** The App API allows you to manage your apps within a project, and all the system softwares that are installed as dependencies. */
53
55
  app = {
@@ -174,6 +176,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
174
176
  getTemplateAsset: this.requestFunctionFactory(descriptors.containerGetTemplateAsset),
175
177
  /** Get a Container Template by ID. */
176
178
  getTemplate: this.requestFunctionFactory(descriptors.containerGetTemplate),
179
+ /** List Services the executing user has access to. */
180
+ listAccessibleServices: this.requestFunctionFactory(descriptors.containerListAccessibleServices),
177
181
  /** List Stacks belonging to the executing user. */
178
182
  listSelfStacks: this.requestFunctionFactory(descriptors.containerListSelfStacks),
179
183
  /** List Services belonging to a Project. */
@@ -196,8 +200,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
196
200
  startService: this.requestFunctionFactory(descriptors.containerStartService),
197
201
  /** Stop a started Service. */
198
202
  stopService: this.requestFunctionFactory(descriptors.containerStopService),
199
- /** List Services the executing user has access to. */
200
- listAccessibleServices: this.requestFunctionFactory(descriptors.containerListAccessibleServices),
201
203
  };
202
204
  /** The contract API allows you to manage your contracts and orders */
203
205
  contract = {
@@ -557,16 +559,22 @@ export class MittwaldAPIV2Client extends ApiClientBase {
557
559
  ingressUpdateIngressPaths: this.requestFunctionFactory(descriptors.ingressUpdateIngressPaths),
558
560
  /** Update the tls settings of an Ingress. */
559
561
  ingressUpdateIngressTls: this.requestFunctionFactory(descriptors.ingressUpdateIngressTls),
562
+ /** Start a server-side DNS zone-file import for a Project. */
563
+ dnsCreateDnsZoneFileImport: this.requestFunctionFactory(descriptors.dnsCreateDnsZoneFileImport),
564
+ /** List DNSZones belonging to a Project. */
565
+ dnsListDnsZones: this.requestFunctionFactory(descriptors.dnsListDnsZones),
566
+ /** Create a DNSZone for a domain in a Project. */
567
+ dnsCreateProjectDnsZone: this.requestFunctionFactory(descriptors.dnsCreateProjectDnsZone),
560
568
  /** Get a DNSZone. */
561
569
  dnsGetDnsZone: this.requestFunctionFactory(descriptors.dnsGetDnsZone),
562
570
  /** Delete a DNSZone. */
563
571
  dnsDeleteDnsZone: this.requestFunctionFactory(descriptors.dnsDeleteDnsZone),
572
+ /** Get the status of a DNS zone-file import job. */
573
+ dnsGetDnsZoneFileImport: this.requestFunctionFactory(descriptors.dnsGetDnsZoneFileImport),
564
574
  /** Get a zone file for a DNSZone. */
565
575
  dnsGetZoneFile: this.requestFunctionFactory(descriptors.dnsGetZoneFile),
566
- /** List DNSZones belonging to a Project. */
567
- dnsListDnsZones: this.requestFunctionFactory(descriptors.dnsListDnsZones),
568
- /** Create a DNSZone for a domain in a Project. */
569
- dnsCreateProjectDnsZone: this.requestFunctionFactory(descriptors.dnsCreateProjectDnsZone),
576
+ /** Preview a DNS zone-file import for a Project. */
577
+ dnsPreviewProjectDnsZoneFileImport: this.requestFunctionFactory(descriptors.dnsPreviewProjectDnsZoneFileImport),
570
578
  /** Set a record set on a DNSZone to managed. */
571
579
  dnsSetRecordSetManaged: this.requestFunctionFactory(descriptors.dnsSetRecordSetManaged),
572
580
  /** Update a record set on a DNSZone. */
@@ -651,12 +659,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
651
659
  sslListCertificates: this.requestFunctionFactory(descriptors.sslListCertificates),
652
660
  /** Update the certificate of a CertificateRequest. */
653
661
  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),
660
662
  };
661
663
  /** The mail API allows you to manage your mail accounts. */
662
664
  mail = {
@@ -16,6 +16,12 @@ 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
+ };
19
25
  /** Get a key of a customer. */
20
26
  export const aiHostingCustomerGetKey = {
21
27
  path: "/v2/customers/{customerId}/ai-hosting-keys/{keyId}",
@@ -40,6 +46,24 @@ export const aiHostingCustomerGetDetailedModels = {
40
46
  method: "GET",
41
47
  operationId: "ai-hosting-customer-get-detailed-models",
42
48
  };
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
+ };
43
67
  /** Get ai hosting plan and usages of a customer. Deprecated: use /ai-hostings/{planId} instead. */
44
68
  export const aiHostingCustomerGetUsage = {
45
69
  path: "/v2/customers/{customerId}/ai-hosting",
@@ -88,6 +112,12 @@ export const aiHostingProjectGetDetailedModels = {
88
112
  method: "GET",
89
113
  operationId: "ai-hosting-project-get-detailed-models",
90
114
  };
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
+ };
91
121
  /** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
92
122
  export const aiHostingProjectGetUsage = {
93
123
  path: "/v2/projects/{projectId}/ai-hosting",
@@ -442,6 +472,12 @@ export const containerGetTemplate = {
442
472
  method: "GET",
443
473
  operationId: "container-get-template",
444
474
  };
475
+ /** List Services the executing user has access to. */
476
+ export const containerListAccessibleServices = {
477
+ path: "/v2/services",
478
+ method: "GET",
479
+ operationId: "container-list-accessible-services",
480
+ };
445
481
  /** List Stacks belonging to the executing user. */
446
482
  export const containerListSelfStacks = {
447
483
  path: "/v2/stacks",
@@ -1204,6 +1240,24 @@ export const userUpdateAccount = {
1204
1240
  method: "PUT",
1205
1241
  operationId: "user-update-account",
1206
1242
  };
1243
+ /** Start a server-side DNS zone-file import for a Project. */
1244
+ export const dnsCreateDnsZoneFileImport = {
1245
+ path: "/v2/projects/{projectId}/dns-zone-imports",
1246
+ method: "POST",
1247
+ operationId: "dns-create-dns-zone-file-import",
1248
+ };
1249
+ /** List DNSZones belonging to a Project. */
1250
+ export const dnsListDnsZones = {
1251
+ path: "/v2/projects/{projectId}/dns-zones",
1252
+ method: "GET",
1253
+ operationId: "dns-list-dns-zones",
1254
+ };
1255
+ /** Create a DNSZone for a domain in a Project. */
1256
+ export const dnsCreateProjectDnsZone = {
1257
+ path: "/v2/projects/{projectId}/dns-zones",
1258
+ method: "POST",
1259
+ operationId: "dns-create-project-dns-zone",
1260
+ };
1207
1261
  /** Get a DNSZone. */
1208
1262
  export const dnsGetDnsZone = {
1209
1263
  path: "/v2/dns-zones/{dnsZoneId}",
@@ -1216,23 +1270,23 @@ export const dnsDeleteDnsZone = {
1216
1270
  method: "DELETE",
1217
1271
  operationId: "dns-delete-dns-zone",
1218
1272
  };
1273
+ /** Get the status of a DNS zone-file import job. */
1274
+ export const dnsGetDnsZoneFileImport = {
1275
+ path: "/v2/dns-zone-imports/{zoneFileImportId}",
1276
+ method: "GET",
1277
+ operationId: "dns-get-dns-zone-file-import",
1278
+ };
1219
1279
  /** Get a zone file for a DNSZone. */
1220
1280
  export const dnsGetZoneFile = {
1221
1281
  path: "/v2/dns-zones/{dnsZoneId}/zone-file",
1222
1282
  method: "GET",
1223
1283
  operationId: "dns-get-zone-file",
1224
1284
  };
1225
- /** List DNSZones belonging to a Project. */
1226
- export const dnsListDnsZones = {
1227
- path: "/v2/projects/{projectId}/dns-zones",
1228
- method: "GET",
1229
- operationId: "dns-list-dns-zones",
1230
- };
1231
- /** Create a DNSZone for a domain in a Project. */
1232
- export const dnsCreateProjectDnsZone = {
1233
- path: "/v2/projects/{projectId}/dns-zones",
1285
+ /** Preview a DNS zone-file import for a Project. */
1286
+ export const dnsPreviewProjectDnsZoneFileImport = {
1287
+ path: "/v2/projects/{projectId}/dns-zones/import-preview",
1234
1288
  method: "POST",
1235
- operationId: "dns-create-project-dns-zone",
1289
+ operationId: "dns-preview-project-dns-zone-file-import",
1236
1290
  };
1237
1291
  /** Set a record set on a DNSZone to managed. */
1238
1292
  export const dnsSetRecordSetManaged = {
@@ -2842,51 +2896,3 @@ export const verificationVerifyCompany = {
2842
2896
  method: "POST",
2843
2897
  operationId: "verification-verify-company",
2844
2898
  };
2845
- /** List Services the executing user has access to. */
2846
- export const containerListAccessibleServices = {
2847
- path: "/v2/services",
2848
- method: "GET",
2849
- operationId: "container-list-accessible-services",
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,6 +8,10 @@ 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,
11
15
  /** Get ai hosting plan and usages of a customer. Deprecated: use /ai-hostings/{planId} instead. */
12
16
  customerGetUsage: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetUsage, baseClient.aiHosting.customerGetUsage).getApiResource,
13
17
  /** Get a list of currently active models. */
@@ -18,12 +22,10 @@ const buildAiHostingApi = (baseClient) => ({
18
22
  projectGetKey: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetKey, baseClient.aiHosting.projectGetKey).getApiResource,
19
23
  /** Get a list of currently active models. */
20
24
  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,
21
27
  /** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
22
28
  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
29
  });
28
30
  const buildAppApi = (baseClient) => ({
29
31
  /** Get an App. */
@@ -100,6 +102,8 @@ const buildContainerApi = (baseClient) => ({
100
102
  getTemplateAsset: new ApiCallAsyncResourceFactory(descriptors.containerGetTemplateAsset, baseClient.container.getTemplateAsset).getApiResource,
101
103
  /** Get a Container Template by ID. */
102
104
  getTemplate: new ApiCallAsyncResourceFactory(descriptors.containerGetTemplate, baseClient.container.getTemplate).getApiResource,
105
+ /** List Services the executing user has access to. */
106
+ listAccessibleServices: new ApiCallAsyncResourceFactory(descriptors.containerListAccessibleServices, baseClient.container.listAccessibleServices).getApiResource,
103
107
  /** List Stacks belonging to the executing user. */
104
108
  listSelfStacks: new ApiCallAsyncResourceFactory(descriptors.containerListSelfStacks, baseClient.container.listSelfStacks).getApiResource,
105
109
  /** List Services belonging to a Project. */
@@ -110,8 +114,6 @@ const buildContainerApi = (baseClient) => ({
110
114
  listTemplates: new ApiCallAsyncResourceFactory(descriptors.containerListTemplates, baseClient.container.listTemplates).getApiResource,
111
115
  /** List Volumes belonging to a Project. */
112
116
  listVolumes: new ApiCallAsyncResourceFactory(descriptors.containerListVolumes, baseClient.container.listVolumes).getApiResource,
113
- /** List Services the executing user has access to. */
114
- listAccessibleServices: new ApiCallAsyncResourceFactory(descriptors.containerListAccessibleServices, baseClient.container.listAccessibleServices).getApiResource,
115
117
  });
116
118
  const buildContractApi = (baseClient) => ({
117
119
  /** Return the BaseItem of the Contract with the given ID. */
@@ -286,12 +288,14 @@ const buildDatabaseApi = (baseClient) => ({
286
288
  const buildDomainApi = (baseClient) => ({
287
289
  /** List domains. */
288
290
  serviceNextListDomains: new ApiCallAsyncResourceFactory(descriptors.domainServiceNextListDomains, baseClient.domain.serviceNextListDomains).getApiResource,
291
+ /** List DNSZones belonging to a Project. */
292
+ dnsListDnsZones: new ApiCallAsyncResourceFactory(descriptors.dnsListDnsZones, baseClient.domain.dnsListDnsZones).getApiResource,
289
293
  /** Get a DNSZone. */
290
294
  dnsGetDnsZone: new ApiCallAsyncResourceFactory(descriptors.dnsGetDnsZone, baseClient.domain.dnsGetDnsZone).getApiResource,
295
+ /** Get the status of a DNS zone-file import job. */
296
+ dnsGetDnsZoneFileImport: new ApiCallAsyncResourceFactory(descriptors.dnsGetDnsZoneFileImport, baseClient.domain.dnsGetDnsZoneFileImport).getApiResource,
291
297
  /** Get a zone file for a DNSZone. */
292
298
  dnsGetZoneFile: new ApiCallAsyncResourceFactory(descriptors.dnsGetZoneFile, baseClient.domain.dnsGetZoneFile).getApiResource,
293
- /** List DNSZones belonging to a Project. */
294
- dnsListDnsZones: new ApiCallAsyncResourceFactory(descriptors.dnsListDnsZones, baseClient.domain.dnsListDnsZones).getApiResource,
295
299
  /** Get a domain. */
296
300
  serviceNextGetDomain: new ApiCallAsyncResourceFactory(descriptors.domainServiceNextGetDomain, baseClient.domain.serviceNextGetDomain).getApiResource,
297
301
  /** Get a Contact-Verification. */
@@ -322,8 +326,6 @@ const buildDomainApi = (baseClient) => ({
322
326
  sslGetCertificate: new ApiCallAsyncResourceFactory(descriptors.sslGetCertificate, baseClient.domain.sslGetCertificate).getApiResource,
323
327
  /** List Certificates belonging to a Project or an Ingress. */
324
328
  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,
327
329
  });
328
330
  const buildFileApi = (baseClient) => ({
329
331
  /** Get a File's meta. */
@@ -12,6 +12,8 @@ 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),
15
17
  /** Get a key of a customer. */
16
18
  customerGetKey: this.requestFunctionFactory(descriptors.aiHostingCustomerGetKey),
17
19
  /** Update a key for a customer. */
@@ -20,6 +22,12 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
20
22
  customerDeleteKey: this.requestFunctionFactory(descriptors.aiHostingCustomerDeleteKey),
21
23
  /** Get a list of currently active models. */
22
24
  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),
23
31
  /** Get ai hosting plan and usages of a customer. Deprecated: use /ai-hostings/{planId} instead. */
24
32
  customerGetUsage: this.requestFunctionFactory(descriptors.aiHostingCustomerGetUsage),
25
33
  /** Get a list of currently active models. */
@@ -36,18 +44,12 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
36
44
  projectDeleteKey: this.requestFunctionFactory(descriptors.aiHostingProjectDeleteKey),
37
45
  /** Get a list of currently active models. */
38
46
  projectGetDetailedModels: this.requestFunctionFactory(descriptors.aiHostingProjectGetDetailedModels),
47
+ /** Get all ai hosting plans and usages of a project. */
48
+ projectGetPlans: this.requestFunctionFactory(descriptors.aiHostingProjectGetPlans),
39
49
  /** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
40
50
  projectGetUsage: this.requestFunctionFactory(descriptors.aiHostingProjectGetUsage),
41
51
  /** Links a container with a project licence. */
42
52
  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
53
  };
52
54
  /** The App API allows you to manage your apps within a project, and all the system softwares that are installed as dependencies. */
53
55
  app = {
@@ -174,6 +176,8 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
174
176
  getTemplateAsset: this.requestFunctionFactory(descriptors.containerGetTemplateAsset),
175
177
  /** Get a Container Template by ID. */
176
178
  getTemplate: this.requestFunctionFactory(descriptors.containerGetTemplate),
179
+ /** List Services the executing user has access to. */
180
+ listAccessibleServices: this.requestFunctionFactory(descriptors.containerListAccessibleServices),
177
181
  /** List Stacks belonging to the executing user. */
178
182
  listSelfStacks: this.requestFunctionFactory(descriptors.containerListSelfStacks),
179
183
  /** List Services belonging to a Project. */
@@ -196,8 +200,6 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
196
200
  startService: this.requestFunctionFactory(descriptors.containerStartService),
197
201
  /** Stop a started Service. */
198
202
  stopService: this.requestFunctionFactory(descriptors.containerStopService),
199
- /** List Services the executing user has access to. */
200
- listAccessibleServices: this.requestFunctionFactory(descriptors.containerListAccessibleServices),
201
203
  };
202
204
  /** The contract API allows you to manage your contracts and orders */
203
205
  contract = {
@@ -557,16 +559,22 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
557
559
  ingressUpdateIngressPaths: this.requestFunctionFactory(descriptors.ingressUpdateIngressPaths),
558
560
  /** Update the tls settings of an Ingress. */
559
561
  ingressUpdateIngressTls: this.requestFunctionFactory(descriptors.ingressUpdateIngressTls),
562
+ /** Start a server-side DNS zone-file import for a Project. */
563
+ dnsCreateDnsZoneFileImport: this.requestFunctionFactory(descriptors.dnsCreateDnsZoneFileImport),
564
+ /** List DNSZones belonging to a Project. */
565
+ dnsListDnsZones: this.requestFunctionFactory(descriptors.dnsListDnsZones),
566
+ /** Create a DNSZone for a domain in a Project. */
567
+ dnsCreateProjectDnsZone: this.requestFunctionFactory(descriptors.dnsCreateProjectDnsZone),
560
568
  /** Get a DNSZone. */
561
569
  dnsGetDnsZone: this.requestFunctionFactory(descriptors.dnsGetDnsZone),
562
570
  /** Delete a DNSZone. */
563
571
  dnsDeleteDnsZone: this.requestFunctionFactory(descriptors.dnsDeleteDnsZone),
572
+ /** Get the status of a DNS zone-file import job. */
573
+ dnsGetDnsZoneFileImport: this.requestFunctionFactory(descriptors.dnsGetDnsZoneFileImport),
564
574
  /** Get a zone file for a DNSZone. */
565
575
  dnsGetZoneFile: this.requestFunctionFactory(descriptors.dnsGetZoneFile),
566
- /** List DNSZones belonging to a Project. */
567
- dnsListDnsZones: this.requestFunctionFactory(descriptors.dnsListDnsZones),
568
- /** Create a DNSZone for a domain in a Project. */
569
- dnsCreateProjectDnsZone: this.requestFunctionFactory(descriptors.dnsCreateProjectDnsZone),
576
+ /** Preview a DNS zone-file import for a Project. */
577
+ dnsPreviewProjectDnsZoneFileImport: this.requestFunctionFactory(descriptors.dnsPreviewProjectDnsZoneFileImport),
570
578
  /** Set a record set on a DNSZone to managed. */
571
579
  dnsSetRecordSetManaged: this.requestFunctionFactory(descriptors.dnsSetRecordSetManaged),
572
580
  /** Update a record set on a DNSZone. */
@@ -651,12 +659,6 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
651
659
  sslListCertificates: this.requestFunctionFactory(descriptors.sslListCertificates),
652
660
  /** Update the certificate of a CertificateRequest. */
653
661
  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),
660
662
  };
661
663
  /** The mail API allows you to manage your mail accounts. */
662
664
  mail = {