@mittwald/api-client 4.452.0 → 4.453.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.
@@ -47,6 +47,10 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
47
47
  headers?: {
48
48
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
49
49
  } | undefined;
50
+ queryParameters?: {
51
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
52
+ planId?: string | undefined;
53
+ } | undefined;
50
54
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
51
55
  headers?: Partial<{
52
56
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
@@ -55,6 +59,12 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
55
59
  pathParameters: {
56
60
  customerId: string;
57
61
  };
62
+ } & {
63
+ queryParameters: {
64
+ planId?: string | undefined;
65
+ } & Partial<{
66
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
67
+ }>;
58
68
  }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingKey[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
59
69
  [x: string]: unknown;
60
70
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
@@ -71,6 +81,12 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
71
81
  pathParameters: {
72
82
  customerId: string;
73
83
  };
84
+ } & {
85
+ queryParameters: {
86
+ planId?: string | undefined;
87
+ } & Partial<{
88
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
89
+ }>;
74
90
  }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingKey[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
75
91
  [x: string]: unknown;
76
92
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
@@ -84,6 +100,7 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
84
100
  customerCreateKey: (request: {
85
101
  data: {
86
102
  name: string;
103
+ planId: string;
87
104
  createWebuiContainer?: boolean | undefined;
88
105
  projectId?: string | undefined;
89
106
  };
@@ -95,6 +112,7 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
95
112
  data: {
96
113
  createWebuiContainer?: boolean | undefined;
97
114
  name: string;
115
+ planId: string;
98
116
  projectId?: string | undefined;
99
117
  };
100
118
  } & {
@@ -113,6 +131,8 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
113
131
  keyId: string;
114
132
  models: string[];
115
133
  name: string;
134
+ planId: string;
135
+ profileId: string;
116
136
  projectId?: string | undefined;
117
137
  rateLimit: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingRateLimit;
118
138
  tokenUsage: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingTokenUsage;
@@ -132,6 +152,7 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
132
152
  data: {
133
153
  createWebuiContainer?: boolean | undefined;
134
154
  name: string;
155
+ planId: string;
135
156
  projectId?: string | undefined;
136
157
  };
137
158
  } & {
@@ -150,6 +171,8 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
150
171
  keyId: string;
151
172
  models: string[];
152
173
  name: string;
174
+ planId: string;
175
+ profileId: string;
153
176
  projectId?: string | undefined;
154
177
  rateLimit: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingRateLimit;
155
178
  tokenUsage: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingTokenUsage;
@@ -190,6 +213,8 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
190
213
  keyId: string;
191
214
  models: string[];
192
215
  name: string;
216
+ planId: string;
217
+ profileId: string;
193
218
  projectId?: string | undefined;
194
219
  rateLimit: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingRateLimit;
195
220
  tokenUsage: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingTokenUsage;
@@ -218,6 +243,8 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
218
243
  keyId: string;
219
244
  models: string[];
220
245
  name: string;
246
+ planId: string;
247
+ profileId: string;
221
248
  projectId?: string | undefined;
222
249
  rateLimit: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingRateLimit;
223
250
  tokenUsage: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingTokenUsage;
@@ -265,6 +292,8 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
265
292
  keyId: string;
266
293
  models: string[];
267
294
  name: string;
295
+ planId: string;
296
+ profileId: string;
268
297
  projectId?: string | undefined;
269
298
  rateLimit: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingRateLimit;
270
299
  tokenUsage: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingTokenUsage;
@@ -303,6 +332,8 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
303
332
  keyId: string;
304
333
  models: string[];
305
334
  name: string;
335
+ planId: string;
336
+ profileId: string;
306
337
  projectId?: string | undefined;
307
338
  rateLimit: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingRateLimit;
308
339
  tokenUsage: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingTokenUsage;
@@ -408,89 +439,6 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
408
439
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
409
440
  [x: string]: unknown;
410
441
  }, 429, "application/json">>>;
411
- /** Get ai hosting plan and usages of a customer. */
412
- customerGetUsage: (request: {
413
- customerId: string;
414
- headers?: {
415
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
416
- } | undefined;
417
- queryParameters?: {
418
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
419
- topUsageCount?: number | undefined;
420
- } | undefined;
421
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
422
- headers?: Partial<{
423
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
424
- }>;
425
- } & {
426
- pathParameters: {
427
- customerId: string;
428
- };
429
- } & {
430
- queryParameters: {
431
- topUsageCount?: number | undefined;
432
- } & Partial<{
433
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
434
- }>;
435
- }, import("@mittwald/api-client-commons").Response<{
436
- customerId: string;
437
- deletedAt?: string | undefined;
438
- keys: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingPlanUsage;
439
- modelTermsApprovalRequired: boolean;
440
- nextTokenReset: string;
441
- rateLimit: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingRateLimit;
442
- tokens: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingPlanUsageBig;
443
- topUsages?: {
444
- keyId?: string;
445
- name: string;
446
- projectId?: string;
447
- tokenUsed: number;
448
- }[] | undefined;
449
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
450
- [x: string]: unknown;
451
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
452
- [x: string]: unknown;
453
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
454
- [x: string]: unknown;
455
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
456
- [x: string]: unknown;
457
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
458
- headers?: Partial<{
459
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
460
- }>;
461
- } & {
462
- pathParameters: {
463
- customerId: string;
464
- };
465
- } & {
466
- queryParameters: {
467
- topUsageCount?: number | undefined;
468
- } & Partial<{
469
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
470
- }>;
471
- }, import("@mittwald/api-client-commons").Response<{
472
- customerId: string;
473
- deletedAt?: string | undefined;
474
- keys: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingPlanUsage;
475
- modelTermsApprovalRequired: boolean;
476
- nextTokenReset: string;
477
- rateLimit: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingRateLimit;
478
- tokens: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingPlanUsageBig;
479
- topUsages?: {
480
- keyId?: string;
481
- name: string;
482
- projectId?: string;
483
- tokenUsed: number;
484
- }[] | undefined;
485
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
486
- [x: string]: unknown;
487
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
488
- [x: string]: unknown;
489
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
490
- [x: string]: unknown;
491
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
492
- [x: string]: unknown;
493
- }, 429, "application/json">>>;
494
442
  /** Get a list of currently active models. */
495
443
  getModels: (request?: {
496
444
  headers?: {
@@ -527,6 +475,10 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
527
475
  headers?: {
528
476
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
529
477
  } | undefined;
478
+ queryParameters?: {
479
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
480
+ planId?: string | undefined;
481
+ } | undefined;
530
482
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
531
483
  headers?: Partial<{
532
484
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
@@ -535,6 +487,12 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
535
487
  pathParameters: {
536
488
  projectId: string;
537
489
  };
490
+ } & {
491
+ queryParameters: {
492
+ planId?: string | undefined;
493
+ } & Partial<{
494
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
495
+ }>;
538
496
  }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingKey[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
539
497
  [x: string]: unknown;
540
498
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
@@ -551,6 +509,12 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
551
509
  pathParameters: {
552
510
  projectId: string;
553
511
  };
512
+ } & {
513
+ queryParameters: {
514
+ planId?: string | undefined;
515
+ } & Partial<{
516
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
517
+ }>;
554
518
  }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingKey[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
555
519
  [x: string]: unknown;
556
520
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
@@ -564,6 +528,7 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
564
528
  projectCreateKey: (request: {
565
529
  data: {
566
530
  name: string;
531
+ planId: string;
567
532
  createWebuiContainer?: boolean | undefined;
568
533
  };
569
534
  projectId: string;
@@ -574,6 +539,7 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
574
539
  data: {
575
540
  createWebuiContainer?: boolean | undefined;
576
541
  name: string;
542
+ planId: string;
577
543
  };
578
544
  } & {
579
545
  pathParameters: {
@@ -591,6 +557,8 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
591
557
  keyId: string;
592
558
  models: string[];
593
559
  name: string;
560
+ planId: string;
561
+ profileId: string;
594
562
  projectId?: string | undefined;
595
563
  rateLimit: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingRateLimit;
596
564
  tokenUsage: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingTokenUsage;
@@ -610,6 +578,7 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
610
578
  data: {
611
579
  createWebuiContainer?: boolean | undefined;
612
580
  name: string;
581
+ planId: string;
613
582
  };
614
583
  } & {
615
584
  pathParameters: {
@@ -627,6 +596,8 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
627
596
  keyId: string;
628
597
  models: string[];
629
598
  name: string;
599
+ planId: string;
600
+ profileId: string;
630
601
  projectId?: string | undefined;
631
602
  rateLimit: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingRateLimit;
632
603
  tokenUsage: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingTokenUsage;
@@ -667,6 +638,8 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
667
638
  keyId: string;
668
639
  models: string[];
669
640
  name: string;
641
+ planId: string;
642
+ profileId: string;
670
643
  projectId?: string | undefined;
671
644
  rateLimit: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingRateLimit;
672
645
  tokenUsage: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingTokenUsage;
@@ -695,6 +668,8 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
695
668
  keyId: string;
696
669
  models: string[];
697
670
  name: string;
671
+ planId: string;
672
+ profileId: string;
698
673
  projectId?: string | undefined;
699
674
  rateLimit: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingRateLimit;
700
675
  tokenUsage: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingTokenUsage;
@@ -740,6 +715,8 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
740
715
  keyId: string;
741
716
  models: string[];
742
717
  name: string;
718
+ planId: string;
719
+ profileId: string;
743
720
  projectId?: string | undefined;
744
721
  rateLimit: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingRateLimit;
745
722
  tokenUsage: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingTokenUsage;
@@ -777,6 +754,8 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
777
754
  keyId: string;
778
755
  models: string[];
779
756
  name: string;
757
+ planId: string;
758
+ profileId: string;
780
759
  projectId?: string | undefined;
781
760
  rateLimit: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingRateLimit;
782
761
  tokenUsage: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingTokenUsage;
@@ -882,25 +861,111 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
882
861
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
883
862
  [x: string]: unknown;
884
863
  }, 429, "application/json">>>;
885
- /** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
886
- projectGetUsage: (request: {
864
+ /** Links a container with a project licence. */
865
+ projectLinkContainer: (request: {
866
+ data: {
867
+ containerId: string;
868
+ ingressId: string;
869
+ stackId: string;
870
+ };
887
871
  projectId: string;
872
+ keyId: string;
888
873
  headers?: {
889
874
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
890
875
  } | undefined;
891
876
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
877
+ data: {
878
+ containerId: string;
879
+ ingressId: string;
880
+ stackId: string;
881
+ };
882
+ } & {
883
+ pathParameters: {
884
+ projectId: string;
885
+ keyId: string;
886
+ };
887
+ } & {
892
888
  headers?: Partial<{
893
889
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
894
890
  }>;
891
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
892
+ [x: string]: unknown;
893
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
894
+ [x: string]: unknown;
895
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
896
+ [x: string]: unknown;
897
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
898
+ [x: string]: unknown;
899
+ }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
900
+ [x: string]: unknown;
901
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
902
+ data: {
903
+ containerId: string;
904
+ ingressId: string;
905
+ stackId: string;
906
+ };
895
907
  } & {
896
908
  pathParameters: {
897
909
  projectId: string;
910
+ keyId: string;
911
+ };
912
+ } & {
913
+ headers?: Partial<{
914
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
915
+ }>;
916
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
917
+ [x: string]: unknown;
918
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
919
+ [x: string]: unknown;
920
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
921
+ [x: string]: unknown;
922
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
923
+ [x: string]: unknown;
924
+ }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
925
+ [x: string]: unknown;
926
+ }, 429, "application/json">>>;
927
+ /** Get ai hosting plan and usages of a customer by planId. */
928
+ customerGetPlan: (request: {
929
+ customerId: string;
930
+ planId: string;
931
+ headers?: {
932
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
933
+ } | undefined;
934
+ queryParameters?: {
935
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
936
+ topUsageCount?: number | undefined;
937
+ } | undefined;
938
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
939
+ headers?: Partial<{
940
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
941
+ }>;
942
+ } & {
943
+ pathParameters: {
944
+ customerId: string;
945
+ planId: string;
898
946
  };
947
+ } & {
948
+ queryParameters: {
949
+ topUsageCount?: number | undefined;
950
+ } & Partial<{
951
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
952
+ }>;
899
953
  }, import("@mittwald/api-client-commons").Response<{
954
+ customerId: string;
955
+ deletedAt?: string | undefined;
956
+ description: string;
900
957
  keys: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingPlanUsage;
901
958
  modelTermsApprovalRequired: boolean;
902
- nextTokenReset?: string | undefined;
903
- projectId: string;
959
+ nextTokenReset: string;
960
+ planId: string;
961
+ rateLimit: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingRateLimit;
962
+ tokens: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingPlanUsageBig;
963
+ topUsages?: {
964
+ keyId?: string;
965
+ name: string;
966
+ projectId?: string;
967
+ tokenUsed: number;
968
+ }[] | undefined;
904
969
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
905
970
  [x: string]: unknown;
906
971
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
@@ -915,13 +980,31 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
915
980
  }>;
916
981
  } & {
917
982
  pathParameters: {
918
- projectId: string;
983
+ customerId: string;
984
+ planId: string;
919
985
  };
986
+ } & {
987
+ queryParameters: {
988
+ topUsageCount?: number | undefined;
989
+ } & Partial<{
990
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
991
+ }>;
920
992
  }, import("@mittwald/api-client-commons").Response<{
993
+ customerId: string;
994
+ deletedAt?: string | undefined;
995
+ description: string;
921
996
  keys: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingPlanUsage;
922
997
  modelTermsApprovalRequired: boolean;
923
- nextTokenReset?: string | undefined;
924
- projectId: string;
998
+ nextTokenReset: string;
999
+ planId: string;
1000
+ rateLimit: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingRateLimit;
1001
+ tokens: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingPlanUsageBig;
1002
+ topUsages?: {
1003
+ keyId?: string;
1004
+ name: string;
1005
+ projectId?: string;
1006
+ tokenUsed: number;
1007
+ }[] | undefined;
925
1008
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
926
1009
  [x: string]: unknown;
927
1010
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
@@ -931,28 +1014,24 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
931
1014
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
932
1015
  [x: string]: unknown;
933
1016
  }, 429, "application/json">>>;
934
- /** Links a container with a project licence. */
935
- projectLinkContainer: (request: {
936
- data: {
937
- containerId: string;
938
- ingressId: string;
939
- stackId: string;
940
- };
941
- projectId: string;
942
- keyId: string;
1017
+ /** Renames an AI hosting plan. */
1018
+ customerUpdatePlan: (request: {
1019
+ customerId: string;
1020
+ planId: string;
1021
+ data?: {
1022
+ description?: string | undefined;
1023
+ } | undefined;
943
1024
  headers?: {
944
1025
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
945
1026
  } | undefined;
946
1027
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
947
1028
  data: {
948
- containerId: string;
949
- ingressId: string;
950
- stackId: string;
1029
+ description?: string | undefined;
951
1030
  };
952
1031
  } & {
953
1032
  pathParameters: {
954
- projectId: string;
955
- keyId: string;
1033
+ customerId: string;
1034
+ planId: string;
956
1035
  };
957
1036
  } & {
958
1037
  headers?: Partial<{
@@ -966,18 +1045,14 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
966
1045
  [x: string]: unknown;
967
1046
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
968
1047
  [x: string]: unknown;
969
- }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
970
- [x: string]: unknown;
971
1048
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
972
1049
  data: {
973
- containerId: string;
974
- ingressId: string;
975
- stackId: string;
1050
+ description?: string | undefined;
976
1051
  };
977
1052
  } & {
978
1053
  pathParameters: {
979
- projectId: string;
980
- keyId: string;
1054
+ customerId: string;
1055
+ planId: string;
981
1056
  };
982
1057
  } & {
983
1058
  headers?: Partial<{
@@ -991,7 +1066,206 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
991
1066
  [x: string]: unknown;
992
1067
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
993
1068
  [x: string]: unknown;
994
- }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
1069
+ }, 429, "application/json">>>;
1070
+ /** Get all ai hosting plans of a customer. */
1071
+ customerGetPlans: (request: {
1072
+ customerId: string;
1073
+ headers?: {
1074
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1075
+ } | undefined;
1076
+ queryParameters?: {
1077
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1078
+ topUsageCount?: number | undefined;
1079
+ } | undefined;
1080
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
1081
+ headers?: Partial<{
1082
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
1083
+ }>;
1084
+ } & {
1085
+ pathParameters: {
1086
+ customerId: string;
1087
+ };
1088
+ } & {
1089
+ queryParameters: {
1090
+ topUsageCount?: number | undefined;
1091
+ } & Partial<{
1092
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
1093
+ }>;
1094
+ }, import("@mittwald/api-client-commons").Response<{
1095
+ modelTermsApprovalRequired: boolean;
1096
+ plans: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingCustomerPlan[];
1097
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
1098
+ [x: string]: unknown;
1099
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
1100
+ [x: string]: unknown;
1101
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
1102
+ [x: string]: unknown;
1103
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
1104
+ [x: string]: unknown;
1105
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
1106
+ headers?: Partial<{
1107
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
1108
+ }>;
1109
+ } & {
1110
+ pathParameters: {
1111
+ customerId: string;
1112
+ };
1113
+ } & {
1114
+ queryParameters: {
1115
+ topUsageCount?: number | undefined;
1116
+ } & Partial<{
1117
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
1118
+ }>;
1119
+ }, import("@mittwald/api-client-commons").Response<{
1120
+ modelTermsApprovalRequired: boolean;
1121
+ plans: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingCustomerPlan[];
1122
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
1123
+ [x: string]: unknown;
1124
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
1125
+ [x: string]: unknown;
1126
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
1127
+ [x: string]: unknown;
1128
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
1129
+ [x: string]: unknown;
1130
+ }, 429, "application/json">>>;
1131
+ /** Creates an AI hosting profile and accepts the current model terms. */
1132
+ customerDeclareProfile: (request: {
1133
+ customerId: string;
1134
+ headers?: {
1135
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1136
+ } | undefined;
1137
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
1138
+ headers?: Partial<{
1139
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
1140
+ }>;
1141
+ } & {
1142
+ pathParameters: {
1143
+ customerId: string;
1144
+ };
1145
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
1146
+ [x: string]: unknown;
1147
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
1148
+ [x: string]: unknown;
1149
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
1150
+ [x: string]: unknown;
1151
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
1152
+ [x: string]: unknown;
1153
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
1154
+ headers?: Partial<{
1155
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
1156
+ }>;
1157
+ } & {
1158
+ pathParameters: {
1159
+ customerId: string;
1160
+ };
1161
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
1162
+ [x: string]: unknown;
1163
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
1164
+ [x: string]: unknown;
1165
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
1166
+ [x: string]: unknown;
1167
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
1168
+ [x: string]: unknown;
1169
+ }, 429, "application/json">>>;
1170
+ /** Get ai hosting plan and usages of a project by planId. */
1171
+ projectGetPlan: (request: {
1172
+ projectId: string;
1173
+ planId: string;
1174
+ headers?: {
1175
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1176
+ } | undefined;
1177
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
1178
+ headers?: Partial<{
1179
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
1180
+ }>;
1181
+ } & {
1182
+ pathParameters: {
1183
+ projectId: string;
1184
+ planId: string;
1185
+ };
1186
+ }, import("@mittwald/api-client-commons").Response<{
1187
+ description?: string | undefined;
1188
+ keys: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingPlanUsage;
1189
+ modelTermsApprovalRequired: boolean;
1190
+ nextTokenReset?: string | undefined;
1191
+ planId: string;
1192
+ projectId: string;
1193
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
1194
+ [x: string]: unknown;
1195
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
1196
+ [x: string]: unknown;
1197
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
1198
+ [x: string]: unknown;
1199
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
1200
+ [x: string]: unknown;
1201
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
1202
+ headers?: Partial<{
1203
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
1204
+ }>;
1205
+ } & {
1206
+ pathParameters: {
1207
+ projectId: string;
1208
+ planId: string;
1209
+ };
1210
+ }, import("@mittwald/api-client-commons").Response<{
1211
+ description?: string | undefined;
1212
+ keys: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingPlanUsage;
1213
+ modelTermsApprovalRequired: boolean;
1214
+ nextTokenReset?: string | undefined;
1215
+ planId: string;
1216
+ projectId: string;
1217
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
1218
+ [x: string]: unknown;
1219
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
1220
+ [x: string]: unknown;
1221
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
1222
+ [x: string]: unknown;
1223
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
1224
+ [x: string]: unknown;
1225
+ }, 429, "application/json">>>;
1226
+ /** Get all ai hosting plans and usages of a project. */
1227
+ projectGetPlans: (request: {
1228
+ projectId: string;
1229
+ headers?: {
1230
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1231
+ } | undefined;
1232
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
1233
+ headers?: Partial<{
1234
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
1235
+ }>;
1236
+ } & {
1237
+ pathParameters: {
1238
+ projectId: string;
1239
+ };
1240
+ }, import("@mittwald/api-client-commons").Response<{
1241
+ modelTermsApprovalRequired: boolean;
1242
+ plans: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingProjectPlan[];
1243
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
1244
+ [x: string]: unknown;
1245
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
1246
+ [x: string]: unknown;
1247
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
1248
+ [x: string]: unknown;
1249
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
1250
+ [x: string]: unknown;
1251
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
1252
+ headers?: Partial<{
1253
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
1254
+ }>;
1255
+ } & {
1256
+ pathParameters: {
1257
+ projectId: string;
1258
+ };
1259
+ }, import("@mittwald/api-client-commons").Response<{
1260
+ modelTermsApprovalRequired: boolean;
1261
+ plans: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldAihostingProjectPlan[];
1262
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
1263
+ [x: string]: unknown;
1264
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
1265
+ [x: string]: unknown;
1266
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
1267
+ [x: string]: unknown;
1268
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
995
1269
  [x: string]: unknown;
996
1270
  }, 429, "application/json">>>;
997
1271
  };
@@ -7251,9 +7525,13 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
7251
7525
  } | undefined;
7252
7526
  queryParameters?: {
7253
7527
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
7528
+ search?: string | undefined;
7529
+ baseArticleNames?: string[] | undefined;
7254
7530
  limit?: number | undefined;
7255
7531
  skip?: number | undefined;
7256
7532
  page?: number | undefined;
7533
+ sort?: "description" | "contractNumber" | undefined;
7534
+ order?: "asc" | "desc" | undefined;
7257
7535
  } | undefined;
7258
7536
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
7259
7537
  headers?: Partial<{
@@ -7265,9 +7543,13 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
7265
7543
  };
7266
7544
  } & {
7267
7545
  queryParameters: {
7546
+ search?: string | undefined;
7547
+ baseArticleNames?: string[] | undefined;
7268
7548
  limit?: number | undefined;
7269
7549
  skip?: number | undefined;
7270
7550
  page?: number | undefined;
7551
+ sort?: "description" | "contractNumber" | undefined;
7552
+ order?: "asc" | "desc" | undefined;
7271
7553
  } & Partial<{
7272
7554
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
7273
7555
  }>;
@@ -7293,9 +7575,13 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
7293
7575
  };
7294
7576
  } & {
7295
7577
  queryParameters: {
7578
+ search?: string | undefined;
7579
+ baseArticleNames?: string[] | undefined;
7296
7580
  limit?: number | undefined;
7297
7581
  skip?: number | undefined;
7298
7582
  page?: number | undefined;
7583
+ sort?: "description" | "contractNumber" | undefined;
7584
+ order?: "asc" | "desc" | undefined;
7299
7585
  } & Partial<{
7300
7586
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
7301
7587
  }>;
@@ -7858,6 +8144,7 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
7858
8144
  customerId: string;
7859
8145
  monthlyTokens: number;
7860
8146
  requestsPerMinute: number;
8147
+ name?: string | undefined;
7861
8148
  useFreeTrial?: boolean | undefined;
7862
8149
  } | {
7863
8150
  description: string;