@mittwald/api-client 0.0.0-development-137cd36-20260225 → 0.0.0-development-feb814a-20260225

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.
@@ -1800,7 +1800,7 @@ export const licenseListLicensesForProject = {
1800
1800
  };
1801
1801
  /** rotate a License's key, i.e. revoke the old and generate a new one. */
1802
1802
  export const licenseRotateLicenseKey = {
1803
- path: "/v2/licenses/{licenseId}/actions/rotate-license-key",
1803
+ path: "/v2/licenses/{licenseId}/actions/rotate-key",
1804
1804
  method: "POST",
1805
1805
  operationId: "license-rotate-license-key",
1806
1806
  };
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '4.306.0';
1
+ export const MittwaldAPIClientVersion = '4.308.0';
@@ -2550,13 +2550,13 @@ declare const buildLicenseApi: (baseClient: MittwaldAPIV2Client) => {
2550
2550
  "x-access-token"?: string | undefined;
2551
2551
  } | undefined;
2552
2552
  }) => import("@mittwald/react-use-promise").AsyncResource<{
2553
- aggregateReference: import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseAggregateReference;
2554
2553
  description: string;
2555
2554
  expiryDate?: string | undefined;
2556
2555
  id: string;
2557
2556
  keyReference?: (import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseKey | import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseExternalKey) | undefined;
2558
2557
  kind: import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseKind;
2559
2558
  meta: import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseMeta;
2559
+ reference: import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseReference;
2560
2560
  volume?: number | undefined;
2561
2561
  }>;
2562
2562
  /** List Licenses belonging to a Project. */
@@ -26005,13 +26005,13 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
26005
26005
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
26006
26006
  }>;
26007
26007
  }, import("@mittwald/api-client-commons").Response<{
26008
- aggregateReference: import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseAggregateReference;
26009
26008
  description: string;
26010
26009
  expiryDate?: string | undefined;
26011
26010
  id: string;
26012
26011
  keyReference?: (import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseKey | import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseExternalKey) | undefined;
26013
26012
  kind: import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseKind;
26014
26013
  meta: import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseMeta;
26014
+ reference: import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseReference;
26015
26015
  volume?: number | undefined;
26016
26016
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
26017
26017
  [x: string]: unknown;
@@ -26036,13 +26036,13 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
26036
26036
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
26037
26037
  }>;
26038
26038
  }, import("@mittwald/api-client-commons").Response<{
26039
- aggregateReference: import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseAggregateReference;
26040
26039
  description: string;
26041
26040
  expiryDate?: string | undefined;
26042
26041
  id: string;
26043
26042
  keyReference?: (import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseKey | import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseExternalKey) | undefined;
26044
26043
  kind: import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseKind;
26045
26044
  meta: import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseMeta;
26045
+ reference: import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseReference;
26046
26046
  volume?: number | undefined;
26047
26047
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
26048
26048
  [x: string]: unknown;
@@ -26377,6 +26377,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
26377
26377
  exists: boolean;
26378
26378
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
26379
26379
  [x: string]: unknown;
26380
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
26381
+ [x: string]: unknown;
26380
26382
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
26381
26383
  data: {
26382
26384
  city: string;
@@ -26392,6 +26394,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
26392
26394
  exists: boolean;
26393
26395
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
26394
26396
  [x: string]: unknown;
26397
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
26398
+ [x: string]: unknown;
26395
26399
  }, 429, "application/json">>>;
26396
26400
  /** Check if a company exists. */
26397
26401
  verificationVerifyCompany: (request: {
@@ -604,7 +604,7 @@ export declare const licenseGetLicense: OpenAPIOperation<RequestType<Simplify<nu
604
604
  /** List Licenses belonging to a Project. */
605
605
  export declare const licenseListLicensesForProject: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdLicenses.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdLicenses.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdLicenses.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdLicenses.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdLicenses.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdLicenses.Get.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdLicenses.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdLicenses.Get.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdLicenses.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
606
606
  /** rotate a License's key, i.e. revoke the old and generate a new one. */
607
- export declare const licenseRotateLicenseKey: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2LicensesLicenseIdActionsRotateLicenseKey.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2LicensesLicenseIdActionsRotateLicenseKey.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2LicensesLicenseIdActionsRotateLicenseKey.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2LicensesLicenseIdActionsRotateLicenseKey.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2LicensesLicenseIdActionsRotateLicenseKey.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2LicensesLicenseIdActionsRotateLicenseKey.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2LicensesLicenseIdActionsRotateLicenseKey.Post.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2LicensesLicenseIdActionsRotateLicenseKey.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2LicensesLicenseIdActionsRotateLicenseKey.Post.Responses.$412.Content.ApplicationJson>, 412, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2LicensesLicenseIdActionsRotateLicenseKey.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2LicensesLicenseIdActionsRotateLicenseKey.Post.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2LicensesLicenseIdActionsRotateLicenseKey.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
607
+ export declare const licenseRotateLicenseKey: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2LicensesLicenseIdActionsRotateKey.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2LicensesLicenseIdActionsRotateKey.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2LicensesLicenseIdActionsRotateKey.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2LicensesLicenseIdActionsRotateKey.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2LicensesLicenseIdActionsRotateKey.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2LicensesLicenseIdActionsRotateKey.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2LicensesLicenseIdActionsRotateKey.Post.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2LicensesLicenseIdActionsRotateKey.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2LicensesLicenseIdActionsRotateKey.Post.Responses.$412.Content.ApplicationJson>, 412, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2LicensesLicenseIdActionsRotateKey.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2LicensesLicenseIdActionsRotateKey.Post.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2LicensesLicenseIdActionsRotateKey.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
608
608
  /** Validate a License's key for a project. */
609
609
  export declare const licenseValidateLicenseKeyForProject: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdActionsValidateLicenseKey.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdActionsValidateLicenseKey.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdActionsValidateLicenseKey.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdActionsValidateLicenseKey.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdActionsValidateLicenseKey.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdActionsValidateLicenseKey.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdActionsValidateLicenseKey.Post.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdActionsValidateLicenseKey.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdActionsValidateLicenseKey.Post.Responses.$412.Content.ApplicationJson>, 412, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdActionsValidateLicenseKey.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdActionsValidateLicenseKey.Post.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdActionsValidateLicenseKey.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
610
610
  /** List DeliveryBoxes belonging to a Project. */
@@ -912,7 +912,7 @@ export declare const userVerifyRegistration: OpenAPIOperation<RequestType<Simpli
912
912
  /** Check if an email is from mittwald. */
913
913
  export declare const verificationDetectPhishingEmail: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ActionsDetectPhishingEmail.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ActionsDetectPhishingEmail.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ActionsDetectPhishingEmail.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ActionsDetectPhishingEmail.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ActionsDetectPhishingEmail.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsDetectPhishingEmail.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsDetectPhishingEmail.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsDetectPhishingEmail.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
914
914
  /** Check if an address exists. */
915
- 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">>;
915
+ 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.$400.Content.ApplicationJson>, 400, "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">>;
916
916
  /** Check if a company exists. */
917
917
  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">>;
918
918
  /** Return the Contract for the given License. */
@@ -4577,11 +4577,6 @@ export declare namespace MittwaldAPIV2 {
4577
4577
  interface LeadfyndrUser {
4578
4578
  userId: string;
4579
4579
  }
4580
- interface LicenseAggregateReference {
4581
- aggregate: "project";
4582
- domain: "project";
4583
- id: string;
4584
- }
4585
4580
  interface LicenseAppVersionMeta {
4586
4581
  description: string;
4587
4582
  }
@@ -4596,13 +4591,13 @@ export declare namespace MittwaldAPIV2 {
4596
4591
  }
4597
4592
  type LicenseKind = "typo3-elts";
4598
4593
  interface LicenseLicense {
4599
- aggregateReference: MittwaldAPIV2.Components.Schemas.LicenseAggregateReference;
4600
4594
  description: string;
4601
4595
  expiryDate?: string;
4602
4596
  id: string;
4603
4597
  keyReference?: MittwaldAPIV2.Components.Schemas.LicenseKey | MittwaldAPIV2.Components.Schemas.LicenseExternalKey;
4604
4598
  kind: MittwaldAPIV2.Components.Schemas.LicenseKind;
4605
4599
  meta: MittwaldAPIV2.Components.Schemas.LicenseMeta;
4600
+ reference: MittwaldAPIV2.Components.Schemas.LicenseReference;
4606
4601
  volume?: number;
4607
4602
  }
4608
4603
  interface LicenseMeta {
@@ -5988,6 +5983,15 @@ export declare namespace MittwaldAPIV2 {
5988
5983
  majorVersion: number;
5989
5984
  projectId: string;
5990
5985
  };
5986
+ interface LicenseReference {
5987
+ aggregate: "project";
5988
+ domain: "project";
5989
+ id: string;
5990
+ }
5991
+ interface VerificationVerifyAddressResponse {
5992
+ exists: boolean;
5993
+ }
5994
+ type VerificationVerifyAddressConfidence = "EXISTS" | "UNSURE" | "NON_EXISTENT";
5991
5995
  interface CommonsAddress {
5992
5996
  street: string;
5993
5997
  houseNumber: string;
@@ -21740,7 +21744,7 @@ export declare namespace MittwaldAPIV2 {
21740
21744
  }
21741
21745
  }
21742
21746
  }
21743
- namespace V2LicensesLicenseIdActionsRotateLicenseKey {
21747
+ namespace V2LicensesLicenseIdActionsRotateKey {
21744
21748
  namespace Post {
21745
21749
  namespace Parameters {
21746
21750
  type Path = {
@@ -29399,9 +29403,14 @@ export declare namespace MittwaldAPIV2 {
29399
29403
  }
29400
29404
  namespace Responses {
29401
29405
  namespace $200 {
29406
+ namespace Content {
29407
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.VerificationVerifyAddressResponse;
29408
+ }
29409
+ }
29410
+ namespace $400 {
29402
29411
  namespace Content {
29403
29412
  interface ApplicationJson {
29404
- exists: boolean;
29413
+ [k: string]: unknown;
29405
29414
  }
29406
29415
  }
29407
29416
  }
@@ -1 +1 @@
1
- export declare const MittwaldAPIClientVersion = '4.306.0';
1
+ export declare const MittwaldAPIClientVersion = '4.308.0';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/api-client",
3
- "version": "0.0.0-development-137cd36-20260225",
3
+ "version": "0.0.0-development-feb814a-20260225",
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-137cd36-20260225",
49
+ "@mittwald/api-client-commons": "^0.0.0-development-feb814a-20260225",
50
50
  "browser-or-node": "^3.0.0"
51
51
  },
52
52
  "devDependencies": {
53
- "@mittwald/api-code-generator": "^0.0.0-development-137cd36-20260225",
53
+ "@mittwald/api-code-generator": "^0.0.0-development-feb814a-20260225",
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": "f4197b034529b080888a78afca2e60e0ebb03d43"
83
+ "gitHead": "20a13fad716e08c82b505f0bdb630bf447c69eca"
84
84
  }