@mittwald/api-client 4.415.0 → 4.416.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/version.js +1 -1
- package/dist/types/generated/v2/client-react.d.ts +28 -26
- package/dist/types/generated/v2/client.d.ts +170 -162
- package/dist/types/generated/v2/descriptors.d.ts +8 -8
- package/dist/types/generated/v2/types.d.ts +335 -333
- package/dist/types/generated/v3-next/client-react.d.ts +2 -0
- package/dist/types/generated/v3-next/client.d.ts +8 -0
- package/dist/types/generated/v3-next/types.d.ts +6 -4
- package/dist/types/version.d.ts +1 -1
- package/package.json +4 -4
|
@@ -92,8 +92,6 @@ 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,
|
|
97
95
|
/** Get a Container Template by ID. */
|
|
98
96
|
getTemplate: new ApiCallAsyncResourceFactory(descriptors.containerGetTemplate, baseClient.container.getTemplate).getApiResource,
|
|
99
97
|
/** List Stacks belonging to the executing user. */
|
|
@@ -106,6 +104,8 @@ const buildContainerApi = (baseClient) => ({
|
|
|
106
104
|
listTemplates: new ApiCallAsyncResourceFactory(descriptors.containerListTemplates, baseClient.container.listTemplates).getApiResource,
|
|
107
105
|
/** List Volumes belonging to a Project. */
|
|
108
106
|
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,
|
|
367
365
|
/** List backups belonging to a MailAddress. */
|
|
368
366
|
listBackupsForMailAddress: new ApiCallAsyncResourceFactory(descriptors.mailListBackupsForMailAddress, baseClient.mail.listBackupsForMailAddress).getApiResource,
|
|
369
367
|
/** List MailAddresses. */
|
|
370
368
|
listMailAddressesForUser: new ApiCallAsyncResourceFactory(descriptors.mailListMailAddressesForUser, baseClient.mail.listMailAddressesForUser).getApiResource,
|
|
371
|
-
/** List Mail RateLimits. */
|
|
372
|
-
listMailRateLimits: new ApiCallAsyncResourceFactory(descriptors.mailListMailRateLimits, baseClient.mail.listMailRateLimits).getApiResource,
|
|
373
369
|
/** List mail settings of a Project. */
|
|
374
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
|
+
/** List Mail RateLimits. */
|
|
374
|
+
listMailRateLimits: new ApiCallAsyncResourceFactory(descriptors.mailListMailRateLimits, baseClient.mail.listMailRateLimits).getApiResource,
|
|
375
375
|
});
|
|
376
376
|
const buildMiscApi = (baseClient) => ({
|
|
377
377
|
/** List valid time zones. */
|
|
@@ -168,8 +168,6 @@ 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),
|
|
173
171
|
/** Get a Container Template by ID. */
|
|
174
172
|
getTemplate: this.requestFunctionFactory(descriptors.containerGetTemplate),
|
|
175
173
|
/** List Stacks belonging to the executing user. */
|
|
@@ -196,6 +194,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
196
194
|
startService: this.requestFunctionFactory(descriptors.containerStartService),
|
|
197
195
|
/** Stop a started Service. */
|
|
198
196
|
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 = {
|
|
@@ -686,20 +686,14 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
686
686
|
deleteMailAddress: this.requestFunctionFactory(descriptors.mailDeleteMailAddress),
|
|
687
687
|
/** Disable the mail-archive of a MailAddress. */
|
|
688
688
|
disableMailArchive: this.requestFunctionFactory(descriptors.mailDisableMailArchive),
|
|
689
|
-
/** Get a Mail RateLimit. */
|
|
690
|
-
getMailRateLimit: this.requestFunctionFactory(descriptors.mailGetMailRateLimit),
|
|
691
689
|
/** List backups belonging to a MailAddress. */
|
|
692
690
|
listBackupsForMailAddress: this.requestFunctionFactory(descriptors.mailListBackupsForMailAddress),
|
|
693
691
|
/** List MailAddresses. */
|
|
694
692
|
listMailAddressesForUser: this.requestFunctionFactory(descriptors.mailListMailAddressesForUser),
|
|
695
|
-
/** List Mail RateLimits. */
|
|
696
|
-
listMailRateLimits: this.requestFunctionFactory(descriptors.mailListMailRateLimits),
|
|
697
693
|
/** List mail settings of a Project. */
|
|
698
694
|
listProjectMailSettings: this.requestFunctionFactory(descriptors.mailListProjectMailSettings),
|
|
699
695
|
/** Recover emails for a MailAddress from a backup. */
|
|
700
696
|
recoverMailAddressEmails: this.requestFunctionFactory(descriptors.mailRecoverMailAddressEmails),
|
|
701
|
-
/** Request a rate limit change for a MailAddress. */
|
|
702
|
-
requestMailAddressRateLimitChange: this.requestFunctionFactory(descriptors.mailRequestMailAddressRateLimitChange),
|
|
703
697
|
/** Update the description of a DeliveryBox. */
|
|
704
698
|
updateDeliveryBoxDescription: this.requestFunctionFactory(descriptors.mailUpdateDeliveryBoxDescription),
|
|
705
699
|
/** Update the password of a DeliveryBox. */
|
|
@@ -708,6 +702,12 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
708
702
|
updateMailAddressAddress: this.requestFunctionFactory(descriptors.mailUpdateMailAddressAddress),
|
|
709
703
|
/** Update the catch-all of a MailAddress. */
|
|
710
704
|
updateMailAddressCatchAll: this.requestFunctionFactory(descriptors.mailUpdateMailAddressCatchAll),
|
|
705
|
+
/** Get a Mail RateLimit. */
|
|
706
|
+
getMailRateLimit: this.requestFunctionFactory(descriptors.mailGetMailRateLimit),
|
|
707
|
+
/** List Mail RateLimits. */
|
|
708
|
+
listMailRateLimits: this.requestFunctionFactory(descriptors.mailListMailRateLimits),
|
|
709
|
+
/** Request a rate limit change for a MailAddress. */
|
|
710
|
+
requestMailAddressRateLimitChange: this.requestFunctionFactory(descriptors.mailRequestMailAddressRateLimitChange),
|
|
711
711
|
};
|
|
712
712
|
/** The notification API allows you to manage your notifications. */
|
|
713
713
|
notification = {
|
|
@@ -448,12 +448,6 @@ 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
|
-
};
|
|
457
451
|
/** Get a Container Template by ID. */
|
|
458
452
|
export const containerGetTemplate = {
|
|
459
453
|
path: "/v2/container-templates/{templateId}",
|
|
@@ -1972,12 +1966,6 @@ export const mailDisableMailArchive = {
|
|
|
1972
1966
|
method: "DELETE",
|
|
1973
1967
|
operationId: "mail-disable-mail-archive",
|
|
1974
1968
|
};
|
|
1975
|
-
/** Get a Mail RateLimit. */
|
|
1976
|
-
export const mailGetMailRateLimit = {
|
|
1977
|
-
path: "/v2/mail-rate-limits/{mailRateLimitId}",
|
|
1978
|
-
method: "GET",
|
|
1979
|
-
operationId: "mail-get-mail-rate-limit",
|
|
1980
|
-
};
|
|
1981
1969
|
/** List backups belonging to a MailAddress. */
|
|
1982
1970
|
export const mailListBackupsForMailAddress = {
|
|
1983
1971
|
path: "/v2/mail-addresses/{mailAddressId}/backups",
|
|
@@ -1990,12 +1978,6 @@ export const mailListMailAddressesForUser = {
|
|
|
1990
1978
|
method: "GET",
|
|
1991
1979
|
operationId: "mail-list-mail-addresses-for-user",
|
|
1992
1980
|
};
|
|
1993
|
-
/** List Mail RateLimits. */
|
|
1994
|
-
export const mailListMailRateLimits = {
|
|
1995
|
-
path: "/v2/mail-rate-limits",
|
|
1996
|
-
method: "GET",
|
|
1997
|
-
operationId: "mail-list-mail-rate-limits",
|
|
1998
|
-
};
|
|
1999
1981
|
/** List mail settings of a Project. */
|
|
2000
1982
|
export const mailListProjectMailSettings = {
|
|
2001
1983
|
path: "/v2/projects/{projectId}/mail-settings",
|
|
@@ -2008,12 +1990,6 @@ export const mailRecoverMailAddressEmails = {
|
|
|
2008
1990
|
method: "POST",
|
|
2009
1991
|
operationId: "mail-recover-mail-address-emails",
|
|
2010
1992
|
};
|
|
2011
|
-
/** Request a rate limit change for a MailAddress. */
|
|
2012
|
-
export const mailRequestMailAddressRateLimitChange = {
|
|
2013
|
-
path: "/v2/mail-addresses/{mailAddressId}/actions/request-rate-limit-change",
|
|
2014
|
-
method: "POST",
|
|
2015
|
-
operationId: "mail-request-mail-address-rate-limit-change",
|
|
2016
|
-
};
|
|
2017
1993
|
/** Update the description of a DeliveryBox. */
|
|
2018
1994
|
export const mailUpdateDeliveryBoxDescription = {
|
|
2019
1995
|
path: "/v2/delivery-boxes/{deliveryBoxId}/description",
|
|
@@ -2854,3 +2830,27 @@ export const verificationVerifyCompany = {
|
|
|
2854
2830
|
method: "POST",
|
|
2855
2831
|
operationId: "verification-verify-company",
|
|
2856
2832
|
};
|
|
2833
|
+
/** Get a Mail RateLimit. */
|
|
2834
|
+
export const mailGetMailRateLimit = {
|
|
2835
|
+
path: "/v2/mail-rate-limits/{mailRateLimitId}",
|
|
2836
|
+
method: "GET",
|
|
2837
|
+
operationId: "mail-get-mail-rate-limit",
|
|
2838
|
+
};
|
|
2839
|
+
/** List Mail RateLimits. */
|
|
2840
|
+
export const mailListMailRateLimits = {
|
|
2841
|
+
path: "/v2/mail-rate-limits",
|
|
2842
|
+
method: "GET",
|
|
2843
|
+
operationId: "mail-list-mail-rate-limits",
|
|
2844
|
+
};
|
|
2845
|
+
/** Request a rate limit change for a MailAddress. */
|
|
2846
|
+
export const mailRequestMailAddressRateLimitChange = {
|
|
2847
|
+
path: "/v2/mail-addresses/{mailAddressId}/actions/request-rate-limit-change",
|
|
2848
|
+
method: "POST",
|
|
2849
|
+
operationId: "mail-request-mail-address-rate-limit-change",
|
|
2850
|
+
};
|
|
2851
|
+
/** Get a Container Template asset. */
|
|
2852
|
+
export const containerGetTemplateAsset = {
|
|
2853
|
+
path: "/v2/container-templates/{templateId}/assets/{assetPath}",
|
|
2854
|
+
method: "GET",
|
|
2855
|
+
operationId: "container-get-template-asset",
|
|
2856
|
+
};
|
package/dist/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export const MittwaldAPIClientVersion = '4.415.0';
|
|
@@ -669,14 +669,6 @@ 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>;
|
|
680
672
|
/** Get a Container Template by ID. */
|
|
681
673
|
getTemplate: (conf: {
|
|
682
674
|
templateId: string;
|
|
@@ -815,6 +807,14 @@ declare const buildContainerApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
815
807
|
page?: number | undefined;
|
|
816
808
|
} | undefined;
|
|
817
809
|
}) => 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. */
|
|
@@ -1405,6 +1405,8 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1405
1405
|
published: boolean;
|
|
1406
1406
|
requestedChanges?: {
|
|
1407
1407
|
context?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext;
|
|
1408
|
+
purgeScopes?: boolean;
|
|
1409
|
+
purgeWebhookUrls?: boolean;
|
|
1408
1410
|
scopes?: string[];
|
|
1409
1411
|
webhookUrls?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceWebhookUrls | {};
|
|
1410
1412
|
} | undefined;
|
|
@@ -2896,17 +2898,6 @@ declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
2896
2898
|
receivingDisabled: boolean;
|
|
2897
2899
|
updatedAt: string;
|
|
2898
2900
|
}>;
|
|
2899
|
-
/** Get a Mail RateLimit. */
|
|
2900
|
-
getMailRateLimit: (conf: {
|
|
2901
|
-
mailRateLimitId: string;
|
|
2902
|
-
headers?: {
|
|
2903
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2904
|
-
"x-access-token"?: string | undefined;
|
|
2905
|
-
} | undefined;
|
|
2906
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
2907
|
-
id: string;
|
|
2908
|
-
rateLimit: number;
|
|
2909
|
-
}>;
|
|
2910
2901
|
/** List backups belonging to a MailAddress. */
|
|
2911
2902
|
listBackupsForMailAddress: (conf: {
|
|
2912
2903
|
mailAddressId: string;
|
|
@@ -2936,13 +2927,6 @@ declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
2936
2927
|
order?: ("asc" | "desc")[] | undefined;
|
|
2937
2928
|
} | undefined;
|
|
2938
2929
|
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MailMailAddress[]>;
|
|
2939
|
-
/** List Mail RateLimits. */
|
|
2940
|
-
listMailRateLimits: (conf?: {
|
|
2941
|
-
headers?: {
|
|
2942
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2943
|
-
"x-access-token"?: string | undefined;
|
|
2944
|
-
} | undefined;
|
|
2945
|
-
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MailsystemRateLimit[]>;
|
|
2946
2930
|
/** List mail settings of a Project. */
|
|
2947
2931
|
listProjectMailSettings: (conf: {
|
|
2948
2932
|
projectId: string;
|
|
@@ -2955,6 +2939,24 @@ declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
2955
2939
|
projectId: string;
|
|
2956
2940
|
whitelist: string[];
|
|
2957
2941
|
}>;
|
|
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[]>;
|
|
2958
2960
|
};
|
|
2959
2961
|
declare const buildMiscApi: (baseClient: MittwaldAPIV2Client) => {
|
|
2960
2962
|
/** List valid time zones. */
|