@mittwald/api-client 4.429.0 → 4.430.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/generated/v2/client-react.js +2 -2
- package/dist/esm/generated/v2/client.js +4 -18
- package/dist/esm/generated/v2/descriptors.js +11 -53
- package/dist/esm/generated/v3-next/client-react.js +2 -2
- package/dist/esm/generated/v3-next/client.js +4 -18
- package/dist/esm/generated/v3-next/descriptors.js +11 -53
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/v2/client-react.d.ts +16 -16
- package/dist/types/generated/v2/client.d.ts +142 -565
- package/dist/types/generated/v2/descriptors.d.ts +5 -19
- package/dist/types/generated/v2/types.d.ts +150 -521
- package/dist/types/generated/v3-next/client-react.d.ts +16 -16
- package/dist/types/generated/v3-next/client.d.ts +142 -565
- package/dist/types/generated/v3-next/descriptors.d.ts +5 -19
- package/dist/types/generated/v3-next/types.d.ts +150 -521
- package/dist/types/version.d.ts +1 -1
- package/package.json +4 -4
|
@@ -110,6 +110,8 @@ const buildContainerApi = (baseClient) => ({
|
|
|
110
110
|
const buildContractApi = (baseClient) => ({
|
|
111
111
|
/** Return the BaseItem of the Contract with the given ID. */
|
|
112
112
|
getBaseItemOfContract: new ApiCallAsyncResourceFactory(descriptors.contractGetBaseItemOfContract, baseClient.contract.getBaseItemOfContract).getApiResource,
|
|
113
|
+
/** Return the AI Hosting Contract for the given Customer. */
|
|
114
|
+
getDetailOfContractByAiHosting: new ApiCallAsyncResourceFactory(descriptors.contractGetDetailOfContractByAiHosting, baseClient.contract.getDetailOfContractByAiHosting).getApiResource,
|
|
113
115
|
/** Return the Contract for the given Certificate. */
|
|
114
116
|
getDetailOfContractByCertificate: new ApiCallAsyncResourceFactory(descriptors.contractGetDetailOfContractByCertificate, baseClient.contract.getDetailOfContractByCertificate).getApiResource,
|
|
115
117
|
/** Return the Contract for the given Domain. */
|
|
@@ -146,8 +148,6 @@ const buildContractApi = (baseClient) => ({
|
|
|
146
148
|
orderListCustomerOrders: new ApiCallAsyncResourceFactory(descriptors.orderListCustomerOrders, baseClient.contract.orderListCustomerOrders).getApiResource,
|
|
147
149
|
/** Get list of Orders of a Project. */
|
|
148
150
|
orderListProjectOrders: new ApiCallAsyncResourceFactory(descriptors.orderListProjectOrders, baseClient.contract.orderListProjectOrders).getApiResource,
|
|
149
|
-
/** Return the AI Hosting Contract for the given Customer. */
|
|
150
|
-
getDetailOfContractByAiHosting: new ApiCallAsyncResourceFactory(descriptors.contractGetDetailOfContractByAiHosting, baseClient.contract.getDetailOfContractByAiHosting).getApiResource,
|
|
151
151
|
});
|
|
152
152
|
const buildMarketplaceApi = (baseClient) => ({
|
|
153
153
|
/** Get a Contributor. */
|
|
@@ -127,15 +127,13 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
127
127
|
getProjectBackupDatabaseDumps: this.requestFunctionFactory(descriptors.backupGetProjectBackupDatabaseDumps),
|
|
128
128
|
/** List paths for a ProjectBackup. */
|
|
129
129
|
getProjectBackupDirectories: this.requestFunctionFactory(descriptors.backupGetProjectBackupDirectories),
|
|
130
|
-
/** Update a Backup's expiration time. */
|
|
131
|
-
replaceProjectBackupExpirationTime: this.requestFunctionFactory(descriptors.backupReplaceProjectBackupExpirationTime),
|
|
132
130
|
/** Restore a ProjectBackup. */
|
|
133
131
|
requestProjectBackupRestore: this.requestFunctionFactory(descriptors.backupRequestProjectBackupRestore),
|
|
134
|
-
/** Change the description of a ProjectBackup. */
|
|
135
|
-
updateProjectBackupDescription: this.requestFunctionFactory(descriptors.backupUpdateProjectBackupDescription),
|
|
136
132
|
};
|
|
137
133
|
/** The container API allows you to manage your stacks, containers, volumes and registries. */
|
|
138
134
|
container = {
|
|
135
|
+
/** Add a template component to a Stack. */
|
|
136
|
+
addTemplateComponent: this.requestFunctionFactory(descriptors.containerAddTemplateComponent),
|
|
139
137
|
/** Call pull-image webhook */
|
|
140
138
|
callPullImageWebhookForService: this.requestFunctionFactory(descriptors.containerCallPullImageWebhookForService),
|
|
141
139
|
/** List Registries belonging to a Project. */
|
|
@@ -192,14 +190,10 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
192
190
|
restartService: this.requestFunctionFactory(descriptors.containerRestartService),
|
|
193
191
|
/** Create or rotate pull-image webhook token */
|
|
194
192
|
rotatePullImageWebhookForService: this.requestFunctionFactory(descriptors.containerRotatePullImageWebhookForService),
|
|
195
|
-
/** Set an update schedule for a Stack. */
|
|
196
|
-
setStackUpdateSchedule: this.requestFunctionFactory(descriptors.containerSetStackUpdateSchedule),
|
|
197
193
|
/** Start a stopped Service. */
|
|
198
194
|
startService: this.requestFunctionFactory(descriptors.containerStartService),
|
|
199
195
|
/** Stop a started Service. */
|
|
200
196
|
stopService: this.requestFunctionFactory(descriptors.containerStopService),
|
|
201
|
-
/** Add a template component to a Stack. */
|
|
202
|
-
addTemplateComponent: this.requestFunctionFactory(descriptors.containerAddTemplateComponent),
|
|
203
197
|
};
|
|
204
198
|
/** The contract API allows you to manage your contracts and orders */
|
|
205
199
|
contract = {
|
|
@@ -215,6 +209,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
215
209
|
cancelContractTermination: this.requestFunctionFactory(descriptors.contractCancelContractTermination),
|
|
216
210
|
/** Return the BaseItem of the Contract with the given ID. */
|
|
217
211
|
getBaseItemOfContract: this.requestFunctionFactory(descriptors.contractGetBaseItemOfContract),
|
|
212
|
+
/** Return the AI Hosting Contract for the given Customer. */
|
|
213
|
+
getDetailOfContractByAiHosting: this.requestFunctionFactory(descriptors.contractGetDetailOfContractByAiHosting),
|
|
218
214
|
/** Return the Contract for the given Certificate. */
|
|
219
215
|
getDetailOfContractByCertificate: this.requestFunctionFactory(descriptors.contractGetDetailOfContractByCertificate),
|
|
220
216
|
/** Return the Contract for the given Domain. */
|
|
@@ -261,8 +257,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
261
257
|
orderPreviewOrder: this.requestFunctionFactory(descriptors.orderPreviewOrder),
|
|
262
258
|
/** Preview TariffChange. */
|
|
263
259
|
orderPreviewTariffChange: this.requestFunctionFactory(descriptors.orderPreviewTariffChange),
|
|
264
|
-
/** Return the AI Hosting Contract for the given Customer. */
|
|
265
|
-
getDetailOfContractByAiHosting: this.requestFunctionFactory(descriptors.contractGetDetailOfContractByAiHosting),
|
|
266
260
|
};
|
|
267
261
|
/** The marketplace API allows you to manage extensions and more information regaring the marketplace. */
|
|
268
262
|
marketplace = {
|
|
@@ -970,10 +964,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
970
964
|
listServers: this.requestFunctionFactory(descriptors.projectListServers),
|
|
971
965
|
/** Resend the mail for a ProjectInvite. */
|
|
972
966
|
resendProjectInviteMail: this.requestFunctionFactory(descriptors.projectResendProjectInviteMail),
|
|
973
|
-
/** Update a Project's description. */
|
|
974
|
-
updateProjectDescription: this.requestFunctionFactory(descriptors.projectUpdateProjectDescription),
|
|
975
|
-
/** Update a Servers's description. */
|
|
976
|
-
updateServerDescription: this.requestFunctionFactory(descriptors.projectUpdateServerDescription),
|
|
977
967
|
/** Get storage space Statistics belonging to a Project. */
|
|
978
968
|
storagespaceGetProjectStatistics: this.requestFunctionFactory(descriptors.storagespaceGetProjectStatistics),
|
|
979
969
|
/** Update a Project's storage space statistics. */
|
|
@@ -982,10 +972,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
982
972
|
storagespaceGetServerStatistics: this.requestFunctionFactory(descriptors.storagespaceGetServerStatistics),
|
|
983
973
|
/** Update a Server's storage space statistics. */
|
|
984
974
|
storagespaceUpdateServerStatistics: this.requestFunctionFactory(descriptors.storagespaceUpdateServerStatistics),
|
|
985
|
-
/** Update a Project's storage space notification threshold. */
|
|
986
|
-
storagespaceReplaceProjectNotificationThreshold: this.requestFunctionFactory(descriptors.storagespaceReplaceProjectNotificationThreshold),
|
|
987
|
-
/** Update a Server's storage space notification threshold. */
|
|
988
|
-
storagespaceReplaceServerNotificationThreshold: this.requestFunctionFactory(descriptors.storagespaceReplaceServerNotificationThreshold),
|
|
989
975
|
};
|
|
990
976
|
/** The filesystem API allows you to directly access the filesystem of your project. */
|
|
991
977
|
projectFileSystem = {
|
|
@@ -334,23 +334,17 @@ export const backupGetProjectBackupDirectories = {
|
|
|
334
334
|
method: "GET",
|
|
335
335
|
operationId: "backup-get-project-backup-directories",
|
|
336
336
|
};
|
|
337
|
-
/** Update a Backup's expiration time. */
|
|
338
|
-
export const backupReplaceProjectBackupExpirationTime = {
|
|
339
|
-
path: "/v2/project-backups/{projectBackupId}/expiration-time",
|
|
340
|
-
method: "PUT",
|
|
341
|
-
operationId: "backup-replace-project-backup-expiration-time",
|
|
342
|
-
};
|
|
343
337
|
/** Restore a ProjectBackup. */
|
|
344
338
|
export const backupRequestProjectBackupRestore = {
|
|
345
339
|
path: "/v2/project-backups/{projectBackupId}/restore",
|
|
346
340
|
method: "POST",
|
|
347
341
|
operationId: "backup-request-project-backup-restore",
|
|
348
342
|
};
|
|
349
|
-
/**
|
|
350
|
-
export const
|
|
351
|
-
path: "/v2/
|
|
352
|
-
method: "
|
|
353
|
-
operationId: "
|
|
343
|
+
/** Add a template component to a Stack. */
|
|
344
|
+
export const containerAddTemplateComponent = {
|
|
345
|
+
path: "/v2/stacks/{stackId}/actions/add-template-component",
|
|
346
|
+
method: "POST",
|
|
347
|
+
operationId: "container-add-template-component",
|
|
354
348
|
};
|
|
355
349
|
/** Call pull-image webhook */
|
|
356
350
|
export const containerCallPullImageWebhookForService = {
|
|
@@ -520,12 +514,6 @@ export const containerRotatePullImageWebhookForService = {
|
|
|
520
514
|
method: "POST",
|
|
521
515
|
operationId: "container-rotate-pull-image-webhook-for-service",
|
|
522
516
|
};
|
|
523
|
-
/** Set an update schedule for a Stack. */
|
|
524
|
-
export const containerSetStackUpdateSchedule = {
|
|
525
|
-
path: "/v2/stacks/{stackId}/update-schedule",
|
|
526
|
-
method: "PUT",
|
|
527
|
-
operationId: "container-set-stack-update-schedule",
|
|
528
|
-
};
|
|
529
517
|
/** Start a stopped Service. */
|
|
530
518
|
export const containerStartService = {
|
|
531
519
|
path: "/v2/stacks/{stackId}/services/{serviceId}/actions/start",
|
|
@@ -574,6 +562,12 @@ export const contractGetBaseItemOfContract = {
|
|
|
574
562
|
method: "GET",
|
|
575
563
|
operationId: "contract-get-base-item-of-contract",
|
|
576
564
|
};
|
|
565
|
+
/** Return the AI Hosting Contract for the given Customer. */
|
|
566
|
+
export const contractGetDetailOfContractByAiHosting = {
|
|
567
|
+
path: "/v2/customers/{customerId}/ai-hostings/{aiHostingId}/contract",
|
|
568
|
+
method: "GET",
|
|
569
|
+
operationId: "contract-get-detail-of-contract-by-ai-hosting",
|
|
570
|
+
};
|
|
577
571
|
/** Return the Contract for the given Certificate. */
|
|
578
572
|
export const contractGetDetailOfContractByCertificate = {
|
|
579
573
|
path: "/v2/certificates/{certificateId}/contract",
|
|
@@ -2344,18 +2338,6 @@ export const projectResendProjectInviteMail = {
|
|
|
2344
2338
|
method: "POST",
|
|
2345
2339
|
operationId: "project-resend-project-invite-mail",
|
|
2346
2340
|
};
|
|
2347
|
-
/** Update a Project's description. */
|
|
2348
|
-
export const projectUpdateProjectDescription = {
|
|
2349
|
-
path: "/v2/projects/{projectId}/description",
|
|
2350
|
-
method: "PATCH",
|
|
2351
|
-
operationId: "project-update-project-description",
|
|
2352
|
-
};
|
|
2353
|
-
/** Update a Servers's description. */
|
|
2354
|
-
export const projectUpdateServerDescription = {
|
|
2355
|
-
path: "/v2/servers/{serverId}/description",
|
|
2356
|
-
method: "PATCH",
|
|
2357
|
-
operationId: "project-update-server-description",
|
|
2358
|
-
};
|
|
2359
2341
|
/** Register a tariff change for a legacy tariff. */
|
|
2360
2342
|
export const relocationCreateLegacyTariffChange = {
|
|
2361
2343
|
path: "/v2/legacy-tariff-change",
|
|
@@ -2506,18 +2488,6 @@ export const storagespaceUpdateServerStatistics = {
|
|
|
2506
2488
|
method: "PATCH",
|
|
2507
2489
|
operationId: "storagespace-update-server-statistics",
|
|
2508
2490
|
};
|
|
2509
|
-
/** Update a Project's storage space notification threshold. */
|
|
2510
|
-
export const storagespaceReplaceProjectNotificationThreshold = {
|
|
2511
|
-
path: "/v2/projects/{projectId}/storage-space-notification-threshold",
|
|
2512
|
-
method: "PUT",
|
|
2513
|
-
operationId: "storagespace-replace-project-notification-threshold",
|
|
2514
|
-
};
|
|
2515
|
-
/** Update a Server's storage space notification threshold. */
|
|
2516
|
-
export const storagespaceReplaceServerNotificationThreshold = {
|
|
2517
|
-
path: "/v2/servers/{serverId}/storage-space-notification-threshold",
|
|
2518
|
-
method: "PUT",
|
|
2519
|
-
operationId: "storagespace-replace-server-notification-threshold",
|
|
2520
|
-
};
|
|
2521
2491
|
/** Add phone number and start verification process. */
|
|
2522
2492
|
export const userAddPhoneNumber = {
|
|
2523
2493
|
path: "/v2/users/{userId}/phone",
|
|
@@ -2848,15 +2818,3 @@ export const verificationVerifyCompany = {
|
|
|
2848
2818
|
method: "POST",
|
|
2849
2819
|
operationId: "verification-verify-company",
|
|
2850
2820
|
};
|
|
2851
|
-
/** Add a template component to a Stack. */
|
|
2852
|
-
export const containerAddTemplateComponent = {
|
|
2853
|
-
path: "/v2/stacks/{stackId}/actions/add-template-component",
|
|
2854
|
-
method: "POST",
|
|
2855
|
-
operationId: "container-add-template-component",
|
|
2856
|
-
};
|
|
2857
|
-
/** Return the AI Hosting Contract for the given Customer. */
|
|
2858
|
-
export const contractGetDetailOfContractByAiHosting = {
|
|
2859
|
-
path: "/v2/customers/{customerId}/ai-hostings/{aiHostingId}/contract",
|
|
2860
|
-
method: "GET",
|
|
2861
|
-
operationId: "contract-get-detail-of-contract-by-ai-hosting",
|
|
2862
|
-
};
|
|
@@ -110,6 +110,8 @@ const buildContainerApi = (baseClient) => ({
|
|
|
110
110
|
const buildContractApi = (baseClient) => ({
|
|
111
111
|
/** Return the BaseItem of the Contract with the given ID. */
|
|
112
112
|
getBaseItemOfContract: new ApiCallAsyncResourceFactory(descriptors.contractGetBaseItemOfContract, baseClient.contract.getBaseItemOfContract).getApiResource,
|
|
113
|
+
/** Return the AI Hosting Contract for the given Customer. */
|
|
114
|
+
getDetailOfContractByAiHosting: new ApiCallAsyncResourceFactory(descriptors.contractGetDetailOfContractByAiHosting, baseClient.contract.getDetailOfContractByAiHosting).getApiResource,
|
|
113
115
|
/** Return the Contract for the given Certificate. */
|
|
114
116
|
getDetailOfContractByCertificate: new ApiCallAsyncResourceFactory(descriptors.contractGetDetailOfContractByCertificate, baseClient.contract.getDetailOfContractByCertificate).getApiResource,
|
|
115
117
|
/** Return the Contract for the given Domain. */
|
|
@@ -146,8 +148,6 @@ const buildContractApi = (baseClient) => ({
|
|
|
146
148
|
orderListCustomerOrders: new ApiCallAsyncResourceFactory(descriptors.orderListCustomerOrders, baseClient.contract.orderListCustomerOrders).getApiResource,
|
|
147
149
|
/** Get list of Orders of a Project. */
|
|
148
150
|
orderListProjectOrders: new ApiCallAsyncResourceFactory(descriptors.orderListProjectOrders, baseClient.contract.orderListProjectOrders).getApiResource,
|
|
149
|
-
/** Return the AI Hosting Contract for the given Customer. */
|
|
150
|
-
getDetailOfContractByAiHosting: new ApiCallAsyncResourceFactory(descriptors.contractGetDetailOfContractByAiHosting, baseClient.contract.getDetailOfContractByAiHosting).getApiResource,
|
|
151
151
|
});
|
|
152
152
|
const buildMarketplaceApi = (baseClient) => ({
|
|
153
153
|
/** Get a Contributor. */
|
|
@@ -127,15 +127,13 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
127
127
|
getProjectBackupDatabaseDumps: this.requestFunctionFactory(descriptors.backupGetProjectBackupDatabaseDumps),
|
|
128
128
|
/** List paths for a ProjectBackup. */
|
|
129
129
|
getProjectBackupDirectories: this.requestFunctionFactory(descriptors.backupGetProjectBackupDirectories),
|
|
130
|
-
/** Update a Backup's expiration time. */
|
|
131
|
-
replaceProjectBackupExpirationTime: this.requestFunctionFactory(descriptors.backupReplaceProjectBackupExpirationTime),
|
|
132
130
|
/** Restore a ProjectBackup. */
|
|
133
131
|
requestProjectBackupRestore: this.requestFunctionFactory(descriptors.backupRequestProjectBackupRestore),
|
|
134
|
-
/** Change the description of a ProjectBackup. */
|
|
135
|
-
updateProjectBackupDescription: this.requestFunctionFactory(descriptors.backupUpdateProjectBackupDescription),
|
|
136
132
|
};
|
|
137
133
|
/** The container API allows you to manage your stacks, containers, volumes and registries. */
|
|
138
134
|
container = {
|
|
135
|
+
/** Add a template component to a Stack. */
|
|
136
|
+
addTemplateComponent: this.requestFunctionFactory(descriptors.containerAddTemplateComponent),
|
|
139
137
|
/** Call pull-image webhook */
|
|
140
138
|
callPullImageWebhookForService: this.requestFunctionFactory(descriptors.containerCallPullImageWebhookForService),
|
|
141
139
|
/** List Registries belonging to a Project. */
|
|
@@ -192,14 +190,10 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
192
190
|
restartService: this.requestFunctionFactory(descriptors.containerRestartService),
|
|
193
191
|
/** Create or rotate pull-image webhook token */
|
|
194
192
|
rotatePullImageWebhookForService: this.requestFunctionFactory(descriptors.containerRotatePullImageWebhookForService),
|
|
195
|
-
/** Set an update schedule for a Stack. */
|
|
196
|
-
setStackUpdateSchedule: this.requestFunctionFactory(descriptors.containerSetStackUpdateSchedule),
|
|
197
193
|
/** Start a stopped Service. */
|
|
198
194
|
startService: this.requestFunctionFactory(descriptors.containerStartService),
|
|
199
195
|
/** Stop a started Service. */
|
|
200
196
|
stopService: this.requestFunctionFactory(descriptors.containerStopService),
|
|
201
|
-
/** Add a template component to a Stack. */
|
|
202
|
-
addTemplateComponent: this.requestFunctionFactory(descriptors.containerAddTemplateComponent),
|
|
203
197
|
};
|
|
204
198
|
/** The contract API allows you to manage your contracts and orders */
|
|
205
199
|
contract = {
|
|
@@ -215,6 +209,8 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
215
209
|
cancelContractTermination: this.requestFunctionFactory(descriptors.contractCancelContractTermination),
|
|
216
210
|
/** Return the BaseItem of the Contract with the given ID. */
|
|
217
211
|
getBaseItemOfContract: this.requestFunctionFactory(descriptors.contractGetBaseItemOfContract),
|
|
212
|
+
/** Return the AI Hosting Contract for the given Customer. */
|
|
213
|
+
getDetailOfContractByAiHosting: this.requestFunctionFactory(descriptors.contractGetDetailOfContractByAiHosting),
|
|
218
214
|
/** Return the Contract for the given Certificate. */
|
|
219
215
|
getDetailOfContractByCertificate: this.requestFunctionFactory(descriptors.contractGetDetailOfContractByCertificate),
|
|
220
216
|
/** Return the Contract for the given Domain. */
|
|
@@ -261,8 +257,6 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
261
257
|
orderPreviewOrder: this.requestFunctionFactory(descriptors.orderPreviewOrder),
|
|
262
258
|
/** Preview TariffChange. */
|
|
263
259
|
orderPreviewTariffChange: this.requestFunctionFactory(descriptors.orderPreviewTariffChange),
|
|
264
|
-
/** Return the AI Hosting Contract for the given Customer. */
|
|
265
|
-
getDetailOfContractByAiHosting: this.requestFunctionFactory(descriptors.contractGetDetailOfContractByAiHosting),
|
|
266
260
|
};
|
|
267
261
|
/** The marketplace API allows you to manage extensions and more information regaring the marketplace. */
|
|
268
262
|
marketplace = {
|
|
@@ -970,10 +964,6 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
970
964
|
listServers: this.requestFunctionFactory(descriptors.projectListServers),
|
|
971
965
|
/** Resend the mail for a ProjectInvite. */
|
|
972
966
|
resendProjectInviteMail: this.requestFunctionFactory(descriptors.projectResendProjectInviteMail),
|
|
973
|
-
/** Update a Project's description. */
|
|
974
|
-
updateProjectDescription: this.requestFunctionFactory(descriptors.projectUpdateProjectDescription),
|
|
975
|
-
/** Update a Servers's description. */
|
|
976
|
-
updateServerDescription: this.requestFunctionFactory(descriptors.projectUpdateServerDescription),
|
|
977
967
|
/** Get storage space Statistics belonging to a Project. */
|
|
978
968
|
storagespaceGetProjectStatistics: this.requestFunctionFactory(descriptors.storagespaceGetProjectStatistics),
|
|
979
969
|
/** Update a Project's storage space statistics. */
|
|
@@ -982,10 +972,6 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
982
972
|
storagespaceGetServerStatistics: this.requestFunctionFactory(descriptors.storagespaceGetServerStatistics),
|
|
983
973
|
/** Update a Server's storage space statistics. */
|
|
984
974
|
storagespaceUpdateServerStatistics: this.requestFunctionFactory(descriptors.storagespaceUpdateServerStatistics),
|
|
985
|
-
/** Update a Project's storage space notification threshold. */
|
|
986
|
-
storagespaceReplaceProjectNotificationThreshold: this.requestFunctionFactory(descriptors.storagespaceReplaceProjectNotificationThreshold),
|
|
987
|
-
/** Update a Server's storage space notification threshold. */
|
|
988
|
-
storagespaceReplaceServerNotificationThreshold: this.requestFunctionFactory(descriptors.storagespaceReplaceServerNotificationThreshold),
|
|
989
975
|
};
|
|
990
976
|
/** The filesystem API allows you to directly access the filesystem of your project. */
|
|
991
977
|
projectFileSystem = {
|
|
@@ -334,23 +334,17 @@ export const backupGetProjectBackupDirectories = {
|
|
|
334
334
|
method: "GET",
|
|
335
335
|
operationId: "backup-get-project-backup-directories",
|
|
336
336
|
};
|
|
337
|
-
/** Update a Backup's expiration time. */
|
|
338
|
-
export const backupReplaceProjectBackupExpirationTime = {
|
|
339
|
-
path: "/v3-next/project-backups/{projectBackupId}/expiration-time",
|
|
340
|
-
method: "PUT",
|
|
341
|
-
operationId: "backup-replace-project-backup-expiration-time",
|
|
342
|
-
};
|
|
343
337
|
/** Restore a ProjectBackup. */
|
|
344
338
|
export const backupRequestProjectBackupRestore = {
|
|
345
339
|
path: "/v3-next/project-backups/{projectBackupId}/restore",
|
|
346
340
|
method: "POST",
|
|
347
341
|
operationId: "backup-request-project-backup-restore",
|
|
348
342
|
};
|
|
349
|
-
/**
|
|
350
|
-
export const
|
|
351
|
-
path: "/v3-next/
|
|
352
|
-
method: "
|
|
353
|
-
operationId: "
|
|
343
|
+
/** Add a template component to a Stack. */
|
|
344
|
+
export const containerAddTemplateComponent = {
|
|
345
|
+
path: "/v3-next/stacks/{stackId}/actions/add-template-component",
|
|
346
|
+
method: "POST",
|
|
347
|
+
operationId: "container-add-template-component",
|
|
354
348
|
};
|
|
355
349
|
/** Call pull-image webhook */
|
|
356
350
|
export const containerCallPullImageWebhookForService = {
|
|
@@ -520,12 +514,6 @@ export const containerRotatePullImageWebhookForService = {
|
|
|
520
514
|
method: "POST",
|
|
521
515
|
operationId: "container-rotate-pull-image-webhook-for-service",
|
|
522
516
|
};
|
|
523
|
-
/** Set an update schedule for a Stack. */
|
|
524
|
-
export const containerSetStackUpdateSchedule = {
|
|
525
|
-
path: "/v3-next/stacks/{stackId}/update-schedule",
|
|
526
|
-
method: "PUT",
|
|
527
|
-
operationId: "container-set-stack-update-schedule",
|
|
528
|
-
};
|
|
529
517
|
/** Start a stopped Service. */
|
|
530
518
|
export const containerStartService = {
|
|
531
519
|
path: "/v3-next/stacks/{stackId}/services/{serviceId}/actions/start",
|
|
@@ -574,6 +562,12 @@ export const contractGetBaseItemOfContract = {
|
|
|
574
562
|
method: "GET",
|
|
575
563
|
operationId: "contract-get-base-item-of-contract",
|
|
576
564
|
};
|
|
565
|
+
/** Return the AI Hosting Contract for the given Customer. */
|
|
566
|
+
export const contractGetDetailOfContractByAiHosting = {
|
|
567
|
+
path: "/v3-next/customers/{customerId}/ai-hostings/{aiHostingId}/contract",
|
|
568
|
+
method: "GET",
|
|
569
|
+
operationId: "contract-get-detail-of-contract-by-ai-hosting",
|
|
570
|
+
};
|
|
577
571
|
/** Return the Contract for the given Certificate. */
|
|
578
572
|
export const contractGetDetailOfContractByCertificate = {
|
|
579
573
|
path: "/v3-next/certificates/{certificateId}/contract",
|
|
@@ -2344,18 +2338,6 @@ export const projectResendProjectInviteMail = {
|
|
|
2344
2338
|
method: "POST",
|
|
2345
2339
|
operationId: "project-resend-project-invite-mail",
|
|
2346
2340
|
};
|
|
2347
|
-
/** Update a Project's description. */
|
|
2348
|
-
export const projectUpdateProjectDescription = {
|
|
2349
|
-
path: "/v3-next/projects/{projectId}/description",
|
|
2350
|
-
method: "PATCH",
|
|
2351
|
-
operationId: "project-update-project-description",
|
|
2352
|
-
};
|
|
2353
|
-
/** Update a Servers's description. */
|
|
2354
|
-
export const projectUpdateServerDescription = {
|
|
2355
|
-
path: "/v3-next/servers/{serverId}/description",
|
|
2356
|
-
method: "PATCH",
|
|
2357
|
-
operationId: "project-update-server-description",
|
|
2358
|
-
};
|
|
2359
2341
|
/** Register a tariff change for a legacy tariff. */
|
|
2360
2342
|
export const relocationCreateLegacyTariffChange = {
|
|
2361
2343
|
path: "/v3-next/legacy-tariff-change",
|
|
@@ -2506,18 +2488,6 @@ export const storagespaceUpdateServerStatistics = {
|
|
|
2506
2488
|
method: "PATCH",
|
|
2507
2489
|
operationId: "storagespace-update-server-statistics",
|
|
2508
2490
|
};
|
|
2509
|
-
/** Update a Project's storage space notification threshold. */
|
|
2510
|
-
export const storagespaceReplaceProjectNotificationThreshold = {
|
|
2511
|
-
path: "/v3-next/projects/{projectId}/storage-space-notification-threshold",
|
|
2512
|
-
method: "PUT",
|
|
2513
|
-
operationId: "storagespace-replace-project-notification-threshold",
|
|
2514
|
-
};
|
|
2515
|
-
/** Update a Server's storage space notification threshold. */
|
|
2516
|
-
export const storagespaceReplaceServerNotificationThreshold = {
|
|
2517
|
-
path: "/v3-next/servers/{serverId}/storage-space-notification-threshold",
|
|
2518
|
-
method: "PUT",
|
|
2519
|
-
operationId: "storagespace-replace-server-notification-threshold",
|
|
2520
|
-
};
|
|
2521
2491
|
/** Add phone number and start verification process. */
|
|
2522
2492
|
export const userAddPhoneNumber = {
|
|
2523
2493
|
path: "/v3-next/users/{userId}/phone",
|
|
@@ -2848,15 +2818,3 @@ export const verificationVerifyCompany = {
|
|
|
2848
2818
|
method: "POST",
|
|
2849
2819
|
operationId: "verification-verify-company",
|
|
2850
2820
|
};
|
|
2851
|
-
/** Add a template component to a Stack. */
|
|
2852
|
-
export const containerAddTemplateComponent = {
|
|
2853
|
-
path: "/v3-next/stacks/{stackId}/actions/add-template-component",
|
|
2854
|
-
method: "POST",
|
|
2855
|
-
operationId: "container-add-template-component",
|
|
2856
|
-
};
|
|
2857
|
-
/** Return the AI Hosting Contract for the given Customer. */
|
|
2858
|
-
export const contractGetDetailOfContractByAiHosting = {
|
|
2859
|
-
path: "/v3-next/customers/{customerId}/ai-hostings/{aiHostingId}/contract",
|
|
2860
|
-
method: "GET",
|
|
2861
|
-
operationId: "contract-get-detail-of-contract-by-ai-hosting",
|
|
2862
|
-
};
|
package/dist/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export const MittwaldAPIClientVersion = '4.429.1';
|
|
@@ -851,6 +851,22 @@ declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
851
851
|
termination?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractTermination | undefined;
|
|
852
852
|
totalPrice: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractPrice;
|
|
853
853
|
}>;
|
|
854
|
+
/** Return the AI Hosting Contract for the given Customer. */
|
|
855
|
+
getDetailOfContractByAiHosting: (conf: {
|
|
856
|
+
customerId: string;
|
|
857
|
+
aiHostingId: string;
|
|
858
|
+
headers?: {
|
|
859
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
860
|
+
"x-access-token"?: string | undefined;
|
|
861
|
+
} | undefined;
|
|
862
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
863
|
+
additionalItems?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractContractItem[] | undefined;
|
|
864
|
+
baseItem: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractContractItem;
|
|
865
|
+
contractId: string;
|
|
866
|
+
contractNumber: string;
|
|
867
|
+
customerId: string;
|
|
868
|
+
termination?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractTermination | undefined;
|
|
869
|
+
}>;
|
|
854
870
|
/** Return the Contract for the given Certificate. */
|
|
855
871
|
getDetailOfContractByCertificate: (conf: {
|
|
856
872
|
certificateId: string;
|
|
@@ -1172,22 +1188,6 @@ declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1172
1188
|
templateNames?: string[] | undefined;
|
|
1173
1189
|
} | undefined;
|
|
1174
1190
|
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.OrderCustomerOrder[]>;
|
|
1175
|
-
/** Return the AI Hosting Contract for the given Customer. */
|
|
1176
|
-
getDetailOfContractByAiHosting: (conf: {
|
|
1177
|
-
customerId: string;
|
|
1178
|
-
aiHostingId: string;
|
|
1179
|
-
headers?: {
|
|
1180
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1181
|
-
"x-access-token"?: string | undefined;
|
|
1182
|
-
} | undefined;
|
|
1183
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
1184
|
-
additionalItems?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractContractItem[] | undefined;
|
|
1185
|
-
baseItem: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractContractItem;
|
|
1186
|
-
contractId: string;
|
|
1187
|
-
contractNumber: string;
|
|
1188
|
-
customerId: string;
|
|
1189
|
-
termination?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractTermination | undefined;
|
|
1190
|
-
}>;
|
|
1191
1191
|
};
|
|
1192
1192
|
declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
|
|
1193
1193
|
/** Get a Contributor. */
|