@mittwald/api-client 3.0.28 → 3.1.1
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/chunk-LELXC74W.js +1770 -0
- package/dist/client-739be67c.d.ts +25271 -0
- package/dist/index.cjs +2627 -0
- package/dist/{cjs/v2/default.d.ts → index.d.cts} +8 -4
- package/dist/{esm/v2/default.d.ts → index.d.ts} +8 -4
- package/dist/index.js +1440 -0
- package/dist/react.cjs +1360 -0
- package/dist/{cjs/generated/v2/client-react.d.ts → react.d.cts} +453 -390
- package/dist/{esm/generated/v2/client-react.d.ts → react.d.ts} +453 -390
- package/dist/react.js +830 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +17 -25
- package/dist/cjs/generated/v2/client-react.js +0 -334
- package/dist/cjs/generated/v2/client.d.ts +0 -9695
- package/dist/cjs/generated/v2/client.js +0 -658
- package/dist/cjs/generated/v2/descriptors.d.ts +0 -589
- package/dist/cjs/generated/v2/descriptors.js +0 -1760
- package/dist/cjs/generated/v2/types.d.ts +0 -14799
- package/dist/cjs/generated/v2/types.js +0 -2
- package/dist/cjs/index.d.ts +0 -3
- package/dist/cjs/index.js +0 -7
- package/dist/cjs/react.d.ts +0 -1
- package/dist/cjs/react.js +0 -5
- package/dist/cjs/v2/default.js +0 -70
- package/dist/cjs/v2/react.d.ts +0 -3
- package/dist/cjs/v2/react.js +0 -7
- package/dist/cjs/version.d.ts +0 -1
- package/dist/cjs/version.js +0 -4
- package/dist/esm/generated/v2/client-react.js +0 -336
- package/dist/esm/generated/v2/client.d.ts +0 -9695
- package/dist/esm/generated/v2/client.js +0 -628
- package/dist/esm/generated/v2/descriptors.d.ts +0 -589
- package/dist/esm/generated/v2/descriptors.js +0 -1752
- package/dist/esm/generated/v2/types.d.ts +0 -14799
- package/dist/esm/generated/v2/types.js +0 -1
- package/dist/esm/index.d.ts +0 -3
- package/dist/esm/index.js +0 -2
- package/dist/esm/react.d.ts +0 -1
- package/dist/esm/react.js +0 -1
- package/dist/esm/v2/default.js +0 -53
- package/dist/esm/v2/react.d.ts +0 -3
- package/dist/esm/v2/react.js +0 -3
- package/dist/esm/version.d.ts +0 -1
- package/dist/esm/version.js +0 -1
|
@@ -1,658 +0,0 @@
|
|
|
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 the missing requirements of an appInstallation for a specific target AppVersion */
|
|
50
|
-
getMissingDependenciesForAppinstallation: this.requestFunctionFactory(descriptors.appGetMissingDependenciesForAppinstallation),
|
|
51
|
-
/** get a specific `SystemSoftware` */
|
|
52
|
-
getSystemsoftware: this.requestFunctionFactory(descriptors.appGetSystemsoftware),
|
|
53
|
-
/** get a specific `SystemSoftwareVersion` */
|
|
54
|
-
getSystemsoftwareversion: this.requestFunctionFactory(descriptors.appGetSystemsoftwareversion),
|
|
55
|
-
/** create linkage between an `AppInstallation` and a `Database` */
|
|
56
|
-
linkDatabase: this.requestFunctionFactory(descriptors.appLinkDatabase),
|
|
57
|
-
/** get all `AppInstallations` inside a specific `Project` */
|
|
58
|
-
listAppinstallations: this.requestFunctionFactory(descriptors.appListAppinstallations),
|
|
59
|
-
/** request a new `AppInstallation` */
|
|
60
|
-
requestAppinstallation: this.requestFunctionFactory(descriptors.appRequestAppinstallation),
|
|
61
|
-
/** get all available `Apps` */
|
|
62
|
-
listApps: this.requestFunctionFactory(descriptors.appListApps),
|
|
63
|
-
/** get all `AppVersions` of a specific `App` */
|
|
64
|
-
listAppversions: this.requestFunctionFactory(descriptors.appListAppversions),
|
|
65
|
-
/** get all available `SystemSoftware` */
|
|
66
|
-
listSystemsoftwares: this.requestFunctionFactory(descriptors.appListSystemsoftwares),
|
|
67
|
-
/** get all available `SystemSoftwareVersions` of a specific `SystemSoftware` */
|
|
68
|
-
listSystemsoftwareversions: this.requestFunctionFactory(descriptors.appListSystemsoftwareversions),
|
|
69
|
-
/** get all update candidates for a specific `AppVersion` */
|
|
70
|
-
listUpdateCandidatesForAppversion: this.requestFunctionFactory(descriptors.appListUpdateCandidatesForAppversion),
|
|
71
|
-
/** request a copy of an `AppInstallation` */
|
|
72
|
-
requestAppinstallationCopy: this.requestFunctionFactory(descriptors.appRequestAppinstallationCopy),
|
|
73
|
-
/** get runtime status of a specific `AppInstallation` */
|
|
74
|
-
retrieveStatus: this.requestFunctionFactory(descriptors.appRetrieveStatus),
|
|
75
|
-
/** create linkage between an `AppInstallation` and `DatabaseUsers` */
|
|
76
|
-
setDatabaseUsers: this.requestFunctionFactory(descriptors.appSetDatabaseUsers),
|
|
77
|
-
/** remove linkage between an `AppInstallation` and a `Database` */
|
|
78
|
-
unlinkDatabase: this.requestFunctionFactory(descriptors.appUnlinkDatabase),
|
|
79
|
-
};
|
|
80
|
-
/** The article API allows you to read article information. */
|
|
81
|
-
this.article = {
|
|
82
|
-
/** Get an Article. */
|
|
83
|
-
getArticle: this.requestFunctionFactory(descriptors.articleGetArticle),
|
|
84
|
-
/** List Articles. */
|
|
85
|
-
listArticles: this.requestFunctionFactory(descriptors.articleListArticles),
|
|
86
|
-
};
|
|
87
|
-
/** The backup API allows you to manage your project backups. */
|
|
88
|
-
this.backup = {
|
|
89
|
-
/** Export a ProjectBackup for download. */
|
|
90
|
-
createProjectBackupExport: this.requestFunctionFactory(descriptors.backupCreateProjectBackupExport),
|
|
91
|
-
/** Delete a ProjectBackupExport. */
|
|
92
|
-
deleteProjectBackupExport: this.requestFunctionFactory(descriptors.backupDeleteProjectBackupExport),
|
|
93
|
-
/** List BackupSchedules belonging to a Project. */
|
|
94
|
-
listProjectBackupSchedules: this.requestFunctionFactory(descriptors.backupListProjectBackupSchedules),
|
|
95
|
-
/** Create a BackupSchedule for a Project. */
|
|
96
|
-
createProjectBackupSchedule: this.requestFunctionFactory(descriptors.backupCreateProjectBackupSchedule),
|
|
97
|
-
/** List Backups belonging to a Project. */
|
|
98
|
-
listProjectBackups: this.requestFunctionFactory(descriptors.backupListProjectBackups),
|
|
99
|
-
/** Create a Backup of a Project. */
|
|
100
|
-
createProjectBackup: this.requestFunctionFactory(descriptors.backupCreateProjectBackup),
|
|
101
|
-
/** Get a ProjectBackupSchedule. */
|
|
102
|
-
getProjectBackupSchedule: this.requestFunctionFactory(descriptors.backupGetProjectBackupSchedule),
|
|
103
|
-
/** Delete a ProjectBackupSchedule. */
|
|
104
|
-
deleteProjectBackupSchedule: this.requestFunctionFactory(descriptors.backupDeleteProjectBackupSchedule),
|
|
105
|
-
/** Update a ProjectBackupSchedule. */
|
|
106
|
-
updateProjectBackupSchedule: this.requestFunctionFactory(descriptors.backupUpdateProjectBackupSchedule),
|
|
107
|
-
/** Get a ProjectBackup. */
|
|
108
|
-
getProjectBackup: this.requestFunctionFactory(descriptors.backupGetProjectBackup),
|
|
109
|
-
/** Delete a ProjectBackup. */
|
|
110
|
-
deleteProjectBackup: this.requestFunctionFactory(descriptors.backupDeleteProjectBackup),
|
|
111
|
-
/** Change the description of a ProjectBackup. */
|
|
112
|
-
updateProjectBackupDescription: this.requestFunctionFactory(descriptors.backupUpdateProjectBackupDescription),
|
|
113
|
-
};
|
|
114
|
-
/** The contract API allows you to manage your contracts and orders */
|
|
115
|
-
this.contract = {
|
|
116
|
-
/** Schedule the Termination of a ContractItem. */
|
|
117
|
-
terminateContractItem: this.requestFunctionFactory(descriptors.contractTerminateContractItem),
|
|
118
|
-
/** Cancel the Termination for the referred ContractItem. */
|
|
119
|
-
cancelContractItemTermination: this.requestFunctionFactory(descriptors.contractCancelContractItemTermination),
|
|
120
|
-
/** Cancel the TariffChange for the referred ContractItem. */
|
|
121
|
-
cancelContractTariffChange: this.requestFunctionFactory(descriptors.contractCancelContractTariffChange),
|
|
122
|
-
/** Schedule the Termination of a Contract. */
|
|
123
|
-
terminateContract: this.requestFunctionFactory(descriptors.contractTerminateContract),
|
|
124
|
-
/** Cancel the Termination for the referred Contract. */
|
|
125
|
-
cancelContractTermination: this.requestFunctionFactory(descriptors.contractCancelContractTermination),
|
|
126
|
-
/** Return the BaseItem of the Contract with the given ID. */
|
|
127
|
-
getBaseItemOfContract: this.requestFunctionFactory(descriptors.contractGetBaseItemOfContract),
|
|
128
|
-
/** Return the Contract for the given Domain. */
|
|
129
|
-
getDetailOfContractByDomain: this.requestFunctionFactory(descriptors.contractGetDetailOfContractByDomain),
|
|
130
|
-
/** Return the Contract for the given Project. */
|
|
131
|
-
getDetailOfContractByProject: this.requestFunctionFactory(descriptors.contractGetDetailOfContractByProject),
|
|
132
|
-
/** Return the Contract for the given Server. */
|
|
133
|
-
getDetailOfContractByServer: this.requestFunctionFactory(descriptors.contractGetDetailOfContractByServer),
|
|
134
|
-
/** Get the ContractItem with the given ID. */
|
|
135
|
-
getDetailOfContractItem: this.requestFunctionFactory(descriptors.contractGetDetailOfContractItem),
|
|
136
|
-
/** Returns the Contract with the given ID. */
|
|
137
|
-
getDetailOfContract: this.requestFunctionFactory(descriptors.contractGetDetailOfContract),
|
|
138
|
-
/** Return the next TerminationDate for the ContractItem with the given ID. */
|
|
139
|
-
getNextTerminationDateForItem: this.requestFunctionFactory(descriptors.contractGetNextTerminationDateForItem),
|
|
140
|
-
/** Return a list of Contracts for the given Customer. */
|
|
141
|
-
listContracts: this.requestFunctionFactory(descriptors.contractListContracts),
|
|
142
|
-
/** Get details of an Invoice. */
|
|
143
|
-
invoiceDetailOfInvoice: this.requestFunctionFactory(descriptors.invoiceDetailOfInvoice),
|
|
144
|
-
/** Get InvoiceSettings of a Customer. */
|
|
145
|
-
invoiceGetDetailOfInvoiceSettings: this.requestFunctionFactory(descriptors.invoiceGetDetailOfInvoiceSettings),
|
|
146
|
-
/** Update InvoiceSettings of a Customer. */
|
|
147
|
-
invoiceUpdateInvoiceSettings: this.requestFunctionFactory(descriptors.invoiceUpdateInvoiceSettings),
|
|
148
|
-
/** List Invoices of a Customer. */
|
|
149
|
-
invoiceListCustomerInvoices: this.requestFunctionFactory(descriptors.invoiceListCustomerInvoices),
|
|
150
|
-
/** Create an Order. */
|
|
151
|
-
orderCreateOrder: this.requestFunctionFactory(descriptors.orderCreateOrder),
|
|
152
|
-
/** Create TariffChange Order. */
|
|
153
|
-
orderCreateTariffChange: this.requestFunctionFactory(descriptors.orderCreateTariffChange),
|
|
154
|
-
/** Get Order for Customer. */
|
|
155
|
-
orderGetOrder: this.requestFunctionFactory(descriptors.orderGetOrder),
|
|
156
|
-
/** Get list of Orders of a Customer. */
|
|
157
|
-
orderListCustomerOrders: this.requestFunctionFactory(descriptors.orderListCustomerOrders),
|
|
158
|
-
/** Get list of Orders of a Project. */
|
|
159
|
-
orderListProjectOrders: this.requestFunctionFactory(descriptors.orderListProjectOrders),
|
|
160
|
-
/** Preview Order. */
|
|
161
|
-
orderPreviewOrder: this.requestFunctionFactory(descriptors.orderPreviewOrder),
|
|
162
|
-
/** Preview TariffChange. */
|
|
163
|
-
orderPreviewTariffChange: this.requestFunctionFactory(descriptors.orderPreviewTariffChange),
|
|
164
|
-
};
|
|
165
|
-
/** The conversation API allows you to manage your support conversations. */
|
|
166
|
-
this.conversation = {
|
|
167
|
-
/** Get all conversation the authenticated user has created or has access to. */
|
|
168
|
-
listConversations: this.requestFunctionFactory(descriptors.conversationListConversations),
|
|
169
|
-
/** Create a conversation. */
|
|
170
|
-
createConversation: this.requestFunctionFactory(descriptors.conversationCreateConversation),
|
|
171
|
-
/** Get all message of the conversation. */
|
|
172
|
-
listMessagesByConversation: this.requestFunctionFactory(descriptors.conversationListMessagesByConversation),
|
|
173
|
-
/** Send a new message in the conversation. */
|
|
174
|
-
createMessage: this.requestFunctionFactory(descriptors.conversationCreateMessage),
|
|
175
|
-
/** Get a specific conversation category. */
|
|
176
|
-
getCategory: this.requestFunctionFactory(descriptors.conversationGetCategory),
|
|
177
|
-
/** Get a support conversation. */
|
|
178
|
-
getConversation: this.requestFunctionFactory(descriptors.conversationGetConversation),
|
|
179
|
-
/** Update the basic properties of the conversation. */
|
|
180
|
-
updateConversation: this.requestFunctionFactory(descriptors.conversationUpdateConversation),
|
|
181
|
-
/** Get all conversation categories. */
|
|
182
|
-
listCategories: this.requestFunctionFactory(descriptors.conversationListCategories),
|
|
183
|
-
/** Request a file upload token for the conversation. */
|
|
184
|
-
requestFileUpload: this.requestFunctionFactory(descriptors.conversationRequestFileUpload),
|
|
185
|
-
/** Update the status of a conversation. */
|
|
186
|
-
setConversationStatus: this.requestFunctionFactory(descriptors.conversationSetConversationStatus),
|
|
187
|
-
/** Update the content of the message */
|
|
188
|
-
updateMessage: this.requestFunctionFactory(descriptors.conversationUpdateMessage),
|
|
189
|
-
};
|
|
190
|
-
/** The cronjob API allows you to manage cronjobs within a project. */
|
|
191
|
-
this.cronjob = {
|
|
192
|
-
/** Abort a CronjobExecution. */
|
|
193
|
-
abortExecution: this.requestFunctionFactory(descriptors.cronjobAbortExecution),
|
|
194
|
-
/** List Cronjobs belonging to a Project. */
|
|
195
|
-
listCronjobs: this.requestFunctionFactory(descriptors.cronjobListCronjobs),
|
|
196
|
-
/** Create a Cronjob. */
|
|
197
|
-
createCronjob: this.requestFunctionFactory(descriptors.cronjobCreateCronjob),
|
|
198
|
-
/** List CronjobExecutions belonging to a Cronjob. */
|
|
199
|
-
listExecutions: this.requestFunctionFactory(descriptors.cronjobListExecutions),
|
|
200
|
-
/** Trigger a Cronjob. */
|
|
201
|
-
createExecution: this.requestFunctionFactory(descriptors.cronjobCreateExecution),
|
|
202
|
-
/** Get a Cronjob. */
|
|
203
|
-
getCronjob: this.requestFunctionFactory(descriptors.cronjobGetCronjob),
|
|
204
|
-
/** Delete a Cronjob. */
|
|
205
|
-
deleteCronjob: this.requestFunctionFactory(descriptors.cronjobDeleteCronjob),
|
|
206
|
-
/** Update a Cronjob. */
|
|
207
|
-
updateCronjob: this.requestFunctionFactory(descriptors.cronjobUpdateCronjob),
|
|
208
|
-
/** Get a CronjobExecution. */
|
|
209
|
-
getExecution: this.requestFunctionFactory(descriptors.cronjobGetExecution),
|
|
210
|
-
/** Update a Cronjob's app id. */
|
|
211
|
-
updateCronjobAppId: this.requestFunctionFactory(descriptors.cronjobUpdateCronjobAppId),
|
|
212
|
-
};
|
|
213
|
-
/** The customer API allows you to manage your own organizations and users. */
|
|
214
|
-
this.customer = {
|
|
215
|
-
/** Accept a CustomerInvite. */
|
|
216
|
-
acceptCustomerInvite: this.requestFunctionFactory(descriptors.customerAcceptCustomerInvite),
|
|
217
|
-
/** Get all customer categories. */
|
|
218
|
-
listOfCustomerCategories: this.requestFunctionFactory(descriptors.customerListOfCustomerCategories),
|
|
219
|
-
/** Create a new customer category. */
|
|
220
|
-
createCategory: this.requestFunctionFactory(descriptors.customerCreateCategory),
|
|
221
|
-
/** Create a CustomerInvite. */
|
|
222
|
-
createCustomerInvite: this.requestFunctionFactory(descriptors.customerCreateCustomerInvite),
|
|
223
|
-
/** Get all customer profiles the authenticated user has access to. */
|
|
224
|
-
listCustomers: this.requestFunctionFactory(descriptors.customerListCustomers),
|
|
225
|
-
/** Create a new customer profile. */
|
|
226
|
-
createCustomer: this.requestFunctionFactory(descriptors.customerCreateCustomer),
|
|
227
|
-
/** Decline a CustomerInvite. */
|
|
228
|
-
declineCustomerInvite: this.requestFunctionFactory(descriptors.customerDeclineCustomerInvite),
|
|
229
|
-
/** Get a customer category. */
|
|
230
|
-
getCustomerCategory: this.requestFunctionFactory(descriptors.customerGetCustomerCategory),
|
|
231
|
-
/** Update a customer category. */
|
|
232
|
-
updateCategory: this.requestFunctionFactory(descriptors.customerUpdateCategory),
|
|
233
|
-
/** Delete a customer category. */
|
|
234
|
-
deleteCategory: this.requestFunctionFactory(descriptors.customerDeleteCategory),
|
|
235
|
-
/** Get a CustomerInvite. */
|
|
236
|
-
getCustomerInvite: this.requestFunctionFactory(descriptors.customerGetCustomerInvite),
|
|
237
|
-
/** Delete a CustomerInvite. */
|
|
238
|
-
deleteCustomerInvite: this.requestFunctionFactory(descriptors.customerDeleteCustomerInvite),
|
|
239
|
-
/** Get a CustomerMembership. */
|
|
240
|
-
getCustomerMembership: this.requestFunctionFactory(descriptors.customerGetCustomerMembership),
|
|
241
|
-
/** Delete a CustomerMembership. */
|
|
242
|
-
deleteCustomerMembership: this.requestFunctionFactory(descriptors.customerDeleteCustomerMembership),
|
|
243
|
-
/** Update a CustomerMembership. */
|
|
244
|
-
updateCustomerMembership: this.requestFunctionFactory(descriptors.customerUpdateCustomerMembership),
|
|
245
|
-
/** Get a customer profile. */
|
|
246
|
-
getCustomer: this.requestFunctionFactory(descriptors.customerGetCustomer),
|
|
247
|
-
/** Update a customer profile. */
|
|
248
|
-
updateCustomer: this.requestFunctionFactory(descriptors.customerUpdateCustomer),
|
|
249
|
-
/** Delete a customer profile. */
|
|
250
|
-
deleteCustomer: this.requestFunctionFactory(descriptors.customerDeleteCustomer),
|
|
251
|
-
/** Get a CustomerInvite by token. */
|
|
252
|
-
getCustomerTokenInvite: this.requestFunctionFactory(descriptors.customerGetCustomerTokenInvite),
|
|
253
|
-
/** Check if the customer profile has a valid contract partner configured. */
|
|
254
|
-
isCustomerLegallyCompetent: this.requestFunctionFactory(descriptors.customerIsCustomerLegallyCompetent),
|
|
255
|
-
/** Leave a Customer. */
|
|
256
|
-
leaveCustomer: this.requestFunctionFactory(descriptors.customerLeaveCustomer),
|
|
257
|
-
/** List CustomerInvites belonging to the executing user. */
|
|
258
|
-
listCustomerInvites: this.requestFunctionFactory(descriptors.customerListCustomerInvites),
|
|
259
|
-
/** List CustomerMemberships belonging to the executing user. */
|
|
260
|
-
listCustomerMemberships: this.requestFunctionFactory(descriptors.customerListCustomerMemberships),
|
|
261
|
-
/** List Invites belonging to a Customer. */
|
|
262
|
-
listInvitesForCustomer: this.requestFunctionFactory(descriptors.customerListInvitesForCustomer),
|
|
263
|
-
/** List Memberships belonging to a Customer. */
|
|
264
|
-
listMembershipsForCustomer: this.requestFunctionFactory(descriptors.customerListMembershipsForCustomer),
|
|
265
|
-
/** Request a new avatar upload for the customer profile. */
|
|
266
|
-
requestAvatarUpload: this.requestFunctionFactory(descriptors.customerRequestAvatarUpload),
|
|
267
|
-
/** Remove the avatar picture of the customer profile. */
|
|
268
|
-
removeAvatar: this.requestFunctionFactory(descriptors.customerRemoveAvatar),
|
|
269
|
-
/** Resend the mail for a CustomerInvite. */
|
|
270
|
-
resendCustomerInviteMail: this.requestFunctionFactory(descriptors.customerResendCustomerInviteMail),
|
|
271
|
-
};
|
|
272
|
-
/** The database API allows you to manage your databases, like MySQL and Redis databases. */
|
|
273
|
-
this.database = {
|
|
274
|
-
/** List MySQLDatabases belonging to a Project. */
|
|
275
|
-
listMysqlDatabases: this.requestFunctionFactory(descriptors.databaseListMysqlDatabases),
|
|
276
|
-
/** Create a MySQLDatabase with a MySQLUser. */
|
|
277
|
-
createMysqlDatabase: this.requestFunctionFactory(descriptors.databaseCreateMysqlDatabase),
|
|
278
|
-
/** List MySQLUsers belonging to a Database. */
|
|
279
|
-
listMysqlUsers: this.requestFunctionFactory(descriptors.databaseListMysqlUsers),
|
|
280
|
-
/** Create a MySQLUser. */
|
|
281
|
-
createMysqlUser: this.requestFunctionFactory(descriptors.databaseCreateMysqlUser),
|
|
282
|
-
/** List RedisDatabases belonging to a Project. */
|
|
283
|
-
listRedisDatabases: this.requestFunctionFactory(descriptors.databaseListRedisDatabases),
|
|
284
|
-
/** Create a RedisDatabase. */
|
|
285
|
-
createRedisDatabase: this.requestFunctionFactory(descriptors.databaseCreateRedisDatabase),
|
|
286
|
-
/** Get a MySQLDatabase. */
|
|
287
|
-
getMysqlDatabase: this.requestFunctionFactory(descriptors.databaseGetMysqlDatabase),
|
|
288
|
-
/** Delete a MySQLDatabase. */
|
|
289
|
-
deleteMysqlDatabase: this.requestFunctionFactory(descriptors.databaseDeleteMysqlDatabase),
|
|
290
|
-
/** Get a MySQLUser. */
|
|
291
|
-
getMysqlUser: this.requestFunctionFactory(descriptors.databaseGetMysqlUser),
|
|
292
|
-
/** Update a MySQLUser. */
|
|
293
|
-
updateMysqlUser: this.requestFunctionFactory(descriptors.databaseUpdateMysqlUser),
|
|
294
|
-
/** Delete a MySQLUser. */
|
|
295
|
-
deleteMysqlUser: this.requestFunctionFactory(descriptors.databaseDeleteMysqlUser),
|
|
296
|
-
/** Get a RedisDatabase. */
|
|
297
|
-
getRedisDatabase: this.requestFunctionFactory(descriptors.databaseGetRedisDatabase),
|
|
298
|
-
/** Delete a RedisDatabase. */
|
|
299
|
-
deleteRedisDatabase: this.requestFunctionFactory(descriptors.databaseDeleteRedisDatabase),
|
|
300
|
-
/** Disable a MySQLUser. */
|
|
301
|
-
disableMysqlUser: this.requestFunctionFactory(descriptors.databaseDisableMysqlUser),
|
|
302
|
-
/** Enable a MySQLUser. */
|
|
303
|
-
enableMysqlUser: this.requestFunctionFactory(descriptors.databaseEnableMysqlUser),
|
|
304
|
-
/** Get a MySQLUser's PhpMyAdmin-URL. */
|
|
305
|
-
getMysqlUserPhpMyAdminUrl: this.requestFunctionFactory(descriptors.databaseGetMysqlUserPhpMyAdminUrl),
|
|
306
|
-
/** List available MySQL character sets and collations, optionally filtered by a MySQLVersion. */
|
|
307
|
-
listMysqlCharsets: this.requestFunctionFactory(descriptors.databaseListMysqlCharsets),
|
|
308
|
-
/** List MySQLVersions. */
|
|
309
|
-
listMysqlVersions: this.requestFunctionFactory(descriptors.databaseListMysqlVersions),
|
|
310
|
-
/** List RedisVersions. */
|
|
311
|
-
listRedisVersions: this.requestFunctionFactory(descriptors.databaseListRedisVersions),
|
|
312
|
-
/** Update a MySQLDatabase's default character settings. */
|
|
313
|
-
updateMysqlDatabaseDefaultCharset: this.requestFunctionFactory(descriptors.databaseUpdateMysqlDatabaseDefaultCharset),
|
|
314
|
-
/** Update a MySQLDatabase's description. */
|
|
315
|
-
updateMysqlDatabaseDescription: this.requestFunctionFactory(descriptors.databaseUpdateMysqlDatabaseDescription),
|
|
316
|
-
/** Update a MySQLUser's password. */
|
|
317
|
-
updateMysqlUserPassword: this.requestFunctionFactory(descriptors.databaseUpdateMysqlUserPassword),
|
|
318
|
-
/** Update a RedisDatabase's configuration. */
|
|
319
|
-
updateRedisDatabaseConfiguration: this.requestFunctionFactory(descriptors.databaseUpdateRedisDatabaseConfiguration),
|
|
320
|
-
/** Update a RedisDatabase's description. */
|
|
321
|
-
updateRedisDatabaseDescription: this.requestFunctionFactory(descriptors.databaseUpdateRedisDatabaseDescription),
|
|
322
|
-
};
|
|
323
|
-
/** The notification API allows you to manage your notifications. */
|
|
324
|
-
this.notification = {
|
|
325
|
-
/** Subscribe a user to the mStudio newsletter. */
|
|
326
|
-
newsletterSubscribeUser: this.requestFunctionFactory(descriptors.newsletterSubscribeUser),
|
|
327
|
-
/** Getting the subscription status of the subscription. */
|
|
328
|
-
newsletterGetInfo: this.requestFunctionFactory(descriptors.newsletterGetInfo),
|
|
329
|
-
/** Unsubscribe a user from the mStudio newsletter. */
|
|
330
|
-
newsletterUnsubscribeUser: this.requestFunctionFactory(descriptors.newsletterUnsubscribeUser),
|
|
331
|
-
/** Get the counts for unread notifications of the user. */
|
|
332
|
-
scountUnreadNotifications: this.requestFunctionFactory(descriptors.notificationsCountUnreadNotifications),
|
|
333
|
-
/** List all unread notifications. */
|
|
334
|
-
slistNotifications: this.requestFunctionFactory(descriptors.notificationsListNotifications),
|
|
335
|
-
/** Mark all notifications as read. */
|
|
336
|
-
sreadAllNotifications: this.requestFunctionFactory(descriptors.notificationsReadAllNotifications),
|
|
337
|
-
/** Mark notification as read. */
|
|
338
|
-
sreadNotification: this.requestFunctionFactory(descriptors.notificationsReadNotification),
|
|
339
|
-
};
|
|
340
|
-
/** The domain API allows you to manage your domains, DNS records and ingress resources. */
|
|
341
|
-
this.domain = {
|
|
342
|
-
/** Create a DNSZone. */
|
|
343
|
-
dnsCreateDnsZone: this.requestFunctionFactory(descriptors.dnsCreateDnsZone),
|
|
344
|
-
/** Get a DNSZone. */
|
|
345
|
-
dnsGetDnsZone: this.requestFunctionFactory(descriptors.dnsGetDnsZone),
|
|
346
|
-
/** Delete a DNSZone. */
|
|
347
|
-
dnsDeleteDnsZone: this.requestFunctionFactory(descriptors.dnsDeleteDnsZone),
|
|
348
|
-
/** List DNSZones belonging to a Project. */
|
|
349
|
-
dnsListDnsZones: this.requestFunctionFactory(descriptors.dnsListDnsZones),
|
|
350
|
-
/** Set a record set on a DNSZone to managed. */
|
|
351
|
-
dnsSetRecordSetManaged: this.requestFunctionFactory(descriptors.dnsSetRecordSetManaged),
|
|
352
|
-
/** Update a record set on a DNSZone. */
|
|
353
|
-
dnsUpdateRecordSet: this.requestFunctionFactory(descriptors.dnsUpdateRecordSet),
|
|
354
|
-
/** Abort a Domain declaration. */
|
|
355
|
-
abortDomainDeclaration: this.requestFunctionFactory(descriptors.domainAbortDomainDeclaration),
|
|
356
|
-
/** Check if a Domain is available to register. */
|
|
357
|
-
checkDomainRegistrability: this.requestFunctionFactory(descriptors.domainCheckDomainRegistrability),
|
|
358
|
-
/** Create an auth code 2. */
|
|
359
|
-
createDomainAuthCode2: this.requestFunctionFactory(descriptors.domainCreateDomainAuthCode2),
|
|
360
|
-
/** Create an auth code for a Domains transfer-out process. */
|
|
361
|
-
createDomainAuthCode: this.requestFunctionFactory(descriptors.domainCreateDomainAuthCode),
|
|
362
|
-
/** Update the nameservers of a Domain. */
|
|
363
|
-
updateDomainNameservers: this.requestFunctionFactory(descriptors.domainUpdateDomainNameservers),
|
|
364
|
-
/** Get a Domain. */
|
|
365
|
-
getDomain: this.requestFunctionFactory(descriptors.domainGetDomain),
|
|
366
|
-
/** Delete a Domain. */
|
|
367
|
-
deleteDomain: this.requestFunctionFactory(descriptors.domainDeleteDomain),
|
|
368
|
-
/** Get a DomainOwnership. */
|
|
369
|
-
getDomainOwnership: this.requestFunctionFactory(descriptors.domainGetDomainOwnership),
|
|
370
|
-
/** Get File Service Reference for a Screenshot of a domain. */
|
|
371
|
-
getScreenshotForDomain: this.requestFunctionFactory(descriptors.domainGetScreenshotForDomain),
|
|
372
|
-
/** List the DomainOwnerships of a project. */
|
|
373
|
-
listDomainOwnerships: this.requestFunctionFactory(descriptors.domainListDomainOwnerships),
|
|
374
|
-
/** List Domains belonging to a Project. */
|
|
375
|
-
listDomains: this.requestFunctionFactory(descriptors.domainListDomains),
|
|
376
|
-
/** List the contact schemas for a TLD. */
|
|
377
|
-
listTldContactSchemas: this.requestFunctionFactory(descriptors.domainListTldContactSchemas),
|
|
378
|
-
/** List TLDs. */
|
|
379
|
-
listTlds: this.requestFunctionFactory(descriptors.domainListTlds),
|
|
380
|
-
/** Resend a Domain email. */
|
|
381
|
-
resendDomainEmail: this.requestFunctionFactory(descriptors.domainResendDomainEmail),
|
|
382
|
-
/** Update the auth code of a Domain. */
|
|
383
|
-
updateDomainAuthCode: this.requestFunctionFactory(descriptors.domainUpdateDomainAuthCode),
|
|
384
|
-
/** Update a contact of a Domain. */
|
|
385
|
-
updateDomainContact: this.requestFunctionFactory(descriptors.domainUpdateDomainContact),
|
|
386
|
-
/** Update a Domain's project id. */
|
|
387
|
-
updateDomainProjectId: this.requestFunctionFactory(descriptors.domainUpdateDomainProjectId),
|
|
388
|
-
/** Verify a DomainOwnership. */
|
|
389
|
-
verifyDomainOwnership: this.requestFunctionFactory(descriptors.domainVerifyDomainOwnership),
|
|
390
|
-
/** Create an Ingress. */
|
|
391
|
-
ingressCreate: this.requestFunctionFactory(descriptors.ingressCreate),
|
|
392
|
-
/** Get an Ingress. */
|
|
393
|
-
ingressGetSpecific: this.requestFunctionFactory(descriptors.ingressGetSpecific),
|
|
394
|
-
/** Delete an Ingress. */
|
|
395
|
-
ingressDelete: this.requestFunctionFactory(descriptors.ingressDelete),
|
|
396
|
-
/** List Ingresses the user has access to. */
|
|
397
|
-
ingressListAccessible: this.requestFunctionFactory(descriptors.ingressListAccessible),
|
|
398
|
-
/** List Ingresses belonging to a project. */
|
|
399
|
-
ingressListForProject: this.requestFunctionFactory(descriptors.ingressListForProject),
|
|
400
|
-
/** Update an Ingresses paths. */
|
|
401
|
-
ingressPaths: this.requestFunctionFactory(descriptors.ingressPaths),
|
|
402
|
-
/** Request ACME certificate issuance */
|
|
403
|
-
ingressRequestAcmeCertificateIssuance: this.requestFunctionFactory(descriptors.ingressRequestAcmeCertificateIssuance),
|
|
404
|
-
/** Update an Ingresses tls settings. */
|
|
405
|
-
ingressTls: this.requestFunctionFactory(descriptors.ingressTls),
|
|
406
|
-
};
|
|
407
|
-
/** The file API allows you to manage your files, for example for conversations attachments and avatar uploads. */
|
|
408
|
-
this.file = {
|
|
409
|
-
/** Create a File. */
|
|
410
|
-
createFile: this.requestFunctionFactory(descriptors.fileCreateFile),
|
|
411
|
-
/** Get a File's meta. */
|
|
412
|
-
getFileMeta: this.requestFunctionFactory(descriptors.fileGetFileMeta),
|
|
413
|
-
/** Get a Token's upload rules. */
|
|
414
|
-
getFileTokenRules: this.requestFunctionFactory(descriptors.fileGetFileTokenRules),
|
|
415
|
-
/** Get a Type's upload rules. */
|
|
416
|
-
getFileTypeRules: this.requestFunctionFactory(descriptors.fileGetFileTypeRules),
|
|
417
|
-
/** Get a File. */
|
|
418
|
-
getFile: this.requestFunctionFactory(descriptors.fileGetFile),
|
|
419
|
-
};
|
|
420
|
-
/** The mail API allows you to manage your mail accounts. */
|
|
421
|
-
this.mail = {
|
|
422
|
-
/** List DeliveryBoxes belonging to a Project. */
|
|
423
|
-
listDeliveryBoxes: this.requestFunctionFactory(descriptors.mailListDeliveryBoxes),
|
|
424
|
-
/** Create a DeliveryBox. */
|
|
425
|
-
createDeliverybox: this.requestFunctionFactory(descriptors.mailCreateDeliverybox),
|
|
426
|
-
/** List MailAddresses belonging to a Project. */
|
|
427
|
-
listMailAddresses: this.requestFunctionFactory(descriptors.mailListMailAddresses),
|
|
428
|
-
/** Create a MailAddress. */
|
|
429
|
-
createMailAddress: this.requestFunctionFactory(descriptors.mailCreateMailAddress),
|
|
430
|
-
/** Get a DeliveryBox. */
|
|
431
|
-
getDeliveryBox: this.requestFunctionFactory(descriptors.mailGetDeliveryBox),
|
|
432
|
-
/** Delete a DeliveryBox. */
|
|
433
|
-
deleteDeliveryBox: this.requestFunctionFactory(descriptors.mailDeleteDeliveryBox),
|
|
434
|
-
/** Get a MailAddress. */
|
|
435
|
-
getMailAddress: this.requestFunctionFactory(descriptors.mailGetMailAddress),
|
|
436
|
-
/** Delete a MailAddress. */
|
|
437
|
-
deleteMailAddress: this.requestFunctionFactory(descriptors.mailDeleteMailAddress),
|
|
438
|
-
/** List mail settings of a Project. */
|
|
439
|
-
listProjectMailSettings: this.requestFunctionFactory(descriptors.mailListProjectMailSettings),
|
|
440
|
-
/** Update the description of a DeliveryBox. */
|
|
441
|
-
updateDeliveryBoxDescription: this.requestFunctionFactory(descriptors.mailUpdateDeliveryBoxDescription),
|
|
442
|
-
/** Update the password of a DeliveryBox. */
|
|
443
|
-
updateDeliveryBoxPassword: this.requestFunctionFactory(descriptors.mailUpdateDeliveryBoxPassword),
|
|
444
|
-
/** Update a MailAddress. */
|
|
445
|
-
updateMailAddressAddress: this.requestFunctionFactory(descriptors.mailUpdateMailAddressAddress),
|
|
446
|
-
/** Update the autoresponder of a MailAddress. */
|
|
447
|
-
updateMailAddressAutoresponder: this.requestFunctionFactory(descriptors.mailUpdateMailAddressAutoresponder),
|
|
448
|
-
/** Update the catchall of a MailAddress. */
|
|
449
|
-
updateMailAddressCatchall: this.requestFunctionFactory(descriptors.mailUpdateMailAddressCatchall),
|
|
450
|
-
/** Update the forward addresses of a MailAddresses. */
|
|
451
|
-
updateMailAddressForwardAddresses: this.requestFunctionFactory(descriptors.mailUpdateMailAddressForwardAddresses),
|
|
452
|
-
/** Update the password for a MailAddress. */
|
|
453
|
-
updateMailAddressPassword: this.requestFunctionFactory(descriptors.mailUpdateMailAddressPassword),
|
|
454
|
-
/** Update the quota of a MailAddress. */
|
|
455
|
-
updateMailAddressQuota: this.requestFunctionFactory(descriptors.mailUpdateMailAddressQuota),
|
|
456
|
-
/** Update the spam protection of a MailAddress. */
|
|
457
|
-
updateMailAddressSpamProtection: this.requestFunctionFactory(descriptors.mailUpdateMailAddressSpamProtection),
|
|
458
|
-
/** Update a mail setting of a Project. */
|
|
459
|
-
updateProjectMailSetting: this.requestFunctionFactory(descriptors.mailUpdateProjectMailSetting),
|
|
460
|
-
};
|
|
461
|
-
/** The project API allows you to manage your projects, and also any kinds of user memberships concerning these projects. */
|
|
462
|
-
this.project = {
|
|
463
|
-
/** Accept a ProjectInvite. */
|
|
464
|
-
acceptProjectInvite: this.requestFunctionFactory(descriptors.projectAcceptProjectInvite),
|
|
465
|
-
/** Create a ProjectInvite. */
|
|
466
|
-
createProjectInvite: this.requestFunctionFactory(descriptors.projectCreateProjectInvite),
|
|
467
|
-
/** Create a Project belonging to a Server. */
|
|
468
|
-
createProject: this.requestFunctionFactory(descriptors.projectCreateProject),
|
|
469
|
-
/** Decline a ProjectInvite. */
|
|
470
|
-
declineProjectInvite: this.requestFunctionFactory(descriptors.projectDeclineProjectInvite),
|
|
471
|
-
/** Request a Project avatar upload. */
|
|
472
|
-
requestProjectAvatarUpload: this.requestFunctionFactory(descriptors.projectRequestProjectAvatarUpload),
|
|
473
|
-
/** Delete a Project's avatar. */
|
|
474
|
-
deleteProjectAvatar: this.requestFunctionFactory(descriptors.projectDeleteProjectAvatar),
|
|
475
|
-
/** Get a ProjectInvite. */
|
|
476
|
-
getProjectInvite: this.requestFunctionFactory(descriptors.projectGetProjectInvite),
|
|
477
|
-
/** Delete a ProjectInvite. */
|
|
478
|
-
deleteProjectInvite: this.requestFunctionFactory(descriptors.projectDeleteProjectInvite),
|
|
479
|
-
/** Get a ProjectMembership */
|
|
480
|
-
getProjectMembership: this.requestFunctionFactory(descriptors.projectGetProjectMembership),
|
|
481
|
-
/** Delete a ProjectMembership. */
|
|
482
|
-
deleteProjectMembership: this.requestFunctionFactory(descriptors.projectDeleteProjectMembership),
|
|
483
|
-
/** Update a ProjectMembership. */
|
|
484
|
-
updateProjectMembership: this.requestFunctionFactory(descriptors.projectUpdateProjectMembership),
|
|
485
|
-
/** Get a Project. */
|
|
486
|
-
getProject: this.requestFunctionFactory(descriptors.projectGetProject),
|
|
487
|
-
/** Delete a Project. */
|
|
488
|
-
deleteProject: this.requestFunctionFactory(descriptors.projectDeleteProject),
|
|
489
|
-
/** Request a Server avatar upload. */
|
|
490
|
-
requestServerAvatarUpload: this.requestFunctionFactory(descriptors.projectRequestServerAvatarUpload),
|
|
491
|
-
/** Delete a Server's avatar. */
|
|
492
|
-
deleteServerAvatar: this.requestFunctionFactory(descriptors.projectDeleteServerAvatar),
|
|
493
|
-
/** Get a ProjectInvite by token. */
|
|
494
|
-
getProjectTokenInvite: this.requestFunctionFactory(descriptors.projectGetProjectTokenInvite),
|
|
495
|
-
/** Get the executing user's membership in a Project. */
|
|
496
|
-
getSelfMembershipForProject: this.requestFunctionFactory(descriptors.projectGetSelfMembershipForProject),
|
|
497
|
-
/** Get a Server. */
|
|
498
|
-
getServer: this.requestFunctionFactory(descriptors.projectGetServer),
|
|
499
|
-
/** Leave a Project. */
|
|
500
|
-
leaveProject: this.requestFunctionFactory(descriptors.projectLeaveProject),
|
|
501
|
-
/** List Invites belonging to a Project. */
|
|
502
|
-
listInvitesForProject: this.requestFunctionFactory(descriptors.projectListInvitesForProject),
|
|
503
|
-
/** List Memberships belonging to a Project. */
|
|
504
|
-
listMembershipsForProject: this.requestFunctionFactory(descriptors.projectListMembershipsForProject),
|
|
505
|
-
/** List ProjectInvites belonging to the executing user. */
|
|
506
|
-
listProjectInvites: this.requestFunctionFactory(descriptors.projectListProjectInvites),
|
|
507
|
-
/** List ProjectMemberships belonging to the executing user. */
|
|
508
|
-
listProjectMemberships: this.requestFunctionFactory(descriptors.projectListProjectMemberships),
|
|
509
|
-
/** List Projects belonging to the executing user. */
|
|
510
|
-
listProjects: this.requestFunctionFactory(descriptors.projectListProjects),
|
|
511
|
-
/** List Servers belonging to the executing user. */
|
|
512
|
-
listServers: this.requestFunctionFactory(descriptors.projectListServers),
|
|
513
|
-
/** Resend the mail for a ProjectInvite. */
|
|
514
|
-
resendProjectInviteMail: this.requestFunctionFactory(descriptors.projectResendProjectInviteMail),
|
|
515
|
-
/** Update a Project's description. */
|
|
516
|
-
updateProjectDescription: this.requestFunctionFactory(descriptors.projectUpdateProjectDescription),
|
|
517
|
-
/** Update a Servers's description. */
|
|
518
|
-
updateServerDescription: this.requestFunctionFactory(descriptors.projectUpdateServerDescription),
|
|
519
|
-
};
|
|
520
|
-
/** The filesystem API allows you to directly access the filesystem of your project. */
|
|
521
|
-
this.projectFileSystem = {
|
|
522
|
-
/** List directories belonging to a Project. */
|
|
523
|
-
getDirectories: this.requestFunctionFactory(descriptors.projectFileSystemGetDirectories),
|
|
524
|
-
/** Get a Project directory filesystem usage. */
|
|
525
|
-
getDiskUsage: this.requestFunctionFactory(descriptors.projectFileSystemGetDiskUsage),
|
|
526
|
-
/** Get a Project file's content. */
|
|
527
|
-
getFileContent: this.requestFunctionFactory(descriptors.projectFileSystemGetFileContent),
|
|
528
|
-
/** Get a Project's file/filesystem authorization token. */
|
|
529
|
-
getJwt: this.requestFunctionFactory(descriptors.projectFileSystemGetJwt),
|
|
530
|
-
/** Get a Project file's information. */
|
|
531
|
-
listFiles: this.requestFunctionFactory(descriptors.projectFileSystemListFiles),
|
|
532
|
-
};
|
|
533
|
-
/** The SSH/SFTP User API allows you to manage your SSH/SFTP users within a project. */
|
|
534
|
-
this.sshsftpUser = {
|
|
535
|
-
/** Get all SFTPUsers for a Project. */
|
|
536
|
-
sftpUserListSftpUsers: this.requestFunctionFactory(descriptors.sftpUserListSftpUsers),
|
|
537
|
-
/** Create an SFTPUser for a Project. */
|
|
538
|
-
sftpUserCreateSftpUser: this.requestFunctionFactory(descriptors.sftpUserCreateSftpUser),
|
|
539
|
-
/** Get an SFTPUser. */
|
|
540
|
-
sftpUserGetSftpUser: this.requestFunctionFactory(descriptors.sftpUserGetSftpUser),
|
|
541
|
-
/** Delete an SFTPUser. */
|
|
542
|
-
sftpUserDeleteSftpUser: this.requestFunctionFactory(descriptors.sftpUserDeleteSftpUser),
|
|
543
|
-
/** Update an SFTPUser. */
|
|
544
|
-
sftpUserUpdateSftpUser: this.requestFunctionFactory(descriptors.sftpUserUpdateSftpUser),
|
|
545
|
-
/** Get all SSHUsers for a Project. */
|
|
546
|
-
sshUserListSshUsers: this.requestFunctionFactory(descriptors.sshUserListSshUsers),
|
|
547
|
-
/** Create an SSHUser for a Project. */
|
|
548
|
-
sshUserCreateSshUser: this.requestFunctionFactory(descriptors.sshUserCreateSshUser),
|
|
549
|
-
/** Get an SSHUser. */
|
|
550
|
-
sshUserGetSshUser: this.requestFunctionFactory(descriptors.sshUserGetSshUser),
|
|
551
|
-
/** Delete an SSHUser. */
|
|
552
|
-
sshUserDeleteSshUser: this.requestFunctionFactory(descriptors.sshUserDeleteSshUser),
|
|
553
|
-
/** Update an SSHUser. */
|
|
554
|
-
sshUserUpdateSshUser: this.requestFunctionFactory(descriptors.sshUserUpdateSshUser),
|
|
555
|
-
};
|
|
556
|
-
/** The user API allows you to manage your own user and access information of other users that might be visible to you. */
|
|
557
|
-
this.user = {
|
|
558
|
-
/** Add phone number and start verification process. */
|
|
559
|
-
addPhoneNumber: this.requestFunctionFactory(descriptors.userAddPhoneNumber),
|
|
560
|
-
/** Remove phone number. */
|
|
561
|
-
removePhoneNumber: this.requestFunctionFactory(descriptors.userRemovePhoneNumber),
|
|
562
|
-
/** Validate your second factor. */
|
|
563
|
-
authenticateMfa: this.requestFunctionFactory(descriptors.userAuthenticateMfa),
|
|
564
|
-
/** Authenticate yourself to get an access token. */
|
|
565
|
-
authenticate: this.requestFunctionFactory(descriptors.userAuthenticate),
|
|
566
|
-
/** Get your verified Email-Address. */
|
|
567
|
-
getOwnEmail: this.requestFunctionFactory(descriptors.userGetOwnEmail),
|
|
568
|
-
/** Change your Email-Address. */
|
|
569
|
-
changeEmail: this.requestFunctionFactory(descriptors.userChangeEmail),
|
|
570
|
-
/** Change your password. */
|
|
571
|
-
changePassword: this.requestFunctionFactory(descriptors.userChangePassword),
|
|
572
|
-
/** Check token for validity. */
|
|
573
|
-
checkToken: this.requestFunctionFactory(descriptors.userCheckToken),
|
|
574
|
-
/** Get your current multi factor auth status. */
|
|
575
|
-
getMfaStatus: this.requestFunctionFactory(descriptors.userGetMfaStatus),
|
|
576
|
-
/** Reset RecoveryCodes for MFA. */
|
|
577
|
-
resetRecoverycodes: this.requestFunctionFactory(descriptors.userResetRecoverycodes),
|
|
578
|
-
/** Confirm Multi Factor Authentication. */
|
|
579
|
-
confirmMfa: this.requestFunctionFactory(descriptors.userConfirmMfa),
|
|
580
|
-
/** Disable Multi Factor Authentication. */
|
|
581
|
-
disableMfa: this.requestFunctionFactory(descriptors.userDisableMfa),
|
|
582
|
-
/** Confirm password reset. */
|
|
583
|
-
confirmPasswordReset: this.requestFunctionFactory(descriptors.userConfirmPasswordReset),
|
|
584
|
-
/** List all of your ApiTokens. */
|
|
585
|
-
listApiTokens: this.requestFunctionFactory(descriptors.userListApiTokens),
|
|
586
|
-
/** Store a new ApiToken. */
|
|
587
|
-
createApiToken: this.requestFunctionFactory(descriptors.userCreateApiToken),
|
|
588
|
-
/** Submit your user feedback. */
|
|
589
|
-
createFeedback: this.requestFunctionFactory(descriptors.userCreateFeedback),
|
|
590
|
-
/** Get your stored ssh-keys. */
|
|
591
|
-
listSshKeys: this.requestFunctionFactory(descriptors.userListSshKeys),
|
|
592
|
-
/** Store a new ssh-key. */
|
|
593
|
-
createSshKey: this.requestFunctionFactory(descriptors.userCreateSshKey),
|
|
594
|
-
/** Get a specific ApiToken. */
|
|
595
|
-
getApiToken: this.requestFunctionFactory(descriptors.userGetApiToken),
|
|
596
|
-
/** Update an existing `ApiToken`. */
|
|
597
|
-
editApiToken: this.requestFunctionFactory(descriptors.userEditApiToken),
|
|
598
|
-
/** Deletes an ApiToken. */
|
|
599
|
-
deleteApiToken: this.requestFunctionFactory(descriptors.userDeleteApiToken),
|
|
600
|
-
/** Get a specific stored ssh-key. */
|
|
601
|
-
getSshKey: this.requestFunctionFactory(descriptors.userGetSshKey),
|
|
602
|
-
/** Edit a stored ssh-key. */
|
|
603
|
-
editSshKey: this.requestFunctionFactory(descriptors.userEditSshKey),
|
|
604
|
-
/** Remove a ssh-key. */
|
|
605
|
-
deleteSshKey: this.requestFunctionFactory(descriptors.userDeleteSshKey),
|
|
606
|
-
/** Delete your account and all your personal data. */
|
|
607
|
-
deleteUser: this.requestFunctionFactory(descriptors.userDeleteUser),
|
|
608
|
-
/** Get your account information. */
|
|
609
|
-
getOwnAccount: this.requestFunctionFactory(descriptors.userGetOwnAccount),
|
|
610
|
-
/** Update your account information. */
|
|
611
|
-
updateAccount: this.requestFunctionFactory(descriptors.userUpdateAccount),
|
|
612
|
-
/** The timestamp of your latest password change. */
|
|
613
|
-
getPasswordUpdatedAt: this.requestFunctionFactory(descriptors.userGetPasswordUpdatedAt),
|
|
614
|
-
/** Get personalized settings. */
|
|
615
|
-
getPersonalizedSettings: this.requestFunctionFactory(descriptors.userGetPersonalizedSettings),
|
|
616
|
-
/** Update personalized GUI settings. */
|
|
617
|
-
updatePersonalizedSettings: this.requestFunctionFactory(descriptors.userUpdatePersonalizedSettings),
|
|
618
|
-
/** Get a specific session. */
|
|
619
|
-
getSession: this.requestFunctionFactory(descriptors.userGetSession),
|
|
620
|
-
/** Terminate a specific Session. */
|
|
621
|
-
terminateSession: this.requestFunctionFactory(descriptors.userTerminateSession),
|
|
622
|
-
/** Get profile information for a user. */
|
|
623
|
-
getUser: this.requestFunctionFactory(descriptors.userGetUser),
|
|
624
|
-
/** Change personal information. */
|
|
625
|
-
updatePersonalInformation: this.requestFunctionFactory(descriptors.userUpdatePersonalInformation),
|
|
626
|
-
/** Initialize Multi Factor Authentication. If successful, it needs to be confirmed, before usage of mfa. */
|
|
627
|
-
initMfa: this.requestFunctionFactory(descriptors.userInitMfa),
|
|
628
|
-
/** Initialize password reset process. */
|
|
629
|
-
initPasswordReset: this.requestFunctionFactory(descriptors.userInitPasswordReset),
|
|
630
|
-
/** Submitted feedback of the given user. */
|
|
631
|
-
listFeedback: this.requestFunctionFactory(descriptors.userListFeedback),
|
|
632
|
-
/** List all sessions. */
|
|
633
|
-
listSessions: this.requestFunctionFactory(descriptors.userListSessions),
|
|
634
|
-
/** Terminate all sessions, except the current session. */
|
|
635
|
-
terminateAllSessions: this.requestFunctionFactory(descriptors.userTerminateAllSessions),
|
|
636
|
-
/** Terminate session and invalidate access token. */
|
|
637
|
-
logout: this.requestFunctionFactory(descriptors.userLogout),
|
|
638
|
-
/** Register with email and password. */
|
|
639
|
-
register: this.requestFunctionFactory(descriptors.userRegister),
|
|
640
|
-
/** Request a new avatar image upload. */
|
|
641
|
-
requestAvatarUpload: this.requestFunctionFactory(descriptors.userRequestAvatarUpload),
|
|
642
|
-
/** Remove Avatar. */
|
|
643
|
-
removeAvatar: this.requestFunctionFactory(descriptors.userRemoveAvatar),
|
|
644
|
-
/** Resend the Email-Address verification email. */
|
|
645
|
-
resendVerificationEmail: this.requestFunctionFactory(descriptors.userResendVerificationEmail),
|
|
646
|
-
/** Request a support code. */
|
|
647
|
-
supportCodeRequest: this.requestFunctionFactory(descriptors.userSupportCodeRequest),
|
|
648
|
-
/** Verify an added Email-Address. */
|
|
649
|
-
verifyEmail: this.requestFunctionFactory(descriptors.userVerifyEmail),
|
|
650
|
-
/** Verify phone number. */
|
|
651
|
-
verifyPhoneNumber: this.requestFunctionFactory(descriptors.userVerifyPhoneNumber),
|
|
652
|
-
/** Verify your registration. */
|
|
653
|
-
verifyRegistration: this.requestFunctionFactory(descriptors.userVerifyRegistration),
|
|
654
|
-
};
|
|
655
|
-
}
|
|
656
|
-
}
|
|
657
|
-
exports.MittwaldAPIV2Client = MittwaldAPIV2Client;
|
|
658
|
-
exports.default = MittwaldAPIV2Client;
|