@mittwald/api-client 1.0.0-alpha.16 → 1.0.0-alpha.17

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.
@@ -0,0 +1,712 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.MittwaldAPIV2Client = void 0;
27
+ /* eslint-disable */
28
+ /* prettier-ignore */
29
+ /* This file is auto-generated with acg (@mittwald/api-code-generator) */
30
+ const descriptors = __importStar(require("./descriptors.js"));
31
+ const api_client_commons_1 = require("@mittwald/api-client-commons");
32
+ class MittwaldAPIV2Client extends api_client_commons_1.ApiClientBase {
33
+ constructor() {
34
+ super(...arguments);
35
+ /** The App API allows you to manage your apps within a project, and all the system softwares that are installed as dependencies. */
36
+ this.app = {
37
+ /** execute a runtime concerning action on a specific `AppInstallation` */
38
+ executeAction: this.requestFunctionFactory(descriptors.appExecuteAction),
39
+ /** get a specific `App` */
40
+ getApp: this.requestFunctionFactory(descriptors.appGetApp),
41
+ /** get a specific `AppInstallation` */
42
+ getAppinstallation: this.requestFunctionFactory(descriptors.appGetAppinstallation),
43
+ /** start uninstallation process for a specific `AppInstallation` */
44
+ uninstallAppinstallation: this.requestFunctionFactory(descriptors.appUninstallAppinstallation),
45
+ /** patch desired properties of a specific `AppInstallation` */
46
+ patchAppinstallation: this.requestFunctionFactory(descriptors.appPatchAppinstallation),
47
+ /** get a specific `AppVersion` */
48
+ getAppversion: this.requestFunctionFactory(descriptors.appGetAppversion),
49
+ /** get a specific `SystemSoftware` */
50
+ getSystemsoftware: this.requestFunctionFactory(descriptors.appGetSystemsoftware),
51
+ /** get a specific `SystemSoftwareVersion` */
52
+ getSystemsoftwareversion: this.requestFunctionFactory(descriptors.appGetSystemsoftwareversion),
53
+ /** create linkage between an `AppInstallation` and a `Database` */
54
+ linkDatabase: this.requestFunctionFactory(descriptors.appLinkDatabase),
55
+ /** get all `AppInstallations` inside a specific `Project` */
56
+ listAppinstallations: this.requestFunctionFactory(descriptors.appListAppinstallations),
57
+ /** request a new `AppInstallation` */
58
+ requestAppinstallation: this.requestFunctionFactory(descriptors.appRequestAppinstallation),
59
+ /** get all available `Apps` */
60
+ listApps: this.requestFunctionFactory(descriptors.appListApps),
61
+ /** get all `AppVersions` of a specific `App` */
62
+ listAppversions: this.requestFunctionFactory(descriptors.appListAppversions),
63
+ /** get all available `SystemSoftware` */
64
+ listSystemsoftwares: this.requestFunctionFactory(descriptors.appListSystemsoftwares),
65
+ /** get all available `SystemSoftwareVersions` of a specific `SystemSoftware` */
66
+ listSystemsoftwareversions: this.requestFunctionFactory(descriptors.appListSystemsoftwareversions),
67
+ /** get runtime status of a specific `AppInstallation` */
68
+ retrieveStatus: this.requestFunctionFactory(descriptors.appRetrieveStatus),
69
+ /** create linkage between an `AppInstallation` and `DatabaseUsers` */
70
+ setDatabaseUsers: this.requestFunctionFactory(descriptors.appSetDatabaseUsers),
71
+ /** remove linkage between an `AppInstallation` and a `Database` */
72
+ unlinkDatabase: this.requestFunctionFactory(descriptors.appUnlinkDatabase),
73
+ /** trigger `AppInstallation` to retrieve current installation status based on an appJob */
74
+ updateStatus: this.requestFunctionFactory(descriptors.appUpdateStatus),
75
+ };
76
+ /** The article API allows you to read article information. */
77
+ this.article = {
78
+ /** Get an Article. */
79
+ getArticle: this.requestFunctionFactory(descriptors.articleGetArticle),
80
+ /** List Articles. */
81
+ listArticles: this.requestFunctionFactory(descriptors.articleListArticles),
82
+ };
83
+ /** The backup API allows you to manage your project backups. */
84
+ this.backup = {
85
+ /** Export a ProjectBackup for download. */
86
+ createProjectBackupExport: this.requestFunctionFactory(descriptors.backupCreateProjectBackupExport),
87
+ /** Delete a ProjectBackupExport. */
88
+ deleteProjectBackupExport: this.requestFunctionFactory(descriptors.backupDeleteProjectBackupExport),
89
+ /** List BackupSchedules belonging to a given Project. */
90
+ listProjectBackupSchedules: this.requestFunctionFactory(descriptors.backupListProjectBackupSchedules),
91
+ /** Create a BackupSchedule for a Project. */
92
+ createProjectBackupSchedule: this.requestFunctionFactory(descriptors.backupCreateProjectBackupSchedule),
93
+ /** List Backups for a given Project. */
94
+ listProjectBackups: this.requestFunctionFactory(descriptors.backupListProjectBackups),
95
+ /** Create a Backup of a Project. */
96
+ createProjectBackup: this.requestFunctionFactory(descriptors.backupCreateProjectBackup),
97
+ /** Get a ProjectBackupSchedule. */
98
+ getProjectBackupSchedule: this.requestFunctionFactory(descriptors.backupGetProjectBackupSchedule),
99
+ /** Delete a ProjectBackupSchedule. */
100
+ deleteProjectBackupSchedule: this.requestFunctionFactory(descriptors.backupDeleteProjectBackupSchedule),
101
+ /** Update a ProjectBackupSchedule. */
102
+ updateProjectBackupSchedule: this.requestFunctionFactory(descriptors.backupUpdateProjectBackupSchedule),
103
+ /** Get a ProjectBackup. */
104
+ getProjectBackup: this.requestFunctionFactory(descriptors.backupGetProjectBackup),
105
+ /** Delete a ProjectBackup. */
106
+ deleteProjectBackup: this.requestFunctionFactory(descriptors.backupDeleteProjectBackup),
107
+ /** Change the description of a ProjectBackup. */
108
+ updateProjectBackupDescription: this.requestFunctionFactory(descriptors.backupUpdateProjectBackupDescription),
109
+ };
110
+ /** The contract API allows you to manage your contracts and orders */
111
+ this.contract = {
112
+ /** Schedule the Termination of a ContractItem. */
113
+ terminateContractItem: this.requestFunctionFactory(descriptors.contractTerminateContractItem),
114
+ /** Cancel the Termination for the referred ContractItem. */
115
+ cancelContractItemTermination: this.requestFunctionFactory(descriptors.contractCancelContractItemTermination),
116
+ /** Cancel the TariffChange for the referred ContractItem. */
117
+ cancelContractTariffChange: this.requestFunctionFactory(descriptors.contractCancelContractTariffChange),
118
+ /** Schedule the Termination of a Contract. */
119
+ terminateContract: this.requestFunctionFactory(descriptors.contractTerminateContract),
120
+ /** Cancel the Termination for the referred Contract. */
121
+ cancelContractTermination: this.requestFunctionFactory(descriptors.contractCancelContractTermination),
122
+ /** Return the BaseItem of the Contract with the given ID. */
123
+ getBaseItemOfContract: this.requestFunctionFactory(descriptors.contractGetBaseItemOfContract),
124
+ /** Return the Contract for the given Domain. */
125
+ getDetailOfContractByDomain: this.requestFunctionFactory(descriptors.contractGetDetailOfContractByDomain),
126
+ /** Return the Contract for the given Project. */
127
+ getDetailOfContractByProject: this.requestFunctionFactory(descriptors.contractGetDetailOfContractByProject),
128
+ /** Return the Contract for the given Server. */
129
+ getDetailOfContractByServer: this.requestFunctionFactory(descriptors.contractGetDetailOfContractByServer),
130
+ /** Get the ContractItem with the given ID. */
131
+ getDetailOfContractItem: this.requestFunctionFactory(descriptors.contractGetDetailOfContractItem),
132
+ /** Returns the Contract with the given ID. */
133
+ getDetailOfContract: this.requestFunctionFactory(descriptors.contractGetDetailOfContract),
134
+ /** Return the next TerminationDate for the ContractItem with the given ID. */
135
+ getNextTerminationDateForItem: this.requestFunctionFactory(descriptors.contractGetNextTerminationDateForItem),
136
+ /** Return a list of Contracts for the given Customer. */
137
+ listContracts: this.requestFunctionFactory(descriptors.contractListContracts),
138
+ /** Return the Contract for the given Domain. */
139
+ deprecatedContractGetDetailOfContractByDomain: this.requestFunctionFactory(descriptors.deprecatedContractGetDetailOfContractByDomain),
140
+ /** Return the Contract for the given Project. */
141
+ deprecatedContractGetDetailOfContractByProject: this.requestFunctionFactory(descriptors.deprecatedContractGetDetailOfContractByProject),
142
+ /** Return the Contract for the given Server. */
143
+ deprecatedContractGetDetailOfContractByServer: this.requestFunctionFactory(descriptors.deprecatedContractGetDetailOfContractByServer),
144
+ /** Get InvoiceSettings of a Customer. */
145
+ deprecatedInvoiceInvoiceSettings: this.requestFunctionFactory(descriptors.deprecatedInvoiceInvoiceSettings),
146
+ /** Update InvoiceSettings of a Customer. */
147
+ deprecatedInvoiceUpdateInvoiceSettings: this.requestFunctionFactory(descriptors.deprecatedInvoiceUpdateInvoiceSettings),
148
+ /** Get details of an Invoice. */
149
+ invoiceDetailOfInvoice: this.requestFunctionFactory(descriptors.invoiceDetailOfInvoice),
150
+ /** Get InvoiceSettings of a Customer. */
151
+ invoiceGetDetailOfInvoiceSettings: this.requestFunctionFactory(descriptors.invoiceGetDetailOfInvoiceSettings),
152
+ /** Update InvoiceSettings of a Customer. */
153
+ invoiceUpdateInvoiceSettings: this.requestFunctionFactory(descriptors.invoiceUpdateInvoiceSettings),
154
+ /** List Invoices of a Customer. */
155
+ invoiceListCustomerInvoices: this.requestFunctionFactory(descriptors.invoiceListCustomerInvoices),
156
+ /** Create an Order. */
157
+ orderCreateOrder: this.requestFunctionFactory(descriptors.orderCreateOrder),
158
+ /** Create TariffChange Order. */
159
+ orderCreateTariffChange: this.requestFunctionFactory(descriptors.orderCreateTariffChange),
160
+ /** Get Order for Customer. */
161
+ orderGetOrder: this.requestFunctionFactory(descriptors.orderGetOrder),
162
+ /** Get list of Orders of a Customer. */
163
+ orderListCustomerOrders: this.requestFunctionFactory(descriptors.orderListCustomerOrders),
164
+ /** Get list of Orders of a Project. */
165
+ orderListProjectOrders: this.requestFunctionFactory(descriptors.orderListProjectOrders),
166
+ /** Preview Order. */
167
+ orderPreviewOrder: this.requestFunctionFactory(descriptors.orderPreviewOrder),
168
+ /** Preview TariffChange. */
169
+ orderPreviewTariffChange: this.requestFunctionFactory(descriptors.orderPreviewTariffChange),
170
+ };
171
+ /** The conversation API allows you to manage your support conversations. */
172
+ this.conversation = {
173
+ /** Get all conversation the authenticated user has created or has access to. */
174
+ listConversations: this.requestFunctionFactory(descriptors.conversationListConversations),
175
+ /** Create a conversation. */
176
+ createConversation: this.requestFunctionFactory(descriptors.conversationCreateConversation),
177
+ /** Get all message of the conversation. */
178
+ listMessagesByConversation: this.requestFunctionFactory(descriptors.conversationListMessagesByConversation),
179
+ /** Send a new message in the conversation. */
180
+ createMessage: this.requestFunctionFactory(descriptors.conversationCreateMessage),
181
+ /** Get a specific conversation category. */
182
+ getCategory: this.requestFunctionFactory(descriptors.conversationGetCategory),
183
+ /** Get a support conversation. */
184
+ getConversation: this.requestFunctionFactory(descriptors.conversationGetConversation),
185
+ /** Update the basic properties of the conversation. */
186
+ updateConversation: this.requestFunctionFactory(descriptors.conversationUpdateConversation),
187
+ /** Get all conversation categories. */
188
+ listCategories: this.requestFunctionFactory(descriptors.conversationListCategories),
189
+ /** Request a file upload token for the conversation. */
190
+ requestFileUpload: this.requestFunctionFactory(descriptors.conversationRequestFileUpload),
191
+ /** Update the status of a conversation. */
192
+ setConversationStatus: this.requestFunctionFactory(descriptors.conversationSetConversationStatus),
193
+ /** Update the content of the message */
194
+ updateMessage: this.requestFunctionFactory(descriptors.conversationUpdateMessage),
195
+ };
196
+ /** The cronjob API allows you to manage cronjobs within a project. */
197
+ this.cronjob = {
198
+ /** Abort a CronjobExecution. */
199
+ abortExecution: this.requestFunctionFactory(descriptors.cronjobAbortExecution),
200
+ /** List Cronjobs belonging to a Project. */
201
+ listCronjobs: this.requestFunctionFactory(descriptors.cronjobListCronjobs),
202
+ /** Create a Cronjob. */
203
+ createCronjob: this.requestFunctionFactory(descriptors.cronjobCreateCronjob),
204
+ /** List CronjobExecutions belonging to a Cronjob. */
205
+ listExecutions: this.requestFunctionFactory(descriptors.cronjobListExecutions),
206
+ /** Trigger a Cronjob. */
207
+ createExecution: this.requestFunctionFactory(descriptors.cronjobCreateExecution),
208
+ /** Get a Cronjob. */
209
+ getCronjob: this.requestFunctionFactory(descriptors.cronjobGetCronjob),
210
+ /** Delete a Cronjob. */
211
+ deleteCronjob: this.requestFunctionFactory(descriptors.cronjobDeleteCronjob),
212
+ /** Update a Cronjob. */
213
+ updateCronjob: this.requestFunctionFactory(descriptors.cronjobUpdateCronjob),
214
+ /** Get a CronjobExecution. */
215
+ getExecution: this.requestFunctionFactory(descriptors.cronjobGetExecution),
216
+ /** Update a Cronjob's app id. */
217
+ updateCronjobAppId: this.requestFunctionFactory(descriptors.cronjobUpdateCronjobAppId),
218
+ };
219
+ /** The customer API allows you to manage your own organizations and users. */
220
+ this.customer = {
221
+ /** Accept a CustomerInvite. */
222
+ acceptCustomerInvite: this.requestFunctionFactory(descriptors.customerAcceptCustomerInvite),
223
+ /** Get all customer categories. */
224
+ listOfCustomerCategoriesDeprecated: this.requestFunctionFactory(descriptors.customerListOfCustomerCategoriesDeprecated),
225
+ /** Create a new customer category. */
226
+ createCategoryDeprecated: this.requestFunctionFactory(descriptors.customerCreateCategoryDeprecated),
227
+ /** Get all customer categories. */
228
+ listOfCustomerCategories: this.requestFunctionFactory(descriptors.customerListOfCustomerCategories),
229
+ /** Create a new customer category. */
230
+ createCategory: this.requestFunctionFactory(descriptors.customerCreateCategory),
231
+ /** Create a CustomerInvite. */
232
+ createCustomerInvite: this.requestFunctionFactory(descriptors.customerCreateCustomerInvite),
233
+ /** Get all customer profiles the authenticated user has access to. */
234
+ listCustomers: this.requestFunctionFactory(descriptors.customerListCustomers),
235
+ /** Create a new customer profile. */
236
+ createCustomer: this.requestFunctionFactory(descriptors.customerCreateCustomer),
237
+ /** Decline a CustomerInvite. */
238
+ declineCustomerInvite: this.requestFunctionFactory(descriptors.customerDeclineCustomerInvite),
239
+ /** Get a customer category. */
240
+ detailOfCustomerCategoryDeprecated: this.requestFunctionFactory(descriptors.customerDetailOfCustomerCategoryDeprecated),
241
+ /** Update a customer category. */
242
+ updateCategoryDeprecated: this.requestFunctionFactory(descriptors.customerUpdateCategoryDeprecated),
243
+ /** Delete a customer category. */
244
+ deleteCategoryDeprecated: this.requestFunctionFactory(descriptors.customerDeleteCategoryDeprecated),
245
+ /** Get a customer category. */
246
+ getCustomerCategory: this.requestFunctionFactory(descriptors.customerGetCustomerCategory),
247
+ /** Update a customer category. */
248
+ updateCategory: this.requestFunctionFactory(descriptors.customerUpdateCategory),
249
+ /** Delete a customer category. */
250
+ deleteCategory: this.requestFunctionFactory(descriptors.customerDeleteCategory),
251
+ /** Get a CustomerInvite. */
252
+ getCustomerInvite: this.requestFunctionFactory(descriptors.customerGetCustomerInvite),
253
+ /** Delete a CustomerInvite. */
254
+ deleteCustomerInvite: this.requestFunctionFactory(descriptors.customerDeleteCustomerInvite),
255
+ /** Get a CustomerMembership. */
256
+ getCustomerMembership: this.requestFunctionFactory(descriptors.customerGetCustomerMembership),
257
+ /** Delete a CustomerMembership. */
258
+ deleteCustomerMembership: this.requestFunctionFactory(descriptors.customerDeleteCustomerMembership),
259
+ /** Update a CustomerMembership. */
260
+ updateCustomerMembership: this.requestFunctionFactory(descriptors.customerUpdateCustomerMembership),
261
+ /** Get a customer profile. */
262
+ getCustomer: this.requestFunctionFactory(descriptors.customerGetCustomer),
263
+ /** Update a customer profile. */
264
+ updateCustomer: this.requestFunctionFactory(descriptors.customerUpdateCustomer),
265
+ /** Delete a customer profile. */
266
+ deleteCustomer: this.requestFunctionFactory(descriptors.customerDeleteCustomer),
267
+ /** Get a CustomerInvite by token. */
268
+ getCustomerTokenInvite: this.requestFunctionFactory(descriptors.customerGetCustomerTokenInvite),
269
+ /** Check if the customer profile has a valid contract partner configured. */
270
+ isCustomerLegallyCompetent: this.requestFunctionFactory(descriptors.customerIsCustomerLegallyCompetent),
271
+ /** Leave a Customer. */
272
+ leaveCustomer: this.requestFunctionFactory(descriptors.customerLeaveCustomer),
273
+ /** List all CustomerInvites for the executing user. */
274
+ listCustomerInvites: this.requestFunctionFactory(descriptors.customerListCustomerInvites),
275
+ /** List all CustomerMemberships for the executing user. */
276
+ listCustomerMemberships: this.requestFunctionFactory(descriptors.customerListCustomerMemberships),
277
+ /** List all invites for a Customer. */
278
+ listInvitesForCustomer: this.requestFunctionFactory(descriptors.customerListInvitesForCustomer),
279
+ /** List all memberships belonging to a Customer. */
280
+ listMembershipsForCustomer: this.requestFunctionFactory(descriptors.customerListMembershipsForCustomer),
281
+ /** Request a new avatar upload for the customer profile. */
282
+ requestAvatarUpload: this.requestFunctionFactory(descriptors.customerRequestAvatarUpload),
283
+ /** Remove the avatar picture of the customer profile. */
284
+ removeAvatar: this.requestFunctionFactory(descriptors.customerRemoveAvatar),
285
+ /** Resend the mail for a CustomerInvite. */
286
+ resendCustomerInviteMail: this.requestFunctionFactory(descriptors.customerResendCustomerInviteMail),
287
+ };
288
+ /** The database API allows you to manage your databases, like MySQL and Redis databases. */
289
+ this.database = {
290
+ /** List MySQLDatabases belonging to a Project. */
291
+ listMysqlDatabases: this.requestFunctionFactory(descriptors.databaseListMysqlDatabases),
292
+ /** Create a MySQLDatabase with an optional MySQLUser */
293
+ createMysqlDatabase: this.requestFunctionFactory(descriptors.databaseCreateMysqlDatabase),
294
+ /** List MySQLUsers belonging to a database. */
295
+ listMysqlUsers: this.requestFunctionFactory(descriptors.databaseListMysqlUsers),
296
+ /** Create a MySQLUser. */
297
+ createMysqlUser: this.requestFunctionFactory(descriptors.databaseCreateMysqlUser),
298
+ /** List RedisDatabases belonging to a project. */
299
+ listRedisDatabases: this.requestFunctionFactory(descriptors.databaseListRedisDatabases),
300
+ /** Create a RedisDatabase. */
301
+ createRedisDatabase: this.requestFunctionFactory(descriptors.databaseCreateRedisDatabase),
302
+ /** Get a MySQLDatabase. */
303
+ getMysqlDatabase: this.requestFunctionFactory(descriptors.databaseGetMysqlDatabase),
304
+ /** Delete a MySQLDatabase. */
305
+ deleteMysqlDatabase: this.requestFunctionFactory(descriptors.databaseDeleteMysqlDatabase),
306
+ /** Get a MySQLUser. */
307
+ getMysqlUser: this.requestFunctionFactory(descriptors.databaseGetMysqlUser),
308
+ /** Update a MySQLUser. */
309
+ updateMysqlUser: this.requestFunctionFactory(descriptors.databaseUpdateMysqlUser),
310
+ /** Delete a MySQLUser. */
311
+ deleteMysqlUser: this.requestFunctionFactory(descriptors.databaseDeleteMysqlUser),
312
+ /** Get a RedisDatabase. */
313
+ getRedisDatabase: this.requestFunctionFactory(descriptors.databaseGetRedisDatabase),
314
+ /** Delete a RedisDatabase. */
315
+ deleteRedisDatabase: this.requestFunctionFactory(descriptors.databaseDeleteRedisDatabase),
316
+ /** Disable a MySQLUser. */
317
+ disableMysqlUser: this.requestFunctionFactory(descriptors.databaseDisableMysqlUser),
318
+ /** Enable a MySQLUser. */
319
+ enableMysqlUser: this.requestFunctionFactory(descriptors.databaseEnableMysqlUser),
320
+ /** Get a MySQLUser's PhpMyAdmin-URL. */
321
+ getMysqlUserPhpMyAdminUrl: this.requestFunctionFactory(descriptors.databaseGetMysqlUserPhpMyAdminUrl),
322
+ /** List available MySQL character sets and collations, optionally filtered by a MySQLVersion. */
323
+ listMysqlCharsets: this.requestFunctionFactory(descriptors.databaseListMysqlCharsets),
324
+ /** List available MySQLVersions. */
325
+ listMysqlVersions: this.requestFunctionFactory(descriptors.databaseListMysqlVersions),
326
+ /** List available Redis versions. */
327
+ listRedisVersions: this.requestFunctionFactory(descriptors.databaseListRedisVersions),
328
+ /** Update a MySQLDatabase's default character settings. */
329
+ updateMysqlDatabaseDefaultCharset: this.requestFunctionFactory(descriptors.databaseUpdateMysqlDatabaseDefaultCharset),
330
+ /** Update a MySQLDatabase's description. */
331
+ updateMysqlDatabaseDescription: this.requestFunctionFactory(descriptors.databaseUpdateMysqlDatabaseDescription),
332
+ /** Update a MySQLUser's password. */
333
+ updateMysqlUserPassword: this.requestFunctionFactory(descriptors.databaseUpdateMysqlUserPassword),
334
+ /** Update a RedisDatabase's description. */
335
+ updateRedisDatabaseDescription: this.requestFunctionFactory(descriptors.databaseUpdateRedisDatabaseDescription),
336
+ };
337
+ /** The notification API allows you to manage your notifications. */
338
+ this.notification = {
339
+ /** getting the subscription status of the subscription */
340
+ deprecatedNewsletterGetInfo: this.requestFunctionFactory(descriptors.deprecatedNewsletterGetInfo),
341
+ /** Unsubscribe a user from the mStudio newsletter. */
342
+ deprecatedNewsletterUnsubscribeUser: this.requestFunctionFactory(descriptors.deprecatedNewsletterUnsubscribeUser),
343
+ /** subscribe a user to the mStudio newsletter */
344
+ deprecatedNewsletterSubscribeUser: this.requestFunctionFactory(descriptors.deprecatedNewsletterSubscribeUser),
345
+ /** Getting the subscription status of the subscription. */
346
+ newsletterGetInfo: this.requestFunctionFactory(descriptors.newsletterGetInfo),
347
+ /** Unsubscribe a user from the mStudio newsletter. */
348
+ newsletterUnsubscribeUser: this.requestFunctionFactory(descriptors.newsletterUnsubscribeUser),
349
+ /** Subscribe a user to the mStudio newsletter. */
350
+ newsletterSubscribeUser: this.requestFunctionFactory(descriptors.newsletterSubscribeUser),
351
+ /** Get the counts for unread notifications of the user. */
352
+ scountUnreadNotifications: this.requestFunctionFactory(descriptors.notificationsCountUnreadNotifications),
353
+ /** List all unread notifications */
354
+ slistNotifications: this.requestFunctionFactory(descriptors.notificationsListNotifications),
355
+ /** Mark all notifications as read. */
356
+ sreadAllNotifications: this.requestFunctionFactory(descriptors.notificationsReadAllNotifications),
357
+ /** Mark notification as read. */
358
+ sreadNotification: this.requestFunctionFactory(descriptors.notificationsReadNotification),
359
+ };
360
+ /** The user API allows you to manage your own user and access information of other users that might be visible to you. */
361
+ this.user = {
362
+ /** Request a new avatar upload */
363
+ deprecatedUserServiceAvatarRequestUpload: this.requestFunctionFactory(descriptors.deprecatedUserServiceAvatarRequestUpload),
364
+ /** Remove Avatar */
365
+ deprecatedUserServiceAvatarRemove: this.requestFunctionFactory(descriptors.deprecatedUserServiceAvatarRemove),
366
+ /** Returns your submitted feedback */
367
+ deprecatedUserServiceFeedbackList: this.requestFunctionFactory(descriptors.deprecatedUserServiceFeedbackList),
368
+ /** Submit user feedback */
369
+ deprecatedUserServiceFeedbackCreate: this.requestFunctionFactory(descriptors.deprecatedUserServiceFeedbackCreate),
370
+ /** create a new issue */
371
+ deprecatedUserServiceIssueNew: this.requestFunctionFactory(descriptors.deprecatedUserServiceIssueNew),
372
+ /** Get profile information for the specified user if the user is related to the executing user */
373
+ deprecatedUserServiceUserGet: this.requestFunctionFactory(descriptors.deprecatedUserServiceUserGet),
374
+ /** Change your personal information */
375
+ deprecatedUserServicePersonalInformationUpdate: this.requestFunctionFactory(descriptors.deprecatedUserServicePersonalInformationUpdate),
376
+ /** Get personalized settings for the user executing the request */
377
+ deprecatedUserServicePersonalizedSettingsGet: this.requestFunctionFactory(descriptors.deprecatedUserServicePersonalizedSettingsGet),
378
+ /** update personalized settings */
379
+ deprecatedUserServicePersonalizedSettingsUpdate: this.requestFunctionFactory(descriptors.deprecatedUserServicePersonalizedSettingsUpdate),
380
+ /** Add phone number and init verification process */
381
+ deprecatedUserServicePhoneNumberAdd: this.requestFunctionFactory(descriptors.deprecatedUserServicePhoneNumberAdd),
382
+ /** remove your PhoneNumber */
383
+ deprecatedUserServicePhoneNumberRemove: this.requestFunctionFactory(descriptors.deprecatedUserServicePhoneNumberRemove),
384
+ /** Verify phone number */
385
+ deprecatedUserServicePhoneNumberVerify: this.requestFunctionFactory(descriptors.deprecatedUserServicePhoneNumberVerify),
386
+ /** Get profile information for the executing user */
387
+ deprecatedUserServiceUserGetOwn: this.requestFunctionFactory(descriptors.deprecatedUserServiceUserGetOwn),
388
+ /** Add phone number and start verification process. */
389
+ addPhoneNumber: this.requestFunctionFactory(descriptors.userAddPhoneNumber),
390
+ /** Remove phone number. */
391
+ removePhoneNumber: this.requestFunctionFactory(descriptors.userRemovePhoneNumber),
392
+ /** Authenticate yourself to get an access token. */
393
+ authenticate: this.requestFunctionFactory(descriptors.userAuthenticate),
394
+ /** Validate your second factor. */
395
+ authenticateMfa: this.requestFunctionFactory(descriptors.userAuthenticateMfa),
396
+ /** Get your primary verified Email-Address */
397
+ getEmail: this.requestFunctionFactory(descriptors.userGetEmail),
398
+ /** Change your Email-Address */
399
+ changeEmail: this.requestFunctionFactory(descriptors.userChangeEmail),
400
+ /** The timestamp of your latest password change */
401
+ getPasswordUpdatedAt: this.requestFunctionFactory(descriptors.userGetPasswordUpdatedAt),
402
+ /** Change your password */
403
+ changePassword: this.requestFunctionFactory(descriptors.userChangePassword),
404
+ /** Get your profile information */
405
+ getOwnProfile: this.requestFunctionFactory(descriptors.userGetOwnProfile),
406
+ /** Change your profile information */
407
+ changeProfile: this.requestFunctionFactory(descriptors.userChangeProfile),
408
+ /** Delete your profile and all your personal data */
409
+ deleteProfile: this.requestFunctionFactory(descriptors.userDeleteProfile),
410
+ /** Check a token for validity */
411
+ checkToken: this.requestFunctionFactory(descriptors.userCheckToken),
412
+ /** Confirm Multi Factor Authentication */
413
+ confirmMfa: this.requestFunctionFactory(descriptors.userConfirmMfa),
414
+ /** Confirm password reset */
415
+ confirmPasswordReset: this.requestFunctionFactory(descriptors.userConfirmPasswordReset),
416
+ /** List all ApiTokens of the user */
417
+ listApiTokens: this.requestFunctionFactory(descriptors.userListApiTokens),
418
+ /** Store a new ApiToken */
419
+ createApiToken: this.requestFunctionFactory(descriptors.userCreateApiToken),
420
+ /** Submit your user feedback. */
421
+ createFeedback: this.requestFunctionFactory(descriptors.userCreateFeedback),
422
+ /** Create a new issue. */
423
+ createIssue: this.requestFunctionFactory(descriptors.userCreateIssue),
424
+ /** Get your stored ssh keys */
425
+ listSshKeys: this.requestFunctionFactory(descriptors.userListSshKeys),
426
+ /** Store a new SSH key */
427
+ createSshKey: this.requestFunctionFactory(descriptors.userCreateSshKey),
428
+ /** Get a specific ApiToken */
429
+ getApiToken: this.requestFunctionFactory(descriptors.userGetApiToken),
430
+ /** Update an existing `ApiToken` */
431
+ editApiToken: this.requestFunctionFactory(descriptors.userEditApiToken),
432
+ /** Deletes an ApiToken */
433
+ deleteApiToken: this.requestFunctionFactory(descriptors.userDeleteApiToken),
434
+ /** Get a specific stored SshKey */
435
+ getSshKey: this.requestFunctionFactory(descriptors.userGetSshKey),
436
+ /** Edit a stored SshKey */
437
+ editSshKey: this.requestFunctionFactory(descriptors.userEditSshKey),
438
+ /** Remove a SSH-key */
439
+ deleteSshKey: this.requestFunctionFactory(descriptors.userDeleteSshKey),
440
+ /** Get your current multi factor auth status */
441
+ getMfaStatus: this.requestFunctionFactory(descriptors.userGetMfaStatus),
442
+ /** Initialize Multi Factor Authentication. If successfull, it needs to be confirmed, before usage of mfa. */
443
+ initMfa: this.requestFunctionFactory(descriptors.userInitMfa),
444
+ /** Disable Multi Factor Authentication. */
445
+ disableMfa: this.requestFunctionFactory(descriptors.userDisableMfa),
446
+ /** Get personalized settings. */
447
+ getPersonalizedSettings: this.requestFunctionFactory(descriptors.userGetPersonalizedSettings),
448
+ /** Update personalized GUI settings. */
449
+ updatePersonalizedSettings: this.requestFunctionFactory(descriptors.userUpdatePersonalizedSettings),
450
+ /** Get a specific Session */
451
+ getSession: this.requestFunctionFactory(descriptors.userGetSession),
452
+ /** Terminate a specific Session */
453
+ terminateSession: this.requestFunctionFactory(descriptors.userTerminateSession),
454
+ /** Get profile information for a user. */
455
+ getUser: this.requestFunctionFactory(descriptors.userGetUser),
456
+ /** Change personal information. */
457
+ updatePersonalInformation: this.requestFunctionFactory(descriptors.userUpdatePersonalInformation),
458
+ /** Initialize password reset process */
459
+ initPasswordReset: this.requestFunctionFactory(descriptors.userInitPasswordReset),
460
+ /** Submitted feedback of the given user. */
461
+ listFeedback: this.requestFunctionFactory(descriptors.userListFeedback),
462
+ /** List all active sessions */
463
+ listSessions: this.requestFunctionFactory(descriptors.userListSessions),
464
+ /** Terminate all sessions, except the current Session */
465
+ terminateAllSessions: this.requestFunctionFactory(descriptors.userTerminateAllSessions),
466
+ /** Terminate session and invalidate access token */
467
+ logout: this.requestFunctionFactory(descriptors.userLogout),
468
+ /** Register with email and password. */
469
+ register: this.requestFunctionFactory(descriptors.userRegister),
470
+ /** Request a new avatar image upload. */
471
+ requestAvatarUpload: this.requestFunctionFactory(descriptors.userRequestAvatarUpload),
472
+ /** Remove Avatar. */
473
+ removeAvatar: this.requestFunctionFactory(descriptors.userRemoveAvatar),
474
+ /** Resend the Email-Address verification email */
475
+ resendVerificationEmail: this.requestFunctionFactory(descriptors.userResendVerificationEmail),
476
+ /** Reset RecoveryCodes for MFA */
477
+ resetRecoverycodes: this.requestFunctionFactory(descriptors.userResetRecoverycodes),
478
+ /** Request a support code */
479
+ supportCodeRequest: this.requestFunctionFactory(descriptors.userSupportCodeRequest),
480
+ /** Verify an added Email-Address */
481
+ verifyEmail: this.requestFunctionFactory(descriptors.userVerifyEmail),
482
+ /** Verify phone number. */
483
+ verifyPhoneNumber: this.requestFunctionFactory(descriptors.userVerifyPhoneNumber),
484
+ /** Verify your registration */
485
+ verifyRegistration: this.requestFunctionFactory(descriptors.userVerifyRegistration),
486
+ };
487
+ /** The domain API allows you to manage your domains, DNS records and ingress resources. */
488
+ this.domain = {
489
+ /** updates a-records for a specific zone */
490
+ dnsRecordAsetCustom: this.requestFunctionFactory(descriptors.dnsRecordAsetCustom),
491
+ /** set a-records managed by ingress for a specific zone */
492
+ dnsRecordAsetManagedByIngress: this.requestFunctionFactory(descriptors.dnsRecordAsetManagedByIngress),
493
+ /** updates cname-record for a specific zone */
494
+ dnsRecordCnameSet: this.requestFunctionFactory(descriptors.dnsRecordCnameSet),
495
+ /** updates mx-records for a specific zone */
496
+ dnsRecordMxSetCustom: this.requestFunctionFactory(descriptors.dnsRecordMxSetCustom),
497
+ /** sets mx-records to managed for a specific zone */
498
+ dnsRecordMxSetManaged: this.requestFunctionFactory(descriptors.dnsRecordMxSetManaged),
499
+ /** updates txt-records for a specific zone */
500
+ dnsRecordTxtSet: this.requestFunctionFactory(descriptors.dnsRecordTxtSet),
501
+ /** gets a specific zone */
502
+ dnsZoneGetSpecific: this.requestFunctionFactory(descriptors.dnsZoneGetSpecific),
503
+ /** gets all dns zones by project id */
504
+ dnsZonesForProject: this.requestFunctionFactory(descriptors.dnsZonesForProject),
505
+ /** Abort a declare process. */
506
+ abortDeclareProcess: this.requestFunctionFactory(descriptors.domainAbortDeclareProcess),
507
+ /** Change the ownerC of a domain. */
508
+ changeOwnercOfDomain: this.requestFunctionFactory(descriptors.domainChangeOwnercOfDomain),
509
+ /** Change the Project relation of a Domain. */
510
+ changeProjectOfDomain: this.requestFunctionFactory(descriptors.domainChangeProjectOfDomain),
511
+ /** Check if a Domain is available to register. */
512
+ checkDomainAvailability: this.requestFunctionFactory(descriptors.domainCheckDomainAvailability),
513
+ /** Create an AuthCode for a Domains transfer out process. */
514
+ createAuthcodeForDomain: this.requestFunctionFactory(descriptors.domainCreateAuthcodeForDomain),
515
+ /** Create an AuthCode2. */
516
+ createAuthcode2ForDomain: this.requestFunctionFactory(descriptors.domainCreateAuthcode2ForDomain),
517
+ /** Change all nameservers of a Domain. */
518
+ declareNameservers: this.requestFunctionFactory(descriptors.domainDeclareNameservers),
519
+ /** Update an AuthCode. */
520
+ declareProcessChangeAuthcode: this.requestFunctionFactory(descriptors.domainDeclareProcessChangeAuthcode),
521
+ /** Update a Domain's OwnerC handle. */
522
+ declareProcessChangeHandles: this.requestFunctionFactory(descriptors.domainDeclareProcessChangeHandles),
523
+ /** Get a Domain. */
524
+ getDomain: this.requestFunctionFactory(descriptors.domainGetDomain),
525
+ /** Delete a Domain. */
526
+ deleteDomain: this.requestFunctionFactory(descriptors.domainDeleteDomain),
527
+ /** Get a HandleSchema. */
528
+ getHandleFields: this.requestFunctionFactory(descriptors.domainGetHandleFields),
529
+ /** Get a domain ownership. */
530
+ getSpecificDomainOwnership: this.requestFunctionFactory(descriptors.domainGetSpecificDomainOwnership),
531
+ /** Verify a domain ownership. */
532
+ verifyDomainOwnership: this.requestFunctionFactory(descriptors.domainVerifyDomainOwnership),
533
+ /** Get a toplevel domain. */
534
+ getToplevelDomain: this.requestFunctionFactory(descriptors.domainGetToplevelDomain),
535
+ /** List all domain ownerships of a project. */
536
+ listDomainOwnerships: this.requestFunctionFactory(descriptors.domainListDomainOwnerships),
537
+ /** List Domains belonging to a Project. */
538
+ listDomains: this.requestFunctionFactory(descriptors.domainListDomains),
539
+ /** List all supported toplevel domains. */
540
+ listToplevelDomains: this.requestFunctionFactory(descriptors.domainListToplevelDomains),
541
+ /** Resend a domain email. */
542
+ resendDomainEmail: this.requestFunctionFactory(descriptors.domainResendDomainEmail),
543
+ /** Create an Ingress. */
544
+ ingressCreate: this.requestFunctionFactory(descriptors.ingressCreate),
545
+ /** Get an Ingress. */
546
+ ingressGetSpecific: this.requestFunctionFactory(descriptors.ingressGetSpecific),
547
+ /** Delete an Ingress. */
548
+ ingressDelete: this.requestFunctionFactory(descriptors.ingressDelete),
549
+ /** List Ingresses the user has access to. */
550
+ ingressListAccessible: this.requestFunctionFactory(descriptors.ingressListAccessible),
551
+ /** List Ingresses belonging to a project. */
552
+ ingressListForProject: this.requestFunctionFactory(descriptors.ingressListForProject),
553
+ /** Update an Ingresses paths. */
554
+ ingressPaths: this.requestFunctionFactory(descriptors.ingressPaths),
555
+ /** Update an Ingresses tls settings. */
556
+ ingressTls: this.requestFunctionFactory(descriptors.ingressTls),
557
+ };
558
+ /** The file API allows you to manage your files, for example for conversations attachments and avatar uploads. */
559
+ this.file = {
560
+ /** Create a File. */
561
+ createFile: this.requestFunctionFactory(descriptors.fileCreateFile),
562
+ /** Get a File's meta. */
563
+ getFileMeta: this.requestFunctionFactory(descriptors.fileGetFileMeta),
564
+ /** Get a Token's upload rules. */
565
+ getFileTokenRules: this.requestFunctionFactory(descriptors.fileGetFileTokenRules),
566
+ /** Get a Type's upload rules. */
567
+ getFileTypeRules: this.requestFunctionFactory(descriptors.fileGetFileTypeRules),
568
+ /** Get a File. */
569
+ getFile: this.requestFunctionFactory(descriptors.fileGetFile),
570
+ };
571
+ /** The mail API allows you to manage your mail accounts. */
572
+ this.mail = {
573
+ /** Get all deliveryboxes by project ID */
574
+ serviceDeliveryboxList: this.requestFunctionFactory(descriptors.mailServiceDeliveryboxList),
575
+ /** Create a new deliverybox */
576
+ serviceDeliveryboxCreate: this.requestFunctionFactory(descriptors.mailServiceDeliveryboxCreate),
577
+ /** Get a specific deliverybox */
578
+ serviceDeliveryboxGetSpecific: this.requestFunctionFactory(descriptors.mailServiceDeliveryboxGetSpecific),
579
+ /** Delete a specific deliverybox */
580
+ serviceDeliveryboxDelete: this.requestFunctionFactory(descriptors.mailServiceDeliveryboxDelete),
581
+ /** Update the description of an deliverybox */
582
+ serviceDeliveryboxUpdateDescription: this.requestFunctionFactory(descriptors.mailServiceDeliveryboxUpdateDescription),
583
+ /** Update the password for a specific deliverybox */
584
+ serviceDeliveryboxUpdatePassword: this.requestFunctionFactory(descriptors.mailServiceDeliveryboxUpdatePassword),
585
+ /** Get all mail addresses for a project ID */
586
+ serviceMailaddressList: this.requestFunctionFactory(descriptors.mailServiceMailaddressList),
587
+ /** Create a new mail address */
588
+ serviceMailaddressCreate: this.requestFunctionFactory(descriptors.mailServiceMailaddressCreate),
589
+ /** Get a specific mail address */
590
+ serviceMailaddressGetSpecific: this.requestFunctionFactory(descriptors.mailServiceMailaddressGetSpecific),
591
+ /** Delete a specific mail address */
592
+ serviceMailaddressDelete: this.requestFunctionFactory(descriptors.mailServiceMailaddressDelete),
593
+ /** Update mail-address */
594
+ serviceMailaddressUpdateAddress: this.requestFunctionFactory(descriptors.mailServiceMailaddressUpdateAddress),
595
+ /** Update the auto responder of a mail address */
596
+ serviceMailaddressUpdateAutoresponder: this.requestFunctionFactory(descriptors.mailServiceMailaddressUpdateAutoresponder),
597
+ /** Enable or disable the catchAll flag for a specific mail address */
598
+ serviceMailaddressUpdateCatchall: this.requestFunctionFactory(descriptors.mailServiceMailaddressUpdateCatchall),
599
+ /** Update the addresses an email is forwarded to */
600
+ serviceMailaddressUpdateForwardaddresses: this.requestFunctionFactory(descriptors.mailServiceMailaddressUpdateForwardaddresses),
601
+ /** Update the password for a specific mail address */
602
+ serviceMailaddressUpdatePassword: this.requestFunctionFactory(descriptors.mailServiceMailaddressUpdatePassword),
603
+ /** Update the quota of a mailbox */
604
+ serviceMailaddressUpdateQuota: this.requestFunctionFactory(descriptors.mailServiceMailaddressUpdateQuota),
605
+ /** Update the spamprotection of a mailbox */
606
+ serviceMailaddressUpdateSpamprotection: this.requestFunctionFactory(descriptors.mailServiceMailaddressUpdateSpamprotection),
607
+ /** Get settings for a given project ID */
608
+ serviceProjectsettingGetSpecific: this.requestFunctionFactory(descriptors.mailServiceProjectsettingGetSpecific),
609
+ /** Update blacklist for a given project ID */
610
+ serviceProjectsettingUpdateBlacklist: this.requestFunctionFactory(descriptors.mailServiceProjectsettingUpdateBlacklist),
611
+ /** Update whitelist for a given project ID */
612
+ serviceProjectsettingUpdateWhitelist: this.requestFunctionFactory(descriptors.mailServiceProjectsettingUpdateWhitelist),
613
+ };
614
+ /** The project API allows you to manage your projects, and also any kinds of user memberships concerning these projects. */
615
+ this.project = {
616
+ /** Accept a ProjectInvite. */
617
+ acceptProjectInvite: this.requestFunctionFactory(descriptors.projectAcceptProjectInvite),
618
+ /** Create a ProjectInvite. */
619
+ createProjectInvite: this.requestFunctionFactory(descriptors.projectCreateProjectInvite),
620
+ /** Create a Project belonging to a Server. */
621
+ createProject: this.requestFunctionFactory(descriptors.projectCreateProject),
622
+ /** Decline a ProjectInvite. */
623
+ declineProjectInvite: this.requestFunctionFactory(descriptors.projectDeclineProjectInvite),
624
+ /** Request a Project avatar upload. */
625
+ requestProjectAvatarUpload: this.requestFunctionFactory(descriptors.projectRequestProjectAvatarUpload),
626
+ /** Delete a Project's avatar. */
627
+ deleteProjectAvatar: this.requestFunctionFactory(descriptors.projectDeleteProjectAvatar),
628
+ /** Get a ProjectInvite. */
629
+ getProjectInvite: this.requestFunctionFactory(descriptors.projectGetProjectInvite),
630
+ /** Delete a ProjectInvite. */
631
+ deleteProjectInvite: this.requestFunctionFactory(descriptors.projectDeleteProjectInvite),
632
+ /** Get a ProjectMembership */
633
+ getProjectMembership: this.requestFunctionFactory(descriptors.projectGetProjectMembership),
634
+ /** Delete a ProjectMembership. */
635
+ deleteProjectMembership: this.requestFunctionFactory(descriptors.projectDeleteProjectMembership),
636
+ /** Update a ProjectMembership. */
637
+ updateProjectMembership: this.requestFunctionFactory(descriptors.projectUpdateProjectMembership),
638
+ /** Delete a Project. */
639
+ deleteProject: this.requestFunctionFactory(descriptors.projectDeleteProject),
640
+ /** Request a Server avatar upload. */
641
+ requestServerAvatarUpload: this.requestFunctionFactory(descriptors.projectRequestServerAvatarUpload),
642
+ /** Delete a Server's avatar. */
643
+ deleteServerAvatar: this.requestFunctionFactory(descriptors.projectDeleteServerAvatar),
644
+ /** Get a ProjectInvite by token. */
645
+ getProjectTokenInvite: this.requestFunctionFactory(descriptors.projectGetProjectTokenInvite),
646
+ /** Get a Project. */
647
+ getProject: this.requestFunctionFactory(descriptors.projectGetProject),
648
+ /** Get the executing user's membership in a Project. */
649
+ getSelfMembershipForProject: this.requestFunctionFactory(descriptors.projectGetSelfMembershipForProject),
650
+ /** Get a Server. */
651
+ getServer: this.requestFunctionFactory(descriptors.projectGetServer),
652
+ /** Leave a Project. */
653
+ leaveProject: this.requestFunctionFactory(descriptors.projectLeaveProject),
654
+ /** List all invites belonging to a Project. */
655
+ listInvitesForProject: this.requestFunctionFactory(descriptors.projectListInvitesForProject),
656
+ /** List all memberships for a Project. */
657
+ listMembershipsForProject: this.requestFunctionFactory(descriptors.projectListMembershipsForProject),
658
+ /** List all ProjectInvites for the executing user. */
659
+ listProjectInvites: this.requestFunctionFactory(descriptors.projectListProjectInvites),
660
+ /** List ProjectMemberships belonging to the executing user. */
661
+ listProjectMemberships: this.requestFunctionFactory(descriptors.projectListProjectMemberships),
662
+ /** List Project's for an Organization or Server. */
663
+ listProjects: this.requestFunctionFactory(descriptors.projectListProjects),
664
+ /** List Servers for an Organization or User. */
665
+ listServers: this.requestFunctionFactory(descriptors.projectListServers),
666
+ /** Resend the mail for a ProjectInvite. */
667
+ resendProjectInviteMail: this.requestFunctionFactory(descriptors.projectResendProjectInviteMail),
668
+ /** Update a Project's description. */
669
+ updateProjectDescription: this.requestFunctionFactory(descriptors.projectUpdateProjectDescription),
670
+ /** Update a Servers's description. */
671
+ updateServerDescription: this.requestFunctionFactory(descriptors.projectUpdateServerDescription),
672
+ };
673
+ /** The filesystem API allows you to directly access the filesystem of your project. */
674
+ this.projectFileSystem = {
675
+ /** List the directories of a Project. */
676
+ getDirectories: this.requestFunctionFactory(descriptors.projectFileSystemGetDirectories),
677
+ /** Get a Project directory filesystem usage. */
678
+ getDiskUsage: this.requestFunctionFactory(descriptors.projectFileSystemGetDiskUsage),
679
+ /** Get a Project file's content. */
680
+ getFileContent: this.requestFunctionFactory(descriptors.projectFileSystemGetFileContent),
681
+ /** Get a Project's file/filesystem authorization token. */
682
+ getJwt: this.requestFunctionFactory(descriptors.projectFileSystemGetJwt),
683
+ /** Get a Project file's information. */
684
+ listFiles: this.requestFunctionFactory(descriptors.projectFileSystemListFiles),
685
+ };
686
+ /** The SSH/SFTP User API allows you to manage your SSH/SFTP users within a project. */
687
+ this.sshsftpUser = {
688
+ /** Create an SFTPUser for a Project. */
689
+ sftpUserCreateSftpUser: this.requestFunctionFactory(descriptors.sftpUserCreateSftpUser),
690
+ /** Get an SFTPUser. */
691
+ sftpUserGetSftpUser: this.requestFunctionFactory(descriptors.sftpUserGetSftpUser),
692
+ /** Delete an SFTPUser. */
693
+ sftpUserDeleteSftpUser: this.requestFunctionFactory(descriptors.sftpUserDeleteSftpUser),
694
+ /** Update an SFTPUser. */
695
+ sftpUserUpdateSftpUser: this.requestFunctionFactory(descriptors.sftpUserUpdateSftpUser),
696
+ /** Get all SFTPUsers for a Project. */
697
+ sftpUserListSftpUsers: this.requestFunctionFactory(descriptors.sftpUserListSftpUsers),
698
+ /** Get all SSHUsers for a Project. */
699
+ sshUserListSshUsers: this.requestFunctionFactory(descriptors.sshUserListSshUsers),
700
+ /** Create an SSHUser for a Project. */
701
+ sshUserCreateSshUser: this.requestFunctionFactory(descriptors.sshUserCreateSshUser),
702
+ /** Get an SSHUser. */
703
+ sshUserGetSshUser: this.requestFunctionFactory(descriptors.sshUserGetSshUser),
704
+ /** Delete an SSHUser. */
705
+ sshUserDeleteSshUser: this.requestFunctionFactory(descriptors.sshUserDeleteSshUser),
706
+ /** Update an SSHUser. */
707
+ sshUserUpdateSshUser: this.requestFunctionFactory(descriptors.sshUserUpdateSshUser),
708
+ };
709
+ }
710
+ }
711
+ exports.MittwaldAPIV2Client = MittwaldAPIV2Client;
712
+ exports.default = MittwaldAPIV2Client;