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