@mittwald/api-client 4.205.0 → 4.207.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.
@@ -80,6 +80,8 @@ const buildContractApi = (baseClient) => ({
80
80
  getDetailOfContractByDomain: new ApiCallAsyncResourceFactory(descriptors.contractGetDetailOfContractByDomain, baseClient.contract.getDetailOfContractByDomain).getApiResource,
81
81
  /** Return the Contract for the given LeadFyndrProfile. */
82
82
  getDetailOfContractByLeadFyndr: new ApiCallAsyncResourceFactory(descriptors.contractGetDetailOfContractByLeadFyndr, baseClient.contract.getDetailOfContractByLeadFyndr).getApiResource,
83
+ /** Return the Contract for the given Mail Address. */
84
+ getDetailOfContractByMailAddress: new ApiCallAsyncResourceFactory(descriptors.contractGetDetailOfContractByMailAddress, baseClient.contract.getDetailOfContractByMailAddress).getApiResource,
83
85
  /** Return the Contract for the given Project. */
84
86
  getDetailOfContractByProject: new ApiCallAsyncResourceFactory(descriptors.contractGetDetailOfContractByProject, baseClient.contract.getDetailOfContractByProject).getApiResource,
85
87
  /** Return the Contract for the given Server. */
@@ -158,6 +158,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
158
158
  getDetailOfContractByDomain: this.requestFunctionFactory(descriptors.contractGetDetailOfContractByDomain),
159
159
  /** Return the Contract for the given LeadFyndrProfile. */
160
160
  getDetailOfContractByLeadFyndr: this.requestFunctionFactory(descriptors.contractGetDetailOfContractByLeadFyndr),
161
+ /** Return the Contract for the given Mail Address. */
162
+ getDetailOfContractByMailAddress: this.requestFunctionFactory(descriptors.contractGetDetailOfContractByMailAddress),
161
163
  /** Return the Contract for the given Project. */
162
164
  getDetailOfContractByProject: this.requestFunctionFactory(descriptors.contractGetDetailOfContractByProject),
163
165
  /** Return the Contract for the given Server. */
@@ -418,6 +418,12 @@ export const contractGetDetailOfContractByLeadFyndr = {
418
418
  method: "GET",
419
419
  operationId: "contract-get-detail-of-contract-by-lead-fyndr",
420
420
  };
421
+ /** Return the Contract for the given Mail Address. */
422
+ export const contractGetDetailOfContractByMailAddress = {
423
+ path: "/v2/mail-addresses/{mailAddressId}/contract",
424
+ method: "GET",
425
+ operationId: "contract-get-detail-of-contract-by-mail-address",
426
+ };
421
427
  /** Return the Contract for the given Project. */
422
428
  export const contractGetDetailOfContractByProject = {
423
429
  path: "/v2/projects/{projectId}/contract",
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '4.204.0';
1
+ export const MittwaldAPIClientVersion = '4.206.0';
@@ -593,6 +593,21 @@ declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
593
593
  customerId: string;
594
594
  termination?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractTermination | undefined;
595
595
  }>;
596
+ /** Return the Contract for the given Mail Address. */
597
+ getDetailOfContractByMailAddress: (conf: {
598
+ mailAddressId: string;
599
+ headers?: {
600
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
601
+ "x-access-token"?: string | undefined;
602
+ } | undefined;
603
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
604
+ additionalItems?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractContractItem[] | undefined;
605
+ baseItem: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractContractItem;
606
+ contractId: string;
607
+ contractNumber: string;
608
+ customerId: string;
609
+ termination?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractTermination | undefined;
610
+ }>;
596
611
  /** Return the Contract for the given Project. */
597
612
  getDetailOfContractByProject: (conf: {
598
613
  projectId: string;
@@ -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[];
@@ -4694,6 +4694,68 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
4694
4694
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
4695
4695
  [x: string]: unknown;
4696
4696
  }, 429, "application/json">>>;
4697
+ /** Return the Contract for the given Mail Address. */
4698
+ getDetailOfContractByMailAddress: (request: {
4699
+ mailAddressId: string;
4700
+ headers?: {
4701
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
4702
+ "x-access-token"?: string | undefined;
4703
+ } | undefined;
4704
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
4705
+ headers?: Partial<{
4706
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
4707
+ }>;
4708
+ } & {
4709
+ pathParameters: {
4710
+ mailAddressId: string;
4711
+ };
4712
+ } & {
4713
+ headers: {
4714
+ "x-access-token"?: string | undefined;
4715
+ } & Partial<{
4716
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
4717
+ }>;
4718
+ }, import("@mittwald/api-client-commons").Response<{
4719
+ additionalItems?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractContractItem[] | undefined;
4720
+ baseItem: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractContractItem;
4721
+ contractId: string;
4722
+ contractNumber: string;
4723
+ customerId: string;
4724
+ termination?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractTermination | undefined;
4725
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
4726
+ [x: string]: unknown;
4727
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
4728
+ [x: string]: unknown;
4729
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
4730
+ [x: string]: unknown;
4731
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
4732
+ headers?: Partial<{
4733
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
4734
+ }>;
4735
+ } & {
4736
+ pathParameters: {
4737
+ mailAddressId: string;
4738
+ };
4739
+ } & {
4740
+ headers: {
4741
+ "x-access-token"?: string | undefined;
4742
+ } & Partial<{
4743
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
4744
+ }>;
4745
+ }, import("@mittwald/api-client-commons").Response<{
4746
+ additionalItems?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractContractItem[] | undefined;
4747
+ baseItem: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractContractItem;
4748
+ contractId: string;
4749
+ contractNumber: string;
4750
+ customerId: string;
4751
+ termination?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractTermination | undefined;
4752
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
4753
+ [x: string]: unknown;
4754
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
4755
+ [x: string]: unknown;
4756
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
4757
+ [x: string]: unknown;
4758
+ }, 429, "application/json">>>;
4697
4759
  /** Return the Contract for the given Project. */
4698
4760
  getDetailOfContractByProject: (request: {
4699
4761
  projectId: string;
@@ -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[];
@@ -143,6 +143,8 @@ export declare const contractGetDetailOfContractByCertificate: OpenAPIOperation<
143
143
  export declare const contractGetDetailOfContractByDomain: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdContract.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdContract.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdContract.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdContract.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdContract.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdContract.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdContract.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdContract.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
144
144
  /** Return the Contract for the given LeadFyndrProfile. */
145
145
  export declare const contractGetDetailOfContractByLeadFyndr: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdLeadFyndrProfileContract.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdLeadFyndrProfileContract.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdLeadFyndrProfileContract.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdLeadFyndrProfileContract.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdLeadFyndrProfileContract.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdLeadFyndrProfileContract.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdLeadFyndrProfileContract.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdLeadFyndrProfileContract.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
146
+ /** Return the Contract for the given Mail Address. */
147
+ 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">>;
146
148
  /** Return the Contract for the given Project. */
147
149
  export declare const contractGetDetailOfContractByProject: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdContract.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdContract.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdContract.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdContract.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdContract.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdContract.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdContract.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdContract.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
148
150
  /** Return the Contract for the given Server. */
@@ -282,6 +282,10 @@ export declare namespace MittwaldAPIV2 {
282
282
  type RequestData = InferredRequestData<typeof descriptors.contractGetDetailOfContractByLeadFyndr>;
283
283
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.contractGetDetailOfContractByLeadFyndr, TStatus>;
284
284
  }
285
+ namespace ContractGetDetailOfContractByMailAddress {
286
+ type RequestData = InferredRequestData<typeof descriptors.contractGetDetailOfContractByMailAddress>;
287
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.contractGetDetailOfContractByMailAddress, TStatus>;
288
+ }
285
289
  namespace ContractGetDetailOfContractByProject {
286
290
  type RequestData = InferredRequestData<typeof descriptors.contractGetDetailOfContractByProject>;
287
291
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.contractGetDetailOfContractByProject, TStatus>;
@@ -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[];
@@ -9013,6 +9016,52 @@ export declare namespace MittwaldAPIV2 {
9013
9016
  }
9014
9017
  }
9015
9018
  }
9019
+ namespace V2MailAddressesMailAddressIdContract {
9020
+ namespace Get {
9021
+ namespace Parameters {
9022
+ type Path = {
9023
+ mailAddressId: string;
9024
+ };
9025
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
9026
+ type Query = {};
9027
+ }
9028
+ namespace Responses {
9029
+ namespace $200 {
9030
+ namespace Content {
9031
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.ContractContract;
9032
+ }
9033
+ }
9034
+ namespace $400 {
9035
+ namespace Content {
9036
+ interface ApplicationJson {
9037
+ [k: string]: unknown;
9038
+ }
9039
+ }
9040
+ }
9041
+ namespace $404 {
9042
+ namespace Content {
9043
+ interface ApplicationJson {
9044
+ [k: string]: unknown;
9045
+ }
9046
+ }
9047
+ }
9048
+ namespace $429 {
9049
+ namespace Content {
9050
+ interface ApplicationJson {
9051
+ [k: string]: unknown;
9052
+ }
9053
+ }
9054
+ }
9055
+ namespace Default {
9056
+ namespace Content {
9057
+ interface ApplicationJson {
9058
+ [k: string]: unknown;
9059
+ }
9060
+ }
9061
+ }
9062
+ }
9063
+ }
9064
+ }
9016
9065
  namespace V2ProjectsProjectIdContract {
9017
9066
  namespace Get {
9018
9067
  namespace Parameters {
@@ -1 +1 @@
1
- export declare const MittwaldAPIClientVersion = '4.204.0';
1
+ export declare const MittwaldAPIClientVersion = '4.206.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.207.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": "ed6529f70c4cb8f2454a072c31854ab2c05ddf40"
84
84
  }