@mittwald/api-client 4.457.0 → 4.458.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.
@@ -15,6 +15,23 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV3NextClient) => {
15
15
  page?: number | undefined;
16
16
  } | undefined;
17
17
  }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingKey[]>;
18
+ /** Get all ai hosting plans of a customer. */
19
+ customerGetPlans: (conf: {
20
+ customerId: string;
21
+ headers?: {
22
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
23
+ } | undefined;
24
+ queryParameters?: {
25
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
26
+ topUsageCount?: number | undefined;
27
+ limit?: number | undefined;
28
+ skip?: number | undefined;
29
+ page?: number | undefined;
30
+ } | undefined;
31
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
32
+ modelTermsApprovalRequired: boolean;
33
+ plans: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingCustomerPlan[];
34
+ }>;
18
35
  /** Get a key of a customer. */
19
36
  customerGetKey: (conf: {
20
37
  customerId: string;
@@ -43,6 +60,34 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV3NextClient) => {
43
60
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
44
61
  } | undefined;
45
62
  }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingCustomerDetailedModel[]>;
63
+ /** Get ai hosting plan and usages of a customer by planId. */
64
+ customerGetPlan: (conf: {
65
+ customerId: string;
66
+ planId: string;
67
+ headers?: {
68
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
69
+ } | undefined;
70
+ queryParameters?: {
71
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
72
+ topUsageCount?: number | undefined;
73
+ } | undefined;
74
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
75
+ customerId: string;
76
+ deletedAt?: string | undefined;
77
+ description: string;
78
+ keys: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingPlanUsage;
79
+ modelTermsApprovalRequired: boolean;
80
+ nextTokenReset: string;
81
+ planId: string;
82
+ rateLimit: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingRateLimit;
83
+ tokens: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingPlanUsageBig;
84
+ topUsages?: {
85
+ keyId?: string;
86
+ name: string;
87
+ projectId?: string;
88
+ tokenUsed: number;
89
+ }[] | undefined;
90
+ }>;
46
91
  /** Get a list of currently active models. */
47
92
  getModels: (conf?: {
48
93
  headers?: {
@@ -91,51 +136,6 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV3NextClient) => {
91
136
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
92
137
  } | undefined;
93
138
  }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingProjectDetailedModel[]>;
94
- /** Get ai hosting plan and usages of a customer by planId. */
95
- customerGetPlan: (conf: {
96
- customerId: string;
97
- planId: string;
98
- headers?: {
99
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
100
- } | undefined;
101
- queryParameters?: {
102
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
103
- topUsageCount?: number | undefined;
104
- } | undefined;
105
- }) => import("@mittwald/react-use-promise").AsyncResource<{
106
- customerId: string;
107
- deletedAt?: string | undefined;
108
- description: string;
109
- keys: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingPlanUsage;
110
- modelTermsApprovalRequired: boolean;
111
- nextTokenReset: string;
112
- planId: string;
113
- rateLimit: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingRateLimit;
114
- tokens: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingPlanUsageBig;
115
- topUsages?: {
116
- keyId?: string;
117
- name: string;
118
- projectId?: string;
119
- tokenUsed: number;
120
- }[] | undefined;
121
- }>;
122
- /** Get all ai hosting plans of a customer. */
123
- customerGetPlans: (conf: {
124
- customerId: string;
125
- headers?: {
126
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
127
- } | undefined;
128
- queryParameters?: {
129
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
130
- topUsageCount?: number | undefined;
131
- limit?: number | undefined;
132
- skip?: number | undefined;
133
- page?: number | undefined;
134
- } | undefined;
135
- }) => import("@mittwald/react-use-promise").AsyncResource<{
136
- modelTermsApprovalRequired: boolean;
137
- plans: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingCustomerPlan[];
138
- }>;
139
139
  /** Get ai hosting plan and usages of a project by planId. */
140
140
  projectGetPlan: (conf: {
141
141
  projectId: string;
@@ -194,6 +194,17 @@ declare const buildAppApi: (baseClient: MittwaldAPIV3NextClient) => {
194
194
  name: string;
195
195
  tags: string[];
196
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
+ "x-access-token"?: string | undefined;
203
+ } | undefined;
204
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
205
+ recommendation?: string | undefined;
206
+ summary: string;
207
+ }>;
197
208
  /** Get an AppInstallation. */
198
209
  getAppinstallation: (conf: {
199
210
  appInstallationId: string;
@@ -418,17 +429,6 @@ declare const buildAppApi: (baseClient: MittwaldAPIV3NextClient) => {
418
429
  state: "running" | "stopped" | "exited";
419
430
  uptimeSeconds?: number | undefined;
420
431
  }>;
421
- /** Get an analysis of the error of an AppInstallation. */
422
- getAppinstallationErrorAnalysis: (conf: {
423
- appInstallationId: string;
424
- headers?: {
425
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
426
- "x-access-token"?: string | undefined;
427
- } | undefined;
428
- }) => import("@mittwald/react-use-promise").AsyncResource<{
429
- recommendation?: string | undefined;
430
- summary: string;
431
- }>;
432
432
  };
433
433
  declare const buildArticleApi: (baseClient: MittwaldAPIV3NextClient) => {
434
434
  /** Get an Article. */
@@ -703,6 +703,18 @@ declare const buildContainerApi: (baseClient: MittwaldAPIV3NextClient) => {
703
703
  userId: number;
704
704
  volumes?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContainerContainerImageConfigVolume[] | undefined;
705
705
  }>;
706
+ /** Get an analysis of the logs belonging to a Service. */
707
+ getServiceLogsAnalysis: (conf: {
708
+ stackId: string;
709
+ serviceId: string;
710
+ headers?: {
711
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
712
+ "x-access-token"?: string | undefined;
713
+ } | undefined;
714
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
715
+ recommendation?: string | undefined;
716
+ summary: string;
717
+ }>;
706
718
  /** Get logs belonging to a Service. */
707
719
  getServiceLogs: (conf: {
708
720
  stackId: string;
@@ -910,18 +922,6 @@ declare const buildContainerApi: (baseClient: MittwaldAPIV3NextClient) => {
910
922
  page?: number | undefined;
911
923
  } | undefined;
912
924
  }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContainerVolumeResponse[]>;
913
- /** Get an analysis of the logs belonging to a Service. */
914
- getServiceLogsAnalysis: (conf: {
915
- stackId: string;
916
- serviceId: string;
917
- headers?: {
918
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
919
- "x-access-token"?: string | undefined;
920
- } | undefined;
921
- }) => import("@mittwald/react-use-promise").AsyncResource<{
922
- recommendation?: string | undefined;
923
- summary: string;
924
- }>;
925
925
  };
926
926
  declare const buildContractApi: (baseClient: MittwaldAPIV3NextClient) => {
927
927
  /** Return the BaseItem of the Contract with the given ID. */
@@ -2091,7 +2091,7 @@ declare const buildCustomerApi: (baseClient: MittwaldAPIV3NextClient) => {
2091
2091
  owner?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldCustomerContact | undefined;
2092
2092
  projectCount: number;
2093
2093
  vatId?: string | undefined;
2094
- vatIdValidationState?: "valid" | "invalid" | "pending" | "unspecified" | undefined;
2094
+ vatIdValidationState?: "valid" | "invalid" | "pending" | "unsupported" | "unspecified" | undefined;
2095
2095
  }>;
2096
2096
  /** Get a CustomerInvite by token. */
2097
2097
  getCustomerTokenInvite: (conf: {