@mittwald/api-client 4.441.0 → 4.442.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 +2 -0
- package/dist/esm/generated/v2/client.js +2 -0
- package/dist/esm/generated/v2/descriptors.js +6 -0
- package/dist/esm/generated/v3-next/client-react.js +2 -0
- package/dist/esm/generated/v3-next/client.js +2 -0
- package/dist/esm/generated/v3-next/descriptors.js +6 -0
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/v2/client-react.d.ts +15 -0
- package/dist/types/generated/v2/client.d.ts +71 -0
- package/dist/types/generated/v2/descriptors.d.ts +2 -0
- package/dist/types/generated/v2/types.d.ts +73 -6
- package/dist/types/generated/v3-next/client-react.d.ts +15 -0
- package/dist/types/generated/v3-next/client.d.ts +71 -0
- package/dist/types/generated/v3-next/descriptors.d.ts +2 -0
- package/dist/types/generated/v3-next/types.d.ts +73 -6
- package/dist/types/version.d.ts +1 -1
- package/package.json +4 -4
|
@@ -106,6 +106,8 @@ const buildContainerApi = (baseClient) => ({
|
|
|
106
106
|
listTemplates: new ApiCallAsyncResourceFactory(descriptors.containerListTemplates, baseClient.container.listTemplates).getApiResource,
|
|
107
107
|
/** List Volumes belonging to a Project. */
|
|
108
108
|
listVolumes: new ApiCallAsyncResourceFactory(descriptors.containerListVolumes, baseClient.container.listVolumes).getApiResource,
|
|
109
|
+
/** List Services the executing user has access to. */
|
|
110
|
+
listAccessibleServices: new ApiCallAsyncResourceFactory(descriptors.containerListAccessibleServices, baseClient.container.listAccessibleServices).getApiResource,
|
|
109
111
|
});
|
|
110
112
|
const buildContractApi = (baseClient) => ({
|
|
111
113
|
/** Return the BaseItem of the Contract with the given ID. */
|
|
@@ -188,6 +188,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
188
188
|
startService: this.requestFunctionFactory(descriptors.containerStartService),
|
|
189
189
|
/** Stop a started Service. */
|
|
190
190
|
stopService: this.requestFunctionFactory(descriptors.containerStopService),
|
|
191
|
+
/** List Services the executing user has access to. */
|
|
192
|
+
listAccessibleServices: this.requestFunctionFactory(descriptors.containerListAccessibleServices),
|
|
191
193
|
};
|
|
192
194
|
/** The contract API allows you to manage your contracts and orders */
|
|
193
195
|
contract = {
|
|
@@ -2794,3 +2794,9 @@ export const verificationVerifyCompany = {
|
|
|
2794
2794
|
method: "POST",
|
|
2795
2795
|
operationId: "verification-verify-company",
|
|
2796
2796
|
};
|
|
2797
|
+
/** List Services the executing user has access to. */
|
|
2798
|
+
export const containerListAccessibleServices = {
|
|
2799
|
+
path: "/v2/services",
|
|
2800
|
+
method: "GET",
|
|
2801
|
+
operationId: "container-list-accessible-services",
|
|
2802
|
+
};
|
|
@@ -106,6 +106,8 @@ const buildContainerApi = (baseClient) => ({
|
|
|
106
106
|
listTemplates: new ApiCallAsyncResourceFactory(descriptors.containerListTemplates, baseClient.container.listTemplates).getApiResource,
|
|
107
107
|
/** List Volumes belonging to a Project. */
|
|
108
108
|
listVolumes: new ApiCallAsyncResourceFactory(descriptors.containerListVolumes, baseClient.container.listVolumes).getApiResource,
|
|
109
|
+
/** List Services the executing user has access to. */
|
|
110
|
+
listAccessibleServices: new ApiCallAsyncResourceFactory(descriptors.containerListAccessibleServices, baseClient.container.listAccessibleServices).getApiResource,
|
|
109
111
|
});
|
|
110
112
|
const buildContractApi = (baseClient) => ({
|
|
111
113
|
/** Return the BaseItem of the Contract with the given ID. */
|
|
@@ -188,6 +188,8 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
188
188
|
startService: this.requestFunctionFactory(descriptors.containerStartService),
|
|
189
189
|
/** Stop a started Service. */
|
|
190
190
|
stopService: this.requestFunctionFactory(descriptors.containerStopService),
|
|
191
|
+
/** List Services the executing user has access to. */
|
|
192
|
+
listAccessibleServices: this.requestFunctionFactory(descriptors.containerListAccessibleServices),
|
|
191
193
|
};
|
|
192
194
|
/** The contract API allows you to manage your contracts and orders */
|
|
193
195
|
contract = {
|
|
@@ -2794,3 +2794,9 @@ export const verificationVerifyCompany = {
|
|
|
2794
2794
|
method: "POST",
|
|
2795
2795
|
operationId: "verification-verify-company",
|
|
2796
2796
|
};
|
|
2797
|
+
/** List Services the executing user has access to. */
|
|
2798
|
+
export const containerListAccessibleServices = {
|
|
2799
|
+
path: "/v3-next/services",
|
|
2800
|
+
method: "GET",
|
|
2801
|
+
operationId: "container-list-accessible-services",
|
|
2802
|
+
};
|
package/dist/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export const MittwaldAPIClientVersion = '4.441.0';
|
|
@@ -822,6 +822,21 @@ declare const buildContainerApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
822
822
|
page?: number | undefined;
|
|
823
823
|
} | undefined;
|
|
824
824
|
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerVolumeResponse[]>;
|
|
825
|
+
/** List Services the executing user has access to. */
|
|
826
|
+
listAccessibleServices: (conf?: {
|
|
827
|
+
headers?: {
|
|
828
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
829
|
+
"x-access-token"?: string | undefined;
|
|
830
|
+
} | undefined;
|
|
831
|
+
queryParameters?: {
|
|
832
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
833
|
+
searchTerm?: string | undefined;
|
|
834
|
+
sortOrder?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerServiceSortOrder | undefined;
|
|
835
|
+
limit?: number | undefined;
|
|
836
|
+
skip?: number | undefined;
|
|
837
|
+
page?: number | undefined;
|
|
838
|
+
} | undefined;
|
|
839
|
+
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerServiceResponse[]>;
|
|
825
840
|
};
|
|
826
841
|
declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
|
|
827
842
|
/** Return the BaseItem of the Contract with the given ID. */
|
|
@@ -5933,6 +5933,77 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
5933
5933
|
}, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5934
5934
|
[x: string]: unknown;
|
|
5935
5935
|
}, 500, "application/json">>>;
|
|
5936
|
+
/** List Services the executing user has access to. */
|
|
5937
|
+
listAccessibleServices: (request?: {
|
|
5938
|
+
headers?: {
|
|
5939
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
5940
|
+
"x-access-token"?: string | undefined;
|
|
5941
|
+
} | undefined;
|
|
5942
|
+
queryParameters?: {
|
|
5943
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
5944
|
+
searchTerm?: string | undefined;
|
|
5945
|
+
sortOrder?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerServiceSortOrder | undefined;
|
|
5946
|
+
limit?: number | undefined;
|
|
5947
|
+
skip?: number | undefined;
|
|
5948
|
+
page?: number | undefined;
|
|
5949
|
+
} | undefined;
|
|
5950
|
+
} | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
5951
|
+
headers?: Partial<{
|
|
5952
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
5953
|
+
}>;
|
|
5954
|
+
} & {
|
|
5955
|
+
queryParameters: {
|
|
5956
|
+
searchTerm?: string | undefined;
|
|
5957
|
+
sortOrder?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerServiceSortOrder | undefined;
|
|
5958
|
+
limit?: number | undefined;
|
|
5959
|
+
skip?: number | undefined;
|
|
5960
|
+
page?: number | undefined;
|
|
5961
|
+
} & Partial<{
|
|
5962
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
5963
|
+
}>;
|
|
5964
|
+
} & {
|
|
5965
|
+
headers: {
|
|
5966
|
+
"x-access-token"?: string | undefined;
|
|
5967
|
+
} & Partial<{
|
|
5968
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
5969
|
+
}>;
|
|
5970
|
+
}, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerServiceResponse[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5971
|
+
[x: string]: unknown;
|
|
5972
|
+
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5973
|
+
[x: string]: unknown;
|
|
5974
|
+
}, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5975
|
+
[x: string]: unknown;
|
|
5976
|
+
}, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5977
|
+
[x: string]: unknown;
|
|
5978
|
+
}, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
5979
|
+
headers?: Partial<{
|
|
5980
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
5981
|
+
}>;
|
|
5982
|
+
} & {
|
|
5983
|
+
queryParameters: {
|
|
5984
|
+
searchTerm?: string | undefined;
|
|
5985
|
+
sortOrder?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerServiceSortOrder | undefined;
|
|
5986
|
+
limit?: number | undefined;
|
|
5987
|
+
skip?: number | undefined;
|
|
5988
|
+
page?: number | undefined;
|
|
5989
|
+
} & Partial<{
|
|
5990
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
5991
|
+
}>;
|
|
5992
|
+
} & {
|
|
5993
|
+
headers: {
|
|
5994
|
+
"x-access-token"?: string | undefined;
|
|
5995
|
+
} & Partial<{
|
|
5996
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
5997
|
+
}>;
|
|
5998
|
+
}, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerServiceResponse[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5999
|
+
[x: string]: unknown;
|
|
6000
|
+
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
6001
|
+
[x: string]: unknown;
|
|
6002
|
+
}, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
6003
|
+
[x: string]: unknown;
|
|
6004
|
+
}, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
6005
|
+
[x: string]: unknown;
|
|
6006
|
+
}, 500, "application/json">>>;
|
|
5936
6007
|
};
|
|
5937
6008
|
/** The contract API allows you to manage your contracts and orders */
|
|
5938
6009
|
readonly contract: {
|
|
@@ -935,3 +935,5 @@ export declare const verificationDetectPhishingEmail: OpenAPIOperation<RequestTy
|
|
|
935
935
|
export declare const verificationVerifyAddress: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
936
936
|
/** Check if a company exists. */
|
|
937
937
|
export declare const verificationVerifyCompany: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Responses.$412.Content.Empty>, 412, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
938
|
+
/** List Services the executing user has access to. */
|
|
939
|
+
export declare const containerListAccessibleServices: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2Services.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2Services.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2Services.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2Services.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Services.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Services.Get.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Services.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Services.Get.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Services.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
@@ -1866,6 +1866,10 @@ export declare namespace MittwaldAPIV2 {
|
|
|
1866
1866
|
type RequestData = InferredRequestData<typeof descriptors.verificationVerifyCompany>;
|
|
1867
1867
|
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.verificationVerifyCompany, TStatus>;
|
|
1868
1868
|
}
|
|
1869
|
+
namespace ContainerListAccessibleServices {
|
|
1870
|
+
type RequestData = InferredRequestData<typeof descriptors.containerListAccessibleServices>;
|
|
1871
|
+
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.containerListAccessibleServices, TStatus>;
|
|
1872
|
+
}
|
|
1869
1873
|
}
|
|
1870
1874
|
namespace Components {
|
|
1871
1875
|
namespace Schemas {
|
|
@@ -5125,7 +5129,7 @@ export declare namespace MittwaldAPIV2 {
|
|
|
5125
5129
|
enableSpamProtection: boolean;
|
|
5126
5130
|
password: string;
|
|
5127
5131
|
/**
|
|
5128
|
-
*
|
|
5132
|
+
* Storage limit of the mailbox in bytes. Must be at least 209715200 (200 MiB), or -1 for an unlimited quota.
|
|
5129
5133
|
*/
|
|
5130
5134
|
quotaInBytes: number;
|
|
5131
5135
|
};
|
|
@@ -5149,21 +5153,24 @@ export declare namespace MittwaldAPIV2 {
|
|
|
5149
5153
|
forwardAddresses: string[];
|
|
5150
5154
|
}
|
|
5151
5155
|
interface MailMailAddressBackup {
|
|
5156
|
+
/**
|
|
5157
|
+
* Name of the backup; an eight-digit date in YYYYMMDD format. Use it as the backupId path parameter to recover emails from this backup.
|
|
5158
|
+
*/
|
|
5152
5159
|
name: string;
|
|
5153
5160
|
}
|
|
5154
5161
|
interface MailMailAddress {
|
|
5155
5162
|
address: string;
|
|
5156
5163
|
archive: {
|
|
5157
5164
|
/**
|
|
5158
|
-
*
|
|
5165
|
+
* Shows if the mail-archive is enabled.
|
|
5159
5166
|
*/
|
|
5160
5167
|
active: boolean;
|
|
5161
5168
|
/**
|
|
5162
|
-
*
|
|
5169
|
+
* Maximum available mail-archive storage in bytes.
|
|
5163
5170
|
*/
|
|
5164
5171
|
quota: number;
|
|
5165
5172
|
/**
|
|
5166
|
-
*
|
|
5173
|
+
* Current mail-archive usage in bytes.
|
|
5167
5174
|
*/
|
|
5168
5175
|
usedBytes: number;
|
|
5169
5176
|
};
|
|
@@ -5204,7 +5211,7 @@ export declare namespace MittwaldAPIV2 {
|
|
|
5204
5211
|
projectId: string;
|
|
5205
5212
|
rateLimitChangeRequest?: {
|
|
5206
5213
|
/**
|
|
5207
|
-
*
|
|
5214
|
+
* ID of the rate limit requested.
|
|
5208
5215
|
*/
|
|
5209
5216
|
rateLimitId: string;
|
|
5210
5217
|
};
|
|
@@ -17568,7 +17575,7 @@ export declare namespace MittwaldAPIV2 {
|
|
|
17568
17575
|
};
|
|
17569
17576
|
interface RequestBody {
|
|
17570
17577
|
/**
|
|
17571
|
-
*
|
|
17578
|
+
* Storage limit of the mailbox in bytes. Must be at least 209715200 (200 MiB), or -1 for an unlimited quota.
|
|
17572
17579
|
*/
|
|
17573
17580
|
quotaInBytes: number;
|
|
17574
17581
|
}
|
|
@@ -23664,6 +23671,9 @@ export declare namespace MittwaldAPIV2 {
|
|
|
23664
23671
|
};
|
|
23665
23672
|
interface RequestBody {
|
|
23666
23673
|
description: string;
|
|
23674
|
+
/**
|
|
23675
|
+
* Password of the Deliverybox. Write-only: it is never returned by any route.
|
|
23676
|
+
*/
|
|
23667
23677
|
password: string;
|
|
23668
23678
|
}
|
|
23669
23679
|
type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
@@ -31311,5 +31321,62 @@ export declare namespace MittwaldAPIV2 {
|
|
|
31311
31321
|
}
|
|
31312
31322
|
}
|
|
31313
31323
|
}
|
|
31324
|
+
namespace V2Services {
|
|
31325
|
+
namespace Get {
|
|
31326
|
+
namespace Parameters {
|
|
31327
|
+
type Path = {};
|
|
31328
|
+
type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
31329
|
+
type Query = {
|
|
31330
|
+
searchTerm?: string;
|
|
31331
|
+
sortOrder?: MittwaldAPIV2.Components.Schemas.ContainerServiceSortOrder;
|
|
31332
|
+
limit?: number;
|
|
31333
|
+
skip?: number;
|
|
31334
|
+
page?: number;
|
|
31335
|
+
};
|
|
31336
|
+
}
|
|
31337
|
+
namespace Responses {
|
|
31338
|
+
namespace $200 {
|
|
31339
|
+
namespace Content {
|
|
31340
|
+
type ApplicationJson = MittwaldAPIV2.Components.Schemas.ContainerServiceResponse[];
|
|
31341
|
+
}
|
|
31342
|
+
}
|
|
31343
|
+
namespace $400 {
|
|
31344
|
+
namespace Content {
|
|
31345
|
+
interface ApplicationJson {
|
|
31346
|
+
[k: string]: unknown;
|
|
31347
|
+
}
|
|
31348
|
+
}
|
|
31349
|
+
}
|
|
31350
|
+
namespace $403 {
|
|
31351
|
+
namespace Content {
|
|
31352
|
+
interface ApplicationJson {
|
|
31353
|
+
[k: string]: unknown;
|
|
31354
|
+
}
|
|
31355
|
+
}
|
|
31356
|
+
}
|
|
31357
|
+
namespace $429 {
|
|
31358
|
+
namespace Content {
|
|
31359
|
+
interface ApplicationJson {
|
|
31360
|
+
[k: string]: unknown;
|
|
31361
|
+
}
|
|
31362
|
+
}
|
|
31363
|
+
}
|
|
31364
|
+
namespace $500 {
|
|
31365
|
+
namespace Content {
|
|
31366
|
+
interface ApplicationJson {
|
|
31367
|
+
[k: string]: unknown;
|
|
31368
|
+
}
|
|
31369
|
+
}
|
|
31370
|
+
}
|
|
31371
|
+
namespace Default {
|
|
31372
|
+
namespace Content {
|
|
31373
|
+
interface ApplicationJson {
|
|
31374
|
+
[k: string]: unknown;
|
|
31375
|
+
}
|
|
31376
|
+
}
|
|
31377
|
+
}
|
|
31378
|
+
}
|
|
31379
|
+
}
|
|
31380
|
+
}
|
|
31314
31381
|
}
|
|
31315
31382
|
}
|
|
@@ -822,6 +822,21 @@ declare const buildContainerApi: (baseClient: MittwaldAPIV3NextClient) => {
|
|
|
822
822
|
page?: number | undefined;
|
|
823
823
|
} | undefined;
|
|
824
824
|
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContainerVolumeResponse[]>;
|
|
825
|
+
/** List Services the executing user has access to. */
|
|
826
|
+
listAccessibleServices: (conf?: {
|
|
827
|
+
headers?: {
|
|
828
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
829
|
+
"x-access-token"?: string | undefined;
|
|
830
|
+
} | undefined;
|
|
831
|
+
queryParameters?: {
|
|
832
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
833
|
+
searchTerm?: string | undefined;
|
|
834
|
+
sortOrder?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContainerServiceSortOrder | undefined;
|
|
835
|
+
limit?: number | undefined;
|
|
836
|
+
skip?: number | undefined;
|
|
837
|
+
page?: number | undefined;
|
|
838
|
+
} | undefined;
|
|
839
|
+
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContainerServiceResponse[]>;
|
|
825
840
|
};
|
|
826
841
|
declare const buildContractApi: (baseClient: MittwaldAPIV3NextClient) => {
|
|
827
842
|
/** Return the BaseItem of the Contract with the given ID. */
|
|
@@ -5933,6 +5933,77 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
5933
5933
|
}, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5934
5934
|
[x: string]: unknown;
|
|
5935
5935
|
}, 500, "application/json">>>;
|
|
5936
|
+
/** List Services the executing user has access to. */
|
|
5937
|
+
listAccessibleServices: (request?: {
|
|
5938
|
+
headers?: {
|
|
5939
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
5940
|
+
"x-access-token"?: string | undefined;
|
|
5941
|
+
} | undefined;
|
|
5942
|
+
queryParameters?: {
|
|
5943
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
5944
|
+
searchTerm?: string | undefined;
|
|
5945
|
+
sortOrder?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContainerServiceSortOrder | undefined;
|
|
5946
|
+
limit?: number | undefined;
|
|
5947
|
+
skip?: number | undefined;
|
|
5948
|
+
page?: number | undefined;
|
|
5949
|
+
} | undefined;
|
|
5950
|
+
} | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
5951
|
+
headers?: Partial<{
|
|
5952
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
5953
|
+
}>;
|
|
5954
|
+
} & {
|
|
5955
|
+
queryParameters: {
|
|
5956
|
+
searchTerm?: string | undefined;
|
|
5957
|
+
sortOrder?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContainerServiceSortOrder | undefined;
|
|
5958
|
+
limit?: number | undefined;
|
|
5959
|
+
skip?: number | undefined;
|
|
5960
|
+
page?: number | undefined;
|
|
5961
|
+
} & Partial<{
|
|
5962
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
5963
|
+
}>;
|
|
5964
|
+
} & {
|
|
5965
|
+
headers: {
|
|
5966
|
+
"x-access-token"?: string | undefined;
|
|
5967
|
+
} & Partial<{
|
|
5968
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
5969
|
+
}>;
|
|
5970
|
+
}, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContainerServiceResponse[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5971
|
+
[x: string]: unknown;
|
|
5972
|
+
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5973
|
+
[x: string]: unknown;
|
|
5974
|
+
}, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5975
|
+
[x: string]: unknown;
|
|
5976
|
+
}, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5977
|
+
[x: string]: unknown;
|
|
5978
|
+
}, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
5979
|
+
headers?: Partial<{
|
|
5980
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
5981
|
+
}>;
|
|
5982
|
+
} & {
|
|
5983
|
+
queryParameters: {
|
|
5984
|
+
searchTerm?: string | undefined;
|
|
5985
|
+
sortOrder?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContainerServiceSortOrder | undefined;
|
|
5986
|
+
limit?: number | undefined;
|
|
5987
|
+
skip?: number | undefined;
|
|
5988
|
+
page?: number | undefined;
|
|
5989
|
+
} & Partial<{
|
|
5990
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
5991
|
+
}>;
|
|
5992
|
+
} & {
|
|
5993
|
+
headers: {
|
|
5994
|
+
"x-access-token"?: string | undefined;
|
|
5995
|
+
} & Partial<{
|
|
5996
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
5997
|
+
}>;
|
|
5998
|
+
}, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContainerServiceResponse[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5999
|
+
[x: string]: unknown;
|
|
6000
|
+
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
6001
|
+
[x: string]: unknown;
|
|
6002
|
+
}, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
6003
|
+
[x: string]: unknown;
|
|
6004
|
+
}, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
6005
|
+
[x: string]: unknown;
|
|
6006
|
+
}, 500, "application/json">>>;
|
|
5936
6007
|
};
|
|
5937
6008
|
/** The contract API allows you to manage your contracts and orders */
|
|
5938
6009
|
readonly contract: {
|
|
@@ -935,3 +935,5 @@ export declare const verificationDetectPhishingEmail: OpenAPIOperation<RequestTy
|
|
|
935
935
|
export declare const verificationVerifyAddress: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV3Next.Paths.V3NextActionsVerifyAddress.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV3Next.Paths.V3NextActionsVerifyAddress.Post.Parameters.Path>, Simplify<MittwaldAPIV3Next.Paths.V3NextActionsVerifyAddress.Post.Parameters.Query>, Simplify<MittwaldAPIV3Next.Paths.V3NextActionsVerifyAddress.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV3Next.Paths.V3NextActionsVerifyAddress.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextActionsVerifyAddress.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextActionsVerifyAddress.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
936
936
|
/** Check if a company exists. */
|
|
937
937
|
export declare const verificationVerifyCompany: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV3Next.Paths.V3NextActionsVerifyCompany.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV3Next.Paths.V3NextActionsVerifyCompany.Post.Parameters.Path>, Simplify<MittwaldAPIV3Next.Paths.V3NextActionsVerifyCompany.Post.Parameters.Query>, Simplify<MittwaldAPIV3Next.Paths.V3NextActionsVerifyCompany.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV3Next.Paths.V3NextActionsVerifyCompany.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextActionsVerifyCompany.Post.Responses.$412.Content.Empty>, 412, "empty"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextActionsVerifyCompany.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextActionsVerifyCompany.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
938
|
+
/** List Services the executing user has access to. */
|
|
939
|
+
export declare const containerListAccessibleServices: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV3Next.Paths.V3NextServices.Get.Parameters.Path>, Simplify<MittwaldAPIV3Next.Paths.V3NextServices.Get.Parameters.Query>, Simplify<MittwaldAPIV3Next.Paths.V3NextServices.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV3Next.Paths.V3NextServices.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextServices.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextServices.Get.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextServices.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextServices.Get.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextServices.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
@@ -1866,6 +1866,10 @@ export declare namespace MittwaldAPIV3Next {
|
|
|
1866
1866
|
type RequestData = InferredRequestData<typeof descriptors.verificationVerifyCompany>;
|
|
1867
1867
|
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.verificationVerifyCompany, TStatus>;
|
|
1868
1868
|
}
|
|
1869
|
+
namespace ContainerListAccessibleServices {
|
|
1870
|
+
type RequestData = InferredRequestData<typeof descriptors.containerListAccessibleServices>;
|
|
1871
|
+
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.containerListAccessibleServices, TStatus>;
|
|
1872
|
+
}
|
|
1869
1873
|
}
|
|
1870
1874
|
namespace Components {
|
|
1871
1875
|
namespace Schemas {
|
|
@@ -5129,7 +5133,7 @@ export declare namespace MittwaldAPIV3Next {
|
|
|
5129
5133
|
enableSpamProtection: boolean;
|
|
5130
5134
|
password: string;
|
|
5131
5135
|
/**
|
|
5132
|
-
*
|
|
5136
|
+
* Storage limit of the mailbox in bytes. Must be at least 209715200 (200 MiB), or -1 for an unlimited quota.
|
|
5133
5137
|
*/
|
|
5134
5138
|
quotaInBytes: number;
|
|
5135
5139
|
};
|
|
@@ -5153,21 +5157,24 @@ export declare namespace MittwaldAPIV3Next {
|
|
|
5153
5157
|
forwardAddresses: string[];
|
|
5154
5158
|
}
|
|
5155
5159
|
interface DeMittwaldMailMailAddressBackup {
|
|
5160
|
+
/**
|
|
5161
|
+
* Name of the backup; an eight-digit date in YYYYMMDD format. Use it as the backupId path parameter to recover emails from this backup.
|
|
5162
|
+
*/
|
|
5156
5163
|
name: string;
|
|
5157
5164
|
}
|
|
5158
5165
|
interface DeMittwaldMailMailAddress {
|
|
5159
5166
|
address: string;
|
|
5160
5167
|
archive: {
|
|
5161
5168
|
/**
|
|
5162
|
-
*
|
|
5169
|
+
* Shows if the mail-archive is enabled.
|
|
5163
5170
|
*/
|
|
5164
5171
|
active: boolean;
|
|
5165
5172
|
/**
|
|
5166
|
-
*
|
|
5173
|
+
* Maximum available mail-archive storage in bytes.
|
|
5167
5174
|
*/
|
|
5168
5175
|
quota: number;
|
|
5169
5176
|
/**
|
|
5170
|
-
*
|
|
5177
|
+
* Current mail-archive usage in bytes.
|
|
5171
5178
|
*/
|
|
5172
5179
|
usedBytes: number;
|
|
5173
5180
|
};
|
|
@@ -5208,7 +5215,7 @@ export declare namespace MittwaldAPIV3Next {
|
|
|
5208
5215
|
projectId: string;
|
|
5209
5216
|
rateLimitChangeRequest?: {
|
|
5210
5217
|
/**
|
|
5211
|
-
*
|
|
5218
|
+
* ID of the rate limit requested.
|
|
5212
5219
|
*/
|
|
5213
5220
|
rateLimitId: string;
|
|
5214
5221
|
};
|
|
@@ -17551,7 +17558,7 @@ export declare namespace MittwaldAPIV3Next {
|
|
|
17551
17558
|
};
|
|
17552
17559
|
interface RequestBody {
|
|
17553
17560
|
/**
|
|
17554
|
-
*
|
|
17561
|
+
* Storage limit of the mailbox in bytes. Must be at least 209715200 (200 MiB), or -1 for an unlimited quota.
|
|
17555
17562
|
*/
|
|
17556
17563
|
quotaInBytes: number;
|
|
17557
17564
|
}
|
|
@@ -23614,6 +23621,9 @@ export declare namespace MittwaldAPIV3Next {
|
|
|
23614
23621
|
};
|
|
23615
23622
|
interface RequestBody {
|
|
23616
23623
|
description: string;
|
|
23624
|
+
/**
|
|
23625
|
+
* Password of the Deliverybox. Write-only: it is never returned by any route.
|
|
23626
|
+
*/
|
|
23617
23627
|
password: string;
|
|
23618
23628
|
}
|
|
23619
23629
|
type Header = {} & MittwaldAPIV3Next.Components.SecuritySchemes.DeMittwaldCommonsAccessToken;
|
|
@@ -31235,5 +31245,62 @@ export declare namespace MittwaldAPIV3Next {
|
|
|
31235
31245
|
}
|
|
31236
31246
|
}
|
|
31237
31247
|
}
|
|
31248
|
+
namespace V3NextServices {
|
|
31249
|
+
namespace Get {
|
|
31250
|
+
namespace Parameters {
|
|
31251
|
+
type Path = {};
|
|
31252
|
+
type Header = {} & MittwaldAPIV3Next.Components.SecuritySchemes.DeMittwaldCommonsAccessToken;
|
|
31253
|
+
type Query = {
|
|
31254
|
+
searchTerm?: string;
|
|
31255
|
+
sortOrder?: MittwaldAPIV3Next.Components.Schemas.DeMittwaldContainerServiceSortOrder;
|
|
31256
|
+
limit?: number;
|
|
31257
|
+
skip?: number;
|
|
31258
|
+
page?: number;
|
|
31259
|
+
};
|
|
31260
|
+
}
|
|
31261
|
+
namespace Responses {
|
|
31262
|
+
namespace $200 {
|
|
31263
|
+
namespace Content {
|
|
31264
|
+
type ApplicationJson = MittwaldAPIV3Next.Components.Schemas.DeMittwaldContainerServiceResponse[];
|
|
31265
|
+
}
|
|
31266
|
+
}
|
|
31267
|
+
namespace $400 {
|
|
31268
|
+
namespace Content {
|
|
31269
|
+
interface ApplicationJson {
|
|
31270
|
+
[k: string]: unknown;
|
|
31271
|
+
}
|
|
31272
|
+
}
|
|
31273
|
+
}
|
|
31274
|
+
namespace $403 {
|
|
31275
|
+
namespace Content {
|
|
31276
|
+
interface ApplicationJson {
|
|
31277
|
+
[k: string]: unknown;
|
|
31278
|
+
}
|
|
31279
|
+
}
|
|
31280
|
+
}
|
|
31281
|
+
namespace $429 {
|
|
31282
|
+
namespace Content {
|
|
31283
|
+
interface ApplicationJson {
|
|
31284
|
+
[k: string]: unknown;
|
|
31285
|
+
}
|
|
31286
|
+
}
|
|
31287
|
+
}
|
|
31288
|
+
namespace $500 {
|
|
31289
|
+
namespace Content {
|
|
31290
|
+
interface ApplicationJson {
|
|
31291
|
+
[k: string]: unknown;
|
|
31292
|
+
}
|
|
31293
|
+
}
|
|
31294
|
+
}
|
|
31295
|
+
namespace Default {
|
|
31296
|
+
namespace Content {
|
|
31297
|
+
interface ApplicationJson {
|
|
31298
|
+
[k: string]: unknown;
|
|
31299
|
+
}
|
|
31300
|
+
}
|
|
31301
|
+
}
|
|
31302
|
+
}
|
|
31303
|
+
}
|
|
31304
|
+
}
|
|
31238
31305
|
}
|
|
31239
31306
|
}
|
package/dist/types/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export declare const MittwaldAPIClientVersion = '4.441.0';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mittwald/api-client",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.442.0",
|
|
4
4
|
"author": "Mittwald CM Service GmbH & Co. KG <opensource@mittwald.de>",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Auto-generated client for the mittwald API",
|
|
@@ -72,11 +72,11 @@
|
|
|
72
72
|
"test:compile": "run tsc --noEmit"
|
|
73
73
|
},
|
|
74
74
|
"dependencies": {
|
|
75
|
-
"@mittwald/api-client-commons": "^4.
|
|
75
|
+
"@mittwald/api-client-commons": "^4.442.0",
|
|
76
76
|
"browser-or-node": "^3.0.0"
|
|
77
77
|
},
|
|
78
78
|
"devDependencies": {
|
|
79
|
-
"@mittwald/api-code-generator": "^4.
|
|
79
|
+
"@mittwald/api-code-generator": "^4.442.0",
|
|
80
80
|
"@mittwald/react-use-promise": "^2.6.2",
|
|
81
81
|
"@types/node": "^22.18.11",
|
|
82
82
|
"@types/react": "^18.3.26",
|
|
@@ -106,5 +106,5 @@
|
|
|
106
106
|
"optional": true
|
|
107
107
|
}
|
|
108
108
|
},
|
|
109
|
-
"gitHead": "
|
|
109
|
+
"gitHead": "977a925f8e62d4a3a0db72fa39f78c29ada4f257"
|
|
110
110
|
}
|