@mittwald/api-client 0.0.0-development-18e7c84-20260901 → 0.0.0-development-bf8b0ba-20260902
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 +2 -4
- package/dist/esm/generated/v2/client.js +2 -4
- package/dist/esm/generated/v2/descriptors.js +6 -12
- package/dist/esm/generated/v3-next/client-react.js +2 -4
- package/dist/esm/generated/v3-next/client.js +2 -4
- package/dist/esm/generated/v3-next/descriptors.js +6 -12
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/v2/client-react.d.ts +9 -34
- package/dist/types/generated/v2/client.d.ts +73 -159
- package/dist/types/generated/v2/descriptors.d.ts +4 -6
- package/dist/types/generated/v2/types.d.ts +79 -127
- package/dist/types/generated/v3-next/client-react.d.ts +9 -34
- package/dist/types/generated/v3-next/client.d.ts +73 -159
- package/dist/types/generated/v3-next/descriptors.d.ts +4 -6
- package/dist/types/generated/v3-next/types.d.ts +79 -127
- package/dist/types/version.d.ts +1 -1
- package/package.json +4 -4
|
@@ -12,8 +12,6 @@ const buildAiHostingApi = (baseClient) => ({
|
|
|
12
12
|
customerGetDetailedModels: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetDetailedModels, baseClient.aiHosting.customerGetDetailedModels).getApiResource,
|
|
13
13
|
/** Get ai hosting plan and usages of a customer by planId. */
|
|
14
14
|
customerGetPlan: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetPlan, baseClient.aiHosting.customerGetPlan).getApiResource,
|
|
15
|
-
/** Get ai hosting plan and usages of a customer. Deprecated: use /ai-hostings/{planId} instead. */
|
|
16
|
-
customerGetUsage: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetUsage, baseClient.aiHosting.customerGetUsage).getApiResource,
|
|
17
15
|
/** Get a list of currently active models. */
|
|
18
16
|
getModels: new ApiCallAsyncResourceFactory(descriptors.aiHostingGetModels, baseClient.aiHosting.getModels).getApiResource,
|
|
19
17
|
/** Get a list of keys of a project. */
|
|
@@ -24,8 +22,8 @@ const buildAiHostingApi = (baseClient) => ({
|
|
|
24
22
|
projectGetDetailedModels: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetDetailedModels, baseClient.aiHosting.projectGetDetailedModels).getApiResource,
|
|
25
23
|
/** Get all ai hosting plans and usages of a project. */
|
|
26
24
|
projectGetPlans: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetPlans, baseClient.aiHosting.projectGetPlans).getApiResource,
|
|
27
|
-
/** Get ai hosting plan and usages of a project
|
|
28
|
-
|
|
25
|
+
/** Get ai hosting plan and usages of a project by planId. */
|
|
26
|
+
projectGetPlan: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetPlan, baseClient.aiHosting.projectGetPlan).getApiResource,
|
|
29
27
|
});
|
|
30
28
|
const buildAppApi = (baseClient) => ({
|
|
31
29
|
/** Get the installed `SystemSoftware' for a specific `AppInstallation`. */
|
|
@@ -28,8 +28,6 @@ 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
|
-
/** Get ai hosting plan and usages of a customer. Deprecated: use /ai-hostings/{planId} instead. */
|
|
32
|
-
customerGetUsage: this.requestFunctionFactory(descriptors.aiHostingCustomerGetUsage),
|
|
33
31
|
/** Get a list of currently active models. */
|
|
34
32
|
getModels: this.requestFunctionFactory(descriptors.aiHostingGetModels),
|
|
35
33
|
/** Get a list of keys of a project. */
|
|
@@ -46,10 +44,10 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
46
44
|
projectGetDetailedModels: this.requestFunctionFactory(descriptors.aiHostingProjectGetDetailedModels),
|
|
47
45
|
/** Get all ai hosting plans and usages of a project. */
|
|
48
46
|
projectGetPlans: this.requestFunctionFactory(descriptors.aiHostingProjectGetPlans),
|
|
49
|
-
/** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
|
|
50
|
-
projectGetUsage: this.requestFunctionFactory(descriptors.aiHostingProjectGetUsage),
|
|
51
47
|
/** Links a container with a project licence. */
|
|
52
48
|
projectLinkContainer: this.requestFunctionFactory(descriptors.aiHostingProjectLinkContainer),
|
|
49
|
+
/** Get ai hosting plan and usages of a project by planId. */
|
|
50
|
+
projectGetPlan: this.requestFunctionFactory(descriptors.aiHostingProjectGetPlan),
|
|
53
51
|
};
|
|
54
52
|
/** The App API allows you to manage your apps within a project, and all the system softwares that are installed as dependencies. */
|
|
55
53
|
app = {
|
|
@@ -64,12 +64,6 @@ export const aiHostingCustomerUpdatePlan = {
|
|
|
64
64
|
method: "PUT",
|
|
65
65
|
operationId: "ai-hosting-customer-update-plan",
|
|
66
66
|
};
|
|
67
|
-
/** Get ai hosting plan and usages of a customer. Deprecated: use /ai-hostings/{planId} instead. */
|
|
68
|
-
export const aiHostingCustomerGetUsage = {
|
|
69
|
-
path: "/v2/customers/{customerId}/ai-hosting",
|
|
70
|
-
method: "GET",
|
|
71
|
-
operationId: "ai-hosting-customer-get-usage",
|
|
72
|
-
};
|
|
73
67
|
/** Get a list of currently active models. */
|
|
74
68
|
export const aiHostingGetModels = {
|
|
75
69
|
path: "/v2/ai-hosting-models",
|
|
@@ -118,12 +112,6 @@ export const aiHostingProjectGetPlans = {
|
|
|
118
112
|
method: "GET",
|
|
119
113
|
operationId: "ai-hosting-project-get-plans",
|
|
120
114
|
};
|
|
121
|
-
/** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
|
|
122
|
-
export const aiHostingProjectGetUsage = {
|
|
123
|
-
path: "/v2/projects/{projectId}/ai-hosting",
|
|
124
|
-
method: "GET",
|
|
125
|
-
operationId: "ai-hosting-project-get-usage",
|
|
126
|
-
};
|
|
127
115
|
/** Links a container with a project licence. */
|
|
128
116
|
export const aiHostingProjectLinkContainer = {
|
|
129
117
|
path: "/v2/projects/{projectId}/ai-hosting-keys/{keyId}/actions/link-container",
|
|
@@ -2920,3 +2908,9 @@ export const verificationVerifyCompany = {
|
|
|
2920
2908
|
method: "POST",
|
|
2921
2909
|
operationId: "verification-verify-company",
|
|
2922
2910
|
};
|
|
2911
|
+
/** Get ai hosting plan and usages of a project by planId. */
|
|
2912
|
+
export const aiHostingProjectGetPlan = {
|
|
2913
|
+
path: "/v2/projects/{projectId}/ai-hostings/{planId}",
|
|
2914
|
+
method: "GET",
|
|
2915
|
+
operationId: "ai-hosting-project-get-plan",
|
|
2916
|
+
};
|
|
@@ -12,8 +12,6 @@ const buildAiHostingApi = (baseClient) => ({
|
|
|
12
12
|
customerGetDetailedModels: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetDetailedModels, baseClient.aiHosting.customerGetDetailedModels).getApiResource,
|
|
13
13
|
/** Get ai hosting plan and usages of a customer by planId. */
|
|
14
14
|
customerGetPlan: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetPlan, baseClient.aiHosting.customerGetPlan).getApiResource,
|
|
15
|
-
/** Get ai hosting plan and usages of a customer. Deprecated: use /ai-hostings/{planId} instead. */
|
|
16
|
-
customerGetUsage: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetUsage, baseClient.aiHosting.customerGetUsage).getApiResource,
|
|
17
15
|
/** Get a list of currently active models. */
|
|
18
16
|
getModels: new ApiCallAsyncResourceFactory(descriptors.aiHostingGetModels, baseClient.aiHosting.getModels).getApiResource,
|
|
19
17
|
/** Get a list of keys of a project. */
|
|
@@ -24,8 +22,8 @@ const buildAiHostingApi = (baseClient) => ({
|
|
|
24
22
|
projectGetDetailedModels: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetDetailedModels, baseClient.aiHosting.projectGetDetailedModels).getApiResource,
|
|
25
23
|
/** Get all ai hosting plans and usages of a project. */
|
|
26
24
|
projectGetPlans: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetPlans, baseClient.aiHosting.projectGetPlans).getApiResource,
|
|
27
|
-
/** Get ai hosting plan and usages of a project
|
|
28
|
-
|
|
25
|
+
/** Get ai hosting plan and usages of a project by planId. */
|
|
26
|
+
projectGetPlan: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetPlan, baseClient.aiHosting.projectGetPlan).getApiResource,
|
|
29
27
|
});
|
|
30
28
|
const buildAppApi = (baseClient) => ({
|
|
31
29
|
/** Get the installed `SystemSoftware' for a specific `AppInstallation`. */
|
|
@@ -28,8 +28,6 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
28
28
|
customerGetPlan: this.requestFunctionFactory(descriptors.aiHostingCustomerGetPlan),
|
|
29
29
|
/** Renames an AI hosting plan. */
|
|
30
30
|
customerUpdatePlan: this.requestFunctionFactory(descriptors.aiHostingCustomerUpdatePlan),
|
|
31
|
-
/** Get ai hosting plan and usages of a customer. Deprecated: use /ai-hostings/{planId} instead. */
|
|
32
|
-
customerGetUsage: this.requestFunctionFactory(descriptors.aiHostingCustomerGetUsage),
|
|
33
31
|
/** Get a list of currently active models. */
|
|
34
32
|
getModels: this.requestFunctionFactory(descriptors.aiHostingGetModels),
|
|
35
33
|
/** Get a list of keys of a project. */
|
|
@@ -46,10 +44,10 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
46
44
|
projectGetDetailedModels: this.requestFunctionFactory(descriptors.aiHostingProjectGetDetailedModels),
|
|
47
45
|
/** Get all ai hosting plans and usages of a project. */
|
|
48
46
|
projectGetPlans: this.requestFunctionFactory(descriptors.aiHostingProjectGetPlans),
|
|
49
|
-
/** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
|
|
50
|
-
projectGetUsage: this.requestFunctionFactory(descriptors.aiHostingProjectGetUsage),
|
|
51
47
|
/** Links a container with a project licence. */
|
|
52
48
|
projectLinkContainer: this.requestFunctionFactory(descriptors.aiHostingProjectLinkContainer),
|
|
49
|
+
/** Get ai hosting plan and usages of a project by planId. */
|
|
50
|
+
projectGetPlan: this.requestFunctionFactory(descriptors.aiHostingProjectGetPlan),
|
|
53
51
|
};
|
|
54
52
|
/** The App API allows you to manage your apps within a project, and all the system softwares that are installed as dependencies. */
|
|
55
53
|
app = {
|
|
@@ -64,12 +64,6 @@ export const aiHostingCustomerUpdatePlan = {
|
|
|
64
64
|
method: "PUT",
|
|
65
65
|
operationId: "ai-hosting-customer-update-plan",
|
|
66
66
|
};
|
|
67
|
-
/** Get ai hosting plan and usages of a customer. Deprecated: use /ai-hostings/{planId} instead. */
|
|
68
|
-
export const aiHostingCustomerGetUsage = {
|
|
69
|
-
path: "/v3-next/customers/{customerId}/ai-hosting",
|
|
70
|
-
method: "GET",
|
|
71
|
-
operationId: "ai-hosting-customer-get-usage",
|
|
72
|
-
};
|
|
73
67
|
/** Get a list of currently active models. */
|
|
74
68
|
export const aiHostingGetModels = {
|
|
75
69
|
path: "/v3-next/ai-hosting-models",
|
|
@@ -118,12 +112,6 @@ export const aiHostingProjectGetPlans = {
|
|
|
118
112
|
method: "GET",
|
|
119
113
|
operationId: "ai-hosting-project-get-plans",
|
|
120
114
|
};
|
|
121
|
-
/** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
|
|
122
|
-
export const aiHostingProjectGetUsage = {
|
|
123
|
-
path: "/v3-next/projects/{projectId}/ai-hosting",
|
|
124
|
-
method: "GET",
|
|
125
|
-
operationId: "ai-hosting-project-get-usage",
|
|
126
|
-
};
|
|
127
115
|
/** Links a container with a project licence. */
|
|
128
116
|
export const aiHostingProjectLinkContainer = {
|
|
129
117
|
path: "/v3-next/projects/{projectId}/ai-hosting-keys/{keyId}/actions/link-container",
|
|
@@ -2920,3 +2908,9 @@ export const verificationVerifyCompany = {
|
|
|
2920
2908
|
method: "POST",
|
|
2921
2909
|
operationId: "verification-verify-company",
|
|
2922
2910
|
};
|
|
2911
|
+
/** Get ai hosting plan and usages of a project by planId. */
|
|
2912
|
+
export const aiHostingProjectGetPlan = {
|
|
2913
|
+
path: "/v3-next/projects/{projectId}/ai-hostings/{planId}",
|
|
2914
|
+
method: "GET",
|
|
2915
|
+
operationId: "ai-hosting-project-get-plan",
|
|
2916
|
+
};
|
package/dist/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const MittwaldAPIClientVersion = '
|
|
1
|
+
export const MittwaldAPIClientVersion = '0.0.0-development-18e7c84-20260901';
|
|
@@ -72,34 +72,7 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
72
72
|
keys: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsage;
|
|
73
73
|
modelTermsApprovalRequired: boolean;
|
|
74
74
|
nextTokenReset: string;
|
|
75
|
-
planId
|
|
76
|
-
rateLimit: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingRateLimit;
|
|
77
|
-
tokens: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsageBig;
|
|
78
|
-
topUsages?: {
|
|
79
|
-
keyId?: string;
|
|
80
|
-
name: string;
|
|
81
|
-
projectId?: string;
|
|
82
|
-
tokenUsed: number;
|
|
83
|
-
}[] | undefined;
|
|
84
|
-
}>;
|
|
85
|
-
/** Get ai hosting plan and usages of a customer. Deprecated: use /ai-hostings/{planId} instead. */
|
|
86
|
-
customerGetUsage: (conf: {
|
|
87
|
-
customerId: string;
|
|
88
|
-
headers?: {
|
|
89
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
90
|
-
} | undefined;
|
|
91
|
-
queryParameters?: {
|
|
92
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
93
|
-
topUsageCount?: number | undefined;
|
|
94
|
-
} | undefined;
|
|
95
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
96
|
-
customerId: string;
|
|
97
|
-
deletedAt?: string | undefined;
|
|
98
|
-
description: string;
|
|
99
|
-
keys: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsage;
|
|
100
|
-
modelTermsApprovalRequired: boolean;
|
|
101
|
-
nextTokenReset: string;
|
|
102
|
-
planId?: string | undefined;
|
|
75
|
+
planId: string;
|
|
103
76
|
rateLimit: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingRateLimit;
|
|
104
77
|
tokens: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsageBig;
|
|
105
78
|
topUsages?: {
|
|
@@ -164,21 +137,19 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
164
137
|
modelTermsApprovalRequired: boolean;
|
|
165
138
|
plans: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingProjectPlan[];
|
|
166
139
|
}>;
|
|
167
|
-
/** Get ai hosting plan and usages of a project
|
|
168
|
-
|
|
140
|
+
/** Get ai hosting plan and usages of a project by planId. */
|
|
141
|
+
projectGetPlan: (conf: {
|
|
169
142
|
projectId: string;
|
|
143
|
+
planId: string;
|
|
170
144
|
headers?: {
|
|
171
145
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
172
146
|
} | undefined;
|
|
173
|
-
queryParameters?: {
|
|
174
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
175
|
-
planId?: string | undefined;
|
|
176
|
-
} | undefined;
|
|
177
147
|
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
178
148
|
description?: string | undefined;
|
|
179
149
|
keys: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsage;
|
|
180
150
|
modelTermsApprovalRequired: boolean;
|
|
181
151
|
nextTokenReset?: string | undefined;
|
|
152
|
+
planId: string;
|
|
182
153
|
projectId: string;
|
|
183
154
|
}>;
|
|
184
155
|
};
|
|
@@ -712,6 +683,8 @@ declare const buildContainerApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
712
683
|
serviceId: string;
|
|
713
684
|
headers?: {
|
|
714
685
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
686
|
+
Range?: string | undefined;
|
|
687
|
+
"If-Range"?: string | undefined;
|
|
715
688
|
"x-access-token"?: string | undefined;
|
|
716
689
|
} | undefined;
|
|
717
690
|
queryParameters?: {
|
|
@@ -3857,6 +3830,8 @@ declare const buildProjectFileSystemApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
3857
3830
|
projectId: string;
|
|
3858
3831
|
headers?: {
|
|
3859
3832
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
3833
|
+
Range?: string | undefined;
|
|
3834
|
+
"If-Range"?: string | undefined;
|
|
3860
3835
|
"x-access-token"?: string | undefined;
|
|
3861
3836
|
} | undefined;
|
|
3862
3837
|
queryParameters?: {
|
|
@@ -572,7 +572,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
572
572
|
keys: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsage;
|
|
573
573
|
modelTermsApprovalRequired: boolean;
|
|
574
574
|
nextTokenReset: string;
|
|
575
|
-
planId
|
|
575
|
+
planId: string;
|
|
576
576
|
rateLimit: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingRateLimit;
|
|
577
577
|
tokens: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsageBig;
|
|
578
578
|
topUsages?: {
|
|
@@ -611,7 +611,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
611
611
|
keys: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsage;
|
|
612
612
|
modelTermsApprovalRequired: boolean;
|
|
613
613
|
nextTokenReset: string;
|
|
614
|
-
planId
|
|
614
|
+
planId: string;
|
|
615
615
|
rateLimit: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingRateLimit;
|
|
616
616
|
tokens: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsageBig;
|
|
617
617
|
topUsages?: {
|
|
@@ -682,93 +682,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
682
682
|
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
683
683
|
[x: string]: unknown;
|
|
684
684
|
}, 429, "application/json">>>;
|
|
685
|
-
/** Get ai hosting plan and usages of a customer. Deprecated: use /ai-hostings/{planId} instead. */
|
|
686
|
-
customerGetUsage: (request: {
|
|
687
|
-
customerId: string;
|
|
688
|
-
headers?: {
|
|
689
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
690
|
-
} | undefined;
|
|
691
|
-
queryParameters?: {
|
|
692
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
693
|
-
topUsageCount?: number | undefined;
|
|
694
|
-
} | undefined;
|
|
695
|
-
}, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
696
|
-
headers?: Partial<{
|
|
697
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
698
|
-
}>;
|
|
699
|
-
} & {
|
|
700
|
-
pathParameters: {
|
|
701
|
-
customerId: string;
|
|
702
|
-
};
|
|
703
|
-
} & {
|
|
704
|
-
queryParameters: {
|
|
705
|
-
topUsageCount?: number | undefined;
|
|
706
|
-
} & Partial<{
|
|
707
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
708
|
-
}>;
|
|
709
|
-
}, import("@mittwald/api-client-commons").Response<{
|
|
710
|
-
customerId: string;
|
|
711
|
-
deletedAt?: string | undefined;
|
|
712
|
-
description: string;
|
|
713
|
-
keys: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsage;
|
|
714
|
-
modelTermsApprovalRequired: boolean;
|
|
715
|
-
nextTokenReset: string;
|
|
716
|
-
planId?: string | undefined;
|
|
717
|
-
rateLimit: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingRateLimit;
|
|
718
|
-
tokens: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsageBig;
|
|
719
|
-
topUsages?: {
|
|
720
|
-
keyId?: string;
|
|
721
|
-
name: string;
|
|
722
|
-
projectId?: string;
|
|
723
|
-
tokenUsed: number;
|
|
724
|
-
}[] | undefined;
|
|
725
|
-
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
726
|
-
[x: string]: unknown;
|
|
727
|
-
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
728
|
-
[x: string]: unknown;
|
|
729
|
-
}, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
730
|
-
[x: string]: unknown;
|
|
731
|
-
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
732
|
-
[x: string]: unknown;
|
|
733
|
-
}, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
734
|
-
headers?: Partial<{
|
|
735
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
736
|
-
}>;
|
|
737
|
-
} & {
|
|
738
|
-
pathParameters: {
|
|
739
|
-
customerId: string;
|
|
740
|
-
};
|
|
741
|
-
} & {
|
|
742
|
-
queryParameters: {
|
|
743
|
-
topUsageCount?: number | undefined;
|
|
744
|
-
} & Partial<{
|
|
745
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
746
|
-
}>;
|
|
747
|
-
}, import("@mittwald/api-client-commons").Response<{
|
|
748
|
-
customerId: string;
|
|
749
|
-
deletedAt?: string | undefined;
|
|
750
|
-
description: string;
|
|
751
|
-
keys: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsage;
|
|
752
|
-
modelTermsApprovalRequired: boolean;
|
|
753
|
-
nextTokenReset: string;
|
|
754
|
-
planId?: string | undefined;
|
|
755
|
-
rateLimit: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingRateLimit;
|
|
756
|
-
tokens: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsageBig;
|
|
757
|
-
topUsages?: {
|
|
758
|
-
keyId?: string;
|
|
759
|
-
name: string;
|
|
760
|
-
projectId?: string;
|
|
761
|
-
tokenUsed: number;
|
|
762
|
-
}[] | undefined;
|
|
763
|
-
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
764
|
-
[x: string]: unknown;
|
|
765
|
-
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
766
|
-
[x: string]: unknown;
|
|
767
|
-
}, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
768
|
-
[x: string]: unknown;
|
|
769
|
-
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
770
|
-
[x: string]: unknown;
|
|
771
|
-
}, 429, "application/json">>>;
|
|
772
685
|
/** Get a list of currently active models. */
|
|
773
686
|
getModels: (request?: {
|
|
774
687
|
headers?: {
|
|
@@ -1236,37 +1149,34 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
1236
1149
|
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
1237
1150
|
[x: string]: unknown;
|
|
1238
1151
|
}, 429, "application/json">>>;
|
|
1239
|
-
/**
|
|
1240
|
-
|
|
1152
|
+
/** Links a container with a project licence. */
|
|
1153
|
+
projectLinkContainer: (request: {
|
|
1154
|
+
data: {
|
|
1155
|
+
containerId: string;
|
|
1156
|
+
ingressId: string;
|
|
1157
|
+
stackId: string;
|
|
1158
|
+
};
|
|
1241
1159
|
projectId: string;
|
|
1160
|
+
keyId: string;
|
|
1242
1161
|
headers?: {
|
|
1243
1162
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1244
1163
|
} | undefined;
|
|
1245
|
-
queryParameters?: {
|
|
1246
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1247
|
-
planId?: string | undefined;
|
|
1248
|
-
} | undefined;
|
|
1249
1164
|
}, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1165
|
+
data: {
|
|
1166
|
+
containerId: string;
|
|
1167
|
+
ingressId: string;
|
|
1168
|
+
stackId: string;
|
|
1169
|
+
};
|
|
1253
1170
|
} & {
|
|
1254
1171
|
pathParameters: {
|
|
1255
1172
|
projectId: string;
|
|
1173
|
+
keyId: string;
|
|
1256
1174
|
};
|
|
1257
1175
|
} & {
|
|
1258
|
-
|
|
1259
|
-
planId?: string | undefined;
|
|
1260
|
-
} & Partial<{
|
|
1176
|
+
headers?: Partial<{
|
|
1261
1177
|
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
1262
1178
|
}>;
|
|
1263
|
-
}, import("@mittwald/api-client-commons").Response<{
|
|
1264
|
-
description?: string | undefined;
|
|
1265
|
-
keys: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsage;
|
|
1266
|
-
modelTermsApprovalRequired: boolean;
|
|
1267
|
-
nextTokenReset?: string | undefined;
|
|
1268
|
-
projectId: string;
|
|
1269
|
-
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
1179
|
+
}, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
|
|
1270
1180
|
[x: string]: unknown;
|
|
1271
1181
|
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
1272
1182
|
[x: string]: unknown;
|
|
@@ -1274,27 +1184,24 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
1274
1184
|
[x: string]: unknown;
|
|
1275
1185
|
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
1276
1186
|
[x: string]: unknown;
|
|
1187
|
+
}, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
1188
|
+
[x: string]: unknown;
|
|
1277
1189
|
}, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1190
|
+
data: {
|
|
1191
|
+
containerId: string;
|
|
1192
|
+
ingressId: string;
|
|
1193
|
+
stackId: string;
|
|
1194
|
+
};
|
|
1281
1195
|
} & {
|
|
1282
1196
|
pathParameters: {
|
|
1283
1197
|
projectId: string;
|
|
1198
|
+
keyId: string;
|
|
1284
1199
|
};
|
|
1285
1200
|
} & {
|
|
1286
|
-
|
|
1287
|
-
planId?: string | undefined;
|
|
1288
|
-
} & Partial<{
|
|
1201
|
+
headers?: Partial<{
|
|
1289
1202
|
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
1290
1203
|
}>;
|
|
1291
|
-
}, import("@mittwald/api-client-commons").Response<{
|
|
1292
|
-
description?: string | undefined;
|
|
1293
|
-
keys: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsage;
|
|
1294
|
-
modelTermsApprovalRequired: boolean;
|
|
1295
|
-
nextTokenReset?: string | undefined;
|
|
1296
|
-
projectId: string;
|
|
1297
|
-
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
1204
|
+
}, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
|
|
1298
1205
|
[x: string]: unknown;
|
|
1299
1206
|
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
1300
1207
|
[x: string]: unknown;
|
|
@@ -1302,35 +1209,33 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
1302
1209
|
[x: string]: unknown;
|
|
1303
1210
|
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
1304
1211
|
[x: string]: unknown;
|
|
1212
|
+
}, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
1213
|
+
[x: string]: unknown;
|
|
1305
1214
|
}, 429, "application/json">>>;
|
|
1306
|
-
/**
|
|
1307
|
-
|
|
1308
|
-
data: {
|
|
1309
|
-
containerId: string;
|
|
1310
|
-
ingressId: string;
|
|
1311
|
-
stackId: string;
|
|
1312
|
-
};
|
|
1215
|
+
/** Get ai hosting plan and usages of a project by planId. */
|
|
1216
|
+
projectGetPlan: (request: {
|
|
1313
1217
|
projectId: string;
|
|
1314
|
-
|
|
1218
|
+
planId: string;
|
|
1315
1219
|
headers?: {
|
|
1316
1220
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1317
1221
|
} | undefined;
|
|
1318
1222
|
}, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
stackId: string;
|
|
1323
|
-
};
|
|
1223
|
+
headers?: Partial<{
|
|
1224
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
1225
|
+
}>;
|
|
1324
1226
|
} & {
|
|
1325
1227
|
pathParameters: {
|
|
1326
1228
|
projectId: string;
|
|
1327
|
-
|
|
1229
|
+
planId: string;
|
|
1328
1230
|
};
|
|
1329
|
-
}
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1231
|
+
}, import("@mittwald/api-client-commons").Response<{
|
|
1232
|
+
description?: string | undefined;
|
|
1233
|
+
keys: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsage;
|
|
1234
|
+
modelTermsApprovalRequired: boolean;
|
|
1235
|
+
nextTokenReset?: string | undefined;
|
|
1236
|
+
planId: string;
|
|
1237
|
+
projectId: string;
|
|
1238
|
+
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
1334
1239
|
[x: string]: unknown;
|
|
1335
1240
|
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
1336
1241
|
[x: string]: unknown;
|
|
@@ -1338,24 +1243,23 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
1338
1243
|
[x: string]: unknown;
|
|
1339
1244
|
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
1340
1245
|
[x: string]: unknown;
|
|
1341
|
-
}, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
1342
|
-
[x: string]: unknown;
|
|
1343
1246
|
}, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
stackId: string;
|
|
1348
|
-
};
|
|
1247
|
+
headers?: Partial<{
|
|
1248
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
1249
|
+
}>;
|
|
1349
1250
|
} & {
|
|
1350
1251
|
pathParameters: {
|
|
1351
1252
|
projectId: string;
|
|
1352
|
-
|
|
1253
|
+
planId: string;
|
|
1353
1254
|
};
|
|
1354
|
-
}
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1255
|
+
}, import("@mittwald/api-client-commons").Response<{
|
|
1256
|
+
description?: string | undefined;
|
|
1257
|
+
keys: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsage;
|
|
1258
|
+
modelTermsApprovalRequired: boolean;
|
|
1259
|
+
nextTokenReset?: string | undefined;
|
|
1260
|
+
planId: string;
|
|
1261
|
+
projectId: string;
|
|
1262
|
+
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
1359
1263
|
[x: string]: unknown;
|
|
1360
1264
|
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
1361
1265
|
[x: string]: unknown;
|
|
@@ -1363,8 +1267,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
1363
1267
|
[x: string]: unknown;
|
|
1364
1268
|
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
1365
1269
|
[x: string]: unknown;
|
|
1366
|
-
}, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
1367
|
-
[x: string]: unknown;
|
|
1368
1270
|
}, 429, "application/json">>>;
|
|
1369
1271
|
};
|
|
1370
1272
|
/** The App API allows you to manage your apps within a project, and all the system softwares that are installed as dependencies. */
|
|
@@ -5298,6 +5200,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
5298
5200
|
serviceId: string;
|
|
5299
5201
|
headers?: {
|
|
5300
5202
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
5203
|
+
Range?: string | undefined;
|
|
5204
|
+
"If-Range"?: string | undefined;
|
|
5301
5205
|
"x-access-token"?: string | undefined;
|
|
5302
5206
|
} | undefined;
|
|
5303
5207
|
queryParameters?: {
|
|
@@ -5321,11 +5225,13 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
5321
5225
|
}>;
|
|
5322
5226
|
} & {
|
|
5323
5227
|
headers: {
|
|
5228
|
+
Range?: string | undefined;
|
|
5229
|
+
"If-Range"?: string | undefined;
|
|
5324
5230
|
"x-access-token"?: string | undefined;
|
|
5325
5231
|
} & Partial<{
|
|
5326
5232
|
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
5327
5233
|
}>;
|
|
5328
|
-
}, import("@mittwald/api-client-commons").Response<string, 200, "text/plain"> | import("@mittwald/api-client-commons").Response<{
|
|
5234
|
+
}, import("@mittwald/api-client-commons").Response<string, 200, "text/plain"> | import("@mittwald/api-client-commons").Response<string, 206, "text/plain"> | import("@mittwald/api-client-commons").Response<{
|
|
5329
5235
|
[x: string]: unknown;
|
|
5330
5236
|
}, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5331
5237
|
[x: string]: unknown;
|
|
@@ -5352,11 +5258,13 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
5352
5258
|
}>;
|
|
5353
5259
|
} & {
|
|
5354
5260
|
headers: {
|
|
5261
|
+
Range?: string | undefined;
|
|
5262
|
+
"If-Range"?: string | undefined;
|
|
5355
5263
|
"x-access-token"?: string | undefined;
|
|
5356
5264
|
} & Partial<{
|
|
5357
5265
|
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
5358
5266
|
}>;
|
|
5359
|
-
}, import("@mittwald/api-client-commons").Response<string, 200, "text/plain"> | import("@mittwald/api-client-commons").Response<{
|
|
5267
|
+
}, import("@mittwald/api-client-commons").Response<string, 200, "text/plain"> | import("@mittwald/api-client-commons").Response<string, 206, "text/plain"> | import("@mittwald/api-client-commons").Response<{
|
|
5360
5268
|
[x: string]: unknown;
|
|
5361
5269
|
}, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5362
5270
|
[x: string]: unknown;
|
|
@@ -31241,6 +31149,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
31241
31149
|
projectId: string;
|
|
31242
31150
|
headers?: {
|
|
31243
31151
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
31152
|
+
Range?: string | undefined;
|
|
31153
|
+
"If-Range"?: string | undefined;
|
|
31244
31154
|
"x-access-token"?: string | undefined;
|
|
31245
31155
|
} | undefined;
|
|
31246
31156
|
queryParameters?: {
|
|
@@ -31265,11 +31175,13 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
31265
31175
|
}>;
|
|
31266
31176
|
} & {
|
|
31267
31177
|
headers: {
|
|
31178
|
+
Range?: string | undefined;
|
|
31179
|
+
"If-Range"?: string | undefined;
|
|
31268
31180
|
"x-access-token"?: string | undefined;
|
|
31269
31181
|
} & Partial<{
|
|
31270
31182
|
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
31271
31183
|
}>;
|
|
31272
|
-
}, import("@mittwald/api-client-commons").Response<string, 200, "application/octet-stream"> | import("@mittwald/api-client-commons").Response<{
|
|
31184
|
+
}, import("@mittwald/api-client-commons").Response<string, 200, "application/octet-stream"> | import("@mittwald/api-client-commons").Response<string, 206, "application/octet-stream"> | import("@mittwald/api-client-commons").Response<{
|
|
31273
31185
|
[x: string]: unknown;
|
|
31274
31186
|
}, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
31275
31187
|
[x: string]: unknown;
|
|
@@ -31296,11 +31208,13 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
31296
31208
|
}>;
|
|
31297
31209
|
} & {
|
|
31298
31210
|
headers: {
|
|
31211
|
+
Range?: string | undefined;
|
|
31212
|
+
"If-Range"?: string | undefined;
|
|
31299
31213
|
"x-access-token"?: string | undefined;
|
|
31300
31214
|
} & Partial<{
|
|
31301
31215
|
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
31302
31216
|
}>;
|
|
31303
|
-
}, import("@mittwald/api-client-commons").Response<string, 200, "application/octet-stream"> | import("@mittwald/api-client-commons").Response<{
|
|
31217
|
+
}, import("@mittwald/api-client-commons").Response<string, 200, "application/octet-stream"> | import("@mittwald/api-client-commons").Response<string, 206, "application/octet-stream"> | import("@mittwald/api-client-commons").Response<{
|
|
31304
31218
|
[x: string]: unknown;
|
|
31305
31219
|
}, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
31306
31220
|
[x: string]: unknown;
|