@mittwald/api-client 4.16.0 → 4.17.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.
@@ -64,6 +64,12 @@ export const appLinkDatabase = {
64
64
  method: "PATCH",
65
65
  operationId: "app-link-database",
66
66
  };
67
+ /** List AppInstallations that a user has access to. */
68
+ export const appListAppinstallationsForUser = {
69
+ path: "/v2/app-installations",
70
+ method: "GET",
71
+ operationId: "app-list-appinstallations-for-user",
72
+ };
67
73
  /** List AppInstallations belonging to a Project. */
68
74
  export const appListAppinstallations = {
69
75
  path: "/v2/projects/{projectId}/app-installations",
@@ -214,6 +220,138 @@ export const backupUpdateProjectBackupDescription = {
214
220
  method: "PATCH",
215
221
  operationId: "backup-update-project-backup-description",
216
222
  };
223
+ /** List Registries belonging to a Project. */
224
+ export const containerListRegistries = {
225
+ path: "/v2/projects/{projectId}/registries",
226
+ method: "GET",
227
+ operationId: "container-list-registries",
228
+ };
229
+ /** Create a Registry. */
230
+ export const containerCreateRegistry = {
231
+ path: "/v2/projects/{projectId}/registries",
232
+ method: "POST",
233
+ operationId: "container-create-registry",
234
+ };
235
+ /** Get a Stack. */
236
+ export const containerGetStack = {
237
+ path: "/v2/stacks/{stackId}",
238
+ method: "GET",
239
+ operationId: "container-get-stack",
240
+ };
241
+ /** Declaratively create, update or delete Services or Volumes belonging to a Stack. */
242
+ export const containerDeclareStack = {
243
+ path: "/v2/stacks/{stackId}",
244
+ method: "PUT",
245
+ operationId: "container-declare-stack",
246
+ };
247
+ /** Create, update or delete Services or Volumes belonging to a Stack. */
248
+ export const containerUpdateStack = {
249
+ path: "/v2/stacks/{stackId}",
250
+ method: "PATCH",
251
+ operationId: "container-update-stack",
252
+ };
253
+ /** Get a Registry. */
254
+ export const containerGetRegistry = {
255
+ path: "/v2/registries/{registryId}",
256
+ method: "GET",
257
+ operationId: "container-get-registry",
258
+ };
259
+ /** Delete a Registry. */
260
+ export const containerDeleteRegistry = {
261
+ path: "/v2/registries/{registryId}",
262
+ method: "DELETE",
263
+ operationId: "container-delete-registry",
264
+ };
265
+ /** Update a Registry. */
266
+ export const containerUpdateRegistry = {
267
+ path: "/v2/registries/{registryId}",
268
+ method: "PATCH",
269
+ operationId: "container-update-registry",
270
+ };
271
+ /** Get a Volume belonging to a Stack. */
272
+ export const containerGetVolume = {
273
+ path: "/v2/stacks/{stackId}/volumes/{volumeId}",
274
+ method: "GET",
275
+ operationId: "container-get-volume",
276
+ };
277
+ /** Delete a Volume belonging to a Stack. */
278
+ export const containerDeleteVolume = {
279
+ path: "/v2/stacks/{stackId}/volumes/{volumeId}",
280
+ method: "DELETE",
281
+ operationId: "container-delete-volume",
282
+ };
283
+ /** Get a ContainerImageConfig. */
284
+ export const containerGetContainerImageConfig = {
285
+ path: "/v2/container-image-config",
286
+ method: "GET",
287
+ operationId: "container-get-container-image-config",
288
+ };
289
+ /** Get logs belonging to a Service. */
290
+ export const containerGetServiceLogs = {
291
+ path: "/v2/stacks/{stackId}/services/{serviceId}/logs",
292
+ method: "GET",
293
+ operationId: "container-get-service-logs",
294
+ };
295
+ /** Get a Service belonging to a Stack. */
296
+ export const containerGetService = {
297
+ path: "/v2/stacks/{stackId}/services/{serviceId}",
298
+ method: "GET",
299
+ operationId: "container-get-service",
300
+ };
301
+ /** List Services belonging to a Project. */
302
+ export const containerListServices = {
303
+ path: "/v2/projects/{projectId}/services",
304
+ method: "GET",
305
+ operationId: "container-list-services",
306
+ };
307
+ /** List Stacks belonging to a Project. */
308
+ export const containerListStacks = {
309
+ path: "/v2/projects/{projectId}/stacks",
310
+ method: "GET",
311
+ operationId: "container-list-stacks",
312
+ };
313
+ /** List Volumes belonging to a Project. */
314
+ export const containerListVolumes = {
315
+ path: "/v2/projects/{projectId}/volumes",
316
+ method: "GET",
317
+ operationId: "container-list-volumes",
318
+ };
319
+ /** Recreate a Service. */
320
+ export const containerRecreateService = {
321
+ path: "/v2/stacks/{stackId}/services/{serviceId}/actions/recreate",
322
+ method: "POST",
323
+ operationId: "container-recreate-service",
324
+ };
325
+ /** Restart a started Service. */
326
+ export const containerRestartService = {
327
+ path: "/v2/stacks/{stackId}/services/{serviceId}/actions/restart",
328
+ method: "POST",
329
+ operationId: "container-restart-service",
330
+ };
331
+ /** Start a stopped Service. */
332
+ export const containerStartService = {
333
+ path: "/v2/stacks/{stackId}/services/{serviceId}/actions/start",
334
+ method: "POST",
335
+ operationId: "container-start-service",
336
+ };
337
+ /** Stop a started Service. */
338
+ export const containerStopService = {
339
+ path: "/v2/stacks/{stackId}/services/{serviceId}/actions/stop",
340
+ method: "POST",
341
+ operationId: "container-stop-service",
342
+ };
343
+ /** Validate a Registries' URI. */
344
+ export const containerValidateContainerRegistryUri = {
345
+ path: "/v2/actions/validate-container-registry-uri",
346
+ method: "POST",
347
+ operationId: "container-validate-container-registry-uri",
348
+ };
349
+ /** Validate a Registries' credentials. */
350
+ export const containerValidateRegistryCredentials = {
351
+ path: "/v2/registries/{registryId}/actions/validate-credentials",
352
+ method: "POST",
353
+ operationId: "container-validate-registry-credentials",
354
+ };
217
355
  /** Schedule the Termination of a ContractItem. */
218
356
  export const contractTerminateContractItem = {
219
357
  path: "/v2/contracts/{contractId}/items/{contractItemId}/termination",
@@ -328,6 +466,12 @@ export const conversationGetConversationMembers = {
328
466
  method: "GET",
329
467
  operationId: "conversation-get-conversation-members",
330
468
  };
469
+ /** Get preferences for customer conversations. */
470
+ export const conversationGetConversationPreferencesOfCustomer = {
471
+ path: "/v2/customers/{customerId}/conversation-preferences",
472
+ method: "GET",
473
+ operationId: "conversation-get-conversation-preferences-of-customer",
474
+ };
331
475
  /** Get a support conversation. */
332
476
  export const conversationGetConversation = {
333
477
  path: "/v2/conversations/{conversationId}",
@@ -832,6 +976,18 @@ export const domainDeleteDomain = {
832
976
  method: "DELETE",
833
977
  operationId: "domain-delete-domain",
834
978
  };
979
+ /** Generate a list of domains from an input using AI. */
980
+ export const domainGenerateFromInput = {
981
+ path: "/v2/domains-generate",
982
+ method: "POST",
983
+ operationId: "domain-generate-from-input",
984
+ };
985
+ /** Generate a list of domains from an input using AI, based on previously generated Domains and a context modification. */
986
+ export const domainGenerateInContext = {
987
+ path: "/v2/domains-generate-in-context",
988
+ method: "POST",
989
+ operationId: "domain-generate-in-context",
990
+ };
835
991
  /** Get the latest screenshot's FileReference belonging to a Domain. */
836
992
  export const domainGetLatestScreenshot = {
837
993
  path: "/v2/domains/{domainId}/latest-screenshot",
@@ -898,6 +1054,12 @@ export const extensionCreateExtensionInstance = {
898
1054
  method: "POST",
899
1055
  operationId: "extension-create-extension-instance",
900
1056
  };
1057
+ /** Create an access token retrieval key for an extension instance. */
1058
+ export const extensionCreateRetrievalKey = {
1059
+ path: "/v2/extension-instances/{extensionInstanceId}/actions/create-access-token-retrieval-key",
1060
+ method: "POST",
1061
+ operationId: "extension-create-retrieval-key",
1062
+ };
901
1063
  /** Get an ExtensionInstance. */
902
1064
  export const extensionGetExtensionInstance = {
903
1065
  path: "/v2/extension-instances/{extensionInstanceId}",
@@ -1120,6 +1282,30 @@ export const mailListProjectMailSettings = {
1120
1282
  method: "GET",
1121
1283
  operationId: "mail-list-project-mail-settings",
1122
1284
  };
1285
+ /** Check if a Migration between two projects is possible. */
1286
+ export const mailMigrationCheckMigrationIsPossible = {
1287
+ path: "/v2/mail-migrations/actions/possibility-check",
1288
+ method: "POST",
1289
+ operationId: "mail-migration-check-migration-is-possible",
1290
+ };
1291
+ /** Get a Migration. */
1292
+ export const mailMigrationGetMigration = {
1293
+ path: "/v2/mail-migrations/{migrationId}",
1294
+ method: "GET",
1295
+ operationId: "mail-migration-get-migration",
1296
+ };
1297
+ /** List Migrations belonging to a Project in customer center or mStudio. */
1298
+ export const mailMigrationListMigrations = {
1299
+ path: "/v2/mail-migrations",
1300
+ method: "GET",
1301
+ operationId: "mail-migration-list-migrations",
1302
+ };
1303
+ /** Request a Mail Migration between two projects. */
1304
+ export const mailMigrationRequestMailMigration = {
1305
+ path: "/v2/mail-migrations/actions/request",
1306
+ method: "POST",
1307
+ operationId: "mail-migration-request-mail-migration",
1308
+ };
1123
1309
  /** Update the description of a DeliveryBox. */
1124
1310
  export const mailUpdateDeliveryBoxDescription = {
1125
1311
  path: "/v2/delivery-boxes/{deliveryBoxId}/description",
@@ -1288,12 +1474,6 @@ export const pageinsightsScheduleStrace = {
1288
1474
  method: "POST",
1289
1475
  operationId: "pageinsights-schedule-strace",
1290
1476
  };
1291
- /** Get a PasswordPolicy. */
1292
- export const passwordValidationGetPasswordPolicy = {
1293
- path: "/v2/password-policies/{passwordPolicy}",
1294
- method: "GET",
1295
- operationId: "password-validation-get-password-policy",
1296
- };
1297
1477
  /** Accept a ProjectInvite. */
1298
1478
  export const projectAcceptProjectInvite = {
1299
1479
  path: "/v2/project-invites/{projectInviteId}/actions/accept",
@@ -1504,12 +1684,6 @@ export const relocationCreateRelocation = {
1504
1684
  method: "POST",
1505
1685
  operationId: "relocation-create-relocation",
1506
1686
  };
1507
- /** Obtain a service token. */
1508
- export const servicetokenAuthenticateService = {
1509
- path: "/v2/services/{accessKeyId}/actions/authenticate",
1510
- method: "POST",
1511
- operationId: "servicetoken-authenticate-service",
1512
- };
1513
1687
  /** Get all SFTPUsers for a Project. */
1514
1688
  export const sftpUserListSftpUsers = {
1515
1689
  path: "/v2/projects/{projectId}/sftp-users",
@@ -1654,12 +1828,6 @@ export const userConfirmPasswordReset = {
1654
1828
  method: "POST",
1655
1829
  operationId: "user-confirm-password-reset",
1656
1830
  };
1657
- /** Create an access token retrieval key to acquire an access token for your user. */
1658
- export const userCreateAccessTokenRetrievalKey = {
1659
- path: "/v2/users/self/token-retrieval-key",
1660
- method: "POST",
1661
- operationId: "user-create-access-token-retrieval-key",
1662
- };
1663
1831
  /** List all of your ApiTokens. */
1664
1832
  export const userListApiTokens = {
1665
1833
  path: "/v2/users/self/api-tokens",
@@ -1822,6 +1990,12 @@ export const userListSessions = {
1822
1990
  method: "GET",
1823
1991
  operationId: "user-list-sessions",
1824
1992
  };
1993
+ /** Refresh a session. */
1994
+ export const userRefreshSession = {
1995
+ path: "/v2/users/self/sessions",
1996
+ method: "PUT",
1997
+ operationId: "user-refresh-session",
1998
+ };
1825
1999
  /** Terminate all sessions, except the current session. */
1826
2000
  export const userTerminateAllSessions = {
1827
2001
  path: "/v2/users/self/sessions",
@@ -1894,3 +2068,9 @@ export const userVerifyRegistration = {
1894
2068
  method: "POST",
1895
2069
  operationId: "user-verify-registration",
1896
2070
  };
2071
+ /** Rotate the secret for an extension instance. */
2072
+ export const contributorRotateSecretForExtensionInstance = {
2073
+ path: "/v2/contributors/{contributorId}/extensions/{extensionId}/extension-instances/{extensionInstanceId}/secret",
2074
+ method: "PUT",
2075
+ operationId: "contributor-rotate-secret-for-extension-instance",
2076
+ };
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '4.15.0';
1
+ export const MittwaldAPIClientVersion = "0.0.0-development";