@mittwald/api-client 4.334.0 → 4.335.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.
- package/dist/esm/generated/v2/client-react.js +4 -0
- package/dist/esm/generated/v2/client.js +6 -0
- package/dist/esm/generated/v2/descriptors.js +18 -0
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/v2/client-react.d.ts +20 -0
- package/dist/types/generated/v2/client.d.ts +137 -0
- package/dist/types/generated/v2/descriptors.d.ts +6 -0
- package/dist/types/generated/v2/types.d.ts +215 -2
- package/dist/types/version.d.ts +1 -1
- package/package.json +4 -4
|
@@ -16,6 +16,10 @@ const buildAiHostingApi = (baseClient) => ({
|
|
|
16
16
|
projectGetKey: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetKey, baseClient.aiHosting.projectGetKey).getApiResource,
|
|
17
17
|
/** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
|
|
18
18
|
projectGetUsage: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetUsage, baseClient.aiHosting.projectGetUsage).getApiResource,
|
|
19
|
+
/** Get a list of currently active models. */
|
|
20
|
+
customerGetDetailedModels: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetDetailedModels, baseClient.aiHosting.customerGetDetailedModels).getApiResource,
|
|
21
|
+
/** Get a list of currently active models. */
|
|
22
|
+
projectGetDetailedModels: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetDetailedModels, baseClient.aiHosting.projectGetDetailedModels).getApiResource,
|
|
19
23
|
});
|
|
20
24
|
const buildAppApi = (baseClient) => ({
|
|
21
25
|
/** Get an App. */
|
|
@@ -32,6 +32,12 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
32
32
|
projectDeleteKey: this.requestFunctionFactory(descriptors.aiHostingProjectDeleteKey),
|
|
33
33
|
/** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
|
|
34
34
|
projectGetUsage: this.requestFunctionFactory(descriptors.aiHostingProjectGetUsage),
|
|
35
|
+
/** Get a list of currently active models. */
|
|
36
|
+
customerGetDetailedModels: this.requestFunctionFactory(descriptors.aiHostingCustomerGetDetailedModels),
|
|
37
|
+
/** Get a list of currently active models. */
|
|
38
|
+
projectGetDetailedModels: this.requestFunctionFactory(descriptors.aiHostingProjectGetDetailedModels),
|
|
39
|
+
/** Accepts the model terms for a customer. */
|
|
40
|
+
customerAcceptModelTerms: this.requestFunctionFactory(descriptors.aiHostingCustomerAcceptModelTerms),
|
|
35
41
|
};
|
|
36
42
|
/** The App API allows you to manage your apps within a project, and all the system softwares that are installed as dependencies. */
|
|
37
43
|
app = {
|
|
@@ -2746,3 +2746,21 @@ export const verificationVerifyCompany = {
|
|
|
2746
2746
|
method: "POST",
|
|
2747
2747
|
operationId: "verification-verify-company",
|
|
2748
2748
|
};
|
|
2749
|
+
/** Get a list of currently active models. */
|
|
2750
|
+
export const aiHostingCustomerGetDetailedModels = {
|
|
2751
|
+
path: "/v2/customers/{customerId}/ai-hosting-models",
|
|
2752
|
+
method: "GET",
|
|
2753
|
+
operationId: "ai-hosting-customer-get-detailed-models",
|
|
2754
|
+
};
|
|
2755
|
+
/** Get a list of currently active models. */
|
|
2756
|
+
export const aiHostingProjectGetDetailedModels = {
|
|
2757
|
+
path: "/v2/projects/{projectId}/ai-hosting-models",
|
|
2758
|
+
method: "GET",
|
|
2759
|
+
operationId: "ai-hosting-project-get-detailed-models",
|
|
2760
|
+
};
|
|
2761
|
+
/** Accepts the model terms for a customer. */
|
|
2762
|
+
export const aiHostingCustomerAcceptModelTerms = {
|
|
2763
|
+
path: "/v2/customers/{customerId}/ai-hosting-models/actions/accept-terms",
|
|
2764
|
+
method: "POST",
|
|
2765
|
+
operationId: "ai-hosting-customer-accept-model-terms",
|
|
2766
|
+
};
|
package/dist/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export const MittwaldAPIClientVersion = '4.334.0';
|
|
@@ -41,6 +41,7 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
41
41
|
customerId: string;
|
|
42
42
|
deletedAt?: string | undefined;
|
|
43
43
|
keys: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsage;
|
|
44
|
+
modelTermsApprovalRequired: boolean;
|
|
44
45
|
nextTokenReset: string;
|
|
45
46
|
rateLimit: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingRateLimit;
|
|
46
47
|
tokens: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsageBig;
|
|
@@ -91,9 +92,24 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
91
92
|
} | undefined;
|
|
92
93
|
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
93
94
|
keys: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsage;
|
|
95
|
+
modelTermsApprovalRequired: boolean;
|
|
94
96
|
nextTokenReset?: string | undefined;
|
|
95
97
|
projectId: string;
|
|
96
98
|
}>;
|
|
99
|
+
/** Get a list of currently active models. */
|
|
100
|
+
customerGetDetailedModels: (conf: {
|
|
101
|
+
customerId: string;
|
|
102
|
+
headers?: {
|
|
103
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
104
|
+
} | undefined;
|
|
105
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingCustomerDetailedModel[]>;
|
|
106
|
+
/** Get a list of currently active models. */
|
|
107
|
+
projectGetDetailedModels: (conf: {
|
|
108
|
+
projectId: string;
|
|
109
|
+
headers?: {
|
|
110
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
111
|
+
} | undefined;
|
|
112
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingProjectDetailedModel[]>;
|
|
97
113
|
};
|
|
98
114
|
declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
|
|
99
115
|
/** Get an App. */
|
|
@@ -314,6 +330,10 @@ declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
314
330
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
315
331
|
"x-access-token"?: string | undefined;
|
|
316
332
|
} | undefined;
|
|
333
|
+
queryParameters?: {
|
|
334
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
335
|
+
onlyRecommended?: boolean | undefined;
|
|
336
|
+
} | undefined;
|
|
317
337
|
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.AppAppVersion[]>;
|
|
318
338
|
/** Get runtime status belonging to an AppInstallation. */
|
|
319
339
|
retrieveStatus: (conf: {
|
|
@@ -358,6 +358,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
358
358
|
customerId: string;
|
|
359
359
|
deletedAt?: string | undefined;
|
|
360
360
|
keys: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsage;
|
|
361
|
+
modelTermsApprovalRequired: boolean;
|
|
361
362
|
nextTokenReset: string;
|
|
362
363
|
rateLimit: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingRateLimit;
|
|
363
364
|
tokens: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsageBig;
|
|
@@ -393,6 +394,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
393
394
|
customerId: string;
|
|
394
395
|
deletedAt?: string | undefined;
|
|
395
396
|
keys: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsage;
|
|
397
|
+
modelTermsApprovalRequired: boolean;
|
|
396
398
|
nextTokenReset: string;
|
|
397
399
|
rateLimit: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingRateLimit;
|
|
398
400
|
tokens: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsageBig;
|
|
@@ -779,6 +781,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
779
781
|
};
|
|
780
782
|
}, import("@mittwald/api-client-commons").Response<{
|
|
781
783
|
keys: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsage;
|
|
784
|
+
modelTermsApprovalRequired: boolean;
|
|
782
785
|
nextTokenReset?: string | undefined;
|
|
783
786
|
projectId: string;
|
|
784
787
|
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
@@ -799,6 +802,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
799
802
|
};
|
|
800
803
|
}, import("@mittwald/api-client-commons").Response<{
|
|
801
804
|
keys: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsage;
|
|
805
|
+
modelTermsApprovalRequired: boolean;
|
|
802
806
|
nextTokenReset?: string | undefined;
|
|
803
807
|
projectId: string;
|
|
804
808
|
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
@@ -810,6 +814,123 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
810
814
|
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
811
815
|
[x: string]: unknown;
|
|
812
816
|
}, 429, "application/json">>>;
|
|
817
|
+
/** Get a list of currently active models. */
|
|
818
|
+
customerGetDetailedModels: (request: {
|
|
819
|
+
customerId: string;
|
|
820
|
+
headers?: {
|
|
821
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
822
|
+
} | undefined;
|
|
823
|
+
}, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
824
|
+
headers?: Partial<{
|
|
825
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
826
|
+
}>;
|
|
827
|
+
} & {
|
|
828
|
+
pathParameters: {
|
|
829
|
+
customerId: string;
|
|
830
|
+
};
|
|
831
|
+
}, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingCustomerDetailedModel[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
832
|
+
[x: string]: unknown;
|
|
833
|
+
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
834
|
+
[x: string]: unknown;
|
|
835
|
+
}, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
836
|
+
[x: string]: unknown;
|
|
837
|
+
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
838
|
+
[x: string]: unknown;
|
|
839
|
+
}, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
840
|
+
headers?: Partial<{
|
|
841
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
842
|
+
}>;
|
|
843
|
+
} & {
|
|
844
|
+
pathParameters: {
|
|
845
|
+
customerId: string;
|
|
846
|
+
};
|
|
847
|
+
}, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingCustomerDetailedModel[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
848
|
+
[x: string]: unknown;
|
|
849
|
+
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
850
|
+
[x: string]: unknown;
|
|
851
|
+
}, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
852
|
+
[x: string]: unknown;
|
|
853
|
+
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
854
|
+
[x: string]: unknown;
|
|
855
|
+
}, 429, "application/json">>>;
|
|
856
|
+
/** Get a list of currently active models. */
|
|
857
|
+
projectGetDetailedModels: (request: {
|
|
858
|
+
projectId: string;
|
|
859
|
+
headers?: {
|
|
860
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
861
|
+
} | undefined;
|
|
862
|
+
}, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
863
|
+
headers?: Partial<{
|
|
864
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
865
|
+
}>;
|
|
866
|
+
} & {
|
|
867
|
+
pathParameters: {
|
|
868
|
+
projectId: string;
|
|
869
|
+
};
|
|
870
|
+
}, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingProjectDetailedModel[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
871
|
+
[x: string]: unknown;
|
|
872
|
+
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
873
|
+
[x: string]: unknown;
|
|
874
|
+
}, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
875
|
+
[x: string]: unknown;
|
|
876
|
+
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
877
|
+
[x: string]: unknown;
|
|
878
|
+
}, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
879
|
+
headers?: Partial<{
|
|
880
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
881
|
+
}>;
|
|
882
|
+
} & {
|
|
883
|
+
pathParameters: {
|
|
884
|
+
projectId: string;
|
|
885
|
+
};
|
|
886
|
+
}, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingProjectDetailedModel[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
887
|
+
[x: string]: unknown;
|
|
888
|
+
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
889
|
+
[x: string]: unknown;
|
|
890
|
+
}, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
891
|
+
[x: string]: unknown;
|
|
892
|
+
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
893
|
+
[x: string]: unknown;
|
|
894
|
+
}, 429, "application/json">>>;
|
|
895
|
+
/** Accepts the model terms for a customer. */
|
|
896
|
+
customerAcceptModelTerms: (request: {
|
|
897
|
+
customerId: string;
|
|
898
|
+
headers?: {
|
|
899
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
900
|
+
} | undefined;
|
|
901
|
+
}, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
902
|
+
headers?: Partial<{
|
|
903
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
904
|
+
}>;
|
|
905
|
+
} & {
|
|
906
|
+
pathParameters: {
|
|
907
|
+
customerId: string;
|
|
908
|
+
};
|
|
909
|
+
}, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
|
|
910
|
+
[x: string]: unknown;
|
|
911
|
+
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
912
|
+
[x: string]: unknown;
|
|
913
|
+
}, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
914
|
+
[x: string]: unknown;
|
|
915
|
+
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
916
|
+
[x: string]: unknown;
|
|
917
|
+
}, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
918
|
+
headers?: Partial<{
|
|
919
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
920
|
+
}>;
|
|
921
|
+
} & {
|
|
922
|
+
pathParameters: {
|
|
923
|
+
customerId: string;
|
|
924
|
+
};
|
|
925
|
+
}, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
|
|
926
|
+
[x: string]: unknown;
|
|
927
|
+
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
928
|
+
[x: string]: unknown;
|
|
929
|
+
}, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
930
|
+
[x: string]: unknown;
|
|
931
|
+
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
932
|
+
[x: string]: unknown;
|
|
933
|
+
}, 429, "application/json">>>;
|
|
813
934
|
};
|
|
814
935
|
/** The App API allows you to manage your apps within a project, and all the system softwares that are installed as dependencies. */
|
|
815
936
|
readonly app: {
|
|
@@ -1882,6 +2003,10 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
1882
2003
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1883
2004
|
"x-access-token"?: string | undefined;
|
|
1884
2005
|
} | undefined;
|
|
2006
|
+
queryParameters?: {
|
|
2007
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2008
|
+
onlyRecommended?: boolean | undefined;
|
|
2009
|
+
} | undefined;
|
|
1885
2010
|
}, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
1886
2011
|
headers?: Partial<{
|
|
1887
2012
|
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
@@ -1891,6 +2016,12 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
1891
2016
|
appId: string;
|
|
1892
2017
|
baseAppVersionId: string;
|
|
1893
2018
|
};
|
|
2019
|
+
} & {
|
|
2020
|
+
queryParameters: {
|
|
2021
|
+
onlyRecommended?: boolean | undefined;
|
|
2022
|
+
} & Partial<{
|
|
2023
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
2024
|
+
}>;
|
|
1894
2025
|
} & {
|
|
1895
2026
|
headers: {
|
|
1896
2027
|
"x-access-token"?: string | undefined;
|
|
@@ -1908,6 +2039,12 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
1908
2039
|
appId: string;
|
|
1909
2040
|
baseAppVersionId: string;
|
|
1910
2041
|
};
|
|
2042
|
+
} & {
|
|
2043
|
+
queryParameters: {
|
|
2044
|
+
onlyRecommended?: boolean | undefined;
|
|
2045
|
+
} & Partial<{
|
|
2046
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
2047
|
+
}>;
|
|
1911
2048
|
} & {
|
|
1912
2049
|
headers: {
|
|
1913
2050
|
"x-access-token"?: string | undefined;
|
|
@@ -919,3 +919,9 @@ export declare const verificationDetectPhishingEmail: OpenAPIOperation<RequestTy
|
|
|
919
919
|
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">>;
|
|
920
920
|
/** Check if a company exists. */
|
|
921
921
|
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">>;
|
|
922
|
+
/** Get a list of currently active models. */
|
|
923
|
+
export declare const aiHostingCustomerGetDetailedModels: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAiHostingModels.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAiHostingModels.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAiHostingModels.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAiHostingModels.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAiHostingModels.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAiHostingModels.Get.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAiHostingModels.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAiHostingModels.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAiHostingModels.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
924
|
+
/** Get a list of currently active models. */
|
|
925
|
+
export declare const aiHostingProjectGetDetailedModels: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdAiHostingModels.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdAiHostingModels.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdAiHostingModels.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdAiHostingModels.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdAiHostingModels.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdAiHostingModels.Get.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdAiHostingModels.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdAiHostingModels.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdAiHostingModels.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
926
|
+
/** Accepts the model terms for a customer. */
|
|
927
|
+
export declare const aiHostingCustomerAcceptModelTerms: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAiHostingModelsActionsAcceptTerms.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAiHostingModelsActionsAcceptTerms.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAiHostingModelsActionsAcceptTerms.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAiHostingModelsActionsAcceptTerms.Post.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAiHostingModelsActionsAcceptTerms.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAiHostingModelsActionsAcceptTerms.Post.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAiHostingModelsActionsAcceptTerms.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAiHostingModelsActionsAcceptTerms.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAiHostingModelsActionsAcceptTerms.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
@@ -1834,6 +1834,18 @@ export declare namespace MittwaldAPIV2 {
|
|
|
1834
1834
|
type RequestData = InferredRequestData<typeof descriptors.verificationVerifyCompany>;
|
|
1835
1835
|
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.verificationVerifyCompany, TStatus>;
|
|
1836
1836
|
}
|
|
1837
|
+
namespace AiHostingCustomerGetDetailedModels {
|
|
1838
|
+
type RequestData = InferredRequestData<typeof descriptors.aiHostingCustomerGetDetailedModels>;
|
|
1839
|
+
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.aiHostingCustomerGetDetailedModels, TStatus>;
|
|
1840
|
+
}
|
|
1841
|
+
namespace AiHostingProjectGetDetailedModels {
|
|
1842
|
+
type RequestData = InferredRequestData<typeof descriptors.aiHostingProjectGetDetailedModels>;
|
|
1843
|
+
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.aiHostingProjectGetDetailedModels, TStatus>;
|
|
1844
|
+
}
|
|
1845
|
+
namespace AiHostingCustomerAcceptModelTerms {
|
|
1846
|
+
type RequestData = InferredRequestData<typeof descriptors.aiHostingCustomerAcceptModelTerms>;
|
|
1847
|
+
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.aiHostingCustomerAcceptModelTerms, TStatus>;
|
|
1848
|
+
}
|
|
1837
1849
|
}
|
|
1838
1850
|
namespace Components {
|
|
1839
1851
|
namespace Schemas {
|
|
@@ -1879,6 +1891,7 @@ export declare namespace MittwaldAPIV2 {
|
|
|
1879
1891
|
customerId: string;
|
|
1880
1892
|
deletedAt?: string;
|
|
1881
1893
|
keys: MittwaldAPIV2.Components.Schemas.AihostingPlanUsage;
|
|
1894
|
+
modelTermsApprovalRequired: boolean;
|
|
1882
1895
|
nextTokenReset: string;
|
|
1883
1896
|
rateLimit: MittwaldAPIV2.Components.Schemas.AihostingRateLimit;
|
|
1884
1897
|
tokens: MittwaldAPIV2.Components.Schemas.AihostingPlanUsageBig;
|
|
@@ -6032,6 +6045,27 @@ export declare namespace MittwaldAPIV2 {
|
|
|
6032
6045
|
}
|
|
6033
6046
|
type VerificationEmailOrigin = "IS_MITTWALD" | "IS_NOT_MITTWALD" | "COULD_BE_MITTWALD";
|
|
6034
6047
|
type ContainerVolumeSortOrder = "nameAsc" | "nameDesc" | "storageAsc" | "storageDesc";
|
|
6048
|
+
type AihostingDetailedModelStatus = "active" | "needApproval" | "deprecated";
|
|
6049
|
+
interface AihostingCustomerDetailedModel {
|
|
6050
|
+
activeAt: string;
|
|
6051
|
+
displayName: string;
|
|
6052
|
+
docLink: string;
|
|
6053
|
+
name: string;
|
|
6054
|
+
removalAt?: string;
|
|
6055
|
+
replacesModelName?: string;
|
|
6056
|
+
status: MittwaldAPIV2.Components.Schemas.AihostingDetailedModelStatus;
|
|
6057
|
+
termsOfServiceLink: string;
|
|
6058
|
+
}
|
|
6059
|
+
interface AihostingProjectDetailedModel {
|
|
6060
|
+
activeAt: string;
|
|
6061
|
+
displayName: string;
|
|
6062
|
+
docLink: string;
|
|
6063
|
+
name: string;
|
|
6064
|
+
removalAt?: string;
|
|
6065
|
+
replacesModelName?: string;
|
|
6066
|
+
status: MittwaldAPIV2.Components.Schemas.AihostingDetailedModelStatus;
|
|
6067
|
+
termsOfServiceLink: string;
|
|
6068
|
+
}
|
|
6035
6069
|
interface CommonsAddress {
|
|
6036
6070
|
street: string;
|
|
6037
6071
|
houseNumber: string;
|
|
@@ -6955,6 +6989,7 @@ export declare namespace MittwaldAPIV2 {
|
|
|
6955
6989
|
namespace Content {
|
|
6956
6990
|
interface ApplicationJson {
|
|
6957
6991
|
keys: MittwaldAPIV2.Components.Schemas.AihostingPlanUsage;
|
|
6992
|
+
modelTermsApprovalRequired: boolean;
|
|
6958
6993
|
nextTokenReset?: string;
|
|
6959
6994
|
projectId: string;
|
|
6960
6995
|
}
|
|
@@ -7709,7 +7744,9 @@ export declare namespace MittwaldAPIV2 {
|
|
|
7709
7744
|
baseAppVersionId: string;
|
|
7710
7745
|
};
|
|
7711
7746
|
type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
7712
|
-
type Query = {
|
|
7747
|
+
type Query = {
|
|
7748
|
+
onlyRecommended?: boolean;
|
|
7749
|
+
};
|
|
7713
7750
|
}
|
|
7714
7751
|
namespace Responses {
|
|
7715
7752
|
namespace $200 {
|
|
@@ -9150,6 +9187,8 @@ export declare namespace MittwaldAPIV2 {
|
|
|
9150
9187
|
* To **delete** an existing container from a stack using a `PUT` request, simply omit
|
|
9151
9188
|
* it from the request body. Using a `PATCH` request, set it to an empty object `{}`.
|
|
9152
9189
|
*
|
|
9190
|
+
* Keys must be strings of max 63 characters.
|
|
9191
|
+
*
|
|
9153
9192
|
*/
|
|
9154
9193
|
services?: {
|
|
9155
9194
|
[k: string]: MittwaldAPIV2.Components.Schemas.ContainerServiceDeclareRequest;
|
|
@@ -9223,11 +9262,26 @@ export declare namespace MittwaldAPIV2 {
|
|
|
9223
9262
|
stackId: string;
|
|
9224
9263
|
};
|
|
9225
9264
|
interface RequestBody {
|
|
9265
|
+
/**
|
|
9266
|
+
* A set of containers that should be started in this stack. The key is relevant for
|
|
9267
|
+
* network connectivity between containers, because you can use it as DNS name to
|
|
9268
|
+
* resolve this containers from other containers running in the same project (or from
|
|
9269
|
+
* managed apps running in the same project).
|
|
9270
|
+
*
|
|
9271
|
+
* To **delete** an existing container from a stack using a `PUT` request, simply omit
|
|
9272
|
+
* it from the request body. Using a `PATCH` request, set it to an empty object `{}`.
|
|
9273
|
+
*
|
|
9274
|
+
* Keys must be strings of max 63 characters.
|
|
9275
|
+
*
|
|
9276
|
+
*/
|
|
9226
9277
|
services?: {
|
|
9227
9278
|
[k: string]: MittwaldAPIV2.Components.Schemas.ContainerServiceRequest;
|
|
9228
9279
|
};
|
|
9229
9280
|
/**
|
|
9230
|
-
*
|
|
9281
|
+
* A set of named volumes that should be created for this stack. Removing a volume
|
|
9282
|
+
* from this set will not delete the volume (for safety), but only detach it from the
|
|
9283
|
+
* stack. To delete a volume, use the `DELETE /stacks/{stackId}/volumes/{volumeId}` endpoint.
|
|
9284
|
+
*
|
|
9231
9285
|
*/
|
|
9232
9286
|
volumes?: {
|
|
9233
9287
|
[k: string]: MittwaldAPIV2.Components.Schemas.ContainerVolumeRequest;
|
|
@@ -29758,5 +29812,164 @@ export declare namespace MittwaldAPIV2 {
|
|
|
29758
29812
|
}
|
|
29759
29813
|
namespace V2AppinstallationsAppInstallationIdActionsAction { }
|
|
29760
29814
|
namespace V2AppInstallationsAppInstallationIdActionsAction { }
|
|
29815
|
+
namespace V2CustomersCustomerIdAiHostingModels {
|
|
29816
|
+
namespace Get {
|
|
29817
|
+
namespace Parameters {
|
|
29818
|
+
type Path = {
|
|
29819
|
+
customerId: string;
|
|
29820
|
+
};
|
|
29821
|
+
type Header = {};
|
|
29822
|
+
type Query = {};
|
|
29823
|
+
}
|
|
29824
|
+
namespace Responses {
|
|
29825
|
+
namespace $200 {
|
|
29826
|
+
namespace Content {
|
|
29827
|
+
type ApplicationJson = MittwaldAPIV2.Components.Schemas.AihostingCustomerDetailedModel[];
|
|
29828
|
+
}
|
|
29829
|
+
}
|
|
29830
|
+
namespace $400 {
|
|
29831
|
+
namespace Content {
|
|
29832
|
+
interface ApplicationJson {
|
|
29833
|
+
[k: string]: unknown;
|
|
29834
|
+
}
|
|
29835
|
+
}
|
|
29836
|
+
}
|
|
29837
|
+
namespace $403 {
|
|
29838
|
+
namespace Content {
|
|
29839
|
+
interface ApplicationJson {
|
|
29840
|
+
[k: string]: unknown;
|
|
29841
|
+
}
|
|
29842
|
+
}
|
|
29843
|
+
}
|
|
29844
|
+
namespace $404 {
|
|
29845
|
+
namespace Content {
|
|
29846
|
+
interface ApplicationJson {
|
|
29847
|
+
[k: string]: unknown;
|
|
29848
|
+
}
|
|
29849
|
+
}
|
|
29850
|
+
}
|
|
29851
|
+
namespace $429 {
|
|
29852
|
+
namespace Content {
|
|
29853
|
+
interface ApplicationJson {
|
|
29854
|
+
[k: string]: unknown;
|
|
29855
|
+
}
|
|
29856
|
+
}
|
|
29857
|
+
}
|
|
29858
|
+
namespace Default {
|
|
29859
|
+
namespace Content {
|
|
29860
|
+
interface ApplicationJson {
|
|
29861
|
+
[k: string]: unknown;
|
|
29862
|
+
}
|
|
29863
|
+
}
|
|
29864
|
+
}
|
|
29865
|
+
}
|
|
29866
|
+
}
|
|
29867
|
+
}
|
|
29868
|
+
namespace V2ProjectsProjectIdAiHostingModels {
|
|
29869
|
+
namespace Get {
|
|
29870
|
+
namespace Parameters {
|
|
29871
|
+
type Path = {
|
|
29872
|
+
projectId: string;
|
|
29873
|
+
};
|
|
29874
|
+
type Header = {};
|
|
29875
|
+
type Query = {};
|
|
29876
|
+
}
|
|
29877
|
+
namespace Responses {
|
|
29878
|
+
namespace $200 {
|
|
29879
|
+
namespace Content {
|
|
29880
|
+
type ApplicationJson = MittwaldAPIV2.Components.Schemas.AihostingProjectDetailedModel[];
|
|
29881
|
+
}
|
|
29882
|
+
}
|
|
29883
|
+
namespace $400 {
|
|
29884
|
+
namespace Content {
|
|
29885
|
+
interface ApplicationJson {
|
|
29886
|
+
[k: string]: unknown;
|
|
29887
|
+
}
|
|
29888
|
+
}
|
|
29889
|
+
}
|
|
29890
|
+
namespace $403 {
|
|
29891
|
+
namespace Content {
|
|
29892
|
+
interface ApplicationJson {
|
|
29893
|
+
[k: string]: unknown;
|
|
29894
|
+
}
|
|
29895
|
+
}
|
|
29896
|
+
}
|
|
29897
|
+
namespace $404 {
|
|
29898
|
+
namespace Content {
|
|
29899
|
+
interface ApplicationJson {
|
|
29900
|
+
[k: string]: unknown;
|
|
29901
|
+
}
|
|
29902
|
+
}
|
|
29903
|
+
}
|
|
29904
|
+
namespace $429 {
|
|
29905
|
+
namespace Content {
|
|
29906
|
+
interface ApplicationJson {
|
|
29907
|
+
[k: string]: unknown;
|
|
29908
|
+
}
|
|
29909
|
+
}
|
|
29910
|
+
}
|
|
29911
|
+
namespace Default {
|
|
29912
|
+
namespace Content {
|
|
29913
|
+
interface ApplicationJson {
|
|
29914
|
+
[k: string]: unknown;
|
|
29915
|
+
}
|
|
29916
|
+
}
|
|
29917
|
+
}
|
|
29918
|
+
}
|
|
29919
|
+
}
|
|
29920
|
+
}
|
|
29921
|
+
namespace V2CustomersCustomerIdAiHostingModelsActionsAcceptTerms {
|
|
29922
|
+
namespace Post {
|
|
29923
|
+
namespace Parameters {
|
|
29924
|
+
type Path = {
|
|
29925
|
+
customerId: string;
|
|
29926
|
+
};
|
|
29927
|
+
type Header = {};
|
|
29928
|
+
type Query = {};
|
|
29929
|
+
}
|
|
29930
|
+
namespace Responses {
|
|
29931
|
+
namespace $204 {
|
|
29932
|
+
namespace Content {
|
|
29933
|
+
type Empty = unknown;
|
|
29934
|
+
}
|
|
29935
|
+
}
|
|
29936
|
+
namespace $400 {
|
|
29937
|
+
namespace Content {
|
|
29938
|
+
interface ApplicationJson {
|
|
29939
|
+
[k: string]: unknown;
|
|
29940
|
+
}
|
|
29941
|
+
}
|
|
29942
|
+
}
|
|
29943
|
+
namespace $403 {
|
|
29944
|
+
namespace Content {
|
|
29945
|
+
interface ApplicationJson {
|
|
29946
|
+
[k: string]: unknown;
|
|
29947
|
+
}
|
|
29948
|
+
}
|
|
29949
|
+
}
|
|
29950
|
+
namespace $404 {
|
|
29951
|
+
namespace Content {
|
|
29952
|
+
interface ApplicationJson {
|
|
29953
|
+
[k: string]: unknown;
|
|
29954
|
+
}
|
|
29955
|
+
}
|
|
29956
|
+
}
|
|
29957
|
+
namespace $429 {
|
|
29958
|
+
namespace Content {
|
|
29959
|
+
interface ApplicationJson {
|
|
29960
|
+
[k: string]: unknown;
|
|
29961
|
+
}
|
|
29962
|
+
}
|
|
29963
|
+
}
|
|
29964
|
+
namespace Default {
|
|
29965
|
+
namespace Content {
|
|
29966
|
+
interface ApplicationJson {
|
|
29967
|
+
[k: string]: unknown;
|
|
29968
|
+
}
|
|
29969
|
+
}
|
|
29970
|
+
}
|
|
29971
|
+
}
|
|
29972
|
+
}
|
|
29973
|
+
}
|
|
29761
29974
|
}
|
|
29762
29975
|
}
|
package/dist/types/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export declare const MittwaldAPIClientVersion = '4.334.0';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mittwald/api-client",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.335.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.
|
|
49
|
+
"@mittwald/api-client-commons": "^4.335.0",
|
|
50
50
|
"browser-or-node": "^3.0.0"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@mittwald/api-code-generator": "^4.
|
|
53
|
+
"@mittwald/api-code-generator": "^4.335.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": "
|
|
83
|
+
"gitHead": "43048194ef161238381e192e9829664527e10ad6"
|
|
84
84
|
}
|