@mittwald/api-client 4.452.0 → 4.454.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.
@@ -8,8 +8,6 @@ const buildAiHostingApi = (baseClient) => ({
8
8
  customerGetKey: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetKey, baseClient.aiHosting.customerGetKey).getApiResource,
9
9
  /** Get a list of currently active models. */
10
10
  customerGetDetailedModels: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetDetailedModels, baseClient.aiHosting.customerGetDetailedModels).getApiResource,
11
- /** Get ai hosting plan and usages of a customer. */
12
- customerGetUsage: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetUsage, baseClient.aiHosting.customerGetUsage).getApiResource,
13
11
  /** Get a list of currently active models. */
14
12
  getModels: new ApiCallAsyncResourceFactory(descriptors.aiHostingGetModels, baseClient.aiHosting.getModels).getApiResource,
15
13
  /** Get a list of keys of a project. */
@@ -18,8 +16,14 @@ const buildAiHostingApi = (baseClient) => ({
18
16
  projectGetKey: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetKey, baseClient.aiHosting.projectGetKey).getApiResource,
19
17
  /** Get a list of currently active models. */
20
18
  projectGetDetailedModels: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetDetailedModels, baseClient.aiHosting.projectGetDetailedModels).getApiResource,
21
- /** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
22
- projectGetUsage: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetUsage, baseClient.aiHosting.projectGetUsage).getApiResource,
19
+ /** Get ai hosting plan and usages of a customer by planId. */
20
+ customerGetPlan: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetPlan, baseClient.aiHosting.customerGetPlan).getApiResource,
21
+ /** Get all ai hosting plans of a customer. */
22
+ customerGetPlans: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetPlans, baseClient.aiHosting.customerGetPlans).getApiResource,
23
+ /** Get ai hosting plan and usages of a project by planId. */
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,
23
27
  });
24
28
  const buildAppApi = (baseClient) => ({
25
29
  /** Get the installed `SystemSoftware' for a specific `AppInstallation`. */
@@ -52,6 +56,8 @@ const buildAppApi = (baseClient) => ({
52
56
  listUpdateCandidatesForAppversion: new ApiCallAsyncResourceFactory(descriptors.appListUpdateCandidatesForAppversion, baseClient.app.listUpdateCandidatesForAppversion).getApiResource,
53
57
  /** Get runtime status belonging to an AppInstallation. */
54
58
  retrieveStatus: new ApiCallAsyncResourceFactory(descriptors.appRetrieveStatus, baseClient.app.retrieveStatus).getApiResource,
59
+ /** Get an analysis of the error of an AppInstallation. */
60
+ getAppinstallationErrorAnalysis: new ApiCallAsyncResourceFactory(descriptors.appGetAppinstallationErrorAnalysis, baseClient.app.getAppinstallationErrorAnalysis).getApiResource,
55
61
  });
56
62
  const buildArticleApi = (baseClient) => ({
57
63
  /** Get an Article. */
@@ -108,6 +114,8 @@ const buildContainerApi = (baseClient) => ({
108
114
  listTemplates: new ApiCallAsyncResourceFactory(descriptors.containerListTemplates, baseClient.container.listTemplates).getApiResource,
109
115
  /** List Volumes belonging to a Project. */
110
116
  listVolumes: new ApiCallAsyncResourceFactory(descriptors.containerListVolumes, baseClient.container.listVolumes).getApiResource,
117
+ /** Get an analysis of the logs belonging to a Service. */
118
+ getServiceLogsAnalysis: new ApiCallAsyncResourceFactory(descriptors.containerGetServiceLogsAnalysis, baseClient.container.getServiceLogsAnalysis).getApiResource,
111
119
  });
112
120
  const buildContractApi = (baseClient) => ({
113
121
  /** Return the BaseItem of the Contract with the given ID. */
@@ -20,8 +20,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
20
20
  customerDeleteKey: this.requestFunctionFactory(descriptors.aiHostingCustomerDeleteKey),
21
21
  /** Get a list of currently active models. */
22
22
  customerGetDetailedModels: this.requestFunctionFactory(descriptors.aiHostingCustomerGetDetailedModels),
23
- /** Get ai hosting plan and usages of a customer. */
24
- customerGetUsage: this.requestFunctionFactory(descriptors.aiHostingCustomerGetUsage),
25
23
  /** Get a list of currently active models. */
26
24
  getModels: this.requestFunctionFactory(descriptors.aiHostingGetModels),
27
25
  /** Get a list of keys of a project. */
@@ -36,10 +34,20 @@ export class MittwaldAPIV2Client extends ApiClientBase {
36
34
  projectDeleteKey: this.requestFunctionFactory(descriptors.aiHostingProjectDeleteKey),
37
35
  /** Get a list of currently active models. */
38
36
  projectGetDetailedModels: this.requestFunctionFactory(descriptors.aiHostingProjectGetDetailedModels),
39
- /** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
40
- projectGetUsage: this.requestFunctionFactory(descriptors.aiHostingProjectGetUsage),
41
37
  /** Links a container with a project licence. */
42
38
  projectLinkContainer: this.requestFunctionFactory(descriptors.aiHostingProjectLinkContainer),
39
+ /** Get ai hosting plan and usages of a customer by planId. */
40
+ customerGetPlan: this.requestFunctionFactory(descriptors.aiHostingCustomerGetPlan),
41
+ /** Renames an AI hosting plan. */
42
+ customerUpdatePlan: this.requestFunctionFactory(descriptors.aiHostingCustomerUpdatePlan),
43
+ /** Get all ai hosting plans of a customer. */
44
+ customerGetPlans: this.requestFunctionFactory(descriptors.aiHostingCustomerGetPlans),
45
+ /** Creates an AI hosting profile and accepts the current model terms. */
46
+ customerDeclareProfile: this.requestFunctionFactory(descriptors.aiHostingCustomerDeclareProfile),
47
+ /** Get ai hosting plan and usages of a project by planId. */
48
+ projectGetPlan: this.requestFunctionFactory(descriptors.aiHostingProjectGetPlan),
49
+ /** Get all ai hosting plans and usages of a project. */
50
+ projectGetPlans: this.requestFunctionFactory(descriptors.aiHostingProjectGetPlans),
43
51
  };
44
52
  /** The App API allows you to manage your apps within a project, and all the system softwares that are installed as dependencies. */
45
53
  app = {
@@ -89,6 +97,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
89
97
  retrieveStatus: this.requestFunctionFactory(descriptors.appRetrieveStatus),
90
98
  /** Remove linkage between an AppInstallation and a Database. */
91
99
  unlinkDatabase: this.requestFunctionFactory(descriptors.appUnlinkDatabase),
100
+ /** Get an analysis of the error of an AppInstallation. */
101
+ getAppinstallationErrorAnalysis: this.requestFunctionFactory(descriptors.appGetAppinstallationErrorAnalysis),
92
102
  };
93
103
  /** The article API allows you to read article information. */
94
104
  article = {
@@ -196,6 +206,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
196
206
  startService: this.requestFunctionFactory(descriptors.containerStartService),
197
207
  /** Stop a started Service. */
198
208
  stopService: this.requestFunctionFactory(descriptors.containerStopService),
209
+ /** Get an analysis of the logs belonging to a Service. */
210
+ getServiceLogsAnalysis: this.requestFunctionFactory(descriptors.containerGetServiceLogsAnalysis),
199
211
  };
200
212
  /** The contract API allows you to manage your contracts and orders */
201
213
  contract = {
@@ -40,12 +40,6 @@ export const aiHostingCustomerGetDetailedModels = {
40
40
  method: "GET",
41
41
  operationId: "ai-hosting-customer-get-detailed-models",
42
42
  };
43
- /** Get ai hosting plan and usages of a customer. */
44
- export const aiHostingCustomerGetUsage = {
45
- path: "/v2/customers/{customerId}/ai-hosting",
46
- method: "GET",
47
- operationId: "ai-hosting-customer-get-usage",
48
- };
49
43
  /** Get a list of currently active models. */
50
44
  export const aiHostingGetModels = {
51
45
  path: "/v2/ai-hosting-models",
@@ -88,12 +82,6 @@ export const aiHostingProjectGetDetailedModels = {
88
82
  method: "GET",
89
83
  operationId: "ai-hosting-project-get-detailed-models",
90
84
  };
91
- /** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
92
- export const aiHostingProjectGetUsage = {
93
- path: "/v2/projects/{projectId}/ai-hosting",
94
- method: "GET",
95
- operationId: "ai-hosting-project-get-usage",
96
- };
97
85
  /** Links a container with a project licence. */
98
86
  export const aiHostingProjectLinkContainer = {
99
87
  path: "/v2/projects/{projectId}/ai-hosting-keys/{keyId}/actions/link-container",
@@ -2818,3 +2806,51 @@ export const verificationVerifyCompany = {
2818
2806
  method: "POST",
2819
2807
  operationId: "verification-verify-company",
2820
2808
  };
2809
+ /** Get ai hosting plan and usages of a customer by planId. */
2810
+ export const aiHostingCustomerGetPlan = {
2811
+ path: "/v2/customers/{customerId}/ai-hostings/{planId}",
2812
+ method: "GET",
2813
+ operationId: "ai-hosting-customer-get-plan",
2814
+ };
2815
+ /** Renames an AI hosting plan. */
2816
+ export const aiHostingCustomerUpdatePlan = {
2817
+ path: "/v2/customers/{customerId}/ai-hostings/{planId}",
2818
+ method: "PUT",
2819
+ operationId: "ai-hosting-customer-update-plan",
2820
+ };
2821
+ /** Get all ai hosting plans of a customer. */
2822
+ export const aiHostingCustomerGetPlans = {
2823
+ path: "/v2/customers/{customerId}/ai-hostings",
2824
+ method: "GET",
2825
+ operationId: "ai-hosting-customer-get-plans",
2826
+ };
2827
+ /** Creates an AI hosting profile and accepts the current model terms. */
2828
+ export const aiHostingCustomerDeclareProfile = {
2829
+ path: "/v2/customers/{customerId}/ai-hostings",
2830
+ method: "POST",
2831
+ operationId: "ai-hosting-customer-declare-profile",
2832
+ };
2833
+ /** Get ai hosting plan and usages of a project by planId. */
2834
+ export const aiHostingProjectGetPlan = {
2835
+ path: "/v2/projects/{projectId}/ai-hostings/{planId}",
2836
+ method: "GET",
2837
+ operationId: "ai-hosting-project-get-plan",
2838
+ };
2839
+ /** Get all ai hosting plans and usages of a project. */
2840
+ export const aiHostingProjectGetPlans = {
2841
+ path: "/v2/projects/{projectId}/ai-hostings",
2842
+ method: "GET",
2843
+ operationId: "ai-hosting-project-get-plans",
2844
+ };
2845
+ /** Get an analysis of the logs belonging to a Service. */
2846
+ export const containerGetServiceLogsAnalysis = {
2847
+ path: "/v2/stacks/{stackId}/services/{serviceId}/log-analysis",
2848
+ method: "GET",
2849
+ operationId: "container-get-service-logs-analysis",
2850
+ };
2851
+ /** Get an analysis of the error of an AppInstallation. */
2852
+ export const appGetAppinstallationErrorAnalysis = {
2853
+ path: "/v2/app-installations/{appInstallationId}/error-analysis",
2854
+ method: "GET",
2855
+ operationId: "app-get-appinstallation-error-analysis",
2856
+ };
@@ -8,8 +8,6 @@ const buildAiHostingApi = (baseClient) => ({
8
8
  customerGetKey: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetKey, baseClient.aiHosting.customerGetKey).getApiResource,
9
9
  /** Get a list of currently active models. */
10
10
  customerGetDetailedModels: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetDetailedModels, baseClient.aiHosting.customerGetDetailedModels).getApiResource,
11
- /** Get ai hosting plan and usages of a customer. */
12
- customerGetUsage: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetUsage, baseClient.aiHosting.customerGetUsage).getApiResource,
13
11
  /** Get a list of currently active models. */
14
12
  getModels: new ApiCallAsyncResourceFactory(descriptors.aiHostingGetModels, baseClient.aiHosting.getModels).getApiResource,
15
13
  /** Get a list of keys of a project. */
@@ -18,8 +16,14 @@ const buildAiHostingApi = (baseClient) => ({
18
16
  projectGetKey: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetKey, baseClient.aiHosting.projectGetKey).getApiResource,
19
17
  /** Get a list of currently active models. */
20
18
  projectGetDetailedModels: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetDetailedModels, baseClient.aiHosting.projectGetDetailedModels).getApiResource,
21
- /** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
22
- projectGetUsage: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetUsage, baseClient.aiHosting.projectGetUsage).getApiResource,
19
+ /** Get ai hosting plan and usages of a customer by planId. */
20
+ customerGetPlan: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetPlan, baseClient.aiHosting.customerGetPlan).getApiResource,
21
+ /** Get all ai hosting plans of a customer. */
22
+ customerGetPlans: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetPlans, baseClient.aiHosting.customerGetPlans).getApiResource,
23
+ /** Get ai hosting plan and usages of a project by planId. */
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,
23
27
  });
24
28
  const buildAppApi = (baseClient) => ({
25
29
  /** Get the installed `SystemSoftware' for a specific `AppInstallation`. */
@@ -52,6 +56,8 @@ const buildAppApi = (baseClient) => ({
52
56
  listUpdateCandidatesForAppversion: new ApiCallAsyncResourceFactory(descriptors.appListUpdateCandidatesForAppversion, baseClient.app.listUpdateCandidatesForAppversion).getApiResource,
53
57
  /** Get runtime status belonging to an AppInstallation. */
54
58
  retrieveStatus: new ApiCallAsyncResourceFactory(descriptors.appRetrieveStatus, baseClient.app.retrieveStatus).getApiResource,
59
+ /** Get an analysis of the error of an AppInstallation. */
60
+ getAppinstallationErrorAnalysis: new ApiCallAsyncResourceFactory(descriptors.appGetAppinstallationErrorAnalysis, baseClient.app.getAppinstallationErrorAnalysis).getApiResource,
55
61
  });
56
62
  const buildArticleApi = (baseClient) => ({
57
63
  /** Get an Article. */
@@ -108,6 +114,8 @@ const buildContainerApi = (baseClient) => ({
108
114
  listTemplates: new ApiCallAsyncResourceFactory(descriptors.containerListTemplates, baseClient.container.listTemplates).getApiResource,
109
115
  /** List Volumes belonging to a Project. */
110
116
  listVolumes: new ApiCallAsyncResourceFactory(descriptors.containerListVolumes, baseClient.container.listVolumes).getApiResource,
117
+ /** Get an analysis of the logs belonging to a Service. */
118
+ getServiceLogsAnalysis: new ApiCallAsyncResourceFactory(descriptors.containerGetServiceLogsAnalysis, baseClient.container.getServiceLogsAnalysis).getApiResource,
111
119
  });
112
120
  const buildContractApi = (baseClient) => ({
113
121
  /** Return the BaseItem of the Contract with the given ID. */
@@ -20,8 +20,6 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
20
20
  customerDeleteKey: this.requestFunctionFactory(descriptors.aiHostingCustomerDeleteKey),
21
21
  /** Get a list of currently active models. */
22
22
  customerGetDetailedModels: this.requestFunctionFactory(descriptors.aiHostingCustomerGetDetailedModels),
23
- /** Get ai hosting plan and usages of a customer. */
24
- customerGetUsage: this.requestFunctionFactory(descriptors.aiHostingCustomerGetUsage),
25
23
  /** Get a list of currently active models. */
26
24
  getModels: this.requestFunctionFactory(descriptors.aiHostingGetModels),
27
25
  /** Get a list of keys of a project. */
@@ -36,10 +34,20 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
36
34
  projectDeleteKey: this.requestFunctionFactory(descriptors.aiHostingProjectDeleteKey),
37
35
  /** Get a list of currently active models. */
38
36
  projectGetDetailedModels: this.requestFunctionFactory(descriptors.aiHostingProjectGetDetailedModels),
39
- /** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
40
- projectGetUsage: this.requestFunctionFactory(descriptors.aiHostingProjectGetUsage),
41
37
  /** Links a container with a project licence. */
42
38
  projectLinkContainer: this.requestFunctionFactory(descriptors.aiHostingProjectLinkContainer),
39
+ /** Get ai hosting plan and usages of a customer by planId. */
40
+ customerGetPlan: this.requestFunctionFactory(descriptors.aiHostingCustomerGetPlan),
41
+ /** Renames an AI hosting plan. */
42
+ customerUpdatePlan: this.requestFunctionFactory(descriptors.aiHostingCustomerUpdatePlan),
43
+ /** Get all ai hosting plans of a customer. */
44
+ customerGetPlans: this.requestFunctionFactory(descriptors.aiHostingCustomerGetPlans),
45
+ /** Creates an AI hosting profile and accepts the current model terms. */
46
+ customerDeclareProfile: this.requestFunctionFactory(descriptors.aiHostingCustomerDeclareProfile),
47
+ /** Get ai hosting plan and usages of a project by planId. */
48
+ projectGetPlan: this.requestFunctionFactory(descriptors.aiHostingProjectGetPlan),
49
+ /** Get all ai hosting plans and usages of a project. */
50
+ projectGetPlans: this.requestFunctionFactory(descriptors.aiHostingProjectGetPlans),
43
51
  };
44
52
  /** The App API allows you to manage your apps within a project, and all the system softwares that are installed as dependencies. */
45
53
  app = {
@@ -89,6 +97,8 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
89
97
  retrieveStatus: this.requestFunctionFactory(descriptors.appRetrieveStatus),
90
98
  /** Remove linkage between an AppInstallation and a Database. */
91
99
  unlinkDatabase: this.requestFunctionFactory(descriptors.appUnlinkDatabase),
100
+ /** Get an analysis of the error of an AppInstallation. */
101
+ getAppinstallationErrorAnalysis: this.requestFunctionFactory(descriptors.appGetAppinstallationErrorAnalysis),
92
102
  };
93
103
  /** The article API allows you to read article information. */
94
104
  article = {
@@ -196,6 +206,8 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
196
206
  startService: this.requestFunctionFactory(descriptors.containerStartService),
197
207
  /** Stop a started Service. */
198
208
  stopService: this.requestFunctionFactory(descriptors.containerStopService),
209
+ /** Get an analysis of the logs belonging to a Service. */
210
+ getServiceLogsAnalysis: this.requestFunctionFactory(descriptors.containerGetServiceLogsAnalysis),
199
211
  };
200
212
  /** The contract API allows you to manage your contracts and orders */
201
213
  contract = {
@@ -40,12 +40,6 @@ export const aiHostingCustomerGetDetailedModels = {
40
40
  method: "GET",
41
41
  operationId: "ai-hosting-customer-get-detailed-models",
42
42
  };
43
- /** Get ai hosting plan and usages of a customer. */
44
- export const aiHostingCustomerGetUsage = {
45
- path: "/v3-next/customers/{customerId}/ai-hosting",
46
- method: "GET",
47
- operationId: "ai-hosting-customer-get-usage",
48
- };
49
43
  /** Get a list of currently active models. */
50
44
  export const aiHostingGetModels = {
51
45
  path: "/v3-next/ai-hosting-models",
@@ -88,12 +82,6 @@ export const aiHostingProjectGetDetailedModels = {
88
82
  method: "GET",
89
83
  operationId: "ai-hosting-project-get-detailed-models",
90
84
  };
91
- /** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
92
- export const aiHostingProjectGetUsage = {
93
- path: "/v3-next/projects/{projectId}/ai-hosting",
94
- method: "GET",
95
- operationId: "ai-hosting-project-get-usage",
96
- };
97
85
  /** Links a container with a project licence. */
98
86
  export const aiHostingProjectLinkContainer = {
99
87
  path: "/v3-next/projects/{projectId}/ai-hosting-keys/{keyId}/actions/link-container",
@@ -2818,3 +2806,51 @@ export const verificationVerifyCompany = {
2818
2806
  method: "POST",
2819
2807
  operationId: "verification-verify-company",
2820
2808
  };
2809
+ /** Get ai hosting plan and usages of a customer by planId. */
2810
+ export const aiHostingCustomerGetPlan = {
2811
+ path: "/v3-next/customers/{customerId}/ai-hostings/{planId}",
2812
+ method: "GET",
2813
+ operationId: "ai-hosting-customer-get-plan",
2814
+ };
2815
+ /** Renames an AI hosting plan. */
2816
+ export const aiHostingCustomerUpdatePlan = {
2817
+ path: "/v3-next/customers/{customerId}/ai-hostings/{planId}",
2818
+ method: "PUT",
2819
+ operationId: "ai-hosting-customer-update-plan",
2820
+ };
2821
+ /** Get all ai hosting plans of a customer. */
2822
+ export const aiHostingCustomerGetPlans = {
2823
+ path: "/v3-next/customers/{customerId}/ai-hostings",
2824
+ method: "GET",
2825
+ operationId: "ai-hosting-customer-get-plans",
2826
+ };
2827
+ /** Creates an AI hosting profile and accepts the current model terms. */
2828
+ export const aiHostingCustomerDeclareProfile = {
2829
+ path: "/v3-next/customers/{customerId}/ai-hostings",
2830
+ method: "POST",
2831
+ operationId: "ai-hosting-customer-declare-profile",
2832
+ };
2833
+ /** Get ai hosting plan and usages of a project by planId. */
2834
+ export const aiHostingProjectGetPlan = {
2835
+ path: "/v3-next/projects/{projectId}/ai-hostings/{planId}",
2836
+ method: "GET",
2837
+ operationId: "ai-hosting-project-get-plan",
2838
+ };
2839
+ /** Get all ai hosting plans and usages of a project. */
2840
+ export const aiHostingProjectGetPlans = {
2841
+ path: "/v3-next/projects/{projectId}/ai-hostings",
2842
+ method: "GET",
2843
+ operationId: "ai-hosting-project-get-plans",
2844
+ };
2845
+ /** Get an analysis of the logs belonging to a Service. */
2846
+ export const containerGetServiceLogsAnalysis = {
2847
+ path: "/v3-next/stacks/{stackId}/services/{serviceId}/log-analysis",
2848
+ method: "GET",
2849
+ operationId: "container-get-service-logs-analysis",
2850
+ };
2851
+ /** Get an analysis of the error of an AppInstallation. */
2852
+ export const appGetAppinstallationErrorAnalysis = {
2853
+ path: "/v3-next/app-installations/{appInstallationId}/error-analysis",
2854
+ method: "GET",
2855
+ operationId: "app-get-appinstallation-error-analysis",
2856
+ };
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '4.451.0';
1
+ export const MittwaldAPIClientVersion = '4.453.0';
@@ -7,6 +7,10 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV2Client) => {
7
7
  headers?: {
8
8
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
9
9
  } | undefined;
10
+ queryParameters?: {
11
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
12
+ planId?: string | undefined;
13
+ } | undefined;
10
14
  }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingKey[]>;
11
15
  /** Get a key of a customer. */
12
16
  customerGetKey: (conf: {
@@ -23,6 +27,8 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV2Client) => {
23
27
  keyId: string;
24
28
  models: string[];
25
29
  name: string;
30
+ planId: string;
31
+ profileId: string;
26
32
  projectId?: string | undefined;
27
33
  rateLimit: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingRateLimit;
28
34
  tokenUsage: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingTokenUsage;
@@ -34,31 +40,6 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV2Client) => {
34
40
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
35
41
  } | undefined;
36
42
  }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingCustomerDetailedModel[]>;
37
- /** Get ai hosting plan and usages of a customer. */
38
- customerGetUsage: (conf: {
39
- customerId: string;
40
- headers?: {
41
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
42
- } | undefined;
43
- queryParameters?: {
44
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
45
- topUsageCount?: number | undefined;
46
- } | undefined;
47
- }) => import("@mittwald/react-use-promise").AsyncResource<{
48
- customerId: string;
49
- deletedAt?: string | undefined;
50
- keys: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsage;
51
- modelTermsApprovalRequired: boolean;
52
- nextTokenReset: string;
53
- rateLimit: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingRateLimit;
54
- tokens: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsageBig;
55
- topUsages?: {
56
- keyId?: string;
57
- name: string;
58
- projectId?: string;
59
- tokenUsed: number;
60
- }[] | undefined;
61
- }>;
62
43
  /** Get a list of currently active models. */
63
44
  getModels: (conf?: {
64
45
  headers?: {
@@ -71,6 +52,10 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV2Client) => {
71
52
  headers?: {
72
53
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
73
54
  } | undefined;
55
+ queryParameters?: {
56
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
57
+ planId?: string | undefined;
58
+ } | undefined;
74
59
  }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingKey[]>;
75
60
  /** Get a key of a project. */
76
61
  projectGetKey: (conf: {
@@ -87,6 +72,8 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV2Client) => {
87
72
  keyId: string;
88
73
  models: string[];
89
74
  name: string;
75
+ planId: string;
76
+ profileId: string;
90
77
  projectId?: string | undefined;
91
78
  rateLimit: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingRateLimit;
92
79
  tokenUsage: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingTokenUsage;
@@ -98,18 +85,73 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV2Client) => {
98
85
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
99
86
  } | undefined;
100
87
  }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingProjectDetailedModel[]>;
101
- /** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
102
- projectGetUsage: (conf: {
88
+ /** Get ai hosting plan and usages of a customer by planId. */
89
+ customerGetPlan: (conf: {
90
+ customerId: string;
91
+ planId: string;
92
+ headers?: {
93
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
94
+ } | undefined;
95
+ queryParameters?: {
96
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
97
+ topUsageCount?: number | undefined;
98
+ } | undefined;
99
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
100
+ customerId: string;
101
+ deletedAt?: string | undefined;
102
+ description: string;
103
+ keys: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsage;
104
+ modelTermsApprovalRequired: boolean;
105
+ nextTokenReset: string;
106
+ planId: string;
107
+ rateLimit: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingRateLimit;
108
+ tokens: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsageBig;
109
+ topUsages?: {
110
+ keyId?: string;
111
+ name: string;
112
+ projectId?: string;
113
+ tokenUsed: number;
114
+ }[] | undefined;
115
+ }>;
116
+ /** Get all ai hosting plans of a customer. */
117
+ customerGetPlans: (conf: {
118
+ customerId: string;
119
+ headers?: {
120
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
121
+ } | undefined;
122
+ queryParameters?: {
123
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
124
+ topUsageCount?: number | undefined;
125
+ } | undefined;
126
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
127
+ modelTermsApprovalRequired: boolean;
128
+ plans: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingCustomerPlan[];
129
+ }>;
130
+ /** Get ai hosting plan and usages of a project by planId. */
131
+ projectGetPlan: (conf: {
103
132
  projectId: string;
133
+ planId: string;
104
134
  headers?: {
105
135
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
106
136
  } | undefined;
107
137
  }) => import("@mittwald/react-use-promise").AsyncResource<{
138
+ description?: string | undefined;
108
139
  keys: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsage;
109
140
  modelTermsApprovalRequired: boolean;
110
141
  nextTokenReset?: string | undefined;
142
+ planId: string;
111
143
  projectId: string;
112
144
  }>;
145
+ /** Get all ai hosting plans and usages of a project. */
146
+ projectGetPlans: (conf: {
147
+ projectId: string;
148
+ headers?: {
149
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
150
+ } | undefined;
151
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
152
+ modelTermsApprovalRequired: boolean;
153
+ plans: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingProjectPlan[];
154
+ }>;
113
155
  };
114
156
  declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
115
157
  /** Get the installed `SystemSoftware' for a specific `AppInstallation`. */
@@ -361,6 +403,17 @@ declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
361
403
  state: "running" | "stopped" | "exited";
362
404
  uptimeSeconds?: number | undefined;
363
405
  }>;
406
+ /** Get an analysis of the error of an AppInstallation. */
407
+ getAppinstallationErrorAnalysis: (conf: {
408
+ appInstallationId: string;
409
+ headers?: {
410
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
411
+ "x-access-token"?: string | undefined;
412
+ } | undefined;
413
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
414
+ recommendation?: string | undefined;
415
+ summary: string;
416
+ }>;
364
417
  };
365
418
  declare const buildArticleApi: (baseClient: MittwaldAPIV2Client) => {
366
419
  /** Get an Article. */
@@ -842,6 +895,18 @@ declare const buildContainerApi: (baseClient: MittwaldAPIV2Client) => {
842
895
  page?: number | undefined;
843
896
  } | undefined;
844
897
  }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerVolumeResponse[]>;
898
+ /** Get an analysis of the logs belonging to a Service. */
899
+ getServiceLogsAnalysis: (conf: {
900
+ stackId: string;
901
+ serviceId: string;
902
+ headers?: {
903
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
904
+ "x-access-token"?: string | undefined;
905
+ } | undefined;
906
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
907
+ recommendation?: string | undefined;
908
+ summary: string;
909
+ }>;
845
910
  };
846
911
  declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
847
912
  /** Return the BaseItem of the Contract with the given ID. */
@@ -1054,9 +1119,13 @@ declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
1054
1119
  } | undefined;
1055
1120
  queryParameters?: {
1056
1121
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1122
+ search?: string | undefined;
1123
+ baseArticleNames?: string[] | undefined;
1057
1124
  limit?: number | undefined;
1058
1125
  skip?: number | undefined;
1059
1126
  page?: number | undefined;
1127
+ sort?: "description" | "contractNumber" | undefined;
1128
+ order?: "asc" | "desc" | undefined;
1060
1129
  } | undefined;
1061
1130
  }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.ContractContract[]>;
1062
1131
  /** Get details of an Invoice. */
@@ -1865,6 +1934,7 @@ declare const buildCronjobApi: (baseClient: MittwaldAPIV2Client) => {
1865
1934
  }) => import("@mittwald/react-use-promise").AsyncResource<{
1866
1935
  message: string;
1867
1936
  recommendation?: string | undefined;
1937
+ summary: string;
1868
1938
  }>;
1869
1939
  /** Get a CronjobExecution. */
1870
1940
  getExecution: (conf: {