@mittwald/api-client 4.421.0 → 4.422.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 +8 -8
- package/dist/esm/generated/v2/descriptors.js +24 -24
- package/dist/esm/generated/v3-next/client-react.js +6 -6
- package/dist/esm/generated/v3-next/client.js +8 -8
- package/dist/esm/generated/v3-next/descriptors.js +24 -24
- 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 +162 -162
- package/dist/types/generated/v2/descriptors.d.ts +8 -8
- package/dist/types/generated/v2/types.d.ts +365 -360
- package/dist/types/generated/v3-next/client-react.d.ts +26 -26
- package/dist/types/generated/v3-next/client.d.ts +162 -162
- package/dist/types/generated/v3-next/descriptors.d.ts +8 -8
- package/dist/types/generated/v3-next/types.d.ts +365 -360
- 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. */
|
|
@@ -168,6 +168,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
168
168
|
getServiceLogs: this.requestFunctionFactory(descriptors.containerGetServiceLogs),
|
|
169
169
|
/** Get a Service belonging to a Stack. */
|
|
170
170
|
getService: this.requestFunctionFactory(descriptors.containerGetService),
|
|
171
|
+
/** Get a Container Template asset. */
|
|
172
|
+
getTemplateAsset: this.requestFunctionFactory(descriptors.containerGetTemplateAsset),
|
|
171
173
|
/** Get a Container Template by ID. */
|
|
172
174
|
getTemplate: this.requestFunctionFactory(descriptors.containerGetTemplate),
|
|
173
175
|
/** List Stacks belonging to the executing user. */
|
|
@@ -194,8 +196,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
194
196
|
startService: this.requestFunctionFactory(descriptors.containerStartService),
|
|
195
197
|
/** Stop a started Service. */
|
|
196
198
|
stopService: this.requestFunctionFactory(descriptors.containerStopService),
|
|
197
|
-
/** Get a Container Template asset. */
|
|
198
|
-
getTemplateAsset: this.requestFunctionFactory(descriptors.containerGetTemplateAsset),
|
|
199
199
|
};
|
|
200
200
|
/** The contract API allows you to manage your contracts and orders */
|
|
201
201
|
contract = {
|
|
@@ -676,14 +676,20 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
676
676
|
deleteMailAddress: this.requestFunctionFactory(descriptors.mailDeleteMailAddress),
|
|
677
677
|
/** Disable the mail-archive of a MailAddress. */
|
|
678
678
|
disableMailArchive: this.requestFunctionFactory(descriptors.mailDisableMailArchive),
|
|
679
|
+
/** Get a Mail RateLimit. */
|
|
680
|
+
getMailRateLimit: this.requestFunctionFactory(descriptors.mailGetMailRateLimit),
|
|
679
681
|
/** List backups belonging to a MailAddress. */
|
|
680
682
|
listBackupsForMailAddress: this.requestFunctionFactory(descriptors.mailListBackupsForMailAddress),
|
|
681
683
|
/** List MailAddresses. */
|
|
682
684
|
listMailAddressesForUser: this.requestFunctionFactory(descriptors.mailListMailAddressesForUser),
|
|
685
|
+
/** List Mail RateLimits. */
|
|
686
|
+
listMailRateLimits: this.requestFunctionFactory(descriptors.mailListMailRateLimits),
|
|
683
687
|
/** List mail settings of a Project. */
|
|
684
688
|
listProjectMailSettings: this.requestFunctionFactory(descriptors.mailListProjectMailSettings),
|
|
685
689
|
/** Recover emails for a MailAddress from a backup. */
|
|
686
690
|
recoverMailAddressEmails: this.requestFunctionFactory(descriptors.mailRecoverMailAddressEmails),
|
|
691
|
+
/** Request a rate limit change for a MailAddress. */
|
|
692
|
+
requestMailAddressRateLimitChange: this.requestFunctionFactory(descriptors.mailRequestMailAddressRateLimitChange),
|
|
687
693
|
/** Update the description of a DeliveryBox. */
|
|
688
694
|
updateDeliveryBoxDescription: this.requestFunctionFactory(descriptors.mailUpdateDeliveryBoxDescription),
|
|
689
695
|
/** Update the password of a DeliveryBox. */
|
|
@@ -692,12 +698,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
692
698
|
updateMailAddressAddress: this.requestFunctionFactory(descriptors.mailUpdateMailAddressAddress),
|
|
693
699
|
/** Update the catch-all of a MailAddress. */
|
|
694
700
|
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
701
|
};
|
|
702
702
|
/** The notification API allows you to manage your notifications. */
|
|
703
703
|
notification = {
|
|
@@ -448,6 +448,12 @@ export const containerGetService = {
|
|
|
448
448
|
method: "GET",
|
|
449
449
|
operationId: "container-get-service",
|
|
450
450
|
};
|
|
451
|
+
/** Get a Container Template asset. */
|
|
452
|
+
export const containerGetTemplateAsset = {
|
|
453
|
+
path: "/v2/container-templates/{templateId}/assets/{assetPath}",
|
|
454
|
+
method: "GET",
|
|
455
|
+
operationId: "container-get-template-asset",
|
|
456
|
+
};
|
|
451
457
|
/** Get a Container Template by ID. */
|
|
452
458
|
export const containerGetTemplate = {
|
|
453
459
|
path: "/v2/container-templates/{templateId}",
|
|
@@ -1936,6 +1942,12 @@ export const mailDisableMailArchive = {
|
|
|
1936
1942
|
method: "DELETE",
|
|
1937
1943
|
operationId: "mail-disable-mail-archive",
|
|
1938
1944
|
};
|
|
1945
|
+
/** Get a Mail RateLimit. */
|
|
1946
|
+
export const mailGetMailRateLimit = {
|
|
1947
|
+
path: "/v2/mail-rate-limits/{mailRateLimitId}",
|
|
1948
|
+
method: "GET",
|
|
1949
|
+
operationId: "mail-get-mail-rate-limit",
|
|
1950
|
+
};
|
|
1939
1951
|
/** List backups belonging to a MailAddress. */
|
|
1940
1952
|
export const mailListBackupsForMailAddress = {
|
|
1941
1953
|
path: "/v2/mail-addresses/{mailAddressId}/backups",
|
|
@@ -1948,6 +1960,12 @@ export const mailListMailAddressesForUser = {
|
|
|
1948
1960
|
method: "GET",
|
|
1949
1961
|
operationId: "mail-list-mail-addresses-for-user",
|
|
1950
1962
|
};
|
|
1963
|
+
/** List Mail RateLimits. */
|
|
1964
|
+
export const mailListMailRateLimits = {
|
|
1965
|
+
path: "/v2/mail-rate-limits",
|
|
1966
|
+
method: "GET",
|
|
1967
|
+
operationId: "mail-list-mail-rate-limits",
|
|
1968
|
+
};
|
|
1951
1969
|
/** List mail settings of a Project. */
|
|
1952
1970
|
export const mailListProjectMailSettings = {
|
|
1953
1971
|
path: "/v2/projects/{projectId}/mail-settings",
|
|
@@ -1960,6 +1978,12 @@ export const mailRecoverMailAddressEmails = {
|
|
|
1960
1978
|
method: "POST",
|
|
1961
1979
|
operationId: "mail-recover-mail-address-emails",
|
|
1962
1980
|
};
|
|
1981
|
+
/** Request a rate limit change for a MailAddress. */
|
|
1982
|
+
export const mailRequestMailAddressRateLimitChange = {
|
|
1983
|
+
path: "/v2/mail-addresses/{mailAddressId}/actions/request-rate-limit-change",
|
|
1984
|
+
method: "POST",
|
|
1985
|
+
operationId: "mail-request-mail-address-rate-limit-change",
|
|
1986
|
+
};
|
|
1963
1987
|
/** Update the description of a DeliveryBox. */
|
|
1964
1988
|
export const mailUpdateDeliveryBoxDescription = {
|
|
1965
1989
|
path: "/v2/delivery-boxes/{deliveryBoxId}/description",
|
|
@@ -2800,27 +2824,3 @@ export const verificationVerifyCompany = {
|
|
|
2800
2824
|
method: "POST",
|
|
2801
2825
|
operationId: "verification-verify-company",
|
|
2802
2826
|
};
|
|
2803
|
-
/** Get a Mail RateLimit. */
|
|
2804
|
-
export const mailGetMailRateLimit = {
|
|
2805
|
-
path: "/v2/mail-rate-limits/{mailRateLimitId}",
|
|
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",
|
|
2818
|
-
method: "POST",
|
|
2819
|
-
operationId: "mail-request-mail-address-rate-limit-change",
|
|
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",
|
|
2826
|
-
};
|
|
@@ -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. */
|
|
@@ -168,6 +168,8 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
168
168
|
getServiceLogs: this.requestFunctionFactory(descriptors.containerGetServiceLogs),
|
|
169
169
|
/** Get a Service belonging to a Stack. */
|
|
170
170
|
getService: this.requestFunctionFactory(descriptors.containerGetService),
|
|
171
|
+
/** Get a Container Template asset. */
|
|
172
|
+
getTemplateAsset: this.requestFunctionFactory(descriptors.containerGetTemplateAsset),
|
|
171
173
|
/** Get a Container Template by ID. */
|
|
172
174
|
getTemplate: this.requestFunctionFactory(descriptors.containerGetTemplate),
|
|
173
175
|
/** List Stacks belonging to the executing user. */
|
|
@@ -194,8 +196,6 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
194
196
|
startService: this.requestFunctionFactory(descriptors.containerStartService),
|
|
195
197
|
/** Stop a started Service. */
|
|
196
198
|
stopService: this.requestFunctionFactory(descriptors.containerStopService),
|
|
197
|
-
/** Get a Container Template asset. */
|
|
198
|
-
getTemplateAsset: this.requestFunctionFactory(descriptors.containerGetTemplateAsset),
|
|
199
199
|
};
|
|
200
200
|
/** The contract API allows you to manage your contracts and orders */
|
|
201
201
|
contract = {
|
|
@@ -676,14 +676,20 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
676
676
|
deleteMailAddress: this.requestFunctionFactory(descriptors.mailDeleteMailAddress),
|
|
677
677
|
/** Disable the mail-archive of a MailAddress. */
|
|
678
678
|
disableMailArchive: this.requestFunctionFactory(descriptors.mailDisableMailArchive),
|
|
679
|
+
/** Get a Mail RateLimit. */
|
|
680
|
+
getMailRateLimit: this.requestFunctionFactory(descriptors.mailGetMailRateLimit),
|
|
679
681
|
/** List backups belonging to a MailAddress. */
|
|
680
682
|
listBackupsForMailAddress: this.requestFunctionFactory(descriptors.mailListBackupsForMailAddress),
|
|
681
683
|
/** List MailAddresses. */
|
|
682
684
|
listMailAddressesForUser: this.requestFunctionFactory(descriptors.mailListMailAddressesForUser),
|
|
685
|
+
/** List Mail RateLimits. */
|
|
686
|
+
listMailRateLimits: this.requestFunctionFactory(descriptors.mailListMailRateLimits),
|
|
683
687
|
/** List mail settings of a Project. */
|
|
684
688
|
listProjectMailSettings: this.requestFunctionFactory(descriptors.mailListProjectMailSettings),
|
|
685
689
|
/** Recover emails for a MailAddress from a backup. */
|
|
686
690
|
recoverMailAddressEmails: this.requestFunctionFactory(descriptors.mailRecoverMailAddressEmails),
|
|
691
|
+
/** Request a rate limit change for a MailAddress. */
|
|
692
|
+
requestMailAddressRateLimitChange: this.requestFunctionFactory(descriptors.mailRequestMailAddressRateLimitChange),
|
|
687
693
|
/** Update the description of a DeliveryBox. */
|
|
688
694
|
updateDeliveryBoxDescription: this.requestFunctionFactory(descriptors.mailUpdateDeliveryBoxDescription),
|
|
689
695
|
/** Update the password of a DeliveryBox. */
|
|
@@ -692,12 +698,6 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
692
698
|
updateMailAddressAddress: this.requestFunctionFactory(descriptors.mailUpdateMailAddressAddress),
|
|
693
699
|
/** Update the catch-all of a MailAddress. */
|
|
694
700
|
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
701
|
};
|
|
702
702
|
/** The notification API allows you to manage your notifications. */
|
|
703
703
|
notification = {
|
|
@@ -448,6 +448,12 @@ export const containerGetService = {
|
|
|
448
448
|
method: "GET",
|
|
449
449
|
operationId: "container-get-service",
|
|
450
450
|
};
|
|
451
|
+
/** Get a Container Template asset. */
|
|
452
|
+
export const containerGetTemplateAsset = {
|
|
453
|
+
path: "/v3-next/container-templates/{templateId}/assets/{assetPath}",
|
|
454
|
+
method: "GET",
|
|
455
|
+
operationId: "container-get-template-asset",
|
|
456
|
+
};
|
|
451
457
|
/** Get a Container Template by ID. */
|
|
452
458
|
export const containerGetTemplate = {
|
|
453
459
|
path: "/v3-next/container-templates/{templateId}",
|
|
@@ -1936,6 +1942,12 @@ export const mailDisableMailArchive = {
|
|
|
1936
1942
|
method: "DELETE",
|
|
1937
1943
|
operationId: "mail-disable-mail-archive",
|
|
1938
1944
|
};
|
|
1945
|
+
/** Get a Mail RateLimit. */
|
|
1946
|
+
export const mailGetMailRateLimit = {
|
|
1947
|
+
path: "/v3-next/mail-rate-limits/{mailRateLimitId}",
|
|
1948
|
+
method: "GET",
|
|
1949
|
+
operationId: "mail-get-mail-rate-limit",
|
|
1950
|
+
};
|
|
1939
1951
|
/** List backups belonging to a MailAddress. */
|
|
1940
1952
|
export const mailListBackupsForMailAddress = {
|
|
1941
1953
|
path: "/v3-next/mail-addresses/{mailAddressId}/backups",
|
|
@@ -1948,6 +1960,12 @@ export const mailListMailAddressesForUser = {
|
|
|
1948
1960
|
method: "GET",
|
|
1949
1961
|
operationId: "mail-list-mail-addresses-for-user",
|
|
1950
1962
|
};
|
|
1963
|
+
/** List Mail RateLimits. */
|
|
1964
|
+
export const mailListMailRateLimits = {
|
|
1965
|
+
path: "/v3-next/mail-rate-limits",
|
|
1966
|
+
method: "GET",
|
|
1967
|
+
operationId: "mail-list-mail-rate-limits",
|
|
1968
|
+
};
|
|
1951
1969
|
/** List mail settings of a Project. */
|
|
1952
1970
|
export const mailListProjectMailSettings = {
|
|
1953
1971
|
path: "/v3-next/projects/{projectId}/mail-settings",
|
|
@@ -1960,6 +1978,12 @@ export const mailRecoverMailAddressEmails = {
|
|
|
1960
1978
|
method: "POST",
|
|
1961
1979
|
operationId: "mail-recover-mail-address-emails",
|
|
1962
1980
|
};
|
|
1981
|
+
/** Request a rate limit change for a MailAddress. */
|
|
1982
|
+
export const mailRequestMailAddressRateLimitChange = {
|
|
1983
|
+
path: "/v3-next/mail-addresses/{mailAddressId}/actions/request-rate-limit-change",
|
|
1984
|
+
method: "POST",
|
|
1985
|
+
operationId: "mail-request-mail-address-rate-limit-change",
|
|
1986
|
+
};
|
|
1963
1987
|
/** Update the description of a DeliveryBox. */
|
|
1964
1988
|
export const mailUpdateDeliveryBoxDescription = {
|
|
1965
1989
|
path: "/v3-next/delivery-boxes/{deliveryBoxId}/description",
|
|
@@ -2800,27 +2824,3 @@ export const verificationVerifyCompany = {
|
|
|
2800
2824
|
method: "POST",
|
|
2801
2825
|
operationId: "verification-verify-company",
|
|
2802
2826
|
};
|
|
2803
|
-
/** Get a Mail RateLimit. */
|
|
2804
|
-
export const mailGetMailRateLimit = {
|
|
2805
|
-
path: "/v3-next/mail-rate-limits/{mailRateLimitId}",
|
|
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",
|
|
2818
|
-
method: "POST",
|
|
2819
|
-
operationId: "mail-request-mail-address-rate-limit-change",
|
|
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",
|
|
2826
|
-
};
|
package/dist/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export const MittwaldAPIClientVersion = '4.421.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. */
|