@mittwald/api-client 0.0.0-development-18fc15b-20260819 → 0.0.0-development-38f3a39-20260824

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,14 +4,14 @@ export * from "@mittwald/react-use-promise";
4
4
  const buildAiHostingApi = (baseClient) => ({
5
5
  /** Get a list of already created keys. */
6
6
  customerGetKeys: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetKeys, baseClient.aiHosting.customerGetKeys).getApiResource,
7
+ /** Get all ai hosting plans of a customer. */
8
+ customerGetPlans: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetPlans, baseClient.aiHosting.customerGetPlans).getApiResource,
7
9
  /** Get a key of a customer. */
8
10
  customerGetKey: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetKey, baseClient.aiHosting.customerGetKey).getApiResource,
9
11
  /** Get a list of currently active models. */
10
12
  customerGetDetailedModels: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetDetailedModels, baseClient.aiHosting.customerGetDetailedModels).getApiResource,
11
13
  /** Get ai hosting plan and usages of a customer by planId. */
12
14
  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
15
  /** Get ai hosting plan and usages of a customer. Deprecated: use /ai-hostings/{planId} instead. */
16
16
  customerGetUsage: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetUsage, baseClient.aiHosting.customerGetUsage).getApiResource,
17
17
  /** Get a list of currently active models. */
@@ -22,20 +22,20 @@ const buildAiHostingApi = (baseClient) => ({
22
22
  projectGetKey: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetKey, baseClient.aiHosting.projectGetKey).getApiResource,
23
23
  /** Get a list of currently active models. */
24
24
  projectGetDetailedModels: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetDetailedModels, baseClient.aiHosting.projectGetDetailedModels).getApiResource,
25
- /** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
26
- projectGetUsage: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetUsage, baseClient.aiHosting.projectGetUsage).getApiResource,
27
25
  /** Get all ai hosting plans and usages of a project. */
28
26
  projectGetPlans: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetPlans, baseClient.aiHosting.projectGetPlans).getApiResource,
27
+ /** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
28
+ projectGetUsage: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetUsage, baseClient.aiHosting.projectGetUsage).getApiResource,
29
29
  });
30
30
  const buildAppApi = (baseClient) => ({
31
+ /** Get the installed `SystemSoftware' for a specific `AppInstallation`. */
32
+ getAppInstallationSystemSoftware: new ApiCallAsyncResourceFactory(descriptors.appGetAppInstallationSystemSoftware, baseClient.app.getAppInstallationSystemSoftware).getApiResource,
31
33
  /** Get an App. */
32
34
  getApp: new ApiCallAsyncResourceFactory(descriptors.appGetApp, baseClient.app.getApp).getApiResource,
33
35
  /** Get an AppInstallation. */
34
36
  getAppinstallation: new ApiCallAsyncResourceFactory(descriptors.appGetAppinstallation, baseClient.app.getAppinstallation).getApiResource,
35
37
  /** Get an AppVersion. */
36
38
  getAppversion: new ApiCallAsyncResourceFactory(descriptors.appGetAppversion, baseClient.app.getAppversion).getApiResource,
37
- /** Get the installed `SystemSoftware' for a specific `AppInstallation`. */
38
- getInstalledSystemsoftwareForAppinstallation: new ApiCallAsyncResourceFactory(descriptors.appGetInstalledSystemsoftwareForAppinstallation, baseClient.app.getInstalledSystemsoftwareForAppinstallation).getApiResource,
39
39
  /** Get the missing requirements of an appInstallation for a specific target AppVersion. */
40
40
  getMissingDependenciesForAppinstallation: new ApiCallAsyncResourceFactory(descriptors.appGetMissingDependenciesForAppinstallation, baseClient.app.getMissingDependenciesForAppinstallation).getApiResource,
41
41
  /** Get a SystemSoftware. */
@@ -80,7 +80,7 @@ const buildBackupApi = (baseClient) => ({
80
80
  getProjectBackupDirectories: new ApiCallAsyncResourceFactory(descriptors.backupGetProjectBackupDirectories, baseClient.backup.getProjectBackupDirectories).getApiResource,
81
81
  });
82
82
  const buildContainerApi = (baseClient) => ({
83
- /** Call pull-image webhook */
83
+ /** Call a Service pull-image webhook. */
84
84
  callPullImageWebhookForService: new ApiCallAsyncResourceFactory(descriptors.containerCallPullImageWebhookForService, baseClient.container.callPullImageWebhookForService).getApiResource,
85
85
  /** List Registries belonging to a Project. */
86
86
  listRegistries: new ApiCallAsyncResourceFactory(descriptors.containerListRegistries, baseClient.container.listRegistries).getApiResource,
@@ -288,14 +288,12 @@ const buildDatabaseApi = (baseClient) => ({
288
288
  const buildDomainApi = (baseClient) => ({
289
289
  /** List Domains */
290
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,
293
291
  /** Get a DNSZone. */
294
292
  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,
297
293
  /** Get a zone file for a DNSZone. */
298
294
  dnsGetZoneFile: new ApiCallAsyncResourceFactory(descriptors.dnsGetZoneFile, baseClient.domain.dnsGetZoneFile).getApiResource,
295
+ /** List DNSZones belonging to a Project. */
296
+ dnsListDnsZones: new ApiCallAsyncResourceFactory(descriptors.dnsListDnsZones, baseClient.domain.dnsListDnsZones).getApiResource,
299
297
  /** Get a Domain. */
300
298
  getDomain: new ApiCallAsyncResourceFactory(descriptors.domainGetDomain, baseClient.domain.getDomain).getApiResource,
301
299
  /** Get a Contact-Verification. */
@@ -450,7 +448,7 @@ const buildProjectApi = (baseClient) => ({
450
448
  listInvitesForProject: new ApiCallAsyncResourceFactory(descriptors.projectListInvitesForProject, baseClient.project.listInvitesForProject).getApiResource,
451
449
  /** Get a ProjectInvite. */
452
450
  getProjectInvite: new ApiCallAsyncResourceFactory(descriptors.projectGetProjectInvite, baseClient.project.getProjectInvite).getApiResource,
453
- /** Get a ProjectMembership */
451
+ /** Get a ProjectMembership. */
454
452
  getProjectMembership: new ApiCallAsyncResourceFactory(descriptors.projectGetProjectMembership, baseClient.project.getProjectMembership).getApiResource,
455
453
  /** Get a Project. */
456
454
  getProject: new ApiCallAsyncResourceFactory(descriptors.projectGetProject, baseClient.project.getProject).getApiResource,
@@ -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
+ /** Get all ai hosting plans of a customer. */
16
+ customerGetPlans: this.requestFunctionFactory(descriptors.aiHostingCustomerGetPlans),
15
17
  /** Creates an AI hosting profile and accepts the current model terms. */
16
18
  customerDeclareProfile: this.requestFunctionFactory(descriptors.aiHostingCustomerDeclareProfile),
17
19
  /** Get a key of a customer. */
@@ -26,8 +28,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
26
28
  customerGetPlan: this.requestFunctionFactory(descriptors.aiHostingCustomerGetPlan),
27
29
  /** Renames an AI hosting plan. */
28
30
  customerUpdatePlan: this.requestFunctionFactory(descriptors.aiHostingCustomerUpdatePlan),
29
- /** Get all ai hosting plans of a customer. */
30
- customerGetPlans: this.requestFunctionFactory(descriptors.aiHostingCustomerGetPlans),
31
31
  /** Get ai hosting plan and usages of a customer. Deprecated: use /ai-hostings/{planId} instead. */
32
32
  customerGetUsage: this.requestFunctionFactory(descriptors.aiHostingCustomerGetUsage),
33
33
  /** Get a list of currently active models. */
@@ -44,15 +44,17 @@ export class MittwaldAPIV2Client extends ApiClientBase {
44
44
  projectDeleteKey: this.requestFunctionFactory(descriptors.aiHostingProjectDeleteKey),
45
45
  /** Get a list of currently active models. */
46
46
  projectGetDetailedModels: this.requestFunctionFactory(descriptors.aiHostingProjectGetDetailedModels),
47
+ /** Get all ai hosting plans and usages of a project. */
48
+ projectGetPlans: this.requestFunctionFactory(descriptors.aiHostingProjectGetPlans),
47
49
  /** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
48
50
  projectGetUsage: this.requestFunctionFactory(descriptors.aiHostingProjectGetUsage),
49
51
  /** Links a container with a project licence. */
50
52
  projectLinkContainer: this.requestFunctionFactory(descriptors.aiHostingProjectLinkContainer),
51
- /** Get all ai hosting plans and usages of a project. */
52
- projectGetPlans: this.requestFunctionFactory(descriptors.aiHostingProjectGetPlans),
53
53
  };
54
54
  /** The App API allows you to manage your apps within a project, and all the system softwares that are installed as dependencies. */
55
55
  app = {
56
+ /** Get the installed `SystemSoftware' for a specific `AppInstallation`. */
57
+ getAppInstallationSystemSoftware: this.requestFunctionFactory(descriptors.appGetAppInstallationSystemSoftware),
56
58
  /** Get an App. */
57
59
  getApp: this.requestFunctionFactory(descriptors.appGetApp),
58
60
  /** Get an AppInstallation. */
@@ -63,8 +65,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
63
65
  patchAppinstallation: this.requestFunctionFactory(descriptors.appPatchAppinstallation),
64
66
  /** Get an AppVersion. */
65
67
  getAppversion: this.requestFunctionFactory(descriptors.appGetAppversion),
66
- /** Get the installed `SystemSoftware' for a specific `AppInstallation`. */
67
- getInstalledSystemsoftwareForAppinstallation: this.requestFunctionFactory(descriptors.appGetInstalledSystemsoftwareForAppinstallation),
68
68
  /** Get the missing requirements of an appInstallation for a specific target AppVersion. */
69
69
  getMissingDependenciesForAppinstallation: this.requestFunctionFactory(descriptors.appGetMissingDependenciesForAppinstallation),
70
70
  /** Get a SystemSoftware. */
@@ -138,7 +138,7 @@ export class MittwaldAPIV2Client extends ApiClientBase {
138
138
  container = {
139
139
  /** Add a template component to a Stack. */
140
140
  addTemplateComponent: this.requestFunctionFactory(descriptors.containerAddTemplateComponent),
141
- /** Call pull-image webhook */
141
+ /** Call a Service pull-image webhook. */
142
142
  callPullImageWebhookForService: this.requestFunctionFactory(descriptors.containerCallPullImageWebhookForService),
143
143
  /** List Registries belonging to a Project. */
144
144
  listRegistries: this.requestFunctionFactory(descriptors.containerListRegistries),
@@ -188,13 +188,13 @@ export class MittwaldAPIV2Client extends ApiClientBase {
188
188
  listTemplates: this.requestFunctionFactory(descriptors.containerListTemplates),
189
189
  /** List Volumes belonging to a Project. */
190
190
  listVolumes: this.requestFunctionFactory(descriptors.containerListVolumes),
191
- /** Pull image and recreate */
191
+ /** Pull a Service image and recreate. */
192
192
  pullImageForService: this.requestFunctionFactory(descriptors.containerPullImageForService),
193
193
  /** Recreate a Service. */
194
194
  recreateService: this.requestFunctionFactory(descriptors.containerRecreateService),
195
195
  /** Restart a started Service. */
196
196
  restartService: this.requestFunctionFactory(descriptors.containerRestartService),
197
- /** Create or rotate pull-image webhook token */
197
+ /** Create or rotate a Service pull-image webhook token. */
198
198
  rotatePullImageWebhookForService: this.requestFunctionFactory(descriptors.containerRotatePullImageWebhookForService),
199
199
  /** Start a stopped Service. */
200
200
  startService: this.requestFunctionFactory(descriptors.containerStartService),
@@ -559,22 +559,16 @@ export class MittwaldAPIV2Client extends ApiClientBase {
559
559
  ingressUpdateIngressPaths: this.requestFunctionFactory(descriptors.ingressUpdateIngressPaths),
560
560
  /** Update the tls settings of an Ingress. */
561
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),
562
+ /** Create a DNSZone. */
563
+ dnsCreateDnsZone: this.requestFunctionFactory(descriptors.dnsCreateDnsZone),
568
564
  /** Get a DNSZone. */
569
565
  dnsGetDnsZone: this.requestFunctionFactory(descriptors.dnsGetDnsZone),
570
566
  /** Delete a DNSZone. */
571
567
  dnsDeleteDnsZone: this.requestFunctionFactory(descriptors.dnsDeleteDnsZone),
572
- /** Get the status of a DNS zone-file import job. */
573
- dnsGetDnsZoneFileImport: this.requestFunctionFactory(descriptors.dnsGetDnsZoneFileImport),
574
568
  /** Get a zone file for a DNSZone. */
575
569
  dnsGetZoneFile: this.requestFunctionFactory(descriptors.dnsGetZoneFile),
576
- /** Preview a DNS zone-file import for a Project. */
577
- dnsPreviewProjectDnsZoneFileImport: this.requestFunctionFactory(descriptors.dnsPreviewProjectDnsZoneFileImport),
570
+ /** List DNSZones belonging to a Project. */
571
+ dnsListDnsZones: this.requestFunctionFactory(descriptors.dnsListDnsZones),
578
572
  /** Set a record set on a DNSZone to managed. */
579
573
  dnsSetRecordSetManaged: this.requestFunctionFactory(descriptors.dnsSetRecordSetManaged),
580
574
  /** Update a record set on a DNSZone. */
@@ -903,7 +897,7 @@ export class MittwaldAPIV2Client extends ApiClientBase {
903
897
  getLicense: this.requestFunctionFactory(descriptors.licenseGetLicense),
904
898
  /** List Licenses belonging to a Project. */
905
899
  listLicensesForProject: this.requestFunctionFactory(descriptors.licenseListLicensesForProject),
906
- /** rotate a License's key, i.e. revoke the old and generate a new one. */
900
+ /** Rotate a License's key, i.e. revoke the old and generate a new one. */
907
901
  rotateLicenseKey: this.requestFunctionFactory(descriptors.licenseRotateLicenseKey),
908
902
  /** Validate a License's key for a project. */
909
903
  validateLicenseKeyForProject: this.requestFunctionFactory(descriptors.licenseValidateLicenseKeyForProject),
@@ -950,7 +944,7 @@ export class MittwaldAPIV2Client extends ApiClientBase {
950
944
  getProjectInvite: this.requestFunctionFactory(descriptors.projectGetProjectInvite),
951
945
  /** Delete a ProjectInvite. */
952
946
  deleteProjectInvite: this.requestFunctionFactory(descriptors.projectDeleteProjectInvite),
953
- /** Get a ProjectMembership */
947
+ /** Get a ProjectMembership. */
954
948
  getProjectMembership: this.requestFunctionFactory(descriptors.projectGetProjectMembership),
955
949
  /** Delete a ProjectMembership. */
956
950
  deleteProjectMembership: this.requestFunctionFactory(descriptors.projectDeleteProjectMembership),
@@ -16,9 +16,15 @@ export const aiHostingCustomerCreateKey = {
16
16
  method: "POST",
17
17
  operationId: "ai-hosting-customer-create-key",
18
18
  };
19
+ /** Get all ai hosting plans of a customer. */
20
+ export const aiHostingCustomerGetPlans = {
21
+ path: "/v2/customers/{customerId}/ai-hostings",
22
+ method: "GET",
23
+ operationId: "ai-hosting-customer-get-plans",
24
+ };
19
25
  /** Creates an AI hosting profile and accepts the current model terms. */
20
26
  export const aiHostingCustomerDeclareProfile = {
21
- path: "/v2/customers/{customerId}/ai-hostings/profile",
27
+ path: "/v2/customers/{customerId}/ai-hostings",
22
28
  method: "POST",
23
29
  operationId: "ai-hosting-customer-declare-profile",
24
30
  };
@@ -58,12 +64,6 @@ export const aiHostingCustomerUpdatePlan = {
58
64
  method: "PUT",
59
65
  operationId: "ai-hosting-customer-update-plan",
60
66
  };
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
67
  /** Get ai hosting plan and usages of a customer. Deprecated: use /ai-hostings/{planId} instead. */
68
68
  export const aiHostingCustomerGetUsage = {
69
69
  path: "/v2/customers/{customerId}/ai-hosting",
@@ -112,6 +112,12 @@ export const aiHostingProjectGetDetailedModels = {
112
112
  method: "GET",
113
113
  operationId: "ai-hosting-project-get-detailed-models",
114
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
+ };
115
121
  /** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
116
122
  export const aiHostingProjectGetUsage = {
117
123
  path: "/v2/projects/{projectId}/ai-hosting",
@@ -124,6 +130,12 @@ export const aiHostingProjectLinkContainer = {
124
130
  method: "POST",
125
131
  operationId: "ai-hosting-project-link-container",
126
132
  };
133
+ /** Get the installed `SystemSoftware' for a specific `AppInstallation`. */
134
+ export const appGetAppInstallationSystemSoftware = {
135
+ path: "/v2/app-installations/{appInstallationId}/system-software",
136
+ method: "GET",
137
+ operationId: "app-get-app-installation-system-software",
138
+ };
127
139
  /** Get an App. */
128
140
  export const appGetApp = {
129
141
  path: "/v2/apps/{appId}",
@@ -154,12 +166,6 @@ export const appGetAppversion = {
154
166
  method: "GET",
155
167
  operationId: "app-get-appversion",
156
168
  };
157
- /** Get the installed `SystemSoftware' for a specific `AppInstallation`. */
158
- export const appGetInstalledSystemsoftwareForAppinstallation = {
159
- path: "/v2/app-installations/{appInstallationId}/systemSoftware",
160
- method: "GET",
161
- operationId: "app-get-installed-systemsoftware-for-appinstallation",
162
- };
163
169
  /** Get the missing requirements of an appInstallation for a specific target AppVersion. */
164
170
  export const appGetMissingDependenciesForAppinstallation = {
165
171
  path: "/v2/app-installations/{appInstallationId}/missing-dependencies",
@@ -352,7 +358,7 @@ export const containerAddTemplateComponent = {
352
358
  method: "POST",
353
359
  operationId: "container-add-template-component",
354
360
  };
355
- /** Call pull-image webhook */
361
+ /** Call a Service pull-image webhook. */
356
362
  export const containerCallPullImageWebhookForService = {
357
363
  path: "/v2/stacks/{stackId}/webhooks/pull-image",
358
364
  method: "GET",
@@ -502,7 +508,7 @@ export const containerListVolumes = {
502
508
  method: "GET",
503
509
  operationId: "container-list-volumes",
504
510
  };
505
- /** Pull image and recreate */
511
+ /** Pull a Service image and recreate. */
506
512
  export const containerPullImageForService = {
507
513
  path: "/v2/stacks/{stackId}/services/{serviceId}/actions/pull",
508
514
  method: "POST",
@@ -520,7 +526,7 @@ export const containerRestartService = {
520
526
  method: "POST",
521
527
  operationId: "container-restart-service",
522
528
  };
523
- /** Create or rotate pull-image webhook token */
529
+ /** Create or rotate a Service pull-image webhook token. */
524
530
  export const containerRotatePullImageWebhookForService = {
525
531
  path: "/v2/stacks/{stackId}/services/{serviceId}/webhook-token",
526
532
  method: "POST",
@@ -1234,23 +1240,11 @@ export const userUpdateAccount = {
1234
1240
  method: "PUT",
1235
1241
  operationId: "user-update-account",
1236
1242
  };
1237
- /** Start a server-side DNS zone-file import for a Project. */
1238
- export const dnsCreateDnsZoneFileImport = {
1239
- path: "/v2/projects/{projectId}/dns-zone-imports",
1240
- method: "POST",
1241
- operationId: "dns-create-dns-zone-file-import",
1242
- };
1243
- /** List DNSZones belonging to a Project. */
1244
- export const dnsListDnsZones = {
1245
- path: "/v2/projects/{projectId}/dns-zones",
1246
- method: "GET",
1247
- operationId: "dns-list-dns-zones",
1248
- };
1249
- /** Create a DNSZone for a domain in a Project. */
1250
- export const dnsCreateProjectDnsZone = {
1251
- path: "/v2/projects/{projectId}/dns-zones",
1243
+ /** Create a DNSZone. */
1244
+ export const dnsCreateDnsZone = {
1245
+ path: "/v2/dns-zones",
1252
1246
  method: "POST",
1253
- operationId: "dns-create-project-dns-zone",
1247
+ operationId: "dns-create-dns-zone",
1254
1248
  };
1255
1249
  /** Get a DNSZone. */
1256
1250
  export const dnsGetDnsZone = {
@@ -1264,23 +1258,17 @@ export const dnsDeleteDnsZone = {
1264
1258
  method: "DELETE",
1265
1259
  operationId: "dns-delete-dns-zone",
1266
1260
  };
1267
- /** Get the status of a DNS zone-file import job. */
1268
- export const dnsGetDnsZoneFileImport = {
1269
- path: "/v2/dns-zone-imports/{zoneFileImportId}",
1270
- method: "GET",
1271
- operationId: "dns-get-dns-zone-file-import",
1272
- };
1273
1261
  /** Get a zone file for a DNSZone. */
1274
1262
  export const dnsGetZoneFile = {
1275
1263
  path: "/v2/dns-zones/{dnsZoneId}/zone-file",
1276
1264
  method: "GET",
1277
1265
  operationId: "dns-get-zone-file",
1278
1266
  };
1279
- /** Preview a DNS zone-file import for a Project. */
1280
- export const dnsPreviewProjectDnsZoneFileImport = {
1281
- path: "/v2/projects/{projectId}/dns-zones/import-preview",
1282
- method: "POST",
1283
- operationId: "dns-preview-project-dns-zone-file-import",
1267
+ /** List DNSZones belonging to a Project. */
1268
+ export const dnsListDnsZones = {
1269
+ path: "/v2/projects/{projectId}/dns-zones",
1270
+ method: "GET",
1271
+ operationId: "dns-list-dns-zones",
1284
1272
  };
1285
1273
  /** Set a record set on a DNSZone to managed. */
1286
1274
  export const dnsSetRecordSetManaged = {
@@ -1912,7 +1900,7 @@ export const licenseListLicensesForProject = {
1912
1900
  method: "GET",
1913
1901
  operationId: "license-list-licenses-for-project",
1914
1902
  };
1915
- /** rotate a License's key, i.e. revoke the old and generate a new one. */
1903
+ /** Rotate a License's key, i.e. revoke the old and generate a new one. */
1916
1904
  export const licenseRotateLicenseKey = {
1917
1905
  path: "/v2/licenses/{licenseId}/actions/rotate-key",
1918
1906
  method: "POST",
@@ -2254,7 +2242,7 @@ export const projectDeleteProjectInvite = {
2254
2242
  method: "DELETE",
2255
2243
  operationId: "project-delete-project-invite",
2256
2244
  };
2257
- /** Get a ProjectMembership */
2245
+ /** Get a ProjectMembership. */
2258
2246
  export const projectGetProjectMembership = {
2259
2247
  path: "/v2/project-memberships/{projectMembershipId}",
2260
2248
  method: "GET",
@@ -2890,9 +2878,3 @@ export const verificationVerifyCompany = {
2890
2878
  method: "POST",
2891
2879
  operationId: "verification-verify-company",
2892
2880
  };
2893
- /** Get all ai hosting plans and usages of a project. */
2894
- export const aiHostingProjectGetPlans = {
2895
- path: "/v2/projects/{projectId}/ai-hostings",
2896
- method: "GET",
2897
- operationId: "ai-hosting-project-get-plans",
2898
- };
@@ -4,14 +4,14 @@ export * from "@mittwald/react-use-promise";
4
4
  const buildAiHostingApi = (baseClient) => ({
5
5
  /** Get a list of already created keys. */
6
6
  customerGetKeys: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetKeys, baseClient.aiHosting.customerGetKeys).getApiResource,
7
+ /** Get all ai hosting plans of a customer. */
8
+ customerGetPlans: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetPlans, baseClient.aiHosting.customerGetPlans).getApiResource,
7
9
  /** Get a key of a customer. */
8
10
  customerGetKey: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetKey, baseClient.aiHosting.customerGetKey).getApiResource,
9
11
  /** Get a list of currently active models. */
10
12
  customerGetDetailedModels: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetDetailedModels, baseClient.aiHosting.customerGetDetailedModels).getApiResource,
11
13
  /** Get ai hosting plan and usages of a customer by planId. */
12
14
  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
15
  /** Get ai hosting plan and usages of a customer. Deprecated: use /ai-hostings/{planId} instead. */
16
16
  customerGetUsage: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetUsage, baseClient.aiHosting.customerGetUsage).getApiResource,
17
17
  /** Get a list of currently active models. */
@@ -22,20 +22,20 @@ const buildAiHostingApi = (baseClient) => ({
22
22
  projectGetKey: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetKey, baseClient.aiHosting.projectGetKey).getApiResource,
23
23
  /** Get a list of currently active models. */
24
24
  projectGetDetailedModels: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetDetailedModels, baseClient.aiHosting.projectGetDetailedModels).getApiResource,
25
- /** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
26
- projectGetUsage: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetUsage, baseClient.aiHosting.projectGetUsage).getApiResource,
27
25
  /** Get all ai hosting plans and usages of a project. */
28
26
  projectGetPlans: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetPlans, baseClient.aiHosting.projectGetPlans).getApiResource,
27
+ /** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
28
+ projectGetUsage: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetUsage, baseClient.aiHosting.projectGetUsage).getApiResource,
29
29
  });
30
30
  const buildAppApi = (baseClient) => ({
31
+ /** Get the installed `SystemSoftware' for a specific `AppInstallation`. */
32
+ getAppInstallationSystemSoftware: new ApiCallAsyncResourceFactory(descriptors.appGetAppInstallationSystemSoftware, baseClient.app.getAppInstallationSystemSoftware).getApiResource,
31
33
  /** Get an App. */
32
34
  getApp: new ApiCallAsyncResourceFactory(descriptors.appGetApp, baseClient.app.getApp).getApiResource,
33
35
  /** Get an AppInstallation. */
34
36
  getAppinstallation: new ApiCallAsyncResourceFactory(descriptors.appGetAppinstallation, baseClient.app.getAppinstallation).getApiResource,
35
37
  /** Get an AppVersion. */
36
38
  getAppversion: new ApiCallAsyncResourceFactory(descriptors.appGetAppversion, baseClient.app.getAppversion).getApiResource,
37
- /** Get the installed `SystemSoftware' for a specific `AppInstallation`. */
38
- getInstalledSystemsoftwareForAppinstallation: new ApiCallAsyncResourceFactory(descriptors.appGetInstalledSystemsoftwareForAppinstallation, baseClient.app.getInstalledSystemsoftwareForAppinstallation).getApiResource,
39
39
  /** Get the missing requirements of an appInstallation for a specific target AppVersion. */
40
40
  getMissingDependenciesForAppinstallation: new ApiCallAsyncResourceFactory(descriptors.appGetMissingDependenciesForAppinstallation, baseClient.app.getMissingDependenciesForAppinstallation).getApiResource,
41
41
  /** Get a SystemSoftware. */
@@ -80,7 +80,7 @@ const buildBackupApi = (baseClient) => ({
80
80
  getProjectBackupDirectories: new ApiCallAsyncResourceFactory(descriptors.backupGetProjectBackupDirectories, baseClient.backup.getProjectBackupDirectories).getApiResource,
81
81
  });
82
82
  const buildContainerApi = (baseClient) => ({
83
- /** Call pull-image webhook */
83
+ /** Call a Service pull-image webhook. */
84
84
  callPullImageWebhookForService: new ApiCallAsyncResourceFactory(descriptors.containerCallPullImageWebhookForService, baseClient.container.callPullImageWebhookForService).getApiResource,
85
85
  /** List Registries belonging to a Project. */
86
86
  listRegistries: new ApiCallAsyncResourceFactory(descriptors.containerListRegistries, baseClient.container.listRegistries).getApiResource,
@@ -288,14 +288,12 @@ const buildDatabaseApi = (baseClient) => ({
288
288
  const buildDomainApi = (baseClient) => ({
289
289
  /** List domains. */
290
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,
293
291
  /** Get a DNSZone. */
294
292
  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,
297
293
  /** Get a zone file for a DNSZone. */
298
294
  dnsGetZoneFile: new ApiCallAsyncResourceFactory(descriptors.dnsGetZoneFile, baseClient.domain.dnsGetZoneFile).getApiResource,
295
+ /** List DNSZones belonging to a Project. */
296
+ dnsListDnsZones: new ApiCallAsyncResourceFactory(descriptors.dnsListDnsZones, baseClient.domain.dnsListDnsZones).getApiResource,
299
297
  /** Get a domain. */
300
298
  serviceNextGetDomain: new ApiCallAsyncResourceFactory(descriptors.domainServiceNextGetDomain, baseClient.domain.serviceNextGetDomain).getApiResource,
301
299
  /** Get a Contact-Verification. */
@@ -450,7 +448,7 @@ const buildProjectApi = (baseClient) => ({
450
448
  listInvitesForProject: new ApiCallAsyncResourceFactory(descriptors.projectListInvitesForProject, baseClient.project.listInvitesForProject).getApiResource,
451
449
  /** Get a ProjectInvite. */
452
450
  getProjectInvite: new ApiCallAsyncResourceFactory(descriptors.projectGetProjectInvite, baseClient.project.getProjectInvite).getApiResource,
453
- /** Get a ProjectMembership */
451
+ /** Get a ProjectMembership. */
454
452
  getProjectMembership: new ApiCallAsyncResourceFactory(descriptors.projectGetProjectMembership, baseClient.project.getProjectMembership).getApiResource,
455
453
  /** Get a Project. */
456
454
  getProject: new ApiCallAsyncResourceFactory(descriptors.projectGetProject, baseClient.project.getProject).getApiResource,
@@ -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
+ /** Get all ai hosting plans of a customer. */
16
+ customerGetPlans: this.requestFunctionFactory(descriptors.aiHostingCustomerGetPlans),
15
17
  /** Creates an AI hosting profile and accepts the current model terms. */
16
18
  customerDeclareProfile: this.requestFunctionFactory(descriptors.aiHostingCustomerDeclareProfile),
17
19
  /** Get a key of a customer. */
@@ -26,8 +28,6 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
26
28
  customerGetPlan: this.requestFunctionFactory(descriptors.aiHostingCustomerGetPlan),
27
29
  /** Renames an AI hosting plan. */
28
30
  customerUpdatePlan: this.requestFunctionFactory(descriptors.aiHostingCustomerUpdatePlan),
29
- /** Get all ai hosting plans of a customer. */
30
- customerGetPlans: this.requestFunctionFactory(descriptors.aiHostingCustomerGetPlans),
31
31
  /** Get ai hosting plan and usages of a customer. Deprecated: use /ai-hostings/{planId} instead. */
32
32
  customerGetUsage: this.requestFunctionFactory(descriptors.aiHostingCustomerGetUsage),
33
33
  /** Get a list of currently active models. */
@@ -44,15 +44,17 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
44
44
  projectDeleteKey: this.requestFunctionFactory(descriptors.aiHostingProjectDeleteKey),
45
45
  /** Get a list of currently active models. */
46
46
  projectGetDetailedModels: this.requestFunctionFactory(descriptors.aiHostingProjectGetDetailedModels),
47
+ /** Get all ai hosting plans and usages of a project. */
48
+ projectGetPlans: this.requestFunctionFactory(descriptors.aiHostingProjectGetPlans),
47
49
  /** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
48
50
  projectGetUsage: this.requestFunctionFactory(descriptors.aiHostingProjectGetUsage),
49
51
  /** Links a container with a project licence. */
50
52
  projectLinkContainer: this.requestFunctionFactory(descriptors.aiHostingProjectLinkContainer),
51
- /** Get all ai hosting plans and usages of a project. */
52
- projectGetPlans: this.requestFunctionFactory(descriptors.aiHostingProjectGetPlans),
53
53
  };
54
54
  /** The App API allows you to manage your apps within a project, and all the system softwares that are installed as dependencies. */
55
55
  app = {
56
+ /** Get the installed `SystemSoftware' for a specific `AppInstallation`. */
57
+ getAppInstallationSystemSoftware: this.requestFunctionFactory(descriptors.appGetAppInstallationSystemSoftware),
56
58
  /** Get an App. */
57
59
  getApp: this.requestFunctionFactory(descriptors.appGetApp),
58
60
  /** Get an AppInstallation. */
@@ -63,8 +65,6 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
63
65
  patchAppinstallation: this.requestFunctionFactory(descriptors.appPatchAppinstallation),
64
66
  /** Get an AppVersion. */
65
67
  getAppversion: this.requestFunctionFactory(descriptors.appGetAppversion),
66
- /** Get the installed `SystemSoftware' for a specific `AppInstallation`. */
67
- getInstalledSystemsoftwareForAppinstallation: this.requestFunctionFactory(descriptors.appGetInstalledSystemsoftwareForAppinstallation),
68
68
  /** Get the missing requirements of an appInstallation for a specific target AppVersion. */
69
69
  getMissingDependenciesForAppinstallation: this.requestFunctionFactory(descriptors.appGetMissingDependenciesForAppinstallation),
70
70
  /** Get a SystemSoftware. */
@@ -138,7 +138,7 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
138
138
  container = {
139
139
  /** Add a template component to a Stack. */
140
140
  addTemplateComponent: this.requestFunctionFactory(descriptors.containerAddTemplateComponent),
141
- /** Call pull-image webhook */
141
+ /** Call a Service pull-image webhook. */
142
142
  callPullImageWebhookForService: this.requestFunctionFactory(descriptors.containerCallPullImageWebhookForService),
143
143
  /** List Registries belonging to a Project. */
144
144
  listRegistries: this.requestFunctionFactory(descriptors.containerListRegistries),
@@ -188,13 +188,13 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
188
188
  listTemplates: this.requestFunctionFactory(descriptors.containerListTemplates),
189
189
  /** List Volumes belonging to a Project. */
190
190
  listVolumes: this.requestFunctionFactory(descriptors.containerListVolumes),
191
- /** Pull image and recreate */
191
+ /** Pull a Service image and recreate. */
192
192
  pullImageForService: this.requestFunctionFactory(descriptors.containerPullImageForService),
193
193
  /** Recreate a Service. */
194
194
  recreateService: this.requestFunctionFactory(descriptors.containerRecreateService),
195
195
  /** Restart a started Service. */
196
196
  restartService: this.requestFunctionFactory(descriptors.containerRestartService),
197
- /** Create or rotate pull-image webhook token */
197
+ /** Create or rotate a Service pull-image webhook token. */
198
198
  rotatePullImageWebhookForService: this.requestFunctionFactory(descriptors.containerRotatePullImageWebhookForService),
199
199
  /** Start a stopped Service. */
200
200
  startService: this.requestFunctionFactory(descriptors.containerStartService),
@@ -559,22 +559,16 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
559
559
  ingressUpdateIngressPaths: this.requestFunctionFactory(descriptors.ingressUpdateIngressPaths),
560
560
  /** Update the tls settings of an Ingress. */
561
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),
562
+ /** Create a DNSZone. */
563
+ dnsCreateDnsZone: this.requestFunctionFactory(descriptors.dnsCreateDnsZone),
568
564
  /** Get a DNSZone. */
569
565
  dnsGetDnsZone: this.requestFunctionFactory(descriptors.dnsGetDnsZone),
570
566
  /** Delete a DNSZone. */
571
567
  dnsDeleteDnsZone: this.requestFunctionFactory(descriptors.dnsDeleteDnsZone),
572
- /** Get the status of a DNS zone-file import job. */
573
- dnsGetDnsZoneFileImport: this.requestFunctionFactory(descriptors.dnsGetDnsZoneFileImport),
574
568
  /** Get a zone file for a DNSZone. */
575
569
  dnsGetZoneFile: this.requestFunctionFactory(descriptors.dnsGetZoneFile),
576
- /** Preview a DNS zone-file import for a Project. */
577
- dnsPreviewProjectDnsZoneFileImport: this.requestFunctionFactory(descriptors.dnsPreviewProjectDnsZoneFileImport),
570
+ /** List DNSZones belonging to a Project. */
571
+ dnsListDnsZones: this.requestFunctionFactory(descriptors.dnsListDnsZones),
578
572
  /** Set a record set on a DNSZone to managed. */
579
573
  dnsSetRecordSetManaged: this.requestFunctionFactory(descriptors.dnsSetRecordSetManaged),
580
574
  /** Update a record set on a DNSZone. */
@@ -903,7 +897,7 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
903
897
  getLicense: this.requestFunctionFactory(descriptors.licenseGetLicense),
904
898
  /** List Licenses belonging to a Project. */
905
899
  listLicensesForProject: this.requestFunctionFactory(descriptors.licenseListLicensesForProject),
906
- /** rotate a License's key, i.e. revoke the old and generate a new one. */
900
+ /** Rotate a License's key, i.e. revoke the old and generate a new one. */
907
901
  rotateLicenseKey: this.requestFunctionFactory(descriptors.licenseRotateLicenseKey),
908
902
  /** Validate a License's key for a project. */
909
903
  validateLicenseKeyForProject: this.requestFunctionFactory(descriptors.licenseValidateLicenseKeyForProject),
@@ -950,7 +944,7 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
950
944
  getProjectInvite: this.requestFunctionFactory(descriptors.projectGetProjectInvite),
951
945
  /** Delete a ProjectInvite. */
952
946
  deleteProjectInvite: this.requestFunctionFactory(descriptors.projectDeleteProjectInvite),
953
- /** Get a ProjectMembership */
947
+ /** Get a ProjectMembership. */
954
948
  getProjectMembership: this.requestFunctionFactory(descriptors.projectGetProjectMembership),
955
949
  /** Delete a ProjectMembership. */
956
950
  deleteProjectMembership: this.requestFunctionFactory(descriptors.projectDeleteProjectMembership),