@mittwald/api-client 4.491.0 → 4.492.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.
@@ -28,6 +28,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
28
28
  customerGetPlan: this.requestFunctionFactory(descriptors.aiHostingCustomerGetPlan),
29
29
  /** Renames an AI hosting plan. */
30
30
  customerUpdatePlan: this.requestFunctionFactory(descriptors.aiHostingCustomerUpdatePlan),
31
+ /** Rotates a customer's key. */
32
+ customerRotateKey: this.requestFunctionFactory(descriptors.aiHostingCustomerRotateKey),
31
33
  /** Get a list of currently active models. */
32
34
  getModels: this.requestFunctionFactory(descriptors.aiHostingGetModels),
33
35
  /** List the contract months of an ai hosting plan. */
@@ -52,8 +54,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
52
54
  projectGetPlans: this.requestFunctionFactory(descriptors.aiHostingProjectGetPlans),
53
55
  /** Links a container with a project licence. */
54
56
  projectLinkContainer: this.requestFunctionFactory(descriptors.aiHostingProjectLinkContainer),
55
- /** Rotates a customer's key. */
56
- customerRotateKey: this.requestFunctionFactory(descriptors.aiHostingCustomerRotateKey),
57
57
  /** Rotates a project's key. */
58
58
  projectRotateKey: this.requestFunctionFactory(descriptors.aiHostingProjectRotateKey),
59
59
  };
@@ -64,6 +64,12 @@ export const aiHostingCustomerUpdatePlan = {
64
64
  method: "PUT",
65
65
  operationId: "ai-hosting-customer-update-plan",
66
66
  };
67
+ /** Rotates a customer's key. */
68
+ export const aiHostingCustomerRotateKey = {
69
+ path: "/v2/customers/{customerId}/ai-hosting-keys/{keyId}/actions/rotate",
70
+ method: "POST",
71
+ operationId: "ai-hosting-customer-rotate-key",
72
+ };
67
73
  /** Get a list of currently active models. */
68
74
  export const aiHostingGetModels = {
69
75
  path: "/v2/ai-hosting-models",
@@ -136,6 +142,12 @@ export const aiHostingProjectLinkContainer = {
136
142
  method: "POST",
137
143
  operationId: "ai-hosting-project-link-container",
138
144
  };
145
+ /** Rotates a project's key. */
146
+ export const aiHostingProjectRotateKey = {
147
+ path: "/v2/projects/{projectId}/ai-hosting-keys/{keyId}/actions/rotate",
148
+ method: "POST",
149
+ operationId: "ai-hosting-project-rotate-key",
150
+ };
139
151
  /** Detach a staging AppInstallation from its source. */
140
152
  export const appDetachAppinstallationStaging = {
141
153
  path: "/v2/app-installations/{appInstallationId}/actions/detach-staging",
@@ -2926,15 +2938,3 @@ export const verificationVerifyCompany = {
2926
2938
  method: "POST",
2927
2939
  operationId: "verification-verify-company",
2928
2940
  };
2929
- /** Rotates a customer's key. */
2930
- export const aiHostingCustomerRotateKey = {
2931
- path: "/v2/customers/{customerId}/ai-hosting-keys/{keyId}/actions/rotate",
2932
- method: "POST",
2933
- operationId: "ai-hosting-customer-rotate-key",
2934
- };
2935
- /** Rotates a project's key. */
2936
- export const aiHostingProjectRotateKey = {
2937
- path: "/v2/projects/{projectId}/ai-hosting-keys/{keyId}/actions/rotate",
2938
- method: "POST",
2939
- operationId: "ai-hosting-project-rotate-key",
2940
- };
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '4.490.0';
1
+ export const MittwaldAPIClientVersion = '4.491.0';
@@ -700,6 +700,85 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
700
700
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
701
701
  [x: string]: unknown;
702
702
  }, 429, "application/json">>>;
703
+ /** Rotates a customer's key. */
704
+ customerRotateKey: (request: {
705
+ customerId: string;
706
+ keyId: string;
707
+ data?: {
708
+ gracePeriod?: string | undefined;
709
+ } | undefined;
710
+ headers?: {
711
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
712
+ } | undefined;
713
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
714
+ data: {
715
+ gracePeriod?: string | undefined;
716
+ };
717
+ } & {
718
+ pathParameters: {
719
+ customerId: string;
720
+ keyId: string;
721
+ };
722
+ } & {
723
+ headers?: Partial<{
724
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
725
+ }>;
726
+ }, import("@mittwald/api-client-commons").Response<{
727
+ containerMeta?: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingContainerMeta | undefined;
728
+ customerId?: string | undefined;
729
+ isBlocked: boolean;
730
+ key: string;
731
+ keyId: string;
732
+ models: string[];
733
+ name: string;
734
+ planId: string;
735
+ profileId: string;
736
+ projectId?: string | undefined;
737
+ rateLimit: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingRateLimit;
738
+ tokenUsage: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingTokenUsage;
739
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
740
+ [x: string]: unknown;
741
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
742
+ [x: string]: unknown;
743
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
744
+ [x: string]: unknown;
745
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
746
+ [x: string]: unknown;
747
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
748
+ data: {
749
+ gracePeriod?: string | undefined;
750
+ };
751
+ } & {
752
+ pathParameters: {
753
+ customerId: string;
754
+ keyId: string;
755
+ };
756
+ } & {
757
+ headers?: Partial<{
758
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
759
+ }>;
760
+ }, import("@mittwald/api-client-commons").Response<{
761
+ containerMeta?: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingContainerMeta | undefined;
762
+ customerId?: string | undefined;
763
+ isBlocked: boolean;
764
+ key: string;
765
+ keyId: string;
766
+ models: string[];
767
+ name: string;
768
+ planId: string;
769
+ profileId: string;
770
+ projectId?: string | undefined;
771
+ rateLimit: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingRateLimit;
772
+ tokenUsage: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingTokenUsage;
773
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
774
+ [x: string]: unknown;
775
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
776
+ [x: string]: unknown;
777
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
778
+ [x: string]: unknown;
779
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
780
+ [x: string]: unknown;
781
+ }, 429, "application/json">>>;
703
782
  /** Get a list of currently active models. */
704
783
  getModels: (request?: {
705
784
  headers?: {
@@ -1491,85 +1570,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
1491
1570
  }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
1492
1571
  [x: string]: unknown;
1493
1572
  }, 429, "application/json">>>;
1494
- /** Rotates a customer's key. */
1495
- customerRotateKey: (request: {
1496
- customerId: string;
1497
- keyId: string;
1498
- data?: {
1499
- gracePeriod?: string | undefined;
1500
- } | undefined;
1501
- headers?: {
1502
- [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
1503
- } | undefined;
1504
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
1505
- data: {
1506
- gracePeriod?: string | undefined;
1507
- };
1508
- } & {
1509
- pathParameters: {
1510
- customerId: string;
1511
- keyId: string;
1512
- };
1513
- } & {
1514
- headers?: Partial<{
1515
- [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
1516
- }>;
1517
- }, import("@mittwald/api-client-commons").Response<{
1518
- containerMeta?: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingContainerMeta | undefined;
1519
- customerId?: string | undefined;
1520
- isBlocked: boolean;
1521
- key: string;
1522
- keyId: string;
1523
- models: string[];
1524
- name: string;
1525
- planId: string;
1526
- profileId: string;
1527
- projectId?: string | undefined;
1528
- rateLimit: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingRateLimit;
1529
- tokenUsage: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingTokenUsage;
1530
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
1531
- [x: string]: unknown;
1532
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
1533
- [x: string]: unknown;
1534
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
1535
- [x: string]: unknown;
1536
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
1537
- [x: string]: unknown;
1538
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
1539
- data: {
1540
- gracePeriod?: string | undefined;
1541
- };
1542
- } & {
1543
- pathParameters: {
1544
- customerId: string;
1545
- keyId: string;
1546
- };
1547
- } & {
1548
- headers?: Partial<{
1549
- [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
1550
- }>;
1551
- }, import("@mittwald/api-client-commons").Response<{
1552
- containerMeta?: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingContainerMeta | undefined;
1553
- customerId?: string | undefined;
1554
- isBlocked: boolean;
1555
- key: string;
1556
- keyId: string;
1557
- models: string[];
1558
- name: string;
1559
- planId: string;
1560
- profileId: string;
1561
- projectId?: string | undefined;
1562
- rateLimit: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingRateLimit;
1563
- tokenUsage: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingTokenUsage;
1564
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
1565
- [x: string]: unknown;
1566
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
1567
- [x: string]: unknown;
1568
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
1569
- [x: string]: unknown;
1570
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
1571
- [x: string]: unknown;
1572
- }, 429, "application/json">>>;
1573
1573
  /** Rotates a project's key. */
1574
1574
  projectRotateKey: (request: {
1575
1575
  projectId: string;
@@ -25,6 +25,8 @@ export declare const aiHostingCustomerGetDetailedModels: OpenAPIOperation<Reques
25
25
  export declare const aiHostingCustomerGetPlan: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAiHostingsPlanId.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAiHostingsPlanId.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAiHostingsPlanId.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAiHostingsPlanId.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAiHostingsPlanId.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAiHostingsPlanId.Get.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAiHostingsPlanId.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAiHostingsPlanId.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAiHostingsPlanId.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
26
26
  /** Renames an AI hosting plan. */
27
27
  export declare const aiHostingCustomerUpdatePlan: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAiHostingsPlanId.Put.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAiHostingsPlanId.Put.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAiHostingsPlanId.Put.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAiHostingsPlanId.Put.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAiHostingsPlanId.Put.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAiHostingsPlanId.Put.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAiHostingsPlanId.Put.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAiHostingsPlanId.Put.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAiHostingsPlanId.Put.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAiHostingsPlanId.Put.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
28
+ /** Rotates a customer's key. */
29
+ export declare const aiHostingCustomerRotateKey: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAiHostingKeysKeyIdActionsRotate.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAiHostingKeysKeyIdActionsRotate.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAiHostingKeysKeyIdActionsRotate.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAiHostingKeysKeyIdActionsRotate.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAiHostingKeysKeyIdActionsRotate.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAiHostingKeysKeyIdActionsRotate.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAiHostingKeysKeyIdActionsRotate.Post.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAiHostingKeysKeyIdActionsRotate.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAiHostingKeysKeyIdActionsRotate.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAiHostingKeysKeyIdActionsRotate.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
28
30
  /** Get a list of currently active models. */
29
31
  export declare const aiHostingGetModels: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2AiHostingModels.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2AiHostingModels.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2AiHostingModels.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2AiHostingModels.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2AiHostingModels.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2AiHostingModels.Get.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2AiHostingModels.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2AiHostingModels.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2AiHostingModels.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
30
32
  /** List the contract months of an ai hosting plan. */
@@ -49,6 +51,8 @@ export declare const aiHostingProjectGetPlan: OpenAPIOperation<RequestType<Simpl
49
51
  export declare const aiHostingProjectGetPlans: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdAiHostings.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdAiHostings.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdAiHostings.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdAiHostings.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdAiHostings.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdAiHostings.Get.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdAiHostings.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdAiHostings.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdAiHostings.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
50
52
  /** Links a container with a project licence. */
51
53
  export declare const aiHostingProjectLinkContainer: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdAiHostingKeysKeyIdActionsLinkContainer.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdAiHostingKeysKeyIdActionsLinkContainer.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdAiHostingKeysKeyIdActionsLinkContainer.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdAiHostingKeysKeyIdActionsLinkContainer.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdAiHostingKeysKeyIdActionsLinkContainer.Post.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdAiHostingKeysKeyIdActionsLinkContainer.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdAiHostingKeysKeyIdActionsLinkContainer.Post.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdAiHostingKeysKeyIdActionsLinkContainer.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdAiHostingKeysKeyIdActionsLinkContainer.Post.Responses.$412.Content.ApplicationJson>, 412, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdAiHostingKeysKeyIdActionsLinkContainer.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdAiHostingKeysKeyIdActionsLinkContainer.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
54
+ /** Rotates a project's key. */
55
+ export declare const aiHostingProjectRotateKey: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdAiHostingKeysKeyIdActionsRotate.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdAiHostingKeysKeyIdActionsRotate.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdAiHostingKeysKeyIdActionsRotate.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdAiHostingKeysKeyIdActionsRotate.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdAiHostingKeysKeyIdActionsRotate.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdAiHostingKeysKeyIdActionsRotate.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdAiHostingKeysKeyIdActionsRotate.Post.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdAiHostingKeysKeyIdActionsRotate.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdAiHostingKeysKeyIdActionsRotate.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdAiHostingKeysKeyIdActionsRotate.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
52
56
  /** Detach a staging AppInstallation from its source. */
53
57
  export declare const appDetachAppinstallationStaging: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2AppInstallationsAppInstallationIdActionsDetachStaging.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2AppInstallationsAppInstallationIdActionsDetachStaging.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2AppInstallationsAppInstallationIdActionsDetachStaging.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2AppInstallationsAppInstallationIdActionsDetachStaging.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2AppInstallationsAppInstallationIdActionsDetachStaging.Post.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2AppInstallationsAppInstallationIdActionsDetachStaging.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2AppInstallationsAppInstallationIdActionsDetachStaging.Post.Responses.$412.Content.ApplicationJson>, 412, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2AppInstallationsAppInstallationIdActionsDetachStaging.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2AppInstallationsAppInstallationIdActionsDetachStaging.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
54
58
  /** Get the installed `SystemSoftware' for a specific `AppInstallation`. */
@@ -979,7 +983,3 @@ export declare const verificationDetectPhishingEmail: OpenAPIOperation<RequestTy
979
983
  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">>;
980
984
  /** Check if a company exists. */
981
985
  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">>;
982
- /** Rotates a customer's key. */
983
- export declare const aiHostingCustomerRotateKey: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAiHostingKeysKeyIdActionsRotate.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAiHostingKeysKeyIdActionsRotate.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAiHostingKeysKeyIdActionsRotate.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAiHostingKeysKeyIdActionsRotate.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAiHostingKeysKeyIdActionsRotate.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAiHostingKeysKeyIdActionsRotate.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAiHostingKeysKeyIdActionsRotate.Post.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAiHostingKeysKeyIdActionsRotate.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAiHostingKeysKeyIdActionsRotate.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAiHostingKeysKeyIdActionsRotate.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
984
- /** Rotates a project's key. */
985
- export declare const aiHostingProjectRotateKey: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdAiHostingKeysKeyIdActionsRotate.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdAiHostingKeysKeyIdActionsRotate.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdAiHostingKeysKeyIdActionsRotate.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdAiHostingKeysKeyIdActionsRotate.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdAiHostingKeysKeyIdActionsRotate.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdAiHostingKeysKeyIdActionsRotate.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdAiHostingKeysKeyIdActionsRotate.Post.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdAiHostingKeysKeyIdActionsRotate.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdAiHostingKeysKeyIdActionsRotate.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdAiHostingKeysKeyIdActionsRotate.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
@@ -46,6 +46,10 @@ export declare namespace MittwaldAPIV2 {
46
46
  type RequestData = InferredRequestData<typeof descriptors.aiHostingCustomerUpdatePlan>;
47
47
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.aiHostingCustomerUpdatePlan, TStatus>;
48
48
  }
49
+ namespace AiHostingCustomerRotateKey {
50
+ type RequestData = InferredRequestData<typeof descriptors.aiHostingCustomerRotateKey>;
51
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.aiHostingCustomerRotateKey, TStatus>;
52
+ }
49
53
  namespace AiHostingGetModels {
50
54
  type RequestData = InferredRequestData<typeof descriptors.aiHostingGetModels>;
51
55
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.aiHostingGetModels, TStatus>;
@@ -94,6 +98,10 @@ export declare namespace MittwaldAPIV2 {
94
98
  type RequestData = InferredRequestData<typeof descriptors.aiHostingProjectLinkContainer>;
95
99
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.aiHostingProjectLinkContainer, TStatus>;
96
100
  }
101
+ namespace AiHostingProjectRotateKey {
102
+ type RequestData = InferredRequestData<typeof descriptors.aiHostingProjectRotateKey>;
103
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.aiHostingProjectRotateKey, TStatus>;
104
+ }
97
105
  namespace AppDetachAppinstallationStaging {
98
106
  type RequestData = InferredRequestData<typeof descriptors.appDetachAppinstallationStaging>;
99
107
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.appDetachAppinstallationStaging, TStatus>;
@@ -1954,14 +1962,6 @@ export declare namespace MittwaldAPIV2 {
1954
1962
  type RequestData = InferredRequestData<typeof descriptors.verificationVerifyCompany>;
1955
1963
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.verificationVerifyCompany, TStatus>;
1956
1964
  }
1957
- namespace AiHostingCustomerRotateKey {
1958
- type RequestData = InferredRequestData<typeof descriptors.aiHostingCustomerRotateKey>;
1959
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.aiHostingCustomerRotateKey, TStatus>;
1960
- }
1961
- namespace AiHostingProjectRotateKey {
1962
- type RequestData = InferredRequestData<typeof descriptors.aiHostingProjectRotateKey>;
1963
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.aiHostingProjectRotateKey, TStatus>;
1964
- }
1965
1965
  }
1966
1966
  namespace Components {
1967
1967
  namespace Schemas {
@@ -9092,6 +9092,66 @@ export declare namespace MittwaldAPIV2 {
9092
9092
  }
9093
9093
  }
9094
9094
  namespace V2CustomersCustomerIdAiHosting { }
9095
+ namespace V2CustomersCustomerIdAiHostingKeysKeyIdActionsRotate {
9096
+ namespace Post {
9097
+ namespace Parameters {
9098
+ type Path = {
9099
+ customerId: string;
9100
+ keyId: string;
9101
+ };
9102
+ interface RequestBody {
9103
+ /**
9104
+ * How long the old secret keeps working alongside the new one, as a number followed by s, m, h or d. Omit to invalidate the old secret immediately.
9105
+ */
9106
+ gracePeriod?: string;
9107
+ }
9108
+ type Header = {};
9109
+ type Query = {};
9110
+ }
9111
+ namespace Responses {
9112
+ namespace $200 {
9113
+ namespace Content {
9114
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.AihostingKey;
9115
+ }
9116
+ }
9117
+ namespace $400 {
9118
+ namespace Content {
9119
+ interface ApplicationJson {
9120
+ [k: string]: unknown;
9121
+ }
9122
+ }
9123
+ }
9124
+ namespace $403 {
9125
+ namespace Content {
9126
+ interface ApplicationJson {
9127
+ [k: string]: unknown;
9128
+ }
9129
+ }
9130
+ }
9131
+ namespace $404 {
9132
+ namespace Content {
9133
+ interface ApplicationJson {
9134
+ [k: string]: unknown;
9135
+ }
9136
+ }
9137
+ }
9138
+ namespace $429 {
9139
+ namespace Content {
9140
+ interface ApplicationJson {
9141
+ [k: string]: unknown;
9142
+ }
9143
+ }
9144
+ }
9145
+ namespace Default {
9146
+ namespace Content {
9147
+ interface ApplicationJson {
9148
+ [k: string]: unknown;
9149
+ }
9150
+ }
9151
+ }
9152
+ }
9153
+ }
9154
+ }
9095
9155
  namespace V2AiHostingModels {
9096
9156
  namespace Get {
9097
9157
  namespace Parameters {
@@ -9804,6 +9864,66 @@ export declare namespace MittwaldAPIV2 {
9804
9864
  }
9805
9865
  }
9806
9866
  }
9867
+ namespace V2ProjectsProjectIdAiHostingKeysKeyIdActionsRotate {
9868
+ namespace Post {
9869
+ namespace Parameters {
9870
+ type Path = {
9871
+ projectId: string;
9872
+ keyId: string;
9873
+ };
9874
+ interface RequestBody {
9875
+ /**
9876
+ * How long the old secret keeps working alongside the new one, as a number followed by s, m, h or d. Omit to invalidate the old secret immediately.
9877
+ */
9878
+ gracePeriod?: string;
9879
+ }
9880
+ type Header = {};
9881
+ type Query = {};
9882
+ }
9883
+ namespace Responses {
9884
+ namespace $200 {
9885
+ namespace Content {
9886
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.AihostingKey;
9887
+ }
9888
+ }
9889
+ namespace $400 {
9890
+ namespace Content {
9891
+ interface ApplicationJson {
9892
+ [k: string]: unknown;
9893
+ }
9894
+ }
9895
+ }
9896
+ namespace $403 {
9897
+ namespace Content {
9898
+ interface ApplicationJson {
9899
+ [k: string]: unknown;
9900
+ }
9901
+ }
9902
+ }
9903
+ namespace $404 {
9904
+ namespace Content {
9905
+ interface ApplicationJson {
9906
+ [k: string]: unknown;
9907
+ }
9908
+ }
9909
+ }
9910
+ namespace $429 {
9911
+ namespace Content {
9912
+ interface ApplicationJson {
9913
+ [k: string]: unknown;
9914
+ }
9915
+ }
9916
+ }
9917
+ namespace Default {
9918
+ namespace Content {
9919
+ interface ApplicationJson {
9920
+ [k: string]: unknown;
9921
+ }
9922
+ }
9923
+ }
9924
+ }
9925
+ }
9926
+ }
9807
9927
  namespace V2AppInstallationsAppInstallationIdActionsDetachStaging {
9808
9928
  namespace Post {
9809
9929
  namespace Parameters {
@@ -33714,125 +33834,5 @@ export declare namespace MittwaldAPIV2 {
33714
33834
  }
33715
33835
  }
33716
33836
  }
33717
- namespace V2CustomersCustomerIdAiHostingKeysKeyIdActionsRotate {
33718
- namespace Post {
33719
- namespace Parameters {
33720
- type Path = {
33721
- customerId: string;
33722
- keyId: string;
33723
- };
33724
- interface RequestBody {
33725
- /**
33726
- * How long the old secret keeps working alongside the new one, as a number followed by s, m, h or d. Omit to invalidate the old secret immediately.
33727
- */
33728
- gracePeriod?: string;
33729
- }
33730
- type Header = {};
33731
- type Query = {};
33732
- }
33733
- namespace Responses {
33734
- namespace $200 {
33735
- namespace Content {
33736
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.AihostingKey;
33737
- }
33738
- }
33739
- namespace $400 {
33740
- namespace Content {
33741
- interface ApplicationJson {
33742
- [k: string]: unknown;
33743
- }
33744
- }
33745
- }
33746
- namespace $403 {
33747
- namespace Content {
33748
- interface ApplicationJson {
33749
- [k: string]: unknown;
33750
- }
33751
- }
33752
- }
33753
- namespace $404 {
33754
- namespace Content {
33755
- interface ApplicationJson {
33756
- [k: string]: unknown;
33757
- }
33758
- }
33759
- }
33760
- namespace $429 {
33761
- namespace Content {
33762
- interface ApplicationJson {
33763
- [k: string]: unknown;
33764
- }
33765
- }
33766
- }
33767
- namespace Default {
33768
- namespace Content {
33769
- interface ApplicationJson {
33770
- [k: string]: unknown;
33771
- }
33772
- }
33773
- }
33774
- }
33775
- }
33776
- }
33777
- namespace V2ProjectsProjectIdAiHostingKeysKeyIdActionsRotate {
33778
- namespace Post {
33779
- namespace Parameters {
33780
- type Path = {
33781
- projectId: string;
33782
- keyId: string;
33783
- };
33784
- interface RequestBody {
33785
- /**
33786
- * How long the old secret keeps working alongside the new one, as a number followed by s, m, h or d. Omit to invalidate the old secret immediately.
33787
- */
33788
- gracePeriod?: string;
33789
- }
33790
- type Header = {};
33791
- type Query = {};
33792
- }
33793
- namespace Responses {
33794
- namespace $200 {
33795
- namespace Content {
33796
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.AihostingKey;
33797
- }
33798
- }
33799
- namespace $400 {
33800
- namespace Content {
33801
- interface ApplicationJson {
33802
- [k: string]: unknown;
33803
- }
33804
- }
33805
- }
33806
- namespace $403 {
33807
- namespace Content {
33808
- interface ApplicationJson {
33809
- [k: string]: unknown;
33810
- }
33811
- }
33812
- }
33813
- namespace $404 {
33814
- namespace Content {
33815
- interface ApplicationJson {
33816
- [k: string]: unknown;
33817
- }
33818
- }
33819
- }
33820
- namespace $429 {
33821
- namespace Content {
33822
- interface ApplicationJson {
33823
- [k: string]: unknown;
33824
- }
33825
- }
33826
- }
33827
- namespace Default {
33828
- namespace Content {
33829
- interface ApplicationJson {
33830
- [k: string]: unknown;
33831
- }
33832
- }
33833
- }
33834
- }
33835
- }
33836
- }
33837
33837
  }
33838
33838
  }
@@ -1 +1 @@
1
- export declare const MittwaldAPIClientVersion = '4.490.0';
1
+ export declare const MittwaldAPIClientVersion = '4.491.0';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/api-client",
3
- "version": "4.491.0",
3
+ "version": "4.492.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",
@@ -72,11 +72,11 @@
72
72
  "test:compile": "run tsc --noEmit"
73
73
  },
74
74
  "dependencies": {
75
- "@mittwald/api-client-commons": "^4.491.0",
75
+ "@mittwald/api-client-commons": "^4.492.0",
76
76
  "browser-or-node": "^3.0.0"
77
77
  },
78
78
  "devDependencies": {
79
- "@mittwald/api-code-generator": "^4.491.0",
79
+ "@mittwald/api-code-generator": "^4.492.0",
80
80
  "@mittwald/react-use-promise": "^4.3.0",
81
81
  "@types/node": "^22.18.11",
82
82
  "@types/react": "^18.3.26",
@@ -106,5 +106,5 @@
106
106
  "optional": true
107
107
  }
108
108
  },
109
- "gitHead": "732df7ea01eab7ca86dd82508233c38da1025ee7"
109
+ "gitHead": "41f195adf6c1a93348c4b76aaefe4b8db99122a1"
110
110
  }