@mittwald/api-client 4.205.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.
@@ -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
+ };
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '4.204.0';
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. */
@@ -2778,13 +2793,9 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
2778
2793
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2779
2794
  } | undefined;
2780
2795
  }) => import("@mittwald/react-use-promise").AsyncResource<{
2781
- blocked?: {
2782
- executingUserId?: string;
2783
- reason: string;
2784
- timestamp: string;
2785
- } | undefined;
2786
2796
  containerMeta?: import("./types.js").MittwaldAPIV2.Components.Schemas.LlmlocksmithContainerMeta | undefined;
2787
2797
  customerId?: string | undefined;
2798
+ isBlocked: boolean;
2788
2799
  licenceId: string;
2789
2800
  licenceKey: string;
2790
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: {
@@ -23389,13 +23451,9 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
23389
23451
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
23390
23452
  }>;
23391
23453
  }, import("@mittwald/api-client-commons").Response<{
23392
- blocked?: {
23393
- executingUserId?: string;
23394
- reason: string;
23395
- timestamp: string;
23396
- } | undefined;
23397
23454
  containerMeta?: import("./types.js").MittwaldAPIV2.Components.Schemas.LlmlocksmithContainerMeta | undefined;
23398
23455
  customerId?: string | undefined;
23456
+ isBlocked: boolean;
23399
23457
  licenceId: string;
23400
23458
  licenceKey: string;
23401
23459
  models: string[];
@@ -23428,13 +23486,9 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
23428
23486
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
23429
23487
  }>;
23430
23488
  }, import("@mittwald/api-client-commons").Response<{
23431
- blocked?: {
23432
- executingUserId?: string;
23433
- reason: string;
23434
- timestamp: string;
23435
- } | undefined;
23436
23489
  containerMeta?: import("./types.js").MittwaldAPIV2.Components.Schemas.LlmlocksmithContainerMeta | undefined;
23437
23490
  customerId?: string | undefined;
23491
+ isBlocked: boolean;
23438
23492
  licenceId: string;
23439
23493
  licenceKey: string;
23440
23494
  models: string[];
@@ -24365,13 +24419,9 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
24365
24419
  licenceId: string;
24366
24420
  };
24367
24421
  }, import("@mittwald/api-client-commons").Response<{
24368
- blocked?: {
24369
- executingUserId?: string;
24370
- reason: string;
24371
- timestamp: string;
24372
- } | undefined;
24373
24422
  containerMeta?: import("./types.js").MittwaldAPIV2.Components.Schemas.LlmlocksmithContainerMeta | undefined;
24374
24423
  customerId?: string | undefined;
24424
+ isBlocked: boolean;
24375
24425
  licenceId: string;
24376
24426
  licenceKey: string;
24377
24427
  models: string[];
@@ -24396,13 +24446,9 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
24396
24446
  licenceId: string;
24397
24447
  };
24398
24448
  }, import("@mittwald/api-client-commons").Response<{
24399
- blocked?: {
24400
- executingUserId?: string;
24401
- reason: string;
24402
- timestamp: string;
24403
- } | undefined;
24404
24449
  containerMeta?: import("./types.js").MittwaldAPIV2.Components.Schemas.LlmlocksmithContainerMeta | undefined;
24405
24450
  customerId?: string | undefined;
24451
+ isBlocked: boolean;
24406
24452
  licenceId: string;
24407
24453
  licenceKey: string;
24408
24454
  models: string[];
@@ -24444,13 +24490,9 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
24444
24490
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
24445
24491
  }>;
24446
24492
  }, import("@mittwald/api-client-commons").Response<{
24447
- blocked?: {
24448
- executingUserId?: string;
24449
- reason: string;
24450
- timestamp: string;
24451
- } | undefined;
24452
24493
  containerMeta?: import("./types.js").MittwaldAPIV2.Components.Schemas.LlmlocksmithContainerMeta | undefined;
24453
24494
  customerId?: string | undefined;
24495
+ isBlocked: boolean;
24454
24496
  licenceId: string;
24455
24497
  licenceKey: string;
24456
24498
  models: string[];
@@ -24484,13 +24526,9 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
24484
24526
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
24485
24527
  }>;
24486
24528
  }, import("@mittwald/api-client-commons").Response<{
24487
- blocked?: {
24488
- executingUserId?: string;
24489
- reason: string;
24490
- timestamp: string;
24491
- } | undefined;
24492
24529
  containerMeta?: import("./types.js").MittwaldAPIV2.Components.Schemas.LlmlocksmithContainerMeta | undefined;
24493
24530
  customerId?: string | undefined;
24531
+ isBlocked: boolean;
24494
24532
  licenceId: string;
24495
24533
  licenceKey: string;
24496
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 {
@@ -4628,13 +4632,12 @@ export declare namespace MittwaldAPIV2 {
4628
4632
  status: "created" | "requested" | "failed";
4629
4633
  }
4630
4634
  interface LlmlocksmithLicence {
4631
- blocked?: {
4632
- executingUserId?: string;
4633
- reason: string;
4634
- timestamp: string;
4635
- };
4636
4635
  containerMeta?: MittwaldAPIV2.Components.Schemas.LlmlocksmithContainerMeta;
4637
4636
  customerId?: string;
4637
+ /**
4638
+ * Indicates whether the licence is blocked.
4639
+ */
4640
+ isBlocked: boolean;
4638
4641
  licenceId: string;
4639
4642
  licenceKey: string;
4640
4643
  models: string[];
@@ -26318,5 +26321,51 @@ export declare namespace MittwaldAPIV2 {
26318
26321
  }
26319
26322
  }
26320
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
+ }
26321
26370
  }
26322
26371
  }
@@ -1 +1 @@
1
- export declare const MittwaldAPIClientVersion = '4.204.0';
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.205.0",
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": "de6fb394f236ca5e0553f5cd02ed5ab8f82f7077"
83
+ "gitHead": "739a66adec503bf41a7c32036d421a78e1050499"
84
84
  }