@mittwald/api-client 4.421.0 → 4.424.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 +6 -6
- package/dist/esm/generated/v2/client.js +16 -8
- package/dist/esm/generated/v2/descriptors.js +46 -22
- package/dist/esm/generated/v3-next/client-react.js +6 -6
- package/dist/esm/generated/v3-next/client.js +16 -8
- package/dist/esm/generated/v3-next/descriptors.js +46 -22
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/v2/client-react.d.ts +26 -26
- package/dist/types/generated/v2/client.d.ts +420 -143
- package/dist/types/generated/v2/descriptors.d.ts +16 -8
- package/dist/types/generated/v2/types.d.ts +565 -302
- package/dist/types/generated/v3-next/client-react.d.ts +26 -26
- package/dist/types/generated/v3-next/client.d.ts +420 -143
- package/dist/types/generated/v3-next/descriptors.d.ts +16 -8
- package/dist/types/generated/v3-next/types.d.ts +565 -302
- package/dist/types/version.d.ts +1 -1
- package/package.json +4 -4
|
@@ -92,6 +92,8 @@ const buildContainerApi = (baseClient) => ({
|
|
|
92
92
|
getServiceLogs: new ApiCallAsyncResourceFactory(descriptors.containerGetServiceLogs, baseClient.container.getServiceLogs).getApiResource,
|
|
93
93
|
/** Get a Service belonging to a Stack. */
|
|
94
94
|
getService: new ApiCallAsyncResourceFactory(descriptors.containerGetService, baseClient.container.getService).getApiResource,
|
|
95
|
+
/** Get a Container Template asset. */
|
|
96
|
+
getTemplateAsset: new ApiCallAsyncResourceFactory(descriptors.containerGetTemplateAsset, baseClient.container.getTemplateAsset).getApiResource,
|
|
95
97
|
/** Get a Container Template by ID. */
|
|
96
98
|
getTemplate: new ApiCallAsyncResourceFactory(descriptors.containerGetTemplate, baseClient.container.getTemplate).getApiResource,
|
|
97
99
|
/** List Stacks belonging to the executing user. */
|
|
@@ -104,8 +106,6 @@ const buildContainerApi = (baseClient) => ({
|
|
|
104
106
|
listTemplates: new ApiCallAsyncResourceFactory(descriptors.containerListTemplates, baseClient.container.listTemplates).getApiResource,
|
|
105
107
|
/** List Volumes belonging to a Project. */
|
|
106
108
|
listVolumes: new ApiCallAsyncResourceFactory(descriptors.containerListVolumes, baseClient.container.listVolumes).getApiResource,
|
|
107
|
-
/** Get a Container Template asset. */
|
|
108
|
-
getTemplateAsset: new ApiCallAsyncResourceFactory(descriptors.containerGetTemplateAsset, baseClient.container.getTemplateAsset).getApiResource,
|
|
109
109
|
});
|
|
110
110
|
const buildContractApi = (baseClient) => ({
|
|
111
111
|
/** Return the BaseItem of the Contract with the given ID. */
|
|
@@ -362,16 +362,16 @@ const buildMailApi = (baseClient) => ({
|
|
|
362
362
|
getDeliveryBox: new ApiCallAsyncResourceFactory(descriptors.mailGetDeliveryBox, baseClient.mail.getDeliveryBox).getApiResource,
|
|
363
363
|
/** Get a MailAddress. */
|
|
364
364
|
getMailAddress: new ApiCallAsyncResourceFactory(descriptors.mailGetMailAddress, baseClient.mail.getMailAddress).getApiResource,
|
|
365
|
+
/** Get a Mail RateLimit. */
|
|
366
|
+
getMailRateLimit: new ApiCallAsyncResourceFactory(descriptors.mailGetMailRateLimit, baseClient.mail.getMailRateLimit).getApiResource,
|
|
365
367
|
/** List backups belonging to a MailAddress. */
|
|
366
368
|
listBackupsForMailAddress: new ApiCallAsyncResourceFactory(descriptors.mailListBackupsForMailAddress, baseClient.mail.listBackupsForMailAddress).getApiResource,
|
|
367
369
|
/** List MailAddresses. */
|
|
368
370
|
listMailAddressesForUser: new ApiCallAsyncResourceFactory(descriptors.mailListMailAddressesForUser, baseClient.mail.listMailAddressesForUser).getApiResource,
|
|
369
|
-
/** List mail settings of a Project. */
|
|
370
|
-
listProjectMailSettings: new ApiCallAsyncResourceFactory(descriptors.mailListProjectMailSettings, baseClient.mail.listProjectMailSettings).getApiResource,
|
|
371
|
-
/** Get a Mail RateLimit. */
|
|
372
|
-
getMailRateLimit: new ApiCallAsyncResourceFactory(descriptors.mailGetMailRateLimit, baseClient.mail.getMailRateLimit).getApiResource,
|
|
373
371
|
/** List Mail RateLimits. */
|
|
374
372
|
listMailRateLimits: new ApiCallAsyncResourceFactory(descriptors.mailListMailRateLimits, baseClient.mail.listMailRateLimits).getApiResource,
|
|
373
|
+
/** List mail settings of a Project. */
|
|
374
|
+
listProjectMailSettings: new ApiCallAsyncResourceFactory(descriptors.mailListProjectMailSettings, baseClient.mail.listProjectMailSettings).getApiResource,
|
|
375
375
|
});
|
|
376
376
|
const buildMiscApi = (baseClient) => ({
|
|
377
377
|
/** List valid time zones. */
|
|
@@ -121,6 +121,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
121
121
|
getProjectBackup: this.requestFunctionFactory(descriptors.backupGetProjectBackup),
|
|
122
122
|
/** Delete a ProjectBackup. */
|
|
123
123
|
deleteProjectBackup: this.requestFunctionFactory(descriptors.backupDeleteProjectBackup),
|
|
124
|
+
/** Update a ProjectBackup. */
|
|
125
|
+
updateProjectBackup: this.requestFunctionFactory(descriptors.backupUpdateProjectBackup),
|
|
124
126
|
/** List database dump's for a ProjectBackup. */
|
|
125
127
|
getProjectBackupDatabaseDumps: this.requestFunctionFactory(descriptors.backupGetProjectBackupDatabaseDumps),
|
|
126
128
|
/** List paths for a ProjectBackup. */
|
|
@@ -168,6 +170,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
168
170
|
getServiceLogs: this.requestFunctionFactory(descriptors.containerGetServiceLogs),
|
|
169
171
|
/** Get a Service belonging to a Stack. */
|
|
170
172
|
getService: this.requestFunctionFactory(descriptors.containerGetService),
|
|
173
|
+
/** Get a Container Template asset. */
|
|
174
|
+
getTemplateAsset: this.requestFunctionFactory(descriptors.containerGetTemplateAsset),
|
|
171
175
|
/** Get a Container Template by ID. */
|
|
172
176
|
getTemplate: this.requestFunctionFactory(descriptors.containerGetTemplate),
|
|
173
177
|
/** List Stacks belonging to the executing user. */
|
|
@@ -194,8 +198,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
194
198
|
startService: this.requestFunctionFactory(descriptors.containerStartService),
|
|
195
199
|
/** Stop a started Service. */
|
|
196
200
|
stopService: this.requestFunctionFactory(descriptors.containerStopService),
|
|
197
|
-
/**
|
|
198
|
-
|
|
201
|
+
/** Add a template component to a Stack. */
|
|
202
|
+
addTemplateComponent: this.requestFunctionFactory(descriptors.containerAddTemplateComponent),
|
|
199
203
|
};
|
|
200
204
|
/** The contract API allows you to manage your contracts and orders */
|
|
201
205
|
contract = {
|
|
@@ -676,14 +680,20 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
676
680
|
deleteMailAddress: this.requestFunctionFactory(descriptors.mailDeleteMailAddress),
|
|
677
681
|
/** Disable the mail-archive of a MailAddress. */
|
|
678
682
|
disableMailArchive: this.requestFunctionFactory(descriptors.mailDisableMailArchive),
|
|
683
|
+
/** Get a Mail RateLimit. */
|
|
684
|
+
getMailRateLimit: this.requestFunctionFactory(descriptors.mailGetMailRateLimit),
|
|
679
685
|
/** List backups belonging to a MailAddress. */
|
|
680
686
|
listBackupsForMailAddress: this.requestFunctionFactory(descriptors.mailListBackupsForMailAddress),
|
|
681
687
|
/** List MailAddresses. */
|
|
682
688
|
listMailAddressesForUser: this.requestFunctionFactory(descriptors.mailListMailAddressesForUser),
|
|
689
|
+
/** List Mail RateLimits. */
|
|
690
|
+
listMailRateLimits: this.requestFunctionFactory(descriptors.mailListMailRateLimits),
|
|
683
691
|
/** List mail settings of a Project. */
|
|
684
692
|
listProjectMailSettings: this.requestFunctionFactory(descriptors.mailListProjectMailSettings),
|
|
685
693
|
/** Recover emails for a MailAddress from a backup. */
|
|
686
694
|
recoverMailAddressEmails: this.requestFunctionFactory(descriptors.mailRecoverMailAddressEmails),
|
|
695
|
+
/** Request a rate limit change for a MailAddress. */
|
|
696
|
+
requestMailAddressRateLimitChange: this.requestFunctionFactory(descriptors.mailRequestMailAddressRateLimitChange),
|
|
687
697
|
/** Update the description of a DeliveryBox. */
|
|
688
698
|
updateDeliveryBoxDescription: this.requestFunctionFactory(descriptors.mailUpdateDeliveryBoxDescription),
|
|
689
699
|
/** Update the password of a DeliveryBox. */
|
|
@@ -692,12 +702,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
692
702
|
updateMailAddressAddress: this.requestFunctionFactory(descriptors.mailUpdateMailAddressAddress),
|
|
693
703
|
/** Update the catch-all of a MailAddress. */
|
|
694
704
|
updateMailAddressCatchAll: this.requestFunctionFactory(descriptors.mailUpdateMailAddressCatchAll),
|
|
695
|
-
/** Get a Mail RateLimit. */
|
|
696
|
-
getMailRateLimit: this.requestFunctionFactory(descriptors.mailGetMailRateLimit),
|
|
697
|
-
/** List Mail RateLimits. */
|
|
698
|
-
listMailRateLimits: this.requestFunctionFactory(descriptors.mailListMailRateLimits),
|
|
699
|
-
/** Request a rate limit change for a MailAddress. */
|
|
700
|
-
requestMailAddressRateLimitChange: this.requestFunctionFactory(descriptors.mailRequestMailAddressRateLimitChange),
|
|
701
705
|
};
|
|
702
706
|
/** The notification API allows you to manage your notifications. */
|
|
703
707
|
notification = {
|
|
@@ -968,8 +972,12 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
968
972
|
updateServerDescription: this.requestFunctionFactory(descriptors.projectUpdateServerDescription),
|
|
969
973
|
/** Get storage space Statistics belonging to a Project. */
|
|
970
974
|
storagespaceGetProjectStatistics: this.requestFunctionFactory(descriptors.storagespaceGetProjectStatistics),
|
|
975
|
+
/** Update a Project's storage space statistics. */
|
|
976
|
+
storagespaceUpdateProjectStatistics: this.requestFunctionFactory(descriptors.storagespaceUpdateProjectStatistics),
|
|
971
977
|
/** Get storage space Statistics belonging to a Server. */
|
|
972
978
|
storagespaceGetServerStatistics: this.requestFunctionFactory(descriptors.storagespaceGetServerStatistics),
|
|
979
|
+
/** Update a Server's storage space statistics. */
|
|
980
|
+
storagespaceUpdateServerStatistics: this.requestFunctionFactory(descriptors.storagespaceUpdateServerStatistics),
|
|
973
981
|
/** Update a Project's storage space notification threshold. */
|
|
974
982
|
storagespaceReplaceProjectNotificationThreshold: this.requestFunctionFactory(descriptors.storagespaceReplaceProjectNotificationThreshold),
|
|
975
983
|
/** Update a Server's storage space notification threshold. */
|
|
@@ -316,6 +316,12 @@ export const backupDeleteProjectBackup = {
|
|
|
316
316
|
method: "DELETE",
|
|
317
317
|
operationId: "backup-delete-project-backup",
|
|
318
318
|
};
|
|
319
|
+
/** Update a ProjectBackup. */
|
|
320
|
+
export const backupUpdateProjectBackup = {
|
|
321
|
+
path: "/v2/project-backups/{projectBackupId}",
|
|
322
|
+
method: "PATCH",
|
|
323
|
+
operationId: "backup-update-project-backup",
|
|
324
|
+
};
|
|
319
325
|
/** List database dump's for a ProjectBackup. */
|
|
320
326
|
export const backupGetProjectBackupDatabaseDumps = {
|
|
321
327
|
path: "/v2/project-backups/{projectBackupId}/database-dumps",
|
|
@@ -448,6 +454,12 @@ export const containerGetService = {
|
|
|
448
454
|
method: "GET",
|
|
449
455
|
operationId: "container-get-service",
|
|
450
456
|
};
|
|
457
|
+
/** Get a Container Template asset. */
|
|
458
|
+
export const containerGetTemplateAsset = {
|
|
459
|
+
path: "/v2/container-templates/{templateId}/assets/{assetPath}",
|
|
460
|
+
method: "GET",
|
|
461
|
+
operationId: "container-get-template-asset",
|
|
462
|
+
};
|
|
451
463
|
/** Get a Container Template by ID. */
|
|
452
464
|
export const containerGetTemplate = {
|
|
453
465
|
path: "/v2/container-templates/{templateId}",
|
|
@@ -1936,6 +1948,12 @@ export const mailDisableMailArchive = {
|
|
|
1936
1948
|
method: "DELETE",
|
|
1937
1949
|
operationId: "mail-disable-mail-archive",
|
|
1938
1950
|
};
|
|
1951
|
+
/** Get a Mail RateLimit. */
|
|
1952
|
+
export const mailGetMailRateLimit = {
|
|
1953
|
+
path: "/v2/mail-rate-limits/{mailRateLimitId}",
|
|
1954
|
+
method: "GET",
|
|
1955
|
+
operationId: "mail-get-mail-rate-limit",
|
|
1956
|
+
};
|
|
1939
1957
|
/** List backups belonging to a MailAddress. */
|
|
1940
1958
|
export const mailListBackupsForMailAddress = {
|
|
1941
1959
|
path: "/v2/mail-addresses/{mailAddressId}/backups",
|
|
@@ -1948,6 +1966,12 @@ export const mailListMailAddressesForUser = {
|
|
|
1948
1966
|
method: "GET",
|
|
1949
1967
|
operationId: "mail-list-mail-addresses-for-user",
|
|
1950
1968
|
};
|
|
1969
|
+
/** List Mail RateLimits. */
|
|
1970
|
+
export const mailListMailRateLimits = {
|
|
1971
|
+
path: "/v2/mail-rate-limits",
|
|
1972
|
+
method: "GET",
|
|
1973
|
+
operationId: "mail-list-mail-rate-limits",
|
|
1974
|
+
};
|
|
1951
1975
|
/** List mail settings of a Project. */
|
|
1952
1976
|
export const mailListProjectMailSettings = {
|
|
1953
1977
|
path: "/v2/projects/{projectId}/mail-settings",
|
|
@@ -1960,6 +1984,12 @@ export const mailRecoverMailAddressEmails = {
|
|
|
1960
1984
|
method: "POST",
|
|
1961
1985
|
operationId: "mail-recover-mail-address-emails",
|
|
1962
1986
|
};
|
|
1987
|
+
/** Request a rate limit change for a MailAddress. */
|
|
1988
|
+
export const mailRequestMailAddressRateLimitChange = {
|
|
1989
|
+
path: "/v2/mail-addresses/{mailAddressId}/actions/request-rate-limit-change",
|
|
1990
|
+
method: "POST",
|
|
1991
|
+
operationId: "mail-request-mail-address-rate-limit-change",
|
|
1992
|
+
};
|
|
1963
1993
|
/** Update the description of a DeliveryBox. */
|
|
1964
1994
|
export const mailUpdateDeliveryBoxDescription = {
|
|
1965
1995
|
path: "/v2/delivery-boxes/{deliveryBoxId}/description",
|
|
@@ -2452,12 +2482,24 @@ export const storagespaceGetProjectStatistics = {
|
|
|
2452
2482
|
method: "GET",
|
|
2453
2483
|
operationId: "storagespace-get-project-statistics",
|
|
2454
2484
|
};
|
|
2485
|
+
/** Update a Project's storage space statistics. */
|
|
2486
|
+
export const storagespaceUpdateProjectStatistics = {
|
|
2487
|
+
path: "/v2/projects/{projectId}/storage-space-statistics",
|
|
2488
|
+
method: "PATCH",
|
|
2489
|
+
operationId: "storagespace-update-project-statistics",
|
|
2490
|
+
};
|
|
2455
2491
|
/** Get storage space Statistics belonging to a Server. */
|
|
2456
2492
|
export const storagespaceGetServerStatistics = {
|
|
2457
2493
|
path: "/v2/servers/{serverId}/storage-space-statistics",
|
|
2458
2494
|
method: "GET",
|
|
2459
2495
|
operationId: "storagespace-get-server-statistics",
|
|
2460
2496
|
};
|
|
2497
|
+
/** Update a Server's storage space statistics. */
|
|
2498
|
+
export const storagespaceUpdateServerStatistics = {
|
|
2499
|
+
path: "/v2/servers/{serverId}/storage-space-statistics",
|
|
2500
|
+
method: "PATCH",
|
|
2501
|
+
operationId: "storagespace-update-server-statistics",
|
|
2502
|
+
};
|
|
2461
2503
|
/** Update a Project's storage space notification threshold. */
|
|
2462
2504
|
export const storagespaceReplaceProjectNotificationThreshold = {
|
|
2463
2505
|
path: "/v2/projects/{projectId}/storage-space-notification-threshold",
|
|
@@ -2800,27 +2842,9 @@ export const verificationVerifyCompany = {
|
|
|
2800
2842
|
method: "POST",
|
|
2801
2843
|
operationId: "verification-verify-company",
|
|
2802
2844
|
};
|
|
2803
|
-
/**
|
|
2804
|
-
export const
|
|
2805
|
-
path: "/v2/
|
|
2806
|
-
method: "GET",
|
|
2807
|
-
operationId: "mail-get-mail-rate-limit",
|
|
2808
|
-
};
|
|
2809
|
-
/** List Mail RateLimits. */
|
|
2810
|
-
export const mailListMailRateLimits = {
|
|
2811
|
-
path: "/v2/mail-rate-limits",
|
|
2812
|
-
method: "GET",
|
|
2813
|
-
operationId: "mail-list-mail-rate-limits",
|
|
2814
|
-
};
|
|
2815
|
-
/** Request a rate limit change for a MailAddress. */
|
|
2816
|
-
export const mailRequestMailAddressRateLimitChange = {
|
|
2817
|
-
path: "/v2/mail-addresses/{mailAddressId}/actions/request-rate-limit-change",
|
|
2845
|
+
/** Add a template component to a Stack. */
|
|
2846
|
+
export const containerAddTemplateComponent = {
|
|
2847
|
+
path: "/v2/stacks/{stackId}/actions/add-template-component",
|
|
2818
2848
|
method: "POST",
|
|
2819
|
-
operationId: "
|
|
2820
|
-
};
|
|
2821
|
-
/** Get a Container Template asset. */
|
|
2822
|
-
export const containerGetTemplateAsset = {
|
|
2823
|
-
path: "/v2/container-templates/{templateId}/assets/{assetPath}",
|
|
2824
|
-
method: "GET",
|
|
2825
|
-
operationId: "container-get-template-asset",
|
|
2849
|
+
operationId: "container-add-template-component",
|
|
2826
2850
|
};
|
|
@@ -92,6 +92,8 @@ const buildContainerApi = (baseClient) => ({
|
|
|
92
92
|
getServiceLogs: new ApiCallAsyncResourceFactory(descriptors.containerGetServiceLogs, baseClient.container.getServiceLogs).getApiResource,
|
|
93
93
|
/** Get a Service belonging to a Stack. */
|
|
94
94
|
getService: new ApiCallAsyncResourceFactory(descriptors.containerGetService, baseClient.container.getService).getApiResource,
|
|
95
|
+
/** Get a Container Template asset. */
|
|
96
|
+
getTemplateAsset: new ApiCallAsyncResourceFactory(descriptors.containerGetTemplateAsset, baseClient.container.getTemplateAsset).getApiResource,
|
|
95
97
|
/** Get a Container Template by ID. */
|
|
96
98
|
getTemplate: new ApiCallAsyncResourceFactory(descriptors.containerGetTemplate, baseClient.container.getTemplate).getApiResource,
|
|
97
99
|
/** List Stacks belonging to the executing user. */
|
|
@@ -104,8 +106,6 @@ const buildContainerApi = (baseClient) => ({
|
|
|
104
106
|
listTemplates: new ApiCallAsyncResourceFactory(descriptors.containerListTemplates, baseClient.container.listTemplates).getApiResource,
|
|
105
107
|
/** List Volumes belonging to a Project. */
|
|
106
108
|
listVolumes: new ApiCallAsyncResourceFactory(descriptors.containerListVolumes, baseClient.container.listVolumes).getApiResource,
|
|
107
|
-
/** Get a Container Template asset. */
|
|
108
|
-
getTemplateAsset: new ApiCallAsyncResourceFactory(descriptors.containerGetTemplateAsset, baseClient.container.getTemplateAsset).getApiResource,
|
|
109
109
|
});
|
|
110
110
|
const buildContractApi = (baseClient) => ({
|
|
111
111
|
/** Return the BaseItem of the Contract with the given ID. */
|
|
@@ -362,16 +362,16 @@ const buildMailApi = (baseClient) => ({
|
|
|
362
362
|
getDeliveryBox: new ApiCallAsyncResourceFactory(descriptors.mailGetDeliveryBox, baseClient.mail.getDeliveryBox).getApiResource,
|
|
363
363
|
/** Get a MailAddress. */
|
|
364
364
|
getMailAddress: new ApiCallAsyncResourceFactory(descriptors.mailGetMailAddress, baseClient.mail.getMailAddress).getApiResource,
|
|
365
|
+
/** Get a Mail RateLimit. */
|
|
366
|
+
getMailRateLimit: new ApiCallAsyncResourceFactory(descriptors.mailGetMailRateLimit, baseClient.mail.getMailRateLimit).getApiResource,
|
|
365
367
|
/** List backups belonging to a MailAddress. */
|
|
366
368
|
listBackupsForMailAddress: new ApiCallAsyncResourceFactory(descriptors.mailListBackupsForMailAddress, baseClient.mail.listBackupsForMailAddress).getApiResource,
|
|
367
369
|
/** List MailAddresses. */
|
|
368
370
|
listMailAddressesForUser: new ApiCallAsyncResourceFactory(descriptors.mailListMailAddressesForUser, baseClient.mail.listMailAddressesForUser).getApiResource,
|
|
369
|
-
/** List mail settings of a Project. */
|
|
370
|
-
listProjectMailSettings: new ApiCallAsyncResourceFactory(descriptors.mailListProjectMailSettings, baseClient.mail.listProjectMailSettings).getApiResource,
|
|
371
|
-
/** Get a Mail RateLimit. */
|
|
372
|
-
getMailRateLimit: new ApiCallAsyncResourceFactory(descriptors.mailGetMailRateLimit, baseClient.mail.getMailRateLimit).getApiResource,
|
|
373
371
|
/** List Mail RateLimits. */
|
|
374
372
|
listMailRateLimits: new ApiCallAsyncResourceFactory(descriptors.mailListMailRateLimits, baseClient.mail.listMailRateLimits).getApiResource,
|
|
373
|
+
/** List mail settings of a Project. */
|
|
374
|
+
listProjectMailSettings: new ApiCallAsyncResourceFactory(descriptors.mailListProjectMailSettings, baseClient.mail.listProjectMailSettings).getApiResource,
|
|
375
375
|
});
|
|
376
376
|
const buildMiscApi = (baseClient) => ({
|
|
377
377
|
/** List valid time zones. */
|
|
@@ -121,6 +121,8 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
121
121
|
getProjectBackup: this.requestFunctionFactory(descriptors.backupGetProjectBackup),
|
|
122
122
|
/** Delete a ProjectBackup. */
|
|
123
123
|
deleteProjectBackup: this.requestFunctionFactory(descriptors.backupDeleteProjectBackup),
|
|
124
|
+
/** Update a ProjectBackup. */
|
|
125
|
+
updateProjectBackup: this.requestFunctionFactory(descriptors.backupUpdateProjectBackup),
|
|
124
126
|
/** List database dump's for a ProjectBackup. */
|
|
125
127
|
getProjectBackupDatabaseDumps: this.requestFunctionFactory(descriptors.backupGetProjectBackupDatabaseDumps),
|
|
126
128
|
/** List paths for a ProjectBackup. */
|
|
@@ -168,6 +170,8 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
168
170
|
getServiceLogs: this.requestFunctionFactory(descriptors.containerGetServiceLogs),
|
|
169
171
|
/** Get a Service belonging to a Stack. */
|
|
170
172
|
getService: this.requestFunctionFactory(descriptors.containerGetService),
|
|
173
|
+
/** Get a Container Template asset. */
|
|
174
|
+
getTemplateAsset: this.requestFunctionFactory(descriptors.containerGetTemplateAsset),
|
|
171
175
|
/** Get a Container Template by ID. */
|
|
172
176
|
getTemplate: this.requestFunctionFactory(descriptors.containerGetTemplate),
|
|
173
177
|
/** List Stacks belonging to the executing user. */
|
|
@@ -194,8 +198,8 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
194
198
|
startService: this.requestFunctionFactory(descriptors.containerStartService),
|
|
195
199
|
/** Stop a started Service. */
|
|
196
200
|
stopService: this.requestFunctionFactory(descriptors.containerStopService),
|
|
197
|
-
/**
|
|
198
|
-
|
|
201
|
+
/** Add a template component to a Stack. */
|
|
202
|
+
addTemplateComponent: this.requestFunctionFactory(descriptors.containerAddTemplateComponent),
|
|
199
203
|
};
|
|
200
204
|
/** The contract API allows you to manage your contracts and orders */
|
|
201
205
|
contract = {
|
|
@@ -676,14 +680,20 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
676
680
|
deleteMailAddress: this.requestFunctionFactory(descriptors.mailDeleteMailAddress),
|
|
677
681
|
/** Disable the mail-archive of a MailAddress. */
|
|
678
682
|
disableMailArchive: this.requestFunctionFactory(descriptors.mailDisableMailArchive),
|
|
683
|
+
/** Get a Mail RateLimit. */
|
|
684
|
+
getMailRateLimit: this.requestFunctionFactory(descriptors.mailGetMailRateLimit),
|
|
679
685
|
/** List backups belonging to a MailAddress. */
|
|
680
686
|
listBackupsForMailAddress: this.requestFunctionFactory(descriptors.mailListBackupsForMailAddress),
|
|
681
687
|
/** List MailAddresses. */
|
|
682
688
|
listMailAddressesForUser: this.requestFunctionFactory(descriptors.mailListMailAddressesForUser),
|
|
689
|
+
/** List Mail RateLimits. */
|
|
690
|
+
listMailRateLimits: this.requestFunctionFactory(descriptors.mailListMailRateLimits),
|
|
683
691
|
/** List mail settings of a Project. */
|
|
684
692
|
listProjectMailSettings: this.requestFunctionFactory(descriptors.mailListProjectMailSettings),
|
|
685
693
|
/** Recover emails for a MailAddress from a backup. */
|
|
686
694
|
recoverMailAddressEmails: this.requestFunctionFactory(descriptors.mailRecoverMailAddressEmails),
|
|
695
|
+
/** Request a rate limit change for a MailAddress. */
|
|
696
|
+
requestMailAddressRateLimitChange: this.requestFunctionFactory(descriptors.mailRequestMailAddressRateLimitChange),
|
|
687
697
|
/** Update the description of a DeliveryBox. */
|
|
688
698
|
updateDeliveryBoxDescription: this.requestFunctionFactory(descriptors.mailUpdateDeliveryBoxDescription),
|
|
689
699
|
/** Update the password of a DeliveryBox. */
|
|
@@ -692,12 +702,6 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
692
702
|
updateMailAddressAddress: this.requestFunctionFactory(descriptors.mailUpdateMailAddressAddress),
|
|
693
703
|
/** Update the catch-all of a MailAddress. */
|
|
694
704
|
updateMailAddressCatchAll: this.requestFunctionFactory(descriptors.mailUpdateMailAddressCatchAll),
|
|
695
|
-
/** Get a Mail RateLimit. */
|
|
696
|
-
getMailRateLimit: this.requestFunctionFactory(descriptors.mailGetMailRateLimit),
|
|
697
|
-
/** List Mail RateLimits. */
|
|
698
|
-
listMailRateLimits: this.requestFunctionFactory(descriptors.mailListMailRateLimits),
|
|
699
|
-
/** Request a rate limit change for a MailAddress. */
|
|
700
|
-
requestMailAddressRateLimitChange: this.requestFunctionFactory(descriptors.mailRequestMailAddressRateLimitChange),
|
|
701
705
|
};
|
|
702
706
|
/** The notification API allows you to manage your notifications. */
|
|
703
707
|
notification = {
|
|
@@ -968,8 +972,12 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
968
972
|
updateServerDescription: this.requestFunctionFactory(descriptors.projectUpdateServerDescription),
|
|
969
973
|
/** Get storage space Statistics belonging to a Project. */
|
|
970
974
|
storagespaceGetProjectStatistics: this.requestFunctionFactory(descriptors.storagespaceGetProjectStatistics),
|
|
975
|
+
/** Update a Project's storage space statistics. */
|
|
976
|
+
storagespaceUpdateProjectStatistics: this.requestFunctionFactory(descriptors.storagespaceUpdateProjectStatistics),
|
|
971
977
|
/** Get storage space Statistics belonging to a Server. */
|
|
972
978
|
storagespaceGetServerStatistics: this.requestFunctionFactory(descriptors.storagespaceGetServerStatistics),
|
|
979
|
+
/** Update a Server's storage space statistics. */
|
|
980
|
+
storagespaceUpdateServerStatistics: this.requestFunctionFactory(descriptors.storagespaceUpdateServerStatistics),
|
|
973
981
|
/** Update a Project's storage space notification threshold. */
|
|
974
982
|
storagespaceReplaceProjectNotificationThreshold: this.requestFunctionFactory(descriptors.storagespaceReplaceProjectNotificationThreshold),
|
|
975
983
|
/** Update a Server's storage space notification threshold. */
|
|
@@ -316,6 +316,12 @@ export const backupDeleteProjectBackup = {
|
|
|
316
316
|
method: "DELETE",
|
|
317
317
|
operationId: "backup-delete-project-backup",
|
|
318
318
|
};
|
|
319
|
+
/** Update a ProjectBackup. */
|
|
320
|
+
export const backupUpdateProjectBackup = {
|
|
321
|
+
path: "/v3-next/project-backups/{projectBackupId}",
|
|
322
|
+
method: "PATCH",
|
|
323
|
+
operationId: "backup-update-project-backup",
|
|
324
|
+
};
|
|
319
325
|
/** List database dump's for a ProjectBackup. */
|
|
320
326
|
export const backupGetProjectBackupDatabaseDumps = {
|
|
321
327
|
path: "/v3-next/project-backups/{projectBackupId}/database-dumps",
|
|
@@ -448,6 +454,12 @@ export const containerGetService = {
|
|
|
448
454
|
method: "GET",
|
|
449
455
|
operationId: "container-get-service",
|
|
450
456
|
};
|
|
457
|
+
/** Get a Container Template asset. */
|
|
458
|
+
export const containerGetTemplateAsset = {
|
|
459
|
+
path: "/v3-next/container-templates/{templateId}/assets/{assetPath}",
|
|
460
|
+
method: "GET",
|
|
461
|
+
operationId: "container-get-template-asset",
|
|
462
|
+
};
|
|
451
463
|
/** Get a Container Template by ID. */
|
|
452
464
|
export const containerGetTemplate = {
|
|
453
465
|
path: "/v3-next/container-templates/{templateId}",
|
|
@@ -1936,6 +1948,12 @@ export const mailDisableMailArchive = {
|
|
|
1936
1948
|
method: "DELETE",
|
|
1937
1949
|
operationId: "mail-disable-mail-archive",
|
|
1938
1950
|
};
|
|
1951
|
+
/** Get a Mail RateLimit. */
|
|
1952
|
+
export const mailGetMailRateLimit = {
|
|
1953
|
+
path: "/v3-next/mail-rate-limits/{mailRateLimitId}",
|
|
1954
|
+
method: "GET",
|
|
1955
|
+
operationId: "mail-get-mail-rate-limit",
|
|
1956
|
+
};
|
|
1939
1957
|
/** List backups belonging to a MailAddress. */
|
|
1940
1958
|
export const mailListBackupsForMailAddress = {
|
|
1941
1959
|
path: "/v3-next/mail-addresses/{mailAddressId}/backups",
|
|
@@ -1948,6 +1966,12 @@ export const mailListMailAddressesForUser = {
|
|
|
1948
1966
|
method: "GET",
|
|
1949
1967
|
operationId: "mail-list-mail-addresses-for-user",
|
|
1950
1968
|
};
|
|
1969
|
+
/** List Mail RateLimits. */
|
|
1970
|
+
export const mailListMailRateLimits = {
|
|
1971
|
+
path: "/v3-next/mail-rate-limits",
|
|
1972
|
+
method: "GET",
|
|
1973
|
+
operationId: "mail-list-mail-rate-limits",
|
|
1974
|
+
};
|
|
1951
1975
|
/** List mail settings of a Project. */
|
|
1952
1976
|
export const mailListProjectMailSettings = {
|
|
1953
1977
|
path: "/v3-next/projects/{projectId}/mail-settings",
|
|
@@ -1960,6 +1984,12 @@ export const mailRecoverMailAddressEmails = {
|
|
|
1960
1984
|
method: "POST",
|
|
1961
1985
|
operationId: "mail-recover-mail-address-emails",
|
|
1962
1986
|
};
|
|
1987
|
+
/** Request a rate limit change for a MailAddress. */
|
|
1988
|
+
export const mailRequestMailAddressRateLimitChange = {
|
|
1989
|
+
path: "/v3-next/mail-addresses/{mailAddressId}/actions/request-rate-limit-change",
|
|
1990
|
+
method: "POST",
|
|
1991
|
+
operationId: "mail-request-mail-address-rate-limit-change",
|
|
1992
|
+
};
|
|
1963
1993
|
/** Update the description of a DeliveryBox. */
|
|
1964
1994
|
export const mailUpdateDeliveryBoxDescription = {
|
|
1965
1995
|
path: "/v3-next/delivery-boxes/{deliveryBoxId}/description",
|
|
@@ -2452,12 +2482,24 @@ export const storagespaceGetProjectStatistics = {
|
|
|
2452
2482
|
method: "GET",
|
|
2453
2483
|
operationId: "storagespace-get-project-statistics",
|
|
2454
2484
|
};
|
|
2485
|
+
/** Update a Project's storage space statistics. */
|
|
2486
|
+
export const storagespaceUpdateProjectStatistics = {
|
|
2487
|
+
path: "/v3-next/projects/{projectId}/storage-space-statistics",
|
|
2488
|
+
method: "PATCH",
|
|
2489
|
+
operationId: "storagespace-update-project-statistics",
|
|
2490
|
+
};
|
|
2455
2491
|
/** Get storage space Statistics belonging to a Server. */
|
|
2456
2492
|
export const storagespaceGetServerStatistics = {
|
|
2457
2493
|
path: "/v3-next/servers/{serverId}/storage-space-statistics",
|
|
2458
2494
|
method: "GET",
|
|
2459
2495
|
operationId: "storagespace-get-server-statistics",
|
|
2460
2496
|
};
|
|
2497
|
+
/** Update a Server's storage space statistics. */
|
|
2498
|
+
export const storagespaceUpdateServerStatistics = {
|
|
2499
|
+
path: "/v3-next/servers/{serverId}/storage-space-statistics",
|
|
2500
|
+
method: "PATCH",
|
|
2501
|
+
operationId: "storagespace-update-server-statistics",
|
|
2502
|
+
};
|
|
2461
2503
|
/** Update a Project's storage space notification threshold. */
|
|
2462
2504
|
export const storagespaceReplaceProjectNotificationThreshold = {
|
|
2463
2505
|
path: "/v3-next/projects/{projectId}/storage-space-notification-threshold",
|
|
@@ -2800,27 +2842,9 @@ export const verificationVerifyCompany = {
|
|
|
2800
2842
|
method: "POST",
|
|
2801
2843
|
operationId: "verification-verify-company",
|
|
2802
2844
|
};
|
|
2803
|
-
/**
|
|
2804
|
-
export const
|
|
2805
|
-
path: "/v3-next/
|
|
2806
|
-
method: "GET",
|
|
2807
|
-
operationId: "mail-get-mail-rate-limit",
|
|
2808
|
-
};
|
|
2809
|
-
/** List Mail RateLimits. */
|
|
2810
|
-
export const mailListMailRateLimits = {
|
|
2811
|
-
path: "/v3-next/mail-rate-limits",
|
|
2812
|
-
method: "GET",
|
|
2813
|
-
operationId: "mail-list-mail-rate-limits",
|
|
2814
|
-
};
|
|
2815
|
-
/** Request a rate limit change for a MailAddress. */
|
|
2816
|
-
export const mailRequestMailAddressRateLimitChange = {
|
|
2817
|
-
path: "/v3-next/mail-addresses/{mailAddressId}/actions/request-rate-limit-change",
|
|
2845
|
+
/** Add a template component to a Stack. */
|
|
2846
|
+
export const containerAddTemplateComponent = {
|
|
2847
|
+
path: "/v3-next/stacks/{stackId}/actions/add-template-component",
|
|
2818
2848
|
method: "POST",
|
|
2819
|
-
operationId: "
|
|
2820
|
-
};
|
|
2821
|
-
/** Get a Container Template asset. */
|
|
2822
|
-
export const containerGetTemplateAsset = {
|
|
2823
|
-
path: "/v3-next/container-templates/{templateId}/assets/{assetPath}",
|
|
2824
|
-
method: "GET",
|
|
2825
|
-
operationId: "container-get-template-asset",
|
|
2849
|
+
operationId: "container-add-template-component",
|
|
2826
2850
|
};
|
package/dist/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export const MittwaldAPIClientVersion = '4.423.0';
|
|
@@ -669,6 +669,14 @@ declare const buildContainerApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
669
669
|
status: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerServiceStatus;
|
|
670
670
|
statusSetAt: string;
|
|
671
671
|
}>;
|
|
672
|
+
/** Get a Container Template asset. */
|
|
673
|
+
getTemplateAsset: (conf: {
|
|
674
|
+
templateId: string;
|
|
675
|
+
assetPath: string;
|
|
676
|
+
headers?: {
|
|
677
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
678
|
+
} | undefined;
|
|
679
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<string>;
|
|
672
680
|
/** Get a Container Template by ID. */
|
|
673
681
|
getTemplate: (conf: {
|
|
674
682
|
templateId: string;
|
|
@@ -807,14 +815,6 @@ declare const buildContainerApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
807
815
|
page?: number | undefined;
|
|
808
816
|
} | undefined;
|
|
809
817
|
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerVolumeResponse[]>;
|
|
810
|
-
/** Get a Container Template asset. */
|
|
811
|
-
getTemplateAsset: (conf: {
|
|
812
|
-
templateId: string;
|
|
813
|
-
assetPath: string;
|
|
814
|
-
headers?: {
|
|
815
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
816
|
-
} | undefined;
|
|
817
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<string>;
|
|
818
818
|
};
|
|
819
819
|
declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
|
|
820
820
|
/** Return the BaseItem of the Contract with the given ID. */
|
|
@@ -2898,6 +2898,17 @@ declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
2898
2898
|
receivingDisabled: boolean;
|
|
2899
2899
|
updatedAt: string;
|
|
2900
2900
|
}>;
|
|
2901
|
+
/** Get a Mail RateLimit. */
|
|
2902
|
+
getMailRateLimit: (conf: {
|
|
2903
|
+
mailRateLimitId: string;
|
|
2904
|
+
headers?: {
|
|
2905
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2906
|
+
"x-access-token"?: string | undefined;
|
|
2907
|
+
} | undefined;
|
|
2908
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
2909
|
+
id: string;
|
|
2910
|
+
rateLimit: number;
|
|
2911
|
+
}>;
|
|
2901
2912
|
/** List backups belonging to a MailAddress. */
|
|
2902
2913
|
listBackupsForMailAddress: (conf: {
|
|
2903
2914
|
mailAddressId: string;
|
|
@@ -2927,6 +2938,13 @@ declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
2927
2938
|
order?: ("asc" | "desc")[] | undefined;
|
|
2928
2939
|
} | undefined;
|
|
2929
2940
|
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MailMailAddress[]>;
|
|
2941
|
+
/** List Mail RateLimits. */
|
|
2942
|
+
listMailRateLimits: (conf?: {
|
|
2943
|
+
headers?: {
|
|
2944
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2945
|
+
"x-access-token"?: string | undefined;
|
|
2946
|
+
} | undefined;
|
|
2947
|
+
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MailsystemRateLimit[]>;
|
|
2930
2948
|
/** List mail settings of a Project. */
|
|
2931
2949
|
listProjectMailSettings: (conf: {
|
|
2932
2950
|
projectId: string;
|
|
@@ -2939,24 +2957,6 @@ declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
2939
2957
|
projectId: string;
|
|
2940
2958
|
whitelist: string[];
|
|
2941
2959
|
}>;
|
|
2942
|
-
/** Get a Mail RateLimit. */
|
|
2943
|
-
getMailRateLimit: (conf: {
|
|
2944
|
-
mailRateLimitId: string;
|
|
2945
|
-
headers?: {
|
|
2946
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2947
|
-
"x-access-token"?: string | undefined;
|
|
2948
|
-
} | undefined;
|
|
2949
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
2950
|
-
id: string;
|
|
2951
|
-
rateLimit: number;
|
|
2952
|
-
}>;
|
|
2953
|
-
/** List Mail RateLimits. */
|
|
2954
|
-
listMailRateLimits: (conf?: {
|
|
2955
|
-
headers?: {
|
|
2956
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2957
|
-
"x-access-token"?: string | undefined;
|
|
2958
|
-
} | undefined;
|
|
2959
|
-
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MailsystemRateLimit[]>;
|
|
2960
2960
|
};
|
|
2961
2961
|
declare const buildMiscApi: (baseClient: MittwaldAPIV2Client) => {
|
|
2962
2962
|
/** List valid time zones. */
|