@mittwald/api-client 4.15.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}",
@@ -802,6 +946,12 @@ export const domainListDomains = {
802
946
  method: "GET",
803
947
  operationId: "domain-list-domains",
804
948
  };
949
+ /** Check if a Domain is available to transfer. */
950
+ export const domainCheckDomainTransferability = {
951
+ path: "/v2/domain-transferable",
952
+ method: "POST",
953
+ operationId: "domain-check-domain-transferability",
954
+ };
805
955
  /** Create an auth code for a Domains transfer-out process. */
806
956
  export const domainCreateDomainAuthCode = {
807
957
  path: "/v2/domains/{domainId}/actions/auth-code",
@@ -826,6 +976,18 @@ export const domainDeleteDomain = {
826
976
  method: "DELETE",
827
977
  operationId: "domain-delete-domain",
828
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
+ };
829
991
  /** Get the latest screenshot's FileReference belonging to a Domain. */
830
992
  export const domainGetLatestScreenshot = {
831
993
  path: "/v2/domains/{domainId}/latest-screenshot",
@@ -868,6 +1030,90 @@ export const domainUpdateDomainProjectId = {
868
1030
  method: "PATCH",
869
1031
  operationId: "domain-update-domain-project-id",
870
1032
  };
1033
+ /** Authenticate your external application using the extensionInstanceSecret. */
1034
+ export const extensionAuthenticateInstance = {
1035
+ path: "/v2/extension-instances/{extensionInstanceId}/tokens",
1036
+ method: "POST",
1037
+ operationId: "extension-authenticate-instance",
1038
+ };
1039
+ /** Consent to extension scopes. */
1040
+ export const extensionConsentToExtensionScopes = {
1041
+ path: "/v2/extension-instances/{extensionInstanceId}/scopes",
1042
+ method: "PATCH",
1043
+ operationId: "extension-consent-to-extension-scopes",
1044
+ };
1045
+ /** List ExtensionInstances. */
1046
+ export const extensionListExtensionInstances = {
1047
+ path: "/v2/extension-instances",
1048
+ method: "GET",
1049
+ operationId: "extension-list-extension-instances",
1050
+ };
1051
+ /** Create an ExtensionInstance. */
1052
+ export const extensionCreateExtensionInstance = {
1053
+ path: "/v2/extension-instances",
1054
+ method: "POST",
1055
+ operationId: "extension-create-extension-instance",
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
+ };
1063
+ /** Get an ExtensionInstance. */
1064
+ export const extensionGetExtensionInstance = {
1065
+ path: "/v2/extension-instances/{extensionInstanceId}",
1066
+ method: "GET",
1067
+ operationId: "extension-get-extension-instance",
1068
+ };
1069
+ /** Delete an ExtensionInstance. */
1070
+ export const extensionDeleteExtensionInstance = {
1071
+ path: "/v2/extension-instances/{extensionInstanceId}",
1072
+ method: "DELETE",
1073
+ operationId: "extension-delete-extension-instance",
1074
+ };
1075
+ /** Disable an ExtensionInstance. */
1076
+ export const extensionDisableExtensionInstance = {
1077
+ path: "/v2/extension-instances/{extensionInstanceId}/actions/disable",
1078
+ method: "POST",
1079
+ operationId: "extension-disable-extension-instance",
1080
+ };
1081
+ /** Enable an ExtensionInstance. */
1082
+ export const extensionEnableExtensionInstance = {
1083
+ path: "/v2/extension-instances/{extensionInstanceId}/actions/enable",
1084
+ method: "POST",
1085
+ operationId: "extension-enable-extension-instance",
1086
+ };
1087
+ /** Get a Contributor. */
1088
+ export const extensionGetContributor = {
1089
+ path: "/v2/contributors/{contributorId}",
1090
+ method: "GET",
1091
+ operationId: "extension-get-contributor",
1092
+ };
1093
+ /** Get an Extension. */
1094
+ export const extensionGetExtension = {
1095
+ path: "/v2/extensions/{extensionId}",
1096
+ method: "GET",
1097
+ operationId: "extension-get-extension",
1098
+ };
1099
+ /** Get the public key to verify the webhook signature. */
1100
+ export const extensionGetPublicKey = {
1101
+ path: "/v2/webhook-public-keys/{serial}",
1102
+ method: "GET",
1103
+ operationId: "extension-get-public-key",
1104
+ };
1105
+ /** List Contributors. */
1106
+ export const extensionListContributors = {
1107
+ path: "/v2/contributors",
1108
+ method: "GET",
1109
+ operationId: "extension-list-contributors",
1110
+ };
1111
+ /** List Extensions. */
1112
+ export const extensionListExtensions = {
1113
+ path: "/v2/extensions",
1114
+ method: "GET",
1115
+ operationId: "extension-list-extensions",
1116
+ };
871
1117
  /** Create a File. */
872
1118
  export const fileCreateFile = {
873
1119
  path: "/v2/files",
@@ -894,10 +1140,16 @@ export const fileGetFileUploadTypeRules = {
894
1140
  };
895
1141
  /** Get a File. */
896
1142
  export const fileGetFile = {
897
- path: "/v2/files/{fileId}/{fileName}",
1143
+ path: "/v2/files/{fileId}",
898
1144
  method: "GET",
899
1145
  operationId: "file-get-file",
900
1146
  };
1147
+ /** Get a File. */
1148
+ export const fileGetFileWithName = {
1149
+ path: "/v2/files/{fileId}/{fileName}",
1150
+ method: "GET",
1151
+ operationId: "file-get-file-with-name",
1152
+ };
901
1153
  /** List Ingresses. */
902
1154
  export const ingressListIngresses = {
903
1155
  path: "/v2/ingresses",
@@ -1030,6 +1282,30 @@ export const mailListProjectMailSettings = {
1030
1282
  method: "GET",
1031
1283
  operationId: "mail-list-project-mail-settings",
1032
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
+ };
1033
1309
  /** Update the description of a DeliveryBox. */
1034
1310
  export const mailUpdateDeliveryBoxDescription = {
1035
1311
  path: "/v2/delivery-boxes/{deliveryBoxId}/description",
@@ -1126,6 +1402,12 @@ export const notificationsReadNotification = {
1126
1402
  method: "PUT",
1127
1403
  operationId: "notifications-read-notification",
1128
1404
  };
1405
+ /** Get list of Orders. */
1406
+ export const orderListOrders = {
1407
+ path: "/v2/orders",
1408
+ method: "GET",
1409
+ operationId: "order-list-orders",
1410
+ };
1129
1411
  /** Create an Order. */
1130
1412
  export const orderCreateOrder = {
1131
1413
  path: "/v2/orders",
@@ -1192,12 +1474,6 @@ export const pageinsightsScheduleStrace = {
1192
1474
  method: "POST",
1193
1475
  operationId: "pageinsights-schedule-strace",
1194
1476
  };
1195
- /** Get a PasswordPolicy. */
1196
- export const passwordValidationGetPasswordPolicy = {
1197
- path: "/v2/password-policies/{passwordPolicy}",
1198
- method: "GET",
1199
- operationId: "password-validation-get-password-policy",
1200
- };
1201
1477
  /** Accept a ProjectInvite. */
1202
1478
  export const projectAcceptProjectInvite = {
1203
1479
  path: "/v2/project-invites/{projectInviteId}/actions/accept",
@@ -1408,12 +1684,6 @@ export const relocationCreateRelocation = {
1408
1684
  method: "POST",
1409
1685
  operationId: "relocation-create-relocation",
1410
1686
  };
1411
- /** Obtain a service token. */
1412
- export const servicetokenAuthenticateService = {
1413
- path: "/v2/services/{accessKeyId}/actions/authenticate",
1414
- method: "POST",
1415
- operationId: "servicetoken-authenticate-service",
1416
- };
1417
1687
  /** Get all SFTPUsers for a Project. */
1418
1688
  export const sftpUserListSftpUsers = {
1419
1689
  path: "/v2/projects/{projectId}/sftp-users",
@@ -1558,12 +1828,6 @@ export const userConfirmPasswordReset = {
1558
1828
  method: "POST",
1559
1829
  operationId: "user-confirm-password-reset",
1560
1830
  };
1561
- /** Create an access token retrieval key to acquire an access token for your user. */
1562
- export const userCreateAccessTokenRetrievalKey = {
1563
- path: "/v2/users/self/token-retrieval-key",
1564
- method: "POST",
1565
- operationId: "user-create-access-token-retrieval-key",
1566
- };
1567
1831
  /** List all of your ApiTokens. */
1568
1832
  export const userListApiTokens = {
1569
1833
  path: "/v2/users/self/api-tokens",
@@ -1726,6 +1990,12 @@ export const userListSessions = {
1726
1990
  method: "GET",
1727
1991
  operationId: "user-list-sessions",
1728
1992
  };
1993
+ /** Refresh a session. */
1994
+ export const userRefreshSession = {
1995
+ path: "/v2/users/self/sessions",
1996
+ method: "PUT",
1997
+ operationId: "user-refresh-session",
1998
+ };
1729
1999
  /** Terminate all sessions, except the current session. */
1730
2000
  export const userTerminateAllSessions = {
1731
2001
  path: "/v2/users/self/sessions",
@@ -1798,9 +2068,9 @@ export const userVerifyRegistration = {
1798
2068
  method: "POST",
1799
2069
  operationId: "user-verify-registration",
1800
2070
  };
1801
- /** Check if a Domain is available to transfer. */
1802
- export const domainCheckDomainTransferability = {
1803
- path: "/v2/domain-transferable",
1804
- method: "POST",
1805
- operationId: "domain-check-domain-transferability",
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",
1806
2076
  };
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '4.14.1';
1
+ export const MittwaldAPIClientVersion = "0.0.0-development";