@mittwald/api-client 4.429.1 → 4.431.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.
@@ -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. */
@@ -61,8 +61,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
61
61
  getSystemsoftware: this.requestFunctionFactory(descriptors.appGetSystemsoftware),
62
62
  /** Get a SystemSoftwareVersion. */
63
63
  getSystemsoftwareversion: this.requestFunctionFactory(descriptors.appGetSystemsoftwareversion),
64
- /** Create linkage between an AppInstallation and a MySQLDatabase. */
65
- linkDatabase: this.requestFunctionFactory(descriptors.appLinkDatabase),
66
64
  /** List AppInstallations that a user has access to. */
67
65
  listAppinstallationsForUser: this.requestFunctionFactory(descriptors.appListAppinstallationsForUser),
68
66
  /** List AppInstallations belonging to a Project. */
@@ -79,16 +77,12 @@ export class MittwaldAPIV2Client extends ApiClientBase {
79
77
  listSystemsoftwareversions: this.requestFunctionFactory(descriptors.appListSystemsoftwareversions),
80
78
  /** List update candidates belonging to an AppVersion. */
81
79
  listUpdateCandidatesForAppversion: this.requestFunctionFactory(descriptors.appListUpdateCandidatesForAppversion),
82
- /** Replace a MySQL Database with another MySQL Database. */
83
- replaceDatabase: this.requestFunctionFactory(descriptors.appReplaceDatabase),
84
80
  /** Request a copy of an AppInstallation. */
85
81
  requestAppinstallationCopy: this.requestFunctionFactory(descriptors.appRequestAppinstallationCopy),
86
82
  /** Get runtime status belonging to an AppInstallation. */
87
83
  retrieveStatus: this.requestFunctionFactory(descriptors.appRetrieveStatus),
88
84
  /** Remove linkage between an AppInstallation and a Database. */
89
85
  unlinkDatabase: this.requestFunctionFactory(descriptors.appUnlinkDatabase),
90
- /** Create linkage between an AppInstallation and DatabaseUsers. */
91
- setDatabaseUsers: this.requestFunctionFactory(descriptors.appSetDatabaseUsers),
92
86
  };
93
87
  /** The article API allows you to read article information. */
94
88
  article = {
@@ -127,15 +121,13 @@ export class MittwaldAPIV2Client extends ApiClientBase {
127
121
  getProjectBackupDatabaseDumps: this.requestFunctionFactory(descriptors.backupGetProjectBackupDatabaseDumps),
128
122
  /** List paths for a ProjectBackup. */
129
123
  getProjectBackupDirectories: this.requestFunctionFactory(descriptors.backupGetProjectBackupDirectories),
130
- /** Update a Backup's expiration time. */
131
- replaceProjectBackupExpirationTime: this.requestFunctionFactory(descriptors.backupReplaceProjectBackupExpirationTime),
132
124
  /** Restore a ProjectBackup. */
133
125
  requestProjectBackupRestore: this.requestFunctionFactory(descriptors.backupRequestProjectBackupRestore),
134
- /** Change the description of a ProjectBackup. */
135
- updateProjectBackupDescription: this.requestFunctionFactory(descriptors.backupUpdateProjectBackupDescription),
136
126
  };
137
127
  /** The container API allows you to manage your stacks, containers, volumes and registries. */
138
128
  container = {
129
+ /** Add a template component to a Stack. */
130
+ addTemplateComponent: this.requestFunctionFactory(descriptors.containerAddTemplateComponent),
139
131
  /** Call pull-image webhook */
140
132
  callPullImageWebhookForService: this.requestFunctionFactory(descriptors.containerCallPullImageWebhookForService),
141
133
  /** List Registries belonging to a Project. */
@@ -192,14 +184,10 @@ export class MittwaldAPIV2Client extends ApiClientBase {
192
184
  restartService: this.requestFunctionFactory(descriptors.containerRestartService),
193
185
  /** Create or rotate pull-image webhook token */
194
186
  rotatePullImageWebhookForService: this.requestFunctionFactory(descriptors.containerRotatePullImageWebhookForService),
195
- /** Set an update schedule for a Stack. */
196
- setStackUpdateSchedule: this.requestFunctionFactory(descriptors.containerSetStackUpdateSchedule),
197
187
  /** Start a stopped Service. */
198
188
  startService: this.requestFunctionFactory(descriptors.containerStartService),
199
189
  /** Stop a started Service. */
200
190
  stopService: this.requestFunctionFactory(descriptors.containerStopService),
201
- /** Add a template component to a Stack. */
202
- addTemplateComponent: this.requestFunctionFactory(descriptors.containerAddTemplateComponent),
203
191
  };
204
192
  /** The contract API allows you to manage your contracts and orders */
205
193
  contract = {
@@ -215,6 +203,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
215
203
  cancelContractTermination: this.requestFunctionFactory(descriptors.contractCancelContractTermination),
216
204
  /** Return the BaseItem of the Contract with the given ID. */
217
205
  getBaseItemOfContract: this.requestFunctionFactory(descriptors.contractGetBaseItemOfContract),
206
+ /** Return the AI Hosting Contract for the given Customer. */
207
+ getDetailOfContractByAiHosting: this.requestFunctionFactory(descriptors.contractGetDetailOfContractByAiHosting),
218
208
  /** Return the Contract for the given Certificate. */
219
209
  getDetailOfContractByCertificate: this.requestFunctionFactory(descriptors.contractGetDetailOfContractByCertificate),
220
210
  /** Return the Contract for the given Domain. */
@@ -261,8 +251,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
261
251
  orderPreviewOrder: this.requestFunctionFactory(descriptors.orderPreviewOrder),
262
252
  /** Preview TariffChange. */
263
253
  orderPreviewTariffChange: this.requestFunctionFactory(descriptors.orderPreviewTariffChange),
264
- /** Return the AI Hosting Contract for the given Customer. */
265
- getDetailOfContractByAiHosting: this.requestFunctionFactory(descriptors.contractGetDetailOfContractByAiHosting),
266
254
  };
267
255
  /** The marketplace API allows you to manage extensions and more information regaring the marketplace. */
268
256
  marketplace = {
@@ -448,8 +436,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
448
436
  getExecutionAnalysis: this.requestFunctionFactory(descriptors.cronjobGetExecutionAnalysis),
449
437
  /** Get a CronjobExecution. */
450
438
  getExecution: this.requestFunctionFactory(descriptors.cronjobGetExecution),
451
- /** Update a Cronjob's app installation id. */
452
- replaceCronjobAppInstallationId: this.requestFunctionFactory(descriptors.cronjobReplaceCronjobAppInstallationId),
453
439
  };
454
440
  /** The customer API allows you to manage your own organizations and users. */
455
441
  customer = {
@@ -970,10 +956,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
970
956
  listServers: this.requestFunctionFactory(descriptors.projectListServers),
971
957
  /** Resend the mail for a ProjectInvite. */
972
958
  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
959
  /** Get storage space Statistics belonging to a Project. */
978
960
  storagespaceGetProjectStatistics: this.requestFunctionFactory(descriptors.storagespaceGetProjectStatistics),
979
961
  /** Update a Project's storage space statistics. */
@@ -982,10 +964,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
982
964
  storagespaceGetServerStatistics: this.requestFunctionFactory(descriptors.storagespaceGetServerStatistics),
983
965
  /** Update a Server's storage space statistics. */
984
966
  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
967
  };
990
968
  /** The filesystem API allows you to directly access the filesystem of your project. */
991
969
  projectFileSystem = {
@@ -154,12 +154,6 @@ export const appGetSystemsoftwareversion = {
154
154
  method: "GET",
155
155
  operationId: "app-get-systemsoftwareversion",
156
156
  };
157
- /** Create linkage between an AppInstallation and a MySQLDatabase. */
158
- export const appLinkDatabase = {
159
- path: "/v2/app-installations/{appInstallationId}/database",
160
- method: "PATCH",
161
- operationId: "app-link-database",
162
- };
163
157
  /** List AppInstallations that a user has access to. */
164
158
  export const appListAppinstallationsForUser = {
165
159
  path: "/v2/app-installations",
@@ -208,12 +202,6 @@ export const appListUpdateCandidatesForAppversion = {
208
202
  method: "GET",
209
203
  operationId: "app-list-update-candidates-for-appversion",
210
204
  };
211
- /** Replace a MySQL Database with another MySQL Database. */
212
- export const appReplaceDatabase = {
213
- path: "/v2/app-installations/{appInstallationId}/database/replace",
214
- method: "PATCH",
215
- operationId: "app-replace-database",
216
- };
217
205
  /** Request a copy of an AppInstallation. */
218
206
  export const appRequestAppinstallationCopy = {
219
207
  path: "/v2/app-installations/{appInstallationId}/actions/copy",
@@ -232,12 +220,6 @@ export const appUnlinkDatabase = {
232
220
  method: "DELETE",
233
221
  operationId: "app-unlink-database",
234
222
  };
235
- /** Create linkage between an AppInstallation and DatabaseUsers. */
236
- export const appSetDatabaseUsers = {
237
- path: "/v2/app-installations/{appInstallationId}/databases/{databaseId}/users",
238
- method: "PUT",
239
- operationId: "app-set-database-users",
240
- };
241
223
  /** Get an Article. */
242
224
  export const articleGetArticle = {
243
225
  path: "/v2/articles/{articleId}",
@@ -334,23 +316,17 @@ export const backupGetProjectBackupDirectories = {
334
316
  method: "GET",
335
317
  operationId: "backup-get-project-backup-directories",
336
318
  };
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
319
  /** Restore a ProjectBackup. */
344
320
  export const backupRequestProjectBackupRestore = {
345
321
  path: "/v2/project-backups/{projectBackupId}/restore",
346
322
  method: "POST",
347
323
  operationId: "backup-request-project-backup-restore",
348
324
  };
349
- /** Change the description of a ProjectBackup. */
350
- export const backupUpdateProjectBackupDescription = {
351
- path: "/v2/project-backups/{projectBackupId}/description",
352
- method: "PATCH",
353
- operationId: "backup-update-project-backup-description",
325
+ /** Add a template component to a Stack. */
326
+ export const containerAddTemplateComponent = {
327
+ path: "/v2/stacks/{stackId}/actions/add-template-component",
328
+ method: "POST",
329
+ operationId: "container-add-template-component",
354
330
  };
355
331
  /** Call pull-image webhook */
356
332
  export const containerCallPullImageWebhookForService = {
@@ -520,12 +496,6 @@ export const containerRotatePullImageWebhookForService = {
520
496
  method: "POST",
521
497
  operationId: "container-rotate-pull-image-webhook-for-service",
522
498
  };
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
499
  /** Start a stopped Service. */
530
500
  export const containerStartService = {
531
501
  path: "/v2/stacks/{stackId}/services/{serviceId}/actions/start",
@@ -574,6 +544,12 @@ export const contractGetBaseItemOfContract = {
574
544
  method: "GET",
575
545
  operationId: "contract-get-base-item-of-contract",
576
546
  };
547
+ /** Return the AI Hosting Contract for the given Customer. */
548
+ export const contractGetDetailOfContractByAiHosting = {
549
+ path: "/v2/customers/{customerId}/ai-hostings/{aiHostingId}/contract",
550
+ method: "GET",
551
+ operationId: "contract-get-detail-of-contract-by-ai-hosting",
552
+ };
577
553
  /** Return the Contract for the given Certificate. */
578
554
  export const contractGetDetailOfContractByCertificate = {
579
555
  path: "/v2/certificates/{certificateId}/contract",
@@ -874,12 +850,6 @@ export const cronjobGetExecution = {
874
850
  method: "GET",
875
851
  operationId: "cronjob-get-execution",
876
852
  };
877
- /** Update a Cronjob's app installation id. */
878
- export const cronjobReplaceCronjobAppInstallationId = {
879
- path: "/v2/cronjobs/{cronjobId}/app-installation-id",
880
- method: "PUT",
881
- operationId: "cronjob-replace-cronjob-app-installation-id",
882
- };
883
853
  /** Accept a CustomerInvite. */
884
854
  export const customerAcceptCustomerInvite = {
885
855
  path: "/v2/customer-invites/{customerInviteId}/actions/accept",
@@ -2344,18 +2314,6 @@ export const projectResendProjectInviteMail = {
2344
2314
  method: "POST",
2345
2315
  operationId: "project-resend-project-invite-mail",
2346
2316
  };
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
2317
  /** Register a tariff change for a legacy tariff. */
2360
2318
  export const relocationCreateLegacyTariffChange = {
2361
2319
  path: "/v2/legacy-tariff-change",
@@ -2506,18 +2464,6 @@ export const storagespaceUpdateServerStatistics = {
2506
2464
  method: "PATCH",
2507
2465
  operationId: "storagespace-update-server-statistics",
2508
2466
  };
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
2467
  /** Add phone number and start verification process. */
2522
2468
  export const userAddPhoneNumber = {
2523
2469
  path: "/v2/users/{userId}/phone",
@@ -2848,15 +2794,3 @@ export const verificationVerifyCompany = {
2848
2794
  method: "POST",
2849
2795
  operationId: "verification-verify-company",
2850
2796
  };
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. */
@@ -61,8 +61,6 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
61
61
  getSystemsoftware: this.requestFunctionFactory(descriptors.appGetSystemsoftware),
62
62
  /** Get a SystemSoftwareVersion. */
63
63
  getSystemsoftwareversion: this.requestFunctionFactory(descriptors.appGetSystemsoftwareversion),
64
- /** Create linkage between an AppInstallation and a MySQLDatabase. */
65
- linkDatabase: this.requestFunctionFactory(descriptors.appLinkDatabase),
66
64
  /** List AppInstallations that a user has access to. */
67
65
  listAppinstallationsForUser: this.requestFunctionFactory(descriptors.appListAppinstallationsForUser),
68
66
  /** List AppInstallations belonging to a Project. */
@@ -79,14 +77,10 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
79
77
  listSystemsoftwareversions: this.requestFunctionFactory(descriptors.appListSystemsoftwareversions),
80
78
  /** List update candidates belonging to an AppVersion. */
81
79
  listUpdateCandidatesForAppversion: this.requestFunctionFactory(descriptors.appListUpdateCandidatesForAppversion),
82
- /** Replace a MySQL Database with another MySQL Database. */
83
- replaceDatabase: this.requestFunctionFactory(descriptors.appReplaceDatabase),
84
80
  /** Request a copy of an AppInstallation. */
85
81
  requestAppinstallationCopy: this.requestFunctionFactory(descriptors.appRequestAppinstallationCopy),
86
82
  /** Get runtime status belonging to an AppInstallation. */
87
83
  retrieveStatus: this.requestFunctionFactory(descriptors.appRetrieveStatus),
88
- /** Create linkage between an AppInstallation and DatabaseUsers. */
89
- setDatabaseUsers: this.requestFunctionFactory(descriptors.appSetDatabaseUsers),
90
84
  /** Remove linkage between an AppInstallation and a Database. */
91
85
  unlinkDatabase: this.requestFunctionFactory(descriptors.appUnlinkDatabase),
92
86
  };
@@ -127,15 +121,13 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
127
121
  getProjectBackupDatabaseDumps: this.requestFunctionFactory(descriptors.backupGetProjectBackupDatabaseDumps),
128
122
  /** List paths for a ProjectBackup. */
129
123
  getProjectBackupDirectories: this.requestFunctionFactory(descriptors.backupGetProjectBackupDirectories),
130
- /** Update a Backup's expiration time. */
131
- replaceProjectBackupExpirationTime: this.requestFunctionFactory(descriptors.backupReplaceProjectBackupExpirationTime),
132
124
  /** Restore a ProjectBackup. */
133
125
  requestProjectBackupRestore: this.requestFunctionFactory(descriptors.backupRequestProjectBackupRestore),
134
- /** Change the description of a ProjectBackup. */
135
- updateProjectBackupDescription: this.requestFunctionFactory(descriptors.backupUpdateProjectBackupDescription),
136
126
  };
137
127
  /** The container API allows you to manage your stacks, containers, volumes and registries. */
138
128
  container = {
129
+ /** Add a template component to a Stack. */
130
+ addTemplateComponent: this.requestFunctionFactory(descriptors.containerAddTemplateComponent),
139
131
  /** Call pull-image webhook */
140
132
  callPullImageWebhookForService: this.requestFunctionFactory(descriptors.containerCallPullImageWebhookForService),
141
133
  /** List Registries belonging to a Project. */
@@ -192,14 +184,10 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
192
184
  restartService: this.requestFunctionFactory(descriptors.containerRestartService),
193
185
  /** Create or rotate pull-image webhook token */
194
186
  rotatePullImageWebhookForService: this.requestFunctionFactory(descriptors.containerRotatePullImageWebhookForService),
195
- /** Set an update schedule for a Stack. */
196
- setStackUpdateSchedule: this.requestFunctionFactory(descriptors.containerSetStackUpdateSchedule),
197
187
  /** Start a stopped Service. */
198
188
  startService: this.requestFunctionFactory(descriptors.containerStartService),
199
189
  /** Stop a started Service. */
200
190
  stopService: this.requestFunctionFactory(descriptors.containerStopService),
201
- /** Add a template component to a Stack. */
202
- addTemplateComponent: this.requestFunctionFactory(descriptors.containerAddTemplateComponent),
203
191
  };
204
192
  /** The contract API allows you to manage your contracts and orders */
205
193
  contract = {
@@ -215,6 +203,8 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
215
203
  cancelContractTermination: this.requestFunctionFactory(descriptors.contractCancelContractTermination),
216
204
  /** Return the BaseItem of the Contract with the given ID. */
217
205
  getBaseItemOfContract: this.requestFunctionFactory(descriptors.contractGetBaseItemOfContract),
206
+ /** Return the AI Hosting Contract for the given Customer. */
207
+ getDetailOfContractByAiHosting: this.requestFunctionFactory(descriptors.contractGetDetailOfContractByAiHosting),
218
208
  /** Return the Contract for the given Certificate. */
219
209
  getDetailOfContractByCertificate: this.requestFunctionFactory(descriptors.contractGetDetailOfContractByCertificate),
220
210
  /** Return the Contract for the given Domain. */
@@ -261,8 +251,6 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
261
251
  orderPreviewOrder: this.requestFunctionFactory(descriptors.orderPreviewOrder),
262
252
  /** Preview TariffChange. */
263
253
  orderPreviewTariffChange: this.requestFunctionFactory(descriptors.orderPreviewTariffChange),
264
- /** Return the AI Hosting Contract for the given Customer. */
265
- getDetailOfContractByAiHosting: this.requestFunctionFactory(descriptors.contractGetDetailOfContractByAiHosting),
266
254
  };
267
255
  /** The marketplace API allows you to manage extensions and more information regaring the marketplace. */
268
256
  marketplace = {
@@ -448,8 +436,6 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
448
436
  getExecutionAnalysis: this.requestFunctionFactory(descriptors.cronjobGetExecutionAnalysis),
449
437
  /** Get a CronjobExecution. */
450
438
  getExecution: this.requestFunctionFactory(descriptors.cronjobGetExecution),
451
- /** Update a Cronjob's app installation id. */
452
- replaceCronjobAppInstallationId: this.requestFunctionFactory(descriptors.cronjobReplaceCronjobAppInstallationId),
453
439
  };
454
440
  /** The customer API allows you to manage your own organizations and users. */
455
441
  customer = {
@@ -970,10 +956,6 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
970
956
  listServers: this.requestFunctionFactory(descriptors.projectListServers),
971
957
  /** Resend the mail for a ProjectInvite. */
972
958
  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
959
  /** Get storage space Statistics belonging to a Project. */
978
960
  storagespaceGetProjectStatistics: this.requestFunctionFactory(descriptors.storagespaceGetProjectStatistics),
979
961
  /** Update a Project's storage space statistics. */
@@ -982,10 +964,6 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
982
964
  storagespaceGetServerStatistics: this.requestFunctionFactory(descriptors.storagespaceGetServerStatistics),
983
965
  /** Update a Server's storage space statistics. */
984
966
  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
967
  };
990
968
  /** The filesystem API allows you to directly access the filesystem of your project. */
991
969
  projectFileSystem = {
@@ -154,12 +154,6 @@ export const appGetSystemsoftwareversion = {
154
154
  method: "GET",
155
155
  operationId: "app-get-systemsoftwareversion",
156
156
  };
157
- /** Create linkage between an AppInstallation and a MySQLDatabase. */
158
- export const appLinkDatabase = {
159
- path: "/v3-next/app-installations/{appInstallationId}/database",
160
- method: "PATCH",
161
- operationId: "app-link-database",
162
- };
163
157
  /** List AppInstallations that a user has access to. */
164
158
  export const appListAppinstallationsForUser = {
165
159
  path: "/v3-next/app-installations",
@@ -208,12 +202,6 @@ export const appListUpdateCandidatesForAppversion = {
208
202
  method: "GET",
209
203
  operationId: "app-list-update-candidates-for-appversion",
210
204
  };
211
- /** Replace a MySQL Database with another MySQL Database. */
212
- export const appReplaceDatabase = {
213
- path: "/v3-next/app-installations/{appInstallationId}/database/replace",
214
- method: "PATCH",
215
- operationId: "app-replace-database",
216
- };
217
205
  /** Request a copy of an AppInstallation. */
218
206
  export const appRequestAppinstallationCopy = {
219
207
  path: "/v3-next/app-installations/{appInstallationId}/actions/copy",
@@ -226,12 +214,6 @@ export const appRetrieveStatus = {
226
214
  method: "GET",
227
215
  operationId: "app-retrieve-status",
228
216
  };
229
- /** Create linkage between an AppInstallation and DatabaseUsers. */
230
- export const appSetDatabaseUsers = {
231
- path: "/v3-next/app-installations/{appInstallationId}/databases/{databaseId}/users",
232
- method: "PUT",
233
- operationId: "app-set-database-users",
234
- };
235
217
  /** Remove linkage between an AppInstallation and a Database. */
236
218
  export const appUnlinkDatabase = {
237
219
  path: "/v3-next/app-installations/{appInstallationId}/databases/{databaseId}",
@@ -334,23 +316,17 @@ export const backupGetProjectBackupDirectories = {
334
316
  method: "GET",
335
317
  operationId: "backup-get-project-backup-directories",
336
318
  };
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
319
  /** Restore a ProjectBackup. */
344
320
  export const backupRequestProjectBackupRestore = {
345
321
  path: "/v3-next/project-backups/{projectBackupId}/restore",
346
322
  method: "POST",
347
323
  operationId: "backup-request-project-backup-restore",
348
324
  };
349
- /** Change the description of a ProjectBackup. */
350
- export const backupUpdateProjectBackupDescription = {
351
- path: "/v3-next/project-backups/{projectBackupId}/description",
352
- method: "PATCH",
353
- operationId: "backup-update-project-backup-description",
325
+ /** Add a template component to a Stack. */
326
+ export const containerAddTemplateComponent = {
327
+ path: "/v3-next/stacks/{stackId}/actions/add-template-component",
328
+ method: "POST",
329
+ operationId: "container-add-template-component",
354
330
  };
355
331
  /** Call pull-image webhook */
356
332
  export const containerCallPullImageWebhookForService = {
@@ -520,12 +496,6 @@ export const containerRotatePullImageWebhookForService = {
520
496
  method: "POST",
521
497
  operationId: "container-rotate-pull-image-webhook-for-service",
522
498
  };
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
499
  /** Start a stopped Service. */
530
500
  export const containerStartService = {
531
501
  path: "/v3-next/stacks/{stackId}/services/{serviceId}/actions/start",
@@ -574,6 +544,12 @@ export const contractGetBaseItemOfContract = {
574
544
  method: "GET",
575
545
  operationId: "contract-get-base-item-of-contract",
576
546
  };
547
+ /** Return the AI Hosting Contract for the given Customer. */
548
+ export const contractGetDetailOfContractByAiHosting = {
549
+ path: "/v3-next/customers/{customerId}/ai-hostings/{aiHostingId}/contract",
550
+ method: "GET",
551
+ operationId: "contract-get-detail-of-contract-by-ai-hosting",
552
+ };
577
553
  /** Return the Contract for the given Certificate. */
578
554
  export const contractGetDetailOfContractByCertificate = {
579
555
  path: "/v3-next/certificates/{certificateId}/contract",
@@ -874,12 +850,6 @@ export const cronjobGetExecution = {
874
850
  method: "GET",
875
851
  operationId: "cronjob-get-execution",
876
852
  };
877
- /** Update a Cronjob's app installation id. */
878
- export const cronjobReplaceCronjobAppInstallationId = {
879
- path: "/v3-next/cronjobs/{cronjobId}/app-installation-id",
880
- method: "PUT",
881
- operationId: "cronjob-replace-cronjob-app-installation-id",
882
- };
883
853
  /** Accept a CustomerInvite. */
884
854
  export const customerAcceptCustomerInvite = {
885
855
  path: "/v3-next/customer-invites/{customerInviteId}/actions/accept",
@@ -2344,18 +2314,6 @@ export const projectResendProjectInviteMail = {
2344
2314
  method: "POST",
2345
2315
  operationId: "project-resend-project-invite-mail",
2346
2316
  };
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
2317
  /** Register a tariff change for a legacy tariff. */
2360
2318
  export const relocationCreateLegacyTariffChange = {
2361
2319
  path: "/v3-next/legacy-tariff-change",
@@ -2506,18 +2464,6 @@ export const storagespaceUpdateServerStatistics = {
2506
2464
  method: "PATCH",
2507
2465
  operationId: "storagespace-update-server-statistics",
2508
2466
  };
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
2467
  /** Add phone number and start verification process. */
2522
2468
  export const userAddPhoneNumber = {
2523
2469
  path: "/v3-next/users/{userId}/phone",
@@ -2848,15 +2794,3 @@ export const verificationVerifyCompany = {
2848
2794
  method: "POST",
2849
2795
  operationId: "verification-verify-company",
2850
2796
  };
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
- };
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '4.429.0';
1
+ export const MittwaldAPIClientVersion = '4.430.0';
@@ -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. */