@mittwald/api-client 0.0.0-development-18e7c84-20260901 → 0.0.0-development-4653f36-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.
@@ -72,34 +72,7 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV3NextClient) => {
72
72
  keys: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingPlanUsage;
73
73
  modelTermsApprovalRequired: boolean;
74
74
  nextTokenReset: string;
75
- planId?: string | undefined;
76
- rateLimit: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingRateLimit;
77
- tokens: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingPlanUsageBig;
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").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingPlanUsage;
100
- modelTermsApprovalRequired: boolean;
101
- nextTokenReset: string;
102
- planId?: string | undefined;
75
+ planId: string;
103
76
  rateLimit: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingRateLimit;
104
77
  tokens: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingPlanUsageBig;
105
78
  topUsages?: {
@@ -164,21 +137,19 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV3NextClient) => {
164
137
  modelTermsApprovalRequired: boolean;
165
138
  plans: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingProjectPlan[];
166
139
  }>;
167
- /** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
168
- projectGetUsage: (conf: {
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").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingPlanUsage;
180
150
  modelTermsApprovalRequired: boolean;
181
151
  nextTokenReset?: string | undefined;
152
+ planId: string;
182
153
  projectId: string;
183
154
  }>;
184
155
  };
@@ -220,6 +191,7 @@ declare const buildAppApi: (baseClient: MittwaldAPIV3NextClient) => {
220
191
  appId: string;
221
192
  appName: string;
222
193
  appVersion: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAppVersionStatus;
194
+ autoUpdatesActivated?: boolean | undefined;
223
195
  createdAt: string;
224
196
  customDocumentRoot?: string | undefined;
225
197
  deletionRequested?: boolean | undefined;
@@ -712,6 +684,8 @@ declare const buildContainerApi: (baseClient: MittwaldAPIV3NextClient) => {
712
684
  serviceId: string;
713
685
  headers?: {
714
686
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
687
+ Range?: string | undefined;
688
+ "If-Range"?: string | undefined;
715
689
  "x-access-token"?: string | undefined;
716
690
  } | undefined;
717
691
  queryParameters?: {
@@ -1123,9 +1097,13 @@ declare const buildContractApi: (baseClient: MittwaldAPIV3NextClient) => {
1123
1097
  } | undefined;
1124
1098
  queryParameters?: {
1125
1099
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1100
+ search?: string | undefined;
1101
+ baseArticleNames?: string[] | undefined;
1126
1102
  limit?: number | undefined;
1127
1103
  skip?: number | undefined;
1128
1104
  page?: number | undefined;
1105
+ sort?: "description" | "contractNumber" | undefined;
1106
+ order?: "asc" | "desc" | undefined;
1129
1107
  } | undefined;
1130
1108
  }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldContractContract[]>;
1131
1109
  /** Get details of an Invoice. */
@@ -1934,6 +1912,7 @@ declare const buildCronjobApi: (baseClient: MittwaldAPIV3NextClient) => {
1934
1912
  } | undefined;
1935
1913
  }) => import("@mittwald/react-use-promise").AsyncResource<{
1936
1914
  message: string;
1915
+ recommendation?: string | undefined;
1937
1916
  }>;
1938
1917
  /** Get a CronjobExecution. */
1939
1918
  getExecution: (conf: {
@@ -3854,6 +3833,8 @@ declare const buildProjectFileSystemApi: (baseClient: MittwaldAPIV3NextClient) =
3854
3833
  projectId: string;
3855
3834
  headers?: {
3856
3835
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
3836
+ Range?: string | undefined;
3837
+ "If-Range"?: string | undefined;
3857
3838
  "x-access-token"?: string | undefined;
3858
3839
  } | undefined;
3859
3840
  queryParameters?: {