@mittwald/api-client 0.0.0-development-4653f36-20260902 → 0.0.0-development-0cc8aa7-20260904
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 +6 -2
- package/dist/esm/generated/v2/client.js +8 -2
- package/dist/esm/generated/v2/descriptors.js +24 -6
- package/dist/esm/generated/v3-next/client-react.js +6 -2
- package/dist/esm/generated/v3-next/client.js +8 -2
- package/dist/esm/generated/v3-next/descriptors.js +24 -6
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/v2/client-react.d.ts +51 -10
- package/dist/types/generated/v2/client.d.ts +303 -60
- package/dist/types/generated/v2/descriptors.d.ts +8 -2
- package/dist/types/generated/v2/types.d.ts +288 -69
- package/dist/types/generated/v3-next/client-react.d.ts +51 -10
- package/dist/types/generated/v3-next/client.d.ts +303 -60
- package/dist/types/generated/v3-next/descriptors.d.ts +8 -2
- package/dist/types/generated/v3-next/types.d.ts +288 -69
- package/dist/types/version.d.ts +1 -1
- package/package.json +4 -4
|
@@ -20,16 +20,18 @@ const buildAiHostingApi = (baseClient) => ({
|
|
|
20
20
|
projectGetKey: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetKey, baseClient.aiHosting.projectGetKey).getApiResource,
|
|
21
21
|
/** Get a list of currently active models. */
|
|
22
22
|
projectGetDetailedModels: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetDetailedModels, baseClient.aiHosting.projectGetDetailedModels).getApiResource,
|
|
23
|
-
/** Get all ai hosting plans and usages of a project. */
|
|
24
|
-
projectGetPlans: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetPlans, baseClient.aiHosting.projectGetPlans).getApiResource,
|
|
25
23
|
/** Get ai hosting plan and usages of a project by planId. */
|
|
26
24
|
projectGetPlan: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetPlan, baseClient.aiHosting.projectGetPlan).getApiResource,
|
|
25
|
+
/** Get all ai hosting plans and usages of a project. */
|
|
26
|
+
projectGetPlans: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetPlans, baseClient.aiHosting.projectGetPlans).getApiResource,
|
|
27
27
|
});
|
|
28
28
|
const buildAppApi = (baseClient) => ({
|
|
29
29
|
/** Get the installed `SystemSoftware' for a specific `AppInstallation`. */
|
|
30
30
|
getAppInstallationSystemSoftware: new ApiCallAsyncResourceFactory(descriptors.appGetAppInstallationSystemSoftware, baseClient.app.getAppInstallationSystemSoftware).getApiResource,
|
|
31
31
|
/** Get an App. */
|
|
32
32
|
getApp: new ApiCallAsyncResourceFactory(descriptors.appGetApp, baseClient.app.getApp).getApiResource,
|
|
33
|
+
/** Get an analysis of the error of an AppInstallation. */
|
|
34
|
+
getAppinstallationErrorAnalysis: new ApiCallAsyncResourceFactory(descriptors.appGetAppinstallationErrorAnalysis, baseClient.app.getAppinstallationErrorAnalysis).getApiResource,
|
|
33
35
|
/** Get an AppInstallation. */
|
|
34
36
|
getAppinstallation: new ApiCallAsyncResourceFactory(descriptors.appGetAppinstallation, baseClient.app.getAppinstallation).getApiResource,
|
|
35
37
|
/** Get an AppVersion. */
|
|
@@ -92,6 +94,8 @@ const buildContainerApi = (baseClient) => ({
|
|
|
92
94
|
getVolume: new ApiCallAsyncResourceFactory(descriptors.containerGetVolume, baseClient.container.getVolume).getApiResource,
|
|
93
95
|
/** Get a ContainerImageConfig. */
|
|
94
96
|
getContainerImageConfig: new ApiCallAsyncResourceFactory(descriptors.containerGetContainerImageConfig, baseClient.container.getContainerImageConfig).getApiResource,
|
|
97
|
+
/** Get an analysis of the logs belonging to a Service. */
|
|
98
|
+
getServiceLogsAnalysis: new ApiCallAsyncResourceFactory(descriptors.containerGetServiceLogsAnalysis, baseClient.container.getServiceLogsAnalysis).getApiResource,
|
|
95
99
|
/** Get logs belonging to a Service. */
|
|
96
100
|
getServiceLogs: new ApiCallAsyncResourceFactory(descriptors.containerGetServiceLogs, baseClient.container.getServiceLogs).getApiResource,
|
|
97
101
|
/** Get a Service belonging to a Stack. */
|
|
@@ -42,12 +42,12 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
42
42
|
projectDeleteKey: this.requestFunctionFactory(descriptors.aiHostingProjectDeleteKey),
|
|
43
43
|
/** Get a list of currently active models. */
|
|
44
44
|
projectGetDetailedModels: this.requestFunctionFactory(descriptors.aiHostingProjectGetDetailedModels),
|
|
45
|
+
/** Get ai hosting plan and usages of a project by planId. */
|
|
46
|
+
projectGetPlan: this.requestFunctionFactory(descriptors.aiHostingProjectGetPlan),
|
|
45
47
|
/** Get all ai hosting plans and usages of a project. */
|
|
46
48
|
projectGetPlans: this.requestFunctionFactory(descriptors.aiHostingProjectGetPlans),
|
|
47
49
|
/** Links a container with a project licence. */
|
|
48
50
|
projectLinkContainer: this.requestFunctionFactory(descriptors.aiHostingProjectLinkContainer),
|
|
49
|
-
/** Get ai hosting plan and usages of a project by planId. */
|
|
50
|
-
projectGetPlan: this.requestFunctionFactory(descriptors.aiHostingProjectGetPlan),
|
|
51
51
|
};
|
|
52
52
|
/** The App API allows you to manage your apps within a project, and all the system softwares that are installed as dependencies. */
|
|
53
53
|
app = {
|
|
@@ -57,6 +57,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
57
57
|
getAppInstallationSystemSoftware: this.requestFunctionFactory(descriptors.appGetAppInstallationSystemSoftware),
|
|
58
58
|
/** Get an App. */
|
|
59
59
|
getApp: this.requestFunctionFactory(descriptors.appGetApp),
|
|
60
|
+
/** Get an analysis of the error of an AppInstallation. */
|
|
61
|
+
getAppinstallationErrorAnalysis: this.requestFunctionFactory(descriptors.appGetAppinstallationErrorAnalysis),
|
|
60
62
|
/** Get an AppInstallation. */
|
|
61
63
|
getAppinstallation: this.requestFunctionFactory(descriptors.appGetAppinstallation),
|
|
62
64
|
/** Trigger an uninstallation process for an AppInstallation. */
|
|
@@ -172,6 +174,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
172
174
|
deleteVolume: this.requestFunctionFactory(descriptors.containerDeleteVolume),
|
|
173
175
|
/** Get a ContainerImageConfig. */
|
|
174
176
|
getContainerImageConfig: this.requestFunctionFactory(descriptors.containerGetContainerImageConfig),
|
|
177
|
+
/** Get an analysis of the logs belonging to a Service. */
|
|
178
|
+
getServiceLogsAnalysis: this.requestFunctionFactory(descriptors.containerGetServiceLogsAnalysis),
|
|
175
179
|
/** Get logs belonging to a Service. */
|
|
176
180
|
getServiceLogs: this.requestFunctionFactory(descriptors.containerGetServiceLogs),
|
|
177
181
|
/** Get a Service belonging to a Stack. */
|
|
@@ -505,6 +509,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
505
509
|
removeAvatar: this.requestFunctionFactory(descriptors.customerRemoveAvatar),
|
|
506
510
|
/** Resend the mail for a CustomerInvite. */
|
|
507
511
|
resendCustomerInviteMail: this.requestFunctionFactory(descriptors.customerResendCustomerInviteMail),
|
|
512
|
+
/** Set how the customer became aware of mittwald. */
|
|
513
|
+
setCustomerReferralSource: this.requestFunctionFactory(descriptors.customerSetCustomerReferralSource),
|
|
508
514
|
};
|
|
509
515
|
/** The database API allows you to manage your databases, like MySQL and Redis databases. */
|
|
510
516
|
database = {
|
|
@@ -106,6 +106,12 @@ export const aiHostingProjectGetDetailedModels = {
|
|
|
106
106
|
method: "GET",
|
|
107
107
|
operationId: "ai-hosting-project-get-detailed-models",
|
|
108
108
|
};
|
|
109
|
+
/** Get ai hosting plan and usages of a project by planId. */
|
|
110
|
+
export const aiHostingProjectGetPlan = {
|
|
111
|
+
path: "/v2/projects/{projectId}/ai-hostings/{planId}",
|
|
112
|
+
method: "GET",
|
|
113
|
+
operationId: "ai-hosting-project-get-plan",
|
|
114
|
+
};
|
|
109
115
|
/** Get all ai hosting plans and usages of a project. */
|
|
110
116
|
export const aiHostingProjectGetPlans = {
|
|
111
117
|
path: "/v2/projects/{projectId}/ai-hostings",
|
|
@@ -136,6 +142,12 @@ export const appGetApp = {
|
|
|
136
142
|
method: "GET",
|
|
137
143
|
operationId: "app-get-app",
|
|
138
144
|
};
|
|
145
|
+
/** Get an analysis of the error of an AppInstallation. */
|
|
146
|
+
export const appGetAppinstallationErrorAnalysis = {
|
|
147
|
+
path: "/v2/app-installations/{appInstallationId}/error-analysis",
|
|
148
|
+
method: "GET",
|
|
149
|
+
operationId: "app-get-appinstallation-error-analysis",
|
|
150
|
+
};
|
|
139
151
|
/** Get an AppInstallation. */
|
|
140
152
|
export const appGetAppinstallation = {
|
|
141
153
|
path: "/v2/app-installations/{appInstallationId}",
|
|
@@ -454,6 +466,12 @@ export const containerGetContainerImageConfig = {
|
|
|
454
466
|
method: "GET",
|
|
455
467
|
operationId: "container-get-container-image-config",
|
|
456
468
|
};
|
|
469
|
+
/** Get an analysis of the logs belonging to a Service. */
|
|
470
|
+
export const containerGetServiceLogsAnalysis = {
|
|
471
|
+
path: "/v2/stacks/{stackId}/services/{serviceId}/log-analysis",
|
|
472
|
+
method: "GET",
|
|
473
|
+
operationId: "container-get-service-logs-analysis",
|
|
474
|
+
};
|
|
457
475
|
/** Get logs belonging to a Service. */
|
|
458
476
|
export const containerGetServiceLogs = {
|
|
459
477
|
path: "/v2/stacks/{stackId}/services/{serviceId}/logs",
|
|
@@ -1042,6 +1060,12 @@ export const customerResendCustomerInviteMail = {
|
|
|
1042
1060
|
method: "POST",
|
|
1043
1061
|
operationId: "customer-resend-customer-invite-mail",
|
|
1044
1062
|
};
|
|
1063
|
+
/** Set how the customer became aware of mittwald. */
|
|
1064
|
+
export const customerSetCustomerReferralSource = {
|
|
1065
|
+
path: "/v2/customers/{customerId}/referral-source",
|
|
1066
|
+
method: "PUT",
|
|
1067
|
+
operationId: "customer-set-customer-referral-source",
|
|
1068
|
+
};
|
|
1045
1069
|
/** Copy a MySQLDatabase with a MySQLUser. */
|
|
1046
1070
|
export const databaseCopyMysqlDatabase = {
|
|
1047
1071
|
path: "/v2/mysql-databases/{mysqlDatabaseId}/actions/copy",
|
|
@@ -2902,9 +2926,3 @@ export const verificationVerifyCompany = {
|
|
|
2902
2926
|
method: "POST",
|
|
2903
2927
|
operationId: "verification-verify-company",
|
|
2904
2928
|
};
|
|
2905
|
-
/** Get ai hosting plan and usages of a project by planId. */
|
|
2906
|
-
export const aiHostingProjectGetPlan = {
|
|
2907
|
-
path: "/v2/projects/{projectId}/ai-hostings/{planId}",
|
|
2908
|
-
method: "GET",
|
|
2909
|
-
operationId: "ai-hosting-project-get-plan",
|
|
2910
|
-
};
|
|
@@ -20,16 +20,18 @@ const buildAiHostingApi = (baseClient) => ({
|
|
|
20
20
|
projectGetKey: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetKey, baseClient.aiHosting.projectGetKey).getApiResource,
|
|
21
21
|
/** Get a list of currently active models. */
|
|
22
22
|
projectGetDetailedModels: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetDetailedModels, baseClient.aiHosting.projectGetDetailedModels).getApiResource,
|
|
23
|
-
/** Get all ai hosting plans and usages of a project. */
|
|
24
|
-
projectGetPlans: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetPlans, baseClient.aiHosting.projectGetPlans).getApiResource,
|
|
25
23
|
/** Get ai hosting plan and usages of a project by planId. */
|
|
26
24
|
projectGetPlan: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetPlan, baseClient.aiHosting.projectGetPlan).getApiResource,
|
|
25
|
+
/** Get all ai hosting plans and usages of a project. */
|
|
26
|
+
projectGetPlans: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetPlans, baseClient.aiHosting.projectGetPlans).getApiResource,
|
|
27
27
|
});
|
|
28
28
|
const buildAppApi = (baseClient) => ({
|
|
29
29
|
/** Get the installed `SystemSoftware' for a specific `AppInstallation`. */
|
|
30
30
|
getAppInstallationSystemSoftware: new ApiCallAsyncResourceFactory(descriptors.appGetAppInstallationSystemSoftware, baseClient.app.getAppInstallationSystemSoftware).getApiResource,
|
|
31
31
|
/** Get an App. */
|
|
32
32
|
getApp: new ApiCallAsyncResourceFactory(descriptors.appGetApp, baseClient.app.getApp).getApiResource,
|
|
33
|
+
/** Get an analysis of the error of an AppInstallation. */
|
|
34
|
+
getAppinstallationErrorAnalysis: new ApiCallAsyncResourceFactory(descriptors.appGetAppinstallationErrorAnalysis, baseClient.app.getAppinstallationErrorAnalysis).getApiResource,
|
|
33
35
|
/** Get an AppInstallation. */
|
|
34
36
|
getAppinstallation: new ApiCallAsyncResourceFactory(descriptors.appGetAppinstallation, baseClient.app.getAppinstallation).getApiResource,
|
|
35
37
|
/** Get an AppVersion. */
|
|
@@ -92,6 +94,8 @@ const buildContainerApi = (baseClient) => ({
|
|
|
92
94
|
getVolume: new ApiCallAsyncResourceFactory(descriptors.containerGetVolume, baseClient.container.getVolume).getApiResource,
|
|
93
95
|
/** Get a ContainerImageConfig. */
|
|
94
96
|
getContainerImageConfig: new ApiCallAsyncResourceFactory(descriptors.containerGetContainerImageConfig, baseClient.container.getContainerImageConfig).getApiResource,
|
|
97
|
+
/** Get an analysis of the logs belonging to a Service. */
|
|
98
|
+
getServiceLogsAnalysis: new ApiCallAsyncResourceFactory(descriptors.containerGetServiceLogsAnalysis, baseClient.container.getServiceLogsAnalysis).getApiResource,
|
|
95
99
|
/** Get logs belonging to a Service. */
|
|
96
100
|
getServiceLogs: new ApiCallAsyncResourceFactory(descriptors.containerGetServiceLogs, baseClient.container.getServiceLogs).getApiResource,
|
|
97
101
|
/** Get a Service belonging to a Stack. */
|
|
@@ -42,12 +42,12 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
42
42
|
projectDeleteKey: this.requestFunctionFactory(descriptors.aiHostingProjectDeleteKey),
|
|
43
43
|
/** Get a list of currently active models. */
|
|
44
44
|
projectGetDetailedModels: this.requestFunctionFactory(descriptors.aiHostingProjectGetDetailedModels),
|
|
45
|
+
/** Get ai hosting plan and usages of a project by planId. */
|
|
46
|
+
projectGetPlan: this.requestFunctionFactory(descriptors.aiHostingProjectGetPlan),
|
|
45
47
|
/** Get all ai hosting plans and usages of a project. */
|
|
46
48
|
projectGetPlans: this.requestFunctionFactory(descriptors.aiHostingProjectGetPlans),
|
|
47
49
|
/** Links a container with a project licence. */
|
|
48
50
|
projectLinkContainer: this.requestFunctionFactory(descriptors.aiHostingProjectLinkContainer),
|
|
49
|
-
/** Get ai hosting plan and usages of a project by planId. */
|
|
50
|
-
projectGetPlan: this.requestFunctionFactory(descriptors.aiHostingProjectGetPlan),
|
|
51
51
|
};
|
|
52
52
|
/** The App API allows you to manage your apps within a project, and all the system softwares that are installed as dependencies. */
|
|
53
53
|
app = {
|
|
@@ -57,6 +57,8 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
57
57
|
getAppInstallationSystemSoftware: this.requestFunctionFactory(descriptors.appGetAppInstallationSystemSoftware),
|
|
58
58
|
/** Get an App. */
|
|
59
59
|
getApp: this.requestFunctionFactory(descriptors.appGetApp),
|
|
60
|
+
/** Get an analysis of the error of an AppInstallation. */
|
|
61
|
+
getAppinstallationErrorAnalysis: this.requestFunctionFactory(descriptors.appGetAppinstallationErrorAnalysis),
|
|
60
62
|
/** Get an AppInstallation. */
|
|
61
63
|
getAppinstallation: this.requestFunctionFactory(descriptors.appGetAppinstallation),
|
|
62
64
|
/** Trigger an uninstallation process for an AppInstallation. */
|
|
@@ -172,6 +174,8 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
172
174
|
deleteVolume: this.requestFunctionFactory(descriptors.containerDeleteVolume),
|
|
173
175
|
/** Get a ContainerImageConfig. */
|
|
174
176
|
getContainerImageConfig: this.requestFunctionFactory(descriptors.containerGetContainerImageConfig),
|
|
177
|
+
/** Get an analysis of the logs belonging to a Service. */
|
|
178
|
+
getServiceLogsAnalysis: this.requestFunctionFactory(descriptors.containerGetServiceLogsAnalysis),
|
|
175
179
|
/** Get logs belonging to a Service. */
|
|
176
180
|
getServiceLogs: this.requestFunctionFactory(descriptors.containerGetServiceLogs),
|
|
177
181
|
/** Get a Service belonging to a Stack. */
|
|
@@ -505,6 +509,8 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
505
509
|
removeAvatar: this.requestFunctionFactory(descriptors.customerRemoveAvatar),
|
|
506
510
|
/** Resend the mail for a CustomerInvite. */
|
|
507
511
|
resendCustomerInviteMail: this.requestFunctionFactory(descriptors.customerResendCustomerInviteMail),
|
|
512
|
+
/** Set how the customer became aware of mittwald. */
|
|
513
|
+
setCustomerReferralSource: this.requestFunctionFactory(descriptors.customerSetCustomerReferralSource),
|
|
508
514
|
};
|
|
509
515
|
/** The database API allows you to manage your databases, like MySQL and Redis databases. */
|
|
510
516
|
database = {
|
|
@@ -106,6 +106,12 @@ export const aiHostingProjectGetDetailedModels = {
|
|
|
106
106
|
method: "GET",
|
|
107
107
|
operationId: "ai-hosting-project-get-detailed-models",
|
|
108
108
|
};
|
|
109
|
+
/** Get ai hosting plan and usages of a project by planId. */
|
|
110
|
+
export const aiHostingProjectGetPlan = {
|
|
111
|
+
path: "/v3-next/projects/{projectId}/ai-hostings/{planId}",
|
|
112
|
+
method: "GET",
|
|
113
|
+
operationId: "ai-hosting-project-get-plan",
|
|
114
|
+
};
|
|
109
115
|
/** Get all ai hosting plans and usages of a project. */
|
|
110
116
|
export const aiHostingProjectGetPlans = {
|
|
111
117
|
path: "/v3-next/projects/{projectId}/ai-hostings",
|
|
@@ -136,6 +142,12 @@ export const appGetApp = {
|
|
|
136
142
|
method: "GET",
|
|
137
143
|
operationId: "app-get-app",
|
|
138
144
|
};
|
|
145
|
+
/** Get an analysis of the error of an AppInstallation. */
|
|
146
|
+
export const appGetAppinstallationErrorAnalysis = {
|
|
147
|
+
path: "/v3-next/app-installations/{appInstallationId}/error-analysis",
|
|
148
|
+
method: "GET",
|
|
149
|
+
operationId: "app-get-appinstallation-error-analysis",
|
|
150
|
+
};
|
|
139
151
|
/** Get an AppInstallation. */
|
|
140
152
|
export const appGetAppinstallation = {
|
|
141
153
|
path: "/v3-next/app-installations/{appInstallationId}",
|
|
@@ -454,6 +466,12 @@ export const containerGetContainerImageConfig = {
|
|
|
454
466
|
method: "GET",
|
|
455
467
|
operationId: "container-get-container-image-config",
|
|
456
468
|
};
|
|
469
|
+
/** Get an analysis of the logs belonging to a Service. */
|
|
470
|
+
export const containerGetServiceLogsAnalysis = {
|
|
471
|
+
path: "/v3-next/stacks/{stackId}/services/{serviceId}/log-analysis",
|
|
472
|
+
method: "GET",
|
|
473
|
+
operationId: "container-get-service-logs-analysis",
|
|
474
|
+
};
|
|
457
475
|
/** Get logs belonging to a Service. */
|
|
458
476
|
export const containerGetServiceLogs = {
|
|
459
477
|
path: "/v3-next/stacks/{stackId}/services/{serviceId}/logs",
|
|
@@ -1042,6 +1060,12 @@ export const customerResendCustomerInviteMail = {
|
|
|
1042
1060
|
method: "POST",
|
|
1043
1061
|
operationId: "customer-resend-customer-invite-mail",
|
|
1044
1062
|
};
|
|
1063
|
+
/** Set how the customer became aware of mittwald. */
|
|
1064
|
+
export const customerSetCustomerReferralSource = {
|
|
1065
|
+
path: "/v3-next/customers/{customerId}/referral-source",
|
|
1066
|
+
method: "PUT",
|
|
1067
|
+
operationId: "customer-set-customer-referral-source",
|
|
1068
|
+
};
|
|
1045
1069
|
/** Copy a MySQLDatabase with a MySQLUser. */
|
|
1046
1070
|
export const databaseCopyMysqlDatabase = {
|
|
1047
1071
|
path: "/v3-next/mysql-databases/{mysqlDatabaseId}/actions/copy",
|
|
@@ -2902,9 +2926,3 @@ export const verificationVerifyCompany = {
|
|
|
2902
2926
|
method: "POST",
|
|
2903
2927
|
operationId: "verification-verify-company",
|
|
2904
2928
|
};
|
|
2905
|
-
/** Get ai hosting plan and usages of a project by planId. */
|
|
2906
|
-
export const aiHostingProjectGetPlan = {
|
|
2907
|
-
path: "/v3-next/projects/{projectId}/ai-hostings/{planId}",
|
|
2908
|
-
method: "GET",
|
|
2909
|
-
operationId: "ai-hosting-project-get-plan",
|
|
2910
|
-
};
|
package/dist/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const MittwaldAPIClientVersion = '
|
|
1
|
+
export const MittwaldAPIClientVersion = '4.456.0';
|
|
@@ -10,6 +10,9 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
10
10
|
queryParameters?: {
|
|
11
11
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
12
12
|
planId?: string | undefined;
|
|
13
|
+
limit?: number | undefined;
|
|
14
|
+
skip?: number | undefined;
|
|
15
|
+
page?: number | undefined;
|
|
13
16
|
} | undefined;
|
|
14
17
|
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingKey[]>;
|
|
15
18
|
/** Get all ai hosting plans of a customer. */
|
|
@@ -21,6 +24,9 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
21
24
|
queryParameters?: {
|
|
22
25
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
23
26
|
topUsageCount?: number | undefined;
|
|
27
|
+
limit?: number | undefined;
|
|
28
|
+
skip?: number | undefined;
|
|
29
|
+
page?: number | undefined;
|
|
24
30
|
} | undefined;
|
|
25
31
|
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
26
32
|
modelTermsApprovalRequired: boolean;
|
|
@@ -97,6 +103,9 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
97
103
|
queryParameters?: {
|
|
98
104
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
99
105
|
planId?: string | undefined;
|
|
106
|
+
limit?: number | undefined;
|
|
107
|
+
skip?: number | undefined;
|
|
108
|
+
page?: number | undefined;
|
|
100
109
|
} | undefined;
|
|
101
110
|
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingKey[]>;
|
|
102
111
|
/** Get a key of a project. */
|
|
@@ -127,16 +136,6 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
127
136
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
128
137
|
} | undefined;
|
|
129
138
|
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingProjectDetailedModel[]>;
|
|
130
|
-
/** Get all ai hosting plans and usages of a project. */
|
|
131
|
-
projectGetPlans: (conf: {
|
|
132
|
-
projectId: string;
|
|
133
|
-
headers?: {
|
|
134
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
135
|
-
} | undefined;
|
|
136
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
137
|
-
modelTermsApprovalRequired: boolean;
|
|
138
|
-
plans: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingProjectPlan[];
|
|
139
|
-
}>;
|
|
140
139
|
/** Get ai hosting plan and usages of a project by planId. */
|
|
141
140
|
projectGetPlan: (conf: {
|
|
142
141
|
projectId: string;
|
|
@@ -152,6 +151,22 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
152
151
|
planId: string;
|
|
153
152
|
projectId: string;
|
|
154
153
|
}>;
|
|
154
|
+
/** Get all ai hosting plans and usages of a project. */
|
|
155
|
+
projectGetPlans: (conf: {
|
|
156
|
+
projectId: string;
|
|
157
|
+
headers?: {
|
|
158
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
159
|
+
} | undefined;
|
|
160
|
+
queryParameters?: {
|
|
161
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
162
|
+
limit?: number | undefined;
|
|
163
|
+
skip?: number | undefined;
|
|
164
|
+
page?: number | undefined;
|
|
165
|
+
} | undefined;
|
|
166
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
167
|
+
modelTermsApprovalRequired: boolean;
|
|
168
|
+
plans: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingProjectPlan[];
|
|
169
|
+
}>;
|
|
155
170
|
};
|
|
156
171
|
declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
|
|
157
172
|
/** Get the installed `SystemSoftware' for a specific `AppInstallation`. */
|
|
@@ -179,6 +194,18 @@ declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
179
194
|
name: string;
|
|
180
195
|
tags: string[];
|
|
181
196
|
}>;
|
|
197
|
+
/** Get an analysis of the error of an AppInstallation. */
|
|
198
|
+
getAppinstallationErrorAnalysis: (conf: {
|
|
199
|
+
appInstallationId: string;
|
|
200
|
+
headers?: {
|
|
201
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
202
|
+
"Accept-Language"?: "de" | "en" | undefined;
|
|
203
|
+
"x-access-token"?: string | undefined;
|
|
204
|
+
} | undefined;
|
|
205
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
206
|
+
recommendation?: string | undefined;
|
|
207
|
+
summary: string;
|
|
208
|
+
}>;
|
|
182
209
|
/** Get an AppInstallation. */
|
|
183
210
|
getAppinstallation: (conf: {
|
|
184
211
|
appInstallationId: string;
|
|
@@ -678,6 +705,19 @@ declare const buildContainerApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
678
705
|
userId: number;
|
|
679
706
|
volumes?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerContainerImageConfigVolume[] | undefined;
|
|
680
707
|
}>;
|
|
708
|
+
/** Get an analysis of the logs belonging to a Service. */
|
|
709
|
+
getServiceLogsAnalysis: (conf: {
|
|
710
|
+
stackId: string;
|
|
711
|
+
serviceId: string;
|
|
712
|
+
headers?: {
|
|
713
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
714
|
+
"Accept-Language"?: "de" | "en" | undefined;
|
|
715
|
+
"x-access-token"?: string | undefined;
|
|
716
|
+
} | undefined;
|
|
717
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
718
|
+
recommendation?: string | undefined;
|
|
719
|
+
summary: string;
|
|
720
|
+
}>;
|
|
681
721
|
/** Get logs belonging to a Service. */
|
|
682
722
|
getServiceLogs: (conf: {
|
|
683
723
|
stackId: string;
|
|
@@ -1913,6 +1953,7 @@ declare const buildCronjobApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1913
1953
|
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
1914
1954
|
message: string;
|
|
1915
1955
|
recommendation?: string | undefined;
|
|
1956
|
+
summary: string;
|
|
1916
1957
|
}>;
|
|
1917
1958
|
/** Get a CronjobExecution. */
|
|
1918
1959
|
getExecution: (conf: {
|