@mittwald/api-client 3.1.1 → 3.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{react.d.ts → cjs/generated/v2/client-react.d.ts} +263 -268
- package/dist/cjs/generated/v2/client-react.js +343 -0
- package/dist/cjs/generated/v2/client.d.ts +9897 -0
- package/dist/cjs/generated/v2/client.js +674 -0
- package/dist/cjs/generated/v2/descriptors.d.ts +589 -0
- package/dist/cjs/generated/v2/descriptors.js +1760 -0
- package/dist/cjs/generated/v2/types.d.ts +14741 -0
- package/dist/cjs/generated/v2/types.js +2 -0
- package/dist/cjs/index.d.ts +3 -0
- package/dist/cjs/index.js +7 -0
- package/dist/cjs/react.d.ts +1 -0
- package/dist/cjs/react.js +5 -0
- package/dist/{index.d.ts → cjs/v2/default.d.ts} +4 -8
- package/dist/cjs/v2/default.js +70 -0
- package/dist/cjs/v2/react.d.ts +3 -0
- package/dist/cjs/v2/react.js +7 -0
- package/dist/cjs/version.d.ts +1 -0
- package/dist/cjs/version.js +4 -0
- package/dist/{react.d.cts → esm/generated/v2/client-react.d.ts} +263 -268
- package/dist/esm/generated/v2/client-react.js +347 -0
- package/dist/esm/generated/v2/client.d.ts +9897 -0
- package/dist/esm/generated/v2/client.js +644 -0
- package/dist/esm/generated/v2/descriptors.d.ts +589 -0
- package/dist/esm/generated/v2/descriptors.js +1752 -0
- package/dist/esm/generated/v2/types.d.ts +14741 -0
- package/dist/esm/generated/v2/types.js +1 -0
- package/dist/esm/index.d.ts +3 -0
- package/dist/esm/index.js +2 -0
- package/dist/esm/react.d.ts +1 -0
- package/dist/esm/react.js +1 -0
- package/dist/{index.d.cts → esm/v2/default.d.ts} +4 -8
- package/dist/esm/v2/default.js +53 -0
- package/dist/esm/v2/react.d.ts +3 -0
- package/dist/esm/v2/react.js +3 -0
- package/dist/esm/version.d.ts +1 -0
- package/dist/esm/version.js +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +25 -17
- package/dist/chunk-LELXC74W.js +0 -1770
- package/dist/client-739be67c.d.ts +0 -25271
- package/dist/index.cjs +0 -2627
- package/dist/index.js +0 -1440
- package/dist/react.cjs +0 -1360
- package/dist/react.js +0 -830
package/dist/index.cjs
DELETED
|
@@ -1,2627 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
|
|
20
|
-
// src/index.ts
|
|
21
|
-
var src_exports = {};
|
|
22
|
-
__export(src_exports, {
|
|
23
|
-
MittwaldAPIV2Client: () => MittwaldAPIClient,
|
|
24
|
-
assertStatus: () => import_api_client_commons3.assertStatus
|
|
25
|
-
});
|
|
26
|
-
module.exports = __toCommonJS(src_exports);
|
|
27
|
-
var import_api_client_commons3 = require("@mittwald/api-client-commons");
|
|
28
|
-
|
|
29
|
-
// src/v2/default.ts
|
|
30
|
-
var import_api_client_commons2 = require("@mittwald/api-client-commons");
|
|
31
|
-
|
|
32
|
-
// src/generated/v2/descriptors.ts
|
|
33
|
-
var appExecuteAction = {
|
|
34
|
-
path: "/v2/appinstallations/{appInstallationId}/actions/{action}",
|
|
35
|
-
method: "POST",
|
|
36
|
-
operationId: "app-execute-action"
|
|
37
|
-
};
|
|
38
|
-
var appGetApp = {
|
|
39
|
-
path: "/v2/apps/{appId}",
|
|
40
|
-
method: "GET",
|
|
41
|
-
operationId: "app-get-app"
|
|
42
|
-
};
|
|
43
|
-
var appGetAppinstallation = {
|
|
44
|
-
path: "/v2/appinstallations/{appInstallationId}",
|
|
45
|
-
method: "GET",
|
|
46
|
-
operationId: "app-get-appinstallation"
|
|
47
|
-
};
|
|
48
|
-
var appUninstallAppinstallation = {
|
|
49
|
-
path: "/v2/appinstallations/{appInstallationId}",
|
|
50
|
-
method: "DELETE",
|
|
51
|
-
operationId: "app-uninstall-appinstallation"
|
|
52
|
-
};
|
|
53
|
-
var appPatchAppinstallation = {
|
|
54
|
-
path: "/v2/appinstallations/{appInstallationId}",
|
|
55
|
-
method: "PATCH",
|
|
56
|
-
operationId: "app-patch-appinstallation"
|
|
57
|
-
};
|
|
58
|
-
var appGetAppversion = {
|
|
59
|
-
path: "/v2/apps/{appId}/versions/{appVersionId}",
|
|
60
|
-
method: "GET",
|
|
61
|
-
operationId: "app-get-appversion"
|
|
62
|
-
};
|
|
63
|
-
var appGetMissingDependenciesForAppinstallation = {
|
|
64
|
-
path: "/v2/appinstallations/{appInstallationId}/missing-dependencies",
|
|
65
|
-
method: "GET",
|
|
66
|
-
operationId: "app-get-missing-dependencies-for-appinstallation"
|
|
67
|
-
};
|
|
68
|
-
var appGetSystemsoftware = {
|
|
69
|
-
path: "/v2/systemsoftwares/{systemSoftwareId}",
|
|
70
|
-
method: "GET",
|
|
71
|
-
operationId: "app-get-systemsoftware"
|
|
72
|
-
};
|
|
73
|
-
var appGetSystemsoftwareversion = {
|
|
74
|
-
path: "/v2/systemsoftware/{systemSoftwareId}/versions/{systemSoftwareVersionId}",
|
|
75
|
-
method: "GET",
|
|
76
|
-
operationId: "app-get-systemsoftwareversion"
|
|
77
|
-
};
|
|
78
|
-
var appLinkDatabase = {
|
|
79
|
-
path: "/v2/appinstallations/{appInstallationId}/databases",
|
|
80
|
-
method: "PUT",
|
|
81
|
-
operationId: "app-link-database"
|
|
82
|
-
};
|
|
83
|
-
var appListAppinstallations = {
|
|
84
|
-
path: "/v2/projects/{projectId}/appinstallations",
|
|
85
|
-
method: "GET",
|
|
86
|
-
operationId: "app-list-appinstallations"
|
|
87
|
-
};
|
|
88
|
-
var appRequestAppinstallation = {
|
|
89
|
-
path: "/v2/projects/{projectId}/appinstallations",
|
|
90
|
-
method: "POST",
|
|
91
|
-
operationId: "app-request-appinstallation"
|
|
92
|
-
};
|
|
93
|
-
var appListApps = {
|
|
94
|
-
path: "/v2/apps",
|
|
95
|
-
method: "GET",
|
|
96
|
-
operationId: "app-list-apps"
|
|
97
|
-
};
|
|
98
|
-
var appListAppversions = {
|
|
99
|
-
path: "/v2/apps/{appId}/versions",
|
|
100
|
-
method: "GET",
|
|
101
|
-
operationId: "app-list-appversions"
|
|
102
|
-
};
|
|
103
|
-
var appListSystemsoftwares = {
|
|
104
|
-
path: "/v2/systemsoftwares",
|
|
105
|
-
method: "GET",
|
|
106
|
-
operationId: "app-list-systemsoftwares"
|
|
107
|
-
};
|
|
108
|
-
var appListSystemsoftwareversions = {
|
|
109
|
-
path: "/v2/systemsoftware/{systemSoftwareId}/versions",
|
|
110
|
-
method: "GET",
|
|
111
|
-
operationId: "app-list-systemsoftwareversions"
|
|
112
|
-
};
|
|
113
|
-
var appListUpdateCandidatesForAppversion = {
|
|
114
|
-
path: "/v2/apps/{appId}/versions/{baseAppVersionId}/update-candidates",
|
|
115
|
-
method: "GET",
|
|
116
|
-
operationId: "app-list-update-candidates-for-appversion"
|
|
117
|
-
};
|
|
118
|
-
var appRequestAppinstallationCopy = {
|
|
119
|
-
path: "/v2/appinstallations/{id}/actions/copy",
|
|
120
|
-
method: "POST",
|
|
121
|
-
operationId: "app-request-appinstallation-copy"
|
|
122
|
-
};
|
|
123
|
-
var appRetrieveStatus = {
|
|
124
|
-
path: "/v2/appinstallations/{appInstallationId}/status",
|
|
125
|
-
method: "GET",
|
|
126
|
-
operationId: "app-retrieve-status"
|
|
127
|
-
};
|
|
128
|
-
var appSetDatabaseUsers = {
|
|
129
|
-
path: "/v2/appinstallations/{appInstallationId}/databases/{databaseId}",
|
|
130
|
-
method: "PUT",
|
|
131
|
-
operationId: "app-set-database-users"
|
|
132
|
-
};
|
|
133
|
-
var appUnlinkDatabase = {
|
|
134
|
-
path: "/v2/appinstallations/{appInstallationId}/databases/{databaseId}",
|
|
135
|
-
method: "DELETE",
|
|
136
|
-
operationId: "app-unlink-database"
|
|
137
|
-
};
|
|
138
|
-
var articleGetArticle = {
|
|
139
|
-
path: "/v2/articles/{articleId}",
|
|
140
|
-
method: "GET",
|
|
141
|
-
operationId: "article-get-article"
|
|
142
|
-
};
|
|
143
|
-
var articleListArticles = {
|
|
144
|
-
path: "/v2/articles",
|
|
145
|
-
method: "GET",
|
|
146
|
-
operationId: "article-list-articles"
|
|
147
|
-
};
|
|
148
|
-
var backupCreateProjectBackupExport = {
|
|
149
|
-
path: "/v2/project-backups/{projectBackupId}/export",
|
|
150
|
-
method: "POST",
|
|
151
|
-
operationId: "backup-create-project-backup-export"
|
|
152
|
-
};
|
|
153
|
-
var backupDeleteProjectBackupExport = {
|
|
154
|
-
path: "/v2/project-backups/{projectBackupId}/export",
|
|
155
|
-
method: "DELETE",
|
|
156
|
-
operationId: "backup-delete-project-backup-export"
|
|
157
|
-
};
|
|
158
|
-
var backupListProjectBackupSchedules = {
|
|
159
|
-
path: "/v2/projects/{projectId}/backup-schedules",
|
|
160
|
-
method: "GET",
|
|
161
|
-
operationId: "backup-list-project-backup-schedules"
|
|
162
|
-
};
|
|
163
|
-
var backupCreateProjectBackupSchedule = {
|
|
164
|
-
path: "/v2/projects/{projectId}/backup-schedules",
|
|
165
|
-
method: "POST",
|
|
166
|
-
operationId: "backup-create-project-backup-schedule"
|
|
167
|
-
};
|
|
168
|
-
var backupListProjectBackups = {
|
|
169
|
-
path: "/v2/projects/{projectId}/backups",
|
|
170
|
-
method: "GET",
|
|
171
|
-
operationId: "backup-list-project-backups"
|
|
172
|
-
};
|
|
173
|
-
var backupCreateProjectBackup = {
|
|
174
|
-
path: "/v2/projects/{projectId}/backups",
|
|
175
|
-
method: "POST",
|
|
176
|
-
operationId: "backup-create-project-backup"
|
|
177
|
-
};
|
|
178
|
-
var backupGetProjectBackupSchedule = {
|
|
179
|
-
path: "/v2/project-backup-schedules/{projectBackupScheduleId}",
|
|
180
|
-
method: "GET",
|
|
181
|
-
operationId: "backup-get-project-backup-schedule"
|
|
182
|
-
};
|
|
183
|
-
var backupDeleteProjectBackupSchedule = {
|
|
184
|
-
path: "/v2/project-backup-schedules/{projectBackupScheduleId}",
|
|
185
|
-
method: "DELETE",
|
|
186
|
-
operationId: "backup-delete-project-backup-schedule"
|
|
187
|
-
};
|
|
188
|
-
var backupUpdateProjectBackupSchedule = {
|
|
189
|
-
path: "/v2/project-backup-schedules/{projectBackupScheduleId}",
|
|
190
|
-
method: "PATCH",
|
|
191
|
-
operationId: "backup-update-project-backup-schedule"
|
|
192
|
-
};
|
|
193
|
-
var backupGetProjectBackup = {
|
|
194
|
-
path: "/v2/project-backups/{projectBackupId}",
|
|
195
|
-
method: "GET",
|
|
196
|
-
operationId: "backup-get-project-backup"
|
|
197
|
-
};
|
|
198
|
-
var backupDeleteProjectBackup = {
|
|
199
|
-
path: "/v2/project-backups/{projectBackupId}",
|
|
200
|
-
method: "DELETE",
|
|
201
|
-
operationId: "backup-delete-project-backup"
|
|
202
|
-
};
|
|
203
|
-
var backupUpdateProjectBackupDescription = {
|
|
204
|
-
path: "/v2/project-backups/{projectBackupId}/description",
|
|
205
|
-
method: "PATCH",
|
|
206
|
-
operationId: "backup-update-project-backup-description"
|
|
207
|
-
};
|
|
208
|
-
var contractTerminateContractItem = {
|
|
209
|
-
path: "/v2/contracts/{contractId}/items/{contractItemId}/termination",
|
|
210
|
-
method: "POST",
|
|
211
|
-
operationId: "contract-terminate-contract-item"
|
|
212
|
-
};
|
|
213
|
-
var contractCancelContractItemTermination = {
|
|
214
|
-
path: "/v2/contracts/{contractId}/items/{contractItemId}/termination",
|
|
215
|
-
method: "DELETE",
|
|
216
|
-
operationId: "contract-cancel-contract-item-termination"
|
|
217
|
-
};
|
|
218
|
-
var contractCancelContractTariffChange = {
|
|
219
|
-
path: "/v2/contracts/{contractId}/items/{contractItemId}/tariff-change",
|
|
220
|
-
method: "DELETE",
|
|
221
|
-
operationId: "contract-cancel-contract-tariff-change"
|
|
222
|
-
};
|
|
223
|
-
var contractTerminateContract = {
|
|
224
|
-
path: "/v2/contracts/{contractId}/termination",
|
|
225
|
-
method: "POST",
|
|
226
|
-
operationId: "contract-terminate-contract"
|
|
227
|
-
};
|
|
228
|
-
var contractCancelContractTermination = {
|
|
229
|
-
path: "/v2/contracts/{contractId}/termination",
|
|
230
|
-
method: "DELETE",
|
|
231
|
-
operationId: "contract-cancel-contract-termination"
|
|
232
|
-
};
|
|
233
|
-
var contractGetBaseItemOfContract = {
|
|
234
|
-
path: "/v2/contracts/{contractId}/base-items",
|
|
235
|
-
method: "GET",
|
|
236
|
-
operationId: "contract-get-base-item-of-contract"
|
|
237
|
-
};
|
|
238
|
-
var contractGetDetailOfContractByDomain = {
|
|
239
|
-
path: "/v2/domains/{domainId}/contract",
|
|
240
|
-
method: "GET",
|
|
241
|
-
operationId: "contract-get-detail-of-contract-by-domain"
|
|
242
|
-
};
|
|
243
|
-
var contractGetDetailOfContractByProject = {
|
|
244
|
-
path: "/v2/projects/{projectId}/contract",
|
|
245
|
-
method: "GET",
|
|
246
|
-
operationId: "contract-get-detail-of-contract-by-project"
|
|
247
|
-
};
|
|
248
|
-
var contractGetDetailOfContractByServer = {
|
|
249
|
-
path: "/v2/servers/{serverId}/contract",
|
|
250
|
-
method: "GET",
|
|
251
|
-
operationId: "contract-get-detail-of-contract-by-server"
|
|
252
|
-
};
|
|
253
|
-
var contractGetDetailOfContractItem = {
|
|
254
|
-
path: "/v2/contracts/{contractId}/items/{contractItemId}",
|
|
255
|
-
method: "GET",
|
|
256
|
-
operationId: "contract-get-detail-of-contract-item"
|
|
257
|
-
};
|
|
258
|
-
var contractGetDetailOfContract = {
|
|
259
|
-
path: "/v2/contracts/{contractId}",
|
|
260
|
-
method: "GET",
|
|
261
|
-
operationId: "contract-get-detail-of-contract"
|
|
262
|
-
};
|
|
263
|
-
var contractGetNextTerminationDateForItem = {
|
|
264
|
-
path: "/v2/contracts/{contractId}/items/{contractItemId}/next-termination-dates",
|
|
265
|
-
method: "GET",
|
|
266
|
-
operationId: "contract-get-next-termination-date-for-item"
|
|
267
|
-
};
|
|
268
|
-
var contractListContracts = {
|
|
269
|
-
path: "/v2/customers/{customerId}/contracts",
|
|
270
|
-
method: "GET",
|
|
271
|
-
operationId: "contract-list-contracts"
|
|
272
|
-
};
|
|
273
|
-
var conversationListConversations = {
|
|
274
|
-
path: "/v2/conversations",
|
|
275
|
-
method: "GET",
|
|
276
|
-
operationId: "conversation-list-conversations"
|
|
277
|
-
};
|
|
278
|
-
var conversationCreateConversation = {
|
|
279
|
-
path: "/v2/conversations",
|
|
280
|
-
method: "POST",
|
|
281
|
-
operationId: "conversation-create-conversation"
|
|
282
|
-
};
|
|
283
|
-
var conversationListMessagesByConversation = {
|
|
284
|
-
path: "/v2/conversations/{conversationId}/messages",
|
|
285
|
-
method: "GET",
|
|
286
|
-
operationId: "conversation-list-messages-by-conversation"
|
|
287
|
-
};
|
|
288
|
-
var conversationCreateMessage = {
|
|
289
|
-
path: "/v2/conversations/{conversationId}/messages",
|
|
290
|
-
method: "POST",
|
|
291
|
-
operationId: "conversation-create-message"
|
|
292
|
-
};
|
|
293
|
-
var conversationGetCategory = {
|
|
294
|
-
path: "/v2/conversation-categories/{categoryId}",
|
|
295
|
-
method: "GET",
|
|
296
|
-
operationId: "conversation-get-category"
|
|
297
|
-
};
|
|
298
|
-
var conversationGetConversation = {
|
|
299
|
-
path: "/v2/conversations/{conversationId}",
|
|
300
|
-
method: "GET",
|
|
301
|
-
operationId: "conversation-get-conversation"
|
|
302
|
-
};
|
|
303
|
-
var conversationUpdateConversation = {
|
|
304
|
-
path: "/v2/conversations/{conversationId}",
|
|
305
|
-
method: "PUT",
|
|
306
|
-
operationId: "conversation-update-conversation"
|
|
307
|
-
};
|
|
308
|
-
var conversationListCategories = {
|
|
309
|
-
path: "/v2/conversation-categories",
|
|
310
|
-
method: "GET",
|
|
311
|
-
operationId: "conversation-list-categories"
|
|
312
|
-
};
|
|
313
|
-
var conversationRequestFileUpload = {
|
|
314
|
-
path: "/v2/conversations/{conversationId}/files",
|
|
315
|
-
method: "POST",
|
|
316
|
-
operationId: "conversation-request-file-upload"
|
|
317
|
-
};
|
|
318
|
-
var conversationSetConversationStatus = {
|
|
319
|
-
path: "/v2/conversations/{conversationId}/status",
|
|
320
|
-
method: "PUT",
|
|
321
|
-
operationId: "conversation-set-conversation-status"
|
|
322
|
-
};
|
|
323
|
-
var conversationUpdateMessage = {
|
|
324
|
-
path: "/v2/conversations/{conversationId}/messages/{messageId}",
|
|
325
|
-
method: "PATCH",
|
|
326
|
-
operationId: "conversation-update-message"
|
|
327
|
-
};
|
|
328
|
-
var cronjobAbortExecution = {
|
|
329
|
-
path: "/v2/cronjobs/{cronjobId}/executions/{executionId}/actions/abort",
|
|
330
|
-
method: "POST",
|
|
331
|
-
operationId: "cronjob-abort-execution"
|
|
332
|
-
};
|
|
333
|
-
var cronjobListCronjobs = {
|
|
334
|
-
path: "/v2/projects/{projectId}/cronjobs",
|
|
335
|
-
method: "GET",
|
|
336
|
-
operationId: "cronjob-list-cronjobs"
|
|
337
|
-
};
|
|
338
|
-
var cronjobCreateCronjob = {
|
|
339
|
-
path: "/v2/projects/{projectId}/cronjobs",
|
|
340
|
-
method: "POST",
|
|
341
|
-
operationId: "cronjob-create-cronjob"
|
|
342
|
-
};
|
|
343
|
-
var cronjobListExecutions = {
|
|
344
|
-
path: "/v2/cronjobs/{cronjobId}/executions",
|
|
345
|
-
method: "GET",
|
|
346
|
-
operationId: "cronjob-list-executions"
|
|
347
|
-
};
|
|
348
|
-
var cronjobCreateExecution = {
|
|
349
|
-
path: "/v2/cronjobs/{cronjobId}/executions",
|
|
350
|
-
method: "POST",
|
|
351
|
-
operationId: "cronjob-create-execution"
|
|
352
|
-
};
|
|
353
|
-
var cronjobGetCronjob = {
|
|
354
|
-
path: "/v2/cronjobs/{cronjobId}",
|
|
355
|
-
method: "GET",
|
|
356
|
-
operationId: "cronjob-get-cronjob"
|
|
357
|
-
};
|
|
358
|
-
var cronjobDeleteCronjob = {
|
|
359
|
-
path: "/v2/cronjobs/{cronjobId}",
|
|
360
|
-
method: "DELETE",
|
|
361
|
-
operationId: "cronjob-delete-cronjob"
|
|
362
|
-
};
|
|
363
|
-
var cronjobUpdateCronjob = {
|
|
364
|
-
path: "/v2/cronjobs/{cronjobId}",
|
|
365
|
-
method: "PATCH",
|
|
366
|
-
operationId: "cronjob-update-cronjob"
|
|
367
|
-
};
|
|
368
|
-
var cronjobGetExecution = {
|
|
369
|
-
path: "/v2/cronjobs/{cronjobId}/executions/{executionId}",
|
|
370
|
-
method: "GET",
|
|
371
|
-
operationId: "cronjob-get-execution"
|
|
372
|
-
};
|
|
373
|
-
var cronjobUpdateCronjobAppId = {
|
|
374
|
-
path: "/v2/cronjobs/{cronjobId}/app-id",
|
|
375
|
-
method: "PATCH",
|
|
376
|
-
operationId: "cronjob-update-cronjob-app-id"
|
|
377
|
-
};
|
|
378
|
-
var customerAcceptCustomerInvite = {
|
|
379
|
-
path: "/v2/customer-invites/{inviteId}/actions/accept",
|
|
380
|
-
method: "POST",
|
|
381
|
-
operationId: "customer-accept-customer-invite"
|
|
382
|
-
};
|
|
383
|
-
var customerListOfCustomerCategories = {
|
|
384
|
-
path: "/v2/customer-categories",
|
|
385
|
-
method: "GET",
|
|
386
|
-
operationId: "customer-list-of-customer-categories"
|
|
387
|
-
};
|
|
388
|
-
var customerCreateCategory = {
|
|
389
|
-
path: "/v2/customer-categories",
|
|
390
|
-
method: "POST",
|
|
391
|
-
operationId: "customer-create-category"
|
|
392
|
-
};
|
|
393
|
-
var customerCreateCustomerInvite = {
|
|
394
|
-
path: "/v2/customer/{customerId}/invites",
|
|
395
|
-
method: "POST",
|
|
396
|
-
operationId: "customer-create-customer-invite"
|
|
397
|
-
};
|
|
398
|
-
var customerListCustomers = {
|
|
399
|
-
path: "/v2/customers",
|
|
400
|
-
method: "GET",
|
|
401
|
-
operationId: "customer-list-customers"
|
|
402
|
-
};
|
|
403
|
-
var customerCreateCustomer = {
|
|
404
|
-
path: "/v2/customers",
|
|
405
|
-
method: "POST",
|
|
406
|
-
operationId: "customer-create-customer"
|
|
407
|
-
};
|
|
408
|
-
var customerDeclineCustomerInvite = {
|
|
409
|
-
path: "/v2/customer-invites/{inviteId}/actions/decline",
|
|
410
|
-
method: "POST",
|
|
411
|
-
operationId: "customer-decline-customer-invite"
|
|
412
|
-
};
|
|
413
|
-
var customerGetCustomerCategory = {
|
|
414
|
-
path: "/v2/customer-categories/{categoryId}",
|
|
415
|
-
method: "GET",
|
|
416
|
-
operationId: "customer-get-customer-category"
|
|
417
|
-
};
|
|
418
|
-
var customerUpdateCategory = {
|
|
419
|
-
path: "/v2/customer-categories/{categoryId}",
|
|
420
|
-
method: "PUT",
|
|
421
|
-
operationId: "customer-update-category"
|
|
422
|
-
};
|
|
423
|
-
var customerDeleteCategory = {
|
|
424
|
-
path: "/v2/customer-categories/{categoryId}",
|
|
425
|
-
method: "DELETE",
|
|
426
|
-
operationId: "customer-delete-category"
|
|
427
|
-
};
|
|
428
|
-
var customerGetCustomerInvite = {
|
|
429
|
-
path: "/v2/customer-invites/{inviteId}",
|
|
430
|
-
method: "GET",
|
|
431
|
-
operationId: "customer-get-customer-invite"
|
|
432
|
-
};
|
|
433
|
-
var customerDeleteCustomerInvite = {
|
|
434
|
-
path: "/v2/customer-invites/{inviteId}",
|
|
435
|
-
method: "DELETE",
|
|
436
|
-
operationId: "customer-delete-customer-invite"
|
|
437
|
-
};
|
|
438
|
-
var customerGetCustomerMembership = {
|
|
439
|
-
path: "/v2/customer-memberships/{membershipId}",
|
|
440
|
-
method: "GET",
|
|
441
|
-
operationId: "customer-get-customer-membership"
|
|
442
|
-
};
|
|
443
|
-
var customerDeleteCustomerMembership = {
|
|
444
|
-
path: "/v2/customer-memberships/{membershipId}",
|
|
445
|
-
method: "DELETE",
|
|
446
|
-
operationId: "customer-delete-customer-membership"
|
|
447
|
-
};
|
|
448
|
-
var customerUpdateCustomerMembership = {
|
|
449
|
-
path: "/v2/customer-memberships/{membershipId}",
|
|
450
|
-
method: "PATCH",
|
|
451
|
-
operationId: "customer-update-customer-membership"
|
|
452
|
-
};
|
|
453
|
-
var customerGetCustomer = {
|
|
454
|
-
path: "/v2/customers/{customerId}",
|
|
455
|
-
method: "GET",
|
|
456
|
-
operationId: "customer-get-customer"
|
|
457
|
-
};
|
|
458
|
-
var customerUpdateCustomer = {
|
|
459
|
-
path: "/v2/customers/{customerId}",
|
|
460
|
-
method: "PUT",
|
|
461
|
-
operationId: "customer-update-customer"
|
|
462
|
-
};
|
|
463
|
-
var customerDeleteCustomer = {
|
|
464
|
-
path: "/v2/customers/{customerId}",
|
|
465
|
-
method: "DELETE",
|
|
466
|
-
operationId: "customer-delete-customer"
|
|
467
|
-
};
|
|
468
|
-
var customerGetCustomerTokenInvite = {
|
|
469
|
-
path: "/v2/customer-token-invite",
|
|
470
|
-
method: "GET",
|
|
471
|
-
operationId: "customer-get-customer-token-invite"
|
|
472
|
-
};
|
|
473
|
-
var customerIsCustomerLegallyCompetent = {
|
|
474
|
-
path: "/v2/customers/{customerId}/legally-competent",
|
|
475
|
-
method: "GET",
|
|
476
|
-
operationId: "customer-is-customer-legally-competent"
|
|
477
|
-
};
|
|
478
|
-
var customerLeaveCustomer = {
|
|
479
|
-
path: "/v2/customer/{customerId}/actions/leave",
|
|
480
|
-
method: "POST",
|
|
481
|
-
operationId: "customer-leave-customer"
|
|
482
|
-
};
|
|
483
|
-
var customerListCustomerInvites = {
|
|
484
|
-
path: "/v2/customer-invites",
|
|
485
|
-
method: "GET",
|
|
486
|
-
operationId: "customer-list-customer-invites"
|
|
487
|
-
};
|
|
488
|
-
var customerListCustomerMemberships = {
|
|
489
|
-
path: "/v2/customer-memberships",
|
|
490
|
-
method: "GET",
|
|
491
|
-
operationId: "customer-list-customer-memberships"
|
|
492
|
-
};
|
|
493
|
-
var customerListInvitesForCustomer = {
|
|
494
|
-
path: "/v2/customers/{customerId}/invites",
|
|
495
|
-
method: "GET",
|
|
496
|
-
operationId: "customer-list-invites-for-customer"
|
|
497
|
-
};
|
|
498
|
-
var customerListMembershipsForCustomer = {
|
|
499
|
-
path: "/v2/customers/{customerId}/memberships",
|
|
500
|
-
method: "GET",
|
|
501
|
-
operationId: "customer-list-memberships-for-customer"
|
|
502
|
-
};
|
|
503
|
-
var customerRequestAvatarUpload = {
|
|
504
|
-
path: "/v2/customers/{customerId}/avatar",
|
|
505
|
-
method: "POST",
|
|
506
|
-
operationId: "customer-request-avatar-upload"
|
|
507
|
-
};
|
|
508
|
-
var customerRemoveAvatar = {
|
|
509
|
-
path: "/v2/customers/{customerId}/avatar",
|
|
510
|
-
method: "DELETE",
|
|
511
|
-
operationId: "customer-remove-avatar"
|
|
512
|
-
};
|
|
513
|
-
var customerResendCustomerInviteMail = {
|
|
514
|
-
path: "/v2/customer-invites/{inviteId}/actions/resend",
|
|
515
|
-
method: "POST",
|
|
516
|
-
operationId: "customer-resend-customer-invite-mail"
|
|
517
|
-
};
|
|
518
|
-
var databaseListMysqlDatabases = {
|
|
519
|
-
path: "/v2/projects/{projectId}/mysql-databases",
|
|
520
|
-
method: "GET",
|
|
521
|
-
operationId: "database-list-mysql-databases"
|
|
522
|
-
};
|
|
523
|
-
var databaseCreateMysqlDatabase = {
|
|
524
|
-
path: "/v2/projects/{projectId}/mysql-databases",
|
|
525
|
-
method: "POST",
|
|
526
|
-
operationId: "database-create-mysql-database"
|
|
527
|
-
};
|
|
528
|
-
var databaseListMysqlUsers = {
|
|
529
|
-
path: "/v2/mysql-databases/{databaseId}/users",
|
|
530
|
-
method: "GET",
|
|
531
|
-
operationId: "database-list-mysql-users"
|
|
532
|
-
};
|
|
533
|
-
var databaseCreateMysqlUser = {
|
|
534
|
-
path: "/v2/mysql-databases/{databaseId}/users",
|
|
535
|
-
method: "POST",
|
|
536
|
-
operationId: "database-create-mysql-user"
|
|
537
|
-
};
|
|
538
|
-
var databaseListRedisDatabases = {
|
|
539
|
-
path: "/v2/projects/{projectId}/redis-databases",
|
|
540
|
-
method: "GET",
|
|
541
|
-
operationId: "database-list-redis-databases"
|
|
542
|
-
};
|
|
543
|
-
var databaseCreateRedisDatabase = {
|
|
544
|
-
path: "/v2/projects/{projectId}/redis-databases",
|
|
545
|
-
method: "POST",
|
|
546
|
-
operationId: "database-create-redis-database"
|
|
547
|
-
};
|
|
548
|
-
var databaseGetMysqlDatabase = {
|
|
549
|
-
path: "/v2/mysql-databases/{mysqlDatabaseId}",
|
|
550
|
-
method: "GET",
|
|
551
|
-
operationId: "database-get-mysql-database"
|
|
552
|
-
};
|
|
553
|
-
var databaseDeleteMysqlDatabase = {
|
|
554
|
-
path: "/v2/mysql-databases/{mysqlDatabaseId}",
|
|
555
|
-
method: "DELETE",
|
|
556
|
-
operationId: "database-delete-mysql-database"
|
|
557
|
-
};
|
|
558
|
-
var databaseGetMysqlUser = {
|
|
559
|
-
path: "/v2/mysql-users/{mysqlUserId}",
|
|
560
|
-
method: "GET",
|
|
561
|
-
operationId: "database-get-mysql-user"
|
|
562
|
-
};
|
|
563
|
-
var databaseUpdateMysqlUser = {
|
|
564
|
-
path: "/v2/mysql-users/{mysqlUserId}",
|
|
565
|
-
method: "PUT",
|
|
566
|
-
operationId: "database-update-mysql-user"
|
|
567
|
-
};
|
|
568
|
-
var databaseDeleteMysqlUser = {
|
|
569
|
-
path: "/v2/mysql-users/{mysqlUserId}",
|
|
570
|
-
method: "DELETE",
|
|
571
|
-
operationId: "database-delete-mysql-user"
|
|
572
|
-
};
|
|
573
|
-
var databaseGetRedisDatabase = {
|
|
574
|
-
path: "/v2/redis-databases/{redisDatabaseId}",
|
|
575
|
-
method: "GET",
|
|
576
|
-
operationId: "database-get-redis-database"
|
|
577
|
-
};
|
|
578
|
-
var databaseDeleteRedisDatabase = {
|
|
579
|
-
path: "/v2/redis-databases/{redisDatabaseId}",
|
|
580
|
-
method: "DELETE",
|
|
581
|
-
operationId: "database-delete-redis-database"
|
|
582
|
-
};
|
|
583
|
-
var databaseDisableMysqlUser = {
|
|
584
|
-
path: "/v2/mysql-users/{mysqlUserId}/actions/disable",
|
|
585
|
-
method: "POST",
|
|
586
|
-
operationId: "database-disable-mysql-user"
|
|
587
|
-
};
|
|
588
|
-
var databaseEnableMysqlUser = {
|
|
589
|
-
path: "/v2/mysql-users/{mysqlUserId}/actions/enable",
|
|
590
|
-
method: "POST",
|
|
591
|
-
operationId: "database-enable-mysql-user"
|
|
592
|
-
};
|
|
593
|
-
var databaseGetMysqlUserPhpMyAdminUrl = {
|
|
594
|
-
path: "/v2/mysql-users/{mysqlUserId}/php-my-admin-url",
|
|
595
|
-
method: "GET",
|
|
596
|
-
operationId: "database-get-mysql-user-php-my-admin-url"
|
|
597
|
-
};
|
|
598
|
-
var databaseListMysqlCharsets = {
|
|
599
|
-
path: "/v2/mysql-charsets",
|
|
600
|
-
method: "GET",
|
|
601
|
-
operationId: "database-list-mysql-charsets"
|
|
602
|
-
};
|
|
603
|
-
var databaseListMysqlVersions = {
|
|
604
|
-
path: "/v2/mysql-versions",
|
|
605
|
-
method: "GET",
|
|
606
|
-
operationId: "database-list-mysql-versions"
|
|
607
|
-
};
|
|
608
|
-
var databaseListRedisVersions = {
|
|
609
|
-
path: "/v2/redis-versions",
|
|
610
|
-
method: "GET",
|
|
611
|
-
operationId: "database-list-redis-versions"
|
|
612
|
-
};
|
|
613
|
-
var databaseUpdateMysqlDatabaseDefaultCharset = {
|
|
614
|
-
path: "/v2/mysql-databases/{mysqlDatabaseId}/default-charset",
|
|
615
|
-
method: "PATCH",
|
|
616
|
-
operationId: "database-update-mysql-database-default-charset"
|
|
617
|
-
};
|
|
618
|
-
var databaseUpdateMysqlDatabaseDescription = {
|
|
619
|
-
path: "/v2/mysql-databases/{mysqlDatabaseId}/description",
|
|
620
|
-
method: "PATCH",
|
|
621
|
-
operationId: "database-update-mysql-database-description"
|
|
622
|
-
};
|
|
623
|
-
var databaseUpdateMysqlUserPassword = {
|
|
624
|
-
path: "/v2/mysql-users/{mysqlUserId}/password",
|
|
625
|
-
method: "PATCH",
|
|
626
|
-
operationId: "database-update-mysql-user-password"
|
|
627
|
-
};
|
|
628
|
-
var databaseUpdateRedisDatabaseConfiguration = {
|
|
629
|
-
path: "/v2/redis-databases/{redisDatabaseId}/configuration",
|
|
630
|
-
method: "PATCH",
|
|
631
|
-
operationId: "database-update-redis-database-configuration"
|
|
632
|
-
};
|
|
633
|
-
var databaseUpdateRedisDatabaseDescription = {
|
|
634
|
-
path: "/v2/redis-databases/{redisDatabaseId}/description",
|
|
635
|
-
method: "PATCH",
|
|
636
|
-
operationId: "database-update-redis-database-description"
|
|
637
|
-
};
|
|
638
|
-
var newsletterSubscribeUser = {
|
|
639
|
-
path: "/v2/newsletter-subscriptions",
|
|
640
|
-
method: "POST",
|
|
641
|
-
operationId: "newsletter-subscribe-user"
|
|
642
|
-
};
|
|
643
|
-
var dnsCreateDnsZone = {
|
|
644
|
-
path: "/v2/dns-zones",
|
|
645
|
-
method: "POST",
|
|
646
|
-
operationId: "dns-create-dns-zone"
|
|
647
|
-
};
|
|
648
|
-
var dnsGetDnsZone = {
|
|
649
|
-
path: "/v2/dns-zones/{dnsZoneId}",
|
|
650
|
-
method: "GET",
|
|
651
|
-
operationId: "dns-get-dns-zone"
|
|
652
|
-
};
|
|
653
|
-
var dnsDeleteDnsZone = {
|
|
654
|
-
path: "/v2/dns-zones/{dnsZoneId}",
|
|
655
|
-
method: "DELETE",
|
|
656
|
-
operationId: "dns-delete-dns-zone"
|
|
657
|
-
};
|
|
658
|
-
var dnsListDnsZones = {
|
|
659
|
-
path: "/v2/projects/{projectId}/dns-zones",
|
|
660
|
-
method: "GET",
|
|
661
|
-
operationId: "dns-list-dns-zones"
|
|
662
|
-
};
|
|
663
|
-
var dnsSetRecordSetManaged = {
|
|
664
|
-
path: "/v2/dns-zones/{dnsZoneId}/record-sets/{recordSet}/actions/set-managed",
|
|
665
|
-
method: "POST",
|
|
666
|
-
operationId: "dns-set-record-set-managed"
|
|
667
|
-
};
|
|
668
|
-
var dnsUpdateRecordSet = {
|
|
669
|
-
path: "/v2/dns-zones/{dnsZoneId}/record-sets/{recordSet}",
|
|
670
|
-
method: "PUT",
|
|
671
|
-
operationId: "dns-update-record-set"
|
|
672
|
-
};
|
|
673
|
-
var domainAbortDomainDeclaration = {
|
|
674
|
-
path: "/v2/domains/{domainId}/declaration",
|
|
675
|
-
method: "DELETE",
|
|
676
|
-
operationId: "domain-abort-domain-declaration"
|
|
677
|
-
};
|
|
678
|
-
var domainCheckDomainRegistrability = {
|
|
679
|
-
path: "/v2/domain-registrable",
|
|
680
|
-
method: "POST",
|
|
681
|
-
operationId: "domain-check-domain-registrability"
|
|
682
|
-
};
|
|
683
|
-
var domainCreateDomainAuthCode2 = {
|
|
684
|
-
path: "/v2/domains/{domainId}/actions/auth-code-2",
|
|
685
|
-
method: "POST",
|
|
686
|
-
operationId: "domain-create-domain-auth-code-2"
|
|
687
|
-
};
|
|
688
|
-
var domainCreateDomainAuthCode = {
|
|
689
|
-
path: "/v2/domains/{domainId}/actions/auth-code",
|
|
690
|
-
method: "POST",
|
|
691
|
-
operationId: "domain-create-domain-auth-code"
|
|
692
|
-
};
|
|
693
|
-
var domainUpdateDomainNameservers = {
|
|
694
|
-
path: "/v2/domains/{domainId}/nameservers",
|
|
695
|
-
method: "PATCH",
|
|
696
|
-
operationId: "domain-update-domain-nameservers"
|
|
697
|
-
};
|
|
698
|
-
var domainGetDomain = {
|
|
699
|
-
path: "/v2/domains/{domainId}",
|
|
700
|
-
method: "GET",
|
|
701
|
-
operationId: "domain-get-domain"
|
|
702
|
-
};
|
|
703
|
-
var domainDeleteDomain = {
|
|
704
|
-
path: "/v2/domains/{domainId}",
|
|
705
|
-
method: "DELETE",
|
|
706
|
-
operationId: "domain-delete-domain"
|
|
707
|
-
};
|
|
708
|
-
var domainGetDomainOwnership = {
|
|
709
|
-
path: "/v2/domain-ownerships/{domainOwnershipId}",
|
|
710
|
-
method: "GET",
|
|
711
|
-
operationId: "domain-get-domain-ownership"
|
|
712
|
-
};
|
|
713
|
-
var domainGetScreenshotForDomain = {
|
|
714
|
-
path: "/v2/domains/{domainId}/screenshots/newest",
|
|
715
|
-
method: "GET",
|
|
716
|
-
operationId: "domain-get-screenshot-for-domain"
|
|
717
|
-
};
|
|
718
|
-
var domainListDomainOwnerships = {
|
|
719
|
-
path: "/v2/projects/{projectId}/domain-ownerships",
|
|
720
|
-
method: "GET",
|
|
721
|
-
operationId: "domain-list-domain-ownerships"
|
|
722
|
-
};
|
|
723
|
-
var domainListDomains = {
|
|
724
|
-
path: "/v2/projects/{projectId}/domains",
|
|
725
|
-
method: "GET",
|
|
726
|
-
operationId: "domain-list-domains"
|
|
727
|
-
};
|
|
728
|
-
var domainListTldContactSchemas = {
|
|
729
|
-
path: "/v2/domain-tlds/{tld}/contact-schemas",
|
|
730
|
-
method: "GET",
|
|
731
|
-
operationId: "domain-list-tld-contact-schemas"
|
|
732
|
-
};
|
|
733
|
-
var domainListTlds = {
|
|
734
|
-
path: "/v2/domain-tlds",
|
|
735
|
-
method: "GET",
|
|
736
|
-
operationId: "domain-list-tlds"
|
|
737
|
-
};
|
|
738
|
-
var domainResendDomainEmail = {
|
|
739
|
-
path: "/v2/domains/{domainId}/actions/resend-email",
|
|
740
|
-
method: "POST",
|
|
741
|
-
operationId: "domain-resend-domain-email"
|
|
742
|
-
};
|
|
743
|
-
var domainUpdateDomainAuthCode = {
|
|
744
|
-
path: "/v2/domains/{domainId}/auth-code",
|
|
745
|
-
method: "PATCH",
|
|
746
|
-
operationId: "domain-update-domain-auth-code"
|
|
747
|
-
};
|
|
748
|
-
var domainUpdateDomainContact = {
|
|
749
|
-
path: "/v2/domains/{domainId}/contacts/{contact}",
|
|
750
|
-
method: "PATCH",
|
|
751
|
-
operationId: "domain-update-domain-contact"
|
|
752
|
-
};
|
|
753
|
-
var domainUpdateDomainProjectId = {
|
|
754
|
-
path: "/v2/domains/{domainId}/project-id",
|
|
755
|
-
method: "PATCH",
|
|
756
|
-
operationId: "domain-update-domain-project-id"
|
|
757
|
-
};
|
|
758
|
-
var domainVerifyDomainOwnership = {
|
|
759
|
-
path: "/v2/domain-ownerships/{domainOwnershipId}/actions/verify",
|
|
760
|
-
method: "POST",
|
|
761
|
-
operationId: "domain-verify-domain-ownership"
|
|
762
|
-
};
|
|
763
|
-
var fileCreateFile = {
|
|
764
|
-
path: "/v2/files",
|
|
765
|
-
method: "POST",
|
|
766
|
-
operationId: "file-create-file"
|
|
767
|
-
};
|
|
768
|
-
var fileGetFileMeta = {
|
|
769
|
-
path: "/v2/files/{fileId}/meta",
|
|
770
|
-
method: "GET",
|
|
771
|
-
operationId: "file-get-file-meta"
|
|
772
|
-
};
|
|
773
|
-
var fileGetFileTokenRules = {
|
|
774
|
-
path: "/v2/file-token-rules/{token}",
|
|
775
|
-
method: "GET",
|
|
776
|
-
operationId: "file-get-file-token-rules"
|
|
777
|
-
};
|
|
778
|
-
var fileGetFileTypeRules = {
|
|
779
|
-
path: "/v2/file-type-rules/{name}",
|
|
780
|
-
method: "GET",
|
|
781
|
-
operationId: "file-get-file-type-rules"
|
|
782
|
-
};
|
|
783
|
-
var fileGetFile = {
|
|
784
|
-
path: "/v2/files/{fileId}",
|
|
785
|
-
method: "GET",
|
|
786
|
-
operationId: "file-get-file"
|
|
787
|
-
};
|
|
788
|
-
var ingressCreate = {
|
|
789
|
-
path: "/v2/ingresses/",
|
|
790
|
-
method: "POST",
|
|
791
|
-
operationId: "ingress-create"
|
|
792
|
-
};
|
|
793
|
-
var ingressGetSpecific = {
|
|
794
|
-
path: "/v2/ingresses/{ingressId}",
|
|
795
|
-
method: "GET",
|
|
796
|
-
operationId: "ingress-get-specific"
|
|
797
|
-
};
|
|
798
|
-
var ingressDelete = {
|
|
799
|
-
path: "/v2/ingresses/{ingressId}",
|
|
800
|
-
method: "DELETE",
|
|
801
|
-
operationId: "ingress-delete"
|
|
802
|
-
};
|
|
803
|
-
var ingressListAccessible = {
|
|
804
|
-
path: "/v2/ingresses",
|
|
805
|
-
method: "GET",
|
|
806
|
-
operationId: "ingress-list-accessible"
|
|
807
|
-
};
|
|
808
|
-
var ingressListForProject = {
|
|
809
|
-
path: "/v2/projects/{projectId}/ingresses",
|
|
810
|
-
method: "GET",
|
|
811
|
-
operationId: "ingress-list-for-project"
|
|
812
|
-
};
|
|
813
|
-
var ingressPaths = {
|
|
814
|
-
path: "/v2/ingresses/{ingressId}/paths",
|
|
815
|
-
method: "PUT",
|
|
816
|
-
operationId: "ingress-paths"
|
|
817
|
-
};
|
|
818
|
-
var ingressRequestAcmeCertificateIssuance = {
|
|
819
|
-
path: "/v2/ingresses/{ingressId}/actions/request-acme-certificate-issuance",
|
|
820
|
-
method: "POST",
|
|
821
|
-
operationId: "ingress-request-acme-certificate-issuance"
|
|
822
|
-
};
|
|
823
|
-
var ingressTls = {
|
|
824
|
-
path: "/v2/ingresses/{ingressId}/tls",
|
|
825
|
-
method: "PUT",
|
|
826
|
-
operationId: "ingress-tls"
|
|
827
|
-
};
|
|
828
|
-
var invoiceDetailOfInvoice = {
|
|
829
|
-
path: "/v2/customers/{customerId}/invoices/{invoiceId}",
|
|
830
|
-
method: "GET",
|
|
831
|
-
operationId: "invoice-detail-of-invoice"
|
|
832
|
-
};
|
|
833
|
-
var invoiceGetDetailOfInvoiceSettings = {
|
|
834
|
-
path: "/v2/customers/{customerId}/invoice-settings",
|
|
835
|
-
method: "GET",
|
|
836
|
-
operationId: "invoice-get-detail-of-invoice-settings"
|
|
837
|
-
};
|
|
838
|
-
var invoiceUpdateInvoiceSettings = {
|
|
839
|
-
path: "/v2/customers/{customerId}/invoice-settings",
|
|
840
|
-
method: "PUT",
|
|
841
|
-
operationId: "invoice-update-invoice-settings"
|
|
842
|
-
};
|
|
843
|
-
var invoiceListCustomerInvoices = {
|
|
844
|
-
path: "/v2/customers/{customerId}/invoices",
|
|
845
|
-
method: "GET",
|
|
846
|
-
operationId: "invoice-list-customer-invoices"
|
|
847
|
-
};
|
|
848
|
-
var mailListDeliveryBoxes = {
|
|
849
|
-
path: "/v2/projects/{projectId}/delivery-boxes",
|
|
850
|
-
method: "GET",
|
|
851
|
-
operationId: "mail-list-delivery-boxes"
|
|
852
|
-
};
|
|
853
|
-
var mailCreateDeliverybox = {
|
|
854
|
-
path: "/v2/projects/{projectId}/delivery-boxes",
|
|
855
|
-
method: "POST",
|
|
856
|
-
operationId: "mail-create-deliverybox"
|
|
857
|
-
};
|
|
858
|
-
var mailListMailAddresses = {
|
|
859
|
-
path: "/v2/projects/{projectId}/mail-addresses",
|
|
860
|
-
method: "GET",
|
|
861
|
-
operationId: "mail-list-mail-addresses"
|
|
862
|
-
};
|
|
863
|
-
var mailCreateMailAddress = {
|
|
864
|
-
path: "/v2/projects/{projectId}/mail-addresses",
|
|
865
|
-
method: "POST",
|
|
866
|
-
operationId: "mail-create-mail-address"
|
|
867
|
-
};
|
|
868
|
-
var mailGetDeliveryBox = {
|
|
869
|
-
path: "/v2/delivery-boxes/{deliveryBoxId}",
|
|
870
|
-
method: "GET",
|
|
871
|
-
operationId: "mail-get-delivery-box"
|
|
872
|
-
};
|
|
873
|
-
var mailDeleteDeliveryBox = {
|
|
874
|
-
path: "/v2/delivery-boxes/{deliveryBoxId}",
|
|
875
|
-
method: "DELETE",
|
|
876
|
-
operationId: "mail-delete-delivery-box"
|
|
877
|
-
};
|
|
878
|
-
var mailGetMailAddress = {
|
|
879
|
-
path: "/v2/mail-addresses/{mailAddressId}",
|
|
880
|
-
method: "GET",
|
|
881
|
-
operationId: "mail-get-mail-address"
|
|
882
|
-
};
|
|
883
|
-
var mailDeleteMailAddress = {
|
|
884
|
-
path: "/v2/mail-addresses/{mailAddressId}",
|
|
885
|
-
method: "DELETE",
|
|
886
|
-
operationId: "mail-delete-mail-address"
|
|
887
|
-
};
|
|
888
|
-
var mailListProjectMailSettings = {
|
|
889
|
-
path: "/v2/projects/{projectId}/mail-settings",
|
|
890
|
-
method: "GET",
|
|
891
|
-
operationId: "mail-list-project-mail-settings"
|
|
892
|
-
};
|
|
893
|
-
var mailUpdateDeliveryBoxDescription = {
|
|
894
|
-
path: "/v2/delivery-boxes/{deliveryBoxId}/description",
|
|
895
|
-
method: "PATCH",
|
|
896
|
-
operationId: "mail-update-delivery-box-description"
|
|
897
|
-
};
|
|
898
|
-
var mailUpdateDeliveryBoxPassword = {
|
|
899
|
-
path: "/v2/delivery-boxes/{deliveryBoxId}/password",
|
|
900
|
-
method: "PATCH",
|
|
901
|
-
operationId: "mail-update-delivery-box-password"
|
|
902
|
-
};
|
|
903
|
-
var mailUpdateMailAddressAddress = {
|
|
904
|
-
path: "/v2/mail-addresses/{mailAddressId}/address",
|
|
905
|
-
method: "PATCH",
|
|
906
|
-
operationId: "mail-update-mail-address-address"
|
|
907
|
-
};
|
|
908
|
-
var mailUpdateMailAddressAutoresponder = {
|
|
909
|
-
path: "/v2/mail-addresses/{mailAddressId}/autoresponder",
|
|
910
|
-
method: "PUT",
|
|
911
|
-
operationId: "mail-update-mail-address-autoresponder"
|
|
912
|
-
};
|
|
913
|
-
var mailUpdateMailAddressCatchall = {
|
|
914
|
-
path: "/v2/mail-addresses/{mailAddressId}/catchall",
|
|
915
|
-
method: "PUT",
|
|
916
|
-
operationId: "mail-update-mail-address-catchall"
|
|
917
|
-
};
|
|
918
|
-
var mailUpdateMailAddressForwardAddresses = {
|
|
919
|
-
path: "/v2/mail-addresses/{mailAddressId}/forward-addresses",
|
|
920
|
-
method: "PUT",
|
|
921
|
-
operationId: "mail-update-mail-address-forward-addresses"
|
|
922
|
-
};
|
|
923
|
-
var mailUpdateMailAddressPassword = {
|
|
924
|
-
path: "/v2/mail-addresses/{mailAddressId}/password",
|
|
925
|
-
method: "PUT",
|
|
926
|
-
operationId: "mail-update-mail-address-password"
|
|
927
|
-
};
|
|
928
|
-
var mailUpdateMailAddressQuota = {
|
|
929
|
-
path: "/v2/mail-addresses/{mailAddressId}/quota",
|
|
930
|
-
method: "PUT",
|
|
931
|
-
operationId: "mail-update-mail-address-quota"
|
|
932
|
-
};
|
|
933
|
-
var mailUpdateMailAddressSpamProtection = {
|
|
934
|
-
path: "/v2/mail-addresses/{mailAddressId}/spam-protection",
|
|
935
|
-
method: "PUT",
|
|
936
|
-
operationId: "mail-update-mail-address-spam-protection"
|
|
937
|
-
};
|
|
938
|
-
var mailUpdateProjectMailSetting = {
|
|
939
|
-
path: "/v2/projects/{projectId}/mail-settings/{setting}",
|
|
940
|
-
method: "PUT",
|
|
941
|
-
operationId: "mail-update-project-mail-setting"
|
|
942
|
-
};
|
|
943
|
-
var newsletterGetInfo = {
|
|
944
|
-
path: "/v2/newsletter-subscriptions/self",
|
|
945
|
-
method: "GET",
|
|
946
|
-
operationId: "newsletter-get-info"
|
|
947
|
-
};
|
|
948
|
-
var newsletterUnsubscribeUser = {
|
|
949
|
-
path: "/v2/newsletter-subscriptions/self",
|
|
950
|
-
method: "DELETE",
|
|
951
|
-
operationId: "newsletter-unsubscribe-user"
|
|
952
|
-
};
|
|
953
|
-
var notificationsCountUnreadNotifications = {
|
|
954
|
-
path: "/v2/notifications/unread-counts",
|
|
955
|
-
method: "GET",
|
|
956
|
-
operationId: "notifications-count-unread-notifications"
|
|
957
|
-
};
|
|
958
|
-
var notificationsListNotifications = {
|
|
959
|
-
path: "/v2/notifications",
|
|
960
|
-
method: "GET",
|
|
961
|
-
operationId: "notifications-list-notifications"
|
|
962
|
-
};
|
|
963
|
-
var notificationsReadAllNotifications = {
|
|
964
|
-
path: "/v2/notifications/actions/read-all",
|
|
965
|
-
method: "POST",
|
|
966
|
-
operationId: "notifications-read-all-notifications"
|
|
967
|
-
};
|
|
968
|
-
var notificationsReadNotification = {
|
|
969
|
-
path: "/v2/notifications/{notificationId}/status",
|
|
970
|
-
method: "PUT",
|
|
971
|
-
operationId: "notifications-read-notification"
|
|
972
|
-
};
|
|
973
|
-
var orderCreateOrder = {
|
|
974
|
-
path: "/v2/orders",
|
|
975
|
-
method: "POST",
|
|
976
|
-
operationId: "order-create-order"
|
|
977
|
-
};
|
|
978
|
-
var orderCreateTariffChange = {
|
|
979
|
-
path: "/v2/tariff-changes",
|
|
980
|
-
method: "POST",
|
|
981
|
-
operationId: "order-create-tariff-change"
|
|
982
|
-
};
|
|
983
|
-
var orderGetOrder = {
|
|
984
|
-
path: "/v2/orders/{orderId}",
|
|
985
|
-
method: "GET",
|
|
986
|
-
operationId: "order-get-order"
|
|
987
|
-
};
|
|
988
|
-
var orderListCustomerOrders = {
|
|
989
|
-
path: "/v2/customers/{customerId}/orders",
|
|
990
|
-
method: "GET",
|
|
991
|
-
operationId: "order-list-customer-orders"
|
|
992
|
-
};
|
|
993
|
-
var orderListProjectOrders = {
|
|
994
|
-
path: "/v2/projects/{projectId}/orders",
|
|
995
|
-
method: "GET",
|
|
996
|
-
operationId: "order-list-project-orders"
|
|
997
|
-
};
|
|
998
|
-
var orderPreviewOrder = {
|
|
999
|
-
path: "/v2/order-previews",
|
|
1000
|
-
method: "POST",
|
|
1001
|
-
operationId: "order-preview-order"
|
|
1002
|
-
};
|
|
1003
|
-
var orderPreviewTariffChange = {
|
|
1004
|
-
path: "/v2/tariff-change-previews",
|
|
1005
|
-
method: "POST",
|
|
1006
|
-
operationId: "order-preview-tariff-change"
|
|
1007
|
-
};
|
|
1008
|
-
var pageinsightsGetPerformanceData = {
|
|
1009
|
-
path: "/v2/pageinsights",
|
|
1010
|
-
method: "GET",
|
|
1011
|
-
operationId: "pageinsights-get-performance-data"
|
|
1012
|
-
};
|
|
1013
|
-
var pageinsightsListPerformanceDataForProject = {
|
|
1014
|
-
path: "/v2/projects/{id}/pageinsights",
|
|
1015
|
-
method: "GET",
|
|
1016
|
-
operationId: "pageinsights-list-performance-data-for-project"
|
|
1017
|
-
};
|
|
1018
|
-
var passwordValidationGetPasswordPolicy = {
|
|
1019
|
-
path: "/v2/password/policies/{path}",
|
|
1020
|
-
method: "GET",
|
|
1021
|
-
operationId: "password-validation-get-password-policy"
|
|
1022
|
-
};
|
|
1023
|
-
var projectAcceptProjectInvite = {
|
|
1024
|
-
path: "/v2/project-invites/{inviteId}/actions/accept",
|
|
1025
|
-
method: "POST",
|
|
1026
|
-
operationId: "project-accept-project-invite"
|
|
1027
|
-
};
|
|
1028
|
-
var projectCreateProjectInvite = {
|
|
1029
|
-
path: "/v2/project/{projectId}/invites",
|
|
1030
|
-
method: "POST",
|
|
1031
|
-
operationId: "project-create-project-invite"
|
|
1032
|
-
};
|
|
1033
|
-
var projectCreateProject = {
|
|
1034
|
-
path: "/v2/servers/{serverId}/projects",
|
|
1035
|
-
method: "POST",
|
|
1036
|
-
operationId: "project-create-project"
|
|
1037
|
-
};
|
|
1038
|
-
var projectDeclineProjectInvite = {
|
|
1039
|
-
path: "/v2/project-invites/{inviteId}/actions/decline",
|
|
1040
|
-
method: "POST",
|
|
1041
|
-
operationId: "project-decline-project-invite"
|
|
1042
|
-
};
|
|
1043
|
-
var projectRequestProjectAvatarUpload = {
|
|
1044
|
-
path: "/v2/projects/{projectId}/avatar",
|
|
1045
|
-
method: "POST",
|
|
1046
|
-
operationId: "project-request-project-avatar-upload"
|
|
1047
|
-
};
|
|
1048
|
-
var projectDeleteProjectAvatar = {
|
|
1049
|
-
path: "/v2/projects/{projectId}/avatar",
|
|
1050
|
-
method: "DELETE",
|
|
1051
|
-
operationId: "project-delete-project-avatar"
|
|
1052
|
-
};
|
|
1053
|
-
var projectGetProjectInvite = {
|
|
1054
|
-
path: "/v2/project-invites/{inviteId}",
|
|
1055
|
-
method: "GET",
|
|
1056
|
-
operationId: "project-get-project-invite"
|
|
1057
|
-
};
|
|
1058
|
-
var projectDeleteProjectInvite = {
|
|
1059
|
-
path: "/v2/project-invites/{inviteId}",
|
|
1060
|
-
method: "DELETE",
|
|
1061
|
-
operationId: "project-delete-project-invite"
|
|
1062
|
-
};
|
|
1063
|
-
var projectGetProjectMembership = {
|
|
1064
|
-
path: "/v2/project-memberships/{membershipId}",
|
|
1065
|
-
method: "GET",
|
|
1066
|
-
operationId: "project-get-project-membership"
|
|
1067
|
-
};
|
|
1068
|
-
var projectDeleteProjectMembership = {
|
|
1069
|
-
path: "/v2/project-memberships/{membershipId}",
|
|
1070
|
-
method: "DELETE",
|
|
1071
|
-
operationId: "project-delete-project-membership"
|
|
1072
|
-
};
|
|
1073
|
-
var projectUpdateProjectMembership = {
|
|
1074
|
-
path: "/v2/project-memberships/{membershipId}",
|
|
1075
|
-
method: "PATCH",
|
|
1076
|
-
operationId: "project-update-project-membership"
|
|
1077
|
-
};
|
|
1078
|
-
var projectGetProject = {
|
|
1079
|
-
path: "/v2/projects/{projectId}",
|
|
1080
|
-
method: "GET",
|
|
1081
|
-
operationId: "project-get-project"
|
|
1082
|
-
};
|
|
1083
|
-
var projectDeleteProject = {
|
|
1084
|
-
path: "/v2/projects/{projectId}",
|
|
1085
|
-
method: "DELETE",
|
|
1086
|
-
operationId: "project-delete-project"
|
|
1087
|
-
};
|
|
1088
|
-
var projectRequestServerAvatarUpload = {
|
|
1089
|
-
path: "/v2/servers/{serverId}/avatar",
|
|
1090
|
-
method: "POST",
|
|
1091
|
-
operationId: "project-request-server-avatar-upload"
|
|
1092
|
-
};
|
|
1093
|
-
var projectDeleteServerAvatar = {
|
|
1094
|
-
path: "/v2/servers/{serverId}/avatar",
|
|
1095
|
-
method: "DELETE",
|
|
1096
|
-
operationId: "project-delete-server-avatar"
|
|
1097
|
-
};
|
|
1098
|
-
var projectFileSystemGetDirectories = {
|
|
1099
|
-
path: "/v2/projects/{projectId}/filesystem/directories",
|
|
1100
|
-
method: "GET",
|
|
1101
|
-
operationId: "project-file-system-get-directories"
|
|
1102
|
-
};
|
|
1103
|
-
var projectFileSystemGetDiskUsage = {
|
|
1104
|
-
path: "/v2/projects/{projectId}/filesystem/usages/disk",
|
|
1105
|
-
method: "GET",
|
|
1106
|
-
operationId: "project-file-system-get-disk-usage"
|
|
1107
|
-
};
|
|
1108
|
-
var projectFileSystemGetFileContent = {
|
|
1109
|
-
path: "/v2/projects/{projectId}/filesystem/files/raw",
|
|
1110
|
-
method: "GET",
|
|
1111
|
-
operationId: "project-file-system-get-file-content"
|
|
1112
|
-
};
|
|
1113
|
-
var projectFileSystemGetJwt = {
|
|
1114
|
-
path: "/v2/projects/{projectId}/jwt",
|
|
1115
|
-
method: "GET",
|
|
1116
|
-
operationId: "project-file-system-get-jwt"
|
|
1117
|
-
};
|
|
1118
|
-
var projectFileSystemListFiles = {
|
|
1119
|
-
path: "/v2/projects/{projectId}/filesystem/files",
|
|
1120
|
-
method: "GET",
|
|
1121
|
-
operationId: "project-file-system-list-files"
|
|
1122
|
-
};
|
|
1123
|
-
var projectGetProjectTokenInvite = {
|
|
1124
|
-
path: "/v2/project-token-invite",
|
|
1125
|
-
method: "GET",
|
|
1126
|
-
operationId: "project-get-project-token-invite"
|
|
1127
|
-
};
|
|
1128
|
-
var projectGetSelfMembershipForProject = {
|
|
1129
|
-
path: "/v2/projects/{projectId}/memberships/self",
|
|
1130
|
-
method: "GET",
|
|
1131
|
-
operationId: "project-get-self-membership-for-project"
|
|
1132
|
-
};
|
|
1133
|
-
var projectGetServer = {
|
|
1134
|
-
path: "/v2/servers/{serverId}",
|
|
1135
|
-
method: "GET",
|
|
1136
|
-
operationId: "project-get-server"
|
|
1137
|
-
};
|
|
1138
|
-
var projectLeaveProject = {
|
|
1139
|
-
path: "/v2/projects/{projectId}/leave",
|
|
1140
|
-
method: "POST",
|
|
1141
|
-
operationId: "project-leave-project"
|
|
1142
|
-
};
|
|
1143
|
-
var projectListInvitesForProject = {
|
|
1144
|
-
path: "/v2/projects/{projectId}/invites",
|
|
1145
|
-
method: "GET",
|
|
1146
|
-
operationId: "project-list-invites-for-project"
|
|
1147
|
-
};
|
|
1148
|
-
var projectListMembershipsForProject = {
|
|
1149
|
-
path: "/v2/projects/{projectId}/memberships",
|
|
1150
|
-
method: "GET",
|
|
1151
|
-
operationId: "project-list-memberships-for-project"
|
|
1152
|
-
};
|
|
1153
|
-
var projectListProjectInvites = {
|
|
1154
|
-
path: "/v2/project-invites",
|
|
1155
|
-
method: "GET",
|
|
1156
|
-
operationId: "project-list-project-invites"
|
|
1157
|
-
};
|
|
1158
|
-
var projectListProjectMemberships = {
|
|
1159
|
-
path: "/v2/project-memberships",
|
|
1160
|
-
method: "GET",
|
|
1161
|
-
operationId: "project-list-project-memberships"
|
|
1162
|
-
};
|
|
1163
|
-
var projectListProjects = {
|
|
1164
|
-
path: "/v2/projects",
|
|
1165
|
-
method: "GET",
|
|
1166
|
-
operationId: "project-list-projects"
|
|
1167
|
-
};
|
|
1168
|
-
var projectListServers = {
|
|
1169
|
-
path: "/v2/servers",
|
|
1170
|
-
method: "GET",
|
|
1171
|
-
operationId: "project-list-servers"
|
|
1172
|
-
};
|
|
1173
|
-
var projectResendProjectInviteMail = {
|
|
1174
|
-
path: "/v2/project-invites/{inviteId}/actions/resend",
|
|
1175
|
-
method: "POST",
|
|
1176
|
-
operationId: "project-resend-project-invite-mail"
|
|
1177
|
-
};
|
|
1178
|
-
var projectUpdateProjectDescription = {
|
|
1179
|
-
path: "/v2/projects/{projectId}/description",
|
|
1180
|
-
method: "PATCH",
|
|
1181
|
-
operationId: "project-update-project-description"
|
|
1182
|
-
};
|
|
1183
|
-
var projectUpdateServerDescription = {
|
|
1184
|
-
path: "/v2/servers/{serverId}/description",
|
|
1185
|
-
method: "PATCH",
|
|
1186
|
-
operationId: "project-update-server-description"
|
|
1187
|
-
};
|
|
1188
|
-
var relocationCreateLegacyTariffChange = {
|
|
1189
|
-
path: "/v2/legacy-tariff-change",
|
|
1190
|
-
method: "POST",
|
|
1191
|
-
operationId: "relocation-create-legacy-tariff-change"
|
|
1192
|
-
};
|
|
1193
|
-
var relocationCreateRelocation = {
|
|
1194
|
-
path: "/v2/relocation",
|
|
1195
|
-
method: "POST",
|
|
1196
|
-
operationId: "relocation-create-relocation"
|
|
1197
|
-
};
|
|
1198
|
-
var sftpUserListSftpUsers = {
|
|
1199
|
-
path: "/v2/projects/{projectId}/sftp-users",
|
|
1200
|
-
method: "GET",
|
|
1201
|
-
operationId: "sftp-user-list-sftp-users"
|
|
1202
|
-
};
|
|
1203
|
-
var sftpUserCreateSftpUser = {
|
|
1204
|
-
path: "/v2/projects/{projectId}/sftp-users",
|
|
1205
|
-
method: "POST",
|
|
1206
|
-
operationId: "sftp-user-create-sftp-user"
|
|
1207
|
-
};
|
|
1208
|
-
var sftpUserGetSftpUser = {
|
|
1209
|
-
path: "/v2/sftp-users/{sftpUserId}",
|
|
1210
|
-
method: "GET",
|
|
1211
|
-
operationId: "sftp-user-get-sftp-user"
|
|
1212
|
-
};
|
|
1213
|
-
var sftpUserDeleteSftpUser = {
|
|
1214
|
-
path: "/v2/sftp-users/{sftpUserId}",
|
|
1215
|
-
method: "DELETE",
|
|
1216
|
-
operationId: "sftp-user-delete-sftp-user"
|
|
1217
|
-
};
|
|
1218
|
-
var sftpUserUpdateSftpUser = {
|
|
1219
|
-
path: "/v2/sftp-users/{sftpUserId}",
|
|
1220
|
-
method: "PATCH",
|
|
1221
|
-
operationId: "sftp-user-update-sftp-user"
|
|
1222
|
-
};
|
|
1223
|
-
var sshUserListSshUsers = {
|
|
1224
|
-
path: "/v2/projects/{projectId}/ssh-users",
|
|
1225
|
-
method: "GET",
|
|
1226
|
-
operationId: "ssh-user-list-ssh-users"
|
|
1227
|
-
};
|
|
1228
|
-
var sshUserCreateSshUser = {
|
|
1229
|
-
path: "/v2/projects/{projectId}/ssh-users",
|
|
1230
|
-
method: "POST",
|
|
1231
|
-
operationId: "ssh-user-create-ssh-user"
|
|
1232
|
-
};
|
|
1233
|
-
var sshUserGetSshUser = {
|
|
1234
|
-
path: "/v2/ssh-users/{sshUserId}",
|
|
1235
|
-
method: "GET",
|
|
1236
|
-
operationId: "ssh-user-get-ssh-user"
|
|
1237
|
-
};
|
|
1238
|
-
var sshUserDeleteSshUser = {
|
|
1239
|
-
path: "/v2/ssh-users/{sshUserId}",
|
|
1240
|
-
method: "DELETE",
|
|
1241
|
-
operationId: "ssh-user-delete-ssh-user"
|
|
1242
|
-
};
|
|
1243
|
-
var sshUserUpdateSshUser = {
|
|
1244
|
-
path: "/v2/sshusers/{sshUserId}",
|
|
1245
|
-
method: "PATCH",
|
|
1246
|
-
operationId: "ssh-user-update-ssh-user"
|
|
1247
|
-
};
|
|
1248
|
-
var userAddPhoneNumber = {
|
|
1249
|
-
path: "/v2/users/{userId}/phone",
|
|
1250
|
-
method: "POST",
|
|
1251
|
-
operationId: "user-add-phone-number"
|
|
1252
|
-
};
|
|
1253
|
-
var userRemovePhoneNumber = {
|
|
1254
|
-
path: "/v2/users/{userId}/phone",
|
|
1255
|
-
method: "DELETE",
|
|
1256
|
-
operationId: "user-remove-phone-number"
|
|
1257
|
-
};
|
|
1258
|
-
var userAuthenticateMfa = {
|
|
1259
|
-
path: "/v2/authenticate-mfa",
|
|
1260
|
-
method: "POST",
|
|
1261
|
-
operationId: "user-authenticate-mfa"
|
|
1262
|
-
};
|
|
1263
|
-
var userAuthenticate = {
|
|
1264
|
-
path: "/v2/authenticate",
|
|
1265
|
-
method: "POST",
|
|
1266
|
-
operationId: "user-authenticate"
|
|
1267
|
-
};
|
|
1268
|
-
var userGetOwnEmail = {
|
|
1269
|
-
path: "/v2/users/self/credentials/email",
|
|
1270
|
-
method: "GET",
|
|
1271
|
-
operationId: "user-get-own-email"
|
|
1272
|
-
};
|
|
1273
|
-
var userChangeEmail = {
|
|
1274
|
-
path: "/v2/users/self/credentials/email",
|
|
1275
|
-
method: "PUT",
|
|
1276
|
-
operationId: "user-change-email"
|
|
1277
|
-
};
|
|
1278
|
-
var userChangePassword = {
|
|
1279
|
-
path: "/v2/users/self/credentials/password",
|
|
1280
|
-
method: "PUT",
|
|
1281
|
-
operationId: "user-change-password"
|
|
1282
|
-
};
|
|
1283
|
-
var userCheckToken = {
|
|
1284
|
-
path: "/v2/users/self/credentials/token",
|
|
1285
|
-
method: "POST",
|
|
1286
|
-
operationId: "user-check-token"
|
|
1287
|
-
};
|
|
1288
|
-
var userGetMfaStatus = {
|
|
1289
|
-
path: "/v2/users/self/credentials/mfa",
|
|
1290
|
-
method: "GET",
|
|
1291
|
-
operationId: "user-get-mfa-status"
|
|
1292
|
-
};
|
|
1293
|
-
var userResetRecoverycodes = {
|
|
1294
|
-
path: "/v2/users/self/credentials/mfa",
|
|
1295
|
-
method: "PUT",
|
|
1296
|
-
operationId: "user-reset-recoverycodes"
|
|
1297
|
-
};
|
|
1298
|
-
var userConfirmMfa = {
|
|
1299
|
-
path: "/v2/users/self/credentials/mfa",
|
|
1300
|
-
method: "POST",
|
|
1301
|
-
operationId: "user-confirm-mfa"
|
|
1302
|
-
};
|
|
1303
|
-
var userDisableMfa = {
|
|
1304
|
-
path: "/v2/users/self/credentials/mfa",
|
|
1305
|
-
method: "DELETE",
|
|
1306
|
-
operationId: "user-disable-mfa"
|
|
1307
|
-
};
|
|
1308
|
-
var userConfirmPasswordReset = {
|
|
1309
|
-
path: "/v2/users/self/credentials/password/confirm-reset",
|
|
1310
|
-
method: "POST",
|
|
1311
|
-
operationId: "user-confirm-password-reset"
|
|
1312
|
-
};
|
|
1313
|
-
var userListApiTokens = {
|
|
1314
|
-
path: "/v2/users/self/api-tokens",
|
|
1315
|
-
method: "GET",
|
|
1316
|
-
operationId: "user-list-api-tokens"
|
|
1317
|
-
};
|
|
1318
|
-
var userCreateApiToken = {
|
|
1319
|
-
path: "/v2/users/self/api-tokens",
|
|
1320
|
-
method: "POST",
|
|
1321
|
-
operationId: "user-create-api-token"
|
|
1322
|
-
};
|
|
1323
|
-
var userCreateFeedback = {
|
|
1324
|
-
path: "/v2/users/self/feedback",
|
|
1325
|
-
method: "POST",
|
|
1326
|
-
operationId: "user-create-feedback"
|
|
1327
|
-
};
|
|
1328
|
-
var userListSshKeys = {
|
|
1329
|
-
path: "/v2/users/self/ssh-keys",
|
|
1330
|
-
method: "GET",
|
|
1331
|
-
operationId: "user-list-ssh-keys"
|
|
1332
|
-
};
|
|
1333
|
-
var userCreateSshKey = {
|
|
1334
|
-
path: "/v2/users/self/ssh-keys",
|
|
1335
|
-
method: "POST",
|
|
1336
|
-
operationId: "user-create-ssh-key"
|
|
1337
|
-
};
|
|
1338
|
-
var userGetApiToken = {
|
|
1339
|
-
path: "/v2/users/self/api-tokens/{apiTokenId}",
|
|
1340
|
-
method: "GET",
|
|
1341
|
-
operationId: "user-get-api-token"
|
|
1342
|
-
};
|
|
1343
|
-
var userEditApiToken = {
|
|
1344
|
-
path: "/v2/users/self/api-tokens/{apiTokenId}",
|
|
1345
|
-
method: "PUT",
|
|
1346
|
-
operationId: "user-edit-api-token"
|
|
1347
|
-
};
|
|
1348
|
-
var userDeleteApiToken = {
|
|
1349
|
-
path: "/v2/users/self/api-tokens/{apiTokenId}",
|
|
1350
|
-
method: "DELETE",
|
|
1351
|
-
operationId: "user-delete-api-token"
|
|
1352
|
-
};
|
|
1353
|
-
var userGetSshKey = {
|
|
1354
|
-
path: "/v2/users/self/ssh-keys/{sshKeyId}",
|
|
1355
|
-
method: "GET",
|
|
1356
|
-
operationId: "user-get-ssh-key"
|
|
1357
|
-
};
|
|
1358
|
-
var userEditSshKey = {
|
|
1359
|
-
path: "/v2/users/self/ssh-keys/{sshKeyId}",
|
|
1360
|
-
method: "PUT",
|
|
1361
|
-
operationId: "user-edit-ssh-key"
|
|
1362
|
-
};
|
|
1363
|
-
var userDeleteSshKey = {
|
|
1364
|
-
path: "/v2/users/self/ssh-keys/{sshKeyId}",
|
|
1365
|
-
method: "DELETE",
|
|
1366
|
-
operationId: "user-delete-ssh-key"
|
|
1367
|
-
};
|
|
1368
|
-
var userDeleteUser = {
|
|
1369
|
-
path: "/v2/users/self",
|
|
1370
|
-
method: "DELETE",
|
|
1371
|
-
operationId: "user-delete-user"
|
|
1372
|
-
};
|
|
1373
|
-
var userGetOwnAccount = {
|
|
1374
|
-
path: "/v2/users/self/personal-information",
|
|
1375
|
-
method: "GET",
|
|
1376
|
-
operationId: "user-get-own-account"
|
|
1377
|
-
};
|
|
1378
|
-
var userUpdateAccount = {
|
|
1379
|
-
path: "/v2/users/self/personal-information",
|
|
1380
|
-
method: "PUT",
|
|
1381
|
-
operationId: "user-update-account"
|
|
1382
|
-
};
|
|
1383
|
-
var userGetPasswordUpdatedAt = {
|
|
1384
|
-
path: "/v2/users/self/credentials/password-updated-at",
|
|
1385
|
-
method: "GET",
|
|
1386
|
-
operationId: "user-get-password-updated-at"
|
|
1387
|
-
};
|
|
1388
|
-
var userGetPersonalizedSettings = {
|
|
1389
|
-
path: "/v2/users/{userId}/settings",
|
|
1390
|
-
method: "GET",
|
|
1391
|
-
operationId: "user-get-personalized-settings"
|
|
1392
|
-
};
|
|
1393
|
-
var userUpdatePersonalizedSettings = {
|
|
1394
|
-
path: "/v2/users/{userId}/settings",
|
|
1395
|
-
method: "PUT",
|
|
1396
|
-
operationId: "user-update-personalized-settings"
|
|
1397
|
-
};
|
|
1398
|
-
var userGetSession = {
|
|
1399
|
-
path: "/v2/users/self/sessions/{tokenId}",
|
|
1400
|
-
method: "GET",
|
|
1401
|
-
operationId: "user-get-session"
|
|
1402
|
-
};
|
|
1403
|
-
var userTerminateSession = {
|
|
1404
|
-
path: "/v2/users/self/sessions/{tokenId}",
|
|
1405
|
-
method: "DELETE",
|
|
1406
|
-
operationId: "user-terminate-session"
|
|
1407
|
-
};
|
|
1408
|
-
var userGetUser = {
|
|
1409
|
-
path: "/v2/users/{userId}",
|
|
1410
|
-
method: "GET",
|
|
1411
|
-
operationId: "user-get-user"
|
|
1412
|
-
};
|
|
1413
|
-
var userUpdatePersonalInformation = {
|
|
1414
|
-
path: "/v2/users/{userId}",
|
|
1415
|
-
method: "PUT",
|
|
1416
|
-
operationId: "user-update-personal-information"
|
|
1417
|
-
};
|
|
1418
|
-
var userInitMfa = {
|
|
1419
|
-
path: "/v2/users/self/credentials/init-mfa",
|
|
1420
|
-
method: "POST",
|
|
1421
|
-
operationId: "user-init-mfa"
|
|
1422
|
-
};
|
|
1423
|
-
var userInitPasswordReset = {
|
|
1424
|
-
path: "/v2/users/self/credentials/actions/init-password-reset",
|
|
1425
|
-
method: "POST",
|
|
1426
|
-
operationId: "user-init-password-reset"
|
|
1427
|
-
};
|
|
1428
|
-
var userListFeedback = {
|
|
1429
|
-
path: "/v2/users/{userId}/feedback",
|
|
1430
|
-
method: "GET",
|
|
1431
|
-
operationId: "user-list-feedback"
|
|
1432
|
-
};
|
|
1433
|
-
var userListSessions = {
|
|
1434
|
-
path: "/v2/users/self/sessions",
|
|
1435
|
-
method: "GET",
|
|
1436
|
-
operationId: "user-list-sessions"
|
|
1437
|
-
};
|
|
1438
|
-
var userTerminateAllSessions = {
|
|
1439
|
-
path: "/v2/users/self/sessions",
|
|
1440
|
-
method: "DELETE",
|
|
1441
|
-
operationId: "user-terminate-all-sessions"
|
|
1442
|
-
};
|
|
1443
|
-
var userLogout = {
|
|
1444
|
-
path: "/v2/logout",
|
|
1445
|
-
method: "PUT",
|
|
1446
|
-
operationId: "user-logout"
|
|
1447
|
-
};
|
|
1448
|
-
var userRegister = {
|
|
1449
|
-
path: "/v2/register",
|
|
1450
|
-
method: "POST",
|
|
1451
|
-
operationId: "user-register"
|
|
1452
|
-
};
|
|
1453
|
-
var userRequestAvatarUpload = {
|
|
1454
|
-
path: "/v2/users/{userId}/avatar",
|
|
1455
|
-
method: "POST",
|
|
1456
|
-
operationId: "user-request-avatar-upload"
|
|
1457
|
-
};
|
|
1458
|
-
var userRemoveAvatar = {
|
|
1459
|
-
path: "/v2/users/{userId}/avatar",
|
|
1460
|
-
method: "DELETE",
|
|
1461
|
-
operationId: "user-remove-avatar"
|
|
1462
|
-
};
|
|
1463
|
-
var userResendVerificationEmail = {
|
|
1464
|
-
path: "/v2/users/self/credentials/email/actions/resend-email",
|
|
1465
|
-
method: "POST",
|
|
1466
|
-
operationId: "user-resend-verification-email"
|
|
1467
|
-
};
|
|
1468
|
-
var userSupportCodeRequest = {
|
|
1469
|
-
path: "/v2/users/self/credentials/support-code",
|
|
1470
|
-
method: "GET",
|
|
1471
|
-
operationId: "user-support-code-request"
|
|
1472
|
-
};
|
|
1473
|
-
var userVerifyEmail = {
|
|
1474
|
-
path: "/v2/users/self/credentials/email/actions/verify-email",
|
|
1475
|
-
method: "POST",
|
|
1476
|
-
operationId: "user-verify-email"
|
|
1477
|
-
};
|
|
1478
|
-
var userVerifyPhoneNumber = {
|
|
1479
|
-
path: "/v2/users/{userId}/phone/verify",
|
|
1480
|
-
method: "POST",
|
|
1481
|
-
operationId: "user-verify-phone-number"
|
|
1482
|
-
};
|
|
1483
|
-
var userVerifyRegistration = {
|
|
1484
|
-
path: "/v2/verify-registration",
|
|
1485
|
-
method: "POST",
|
|
1486
|
-
operationId: "user-verify-registration"
|
|
1487
|
-
};
|
|
1488
|
-
|
|
1489
|
-
// src/generated/v2/client.ts
|
|
1490
|
-
var import_api_client_commons = require("@mittwald/api-client-commons");
|
|
1491
|
-
var MittwaldAPIV2Client = class extends import_api_client_commons.ApiClientBase {
|
|
1492
|
-
constructor() {
|
|
1493
|
-
super(...arguments);
|
|
1494
|
-
/** The App API allows you to manage your apps within a project, and all the system softwares that are installed as dependencies. */
|
|
1495
|
-
this.app = {
|
|
1496
|
-
/** execute a runtime concerning action on a specific `AppInstallation` */
|
|
1497
|
-
executeAction: this.requestFunctionFactory(appExecuteAction),
|
|
1498
|
-
/** get a specific `App` */
|
|
1499
|
-
getApp: this.requestFunctionFactory(appGetApp),
|
|
1500
|
-
/** get a specific `AppInstallation` */
|
|
1501
|
-
getAppinstallation: this.requestFunctionFactory(
|
|
1502
|
-
appGetAppinstallation
|
|
1503
|
-
),
|
|
1504
|
-
/** start uninstallation process for a specific `AppInstallation` */
|
|
1505
|
-
uninstallAppinstallation: this.requestFunctionFactory(
|
|
1506
|
-
appUninstallAppinstallation
|
|
1507
|
-
),
|
|
1508
|
-
/** patch desired properties of a specific `AppInstallation` */
|
|
1509
|
-
patchAppinstallation: this.requestFunctionFactory(
|
|
1510
|
-
appPatchAppinstallation
|
|
1511
|
-
),
|
|
1512
|
-
/** get a specific `AppVersion` */
|
|
1513
|
-
getAppversion: this.requestFunctionFactory(appGetAppversion),
|
|
1514
|
-
/** get the missing requirements of an appInstallation for a specific target AppVersion */
|
|
1515
|
-
getMissingDependenciesForAppinstallation: this.requestFunctionFactory(
|
|
1516
|
-
appGetMissingDependenciesForAppinstallation
|
|
1517
|
-
),
|
|
1518
|
-
/** get a specific `SystemSoftware` */
|
|
1519
|
-
getSystemsoftware: this.requestFunctionFactory(
|
|
1520
|
-
appGetSystemsoftware
|
|
1521
|
-
),
|
|
1522
|
-
/** get a specific `SystemSoftwareVersion` */
|
|
1523
|
-
getSystemsoftwareversion: this.requestFunctionFactory(
|
|
1524
|
-
appGetSystemsoftwareversion
|
|
1525
|
-
),
|
|
1526
|
-
/** create linkage between an `AppInstallation` and a `Database` */
|
|
1527
|
-
linkDatabase: this.requestFunctionFactory(appLinkDatabase),
|
|
1528
|
-
/** get all `AppInstallations` inside a specific `Project` */
|
|
1529
|
-
listAppinstallations: this.requestFunctionFactory(
|
|
1530
|
-
appListAppinstallations
|
|
1531
|
-
),
|
|
1532
|
-
/** request a new `AppInstallation` */
|
|
1533
|
-
requestAppinstallation: this.requestFunctionFactory(
|
|
1534
|
-
appRequestAppinstallation
|
|
1535
|
-
),
|
|
1536
|
-
/** get all available `Apps` */
|
|
1537
|
-
listApps: this.requestFunctionFactory(appListApps),
|
|
1538
|
-
/** get all `AppVersions` of a specific `App` */
|
|
1539
|
-
listAppversions: this.requestFunctionFactory(
|
|
1540
|
-
appListAppversions
|
|
1541
|
-
),
|
|
1542
|
-
/** get all available `SystemSoftware` */
|
|
1543
|
-
listSystemsoftwares: this.requestFunctionFactory(
|
|
1544
|
-
appListSystemsoftwares
|
|
1545
|
-
),
|
|
1546
|
-
/** get all available `SystemSoftwareVersions` of a specific `SystemSoftware` */
|
|
1547
|
-
listSystemsoftwareversions: this.requestFunctionFactory(
|
|
1548
|
-
appListSystemsoftwareversions
|
|
1549
|
-
),
|
|
1550
|
-
/** get all update candidates for a specific `AppVersion` */
|
|
1551
|
-
listUpdateCandidatesForAppversion: this.requestFunctionFactory(
|
|
1552
|
-
appListUpdateCandidatesForAppversion
|
|
1553
|
-
),
|
|
1554
|
-
/** request a copy of an `AppInstallation` */
|
|
1555
|
-
requestAppinstallationCopy: this.requestFunctionFactory(
|
|
1556
|
-
appRequestAppinstallationCopy
|
|
1557
|
-
),
|
|
1558
|
-
/** get runtime status of a specific `AppInstallation` */
|
|
1559
|
-
retrieveStatus: this.requestFunctionFactory(appRetrieveStatus),
|
|
1560
|
-
/** create linkage between an `AppInstallation` and `DatabaseUsers` */
|
|
1561
|
-
setDatabaseUsers: this.requestFunctionFactory(
|
|
1562
|
-
appSetDatabaseUsers
|
|
1563
|
-
),
|
|
1564
|
-
/** remove linkage between an `AppInstallation` and a `Database` */
|
|
1565
|
-
unlinkDatabase: this.requestFunctionFactory(appUnlinkDatabase)
|
|
1566
|
-
};
|
|
1567
|
-
/** The article API allows you to read article information. */
|
|
1568
|
-
this.article = {
|
|
1569
|
-
/** Get an Article. */
|
|
1570
|
-
getArticle: this.requestFunctionFactory(articleGetArticle),
|
|
1571
|
-
/** List Articles. */
|
|
1572
|
-
listArticles: this.requestFunctionFactory(articleListArticles)
|
|
1573
|
-
};
|
|
1574
|
-
/** The backup API allows you to manage your project backups. */
|
|
1575
|
-
this.backup = {
|
|
1576
|
-
/** Export a ProjectBackup for download. */
|
|
1577
|
-
createProjectBackupExport: this.requestFunctionFactory(
|
|
1578
|
-
backupCreateProjectBackupExport
|
|
1579
|
-
),
|
|
1580
|
-
/** Delete a ProjectBackupExport. */
|
|
1581
|
-
deleteProjectBackupExport: this.requestFunctionFactory(
|
|
1582
|
-
backupDeleteProjectBackupExport
|
|
1583
|
-
),
|
|
1584
|
-
/** List BackupSchedules belonging to a Project. */
|
|
1585
|
-
listProjectBackupSchedules: this.requestFunctionFactory(
|
|
1586
|
-
backupListProjectBackupSchedules
|
|
1587
|
-
),
|
|
1588
|
-
/** Create a BackupSchedule for a Project. */
|
|
1589
|
-
createProjectBackupSchedule: this.requestFunctionFactory(
|
|
1590
|
-
backupCreateProjectBackupSchedule
|
|
1591
|
-
),
|
|
1592
|
-
/** List Backups belonging to a Project. */
|
|
1593
|
-
listProjectBackups: this.requestFunctionFactory(
|
|
1594
|
-
backupListProjectBackups
|
|
1595
|
-
),
|
|
1596
|
-
/** Create a Backup of a Project. */
|
|
1597
|
-
createProjectBackup: this.requestFunctionFactory(
|
|
1598
|
-
backupCreateProjectBackup
|
|
1599
|
-
),
|
|
1600
|
-
/** Get a ProjectBackupSchedule. */
|
|
1601
|
-
getProjectBackupSchedule: this.requestFunctionFactory(
|
|
1602
|
-
backupGetProjectBackupSchedule
|
|
1603
|
-
),
|
|
1604
|
-
/** Delete a ProjectBackupSchedule. */
|
|
1605
|
-
deleteProjectBackupSchedule: this.requestFunctionFactory(
|
|
1606
|
-
backupDeleteProjectBackupSchedule
|
|
1607
|
-
),
|
|
1608
|
-
/** Update a ProjectBackupSchedule. */
|
|
1609
|
-
updateProjectBackupSchedule: this.requestFunctionFactory(
|
|
1610
|
-
backupUpdateProjectBackupSchedule
|
|
1611
|
-
),
|
|
1612
|
-
/** Get a ProjectBackup. */
|
|
1613
|
-
getProjectBackup: this.requestFunctionFactory(
|
|
1614
|
-
backupGetProjectBackup
|
|
1615
|
-
),
|
|
1616
|
-
/** Delete a ProjectBackup. */
|
|
1617
|
-
deleteProjectBackup: this.requestFunctionFactory(
|
|
1618
|
-
backupDeleteProjectBackup
|
|
1619
|
-
),
|
|
1620
|
-
/** Change the description of a ProjectBackup. */
|
|
1621
|
-
updateProjectBackupDescription: this.requestFunctionFactory(
|
|
1622
|
-
backupUpdateProjectBackupDescription
|
|
1623
|
-
)
|
|
1624
|
-
};
|
|
1625
|
-
/** The contract API allows you to manage your contracts and orders */
|
|
1626
|
-
this.contract = {
|
|
1627
|
-
/** Schedule the Termination of a ContractItem. */
|
|
1628
|
-
terminateContractItem: this.requestFunctionFactory(
|
|
1629
|
-
contractTerminateContractItem
|
|
1630
|
-
),
|
|
1631
|
-
/** Cancel the Termination for the referred ContractItem. */
|
|
1632
|
-
cancelContractItemTermination: this.requestFunctionFactory(
|
|
1633
|
-
contractCancelContractItemTermination
|
|
1634
|
-
),
|
|
1635
|
-
/** Cancel the TariffChange for the referred ContractItem. */
|
|
1636
|
-
cancelContractTariffChange: this.requestFunctionFactory(
|
|
1637
|
-
contractCancelContractTariffChange
|
|
1638
|
-
),
|
|
1639
|
-
/** Schedule the Termination of a Contract. */
|
|
1640
|
-
terminateContract: this.requestFunctionFactory(
|
|
1641
|
-
contractTerminateContract
|
|
1642
|
-
),
|
|
1643
|
-
/** Cancel the Termination for the referred Contract. */
|
|
1644
|
-
cancelContractTermination: this.requestFunctionFactory(
|
|
1645
|
-
contractCancelContractTermination
|
|
1646
|
-
),
|
|
1647
|
-
/** Return the BaseItem of the Contract with the given ID. */
|
|
1648
|
-
getBaseItemOfContract: this.requestFunctionFactory(
|
|
1649
|
-
contractGetBaseItemOfContract
|
|
1650
|
-
),
|
|
1651
|
-
/** Return the Contract for the given Domain. */
|
|
1652
|
-
getDetailOfContractByDomain: this.requestFunctionFactory(
|
|
1653
|
-
contractGetDetailOfContractByDomain
|
|
1654
|
-
),
|
|
1655
|
-
/** Return the Contract for the given Project. */
|
|
1656
|
-
getDetailOfContractByProject: this.requestFunctionFactory(
|
|
1657
|
-
contractGetDetailOfContractByProject
|
|
1658
|
-
),
|
|
1659
|
-
/** Return the Contract for the given Server. */
|
|
1660
|
-
getDetailOfContractByServer: this.requestFunctionFactory(
|
|
1661
|
-
contractGetDetailOfContractByServer
|
|
1662
|
-
),
|
|
1663
|
-
/** Get the ContractItem with the given ID. */
|
|
1664
|
-
getDetailOfContractItem: this.requestFunctionFactory(
|
|
1665
|
-
contractGetDetailOfContractItem
|
|
1666
|
-
),
|
|
1667
|
-
/** Returns the Contract with the given ID. */
|
|
1668
|
-
getDetailOfContract: this.requestFunctionFactory(
|
|
1669
|
-
contractGetDetailOfContract
|
|
1670
|
-
),
|
|
1671
|
-
/** Return the next TerminationDate for the ContractItem with the given ID. */
|
|
1672
|
-
getNextTerminationDateForItem: this.requestFunctionFactory(
|
|
1673
|
-
contractGetNextTerminationDateForItem
|
|
1674
|
-
),
|
|
1675
|
-
/** Return a list of Contracts for the given Customer. */
|
|
1676
|
-
listContracts: this.requestFunctionFactory(
|
|
1677
|
-
contractListContracts
|
|
1678
|
-
),
|
|
1679
|
-
/** Get details of an Invoice. */
|
|
1680
|
-
invoiceDetailOfInvoice: this.requestFunctionFactory(
|
|
1681
|
-
invoiceDetailOfInvoice
|
|
1682
|
-
),
|
|
1683
|
-
/** Get InvoiceSettings of a Customer. */
|
|
1684
|
-
invoiceGetDetailOfInvoiceSettings: this.requestFunctionFactory(
|
|
1685
|
-
invoiceGetDetailOfInvoiceSettings
|
|
1686
|
-
),
|
|
1687
|
-
/** Update InvoiceSettings of a Customer. */
|
|
1688
|
-
invoiceUpdateInvoiceSettings: this.requestFunctionFactory(
|
|
1689
|
-
invoiceUpdateInvoiceSettings
|
|
1690
|
-
),
|
|
1691
|
-
/** List Invoices of a Customer. */
|
|
1692
|
-
invoiceListCustomerInvoices: this.requestFunctionFactory(
|
|
1693
|
-
invoiceListCustomerInvoices
|
|
1694
|
-
),
|
|
1695
|
-
/** Create an Order. */
|
|
1696
|
-
orderCreateOrder: this.requestFunctionFactory(orderCreateOrder),
|
|
1697
|
-
/** Create TariffChange Order. */
|
|
1698
|
-
orderCreateTariffChange: this.requestFunctionFactory(
|
|
1699
|
-
orderCreateTariffChange
|
|
1700
|
-
),
|
|
1701
|
-
/** Get Order for Customer. */
|
|
1702
|
-
orderGetOrder: this.requestFunctionFactory(orderGetOrder),
|
|
1703
|
-
/** Get list of Orders of a Customer. */
|
|
1704
|
-
orderListCustomerOrders: this.requestFunctionFactory(
|
|
1705
|
-
orderListCustomerOrders
|
|
1706
|
-
),
|
|
1707
|
-
/** Get list of Orders of a Project. */
|
|
1708
|
-
orderListProjectOrders: this.requestFunctionFactory(
|
|
1709
|
-
orderListProjectOrders
|
|
1710
|
-
),
|
|
1711
|
-
/** Preview Order. */
|
|
1712
|
-
orderPreviewOrder: this.requestFunctionFactory(
|
|
1713
|
-
orderPreviewOrder
|
|
1714
|
-
),
|
|
1715
|
-
/** Preview TariffChange. */
|
|
1716
|
-
orderPreviewTariffChange: this.requestFunctionFactory(
|
|
1717
|
-
orderPreviewTariffChange
|
|
1718
|
-
)
|
|
1719
|
-
};
|
|
1720
|
-
/** The conversation API allows you to manage your support conversations. */
|
|
1721
|
-
this.conversation = {
|
|
1722
|
-
/** Get all conversation the authenticated user has created or has access to. */
|
|
1723
|
-
listConversations: this.requestFunctionFactory(
|
|
1724
|
-
conversationListConversations
|
|
1725
|
-
),
|
|
1726
|
-
/** Create a conversation. */
|
|
1727
|
-
createConversation: this.requestFunctionFactory(
|
|
1728
|
-
conversationCreateConversation
|
|
1729
|
-
),
|
|
1730
|
-
/** Get all message of the conversation. */
|
|
1731
|
-
listMessagesByConversation: this.requestFunctionFactory(
|
|
1732
|
-
conversationListMessagesByConversation
|
|
1733
|
-
),
|
|
1734
|
-
/** Send a new message in the conversation. */
|
|
1735
|
-
createMessage: this.requestFunctionFactory(
|
|
1736
|
-
conversationCreateMessage
|
|
1737
|
-
),
|
|
1738
|
-
/** Get a specific conversation category. */
|
|
1739
|
-
getCategory: this.requestFunctionFactory(
|
|
1740
|
-
conversationGetCategory
|
|
1741
|
-
),
|
|
1742
|
-
/** Get a support conversation. */
|
|
1743
|
-
getConversation: this.requestFunctionFactory(
|
|
1744
|
-
conversationGetConversation
|
|
1745
|
-
),
|
|
1746
|
-
/** Update the basic properties of the conversation. */
|
|
1747
|
-
updateConversation: this.requestFunctionFactory(
|
|
1748
|
-
conversationUpdateConversation
|
|
1749
|
-
),
|
|
1750
|
-
/** Get all conversation categories. */
|
|
1751
|
-
listCategories: this.requestFunctionFactory(
|
|
1752
|
-
conversationListCategories
|
|
1753
|
-
),
|
|
1754
|
-
/** Request a file upload token for the conversation. */
|
|
1755
|
-
requestFileUpload: this.requestFunctionFactory(
|
|
1756
|
-
conversationRequestFileUpload
|
|
1757
|
-
),
|
|
1758
|
-
/** Update the status of a conversation. */
|
|
1759
|
-
setConversationStatus: this.requestFunctionFactory(
|
|
1760
|
-
conversationSetConversationStatus
|
|
1761
|
-
),
|
|
1762
|
-
/** Update the content of the message */
|
|
1763
|
-
updateMessage: this.requestFunctionFactory(
|
|
1764
|
-
conversationUpdateMessage
|
|
1765
|
-
)
|
|
1766
|
-
};
|
|
1767
|
-
/** The cronjob API allows you to manage cronjobs within a project. */
|
|
1768
|
-
this.cronjob = {
|
|
1769
|
-
/** Abort a CronjobExecution. */
|
|
1770
|
-
abortExecution: this.requestFunctionFactory(
|
|
1771
|
-
cronjobAbortExecution
|
|
1772
|
-
),
|
|
1773
|
-
/** List Cronjobs belonging to a Project. */
|
|
1774
|
-
listCronjobs: this.requestFunctionFactory(cronjobListCronjobs),
|
|
1775
|
-
/** Create a Cronjob. */
|
|
1776
|
-
createCronjob: this.requestFunctionFactory(
|
|
1777
|
-
cronjobCreateCronjob
|
|
1778
|
-
),
|
|
1779
|
-
/** List CronjobExecutions belonging to a Cronjob. */
|
|
1780
|
-
listExecutions: this.requestFunctionFactory(
|
|
1781
|
-
cronjobListExecutions
|
|
1782
|
-
),
|
|
1783
|
-
/** Trigger a Cronjob. */
|
|
1784
|
-
createExecution: this.requestFunctionFactory(
|
|
1785
|
-
cronjobCreateExecution
|
|
1786
|
-
),
|
|
1787
|
-
/** Get a Cronjob. */
|
|
1788
|
-
getCronjob: this.requestFunctionFactory(cronjobGetCronjob),
|
|
1789
|
-
/** Delete a Cronjob. */
|
|
1790
|
-
deleteCronjob: this.requestFunctionFactory(
|
|
1791
|
-
cronjobDeleteCronjob
|
|
1792
|
-
),
|
|
1793
|
-
/** Update a Cronjob. */
|
|
1794
|
-
updateCronjob: this.requestFunctionFactory(
|
|
1795
|
-
cronjobUpdateCronjob
|
|
1796
|
-
),
|
|
1797
|
-
/** Get a CronjobExecution. */
|
|
1798
|
-
getExecution: this.requestFunctionFactory(cronjobGetExecution),
|
|
1799
|
-
/** Update a Cronjob's app id. */
|
|
1800
|
-
updateCronjobAppId: this.requestFunctionFactory(
|
|
1801
|
-
cronjobUpdateCronjobAppId
|
|
1802
|
-
)
|
|
1803
|
-
};
|
|
1804
|
-
/** The customer API allows you to manage your own organizations and users. */
|
|
1805
|
-
this.customer = {
|
|
1806
|
-
/** Accept a CustomerInvite. */
|
|
1807
|
-
acceptCustomerInvite: this.requestFunctionFactory(
|
|
1808
|
-
customerAcceptCustomerInvite
|
|
1809
|
-
),
|
|
1810
|
-
/** Get all customer categories. */
|
|
1811
|
-
listOfCustomerCategories: this.requestFunctionFactory(
|
|
1812
|
-
customerListOfCustomerCategories
|
|
1813
|
-
),
|
|
1814
|
-
/** Create a new customer category. */
|
|
1815
|
-
createCategory: this.requestFunctionFactory(
|
|
1816
|
-
customerCreateCategory
|
|
1817
|
-
),
|
|
1818
|
-
/** Create a CustomerInvite. */
|
|
1819
|
-
createCustomerInvite: this.requestFunctionFactory(
|
|
1820
|
-
customerCreateCustomerInvite
|
|
1821
|
-
),
|
|
1822
|
-
/** Get all customer profiles the authenticated user has access to. */
|
|
1823
|
-
listCustomers: this.requestFunctionFactory(
|
|
1824
|
-
customerListCustomers
|
|
1825
|
-
),
|
|
1826
|
-
/** Create a new customer profile. */
|
|
1827
|
-
createCustomer: this.requestFunctionFactory(
|
|
1828
|
-
customerCreateCustomer
|
|
1829
|
-
),
|
|
1830
|
-
/** Decline a CustomerInvite. */
|
|
1831
|
-
declineCustomerInvite: this.requestFunctionFactory(
|
|
1832
|
-
customerDeclineCustomerInvite
|
|
1833
|
-
),
|
|
1834
|
-
/** Get a customer category. */
|
|
1835
|
-
getCustomerCategory: this.requestFunctionFactory(
|
|
1836
|
-
customerGetCustomerCategory
|
|
1837
|
-
),
|
|
1838
|
-
/** Update a customer category. */
|
|
1839
|
-
updateCategory: this.requestFunctionFactory(
|
|
1840
|
-
customerUpdateCategory
|
|
1841
|
-
),
|
|
1842
|
-
/** Delete a customer category. */
|
|
1843
|
-
deleteCategory: this.requestFunctionFactory(
|
|
1844
|
-
customerDeleteCategory
|
|
1845
|
-
),
|
|
1846
|
-
/** Get a CustomerInvite. */
|
|
1847
|
-
getCustomerInvite: this.requestFunctionFactory(
|
|
1848
|
-
customerGetCustomerInvite
|
|
1849
|
-
),
|
|
1850
|
-
/** Delete a CustomerInvite. */
|
|
1851
|
-
deleteCustomerInvite: this.requestFunctionFactory(
|
|
1852
|
-
customerDeleteCustomerInvite
|
|
1853
|
-
),
|
|
1854
|
-
/** Get a CustomerMembership. */
|
|
1855
|
-
getCustomerMembership: this.requestFunctionFactory(
|
|
1856
|
-
customerGetCustomerMembership
|
|
1857
|
-
),
|
|
1858
|
-
/** Delete a CustomerMembership. */
|
|
1859
|
-
deleteCustomerMembership: this.requestFunctionFactory(
|
|
1860
|
-
customerDeleteCustomerMembership
|
|
1861
|
-
),
|
|
1862
|
-
/** Update a CustomerMembership. */
|
|
1863
|
-
updateCustomerMembership: this.requestFunctionFactory(
|
|
1864
|
-
customerUpdateCustomerMembership
|
|
1865
|
-
),
|
|
1866
|
-
/** Get a customer profile. */
|
|
1867
|
-
getCustomer: this.requestFunctionFactory(customerGetCustomer),
|
|
1868
|
-
/** Update a customer profile. */
|
|
1869
|
-
updateCustomer: this.requestFunctionFactory(
|
|
1870
|
-
customerUpdateCustomer
|
|
1871
|
-
),
|
|
1872
|
-
/** Delete a customer profile. */
|
|
1873
|
-
deleteCustomer: this.requestFunctionFactory(
|
|
1874
|
-
customerDeleteCustomer
|
|
1875
|
-
),
|
|
1876
|
-
/** Get a CustomerInvite by token. */
|
|
1877
|
-
getCustomerTokenInvite: this.requestFunctionFactory(
|
|
1878
|
-
customerGetCustomerTokenInvite
|
|
1879
|
-
),
|
|
1880
|
-
/** Check if the customer profile has a valid contract partner configured. */
|
|
1881
|
-
isCustomerLegallyCompetent: this.requestFunctionFactory(
|
|
1882
|
-
customerIsCustomerLegallyCompetent
|
|
1883
|
-
),
|
|
1884
|
-
/** Leave a Customer. */
|
|
1885
|
-
leaveCustomer: this.requestFunctionFactory(
|
|
1886
|
-
customerLeaveCustomer
|
|
1887
|
-
),
|
|
1888
|
-
/** List CustomerInvites belonging to the executing user. */
|
|
1889
|
-
listCustomerInvites: this.requestFunctionFactory(
|
|
1890
|
-
customerListCustomerInvites
|
|
1891
|
-
),
|
|
1892
|
-
/** List CustomerMemberships belonging to the executing user. */
|
|
1893
|
-
listCustomerMemberships: this.requestFunctionFactory(
|
|
1894
|
-
customerListCustomerMemberships
|
|
1895
|
-
),
|
|
1896
|
-
/** List Invites belonging to a Customer. */
|
|
1897
|
-
listInvitesForCustomer: this.requestFunctionFactory(
|
|
1898
|
-
customerListInvitesForCustomer
|
|
1899
|
-
),
|
|
1900
|
-
/** List Memberships belonging to a Customer. */
|
|
1901
|
-
listMembershipsForCustomer: this.requestFunctionFactory(
|
|
1902
|
-
customerListMembershipsForCustomer
|
|
1903
|
-
),
|
|
1904
|
-
/** Request a new avatar upload for the customer profile. */
|
|
1905
|
-
requestAvatarUpload: this.requestFunctionFactory(
|
|
1906
|
-
customerRequestAvatarUpload
|
|
1907
|
-
),
|
|
1908
|
-
/** Remove the avatar picture of the customer profile. */
|
|
1909
|
-
removeAvatar: this.requestFunctionFactory(customerRemoveAvatar),
|
|
1910
|
-
/** Resend the mail for a CustomerInvite. */
|
|
1911
|
-
resendCustomerInviteMail: this.requestFunctionFactory(
|
|
1912
|
-
customerResendCustomerInviteMail
|
|
1913
|
-
)
|
|
1914
|
-
};
|
|
1915
|
-
/** The database API allows you to manage your databases, like MySQL and Redis databases. */
|
|
1916
|
-
this.database = {
|
|
1917
|
-
/** List MySQLDatabases belonging to a Project. */
|
|
1918
|
-
listMysqlDatabases: this.requestFunctionFactory(
|
|
1919
|
-
databaseListMysqlDatabases
|
|
1920
|
-
),
|
|
1921
|
-
/** Create a MySQLDatabase with a MySQLUser. */
|
|
1922
|
-
createMysqlDatabase: this.requestFunctionFactory(
|
|
1923
|
-
databaseCreateMysqlDatabase
|
|
1924
|
-
),
|
|
1925
|
-
/** List MySQLUsers belonging to a Database. */
|
|
1926
|
-
listMysqlUsers: this.requestFunctionFactory(
|
|
1927
|
-
databaseListMysqlUsers
|
|
1928
|
-
),
|
|
1929
|
-
/** Create a MySQLUser. */
|
|
1930
|
-
createMysqlUser: this.requestFunctionFactory(
|
|
1931
|
-
databaseCreateMysqlUser
|
|
1932
|
-
),
|
|
1933
|
-
/** List RedisDatabases belonging to a Project. */
|
|
1934
|
-
listRedisDatabases: this.requestFunctionFactory(
|
|
1935
|
-
databaseListRedisDatabases
|
|
1936
|
-
),
|
|
1937
|
-
/** Create a RedisDatabase. */
|
|
1938
|
-
createRedisDatabase: this.requestFunctionFactory(
|
|
1939
|
-
databaseCreateRedisDatabase
|
|
1940
|
-
),
|
|
1941
|
-
/** Get a MySQLDatabase. */
|
|
1942
|
-
getMysqlDatabase: this.requestFunctionFactory(
|
|
1943
|
-
databaseGetMysqlDatabase
|
|
1944
|
-
),
|
|
1945
|
-
/** Delete a MySQLDatabase. */
|
|
1946
|
-
deleteMysqlDatabase: this.requestFunctionFactory(
|
|
1947
|
-
databaseDeleteMysqlDatabase
|
|
1948
|
-
),
|
|
1949
|
-
/** Get a MySQLUser. */
|
|
1950
|
-
getMysqlUser: this.requestFunctionFactory(databaseGetMysqlUser),
|
|
1951
|
-
/** Update a MySQLUser. */
|
|
1952
|
-
updateMysqlUser: this.requestFunctionFactory(
|
|
1953
|
-
databaseUpdateMysqlUser
|
|
1954
|
-
),
|
|
1955
|
-
/** Delete a MySQLUser. */
|
|
1956
|
-
deleteMysqlUser: this.requestFunctionFactory(
|
|
1957
|
-
databaseDeleteMysqlUser
|
|
1958
|
-
),
|
|
1959
|
-
/** Get a RedisDatabase. */
|
|
1960
|
-
getRedisDatabase: this.requestFunctionFactory(
|
|
1961
|
-
databaseGetRedisDatabase
|
|
1962
|
-
),
|
|
1963
|
-
/** Delete a RedisDatabase. */
|
|
1964
|
-
deleteRedisDatabase: this.requestFunctionFactory(
|
|
1965
|
-
databaseDeleteRedisDatabase
|
|
1966
|
-
),
|
|
1967
|
-
/** Disable a MySQLUser. */
|
|
1968
|
-
disableMysqlUser: this.requestFunctionFactory(
|
|
1969
|
-
databaseDisableMysqlUser
|
|
1970
|
-
),
|
|
1971
|
-
/** Enable a MySQLUser. */
|
|
1972
|
-
enableMysqlUser: this.requestFunctionFactory(
|
|
1973
|
-
databaseEnableMysqlUser
|
|
1974
|
-
),
|
|
1975
|
-
/** Get a MySQLUser's PhpMyAdmin-URL. */
|
|
1976
|
-
getMysqlUserPhpMyAdminUrl: this.requestFunctionFactory(
|
|
1977
|
-
databaseGetMysqlUserPhpMyAdminUrl
|
|
1978
|
-
),
|
|
1979
|
-
/** List available MySQL character sets and collations, optionally filtered by a MySQLVersion. */
|
|
1980
|
-
listMysqlCharsets: this.requestFunctionFactory(
|
|
1981
|
-
databaseListMysqlCharsets
|
|
1982
|
-
),
|
|
1983
|
-
/** List MySQLVersions. */
|
|
1984
|
-
listMysqlVersions: this.requestFunctionFactory(
|
|
1985
|
-
databaseListMysqlVersions
|
|
1986
|
-
),
|
|
1987
|
-
/** List RedisVersions. */
|
|
1988
|
-
listRedisVersions: this.requestFunctionFactory(
|
|
1989
|
-
databaseListRedisVersions
|
|
1990
|
-
),
|
|
1991
|
-
/** Update a MySQLDatabase's default character settings. */
|
|
1992
|
-
updateMysqlDatabaseDefaultCharset: this.requestFunctionFactory(
|
|
1993
|
-
databaseUpdateMysqlDatabaseDefaultCharset
|
|
1994
|
-
),
|
|
1995
|
-
/** Update a MySQLDatabase's description. */
|
|
1996
|
-
updateMysqlDatabaseDescription: this.requestFunctionFactory(
|
|
1997
|
-
databaseUpdateMysqlDatabaseDescription
|
|
1998
|
-
),
|
|
1999
|
-
/** Update a MySQLUser's password. */
|
|
2000
|
-
updateMysqlUserPassword: this.requestFunctionFactory(
|
|
2001
|
-
databaseUpdateMysqlUserPassword
|
|
2002
|
-
),
|
|
2003
|
-
/** Update a RedisDatabase's configuration. */
|
|
2004
|
-
updateRedisDatabaseConfiguration: this.requestFunctionFactory(
|
|
2005
|
-
databaseUpdateRedisDatabaseConfiguration
|
|
2006
|
-
),
|
|
2007
|
-
/** Update a RedisDatabase's description. */
|
|
2008
|
-
updateRedisDatabaseDescription: this.requestFunctionFactory(
|
|
2009
|
-
databaseUpdateRedisDatabaseDescription
|
|
2010
|
-
)
|
|
2011
|
-
};
|
|
2012
|
-
/** The notification API allows you to manage your notifications. */
|
|
2013
|
-
this.notification = {
|
|
2014
|
-
/** Subscribe a user to the mStudio newsletter. */
|
|
2015
|
-
newsletterSubscribeUser: this.requestFunctionFactory(
|
|
2016
|
-
newsletterSubscribeUser
|
|
2017
|
-
),
|
|
2018
|
-
/** Getting the subscription status of the subscription. */
|
|
2019
|
-
newsletterGetInfo: this.requestFunctionFactory(
|
|
2020
|
-
newsletterGetInfo
|
|
2021
|
-
),
|
|
2022
|
-
/** Unsubscribe a user from the mStudio newsletter. */
|
|
2023
|
-
newsletterUnsubscribeUser: this.requestFunctionFactory(
|
|
2024
|
-
newsletterUnsubscribeUser
|
|
2025
|
-
),
|
|
2026
|
-
/** Get the counts for unread notifications of the user. */
|
|
2027
|
-
scountUnreadNotifications: this.requestFunctionFactory(
|
|
2028
|
-
notificationsCountUnreadNotifications
|
|
2029
|
-
),
|
|
2030
|
-
/** List all unread notifications. */
|
|
2031
|
-
slistNotifications: this.requestFunctionFactory(
|
|
2032
|
-
notificationsListNotifications
|
|
2033
|
-
),
|
|
2034
|
-
/** Mark all notifications as read. */
|
|
2035
|
-
sreadAllNotifications: this.requestFunctionFactory(
|
|
2036
|
-
notificationsReadAllNotifications
|
|
2037
|
-
),
|
|
2038
|
-
/** Mark notification as read. */
|
|
2039
|
-
sreadNotification: this.requestFunctionFactory(
|
|
2040
|
-
notificationsReadNotification
|
|
2041
|
-
)
|
|
2042
|
-
};
|
|
2043
|
-
/** The domain API allows you to manage your domains, DNS records and ingress resources. */
|
|
2044
|
-
this.domain = {
|
|
2045
|
-
/** Create a DNSZone. */
|
|
2046
|
-
dnsCreateDnsZone: this.requestFunctionFactory(dnsCreateDnsZone),
|
|
2047
|
-
/** Get a DNSZone. */
|
|
2048
|
-
dnsGetDnsZone: this.requestFunctionFactory(dnsGetDnsZone),
|
|
2049
|
-
/** Delete a DNSZone. */
|
|
2050
|
-
dnsDeleteDnsZone: this.requestFunctionFactory(dnsDeleteDnsZone),
|
|
2051
|
-
/** List DNSZones belonging to a Project. */
|
|
2052
|
-
dnsListDnsZones: this.requestFunctionFactory(dnsListDnsZones),
|
|
2053
|
-
/** Set a record set on a DNSZone to managed. */
|
|
2054
|
-
dnsSetRecordSetManaged: this.requestFunctionFactory(
|
|
2055
|
-
dnsSetRecordSetManaged
|
|
2056
|
-
),
|
|
2057
|
-
/** Update a record set on a DNSZone. */
|
|
2058
|
-
dnsUpdateRecordSet: this.requestFunctionFactory(
|
|
2059
|
-
dnsUpdateRecordSet
|
|
2060
|
-
),
|
|
2061
|
-
/** Abort a Domain declaration. */
|
|
2062
|
-
abortDomainDeclaration: this.requestFunctionFactory(
|
|
2063
|
-
domainAbortDomainDeclaration
|
|
2064
|
-
),
|
|
2065
|
-
/** Check if a Domain is available to register. */
|
|
2066
|
-
checkDomainRegistrability: this.requestFunctionFactory(
|
|
2067
|
-
domainCheckDomainRegistrability
|
|
2068
|
-
),
|
|
2069
|
-
/** Create an auth code 2. */
|
|
2070
|
-
createDomainAuthCode2: this.requestFunctionFactory(
|
|
2071
|
-
domainCreateDomainAuthCode2
|
|
2072
|
-
),
|
|
2073
|
-
/** Create an auth code for a Domains transfer-out process. */
|
|
2074
|
-
createDomainAuthCode: this.requestFunctionFactory(
|
|
2075
|
-
domainCreateDomainAuthCode
|
|
2076
|
-
),
|
|
2077
|
-
/** Update the nameservers of a Domain. */
|
|
2078
|
-
updateDomainNameservers: this.requestFunctionFactory(
|
|
2079
|
-
domainUpdateDomainNameservers
|
|
2080
|
-
),
|
|
2081
|
-
/** Get a Domain. */
|
|
2082
|
-
getDomain: this.requestFunctionFactory(domainGetDomain),
|
|
2083
|
-
/** Delete a Domain. */
|
|
2084
|
-
deleteDomain: this.requestFunctionFactory(domainDeleteDomain),
|
|
2085
|
-
/** Get a DomainOwnership. */
|
|
2086
|
-
getDomainOwnership: this.requestFunctionFactory(
|
|
2087
|
-
domainGetDomainOwnership
|
|
2088
|
-
),
|
|
2089
|
-
/** Get File Service Reference for a Screenshot of a domain. */
|
|
2090
|
-
getScreenshotForDomain: this.requestFunctionFactory(
|
|
2091
|
-
domainGetScreenshotForDomain
|
|
2092
|
-
),
|
|
2093
|
-
/** List the DomainOwnerships of a project. */
|
|
2094
|
-
listDomainOwnerships: this.requestFunctionFactory(
|
|
2095
|
-
domainListDomainOwnerships
|
|
2096
|
-
),
|
|
2097
|
-
/** List Domains belonging to a Project. */
|
|
2098
|
-
listDomains: this.requestFunctionFactory(domainListDomains),
|
|
2099
|
-
/** List the contact schemas for a TLD. */
|
|
2100
|
-
listTldContactSchemas: this.requestFunctionFactory(
|
|
2101
|
-
domainListTldContactSchemas
|
|
2102
|
-
),
|
|
2103
|
-
/** List TLDs. */
|
|
2104
|
-
listTlds: this.requestFunctionFactory(domainListTlds),
|
|
2105
|
-
/** Resend a Domain email. */
|
|
2106
|
-
resendDomainEmail: this.requestFunctionFactory(
|
|
2107
|
-
domainResendDomainEmail
|
|
2108
|
-
),
|
|
2109
|
-
/** Update the auth code of a Domain. */
|
|
2110
|
-
updateDomainAuthCode: this.requestFunctionFactory(
|
|
2111
|
-
domainUpdateDomainAuthCode
|
|
2112
|
-
),
|
|
2113
|
-
/** Update a contact of a Domain. */
|
|
2114
|
-
updateDomainContact: this.requestFunctionFactory(
|
|
2115
|
-
domainUpdateDomainContact
|
|
2116
|
-
),
|
|
2117
|
-
/** Update a Domain's project id. */
|
|
2118
|
-
updateDomainProjectId: this.requestFunctionFactory(
|
|
2119
|
-
domainUpdateDomainProjectId
|
|
2120
|
-
),
|
|
2121
|
-
/** Verify a DomainOwnership. */
|
|
2122
|
-
verifyDomainOwnership: this.requestFunctionFactory(
|
|
2123
|
-
domainVerifyDomainOwnership
|
|
2124
|
-
),
|
|
2125
|
-
/** Create an Ingress. */
|
|
2126
|
-
ingressCreate: this.requestFunctionFactory(ingressCreate),
|
|
2127
|
-
/** Get an Ingress. */
|
|
2128
|
-
ingressGetSpecific: this.requestFunctionFactory(
|
|
2129
|
-
ingressGetSpecific
|
|
2130
|
-
),
|
|
2131
|
-
/** Delete an Ingress. */
|
|
2132
|
-
ingressDelete: this.requestFunctionFactory(ingressDelete),
|
|
2133
|
-
/** List Ingresses the user has access to. */
|
|
2134
|
-
ingressListAccessible: this.requestFunctionFactory(
|
|
2135
|
-
ingressListAccessible
|
|
2136
|
-
),
|
|
2137
|
-
/** List Ingresses belonging to a project. */
|
|
2138
|
-
ingressListForProject: this.requestFunctionFactory(
|
|
2139
|
-
ingressListForProject
|
|
2140
|
-
),
|
|
2141
|
-
/** Update an Ingresses paths. */
|
|
2142
|
-
ingressPaths: this.requestFunctionFactory(ingressPaths),
|
|
2143
|
-
/** Request ACME certificate issuance */
|
|
2144
|
-
ingressRequestAcmeCertificateIssuance: this.requestFunctionFactory(
|
|
2145
|
-
ingressRequestAcmeCertificateIssuance
|
|
2146
|
-
),
|
|
2147
|
-
/** Update an Ingresses tls settings. */
|
|
2148
|
-
ingressTls: this.requestFunctionFactory(ingressTls)
|
|
2149
|
-
};
|
|
2150
|
-
/** The file API allows you to manage your files, for example for conversations attachments and avatar uploads. */
|
|
2151
|
-
this.file = {
|
|
2152
|
-
/** Create a File. */
|
|
2153
|
-
createFile: this.requestFunctionFactory(fileCreateFile),
|
|
2154
|
-
/** Get a File's meta. */
|
|
2155
|
-
getFileMeta: this.requestFunctionFactory(fileGetFileMeta),
|
|
2156
|
-
/** Get a Token's upload rules. */
|
|
2157
|
-
getFileTokenRules: this.requestFunctionFactory(
|
|
2158
|
-
fileGetFileTokenRules
|
|
2159
|
-
),
|
|
2160
|
-
/** Get a Type's upload rules. */
|
|
2161
|
-
getFileTypeRules: this.requestFunctionFactory(
|
|
2162
|
-
fileGetFileTypeRules
|
|
2163
|
-
),
|
|
2164
|
-
/** Get a File. */
|
|
2165
|
-
getFile: this.requestFunctionFactory(fileGetFile)
|
|
2166
|
-
};
|
|
2167
|
-
/** The mail API allows you to manage your mail accounts. */
|
|
2168
|
-
this.mail = {
|
|
2169
|
-
/** List DeliveryBoxes belonging to a Project. */
|
|
2170
|
-
listDeliveryBoxes: this.requestFunctionFactory(
|
|
2171
|
-
mailListDeliveryBoxes
|
|
2172
|
-
),
|
|
2173
|
-
/** Create a DeliveryBox. */
|
|
2174
|
-
createDeliverybox: this.requestFunctionFactory(
|
|
2175
|
-
mailCreateDeliverybox
|
|
2176
|
-
),
|
|
2177
|
-
/** List MailAddresses belonging to a Project. */
|
|
2178
|
-
listMailAddresses: this.requestFunctionFactory(
|
|
2179
|
-
mailListMailAddresses
|
|
2180
|
-
),
|
|
2181
|
-
/** Create a MailAddress. */
|
|
2182
|
-
createMailAddress: this.requestFunctionFactory(
|
|
2183
|
-
mailCreateMailAddress
|
|
2184
|
-
),
|
|
2185
|
-
/** Get a DeliveryBox. */
|
|
2186
|
-
getDeliveryBox: this.requestFunctionFactory(mailGetDeliveryBox),
|
|
2187
|
-
/** Delete a DeliveryBox. */
|
|
2188
|
-
deleteDeliveryBox: this.requestFunctionFactory(
|
|
2189
|
-
mailDeleteDeliveryBox
|
|
2190
|
-
),
|
|
2191
|
-
/** Get a MailAddress. */
|
|
2192
|
-
getMailAddress: this.requestFunctionFactory(mailGetMailAddress),
|
|
2193
|
-
/** Delete a MailAddress. */
|
|
2194
|
-
deleteMailAddress: this.requestFunctionFactory(
|
|
2195
|
-
mailDeleteMailAddress
|
|
2196
|
-
),
|
|
2197
|
-
/** List mail settings of a Project. */
|
|
2198
|
-
listProjectMailSettings: this.requestFunctionFactory(
|
|
2199
|
-
mailListProjectMailSettings
|
|
2200
|
-
),
|
|
2201
|
-
/** Update the description of a DeliveryBox. */
|
|
2202
|
-
updateDeliveryBoxDescription: this.requestFunctionFactory(
|
|
2203
|
-
mailUpdateDeliveryBoxDescription
|
|
2204
|
-
),
|
|
2205
|
-
/** Update the password of a DeliveryBox. */
|
|
2206
|
-
updateDeliveryBoxPassword: this.requestFunctionFactory(
|
|
2207
|
-
mailUpdateDeliveryBoxPassword
|
|
2208
|
-
),
|
|
2209
|
-
/** Update a MailAddress. */
|
|
2210
|
-
updateMailAddressAddress: this.requestFunctionFactory(
|
|
2211
|
-
mailUpdateMailAddressAddress
|
|
2212
|
-
),
|
|
2213
|
-
/** Update the autoresponder of a MailAddress. */
|
|
2214
|
-
updateMailAddressAutoresponder: this.requestFunctionFactory(
|
|
2215
|
-
mailUpdateMailAddressAutoresponder
|
|
2216
|
-
),
|
|
2217
|
-
/** Update the catchall of a MailAddress. */
|
|
2218
|
-
updateMailAddressCatchall: this.requestFunctionFactory(
|
|
2219
|
-
mailUpdateMailAddressCatchall
|
|
2220
|
-
),
|
|
2221
|
-
/** Update the forward addresses of a MailAddresses. */
|
|
2222
|
-
updateMailAddressForwardAddresses: this.requestFunctionFactory(
|
|
2223
|
-
mailUpdateMailAddressForwardAddresses
|
|
2224
|
-
),
|
|
2225
|
-
/** Update the password for a MailAddress. */
|
|
2226
|
-
updateMailAddressPassword: this.requestFunctionFactory(
|
|
2227
|
-
mailUpdateMailAddressPassword
|
|
2228
|
-
),
|
|
2229
|
-
/** Update the quota of a MailAddress. */
|
|
2230
|
-
updateMailAddressQuota: this.requestFunctionFactory(
|
|
2231
|
-
mailUpdateMailAddressQuota
|
|
2232
|
-
),
|
|
2233
|
-
/** Update the spam protection of a MailAddress. */
|
|
2234
|
-
updateMailAddressSpamProtection: this.requestFunctionFactory(
|
|
2235
|
-
mailUpdateMailAddressSpamProtection
|
|
2236
|
-
),
|
|
2237
|
-
/** Update a mail setting of a Project. */
|
|
2238
|
-
updateProjectMailSetting: this.requestFunctionFactory(
|
|
2239
|
-
mailUpdateProjectMailSetting
|
|
2240
|
-
)
|
|
2241
|
-
};
|
|
2242
|
-
/** The page insights API allows you to get page insights information. */
|
|
2243
|
-
this.pageInsights = {
|
|
2244
|
-
/** Get detailed performance data for a given domain and path. */
|
|
2245
|
-
pageinsightsGetPerformanceData: this.requestFunctionFactory(
|
|
2246
|
-
pageinsightsGetPerformanceData
|
|
2247
|
-
),
|
|
2248
|
-
/** List websites (specified as domain and path) from a project where performance data is available. */
|
|
2249
|
-
pageinsightsListPerformanceDataForProject: this.requestFunctionFactory(
|
|
2250
|
-
pageinsightsListPerformanceDataForProject
|
|
2251
|
-
)
|
|
2252
|
-
};
|
|
2253
|
-
/** The user API allows you to manage your own user and access information of other users that might be visible to you. */
|
|
2254
|
-
this.user = {
|
|
2255
|
-
/** Get a password policy. */
|
|
2256
|
-
passwordValidationGetPasswordPolicy: this.requestFunctionFactory(
|
|
2257
|
-
passwordValidationGetPasswordPolicy
|
|
2258
|
-
),
|
|
2259
|
-
/** Add phone number and start verification process. */
|
|
2260
|
-
addPhoneNumber: this.requestFunctionFactory(userAddPhoneNumber),
|
|
2261
|
-
/** Remove phone number. */
|
|
2262
|
-
removePhoneNumber: this.requestFunctionFactory(
|
|
2263
|
-
userRemovePhoneNumber
|
|
2264
|
-
),
|
|
2265
|
-
/** Validate your second factor. */
|
|
2266
|
-
authenticateMfa: this.requestFunctionFactory(
|
|
2267
|
-
userAuthenticateMfa
|
|
2268
|
-
),
|
|
2269
|
-
/** Authenticate yourself to get an access token. */
|
|
2270
|
-
authenticate: this.requestFunctionFactory(userAuthenticate),
|
|
2271
|
-
/** Get your verified Email-Address. */
|
|
2272
|
-
getOwnEmail: this.requestFunctionFactory(userGetOwnEmail),
|
|
2273
|
-
/** Change your Email-Address. */
|
|
2274
|
-
changeEmail: this.requestFunctionFactory(userChangeEmail),
|
|
2275
|
-
/** Change your password. */
|
|
2276
|
-
changePassword: this.requestFunctionFactory(userChangePassword),
|
|
2277
|
-
/** Check token for validity. */
|
|
2278
|
-
checkToken: this.requestFunctionFactory(userCheckToken),
|
|
2279
|
-
/** Get your current multi factor auth status. */
|
|
2280
|
-
getMfaStatus: this.requestFunctionFactory(userGetMfaStatus),
|
|
2281
|
-
/** Reset RecoveryCodes for MFA. */
|
|
2282
|
-
resetRecoverycodes: this.requestFunctionFactory(
|
|
2283
|
-
userResetRecoverycodes
|
|
2284
|
-
),
|
|
2285
|
-
/** Confirm Multi Factor Authentication. */
|
|
2286
|
-
confirmMfa: this.requestFunctionFactory(userConfirmMfa),
|
|
2287
|
-
/** Disable Multi Factor Authentication. */
|
|
2288
|
-
disableMfa: this.requestFunctionFactory(userDisableMfa),
|
|
2289
|
-
/** Confirm password reset. */
|
|
2290
|
-
confirmPasswordReset: this.requestFunctionFactory(
|
|
2291
|
-
userConfirmPasswordReset
|
|
2292
|
-
),
|
|
2293
|
-
/** List all of your ApiTokens. */
|
|
2294
|
-
listApiTokens: this.requestFunctionFactory(userListApiTokens),
|
|
2295
|
-
/** Store a new ApiToken. */
|
|
2296
|
-
createApiToken: this.requestFunctionFactory(userCreateApiToken),
|
|
2297
|
-
/** Submit your user feedback. */
|
|
2298
|
-
createFeedback: this.requestFunctionFactory(userCreateFeedback),
|
|
2299
|
-
/** Get your stored ssh-keys. */
|
|
2300
|
-
listSshKeys: this.requestFunctionFactory(userListSshKeys),
|
|
2301
|
-
/** Store a new ssh-key. */
|
|
2302
|
-
createSshKey: this.requestFunctionFactory(userCreateSshKey),
|
|
2303
|
-
/** Get a specific ApiToken. */
|
|
2304
|
-
getApiToken: this.requestFunctionFactory(userGetApiToken),
|
|
2305
|
-
/** Update an existing `ApiToken`. */
|
|
2306
|
-
editApiToken: this.requestFunctionFactory(userEditApiToken),
|
|
2307
|
-
/** Deletes an ApiToken. */
|
|
2308
|
-
deleteApiToken: this.requestFunctionFactory(userDeleteApiToken),
|
|
2309
|
-
/** Get a specific stored ssh-key. */
|
|
2310
|
-
getSshKey: this.requestFunctionFactory(userGetSshKey),
|
|
2311
|
-
/** Edit a stored ssh-key. */
|
|
2312
|
-
editSshKey: this.requestFunctionFactory(userEditSshKey),
|
|
2313
|
-
/** Remove a ssh-key. */
|
|
2314
|
-
deleteSshKey: this.requestFunctionFactory(userDeleteSshKey),
|
|
2315
|
-
/** Delete your account and all your personal data. */
|
|
2316
|
-
deleteUser: this.requestFunctionFactory(userDeleteUser),
|
|
2317
|
-
/** Get your account information. */
|
|
2318
|
-
getOwnAccount: this.requestFunctionFactory(userGetOwnAccount),
|
|
2319
|
-
/** Update your account information. */
|
|
2320
|
-
updateAccount: this.requestFunctionFactory(userUpdateAccount),
|
|
2321
|
-
/** The timestamp of your latest password change. */
|
|
2322
|
-
getPasswordUpdatedAt: this.requestFunctionFactory(
|
|
2323
|
-
userGetPasswordUpdatedAt
|
|
2324
|
-
),
|
|
2325
|
-
/** Get personalized settings. */
|
|
2326
|
-
getPersonalizedSettings: this.requestFunctionFactory(
|
|
2327
|
-
userGetPersonalizedSettings
|
|
2328
|
-
),
|
|
2329
|
-
/** Update personalized GUI settings. */
|
|
2330
|
-
updatePersonalizedSettings: this.requestFunctionFactory(
|
|
2331
|
-
userUpdatePersonalizedSettings
|
|
2332
|
-
),
|
|
2333
|
-
/** Get a specific session. */
|
|
2334
|
-
getSession: this.requestFunctionFactory(userGetSession),
|
|
2335
|
-
/** Terminate a specific Session. */
|
|
2336
|
-
terminateSession: this.requestFunctionFactory(
|
|
2337
|
-
userTerminateSession
|
|
2338
|
-
),
|
|
2339
|
-
/** Get profile information for a user. */
|
|
2340
|
-
getUser: this.requestFunctionFactory(userGetUser),
|
|
2341
|
-
/** Change personal information. */
|
|
2342
|
-
updatePersonalInformation: this.requestFunctionFactory(
|
|
2343
|
-
userUpdatePersonalInformation
|
|
2344
|
-
),
|
|
2345
|
-
/** Initialize Multi Factor Authentication. If successful, it needs to be confirmed, before usage of mfa. */
|
|
2346
|
-
initMfa: this.requestFunctionFactory(userInitMfa),
|
|
2347
|
-
/** Initialize password reset process. */
|
|
2348
|
-
initPasswordReset: this.requestFunctionFactory(
|
|
2349
|
-
userInitPasswordReset
|
|
2350
|
-
),
|
|
2351
|
-
/** Submitted feedback of the given user. */
|
|
2352
|
-
listFeedback: this.requestFunctionFactory(userListFeedback),
|
|
2353
|
-
/** List all sessions. */
|
|
2354
|
-
listSessions: this.requestFunctionFactory(userListSessions),
|
|
2355
|
-
/** Terminate all sessions, except the current session. */
|
|
2356
|
-
terminateAllSessions: this.requestFunctionFactory(
|
|
2357
|
-
userTerminateAllSessions
|
|
2358
|
-
),
|
|
2359
|
-
/** Terminate session and invalidate access token. */
|
|
2360
|
-
logout: this.requestFunctionFactory(userLogout),
|
|
2361
|
-
/** Register with email and password. */
|
|
2362
|
-
register: this.requestFunctionFactory(userRegister),
|
|
2363
|
-
/** Request a new avatar image upload. */
|
|
2364
|
-
requestAvatarUpload: this.requestFunctionFactory(
|
|
2365
|
-
userRequestAvatarUpload
|
|
2366
|
-
),
|
|
2367
|
-
/** Remove Avatar. */
|
|
2368
|
-
removeAvatar: this.requestFunctionFactory(userRemoveAvatar),
|
|
2369
|
-
/** Resend the Email-Address verification email. */
|
|
2370
|
-
resendVerificationEmail: this.requestFunctionFactory(
|
|
2371
|
-
userResendVerificationEmail
|
|
2372
|
-
),
|
|
2373
|
-
/** Request a support code. */
|
|
2374
|
-
supportCodeRequest: this.requestFunctionFactory(
|
|
2375
|
-
userSupportCodeRequest
|
|
2376
|
-
),
|
|
2377
|
-
/** Verify an added Email-Address. */
|
|
2378
|
-
verifyEmail: this.requestFunctionFactory(userVerifyEmail),
|
|
2379
|
-
/** Verify phone number. */
|
|
2380
|
-
verifyPhoneNumber: this.requestFunctionFactory(
|
|
2381
|
-
userVerifyPhoneNumber
|
|
2382
|
-
),
|
|
2383
|
-
/** Verify your registration. */
|
|
2384
|
-
verifyRegistration: this.requestFunctionFactory(
|
|
2385
|
-
userVerifyRegistration
|
|
2386
|
-
)
|
|
2387
|
-
};
|
|
2388
|
-
/** The project API allows you to manage your projects, and also any kinds of user memberships concerning these projects. */
|
|
2389
|
-
this.project = {
|
|
2390
|
-
/** Accept a ProjectInvite. */
|
|
2391
|
-
acceptProjectInvite: this.requestFunctionFactory(
|
|
2392
|
-
projectAcceptProjectInvite
|
|
2393
|
-
),
|
|
2394
|
-
/** Create a ProjectInvite. */
|
|
2395
|
-
createProjectInvite: this.requestFunctionFactory(
|
|
2396
|
-
projectCreateProjectInvite
|
|
2397
|
-
),
|
|
2398
|
-
/** Create a Project belonging to a Server. */
|
|
2399
|
-
createProject: this.requestFunctionFactory(
|
|
2400
|
-
projectCreateProject
|
|
2401
|
-
),
|
|
2402
|
-
/** Decline a ProjectInvite. */
|
|
2403
|
-
declineProjectInvite: this.requestFunctionFactory(
|
|
2404
|
-
projectDeclineProjectInvite
|
|
2405
|
-
),
|
|
2406
|
-
/** Request a Project avatar upload. */
|
|
2407
|
-
requestProjectAvatarUpload: this.requestFunctionFactory(
|
|
2408
|
-
projectRequestProjectAvatarUpload
|
|
2409
|
-
),
|
|
2410
|
-
/** Delete a Project's avatar. */
|
|
2411
|
-
deleteProjectAvatar: this.requestFunctionFactory(
|
|
2412
|
-
projectDeleteProjectAvatar
|
|
2413
|
-
),
|
|
2414
|
-
/** Get a ProjectInvite. */
|
|
2415
|
-
getProjectInvite: this.requestFunctionFactory(
|
|
2416
|
-
projectGetProjectInvite
|
|
2417
|
-
),
|
|
2418
|
-
/** Delete a ProjectInvite. */
|
|
2419
|
-
deleteProjectInvite: this.requestFunctionFactory(
|
|
2420
|
-
projectDeleteProjectInvite
|
|
2421
|
-
),
|
|
2422
|
-
/** Get a ProjectMembership */
|
|
2423
|
-
getProjectMembership: this.requestFunctionFactory(
|
|
2424
|
-
projectGetProjectMembership
|
|
2425
|
-
),
|
|
2426
|
-
/** Delete a ProjectMembership. */
|
|
2427
|
-
deleteProjectMembership: this.requestFunctionFactory(
|
|
2428
|
-
projectDeleteProjectMembership
|
|
2429
|
-
),
|
|
2430
|
-
/** Update a ProjectMembership. */
|
|
2431
|
-
updateProjectMembership: this.requestFunctionFactory(
|
|
2432
|
-
projectUpdateProjectMembership
|
|
2433
|
-
),
|
|
2434
|
-
/** Get a Project. */
|
|
2435
|
-
getProject: this.requestFunctionFactory(projectGetProject),
|
|
2436
|
-
/** Delete a Project. */
|
|
2437
|
-
deleteProject: this.requestFunctionFactory(
|
|
2438
|
-
projectDeleteProject
|
|
2439
|
-
),
|
|
2440
|
-
/** Request a Server avatar upload. */
|
|
2441
|
-
requestServerAvatarUpload: this.requestFunctionFactory(
|
|
2442
|
-
projectRequestServerAvatarUpload
|
|
2443
|
-
),
|
|
2444
|
-
/** Delete a Server's avatar. */
|
|
2445
|
-
deleteServerAvatar: this.requestFunctionFactory(
|
|
2446
|
-
projectDeleteServerAvatar
|
|
2447
|
-
),
|
|
2448
|
-
/** Get a ProjectInvite by token. */
|
|
2449
|
-
getProjectTokenInvite: this.requestFunctionFactory(
|
|
2450
|
-
projectGetProjectTokenInvite
|
|
2451
|
-
),
|
|
2452
|
-
/** Get the executing user's membership in a Project. */
|
|
2453
|
-
getSelfMembershipForProject: this.requestFunctionFactory(
|
|
2454
|
-
projectGetSelfMembershipForProject
|
|
2455
|
-
),
|
|
2456
|
-
/** Get a Server. */
|
|
2457
|
-
getServer: this.requestFunctionFactory(projectGetServer),
|
|
2458
|
-
/** Leave a Project. */
|
|
2459
|
-
leaveProject: this.requestFunctionFactory(projectLeaveProject),
|
|
2460
|
-
/** List Invites belonging to a Project. */
|
|
2461
|
-
listInvitesForProject: this.requestFunctionFactory(
|
|
2462
|
-
projectListInvitesForProject
|
|
2463
|
-
),
|
|
2464
|
-
/** List Memberships belonging to a Project. */
|
|
2465
|
-
listMembershipsForProject: this.requestFunctionFactory(
|
|
2466
|
-
projectListMembershipsForProject
|
|
2467
|
-
),
|
|
2468
|
-
/** List ProjectInvites belonging to the executing user. */
|
|
2469
|
-
listProjectInvites: this.requestFunctionFactory(
|
|
2470
|
-
projectListProjectInvites
|
|
2471
|
-
),
|
|
2472
|
-
/** List ProjectMemberships belonging to the executing user. */
|
|
2473
|
-
listProjectMemberships: this.requestFunctionFactory(
|
|
2474
|
-
projectListProjectMemberships
|
|
2475
|
-
),
|
|
2476
|
-
/** List Projects belonging to the executing user. */
|
|
2477
|
-
listProjects: this.requestFunctionFactory(projectListProjects),
|
|
2478
|
-
/** List Servers belonging to the executing user. */
|
|
2479
|
-
listServers: this.requestFunctionFactory(projectListServers),
|
|
2480
|
-
/** Resend the mail for a ProjectInvite. */
|
|
2481
|
-
resendProjectInviteMail: this.requestFunctionFactory(
|
|
2482
|
-
projectResendProjectInviteMail
|
|
2483
|
-
),
|
|
2484
|
-
/** Update a Project's description. */
|
|
2485
|
-
updateProjectDescription: this.requestFunctionFactory(
|
|
2486
|
-
projectUpdateProjectDescription
|
|
2487
|
-
),
|
|
2488
|
-
/** Update a Servers's description. */
|
|
2489
|
-
updateServerDescription: this.requestFunctionFactory(
|
|
2490
|
-
projectUpdateServerDescription
|
|
2491
|
-
)
|
|
2492
|
-
};
|
|
2493
|
-
/** The filesystem API allows you to directly access the filesystem of your project. */
|
|
2494
|
-
this.projectFileSystem = {
|
|
2495
|
-
/** List directories belonging to a Project. */
|
|
2496
|
-
getDirectories: this.requestFunctionFactory(
|
|
2497
|
-
projectFileSystemGetDirectories
|
|
2498
|
-
),
|
|
2499
|
-
/** Get a Project directory filesystem usage. */
|
|
2500
|
-
getDiskUsage: this.requestFunctionFactory(
|
|
2501
|
-
projectFileSystemGetDiskUsage
|
|
2502
|
-
),
|
|
2503
|
-
/** Get a Project file's content. */
|
|
2504
|
-
getFileContent: this.requestFunctionFactory(
|
|
2505
|
-
projectFileSystemGetFileContent
|
|
2506
|
-
),
|
|
2507
|
-
/** Get a Project's file/filesystem authorization token. */
|
|
2508
|
-
getJwt: this.requestFunctionFactory(projectFileSystemGetJwt),
|
|
2509
|
-
/** Get a Project file's information. */
|
|
2510
|
-
listFiles: this.requestFunctionFactory(
|
|
2511
|
-
projectFileSystemListFiles
|
|
2512
|
-
)
|
|
2513
|
-
};
|
|
2514
|
-
/** The relocation API allows you to manage your relocations. */
|
|
2515
|
-
this.relocation = {
|
|
2516
|
-
/** Register a tariff change for a legacy tariff. */
|
|
2517
|
-
createLegacyTariffChange: this.requestFunctionFactory(
|
|
2518
|
-
relocationCreateLegacyTariffChange
|
|
2519
|
-
),
|
|
2520
|
-
/** Relocate an external Project to mittwald. */
|
|
2521
|
-
createRelocation: this.requestFunctionFactory(
|
|
2522
|
-
relocationCreateRelocation
|
|
2523
|
-
)
|
|
2524
|
-
};
|
|
2525
|
-
/** The SSH/SFTP User API allows you to manage your SSH/SFTP users within a project. */
|
|
2526
|
-
this.sshsftpUser = {
|
|
2527
|
-
/** Get all SFTPUsers for a Project. */
|
|
2528
|
-
sftpUserListSftpUsers: this.requestFunctionFactory(
|
|
2529
|
-
sftpUserListSftpUsers
|
|
2530
|
-
),
|
|
2531
|
-
/** Create an SFTPUser for a Project. */
|
|
2532
|
-
sftpUserCreateSftpUser: this.requestFunctionFactory(
|
|
2533
|
-
sftpUserCreateSftpUser
|
|
2534
|
-
),
|
|
2535
|
-
/** Get an SFTPUser. */
|
|
2536
|
-
sftpUserGetSftpUser: this.requestFunctionFactory(
|
|
2537
|
-
sftpUserGetSftpUser
|
|
2538
|
-
),
|
|
2539
|
-
/** Delete an SFTPUser. */
|
|
2540
|
-
sftpUserDeleteSftpUser: this.requestFunctionFactory(
|
|
2541
|
-
sftpUserDeleteSftpUser
|
|
2542
|
-
),
|
|
2543
|
-
/** Update an SFTPUser. */
|
|
2544
|
-
sftpUserUpdateSftpUser: this.requestFunctionFactory(
|
|
2545
|
-
sftpUserUpdateSftpUser
|
|
2546
|
-
),
|
|
2547
|
-
/** Get all SSHUsers for a Project. */
|
|
2548
|
-
sshUserListSshUsers: this.requestFunctionFactory(
|
|
2549
|
-
sshUserListSshUsers
|
|
2550
|
-
),
|
|
2551
|
-
/** Create an SSHUser for a Project. */
|
|
2552
|
-
sshUserCreateSshUser: this.requestFunctionFactory(
|
|
2553
|
-
sshUserCreateSshUser
|
|
2554
|
-
),
|
|
2555
|
-
/** Get an SSHUser. */
|
|
2556
|
-
sshUserGetSshUser: this.requestFunctionFactory(
|
|
2557
|
-
sshUserGetSshUser
|
|
2558
|
-
),
|
|
2559
|
-
/** Delete an SSHUser. */
|
|
2560
|
-
sshUserDeleteSshUser: this.requestFunctionFactory(
|
|
2561
|
-
sshUserDeleteSshUser
|
|
2562
|
-
),
|
|
2563
|
-
/** Update an SSHUser. */
|
|
2564
|
-
sshUserUpdateSshUser: this.requestFunctionFactory(
|
|
2565
|
-
sshUserUpdateSshUser
|
|
2566
|
-
)
|
|
2567
|
-
};
|
|
2568
|
-
}
|
|
2569
|
-
};
|
|
2570
|
-
var client_default = MittwaldAPIV2Client;
|
|
2571
|
-
|
|
2572
|
-
// src/version.ts
|
|
2573
|
-
var MittwaldAPIClientVersion = "0.0.0-development";
|
|
2574
|
-
|
|
2575
|
-
// src/v2/default.ts
|
|
2576
|
-
var import_browser_or_node = require("browser-or-node");
|
|
2577
|
-
var defaultUserAgent = "mittwald-api-client/" + MittwaldAPIClientVersion;
|
|
2578
|
-
var MittwaldAPIClient = class _MittwaldAPIClient extends client_default {
|
|
2579
|
-
constructor(apiToken) {
|
|
2580
|
-
super(_MittwaldAPIClient.createAxiosDefaults());
|
|
2581
|
-
this.apiToken = apiToken;
|
|
2582
|
-
this.setupInterceptors();
|
|
2583
|
-
}
|
|
2584
|
-
static createAxiosDefaults() {
|
|
2585
|
-
const headers = {};
|
|
2586
|
-
if (!import_browser_or_node.isBrowser) {
|
|
2587
|
-
headers["User-Agent"] = defaultUserAgent;
|
|
2588
|
-
}
|
|
2589
|
-
return {
|
|
2590
|
-
baseURL: "https://api.mittwald.de/",
|
|
2591
|
-
headers
|
|
2592
|
-
};
|
|
2593
|
-
}
|
|
2594
|
-
setupInterceptors() {
|
|
2595
|
-
this.axios.interceptors.request.use((conf) => {
|
|
2596
|
-
const token = this.apiToken;
|
|
2597
|
-
if (token) {
|
|
2598
|
-
conf.headers.set("x-access-token", token);
|
|
2599
|
-
}
|
|
2600
|
-
return conf;
|
|
2601
|
-
});
|
|
2602
|
-
}
|
|
2603
|
-
static newUnauthenticated() {
|
|
2604
|
-
return new _MittwaldAPIClient();
|
|
2605
|
-
}
|
|
2606
|
-
static newWithToken(apiToken) {
|
|
2607
|
-
return new _MittwaldAPIClient(apiToken);
|
|
2608
|
-
}
|
|
2609
|
-
static async newWithCredentials(email, password) {
|
|
2610
|
-
const client = _MittwaldAPIClient.newUnauthenticated();
|
|
2611
|
-
const authResult = await client.user.authenticate({
|
|
2612
|
-
data: {
|
|
2613
|
-
email,
|
|
2614
|
-
password
|
|
2615
|
-
}
|
|
2616
|
-
});
|
|
2617
|
-
if (authResult.status === 200) {
|
|
2618
|
-
return new _MittwaldAPIClient(authResult.data.token);
|
|
2619
|
-
}
|
|
2620
|
-
throw import_api_client_commons2.ApiClientError.fromResponse("Login failed", authResult);
|
|
2621
|
-
}
|
|
2622
|
-
};
|
|
2623
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
2624
|
-
0 && (module.exports = {
|
|
2625
|
-
MittwaldAPIV2Client,
|
|
2626
|
-
assertStatus
|
|
2627
|
-
});
|