@mittwald/api-client 0.0.0-development-f25b020-20260331 → 0.0.0-development-a638234-20260416
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 +28 -26
- package/dist/esm/generated/v2/client.js +46 -42
- package/dist/esm/generated/v2/descriptors.js +102 -90
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/v2/client-react.d.ts +147 -129
- package/dist/types/generated/v2/client.d.ts +8541 -8415
- package/dist/types/generated/v2/descriptors.d.ts +34 -30
- package/dist/types/generated/v2/types.d.ts +5538 -5423
- 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. */
|
|
@@ -211,6 +211,18 @@ const buildConversationApi = (baseClient) => ({
|
|
|
211
211
|
/** Get all conversation categories. */
|
|
212
212
|
listCategories: new ApiCallAsyncResourceFactory(descriptors.conversationListCategories, baseClient.conversation.listCategories).getApiResource,
|
|
213
213
|
});
|
|
214
|
+
const buildCronjobApi = (baseClient) => ({
|
|
215
|
+
/** List Cronjobs belonging to a Project. */
|
|
216
|
+
listCronjobs: new ApiCallAsyncResourceFactory(descriptors.cronjobListCronjobs, baseClient.cronjob.listCronjobs).getApiResource,
|
|
217
|
+
/** List CronjobExecutions belonging to a Cronjob. */
|
|
218
|
+
listExecutions: new ApiCallAsyncResourceFactory(descriptors.cronjobListExecutions, baseClient.cronjob.listExecutions).getApiResource,
|
|
219
|
+
/** Get a Cronjob. */
|
|
220
|
+
getCronjob: new ApiCallAsyncResourceFactory(descriptors.cronjobGetCronjob, baseClient.cronjob.getCronjob).getApiResource,
|
|
221
|
+
/** Get a CronjobExecution analysis for failed executions. */
|
|
222
|
+
getExecutionAnalysis: new ApiCallAsyncResourceFactory(descriptors.cronjobGetExecutionAnalysis, baseClient.cronjob.getExecutionAnalysis).getApiResource,
|
|
223
|
+
/** Get a CronjobExecution. */
|
|
224
|
+
getExecution: new ApiCallAsyncResourceFactory(descriptors.cronjobGetExecution, baseClient.cronjob.getExecution).getApiResource,
|
|
225
|
+
});
|
|
214
226
|
const buildCustomerApi = (baseClient) => ({
|
|
215
227
|
/** List Invites belonging to a Customer. */
|
|
216
228
|
listInvitesForCustomer: new ApiCallAsyncResourceFactory(descriptors.customerListInvitesForCustomer, baseClient.customer.listInvitesForCustomer).getApiResource,
|
|
@@ -274,6 +286,8 @@ const buildDomainApi = (baseClient) => ({
|
|
|
274
286
|
listTldContactSchemas: new ApiCallAsyncResourceFactory(descriptors.domainListTldContactSchemas, baseClient.domain.listTldContactSchemas).getApiResource,
|
|
275
287
|
/** List TLDs. */
|
|
276
288
|
listTlds: new ApiCallAsyncResourceFactory(descriptors.domainListTlds, baseClient.domain.listTlds).getApiResource,
|
|
289
|
+
/** List Domain-Migrations belonging to a p-Account. */
|
|
290
|
+
migrationListMigrations: new ApiCallAsyncResourceFactory(descriptors.domainMigrationListMigrations, baseClient.domain.migrationListMigrations).getApiResource,
|
|
277
291
|
/** Suggest a list of domains based on a prompt using AI. */
|
|
278
292
|
suggest: new ApiCallAsyncResourceFactory(descriptors.domainSuggest, baseClient.domain.suggest).getApiResource,
|
|
279
293
|
/** List Ingresses. */
|
|
@@ -347,6 +361,10 @@ const buildMailApi = (baseClient) => ({
|
|
|
347
361
|
/** List Migrations belonging to a Project in customer center or mStudio. */
|
|
348
362
|
migrationListMigrations: new ApiCallAsyncResourceFactory(descriptors.mailMigrationListMigrations, baseClient.mail.migrationListMigrations).getApiResource,
|
|
349
363
|
});
|
|
364
|
+
const buildMiscApi = (baseClient) => ({
|
|
365
|
+
/** List valid time zones. */
|
|
366
|
+
ellaneousListTimeZones: new ApiCallAsyncResourceFactory(descriptors.miscellaneousListTimeZones, baseClient.misc.ellaneousListTimeZones).getApiResource,
|
|
367
|
+
});
|
|
350
368
|
const buildNotificationApi = (baseClient) => ({
|
|
351
369
|
/** Getting the subscription status of the subscription. */
|
|
352
370
|
newsletterGetInfo: new ApiCallAsyncResourceFactory(descriptors.newsletterGetInfo, baseClient.notification.newsletterGetInfo).getApiResource,
|
|
@@ -449,22 +467,6 @@ const buildSshsftpUserApi = (baseClient) => ({
|
|
|
449
467
|
/** Get an SSHUser. */
|
|
450
468
|
sshUserGetSshUser: new ApiCallAsyncResourceFactory(descriptors.sshUserGetSshUser, baseClient.sshsftpUser.sshUserGetSshUser).getApiResource,
|
|
451
469
|
});
|
|
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
470
|
export class MittwaldAPIV2ClientReact {
|
|
469
471
|
/** The AI hosting provides access to multiple large language and embedding models – GDPR compliant and hosted in Germany. */
|
|
470
472
|
aiHosting;
|
|
@@ -482,6 +484,8 @@ export class MittwaldAPIV2ClientReact {
|
|
|
482
484
|
marketplace;
|
|
483
485
|
/** The conversation API allows you to manage your support conversations. */
|
|
484
486
|
conversation;
|
|
487
|
+
/** The cronjob API allows you to manage cronjobs within a project. */
|
|
488
|
+
cronjob;
|
|
485
489
|
/** The customer API allows you to manage your own organizations and users. */
|
|
486
490
|
customer;
|
|
487
491
|
/** The database API allows you to manage your databases, like MySQL and Redis databases. */
|
|
@@ -496,6 +500,8 @@ export class MittwaldAPIV2ClientReact {
|
|
|
496
500
|
license;
|
|
497
501
|
/** The mail API allows you to manage your mail accounts. */
|
|
498
502
|
mail;
|
|
503
|
+
/** API endpoints that are not related to any specific API domain */
|
|
504
|
+
misc;
|
|
499
505
|
/** The notification API allows you to manage your notifications. */
|
|
500
506
|
notification;
|
|
501
507
|
/** The page insights API allows you to get page insights information. */
|
|
@@ -508,10 +514,6 @@ export class MittwaldAPIV2ClientReact {
|
|
|
508
514
|
projectFileSystem;
|
|
509
515
|
/** The SSH/SFTP User API allows you to manage your SSH/SFTP users within a project. */
|
|
510
516
|
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
517
|
constructor(baseClient) {
|
|
516
518
|
this.aiHosting = buildAiHostingApi(baseClient);
|
|
517
519
|
this.app = buildAppApi(baseClient);
|
|
@@ -521,6 +523,7 @@ export class MittwaldAPIV2ClientReact {
|
|
|
521
523
|
this.contract = buildContractApi(baseClient);
|
|
522
524
|
this.marketplace = buildMarketplaceApi(baseClient);
|
|
523
525
|
this.conversation = buildConversationApi(baseClient);
|
|
526
|
+
this.cronjob = buildCronjobApi(baseClient);
|
|
524
527
|
this.customer = buildCustomerApi(baseClient);
|
|
525
528
|
this.database = buildDatabaseApi(baseClient);
|
|
526
529
|
this.domain = buildDomainApi(baseClient);
|
|
@@ -528,14 +531,13 @@ export class MittwaldAPIV2ClientReact {
|
|
|
528
531
|
this.leadFyndr = buildLeadFyndrApi(baseClient);
|
|
529
532
|
this.license = buildLicenseApi(baseClient);
|
|
530
533
|
this.mail = buildMailApi(baseClient);
|
|
534
|
+
this.misc = buildMiscApi(baseClient);
|
|
531
535
|
this.notification = buildNotificationApi(baseClient);
|
|
532
536
|
this.pageInsights = buildPageInsightsApi(baseClient);
|
|
533
537
|
this.user = buildUserApi(baseClient);
|
|
534
538
|
this.project = buildProjectApi(baseClient);
|
|
535
539
|
this.projectFileSystem = buildProjectFileSystemApi(baseClient);
|
|
536
540
|
this.sshsftpUser = buildSshsftpUserApi(baseClient);
|
|
537
|
-
this.cronjob = buildCronjobApi(baseClient);
|
|
538
|
-
this.misc = buildMiscApi(baseClient);
|
|
539
541
|
}
|
|
540
542
|
static fromBaseClient(baseClient) {
|
|
541
543
|
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 = {
|
|
@@ -184,8 +184,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
184
184
|
startService: this.requestFunctionFactory(descriptors.containerStartService),
|
|
185
185
|
/** Stop a started Service. */
|
|
186
186
|
stopService: this.requestFunctionFactory(descriptors.containerStopService),
|
|
187
|
-
/** Validate a Registries' URI. */
|
|
188
|
-
validateContainerRegistryUri: this.requestFunctionFactory(descriptors.containerValidateContainerRegistryUri),
|
|
189
187
|
/** Validate a Registries' credentials. */
|
|
190
188
|
validateRegistryCredentials: this.requestFunctionFactory(descriptors.containerValidateRegistryCredentials),
|
|
191
189
|
};
|
|
@@ -414,6 +412,29 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
414
412
|
/** Update the content of the message */
|
|
415
413
|
updateMessage: this.requestFunctionFactory(descriptors.conversationUpdateMessage),
|
|
416
414
|
};
|
|
415
|
+
/** The cronjob API allows you to manage cronjobs within a project. */
|
|
416
|
+
cronjob = {
|
|
417
|
+
/** List Cronjobs belonging to a Project. */
|
|
418
|
+
listCronjobs: this.requestFunctionFactory(descriptors.cronjobListCronjobs),
|
|
419
|
+
/** Create a Cronjob. */
|
|
420
|
+
createCronjob: this.requestFunctionFactory(descriptors.cronjobCreateCronjob),
|
|
421
|
+
/** List CronjobExecutions belonging to a Cronjob. */
|
|
422
|
+
listExecutions: this.requestFunctionFactory(descriptors.cronjobListExecutions),
|
|
423
|
+
/** Trigger a Cronjob. */
|
|
424
|
+
createExecution: this.requestFunctionFactory(descriptors.cronjobCreateExecution),
|
|
425
|
+
/** Get a Cronjob. */
|
|
426
|
+
getCronjob: this.requestFunctionFactory(descriptors.cronjobGetCronjob),
|
|
427
|
+
/** Delete a Cronjob. */
|
|
428
|
+
deleteCronjob: this.requestFunctionFactory(descriptors.cronjobDeleteCronjob),
|
|
429
|
+
/** Update a Cronjob. */
|
|
430
|
+
updateCronjob: this.requestFunctionFactory(descriptors.cronjobUpdateCronjob),
|
|
431
|
+
/** Get a CronjobExecution analysis for failed executions. */
|
|
432
|
+
getExecutionAnalysis: this.requestFunctionFactory(descriptors.cronjobGetExecutionAnalysis),
|
|
433
|
+
/** Get a CronjobExecution. */
|
|
434
|
+
getExecution: this.requestFunctionFactory(descriptors.cronjobGetExecution),
|
|
435
|
+
/** Update a Cronjob's app installation id. */
|
|
436
|
+
replaceCronjobAppInstallationId: this.requestFunctionFactory(descriptors.cronjobReplaceCronjobAppInstallationId),
|
|
437
|
+
};
|
|
417
438
|
/** The customer API allows you to manage your own organizations and users. */
|
|
418
439
|
customer = {
|
|
419
440
|
/** Accept a CustomerInvite. */
|
|
@@ -566,6 +587,12 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
566
587
|
listTldContactSchemas: this.requestFunctionFactory(descriptors.domainListTldContactSchemas),
|
|
567
588
|
/** List TLDs. */
|
|
568
589
|
listTlds: this.requestFunctionFactory(descriptors.domainListTlds),
|
|
590
|
+
/** Check if a Domain-Migration from a pAccount into a Project is possible. */
|
|
591
|
+
migrationCheckMigrationIsPossible: this.requestFunctionFactory(descriptors.domainMigrationCheckMigrationIsPossible),
|
|
592
|
+
/** List Domain-Migrations belonging to a p-Account. */
|
|
593
|
+
migrationListMigrations: this.requestFunctionFactory(descriptors.domainMigrationListMigrations),
|
|
594
|
+
/** Create a Domain-Migration from a pAccount into a Project. */
|
|
595
|
+
migrationRequestDomainMigration: this.requestFunctionFactory(descriptors.domainMigrationRequestDomainMigration),
|
|
569
596
|
/** Resend a Domain email. */
|
|
570
597
|
resendDomainEmail: this.requestFunctionFactory(descriptors.domainResendDomainEmail),
|
|
571
598
|
/** Suggest a list of domains based on a prompt using AI. */
|
|
@@ -853,6 +880,17 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
853
880
|
/** Validate a License's key for a project. */
|
|
854
881
|
validateLicenseKeyForProject: this.requestFunctionFactory(descriptors.licenseValidateLicenseKeyForProject),
|
|
855
882
|
};
|
|
883
|
+
/** API endpoints that are not related to any specific API domain */
|
|
884
|
+
misc = {
|
|
885
|
+
/** List valid time zones. */
|
|
886
|
+
ellaneousListTimeZones: this.requestFunctionFactory(descriptors.miscellaneousListTimeZones),
|
|
887
|
+
/** Check if an email is from mittwald. */
|
|
888
|
+
verificationDetectPhishingEmail: this.requestFunctionFactory(descriptors.verificationDetectPhishingEmail),
|
|
889
|
+
/** Check if an address exists. */
|
|
890
|
+
verificationVerifyAddress: this.requestFunctionFactory(descriptors.verificationVerifyAddress),
|
|
891
|
+
/** Check if a company exists. */
|
|
892
|
+
verificationVerifyCompany: this.requestFunctionFactory(descriptors.verificationVerifyCompany),
|
|
893
|
+
};
|
|
856
894
|
/** The page insights API allows you to get page insights information. */
|
|
857
895
|
pageInsights = {
|
|
858
896
|
/** Get detailed performance data for a given domain and path. */
|
|
@@ -972,39 +1010,5 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
972
1010
|
/** Update an SSHUser. */
|
|
973
1011
|
sshUserUpdateSshUser: this.requestFunctionFactory(descriptors.sshUserUpdateSshUser),
|
|
974
1012
|
};
|
|
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
1013
|
}
|
|
1010
1014
|
export default MittwaldAPIV2Client;
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/** Accepts the model terms for a customer. */
|
|
2
|
+
export const aiHostingCustomerAcceptModelTerms = {
|
|
3
|
+
path: "/v2/customers/{customerId}/ai-hosting-models/actions/accept-terms",
|
|
4
|
+
method: "POST",
|
|
5
|
+
operationId: "ai-hosting-customer-accept-model-terms",
|
|
6
|
+
};
|
|
1
7
|
/** Get a list of already created keys. */
|
|
2
8
|
export const aiHostingCustomerGetKeys = {
|
|
3
9
|
path: "/v2/customers/{customerId}/ai-hosting-keys",
|
|
@@ -28,6 +34,12 @@ export const aiHostingCustomerDeleteKey = {
|
|
|
28
34
|
method: "DELETE",
|
|
29
35
|
operationId: "ai-hosting-customer-delete-key",
|
|
30
36
|
};
|
|
37
|
+
/** Get a list of currently active models. */
|
|
38
|
+
export const aiHostingCustomerGetDetailedModels = {
|
|
39
|
+
path: "/v2/customers/{customerId}/ai-hosting-models",
|
|
40
|
+
method: "GET",
|
|
41
|
+
operationId: "ai-hosting-customer-get-detailed-models",
|
|
42
|
+
};
|
|
31
43
|
/** Get ai hosting plan and usages of a customer. */
|
|
32
44
|
export const aiHostingCustomerGetUsage = {
|
|
33
45
|
path: "/v2/customers/{customerId}/ai-hosting",
|
|
@@ -70,6 +82,12 @@ export const aiHostingProjectDeleteKey = {
|
|
|
70
82
|
method: "DELETE",
|
|
71
83
|
operationId: "ai-hosting-project-delete-key",
|
|
72
84
|
};
|
|
85
|
+
/** Get a list of currently active models. */
|
|
86
|
+
export const aiHostingProjectGetDetailedModels = {
|
|
87
|
+
path: "/v2/projects/{projectId}/ai-hosting-models",
|
|
88
|
+
method: "GET",
|
|
89
|
+
operationId: "ai-hosting-project-get-detailed-models",
|
|
90
|
+
};
|
|
73
91
|
/** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
|
|
74
92
|
export const aiHostingProjectGetUsage = {
|
|
75
93
|
path: "/v2/projects/{projectId}/ai-hosting",
|
|
@@ -478,12 +496,6 @@ export const containerStopService = {
|
|
|
478
496
|
method: "POST",
|
|
479
497
|
operationId: "container-stop-service",
|
|
480
498
|
};
|
|
481
|
-
/** Validate a Registries' URI. */
|
|
482
|
-
export const containerValidateContainerRegistryUri = {
|
|
483
|
-
path: "/v2/actions/validate-container-registry-uri",
|
|
484
|
-
method: "POST",
|
|
485
|
-
operationId: "container-validate-container-registry-uri",
|
|
486
|
-
};
|
|
487
499
|
/** Validate a Registries' credentials. */
|
|
488
500
|
export const containerValidateRegistryCredentials = {
|
|
489
501
|
path: "/v2/registries/{registryId}/actions/validate-credentials",
|
|
@@ -778,6 +790,66 @@ export const conversationUpdateMessage = {
|
|
|
778
790
|
method: "PATCH",
|
|
779
791
|
operationId: "conversation-update-message",
|
|
780
792
|
};
|
|
793
|
+
/** List Cronjobs belonging to a Project. */
|
|
794
|
+
export const cronjobListCronjobs = {
|
|
795
|
+
path: "/v2/projects/{projectId}/cronjobs",
|
|
796
|
+
method: "GET",
|
|
797
|
+
operationId: "cronjob-list-cronjobs",
|
|
798
|
+
};
|
|
799
|
+
/** Create a Cronjob. */
|
|
800
|
+
export const cronjobCreateCronjob = {
|
|
801
|
+
path: "/v2/projects/{projectId}/cronjobs",
|
|
802
|
+
method: "POST",
|
|
803
|
+
operationId: "cronjob-create-cronjob",
|
|
804
|
+
};
|
|
805
|
+
/** List CronjobExecutions belonging to a Cronjob. */
|
|
806
|
+
export const cronjobListExecutions = {
|
|
807
|
+
path: "/v2/cronjobs/{cronjobId}/executions",
|
|
808
|
+
method: "GET",
|
|
809
|
+
operationId: "cronjob-list-executions",
|
|
810
|
+
};
|
|
811
|
+
/** Trigger a Cronjob. */
|
|
812
|
+
export const cronjobCreateExecution = {
|
|
813
|
+
path: "/v2/cronjobs/{cronjobId}/executions",
|
|
814
|
+
method: "POST",
|
|
815
|
+
operationId: "cronjob-create-execution",
|
|
816
|
+
};
|
|
817
|
+
/** Get a Cronjob. */
|
|
818
|
+
export const cronjobGetCronjob = {
|
|
819
|
+
path: "/v2/cronjobs/{cronjobId}",
|
|
820
|
+
method: "GET",
|
|
821
|
+
operationId: "cronjob-get-cronjob",
|
|
822
|
+
};
|
|
823
|
+
/** Delete a Cronjob. */
|
|
824
|
+
export const cronjobDeleteCronjob = {
|
|
825
|
+
path: "/v2/cronjobs/{cronjobId}",
|
|
826
|
+
method: "DELETE",
|
|
827
|
+
operationId: "cronjob-delete-cronjob",
|
|
828
|
+
};
|
|
829
|
+
/** Update a Cronjob. */
|
|
830
|
+
export const cronjobUpdateCronjob = {
|
|
831
|
+
path: "/v2/cronjobs/{cronjobId}",
|
|
832
|
+
method: "PATCH",
|
|
833
|
+
operationId: "cronjob-update-cronjob",
|
|
834
|
+
};
|
|
835
|
+
/** Get a CronjobExecution analysis for failed executions. */
|
|
836
|
+
export const cronjobGetExecutionAnalysis = {
|
|
837
|
+
path: "/v2/cronjobs/{cronjobId}/executions/{executionId}/analysis",
|
|
838
|
+
method: "GET",
|
|
839
|
+
operationId: "cronjob-get-execution-analysis",
|
|
840
|
+
};
|
|
841
|
+
/** Get a CronjobExecution. */
|
|
842
|
+
export const cronjobGetExecution = {
|
|
843
|
+
path: "/v2/cronjobs/{cronjobId}/executions/{executionId}",
|
|
844
|
+
method: "GET",
|
|
845
|
+
operationId: "cronjob-get-execution",
|
|
846
|
+
};
|
|
847
|
+
/** Update a Cronjob's app installation id. */
|
|
848
|
+
export const cronjobReplaceCronjobAppInstallationId = {
|
|
849
|
+
path: "/v2/cronjobs/{cronjobId}/app-installation-id",
|
|
850
|
+
method: "PUT",
|
|
851
|
+
operationId: "cronjob-replace-cronjob-app-installation-id",
|
|
852
|
+
};
|
|
781
853
|
/** Accept a CustomerInvite. */
|
|
782
854
|
export const customerAcceptCustomerInvite = {
|
|
783
855
|
path: "/v2/customer-invites/{customerInviteId}/actions/accept",
|
|
@@ -1258,6 +1330,24 @@ export const domainListTlds = {
|
|
|
1258
1330
|
method: "GET",
|
|
1259
1331
|
operationId: "domain-list-tlds",
|
|
1260
1332
|
};
|
|
1333
|
+
/** Check if a Domain-Migration from a pAccount into a Project is possible. */
|
|
1334
|
+
export const domainMigrationCheckMigrationIsPossible = {
|
|
1335
|
+
path: "/v2/domain-migrations/actions/possibility-check",
|
|
1336
|
+
method: "POST",
|
|
1337
|
+
operationId: "domain-migration-check-migration-is-possible",
|
|
1338
|
+
};
|
|
1339
|
+
/** List Domain-Migrations belonging to a p-Account. */
|
|
1340
|
+
export const domainMigrationListMigrations = {
|
|
1341
|
+
path: "/v2/domain-migrations",
|
|
1342
|
+
method: "GET",
|
|
1343
|
+
operationId: "domain-migration-list-migrations",
|
|
1344
|
+
};
|
|
1345
|
+
/** Create a Domain-Migration from a pAccount into a Project. */
|
|
1346
|
+
export const domainMigrationRequestDomainMigration = {
|
|
1347
|
+
path: "/v2/domain-migrations/actions/request",
|
|
1348
|
+
method: "POST",
|
|
1349
|
+
operationId: "domain-migration-request-domain-migration",
|
|
1350
|
+
};
|
|
1261
1351
|
/** Resend a Domain email. */
|
|
1262
1352
|
export const domainResendDomainEmail = {
|
|
1263
1353
|
path: "/v2/domains/{domainId}/actions/resend-email",
|
|
@@ -1912,6 +2002,12 @@ export const marketplaceCustomerUpdatePaymentMethod = {
|
|
|
1912
2002
|
method: "PUT",
|
|
1913
2003
|
operationId: "marketplace-customer-update-payment-method",
|
|
1914
2004
|
};
|
|
2005
|
+
/** List valid time zones. */
|
|
2006
|
+
export const miscellaneousListTimeZones = {
|
|
2007
|
+
path: "/v2/time-zones",
|
|
2008
|
+
method: "GET",
|
|
2009
|
+
operationId: "miscellaneous-list-time-zones",
|
|
2010
|
+
};
|
|
1915
2011
|
/** Getting the subscription status of the subscription. */
|
|
1916
2012
|
export const newsletterGetInfo = {
|
|
1917
2013
|
path: "/v2/newsletter-subscriptions/self",
|
|
@@ -2704,87 +2800,3 @@ export const verificationVerifyCompany = {
|
|
|
2704
2800
|
method: "POST",
|
|
2705
2801
|
operationId: "verification-verify-company",
|
|
2706
2802
|
};
|
|
2707
|
-
/** Get a Cronjob. */
|
|
2708
|
-
export const cronjobGetCronjob = {
|
|
2709
|
-
path: "/v2/cronjobs/{cronjobId}",
|
|
2710
|
-
method: "GET",
|
|
2711
|
-
operationId: "cronjob-get-cronjob",
|
|
2712
|
-
};
|
|
2713
|
-
/** Delete a Cronjob. */
|
|
2714
|
-
export const cronjobDeleteCronjob = {
|
|
2715
|
-
path: "/v2/cronjobs/{cronjobId}",
|
|
2716
|
-
method: "DELETE",
|
|
2717
|
-
operationId: "cronjob-delete-cronjob",
|
|
2718
|
-
};
|
|
2719
|
-
/** Update a Cronjob. */
|
|
2720
|
-
export const cronjobUpdateCronjob = {
|
|
2721
|
-
path: "/v2/cronjobs/{cronjobId}",
|
|
2722
|
-
method: "PATCH",
|
|
2723
|
-
operationId: "cronjob-update-cronjob",
|
|
2724
|
-
};
|
|
2725
|
-
/** Update a Cronjob's app installation id. */
|
|
2726
|
-
export const cronjobReplaceCronjobAppInstallationId = {
|
|
2727
|
-
path: "/v2/cronjobs/{cronjobId}/app-installation-id",
|
|
2728
|
-
method: "PUT",
|
|
2729
|
-
operationId: "cronjob-replace-cronjob-app-installation-id",
|
|
2730
|
-
};
|
|
2731
|
-
/** List valid time zones. */
|
|
2732
|
-
export const miscellaneousListTimeZones = {
|
|
2733
|
-
path: "/v2/time-zones",
|
|
2734
|
-
method: "GET",
|
|
2735
|
-
operationId: "miscellaneous-list-time-zones",
|
|
2736
|
-
};
|
|
2737
|
-
/** List CronjobExecutions belonging to a Cronjob. */
|
|
2738
|
-
export const cronjobListExecutions = {
|
|
2739
|
-
path: "/v2/cronjobs/{cronjobId}/executions",
|
|
2740
|
-
method: "GET",
|
|
2741
|
-
operationId: "cronjob-list-executions",
|
|
2742
|
-
};
|
|
2743
|
-
/** Trigger a Cronjob. */
|
|
2744
|
-
export const cronjobCreateExecution = {
|
|
2745
|
-
path: "/v2/cronjobs/{cronjobId}/executions",
|
|
2746
|
-
method: "POST",
|
|
2747
|
-
operationId: "cronjob-create-execution",
|
|
2748
|
-
};
|
|
2749
|
-
/** Get a CronjobExecution analysis for failed executions. */
|
|
2750
|
-
export const cronjobGetExecutionAnalysis = {
|
|
2751
|
-
path: "/v2/cronjobs/{cronjobId}/executions/{executionId}/analysis",
|
|
2752
|
-
method: "GET",
|
|
2753
|
-
operationId: "cronjob-get-execution-analysis",
|
|
2754
|
-
};
|
|
2755
|
-
/** List Cronjobs belonging to a Project. */
|
|
2756
|
-
export const cronjobListCronjobs = {
|
|
2757
|
-
path: "/v2/projects/{projectId}/cronjobs",
|
|
2758
|
-
method: "GET",
|
|
2759
|
-
operationId: "cronjob-list-cronjobs",
|
|
2760
|
-
};
|
|
2761
|
-
/** Create a Cronjob. */
|
|
2762
|
-
export const cronjobCreateCronjob = {
|
|
2763
|
-
path: "/v2/projects/{projectId}/cronjobs",
|
|
2764
|
-
method: "POST",
|
|
2765
|
-
operationId: "cronjob-create-cronjob",
|
|
2766
|
-
};
|
|
2767
|
-
/** Get a CronjobExecution. */
|
|
2768
|
-
export const cronjobGetExecution = {
|
|
2769
|
-
path: "/v2/cronjobs/{cronjobId}/executions/{executionId}",
|
|
2770
|
-
method: "GET",
|
|
2771
|
-
operationId: "cronjob-get-execution",
|
|
2772
|
-
};
|
|
2773
|
-
/** Get a list of currently active models. */
|
|
2774
|
-
export const aiHostingCustomerGetDetailedModels = {
|
|
2775
|
-
path: "/v2/customers/{customerId}/ai-hosting-models",
|
|
2776
|
-
method: "GET",
|
|
2777
|
-
operationId: "ai-hosting-customer-get-detailed-models",
|
|
2778
|
-
};
|
|
2779
|
-
/** Get a list of currently active models. */
|
|
2780
|
-
export const aiHostingProjectGetDetailedModels = {
|
|
2781
|
-
path: "/v2/projects/{projectId}/ai-hosting-models",
|
|
2782
|
-
method: "GET",
|
|
2783
|
-
operationId: "ai-hosting-project-get-detailed-models",
|
|
2784
|
-
};
|
|
2785
|
-
/** Accepts the model terms for a customer. */
|
|
2786
|
-
export const aiHostingCustomerAcceptModelTerms = {
|
|
2787
|
-
path: "/v2/customers/{customerId}/ai-hosting-models/actions/accept-terms",
|
|
2788
|
-
method: "POST",
|
|
2789
|
-
operationId: "ai-hosting-customer-accept-model-terms",
|
|
2790
|
-
};
|
package/dist/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export const MittwaldAPIClientVersion = '4.346.0';
|