@mittwald/api-client 0.0.0-development-6372ff8-20260818 → 0.0.0-development-18fc15b-20260819

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.
@@ -187,6 +187,45 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
187
187
  }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
188
188
  [x: string]: unknown;
189
189
  }, 429, "application/json">>>;
190
+ /** Creates an AI hosting profile and accepts the current model terms. */
191
+ customerDeclareProfile: (request: {
192
+ customerId: string;
193
+ headers?: {
194
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
195
+ } | undefined;
196
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
197
+ headers?: Partial<{
198
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
199
+ }>;
200
+ } & {
201
+ pathParameters: {
202
+ customerId: string;
203
+ };
204
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
205
+ [x: string]: unknown;
206
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
207
+ [x: string]: unknown;
208
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
209
+ [x: string]: unknown;
210
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
211
+ [x: string]: unknown;
212
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
213
+ headers?: Partial<{
214
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
215
+ }>;
216
+ } & {
217
+ pathParameters: {
218
+ customerId: string;
219
+ };
220
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
221
+ [x: string]: unknown;
222
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
223
+ [x: string]: unknown;
224
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
225
+ [x: string]: unknown;
226
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
227
+ [x: string]: unknown;
228
+ }, 429, "application/json">>>;
190
229
  /** Get a key of a customer. */
191
230
  customerGetKey: (request: {
192
231
  customerId: string;
@@ -433,6 +472,210 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
433
472
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
434
473
  [x: string]: unknown;
435
474
  }, 429, "application/json">>>;
475
+ /** Get ai hosting plan and usages of a customer by planId. */
476
+ customerGetPlan: (request: {
477
+ customerId: string;
478
+ planId: string;
479
+ headers?: {
480
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
481
+ } | undefined;
482
+ queryParameters?: {
483
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
484
+ topUsageCount?: number | undefined;
485
+ } | undefined;
486
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
487
+ headers?: Partial<{
488
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
489
+ }>;
490
+ } & {
491
+ pathParameters: {
492
+ customerId: string;
493
+ planId: string;
494
+ };
495
+ } & {
496
+ queryParameters: {
497
+ topUsageCount?: number | undefined;
498
+ } & Partial<{
499
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
500
+ }>;
501
+ }, import("@mittwald/api-client-commons").Response<{
502
+ customerId: string;
503
+ deletedAt?: string | undefined;
504
+ description: string;
505
+ keys: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsage;
506
+ modelTermsApprovalRequired: boolean;
507
+ nextTokenReset: string;
508
+ planId?: string | undefined;
509
+ rateLimit: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingRateLimit;
510
+ tokens: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsageBig;
511
+ topUsages?: {
512
+ keyId?: string;
513
+ name: string;
514
+ projectId?: string;
515
+ tokenUsed: number;
516
+ }[] | undefined;
517
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
518
+ [x: string]: unknown;
519
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
520
+ [x: string]: unknown;
521
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
522
+ [x: string]: unknown;
523
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
524
+ [x: string]: unknown;
525
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
526
+ headers?: Partial<{
527
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
528
+ }>;
529
+ } & {
530
+ pathParameters: {
531
+ customerId: string;
532
+ planId: string;
533
+ };
534
+ } & {
535
+ queryParameters: {
536
+ topUsageCount?: number | undefined;
537
+ } & Partial<{
538
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
539
+ }>;
540
+ }, import("@mittwald/api-client-commons").Response<{
541
+ customerId: string;
542
+ deletedAt?: string | undefined;
543
+ description: string;
544
+ keys: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsage;
545
+ modelTermsApprovalRequired: boolean;
546
+ nextTokenReset: string;
547
+ planId?: string | undefined;
548
+ rateLimit: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingRateLimit;
549
+ tokens: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsageBig;
550
+ topUsages?: {
551
+ keyId?: string;
552
+ name: string;
553
+ projectId?: string;
554
+ tokenUsed: number;
555
+ }[] | undefined;
556
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
557
+ [x: string]: unknown;
558
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
559
+ [x: string]: unknown;
560
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
561
+ [x: string]: unknown;
562
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
563
+ [x: string]: unknown;
564
+ }, 429, "application/json">>>;
565
+ /** Renames an AI hosting plan. */
566
+ customerUpdatePlan: (request: {
567
+ customerId: string;
568
+ planId: string;
569
+ data?: {
570
+ description?: string | undefined;
571
+ } | undefined;
572
+ headers?: {
573
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
574
+ } | undefined;
575
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
576
+ data: {
577
+ description?: string | undefined;
578
+ };
579
+ } & {
580
+ pathParameters: {
581
+ customerId: string;
582
+ planId: string;
583
+ };
584
+ } & {
585
+ headers?: Partial<{
586
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
587
+ }>;
588
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
589
+ [x: string]: unknown;
590
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
591
+ [x: string]: unknown;
592
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
593
+ [x: string]: unknown;
594
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
595
+ [x: string]: unknown;
596
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
597
+ data: {
598
+ description?: string | undefined;
599
+ };
600
+ } & {
601
+ pathParameters: {
602
+ customerId: string;
603
+ planId: string;
604
+ };
605
+ } & {
606
+ headers?: Partial<{
607
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
608
+ }>;
609
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
610
+ [x: string]: unknown;
611
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
612
+ [x: string]: unknown;
613
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
614
+ [x: string]: unknown;
615
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
616
+ [x: string]: unknown;
617
+ }, 429, "application/json">>>;
618
+ /** Get all ai hosting plans of a customer. */
619
+ customerGetPlans: (request: {
620
+ customerId: string;
621
+ headers?: {
622
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
623
+ } | undefined;
624
+ queryParameters?: {
625
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
626
+ topUsageCount?: number | undefined;
627
+ } | undefined;
628
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
629
+ headers?: Partial<{
630
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
631
+ }>;
632
+ } & {
633
+ pathParameters: {
634
+ customerId: string;
635
+ };
636
+ } & {
637
+ queryParameters: {
638
+ topUsageCount?: number | undefined;
639
+ } & Partial<{
640
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
641
+ }>;
642
+ }, import("@mittwald/api-client-commons").Response<{
643
+ modelTermsApprovalRequired: boolean;
644
+ plans: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanOptions[];
645
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
646
+ [x: string]: unknown;
647
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
648
+ [x: string]: unknown;
649
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
650
+ [x: string]: unknown;
651
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
652
+ [x: string]: unknown;
653
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
654
+ headers?: Partial<{
655
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
656
+ }>;
657
+ } & {
658
+ pathParameters: {
659
+ customerId: string;
660
+ };
661
+ } & {
662
+ queryParameters: {
663
+ topUsageCount?: number | undefined;
664
+ } & Partial<{
665
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
666
+ }>;
667
+ }, import("@mittwald/api-client-commons").Response<{
668
+ modelTermsApprovalRequired: boolean;
669
+ plans: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanOptions[];
670
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
671
+ [x: string]: unknown;
672
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
673
+ [x: string]: unknown;
674
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
675
+ [x: string]: unknown;
676
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
677
+ [x: string]: unknown;
678
+ }, 429, "application/json">>>;
436
679
  /** Get ai hosting plan and usages of a customer. Deprecated: use /ai-hostings/{planId} instead. */
437
680
  customerGetUsage: (request: {
438
681
  customerId: string;
@@ -903,134 +1146,15 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
903
1146
  headers?: {
904
1147
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
905
1148
  } | undefined;
906
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
907
- headers?: Partial<{
908
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
909
- }>;
910
- } & {
911
- pathParameters: {
912
- projectId: string;
913
- };
914
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingProjectDetailedModel[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
915
- [x: string]: unknown;
916
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
917
- [x: string]: unknown;
918
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
919
- [x: string]: unknown;
920
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
921
- [x: string]: unknown;
922
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
923
- headers?: Partial<{
924
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
925
- }>;
926
- } & {
927
- pathParameters: {
928
- projectId: string;
929
- };
930
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingProjectDetailedModel[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
931
- [x: string]: unknown;
932
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
933
- [x: string]: unknown;
934
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
935
- [x: string]: unknown;
936
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
937
- [x: string]: unknown;
938
- }, 429, "application/json">>>;
939
- /** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
940
- projectGetUsage: (request: {
941
- projectId: string;
942
- headers?: {
943
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
944
- } | undefined;
945
- queryParameters?: {
946
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
947
- planId?: string | undefined;
948
- } | undefined;
949
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
950
- headers?: Partial<{
951
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
952
- }>;
953
- } & {
954
- pathParameters: {
955
- projectId: string;
956
- };
957
- } & {
958
- queryParameters: {
959
- planId?: string | undefined;
960
- } & Partial<{
961
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
962
- }>;
963
- }, import("@mittwald/api-client-commons").Response<{
964
- description?: string | undefined;
965
- keys: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsage;
966
- modelTermsApprovalRequired: boolean;
967
- nextTokenReset?: string | undefined;
968
- projectId: string;
969
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
970
- [x: string]: unknown;
971
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
972
- [x: string]: unknown;
973
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
974
- [x: string]: unknown;
975
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
976
- [x: string]: unknown;
977
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
978
- headers?: Partial<{
979
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
980
- }>;
981
- } & {
982
- pathParameters: {
983
- projectId: string;
984
- };
985
- } & {
986
- queryParameters: {
987
- planId?: string | undefined;
988
- } & Partial<{
989
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
990
- }>;
991
- }, import("@mittwald/api-client-commons").Response<{
992
- description?: string | undefined;
993
- keys: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsage;
994
- modelTermsApprovalRequired: boolean;
995
- nextTokenReset?: string | undefined;
996
- projectId: string;
997
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
998
- [x: string]: unknown;
999
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
1000
- [x: string]: unknown;
1001
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
1002
- [x: string]: unknown;
1003
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
1004
- [x: string]: unknown;
1005
- }, 429, "application/json">>>;
1006
- /** Links a container with a project licence. */
1007
- projectLinkContainer: (request: {
1008
- data: {
1009
- containerId: string;
1010
- ingressId: string;
1011
- stackId: string;
1012
- };
1013
- projectId: string;
1014
- keyId: string;
1015
- headers?: {
1016
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1017
- } | undefined;
1018
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
1019
- data: {
1020
- containerId: string;
1021
- ingressId: string;
1022
- stackId: string;
1023
- };
1149
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
1150
+ headers?: Partial<{
1151
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
1152
+ }>;
1024
1153
  } & {
1025
1154
  pathParameters: {
1026
1155
  projectId: string;
1027
- keyId: string;
1028
1156
  };
1029
- } & {
1030
- headers?: Partial<{
1031
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
1032
- }>;
1033
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
1157
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingProjectDetailedModel[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
1034
1158
  [x: string]: unknown;
1035
1159
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
1036
1160
  [x: string]: unknown;
@@ -1038,24 +1162,15 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
1038
1162
  [x: string]: unknown;
1039
1163
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
1040
1164
  [x: string]: unknown;
1041
- }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
1042
- [x: string]: unknown;
1043
1165
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
1044
- data: {
1045
- containerId: string;
1046
- ingressId: string;
1047
- stackId: string;
1048
- };
1166
+ headers?: Partial<{
1167
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
1168
+ }>;
1049
1169
  } & {
1050
1170
  pathParameters: {
1051
1171
  projectId: string;
1052
- keyId: string;
1053
1172
  };
1054
- } & {
1055
- headers?: Partial<{
1056
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
1057
- }>;
1058
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
1173
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingProjectDetailedModel[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
1059
1174
  [x: string]: unknown;
1060
1175
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
1061
1176
  [x: string]: unknown;
@@ -1063,19 +1178,16 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
1063
1178
  [x: string]: unknown;
1064
1179
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
1065
1180
  [x: string]: unknown;
1066
- }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
1067
- [x: string]: unknown;
1068
1181
  }, 429, "application/json">>>;
1069
- /** Get ai hosting plan and usages of a customer by planId. */
1070
- customerGetPlan: (request: {
1071
- customerId: string;
1072
- planId: string;
1182
+ /** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
1183
+ projectGetUsage: (request: {
1184
+ projectId: string;
1073
1185
  headers?: {
1074
1186
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1075
1187
  } | undefined;
1076
1188
  queryParameters?: {
1077
1189
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1078
- topUsageCount?: number | undefined;
1190
+ planId?: string | undefined;
1079
1191
  } | undefined;
1080
1192
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
1081
1193
  headers?: Partial<{
@@ -1083,31 +1195,20 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
1083
1195
  }>;
1084
1196
  } & {
1085
1197
  pathParameters: {
1086
- customerId: string;
1087
- planId: string;
1198
+ projectId: string;
1088
1199
  };
1089
1200
  } & {
1090
1201
  queryParameters: {
1091
- topUsageCount?: number | undefined;
1202
+ planId?: string | undefined;
1092
1203
  } & Partial<{
1093
1204
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
1094
1205
  }>;
1095
1206
  }, import("@mittwald/api-client-commons").Response<{
1096
- customerId: string;
1097
- deletedAt?: string | undefined;
1098
- description: string;
1207
+ description?: string | undefined;
1099
1208
  keys: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsage;
1100
1209
  modelTermsApprovalRequired: boolean;
1101
- nextTokenReset: string;
1102
- planId?: string | undefined;
1103
- rateLimit: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingRateLimit;
1104
- tokens: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsageBig;
1105
- topUsages?: {
1106
- keyId?: string;
1107
- name: string;
1108
- projectId?: string;
1109
- tokenUsed: number;
1110
- }[] | undefined;
1210
+ nextTokenReset?: string | undefined;
1211
+ projectId: string;
1111
1212
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
1112
1213
  [x: string]: unknown;
1113
1214
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
@@ -1122,31 +1223,20 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
1122
1223
  }>;
1123
1224
  } & {
1124
1225
  pathParameters: {
1125
- customerId: string;
1126
- planId: string;
1226
+ projectId: string;
1127
1227
  };
1128
1228
  } & {
1129
1229
  queryParameters: {
1130
- topUsageCount?: number | undefined;
1230
+ planId?: string | undefined;
1131
1231
  } & Partial<{
1132
1232
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
1133
1233
  }>;
1134
1234
  }, import("@mittwald/api-client-commons").Response<{
1135
- customerId: string;
1136
- deletedAt?: string | undefined;
1137
- description: string;
1235
+ description?: string | undefined;
1138
1236
  keys: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsage;
1139
1237
  modelTermsApprovalRequired: boolean;
1140
- nextTokenReset: string;
1141
- planId?: string | undefined;
1142
- rateLimit: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingRateLimit;
1143
- tokens: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsageBig;
1144
- topUsages?: {
1145
- keyId?: string;
1146
- name: string;
1147
- projectId?: string;
1148
- tokenUsed: number;
1149
- }[] | undefined;
1238
+ nextTokenReset?: string | undefined;
1239
+ projectId: string;
1150
1240
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
1151
1241
  [x: string]: unknown;
1152
1242
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
@@ -1156,24 +1246,28 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
1156
1246
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
1157
1247
  [x: string]: unknown;
1158
1248
  }, 429, "application/json">>>;
1159
- /** Renames an AI hosting plan. */
1160
- customerUpdatePlan: (request: {
1161
- customerId: string;
1162
- planId: string;
1163
- data?: {
1164
- description?: string | undefined;
1165
- } | undefined;
1249
+ /** Links a container with a project licence. */
1250
+ projectLinkContainer: (request: {
1251
+ data: {
1252
+ containerId: string;
1253
+ ingressId: string;
1254
+ stackId: string;
1255
+ };
1256
+ projectId: string;
1257
+ keyId: string;
1166
1258
  headers?: {
1167
1259
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1168
1260
  } | undefined;
1169
1261
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
1170
1262
  data: {
1171
- description?: string | undefined;
1263
+ containerId: string;
1264
+ ingressId: string;
1265
+ stackId: string;
1172
1266
  };
1173
1267
  } & {
1174
1268
  pathParameters: {
1175
- customerId: string;
1176
- planId: string;
1269
+ projectId: string;
1270
+ keyId: string;
1177
1271
  };
1178
1272
  } & {
1179
1273
  headers?: Partial<{
@@ -1187,14 +1281,18 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
1187
1281
  [x: string]: unknown;
1188
1282
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
1189
1283
  [x: string]: unknown;
1284
+ }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
1285
+ [x: string]: unknown;
1190
1286
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
1191
1287
  data: {
1192
- description?: string | undefined;
1288
+ containerId: string;
1289
+ ingressId: string;
1290
+ stackId: string;
1193
1291
  };
1194
1292
  } & {
1195
1293
  pathParameters: {
1196
- customerId: string;
1197
- planId: string;
1294
+ projectId: string;
1295
+ keyId: string;
1198
1296
  };
1199
1297
  } & {
1200
1298
  headers?: Partial<{
@@ -1208,34 +1306,33 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
1208
1306
  [x: string]: unknown;
1209
1307
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
1210
1308
  [x: string]: unknown;
1309
+ }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
1310
+ [x: string]: unknown;
1211
1311
  }, 429, "application/json">>>;
1212
- /** Get all ai hosting plans of a customer. */
1213
- customerGetPlans: (request: {
1214
- customerId: string;
1312
+ /** Get all ai hosting plans and usages of a project. */
1313
+ projectGetPlans: (request: {
1314
+ projectId: string;
1215
1315
  headers?: {
1216
1316
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1217
1317
  } | undefined;
1218
- queryParameters?: {
1219
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1220
- topUsageCount?: number | undefined;
1221
- } | undefined;
1222
1318
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
1223
1319
  headers?: Partial<{
1224
1320
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
1225
1321
  }>;
1226
1322
  } & {
1227
1323
  pathParameters: {
1228
- customerId: string;
1324
+ projectId: string;
1229
1325
  };
1230
- } & {
1231
- queryParameters: {
1232
- topUsageCount?: number | undefined;
1233
- } & Partial<{
1234
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
1235
- }>;
1236
1326
  }, import("@mittwald/api-client-commons").Response<{
1237
1327
  modelTermsApprovalRequired: boolean;
1238
- plans: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanOptions[];
1328
+ plans: {
1329
+ description?: string;
1330
+ keys: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsage;
1331
+ modelTermsApprovalRequired: boolean;
1332
+ nextTokenReset?: string;
1333
+ planId: string;
1334
+ projectId: string;
1335
+ }[];
1239
1336
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
1240
1337
  [x: string]: unknown;
1241
1338
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
@@ -1250,17 +1347,18 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
1250
1347
  }>;
1251
1348
  } & {
1252
1349
  pathParameters: {
1253
- customerId: string;
1350
+ projectId: string;
1254
1351
  };
1255
- } & {
1256
- queryParameters: {
1257
- topUsageCount?: number | undefined;
1258
- } & Partial<{
1259
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
1260
- }>;
1261
1352
  }, import("@mittwald/api-client-commons").Response<{
1262
1353
  modelTermsApprovalRequired: boolean;
1263
- plans: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanOptions[];
1354
+ plans: {
1355
+ description?: string;
1356
+ keys: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsage;
1357
+ modelTermsApprovalRequired: boolean;
1358
+ nextTokenReset?: string;
1359
+ planId: string;
1360
+ projectId: string;
1361
+ }[];
1264
1362
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
1265
1363
  [x: string]: unknown;
1266
1364
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
@@ -1270,45 +1368,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
1270
1368
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
1271
1369
  [x: string]: unknown;
1272
1370
  }, 429, "application/json">>>;
1273
- /** Creates an AI hosting profile and accepts the current model terms. */
1274
- customerDeclareProfile: (request: {
1275
- customerId: string;
1276
- headers?: {
1277
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1278
- } | undefined;
1279
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
1280
- headers?: Partial<{
1281
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
1282
- }>;
1283
- } & {
1284
- pathParameters: {
1285
- customerId: string;
1286
- };
1287
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
1288
- [x: string]: unknown;
1289
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
1290
- [x: string]: unknown;
1291
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
1292
- [x: string]: unknown;
1293
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
1294
- [x: string]: unknown;
1295
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
1296
- headers?: Partial<{
1297
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
1298
- }>;
1299
- } & {
1300
- pathParameters: {
1301
- customerId: string;
1302
- };
1303
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
1304
- [x: string]: unknown;
1305
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
1306
- [x: string]: unknown;
1307
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
1308
- [x: string]: unknown;
1309
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
1310
- [x: string]: unknown;
1311
- }, 429, "application/json">>>;
1312
1371
  };
1313
1372
  /** The App API allows you to manage your apps within a project, and all the system softwares that are installed as dependencies. */
1314
1373
  readonly app: {
@@ -5462,7 +5521,78 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5462
5521
  [x: string]: unknown;
5463
5522
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
5464
5523
  [x: string]: unknown;
5465
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
5524
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
5525
+ [x: string]: unknown;
5526
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
5527
+ [x: string]: unknown;
5528
+ }, 500, "application/json">>>;
5529
+ /** List Services the executing user has access to. */
5530
+ listAccessibleServices: (request?: {
5531
+ headers?: {
5532
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
5533
+ "x-access-token"?: string | undefined;
5534
+ } | undefined;
5535
+ queryParameters?: {
5536
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
5537
+ searchTerm?: string | undefined;
5538
+ sortOrder?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerServiceSortOrder | undefined;
5539
+ limit?: number | undefined;
5540
+ skip?: number | undefined;
5541
+ page?: number | undefined;
5542
+ } | undefined;
5543
+ } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
5544
+ headers?: Partial<{
5545
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5546
+ }>;
5547
+ } & {
5548
+ queryParameters: {
5549
+ searchTerm?: string | undefined;
5550
+ sortOrder?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerServiceSortOrder | undefined;
5551
+ limit?: number | undefined;
5552
+ skip?: number | undefined;
5553
+ page?: number | undefined;
5554
+ } & Partial<{
5555
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5556
+ }>;
5557
+ } & {
5558
+ headers: {
5559
+ "x-access-token"?: string | undefined;
5560
+ } & Partial<{
5561
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5562
+ }>;
5563
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerServiceResponse[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
5564
+ [x: string]: unknown;
5565
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
5566
+ [x: string]: unknown;
5567
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
5568
+ [x: string]: unknown;
5569
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
5570
+ [x: string]: unknown;
5571
+ }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
5572
+ headers?: Partial<{
5573
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5574
+ }>;
5575
+ } & {
5576
+ queryParameters: {
5577
+ searchTerm?: string | undefined;
5578
+ sortOrder?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerServiceSortOrder | undefined;
5579
+ limit?: number | undefined;
5580
+ skip?: number | undefined;
5581
+ page?: number | undefined;
5582
+ } & Partial<{
5583
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5584
+ }>;
5585
+ } & {
5586
+ headers: {
5587
+ "x-access-token"?: string | undefined;
5588
+ } & Partial<{
5589
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5590
+ }>;
5591
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerServiceResponse[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
5592
+ [x: string]: unknown;
5593
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
5594
+ [x: string]: unknown;
5595
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
5466
5596
  [x: string]: unknown;
5467
5597
  }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
5468
5598
  [x: string]: unknown;
@@ -6251,77 +6381,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6251
6381
  }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
6252
6382
  [x: string]: unknown;
6253
6383
  }, 500, "application/json">>>;
6254
- /** List Services the executing user has access to. */
6255
- listAccessibleServices: (request?: {
6256
- headers?: {
6257
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
6258
- "x-access-token"?: string | undefined;
6259
- } | undefined;
6260
- queryParameters?: {
6261
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
6262
- searchTerm?: string | undefined;
6263
- sortOrder?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerServiceSortOrder | undefined;
6264
- limit?: number | undefined;
6265
- skip?: number | undefined;
6266
- page?: number | undefined;
6267
- } | undefined;
6268
- } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
6269
- headers?: Partial<{
6270
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6271
- }>;
6272
- } & {
6273
- queryParameters: {
6274
- searchTerm?: string | undefined;
6275
- sortOrder?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerServiceSortOrder | undefined;
6276
- limit?: number | undefined;
6277
- skip?: number | undefined;
6278
- page?: number | undefined;
6279
- } & Partial<{
6280
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6281
- }>;
6282
- } & {
6283
- headers: {
6284
- "x-access-token"?: string | undefined;
6285
- } & Partial<{
6286
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6287
- }>;
6288
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerServiceResponse[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
6289
- [x: string]: unknown;
6290
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
6291
- [x: string]: unknown;
6292
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
6293
- [x: string]: unknown;
6294
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
6295
- [x: string]: unknown;
6296
- }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
6297
- headers?: Partial<{
6298
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6299
- }>;
6300
- } & {
6301
- queryParameters: {
6302
- searchTerm?: string | undefined;
6303
- sortOrder?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerServiceSortOrder | undefined;
6304
- limit?: number | undefined;
6305
- skip?: number | undefined;
6306
- page?: number | undefined;
6307
- } & Partial<{
6308
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6309
- }>;
6310
- } & {
6311
- headers: {
6312
- "x-access-token"?: string | undefined;
6313
- } & Partial<{
6314
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6315
- }>;
6316
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerServiceResponse[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
6317
- [x: string]: unknown;
6318
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
6319
- [x: string]: unknown;
6320
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
6321
- [x: string]: unknown;
6322
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
6323
- [x: string]: unknown;
6324
- }, 500, "application/json">>>;
6325
6384
  };
6326
6385
  /** The contract API allows you to manage your contracts and orders */
6327
6386
  readonly contract: {
@@ -17852,6 +17911,172 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
17852
17911
  }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
17853
17912
  [x: string]: unknown;
17854
17913
  }, 429, "application/json">>>;
17914
+ /** Start a server-side DNS zone-file import for a Project. */
17915
+ dnsCreateDnsZoneFileImport: (request: {
17916
+ data: {
17917
+ zoneFile: string;
17918
+ };
17919
+ projectId: string;
17920
+ headers?: {
17921
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
17922
+ "x-access-token"?: string | undefined;
17923
+ } | undefined;
17924
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
17925
+ data: {
17926
+ zoneFile: string;
17927
+ };
17928
+ } & {
17929
+ pathParameters: {
17930
+ projectId: string;
17931
+ };
17932
+ } & {
17933
+ headers?: Partial<{
17934
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
17935
+ }>;
17936
+ } & {
17937
+ headers: {
17938
+ "x-access-token"?: string | undefined;
17939
+ } & Partial<{
17940
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
17941
+ }>;
17942
+ }, import("@mittwald/api-client-commons").Response<{
17943
+ id: string;
17944
+ }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
17945
+ [x: string]: unknown;
17946
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
17947
+ [x: string]: unknown;
17948
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
17949
+ data: {
17950
+ zoneFile: string;
17951
+ };
17952
+ } & {
17953
+ pathParameters: {
17954
+ projectId: string;
17955
+ };
17956
+ } & {
17957
+ headers?: Partial<{
17958
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
17959
+ }>;
17960
+ } & {
17961
+ headers: {
17962
+ "x-access-token"?: string | undefined;
17963
+ } & Partial<{
17964
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
17965
+ }>;
17966
+ }, import("@mittwald/api-client-commons").Response<{
17967
+ id: string;
17968
+ }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
17969
+ [x: string]: unknown;
17970
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
17971
+ [x: string]: unknown;
17972
+ }, 429, "application/json">>>;
17973
+ /** List DNSZones belonging to a Project. */
17974
+ dnsListDnsZones: (request: {
17975
+ projectId: string;
17976
+ headers?: {
17977
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
17978
+ "x-access-token"?: string | undefined;
17979
+ } | undefined;
17980
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
17981
+ headers?: Partial<{
17982
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
17983
+ }>;
17984
+ } & {
17985
+ pathParameters: {
17986
+ projectId: string;
17987
+ };
17988
+ } & {
17989
+ headers: {
17990
+ "x-access-token"?: string | undefined;
17991
+ } & Partial<{
17992
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
17993
+ }>;
17994
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.DnsZone[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
17995
+ [x: string]: unknown;
17996
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
17997
+ [x: string]: unknown;
17998
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
17999
+ headers?: Partial<{
18000
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18001
+ }>;
18002
+ } & {
18003
+ pathParameters: {
18004
+ projectId: string;
18005
+ };
18006
+ } & {
18007
+ headers: {
18008
+ "x-access-token"?: string | undefined;
18009
+ } & Partial<{
18010
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18011
+ }>;
18012
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.DnsZone[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
18013
+ [x: string]: unknown;
18014
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
18015
+ [x: string]: unknown;
18016
+ }, 429, "application/json">>>;
18017
+ /** Create a DNSZone for a domain in a Project. */
18018
+ dnsCreateProjectDnsZone: (request: {
18019
+ data: {
18020
+ name: string;
18021
+ };
18022
+ projectId: string;
18023
+ headers?: {
18024
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
18025
+ "x-access-token"?: string | undefined;
18026
+ } | undefined;
18027
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
18028
+ data: {
18029
+ name: string;
18030
+ };
18031
+ } & {
18032
+ pathParameters: {
18033
+ projectId: string;
18034
+ };
18035
+ } & {
18036
+ headers?: Partial<{
18037
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18038
+ }>;
18039
+ } & {
18040
+ headers: {
18041
+ "x-access-token"?: string | undefined;
18042
+ } & Partial<{
18043
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18044
+ }>;
18045
+ }, import("@mittwald/api-client-commons").Response<{
18046
+ id: string;
18047
+ }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
18048
+ [x: string]: unknown;
18049
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
18050
+ [x: string]: unknown;
18051
+ }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
18052
+ [x: string]: unknown;
18053
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
18054
+ data: {
18055
+ name: string;
18056
+ };
18057
+ } & {
18058
+ pathParameters: {
18059
+ projectId: string;
18060
+ };
18061
+ } & {
18062
+ headers?: Partial<{
18063
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18064
+ }>;
18065
+ } & {
18066
+ headers: {
18067
+ "x-access-token"?: string | undefined;
18068
+ } & Partial<{
18069
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18070
+ }>;
18071
+ }, import("@mittwald/api-client-commons").Response<{
18072
+ id: string;
18073
+ }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
18074
+ [x: string]: unknown;
18075
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
18076
+ [x: string]: unknown;
18077
+ }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
18078
+ [x: string]: unknown;
18079
+ }, 429, "application/json">>>;
17855
18080
  /** Get a DNSZone. */
17856
18081
  dnsGetDnsZone: (request: {
17857
18082
  dnsZoneId: string;
@@ -17962,9 +18187,9 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
17962
18187
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
17963
18188
  [x: string]: unknown;
17964
18189
  }, 429, "application/json">>>;
17965
- /** Get a zone file for a DNSZone. */
17966
- dnsGetZoneFile: (request: {
17967
- dnsZoneId: string;
18190
+ /** Get the status of a DNS zone-file import job. */
18191
+ dnsGetDnsZoneFileImport: (request: {
18192
+ zoneFileImportId: string;
17968
18193
  headers?: {
17969
18194
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
17970
18195
  "x-access-token"?: string | undefined;
@@ -17975,7 +18200,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
17975
18200
  }>;
17976
18201
  } & {
17977
18202
  pathParameters: {
17978
- dnsZoneId: string;
18203
+ zoneFileImportId: string;
17979
18204
  };
17980
18205
  } & {
17981
18206
  headers: {
@@ -17983,7 +18208,20 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
17983
18208
  } & Partial<{
17984
18209
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
17985
18210
  }>;
17986
- }, import("@mittwald/api-client-commons").Response<string, 200, "text/plain"> | import("@mittwald/api-client-commons").Response<{
18211
+ }, import("@mittwald/api-client-commons").Response<{
18212
+ failedZones?: {
18213
+ error?: string;
18214
+ name?: string;
18215
+ }[] | undefined;
18216
+ id?: string | undefined;
18217
+ importedZones?: string[] | undefined;
18218
+ projectId?: string | undefined;
18219
+ skippedZones?: {
18220
+ name?: string;
18221
+ reason?: string;
18222
+ }[] | undefined;
18223
+ status?: string | undefined;
18224
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
17987
18225
  [x: string]: unknown;
17988
18226
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
17989
18227
  [x: string]: unknown;
@@ -17993,7 +18231,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
17993
18231
  }>;
17994
18232
  } & {
17995
18233
  pathParameters: {
17996
- dnsZoneId: string;
18234
+ zoneFileImportId: string;
17997
18235
  };
17998
18236
  } & {
17999
18237
  headers: {
@@ -18001,14 +18239,27 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
18001
18239
  } & Partial<{
18002
18240
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18003
18241
  }>;
18004
- }, import("@mittwald/api-client-commons").Response<string, 200, "text/plain"> | import("@mittwald/api-client-commons").Response<{
18242
+ }, import("@mittwald/api-client-commons").Response<{
18243
+ failedZones?: {
18244
+ error?: string;
18245
+ name?: string;
18246
+ }[] | undefined;
18247
+ id?: string | undefined;
18248
+ importedZones?: string[] | undefined;
18249
+ projectId?: string | undefined;
18250
+ skippedZones?: {
18251
+ name?: string;
18252
+ reason?: string;
18253
+ }[] | undefined;
18254
+ status?: string | undefined;
18255
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
18005
18256
  [x: string]: unknown;
18006
18257
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
18007
18258
  [x: string]: unknown;
18008
18259
  }, 429, "application/json">>>;
18009
- /** List DNSZones belonging to a Project. */
18010
- dnsListDnsZones: (request: {
18011
- projectId: string;
18260
+ /** Get a zone file for a DNSZone. */
18261
+ dnsGetZoneFile: (request: {
18262
+ dnsZoneId: string;
18012
18263
  headers?: {
18013
18264
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
18014
18265
  "x-access-token"?: string | undefined;
@@ -18019,7 +18270,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
18019
18270
  }>;
18020
18271
  } & {
18021
18272
  pathParameters: {
18022
- projectId: string;
18273
+ dnsZoneId: string;
18023
18274
  };
18024
18275
  } & {
18025
18276
  headers: {
@@ -18027,7 +18278,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
18027
18278
  } & Partial<{
18028
18279
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18029
18280
  }>;
18030
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.DnsZone[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
18281
+ }, import("@mittwald/api-client-commons").Response<string, 200, "text/plain"> | import("@mittwald/api-client-commons").Response<{
18031
18282
  [x: string]: unknown;
18032
18283
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
18033
18284
  [x: string]: unknown;
@@ -18037,7 +18288,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
18037
18288
  }>;
18038
18289
  } & {
18039
18290
  pathParameters: {
18040
- projectId: string;
18291
+ dnsZoneId: string;
18041
18292
  };
18042
18293
  } & {
18043
18294
  headers: {
@@ -18045,15 +18296,15 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
18045
18296
  } & Partial<{
18046
18297
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18047
18298
  }>;
18048
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.DnsZone[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
18299
+ }, import("@mittwald/api-client-commons").Response<string, 200, "text/plain"> | import("@mittwald/api-client-commons").Response<{
18049
18300
  [x: string]: unknown;
18050
18301
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
18051
18302
  [x: string]: unknown;
18052
18303
  }, 429, "application/json">>>;
18053
- /** Create a DNSZone for a domain in a Project. */
18054
- dnsCreateProjectDnsZone: (request: {
18304
+ /** Preview a DNS zone-file import for a Project. */
18305
+ dnsPreviewProjectDnsZoneFileImport: (request: {
18055
18306
  data: {
18056
- name: string;
18307
+ zoneFile: string;
18057
18308
  };
18058
18309
  projectId: string;
18059
18310
  headers?: {
@@ -18062,7 +18313,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
18062
18313
  } | undefined;
18063
18314
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
18064
18315
  data: {
18065
- name: string;
18316
+ zoneFile: string;
18066
18317
  };
18067
18318
  } & {
18068
18319
  pathParameters: {
@@ -18079,16 +18330,15 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
18079
18330
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18080
18331
  }>;
18081
18332
  }, import("@mittwald/api-client-commons").Response<{
18082
- id: string;
18083
- }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
18333
+ diagnostics?: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsImportDiagnostic[] | undefined;
18334
+ zones?: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsZoneImportPreview[] | undefined;
18335
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
18084
18336
  [x: string]: unknown;
18085
18337
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
18086
18338
  [x: string]: unknown;
18087
- }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
18088
- [x: string]: unknown;
18089
18339
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
18090
18340
  data: {
18091
- name: string;
18341
+ zoneFile: string;
18092
18342
  };
18093
18343
  } & {
18094
18344
  pathParameters: {
@@ -18105,13 +18355,12 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
18105
18355
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18106
18356
  }>;
18107
18357
  }, import("@mittwald/api-client-commons").Response<{
18108
- id: string;
18109
- }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
18358
+ diagnostics?: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsImportDiagnostic[] | undefined;
18359
+ zones?: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsZoneImportPreview[] | undefined;
18360
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
18110
18361
  [x: string]: unknown;
18111
18362
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
18112
18363
  [x: string]: unknown;
18113
- }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
18114
- [x: string]: unknown;
18115
18364
  }, 429, "application/json">>>;
18116
18365
  /** Set a record set on a DNSZone to managed. */
18117
18366
  dnsSetRecordSetManaged: (request: {
@@ -20761,196 +21010,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
20761
21010
  }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
20762
21011
  [x: string]: unknown;
20763
21012
  }, 429, "application/json">>>;
20764
- /** Get the status of a DNS zone-file import job. */
20765
- dnsGetDnsZoneFileImport: (request: {
20766
- zoneFileImportId: string;
20767
- headers?: {
20768
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
20769
- "x-access-token"?: string | undefined;
20770
- } | undefined;
20771
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
20772
- headers?: Partial<{
20773
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
20774
- }>;
20775
- } & {
20776
- pathParameters: {
20777
- zoneFileImportId: string;
20778
- };
20779
- } & {
20780
- headers: {
20781
- "x-access-token"?: string | undefined;
20782
- } & Partial<{
20783
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
20784
- }>;
20785
- }, import("@mittwald/api-client-commons").Response<{
20786
- failedZones?: {
20787
- error?: string;
20788
- name?: string;
20789
- }[] | undefined;
20790
- id?: string | undefined;
20791
- importedZones?: string[] | undefined;
20792
- projectId?: string | undefined;
20793
- skippedZones?: {
20794
- name?: string;
20795
- reason?: string;
20796
- }[] | undefined;
20797
- status?: string | undefined;
20798
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
20799
- [x: string]: unknown;
20800
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
20801
- [x: string]: unknown;
20802
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
20803
- headers?: Partial<{
20804
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
20805
- }>;
20806
- } & {
20807
- pathParameters: {
20808
- zoneFileImportId: string;
20809
- };
20810
- } & {
20811
- headers: {
20812
- "x-access-token"?: string | undefined;
20813
- } & Partial<{
20814
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
20815
- }>;
20816
- }, import("@mittwald/api-client-commons").Response<{
20817
- failedZones?: {
20818
- error?: string;
20819
- name?: string;
20820
- }[] | undefined;
20821
- id?: string | undefined;
20822
- importedZones?: string[] | undefined;
20823
- projectId?: string | undefined;
20824
- skippedZones?: {
20825
- name?: string;
20826
- reason?: string;
20827
- }[] | undefined;
20828
- status?: string | undefined;
20829
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
20830
- [x: string]: unknown;
20831
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
20832
- [x: string]: unknown;
20833
- }, 429, "application/json">>>;
20834
- /** Start a server-side DNS zone-file import for a Project. */
20835
- dnsCreateDnsZoneFileImport: (request: {
20836
- data: {
20837
- zoneFile: string;
20838
- };
20839
- projectId: string;
20840
- headers?: {
20841
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
20842
- "x-access-token"?: string | undefined;
20843
- } | undefined;
20844
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
20845
- data: {
20846
- zoneFile: string;
20847
- };
20848
- } & {
20849
- pathParameters: {
20850
- projectId: string;
20851
- };
20852
- } & {
20853
- headers?: Partial<{
20854
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
20855
- }>;
20856
- } & {
20857
- headers: {
20858
- "x-access-token"?: string | undefined;
20859
- } & Partial<{
20860
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
20861
- }>;
20862
- }, import("@mittwald/api-client-commons").Response<{
20863
- id: string;
20864
- }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
20865
- [x: string]: unknown;
20866
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
20867
- [x: string]: unknown;
20868
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
20869
- data: {
20870
- zoneFile: string;
20871
- };
20872
- } & {
20873
- pathParameters: {
20874
- projectId: string;
20875
- };
20876
- } & {
20877
- headers?: Partial<{
20878
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
20879
- }>;
20880
- } & {
20881
- headers: {
20882
- "x-access-token"?: string | undefined;
20883
- } & Partial<{
20884
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
20885
- }>;
20886
- }, import("@mittwald/api-client-commons").Response<{
20887
- id: string;
20888
- }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
20889
- [x: string]: unknown;
20890
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
20891
- [x: string]: unknown;
20892
- }, 429, "application/json">>>;
20893
- /** Preview a DNS zone-file import for a Project. */
20894
- dnsPreviewProjectDnsZoneFileImport: (request: {
20895
- data: {
20896
- zoneFile: string;
20897
- };
20898
- projectId: string;
20899
- headers?: {
20900
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
20901
- "x-access-token"?: string | undefined;
20902
- } | undefined;
20903
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
20904
- data: {
20905
- zoneFile: string;
20906
- };
20907
- } & {
20908
- pathParameters: {
20909
- projectId: string;
20910
- };
20911
- } & {
20912
- headers?: Partial<{
20913
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
20914
- }>;
20915
- } & {
20916
- headers: {
20917
- "x-access-token"?: string | undefined;
20918
- } & Partial<{
20919
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
20920
- }>;
20921
- }, import("@mittwald/api-client-commons").Response<{
20922
- diagnostics?: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsImportDiagnostic[] | undefined;
20923
- zones?: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsZoneImportPreview[] | undefined;
20924
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
20925
- [x: string]: unknown;
20926
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
20927
- [x: string]: unknown;
20928
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
20929
- data: {
20930
- zoneFile: string;
20931
- };
20932
- } & {
20933
- pathParameters: {
20934
- projectId: string;
20935
- };
20936
- } & {
20937
- headers?: Partial<{
20938
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
20939
- }>;
20940
- } & {
20941
- headers: {
20942
- "x-access-token"?: string | undefined;
20943
- } & Partial<{
20944
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
20945
- }>;
20946
- }, import("@mittwald/api-client-commons").Response<{
20947
- diagnostics?: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsImportDiagnostic[] | undefined;
20948
- zones?: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsZoneImportPreview[] | undefined;
20949
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
20950
- [x: string]: unknown;
20951
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
20952
- [x: string]: unknown;
20953
- }, 429, "application/json">>>;
20954
21013
  };
20955
21014
  /** The mail API allows you to manage your mail accounts. */
20956
21015
  readonly mail: {