@mittwald/api-client 0.0.0-development-b2b5636-20261007 → 0.0.0-development-9bd14c1-20261008
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.
- package/dist/esm/generated/v2/client.js +4 -0
- package/dist/esm/generated/v2/descriptors.js +12 -0
- package/dist/esm/generated/v3-next/client.js +4 -0
- package/dist/esm/generated/v3-next/descriptors.js +12 -0
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/v2/client-react.d.ts +1 -0
- package/dist/types/generated/v2/client.d.ts +160 -0
- package/dist/types/generated/v2/descriptors.d.ts +4 -0
- package/dist/types/generated/v2/types.d.ts +569 -59
- package/dist/types/generated/v3-next/client-react.d.ts +1 -0
- package/dist/types/generated/v3-next/client.d.ts +160 -0
- package/dist/types/generated/v3-next/descriptors.d.ts +4 -0
- package/dist/types/generated/v3-next/types.d.ts +569 -59
- package/dist/types/version.d.ts +1 -1
- package/package.json +4 -4
|
@@ -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 = {
|
|
@@ -2974,3 +2974,15 @@ export const verificationVerifyCompany = {
|
|
|
2974
2974
|
method: "POST",
|
|
2975
2975
|
operationId: "verification-verify-company",
|
|
2976
2976
|
};
|
|
2977
|
+
/** Rotates a customer's key. */
|
|
2978
|
+
export const aiHostingCustomerRotateKey = {
|
|
2979
|
+
path: "/v2/customers/{customerId}/ai-hosting-keys/{keyId}/actions/rotate",
|
|
2980
|
+
method: "POST",
|
|
2981
|
+
operationId: "ai-hosting-customer-rotate-key",
|
|
2982
|
+
};
|
|
2983
|
+
/** Rotates a project's key. */
|
|
2984
|
+
export const aiHostingProjectRotateKey = {
|
|
2985
|
+
path: "/v2/projects/{projectId}/ai-hosting-keys/{keyId}/actions/rotate",
|
|
2986
|
+
method: "POST",
|
|
2987
|
+
operationId: "ai-hosting-project-rotate-key",
|
|
2988
|
+
};
|
|
@@ -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 = {
|
|
@@ -2974,3 +2974,15 @@ export const verificationVerifyCompany = {
|
|
|
2974
2974
|
method: "POST",
|
|
2975
2975
|
operationId: "verification-verify-company",
|
|
2976
2976
|
};
|
|
2977
|
+
/** Rotates a customer's key. */
|
|
2978
|
+
export const aiHostingCustomerRotateKey = {
|
|
2979
|
+
path: "/v3-next/customers/{customerId}/ai-hosting-keys/{keyId}/actions/rotate",
|
|
2980
|
+
method: "POST",
|
|
2981
|
+
operationId: "ai-hosting-customer-rotate-key",
|
|
2982
|
+
};
|
|
2983
|
+
/** Rotates a project's key. */
|
|
2984
|
+
export const aiHostingProjectRotateKey = {
|
|
2985
|
+
path: "/v3-next/projects/{projectId}/ai-hosting-keys/{keyId}/actions/rotate",
|
|
2986
|
+
method: "POST",
|
|
2987
|
+
operationId: "ai-hosting-project-rotate-key",
|
|
2988
|
+
};
|
package/dist/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export const MittwaldAPIClientVersion = '4.486.0';
|
|
@@ -284,6 +284,7 @@ declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
284
284
|
hostname?: string | undefined;
|
|
285
285
|
id: string;
|
|
286
286
|
installationPath: string;
|
|
287
|
+
lastAutoUpdateFailedAt?: string | undefined;
|
|
287
288
|
lastError?: string | undefined;
|
|
288
289
|
linkedDatabases: import("./types.js").MittwaldAPIV2.Components.Schemas.AppLinkedDatabase[];
|
|
289
290
|
lockedBy?: {
|
|
@@ -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: {
|
|
@@ -1748,6 +1906,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
1748
1906
|
hostname?: string | undefined;
|
|
1749
1907
|
id: string;
|
|
1750
1908
|
installationPath: string;
|
|
1909
|
+
lastAutoUpdateFailedAt?: string | undefined;
|
|
1751
1910
|
lastError?: string | undefined;
|
|
1752
1911
|
linkedDatabases: import("./types.js").MittwaldAPIV2.Components.Schemas.AppLinkedDatabase[];
|
|
1753
1912
|
lockedBy?: {
|
|
@@ -1801,6 +1960,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
1801
1960
|
hostname?: string | undefined;
|
|
1802
1961
|
id: string;
|
|
1803
1962
|
installationPath: string;
|
|
1963
|
+
lastAutoUpdateFailedAt?: string | undefined;
|
|
1804
1964
|
lastError?: string | undefined;
|
|
1805
1965
|
linkedDatabases: import("./types.js").MittwaldAPIV2.Components.Schemas.AppLinkedDatabase[];
|
|
1806
1966
|
lockedBy?: {
|
|
@@ -995,3 +995,7 @@ export declare const verificationDetectPhishingEmail: OpenAPIOperation<RequestTy
|
|
|
995
995
|
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">>;
|
|
996
996
|
/** Check if a company exists. */
|
|
997
997
|
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">>;
|
|
998
|
+
/** Rotates a customer's key. */
|
|
999
|
+
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">>;
|
|
1000
|
+
/** Rotates a project's key. */
|
|
1001
|
+
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">>;
|