@mittwald/api-client 4.204.0 → 4.206.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/version.js +1 -1
- package/dist/types/generated/v2/client-react.d.ts +16 -0
- package/dist/types/generated/v2/client.d.ts +68 -0
- package/dist/types/generated/v2/descriptors.d.ts +2 -0
- package/dist/types/generated/v2/types.d.ts +56 -1
- package/dist/types/version.d.ts +1 -1
- package/package.json +2 -2
|
@@ -106,6 +106,8 @@ const buildContractApi = (baseClient) => ({
|
|
|
106
106
|
orderListCustomerOrders: new ApiCallAsyncResourceFactory(descriptors.orderListCustomerOrders, baseClient.contract.orderListCustomerOrders).getApiResource,
|
|
107
107
|
/** Get list of Orders of a Project. */
|
|
108
108
|
orderListProjectOrders: new ApiCallAsyncResourceFactory(descriptors.orderListProjectOrders, baseClient.contract.orderListProjectOrders).getApiResource,
|
|
109
|
+
/** Return the Contract for the given Mail Address. */
|
|
110
|
+
getDetailOfContractByMailAddress: new ApiCallAsyncResourceFactory(descriptors.contractGetDetailOfContractByMailAddress, baseClient.contract.getDetailOfContractByMailAddress).getApiResource,
|
|
109
111
|
});
|
|
110
112
|
const buildMarketplaceApi = (baseClient) => ({
|
|
111
113
|
/** Get Contributor Billing Information. */
|
|
@@ -194,6 +194,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
194
194
|
orderPreviewOrder: this.requestFunctionFactory(descriptors.orderPreviewOrder),
|
|
195
195
|
/** Preview TariffChange. */
|
|
196
196
|
orderPreviewTariffChange: this.requestFunctionFactory(descriptors.orderPreviewTariffChange),
|
|
197
|
+
/** Return the Contract for the given Mail Address. */
|
|
198
|
+
getDetailOfContractByMailAddress: this.requestFunctionFactory(descriptors.contractGetDetailOfContractByMailAddress),
|
|
197
199
|
};
|
|
198
200
|
/** The marketplace API allows you to manage extensions and more information regaring the marketplace. */
|
|
199
201
|
marketplace = {
|
|
@@ -2494,3 +2494,9 @@ export const verificationVerifyCompany = {
|
|
|
2494
2494
|
method: "POST",
|
|
2495
2495
|
operationId: "verification-verify-company",
|
|
2496
2496
|
};
|
|
2497
|
+
/** Return the Contract for the given Mail Address. */
|
|
2498
|
+
export const contractGetDetailOfContractByMailAddress = {
|
|
2499
|
+
path: "/v2/mail-addresses/{mailAddressId}/contract",
|
|
2500
|
+
method: "GET",
|
|
2501
|
+
operationId: "contract-get-detail-of-contract-by-mail-address",
|
|
2502
|
+
};
|
package/dist/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export const MittwaldAPIClientVersion = '4.205.0';
|
|
@@ -836,6 +836,21 @@ declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
836
836
|
"x-access-token"?: string | undefined;
|
|
837
837
|
} | undefined;
|
|
838
838
|
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.OrderCustomerOrder[]>;
|
|
839
|
+
/** Return the Contract for the given Mail Address. */
|
|
840
|
+
getDetailOfContractByMailAddress: (conf: {
|
|
841
|
+
mailAddressId: string;
|
|
842
|
+
headers?: {
|
|
843
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
844
|
+
"x-access-token"?: string | undefined;
|
|
845
|
+
} | undefined;
|
|
846
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
847
|
+
additionalItems?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractContractItem[] | undefined;
|
|
848
|
+
baseItem: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractContractItem;
|
|
849
|
+
contractId: string;
|
|
850
|
+
contractNumber: string;
|
|
851
|
+
customerId: string;
|
|
852
|
+
termination?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractTermination | undefined;
|
|
853
|
+
}>;
|
|
839
854
|
};
|
|
840
855
|
declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
|
|
841
856
|
/** Get Contributor Billing Information. */
|
|
@@ -2780,6 +2795,7 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
2780
2795
|
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
2781
2796
|
containerMeta?: import("./types.js").MittwaldAPIV2.Components.Schemas.LlmlocksmithContainerMeta | undefined;
|
|
2782
2797
|
customerId?: string | undefined;
|
|
2798
|
+
isBlocked: boolean;
|
|
2783
2799
|
licenceId: string;
|
|
2784
2800
|
licenceKey: string;
|
|
2785
2801
|
models: string[];
|
|
@@ -6051,6 +6051,68 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
6051
6051
|
}, 422, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
6052
6052
|
[x: string]: unknown;
|
|
6053
6053
|
}, 429, "application/json">>>;
|
|
6054
|
+
/** Return the Contract for the given Mail Address. */
|
|
6055
|
+
getDetailOfContractByMailAddress: (request: {
|
|
6056
|
+
mailAddressId: string;
|
|
6057
|
+
headers?: {
|
|
6058
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
6059
|
+
"x-access-token"?: string | undefined;
|
|
6060
|
+
} | undefined;
|
|
6061
|
+
}, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
6062
|
+
headers?: Partial<{
|
|
6063
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
6064
|
+
}>;
|
|
6065
|
+
} & {
|
|
6066
|
+
pathParameters: {
|
|
6067
|
+
mailAddressId: string;
|
|
6068
|
+
};
|
|
6069
|
+
} & {
|
|
6070
|
+
headers: {
|
|
6071
|
+
"x-access-token"?: string | undefined;
|
|
6072
|
+
} & Partial<{
|
|
6073
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
6074
|
+
}>;
|
|
6075
|
+
}, import("@mittwald/api-client-commons").Response<{
|
|
6076
|
+
additionalItems?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractContractItem[] | undefined;
|
|
6077
|
+
baseItem: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractContractItem;
|
|
6078
|
+
contractId: string;
|
|
6079
|
+
contractNumber: string;
|
|
6080
|
+
customerId: string;
|
|
6081
|
+
termination?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractTermination | undefined;
|
|
6082
|
+
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
6083
|
+
[x: string]: unknown;
|
|
6084
|
+
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
6085
|
+
[x: string]: unknown;
|
|
6086
|
+
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
6087
|
+
[x: string]: unknown;
|
|
6088
|
+
}, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
6089
|
+
headers?: Partial<{
|
|
6090
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
6091
|
+
}>;
|
|
6092
|
+
} & {
|
|
6093
|
+
pathParameters: {
|
|
6094
|
+
mailAddressId: string;
|
|
6095
|
+
};
|
|
6096
|
+
} & {
|
|
6097
|
+
headers: {
|
|
6098
|
+
"x-access-token"?: string | undefined;
|
|
6099
|
+
} & Partial<{
|
|
6100
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
6101
|
+
}>;
|
|
6102
|
+
}, import("@mittwald/api-client-commons").Response<{
|
|
6103
|
+
additionalItems?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractContractItem[] | undefined;
|
|
6104
|
+
baseItem: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractContractItem;
|
|
6105
|
+
contractId: string;
|
|
6106
|
+
contractNumber: string;
|
|
6107
|
+
customerId: string;
|
|
6108
|
+
termination?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractTermination | undefined;
|
|
6109
|
+
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
6110
|
+
[x: string]: unknown;
|
|
6111
|
+
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
6112
|
+
[x: string]: unknown;
|
|
6113
|
+
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
6114
|
+
[x: string]: unknown;
|
|
6115
|
+
}, 429, "application/json">>>;
|
|
6054
6116
|
};
|
|
6055
6117
|
/** The marketplace API allows you to manage extensions and more information regaring the marketplace. */
|
|
6056
6118
|
readonly marketplace: {
|
|
@@ -23391,6 +23453,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
23391
23453
|
}, import("@mittwald/api-client-commons").Response<{
|
|
23392
23454
|
containerMeta?: import("./types.js").MittwaldAPIV2.Components.Schemas.LlmlocksmithContainerMeta | undefined;
|
|
23393
23455
|
customerId?: string | undefined;
|
|
23456
|
+
isBlocked: boolean;
|
|
23394
23457
|
licenceId: string;
|
|
23395
23458
|
licenceKey: string;
|
|
23396
23459
|
models: string[];
|
|
@@ -23425,6 +23488,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
23425
23488
|
}, import("@mittwald/api-client-commons").Response<{
|
|
23426
23489
|
containerMeta?: import("./types.js").MittwaldAPIV2.Components.Schemas.LlmlocksmithContainerMeta | undefined;
|
|
23427
23490
|
customerId?: string | undefined;
|
|
23491
|
+
isBlocked: boolean;
|
|
23428
23492
|
licenceId: string;
|
|
23429
23493
|
licenceKey: string;
|
|
23430
23494
|
models: string[];
|
|
@@ -24357,6 +24421,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
24357
24421
|
}, import("@mittwald/api-client-commons").Response<{
|
|
24358
24422
|
containerMeta?: import("./types.js").MittwaldAPIV2.Components.Schemas.LlmlocksmithContainerMeta | undefined;
|
|
24359
24423
|
customerId?: string | undefined;
|
|
24424
|
+
isBlocked: boolean;
|
|
24360
24425
|
licenceId: string;
|
|
24361
24426
|
licenceKey: string;
|
|
24362
24427
|
models: string[];
|
|
@@ -24383,6 +24448,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
24383
24448
|
}, import("@mittwald/api-client-commons").Response<{
|
|
24384
24449
|
containerMeta?: import("./types.js").MittwaldAPIV2.Components.Schemas.LlmlocksmithContainerMeta | undefined;
|
|
24385
24450
|
customerId?: string | undefined;
|
|
24451
|
+
isBlocked: boolean;
|
|
24386
24452
|
licenceId: string;
|
|
24387
24453
|
licenceKey: string;
|
|
24388
24454
|
models: string[];
|
|
@@ -24426,6 +24492,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
24426
24492
|
}, import("@mittwald/api-client-commons").Response<{
|
|
24427
24493
|
containerMeta?: import("./types.js").MittwaldAPIV2.Components.Schemas.LlmlocksmithContainerMeta | undefined;
|
|
24428
24494
|
customerId?: string | undefined;
|
|
24495
|
+
isBlocked: boolean;
|
|
24429
24496
|
licenceId: string;
|
|
24430
24497
|
licenceKey: string;
|
|
24431
24498
|
models: string[];
|
|
@@ -24461,6 +24528,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
24461
24528
|
}, import("@mittwald/api-client-commons").Response<{
|
|
24462
24529
|
containerMeta?: import("./types.js").MittwaldAPIV2.Components.Schemas.LlmlocksmithContainerMeta | undefined;
|
|
24463
24530
|
customerId?: string | undefined;
|
|
24531
|
+
isBlocked: boolean;
|
|
24464
24532
|
licenceId: string;
|
|
24465
24533
|
licenceKey: string;
|
|
24466
24534
|
models: string[];
|
|
@@ -835,3 +835,5 @@ export declare const verificationDetectPhishingEmail: OpenAPIOperation<RequestTy
|
|
|
835
835
|
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.$500.Content.Empty>, 500, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
836
836
|
/** Check if a company exists. */
|
|
837
837
|
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.$500.Content.Empty>, 500, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
838
|
+
/** Return the Contract for the given Mail Address. */
|
|
839
|
+
export declare const contractGetDetailOfContractByMailAddress: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdContract.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdContract.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdContract.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdContract.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdContract.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdContract.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdContract.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdContract.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
@@ -1666,6 +1666,10 @@ export declare namespace MittwaldAPIV2 {
|
|
|
1666
1666
|
type RequestData = InferredRequestData<typeof descriptors.verificationVerifyCompany>;
|
|
1667
1667
|
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.verificationVerifyCompany, TStatus>;
|
|
1668
1668
|
}
|
|
1669
|
+
namespace ContractGetDetailOfContractByMailAddress {
|
|
1670
|
+
type RequestData = InferredRequestData<typeof descriptors.contractGetDetailOfContractByMailAddress>;
|
|
1671
|
+
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.contractGetDetailOfContractByMailAddress, TStatus>;
|
|
1672
|
+
}
|
|
1669
1673
|
}
|
|
1670
1674
|
namespace Components {
|
|
1671
1675
|
namespace Schemas {
|
|
@@ -4622,13 +4626,18 @@ export declare namespace MittwaldAPIV2 {
|
|
|
4622
4626
|
}
|
|
4623
4627
|
interface LlmlocksmithContainerMeta {
|
|
4624
4628
|
containerId?: string;
|
|
4629
|
+
errorMessage?: string;
|
|
4625
4630
|
ingressId?: string;
|
|
4626
4631
|
stackId?: string;
|
|
4627
|
-
status: "created" | "requested";
|
|
4632
|
+
status: "created" | "requested" | "failed";
|
|
4628
4633
|
}
|
|
4629
4634
|
interface LlmlocksmithLicence {
|
|
4630
4635
|
containerMeta?: MittwaldAPIV2.Components.Schemas.LlmlocksmithContainerMeta;
|
|
4631
4636
|
customerId?: string;
|
|
4637
|
+
/**
|
|
4638
|
+
* Indicates whether the licence is blocked.
|
|
4639
|
+
*/
|
|
4640
|
+
isBlocked: boolean;
|
|
4632
4641
|
licenceId: string;
|
|
4633
4642
|
licenceKey: string;
|
|
4634
4643
|
models: string[];
|
|
@@ -26312,5 +26321,51 @@ export declare namespace MittwaldAPIV2 {
|
|
|
26312
26321
|
}
|
|
26313
26322
|
}
|
|
26314
26323
|
}
|
|
26324
|
+
namespace V2MailAddressesMailAddressIdContract {
|
|
26325
|
+
namespace Get {
|
|
26326
|
+
namespace Parameters {
|
|
26327
|
+
type Path = {
|
|
26328
|
+
mailAddressId: string;
|
|
26329
|
+
};
|
|
26330
|
+
type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
26331
|
+
type Query = {};
|
|
26332
|
+
}
|
|
26333
|
+
namespace Responses {
|
|
26334
|
+
namespace $200 {
|
|
26335
|
+
namespace Content {
|
|
26336
|
+
type ApplicationJson = MittwaldAPIV2.Components.Schemas.ContractContract;
|
|
26337
|
+
}
|
|
26338
|
+
}
|
|
26339
|
+
namespace $400 {
|
|
26340
|
+
namespace Content {
|
|
26341
|
+
interface ApplicationJson {
|
|
26342
|
+
[k: string]: unknown;
|
|
26343
|
+
}
|
|
26344
|
+
}
|
|
26345
|
+
}
|
|
26346
|
+
namespace $404 {
|
|
26347
|
+
namespace Content {
|
|
26348
|
+
interface ApplicationJson {
|
|
26349
|
+
[k: string]: unknown;
|
|
26350
|
+
}
|
|
26351
|
+
}
|
|
26352
|
+
}
|
|
26353
|
+
namespace $429 {
|
|
26354
|
+
namespace Content {
|
|
26355
|
+
interface ApplicationJson {
|
|
26356
|
+
[k: string]: unknown;
|
|
26357
|
+
}
|
|
26358
|
+
}
|
|
26359
|
+
}
|
|
26360
|
+
namespace Default {
|
|
26361
|
+
namespace Content {
|
|
26362
|
+
interface ApplicationJson {
|
|
26363
|
+
[k: string]: unknown;
|
|
26364
|
+
}
|
|
26365
|
+
}
|
|
26366
|
+
}
|
|
26367
|
+
}
|
|
26368
|
+
}
|
|
26369
|
+
}
|
|
26315
26370
|
}
|
|
26316
26371
|
}
|
package/dist/types/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export declare const MittwaldAPIClientVersion = '4.205.0';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mittwald/api-client",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.206.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",
|
|
@@ -80,5 +80,5 @@
|
|
|
80
80
|
"optional": true
|
|
81
81
|
}
|
|
82
82
|
},
|
|
83
|
-
"gitHead": "
|
|
83
|
+
"gitHead": "739a66adec503bf41a7c32036d421a78e1050499"
|
|
84
84
|
}
|