@mittwald/api-client 4.306.0 → 4.308.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.
@@ -447,6 +447,12 @@ const buildSshsftpUserApi = (baseClient) => ({
447
447
  /** Get an SSHUser. */
448
448
  sshUserGetSshUser: new ApiCallAsyncResourceFactory(descriptors.sshUserGetSshUser, baseClient.sshsftpUser.sshUserGetSshUser).getApiResource,
449
449
  });
450
+ const buildLicenseApi = (baseClient) => ({
451
+ /** Get a license. */
452
+ getLicense: new ApiCallAsyncResourceFactory(descriptors.licenseGetLicense, baseClient.license.getLicense).getApiResource,
453
+ /** List Licenses belonging to a Project. */
454
+ listLicensesForProject: new ApiCallAsyncResourceFactory(descriptors.licenseListLicensesForProject, baseClient.license.listLicensesForProject).getApiResource,
455
+ });
450
456
  export class MittwaldAPIV2ClientReact {
451
457
  /** The AI hosting provides access to multiple large language and embedding models – GDPR compliant and hosted in Germany. */
452
458
  aiHosting;
@@ -492,6 +498,8 @@ export class MittwaldAPIV2ClientReact {
492
498
  projectFileSystem;
493
499
  /** The SSH/SFTP User API allows you to manage your SSH/SFTP users within a project. */
494
500
  sshsftpUser;
501
+ /** The license API allows you to manage your paid licenses. */
502
+ license;
495
503
  constructor(baseClient) {
496
504
  this.aiHosting = buildAiHostingApi(baseClient);
497
505
  this.app = buildAppApi(baseClient);
@@ -515,6 +523,7 @@ export class MittwaldAPIV2ClientReact {
515
523
  this.project = buildProjectApi(baseClient);
516
524
  this.projectFileSystem = buildProjectFileSystemApi(baseClient);
517
525
  this.sshsftpUser = buildSshsftpUserApi(baseClient);
526
+ this.license = buildLicenseApi(baseClient);
518
527
  }
519
528
  static fromBaseClient(baseClient) {
520
529
  return new MittwaldAPIV2ClientReact(baseClient);
@@ -973,5 +973,16 @@ export class MittwaldAPIV2Client extends ApiClientBase {
973
973
  /** Update an SSHUser. */
974
974
  sshUserUpdateSshUser: this.requestFunctionFactory(descriptors.sshUserUpdateSshUser),
975
975
  };
976
+ /** The license API allows you to manage your paid licenses. */
977
+ license = {
978
+ /** Get a license. */
979
+ getLicense: this.requestFunctionFactory(descriptors.licenseGetLicense),
980
+ /** List Licenses belonging to a Project. */
981
+ listLicensesForProject: this.requestFunctionFactory(descriptors.licenseListLicensesForProject),
982
+ /** rotate a License's key, i.e. revoke the old and generate a new one. */
983
+ rotateLicenseKey: this.requestFunctionFactory(descriptors.licenseRotateLicenseKey),
984
+ /** Validate a License's key for a project. */
985
+ validateLicenseKeyForProject: this.requestFunctionFactory(descriptors.licenseValidateLicenseKeyForProject),
986
+ };
976
987
  }
977
988
  export default MittwaldAPIV2Client;
@@ -2698,3 +2698,27 @@ export const verificationVerifyCompany = {
2698
2698
  method: "POST",
2699
2699
  operationId: "verification-verify-company",
2700
2700
  };
2701
+ /** Get a license. */
2702
+ export const licenseGetLicense = {
2703
+ path: "/v2/licenses/{licenseId}",
2704
+ method: "GET",
2705
+ operationId: "license-get-license",
2706
+ };
2707
+ /** List Licenses belonging to a Project. */
2708
+ export const licenseListLicensesForProject = {
2709
+ path: "/v2/projects/{projectId}/licenses",
2710
+ method: "GET",
2711
+ operationId: "license-list-licenses-for-project",
2712
+ };
2713
+ /** rotate a License's key, i.e. revoke the old and generate a new one. */
2714
+ export const licenseRotateLicenseKey = {
2715
+ path: "/v2/licenses/{licenseId}/actions/rotate-key",
2716
+ method: "POST",
2717
+ operationId: "license-rotate-license-key",
2718
+ };
2719
+ /** Validate a License's key for a project. */
2720
+ export const licenseValidateLicenseKeyForProject = {
2721
+ path: "/v2/projects/{projectId}/actions/validate-license-key",
2722
+ method: "POST",
2723
+ operationId: "license-validate-license-key-for-project",
2724
+ };
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '4.305.0';
1
+ export const MittwaldAPIClientVersion = '4.307.0';
@@ -276,6 +276,7 @@ declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
276
276
  } | undefined;
277
277
  queryParameters?: {
278
278
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
279
+ versionRange?: string | undefined;
279
280
  recommended?: boolean | undefined;
280
281
  } | undefined;
281
282
  }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.AppAppVersion[]>;
@@ -3467,6 +3468,39 @@ declare const buildSshsftpUserApi: (baseClient: MittwaldAPIV2Client) => {
3467
3468
  userName: string;
3468
3469
  }>;
3469
3470
  };
3471
+ declare const buildLicenseApi: (baseClient: MittwaldAPIV2Client) => {
3472
+ /** Get a license. */
3473
+ getLicense: (conf: {
3474
+ licenseId: string;
3475
+ headers?: {
3476
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3477
+ "x-access-token"?: string | undefined;
3478
+ } | undefined;
3479
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
3480
+ description: string;
3481
+ expiryDate?: string | undefined;
3482
+ id: string;
3483
+ keyReference?: (import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseKey | import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseExternalKey) | undefined;
3484
+ kind: import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseKind;
3485
+ meta: import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseMeta;
3486
+ reference: import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseReference;
3487
+ volume?: number | undefined;
3488
+ }>;
3489
+ /** List Licenses belonging to a Project. */
3490
+ listLicensesForProject: (conf: {
3491
+ projectId: string;
3492
+ headers?: {
3493
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3494
+ "x-access-token"?: string | undefined;
3495
+ } | undefined;
3496
+ queryParameters?: {
3497
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3498
+ limit?: number | undefined;
3499
+ skip?: number | undefined;
3500
+ page?: number | undefined;
3501
+ } | undefined;
3502
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseLicense[]>;
3503
+ };
3470
3504
  export declare class MittwaldAPIV2ClientReact {
3471
3505
  /** The AI hosting provides access to multiple large language and embedding models – GDPR compliant and hosted in Germany. */
3472
3506
  readonly aiHosting: ReturnType<typeof buildAiHostingApi>;
@@ -3512,6 +3546,8 @@ export declare class MittwaldAPIV2ClientReact {
3512
3546
  readonly projectFileSystem: ReturnType<typeof buildProjectFileSystemApi>;
3513
3547
  /** The SSH/SFTP User API allows you to manage your SSH/SFTP users within a project. */
3514
3548
  readonly sshsftpUser: ReturnType<typeof buildSshsftpUserApi>;
3549
+ /** The license API allows you to manage your paid licenses. */
3550
+ readonly license: ReturnType<typeof buildLicenseApi>;
3515
3551
  private constructor();
3516
3552
  static fromBaseClient(baseClient: MittwaldAPIV2Client): MittwaldAPIV2ClientReact;
3517
3553
  }
@@ -1754,6 +1754,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
1754
1754
  } | undefined;
1755
1755
  queryParameters?: {
1756
1756
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1757
+ versionRange?: string | undefined;
1757
1758
  recommended?: boolean | undefined;
1758
1759
  } | undefined;
1759
1760
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
@@ -1766,6 +1767,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
1766
1767
  };
1767
1768
  } & {
1768
1769
  queryParameters: {
1770
+ versionRange?: string | undefined;
1769
1771
  recommended?: boolean | undefined;
1770
1772
  } & Partial<{
1771
1773
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
@@ -1788,6 +1790,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
1788
1790
  };
1789
1791
  } & {
1790
1792
  queryParameters: {
1793
+ versionRange?: string | undefined;
1791
1794
  recommended?: boolean | undefined;
1792
1795
  } & Partial<{
1793
1796
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
@@ -6966,8 +6969,13 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6966
6969
  monthlyTokens: number;
6967
6970
  requestsPerMinute: number;
6968
6971
  useFreeTrial?: boolean | undefined;
6972
+ } | {
6973
+ description: string;
6974
+ licenseType: "typo3";
6975
+ majorVersion: number;
6976
+ projectId: string;
6969
6977
  } | undefined;
6970
- orderType?: "domain" | "projectHosting" | "server" | "externalCertificate" | "leadFyndr" | "mailArchive" | "aiHosting" | undefined;
6978
+ orderType?: "domain" | "projectHosting" | "server" | "externalCertificate" | "leadFyndr" | "mailArchive" | "aiHosting" | "license" | undefined;
6971
6979
  } | undefined;
6972
6980
  headers?: {
6973
6981
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
@@ -6975,8 +6983,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6975
6983
  } | undefined;
6976
6984
  } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
6977
6985
  data: {
6978
- orderData?: (import("./types.js").MittwaldAPIV2.Components.Schemas.OrderProjectHostingOrder | import("./types.js").MittwaldAPIV2.Components.Schemas.OrderServerOrder | import("./types.js").MittwaldAPIV2.Components.Schemas.OrderDomainOrder | import("./types.js").MittwaldAPIV2.Components.Schemas.OrderExternalCertificateOrder | import("./types.js").MittwaldAPIV2.Components.Schemas.OrderLeadFyndrOrder | import("./types.js").MittwaldAPIV2.Components.Schemas.OrderMailArchiveOrder | import("./types.js").MittwaldAPIV2.Components.Schemas.OrderAIHostingOrder) | undefined;
6979
- orderType?: "domain" | "projectHosting" | "server" | "externalCertificate" | "leadFyndr" | "mailArchive" | "aiHosting" | undefined;
6986
+ orderData?: (import("./types.js").MittwaldAPIV2.Components.Schemas.OrderProjectHostingOrder | import("./types.js").MittwaldAPIV2.Components.Schemas.OrderServerOrder | import("./types.js").MittwaldAPIV2.Components.Schemas.OrderDomainOrder | import("./types.js").MittwaldAPIV2.Components.Schemas.OrderExternalCertificateOrder | import("./types.js").MittwaldAPIV2.Components.Schemas.OrderLeadFyndrOrder | import("./types.js").MittwaldAPIV2.Components.Schemas.OrderMailArchiveOrder | import("./types.js").MittwaldAPIV2.Components.Schemas.OrderAIHostingOrder | import("./types.js").MittwaldAPIV2.Components.Schemas.OrderLicenseOrder) | undefined;
6987
+ orderType?: "domain" | "projectHosting" | "server" | "externalCertificate" | "leadFyndr" | "mailArchive" | "aiHosting" | "license" | undefined;
6980
6988
  };
6981
6989
  } & {
6982
6990
  headers?: Partial<{
@@ -6998,8 +7006,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6998
7006
  [x: string]: unknown;
6999
7007
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
7000
7008
  data: {
7001
- orderData?: (import("./types.js").MittwaldAPIV2.Components.Schemas.OrderProjectHostingOrder | import("./types.js").MittwaldAPIV2.Components.Schemas.OrderServerOrder | import("./types.js").MittwaldAPIV2.Components.Schemas.OrderDomainOrder | import("./types.js").MittwaldAPIV2.Components.Schemas.OrderExternalCertificateOrder | import("./types.js").MittwaldAPIV2.Components.Schemas.OrderLeadFyndrOrder | import("./types.js").MittwaldAPIV2.Components.Schemas.OrderMailArchiveOrder | import("./types.js").MittwaldAPIV2.Components.Schemas.OrderAIHostingOrder) | undefined;
7002
- orderType?: "domain" | "projectHosting" | "server" | "externalCertificate" | "leadFyndr" | "mailArchive" | "aiHosting" | undefined;
7009
+ orderData?: (import("./types.js").MittwaldAPIV2.Components.Schemas.OrderProjectHostingOrder | import("./types.js").MittwaldAPIV2.Components.Schemas.OrderServerOrder | import("./types.js").MittwaldAPIV2.Components.Schemas.OrderDomainOrder | import("./types.js").MittwaldAPIV2.Components.Schemas.OrderExternalCertificateOrder | import("./types.js").MittwaldAPIV2.Components.Schemas.OrderLeadFyndrOrder | import("./types.js").MittwaldAPIV2.Components.Schemas.OrderMailArchiveOrder | import("./types.js").MittwaldAPIV2.Components.Schemas.OrderAIHostingOrder | import("./types.js").MittwaldAPIV2.Components.Schemas.OrderLicenseOrder) | undefined;
7010
+ orderType?: "domain" | "projectHosting" | "server" | "externalCertificate" | "leadFyndr" | "mailArchive" | "aiHosting" | "license" | undefined;
7003
7011
  };
7004
7012
  } & {
7005
7013
  headers?: Partial<{
@@ -7338,16 +7346,20 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
7338
7346
  } | {
7339
7347
  monthlyTokens: number;
7340
7348
  requestsPerMinute: number;
7349
+ } | {
7350
+ licenseType: "typo3";
7351
+ majorVersion: number;
7352
+ description?: string | undefined;
7341
7353
  } | undefined;
7342
- orderType?: "domain" | "projectHosting" | "server" | "externalCertificate" | "leadFyndr" | "mailArchive" | "aiHosting" | undefined;
7354
+ orderType?: "domain" | "projectHosting" | "server" | "externalCertificate" | "leadFyndr" | "mailArchive" | "aiHosting" | "license" | undefined;
7343
7355
  } | undefined;
7344
7356
  headers?: {
7345
7357
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
7346
7358
  } | undefined;
7347
7359
  } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
7348
7360
  data: {
7349
- orderData?: (import("./types.js").MittwaldAPIV2.Components.Schemas.OrderProjectHostingOrderPreview | import("./types.js").MittwaldAPIV2.Components.Schemas.OrderServerOrderPreview | import("./types.js").MittwaldAPIV2.Components.Schemas.OrderDomainOrderPreview | import("./types.js").MittwaldAPIV2.Components.Schemas.OrderExternalCertificateOrderPreview | import("./types.js").MittwaldAPIV2.Components.Schemas.OrderLeadFyndrOrderPreview | import("./types.js").MittwaldAPIV2.Components.Schemas.OrderMailArchiveOrderPreview | import("./types.js").MittwaldAPIV2.Components.Schemas.OrderAIHostingOrderPreview) | undefined;
7350
- orderType?: "domain" | "projectHosting" | "server" | "externalCertificate" | "leadFyndr" | "mailArchive" | "aiHosting" | undefined;
7361
+ orderData?: (import("./types.js").MittwaldAPIV2.Components.Schemas.OrderProjectHostingOrderPreview | import("./types.js").MittwaldAPIV2.Components.Schemas.OrderServerOrderPreview | import("./types.js").MittwaldAPIV2.Components.Schemas.OrderDomainOrderPreview | import("./types.js").MittwaldAPIV2.Components.Schemas.OrderExternalCertificateOrderPreview | import("./types.js").MittwaldAPIV2.Components.Schemas.OrderLeadFyndrOrderPreview | import("./types.js").MittwaldAPIV2.Components.Schemas.OrderMailArchiveOrderPreview | import("./types.js").MittwaldAPIV2.Components.Schemas.OrderAIHostingOrderPreview | import("./types.js").MittwaldAPIV2.Components.Schemas.OrderLicenseOrderPreview) | undefined;
7362
+ orderType?: "domain" | "projectHosting" | "server" | "externalCertificate" | "leadFyndr" | "mailArchive" | "aiHosting" | "license" | undefined;
7351
7363
  };
7352
7364
  } & {
7353
7365
  headers?: Partial<{
@@ -7361,8 +7373,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
7361
7373
  [x: string]: unknown;
7362
7374
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
7363
7375
  data: {
7364
- orderData?: (import("./types.js").MittwaldAPIV2.Components.Schemas.OrderProjectHostingOrderPreview | import("./types.js").MittwaldAPIV2.Components.Schemas.OrderServerOrderPreview | import("./types.js").MittwaldAPIV2.Components.Schemas.OrderDomainOrderPreview | import("./types.js").MittwaldAPIV2.Components.Schemas.OrderExternalCertificateOrderPreview | import("./types.js").MittwaldAPIV2.Components.Schemas.OrderLeadFyndrOrderPreview | import("./types.js").MittwaldAPIV2.Components.Schemas.OrderMailArchiveOrderPreview | import("./types.js").MittwaldAPIV2.Components.Schemas.OrderAIHostingOrderPreview) | undefined;
7365
- orderType?: "domain" | "projectHosting" | "server" | "externalCertificate" | "leadFyndr" | "mailArchive" | "aiHosting" | undefined;
7376
+ orderData?: (import("./types.js").MittwaldAPIV2.Components.Schemas.OrderProjectHostingOrderPreview | import("./types.js").MittwaldAPIV2.Components.Schemas.OrderServerOrderPreview | import("./types.js").MittwaldAPIV2.Components.Schemas.OrderDomainOrderPreview | import("./types.js").MittwaldAPIV2.Components.Schemas.OrderExternalCertificateOrderPreview | import("./types.js").MittwaldAPIV2.Components.Schemas.OrderLeadFyndrOrderPreview | import("./types.js").MittwaldAPIV2.Components.Schemas.OrderMailArchiveOrderPreview | import("./types.js").MittwaldAPIV2.Components.Schemas.OrderAIHostingOrderPreview | import("./types.js").MittwaldAPIV2.Components.Schemas.OrderLicenseOrderPreview) | undefined;
7377
+ orderType?: "domain" | "projectHosting" | "server" | "externalCertificate" | "leadFyndr" | "mailArchive" | "aiHosting" | "license" | undefined;
7366
7378
  };
7367
7379
  } & {
7368
7380
  headers?: Partial<{
@@ -29538,5 +29550,305 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
29538
29550
  [x: string]: unknown;
29539
29551
  }, 429, "application/json">>>;
29540
29552
  };
29553
+ /** The license API allows you to manage your paid licenses. */
29554
+ readonly license: {
29555
+ /** Get a license. */
29556
+ getLicense: (request: {
29557
+ licenseId: string;
29558
+ headers?: {
29559
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
29560
+ "x-access-token"?: string | undefined;
29561
+ } | undefined;
29562
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
29563
+ headers?: Partial<{
29564
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
29565
+ }>;
29566
+ } & {
29567
+ pathParameters: {
29568
+ licenseId: string;
29569
+ };
29570
+ } & {
29571
+ headers: {
29572
+ "x-access-token"?: string | undefined;
29573
+ } & Partial<{
29574
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
29575
+ }>;
29576
+ }, import("@mittwald/api-client-commons").Response<{
29577
+ description: string;
29578
+ expiryDate?: string | undefined;
29579
+ id: string;
29580
+ keyReference?: (import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseKey | import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseExternalKey) | undefined;
29581
+ kind: import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseKind;
29582
+ meta: import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseMeta;
29583
+ reference: import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseReference;
29584
+ volume?: number | undefined;
29585
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
29586
+ [x: string]: unknown;
29587
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
29588
+ [x: string]: unknown;
29589
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
29590
+ [x: string]: unknown;
29591
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
29592
+ [x: string]: unknown;
29593
+ }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
29594
+ headers?: Partial<{
29595
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
29596
+ }>;
29597
+ } & {
29598
+ pathParameters: {
29599
+ licenseId: string;
29600
+ };
29601
+ } & {
29602
+ headers: {
29603
+ "x-access-token"?: string | undefined;
29604
+ } & Partial<{
29605
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
29606
+ }>;
29607
+ }, import("@mittwald/api-client-commons").Response<{
29608
+ description: string;
29609
+ expiryDate?: string | undefined;
29610
+ id: string;
29611
+ keyReference?: (import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseKey | import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseExternalKey) | undefined;
29612
+ kind: import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseKind;
29613
+ meta: import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseMeta;
29614
+ reference: import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseReference;
29615
+ volume?: number | undefined;
29616
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
29617
+ [x: string]: unknown;
29618
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
29619
+ [x: string]: unknown;
29620
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
29621
+ [x: string]: unknown;
29622
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
29623
+ [x: string]: unknown;
29624
+ }, 500, "application/json">>>;
29625
+ /** List Licenses belonging to a Project. */
29626
+ listLicensesForProject: (request: {
29627
+ projectId: string;
29628
+ headers?: {
29629
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
29630
+ "x-access-token"?: string | undefined;
29631
+ } | undefined;
29632
+ queryParameters?: {
29633
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
29634
+ limit?: number | undefined;
29635
+ skip?: number | undefined;
29636
+ page?: number | undefined;
29637
+ } | undefined;
29638
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
29639
+ headers?: Partial<{
29640
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
29641
+ }>;
29642
+ } & {
29643
+ pathParameters: {
29644
+ projectId: string;
29645
+ };
29646
+ } & {
29647
+ queryParameters: {
29648
+ limit?: number | undefined;
29649
+ skip?: number | undefined;
29650
+ page?: number | undefined;
29651
+ } & Partial<{
29652
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
29653
+ }>;
29654
+ } & {
29655
+ headers: {
29656
+ "x-access-token"?: string | undefined;
29657
+ } & Partial<{
29658
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
29659
+ }>;
29660
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseLicense[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
29661
+ [x: string]: unknown;
29662
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
29663
+ [x: string]: unknown;
29664
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
29665
+ [x: string]: unknown;
29666
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
29667
+ [x: string]: unknown;
29668
+ }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
29669
+ headers?: Partial<{
29670
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
29671
+ }>;
29672
+ } & {
29673
+ pathParameters: {
29674
+ projectId: string;
29675
+ };
29676
+ } & {
29677
+ queryParameters: {
29678
+ limit?: number | undefined;
29679
+ skip?: number | undefined;
29680
+ page?: number | undefined;
29681
+ } & Partial<{
29682
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
29683
+ }>;
29684
+ } & {
29685
+ headers: {
29686
+ "x-access-token"?: string | undefined;
29687
+ } & Partial<{
29688
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
29689
+ }>;
29690
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseLicense[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
29691
+ [x: string]: unknown;
29692
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
29693
+ [x: string]: unknown;
29694
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
29695
+ [x: string]: unknown;
29696
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
29697
+ [x: string]: unknown;
29698
+ }, 500, "application/json">>>;
29699
+ /** rotate a License's key, i.e. revoke the old and generate a new one. */
29700
+ rotateLicenseKey: (request: {
29701
+ licenseId: string;
29702
+ data?: {
29703
+ externalKey?: string | undefined;
29704
+ } | undefined;
29705
+ headers?: {
29706
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
29707
+ "x-access-token"?: string | undefined;
29708
+ } | undefined;
29709
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
29710
+ data: {
29711
+ externalKey?: string | undefined;
29712
+ };
29713
+ } & {
29714
+ pathParameters: {
29715
+ licenseId: string;
29716
+ };
29717
+ } & {
29718
+ headers?: Partial<{
29719
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
29720
+ }>;
29721
+ } & {
29722
+ headers: {
29723
+ "x-access-token"?: string | undefined;
29724
+ } & Partial<{
29725
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
29726
+ }>;
29727
+ }, import("@mittwald/api-client-commons").Response<{
29728
+ keyReference?: (import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseKey | import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseExternalKey) | undefined;
29729
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
29730
+ [x: string]: unknown;
29731
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
29732
+ [x: string]: unknown;
29733
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
29734
+ [x: string]: unknown;
29735
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
29736
+ [x: string]: unknown;
29737
+ }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
29738
+ [x: string]: unknown;
29739
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
29740
+ [x: string]: unknown;
29741
+ }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
29742
+ data: {
29743
+ externalKey?: string | undefined;
29744
+ };
29745
+ } & {
29746
+ pathParameters: {
29747
+ licenseId: string;
29748
+ };
29749
+ } & {
29750
+ headers?: Partial<{
29751
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
29752
+ }>;
29753
+ } & {
29754
+ headers: {
29755
+ "x-access-token"?: string | undefined;
29756
+ } & Partial<{
29757
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
29758
+ }>;
29759
+ }, import("@mittwald/api-client-commons").Response<{
29760
+ keyReference?: (import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseKey | import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseExternalKey) | undefined;
29761
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
29762
+ [x: string]: unknown;
29763
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
29764
+ [x: string]: unknown;
29765
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
29766
+ [x: string]: unknown;
29767
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
29768
+ [x: string]: unknown;
29769
+ }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
29770
+ [x: string]: unknown;
29771
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
29772
+ [x: string]: unknown;
29773
+ }, 500, "application/json">>>;
29774
+ /** Validate a License's key for a project. */
29775
+ validateLicenseKeyForProject: (request: {
29776
+ data: {
29777
+ key: string;
29778
+ kind: import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseKind;
29779
+ };
29780
+ projectId: string;
29781
+ headers?: {
29782
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
29783
+ "x-access-token"?: string | undefined;
29784
+ } | undefined;
29785
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
29786
+ data: {
29787
+ key: string;
29788
+ kind: import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseKind;
29789
+ };
29790
+ } & {
29791
+ pathParameters: {
29792
+ projectId: string;
29793
+ };
29794
+ } & {
29795
+ headers?: Partial<{
29796
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
29797
+ }>;
29798
+ } & {
29799
+ headers: {
29800
+ "x-access-token"?: string | undefined;
29801
+ } & Partial<{
29802
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
29803
+ }>;
29804
+ }, import("@mittwald/api-client-commons").Response<{
29805
+ valid: boolean;
29806
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
29807
+ [x: string]: unknown;
29808
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
29809
+ [x: string]: unknown;
29810
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
29811
+ [x: string]: unknown;
29812
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
29813
+ [x: string]: unknown;
29814
+ }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
29815
+ [x: string]: unknown;
29816
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
29817
+ [x: string]: unknown;
29818
+ }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
29819
+ data: {
29820
+ key: string;
29821
+ kind: import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseKind;
29822
+ };
29823
+ } & {
29824
+ pathParameters: {
29825
+ projectId: string;
29826
+ };
29827
+ } & {
29828
+ headers?: Partial<{
29829
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
29830
+ }>;
29831
+ } & {
29832
+ headers: {
29833
+ "x-access-token"?: string | undefined;
29834
+ } & Partial<{
29835
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
29836
+ }>;
29837
+ }, import("@mittwald/api-client-commons").Response<{
29838
+ valid: boolean;
29839
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
29840
+ [x: string]: unknown;
29841
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
29842
+ [x: string]: unknown;
29843
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
29844
+ [x: string]: unknown;
29845
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
29846
+ [x: string]: unknown;
29847
+ }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
29848
+ [x: string]: unknown;
29849
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
29850
+ [x: string]: unknown;
29851
+ }, 500, "application/json">>>;
29852
+ };
29541
29853
  }
29542
29854
  export default MittwaldAPIV2Client;
@@ -903,3 +903,11 @@ export declare const verificationDetectPhishingEmail: OpenAPIOperation<RequestTy
903
903
  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">>;
904
904
  /** Check if a company exists. */
905
905
  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">>;
906
+ /** Get a license. */
907
+ export declare const licenseGetLicense: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2LicensesLicenseId.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2LicensesLicenseId.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2LicensesLicenseId.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2LicensesLicenseId.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2LicensesLicenseId.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2LicensesLicenseId.Get.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2LicensesLicenseId.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2LicensesLicenseId.Get.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2LicensesLicenseId.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
908
+ /** List Licenses belonging to a Project. */
909
+ 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">>;
910
+ /** rotate a License's key, i.e. revoke the old and generate a new one. */
911
+ 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">>;
912
+ /** Validate a License's key for a project. */
913
+ 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">>;
@@ -1802,6 +1802,22 @@ export declare namespace MittwaldAPIV2 {
1802
1802
  type RequestData = InferredRequestData<typeof descriptors.verificationVerifyCompany>;
1803
1803
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.verificationVerifyCompany, TStatus>;
1804
1804
  }
1805
+ namespace LicenseGetLicense {
1806
+ type RequestData = InferredRequestData<typeof descriptors.licenseGetLicense>;
1807
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.licenseGetLicense, TStatus>;
1808
+ }
1809
+ namespace LicenseListLicensesForProject {
1810
+ type RequestData = InferredRequestData<typeof descriptors.licenseListLicensesForProject>;
1811
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.licenseListLicensesForProject, TStatus>;
1812
+ }
1813
+ namespace LicenseRotateLicenseKey {
1814
+ type RequestData = InferredRequestData<typeof descriptors.licenseRotateLicenseKey>;
1815
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.licenseRotateLicenseKey, TStatus>;
1816
+ }
1817
+ namespace LicenseValidateLicenseKeyForProject {
1818
+ type RequestData = InferredRequestData<typeof descriptors.licenseValidateLicenseKeyForProject>;
1819
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.licenseValidateLicenseKeyForProject, TStatus>;
1820
+ }
1805
1821
  }
1806
1822
  namespace Components {
1807
1823
  namespace Schemas {
@@ -5815,6 +5831,63 @@ export declare namespace MittwaldAPIV2 {
5815
5831
  exists: boolean;
5816
5832
  }
5817
5833
  type ContainerVolumeSortOrder = "nameAsc" | "nameDesc" | "storageAsc" | "storageDesc";
5834
+ interface LicenseKey {
5835
+ key: string;
5836
+ }
5837
+ interface LicenseAppVersionMeta {
5838
+ description: string;
5839
+ }
5840
+ type LicenseKind = "typo3-elts";
5841
+ interface LicenseLicense {
5842
+ description: string;
5843
+ expiryDate?: string;
5844
+ id: string;
5845
+ keyReference?: MittwaldAPIV2.Components.Schemas.LicenseKey | MittwaldAPIV2.Components.Schemas.LicenseExternalKey;
5846
+ kind: MittwaldAPIV2.Components.Schemas.LicenseKind;
5847
+ meta: MittwaldAPIV2.Components.Schemas.LicenseMeta;
5848
+ reference: MittwaldAPIV2.Components.Schemas.LicenseReference;
5849
+ volume?: number;
5850
+ }
5851
+ interface LicenseReference {
5852
+ aggregate: "project";
5853
+ domain: "project";
5854
+ id: string;
5855
+ }
5856
+ interface LicenseMeta {
5857
+ appVersion?: MittwaldAPIV2.Components.Schemas.LicenseAppVersionMeta;
5858
+ }
5859
+ interface LicenseKeyResponse {
5860
+ keyReference?: MittwaldAPIV2.Components.Schemas.LicenseKey | MittwaldAPIV2.Components.Schemas.LicenseExternalKey;
5861
+ }
5862
+ interface LicenseExternalKey {
5863
+ externalKey: string;
5864
+ }
5865
+ type OrderLicenseOrder = {
5866
+ /**
5867
+ * Describe for which typo3 instance the license will be used.
5868
+ */
5869
+ description: string;
5870
+ licenseType: "typo3";
5871
+ /**
5872
+ * The major version for which a license should be purchased.
5873
+ */
5874
+ majorVersion: number;
5875
+ projectId: string;
5876
+ };
5877
+ type OrderLicenseOrderPreview = {
5878
+ /**
5879
+ * Describe for which typo3 instance the license will be used.
5880
+ */
5881
+ description?: string;
5882
+ licenseType: "typo3";
5883
+ /**
5884
+ * The major version for which a license should be purchased.
5885
+ */
5886
+ majorVersion: number;
5887
+ };
5888
+ interface OrderLicenseOrderPreviewResponse {
5889
+ totalPrice: number;
5890
+ }
5818
5891
  interface CommonsAddress {
5819
5892
  street: string;
5820
5893
  houseNumber: string;
@@ -7440,6 +7513,7 @@ export declare namespace MittwaldAPIV2 {
7440
7513
  };
7441
7514
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
7442
7515
  type Query = {
7516
+ versionRange?: string;
7443
7517
  recommended?: boolean;
7444
7518
  };
7445
7519
  }
@@ -23026,8 +23100,8 @@ export declare namespace MittwaldAPIV2 {
23026
23100
  namespace Parameters {
23027
23101
  type Path = {};
23028
23102
  interface RequestBody {
23029
- orderData?: MittwaldAPIV2.Components.Schemas.OrderProjectHostingOrder | MittwaldAPIV2.Components.Schemas.OrderServerOrder | MittwaldAPIV2.Components.Schemas.OrderDomainOrder | MittwaldAPIV2.Components.Schemas.OrderExternalCertificateOrder | MittwaldAPIV2.Components.Schemas.OrderLeadFyndrOrder | MittwaldAPIV2.Components.Schemas.OrderMailArchiveOrder | MittwaldAPIV2.Components.Schemas.OrderAIHostingOrder;
23030
- orderType?: "domain" | "projectHosting" | "server" | "externalCertificate" | "leadFyndr" | "mailArchive" | "aiHosting";
23103
+ orderData?: MittwaldAPIV2.Components.Schemas.OrderProjectHostingOrder | MittwaldAPIV2.Components.Schemas.OrderServerOrder | MittwaldAPIV2.Components.Schemas.OrderDomainOrder | MittwaldAPIV2.Components.Schemas.OrderExternalCertificateOrder | MittwaldAPIV2.Components.Schemas.OrderLeadFyndrOrder | MittwaldAPIV2.Components.Schemas.OrderMailArchiveOrder | MittwaldAPIV2.Components.Schemas.OrderAIHostingOrder | MittwaldAPIV2.Components.Schemas.OrderLicenseOrder;
23104
+ orderType?: "domain" | "projectHosting" | "server" | "externalCertificate" | "leadFyndr" | "mailArchive" | "aiHosting" | "license";
23031
23105
  }
23032
23106
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
23033
23107
  type Query = {};
@@ -23229,8 +23303,8 @@ export declare namespace MittwaldAPIV2 {
23229
23303
  namespace Parameters {
23230
23304
  type Path = {};
23231
23305
  interface RequestBody {
23232
- orderData?: MittwaldAPIV2.Components.Schemas.OrderProjectHostingOrderPreview | MittwaldAPIV2.Components.Schemas.OrderServerOrderPreview | MittwaldAPIV2.Components.Schemas.OrderDomainOrderPreview | MittwaldAPIV2.Components.Schemas.OrderExternalCertificateOrderPreview | MittwaldAPIV2.Components.Schemas.OrderLeadFyndrOrderPreview | MittwaldAPIV2.Components.Schemas.OrderMailArchiveOrderPreview | MittwaldAPIV2.Components.Schemas.OrderAIHostingOrderPreview;
23233
- orderType?: "domain" | "projectHosting" | "server" | "externalCertificate" | "leadFyndr" | "mailArchive" | "aiHosting";
23306
+ orderData?: MittwaldAPIV2.Components.Schemas.OrderProjectHostingOrderPreview | MittwaldAPIV2.Components.Schemas.OrderServerOrderPreview | MittwaldAPIV2.Components.Schemas.OrderDomainOrderPreview | MittwaldAPIV2.Components.Schemas.OrderExternalCertificateOrderPreview | MittwaldAPIV2.Components.Schemas.OrderLeadFyndrOrderPreview | MittwaldAPIV2.Components.Schemas.OrderMailArchiveOrderPreview | MittwaldAPIV2.Components.Schemas.OrderAIHostingOrderPreview | MittwaldAPIV2.Components.Schemas.OrderLicenseOrderPreview;
23307
+ orderType?: "domain" | "projectHosting" | "server" | "externalCertificate" | "leadFyndr" | "mailArchive" | "aiHosting" | "license";
23234
23308
  }
23235
23309
  type Header = {};
23236
23310
  type Query = {};
@@ -23238,7 +23312,7 @@ export declare namespace MittwaldAPIV2 {
23238
23312
  namespace Responses {
23239
23313
  namespace $200 {
23240
23314
  namespace Content {
23241
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.OrderHostingOrderPreviewResponse | MittwaldAPIV2.Components.Schemas.OrderDomainOrderPreviewResponse | MittwaldAPIV2.Components.Schemas.OrderExternalCertificateOrderPreviewResponse | MittwaldAPIV2.Components.Schemas.OrderLeadFyndrOrderPreviewResponse | MittwaldAPIV2.Components.Schemas.OrderMailArchiveOrderPreviewResponse | MittwaldAPIV2.Components.Schemas.OrderAIHostingOrderPreviewResponse;
23315
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.OrderHostingOrderPreviewResponse | MittwaldAPIV2.Components.Schemas.OrderDomainOrderPreviewResponse | MittwaldAPIV2.Components.Schemas.OrderExternalCertificateOrderPreviewResponse | MittwaldAPIV2.Components.Schemas.OrderLeadFyndrOrderPreviewResponse | MittwaldAPIV2.Components.Schemas.OrderMailArchiveOrderPreviewResponse | MittwaldAPIV2.Components.Schemas.OrderAIHostingOrderPreviewResponse | MittwaldAPIV2.Components.Schemas.OrderLicenseOrderPreviewResponse;
23242
23316
  }
23243
23317
  }
23244
23318
  namespace $400 {
@@ -28987,5 +29061,264 @@ export declare namespace MittwaldAPIV2 {
28987
29061
  }
28988
29062
  }
28989
29063
  }
29064
+ namespace V2LicensesLicenseId {
29065
+ namespace Get {
29066
+ namespace Parameters {
29067
+ type Path = {
29068
+ licenseId: string;
29069
+ };
29070
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
29071
+ type Query = {};
29072
+ }
29073
+ namespace Responses {
29074
+ namespace $200 {
29075
+ namespace Content {
29076
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.LicenseLicense;
29077
+ }
29078
+ }
29079
+ namespace $400 {
29080
+ namespace Content {
29081
+ interface ApplicationJson {
29082
+ [k: string]: unknown;
29083
+ }
29084
+ }
29085
+ }
29086
+ namespace $403 {
29087
+ namespace Content {
29088
+ interface ApplicationJson {
29089
+ [k: string]: unknown;
29090
+ }
29091
+ }
29092
+ }
29093
+ namespace $429 {
29094
+ namespace Content {
29095
+ interface ApplicationJson {
29096
+ [k: string]: unknown;
29097
+ }
29098
+ }
29099
+ }
29100
+ namespace $500 {
29101
+ namespace Content {
29102
+ interface ApplicationJson {
29103
+ [k: string]: unknown;
29104
+ }
29105
+ }
29106
+ }
29107
+ namespace Default {
29108
+ namespace Content {
29109
+ interface ApplicationJson {
29110
+ [k: string]: unknown;
29111
+ }
29112
+ }
29113
+ }
29114
+ }
29115
+ }
29116
+ }
29117
+ namespace V2ProjectsProjectIdLicenses {
29118
+ namespace Get {
29119
+ namespace Parameters {
29120
+ type Path = {
29121
+ projectId: string;
29122
+ };
29123
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
29124
+ type Query = {
29125
+ limit?: number;
29126
+ skip?: number;
29127
+ page?: number;
29128
+ };
29129
+ }
29130
+ namespace Responses {
29131
+ namespace $200 {
29132
+ namespace Content {
29133
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.LicenseLicense[];
29134
+ }
29135
+ }
29136
+ namespace $400 {
29137
+ namespace Content {
29138
+ interface ApplicationJson {
29139
+ [k: string]: unknown;
29140
+ }
29141
+ }
29142
+ }
29143
+ namespace $403 {
29144
+ namespace Content {
29145
+ interface ApplicationJson {
29146
+ [k: string]: unknown;
29147
+ }
29148
+ }
29149
+ }
29150
+ namespace $429 {
29151
+ namespace Content {
29152
+ interface ApplicationJson {
29153
+ [k: string]: unknown;
29154
+ }
29155
+ }
29156
+ }
29157
+ namespace $500 {
29158
+ namespace Content {
29159
+ interface ApplicationJson {
29160
+ [k: string]: unknown;
29161
+ }
29162
+ }
29163
+ }
29164
+ namespace Default {
29165
+ namespace Content {
29166
+ interface ApplicationJson {
29167
+ [k: string]: unknown;
29168
+ }
29169
+ }
29170
+ }
29171
+ }
29172
+ }
29173
+ }
29174
+ namespace V2LicensesLicenseIdActionsRotateKey {
29175
+ namespace Post {
29176
+ namespace Parameters {
29177
+ type Path = {
29178
+ licenseId: string;
29179
+ };
29180
+ /**
29181
+ * Optional reference to a file containing the new key if it was not procured via mittwald.
29182
+ */
29183
+ interface RequestBody {
29184
+ externalKey?: string;
29185
+ }
29186
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
29187
+ type Query = {};
29188
+ }
29189
+ namespace Responses {
29190
+ namespace $200 {
29191
+ namespace Content {
29192
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.LicenseKeyResponse;
29193
+ }
29194
+ }
29195
+ namespace $400 {
29196
+ namespace Content {
29197
+ interface ApplicationJson {
29198
+ [k: string]: unknown;
29199
+ }
29200
+ }
29201
+ }
29202
+ namespace $403 {
29203
+ namespace Content {
29204
+ interface ApplicationJson {
29205
+ [k: string]: unknown;
29206
+ }
29207
+ }
29208
+ }
29209
+ namespace $404 {
29210
+ namespace Content {
29211
+ interface ApplicationJson {
29212
+ [k: string]: unknown;
29213
+ }
29214
+ }
29215
+ }
29216
+ namespace $412 {
29217
+ namespace Content {
29218
+ interface ApplicationJson {
29219
+ [k: string]: unknown;
29220
+ }
29221
+ }
29222
+ }
29223
+ namespace $429 {
29224
+ namespace Content {
29225
+ interface ApplicationJson {
29226
+ [k: string]: unknown;
29227
+ }
29228
+ }
29229
+ }
29230
+ namespace $500 {
29231
+ namespace Content {
29232
+ interface ApplicationJson {
29233
+ [k: string]: unknown;
29234
+ }
29235
+ }
29236
+ }
29237
+ namespace Default {
29238
+ namespace Content {
29239
+ interface ApplicationJson {
29240
+ [k: string]: unknown;
29241
+ }
29242
+ }
29243
+ }
29244
+ }
29245
+ }
29246
+ }
29247
+ namespace V2ProjectsProjectIdActionsValidateLicenseKey {
29248
+ namespace Post {
29249
+ namespace Parameters {
29250
+ type Path = {
29251
+ projectId: string;
29252
+ };
29253
+ /**
29254
+ * The License key to validate.
29255
+ */
29256
+ interface RequestBody {
29257
+ key: string;
29258
+ kind: MittwaldAPIV2.Components.Schemas.LicenseKind;
29259
+ }
29260
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
29261
+ type Query = {};
29262
+ }
29263
+ namespace Responses {
29264
+ namespace $200 {
29265
+ namespace Content {
29266
+ interface ApplicationJson {
29267
+ valid: boolean;
29268
+ }
29269
+ }
29270
+ }
29271
+ namespace $400 {
29272
+ namespace Content {
29273
+ interface ApplicationJson {
29274
+ [k: string]: unknown;
29275
+ }
29276
+ }
29277
+ }
29278
+ namespace $403 {
29279
+ namespace Content {
29280
+ interface ApplicationJson {
29281
+ [k: string]: unknown;
29282
+ }
29283
+ }
29284
+ }
29285
+ namespace $404 {
29286
+ namespace Content {
29287
+ interface ApplicationJson {
29288
+ [k: string]: unknown;
29289
+ }
29290
+ }
29291
+ }
29292
+ namespace $412 {
29293
+ namespace Content {
29294
+ interface ApplicationJson {
29295
+ [k: string]: unknown;
29296
+ }
29297
+ }
29298
+ }
29299
+ namespace $429 {
29300
+ namespace Content {
29301
+ interface ApplicationJson {
29302
+ [k: string]: unknown;
29303
+ }
29304
+ }
29305
+ }
29306
+ namespace $500 {
29307
+ namespace Content {
29308
+ interface ApplicationJson {
29309
+ [k: string]: unknown;
29310
+ }
29311
+ }
29312
+ }
29313
+ namespace Default {
29314
+ namespace Content {
29315
+ interface ApplicationJson {
29316
+ [k: string]: unknown;
29317
+ }
29318
+ }
29319
+ }
29320
+ }
29321
+ }
29322
+ }
28990
29323
  }
28991
29324
  }
@@ -1 +1 @@
1
- export declare const MittwaldAPIClientVersion = '4.305.0';
1
+ export declare const MittwaldAPIClientVersion = '4.307.0';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/api-client",
3
- "version": "4.306.0",
3
+ "version": "4.308.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",
@@ -46,11 +46,11 @@
46
46
  "test:compile": "run tsc --noEmit"
47
47
  },
48
48
  "dependencies": {
49
- "@mittwald/api-client-commons": "^4.306.0",
49
+ "@mittwald/api-client-commons": "^4.308.0",
50
50
  "browser-or-node": "^3.0.0"
51
51
  },
52
52
  "devDependencies": {
53
- "@mittwald/api-code-generator": "^4.306.0",
53
+ "@mittwald/api-code-generator": "^4.308.0",
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": "bb410c17fe39c31dffa1c513baa163bd8236f4e7"
83
+ "gitHead": "ef05b54f646c8f784e5f4c867298f4f2ab54737a"
84
84
  }