@mittwald/api-client 0.0.0-development-4124204-20260714 → 0.0.0-development-de8b283-20260817

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.
@@ -96,8 +96,8 @@ const buildContainerApi = (baseClient) => ({
96
96
  getServiceLogs: new ApiCallAsyncResourceFactory(descriptors.containerGetServiceLogs, baseClient.container.getServiceLogs).getApiResource,
97
97
  /** Get a Service belonging to a Stack. */
98
98
  getService: new ApiCallAsyncResourceFactory(descriptors.containerGetService, baseClient.container.getService).getApiResource,
99
- /** Get a Container Template icon. */
100
- getTemplateIcon: new ApiCallAsyncResourceFactory(descriptors.containerGetTemplateIcon, baseClient.container.getTemplateIcon).getApiResource,
99
+ /** Get a Container Template asset. */
100
+ getTemplateAsset: new ApiCallAsyncResourceFactory(descriptors.containerGetTemplateAsset, baseClient.container.getTemplateAsset).getApiResource,
101
101
  /** Get a Container Template by ID. */
102
102
  getTemplate: new ApiCallAsyncResourceFactory(descriptors.containerGetTemplate, baseClient.container.getTemplate).getApiResource,
103
103
  /** List Stacks belonging to the executing user. */
@@ -110,6 +110,8 @@ const buildContainerApi = (baseClient) => ({
110
110
  listTemplates: new ApiCallAsyncResourceFactory(descriptors.containerListTemplates, baseClient.container.listTemplates).getApiResource,
111
111
  /** List Volumes belonging to a Project. */
112
112
  listVolumes: new ApiCallAsyncResourceFactory(descriptors.containerListVolumes, baseClient.container.listVolumes).getApiResource,
113
+ /** List Services the executing user has access to. */
114
+ listAccessibleServices: new ApiCallAsyncResourceFactory(descriptors.containerListAccessibleServices, baseClient.container.listAccessibleServices).getApiResource,
113
115
  });
114
116
  const buildContractApi = (baseClient) => ({
115
117
  /** Return the BaseItem of the Contract with the given ID. */
@@ -12,6 +12,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
12
12
  customerGetKeys: this.requestFunctionFactory(descriptors.aiHostingCustomerGetKeys),
13
13
  /** Creates a new key. */
14
14
  customerCreateKey: this.requestFunctionFactory(descriptors.aiHostingCustomerCreateKey),
15
+ /** Creates an AI hosting profile and accepts the current model terms. */
16
+ customerDeclareProfile: this.requestFunctionFactory(descriptors.aiHostingCustomerDeclareProfile),
15
17
  /** Get a key of a customer. */
16
18
  customerGetKey: this.requestFunctionFactory(descriptors.aiHostingCustomerGetKey),
17
19
  /** Update a key for a customer. */
@@ -67,8 +69,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
67
69
  getSystemsoftware: this.requestFunctionFactory(descriptors.appGetSystemsoftware),
68
70
  /** Get a SystemSoftwareVersion. */
69
71
  getSystemsoftwareversion: this.requestFunctionFactory(descriptors.appGetSystemsoftwareversion),
70
- /** Create linkage between an AppInstallation and a MySQLDatabase. */
71
- linkDatabase: this.requestFunctionFactory(descriptors.appLinkDatabase),
72
72
  /** List AppInstallations that a user has access to. */
73
73
  listAppinstallationsForUser: this.requestFunctionFactory(descriptors.appListAppinstallationsForUser),
74
74
  /** List AppInstallations belonging to a Project. */
@@ -85,14 +85,10 @@ export class MittwaldAPIV2Client extends ApiClientBase {
85
85
  listSystemsoftwareversions: this.requestFunctionFactory(descriptors.appListSystemsoftwareversions),
86
86
  /** List update candidates belonging to an AppVersion. */
87
87
  listUpdateCandidatesForAppversion: this.requestFunctionFactory(descriptors.appListUpdateCandidatesForAppversion),
88
- /** Replace a MySQL Database with another MySQL Database. */
89
- replaceDatabase: this.requestFunctionFactory(descriptors.appReplaceDatabase),
90
88
  /** Request a copy of an AppInstallation. */
91
89
  requestAppinstallationCopy: this.requestFunctionFactory(descriptors.appRequestAppinstallationCopy),
92
90
  /** Get runtime status belonging to an AppInstallation. */
93
91
  retrieveStatus: this.requestFunctionFactory(descriptors.appRetrieveStatus),
94
- /** Create linkage between an AppInstallation and DatabaseUsers. */
95
- setDatabaseUsers: this.requestFunctionFactory(descriptors.appSetDatabaseUsers),
96
92
  /** Remove linkage between an AppInstallation and a Database. */
97
93
  unlinkDatabase: this.requestFunctionFactory(descriptors.appUnlinkDatabase),
98
94
  };
@@ -127,19 +123,19 @@ export class MittwaldAPIV2Client extends ApiClientBase {
127
123
  getProjectBackup: this.requestFunctionFactory(descriptors.backupGetProjectBackup),
128
124
  /** Delete a ProjectBackup. */
129
125
  deleteProjectBackup: this.requestFunctionFactory(descriptors.backupDeleteProjectBackup),
126
+ /** Update a ProjectBackup. */
127
+ updateProjectBackup: this.requestFunctionFactory(descriptors.backupUpdateProjectBackup),
130
128
  /** List database dump's for a ProjectBackup. */
131
129
  getProjectBackupDatabaseDumps: this.requestFunctionFactory(descriptors.backupGetProjectBackupDatabaseDumps),
132
130
  /** List paths for a ProjectBackup. */
133
131
  getProjectBackupDirectories: this.requestFunctionFactory(descriptors.backupGetProjectBackupDirectories),
134
- /** Update a Backup's expiration time. */
135
- replaceProjectBackupExpirationTime: this.requestFunctionFactory(descriptors.backupReplaceProjectBackupExpirationTime),
136
132
  /** Restore a ProjectBackup. */
137
133
  requestProjectBackupRestore: this.requestFunctionFactory(descriptors.backupRequestProjectBackupRestore),
138
- /** Change the description of a ProjectBackup. */
139
- updateProjectBackupDescription: this.requestFunctionFactory(descriptors.backupUpdateProjectBackupDescription),
140
134
  };
141
135
  /** The container API allows you to manage your stacks, containers, volumes and registries. */
142
136
  container = {
137
+ /** Add a template component to a Stack. */
138
+ addTemplateComponent: this.requestFunctionFactory(descriptors.containerAddTemplateComponent),
143
139
  /** Call pull-image webhook */
144
140
  callPullImageWebhookForService: this.requestFunctionFactory(descriptors.containerCallPullImageWebhookForService),
145
141
  /** List Registries belonging to a Project. */
@@ -174,8 +170,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
174
170
  getServiceLogs: this.requestFunctionFactory(descriptors.containerGetServiceLogs),
175
171
  /** Get a Service belonging to a Stack. */
176
172
  getService: this.requestFunctionFactory(descriptors.containerGetService),
177
- /** Get a Container Template icon. */
178
- getTemplateIcon: this.requestFunctionFactory(descriptors.containerGetTemplateIcon),
173
+ /** Get a Container Template asset. */
174
+ getTemplateAsset: this.requestFunctionFactory(descriptors.containerGetTemplateAsset),
179
175
  /** Get a Container Template by ID. */
180
176
  getTemplate: this.requestFunctionFactory(descriptors.containerGetTemplate),
181
177
  /** List Stacks belonging to the executing user. */
@@ -196,12 +192,12 @@ export class MittwaldAPIV2Client extends ApiClientBase {
196
192
  restartService: this.requestFunctionFactory(descriptors.containerRestartService),
197
193
  /** Create or rotate pull-image webhook token */
198
194
  rotatePullImageWebhookForService: this.requestFunctionFactory(descriptors.containerRotatePullImageWebhookForService),
199
- /** Set an update schedule for a Stack. */
200
- setStackUpdateSchedule: this.requestFunctionFactory(descriptors.containerSetStackUpdateSchedule),
201
195
  /** Start a stopped Service. */
202
196
  startService: this.requestFunctionFactory(descriptors.containerStartService),
203
197
  /** Stop a started Service. */
204
198
  stopService: this.requestFunctionFactory(descriptors.containerStopService),
199
+ /** List Services the executing user has access to. */
200
+ listAccessibleServices: this.requestFunctionFactory(descriptors.containerListAccessibleServices),
205
201
  };
206
202
  /** The contract API allows you to manage your contracts and orders */
207
203
  contract = {
@@ -450,8 +446,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
450
446
  getExecutionAnalysis: this.requestFunctionFactory(descriptors.cronjobGetExecutionAnalysis),
451
447
  /** Get a CronjobExecution. */
452
448
  getExecution: this.requestFunctionFactory(descriptors.cronjobGetExecution),
453
- /** Update a Cronjob's app installation id. */
454
- replaceCronjobAppInstallationId: this.requestFunctionFactory(descriptors.cronjobReplaceCronjobAppInstallationId),
455
449
  };
456
450
  /** The customer API allows you to manage your own organizations and users. */
457
451
  customer = {
@@ -530,10 +524,10 @@ export class MittwaldAPIV2Client extends ApiClientBase {
530
524
  patchMysqlDatabase: this.requestFunctionFactory(descriptors.databasePatchMysqlDatabase),
531
525
  /** Get a MySQLUser. */
532
526
  getMysqlUser: this.requestFunctionFactory(descriptors.databaseGetMysqlUser),
533
- /** Update a MySQLUser. */
534
- updateMysqlUser: this.requestFunctionFactory(descriptors.databaseUpdateMysqlUser),
535
527
  /** Delete a MySQLUser. */
536
528
  deleteMysqlUser: this.requestFunctionFactory(descriptors.databaseDeleteMysqlUser),
529
+ /** Update a MySQLUser. */
530
+ updateMysqlUser: this.requestFunctionFactory(descriptors.databaseUpdateMysqlUser),
537
531
  /** Get a RedisDatabase. */
538
532
  getRedisDatabase: this.requestFunctionFactory(descriptors.databaseGetRedisDatabase),
539
533
  /** Delete a RedisDatabase. */
@@ -552,16 +546,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
552
546
  listMysqlVersions: this.requestFunctionFactory(descriptors.databaseListMysqlVersions),
553
547
  /** List RedisVersions. */
554
548
  listRedisVersions: this.requestFunctionFactory(descriptors.databaseListRedisVersions),
555
- /** Update a MySQLDatabase's default character settings. */
556
- updateMysqlDatabaseDefaultCharset: this.requestFunctionFactory(descriptors.databaseUpdateMysqlDatabaseDefaultCharset),
557
- /** Update a MySQLDatabase's description. */
558
- updateMysqlDatabaseDescription: this.requestFunctionFactory(descriptors.databaseUpdateMysqlDatabaseDescription),
559
- /** Update a MySQLUser's password. */
560
- updateMysqlUserPassword: this.requestFunctionFactory(descriptors.databaseUpdateMysqlUserPassword),
561
- /** Update a RedisDatabase's configuration. */
562
- updateRedisDatabaseConfiguration: this.requestFunctionFactory(descriptors.databaseUpdateRedisDatabaseConfiguration),
563
- /** Update a RedisDatabase's description. */
564
- updateRedisDatabaseDescription: this.requestFunctionFactory(descriptors.databaseUpdateRedisDatabaseDescription),
565
549
  };
566
550
  /** The domain API allows you to manage your domains, DNS records, SSL certificates and ingress resources. */
567
551
  domain = {
@@ -968,6 +952,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
968
952
  getProject: this.requestFunctionFactory(descriptors.projectGetProject),
969
953
  /** Delete a Project. */
970
954
  deleteProject: this.requestFunctionFactory(descriptors.projectDeleteProject),
955
+ /** Update a Project. */
956
+ updateProject: this.requestFunctionFactory(descriptors.projectUpdateProject),
971
957
  /** Request a Server avatar upload. */
972
958
  requestServerAvatarUpload: this.requestFunctionFactory(descriptors.projectRequestServerAvatarUpload),
973
959
  /** Delete a Server's avatar. */
@@ -978,6 +964,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
978
964
  getSelfMembershipForProject: this.requestFunctionFactory(descriptors.projectGetSelfMembershipForProject),
979
965
  /** Get a Server. */
980
966
  getServer: this.requestFunctionFactory(descriptors.projectGetServer),
967
+ /** Update a Server. */
968
+ updateServer: this.requestFunctionFactory(descriptors.projectUpdateServer),
981
969
  /** List Projects belonging to a Customer. */
982
970
  listCustomerProjects: this.requestFunctionFactory(descriptors.projectListCustomerProjects),
983
971
  /** List Memberships belonging to a Project. */
@@ -994,18 +982,14 @@ export class MittwaldAPIV2Client extends ApiClientBase {
994
982
  listServers: this.requestFunctionFactory(descriptors.projectListServers),
995
983
  /** Resend the mail for a ProjectInvite. */
996
984
  resendProjectInviteMail: this.requestFunctionFactory(descriptors.projectResendProjectInviteMail),
997
- /** Update a Project's description. */
998
- updateProjectDescription: this.requestFunctionFactory(descriptors.projectUpdateProjectDescription),
999
- /** Update a Servers's description. */
1000
- updateServerDescription: this.requestFunctionFactory(descriptors.projectUpdateServerDescription),
1001
985
  /** Get storage space Statistics belonging to a Project. */
1002
986
  storagespaceGetProjectStatistics: this.requestFunctionFactory(descriptors.storagespaceGetProjectStatistics),
987
+ /** Update a Project's storage space statistics. */
988
+ storagespaceUpdateProjectStatistics: this.requestFunctionFactory(descriptors.storagespaceUpdateProjectStatistics),
1003
989
  /** Get storage space Statistics belonging to a Server. */
1004
990
  storagespaceGetServerStatistics: this.requestFunctionFactory(descriptors.storagespaceGetServerStatistics),
1005
- /** Update a Project's storage space notification threshold. */
1006
- storagespaceReplaceProjectNotificationThreshold: this.requestFunctionFactory(descriptors.storagespaceReplaceProjectNotificationThreshold),
1007
- /** Update a Server's storage space notification threshold. */
1008
- storagespaceReplaceServerNotificationThreshold: this.requestFunctionFactory(descriptors.storagespaceReplaceServerNotificationThreshold),
991
+ /** Update a Server's storage space statistics. */
992
+ storagespaceUpdateServerStatistics: this.requestFunctionFactory(descriptors.storagespaceUpdateServerStatistics),
1009
993
  };
1010
994
  /** The filesystem API allows you to directly access the filesystem of your project. */
1011
995
  projectFileSystem = {
@@ -16,6 +16,12 @@ export const aiHostingCustomerCreateKey = {
16
16
  method: "POST",
17
17
  operationId: "ai-hosting-customer-create-key",
18
18
  };
19
+ /** Creates an AI hosting profile and accepts the current model terms. */
20
+ export const aiHostingCustomerDeclareProfile = {
21
+ path: "/v2/customers/{customerId}/ai-hostings/profile",
22
+ method: "POST",
23
+ operationId: "ai-hosting-customer-declare-profile",
24
+ };
19
25
  /** Get a key of a customer. */
20
26
  export const aiHostingCustomerGetKey = {
21
27
  path: "/v2/customers/{customerId}/ai-hosting-keys/{keyId}",
@@ -172,12 +178,6 @@ export const appGetSystemsoftwareversion = {
172
178
  method: "GET",
173
179
  operationId: "app-get-systemsoftwareversion",
174
180
  };
175
- /** Create linkage between an AppInstallation and a MySQLDatabase. */
176
- export const appLinkDatabase = {
177
- path: "/v2/app-installations/{appInstallationId}/database",
178
- method: "PATCH",
179
- operationId: "app-link-database",
180
- };
181
181
  /** List AppInstallations that a user has access to. */
182
182
  export const appListAppinstallationsForUser = {
183
183
  path: "/v2/app-installations",
@@ -226,12 +226,6 @@ export const appListUpdateCandidatesForAppversion = {
226
226
  method: "GET",
227
227
  operationId: "app-list-update-candidates-for-appversion",
228
228
  };
229
- /** Replace a MySQL Database with another MySQL Database. */
230
- export const appReplaceDatabase = {
231
- path: "/v2/app-installations/{appInstallationId}/database/replace",
232
- method: "PATCH",
233
- operationId: "app-replace-database",
234
- };
235
229
  /** Request a copy of an AppInstallation. */
236
230
  export const appRequestAppinstallationCopy = {
237
231
  path: "/v2/app-installations/{appInstallationId}/actions/copy",
@@ -244,12 +238,6 @@ export const appRetrieveStatus = {
244
238
  method: "GET",
245
239
  operationId: "app-retrieve-status",
246
240
  };
247
- /** Create linkage between an AppInstallation and DatabaseUsers. */
248
- export const appSetDatabaseUsers = {
249
- path: "/v2/app-installations/{appInstallationId}/databases/{databaseId}/users",
250
- method: "PUT",
251
- operationId: "app-set-database-users",
252
- };
253
241
  /** Remove linkage between an AppInstallation and a Database. */
254
242
  export const appUnlinkDatabase = {
255
243
  path: "/v2/app-installations/{appInstallationId}/databases/{databaseId}",
@@ -334,6 +322,12 @@ export const backupDeleteProjectBackup = {
334
322
  method: "DELETE",
335
323
  operationId: "backup-delete-project-backup",
336
324
  };
325
+ /** Update a ProjectBackup. */
326
+ export const backupUpdateProjectBackup = {
327
+ path: "/v2/project-backups/{projectBackupId}",
328
+ method: "PATCH",
329
+ operationId: "backup-update-project-backup",
330
+ };
337
331
  /** List database dump's for a ProjectBackup. */
338
332
  export const backupGetProjectBackupDatabaseDumps = {
339
333
  path: "/v2/project-backups/{projectBackupId}/database-dumps",
@@ -346,23 +340,17 @@ export const backupGetProjectBackupDirectories = {
346
340
  method: "GET",
347
341
  operationId: "backup-get-project-backup-directories",
348
342
  };
349
- /** Update a Backup's expiration time. */
350
- export const backupReplaceProjectBackupExpirationTime = {
351
- path: "/v2/project-backups/{projectBackupId}/expiration-time",
352
- method: "PUT",
353
- operationId: "backup-replace-project-backup-expiration-time",
354
- };
355
343
  /** Restore a ProjectBackup. */
356
344
  export const backupRequestProjectBackupRestore = {
357
345
  path: "/v2/project-backups/{projectBackupId}/restore",
358
346
  method: "POST",
359
347
  operationId: "backup-request-project-backup-restore",
360
348
  };
361
- /** Change the description of a ProjectBackup. */
362
- export const backupUpdateProjectBackupDescription = {
363
- path: "/v2/project-backups/{projectBackupId}/description",
364
- method: "PATCH",
365
- operationId: "backup-update-project-backup-description",
349
+ /** Add a template component to a Stack. */
350
+ export const containerAddTemplateComponent = {
351
+ path: "/v2/stacks/{stackId}/actions/add-template-component",
352
+ method: "POST",
353
+ operationId: "container-add-template-component",
366
354
  };
367
355
  /** Call pull-image webhook */
368
356
  export const containerCallPullImageWebhookForService = {
@@ -466,11 +454,11 @@ export const containerGetService = {
466
454
  method: "GET",
467
455
  operationId: "container-get-service",
468
456
  };
469
- /** Get a Container Template icon. */
470
- export const containerGetTemplateIcon = {
471
- path: "/v2/container-templates/{templateId}/icon",
457
+ /** Get a Container Template asset. */
458
+ export const containerGetTemplateAsset = {
459
+ path: "/v2/container-templates/{templateId}/assets/{assetPath}",
472
460
  method: "GET",
473
- operationId: "container-get-template-icon",
461
+ operationId: "container-get-template-asset",
474
462
  };
475
463
  /** Get a Container Template by ID. */
476
464
  export const containerGetTemplate = {
@@ -532,12 +520,6 @@ export const containerRotatePullImageWebhookForService = {
532
520
  method: "POST",
533
521
  operationId: "container-rotate-pull-image-webhook-for-service",
534
522
  };
535
- /** Set an update schedule for a Stack. */
536
- export const containerSetStackUpdateSchedule = {
537
- path: "/v2/stacks/{stackId}/update-schedule",
538
- method: "PUT",
539
- operationId: "container-set-stack-update-schedule",
540
- };
541
523
  /** Start a stopped Service. */
542
524
  export const containerStartService = {
543
525
  path: "/v2/stacks/{stackId}/services/{serviceId}/actions/start",
@@ -588,7 +570,7 @@ export const contractGetBaseItemOfContract = {
588
570
  };
589
571
  /** Return the AI Hosting Contract for the given Customer. */
590
572
  export const contractGetDetailOfContractByAiHosting = {
591
- path: "/v2/customers/{customerId}/ai-hosting/contract",
573
+ path: "/v2/customers/{customerId}/ai-hostings/{aiHostingId}/contract",
592
574
  method: "GET",
593
575
  operationId: "contract-get-detail-of-contract-by-ai-hosting",
594
576
  };
@@ -892,12 +874,6 @@ export const cronjobGetExecution = {
892
874
  method: "GET",
893
875
  operationId: "cronjob-get-execution",
894
876
  };
895
- /** Update a Cronjob's app installation id. */
896
- export const cronjobReplaceCronjobAppInstallationId = {
897
- path: "/v2/cronjobs/{cronjobId}/app-installation-id",
898
- method: "PUT",
899
- operationId: "cronjob-replace-cronjob-app-installation-id",
900
- };
901
877
  /** Accept a CustomerInvite. */
902
878
  export const customerAcceptCustomerInvite = {
903
879
  path: "/v2/customer-invites/{customerInviteId}/actions/accept",
@@ -1114,18 +1090,18 @@ export const databaseGetMysqlUser = {
1114
1090
  method: "GET",
1115
1091
  operationId: "database-get-mysql-user",
1116
1092
  };
1117
- /** Update a MySQLUser. */
1118
- export const databaseUpdateMysqlUser = {
1119
- path: "/v2/mysql-users/{mysqlUserId}",
1120
- method: "PUT",
1121
- operationId: "database-update-mysql-user",
1122
- };
1123
1093
  /** Delete a MySQLUser. */
1124
1094
  export const databaseDeleteMysqlUser = {
1125
1095
  path: "/v2/mysql-users/{mysqlUserId}",
1126
1096
  method: "DELETE",
1127
1097
  operationId: "database-delete-mysql-user",
1128
1098
  };
1099
+ /** Update a MySQLUser. */
1100
+ export const databaseUpdateMysqlUser = {
1101
+ path: "/v2/mysql-users/{mysqlUserId}",
1102
+ method: "PATCH",
1103
+ operationId: "database-update-mysql-user",
1104
+ };
1129
1105
  /** Get a RedisDatabase. */
1130
1106
  export const databaseGetRedisDatabase = {
1131
1107
  path: "/v2/redis-databases/{redisDatabaseId}",
@@ -1180,36 +1156,6 @@ export const databaseListRedisVersions = {
1180
1156
  method: "GET",
1181
1157
  operationId: "database-list-redis-versions",
1182
1158
  };
1183
- /** Update a MySQLDatabase's default character settings. */
1184
- export const databaseUpdateMysqlDatabaseDefaultCharset = {
1185
- path: "/v2/mysql-databases/{mysqlDatabaseId}/default-charset",
1186
- method: "PATCH",
1187
- operationId: "database-update-mysql-database-default-charset",
1188
- };
1189
- /** Update a MySQLDatabase's description. */
1190
- export const databaseUpdateMysqlDatabaseDescription = {
1191
- path: "/v2/mysql-databases/{mysqlDatabaseId}/description",
1192
- method: "PATCH",
1193
- operationId: "database-update-mysql-database-description",
1194
- };
1195
- /** Update a MySQLUser's password. */
1196
- export const databaseUpdateMysqlUserPassword = {
1197
- path: "/v2/mysql-users/{mysqlUserId}/password",
1198
- method: "PATCH",
1199
- operationId: "database-update-mysql-user-password",
1200
- };
1201
- /** Update a RedisDatabase's configuration. */
1202
- export const databaseUpdateRedisDatabaseConfiguration = {
1203
- path: "/v2/redis-databases/{redisDatabaseId}/configuration",
1204
- method: "PATCH",
1205
- operationId: "database-update-redis-database-configuration",
1206
- };
1207
- /** Update a RedisDatabase's description. */
1208
- export const databaseUpdateRedisDatabaseDescription = {
1209
- path: "/v2/redis-databases/{redisDatabaseId}/description",
1210
- method: "PATCH",
1211
- operationId: "database-update-redis-database-description",
1212
- };
1213
1159
  /** List Domains */
1214
1160
  export const domainListDomains = {
1215
1161
  path: "/v2/domains",
@@ -2314,6 +2260,12 @@ export const projectDeleteProject = {
2314
2260
  method: "DELETE",
2315
2261
  operationId: "project-delete-project",
2316
2262
  };
2263
+ /** Update a Project. */
2264
+ export const projectUpdateProject = {
2265
+ path: "/v2/projects/{projectId}",
2266
+ method: "PATCH",
2267
+ operationId: "project-update-project",
2268
+ };
2317
2269
  /** Request a Server avatar upload. */
2318
2270
  export const projectRequestServerAvatarUpload = {
2319
2271
  path: "/v2/servers/{serverId}/avatar",
@@ -2374,6 +2326,12 @@ export const projectGetServer = {
2374
2326
  method: "GET",
2375
2327
  operationId: "project-get-server",
2376
2328
  };
2329
+ /** Update a Server. */
2330
+ export const projectUpdateServer = {
2331
+ path: "/v2/servers/{serverId}",
2332
+ method: "PATCH",
2333
+ operationId: "project-update-server",
2334
+ };
2377
2335
  /** List Projects belonging to a Customer. */
2378
2336
  export const projectListCustomerProjects = {
2379
2337
  path: "/v2/customers/{customerId}/projects",
@@ -2422,18 +2380,6 @@ export const projectResendProjectInviteMail = {
2422
2380
  method: "POST",
2423
2381
  operationId: "project-resend-project-invite-mail",
2424
2382
  };
2425
- /** Update a Project's description. */
2426
- export const projectUpdateProjectDescription = {
2427
- path: "/v2/projects/{projectId}/description",
2428
- method: "PATCH",
2429
- operationId: "project-update-project-description",
2430
- };
2431
- /** Update a Servers's description. */
2432
- export const projectUpdateServerDescription = {
2433
- path: "/v2/servers/{serverId}/description",
2434
- method: "PATCH",
2435
- operationId: "project-update-server-description",
2436
- };
2437
2383
  /** Register a tariff change for a legacy tariff. */
2438
2384
  export const relocationCreateLegacyTariffChange = {
2439
2385
  path: "/v2/legacy-tariff-change",
@@ -2572,23 +2518,23 @@ export const storagespaceGetProjectStatistics = {
2572
2518
  method: "GET",
2573
2519
  operationId: "storagespace-get-project-statistics",
2574
2520
  };
2521
+ /** Update a Project's storage space statistics. */
2522
+ export const storagespaceUpdateProjectStatistics = {
2523
+ path: "/v2/projects/{projectId}/storage-space-statistics",
2524
+ method: "PATCH",
2525
+ operationId: "storagespace-update-project-statistics",
2526
+ };
2575
2527
  /** Get storage space Statistics belonging to a Server. */
2576
2528
  export const storagespaceGetServerStatistics = {
2577
2529
  path: "/v2/servers/{serverId}/storage-space-statistics",
2578
2530
  method: "GET",
2579
2531
  operationId: "storagespace-get-server-statistics",
2580
2532
  };
2581
- /** Update a Project's storage space notification threshold. */
2582
- export const storagespaceReplaceProjectNotificationThreshold = {
2583
- path: "/v2/projects/{projectId}/storage-space-notification-threshold",
2584
- method: "PUT",
2585
- operationId: "storagespace-replace-project-notification-threshold",
2586
- };
2587
- /** Update a Server's storage space notification threshold. */
2588
- export const storagespaceReplaceServerNotificationThreshold = {
2589
- path: "/v2/servers/{serverId}/storage-space-notification-threshold",
2590
- method: "PUT",
2591
- operationId: "storagespace-replace-server-notification-threshold",
2533
+ /** Update a Server's storage space statistics. */
2534
+ export const storagespaceUpdateServerStatistics = {
2535
+ path: "/v2/servers/{serverId}/storage-space-statistics",
2536
+ method: "PATCH",
2537
+ operationId: "storagespace-update-server-statistics",
2592
2538
  };
2593
2539
  /** Add phone number and start verification process. */
2594
2540
  export const userAddPhoneNumber = {
@@ -2920,3 +2866,9 @@ export const verificationVerifyCompany = {
2920
2866
  method: "POST",
2921
2867
  operationId: "verification-verify-company",
2922
2868
  };
2869
+ /** List Services the executing user has access to. */
2870
+ export const containerListAccessibleServices = {
2871
+ path: "/v2/services",
2872
+ method: "GET",
2873
+ operationId: "container-list-accessible-services",
2874
+ };
@@ -96,8 +96,8 @@ const buildContainerApi = (baseClient) => ({
96
96
  getServiceLogs: new ApiCallAsyncResourceFactory(descriptors.containerGetServiceLogs, baseClient.container.getServiceLogs).getApiResource,
97
97
  /** Get a Service belonging to a Stack. */
98
98
  getService: new ApiCallAsyncResourceFactory(descriptors.containerGetService, baseClient.container.getService).getApiResource,
99
- /** Get a Container Template icon. */
100
- getTemplateIcon: new ApiCallAsyncResourceFactory(descriptors.containerGetTemplateIcon, baseClient.container.getTemplateIcon).getApiResource,
99
+ /** Get a Container Template asset. */
100
+ getTemplateAsset: new ApiCallAsyncResourceFactory(descriptors.containerGetTemplateAsset, baseClient.container.getTemplateAsset).getApiResource,
101
101
  /** Get a Container Template by ID. */
102
102
  getTemplate: new ApiCallAsyncResourceFactory(descriptors.containerGetTemplate, baseClient.container.getTemplate).getApiResource,
103
103
  /** List Stacks belonging to the executing user. */
@@ -110,6 +110,8 @@ const buildContainerApi = (baseClient) => ({
110
110
  listTemplates: new ApiCallAsyncResourceFactory(descriptors.containerListTemplates, baseClient.container.listTemplates).getApiResource,
111
111
  /** List Volumes belonging to a Project. */
112
112
  listVolumes: new ApiCallAsyncResourceFactory(descriptors.containerListVolumes, baseClient.container.listVolumes).getApiResource,
113
+ /** List Services the executing user has access to. */
114
+ listAccessibleServices: new ApiCallAsyncResourceFactory(descriptors.containerListAccessibleServices, baseClient.container.listAccessibleServices).getApiResource,
113
115
  });
114
116
  const buildContractApi = (baseClient) => ({
115
117
  /** Return the BaseItem of the Contract with the given ID. */