@mittwald/api-client 0.0.0-development-f25b020-20260331 → 0.0.0-development-64a6f01-20260504
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 +38 -28
- package/dist/esm/generated/v2/client.js +64 -46
- package/dist/esm/generated/v2/descriptors.js +148 -94
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/v2/client-react.d.ts +238 -135
- package/dist/types/generated/v2/client.d.ts +9473 -8812
- package/dist/types/generated/v2/descriptors.d.ts +53 -35
- package/dist/types/generated/v2/types.d.ts +2186 -1556
- package/dist/types/version.d.ts +1 -1
- package/package.json +4 -4
|
@@ -6,6 +6,8 @@ const buildAiHostingApi = (baseClient) => ({
|
|
|
6
6
|
customerGetKeys: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetKeys, baseClient.aiHosting.customerGetKeys).getApiResource,
|
|
7
7
|
/** Get a key of a customer. */
|
|
8
8
|
customerGetKey: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetKey, baseClient.aiHosting.customerGetKey).getApiResource,
|
|
9
|
+
/** Get a list of currently active models. */
|
|
10
|
+
customerGetDetailedModels: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetDetailedModels, baseClient.aiHosting.customerGetDetailedModels).getApiResource,
|
|
9
11
|
/** Get ai hosting plan and usages of a customer. */
|
|
10
12
|
customerGetUsage: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetUsage, baseClient.aiHosting.customerGetUsage).getApiResource,
|
|
11
13
|
/** Get a list of currently active models. */
|
|
@@ -14,12 +16,10 @@ const buildAiHostingApi = (baseClient) => ({
|
|
|
14
16
|
projectGetKeys: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetKeys, baseClient.aiHosting.projectGetKeys).getApiResource,
|
|
15
17
|
/** Get a key of a project. */
|
|
16
18
|
projectGetKey: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetKey, baseClient.aiHosting.projectGetKey).getApiResource,
|
|
17
|
-
/** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
|
|
18
|
-
projectGetUsage: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetUsage, baseClient.aiHosting.projectGetUsage).getApiResource,
|
|
19
|
-
/** Get a list of currently active models. */
|
|
20
|
-
customerGetDetailedModels: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetDetailedModels, baseClient.aiHosting.customerGetDetailedModels).getApiResource,
|
|
21
19
|
/** Get a list of currently active models. */
|
|
22
20
|
projectGetDetailedModels: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetDetailedModels, baseClient.aiHosting.projectGetDetailedModels).getApiResource,
|
|
21
|
+
/** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
|
|
22
|
+
projectGetUsage: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetUsage, baseClient.aiHosting.projectGetUsage).getApiResource,
|
|
23
23
|
});
|
|
24
24
|
const buildAppApi = (baseClient) => ({
|
|
25
25
|
/** Get an App. */
|
|
@@ -78,6 +78,8 @@ const buildContainerApi = (baseClient) => ({
|
|
|
78
78
|
callPullImageWebhookForService: new ApiCallAsyncResourceFactory(descriptors.containerCallPullImageWebhookForService, baseClient.container.callPullImageWebhookForService).getApiResource,
|
|
79
79
|
/** List Registries belonging to a Project. */
|
|
80
80
|
listRegistries: new ApiCallAsyncResourceFactory(descriptors.containerListRegistries, baseClient.container.listRegistries).getApiResource,
|
|
81
|
+
/** List Stacks belonging to a Project. */
|
|
82
|
+
listStacks: new ApiCallAsyncResourceFactory(descriptors.containerListStacks, baseClient.container.listStacks).getApiResource,
|
|
81
83
|
/** Get a Stack. */
|
|
82
84
|
getStack: new ApiCallAsyncResourceFactory(descriptors.containerGetStack, baseClient.container.getStack).getApiResource,
|
|
83
85
|
/** Get a Registry. */
|
|
@@ -90,14 +92,16 @@ const buildContainerApi = (baseClient) => ({
|
|
|
90
92
|
getServiceLogs: new ApiCallAsyncResourceFactory(descriptors.containerGetServiceLogs, baseClient.container.getServiceLogs).getApiResource,
|
|
91
93
|
/** Get a Service belonging to a Stack. */
|
|
92
94
|
getService: new ApiCallAsyncResourceFactory(descriptors.containerGetService, baseClient.container.getService).getApiResource,
|
|
95
|
+
/** Get a Container Template by ID. */
|
|
96
|
+
getTemplate: new ApiCallAsyncResourceFactory(descriptors.containerGetTemplate, baseClient.container.getTemplate).getApiResource,
|
|
93
97
|
/** List Stacks belonging to the executing user. */
|
|
94
98
|
listSelfStacks: new ApiCallAsyncResourceFactory(descriptors.containerListSelfStacks, baseClient.container.listSelfStacks).getApiResource,
|
|
95
99
|
/** List Services belonging to a Project. */
|
|
96
100
|
listServices: new ApiCallAsyncResourceFactory(descriptors.containerListServices, baseClient.container.listServices).getApiResource,
|
|
97
101
|
/** List Volumes belonging to a Stack. */
|
|
98
102
|
listStackVolumes: new ApiCallAsyncResourceFactory(descriptors.containerListStackVolumes, baseClient.container.listStackVolumes).getApiResource,
|
|
99
|
-
/** List
|
|
100
|
-
|
|
103
|
+
/** List Container Templates. */
|
|
104
|
+
listTemplates: new ApiCallAsyncResourceFactory(descriptors.containerListTemplates, baseClient.container.listTemplates).getApiResource,
|
|
101
105
|
/** List Volumes belonging to a Project. */
|
|
102
106
|
listVolumes: new ApiCallAsyncResourceFactory(descriptors.containerListVolumes, baseClient.container.listVolumes).getApiResource,
|
|
103
107
|
});
|
|
@@ -211,6 +215,18 @@ const buildConversationApi = (baseClient) => ({
|
|
|
211
215
|
/** Get all conversation categories. */
|
|
212
216
|
listCategories: new ApiCallAsyncResourceFactory(descriptors.conversationListCategories, baseClient.conversation.listCategories).getApiResource,
|
|
213
217
|
});
|
|
218
|
+
const buildCronjobApi = (baseClient) => ({
|
|
219
|
+
/** List Cronjobs belonging to a Project. */
|
|
220
|
+
listCronjobs: new ApiCallAsyncResourceFactory(descriptors.cronjobListCronjobs, baseClient.cronjob.listCronjobs).getApiResource,
|
|
221
|
+
/** List CronjobExecutions belonging to a Cronjob. */
|
|
222
|
+
listExecutions: new ApiCallAsyncResourceFactory(descriptors.cronjobListExecutions, baseClient.cronjob.listExecutions).getApiResource,
|
|
223
|
+
/** Get a Cronjob. */
|
|
224
|
+
getCronjob: new ApiCallAsyncResourceFactory(descriptors.cronjobGetCronjob, baseClient.cronjob.getCronjob).getApiResource,
|
|
225
|
+
/** Get a CronjobExecution analysis for failed executions. */
|
|
226
|
+
getExecutionAnalysis: new ApiCallAsyncResourceFactory(descriptors.cronjobGetExecutionAnalysis, baseClient.cronjob.getExecutionAnalysis).getApiResource,
|
|
227
|
+
/** Get a CronjobExecution. */
|
|
228
|
+
getExecution: new ApiCallAsyncResourceFactory(descriptors.cronjobGetExecution, baseClient.cronjob.getExecution).getApiResource,
|
|
229
|
+
});
|
|
214
230
|
const buildCustomerApi = (baseClient) => ({
|
|
215
231
|
/** List Invites belonging to a Customer. */
|
|
216
232
|
listInvitesForCustomer: new ApiCallAsyncResourceFactory(descriptors.customerListInvitesForCustomer, baseClient.customer.listInvitesForCustomer).getApiResource,
|
|
@@ -274,6 +290,8 @@ const buildDomainApi = (baseClient) => ({
|
|
|
274
290
|
listTldContactSchemas: new ApiCallAsyncResourceFactory(descriptors.domainListTldContactSchemas, baseClient.domain.listTldContactSchemas).getApiResource,
|
|
275
291
|
/** List TLDs. */
|
|
276
292
|
listTlds: new ApiCallAsyncResourceFactory(descriptors.domainListTlds, baseClient.domain.listTlds).getApiResource,
|
|
293
|
+
/** List Domain-Migrations belonging to a p-Account. */
|
|
294
|
+
migrationListMigrations: new ApiCallAsyncResourceFactory(descriptors.domainMigrationListMigrations, baseClient.domain.migrationListMigrations).getApiResource,
|
|
277
295
|
/** Suggest a list of domains based on a prompt using AI. */
|
|
278
296
|
suggest: new ApiCallAsyncResourceFactory(descriptors.domainSuggest, baseClient.domain.suggest).getApiResource,
|
|
279
297
|
/** List Ingresses. */
|
|
@@ -288,6 +306,10 @@ const buildDomainApi = (baseClient) => ({
|
|
|
288
306
|
sslGetCertificate: new ApiCallAsyncResourceFactory(descriptors.sslGetCertificate, baseClient.domain.sslGetCertificate).getApiResource,
|
|
289
307
|
/** List Certificates belonging to a Project or an Ingress. */
|
|
290
308
|
sslListCertificates: new ApiCallAsyncResourceFactory(descriptors.sslListCertificates, baseClient.domain.sslListCertificates).getApiResource,
|
|
309
|
+
/** Get a Contact-Verification. */
|
|
310
|
+
getContactVerification: new ApiCallAsyncResourceFactory(descriptors.domainGetContactVerification, baseClient.domain.getContactVerification).getApiResource,
|
|
311
|
+
/** List Contact-Verifications belonging to the executing user. */
|
|
312
|
+
listContactVerifications: new ApiCallAsyncResourceFactory(descriptors.domainListContactVerifications, baseClient.domain.listContactVerifications).getApiResource,
|
|
291
313
|
});
|
|
292
314
|
const buildFileApi = (baseClient) => ({
|
|
293
315
|
/** Get a File's meta. */
|
|
@@ -347,6 +369,10 @@ const buildMailApi = (baseClient) => ({
|
|
|
347
369
|
/** List Migrations belonging to a Project in customer center or mStudio. */
|
|
348
370
|
migrationListMigrations: new ApiCallAsyncResourceFactory(descriptors.mailMigrationListMigrations, baseClient.mail.migrationListMigrations).getApiResource,
|
|
349
371
|
});
|
|
372
|
+
const buildMiscApi = (baseClient) => ({
|
|
373
|
+
/** List valid time zones. */
|
|
374
|
+
ellaneousListTimeZones: new ApiCallAsyncResourceFactory(descriptors.miscellaneousListTimeZones, baseClient.misc.ellaneousListTimeZones).getApiResource,
|
|
375
|
+
});
|
|
350
376
|
const buildNotificationApi = (baseClient) => ({
|
|
351
377
|
/** Getting the subscription status of the subscription. */
|
|
352
378
|
newsletterGetInfo: new ApiCallAsyncResourceFactory(descriptors.newsletterGetInfo, baseClient.notification.newsletterGetInfo).getApiResource,
|
|
@@ -449,22 +475,6 @@ const buildSshsftpUserApi = (baseClient) => ({
|
|
|
449
475
|
/** Get an SSHUser. */
|
|
450
476
|
sshUserGetSshUser: new ApiCallAsyncResourceFactory(descriptors.sshUserGetSshUser, baseClient.sshsftpUser.sshUserGetSshUser).getApiResource,
|
|
451
477
|
});
|
|
452
|
-
const buildCronjobApi = (baseClient) => ({
|
|
453
|
-
/** Get a Cronjob. */
|
|
454
|
-
getCronjob: new ApiCallAsyncResourceFactory(descriptors.cronjobGetCronjob, baseClient.cronjob.getCronjob).getApiResource,
|
|
455
|
-
/** List CronjobExecutions belonging to a Cronjob. */
|
|
456
|
-
listExecutions: new ApiCallAsyncResourceFactory(descriptors.cronjobListExecutions, baseClient.cronjob.listExecutions).getApiResource,
|
|
457
|
-
/** Get a CronjobExecution analysis for failed executions. */
|
|
458
|
-
getExecutionAnalysis: new ApiCallAsyncResourceFactory(descriptors.cronjobGetExecutionAnalysis, baseClient.cronjob.getExecutionAnalysis).getApiResource,
|
|
459
|
-
/** List Cronjobs belonging to a Project. */
|
|
460
|
-
listCronjobs: new ApiCallAsyncResourceFactory(descriptors.cronjobListCronjobs, baseClient.cronjob.listCronjobs).getApiResource,
|
|
461
|
-
/** Get a CronjobExecution. */
|
|
462
|
-
getExecution: new ApiCallAsyncResourceFactory(descriptors.cronjobGetExecution, baseClient.cronjob.getExecution).getApiResource,
|
|
463
|
-
});
|
|
464
|
-
const buildMiscApi = (baseClient) => ({
|
|
465
|
-
/** List valid time zones. */
|
|
466
|
-
ellaneousListTimeZones: new ApiCallAsyncResourceFactory(descriptors.miscellaneousListTimeZones, baseClient.misc.ellaneousListTimeZones).getApiResource,
|
|
467
|
-
});
|
|
468
478
|
export class MittwaldAPIV2ClientReact {
|
|
469
479
|
/** The AI hosting provides access to multiple large language and embedding models – GDPR compliant and hosted in Germany. */
|
|
470
480
|
aiHosting;
|
|
@@ -482,6 +492,8 @@ export class MittwaldAPIV2ClientReact {
|
|
|
482
492
|
marketplace;
|
|
483
493
|
/** The conversation API allows you to manage your support conversations. */
|
|
484
494
|
conversation;
|
|
495
|
+
/** The cronjob API allows you to manage cronjobs within a project. */
|
|
496
|
+
cronjob;
|
|
485
497
|
/** The customer API allows you to manage your own organizations and users. */
|
|
486
498
|
customer;
|
|
487
499
|
/** The database API allows you to manage your databases, like MySQL and Redis databases. */
|
|
@@ -496,6 +508,8 @@ export class MittwaldAPIV2ClientReact {
|
|
|
496
508
|
license;
|
|
497
509
|
/** The mail API allows you to manage your mail accounts. */
|
|
498
510
|
mail;
|
|
511
|
+
/** API endpoints that are not related to any specific API domain */
|
|
512
|
+
misc;
|
|
499
513
|
/** The notification API allows you to manage your notifications. */
|
|
500
514
|
notification;
|
|
501
515
|
/** The page insights API allows you to get page insights information. */
|
|
@@ -508,10 +522,6 @@ export class MittwaldAPIV2ClientReact {
|
|
|
508
522
|
projectFileSystem;
|
|
509
523
|
/** The SSH/SFTP User API allows you to manage your SSH/SFTP users within a project. */
|
|
510
524
|
sshsftpUser;
|
|
511
|
-
/** The cronjob API allows you to manage cronjobs within a project. */
|
|
512
|
-
cronjob;
|
|
513
|
-
/** API endpoints that are not related to any specific API domain */
|
|
514
|
-
misc;
|
|
515
525
|
constructor(baseClient) {
|
|
516
526
|
this.aiHosting = buildAiHostingApi(baseClient);
|
|
517
527
|
this.app = buildAppApi(baseClient);
|
|
@@ -521,6 +531,7 @@ export class MittwaldAPIV2ClientReact {
|
|
|
521
531
|
this.contract = buildContractApi(baseClient);
|
|
522
532
|
this.marketplace = buildMarketplaceApi(baseClient);
|
|
523
533
|
this.conversation = buildConversationApi(baseClient);
|
|
534
|
+
this.cronjob = buildCronjobApi(baseClient);
|
|
524
535
|
this.customer = buildCustomerApi(baseClient);
|
|
525
536
|
this.database = buildDatabaseApi(baseClient);
|
|
526
537
|
this.domain = buildDomainApi(baseClient);
|
|
@@ -528,14 +539,13 @@ export class MittwaldAPIV2ClientReact {
|
|
|
528
539
|
this.leadFyndr = buildLeadFyndrApi(baseClient);
|
|
529
540
|
this.license = buildLicenseApi(baseClient);
|
|
530
541
|
this.mail = buildMailApi(baseClient);
|
|
542
|
+
this.misc = buildMiscApi(baseClient);
|
|
531
543
|
this.notification = buildNotificationApi(baseClient);
|
|
532
544
|
this.pageInsights = buildPageInsightsApi(baseClient);
|
|
533
545
|
this.user = buildUserApi(baseClient);
|
|
534
546
|
this.project = buildProjectApi(baseClient);
|
|
535
547
|
this.projectFileSystem = buildProjectFileSystemApi(baseClient);
|
|
536
548
|
this.sshsftpUser = buildSshsftpUserApi(baseClient);
|
|
537
|
-
this.cronjob = buildCronjobApi(baseClient);
|
|
538
|
-
this.misc = buildMiscApi(baseClient);
|
|
539
549
|
}
|
|
540
550
|
static fromBaseClient(baseClient) {
|
|
541
551
|
return new MittwaldAPIV2ClientReact(baseClient);
|
|
@@ -6,6 +6,8 @@ import { ApiClientBase } from "@mittwald/api-client-commons";
|
|
|
6
6
|
export class MittwaldAPIV2Client extends ApiClientBase {
|
|
7
7
|
/** The AI hosting provides access to multiple large language and embedding models – GDPR compliant and hosted in Germany. */
|
|
8
8
|
aiHosting = {
|
|
9
|
+
/** Accepts the model terms for a customer. */
|
|
10
|
+
customerAcceptModelTerms: this.requestFunctionFactory(descriptors.aiHostingCustomerAcceptModelTerms),
|
|
9
11
|
/** Get a list of already created keys. */
|
|
10
12
|
customerGetKeys: this.requestFunctionFactory(descriptors.aiHostingCustomerGetKeys),
|
|
11
13
|
/** Creates a new key. */
|
|
@@ -16,6 +18,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
16
18
|
customerUpdateKey: this.requestFunctionFactory(descriptors.aiHostingCustomerUpdateKey),
|
|
17
19
|
/** Delete a key for a customer. */
|
|
18
20
|
customerDeleteKey: this.requestFunctionFactory(descriptors.aiHostingCustomerDeleteKey),
|
|
21
|
+
/** Get a list of currently active models. */
|
|
22
|
+
customerGetDetailedModels: this.requestFunctionFactory(descriptors.aiHostingCustomerGetDetailedModels),
|
|
19
23
|
/** Get ai hosting plan and usages of a customer. */
|
|
20
24
|
customerGetUsage: this.requestFunctionFactory(descriptors.aiHostingCustomerGetUsage),
|
|
21
25
|
/** Get a list of currently active models. */
|
|
@@ -30,14 +34,10 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
30
34
|
projectUpdateKey: this.requestFunctionFactory(descriptors.aiHostingProjectUpdateKey),
|
|
31
35
|
/** Delete a key for a project. */
|
|
32
36
|
projectDeleteKey: this.requestFunctionFactory(descriptors.aiHostingProjectDeleteKey),
|
|
33
|
-
/** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
|
|
34
|
-
projectGetUsage: this.requestFunctionFactory(descriptors.aiHostingProjectGetUsage),
|
|
35
|
-
/** Get a list of currently active models. */
|
|
36
|
-
customerGetDetailedModels: this.requestFunctionFactory(descriptors.aiHostingCustomerGetDetailedModels),
|
|
37
37
|
/** Get a list of currently active models. */
|
|
38
38
|
projectGetDetailedModels: this.requestFunctionFactory(descriptors.aiHostingProjectGetDetailedModels),
|
|
39
|
-
/**
|
|
40
|
-
|
|
39
|
+
/** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
|
|
40
|
+
projectGetUsage: this.requestFunctionFactory(descriptors.aiHostingProjectGetUsage),
|
|
41
41
|
};
|
|
42
42
|
/** The App API allows you to manage your apps within a project, and all the system softwares that are installed as dependencies. */
|
|
43
43
|
app = {
|
|
@@ -138,10 +138,16 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
138
138
|
listRegistries: this.requestFunctionFactory(descriptors.containerListRegistries),
|
|
139
139
|
/** Create a Registry. */
|
|
140
140
|
createRegistry: this.requestFunctionFactory(descriptors.containerCreateRegistry),
|
|
141
|
+
/** List Stacks belonging to a Project. */
|
|
142
|
+
listStacks: this.requestFunctionFactory(descriptors.containerListStacks),
|
|
143
|
+
/** Create a Stack. */
|
|
144
|
+
createStack: this.requestFunctionFactory(descriptors.containerCreateStack),
|
|
141
145
|
/** Get a Stack. */
|
|
142
146
|
getStack: this.requestFunctionFactory(descriptors.containerGetStack),
|
|
143
147
|
/** Declaratively create, update or delete Services or Volumes belonging to a Stack. */
|
|
144
148
|
declareStack: this.requestFunctionFactory(descriptors.containerDeclareStack),
|
|
149
|
+
/** Delete a Stack. */
|
|
150
|
+
deleteStack: this.requestFunctionFactory(descriptors.containerDeleteStack),
|
|
145
151
|
/** Create, update or delete Services or Volumes belonging to a Stack. */
|
|
146
152
|
updateStack: this.requestFunctionFactory(descriptors.containerUpdateStack),
|
|
147
153
|
/** Get a Registry. */
|
|
@@ -160,14 +166,16 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
160
166
|
getServiceLogs: this.requestFunctionFactory(descriptors.containerGetServiceLogs),
|
|
161
167
|
/** Get a Service belonging to a Stack. */
|
|
162
168
|
getService: this.requestFunctionFactory(descriptors.containerGetService),
|
|
169
|
+
/** Get a Container Template by ID. */
|
|
170
|
+
getTemplate: this.requestFunctionFactory(descriptors.containerGetTemplate),
|
|
163
171
|
/** List Stacks belonging to the executing user. */
|
|
164
172
|
listSelfStacks: this.requestFunctionFactory(descriptors.containerListSelfStacks),
|
|
165
173
|
/** List Services belonging to a Project. */
|
|
166
174
|
listServices: this.requestFunctionFactory(descriptors.containerListServices),
|
|
167
175
|
/** List Volumes belonging to a Stack. */
|
|
168
176
|
listStackVolumes: this.requestFunctionFactory(descriptors.containerListStackVolumes),
|
|
169
|
-
/** List
|
|
170
|
-
|
|
177
|
+
/** List Container Templates. */
|
|
178
|
+
listTemplates: this.requestFunctionFactory(descriptors.containerListTemplates),
|
|
171
179
|
/** List Volumes belonging to a Project. */
|
|
172
180
|
listVolumes: this.requestFunctionFactory(descriptors.containerListVolumes),
|
|
173
181
|
/** Pull image and recreate */
|
|
@@ -178,16 +186,14 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
178
186
|
restartService: this.requestFunctionFactory(descriptors.containerRestartService),
|
|
179
187
|
/** Create or rotate pull-image webhook token */
|
|
180
188
|
rotatePullImageWebhookForService: this.requestFunctionFactory(descriptors.containerRotatePullImageWebhookForService),
|
|
189
|
+
/** Replace the description of a Stack. */
|
|
190
|
+
setStackDescription: this.requestFunctionFactory(descriptors.containerSetStackDescription),
|
|
181
191
|
/** Set an update schedule for a Stack. */
|
|
182
192
|
setStackUpdateSchedule: this.requestFunctionFactory(descriptors.containerSetStackUpdateSchedule),
|
|
183
193
|
/** Start a stopped Service. */
|
|
184
194
|
startService: this.requestFunctionFactory(descriptors.containerStartService),
|
|
185
195
|
/** Stop a started Service. */
|
|
186
196
|
stopService: this.requestFunctionFactory(descriptors.containerStopService),
|
|
187
|
-
/** Validate a Registries' URI. */
|
|
188
|
-
validateContainerRegistryUri: this.requestFunctionFactory(descriptors.containerValidateContainerRegistryUri),
|
|
189
|
-
/** Validate a Registries' credentials. */
|
|
190
|
-
validateRegistryCredentials: this.requestFunctionFactory(descriptors.containerValidateRegistryCredentials),
|
|
191
197
|
};
|
|
192
198
|
/** The contract API allows you to manage your contracts and orders */
|
|
193
199
|
contract = {
|
|
@@ -414,6 +420,29 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
414
420
|
/** Update the content of the message */
|
|
415
421
|
updateMessage: this.requestFunctionFactory(descriptors.conversationUpdateMessage),
|
|
416
422
|
};
|
|
423
|
+
/** The cronjob API allows you to manage cronjobs within a project. */
|
|
424
|
+
cronjob = {
|
|
425
|
+
/** List Cronjobs belonging to a Project. */
|
|
426
|
+
listCronjobs: this.requestFunctionFactory(descriptors.cronjobListCronjobs),
|
|
427
|
+
/** Create a Cronjob. */
|
|
428
|
+
createCronjob: this.requestFunctionFactory(descriptors.cronjobCreateCronjob),
|
|
429
|
+
/** List CronjobExecutions belonging to a Cronjob. */
|
|
430
|
+
listExecutions: this.requestFunctionFactory(descriptors.cronjobListExecutions),
|
|
431
|
+
/** Trigger a Cronjob. */
|
|
432
|
+
createExecution: this.requestFunctionFactory(descriptors.cronjobCreateExecution),
|
|
433
|
+
/** Get a Cronjob. */
|
|
434
|
+
getCronjob: this.requestFunctionFactory(descriptors.cronjobGetCronjob),
|
|
435
|
+
/** Delete a Cronjob. */
|
|
436
|
+
deleteCronjob: this.requestFunctionFactory(descriptors.cronjobDeleteCronjob),
|
|
437
|
+
/** Update a Cronjob. */
|
|
438
|
+
updateCronjob: this.requestFunctionFactory(descriptors.cronjobUpdateCronjob),
|
|
439
|
+
/** Get a CronjobExecution analysis for failed executions. */
|
|
440
|
+
getExecutionAnalysis: this.requestFunctionFactory(descriptors.cronjobGetExecutionAnalysis),
|
|
441
|
+
/** Get a CronjobExecution. */
|
|
442
|
+
getExecution: this.requestFunctionFactory(descriptors.cronjobGetExecution),
|
|
443
|
+
/** Update a Cronjob's app installation id. */
|
|
444
|
+
replaceCronjobAppInstallationId: this.requestFunctionFactory(descriptors.cronjobReplaceCronjobAppInstallationId),
|
|
445
|
+
};
|
|
417
446
|
/** The customer API allows you to manage your own organizations and users. */
|
|
418
447
|
customer = {
|
|
419
448
|
/** Accept a CustomerInvite. */
|
|
@@ -566,6 +595,12 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
566
595
|
listTldContactSchemas: this.requestFunctionFactory(descriptors.domainListTldContactSchemas),
|
|
567
596
|
/** List TLDs. */
|
|
568
597
|
listTlds: this.requestFunctionFactory(descriptors.domainListTlds),
|
|
598
|
+
/** Check if a Domain-Migration from a pAccount into a Project is possible. */
|
|
599
|
+
migrationCheckMigrationIsPossible: this.requestFunctionFactory(descriptors.domainMigrationCheckMigrationIsPossible),
|
|
600
|
+
/** List Domain-Migrations belonging to a p-Account. */
|
|
601
|
+
migrationListMigrations: this.requestFunctionFactory(descriptors.domainMigrationListMigrations),
|
|
602
|
+
/** Create a Domain-Migration from a pAccount into a Project. */
|
|
603
|
+
migrationRequestDomainMigration: this.requestFunctionFactory(descriptors.domainMigrationRequestDomainMigration),
|
|
569
604
|
/** Resend a Domain email. */
|
|
570
605
|
resendDomainEmail: this.requestFunctionFactory(descriptors.domainResendDomainEmail),
|
|
571
606
|
/** Suggest a list of domains based on a prompt using AI. */
|
|
@@ -610,6 +645,12 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
610
645
|
sslListCertificates: this.requestFunctionFactory(descriptors.sslListCertificates),
|
|
611
646
|
/** Update the certificate of a CertificateRequest. */
|
|
612
647
|
sslSetCertificateRequestCertificate: this.requestFunctionFactory(descriptors.sslSetCertificateRequestCertificate),
|
|
648
|
+
/** Get a Contact-Verification. */
|
|
649
|
+
getContactVerification: this.requestFunctionFactory(descriptors.domainGetContactVerification),
|
|
650
|
+
/** List Contact-Verifications belonging to the executing user. */
|
|
651
|
+
listContactVerifications: this.requestFunctionFactory(descriptors.domainListContactVerifications),
|
|
652
|
+
/** Resends a Contact-Verification email. */
|
|
653
|
+
resendContactVerificationEmail: this.requestFunctionFactory(descriptors.domainResendContactVerificationEmail),
|
|
613
654
|
};
|
|
614
655
|
/** The mail API allows you to manage your mail accounts. */
|
|
615
656
|
mail = {
|
|
@@ -853,6 +894,17 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
853
894
|
/** Validate a License's key for a project. */
|
|
854
895
|
validateLicenseKeyForProject: this.requestFunctionFactory(descriptors.licenseValidateLicenseKeyForProject),
|
|
855
896
|
};
|
|
897
|
+
/** API endpoints that are not related to any specific API domain */
|
|
898
|
+
misc = {
|
|
899
|
+
/** List valid time zones. */
|
|
900
|
+
ellaneousListTimeZones: this.requestFunctionFactory(descriptors.miscellaneousListTimeZones),
|
|
901
|
+
/** Check if an email is from mittwald. */
|
|
902
|
+
verificationDetectPhishingEmail: this.requestFunctionFactory(descriptors.verificationDetectPhishingEmail),
|
|
903
|
+
/** Check if an address exists. */
|
|
904
|
+
verificationVerifyAddress: this.requestFunctionFactory(descriptors.verificationVerifyAddress),
|
|
905
|
+
/** Check if a company exists. */
|
|
906
|
+
verificationVerifyCompany: this.requestFunctionFactory(descriptors.verificationVerifyCompany),
|
|
907
|
+
};
|
|
856
908
|
/** The page insights API allows you to get page insights information. */
|
|
857
909
|
pageInsights = {
|
|
858
910
|
/** Get detailed performance data for a given domain and path. */
|
|
@@ -972,39 +1024,5 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
972
1024
|
/** Update an SSHUser. */
|
|
973
1025
|
sshUserUpdateSshUser: this.requestFunctionFactory(descriptors.sshUserUpdateSshUser),
|
|
974
1026
|
};
|
|
975
|
-
/** API endpoints that are not related to any specific API domain */
|
|
976
|
-
misc = {
|
|
977
|
-
/** Check if an email is from mittwald. */
|
|
978
|
-
verificationDetectPhishingEmail: this.requestFunctionFactory(descriptors.verificationDetectPhishingEmail),
|
|
979
|
-
/** Check if an address exists. */
|
|
980
|
-
verificationVerifyAddress: this.requestFunctionFactory(descriptors.verificationVerifyAddress),
|
|
981
|
-
/** Check if a company exists. */
|
|
982
|
-
verificationVerifyCompany: this.requestFunctionFactory(descriptors.verificationVerifyCompany),
|
|
983
|
-
/** List valid time zones. */
|
|
984
|
-
ellaneousListTimeZones: this.requestFunctionFactory(descriptors.miscellaneousListTimeZones),
|
|
985
|
-
};
|
|
986
|
-
/** The cronjob API allows you to manage cronjobs within a project. */
|
|
987
|
-
cronjob = {
|
|
988
|
-
/** Get a Cronjob. */
|
|
989
|
-
getCronjob: this.requestFunctionFactory(descriptors.cronjobGetCronjob),
|
|
990
|
-
/** Delete a Cronjob. */
|
|
991
|
-
deleteCronjob: this.requestFunctionFactory(descriptors.cronjobDeleteCronjob),
|
|
992
|
-
/** Update a Cronjob. */
|
|
993
|
-
updateCronjob: this.requestFunctionFactory(descriptors.cronjobUpdateCronjob),
|
|
994
|
-
/** Update a Cronjob's app installation id. */
|
|
995
|
-
replaceCronjobAppInstallationId: this.requestFunctionFactory(descriptors.cronjobReplaceCronjobAppInstallationId),
|
|
996
|
-
/** List CronjobExecutions belonging to a Cronjob. */
|
|
997
|
-
listExecutions: this.requestFunctionFactory(descriptors.cronjobListExecutions),
|
|
998
|
-
/** Trigger a Cronjob. */
|
|
999
|
-
createExecution: this.requestFunctionFactory(descriptors.cronjobCreateExecution),
|
|
1000
|
-
/** Get a CronjobExecution analysis for failed executions. */
|
|
1001
|
-
getExecutionAnalysis: this.requestFunctionFactory(descriptors.cronjobGetExecutionAnalysis),
|
|
1002
|
-
/** List Cronjobs belonging to a Project. */
|
|
1003
|
-
listCronjobs: this.requestFunctionFactory(descriptors.cronjobListCronjobs),
|
|
1004
|
-
/** Create a Cronjob. */
|
|
1005
|
-
createCronjob: this.requestFunctionFactory(descriptors.cronjobCreateCronjob),
|
|
1006
|
-
/** Get a CronjobExecution. */
|
|
1007
|
-
getExecution: this.requestFunctionFactory(descriptors.cronjobGetExecution),
|
|
1008
|
-
};
|
|
1009
1027
|
}
|
|
1010
1028
|
export default MittwaldAPIV2Client;
|