@mittwald/api-client 0.0.0-development-2f042ce-20260202 → 0.0.0-development-39d23c6-20260203

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.
@@ -132,6 +132,8 @@ const buildContractApi = (baseClient) => ({
132
132
  orderListCustomerOrders: new ApiCallAsyncResourceFactory(descriptors.orderListCustomerOrders, baseClient.contract.orderListCustomerOrders).getApiResource,
133
133
  /** Get list of Orders of a Project. */
134
134
  orderListProjectOrders: new ApiCallAsyncResourceFactory(descriptors.orderListProjectOrders, baseClient.contract.orderListProjectOrders).getApiResource,
135
+ /** Return the Contract for the given License. */
136
+ getDetailOfContractByLicense: new ApiCallAsyncResourceFactory(descriptors.contractGetDetailOfContractByLicense, baseClient.contract.getDetailOfContractByLicense).getApiResource,
135
137
  });
136
138
  const buildMarketplaceApi = (baseClient) => ({
137
139
  /** Get a Contributor. */
@@ -235,6 +235,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
235
235
  orderPreviewOrder: this.requestFunctionFactory(descriptors.orderPreviewOrder),
236
236
  /** Preview TariffChange. */
237
237
  orderPreviewTariffChange: this.requestFunctionFactory(descriptors.orderPreviewTariffChange),
238
+ /** Return the Contract for the given License. */
239
+ getDetailOfContractByLicense: this.requestFunctionFactory(descriptors.contractGetDetailOfContractByLicense),
238
240
  };
239
241
  /** The marketplace API allows you to manage extensions and more information regaring the marketplace. */
240
242
  marketplace = {
@@ -2740,3 +2740,9 @@ export const verificationVerifyCompany = {
2740
2740
  method: "POST",
2741
2741
  operationId: "verification-verify-company",
2742
2742
  };
2743
+ /** Return the Contract for the given License. */
2744
+ export const contractGetDetailOfContractByLicense = {
2745
+ path: "/v2/licenses/{licenseId}/contract",
2746
+ method: "GET",
2747
+ operationId: "contract-get-detail-of-contract-by-license",
2748
+ };
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '4.292.0';
1
+ export const MittwaldAPIClientVersion = '0.0.0-development-2f042ce-20260202';
@@ -1023,6 +1023,21 @@ declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
1023
1023
  templateNames?: string[] | undefined;
1024
1024
  } | undefined;
1025
1025
  }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.OrderCustomerOrder[]>;
1026
+ /** Return the Contract for the given License. */
1027
+ getDetailOfContractByLicense: (conf: {
1028
+ licenseId: string;
1029
+ headers?: {
1030
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1031
+ "x-access-token"?: string | undefined;
1032
+ } | undefined;
1033
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
1034
+ additionalItems?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractContractItem[] | undefined;
1035
+ baseItem: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractContractItem;
1036
+ contractId: string;
1037
+ contractNumber: string;
1038
+ customerId: string;
1039
+ termination?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractTermination | undefined;
1040
+ }>;
1026
1041
  };
1027
1042
  declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
1028
1043
  /** Get a Contributor. */
@@ -7394,6 +7394,68 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
7394
7394
  }, 422, "application/json"> | import("@mittwald/api-client-commons").Response<{
7395
7395
  [x: string]: unknown;
7396
7396
  }, 429, "application/json">>>;
7397
+ /** Return the Contract for the given License. */
7398
+ getDetailOfContractByLicense: (request: {
7399
+ licenseId: string;
7400
+ headers?: {
7401
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
7402
+ "x-access-token"?: string | undefined;
7403
+ } | undefined;
7404
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
7405
+ headers?: Partial<{
7406
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
7407
+ }>;
7408
+ } & {
7409
+ pathParameters: {
7410
+ licenseId: string;
7411
+ };
7412
+ } & {
7413
+ headers: {
7414
+ "x-access-token"?: string | undefined;
7415
+ } & Partial<{
7416
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
7417
+ }>;
7418
+ }, import("@mittwald/api-client-commons").Response<{
7419
+ additionalItems?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractContractItem[] | undefined;
7420
+ baseItem: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractContractItem;
7421
+ contractId: string;
7422
+ contractNumber: string;
7423
+ customerId: string;
7424
+ termination?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractTermination | undefined;
7425
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
7426
+ [x: string]: unknown;
7427
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
7428
+ [x: string]: unknown;
7429
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
7430
+ [x: string]: unknown;
7431
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
7432
+ headers?: Partial<{
7433
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
7434
+ }>;
7435
+ } & {
7436
+ pathParameters: {
7437
+ licenseId: string;
7438
+ };
7439
+ } & {
7440
+ headers: {
7441
+ "x-access-token"?: string | undefined;
7442
+ } & Partial<{
7443
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
7444
+ }>;
7445
+ }, import("@mittwald/api-client-commons").Response<{
7446
+ additionalItems?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractContractItem[] | undefined;
7447
+ baseItem: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractContractItem;
7448
+ contractId: string;
7449
+ contractNumber: string;
7450
+ customerId: string;
7451
+ termination?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractTermination | undefined;
7452
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
7453
+ [x: string]: unknown;
7454
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
7455
+ [x: string]: unknown;
7456
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
7457
+ [x: string]: unknown;
7458
+ }, 429, "application/json">>>;
7397
7459
  };
7398
7460
  /** The marketplace API allows you to manage extensions and more information regaring the marketplace. */
7399
7461
  readonly marketplace: {
@@ -18422,16 +18484,34 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
18422
18484
  skip?: number | undefined;
18423
18485
  page?: number | undefined;
18424
18486
  } | undefined;
18425
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
18487
+ } | {
18488
+ data: {
18489
+ certificateId: string;
18490
+ };
18491
+ headers?: {
18492
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
18493
+ "x-access-token"?: string | undefined;
18494
+ } | undefined;
18495
+ queryParameters?: {
18496
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
18497
+ limit?: number | undefined;
18498
+ skip?: number | undefined;
18499
+ page?: number | undefined;
18500
+ } | undefined;
18501
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<(({
18426
18502
  data: {
18427
18503
  certificate: string;
18428
18504
  projectId: string;
18429
18505
  };
18430
- } & {
18506
+ } | {
18507
+ data: {
18508
+ certificateId: string;
18509
+ };
18510
+ }) & {
18431
18511
  headers?: Partial<{
18432
18512
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18433
18513
  }>;
18434
- } & {
18514
+ }) & {
18435
18515
  queryParameters: {
18436
18516
  limit?: number | undefined;
18437
18517
  skip?: number | undefined;
@@ -18451,16 +18531,20 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
18451
18531
  [x: string]: unknown;
18452
18532
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
18453
18533
  [x: string]: unknown;
18454
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
18534
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<(({
18455
18535
  data: {
18456
18536
  certificate: string;
18457
18537
  projectId: string;
18458
18538
  };
18459
- } & {
18539
+ } | {
18540
+ data: {
18541
+ certificateId: string;
18542
+ };
18543
+ }) & {
18460
18544
  headers?: Partial<{
18461
18545
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18462
18546
  }>;
18463
- } & {
18547
+ }) & {
18464
18548
  queryParameters: {
18465
18549
  limit?: number | undefined;
18466
18550
  skip?: number | undefined;
@@ -917,3 +917,5 @@ export declare const verificationDetectPhishingEmail: OpenAPIOperation<RequestTy
917
917
  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">>;
918
918
  /** Check if a company exists. */
919
919
  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">>;
920
+ /** Return the Contract for the given License. */
921
+ export declare const contractGetDetailOfContractByLicense: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2LicensesLicenseIdContract.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2LicensesLicenseIdContract.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2LicensesLicenseIdContract.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2LicensesLicenseIdContract.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2LicensesLicenseIdContract.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2LicensesLicenseIdContract.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2LicensesLicenseIdContract.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2LicensesLicenseIdContract.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
@@ -1830,6 +1830,10 @@ export declare namespace MittwaldAPIV2 {
1830
1830
  type RequestData = InferredRequestData<typeof descriptors.verificationVerifyCompany>;
1831
1831
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.verificationVerifyCompany, TStatus>;
1832
1832
  }
1833
+ namespace ContractGetDetailOfContractByLicense {
1834
+ type RequestData = InferredRequestData<typeof descriptors.contractGetDetailOfContractByLicense>;
1835
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.contractGetDetailOfContractByLicense, TStatus>;
1836
+ }
1833
1837
  }
1834
1838
  namespace Components {
1835
1839
  namespace Schemas {
@@ -5789,6 +5793,23 @@ export declare namespace MittwaldAPIV2 {
5789
5793
  }
5790
5794
  type VerificationEmailOrigin = "IS_MITTWALD" | "IS_NOT_MITTWALD" | "COULD_BE_MITTWALD";
5791
5795
  type ContainerVolumeSortOrder = "nameAsc" | "nameDesc" | "storageAsc" | "storageDesc";
5796
+ interface IngressListIngressesCompatibleWithCertificateRequest {
5797
+ /**
5798
+ * PEM-encoded certificate. Linebreaks have to be escaped with
5799
+ * .
5800
+ */
5801
+ certificate: string;
5802
+ /**
5803
+ * The projects UUID.
5804
+ */
5805
+ projectId: string;
5806
+ }
5807
+ interface IngressListIngressesCompatibleWithCertificateIDRequest {
5808
+ /**
5809
+ * The certificates UUID.
5810
+ */
5811
+ certificateId: string;
5812
+ }
5792
5813
  interface CommonsAddress {
5793
5814
  street: string;
5794
5815
  houseNumber: string;
@@ -20113,17 +20134,7 @@ export declare namespace MittwaldAPIV2 {
20113
20134
  namespace Post {
20114
20135
  namespace Parameters {
20115
20136
  type Path = {};
20116
- interface RequestBody {
20117
- /**
20118
- * PEM-encoded certificate. Linebreaks have to be escaped with
20119
- * .
20120
- */
20121
- certificate: string;
20122
- /**
20123
- * The projects UUID.
20124
- */
20125
- projectId: string;
20126
- }
20137
+ type RequestBody = MittwaldAPIV2.Components.Schemas.IngressListIngressesCompatibleWithCertificateRequest | MittwaldAPIV2.Components.Schemas.IngressListIngressesCompatibleWithCertificateIDRequest;
20127
20138
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
20128
20139
  type Query = {
20129
20140
  limit?: number;
@@ -29268,5 +29279,51 @@ export declare namespace MittwaldAPIV2 {
29268
29279
  }
29269
29280
  }
29270
29281
  }
29282
+ namespace V2LicensesLicenseIdContract {
29283
+ namespace Get {
29284
+ namespace Parameters {
29285
+ type Path = {
29286
+ licenseId: string;
29287
+ };
29288
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
29289
+ type Query = {};
29290
+ }
29291
+ namespace Responses {
29292
+ namespace $200 {
29293
+ namespace Content {
29294
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.ContractContract;
29295
+ }
29296
+ }
29297
+ namespace $400 {
29298
+ namespace Content {
29299
+ interface ApplicationJson {
29300
+ [k: string]: unknown;
29301
+ }
29302
+ }
29303
+ }
29304
+ namespace $404 {
29305
+ namespace Content {
29306
+ interface ApplicationJson {
29307
+ [k: string]: unknown;
29308
+ }
29309
+ }
29310
+ }
29311
+ namespace $429 {
29312
+ namespace Content {
29313
+ interface ApplicationJson {
29314
+ [k: string]: unknown;
29315
+ }
29316
+ }
29317
+ }
29318
+ namespace Default {
29319
+ namespace Content {
29320
+ interface ApplicationJson {
29321
+ [k: string]: unknown;
29322
+ }
29323
+ }
29324
+ }
29325
+ }
29326
+ }
29327
+ }
29271
29328
  }
29272
29329
  }
@@ -1 +1 @@
1
- export declare const MittwaldAPIClientVersion = '4.292.0';
1
+ export declare const MittwaldAPIClientVersion = '0.0.0-development-2f042ce-20260202';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/api-client",
3
- "version": "0.0.0-development-2f042ce-20260202",
3
+ "version": "0.0.0-development-39d23c6-20260203",
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",
@@ -46,11 +46,11 @@
46
46
  "test:compile": "run tsc --noEmit"
47
47
  },
48
48
  "dependencies": {
49
- "@mittwald/api-client-commons": "^0.0.0-development-2f042ce-20260202",
49
+ "@mittwald/api-client-commons": "^0.0.0-development-39d23c6-20260203",
50
50
  "browser-or-node": "^3.0.0"
51
51
  },
52
52
  "devDependencies": {
53
- "@mittwald/api-code-generator": "^0.0.0-development-2f042ce-20260202",
53
+ "@mittwald/api-code-generator": "^0.0.0-development-39d23c6-20260203",
54
54
  "@mittwald/react-use-promise": "^2.6.2",
55
55
  "@types/node": "^22.18.11",
56
56
  "@types/react": "^18.3.26",
@@ -80,5 +80,5 @@
80
80
  "optional": true
81
81
  }
82
82
  },
83
- "gitHead": "d70e106dd76653ca0f02d60ad9f6422d3201bba7"
83
+ "gitHead": "063f28a03a64eb649e7871e5ab1b769fa86a4f92"
84
84
  }