@mittwald/api-client 0.0.0-development-d78fbd1-20260907 → 0.0.0-development-a0108d5-20260909

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,180 @@ 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
+ keyId?: string | 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
+ keyId?: string | 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
+ keys: {
837
+ id: string;
838
+ name: string;
839
+ }[];
840
+ modelShare: {
841
+ model: string;
842
+ tokens: number;
843
+ }[];
844
+ planId: string;
845
+ timeframe: {
846
+ end: string;
847
+ start: string;
848
+ };
849
+ totalTokens: number;
850
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
851
+ [x: string]: unknown;
852
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
853
+ [x: string]: unknown;
854
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
855
+ [x: string]: unknown;
856
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
857
+ [x: string]: unknown;
858
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
859
+ headers?: Partial<{
860
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
861
+ }>;
862
+ } & {
863
+ pathParameters: {
864
+ customerId: string;
865
+ planId: string;
866
+ };
867
+ } & {
868
+ queryParameters: {
869
+ startDate: string;
870
+ endDate: string;
871
+ keyId?: string | undefined;
872
+ } & Partial<{
873
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
874
+ }>;
875
+ }, import("@mittwald/api-client-commons").Response<{
876
+ customerId: string;
877
+ daily: {
878
+ byKey: {
879
+ [k: string]: number;
880
+ };
881
+ date: string;
882
+ totalTokens: number;
883
+ }[];
884
+ keys: {
885
+ id: string;
886
+ name: string;
887
+ }[];
888
+ modelShare: {
889
+ model: string;
890
+ tokens: number;
891
+ }[];
892
+ planId: string;
893
+ timeframe: {
894
+ end: string;
895
+ start: string;
896
+ };
897
+ totalTokens: number;
898
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
899
+ [x: string]: unknown;
900
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
901
+ [x: string]: unknown;
902
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
903
+ [x: string]: unknown;
904
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
905
+ [x: string]: unknown;
906
+ }, 429, "application/json">>>;
733
907
  /** Get a list of keys of a project. */
734
908
  projectGetKeys: (request: {
735
909
  projectId: string;
@@ -1288,225 +1462,25 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
1288
1462
  }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
1289
1463
  [x: string]: unknown;
1290
1464
  }, 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;
1465
+ [x: string]: unknown;
1466
+ }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
1467
+ [x: string]: unknown;
1468
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
1469
+ data: {
1470
+ containerId: string;
1471
+ ingressId: string;
1472
+ stackId: string;
1507
1473
  };
1508
- totalTokens: number;
1509
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
1474
+ } & {
1475
+ pathParameters: {
1476
+ projectId: string;
1477
+ keyId: string;
1478
+ };
1479
+ } & {
1480
+ headers?: Partial<{
1481
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
1482
+ }>;
1483
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
1510
1484
  [x: string]: unknown;
1511
1485
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
1512
1486
  [x: string]: unknown;
@@ -1514,6 +1488,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
1514
1488
  [x: string]: unknown;
1515
1489
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
1516
1490
  [x: string]: unknown;
1491
+ }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
1492
+ [x: string]: unknown;
1517
1493
  }, 429, "application/json">>>;
1518
1494
  };
1519
1495
  /** The App API allows you to manage your apps within a project, and all the system softwares that are installed as dependencies. */
@@ -16039,7 +16015,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
16039
16015
  owner?: import("./types.js").MittwaldAPIV2.Components.Schemas.CustomerContact | undefined;
16040
16016
  projectCount: number;
16041
16017
  vatId?: string | undefined;
16042
- vatIdValidationState?: "valid" | "invalid" | "pending" | "unspecified" | undefined;
16018
+ vatIdValidationState?: "valid" | "invalid" | "pending" | "unsupported" | "unspecified" | undefined;
16043
16019
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
16044
16020
  [x: string]: unknown;
16045
16021
  }, 401, "application/json"> | import("@mittwald/api-client-commons").Response<{
@@ -16084,7 +16060,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
16084
16060
  owner?: import("./types.js").MittwaldAPIV2.Components.Schemas.CustomerContact | undefined;
16085
16061
  projectCount: number;
16086
16062
  vatId?: string | undefined;
16087
- vatIdValidationState?: "valid" | "invalid" | "pending" | "unspecified" | undefined;
16063
+ vatIdValidationState?: "valid" | "invalid" | "pending" | "unsupported" | "unspecified" | undefined;
16088
16064
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
16089
16065
  [x: string]: unknown;
16090
16066
  }, 401, "application/json"> | import("@mittwald/api-client-commons").Response<{
@@ -18429,207 +18405,12 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
18429
18405
  }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
18430
18406
  [x: string]: unknown;
18431
18407
  }, 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: {
18408
+ /** Create a DNSZone. */
18409
+ dnsCreateDnsZone: (request: {
18629
18410
  data: {
18630
18411
  name: string;
18412
+ parentZoneId: string;
18631
18413
  };
18632
- projectId: string;
18633
18414
  headers?: {
18634
18415
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
18635
18416
  "x-access-token"?: string | undefined;
@@ -18637,10 +18418,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
18637
18418
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
18638
18419
  data: {
18639
18420
  name: string;
18640
- };
18641
- } & {
18642
- pathParameters: {
18643
- projectId: string;
18421
+ parentZoneId: string;
18644
18422
  };
18645
18423
  } & {
18646
18424
  headers?: Partial<{
@@ -18658,19 +18436,12 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
18658
18436
  [x: string]: unknown;
18659
18437
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
18660
18438
  [x: string]: unknown;
18661
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
18662
- [x: string]: unknown;
18663
18439
  }, 409, "application/json"> | import("@mittwald/api-client-commons").Response<{
18664
18440
  [x: string]: unknown;
18665
- }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
18666
- [x: string]: unknown;
18667
18441
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
18668
18442
  data: {
18669
18443
  name: string;
18670
- };
18671
- } & {
18672
- pathParameters: {
18673
- projectId: string;
18444
+ parentZoneId: string;
18674
18445
  };
18675
18446
  } & {
18676
18447
  headers?: Partial<{
@@ -18688,12 +18459,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
18688
18459
  [x: string]: unknown;
18689
18460
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
18690
18461
  [x: string]: unknown;
18691
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
18692
- [x: string]: unknown;
18693
18462
  }, 409, "application/json"> | import("@mittwald/api-client-commons").Response<{
18694
18463
  [x: string]: unknown;
18695
- }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
18696
- [x: string]: unknown;
18697
18464
  }, 429, "application/json">>>;
18698
18465
  /** Get a DNSZone. */
18699
18466
  dnsGetDnsZone: (request: {
@@ -18805,9 +18572,9 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
18805
18572
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
18806
18573
  [x: string]: unknown;
18807
18574
  }, 429, "application/json">>>;
18808
- /** Get the status of a DNS zone-file import job. */
18809
- dnsGetDnsZoneFileImport: (request: {
18810
- zoneFileImportId: string;
18575
+ /** Get a zone file for a DNSZone. */
18576
+ dnsGetZoneFile: (request: {
18577
+ dnsZoneId: string;
18811
18578
  headers?: {
18812
18579
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
18813
18580
  "x-access-token"?: string | undefined;
@@ -18818,7 +18585,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
18818
18585
  }>;
18819
18586
  } & {
18820
18587
  pathParameters: {
18821
- zoneFileImportId: string;
18588
+ dnsZoneId: string;
18822
18589
  };
18823
18590
  } & {
18824
18591
  headers: {
@@ -18826,33 +18593,17 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
18826
18593
  } & Partial<{
18827
18594
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18828
18595
  }>;
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<{
18596
+ }, import("@mittwald/api-client-commons").Response<string, 200, "text/plain"> | import("@mittwald/api-client-commons").Response<{
18844
18597
  [x: string]: unknown;
18845
18598
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
18846
18599
  [x: string]: unknown;
18847
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
18848
- [x: string]: unknown;
18849
18600
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
18850
18601
  headers?: Partial<{
18851
18602
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18852
18603
  }>;
18853
18604
  } & {
18854
18605
  pathParameters: {
18855
- zoneFileImportId: string;
18606
+ dnsZoneId: string;
18856
18607
  };
18857
18608
  } & {
18858
18609
  headers: {
@@ -18860,30 +18611,14 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
18860
18611
  } & Partial<{
18861
18612
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18862
18613
  }>;
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<{
18614
+ }, import("@mittwald/api-client-commons").Response<string, 200, "text/plain"> | import("@mittwald/api-client-commons").Response<{
18878
18615
  [x: string]: unknown;
18879
18616
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
18880
18617
  [x: string]: unknown;
18881
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
18882
- [x: string]: unknown;
18883
18618
  }, 429, "application/json">>>;
18884
- /** Get a zone file for a DNSZone. */
18885
- dnsGetZoneFile: (request: {
18886
- dnsZoneId: string;
18619
+ /** List DNSZones belonging to a Project. */
18620
+ dnsListDnsZones: (request: {
18621
+ projectId: string;
18887
18622
  headers?: {
18888
18623
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
18889
18624
  "x-access-token"?: string | undefined;
@@ -18894,7 +18629,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
18894
18629
  }>;
18895
18630
  } & {
18896
18631
  pathParameters: {
18897
- dnsZoneId: string;
18632
+ projectId: string;
18898
18633
  };
18899
18634
  } & {
18900
18635
  headers: {
@@ -18902,7 +18637,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
18902
18637
  } & Partial<{
18903
18638
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18904
18639
  }>;
18905
- }, import("@mittwald/api-client-commons").Response<string, 200, "text/plain"> | import("@mittwald/api-client-commons").Response<{
18640
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.DnsZone[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
18906
18641
  [x: string]: unknown;
18907
18642
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
18908
18643
  [x: string]: unknown;
@@ -18912,7 +18647,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
18912
18647
  }>;
18913
18648
  } & {
18914
18649
  pathParameters: {
18915
- dnsZoneId: string;
18650
+ projectId: string;
18916
18651
  };
18917
18652
  } & {
18918
18653
  headers: {
@@ -18920,7 +18655,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
18920
18655
  } & Partial<{
18921
18656
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18922
18657
  }>;
18923
- }, import("@mittwald/api-client-commons").Response<string, 200, "text/plain"> | import("@mittwald/api-client-commons").Response<{
18658
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.DnsZone[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
18924
18659
  [x: string]: unknown;
18925
18660
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
18926
18661
  [x: string]: unknown;
@@ -19515,7 +19250,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
19515
19250
  }, import("@mittwald/api-client-commons").Response<{
19516
19251
  authCode?: import("./types.js").MittwaldAPIV2.Components.Schemas.DomainAuthCode | undefined;
19517
19252
  authCode2?: import("./types.js").MittwaldAPIV2.Components.Schemas.DomainAuthCode2 | undefined;
19518
- authInfo2CreatedAt?: string | undefined;
19519
19253
  connected: boolean;
19520
19254
  contactHash?: string | undefined;
19521
19255
  deleted: boolean;
@@ -19556,7 +19290,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
19556
19290
  }, import("@mittwald/api-client-commons").Response<{
19557
19291
  authCode?: import("./types.js").MittwaldAPIV2.Components.Schemas.DomainAuthCode | undefined;
19558
19292
  authCode2?: import("./types.js").MittwaldAPIV2.Components.Schemas.DomainAuthCode2 | undefined;
19559
- authInfo2CreatedAt?: string | undefined;
19560
19293
  connected: boolean;
19561
19294
  contactHash?: string | undefined;
19562
19295
  deleted: boolean;