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