@mittwald/api-client 4.489.0 → 4.491.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.
@@ -1491,6 +1491,164 @@ export declare class MittwaldAPIV3NextClient 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").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingContainerMeta | 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").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingRateLimit;
1529
+ tokenUsage: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingTokenUsage;
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").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingContainerMeta | 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").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingRateLimit;
1563
+ tokenUsage: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingTokenUsage;
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").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingContainerMeta | 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").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingRateLimit;
1608
+ tokenUsage: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingTokenUsage;
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").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingContainerMeta | 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").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingRateLimit;
1642
+ tokenUsage: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingTokenUsage;
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<MittwaldAPIV3Next.Paths.V3NextActionsVerifyAddress.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV3Next.Paths.V3NextActionsVerifyAddress.Post.Parameters.Path>, Simplify<MittwaldAPIV3Next.Paths.V3NextActionsVerifyAddress.Post.Parameters.Query>, Simplify<MittwaldAPIV3Next.Paths.V3NextActionsVerifyAddress.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV3Next.Paths.V3NextActionsVerifyAddress.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextActionsVerifyAddress.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextActionsVerifyAddress.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
980
980
  /** Check if a company exists. */
981
981
  export declare const verificationVerifyCompany: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV3Next.Paths.V3NextActionsVerifyCompany.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV3Next.Paths.V3NextActionsVerifyCompany.Post.Parameters.Path>, Simplify<MittwaldAPIV3Next.Paths.V3NextActionsVerifyCompany.Post.Parameters.Query>, Simplify<MittwaldAPIV3Next.Paths.V3NextActionsVerifyCompany.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV3Next.Paths.V3NextActionsVerifyCompany.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextActionsVerifyCompany.Post.Responses.$412.Content.Empty>, 412, "empty"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextActionsVerifyCompany.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextActionsVerifyCompany.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
982
+ /** Rotates a customer's key. */
983
+ export declare const aiHostingCustomerRotateKey: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV3Next.Paths.V3NextCustomersCustomerIdAiHostingKeysKeyIdActionsRotate.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV3Next.Paths.V3NextCustomersCustomerIdAiHostingKeysKeyIdActionsRotate.Post.Parameters.Path>, Simplify<MittwaldAPIV3Next.Paths.V3NextCustomersCustomerIdAiHostingKeysKeyIdActionsRotate.Post.Parameters.Query>, Simplify<MittwaldAPIV3Next.Paths.V3NextCustomersCustomerIdAiHostingKeysKeyIdActionsRotate.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV3Next.Paths.V3NextCustomersCustomerIdAiHostingKeysKeyIdActionsRotate.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextCustomersCustomerIdAiHostingKeysKeyIdActionsRotate.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextCustomersCustomerIdAiHostingKeysKeyIdActionsRotate.Post.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextCustomersCustomerIdAiHostingKeysKeyIdActionsRotate.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextCustomersCustomerIdAiHostingKeysKeyIdActionsRotate.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextCustomersCustomerIdAiHostingKeysKeyIdActionsRotate.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
984
+ /** Rotates a project's key. */
985
+ export declare const aiHostingProjectRotateKey: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdAiHostingKeysKeyIdActionsRotate.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdAiHostingKeysKeyIdActionsRotate.Post.Parameters.Path>, Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdAiHostingKeysKeyIdActionsRotate.Post.Parameters.Query>, Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdAiHostingKeysKeyIdActionsRotate.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdAiHostingKeysKeyIdActionsRotate.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdAiHostingKeysKeyIdActionsRotate.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdAiHostingKeysKeyIdActionsRotate.Post.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdAiHostingKeysKeyIdActionsRotate.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdAiHostingKeysKeyIdActionsRotate.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextProjectsProjectIdAiHostingKeysKeyIdActionsRotate.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
@@ -1954,6 +1954,14 @@ export declare namespace MittwaldAPIV3Next {
1954
1954
  type RequestData = InferredRequestData<typeof descriptors.verificationVerifyCompany>;
1955
1955
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.verificationVerifyCompany, TStatus>;
1956
1956
  }
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
+ }
1957
1965
  }
1958
1966
  namespace Components {
1959
1967
  namespace Schemas {
@@ -33630,5 +33638,125 @@ export declare namespace MittwaldAPIV3Next {
33630
33638
  }
33631
33639
  }
33632
33640
  }
33641
+ namespace V3NextCustomersCustomerIdAiHostingKeysKeyIdActionsRotate {
33642
+ namespace Post {
33643
+ namespace Parameters {
33644
+ type Path = {
33645
+ customerId: string;
33646
+ keyId: string;
33647
+ };
33648
+ interface RequestBody {
33649
+ /**
33650
+ * 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.
33651
+ */
33652
+ gracePeriod?: string;
33653
+ }
33654
+ type Header = {};
33655
+ type Query = {};
33656
+ }
33657
+ namespace Responses {
33658
+ namespace $200 {
33659
+ namespace Content {
33660
+ type ApplicationJson = MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingKey;
33661
+ }
33662
+ }
33663
+ namespace $400 {
33664
+ namespace Content {
33665
+ interface ApplicationJson {
33666
+ [k: string]: unknown;
33667
+ }
33668
+ }
33669
+ }
33670
+ namespace $403 {
33671
+ namespace Content {
33672
+ interface ApplicationJson {
33673
+ [k: string]: unknown;
33674
+ }
33675
+ }
33676
+ }
33677
+ namespace $404 {
33678
+ namespace Content {
33679
+ interface ApplicationJson {
33680
+ [k: string]: unknown;
33681
+ }
33682
+ }
33683
+ }
33684
+ namespace $429 {
33685
+ namespace Content {
33686
+ interface ApplicationJson {
33687
+ [k: string]: unknown;
33688
+ }
33689
+ }
33690
+ }
33691
+ namespace Default {
33692
+ namespace Content {
33693
+ interface ApplicationJson {
33694
+ [k: string]: unknown;
33695
+ }
33696
+ }
33697
+ }
33698
+ }
33699
+ }
33700
+ }
33701
+ namespace V3NextProjectsProjectIdAiHostingKeysKeyIdActionsRotate {
33702
+ namespace Post {
33703
+ namespace Parameters {
33704
+ type Path = {
33705
+ projectId: string;
33706
+ keyId: string;
33707
+ };
33708
+ interface RequestBody {
33709
+ /**
33710
+ * 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.
33711
+ */
33712
+ gracePeriod?: string;
33713
+ }
33714
+ type Header = {};
33715
+ type Query = {};
33716
+ }
33717
+ namespace Responses {
33718
+ namespace $200 {
33719
+ namespace Content {
33720
+ type ApplicationJson = MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingKey;
33721
+ }
33722
+ }
33723
+ namespace $400 {
33724
+ namespace Content {
33725
+ interface ApplicationJson {
33726
+ [k: string]: unknown;
33727
+ }
33728
+ }
33729
+ }
33730
+ namespace $403 {
33731
+ namespace Content {
33732
+ interface ApplicationJson {
33733
+ [k: string]: unknown;
33734
+ }
33735
+ }
33736
+ }
33737
+ namespace $404 {
33738
+ namespace Content {
33739
+ interface ApplicationJson {
33740
+ [k: string]: unknown;
33741
+ }
33742
+ }
33743
+ }
33744
+ namespace $429 {
33745
+ namespace Content {
33746
+ interface ApplicationJson {
33747
+ [k: string]: unknown;
33748
+ }
33749
+ }
33750
+ }
33751
+ namespace Default {
33752
+ namespace Content {
33753
+ interface ApplicationJson {
33754
+ [k: string]: unknown;
33755
+ }
33756
+ }
33757
+ }
33758
+ }
33759
+ }
33760
+ }
33633
33761
  }
33634
33762
  }
@@ -1 +1 @@
1
- export declare const MittwaldAPIClientVersion = '4.488.0';
1
+ export declare const MittwaldAPIClientVersion = '4.490.0';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/api-client",
3
- "version": "4.489.0",
3
+ "version": "4.491.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.489.0",
75
+ "@mittwald/api-client-commons": "^4.491.0",
76
76
  "browser-or-node": "^3.0.0"
77
77
  },
78
78
  "devDependencies": {
79
- "@mittwald/api-code-generator": "^4.489.0",
79
+ "@mittwald/api-code-generator": "^4.491.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": "6b575e075b1fdda66e36ea8e91179346c4c1747d"
109
+ "gitHead": "732df7ea01eab7ca86dd82508233c38da1025ee7"
110
110
  }