@mittwald/api-client 0.0.0-development-d78fbd1-20260907 → 0.0.0-development-2348cf1-20260908

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.
@@ -730,6 +730,204 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
730
730
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
731
731
  [x: string]: unknown;
732
732
  }, 429, "application/json">>>;
733
+ /** List the contract months of an ai hosting plan. */
734
+ planGetBillingPeriods: (request: {
735
+ customerId: string;
736
+ planId: string;
737
+ headers?: {
738
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
739
+ } | undefined;
740
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
741
+ headers?: Partial<{
742
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
743
+ }>;
744
+ } & {
745
+ pathParameters: {
746
+ customerId: string;
747
+ planId: string;
748
+ };
749
+ }, import("@mittwald/api-client-commons").Response<{
750
+ customerId: string;
751
+ nextTokenReset?: string | undefined;
752
+ periods: {
753
+ end: string;
754
+ isCurrent: boolean;
755
+ shortenedByUpgrade: boolean;
756
+ start: string;
757
+ tokenLimit: number;
758
+ }[];
759
+ planId: string;
760
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
761
+ [x: string]: unknown;
762
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
763
+ [x: string]: unknown;
764
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
765
+ [x: string]: unknown;
766
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
767
+ [x: string]: unknown;
768
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
769
+ headers?: Partial<{
770
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
771
+ }>;
772
+ } & {
773
+ pathParameters: {
774
+ customerId: string;
775
+ planId: string;
776
+ };
777
+ }, import("@mittwald/api-client-commons").Response<{
778
+ customerId: string;
779
+ nextTokenReset?: string | undefined;
780
+ periods: {
781
+ end: string;
782
+ isCurrent: boolean;
783
+ shortenedByUpgrade: boolean;
784
+ start: string;
785
+ tokenLimit: number;
786
+ }[];
787
+ planId: string;
788
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
789
+ [x: string]: unknown;
790
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
791
+ [x: string]: unknown;
792
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
793
+ [x: string]: unknown;
794
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
795
+ [x: string]: unknown;
796
+ }, 429, "application/json">>>;
797
+ /** Get aggregated token usage statistics for an ai hosting plan of a customer. */
798
+ planGetUsageStats: (request: {
799
+ queryParameters: {
800
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
801
+ startDate: string;
802
+ endDate: string;
803
+ detailed?: boolean | undefined;
804
+ };
805
+ customerId: string;
806
+ planId: string;
807
+ headers?: {
808
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
809
+ } | undefined;
810
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
811
+ headers?: Partial<{
812
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
813
+ }>;
814
+ } & {
815
+ pathParameters: {
816
+ customerId: string;
817
+ planId: string;
818
+ };
819
+ } & {
820
+ queryParameters: {
821
+ startDate: string;
822
+ endDate: string;
823
+ detailed?: boolean | undefined;
824
+ } & Partial<{
825
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
826
+ }>;
827
+ }, import("@mittwald/api-client-commons").Response<{
828
+ customerId: string;
829
+ daily: {
830
+ byKey: {
831
+ [k: string]: number;
832
+ };
833
+ date: string;
834
+ totalTokens: number;
835
+ }[];
836
+ detailed?: {
837
+ [k: string]: {
838
+ byKey?: {
839
+ [k: string]: {
840
+ byModel?: {
841
+ [k: string]: number;
842
+ };
843
+ tokens?: number;
844
+ };
845
+ };
846
+ };
847
+ } | undefined;
848
+ keys: {
849
+ id: string;
850
+ name: string;
851
+ }[];
852
+ modelShare: {
853
+ model: string;
854
+ tokens: number;
855
+ }[];
856
+ planId: string;
857
+ timeframe: {
858
+ end: string;
859
+ start: string;
860
+ };
861
+ totalTokens: number;
862
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
863
+ [x: string]: unknown;
864
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
865
+ [x: string]: unknown;
866
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
867
+ [x: string]: unknown;
868
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
869
+ [x: string]: unknown;
870
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
871
+ headers?: Partial<{
872
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
873
+ }>;
874
+ } & {
875
+ pathParameters: {
876
+ customerId: string;
877
+ planId: string;
878
+ };
879
+ } & {
880
+ queryParameters: {
881
+ startDate: string;
882
+ endDate: string;
883
+ detailed?: boolean | undefined;
884
+ } & Partial<{
885
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
886
+ }>;
887
+ }, import("@mittwald/api-client-commons").Response<{
888
+ customerId: string;
889
+ daily: {
890
+ byKey: {
891
+ [k: string]: number;
892
+ };
893
+ date: string;
894
+ totalTokens: number;
895
+ }[];
896
+ detailed?: {
897
+ [k: string]: {
898
+ byKey?: {
899
+ [k: string]: {
900
+ byModel?: {
901
+ [k: string]: number;
902
+ };
903
+ tokens?: number;
904
+ };
905
+ };
906
+ };
907
+ } | undefined;
908
+ keys: {
909
+ id: string;
910
+ name: string;
911
+ }[];
912
+ modelShare: {
913
+ model: string;
914
+ tokens: number;
915
+ }[];
916
+ planId: string;
917
+ timeframe: {
918
+ end: string;
919
+ start: string;
920
+ };
921
+ totalTokens: number;
922
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
923
+ [x: string]: unknown;
924
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
925
+ [x: string]: unknown;
926
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
927
+ [x: string]: unknown;
928
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
929
+ [x: string]: unknown;
930
+ }, 429, "application/json">>>;
733
931
  /** Get a list of keys of a project. */
734
932
  projectGetKeys: (request: {
735
933
  projectId: string;
@@ -1288,225 +1486,25 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
1288
1486
  }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
1289
1487
  [x: string]: unknown;
1290
1488
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
1291
- [x: string]: unknown;
1292
- }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
1293
- [x: string]: unknown;
1294
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
1295
- data: {
1296
- containerId: string;
1297
- ingressId: string;
1298
- stackId: string;
1299
- };
1300
- } & {
1301
- pathParameters: {
1302
- projectId: string;
1303
- keyId: string;
1304
- };
1305
- } & {
1306
- headers?: Partial<{
1307
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
1308
- }>;
1309
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
1310
- [x: string]: unknown;
1311
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
1312
- [x: string]: unknown;
1313
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
1314
- [x: string]: unknown;
1315
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
1316
- [x: string]: unknown;
1317
- }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
1318
- [x: string]: unknown;
1319
- }, 429, "application/json">>>;
1320
- /** List the contract months of an ai hosting plan. */
1321
- planGetBillingPeriods: (request: {
1322
- customerId: string;
1323
- planId: string;
1324
- headers?: {
1325
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1326
- } | undefined;
1327
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
1328
- headers?: Partial<{
1329
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
1330
- }>;
1331
- } & {
1332
- pathParameters: {
1333
- customerId: string;
1334
- planId: string;
1335
- };
1336
- }, import("@mittwald/api-client-commons").Response<{
1337
- customerId: string;
1338
- nextTokenReset?: string | undefined;
1339
- periods: {
1340
- end: string;
1341
- isCurrent: boolean;
1342
- shortenedByUpgrade: boolean;
1343
- start: string;
1344
- tokenLimit: number;
1345
- }[];
1346
- planId: string;
1347
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
1348
- [x: string]: unknown;
1349
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
1350
- [x: string]: unknown;
1351
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
1352
- [x: string]: unknown;
1353
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
1354
- [x: string]: unknown;
1355
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
1356
- headers?: Partial<{
1357
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
1358
- }>;
1359
- } & {
1360
- pathParameters: {
1361
- customerId: string;
1362
- planId: string;
1363
- };
1364
- }, import("@mittwald/api-client-commons").Response<{
1365
- customerId: string;
1366
- nextTokenReset?: string | undefined;
1367
- periods: {
1368
- end: string;
1369
- isCurrent: boolean;
1370
- shortenedByUpgrade: boolean;
1371
- start: string;
1372
- tokenLimit: number;
1373
- }[];
1374
- planId: string;
1375
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
1376
- [x: string]: unknown;
1377
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
1378
- [x: string]: unknown;
1379
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
1380
- [x: string]: unknown;
1381
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
1382
- [x: string]: unknown;
1383
- }, 429, "application/json">>>;
1384
- /** Get aggregated token usage statistics for an ai hosting plan of a customer. */
1385
- planGetUsageStats: (request: {
1386
- queryParameters: {
1387
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1388
- startDate: string;
1389
- endDate: string;
1390
- detailed?: boolean | undefined;
1391
- };
1392
- customerId: string;
1393
- planId: string;
1394
- headers?: {
1395
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1396
- } | undefined;
1397
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
1398
- headers?: Partial<{
1399
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
1400
- }>;
1401
- } & {
1402
- pathParameters: {
1403
- customerId: string;
1404
- planId: string;
1405
- };
1406
- } & {
1407
- queryParameters: {
1408
- startDate: string;
1409
- endDate: string;
1410
- detailed?: boolean | undefined;
1411
- } & Partial<{
1412
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
1413
- }>;
1414
- }, import("@mittwald/api-client-commons").Response<{
1415
- customerId: string;
1416
- daily: {
1417
- byKey: {
1418
- [k: string]: number;
1419
- };
1420
- date: string;
1421
- totalTokens: number;
1422
- }[];
1423
- detailed?: {
1424
- [k: string]: {
1425
- byKey?: {
1426
- [k: string]: {
1427
- byModel?: {
1428
- [k: string]: number;
1429
- };
1430
- tokens?: number;
1431
- };
1432
- };
1433
- };
1434
- } | undefined;
1435
- keys: {
1436
- id: string;
1437
- name: string;
1438
- }[];
1439
- modelShare: {
1440
- model: string;
1441
- tokens: number;
1442
- }[];
1443
- planId: string;
1444
- timeframe: {
1445
- end: string;
1446
- start: string;
1447
- };
1448
- totalTokens: number;
1449
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
1450
- [x: string]: unknown;
1451
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
1452
- [x: string]: unknown;
1453
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
1454
- [x: string]: unknown;
1455
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
1456
- [x: string]: unknown;
1457
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
1458
- headers?: Partial<{
1459
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
1460
- }>;
1461
- } & {
1462
- pathParameters: {
1463
- customerId: string;
1464
- planId: string;
1465
- };
1466
- } & {
1467
- queryParameters: {
1468
- startDate: string;
1469
- endDate: string;
1470
- detailed?: boolean | undefined;
1471
- } & Partial<{
1472
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
1473
- }>;
1474
- }, import("@mittwald/api-client-commons").Response<{
1475
- customerId: string;
1476
- daily: {
1477
- byKey: {
1478
- [k: string]: number;
1479
- };
1480
- date: string;
1481
- totalTokens: number;
1482
- }[];
1483
- detailed?: {
1484
- [k: string]: {
1485
- byKey?: {
1486
- [k: string]: {
1487
- byModel?: {
1488
- [k: string]: number;
1489
- };
1490
- tokens?: number;
1491
- };
1492
- };
1493
- };
1494
- } | undefined;
1495
- keys: {
1496
- id: string;
1497
- name: string;
1498
- }[];
1499
- modelShare: {
1500
- model: string;
1501
- tokens: number;
1502
- }[];
1503
- planId: string;
1504
- timeframe: {
1505
- end: string;
1506
- start: string;
1489
+ [x: string]: unknown;
1490
+ }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
1491
+ [x: string]: unknown;
1492
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
1493
+ data: {
1494
+ containerId: string;
1495
+ ingressId: string;
1496
+ stackId: string;
1507
1497
  };
1508
- totalTokens: number;
1509
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
1498
+ } & {
1499
+ pathParameters: {
1500
+ projectId: string;
1501
+ keyId: string;
1502
+ };
1503
+ } & {
1504
+ headers?: Partial<{
1505
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
1506
+ }>;
1507
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
1510
1508
  [x: string]: unknown;
1511
1509
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
1512
1510
  [x: string]: unknown;
@@ -1514,6 +1512,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
1514
1512
  [x: string]: unknown;
1515
1513
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
1516
1514
  [x: string]: unknown;
1515
+ }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
1516
+ [x: string]: unknown;
1517
1517
  }, 429, "application/json">>>;
1518
1518
  };
1519
1519
  /** The App API allows you to manage your apps within a project, and all the system softwares that are installed as dependencies. */
@@ -16039,7 +16039,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
16039
16039
  owner?: import("./types.js").MittwaldAPIV2.Components.Schemas.CustomerContact | undefined;
16040
16040
  projectCount: number;
16041
16041
  vatId?: string | undefined;
16042
- vatIdValidationState?: "valid" | "invalid" | "pending" | "unspecified" | undefined;
16042
+ vatIdValidationState?: "valid" | "invalid" | "pending" | "unsupported" | "unspecified" | undefined;
16043
16043
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
16044
16044
  [x: string]: unknown;
16045
16045
  }, 401, "application/json"> | import("@mittwald/api-client-commons").Response<{
@@ -16084,7 +16084,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
16084
16084
  owner?: import("./types.js").MittwaldAPIV2.Components.Schemas.CustomerContact | undefined;
16085
16085
  projectCount: number;
16086
16086
  vatId?: string | undefined;
16087
- vatIdValidationState?: "valid" | "invalid" | "pending" | "unspecified" | undefined;
16087
+ vatIdValidationState?: "valid" | "invalid" | "pending" | "unsupported" | "unspecified" | undefined;
16088
16088
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
16089
16089
  [x: string]: unknown;
16090
16090
  }, 401, "application/json"> | import("@mittwald/api-client-commons").Response<{
@@ -18429,207 +18429,12 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
18429
18429
  }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
18430
18430
  [x: string]: unknown;
18431
18431
  }, 429, "application/json">>>;
18432
- /** List DNS zone-file import jobs belonging to a Project. */
18433
- dnsListDnsZoneFileImports: (request: {
18434
- projectId: string;
18435
- headers?: {
18436
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
18437
- "x-access-token"?: string | undefined;
18438
- } | undefined;
18439
- queryParameters?: {
18440
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
18441
- limit?: number | undefined;
18442
- skip?: number | undefined;
18443
- page?: number | undefined;
18444
- sort?: "createdAt" | undefined;
18445
- order?: "asc" | "desc" | undefined;
18446
- } | undefined;
18447
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
18448
- headers?: Partial<{
18449
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18450
- }>;
18451
- } & {
18452
- pathParameters: {
18453
- projectId: string;
18454
- };
18455
- } & {
18456
- queryParameters: {
18457
- limit?: number | undefined;
18458
- skip?: number | undefined;
18459
- page?: number | undefined;
18460
- sort?: "createdAt" | undefined;
18461
- order?: "asc" | "desc" | undefined;
18462
- } & Partial<{
18463
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18464
- }>;
18465
- } & {
18466
- headers: {
18467
- "x-access-token"?: string | undefined;
18468
- } & Partial<{
18469
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18470
- }>;
18471
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.DnsZoneFileImport[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
18472
- [x: string]: unknown;
18473
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
18474
- [x: string]: unknown;
18475
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
18476
- headers?: Partial<{
18477
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18478
- }>;
18479
- } & {
18480
- pathParameters: {
18481
- projectId: string;
18482
- };
18483
- } & {
18484
- queryParameters: {
18485
- limit?: number | undefined;
18486
- skip?: number | undefined;
18487
- page?: number | undefined;
18488
- sort?: "createdAt" | undefined;
18489
- order?: "asc" | "desc" | undefined;
18490
- } & Partial<{
18491
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18492
- }>;
18493
- } & {
18494
- headers: {
18495
- "x-access-token"?: string | undefined;
18496
- } & Partial<{
18497
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18498
- }>;
18499
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.DnsZoneFileImport[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
18500
- [x: string]: unknown;
18501
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
18502
- [x: string]: unknown;
18503
- }, 429, "application/json">>>;
18504
- /** Import a DNS zone file into a Project, or preview it with dry-run. */
18505
- dnsCreateDnsZoneFileImport: (request: {
18506
- data: {
18507
- zoneFile: string;
18508
- };
18509
- projectId: string;
18510
- headers?: {
18511
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
18512
- "x-access-token"?: string | undefined;
18513
- } | undefined;
18514
- queryParameters?: {
18515
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
18516
- "dry-run"?: boolean | undefined;
18517
- } | undefined;
18518
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
18519
- data: {
18520
- zoneFile: string;
18521
- };
18522
- } & {
18523
- pathParameters: {
18524
- projectId: string;
18525
- };
18526
- } & {
18527
- queryParameters: {
18528
- "dry-run"?: boolean | undefined;
18529
- } & Partial<{
18530
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18531
- }>;
18532
- } & {
18533
- headers: {
18534
- "x-access-token"?: string | undefined;
18535
- } & Partial<{
18536
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18537
- }>;
18538
- }, import("@mittwald/api-client-commons").Response<{
18539
- conflicts: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsImportConflict[];
18540
- id?: string | undefined;
18541
- zones: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsZoneImportPreview[];
18542
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
18543
- [x: string]: unknown;
18544
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
18545
- [x: string]: unknown;
18546
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
18547
- [x: string]: unknown;
18548
- }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
18549
- [x: string]: unknown;
18550
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
18551
- data: {
18552
- zoneFile: string;
18553
- };
18554
- } & {
18555
- pathParameters: {
18556
- projectId: string;
18557
- };
18558
- } & {
18559
- queryParameters: {
18560
- "dry-run"?: boolean | undefined;
18561
- } & Partial<{
18562
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18563
- }>;
18564
- } & {
18565
- headers: {
18566
- "x-access-token"?: string | undefined;
18567
- } & Partial<{
18568
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18569
- }>;
18570
- }, import("@mittwald/api-client-commons").Response<{
18571
- conflicts: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsImportConflict[];
18572
- id?: string | undefined;
18573
- zones: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsZoneImportPreview[];
18574
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
18575
- [x: string]: unknown;
18576
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
18577
- [x: string]: unknown;
18578
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
18579
- [x: string]: unknown;
18580
- }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
18581
- [x: string]: unknown;
18582
- }, 429, "application/json">>>;
18583
- /** List DNSZones belonging to a Project. */
18584
- dnsListDnsZones: (request: {
18585
- projectId: string;
18586
- headers?: {
18587
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
18588
- "x-access-token"?: string | undefined;
18589
- } | undefined;
18590
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
18591
- headers?: Partial<{
18592
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18593
- }>;
18594
- } & {
18595
- pathParameters: {
18596
- projectId: string;
18597
- };
18598
- } & {
18599
- headers: {
18600
- "x-access-token"?: string | undefined;
18601
- } & Partial<{
18602
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18603
- }>;
18604
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.DnsZone[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
18605
- [x: string]: unknown;
18606
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
18607
- [x: string]: unknown;
18608
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
18609
- headers?: Partial<{
18610
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18611
- }>;
18612
- } & {
18613
- pathParameters: {
18614
- projectId: string;
18615
- };
18616
- } & {
18617
- headers: {
18618
- "x-access-token"?: string | undefined;
18619
- } & Partial<{
18620
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18621
- }>;
18622
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.DnsZone[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
18623
- [x: string]: unknown;
18624
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
18625
- [x: string]: unknown;
18626
- }, 429, "application/json">>>;
18627
- /** Create a DNSZone for a domain in a Project. */
18628
- dnsCreateProjectDnsZone: (request: {
18432
+ /** Create a DNSZone. */
18433
+ dnsCreateDnsZone: (request: {
18629
18434
  data: {
18630
18435
  name: string;
18436
+ parentZoneId: string;
18631
18437
  };
18632
- projectId: string;
18633
18438
  headers?: {
18634
18439
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
18635
18440
  "x-access-token"?: string | undefined;
@@ -18637,10 +18442,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
18637
18442
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
18638
18443
  data: {
18639
18444
  name: string;
18640
- };
18641
- } & {
18642
- pathParameters: {
18643
- projectId: string;
18445
+ parentZoneId: string;
18644
18446
  };
18645
18447
  } & {
18646
18448
  headers?: Partial<{
@@ -18658,19 +18460,12 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
18658
18460
  [x: string]: unknown;
18659
18461
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
18660
18462
  [x: string]: unknown;
18661
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
18662
- [x: string]: unknown;
18663
18463
  }, 409, "application/json"> | import("@mittwald/api-client-commons").Response<{
18664
18464
  [x: string]: unknown;
18665
- }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
18666
- [x: string]: unknown;
18667
18465
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
18668
18466
  data: {
18669
18467
  name: string;
18670
- };
18671
- } & {
18672
- pathParameters: {
18673
- projectId: string;
18468
+ parentZoneId: string;
18674
18469
  };
18675
18470
  } & {
18676
18471
  headers?: Partial<{
@@ -18688,12 +18483,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
18688
18483
  [x: string]: unknown;
18689
18484
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
18690
18485
  [x: string]: unknown;
18691
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
18692
- [x: string]: unknown;
18693
18486
  }, 409, "application/json"> | import("@mittwald/api-client-commons").Response<{
18694
18487
  [x: string]: unknown;
18695
- }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
18696
- [x: string]: unknown;
18697
18488
  }, 429, "application/json">>>;
18698
18489
  /** Get a DNSZone. */
18699
18490
  dnsGetDnsZone: (request: {
@@ -18805,9 +18596,9 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
18805
18596
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
18806
18597
  [x: string]: unknown;
18807
18598
  }, 429, "application/json">>>;
18808
- /** Get the status of a DNS zone-file import job. */
18809
- dnsGetDnsZoneFileImport: (request: {
18810
- zoneFileImportId: string;
18599
+ /** Get a zone file for a DNSZone. */
18600
+ dnsGetZoneFile: (request: {
18601
+ dnsZoneId: string;
18811
18602
  headers?: {
18812
18603
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
18813
18604
  "x-access-token"?: string | undefined;
@@ -18818,7 +18609,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
18818
18609
  }>;
18819
18610
  } & {
18820
18611
  pathParameters: {
18821
- zoneFileImportId: string;
18612
+ dnsZoneId: string;
18822
18613
  };
18823
18614
  } & {
18824
18615
  headers: {
@@ -18826,33 +18617,17 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
18826
18617
  } & Partial<{
18827
18618
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18828
18619
  }>;
18829
- }, import("@mittwald/api-client-commons").Response<{
18830
- createdAt: string;
18831
- failedZones: {
18832
- error: string;
18833
- name: string;
18834
- }[];
18835
- id: string;
18836
- importedZones: string[];
18837
- projectId: string;
18838
- skippedZones: {
18839
- name: string;
18840
- reason: string;
18841
- }[];
18842
- status: "running" | "succeeded" | "failed" | "completedWithErrors";
18843
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
18620
+ }, import("@mittwald/api-client-commons").Response<string, 200, "text/plain"> | import("@mittwald/api-client-commons").Response<{
18844
18621
  [x: string]: unknown;
18845
18622
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
18846
18623
  [x: string]: unknown;
18847
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
18848
- [x: string]: unknown;
18849
18624
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
18850
18625
  headers?: Partial<{
18851
18626
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18852
18627
  }>;
18853
18628
  } & {
18854
18629
  pathParameters: {
18855
- zoneFileImportId: string;
18630
+ dnsZoneId: string;
18856
18631
  };
18857
18632
  } & {
18858
18633
  headers: {
@@ -18860,30 +18635,14 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
18860
18635
  } & Partial<{
18861
18636
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18862
18637
  }>;
18863
- }, import("@mittwald/api-client-commons").Response<{
18864
- createdAt: string;
18865
- failedZones: {
18866
- error: string;
18867
- name: string;
18868
- }[];
18869
- id: string;
18870
- importedZones: string[];
18871
- projectId: string;
18872
- skippedZones: {
18873
- name: string;
18874
- reason: string;
18875
- }[];
18876
- status: "running" | "succeeded" | "failed" | "completedWithErrors";
18877
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
18638
+ }, import("@mittwald/api-client-commons").Response<string, 200, "text/plain"> | import("@mittwald/api-client-commons").Response<{
18878
18639
  [x: string]: unknown;
18879
18640
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
18880
18641
  [x: string]: unknown;
18881
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
18882
- [x: string]: unknown;
18883
18642
  }, 429, "application/json">>>;
18884
- /** Get a zone file for a DNSZone. */
18885
- dnsGetZoneFile: (request: {
18886
- dnsZoneId: string;
18643
+ /** List DNSZones belonging to a Project. */
18644
+ dnsListDnsZones: (request: {
18645
+ projectId: string;
18887
18646
  headers?: {
18888
18647
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
18889
18648
  "x-access-token"?: string | undefined;
@@ -18894,7 +18653,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
18894
18653
  }>;
18895
18654
  } & {
18896
18655
  pathParameters: {
18897
- dnsZoneId: string;
18656
+ projectId: string;
18898
18657
  };
18899
18658
  } & {
18900
18659
  headers: {
@@ -18902,7 +18661,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
18902
18661
  } & Partial<{
18903
18662
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18904
18663
  }>;
18905
- }, import("@mittwald/api-client-commons").Response<string, 200, "text/plain"> | import("@mittwald/api-client-commons").Response<{
18664
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.DnsZone[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
18906
18665
  [x: string]: unknown;
18907
18666
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
18908
18667
  [x: string]: unknown;
@@ -18912,7 +18671,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
18912
18671
  }>;
18913
18672
  } & {
18914
18673
  pathParameters: {
18915
- dnsZoneId: string;
18674
+ projectId: string;
18916
18675
  };
18917
18676
  } & {
18918
18677
  headers: {
@@ -18920,7 +18679,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
18920
18679
  } & Partial<{
18921
18680
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18922
18681
  }>;
18923
- }, import("@mittwald/api-client-commons").Response<string, 200, "text/plain"> | import("@mittwald/api-client-commons").Response<{
18682
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.DnsZone[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
18924
18683
  [x: string]: unknown;
18925
18684
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
18926
18685
  [x: string]: unknown;
@@ -19515,7 +19274,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
19515
19274
  }, import("@mittwald/api-client-commons").Response<{
19516
19275
  authCode?: import("./types.js").MittwaldAPIV2.Components.Schemas.DomainAuthCode | undefined;
19517
19276
  authCode2?: import("./types.js").MittwaldAPIV2.Components.Schemas.DomainAuthCode2 | undefined;
19518
- authInfo2CreatedAt?: string | undefined;
19519
19277
  connected: boolean;
19520
19278
  contactHash?: string | undefined;
19521
19279
  deleted: boolean;
@@ -19556,7 +19314,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
19556
19314
  }, import("@mittwald/api-client-commons").Response<{
19557
19315
  authCode?: import("./types.js").MittwaldAPIV2.Components.Schemas.DomainAuthCode | undefined;
19558
19316
  authCode2?: import("./types.js").MittwaldAPIV2.Components.Schemas.DomainAuthCode2 | undefined;
19559
- authInfo2CreatedAt?: string | undefined;
19560
19317
  connected: boolean;
19561
19318
  contactHash?: string | undefined;
19562
19319
  deleted: boolean;