@mittwald/api-client 4.488.0 → 4.490.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.
@@ -52,6 +52,10 @@ export class MittwaldAPIV2Client extends ApiClientBase {
52
52
  projectGetPlans: this.requestFunctionFactory(descriptors.aiHostingProjectGetPlans),
53
53
  /** Links a container with a project licence. */
54
54
  projectLinkContainer: this.requestFunctionFactory(descriptors.aiHostingProjectLinkContainer),
55
+ /** Rotates a customer's key. */
56
+ customerRotateKey: this.requestFunctionFactory(descriptors.aiHostingCustomerRotateKey),
57
+ /** Rotates a project's key. */
58
+ projectRotateKey: this.requestFunctionFactory(descriptors.aiHostingProjectRotateKey),
55
59
  };
56
60
  /** The App API allows you to manage your apps within a project, and all the system softwares that are installed as dependencies. */
57
61
  app = {
@@ -2926,3 +2926,15 @@ export const verificationVerifyCompany = {
2926
2926
  method: "POST",
2927
2927
  operationId: "verification-verify-company",
2928
2928
  };
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
+ };
@@ -52,6 +52,10 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
52
52
  projectGetPlans: this.requestFunctionFactory(descriptors.aiHostingProjectGetPlans),
53
53
  /** Links a container with a project licence. */
54
54
  projectLinkContainer: this.requestFunctionFactory(descriptors.aiHostingProjectLinkContainer),
55
+ /** Rotates a customer's key. */
56
+ customerRotateKey: this.requestFunctionFactory(descriptors.aiHostingCustomerRotateKey),
57
+ /** Rotates a project's key. */
58
+ projectRotateKey: this.requestFunctionFactory(descriptors.aiHostingProjectRotateKey),
55
59
  };
56
60
  /** The App API allows you to manage your apps within a project, and all the system softwares that are installed as dependencies. */
57
61
  app = {
@@ -2926,3 +2926,15 @@ export const verificationVerifyCompany = {
2926
2926
  method: "POST",
2927
2927
  operationId: "verification-verify-company",
2928
2928
  };
2929
+ /** Rotates a customer's key. */
2930
+ export const aiHostingCustomerRotateKey = {
2931
+ path: "/v3-next/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: "/v3-next/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.487.0';
1
+ export const MittwaldAPIClientVersion = '4.489.0';
@@ -1491,6 +1491,164 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
1491
1491
  }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
1492
1492
  [x: string]: unknown;
1493
1493
  }, 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
+ /** Rotates a project's key. */
1574
+ projectRotateKey: (request: {
1575
+ projectId: string;
1576
+ keyId: string;
1577
+ data?: {
1578
+ gracePeriod?: string | undefined;
1579
+ } | undefined;
1580
+ headers?: {
1581
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
1582
+ } | undefined;
1583
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
1584
+ data: {
1585
+ gracePeriod?: string | undefined;
1586
+ };
1587
+ } & {
1588
+ pathParameters: {
1589
+ projectId: string;
1590
+ keyId: string;
1591
+ };
1592
+ } & {
1593
+ headers?: Partial<{
1594
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
1595
+ }>;
1596
+ }, import("@mittwald/api-client-commons").Response<{
1597
+ containerMeta?: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingContainerMeta | undefined;
1598
+ customerId?: string | undefined;
1599
+ isBlocked: boolean;
1600
+ key: string;
1601
+ keyId: string;
1602
+ models: string[];
1603
+ name: string;
1604
+ planId: string;
1605
+ profileId: string;
1606
+ projectId?: string | undefined;
1607
+ rateLimit: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingRateLimit;
1608
+ tokenUsage: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingTokenUsage;
1609
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
1610
+ [x: string]: unknown;
1611
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
1612
+ [x: string]: unknown;
1613
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
1614
+ [x: string]: unknown;
1615
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
1616
+ [x: string]: unknown;
1617
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
1618
+ data: {
1619
+ gracePeriod?: string | undefined;
1620
+ };
1621
+ } & {
1622
+ pathParameters: {
1623
+ projectId: string;
1624
+ keyId: string;
1625
+ };
1626
+ } & {
1627
+ headers?: Partial<{
1628
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
1629
+ }>;
1630
+ }, import("@mittwald/api-client-commons").Response<{
1631
+ containerMeta?: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingContainerMeta | undefined;
1632
+ customerId?: string | undefined;
1633
+ isBlocked: boolean;
1634
+ key: string;
1635
+ keyId: string;
1636
+ models: string[];
1637
+ name: string;
1638
+ planId: string;
1639
+ profileId: string;
1640
+ projectId?: string | undefined;
1641
+ rateLimit: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingRateLimit;
1642
+ tokenUsage: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingTokenUsage;
1643
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
1644
+ [x: string]: unknown;
1645
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
1646
+ [x: string]: unknown;
1647
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
1648
+ [x: string]: unknown;
1649
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
1650
+ [x: string]: unknown;
1651
+ }, 429, "application/json">>>;
1494
1652
  };
1495
1653
  /** The App API allows you to manage your apps within a project, and all the system softwares that are installed as dependencies. */
1496
1654
  readonly app: {
@@ -979,3 +979,7 @@ export declare const verificationDetectPhishingEmail: OpenAPIOperation<RequestTy
979
979
  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
980
  /** Check if a company exists. */
981
981
  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">>;