@mittwald/api-client 3.1.1 → 3.1.2

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.
Files changed (45) hide show
  1. package/dist/{react.d.ts → cjs/generated/v2/client-react.d.ts} +263 -268
  2. package/dist/cjs/generated/v2/client-react.js +343 -0
  3. package/dist/cjs/generated/v2/client.d.ts +9897 -0
  4. package/dist/cjs/generated/v2/client.js +674 -0
  5. package/dist/cjs/generated/v2/descriptors.d.ts +589 -0
  6. package/dist/cjs/generated/v2/descriptors.js +1760 -0
  7. package/dist/cjs/generated/v2/types.d.ts +14741 -0
  8. package/dist/cjs/generated/v2/types.js +2 -0
  9. package/dist/cjs/index.d.ts +3 -0
  10. package/dist/cjs/index.js +7 -0
  11. package/dist/cjs/react.d.ts +1 -0
  12. package/dist/cjs/react.js +5 -0
  13. package/dist/{index.d.ts → cjs/v2/default.d.ts} +4 -8
  14. package/dist/cjs/v2/default.js +70 -0
  15. package/dist/cjs/v2/react.d.ts +3 -0
  16. package/dist/cjs/v2/react.js +7 -0
  17. package/dist/cjs/version.d.ts +1 -0
  18. package/dist/cjs/version.js +4 -0
  19. package/dist/{react.d.cts → esm/generated/v2/client-react.d.ts} +263 -268
  20. package/dist/esm/generated/v2/client-react.js +347 -0
  21. package/dist/esm/generated/v2/client.d.ts +9897 -0
  22. package/dist/esm/generated/v2/client.js +644 -0
  23. package/dist/esm/generated/v2/descriptors.d.ts +589 -0
  24. package/dist/esm/generated/v2/descriptors.js +1752 -0
  25. package/dist/esm/generated/v2/types.d.ts +14741 -0
  26. package/dist/esm/generated/v2/types.js +1 -0
  27. package/dist/esm/index.d.ts +3 -0
  28. package/dist/esm/index.js +2 -0
  29. package/dist/esm/react.d.ts +1 -0
  30. package/dist/esm/react.js +1 -0
  31. package/dist/{index.d.cts → esm/v2/default.d.ts} +4 -8
  32. package/dist/esm/v2/default.js +53 -0
  33. package/dist/esm/v2/react.d.ts +3 -0
  34. package/dist/esm/v2/react.js +3 -0
  35. package/dist/esm/version.d.ts +1 -0
  36. package/dist/esm/version.js +1 -0
  37. package/dist/version.d.ts +1 -1
  38. package/dist/version.js +1 -1
  39. package/package.json +25 -17
  40. package/dist/chunk-LELXC74W.js +0 -1770
  41. package/dist/client-739be67c.d.ts +0 -25271
  42. package/dist/index.cjs +0 -2627
  43. package/dist/index.js +0 -1440
  44. package/dist/react.cjs +0 -1360
  45. package/dist/react.js +0 -830
@@ -0,0 +1,1760 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.conversationCreateConversation = exports.conversationListConversations = exports.contractListContracts = exports.contractGetNextTerminationDateForItem = exports.contractGetDetailOfContract = exports.contractGetDetailOfContractItem = exports.contractGetDetailOfContractByServer = exports.contractGetDetailOfContractByProject = exports.contractGetDetailOfContractByDomain = exports.contractGetBaseItemOfContract = exports.contractCancelContractTermination = exports.contractTerminateContract = exports.contractCancelContractTariffChange = exports.contractCancelContractItemTermination = exports.contractTerminateContractItem = exports.backupUpdateProjectBackupDescription = exports.backupDeleteProjectBackup = exports.backupGetProjectBackup = exports.backupUpdateProjectBackupSchedule = exports.backupDeleteProjectBackupSchedule = exports.backupGetProjectBackupSchedule = exports.backupCreateProjectBackup = exports.backupListProjectBackups = exports.backupCreateProjectBackupSchedule = exports.backupListProjectBackupSchedules = exports.backupDeleteProjectBackupExport = exports.backupCreateProjectBackupExport = exports.articleListArticles = exports.articleGetArticle = exports.appUnlinkDatabase = exports.appSetDatabaseUsers = exports.appRetrieveStatus = exports.appRequestAppinstallationCopy = exports.appListUpdateCandidatesForAppversion = exports.appListSystemsoftwareversions = exports.appListSystemsoftwares = exports.appListAppversions = exports.appListApps = exports.appRequestAppinstallation = exports.appListAppinstallations = exports.appLinkDatabase = exports.appGetSystemsoftwareversion = exports.appGetSystemsoftware = exports.appGetMissingDependenciesForAppinstallation = exports.appGetAppversion = exports.appPatchAppinstallation = exports.appUninstallAppinstallation = exports.appGetAppinstallation = exports.appGetApp = exports.appExecuteAction = void 0;
4
+ exports.databaseListMysqlUsers = exports.databaseCreateMysqlDatabase = exports.databaseListMysqlDatabases = exports.customerResendCustomerInviteMail = exports.customerRemoveAvatar = exports.customerRequestAvatarUpload = exports.customerListMembershipsForCustomer = exports.customerListInvitesForCustomer = exports.customerListCustomerMemberships = exports.customerListCustomerInvites = exports.customerLeaveCustomer = exports.customerIsCustomerLegallyCompetent = exports.customerGetCustomerTokenInvite = exports.customerDeleteCustomer = exports.customerUpdateCustomer = exports.customerGetCustomer = exports.customerUpdateCustomerMembership = exports.customerDeleteCustomerMembership = exports.customerGetCustomerMembership = exports.customerDeleteCustomerInvite = exports.customerGetCustomerInvite = exports.customerDeleteCategory = exports.customerUpdateCategory = exports.customerGetCustomerCategory = exports.customerDeclineCustomerInvite = exports.customerCreateCustomer = exports.customerListCustomers = exports.customerCreateCustomerInvite = exports.customerCreateCategory = exports.customerListOfCustomerCategories = exports.customerAcceptCustomerInvite = exports.cronjobUpdateCronjobAppId = exports.cronjobGetExecution = exports.cronjobUpdateCronjob = exports.cronjobDeleteCronjob = exports.cronjobGetCronjob = exports.cronjobCreateExecution = exports.cronjobListExecutions = exports.cronjobCreateCronjob = exports.cronjobListCronjobs = exports.cronjobAbortExecution = exports.conversationUpdateMessage = exports.conversationSetConversationStatus = exports.conversationRequestFileUpload = exports.conversationListCategories = exports.conversationUpdateConversation = exports.conversationGetConversation = exports.conversationGetCategory = exports.conversationCreateMessage = exports.conversationListMessagesByConversation = void 0;
5
+ exports.fileGetFileTypeRules = exports.fileGetFileTokenRules = exports.fileGetFileMeta = exports.fileCreateFile = exports.domainVerifyDomainOwnership = exports.domainUpdateDomainProjectId = exports.domainUpdateDomainContact = exports.domainUpdateDomainAuthCode = exports.domainResendDomainEmail = exports.domainListTlds = exports.domainListTldContactSchemas = exports.domainListDomains = exports.domainListDomainOwnerships = exports.domainGetScreenshotForDomain = exports.domainGetDomainOwnership = exports.domainDeleteDomain = exports.domainGetDomain = exports.domainUpdateDomainNameservers = exports.domainCreateDomainAuthCode = exports.domainCreateDomainAuthCode2 = exports.domainCheckDomainRegistrability = exports.domainAbortDomainDeclaration = exports.dnsUpdateRecordSet = exports.dnsSetRecordSetManaged = exports.dnsListDnsZones = exports.dnsDeleteDnsZone = exports.dnsGetDnsZone = exports.dnsCreateDnsZone = exports.newsletterSubscribeUser = exports.databaseUpdateRedisDatabaseDescription = exports.databaseUpdateRedisDatabaseConfiguration = exports.databaseUpdateMysqlUserPassword = exports.databaseUpdateMysqlDatabaseDescription = exports.databaseUpdateMysqlDatabaseDefaultCharset = exports.databaseListRedisVersions = exports.databaseListMysqlVersions = exports.databaseListMysqlCharsets = exports.databaseGetMysqlUserPhpMyAdminUrl = exports.databaseEnableMysqlUser = exports.databaseDisableMysqlUser = exports.databaseDeleteRedisDatabase = exports.databaseGetRedisDatabase = exports.databaseDeleteMysqlUser = exports.databaseUpdateMysqlUser = exports.databaseGetMysqlUser = exports.databaseDeleteMysqlDatabase = exports.databaseGetMysqlDatabase = exports.databaseCreateRedisDatabase = exports.databaseListRedisDatabases = exports.databaseCreateMysqlUser = void 0;
6
+ exports.projectCreateProjectInvite = exports.projectAcceptProjectInvite = exports.passwordValidationGetPasswordPolicy = exports.pageinsightsListPerformanceDataForProject = exports.pageinsightsGetPerformanceData = exports.orderPreviewTariffChange = exports.orderPreviewOrder = exports.orderListProjectOrders = exports.orderListCustomerOrders = exports.orderGetOrder = exports.orderCreateTariffChange = exports.orderCreateOrder = exports.notificationsReadNotification = exports.notificationsReadAllNotifications = exports.notificationsListNotifications = exports.notificationsCountUnreadNotifications = exports.newsletterUnsubscribeUser = exports.newsletterGetInfo = exports.mailUpdateProjectMailSetting = exports.mailUpdateMailAddressSpamProtection = exports.mailUpdateMailAddressQuota = exports.mailUpdateMailAddressPassword = exports.mailUpdateMailAddressForwardAddresses = exports.mailUpdateMailAddressCatchall = exports.mailUpdateMailAddressAutoresponder = exports.mailUpdateMailAddressAddress = exports.mailUpdateDeliveryBoxPassword = exports.mailUpdateDeliveryBoxDescription = exports.mailListProjectMailSettings = exports.mailDeleteMailAddress = exports.mailGetMailAddress = exports.mailDeleteDeliveryBox = exports.mailGetDeliveryBox = exports.mailCreateMailAddress = exports.mailListMailAddresses = exports.mailCreateDeliverybox = exports.mailListDeliveryBoxes = exports.invoiceListCustomerInvoices = exports.invoiceUpdateInvoiceSettings = exports.invoiceGetDetailOfInvoiceSettings = exports.invoiceDetailOfInvoice = exports.ingressTls = exports.ingressRequestAcmeCertificateIssuance = exports.ingressPaths = exports.ingressListForProject = exports.ingressListAccessible = exports.ingressDelete = exports.ingressGetSpecific = exports.ingressCreate = exports.fileGetFile = void 0;
7
+ exports.userChangeEmail = exports.userGetOwnEmail = exports.userAuthenticate = exports.userAuthenticateMfa = exports.userRemovePhoneNumber = exports.userAddPhoneNumber = exports.sshUserUpdateSshUser = exports.sshUserDeleteSshUser = exports.sshUserGetSshUser = exports.sshUserCreateSshUser = exports.sshUserListSshUsers = exports.sftpUserUpdateSftpUser = exports.sftpUserDeleteSftpUser = exports.sftpUserGetSftpUser = exports.sftpUserCreateSftpUser = exports.sftpUserListSftpUsers = exports.servicetokenAuthenticateService = exports.relocationCreateRelocation = exports.relocationCreateLegacyTariffChange = exports.projectUpdateServerDescription = exports.projectUpdateProjectDescription = exports.projectResendProjectInviteMail = exports.projectListServers = exports.projectListProjects = exports.projectListProjectMemberships = exports.projectListProjectInvites = exports.projectListMembershipsForProject = exports.projectListInvitesForProject = exports.projectLeaveProject = exports.projectGetServer = exports.projectGetSelfMembershipForProject = exports.projectGetProjectTokenInvite = exports.projectFileSystemListFiles = exports.projectFileSystemGetJwt = exports.projectFileSystemGetFileContent = exports.projectFileSystemGetDiskUsage = exports.projectFileSystemGetDirectories = exports.projectDeleteServerAvatar = exports.projectRequestServerAvatarUpload = exports.projectDeleteProject = exports.projectGetProject = exports.projectUpdateProjectMembership = exports.projectDeleteProjectMembership = exports.projectGetProjectMembership = exports.projectDeleteProjectInvite = exports.projectGetProjectInvite = exports.projectDeleteProjectAvatar = exports.projectRequestProjectAvatarUpload = exports.projectDeclineProjectInvite = exports.projectCreateProject = void 0;
8
+ exports.userVerifyRegistration = exports.userVerifyPhoneNumber = exports.userVerifyEmail = exports.userSupportCodeRequest = exports.userResendVerificationEmail = exports.userRemoveAvatar = exports.userRequestAvatarUpload = exports.userRegister = exports.userLogout = exports.userTerminateAllSessions = exports.userListSessions = exports.userListFeedback = exports.userInitPasswordReset = exports.userInitMfa = exports.userUpdatePersonalInformation = exports.userGetUser = exports.userTerminateSession = exports.userGetSession = exports.userUpdatePersonalizedSettings = exports.userGetPersonalizedSettings = exports.userGetPasswordUpdatedAt = exports.userUpdateAccount = exports.userGetOwnAccount = exports.userDeleteUser = exports.userDeleteSshKey = exports.userEditSshKey = exports.userGetSshKey = exports.userDeleteApiToken = exports.userEditApiToken = exports.userGetApiToken = exports.userCreateSshKey = exports.userListSshKeys = exports.userCreateFeedback = exports.userCreateApiToken = exports.userListApiTokens = exports.userConfirmPasswordReset = exports.userDisableMfa = exports.userConfirmMfa = exports.userResetRecoverycodes = exports.userGetMfaStatus = exports.userCheckToken = exports.userChangePassword = void 0;
9
+ /** Execute a runtime concerning action on a specific `AppInstallation`. */
10
+ exports.appExecuteAction = {
11
+ path: "/v2/appinstallations/{appInstallationId}/actions/{action}",
12
+ method: "POST",
13
+ operationId: "app-execute-action",
14
+ };
15
+ /** Get a specific `App`. */
16
+ exports.appGetApp = {
17
+ path: "/v2/apps/{appId}",
18
+ method: "GET",
19
+ operationId: "app-get-app",
20
+ };
21
+ /** Get a specific `AppInstallation`. */
22
+ exports.appGetAppinstallation = {
23
+ path: "/v2/appinstallations/{appInstallationId}",
24
+ method: "GET",
25
+ operationId: "app-get-appinstallation",
26
+ };
27
+ /** Start uninstallation process for a specific `AppInstallation`. */
28
+ exports.appUninstallAppinstallation = {
29
+ path: "/v2/appinstallations/{appInstallationId}",
30
+ method: "DELETE",
31
+ operationId: "app-uninstall-appinstallation",
32
+ };
33
+ /** Patch desired properties of a specific `AppInstallation`. */
34
+ exports.appPatchAppinstallation = {
35
+ path: "/v2/appinstallations/{appInstallationId}",
36
+ method: "PATCH",
37
+ operationId: "app-patch-appinstallation",
38
+ };
39
+ /** Get a specific `AppVersion`. */
40
+ exports.appGetAppversion = {
41
+ path: "/v2/apps/{appId}/versions/{appVersionId}",
42
+ method: "GET",
43
+ operationId: "app-get-appversion",
44
+ };
45
+ /** Get the missing requirements of an appInstallation for a specific target AppVersion. */
46
+ exports.appGetMissingDependenciesForAppinstallation = {
47
+ path: "/v2/appinstallations/{appInstallationId}/missing-dependencies",
48
+ method: "GET",
49
+ operationId: "app-get-missing-dependencies-for-appinstallation",
50
+ };
51
+ /** Get a specific `SystemSoftware`. */
52
+ exports.appGetSystemsoftware = {
53
+ path: "/v2/systemsoftwares/{systemSoftwareId}",
54
+ method: "GET",
55
+ operationId: "app-get-systemsoftware",
56
+ };
57
+ /** Get a specific `SystemSoftwareVersion`. */
58
+ exports.appGetSystemsoftwareversion = {
59
+ path: "/v2/systemsoftware/{systemSoftwareId}/versions/{systemSoftwareVersionId}",
60
+ method: "GET",
61
+ operationId: "app-get-systemsoftwareversion",
62
+ };
63
+ /** Create linkage between an `AppInstallation` and a MySql-`Database`. */
64
+ exports.appLinkDatabase = {
65
+ path: "/v2/appinstallations/{appInstallationId}/databases",
66
+ method: "PUT",
67
+ operationId: "app-link-database",
68
+ };
69
+ /** Get all `AppInstallations` inside a specific `Project`. */
70
+ exports.appListAppinstallations = {
71
+ path: "/v2/projects/{projectId}/appinstallations",
72
+ method: "GET",
73
+ operationId: "app-list-appinstallations",
74
+ };
75
+ /** Request a new `AppInstallation`. */
76
+ exports.appRequestAppinstallation = {
77
+ path: "/v2/projects/{projectId}/appinstallations",
78
+ method: "POST",
79
+ operationId: "app-request-appinstallation",
80
+ };
81
+ /** Get all available `Apps`. */
82
+ exports.appListApps = {
83
+ path: "/v2/apps",
84
+ method: "GET",
85
+ operationId: "app-list-apps",
86
+ };
87
+ /** Get all `AppVersions` of a specific `App`. */
88
+ exports.appListAppversions = {
89
+ path: "/v2/apps/{appId}/versions",
90
+ method: "GET",
91
+ operationId: "app-list-appversions",
92
+ };
93
+ /** Get all available `SystemSoftware`. */
94
+ exports.appListSystemsoftwares = {
95
+ path: "/v2/systemsoftwares",
96
+ method: "GET",
97
+ operationId: "app-list-systemsoftwares",
98
+ };
99
+ /** Get all available `SystemSoftwareVersions` of a specific `SystemSoftware`. */
100
+ exports.appListSystemsoftwareversions = {
101
+ path: "/v2/systemsoftware/{systemSoftwareId}/versions",
102
+ method: "GET",
103
+ operationId: "app-list-systemsoftwareversions",
104
+ };
105
+ /** Get all update candidates for a specific `AppVersion`. */
106
+ exports.appListUpdateCandidatesForAppversion = {
107
+ path: "/v2/apps/{appId}/versions/{baseAppVersionId}/update-candidates",
108
+ method: "GET",
109
+ operationId: "app-list-update-candidates-for-appversion",
110
+ };
111
+ /** Request a copy of an `AppInstallation`. */
112
+ exports.appRequestAppinstallationCopy = {
113
+ path: "/v2/appinstallations/{id}/actions/copy",
114
+ method: "POST",
115
+ operationId: "app-request-appinstallation-copy",
116
+ };
117
+ /** Get runtime status of a specific `AppInstallation`. */
118
+ exports.appRetrieveStatus = {
119
+ path: "/v2/appinstallations/{appInstallationId}/status",
120
+ method: "GET",
121
+ operationId: "app-retrieve-status",
122
+ };
123
+ /** Create linkage between an `AppInstallation` and `DatabaseUsers`. */
124
+ exports.appSetDatabaseUsers = {
125
+ path: "/v2/appinstallations/{appInstallationId}/databases/{databaseId}",
126
+ method: "PUT",
127
+ operationId: "app-set-database-users",
128
+ };
129
+ /** Remove linkage between an `AppInstallation` and a `Database`. */
130
+ exports.appUnlinkDatabase = {
131
+ path: "/v2/appinstallations/{appInstallationId}/databases/{databaseId}",
132
+ method: "DELETE",
133
+ operationId: "app-unlink-database",
134
+ };
135
+ /** Get an Article. */
136
+ exports.articleGetArticle = {
137
+ path: "/v2/articles/{articleId}",
138
+ method: "GET",
139
+ operationId: "article-get-article",
140
+ };
141
+ /** List Articles. */
142
+ exports.articleListArticles = {
143
+ path: "/v2/articles",
144
+ method: "GET",
145
+ operationId: "article-list-articles",
146
+ };
147
+ /** Export a ProjectBackup for download. */
148
+ exports.backupCreateProjectBackupExport = {
149
+ path: "/v2/project-backups/{projectBackupId}/export",
150
+ method: "POST",
151
+ operationId: "backup-create-project-backup-export",
152
+ };
153
+ /** Delete a ProjectBackupExport. */
154
+ exports.backupDeleteProjectBackupExport = {
155
+ path: "/v2/project-backups/{projectBackupId}/export",
156
+ method: "DELETE",
157
+ operationId: "backup-delete-project-backup-export",
158
+ };
159
+ /** List BackupSchedules belonging to a Project. */
160
+ exports.backupListProjectBackupSchedules = {
161
+ path: "/v2/projects/{projectId}/backup-schedules",
162
+ method: "GET",
163
+ operationId: "backup-list-project-backup-schedules",
164
+ };
165
+ /** Create a BackupSchedule for a Project. */
166
+ exports.backupCreateProjectBackupSchedule = {
167
+ path: "/v2/projects/{projectId}/backup-schedules",
168
+ method: "POST",
169
+ operationId: "backup-create-project-backup-schedule",
170
+ };
171
+ /** List Backups belonging to a Project. */
172
+ exports.backupListProjectBackups = {
173
+ path: "/v2/projects/{projectId}/backups",
174
+ method: "GET",
175
+ operationId: "backup-list-project-backups",
176
+ };
177
+ /** Create a Backup of a Project. */
178
+ exports.backupCreateProjectBackup = {
179
+ path: "/v2/projects/{projectId}/backups",
180
+ method: "POST",
181
+ operationId: "backup-create-project-backup",
182
+ };
183
+ /** Get a ProjectBackupSchedule. */
184
+ exports.backupGetProjectBackupSchedule = {
185
+ path: "/v2/project-backup-schedules/{projectBackupScheduleId}",
186
+ method: "GET",
187
+ operationId: "backup-get-project-backup-schedule",
188
+ };
189
+ /** Delete a ProjectBackupSchedule. */
190
+ exports.backupDeleteProjectBackupSchedule = {
191
+ path: "/v2/project-backup-schedules/{projectBackupScheduleId}",
192
+ method: "DELETE",
193
+ operationId: "backup-delete-project-backup-schedule",
194
+ };
195
+ /** Update a ProjectBackupSchedule. */
196
+ exports.backupUpdateProjectBackupSchedule = {
197
+ path: "/v2/project-backup-schedules/{projectBackupScheduleId}",
198
+ method: "PATCH",
199
+ operationId: "backup-update-project-backup-schedule",
200
+ };
201
+ /** Get a ProjectBackup. */
202
+ exports.backupGetProjectBackup = {
203
+ path: "/v2/project-backups/{projectBackupId}",
204
+ method: "GET",
205
+ operationId: "backup-get-project-backup",
206
+ };
207
+ /** Delete a ProjectBackup. */
208
+ exports.backupDeleteProjectBackup = {
209
+ path: "/v2/project-backups/{projectBackupId}",
210
+ method: "DELETE",
211
+ operationId: "backup-delete-project-backup",
212
+ };
213
+ /** Change the description of a ProjectBackup. */
214
+ exports.backupUpdateProjectBackupDescription = {
215
+ path: "/v2/project-backups/{projectBackupId}/description",
216
+ method: "PATCH",
217
+ operationId: "backup-update-project-backup-description",
218
+ };
219
+ /** Schedule the Termination of a ContractItem. */
220
+ exports.contractTerminateContractItem = {
221
+ path: "/v2/contracts/{contractId}/items/{contractItemId}/termination",
222
+ method: "POST",
223
+ operationId: "contract-terminate-contract-item",
224
+ };
225
+ /** Cancel the Termination for the referred ContractItem. */
226
+ exports.contractCancelContractItemTermination = {
227
+ path: "/v2/contracts/{contractId}/items/{contractItemId}/termination",
228
+ method: "DELETE",
229
+ operationId: "contract-cancel-contract-item-termination",
230
+ };
231
+ /** Cancel the TariffChange for the referred ContractItem. */
232
+ exports.contractCancelContractTariffChange = {
233
+ path: "/v2/contracts/{contractId}/items/{contractItemId}/tariff-change",
234
+ method: "DELETE",
235
+ operationId: "contract-cancel-contract-tariff-change",
236
+ };
237
+ /** Schedule the Termination of a Contract. */
238
+ exports.contractTerminateContract = {
239
+ path: "/v2/contracts/{contractId}/termination",
240
+ method: "POST",
241
+ operationId: "contract-terminate-contract",
242
+ };
243
+ /** Cancel the Termination for the referred Contract. */
244
+ exports.contractCancelContractTermination = {
245
+ path: "/v2/contracts/{contractId}/termination",
246
+ method: "DELETE",
247
+ operationId: "contract-cancel-contract-termination",
248
+ };
249
+ /** Return the BaseItem of the Contract with the given ID. */
250
+ exports.contractGetBaseItemOfContract = {
251
+ path: "/v2/contracts/{contractId}/base-items",
252
+ method: "GET",
253
+ operationId: "contract-get-base-item-of-contract",
254
+ };
255
+ /** Return the Contract for the given Domain. */
256
+ exports.contractGetDetailOfContractByDomain = {
257
+ path: "/v2/domains/{domainId}/contract",
258
+ method: "GET",
259
+ operationId: "contract-get-detail-of-contract-by-domain",
260
+ };
261
+ /** Return the Contract for the given Project. */
262
+ exports.contractGetDetailOfContractByProject = {
263
+ path: "/v2/projects/{projectId}/contract",
264
+ method: "GET",
265
+ operationId: "contract-get-detail-of-contract-by-project",
266
+ };
267
+ /** Return the Contract for the given Server. */
268
+ exports.contractGetDetailOfContractByServer = {
269
+ path: "/v2/servers/{serverId}/contract",
270
+ method: "GET",
271
+ operationId: "contract-get-detail-of-contract-by-server",
272
+ };
273
+ /** Get the ContractItem with the given ID. */
274
+ exports.contractGetDetailOfContractItem = {
275
+ path: "/v2/contracts/{contractId}/items/{contractItemId}",
276
+ method: "GET",
277
+ operationId: "contract-get-detail-of-contract-item",
278
+ };
279
+ /** Returns the Contract with the given ID. */
280
+ exports.contractGetDetailOfContract = {
281
+ path: "/v2/contracts/{contractId}",
282
+ method: "GET",
283
+ operationId: "contract-get-detail-of-contract",
284
+ };
285
+ /** Return the next TerminationDate for the ContractItem with the given ID. */
286
+ exports.contractGetNextTerminationDateForItem = {
287
+ path: "/v2/contracts/{contractId}/items/{contractItemId}/next-termination-dates",
288
+ method: "GET",
289
+ operationId: "contract-get-next-termination-date-for-item",
290
+ };
291
+ /** Return a list of Contracts for the given Customer. */
292
+ exports.contractListContracts = {
293
+ path: "/v2/customers/{customerId}/contracts",
294
+ method: "GET",
295
+ operationId: "contract-list-contracts",
296
+ };
297
+ /** Get all conversation the authenticated user has created or has access to. */
298
+ exports.conversationListConversations = {
299
+ path: "/v2/conversations",
300
+ method: "GET",
301
+ operationId: "conversation-list-conversations",
302
+ };
303
+ /** Create a conversation. */
304
+ exports.conversationCreateConversation = {
305
+ path: "/v2/conversations",
306
+ method: "POST",
307
+ operationId: "conversation-create-conversation",
308
+ };
309
+ /** Get all message of the conversation. */
310
+ exports.conversationListMessagesByConversation = {
311
+ path: "/v2/conversations/{conversationId}/messages",
312
+ method: "GET",
313
+ operationId: "conversation-list-messages-by-conversation",
314
+ };
315
+ /** Send a new message in the conversation. */
316
+ exports.conversationCreateMessage = {
317
+ path: "/v2/conversations/{conversationId}/messages",
318
+ method: "POST",
319
+ operationId: "conversation-create-message",
320
+ };
321
+ /** Get a specific conversation category. */
322
+ exports.conversationGetCategory = {
323
+ path: "/v2/conversation-categories/{categoryId}",
324
+ method: "GET",
325
+ operationId: "conversation-get-category",
326
+ };
327
+ /** Get a support conversation. */
328
+ exports.conversationGetConversation = {
329
+ path: "/v2/conversations/{conversationId}",
330
+ method: "GET",
331
+ operationId: "conversation-get-conversation",
332
+ };
333
+ /** Update the basic properties of the conversation. */
334
+ exports.conversationUpdateConversation = {
335
+ path: "/v2/conversations/{conversationId}",
336
+ method: "PUT",
337
+ operationId: "conversation-update-conversation",
338
+ };
339
+ /** Get all conversation categories. */
340
+ exports.conversationListCategories = {
341
+ path: "/v2/conversation-categories",
342
+ method: "GET",
343
+ operationId: "conversation-list-categories",
344
+ };
345
+ /** Request a file upload token for the conversation. */
346
+ exports.conversationRequestFileUpload = {
347
+ path: "/v2/conversations/{conversationId}/files",
348
+ method: "POST",
349
+ operationId: "conversation-request-file-upload",
350
+ };
351
+ /** Update the status of a conversation. */
352
+ exports.conversationSetConversationStatus = {
353
+ path: "/v2/conversations/{conversationId}/status",
354
+ method: "PUT",
355
+ operationId: "conversation-set-conversation-status",
356
+ };
357
+ /** Update the content of the message */
358
+ exports.conversationUpdateMessage = {
359
+ path: "/v2/conversations/{conversationId}/messages/{messageId}",
360
+ method: "PATCH",
361
+ operationId: "conversation-update-message",
362
+ };
363
+ /** Abort a CronjobExecution. */
364
+ exports.cronjobAbortExecution = {
365
+ path: "/v2/cronjobs/{cronjobId}/executions/{executionId}/actions/abort",
366
+ method: "POST",
367
+ operationId: "cronjob-abort-execution",
368
+ };
369
+ /** List Cronjobs belonging to a Project. */
370
+ exports.cronjobListCronjobs = {
371
+ path: "/v2/projects/{projectId}/cronjobs",
372
+ method: "GET",
373
+ operationId: "cronjob-list-cronjobs",
374
+ };
375
+ /** Create a Cronjob. */
376
+ exports.cronjobCreateCronjob = {
377
+ path: "/v2/projects/{projectId}/cronjobs",
378
+ method: "POST",
379
+ operationId: "cronjob-create-cronjob",
380
+ };
381
+ /** List CronjobExecutions belonging to a Cronjob. */
382
+ exports.cronjobListExecutions = {
383
+ path: "/v2/cronjobs/{cronjobId}/executions",
384
+ method: "GET",
385
+ operationId: "cronjob-list-executions",
386
+ };
387
+ /** Trigger a Cronjob. */
388
+ exports.cronjobCreateExecution = {
389
+ path: "/v2/cronjobs/{cronjobId}/executions",
390
+ method: "POST",
391
+ operationId: "cronjob-create-execution",
392
+ };
393
+ /** Get a Cronjob. */
394
+ exports.cronjobGetCronjob = {
395
+ path: "/v2/cronjobs/{cronjobId}",
396
+ method: "GET",
397
+ operationId: "cronjob-get-cronjob",
398
+ };
399
+ /** Delete a Cronjob. */
400
+ exports.cronjobDeleteCronjob = {
401
+ path: "/v2/cronjobs/{cronjobId}",
402
+ method: "DELETE",
403
+ operationId: "cronjob-delete-cronjob",
404
+ };
405
+ /** Update a Cronjob. */
406
+ exports.cronjobUpdateCronjob = {
407
+ path: "/v2/cronjobs/{cronjobId}",
408
+ method: "PATCH",
409
+ operationId: "cronjob-update-cronjob",
410
+ };
411
+ /** Get a CronjobExecution. */
412
+ exports.cronjobGetExecution = {
413
+ path: "/v2/cronjobs/{cronjobId}/executions/{executionId}",
414
+ method: "GET",
415
+ operationId: "cronjob-get-execution",
416
+ };
417
+ /** Update a Cronjob's app id. */
418
+ exports.cronjobUpdateCronjobAppId = {
419
+ path: "/v2/cronjobs/{cronjobId}/app-id",
420
+ method: "PATCH",
421
+ operationId: "cronjob-update-cronjob-app-id",
422
+ };
423
+ /** Accept a CustomerInvite. */
424
+ exports.customerAcceptCustomerInvite = {
425
+ path: "/v2/customer-invites/{inviteId}/actions/accept",
426
+ method: "POST",
427
+ operationId: "customer-accept-customer-invite",
428
+ };
429
+ /** Get all customer categories. */
430
+ exports.customerListOfCustomerCategories = {
431
+ path: "/v2/customer-categories",
432
+ method: "GET",
433
+ operationId: "customer-list-of-customer-categories",
434
+ };
435
+ /** Create a new customer category. */
436
+ exports.customerCreateCategory = {
437
+ path: "/v2/customer-categories",
438
+ method: "POST",
439
+ operationId: "customer-create-category",
440
+ };
441
+ /** Create a CustomerInvite. */
442
+ exports.customerCreateCustomerInvite = {
443
+ path: "/v2/customer/{customerId}/invites",
444
+ method: "POST",
445
+ operationId: "customer-create-customer-invite",
446
+ };
447
+ /** Get all customer profiles the authenticated user has access to. */
448
+ exports.customerListCustomers = {
449
+ path: "/v2/customers",
450
+ method: "GET",
451
+ operationId: "customer-list-customers",
452
+ };
453
+ /** Create a new customer profile. */
454
+ exports.customerCreateCustomer = {
455
+ path: "/v2/customers",
456
+ method: "POST",
457
+ operationId: "customer-create-customer",
458
+ };
459
+ /** Decline a CustomerInvite. */
460
+ exports.customerDeclineCustomerInvite = {
461
+ path: "/v2/customer-invites/{inviteId}/actions/decline",
462
+ method: "POST",
463
+ operationId: "customer-decline-customer-invite",
464
+ };
465
+ /** Get a customer category. */
466
+ exports.customerGetCustomerCategory = {
467
+ path: "/v2/customer-categories/{categoryId}",
468
+ method: "GET",
469
+ operationId: "customer-get-customer-category",
470
+ };
471
+ /** Update a customer category. */
472
+ exports.customerUpdateCategory = {
473
+ path: "/v2/customer-categories/{categoryId}",
474
+ method: "PUT",
475
+ operationId: "customer-update-category",
476
+ };
477
+ /** Delete a customer category. */
478
+ exports.customerDeleteCategory = {
479
+ path: "/v2/customer-categories/{categoryId}",
480
+ method: "DELETE",
481
+ operationId: "customer-delete-category",
482
+ };
483
+ /** Get a CustomerInvite. */
484
+ exports.customerGetCustomerInvite = {
485
+ path: "/v2/customer-invites/{inviteId}",
486
+ method: "GET",
487
+ operationId: "customer-get-customer-invite",
488
+ };
489
+ /** Delete a CustomerInvite. */
490
+ exports.customerDeleteCustomerInvite = {
491
+ path: "/v2/customer-invites/{inviteId}",
492
+ method: "DELETE",
493
+ operationId: "customer-delete-customer-invite",
494
+ };
495
+ /** Get a CustomerMembership. */
496
+ exports.customerGetCustomerMembership = {
497
+ path: "/v2/customer-memberships/{membershipId}",
498
+ method: "GET",
499
+ operationId: "customer-get-customer-membership",
500
+ };
501
+ /** Delete a CustomerMembership. */
502
+ exports.customerDeleteCustomerMembership = {
503
+ path: "/v2/customer-memberships/{membershipId}",
504
+ method: "DELETE",
505
+ operationId: "customer-delete-customer-membership",
506
+ };
507
+ /** Update a CustomerMembership. */
508
+ exports.customerUpdateCustomerMembership = {
509
+ path: "/v2/customer-memberships/{membershipId}",
510
+ method: "PATCH",
511
+ operationId: "customer-update-customer-membership",
512
+ };
513
+ /** Get a customer profile. */
514
+ exports.customerGetCustomer = {
515
+ path: "/v2/customers/{customerId}",
516
+ method: "GET",
517
+ operationId: "customer-get-customer",
518
+ };
519
+ /** Update a customer profile. */
520
+ exports.customerUpdateCustomer = {
521
+ path: "/v2/customers/{customerId}",
522
+ method: "PUT",
523
+ operationId: "customer-update-customer",
524
+ };
525
+ /** Delete a customer profile. */
526
+ exports.customerDeleteCustomer = {
527
+ path: "/v2/customers/{customerId}",
528
+ method: "DELETE",
529
+ operationId: "customer-delete-customer",
530
+ };
531
+ /** Get a CustomerInvite by token. */
532
+ exports.customerGetCustomerTokenInvite = {
533
+ path: "/v2/customer-token-invite",
534
+ method: "GET",
535
+ operationId: "customer-get-customer-token-invite",
536
+ };
537
+ /** Check if the customer profile has a valid contract partner configured. */
538
+ exports.customerIsCustomerLegallyCompetent = {
539
+ path: "/v2/customers/{customerId}/legally-competent",
540
+ method: "GET",
541
+ operationId: "customer-is-customer-legally-competent",
542
+ };
543
+ /** Leave a Customer. */
544
+ exports.customerLeaveCustomer = {
545
+ path: "/v2/customer/{customerId}/actions/leave",
546
+ method: "POST",
547
+ operationId: "customer-leave-customer",
548
+ };
549
+ /** List CustomerInvites belonging to the executing user. */
550
+ exports.customerListCustomerInvites = {
551
+ path: "/v2/customer-invites",
552
+ method: "GET",
553
+ operationId: "customer-list-customer-invites",
554
+ };
555
+ /** List CustomerMemberships belonging to the executing user. */
556
+ exports.customerListCustomerMemberships = {
557
+ path: "/v2/customer-memberships",
558
+ method: "GET",
559
+ operationId: "customer-list-customer-memberships",
560
+ };
561
+ /** List Invites belonging to a Customer. */
562
+ exports.customerListInvitesForCustomer = {
563
+ path: "/v2/customers/{customerId}/invites",
564
+ method: "GET",
565
+ operationId: "customer-list-invites-for-customer",
566
+ };
567
+ /** List Memberships belonging to a Customer. */
568
+ exports.customerListMembershipsForCustomer = {
569
+ path: "/v2/customers/{customerId}/memberships",
570
+ method: "GET",
571
+ operationId: "customer-list-memberships-for-customer",
572
+ };
573
+ /** Request a new avatar upload for the customer profile. */
574
+ exports.customerRequestAvatarUpload = {
575
+ path: "/v2/customers/{customerId}/avatar",
576
+ method: "POST",
577
+ operationId: "customer-request-avatar-upload",
578
+ };
579
+ /** Remove the avatar picture of the customer profile. */
580
+ exports.customerRemoveAvatar = {
581
+ path: "/v2/customers/{customerId}/avatar",
582
+ method: "DELETE",
583
+ operationId: "customer-remove-avatar",
584
+ };
585
+ /** Resend the mail for a CustomerInvite. */
586
+ exports.customerResendCustomerInviteMail = {
587
+ path: "/v2/customer-invites/{inviteId}/actions/resend",
588
+ method: "POST",
589
+ operationId: "customer-resend-customer-invite-mail",
590
+ };
591
+ /** List MySQLDatabases belonging to a Project. */
592
+ exports.databaseListMysqlDatabases = {
593
+ path: "/v2/projects/{projectId}/mysql-databases",
594
+ method: "GET",
595
+ operationId: "database-list-mysql-databases",
596
+ };
597
+ /** Create a MySQLDatabase with a MySQLUser. */
598
+ exports.databaseCreateMysqlDatabase = {
599
+ path: "/v2/projects/{projectId}/mysql-databases",
600
+ method: "POST",
601
+ operationId: "database-create-mysql-database",
602
+ };
603
+ /** List MySQLUsers belonging to a Database. */
604
+ exports.databaseListMysqlUsers = {
605
+ path: "/v2/mysql-databases/{databaseId}/users",
606
+ method: "GET",
607
+ operationId: "database-list-mysql-users",
608
+ };
609
+ /** Create a MySQLUser. */
610
+ exports.databaseCreateMysqlUser = {
611
+ path: "/v2/mysql-databases/{databaseId}/users",
612
+ method: "POST",
613
+ operationId: "database-create-mysql-user",
614
+ };
615
+ /** List RedisDatabases belonging to a Project. */
616
+ exports.databaseListRedisDatabases = {
617
+ path: "/v2/projects/{projectId}/redis-databases",
618
+ method: "GET",
619
+ operationId: "database-list-redis-databases",
620
+ };
621
+ /** Create a RedisDatabase. */
622
+ exports.databaseCreateRedisDatabase = {
623
+ path: "/v2/projects/{projectId}/redis-databases",
624
+ method: "POST",
625
+ operationId: "database-create-redis-database",
626
+ };
627
+ /** Get a MySQLDatabase. */
628
+ exports.databaseGetMysqlDatabase = {
629
+ path: "/v2/mysql-databases/{mysqlDatabaseId}",
630
+ method: "GET",
631
+ operationId: "database-get-mysql-database",
632
+ };
633
+ /** Delete a MySQLDatabase. */
634
+ exports.databaseDeleteMysqlDatabase = {
635
+ path: "/v2/mysql-databases/{mysqlDatabaseId}",
636
+ method: "DELETE",
637
+ operationId: "database-delete-mysql-database",
638
+ };
639
+ /** Get a MySQLUser. */
640
+ exports.databaseGetMysqlUser = {
641
+ path: "/v2/mysql-users/{mysqlUserId}",
642
+ method: "GET",
643
+ operationId: "database-get-mysql-user",
644
+ };
645
+ /** Update a MySQLUser. */
646
+ exports.databaseUpdateMysqlUser = {
647
+ path: "/v2/mysql-users/{mysqlUserId}",
648
+ method: "PUT",
649
+ operationId: "database-update-mysql-user",
650
+ };
651
+ /** Delete a MySQLUser. */
652
+ exports.databaseDeleteMysqlUser = {
653
+ path: "/v2/mysql-users/{mysqlUserId}",
654
+ method: "DELETE",
655
+ operationId: "database-delete-mysql-user",
656
+ };
657
+ /** Get a RedisDatabase. */
658
+ exports.databaseGetRedisDatabase = {
659
+ path: "/v2/redis-databases/{redisDatabaseId}",
660
+ method: "GET",
661
+ operationId: "database-get-redis-database",
662
+ };
663
+ /** Delete a RedisDatabase. */
664
+ exports.databaseDeleteRedisDatabase = {
665
+ path: "/v2/redis-databases/{redisDatabaseId}",
666
+ method: "DELETE",
667
+ operationId: "database-delete-redis-database",
668
+ };
669
+ /** Disable a MySQLUser. */
670
+ exports.databaseDisableMysqlUser = {
671
+ path: "/v2/mysql-users/{mysqlUserId}/actions/disable",
672
+ method: "POST",
673
+ operationId: "database-disable-mysql-user",
674
+ };
675
+ /** Enable a MySQLUser. */
676
+ exports.databaseEnableMysqlUser = {
677
+ path: "/v2/mysql-users/{mysqlUserId}/actions/enable",
678
+ method: "POST",
679
+ operationId: "database-enable-mysql-user",
680
+ };
681
+ /** Get a MySQLUser's PhpMyAdmin-URL. */
682
+ exports.databaseGetMysqlUserPhpMyAdminUrl = {
683
+ path: "/v2/mysql-users/{mysqlUserId}/php-my-admin-url",
684
+ method: "GET",
685
+ operationId: "database-get-mysql-user-php-my-admin-url",
686
+ };
687
+ /** List available MySQL character sets and collations, optionally filtered by a MySQLVersion. */
688
+ exports.databaseListMysqlCharsets = {
689
+ path: "/v2/mysql-charsets",
690
+ method: "GET",
691
+ operationId: "database-list-mysql-charsets",
692
+ };
693
+ /** List MySQLVersions. */
694
+ exports.databaseListMysqlVersions = {
695
+ path: "/v2/mysql-versions",
696
+ method: "GET",
697
+ operationId: "database-list-mysql-versions",
698
+ };
699
+ /** List RedisVersions. */
700
+ exports.databaseListRedisVersions = {
701
+ path: "/v2/redis-versions",
702
+ method: "GET",
703
+ operationId: "database-list-redis-versions",
704
+ };
705
+ /** Update a MySQLDatabase's default character settings. */
706
+ exports.databaseUpdateMysqlDatabaseDefaultCharset = {
707
+ path: "/v2/mysql-databases/{mysqlDatabaseId}/default-charset",
708
+ method: "PATCH",
709
+ operationId: "database-update-mysql-database-default-charset",
710
+ };
711
+ /** Update a MySQLDatabase's description. */
712
+ exports.databaseUpdateMysqlDatabaseDescription = {
713
+ path: "/v2/mysql-databases/{mysqlDatabaseId}/description",
714
+ method: "PATCH",
715
+ operationId: "database-update-mysql-database-description",
716
+ };
717
+ /** Update a MySQLUser's password. */
718
+ exports.databaseUpdateMysqlUserPassword = {
719
+ path: "/v2/mysql-users/{mysqlUserId}/password",
720
+ method: "PATCH",
721
+ operationId: "database-update-mysql-user-password",
722
+ };
723
+ /** Update a RedisDatabase's configuration. */
724
+ exports.databaseUpdateRedisDatabaseConfiguration = {
725
+ path: "/v2/redis-databases/{redisDatabaseId}/configuration",
726
+ method: "PATCH",
727
+ operationId: "database-update-redis-database-configuration",
728
+ };
729
+ /** Update a RedisDatabase's description. */
730
+ exports.databaseUpdateRedisDatabaseDescription = {
731
+ path: "/v2/redis-databases/{redisDatabaseId}/description",
732
+ method: "PATCH",
733
+ operationId: "database-update-redis-database-description",
734
+ };
735
+ /** Subscribe a user to the mStudio newsletter. */
736
+ exports.newsletterSubscribeUser = {
737
+ path: "/v2/newsletter-subscriptions",
738
+ method: "POST",
739
+ operationId: "newsletter-subscribe-user",
740
+ };
741
+ /** Create a DNSZone. */
742
+ exports.dnsCreateDnsZone = {
743
+ path: "/v2/dns-zones",
744
+ method: "POST",
745
+ operationId: "dns-create-dns-zone",
746
+ };
747
+ /** Get a DNSZone. */
748
+ exports.dnsGetDnsZone = {
749
+ path: "/v2/dns-zones/{dnsZoneId}",
750
+ method: "GET",
751
+ operationId: "dns-get-dns-zone",
752
+ };
753
+ /** Delete a DNSZone. */
754
+ exports.dnsDeleteDnsZone = {
755
+ path: "/v2/dns-zones/{dnsZoneId}",
756
+ method: "DELETE",
757
+ operationId: "dns-delete-dns-zone",
758
+ };
759
+ /** List DNSZones belonging to a Project. */
760
+ exports.dnsListDnsZones = {
761
+ path: "/v2/projects/{projectId}/dns-zones",
762
+ method: "GET",
763
+ operationId: "dns-list-dns-zones",
764
+ };
765
+ /** Set a record set on a DNSZone to managed. */
766
+ exports.dnsSetRecordSetManaged = {
767
+ path: "/v2/dns-zones/{dnsZoneId}/record-sets/{recordSet}/actions/set-managed",
768
+ method: "POST",
769
+ operationId: "dns-set-record-set-managed",
770
+ };
771
+ /** Update a record set on a DNSZone. */
772
+ exports.dnsUpdateRecordSet = {
773
+ path: "/v2/dns-zones/{dnsZoneId}/record-sets/{recordSet}",
774
+ method: "PUT",
775
+ operationId: "dns-update-record-set",
776
+ };
777
+ /** Abort a Domain declaration. */
778
+ exports.domainAbortDomainDeclaration = {
779
+ path: "/v2/domains/{domainId}/declaration",
780
+ method: "DELETE",
781
+ operationId: "domain-abort-domain-declaration",
782
+ };
783
+ /** Check if a Domain is available to register. */
784
+ exports.domainCheckDomainRegistrability = {
785
+ path: "/v2/domain-registrable",
786
+ method: "POST",
787
+ operationId: "domain-check-domain-registrability",
788
+ };
789
+ /** Create an auth code 2. */
790
+ exports.domainCreateDomainAuthCode2 = {
791
+ path: "/v2/domains/{domainId}/actions/auth-code-2",
792
+ method: "POST",
793
+ operationId: "domain-create-domain-auth-code-2",
794
+ };
795
+ /** Create an auth code for a Domains transfer-out process. */
796
+ exports.domainCreateDomainAuthCode = {
797
+ path: "/v2/domains/{domainId}/actions/auth-code",
798
+ method: "POST",
799
+ operationId: "domain-create-domain-auth-code",
800
+ };
801
+ /** Update the nameservers of a Domain. */
802
+ exports.domainUpdateDomainNameservers = {
803
+ path: "/v2/domains/{domainId}/nameservers",
804
+ method: "PATCH",
805
+ operationId: "domain-update-domain-nameservers",
806
+ };
807
+ /** Get a Domain. */
808
+ exports.domainGetDomain = {
809
+ path: "/v2/domains/{domainId}",
810
+ method: "GET",
811
+ operationId: "domain-get-domain",
812
+ };
813
+ /** Delete a Domain. */
814
+ exports.domainDeleteDomain = {
815
+ path: "/v2/domains/{domainId}",
816
+ method: "DELETE",
817
+ operationId: "domain-delete-domain",
818
+ };
819
+ /** Get a DomainOwnership. */
820
+ exports.domainGetDomainOwnership = {
821
+ path: "/v2/domain-ownerships/{domainOwnershipId}",
822
+ method: "GET",
823
+ operationId: "domain-get-domain-ownership",
824
+ };
825
+ /** Get File Service Reference for a Screenshot of a domain. */
826
+ exports.domainGetScreenshotForDomain = {
827
+ path: "/v2/domains/{domainId}/screenshots/newest",
828
+ method: "GET",
829
+ operationId: "domain-get-screenshot-for-domain",
830
+ };
831
+ /** List the DomainOwnerships of a project. */
832
+ exports.domainListDomainOwnerships = {
833
+ path: "/v2/projects/{projectId}/domain-ownerships",
834
+ method: "GET",
835
+ operationId: "domain-list-domain-ownerships",
836
+ };
837
+ /** List Domains belonging to a Project. */
838
+ exports.domainListDomains = {
839
+ path: "/v2/projects/{projectId}/domains",
840
+ method: "GET",
841
+ operationId: "domain-list-domains",
842
+ };
843
+ /** List the contact schemas for a TLD. */
844
+ exports.domainListTldContactSchemas = {
845
+ path: "/v2/domain-tlds/{tld}/contact-schemas",
846
+ method: "GET",
847
+ operationId: "domain-list-tld-contact-schemas",
848
+ };
849
+ /** List TLDs. */
850
+ exports.domainListTlds = {
851
+ path: "/v2/domain-tlds",
852
+ method: "GET",
853
+ operationId: "domain-list-tlds",
854
+ };
855
+ /** Resend a Domain email. */
856
+ exports.domainResendDomainEmail = {
857
+ path: "/v2/domains/{domainId}/actions/resend-email",
858
+ method: "POST",
859
+ operationId: "domain-resend-domain-email",
860
+ };
861
+ /** Update the auth code of a Domain. */
862
+ exports.domainUpdateDomainAuthCode = {
863
+ path: "/v2/domains/{domainId}/auth-code",
864
+ method: "PATCH",
865
+ operationId: "domain-update-domain-auth-code",
866
+ };
867
+ /** Update a contact of a Domain. */
868
+ exports.domainUpdateDomainContact = {
869
+ path: "/v2/domains/{domainId}/contacts/{contact}",
870
+ method: "PATCH",
871
+ operationId: "domain-update-domain-contact",
872
+ };
873
+ /** Update a Domain's project id. */
874
+ exports.domainUpdateDomainProjectId = {
875
+ path: "/v2/domains/{domainId}/project-id",
876
+ method: "PATCH",
877
+ operationId: "domain-update-domain-project-id",
878
+ };
879
+ /** Verify a DomainOwnership. */
880
+ exports.domainVerifyDomainOwnership = {
881
+ path: "/v2/domain-ownerships/{domainOwnershipId}/actions/verify",
882
+ method: "POST",
883
+ operationId: "domain-verify-domain-ownership",
884
+ };
885
+ /** Create a File. */
886
+ exports.fileCreateFile = {
887
+ path: "/v2/files",
888
+ method: "POST",
889
+ operationId: "file-create-file",
890
+ };
891
+ /** Get a File's meta. */
892
+ exports.fileGetFileMeta = {
893
+ path: "/v2/files/{fileId}/meta",
894
+ method: "GET",
895
+ operationId: "file-get-file-meta",
896
+ };
897
+ /** Get a Token's upload rules. */
898
+ exports.fileGetFileTokenRules = {
899
+ path: "/v2/file-token-rules/{token}",
900
+ method: "GET",
901
+ operationId: "file-get-file-token-rules",
902
+ };
903
+ /** Get a Type's upload rules. */
904
+ exports.fileGetFileTypeRules = {
905
+ path: "/v2/file-type-rules/{name}",
906
+ method: "GET",
907
+ operationId: "file-get-file-type-rules",
908
+ };
909
+ /** Get a File. */
910
+ exports.fileGetFile = {
911
+ path: "/v2/files/{fileId}",
912
+ method: "GET",
913
+ operationId: "file-get-file",
914
+ };
915
+ /** Create an Ingress. */
916
+ exports.ingressCreate = {
917
+ path: "/v2/ingresses/",
918
+ method: "POST",
919
+ operationId: "ingress-create",
920
+ };
921
+ /** Get an Ingress. */
922
+ exports.ingressGetSpecific = {
923
+ path: "/v2/ingresses/{ingressId}",
924
+ method: "GET",
925
+ operationId: "ingress-get-specific",
926
+ };
927
+ /** Delete an Ingress. */
928
+ exports.ingressDelete = {
929
+ path: "/v2/ingresses/{ingressId}",
930
+ method: "DELETE",
931
+ operationId: "ingress-delete",
932
+ };
933
+ /** List Ingresses the user has access to. */
934
+ exports.ingressListAccessible = {
935
+ path: "/v2/ingresses",
936
+ method: "GET",
937
+ operationId: "ingress-list-accessible",
938
+ };
939
+ /** List Ingresses belonging to a project. */
940
+ exports.ingressListForProject = {
941
+ path: "/v2/projects/{projectId}/ingresses",
942
+ method: "GET",
943
+ operationId: "ingress-list-for-project",
944
+ };
945
+ /** Update an Ingresses paths. */
946
+ exports.ingressPaths = {
947
+ path: "/v2/ingresses/{ingressId}/paths",
948
+ method: "PUT",
949
+ operationId: "ingress-paths",
950
+ };
951
+ /** Request ACME certificate issuance */
952
+ exports.ingressRequestAcmeCertificateIssuance = {
953
+ path: "/v2/ingresses/{ingressId}/actions/request-acme-certificate-issuance",
954
+ method: "POST",
955
+ operationId: "ingress-request-acme-certificate-issuance",
956
+ };
957
+ /** Update an Ingresses tls settings. */
958
+ exports.ingressTls = {
959
+ path: "/v2/ingresses/{ingressId}/tls",
960
+ method: "PUT",
961
+ operationId: "ingress-tls",
962
+ };
963
+ /** Get details of an Invoice. */
964
+ exports.invoiceDetailOfInvoice = {
965
+ path: "/v2/customers/{customerId}/invoices/{invoiceId}",
966
+ method: "GET",
967
+ operationId: "invoice-detail-of-invoice",
968
+ };
969
+ /** Get InvoiceSettings of a Customer. */
970
+ exports.invoiceGetDetailOfInvoiceSettings = {
971
+ path: "/v2/customers/{customerId}/invoice-settings",
972
+ method: "GET",
973
+ operationId: "invoice-get-detail-of-invoice-settings",
974
+ };
975
+ /** Update InvoiceSettings of a Customer. */
976
+ exports.invoiceUpdateInvoiceSettings = {
977
+ path: "/v2/customers/{customerId}/invoice-settings",
978
+ method: "PUT",
979
+ operationId: "invoice-update-invoice-settings",
980
+ };
981
+ /** List Invoices of a Customer. */
982
+ exports.invoiceListCustomerInvoices = {
983
+ path: "/v2/customers/{customerId}/invoices",
984
+ method: "GET",
985
+ operationId: "invoice-list-customer-invoices",
986
+ };
987
+ /** List DeliveryBoxes belonging to a Project. */
988
+ exports.mailListDeliveryBoxes = {
989
+ path: "/v2/projects/{projectId}/delivery-boxes",
990
+ method: "GET",
991
+ operationId: "mail-list-delivery-boxes",
992
+ };
993
+ /** Create a DeliveryBox. */
994
+ exports.mailCreateDeliverybox = {
995
+ path: "/v2/projects/{projectId}/delivery-boxes",
996
+ method: "POST",
997
+ operationId: "mail-create-deliverybox",
998
+ };
999
+ /** List MailAddresses belonging to a Project. */
1000
+ exports.mailListMailAddresses = {
1001
+ path: "/v2/projects/{projectId}/mail-addresses",
1002
+ method: "GET",
1003
+ operationId: "mail-list-mail-addresses",
1004
+ };
1005
+ /** Create a MailAddress. */
1006
+ exports.mailCreateMailAddress = {
1007
+ path: "/v2/projects/{projectId}/mail-addresses",
1008
+ method: "POST",
1009
+ operationId: "mail-create-mail-address",
1010
+ };
1011
+ /** Get a DeliveryBox. */
1012
+ exports.mailGetDeliveryBox = {
1013
+ path: "/v2/delivery-boxes/{deliveryBoxId}",
1014
+ method: "GET",
1015
+ operationId: "mail-get-delivery-box",
1016
+ };
1017
+ /** Delete a DeliveryBox. */
1018
+ exports.mailDeleteDeliveryBox = {
1019
+ path: "/v2/delivery-boxes/{deliveryBoxId}",
1020
+ method: "DELETE",
1021
+ operationId: "mail-delete-delivery-box",
1022
+ };
1023
+ /** Get a MailAddress. */
1024
+ exports.mailGetMailAddress = {
1025
+ path: "/v2/mail-addresses/{mailAddressId}",
1026
+ method: "GET",
1027
+ operationId: "mail-get-mail-address",
1028
+ };
1029
+ /** Delete a MailAddress. */
1030
+ exports.mailDeleteMailAddress = {
1031
+ path: "/v2/mail-addresses/{mailAddressId}",
1032
+ method: "DELETE",
1033
+ operationId: "mail-delete-mail-address",
1034
+ };
1035
+ /** List mail settings of a Project. */
1036
+ exports.mailListProjectMailSettings = {
1037
+ path: "/v2/projects/{projectId}/mail-settings",
1038
+ method: "GET",
1039
+ operationId: "mail-list-project-mail-settings",
1040
+ };
1041
+ /** Update the description of a DeliveryBox. */
1042
+ exports.mailUpdateDeliveryBoxDescription = {
1043
+ path: "/v2/delivery-boxes/{deliveryBoxId}/description",
1044
+ method: "PATCH",
1045
+ operationId: "mail-update-delivery-box-description",
1046
+ };
1047
+ /** Update the password of a DeliveryBox. */
1048
+ exports.mailUpdateDeliveryBoxPassword = {
1049
+ path: "/v2/delivery-boxes/{deliveryBoxId}/password",
1050
+ method: "PATCH",
1051
+ operationId: "mail-update-delivery-box-password",
1052
+ };
1053
+ /** Update a MailAddress. */
1054
+ exports.mailUpdateMailAddressAddress = {
1055
+ path: "/v2/mail-addresses/{mailAddressId}/address",
1056
+ method: "PATCH",
1057
+ operationId: "mail-update-mail-address-address",
1058
+ };
1059
+ /** Update the autoresponder of a MailAddress. */
1060
+ exports.mailUpdateMailAddressAutoresponder = {
1061
+ path: "/v2/mail-addresses/{mailAddressId}/autoresponder",
1062
+ method: "PUT",
1063
+ operationId: "mail-update-mail-address-autoresponder",
1064
+ };
1065
+ /** Update the catchall of a MailAddress. */
1066
+ exports.mailUpdateMailAddressCatchall = {
1067
+ path: "/v2/mail-addresses/{mailAddressId}/catchall",
1068
+ method: "PUT",
1069
+ operationId: "mail-update-mail-address-catchall",
1070
+ };
1071
+ /** Update the forward addresses of a MailAddresses. */
1072
+ exports.mailUpdateMailAddressForwardAddresses = {
1073
+ path: "/v2/mail-addresses/{mailAddressId}/forward-addresses",
1074
+ method: "PUT",
1075
+ operationId: "mail-update-mail-address-forward-addresses",
1076
+ };
1077
+ /** Update the password for a MailAddress. */
1078
+ exports.mailUpdateMailAddressPassword = {
1079
+ path: "/v2/mail-addresses/{mailAddressId}/password",
1080
+ method: "PUT",
1081
+ operationId: "mail-update-mail-address-password",
1082
+ };
1083
+ /** Update the quota of a MailAddress. */
1084
+ exports.mailUpdateMailAddressQuota = {
1085
+ path: "/v2/mail-addresses/{mailAddressId}/quota",
1086
+ method: "PUT",
1087
+ operationId: "mail-update-mail-address-quota",
1088
+ };
1089
+ /** Update the spam protection of a MailAddress. */
1090
+ exports.mailUpdateMailAddressSpamProtection = {
1091
+ path: "/v2/mail-addresses/{mailAddressId}/spam-protection",
1092
+ method: "PUT",
1093
+ operationId: "mail-update-mail-address-spam-protection",
1094
+ };
1095
+ /** Update a mail setting of a Project. */
1096
+ exports.mailUpdateProjectMailSetting = {
1097
+ path: "/v2/projects/{projectId}/mail-settings/{setting}",
1098
+ method: "PUT",
1099
+ operationId: "mail-update-project-mail-setting",
1100
+ };
1101
+ /** Getting the subscription status of the subscription. */
1102
+ exports.newsletterGetInfo = {
1103
+ path: "/v2/newsletter-subscriptions/self",
1104
+ method: "GET",
1105
+ operationId: "newsletter-get-info",
1106
+ };
1107
+ /** Unsubscribe a user from the mStudio newsletter. */
1108
+ exports.newsletterUnsubscribeUser = {
1109
+ path: "/v2/newsletter-subscriptions/self",
1110
+ method: "DELETE",
1111
+ operationId: "newsletter-unsubscribe-user",
1112
+ };
1113
+ /** Get the counts for unread notifications of the user. */
1114
+ exports.notificationsCountUnreadNotifications = {
1115
+ path: "/v2/notification-unread-counts",
1116
+ method: "GET",
1117
+ operationId: "notifications-count-unread-notifications",
1118
+ };
1119
+ /** List all unread notifications. */
1120
+ exports.notificationsListNotifications = {
1121
+ path: "/v2/notifications",
1122
+ method: "GET",
1123
+ operationId: "notifications-list-notifications",
1124
+ };
1125
+ /** Mark all notifications as read. */
1126
+ exports.notificationsReadAllNotifications = {
1127
+ path: "/v2/notifications/actions/read-all",
1128
+ method: "POST",
1129
+ operationId: "notifications-read-all-notifications",
1130
+ };
1131
+ /** Mark notification as read. */
1132
+ exports.notificationsReadNotification = {
1133
+ path: "/v2/notifications/{notificationId}/status",
1134
+ method: "PUT",
1135
+ operationId: "notifications-read-notification",
1136
+ };
1137
+ /** Create an Order. */
1138
+ exports.orderCreateOrder = {
1139
+ path: "/v2/orders",
1140
+ method: "POST",
1141
+ operationId: "order-create-order",
1142
+ };
1143
+ /** Create TariffChange Order. */
1144
+ exports.orderCreateTariffChange = {
1145
+ path: "/v2/tariff-changes",
1146
+ method: "POST",
1147
+ operationId: "order-create-tariff-change",
1148
+ };
1149
+ /** Get Order for Customer. */
1150
+ exports.orderGetOrder = {
1151
+ path: "/v2/orders/{orderId}",
1152
+ method: "GET",
1153
+ operationId: "order-get-order",
1154
+ };
1155
+ /** Get list of Orders of a Customer. */
1156
+ exports.orderListCustomerOrders = {
1157
+ path: "/v2/customers/{customerId}/orders",
1158
+ method: "GET",
1159
+ operationId: "order-list-customer-orders",
1160
+ };
1161
+ /** Get list of Orders of a Project. */
1162
+ exports.orderListProjectOrders = {
1163
+ path: "/v2/projects/{projectId}/orders",
1164
+ method: "GET",
1165
+ operationId: "order-list-project-orders",
1166
+ };
1167
+ /** Preview Order. */
1168
+ exports.orderPreviewOrder = {
1169
+ path: "/v2/order-previews",
1170
+ method: "POST",
1171
+ operationId: "order-preview-order",
1172
+ };
1173
+ /** Preview TariffChange. */
1174
+ exports.orderPreviewTariffChange = {
1175
+ path: "/v2/tariff-change-previews",
1176
+ method: "POST",
1177
+ operationId: "order-preview-tariff-change",
1178
+ };
1179
+ /** Get detailed performance data for a given domain and path. */
1180
+ exports.pageinsightsGetPerformanceData = {
1181
+ path: "/v2/pageinsights",
1182
+ method: "GET",
1183
+ operationId: "pageinsights-get-performance-data",
1184
+ };
1185
+ /** List websites (specified as domain and path) from a project where performance data is available. */
1186
+ exports.pageinsightsListPerformanceDataForProject = {
1187
+ path: "/v2/projects/{id}/pageinsights",
1188
+ method: "GET",
1189
+ operationId: "pageinsights-list-performance-data-for-project",
1190
+ };
1191
+ /** Get a password policy. */
1192
+ exports.passwordValidationGetPasswordPolicy = {
1193
+ path: "/v2/password/policies/{path}",
1194
+ method: "GET",
1195
+ operationId: "password-validation-get-password-policy",
1196
+ };
1197
+ /** Accept a ProjectInvite. */
1198
+ exports.projectAcceptProjectInvite = {
1199
+ path: "/v2/project-invites/{inviteId}/actions/accept",
1200
+ method: "POST",
1201
+ operationId: "project-accept-project-invite",
1202
+ };
1203
+ /** Create a ProjectInvite. */
1204
+ exports.projectCreateProjectInvite = {
1205
+ path: "/v2/project/{projectId}/invites",
1206
+ method: "POST",
1207
+ operationId: "project-create-project-invite",
1208
+ };
1209
+ /** Create a Project belonging to a Server. */
1210
+ exports.projectCreateProject = {
1211
+ path: "/v2/servers/{serverId}/projects",
1212
+ method: "POST",
1213
+ operationId: "project-create-project",
1214
+ };
1215
+ /** Decline a ProjectInvite. */
1216
+ exports.projectDeclineProjectInvite = {
1217
+ path: "/v2/project-invites/{inviteId}/actions/decline",
1218
+ method: "POST",
1219
+ operationId: "project-decline-project-invite",
1220
+ };
1221
+ /** Request a Project avatar upload. */
1222
+ exports.projectRequestProjectAvatarUpload = {
1223
+ path: "/v2/projects/{projectId}/avatar",
1224
+ method: "POST",
1225
+ operationId: "project-request-project-avatar-upload",
1226
+ };
1227
+ /** Delete a Project's avatar. */
1228
+ exports.projectDeleteProjectAvatar = {
1229
+ path: "/v2/projects/{projectId}/avatar",
1230
+ method: "DELETE",
1231
+ operationId: "project-delete-project-avatar",
1232
+ };
1233
+ /** Get a ProjectInvite. */
1234
+ exports.projectGetProjectInvite = {
1235
+ path: "/v2/project-invites/{inviteId}",
1236
+ method: "GET",
1237
+ operationId: "project-get-project-invite",
1238
+ };
1239
+ /** Delete a ProjectInvite. */
1240
+ exports.projectDeleteProjectInvite = {
1241
+ path: "/v2/project-invites/{inviteId}",
1242
+ method: "DELETE",
1243
+ operationId: "project-delete-project-invite",
1244
+ };
1245
+ /** Get a ProjectMembership */
1246
+ exports.projectGetProjectMembership = {
1247
+ path: "/v2/project-memberships/{membershipId}",
1248
+ method: "GET",
1249
+ operationId: "project-get-project-membership",
1250
+ };
1251
+ /** Delete a ProjectMembership. */
1252
+ exports.projectDeleteProjectMembership = {
1253
+ path: "/v2/project-memberships/{membershipId}",
1254
+ method: "DELETE",
1255
+ operationId: "project-delete-project-membership",
1256
+ };
1257
+ /** Update a ProjectMembership. */
1258
+ exports.projectUpdateProjectMembership = {
1259
+ path: "/v2/project-memberships/{membershipId}",
1260
+ method: "PATCH",
1261
+ operationId: "project-update-project-membership",
1262
+ };
1263
+ /** Get a Project. */
1264
+ exports.projectGetProject = {
1265
+ path: "/v2/projects/{projectId}",
1266
+ method: "GET",
1267
+ operationId: "project-get-project",
1268
+ };
1269
+ /** Delete a Project. */
1270
+ exports.projectDeleteProject = {
1271
+ path: "/v2/projects/{projectId}",
1272
+ method: "DELETE",
1273
+ operationId: "project-delete-project",
1274
+ };
1275
+ /** Request a Server avatar upload. */
1276
+ exports.projectRequestServerAvatarUpload = {
1277
+ path: "/v2/servers/{serverId}/avatar",
1278
+ method: "POST",
1279
+ operationId: "project-request-server-avatar-upload",
1280
+ };
1281
+ /** Delete a Server's avatar. */
1282
+ exports.projectDeleteServerAvatar = {
1283
+ path: "/v2/servers/{serverId}/avatar",
1284
+ method: "DELETE",
1285
+ operationId: "project-delete-server-avatar",
1286
+ };
1287
+ /** List directories belonging to a Project. */
1288
+ exports.projectFileSystemGetDirectories = {
1289
+ path: "/v2/projects/{projectId}/filesystem-directories",
1290
+ method: "GET",
1291
+ operationId: "project-file-system-get-directories",
1292
+ };
1293
+ /** Get a Project directory filesystem usage. */
1294
+ exports.projectFileSystemGetDiskUsage = {
1295
+ path: "/v2/projects/{projectId}/filesystem-disk-usage",
1296
+ method: "GET",
1297
+ operationId: "project-file-system-get-disk-usage",
1298
+ };
1299
+ /** Get a Project file's content. */
1300
+ exports.projectFileSystemGetFileContent = {
1301
+ path: "/v2/projects/{projectId}/filesystem-file-content",
1302
+ method: "GET",
1303
+ operationId: "project-file-system-get-file-content",
1304
+ };
1305
+ /** Get a Project's file/filesystem authorization token. */
1306
+ exports.projectFileSystemGetJwt = {
1307
+ path: "/v2/projects/{projectId}/jwt",
1308
+ method: "GET",
1309
+ operationId: "project-file-system-get-jwt",
1310
+ };
1311
+ /** Get a Project file's information. */
1312
+ exports.projectFileSystemListFiles = {
1313
+ path: "/v2/projects/{projectId}/filesystem-files",
1314
+ method: "GET",
1315
+ operationId: "project-file-system-list-files",
1316
+ };
1317
+ /** Get a ProjectInvite by token. */
1318
+ exports.projectGetProjectTokenInvite = {
1319
+ path: "/v2/project-token-invite",
1320
+ method: "GET",
1321
+ operationId: "project-get-project-token-invite",
1322
+ };
1323
+ /** Get the executing user's membership in a Project. */
1324
+ exports.projectGetSelfMembershipForProject = {
1325
+ path: "/v2/projects/{projectId}/memberships/self",
1326
+ method: "GET",
1327
+ operationId: "project-get-self-membership-for-project",
1328
+ };
1329
+ /** Get a Server. */
1330
+ exports.projectGetServer = {
1331
+ path: "/v2/servers/{serverId}",
1332
+ method: "GET",
1333
+ operationId: "project-get-server",
1334
+ };
1335
+ /** Leave a Project. */
1336
+ exports.projectLeaveProject = {
1337
+ path: "/v2/projects/{projectId}/leave",
1338
+ method: "POST",
1339
+ operationId: "project-leave-project",
1340
+ };
1341
+ /** List Invites belonging to a Project. */
1342
+ exports.projectListInvitesForProject = {
1343
+ path: "/v2/projects/{projectId}/invites",
1344
+ method: "GET",
1345
+ operationId: "project-list-invites-for-project",
1346
+ };
1347
+ /** List Memberships belonging to a Project. */
1348
+ exports.projectListMembershipsForProject = {
1349
+ path: "/v2/projects/{projectId}/memberships",
1350
+ method: "GET",
1351
+ operationId: "project-list-memberships-for-project",
1352
+ };
1353
+ /** List ProjectInvites belonging to the executing user. */
1354
+ exports.projectListProjectInvites = {
1355
+ path: "/v2/project-invites",
1356
+ method: "GET",
1357
+ operationId: "project-list-project-invites",
1358
+ };
1359
+ /** List ProjectMemberships belonging to the executing user. */
1360
+ exports.projectListProjectMemberships = {
1361
+ path: "/v2/project-memberships",
1362
+ method: "GET",
1363
+ operationId: "project-list-project-memberships",
1364
+ };
1365
+ /** List Projects belonging to the executing user. */
1366
+ exports.projectListProjects = {
1367
+ path: "/v2/projects",
1368
+ method: "GET",
1369
+ operationId: "project-list-projects",
1370
+ };
1371
+ /** List Servers belonging to the executing user. */
1372
+ exports.projectListServers = {
1373
+ path: "/v2/servers",
1374
+ method: "GET",
1375
+ operationId: "project-list-servers",
1376
+ };
1377
+ /** Resend the mail for a ProjectInvite. */
1378
+ exports.projectResendProjectInviteMail = {
1379
+ path: "/v2/project-invites/{inviteId}/actions/resend",
1380
+ method: "POST",
1381
+ operationId: "project-resend-project-invite-mail",
1382
+ };
1383
+ /** Update a Project's description. */
1384
+ exports.projectUpdateProjectDescription = {
1385
+ path: "/v2/projects/{projectId}/description",
1386
+ method: "PATCH",
1387
+ operationId: "project-update-project-description",
1388
+ };
1389
+ /** Update a Servers's description. */
1390
+ exports.projectUpdateServerDescription = {
1391
+ path: "/v2/servers/{serverId}/description",
1392
+ method: "PATCH",
1393
+ operationId: "project-update-server-description",
1394
+ };
1395
+ /** Register a tariff change for a legacy tariff. */
1396
+ exports.relocationCreateLegacyTariffChange = {
1397
+ path: "/v2/legacy-tariff-change",
1398
+ method: "POST",
1399
+ operationId: "relocation-create-legacy-tariff-change",
1400
+ };
1401
+ /** Relocate an external Project to mittwald. */
1402
+ exports.relocationCreateRelocation = {
1403
+ path: "/v2/relocation",
1404
+ method: "POST",
1405
+ operationId: "relocation-create-relocation",
1406
+ };
1407
+ /** Obtain a service token. */
1408
+ exports.servicetokenAuthenticateService = {
1409
+ path: "/v2/services/{accessKeyId}/actions/authenticate",
1410
+ method: "POST",
1411
+ operationId: "servicetoken-authenticate-service",
1412
+ };
1413
+ /** Get all SFTPUsers for a Project. */
1414
+ exports.sftpUserListSftpUsers = {
1415
+ path: "/v2/projects/{projectId}/sftp-users",
1416
+ method: "GET",
1417
+ operationId: "sftp-user-list-sftp-users",
1418
+ };
1419
+ /** Create an SFTPUser for a Project. */
1420
+ exports.sftpUserCreateSftpUser = {
1421
+ path: "/v2/projects/{projectId}/sftp-users",
1422
+ method: "POST",
1423
+ operationId: "sftp-user-create-sftp-user",
1424
+ };
1425
+ /** Get an SFTPUser. */
1426
+ exports.sftpUserGetSftpUser = {
1427
+ path: "/v2/sftp-users/{sftpUserId}",
1428
+ method: "GET",
1429
+ operationId: "sftp-user-get-sftp-user",
1430
+ };
1431
+ /** Delete an SFTPUser. */
1432
+ exports.sftpUserDeleteSftpUser = {
1433
+ path: "/v2/sftp-users/{sftpUserId}",
1434
+ method: "DELETE",
1435
+ operationId: "sftp-user-delete-sftp-user",
1436
+ };
1437
+ /** Update an SFTPUser. */
1438
+ exports.sftpUserUpdateSftpUser = {
1439
+ path: "/v2/sftp-users/{sftpUserId}",
1440
+ method: "PATCH",
1441
+ operationId: "sftp-user-update-sftp-user",
1442
+ };
1443
+ /** Get all SSHUsers for a Project. */
1444
+ exports.sshUserListSshUsers = {
1445
+ path: "/v2/projects/{projectId}/ssh-users",
1446
+ method: "GET",
1447
+ operationId: "ssh-user-list-ssh-users",
1448
+ };
1449
+ /** Create an SSHUser for a Project. */
1450
+ exports.sshUserCreateSshUser = {
1451
+ path: "/v2/projects/{projectId}/ssh-users",
1452
+ method: "POST",
1453
+ operationId: "ssh-user-create-ssh-user",
1454
+ };
1455
+ /** Get an SSHUser. */
1456
+ exports.sshUserGetSshUser = {
1457
+ path: "/v2/ssh-users/{sshUserId}",
1458
+ method: "GET",
1459
+ operationId: "ssh-user-get-ssh-user",
1460
+ };
1461
+ /** Delete an SSHUser. */
1462
+ exports.sshUserDeleteSshUser = {
1463
+ path: "/v2/ssh-users/{sshUserId}",
1464
+ method: "DELETE",
1465
+ operationId: "ssh-user-delete-ssh-user",
1466
+ };
1467
+ /** Update an SSHUser. */
1468
+ exports.sshUserUpdateSshUser = {
1469
+ path: "/v2/sshusers/{sshUserId}",
1470
+ method: "PATCH",
1471
+ operationId: "ssh-user-update-ssh-user",
1472
+ };
1473
+ /** Add phone number and start verification process. */
1474
+ exports.userAddPhoneNumber = {
1475
+ path: "/v2/users/{userId}/phone",
1476
+ method: "POST",
1477
+ operationId: "user-add-phone-number",
1478
+ };
1479
+ /** Remove phone number. */
1480
+ exports.userRemovePhoneNumber = {
1481
+ path: "/v2/users/{userId}/phone",
1482
+ method: "DELETE",
1483
+ operationId: "user-remove-phone-number",
1484
+ };
1485
+ /** Validate your second factor. */
1486
+ exports.userAuthenticateMfa = {
1487
+ path: "/v2/authenticate-mfa",
1488
+ method: "POST",
1489
+ operationId: "user-authenticate-mfa",
1490
+ };
1491
+ /** Authenticate yourself to get an access token. */
1492
+ exports.userAuthenticate = {
1493
+ path: "/v2/authenticate",
1494
+ method: "POST",
1495
+ operationId: "user-authenticate",
1496
+ };
1497
+ /** Get your verified Email-Address. */
1498
+ exports.userGetOwnEmail = {
1499
+ path: "/v2/users/self/credentials/email",
1500
+ method: "GET",
1501
+ operationId: "user-get-own-email",
1502
+ };
1503
+ /** Change your Email-Address. */
1504
+ exports.userChangeEmail = {
1505
+ path: "/v2/users/self/credentials/email",
1506
+ method: "PUT",
1507
+ operationId: "user-change-email",
1508
+ };
1509
+ /** Change your password. */
1510
+ exports.userChangePassword = {
1511
+ path: "/v2/users/self/credentials/password",
1512
+ method: "PUT",
1513
+ operationId: "user-change-password",
1514
+ };
1515
+ /** Check token for validity. */
1516
+ exports.userCheckToken = {
1517
+ path: "/v2/users/self/credentials/token",
1518
+ method: "POST",
1519
+ operationId: "user-check-token",
1520
+ };
1521
+ /** Get your current multi factor auth status. */
1522
+ exports.userGetMfaStatus = {
1523
+ path: "/v2/users/self/credentials/mfa",
1524
+ method: "GET",
1525
+ operationId: "user-get-mfa-status",
1526
+ };
1527
+ /** Reset RecoveryCodes for MFA. */
1528
+ exports.userResetRecoverycodes = {
1529
+ path: "/v2/users/self/credentials/mfa",
1530
+ method: "PUT",
1531
+ operationId: "user-reset-recoverycodes",
1532
+ };
1533
+ /** Confirm Multi Factor Authentication. */
1534
+ exports.userConfirmMfa = {
1535
+ path: "/v2/users/self/credentials/mfa",
1536
+ method: "POST",
1537
+ operationId: "user-confirm-mfa",
1538
+ };
1539
+ /** Disable Multi Factor Authentication. */
1540
+ exports.userDisableMfa = {
1541
+ path: "/v2/users/self/credentials/mfa",
1542
+ method: "DELETE",
1543
+ operationId: "user-disable-mfa",
1544
+ };
1545
+ /** Confirm password reset. */
1546
+ exports.userConfirmPasswordReset = {
1547
+ path: "/v2/users/self/credentials/password/confirm-reset",
1548
+ method: "POST",
1549
+ operationId: "user-confirm-password-reset",
1550
+ };
1551
+ /** List all of your ApiTokens. */
1552
+ exports.userListApiTokens = {
1553
+ path: "/v2/users/self/api-tokens",
1554
+ method: "GET",
1555
+ operationId: "user-list-api-tokens",
1556
+ };
1557
+ /** Store a new ApiToken. */
1558
+ exports.userCreateApiToken = {
1559
+ path: "/v2/users/self/api-tokens",
1560
+ method: "POST",
1561
+ operationId: "user-create-api-token",
1562
+ };
1563
+ /** Submit your user feedback. */
1564
+ exports.userCreateFeedback = {
1565
+ path: "/v2/users/self/feedback",
1566
+ method: "POST",
1567
+ operationId: "user-create-feedback",
1568
+ };
1569
+ /** Get your stored ssh-keys. */
1570
+ exports.userListSshKeys = {
1571
+ path: "/v2/users/self/ssh-keys",
1572
+ method: "GET",
1573
+ operationId: "user-list-ssh-keys",
1574
+ };
1575
+ /** Store a new ssh-key. */
1576
+ exports.userCreateSshKey = {
1577
+ path: "/v2/users/self/ssh-keys",
1578
+ method: "POST",
1579
+ operationId: "user-create-ssh-key",
1580
+ };
1581
+ /** Get a specific ApiToken. */
1582
+ exports.userGetApiToken = {
1583
+ path: "/v2/users/self/api-tokens/{apiTokenId}",
1584
+ method: "GET",
1585
+ operationId: "user-get-api-token",
1586
+ };
1587
+ /** Update an existing `ApiToken`. */
1588
+ exports.userEditApiToken = {
1589
+ path: "/v2/users/self/api-tokens/{apiTokenId}",
1590
+ method: "PUT",
1591
+ operationId: "user-edit-api-token",
1592
+ };
1593
+ /** Deletes an ApiToken. */
1594
+ exports.userDeleteApiToken = {
1595
+ path: "/v2/users/self/api-tokens/{apiTokenId}",
1596
+ method: "DELETE",
1597
+ operationId: "user-delete-api-token",
1598
+ };
1599
+ /** Get a specific stored ssh-key. */
1600
+ exports.userGetSshKey = {
1601
+ path: "/v2/users/self/ssh-keys/{sshKeyId}",
1602
+ method: "GET",
1603
+ operationId: "user-get-ssh-key",
1604
+ };
1605
+ /** Edit a stored ssh-key. */
1606
+ exports.userEditSshKey = {
1607
+ path: "/v2/users/self/ssh-keys/{sshKeyId}",
1608
+ method: "PUT",
1609
+ operationId: "user-edit-ssh-key",
1610
+ };
1611
+ /** Remove a ssh-key. */
1612
+ exports.userDeleteSshKey = {
1613
+ path: "/v2/users/self/ssh-keys/{sshKeyId}",
1614
+ method: "DELETE",
1615
+ operationId: "user-delete-ssh-key",
1616
+ };
1617
+ /** Delete your account and all your personal data. */
1618
+ exports.userDeleteUser = {
1619
+ path: "/v2/users/self",
1620
+ method: "DELETE",
1621
+ operationId: "user-delete-user",
1622
+ };
1623
+ /** Get your account information. */
1624
+ exports.userGetOwnAccount = {
1625
+ path: "/v2/users/self/personal-information",
1626
+ method: "GET",
1627
+ operationId: "user-get-own-account",
1628
+ };
1629
+ /** Update your account information. */
1630
+ exports.userUpdateAccount = {
1631
+ path: "/v2/users/self/personal-information",
1632
+ method: "PUT",
1633
+ operationId: "user-update-account",
1634
+ };
1635
+ /** The timestamp of your latest password change. */
1636
+ exports.userGetPasswordUpdatedAt = {
1637
+ path: "/v2/users/self/credentials/password-updated-at",
1638
+ method: "GET",
1639
+ operationId: "user-get-password-updated-at",
1640
+ };
1641
+ /** Get personalized settings. */
1642
+ exports.userGetPersonalizedSettings = {
1643
+ path: "/v2/users/{userId}/settings",
1644
+ method: "GET",
1645
+ operationId: "user-get-personalized-settings",
1646
+ };
1647
+ /** Update personalized GUI settings. */
1648
+ exports.userUpdatePersonalizedSettings = {
1649
+ path: "/v2/users/{userId}/settings",
1650
+ method: "PUT",
1651
+ operationId: "user-update-personalized-settings",
1652
+ };
1653
+ /** Get a specific session. */
1654
+ exports.userGetSession = {
1655
+ path: "/v2/users/self/sessions/{tokenId}",
1656
+ method: "GET",
1657
+ operationId: "user-get-session",
1658
+ };
1659
+ /** Terminate a specific Session. */
1660
+ exports.userTerminateSession = {
1661
+ path: "/v2/users/self/sessions/{tokenId}",
1662
+ method: "DELETE",
1663
+ operationId: "user-terminate-session",
1664
+ };
1665
+ /** Get profile information for a user. */
1666
+ exports.userGetUser = {
1667
+ path: "/v2/users/{userId}",
1668
+ method: "GET",
1669
+ operationId: "user-get-user",
1670
+ };
1671
+ /** Change personal information. */
1672
+ exports.userUpdatePersonalInformation = {
1673
+ path: "/v2/users/{userId}",
1674
+ method: "PUT",
1675
+ operationId: "user-update-personal-information",
1676
+ };
1677
+ /** Initialize Multi Factor Authentication. If successful, it needs to be confirmed, before usage of mfa. */
1678
+ exports.userInitMfa = {
1679
+ path: "/v2/users/self/credentials/init-mfa",
1680
+ method: "POST",
1681
+ operationId: "user-init-mfa",
1682
+ };
1683
+ /** Initialize password reset process. */
1684
+ exports.userInitPasswordReset = {
1685
+ path: "/v2/users/self/credentials/actions/init-password-reset",
1686
+ method: "POST",
1687
+ operationId: "user-init-password-reset",
1688
+ };
1689
+ /** Submitted feedback of the given user. */
1690
+ exports.userListFeedback = {
1691
+ path: "/v2/users/{userId}/feedback",
1692
+ method: "GET",
1693
+ operationId: "user-list-feedback",
1694
+ };
1695
+ /** List all sessions. */
1696
+ exports.userListSessions = {
1697
+ path: "/v2/users/self/sessions",
1698
+ method: "GET",
1699
+ operationId: "user-list-sessions",
1700
+ };
1701
+ /** Terminate all sessions, except the current session. */
1702
+ exports.userTerminateAllSessions = {
1703
+ path: "/v2/users/self/sessions",
1704
+ method: "DELETE",
1705
+ operationId: "user-terminate-all-sessions",
1706
+ };
1707
+ /** Terminate session and invalidate access token. */
1708
+ exports.userLogout = {
1709
+ path: "/v2/logout",
1710
+ method: "PUT",
1711
+ operationId: "user-logout",
1712
+ };
1713
+ /** Register with email and password. */
1714
+ exports.userRegister = {
1715
+ path: "/v2/register",
1716
+ method: "POST",
1717
+ operationId: "user-register",
1718
+ };
1719
+ /** Request a new avatar image upload. */
1720
+ exports.userRequestAvatarUpload = {
1721
+ path: "/v2/users/{userId}/avatar",
1722
+ method: "POST",
1723
+ operationId: "user-request-avatar-upload",
1724
+ };
1725
+ /** Remove Avatar. */
1726
+ exports.userRemoveAvatar = {
1727
+ path: "/v2/users/{userId}/avatar",
1728
+ method: "DELETE",
1729
+ operationId: "user-remove-avatar",
1730
+ };
1731
+ /** Resend the Email-Address verification email. */
1732
+ exports.userResendVerificationEmail = {
1733
+ path: "/v2/users/self/credentials/email/actions/resend-email",
1734
+ method: "POST",
1735
+ operationId: "user-resend-verification-email",
1736
+ };
1737
+ /** Request a support code. */
1738
+ exports.userSupportCodeRequest = {
1739
+ path: "/v2/users/self/credentials/support-code",
1740
+ method: "GET",
1741
+ operationId: "user-support-code-request",
1742
+ };
1743
+ /** Verify an added Email-Address. */
1744
+ exports.userVerifyEmail = {
1745
+ path: "/v2/users/self/credentials/email/actions/verify-email",
1746
+ method: "POST",
1747
+ operationId: "user-verify-email",
1748
+ };
1749
+ /** Verify phone number. */
1750
+ exports.userVerifyPhoneNumber = {
1751
+ path: "/v2/users/{userId}/phone/verify",
1752
+ method: "POST",
1753
+ operationId: "user-verify-phone-number",
1754
+ };
1755
+ /** Verify your registration. */
1756
+ exports.userVerifyRegistration = {
1757
+ path: "/v2/verify-registration",
1758
+ method: "POST",
1759
+ operationId: "user-verify-registration",
1760
+ };