@mittwald/api-client 4.52.0 → 4.53.0
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/esm/generated/v2/client-react.js +42 -71
- package/dist/esm/generated/v2/client.js +144 -205
- package/dist/esm/generated/v2/descriptors.js +36 -204
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/v2/client-react.d.ts +342 -493
- package/dist/types/generated/v2/client.d.ts +5136 -5579
- package/dist/types/generated/v2/descriptors.d.ts +321 -377
- package/dist/types/generated/v2/types.d.ts +2707 -2132
- package/dist/types/version.d.ts +1 -1
- package/package.json +2 -2
|
@@ -49,28 +49,6 @@ const buildBackupApi = (baseClient) => ({
|
|
|
49
49
|
/** Get a ProjectBackup. */
|
|
50
50
|
getProjectBackup: new ApiCallAsyncResourceFactory(descriptors.backupGetProjectBackup, baseClient.backup.getProjectBackup).getApiResource,
|
|
51
51
|
});
|
|
52
|
-
const buildContainerApi = (baseClient) => ({
|
|
53
|
-
/** List Registries belonging to a Project. */
|
|
54
|
-
listRegistries: new ApiCallAsyncResourceFactory(descriptors.containerListRegistries, baseClient.container.listRegistries).getApiResource,
|
|
55
|
-
/** Get a Stack. */
|
|
56
|
-
getStack: new ApiCallAsyncResourceFactory(descriptors.containerGetStack, baseClient.container.getStack).getApiResource,
|
|
57
|
-
/** Get a Registry. */
|
|
58
|
-
getRegistry: new ApiCallAsyncResourceFactory(descriptors.containerGetRegistry, baseClient.container.getRegistry).getApiResource,
|
|
59
|
-
/** Get a Volume belonging to a Stack. */
|
|
60
|
-
getVolume: new ApiCallAsyncResourceFactory(descriptors.containerGetVolume, baseClient.container.getVolume).getApiResource,
|
|
61
|
-
/** Get a ContainerImageConfig. */
|
|
62
|
-
getContainerImageConfig: new ApiCallAsyncResourceFactory(descriptors.containerGetContainerImageConfig, baseClient.container.getContainerImageConfig).getApiResource,
|
|
63
|
-
/** Get logs belonging to a Service. */
|
|
64
|
-
getServiceLogs: new ApiCallAsyncResourceFactory(descriptors.containerGetServiceLogs, baseClient.container.getServiceLogs).getApiResource,
|
|
65
|
-
/** Get a Service belonging to a Stack. */
|
|
66
|
-
getService: new ApiCallAsyncResourceFactory(descriptors.containerGetService, baseClient.container.getService).getApiResource,
|
|
67
|
-
/** List Services belonging to a Project. */
|
|
68
|
-
listServices: new ApiCallAsyncResourceFactory(descriptors.containerListServices, baseClient.container.listServices).getApiResource,
|
|
69
|
-
/** List Stacks belonging to a Project. */
|
|
70
|
-
listStacks: new ApiCallAsyncResourceFactory(descriptors.containerListStacks, baseClient.container.listStacks).getApiResource,
|
|
71
|
-
/** List Volumes belonging to a Project. */
|
|
72
|
-
listVolumes: new ApiCallAsyncResourceFactory(descriptors.containerListVolumes, baseClient.container.listVolumes).getApiResource,
|
|
73
|
-
});
|
|
74
52
|
const buildContractApi = (baseClient) => ({
|
|
75
53
|
/** Return the BaseItem of the Contract with the given ID. */
|
|
76
54
|
getBaseItemOfContract: new ApiCallAsyncResourceFactory(descriptors.contractGetBaseItemOfContract, baseClient.contract.getBaseItemOfContract).getApiResource,
|
|
@@ -134,12 +112,8 @@ const buildCronjobApi = (baseClient) => ({
|
|
|
134
112
|
getExecution: new ApiCallAsyncResourceFactory(descriptors.cronjobGetExecution, baseClient.cronjob.getExecution).getApiResource,
|
|
135
113
|
});
|
|
136
114
|
const buildCustomerApi = (baseClient) => ({
|
|
137
|
-
/** Get all customer categories. */
|
|
138
|
-
listOfCustomerCategories: new ApiCallAsyncResourceFactory(descriptors.customerListOfCustomerCategories, baseClient.customer.listOfCustomerCategories).getApiResource,
|
|
139
115
|
/** Get all customer profiles the authenticated user has access to. */
|
|
140
116
|
listCustomers: new ApiCallAsyncResourceFactory(descriptors.customerListCustomers, baseClient.customer.listCustomers).getApiResource,
|
|
141
|
-
/** Get a customer category. */
|
|
142
|
-
getCustomerCategory: new ApiCallAsyncResourceFactory(descriptors.customerGetCustomerCategory, baseClient.customer.getCustomerCategory).getApiResource,
|
|
143
117
|
/** Get a CustomerInvite. */
|
|
144
118
|
getCustomerInvite: new ApiCallAsyncResourceFactory(descriptors.customerGetCustomerInvite, baseClient.customer.getCustomerInvite).getApiResource,
|
|
145
119
|
/** Get a CustomerMembership. */
|
|
@@ -196,6 +170,8 @@ const buildDomainApi = (baseClient) => ({
|
|
|
196
170
|
listTldContactSchemas: new ApiCallAsyncResourceFactory(descriptors.domainListTldContactSchemas, baseClient.domain.listTldContactSchemas).getApiResource,
|
|
197
171
|
/** List TLDs. */
|
|
198
172
|
listTlds: new ApiCallAsyncResourceFactory(descriptors.domainListTlds, baseClient.domain.listTlds).getApiResource,
|
|
173
|
+
/** Suggest a list of domains based on a prompt using AI. */
|
|
174
|
+
suggest: new ApiCallAsyncResourceFactory(descriptors.domainSuggest, baseClient.domain.suggest).getApiResource,
|
|
199
175
|
/** List Ingresses. */
|
|
200
176
|
ingressListIngresses: new ApiCallAsyncResourceFactory(descriptors.ingressListIngresses, baseClient.domain.ingressListIngresses).getApiResource,
|
|
201
177
|
/** Get an Ingress. */
|
|
@@ -240,10 +216,6 @@ const buildMailApi = (baseClient) => ({
|
|
|
240
216
|
getMailAddress: new ApiCallAsyncResourceFactory(descriptors.mailGetMailAddress, baseClient.mail.getMailAddress).getApiResource,
|
|
241
217
|
/** List mail settings of a Project. */
|
|
242
218
|
listProjectMailSettings: new ApiCallAsyncResourceFactory(descriptors.mailListProjectMailSettings, baseClient.mail.listProjectMailSettings).getApiResource,
|
|
243
|
-
/** Get a Migration. */
|
|
244
|
-
migrationGetMigration: new ApiCallAsyncResourceFactory(descriptors.mailMigrationGetMigration, baseClient.mail.migrationGetMigration).getApiResource,
|
|
245
|
-
/** List Migrations belonging to a Project in customer center or mStudio. */
|
|
246
|
-
migrationListMigrations: new ApiCallAsyncResourceFactory(descriptors.mailMigrationListMigrations, baseClient.mail.migrationListMigrations).getApiResource,
|
|
247
219
|
});
|
|
248
220
|
const buildNotificationApi = (baseClient) => ({
|
|
249
221
|
/** Getting the subscription status of the subscription. */
|
|
@@ -261,6 +233,42 @@ const buildPageInsightsApi = (baseClient) => ({
|
|
|
261
233
|
/** List websites (specified as domain and path) from a project where performance data is available. */
|
|
262
234
|
pageinsightsListPerformanceDataForProject: new ApiCallAsyncResourceFactory(descriptors.pageinsightsListPerformanceDataForProject, baseClient.pageInsights.pageinsightsListPerformanceDataForProject).getApiResource,
|
|
263
235
|
});
|
|
236
|
+
const buildUserApi = (baseClient) => ({
|
|
237
|
+
/** Get a PasswordPolicy. */
|
|
238
|
+
passwordValidationGetPasswordPolicy: new ApiCallAsyncResourceFactory(descriptors.passwordValidationGetPasswordPolicy, baseClient.user.passwordValidationGetPasswordPolicy).getApiResource,
|
|
239
|
+
/** Get your verified Email-Address. */
|
|
240
|
+
getOwnEmail: new ApiCallAsyncResourceFactory(descriptors.userGetOwnEmail, baseClient.user.getOwnEmail).getApiResource,
|
|
241
|
+
/** Get your current multi factor auth status. */
|
|
242
|
+
getMfaStatus: new ApiCallAsyncResourceFactory(descriptors.userGetMfaStatus, baseClient.user.getMfaStatus).getApiResource,
|
|
243
|
+
/** List all of your ApiTokens. */
|
|
244
|
+
listApiTokens: new ApiCallAsyncResourceFactory(descriptors.userListApiTokens, baseClient.user.listApiTokens).getApiResource,
|
|
245
|
+
/** Get your stored ssh-keys. */
|
|
246
|
+
listSshKeys: new ApiCallAsyncResourceFactory(descriptors.userListSshKeys, baseClient.user.listSshKeys).getApiResource,
|
|
247
|
+
/** Get a specific ApiToken. */
|
|
248
|
+
getApiToken: new ApiCallAsyncResourceFactory(descriptors.userGetApiToken, baseClient.user.getApiToken).getApiResource,
|
|
249
|
+
/** Get a specific stored ssh-key. */
|
|
250
|
+
getSshKey: new ApiCallAsyncResourceFactory(descriptors.userGetSshKey, baseClient.user.getSshKey).getApiResource,
|
|
251
|
+
/** Get your account information. */
|
|
252
|
+
getOwnAccount: new ApiCallAsyncResourceFactory(descriptors.userGetOwnAccount, baseClient.user.getOwnAccount).getApiResource,
|
|
253
|
+
/** The timestamp of your latest password change. */
|
|
254
|
+
getPasswordUpdatedAt: new ApiCallAsyncResourceFactory(descriptors.userGetPasswordUpdatedAt, baseClient.user.getPasswordUpdatedAt).getApiResource,
|
|
255
|
+
/** Get personalized settings. */
|
|
256
|
+
getPersonalizedSettings: new ApiCallAsyncResourceFactory(descriptors.userGetPersonalizedSettings, baseClient.user.getPersonalizedSettings).getApiResource,
|
|
257
|
+
/** Get poll settings for the specified user. */
|
|
258
|
+
getPollStatus: new ApiCallAsyncResourceFactory(descriptors.userGetPollStatus, baseClient.user.getPollStatus).getApiResource,
|
|
259
|
+
/** Get a specific session. */
|
|
260
|
+
getSession: new ApiCallAsyncResourceFactory(descriptors.userGetSession, baseClient.user.getSession).getApiResource,
|
|
261
|
+
/** Get profile information for a user. */
|
|
262
|
+
getUser: new ApiCallAsyncResourceFactory(descriptors.userGetUser, baseClient.user.getUser).getApiResource,
|
|
263
|
+
/** Submitted feedback of the given user. */
|
|
264
|
+
listFeedback: new ApiCallAsyncResourceFactory(descriptors.userListFeedback, baseClient.user.listFeedback).getApiResource,
|
|
265
|
+
/** List all sessions. */
|
|
266
|
+
listSessions: new ApiCallAsyncResourceFactory(descriptors.userListSessions, baseClient.user.listSessions).getApiResource,
|
|
267
|
+
/** Obtain authorization from the resource owner. */
|
|
268
|
+
oauthGetAuthorization: new ApiCallAsyncResourceFactory(descriptors.userOauthGetAuthorization, baseClient.user.oauthGetAuthorization).getApiResource,
|
|
269
|
+
/** Request a support code. */
|
|
270
|
+
supportCodeRequest: new ApiCallAsyncResourceFactory(descriptors.userSupportCodeRequest, baseClient.user.supportCodeRequest).getApiResource,
|
|
271
|
+
});
|
|
264
272
|
const buildProjectApi = (baseClient) => ({
|
|
265
273
|
/** List Invites belonging to a Project. */
|
|
266
274
|
listInvitesForProject: new ApiCallAsyncResourceFactory(descriptors.projectListInvitesForProject, baseClient.project.listInvitesForProject).getApiResource,
|
|
@@ -309,40 +317,6 @@ const buildSshsftpUserApi = (baseClient) => ({
|
|
|
309
317
|
/** Get an SSHUser. */
|
|
310
318
|
sshUserGetSshUser: new ApiCallAsyncResourceFactory(descriptors.sshUserGetSshUser, baseClient.sshsftpUser.sshUserGetSshUser).getApiResource,
|
|
311
319
|
});
|
|
312
|
-
const buildUserApi = (baseClient) => ({
|
|
313
|
-
/** Get your verified Email-Address. */
|
|
314
|
-
getOwnEmail: new ApiCallAsyncResourceFactory(descriptors.userGetOwnEmail, baseClient.user.getOwnEmail).getApiResource,
|
|
315
|
-
/** Get your current multi factor auth status. */
|
|
316
|
-
getMfaStatus: new ApiCallAsyncResourceFactory(descriptors.userGetMfaStatus, baseClient.user.getMfaStatus).getApiResource,
|
|
317
|
-
/** List all of your ApiTokens. */
|
|
318
|
-
listApiTokens: new ApiCallAsyncResourceFactory(descriptors.userListApiTokens, baseClient.user.listApiTokens).getApiResource,
|
|
319
|
-
/** Get your stored ssh-keys. */
|
|
320
|
-
listSshKeys: new ApiCallAsyncResourceFactory(descriptors.userListSshKeys, baseClient.user.listSshKeys).getApiResource,
|
|
321
|
-
/** Get a specific ApiToken. */
|
|
322
|
-
getApiToken: new ApiCallAsyncResourceFactory(descriptors.userGetApiToken, baseClient.user.getApiToken).getApiResource,
|
|
323
|
-
/** Get a specific stored ssh-key. */
|
|
324
|
-
getSshKey: new ApiCallAsyncResourceFactory(descriptors.userGetSshKey, baseClient.user.getSshKey).getApiResource,
|
|
325
|
-
/** Get your account information. */
|
|
326
|
-
getOwnAccount: new ApiCallAsyncResourceFactory(descriptors.userGetOwnAccount, baseClient.user.getOwnAccount).getApiResource,
|
|
327
|
-
/** The timestamp of your latest password change. */
|
|
328
|
-
getPasswordUpdatedAt: new ApiCallAsyncResourceFactory(descriptors.userGetPasswordUpdatedAt, baseClient.user.getPasswordUpdatedAt).getApiResource,
|
|
329
|
-
/** Get personalized settings. */
|
|
330
|
-
getPersonalizedSettings: new ApiCallAsyncResourceFactory(descriptors.userGetPersonalizedSettings, baseClient.user.getPersonalizedSettings).getApiResource,
|
|
331
|
-
/** Get poll settings for the specified user. */
|
|
332
|
-
getPollStatus: new ApiCallAsyncResourceFactory(descriptors.userGetPollStatus, baseClient.user.getPollStatus).getApiResource,
|
|
333
|
-
/** Get a specific session. */
|
|
334
|
-
getSession: new ApiCallAsyncResourceFactory(descriptors.userGetSession, baseClient.user.getSession).getApiResource,
|
|
335
|
-
/** Get profile information for a user. */
|
|
336
|
-
getUser: new ApiCallAsyncResourceFactory(descriptors.userGetUser, baseClient.user.getUser).getApiResource,
|
|
337
|
-
/** Submitted feedback of the given user. */
|
|
338
|
-
listFeedback: new ApiCallAsyncResourceFactory(descriptors.userListFeedback, baseClient.user.listFeedback).getApiResource,
|
|
339
|
-
/** List all sessions. */
|
|
340
|
-
listSessions: new ApiCallAsyncResourceFactory(descriptors.userListSessions, baseClient.user.listSessions).getApiResource,
|
|
341
|
-
/** Obtain authorization from the resource owner. */
|
|
342
|
-
oauthGetAuthorization: new ApiCallAsyncResourceFactory(descriptors.userOauthGetAuthorization, baseClient.user.oauthGetAuthorization).getApiResource,
|
|
343
|
-
/** Request a support code. */
|
|
344
|
-
supportCodeRequest: new ApiCallAsyncResourceFactory(descriptors.userSupportCodeRequest, baseClient.user.supportCodeRequest).getApiResource,
|
|
345
|
-
});
|
|
346
320
|
export class MittwaldAPIV2ClientReact {
|
|
347
321
|
/** The App API allows you to manage your apps within a project, and all the system softwares that are installed as dependencies. */
|
|
348
322
|
app;
|
|
@@ -350,8 +324,6 @@ export class MittwaldAPIV2ClientReact {
|
|
|
350
324
|
article;
|
|
351
325
|
/** The backup API allows you to manage your project backups. */
|
|
352
326
|
backup;
|
|
353
|
-
/** The container API allows you to manage your stacks, containers, volumes and registries. */
|
|
354
|
-
container;
|
|
355
327
|
/** The contract API allows you to manage your contracts and orders */
|
|
356
328
|
contract;
|
|
357
329
|
/** The conversation API allows you to manage your support conversations. */
|
|
@@ -362,7 +334,7 @@ export class MittwaldAPIV2ClientReact {
|
|
|
362
334
|
customer;
|
|
363
335
|
/** The database API allows you to manage your databases, like MySQL and Redis databases. */
|
|
364
336
|
database;
|
|
365
|
-
/** The domain API allows you to manage your domains, DNS records and ingress resources. */
|
|
337
|
+
/** The domain API allows you to manage your domains, DNS records, SSL certificates and ingress resources. */
|
|
366
338
|
domain;
|
|
367
339
|
/** The marketplace API allows you to manage extensions and more information regaring the marketplace. */
|
|
368
340
|
marketplace;
|
|
@@ -374,19 +346,18 @@ export class MittwaldAPIV2ClientReact {
|
|
|
374
346
|
notification;
|
|
375
347
|
/** The page insights API allows you to get page insights information. */
|
|
376
348
|
pageInsights;
|
|
349
|
+
/** The user API allows you to manage your own user and access information of other users that might be visible to you. */
|
|
350
|
+
user;
|
|
377
351
|
/** The project API allows you to manage your projects, and also any kinds of user memberships concerning these projects. */
|
|
378
352
|
project;
|
|
379
353
|
/** The filesystem API allows you to directly access the filesystem of your project. */
|
|
380
354
|
projectFileSystem;
|
|
381
355
|
/** The SSH/SFTP User API allows you to manage your SSH/SFTP users within a project. */
|
|
382
356
|
sshsftpUser;
|
|
383
|
-
/** The user API allows you to manage your own user and access information of other users that might be visible to you. */
|
|
384
|
-
user;
|
|
385
357
|
constructor(baseClient) {
|
|
386
358
|
this.app = buildAppApi(baseClient);
|
|
387
359
|
this.article = buildArticleApi(baseClient);
|
|
388
360
|
this.backup = buildBackupApi(baseClient);
|
|
389
|
-
this.container = buildContainerApi(baseClient);
|
|
390
361
|
this.contract = buildContractApi(baseClient);
|
|
391
362
|
this.conversation = buildConversationApi(baseClient);
|
|
392
363
|
this.cronjob = buildCronjobApi(baseClient);
|
|
@@ -398,10 +369,10 @@ export class MittwaldAPIV2ClientReact {
|
|
|
398
369
|
this.mail = buildMailApi(baseClient);
|
|
399
370
|
this.notification = buildNotificationApi(baseClient);
|
|
400
371
|
this.pageInsights = buildPageInsightsApi(baseClient);
|
|
372
|
+
this.user = buildUserApi(baseClient);
|
|
401
373
|
this.project = buildProjectApi(baseClient);
|
|
402
374
|
this.projectFileSystem = buildProjectFileSystemApi(baseClient);
|
|
403
375
|
this.sshsftpUser = buildSshsftpUserApi(baseClient);
|
|
404
|
-
this.user = buildUserApi(baseClient);
|
|
405
376
|
}
|
|
406
377
|
static fromBaseClient(baseClient) {
|
|
407
378
|
return new MittwaldAPIV2ClientReact(baseClient);
|
|
@@ -44,6 +44,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
44
44
|
listSystemsoftwareversions: this.requestFunctionFactory(descriptors.appListSystemsoftwareversions),
|
|
45
45
|
/** List update candidates belonging to an AppVersion. */
|
|
46
46
|
listUpdateCandidatesForAppversion: this.requestFunctionFactory(descriptors.appListUpdateCandidatesForAppversion),
|
|
47
|
+
/** Replace a MySQL Database with another MySQL Database. */
|
|
48
|
+
replaceDatabase: this.requestFunctionFactory(descriptors.appReplaceDatabase),
|
|
47
49
|
/** Request a copy of an AppInstallation. */
|
|
48
50
|
requestAppinstallationCopy: this.requestFunctionFactory(descriptors.appRequestAppinstallationCopy),
|
|
49
51
|
/** Get runtime status belonging to an AppInstallation. */
|
|
@@ -87,53 +89,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
87
89
|
/** Change the description of a ProjectBackup. */
|
|
88
90
|
updateProjectBackupDescription: this.requestFunctionFactory(descriptors.backupUpdateProjectBackupDescription),
|
|
89
91
|
};
|
|
90
|
-
/** The container API allows you to manage your stacks, containers, volumes and registries. */
|
|
91
|
-
container = {
|
|
92
|
-
/** List Registries belonging to a Project. */
|
|
93
|
-
listRegistries: this.requestFunctionFactory(descriptors.containerListRegistries),
|
|
94
|
-
/** Create a Registry. */
|
|
95
|
-
createRegistry: this.requestFunctionFactory(descriptors.containerCreateRegistry),
|
|
96
|
-
/** Get a Stack. */
|
|
97
|
-
getStack: this.requestFunctionFactory(descriptors.containerGetStack),
|
|
98
|
-
/** Declaratively create, update or delete Services or Volumes belonging to a Stack. */
|
|
99
|
-
declareStack: this.requestFunctionFactory(descriptors.containerDeclareStack),
|
|
100
|
-
/** Create, update or delete Services or Volumes belonging to a Stack. */
|
|
101
|
-
updateStack: this.requestFunctionFactory(descriptors.containerUpdateStack),
|
|
102
|
-
/** Get a Registry. */
|
|
103
|
-
getRegistry: this.requestFunctionFactory(descriptors.containerGetRegistry),
|
|
104
|
-
/** Delete a Registry. */
|
|
105
|
-
deleteRegistry: this.requestFunctionFactory(descriptors.containerDeleteRegistry),
|
|
106
|
-
/** Update a Registry. */
|
|
107
|
-
updateRegistry: this.requestFunctionFactory(descriptors.containerUpdateRegistry),
|
|
108
|
-
/** Get a Volume belonging to a Stack. */
|
|
109
|
-
getVolume: this.requestFunctionFactory(descriptors.containerGetVolume),
|
|
110
|
-
/** Delete a Volume belonging to a Stack. */
|
|
111
|
-
deleteVolume: this.requestFunctionFactory(descriptors.containerDeleteVolume),
|
|
112
|
-
/** Get a ContainerImageConfig. */
|
|
113
|
-
getContainerImageConfig: this.requestFunctionFactory(descriptors.containerGetContainerImageConfig),
|
|
114
|
-
/** Get logs belonging to a Service. */
|
|
115
|
-
getServiceLogs: this.requestFunctionFactory(descriptors.containerGetServiceLogs),
|
|
116
|
-
/** Get a Service belonging to a Stack. */
|
|
117
|
-
getService: this.requestFunctionFactory(descriptors.containerGetService),
|
|
118
|
-
/** List Services belonging to a Project. */
|
|
119
|
-
listServices: this.requestFunctionFactory(descriptors.containerListServices),
|
|
120
|
-
/** List Stacks belonging to a Project. */
|
|
121
|
-
listStacks: this.requestFunctionFactory(descriptors.containerListStacks),
|
|
122
|
-
/** List Volumes belonging to a Project. */
|
|
123
|
-
listVolumes: this.requestFunctionFactory(descriptors.containerListVolumes),
|
|
124
|
-
/** Recreate a Service. */
|
|
125
|
-
recreateService: this.requestFunctionFactory(descriptors.containerRecreateService),
|
|
126
|
-
/** Restart a started Service. */
|
|
127
|
-
restartService: this.requestFunctionFactory(descriptors.containerRestartService),
|
|
128
|
-
/** Start a stopped Service. */
|
|
129
|
-
startService: this.requestFunctionFactory(descriptors.containerStartService),
|
|
130
|
-
/** Stop a started Service. */
|
|
131
|
-
stopService: this.requestFunctionFactory(descriptors.containerStopService),
|
|
132
|
-
/** Validate a Registries' URI. */
|
|
133
|
-
validateContainerRegistryUri: this.requestFunctionFactory(descriptors.containerValidateContainerRegistryUri),
|
|
134
|
-
/** Validate a Registries' credentials. */
|
|
135
|
-
validateRegistryCredentials: this.requestFunctionFactory(descriptors.containerValidateRegistryCredentials),
|
|
136
|
-
};
|
|
137
92
|
/** The contract API allows you to manage your contracts and orders */
|
|
138
93
|
contract = {
|
|
139
94
|
/** Schedule the Termination of a ContractItem. */
|
|
@@ -189,6 +144,41 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
189
144
|
/** Preview TariffChange. */
|
|
190
145
|
orderPreviewTariffChange: this.requestFunctionFactory(descriptors.orderPreviewTariffChange),
|
|
191
146
|
};
|
|
147
|
+
/** The marketplace API allows you to manage extensions and more information regaring the marketplace. */
|
|
148
|
+
marketplace = {
|
|
149
|
+
/** Rotate the secret for an extension instance. */
|
|
150
|
+
contributorRotateSecretForExtensionInstance: this.requestFunctionFactory(descriptors.contributorRotateSecretForExtensionInstance),
|
|
151
|
+
/** Authenticate your external application using the extensionInstanceSecret. */
|
|
152
|
+
extensionAuthenticateInstance: this.requestFunctionFactory(descriptors.extensionAuthenticateInstance),
|
|
153
|
+
/** Consent to extension scopes. */
|
|
154
|
+
extensionConsentToExtensionScopes: this.requestFunctionFactory(descriptors.extensionConsentToExtensionScopes),
|
|
155
|
+
/** List ExtensionInstances. */
|
|
156
|
+
extensionListExtensionInstances: this.requestFunctionFactory(descriptors.extensionListExtensionInstances),
|
|
157
|
+
/** Create an ExtensionInstance. */
|
|
158
|
+
extensionCreateExtensionInstance: this.requestFunctionFactory(descriptors.extensionCreateExtensionInstance),
|
|
159
|
+
/** Create an access token retrieval key for an extension instance. */
|
|
160
|
+
extensionCreateRetrievalKey: this.requestFunctionFactory(descriptors.extensionCreateRetrievalKey),
|
|
161
|
+
/** Get an ExtensionInstance. */
|
|
162
|
+
extensionGetExtensionInstance: this.requestFunctionFactory(descriptors.extensionGetExtensionInstance),
|
|
163
|
+
/** Delete an ExtensionInstance. */
|
|
164
|
+
extensionDeleteExtensionInstance: this.requestFunctionFactory(descriptors.extensionDeleteExtensionInstance),
|
|
165
|
+
/** Disable an ExtensionInstance. */
|
|
166
|
+
extensionDisableExtensionInstance: this.requestFunctionFactory(descriptors.extensionDisableExtensionInstance),
|
|
167
|
+
/** Dry run a webhook with random or given values. */
|
|
168
|
+
extensionDryRunWebhook: this.requestFunctionFactory(descriptors.extensionDryRunWebhook),
|
|
169
|
+
/** Enable an ExtensionInstance. */
|
|
170
|
+
extensionEnableExtensionInstance: this.requestFunctionFactory(descriptors.extensionEnableExtensionInstance),
|
|
171
|
+
/** Get a Contributor. */
|
|
172
|
+
extensionGetContributor: this.requestFunctionFactory(descriptors.extensionGetContributor),
|
|
173
|
+
/** Get an Extension. */
|
|
174
|
+
extensionGetExtension: this.requestFunctionFactory(descriptors.extensionGetExtension),
|
|
175
|
+
/** Get the public key to verify the webhook signature. */
|
|
176
|
+
extensionGetPublicKey: this.requestFunctionFactory(descriptors.extensionGetPublicKey),
|
|
177
|
+
/** List Contributors. */
|
|
178
|
+
extensionListContributors: this.requestFunctionFactory(descriptors.extensionListContributors),
|
|
179
|
+
/** List Extensions. */
|
|
180
|
+
extensionListExtensions: this.requestFunctionFactory(descriptors.extensionListExtensions),
|
|
181
|
+
};
|
|
192
182
|
/** The conversation API allows you to manage your support conversations. */
|
|
193
183
|
conversation = {
|
|
194
184
|
/** Get all conversation the authenticated user has created or has access to. */
|
|
@@ -247,10 +237,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
247
237
|
customer = {
|
|
248
238
|
/** Accept a CustomerInvite. */
|
|
249
239
|
acceptCustomerInvite: this.requestFunctionFactory(descriptors.customerAcceptCustomerInvite),
|
|
250
|
-
/** Get all customer categories. */
|
|
251
|
-
listOfCustomerCategories: this.requestFunctionFactory(descriptors.customerListOfCustomerCategories),
|
|
252
|
-
/** Create a new customer category. */
|
|
253
|
-
createCategory: this.requestFunctionFactory(descriptors.customerCreateCategory),
|
|
254
240
|
/** Create a CustomerInvite. */
|
|
255
241
|
createCustomerInvite: this.requestFunctionFactory(descriptors.customerCreateCustomerInvite),
|
|
256
242
|
/** Get all customer profiles the authenticated user has access to. */
|
|
@@ -259,12 +245,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
259
245
|
createCustomer: this.requestFunctionFactory(descriptors.customerCreateCustomer),
|
|
260
246
|
/** Decline a CustomerInvite. */
|
|
261
247
|
declineCustomerInvite: this.requestFunctionFactory(descriptors.customerDeclineCustomerInvite),
|
|
262
|
-
/** Get a customer category. */
|
|
263
|
-
getCustomerCategory: this.requestFunctionFactory(descriptors.customerGetCustomerCategory),
|
|
264
|
-
/** Update a customer category. */
|
|
265
|
-
updateCategory: this.requestFunctionFactory(descriptors.customerUpdateCategory),
|
|
266
|
-
/** Delete a customer category. */
|
|
267
|
-
deleteCategory: this.requestFunctionFactory(descriptors.customerDeleteCategory),
|
|
268
248
|
/** Get a CustomerInvite. */
|
|
269
249
|
getCustomerInvite: this.requestFunctionFactory(descriptors.customerGetCustomerInvite),
|
|
270
250
|
/** Delete a CustomerInvite. */
|
|
@@ -370,7 +350,7 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
370
350
|
/** Mark notification as read. */
|
|
371
351
|
sreadNotification: this.requestFunctionFactory(descriptors.notificationsReadNotification),
|
|
372
352
|
};
|
|
373
|
-
/** The domain API allows you to manage your domains, DNS records and ingress resources. */
|
|
353
|
+
/** The domain API allows you to manage your domains, DNS records, SSL certificates and ingress resources. */
|
|
374
354
|
domain = {
|
|
375
355
|
/** Create a DNSZone. */
|
|
376
356
|
dnsCreateDnsZone: this.requestFunctionFactory(descriptors.dnsCreateDnsZone),
|
|
@@ -400,10 +380,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
400
380
|
getDomain: this.requestFunctionFactory(descriptors.domainGetDomain),
|
|
401
381
|
/** Delete a Domain. */
|
|
402
382
|
deleteDomain: this.requestFunctionFactory(descriptors.domainDeleteDomain),
|
|
403
|
-
/** Generate a list of domains from an input using AI. */
|
|
404
|
-
generateFromInput: this.requestFunctionFactory(descriptors.domainGenerateFromInput),
|
|
405
|
-
/** Generate a list of domains from an input using AI, based on previously generated Domains and a context modification. */
|
|
406
|
-
generateInContext: this.requestFunctionFactory(descriptors.domainGenerateInContext),
|
|
407
383
|
/** Get the latest screenshot's FileReference belonging to a Domain. */
|
|
408
384
|
getLatestScreenshot: this.requestFunctionFactory(descriptors.domainGetLatestScreenshot),
|
|
409
385
|
/** List the contact schemas for a TLD. */
|
|
@@ -412,6 +388,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
412
388
|
listTlds: this.requestFunctionFactory(descriptors.domainListTlds),
|
|
413
389
|
/** Resend a Domain email. */
|
|
414
390
|
resendDomainEmail: this.requestFunctionFactory(descriptors.domainResendDomainEmail),
|
|
391
|
+
/** Suggest a list of domains based on a prompt using AI. */
|
|
392
|
+
suggest: this.requestFunctionFactory(descriptors.domainSuggest),
|
|
415
393
|
/** Update the auth code of a Domain. */
|
|
416
394
|
updateDomainAuthCode: this.requestFunctionFactory(descriptors.domainUpdateDomainAuthCode),
|
|
417
395
|
/** Update a contact of a Domain. */
|
|
@@ -435,39 +413,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
435
413
|
/** Update the tls settings of an Ingress. */
|
|
436
414
|
ingressUpdateIngressTls: this.requestFunctionFactory(descriptors.ingressUpdateIngressTls),
|
|
437
415
|
};
|
|
438
|
-
/** The marketplace API allows you to manage extensions and more information regaring the marketplace. */
|
|
439
|
-
marketplace = {
|
|
440
|
-
/** Authenticate your external application using the extensionInstanceSecret. */
|
|
441
|
-
extensionAuthenticateInstance: this.requestFunctionFactory(descriptors.extensionAuthenticateInstance),
|
|
442
|
-
/** Consent to extension scopes. */
|
|
443
|
-
extensionConsentToExtensionScopes: this.requestFunctionFactory(descriptors.extensionConsentToExtensionScopes),
|
|
444
|
-
/** List ExtensionInstances. */
|
|
445
|
-
extensionListExtensionInstances: this.requestFunctionFactory(descriptors.extensionListExtensionInstances),
|
|
446
|
-
/** Create an ExtensionInstance. */
|
|
447
|
-
extensionCreateExtensionInstance: this.requestFunctionFactory(descriptors.extensionCreateExtensionInstance),
|
|
448
|
-
/** Create an access token retrieval key for an extension instance. */
|
|
449
|
-
extensionCreateRetrievalKey: this.requestFunctionFactory(descriptors.extensionCreateRetrievalKey),
|
|
450
|
-
/** Get an ExtensionInstance. */
|
|
451
|
-
extensionGetExtensionInstance: this.requestFunctionFactory(descriptors.extensionGetExtensionInstance),
|
|
452
|
-
/** Delete an ExtensionInstance. */
|
|
453
|
-
extensionDeleteExtensionInstance: this.requestFunctionFactory(descriptors.extensionDeleteExtensionInstance),
|
|
454
|
-
/** Disable an ExtensionInstance. */
|
|
455
|
-
extensionDisableExtensionInstance: this.requestFunctionFactory(descriptors.extensionDisableExtensionInstance),
|
|
456
|
-
/** Enable an ExtensionInstance. */
|
|
457
|
-
extensionEnableExtensionInstance: this.requestFunctionFactory(descriptors.extensionEnableExtensionInstance),
|
|
458
|
-
/** Get a Contributor. */
|
|
459
|
-
extensionGetContributor: this.requestFunctionFactory(descriptors.extensionGetContributor),
|
|
460
|
-
/** Get an Extension. */
|
|
461
|
-
extensionGetExtension: this.requestFunctionFactory(descriptors.extensionGetExtension),
|
|
462
|
-
/** Get the public key to verify the webhook signature. */
|
|
463
|
-
extensionGetPublicKey: this.requestFunctionFactory(descriptors.extensionGetPublicKey),
|
|
464
|
-
/** List Contributors. */
|
|
465
|
-
extensionListContributors: this.requestFunctionFactory(descriptors.extensionListContributors),
|
|
466
|
-
/** List Extensions. */
|
|
467
|
-
extensionListExtensions: this.requestFunctionFactory(descriptors.extensionListExtensions),
|
|
468
|
-
/** Rotate the secret for an extension instance. */
|
|
469
|
-
contributorRotateSecretForExtensionInstance: this.requestFunctionFactory(descriptors.contributorRotateSecretForExtensionInstance),
|
|
470
|
-
};
|
|
471
416
|
/** The file API allows you to manage your files, for example for conversations attachments and avatar uploads. */
|
|
472
417
|
file = {
|
|
473
418
|
/** Create a File. */
|
|
@@ -503,14 +448,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
503
448
|
deleteMailAddress: this.requestFunctionFactory(descriptors.mailDeleteMailAddress),
|
|
504
449
|
/** List mail settings of a Project. */
|
|
505
450
|
listProjectMailSettings: this.requestFunctionFactory(descriptors.mailListProjectMailSettings),
|
|
506
|
-
/** Check if a Migration between two projects is possible. */
|
|
507
|
-
migrationCheckMigrationIsPossible: this.requestFunctionFactory(descriptors.mailMigrationCheckMigrationIsPossible),
|
|
508
|
-
/** Get a Migration. */
|
|
509
|
-
migrationGetMigration: this.requestFunctionFactory(descriptors.mailMigrationGetMigration),
|
|
510
|
-
/** List Migrations belonging to a Project in customer center or mStudio. */
|
|
511
|
-
migrationListMigrations: this.requestFunctionFactory(descriptors.mailMigrationListMigrations),
|
|
512
|
-
/** Request a Mail Migration between two projects. */
|
|
513
|
-
migrationRequestMailMigration: this.requestFunctionFactory(descriptors.mailMigrationRequestMailMigration),
|
|
514
451
|
/** Update the description of a DeliveryBox. */
|
|
515
452
|
updateDeliveryBoxDescription: this.requestFunctionFactory(descriptors.mailUpdateDeliveryBoxDescription),
|
|
516
453
|
/** Update the password of a DeliveryBox. */
|
|
@@ -543,110 +480,10 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
543
480
|
/** Schedule a strace measurement for a single http request. */
|
|
544
481
|
pageinsightsScheduleStrace: this.requestFunctionFactory(descriptors.pageinsightsScheduleStrace),
|
|
545
482
|
};
|
|
546
|
-
/** The project API allows you to manage your projects, and also any kinds of user memberships concerning these projects. */
|
|
547
|
-
project = {
|
|
548
|
-
/** Accept a ProjectInvite. */
|
|
549
|
-
acceptProjectInvite: this.requestFunctionFactory(descriptors.projectAcceptProjectInvite),
|
|
550
|
-
/** List Invites belonging to a Project. */
|
|
551
|
-
listInvitesForProject: this.requestFunctionFactory(descriptors.projectListInvitesForProject),
|
|
552
|
-
/** Create a ProjectInvite. */
|
|
553
|
-
createProjectInvite: this.requestFunctionFactory(descriptors.projectCreateProjectInvite),
|
|
554
|
-
/** Create a Project belonging to a Server. */
|
|
555
|
-
createProject: this.requestFunctionFactory(descriptors.projectCreateProject),
|
|
556
|
-
/** Decline a ProjectInvite. */
|
|
557
|
-
declineProjectInvite: this.requestFunctionFactory(descriptors.projectDeclineProjectInvite),
|
|
558
|
-
/** Request a Project avatar upload. */
|
|
559
|
-
requestProjectAvatarUpload: this.requestFunctionFactory(descriptors.projectRequestProjectAvatarUpload),
|
|
560
|
-
/** Delete a Project's avatar. */
|
|
561
|
-
deleteProjectAvatar: this.requestFunctionFactory(descriptors.projectDeleteProjectAvatar),
|
|
562
|
-
/** Get a ProjectInvite. */
|
|
563
|
-
getProjectInvite: this.requestFunctionFactory(descriptors.projectGetProjectInvite),
|
|
564
|
-
/** Delete a ProjectInvite. */
|
|
565
|
-
deleteProjectInvite: this.requestFunctionFactory(descriptors.projectDeleteProjectInvite),
|
|
566
|
-
/** Get a ProjectMembership */
|
|
567
|
-
getProjectMembership: this.requestFunctionFactory(descriptors.projectGetProjectMembership),
|
|
568
|
-
/** Delete a ProjectMembership. */
|
|
569
|
-
deleteProjectMembership: this.requestFunctionFactory(descriptors.projectDeleteProjectMembership),
|
|
570
|
-
/** Update a ProjectMembership. */
|
|
571
|
-
updateProjectMembership: this.requestFunctionFactory(descriptors.projectUpdateProjectMembership),
|
|
572
|
-
/** Get a Project. */
|
|
573
|
-
getProject: this.requestFunctionFactory(descriptors.projectGetProject),
|
|
574
|
-
/** Delete a Project. */
|
|
575
|
-
deleteProject: this.requestFunctionFactory(descriptors.projectDeleteProject),
|
|
576
|
-
/** Request a Server avatar upload. */
|
|
577
|
-
requestServerAvatarUpload: this.requestFunctionFactory(descriptors.projectRequestServerAvatarUpload),
|
|
578
|
-
/** Delete a Server's avatar. */
|
|
579
|
-
deleteServerAvatar: this.requestFunctionFactory(descriptors.projectDeleteServerAvatar),
|
|
580
|
-
/** Get a ProjectInvite by token. */
|
|
581
|
-
getProjectTokenInvite: this.requestFunctionFactory(descriptors.projectGetProjectTokenInvite),
|
|
582
|
-
/** Get the executing user's membership in a Project. */
|
|
583
|
-
getSelfMembershipForProject: this.requestFunctionFactory(descriptors.projectGetSelfMembershipForProject),
|
|
584
|
-
/** Get a Server. */
|
|
585
|
-
getServer: this.requestFunctionFactory(descriptors.projectGetServer),
|
|
586
|
-
/** Leave a Project. */
|
|
587
|
-
leaveProject: this.requestFunctionFactory(descriptors.projectLeaveProject),
|
|
588
|
-
/** List Memberships belonging to a Project. */
|
|
589
|
-
listMembershipsForProject: this.requestFunctionFactory(descriptors.projectListMembershipsForProject),
|
|
590
|
-
/** List ProjectInvites belonging to the executing user. */
|
|
591
|
-
listProjectInvites: this.requestFunctionFactory(descriptors.projectListProjectInvites),
|
|
592
|
-
/** List ProjectMemberships belonging to the executing user. */
|
|
593
|
-
listProjectMemberships: this.requestFunctionFactory(descriptors.projectListProjectMemberships),
|
|
594
|
-
/** List Projects belonging to the executing user. */
|
|
595
|
-
listProjects: this.requestFunctionFactory(descriptors.projectListProjects),
|
|
596
|
-
/** List Servers belonging to the executing user. */
|
|
597
|
-
listServers: this.requestFunctionFactory(descriptors.projectListServers),
|
|
598
|
-
/** Resend the mail for a ProjectInvite. */
|
|
599
|
-
resendProjectInviteMail: this.requestFunctionFactory(descriptors.projectResendProjectInviteMail),
|
|
600
|
-
/** Update a Project's description. */
|
|
601
|
-
updateProjectDescription: this.requestFunctionFactory(descriptors.projectUpdateProjectDescription),
|
|
602
|
-
/** Update a Servers's description. */
|
|
603
|
-
updateServerDescription: this.requestFunctionFactory(descriptors.projectUpdateServerDescription),
|
|
604
|
-
};
|
|
605
|
-
/** The filesystem API allows you to directly access the filesystem of your project. */
|
|
606
|
-
projectFileSystem = {
|
|
607
|
-
/** List directories belonging to a Project. */
|
|
608
|
-
getDirectories: this.requestFunctionFactory(descriptors.projectFileSystemGetDirectories),
|
|
609
|
-
/** Get a Project directory filesystem usage. */
|
|
610
|
-
getDiskUsage: this.requestFunctionFactory(descriptors.projectFileSystemGetDiskUsage),
|
|
611
|
-
/** Get a Project file's content. */
|
|
612
|
-
getFileContent: this.requestFunctionFactory(descriptors.projectFileSystemGetFileContent),
|
|
613
|
-
/** Get a Project's file/filesystem authorization token. */
|
|
614
|
-
getJwt: this.requestFunctionFactory(descriptors.projectFileSystemGetJwt),
|
|
615
|
-
/** Get a Project file's information. */
|
|
616
|
-
listFiles: this.requestFunctionFactory(descriptors.projectFileSystemListFiles),
|
|
617
|
-
};
|
|
618
|
-
/** The relocation API allows you to manage your relocations. */
|
|
619
|
-
relocation = {
|
|
620
|
-
/** Register a tariff change for a legacy tariff. */
|
|
621
|
-
createLegacyTariffChange: this.requestFunctionFactory(descriptors.relocationCreateLegacyTariffChange),
|
|
622
|
-
/** Relocate an external Project to mittwald. */
|
|
623
|
-
createRelocation: this.requestFunctionFactory(descriptors.relocationCreateRelocation),
|
|
624
|
-
};
|
|
625
|
-
/** The SSH/SFTP User API allows you to manage your SSH/SFTP users within a project. */
|
|
626
|
-
sshsftpUser = {
|
|
627
|
-
/** Get all SFTPUsers for a Project. */
|
|
628
|
-
sftpUserListSftpUsers: this.requestFunctionFactory(descriptors.sftpUserListSftpUsers),
|
|
629
|
-
/** Create an SFTPUser for a Project. */
|
|
630
|
-
sftpUserCreateSftpUser: this.requestFunctionFactory(descriptors.sftpUserCreateSftpUser),
|
|
631
|
-
/** Get an SFTPUser. */
|
|
632
|
-
sftpUserGetSftpUser: this.requestFunctionFactory(descriptors.sftpUserGetSftpUser),
|
|
633
|
-
/** Delete an SFTPUser. */
|
|
634
|
-
sftpUserDeleteSftpUser: this.requestFunctionFactory(descriptors.sftpUserDeleteSftpUser),
|
|
635
|
-
/** Update an SFTPUser. */
|
|
636
|
-
sftpUserUpdateSftpUser: this.requestFunctionFactory(descriptors.sftpUserUpdateSftpUser),
|
|
637
|
-
/** Get all SSHUsers for a Project. */
|
|
638
|
-
sshUserListSshUsers: this.requestFunctionFactory(descriptors.sshUserListSshUsers),
|
|
639
|
-
/** Create an SSHUser for a Project. */
|
|
640
|
-
sshUserCreateSshUser: this.requestFunctionFactory(descriptors.sshUserCreateSshUser),
|
|
641
|
-
/** Get an SSHUser. */
|
|
642
|
-
sshUserGetSshUser: this.requestFunctionFactory(descriptors.sshUserGetSshUser),
|
|
643
|
-
/** Delete an SSHUser. */
|
|
644
|
-
sshUserDeleteSshUser: this.requestFunctionFactory(descriptors.sshUserDeleteSshUser),
|
|
645
|
-
/** Update an SSHUser. */
|
|
646
|
-
sshUserUpdateSshUser: this.requestFunctionFactory(descriptors.sshUserUpdateSshUser),
|
|
647
|
-
};
|
|
648
483
|
/** The user API allows you to manage your own user and access information of other users that might be visible to you. */
|
|
649
484
|
user = {
|
|
485
|
+
/** Get a PasswordPolicy. */
|
|
486
|
+
passwordValidationGetPasswordPolicy: this.requestFunctionFactory(descriptors.passwordValidationGetPasswordPolicy),
|
|
650
487
|
/** Add phone number and start verification process. */
|
|
651
488
|
addPhoneNumber: this.requestFunctionFactory(descriptors.userAddPhoneNumber),
|
|
652
489
|
/** Remove phone number. */
|
|
@@ -756,5 +593,107 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
756
593
|
/** Verify your registration. */
|
|
757
594
|
verifyRegistration: this.requestFunctionFactory(descriptors.userVerifyRegistration),
|
|
758
595
|
};
|
|
596
|
+
/** The project API allows you to manage your projects, and also any kinds of user memberships concerning these projects. */
|
|
597
|
+
project = {
|
|
598
|
+
/** Accept a ProjectInvite. */
|
|
599
|
+
acceptProjectInvite: this.requestFunctionFactory(descriptors.projectAcceptProjectInvite),
|
|
600
|
+
/** List Invites belonging to a Project. */
|
|
601
|
+
listInvitesForProject: this.requestFunctionFactory(descriptors.projectListInvitesForProject),
|
|
602
|
+
/** Create a ProjectInvite. */
|
|
603
|
+
createProjectInvite: this.requestFunctionFactory(descriptors.projectCreateProjectInvite),
|
|
604
|
+
/** Create a Project belonging to a Server. */
|
|
605
|
+
createProject: this.requestFunctionFactory(descriptors.projectCreateProject),
|
|
606
|
+
/** Decline a ProjectInvite. */
|
|
607
|
+
declineProjectInvite: this.requestFunctionFactory(descriptors.projectDeclineProjectInvite),
|
|
608
|
+
/** Request a Project avatar upload. */
|
|
609
|
+
requestProjectAvatarUpload: this.requestFunctionFactory(descriptors.projectRequestProjectAvatarUpload),
|
|
610
|
+
/** Delete a Project's avatar. */
|
|
611
|
+
deleteProjectAvatar: this.requestFunctionFactory(descriptors.projectDeleteProjectAvatar),
|
|
612
|
+
/** Get a ProjectInvite. */
|
|
613
|
+
getProjectInvite: this.requestFunctionFactory(descriptors.projectGetProjectInvite),
|
|
614
|
+
/** Delete a ProjectInvite. */
|
|
615
|
+
deleteProjectInvite: this.requestFunctionFactory(descriptors.projectDeleteProjectInvite),
|
|
616
|
+
/** Get a ProjectMembership */
|
|
617
|
+
getProjectMembership: this.requestFunctionFactory(descriptors.projectGetProjectMembership),
|
|
618
|
+
/** Delete a ProjectMembership. */
|
|
619
|
+
deleteProjectMembership: this.requestFunctionFactory(descriptors.projectDeleteProjectMembership),
|
|
620
|
+
/** Update a ProjectMembership. */
|
|
621
|
+
updateProjectMembership: this.requestFunctionFactory(descriptors.projectUpdateProjectMembership),
|
|
622
|
+
/** Get a Project. */
|
|
623
|
+
getProject: this.requestFunctionFactory(descriptors.projectGetProject),
|
|
624
|
+
/** Delete a Project. */
|
|
625
|
+
deleteProject: this.requestFunctionFactory(descriptors.projectDeleteProject),
|
|
626
|
+
/** Request a Server avatar upload. */
|
|
627
|
+
requestServerAvatarUpload: this.requestFunctionFactory(descriptors.projectRequestServerAvatarUpload),
|
|
628
|
+
/** Delete a Server's avatar. */
|
|
629
|
+
deleteServerAvatar: this.requestFunctionFactory(descriptors.projectDeleteServerAvatar),
|
|
630
|
+
/** Get a ProjectInvite by token. */
|
|
631
|
+
getProjectTokenInvite: this.requestFunctionFactory(descriptors.projectGetProjectTokenInvite),
|
|
632
|
+
/** Get the executing user's membership in a Project. */
|
|
633
|
+
getSelfMembershipForProject: this.requestFunctionFactory(descriptors.projectGetSelfMembershipForProject),
|
|
634
|
+
/** Get a Server. */
|
|
635
|
+
getServer: this.requestFunctionFactory(descriptors.projectGetServer),
|
|
636
|
+
/** Leave a Project. */
|
|
637
|
+
leaveProject: this.requestFunctionFactory(descriptors.projectLeaveProject),
|
|
638
|
+
/** List Memberships belonging to a Project. */
|
|
639
|
+
listMembershipsForProject: this.requestFunctionFactory(descriptors.projectListMembershipsForProject),
|
|
640
|
+
/** List ProjectInvites belonging to the executing user. */
|
|
641
|
+
listProjectInvites: this.requestFunctionFactory(descriptors.projectListProjectInvites),
|
|
642
|
+
/** List ProjectMemberships belonging to the executing user. */
|
|
643
|
+
listProjectMemberships: this.requestFunctionFactory(descriptors.projectListProjectMemberships),
|
|
644
|
+
/** List Projects belonging to the executing user. */
|
|
645
|
+
listProjects: this.requestFunctionFactory(descriptors.projectListProjects),
|
|
646
|
+
/** List Servers belonging to the executing user. */
|
|
647
|
+
listServers: this.requestFunctionFactory(descriptors.projectListServers),
|
|
648
|
+
/** Resend the mail for a ProjectInvite. */
|
|
649
|
+
resendProjectInviteMail: this.requestFunctionFactory(descriptors.projectResendProjectInviteMail),
|
|
650
|
+
/** Update a Project's description. */
|
|
651
|
+
updateProjectDescription: this.requestFunctionFactory(descriptors.projectUpdateProjectDescription),
|
|
652
|
+
/** Update a Servers's description. */
|
|
653
|
+
updateServerDescription: this.requestFunctionFactory(descriptors.projectUpdateServerDescription),
|
|
654
|
+
};
|
|
655
|
+
/** The filesystem API allows you to directly access the filesystem of your project. */
|
|
656
|
+
projectFileSystem = {
|
|
657
|
+
/** List directories belonging to a Project. */
|
|
658
|
+
getDirectories: this.requestFunctionFactory(descriptors.projectFileSystemGetDirectories),
|
|
659
|
+
/** Get a Project directory filesystem usage. */
|
|
660
|
+
getDiskUsage: this.requestFunctionFactory(descriptors.projectFileSystemGetDiskUsage),
|
|
661
|
+
/** Get a Project file's content. */
|
|
662
|
+
getFileContent: this.requestFunctionFactory(descriptors.projectFileSystemGetFileContent),
|
|
663
|
+
/** Get a Project's file/filesystem authorization token. */
|
|
664
|
+
getJwt: this.requestFunctionFactory(descriptors.projectFileSystemGetJwt),
|
|
665
|
+
/** Get a Project file's information. */
|
|
666
|
+
listFiles: this.requestFunctionFactory(descriptors.projectFileSystemListFiles),
|
|
667
|
+
};
|
|
668
|
+
/** The relocation API allows you to manage your relocations. */
|
|
669
|
+
relocation = {
|
|
670
|
+
/** Register a tariff change for a legacy tariff. */
|
|
671
|
+
createLegacyTariffChange: this.requestFunctionFactory(descriptors.relocationCreateLegacyTariffChange),
|
|
672
|
+
/** Relocate an external Project to mittwald. */
|
|
673
|
+
createRelocation: this.requestFunctionFactory(descriptors.relocationCreateRelocation),
|
|
674
|
+
};
|
|
675
|
+
/** The SSH/SFTP User API allows you to manage your SSH/SFTP users within a project. */
|
|
676
|
+
sshsftpUser = {
|
|
677
|
+
/** Get all SFTPUsers for a Project. */
|
|
678
|
+
sftpUserListSftpUsers: this.requestFunctionFactory(descriptors.sftpUserListSftpUsers),
|
|
679
|
+
/** Create an SFTPUser for a Project. */
|
|
680
|
+
sftpUserCreateSftpUser: this.requestFunctionFactory(descriptors.sftpUserCreateSftpUser),
|
|
681
|
+
/** Get an SFTPUser. */
|
|
682
|
+
sftpUserGetSftpUser: this.requestFunctionFactory(descriptors.sftpUserGetSftpUser),
|
|
683
|
+
/** Delete an SFTPUser. */
|
|
684
|
+
sftpUserDeleteSftpUser: this.requestFunctionFactory(descriptors.sftpUserDeleteSftpUser),
|
|
685
|
+
/** Update an SFTPUser. */
|
|
686
|
+
sftpUserUpdateSftpUser: this.requestFunctionFactory(descriptors.sftpUserUpdateSftpUser),
|
|
687
|
+
/** Get all SSHUsers for a Project. */
|
|
688
|
+
sshUserListSshUsers: this.requestFunctionFactory(descriptors.sshUserListSshUsers),
|
|
689
|
+
/** Create an SSHUser for a Project. */
|
|
690
|
+
sshUserCreateSshUser: this.requestFunctionFactory(descriptors.sshUserCreateSshUser),
|
|
691
|
+
/** Get an SSHUser. */
|
|
692
|
+
sshUserGetSshUser: this.requestFunctionFactory(descriptors.sshUserGetSshUser),
|
|
693
|
+
/** Delete an SSHUser. */
|
|
694
|
+
sshUserDeleteSshUser: this.requestFunctionFactory(descriptors.sshUserDeleteSshUser),
|
|
695
|
+
/** Update an SSHUser. */
|
|
696
|
+
sshUserUpdateSshUser: this.requestFunctionFactory(descriptors.sshUserUpdateSshUser),
|
|
697
|
+
};
|
|
759
698
|
}
|
|
760
699
|
export default MittwaldAPIV2Client;
|