@mittwald/api-client 4.458.0 → 4.459.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.
@@ -24,6 +24,10 @@ const buildAiHostingApi = (baseClient) => ({
24
24
  projectGetPlan: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetPlan, baseClient.aiHosting.projectGetPlan).getApiResource,
25
25
  /** Get all ai hosting plans and usages of a project. */
26
26
  projectGetPlans: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetPlans, baseClient.aiHosting.projectGetPlans).getApiResource,
27
+ /** List the contract months of an ai hosting plan. */
28
+ planGetBillingPeriods: new ApiCallAsyncResourceFactory(descriptors.aiHostingPlanGetBillingPeriods, baseClient.aiHosting.planGetBillingPeriods).getApiResource,
29
+ /** Get aggregated token usage statistics for an ai hosting plan of a customer. */
30
+ planGetUsageStats: new ApiCallAsyncResourceFactory(descriptors.aiHostingPlanGetUsageStats, baseClient.aiHosting.planGetUsageStats).getApiResource,
27
31
  });
28
32
  const buildAppApi = (baseClient) => ({
29
33
  /** Get the installed `SystemSoftware' for a specific `AppInstallation`. */
@@ -48,6 +48,10 @@ export class MittwaldAPIV2Client extends ApiClientBase {
48
48
  projectGetPlans: this.requestFunctionFactory(descriptors.aiHostingProjectGetPlans),
49
49
  /** Links a container with a project licence. */
50
50
  projectLinkContainer: this.requestFunctionFactory(descriptors.aiHostingProjectLinkContainer),
51
+ /** List the contract months of an ai hosting plan. */
52
+ planGetBillingPeriods: this.requestFunctionFactory(descriptors.aiHostingPlanGetBillingPeriods),
53
+ /** Get aggregated token usage statistics for an ai hosting plan of a customer. */
54
+ planGetUsageStats: this.requestFunctionFactory(descriptors.aiHostingPlanGetUsageStats),
51
55
  };
52
56
  /** The App API allows you to manage your apps within a project, and all the system softwares that are installed as dependencies. */
53
57
  app = {
@@ -2860,3 +2860,15 @@ export const verificationVerifyCompany = {
2860
2860
  method: "POST",
2861
2861
  operationId: "verification-verify-company",
2862
2862
  };
2863
+ /** List the contract months of an ai hosting plan. */
2864
+ export const aiHostingPlanGetBillingPeriods = {
2865
+ path: "/v2/customers/{customerId}/ai-hostings/{planId}/billing-periods",
2866
+ method: "GET",
2867
+ operationId: "ai-hosting-plan-get-billing-periods",
2868
+ };
2869
+ /** Get aggregated token usage statistics for an ai hosting plan of a customer. */
2870
+ export const aiHostingPlanGetUsageStats = {
2871
+ path: "/v2/customers/{customerId}/ai-hostings/{planId}/usage",
2872
+ method: "GET",
2873
+ operationId: "ai-hosting-plan-get-usage-stats",
2874
+ };
@@ -24,6 +24,10 @@ const buildAiHostingApi = (baseClient) => ({
24
24
  projectGetPlan: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetPlan, baseClient.aiHosting.projectGetPlan).getApiResource,
25
25
  /** Get all ai hosting plans and usages of a project. */
26
26
  projectGetPlans: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetPlans, baseClient.aiHosting.projectGetPlans).getApiResource,
27
+ /** List the contract months of an ai hosting plan. */
28
+ planGetBillingPeriods: new ApiCallAsyncResourceFactory(descriptors.aiHostingPlanGetBillingPeriods, baseClient.aiHosting.planGetBillingPeriods).getApiResource,
29
+ /** Get aggregated token usage statistics for an ai hosting plan of a customer. */
30
+ planGetUsageStats: new ApiCallAsyncResourceFactory(descriptors.aiHostingPlanGetUsageStats, baseClient.aiHosting.planGetUsageStats).getApiResource,
27
31
  });
28
32
  const buildAppApi = (baseClient) => ({
29
33
  /** Get the installed `SystemSoftware' for a specific `AppInstallation`. */
@@ -48,6 +48,10 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
48
48
  projectGetPlans: this.requestFunctionFactory(descriptors.aiHostingProjectGetPlans),
49
49
  /** Links a container with a project licence. */
50
50
  projectLinkContainer: this.requestFunctionFactory(descriptors.aiHostingProjectLinkContainer),
51
+ /** List the contract months of an ai hosting plan. */
52
+ planGetBillingPeriods: this.requestFunctionFactory(descriptors.aiHostingPlanGetBillingPeriods),
53
+ /** Get aggregated token usage statistics for an ai hosting plan of a customer. */
54
+ planGetUsageStats: this.requestFunctionFactory(descriptors.aiHostingPlanGetUsageStats),
51
55
  };
52
56
  /** The App API allows you to manage your apps within a project, and all the system softwares that are installed as dependencies. */
53
57
  app = {
@@ -2860,3 +2860,15 @@ export const verificationVerifyCompany = {
2860
2860
  method: "POST",
2861
2861
  operationId: "verification-verify-company",
2862
2862
  };
2863
+ /** List the contract months of an ai hosting plan. */
2864
+ export const aiHostingPlanGetBillingPeriods = {
2865
+ path: "/v3-next/customers/{customerId}/ai-hostings/{planId}/billing-periods",
2866
+ method: "GET",
2867
+ operationId: "ai-hosting-plan-get-billing-periods",
2868
+ };
2869
+ /** Get aggregated token usage statistics for an ai hosting plan of a customer. */
2870
+ export const aiHostingPlanGetUsageStats = {
2871
+ path: "/v3-next/customers/{customerId}/ai-hostings/{planId}/usage",
2872
+ method: "GET",
2873
+ operationId: "ai-hosting-plan-get-usage-stats",
2874
+ };
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '4.457.1';
1
+ export const MittwaldAPIClientVersion = '4.458.0';
@@ -167,6 +167,62 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV2Client) => {
167
167
  modelTermsApprovalRequired: boolean;
168
168
  plans: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingProjectPlan[];
169
169
  }>;
170
+ /** List the contract months of an ai hosting plan. */
171
+ planGetBillingPeriods: (conf: {
172
+ customerId: string;
173
+ planId: string;
174
+ headers?: {
175
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
176
+ } | undefined;
177
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
178
+ customerId: string;
179
+ nextTokenReset?: string | undefined;
180
+ periods: {
181
+ end: string;
182
+ isCurrent: boolean;
183
+ shortenedByUpgrade: boolean;
184
+ start: string;
185
+ tokenLimit: number;
186
+ }[];
187
+ planId: string;
188
+ }>;
189
+ /** Get aggregated token usage statistics for an ai hosting plan of a customer. */
190
+ planGetUsageStats: (conf: {
191
+ queryParameters: {
192
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
193
+ startDate: string;
194
+ endDate: string;
195
+ keyId?: string | undefined;
196
+ };
197
+ customerId: string;
198
+ planId: string;
199
+ headers?: {
200
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
201
+ } | undefined;
202
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
203
+ customerId: string;
204
+ daily: {
205
+ byKey: {
206
+ [k: string]: number;
207
+ };
208
+ date: string;
209
+ totalTokens: number;
210
+ }[];
211
+ keys: {
212
+ id: string;
213
+ name: string;
214
+ }[];
215
+ modelShare: {
216
+ model: string;
217
+ tokens: number;
218
+ }[];
219
+ planId: string;
220
+ timeframe: {
221
+ end: string;
222
+ start: string;
223
+ };
224
+ totalTokens: number;
225
+ }>;
170
226
  };
171
227
  declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
172
228
  /** Get the installed `SystemSoftware' for a specific `AppInstallation`. */
@@ -1317,6 +1317,180 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
1317
1317
  }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
1318
1318
  [x: string]: unknown;
1319
1319
  }, 429, "application/json">>>;
1320
+ /** List the contract months of an ai hosting plan. */
1321
+ planGetBillingPeriods: (request: {
1322
+ customerId: string;
1323
+ planId: string;
1324
+ headers?: {
1325
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1326
+ } | undefined;
1327
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
1328
+ headers?: Partial<{
1329
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
1330
+ }>;
1331
+ } & {
1332
+ pathParameters: {
1333
+ customerId: string;
1334
+ planId: string;
1335
+ };
1336
+ }, import("@mittwald/api-client-commons").Response<{
1337
+ customerId: string;
1338
+ nextTokenReset?: string | undefined;
1339
+ periods: {
1340
+ end: string;
1341
+ isCurrent: boolean;
1342
+ shortenedByUpgrade: boolean;
1343
+ start: string;
1344
+ tokenLimit: number;
1345
+ }[];
1346
+ planId: string;
1347
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
1348
+ [x: string]: unknown;
1349
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
1350
+ [x: string]: unknown;
1351
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
1352
+ [x: string]: unknown;
1353
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
1354
+ [x: string]: unknown;
1355
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
1356
+ headers?: Partial<{
1357
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
1358
+ }>;
1359
+ } & {
1360
+ pathParameters: {
1361
+ customerId: string;
1362
+ planId: string;
1363
+ };
1364
+ }, import("@mittwald/api-client-commons").Response<{
1365
+ customerId: string;
1366
+ nextTokenReset?: string | undefined;
1367
+ periods: {
1368
+ end: string;
1369
+ isCurrent: boolean;
1370
+ shortenedByUpgrade: boolean;
1371
+ start: string;
1372
+ tokenLimit: number;
1373
+ }[];
1374
+ planId: string;
1375
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
1376
+ [x: string]: unknown;
1377
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
1378
+ [x: string]: unknown;
1379
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
1380
+ [x: string]: unknown;
1381
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
1382
+ [x: string]: unknown;
1383
+ }, 429, "application/json">>>;
1384
+ /** Get aggregated token usage statistics for an ai hosting plan of a customer. */
1385
+ planGetUsageStats: (request: {
1386
+ queryParameters: {
1387
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1388
+ startDate: string;
1389
+ endDate: string;
1390
+ keyId?: string | undefined;
1391
+ };
1392
+ customerId: string;
1393
+ planId: string;
1394
+ headers?: {
1395
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1396
+ } | undefined;
1397
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
1398
+ headers?: Partial<{
1399
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
1400
+ }>;
1401
+ } & {
1402
+ pathParameters: {
1403
+ customerId: string;
1404
+ planId: string;
1405
+ };
1406
+ } & {
1407
+ queryParameters: {
1408
+ startDate: string;
1409
+ endDate: string;
1410
+ keyId?: string | undefined;
1411
+ } & Partial<{
1412
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
1413
+ }>;
1414
+ }, import("@mittwald/api-client-commons").Response<{
1415
+ customerId: string;
1416
+ daily: {
1417
+ byKey: {
1418
+ [k: string]: number;
1419
+ };
1420
+ date: string;
1421
+ totalTokens: number;
1422
+ }[];
1423
+ keys: {
1424
+ id: string;
1425
+ name: string;
1426
+ }[];
1427
+ modelShare: {
1428
+ model: string;
1429
+ tokens: number;
1430
+ }[];
1431
+ planId: string;
1432
+ timeframe: {
1433
+ end: string;
1434
+ start: string;
1435
+ };
1436
+ totalTokens: number;
1437
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
1438
+ [x: string]: unknown;
1439
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
1440
+ [x: string]: unknown;
1441
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
1442
+ [x: string]: unknown;
1443
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
1444
+ [x: string]: unknown;
1445
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
1446
+ headers?: Partial<{
1447
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
1448
+ }>;
1449
+ } & {
1450
+ pathParameters: {
1451
+ customerId: string;
1452
+ planId: string;
1453
+ };
1454
+ } & {
1455
+ queryParameters: {
1456
+ startDate: string;
1457
+ endDate: string;
1458
+ keyId?: string | undefined;
1459
+ } & Partial<{
1460
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
1461
+ }>;
1462
+ }, import("@mittwald/api-client-commons").Response<{
1463
+ customerId: string;
1464
+ daily: {
1465
+ byKey: {
1466
+ [k: string]: number;
1467
+ };
1468
+ date: string;
1469
+ totalTokens: number;
1470
+ }[];
1471
+ keys: {
1472
+ id: string;
1473
+ name: string;
1474
+ }[];
1475
+ modelShare: {
1476
+ model: string;
1477
+ tokens: number;
1478
+ }[];
1479
+ planId: string;
1480
+ timeframe: {
1481
+ end: string;
1482
+ start: string;
1483
+ };
1484
+ totalTokens: number;
1485
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
1486
+ [x: string]: unknown;
1487
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
1488
+ [x: string]: unknown;
1489
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
1490
+ [x: string]: unknown;
1491
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
1492
+ [x: string]: unknown;
1493
+ }, 429, "application/json">>>;
1320
1494
  };
1321
1495
  /** The App API allows you to manage your apps within a project, and all the system softwares that are installed as dependencies. */
1322
1496
  readonly app: {
@@ -957,3 +957,7 @@ export declare const verificationDetectPhishingEmail: OpenAPIOperation<RequestTy
957
957
  export declare const verificationVerifyAddress: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
958
958
  /** Check if a company exists. */
959
959
  export declare const verificationVerifyCompany: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Responses.$412.Content.Empty>, 412, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
960
+ /** List the contract months of an ai hosting plan. */
961
+ export declare const aiHostingPlanGetBillingPeriods: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAiHostingsPlanIdBillingPeriods.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAiHostingsPlanIdBillingPeriods.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAiHostingsPlanIdBillingPeriods.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAiHostingsPlanIdBillingPeriods.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAiHostingsPlanIdBillingPeriods.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAiHostingsPlanIdBillingPeriods.Get.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAiHostingsPlanIdBillingPeriods.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAiHostingsPlanIdBillingPeriods.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAiHostingsPlanIdBillingPeriods.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
962
+ /** Get aggregated token usage statistics for an ai hosting plan of a customer. */
963
+ export declare const aiHostingPlanGetUsageStats: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAiHostingsPlanIdUsage.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAiHostingsPlanIdUsage.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAiHostingsPlanIdUsage.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAiHostingsPlanIdUsage.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAiHostingsPlanIdUsage.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAiHostingsPlanIdUsage.Get.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAiHostingsPlanIdUsage.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAiHostingsPlanIdUsage.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2CustomersCustomerIdAiHostingsPlanIdUsage.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
@@ -1910,6 +1910,14 @@ export declare namespace MittwaldAPIV2 {
1910
1910
  type RequestData = InferredRequestData<typeof descriptors.verificationVerifyCompany>;
1911
1911
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.verificationVerifyCompany, TStatus>;
1912
1912
  }
1913
+ namespace AiHostingPlanGetBillingPeriods {
1914
+ type RequestData = InferredRequestData<typeof descriptors.aiHostingPlanGetBillingPeriods>;
1915
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.aiHostingPlanGetBillingPeriods, TStatus>;
1916
+ }
1917
+ namespace AiHostingPlanGetUsageStats {
1918
+ type RequestData = InferredRequestData<typeof descriptors.aiHostingPlanGetUsageStats>;
1919
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.aiHostingPlanGetUsageStats, TStatus>;
1920
+ }
1913
1921
  }
1914
1922
  namespace Components {
1915
1923
  namespace Schemas {
@@ -7238,6 +7246,57 @@ export declare namespace MittwaldAPIV2 {
7238
7246
  }
7239
7247
  type VerificationEmailOrigin = "IS_MITTWALD" | "IS_NOT_MITTWALD" | "COULD_BE_MITTWALD";
7240
7248
  type ContainerVolumeSortOrder = "nameAsc" | "nameDesc" | "storageAsc" | "storageDesc";
7249
+ interface AihostingPlanBillingPeriods {
7250
+ customerId: string;
7251
+ /**
7252
+ * End of the current period, i.e. when the token counter next resets.
7253
+ */
7254
+ nextTokenReset?: string;
7255
+ /**
7256
+ * Every contract month of the plan from its start up to the current one, anchored on the plan start date rather than the calendar.
7257
+ */
7258
+ periods: {
7259
+ end: string;
7260
+ isCurrent: boolean;
7261
+ /**
7262
+ * True when an upgrade cut this period short: the token counter is reset immediately on an upgrade, so the period ends there instead of on the regular grid. A downgrade does not do this - it takes effect at the next regular boundary.
7263
+ */
7264
+ shortenedByUpgrade: boolean;
7265
+ start: string;
7266
+ /**
7267
+ * The limit that applied during this period, which after a tariff change differs from the plan's current limit.
7268
+ */
7269
+ tokenLimit: number;
7270
+ }[];
7271
+ planId: string;
7272
+ }
7273
+ interface AihostingPlanUsageStats {
7274
+ customerId: string;
7275
+ daily: {
7276
+ byKey: {
7277
+ [k: string]: number;
7278
+ };
7279
+ date: string;
7280
+ totalTokens: number;
7281
+ }[];
7282
+ /**
7283
+ * Every licence of the plan, most used in the timeframe first. Includes licences deleted inside the timeframe, which still carry usage but are no longer returned by the keys endpoint. Ordered, so callers can key chart colours off the position.
7284
+ */
7285
+ keys: {
7286
+ id: string;
7287
+ name: string;
7288
+ }[];
7289
+ modelShare: {
7290
+ model: string;
7291
+ tokens: number;
7292
+ }[];
7293
+ planId: string;
7294
+ timeframe: {
7295
+ end: string;
7296
+ start: string;
7297
+ };
7298
+ totalTokens: number;
7299
+ }
7241
7300
  interface CommonsAddress {
7242
7301
  street: string;
7243
7302
  houseNumber: string;
@@ -32111,5 +32170,117 @@ export declare namespace MittwaldAPIV2 {
32111
32170
  }
32112
32171
  }
32113
32172
  }
32173
+ namespace V2CustomersCustomerIdAiHostingsPlanIdBillingPeriods {
32174
+ namespace Get {
32175
+ namespace Parameters {
32176
+ type Path = {
32177
+ customerId: string;
32178
+ planId: string;
32179
+ };
32180
+ type Header = {};
32181
+ type Query = {};
32182
+ }
32183
+ namespace Responses {
32184
+ namespace $200 {
32185
+ namespace Content {
32186
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.AihostingPlanBillingPeriods;
32187
+ }
32188
+ }
32189
+ namespace $400 {
32190
+ namespace Content {
32191
+ interface ApplicationJson {
32192
+ [k: string]: unknown;
32193
+ }
32194
+ }
32195
+ }
32196
+ namespace $403 {
32197
+ namespace Content {
32198
+ interface ApplicationJson {
32199
+ [k: string]: unknown;
32200
+ }
32201
+ }
32202
+ }
32203
+ namespace $404 {
32204
+ namespace Content {
32205
+ interface ApplicationJson {
32206
+ [k: string]: unknown;
32207
+ }
32208
+ }
32209
+ }
32210
+ namespace $429 {
32211
+ namespace Content {
32212
+ interface ApplicationJson {
32213
+ [k: string]: unknown;
32214
+ }
32215
+ }
32216
+ }
32217
+ namespace Default {
32218
+ namespace Content {
32219
+ interface ApplicationJson {
32220
+ [k: string]: unknown;
32221
+ }
32222
+ }
32223
+ }
32224
+ }
32225
+ }
32226
+ }
32227
+ namespace V2CustomersCustomerIdAiHostingsPlanIdUsage {
32228
+ namespace Get {
32229
+ namespace Parameters {
32230
+ type Path = {
32231
+ customerId: string;
32232
+ planId: string;
32233
+ };
32234
+ type Header = {};
32235
+ type Query = {
32236
+ startDate: string;
32237
+ endDate: string;
32238
+ keyId?: string;
32239
+ };
32240
+ }
32241
+ namespace Responses {
32242
+ namespace $200 {
32243
+ namespace Content {
32244
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.AihostingPlanUsageStats;
32245
+ }
32246
+ }
32247
+ namespace $400 {
32248
+ namespace Content {
32249
+ interface ApplicationJson {
32250
+ [k: string]: unknown;
32251
+ }
32252
+ }
32253
+ }
32254
+ namespace $403 {
32255
+ namespace Content {
32256
+ interface ApplicationJson {
32257
+ [k: string]: unknown;
32258
+ }
32259
+ }
32260
+ }
32261
+ namespace $404 {
32262
+ namespace Content {
32263
+ interface ApplicationJson {
32264
+ [k: string]: unknown;
32265
+ }
32266
+ }
32267
+ }
32268
+ namespace $429 {
32269
+ namespace Content {
32270
+ interface ApplicationJson {
32271
+ [k: string]: unknown;
32272
+ }
32273
+ }
32274
+ }
32275
+ namespace Default {
32276
+ namespace Content {
32277
+ interface ApplicationJson {
32278
+ [k: string]: unknown;
32279
+ }
32280
+ }
32281
+ }
32282
+ }
32283
+ }
32284
+ }
32114
32285
  }
32115
32286
  }
@@ -167,6 +167,62 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV3NextClient) => {
167
167
  modelTermsApprovalRequired: boolean;
168
168
  plans: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingProjectPlan[];
169
169
  }>;
170
+ /** List the contract months of an ai hosting plan. */
171
+ planGetBillingPeriods: (conf: {
172
+ customerId: string;
173
+ planId: string;
174
+ headers?: {
175
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
176
+ } | undefined;
177
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
178
+ customerId: string;
179
+ nextTokenReset?: string | undefined;
180
+ periods: {
181
+ end: string;
182
+ isCurrent: boolean;
183
+ shortenedByUpgrade: boolean;
184
+ start: string;
185
+ tokenLimit: number;
186
+ }[];
187
+ planId: string;
188
+ }>;
189
+ /** Get aggregated token usage statistics for an ai hosting plan of a customer. */
190
+ planGetUsageStats: (conf: {
191
+ queryParameters: {
192
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
193
+ startDate: string;
194
+ endDate: string;
195
+ keyId?: string | undefined;
196
+ };
197
+ customerId: string;
198
+ planId: string;
199
+ headers?: {
200
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
201
+ } | undefined;
202
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
203
+ customerId: string;
204
+ daily: {
205
+ byKey: {
206
+ [k: string]: number;
207
+ };
208
+ date: string;
209
+ totalTokens: number;
210
+ }[];
211
+ keys: {
212
+ id: string;
213
+ name: string;
214
+ }[];
215
+ modelShare: {
216
+ model: string;
217
+ tokens: number;
218
+ }[];
219
+ planId: string;
220
+ timeframe: {
221
+ end: string;
222
+ start: string;
223
+ };
224
+ totalTokens: number;
225
+ }>;
170
226
  };
171
227
  declare const buildAppApi: (baseClient: MittwaldAPIV3NextClient) => {
172
228
  /** Get the installed `SystemSoftware' for a specific `AppInstallation`. */
@@ -1317,6 +1317,180 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
1317
1317
  }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
1318
1318
  [x: string]: unknown;
1319
1319
  }, 429, "application/json">>>;
1320
+ /** List the contract months of an ai hosting plan. */
1321
+ planGetBillingPeriods: (request: {
1322
+ customerId: string;
1323
+ planId: string;
1324
+ headers?: {
1325
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1326
+ } | undefined;
1327
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
1328
+ headers?: Partial<{
1329
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
1330
+ }>;
1331
+ } & {
1332
+ pathParameters: {
1333
+ customerId: string;
1334
+ planId: string;
1335
+ };
1336
+ }, import("@mittwald/api-client-commons").Response<{
1337
+ customerId: string;
1338
+ nextTokenReset?: string | undefined;
1339
+ periods: {
1340
+ end: string;
1341
+ isCurrent: boolean;
1342
+ shortenedByUpgrade: boolean;
1343
+ start: string;
1344
+ tokenLimit: number;
1345
+ }[];
1346
+ planId: string;
1347
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
1348
+ [x: string]: unknown;
1349
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
1350
+ [x: string]: unknown;
1351
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
1352
+ [x: string]: unknown;
1353
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
1354
+ [x: string]: unknown;
1355
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
1356
+ headers?: Partial<{
1357
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
1358
+ }>;
1359
+ } & {
1360
+ pathParameters: {
1361
+ customerId: string;
1362
+ planId: string;
1363
+ };
1364
+ }, import("@mittwald/api-client-commons").Response<{
1365
+ customerId: string;
1366
+ nextTokenReset?: string | undefined;
1367
+ periods: {
1368
+ end: string;
1369
+ isCurrent: boolean;
1370
+ shortenedByUpgrade: boolean;
1371
+ start: string;
1372
+ tokenLimit: number;
1373
+ }[];
1374
+ planId: string;
1375
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
1376
+ [x: string]: unknown;
1377
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
1378
+ [x: string]: unknown;
1379
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
1380
+ [x: string]: unknown;
1381
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
1382
+ [x: string]: unknown;
1383
+ }, 429, "application/json">>>;
1384
+ /** Get aggregated token usage statistics for an ai hosting plan of a customer. */
1385
+ planGetUsageStats: (request: {
1386
+ queryParameters: {
1387
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1388
+ startDate: string;
1389
+ endDate: string;
1390
+ keyId?: string | undefined;
1391
+ };
1392
+ customerId: string;
1393
+ planId: string;
1394
+ headers?: {
1395
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1396
+ } | undefined;
1397
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
1398
+ headers?: Partial<{
1399
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
1400
+ }>;
1401
+ } & {
1402
+ pathParameters: {
1403
+ customerId: string;
1404
+ planId: string;
1405
+ };
1406
+ } & {
1407
+ queryParameters: {
1408
+ startDate: string;
1409
+ endDate: string;
1410
+ keyId?: string | undefined;
1411
+ } & Partial<{
1412
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
1413
+ }>;
1414
+ }, import("@mittwald/api-client-commons").Response<{
1415
+ customerId: string;
1416
+ daily: {
1417
+ byKey: {
1418
+ [k: string]: number;
1419
+ };
1420
+ date: string;
1421
+ totalTokens: number;
1422
+ }[];
1423
+ keys: {
1424
+ id: string;
1425
+ name: string;
1426
+ }[];
1427
+ modelShare: {
1428
+ model: string;
1429
+ tokens: number;
1430
+ }[];
1431
+ planId: string;
1432
+ timeframe: {
1433
+ end: string;
1434
+ start: string;
1435
+ };
1436
+ totalTokens: number;
1437
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
1438
+ [x: string]: unknown;
1439
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
1440
+ [x: string]: unknown;
1441
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
1442
+ [x: string]: unknown;
1443
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
1444
+ [x: string]: unknown;
1445
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
1446
+ headers?: Partial<{
1447
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
1448
+ }>;
1449
+ } & {
1450
+ pathParameters: {
1451
+ customerId: string;
1452
+ planId: string;
1453
+ };
1454
+ } & {
1455
+ queryParameters: {
1456
+ startDate: string;
1457
+ endDate: string;
1458
+ keyId?: string | undefined;
1459
+ } & Partial<{
1460
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
1461
+ }>;
1462
+ }, import("@mittwald/api-client-commons").Response<{
1463
+ customerId: string;
1464
+ daily: {
1465
+ byKey: {
1466
+ [k: string]: number;
1467
+ };
1468
+ date: string;
1469
+ totalTokens: number;
1470
+ }[];
1471
+ keys: {
1472
+ id: string;
1473
+ name: string;
1474
+ }[];
1475
+ modelShare: {
1476
+ model: string;
1477
+ tokens: number;
1478
+ }[];
1479
+ planId: string;
1480
+ timeframe: {
1481
+ end: string;
1482
+ start: string;
1483
+ };
1484
+ totalTokens: number;
1485
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
1486
+ [x: string]: unknown;
1487
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
1488
+ [x: string]: unknown;
1489
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
1490
+ [x: string]: unknown;
1491
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
1492
+ [x: string]: unknown;
1493
+ }, 429, "application/json">>>;
1320
1494
  };
1321
1495
  /** The App API allows you to manage your apps within a project, and all the system softwares that are installed as dependencies. */
1322
1496
  readonly app: {
@@ -957,3 +957,7 @@ export declare const verificationDetectPhishingEmail: OpenAPIOperation<RequestTy
957
957
  export declare const verificationVerifyAddress: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV3Next.Paths.V3NextActionsVerifyAddress.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV3Next.Paths.V3NextActionsVerifyAddress.Post.Parameters.Path>, Simplify<MittwaldAPIV3Next.Paths.V3NextActionsVerifyAddress.Post.Parameters.Query>, Simplify<MittwaldAPIV3Next.Paths.V3NextActionsVerifyAddress.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV3Next.Paths.V3NextActionsVerifyAddress.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextActionsVerifyAddress.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextActionsVerifyAddress.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
958
958
  /** Check if a company exists. */
959
959
  export declare const verificationVerifyCompany: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV3Next.Paths.V3NextActionsVerifyCompany.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV3Next.Paths.V3NextActionsVerifyCompany.Post.Parameters.Path>, Simplify<MittwaldAPIV3Next.Paths.V3NextActionsVerifyCompany.Post.Parameters.Query>, Simplify<MittwaldAPIV3Next.Paths.V3NextActionsVerifyCompany.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV3Next.Paths.V3NextActionsVerifyCompany.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextActionsVerifyCompany.Post.Responses.$412.Content.Empty>, 412, "empty"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextActionsVerifyCompany.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextActionsVerifyCompany.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
960
+ /** List the contract months of an ai hosting plan. */
961
+ export declare const aiHostingPlanGetBillingPeriods: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV3Next.Paths.V3NextCustomersCustomerIdAiHostingsPlanIdBillingPeriods.Get.Parameters.Path>, Simplify<MittwaldAPIV3Next.Paths.V3NextCustomersCustomerIdAiHostingsPlanIdBillingPeriods.Get.Parameters.Query>, Simplify<MittwaldAPIV3Next.Paths.V3NextCustomersCustomerIdAiHostingsPlanIdBillingPeriods.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV3Next.Paths.V3NextCustomersCustomerIdAiHostingsPlanIdBillingPeriods.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextCustomersCustomerIdAiHostingsPlanIdBillingPeriods.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextCustomersCustomerIdAiHostingsPlanIdBillingPeriods.Get.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextCustomersCustomerIdAiHostingsPlanIdBillingPeriods.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextCustomersCustomerIdAiHostingsPlanIdBillingPeriods.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextCustomersCustomerIdAiHostingsPlanIdBillingPeriods.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
962
+ /** Get aggregated token usage statistics for an ai hosting plan of a customer. */
963
+ export declare const aiHostingPlanGetUsageStats: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV3Next.Paths.V3NextCustomersCustomerIdAiHostingsPlanIdUsage.Get.Parameters.Path>, Simplify<MittwaldAPIV3Next.Paths.V3NextCustomersCustomerIdAiHostingsPlanIdUsage.Get.Parameters.Query>, Simplify<MittwaldAPIV3Next.Paths.V3NextCustomersCustomerIdAiHostingsPlanIdUsage.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV3Next.Paths.V3NextCustomersCustomerIdAiHostingsPlanIdUsage.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextCustomersCustomerIdAiHostingsPlanIdUsage.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextCustomersCustomerIdAiHostingsPlanIdUsage.Get.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextCustomersCustomerIdAiHostingsPlanIdUsage.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextCustomersCustomerIdAiHostingsPlanIdUsage.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV3Next.Paths.V3NextCustomersCustomerIdAiHostingsPlanIdUsage.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
@@ -1910,6 +1910,14 @@ export declare namespace MittwaldAPIV3Next {
1910
1910
  type RequestData = InferredRequestData<typeof descriptors.verificationVerifyCompany>;
1911
1911
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.verificationVerifyCompany, TStatus>;
1912
1912
  }
1913
+ namespace AiHostingPlanGetBillingPeriods {
1914
+ type RequestData = InferredRequestData<typeof descriptors.aiHostingPlanGetBillingPeriods>;
1915
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.aiHostingPlanGetBillingPeriods, TStatus>;
1916
+ }
1917
+ namespace AiHostingPlanGetUsageStats {
1918
+ type RequestData = InferredRequestData<typeof descriptors.aiHostingPlanGetUsageStats>;
1919
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.aiHostingPlanGetUsageStats, TStatus>;
1920
+ }
1913
1921
  }
1914
1922
  namespace Components {
1915
1923
  namespace Schemas {
@@ -7242,6 +7250,57 @@ export declare namespace MittwaldAPIV3Next {
7242
7250
  }
7243
7251
  type DeMittwaldVerificationEmailOrigin = "IS_MITTWALD" | "IS_NOT_MITTWALD" | "COULD_BE_MITTWALD";
7244
7252
  type DeMittwaldContainerVolumeSortOrder = "nameAsc" | "nameDesc" | "storageAsc" | "storageDesc";
7253
+ interface DeMittwaldAihostingPlanBillingPeriods {
7254
+ customerId: string;
7255
+ /**
7256
+ * End of the current period, i.e. when the token counter next resets.
7257
+ */
7258
+ nextTokenReset?: string;
7259
+ /**
7260
+ * Every contract month of the plan from its start up to the current one, anchored on the plan start date rather than the calendar.
7261
+ */
7262
+ periods: {
7263
+ end: string;
7264
+ isCurrent: boolean;
7265
+ /**
7266
+ * True when an upgrade cut this period short: the token counter is reset immediately on an upgrade, so the period ends there instead of on the regular grid. A downgrade does not do this - it takes effect at the next regular boundary.
7267
+ */
7268
+ shortenedByUpgrade: boolean;
7269
+ start: string;
7270
+ /**
7271
+ * The limit that applied during this period, which after a tariff change differs from the plan's current limit.
7272
+ */
7273
+ tokenLimit: number;
7274
+ }[];
7275
+ planId: string;
7276
+ }
7277
+ interface DeMittwaldAihostingPlanUsageStats {
7278
+ customerId: string;
7279
+ daily: {
7280
+ byKey: {
7281
+ [k: string]: number;
7282
+ };
7283
+ date: string;
7284
+ totalTokens: number;
7285
+ }[];
7286
+ /**
7287
+ * Every licence of the plan, most used in the timeframe first. Includes licences deleted inside the timeframe, which still carry usage but are no longer returned by the keys endpoint. Ordered, so callers can key chart colours off the position.
7288
+ */
7289
+ keys: {
7290
+ id: string;
7291
+ name: string;
7292
+ }[];
7293
+ modelShare: {
7294
+ model: string;
7295
+ tokens: number;
7296
+ }[];
7297
+ planId: string;
7298
+ timeframe: {
7299
+ end: string;
7300
+ start: string;
7301
+ };
7302
+ totalTokens: number;
7303
+ }
7245
7304
  interface DeMittwaldCommonsAddress {
7246
7305
  street: string;
7247
7306
  houseNumber: string;
@@ -32035,5 +32094,117 @@ export declare namespace MittwaldAPIV3Next {
32035
32094
  }
32036
32095
  }
32037
32096
  }
32097
+ namespace V3NextCustomersCustomerIdAiHostingsPlanIdBillingPeriods {
32098
+ namespace Get {
32099
+ namespace Parameters {
32100
+ type Path = {
32101
+ customerId: string;
32102
+ planId: string;
32103
+ };
32104
+ type Header = {};
32105
+ type Query = {};
32106
+ }
32107
+ namespace Responses {
32108
+ namespace $200 {
32109
+ namespace Content {
32110
+ type ApplicationJson = MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingPlanBillingPeriods;
32111
+ }
32112
+ }
32113
+ namespace $400 {
32114
+ namespace Content {
32115
+ interface ApplicationJson {
32116
+ [k: string]: unknown;
32117
+ }
32118
+ }
32119
+ }
32120
+ namespace $403 {
32121
+ namespace Content {
32122
+ interface ApplicationJson {
32123
+ [k: string]: unknown;
32124
+ }
32125
+ }
32126
+ }
32127
+ namespace $404 {
32128
+ namespace Content {
32129
+ interface ApplicationJson {
32130
+ [k: string]: unknown;
32131
+ }
32132
+ }
32133
+ }
32134
+ namespace $429 {
32135
+ namespace Content {
32136
+ interface ApplicationJson {
32137
+ [k: string]: unknown;
32138
+ }
32139
+ }
32140
+ }
32141
+ namespace Default {
32142
+ namespace Content {
32143
+ interface ApplicationJson {
32144
+ [k: string]: unknown;
32145
+ }
32146
+ }
32147
+ }
32148
+ }
32149
+ }
32150
+ }
32151
+ namespace V3NextCustomersCustomerIdAiHostingsPlanIdUsage {
32152
+ namespace Get {
32153
+ namespace Parameters {
32154
+ type Path = {
32155
+ customerId: string;
32156
+ planId: string;
32157
+ };
32158
+ type Header = {};
32159
+ type Query = {
32160
+ startDate: string;
32161
+ endDate: string;
32162
+ keyId?: string;
32163
+ };
32164
+ }
32165
+ namespace Responses {
32166
+ namespace $200 {
32167
+ namespace Content {
32168
+ type ApplicationJson = MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingPlanUsageStats;
32169
+ }
32170
+ }
32171
+ namespace $400 {
32172
+ namespace Content {
32173
+ interface ApplicationJson {
32174
+ [k: string]: unknown;
32175
+ }
32176
+ }
32177
+ }
32178
+ namespace $403 {
32179
+ namespace Content {
32180
+ interface ApplicationJson {
32181
+ [k: string]: unknown;
32182
+ }
32183
+ }
32184
+ }
32185
+ namespace $404 {
32186
+ namespace Content {
32187
+ interface ApplicationJson {
32188
+ [k: string]: unknown;
32189
+ }
32190
+ }
32191
+ }
32192
+ namespace $429 {
32193
+ namespace Content {
32194
+ interface ApplicationJson {
32195
+ [k: string]: unknown;
32196
+ }
32197
+ }
32198
+ }
32199
+ namespace Default {
32200
+ namespace Content {
32201
+ interface ApplicationJson {
32202
+ [k: string]: unknown;
32203
+ }
32204
+ }
32205
+ }
32206
+ }
32207
+ }
32208
+ }
32038
32209
  }
32039
32210
  }
@@ -1 +1 @@
1
- export declare const MittwaldAPIClientVersion = '4.457.1';
1
+ export declare const MittwaldAPIClientVersion = '4.458.0';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/api-client",
3
- "version": "4.458.0",
3
+ "version": "4.459.0",
4
4
  "author": "Mittwald CM Service GmbH & Co. KG <opensource@mittwald.de>",
5
5
  "type": "module",
6
6
  "description": "Auto-generated client for the mittwald API",
@@ -72,11 +72,11 @@
72
72
  "test:compile": "run tsc --noEmit"
73
73
  },
74
74
  "dependencies": {
75
- "@mittwald/api-client-commons": "^4.458.0",
75
+ "@mittwald/api-client-commons": "^4.459.0",
76
76
  "browser-or-node": "^3.0.0"
77
77
  },
78
78
  "devDependencies": {
79
- "@mittwald/api-code-generator": "^4.458.0",
79
+ "@mittwald/api-code-generator": "^4.459.0",
80
80
  "@mittwald/react-use-promise": "^4.2.3",
81
81
  "@types/node": "^22.18.11",
82
82
  "@types/react": "^18.3.26",
@@ -106,5 +106,5 @@
106
106
  "optional": true
107
107
  }
108
108
  },
109
- "gitHead": "3e20ca48dfd8b382b92b9f35c47755b53fe20595"
109
+ "gitHead": "a786ecfbe5c35ba24408c57632f20e2c28045f19"
110
110
  }