@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 MittwaldAPIV3NextClient 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;
@@ -1290,223 +1488,23 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
1290
1488
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
1291
1489
  [x: string]: unknown;
1292
1490
  }, 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;
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 MittwaldAPIV3NextClient 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 MittwaldAPIV3NextClient extends ApiClientBase {
16039
16039
  owner?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldCustomerContact | 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 MittwaldAPIV3NextClient extends ApiClientBase {
16084
16084
  owner?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldCustomerContact | 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<{
@@ -18436,207 +18436,12 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
18436
18436
  }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
18437
18437
  [x: string]: unknown;
18438
18438
  }, 429, "application/json">>>;
18439
- /** List DNS zone-file import jobs belonging to a Project. */
18440
- dnsListDnsZoneFileImports: (request: {
18441
- projectId: string;
18442
- headers?: {
18443
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
18444
- "x-access-token"?: string | undefined;
18445
- } | undefined;
18446
- queryParameters?: {
18447
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
18448
- limit?: number | undefined;
18449
- skip?: number | undefined;
18450
- page?: number | undefined;
18451
- sort?: "createdAt" | undefined;
18452
- order?: "asc" | "desc" | undefined;
18453
- } | undefined;
18454
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
18455
- headers?: Partial<{
18456
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18457
- }>;
18458
- } & {
18459
- pathParameters: {
18460
- projectId: string;
18461
- };
18462
- } & {
18463
- queryParameters: {
18464
- limit?: number | undefined;
18465
- skip?: number | undefined;
18466
- page?: number | undefined;
18467
- sort?: "createdAt" | undefined;
18468
- order?: "asc" | "desc" | undefined;
18469
- } & Partial<{
18470
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18471
- }>;
18472
- } & {
18473
- headers: {
18474
- "x-access-token"?: string | undefined;
18475
- } & Partial<{
18476
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18477
- }>;
18478
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDnsZoneFileImport[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
18479
- [x: string]: unknown;
18480
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
18481
- [x: string]: unknown;
18482
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
18483
- headers?: Partial<{
18484
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18485
- }>;
18486
- } & {
18487
- pathParameters: {
18488
- projectId: string;
18489
- };
18490
- } & {
18491
- queryParameters: {
18492
- limit?: number | undefined;
18493
- skip?: number | undefined;
18494
- page?: number | undefined;
18495
- sort?: "createdAt" | undefined;
18496
- order?: "asc" | "desc" | undefined;
18497
- } & Partial<{
18498
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18499
- }>;
18500
- } & {
18501
- headers: {
18502
- "x-access-token"?: string | undefined;
18503
- } & Partial<{
18504
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18505
- }>;
18506
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDnsZoneFileImport[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
18507
- [x: string]: unknown;
18508
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
18509
- [x: string]: unknown;
18510
- }, 429, "application/json">>>;
18511
- /** Import a DNS zone file into a Project, or preview it with dry-run. */
18512
- dnsCreateDnsZoneFileImport: (request: {
18513
- data: {
18514
- zoneFile: string;
18515
- };
18516
- projectId: string;
18517
- headers?: {
18518
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
18519
- "x-access-token"?: string | undefined;
18520
- } | undefined;
18521
- queryParameters?: {
18522
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
18523
- "dry-run"?: boolean | undefined;
18524
- } | undefined;
18525
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
18526
- data: {
18527
- zoneFile: string;
18528
- };
18529
- } & {
18530
- pathParameters: {
18531
- projectId: string;
18532
- };
18533
- } & {
18534
- queryParameters: {
18535
- "dry-run"?: boolean | undefined;
18536
- } & Partial<{
18537
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18538
- }>;
18539
- } & {
18540
- headers: {
18541
- "x-access-token"?: string | undefined;
18542
- } & Partial<{
18543
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18544
- }>;
18545
- }, import("@mittwald/api-client-commons").Response<{
18546
- conflicts: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDnsImportConflict[];
18547
- id?: string | undefined;
18548
- zones: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDnsZoneImportPreview[];
18549
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
18550
- [x: string]: unknown;
18551
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
18552
- [x: string]: unknown;
18553
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
18554
- [x: string]: unknown;
18555
- }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
18556
- [x: string]: unknown;
18557
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
18558
- data: {
18559
- zoneFile: string;
18560
- };
18561
- } & {
18562
- pathParameters: {
18563
- projectId: string;
18564
- };
18565
- } & {
18566
- queryParameters: {
18567
- "dry-run"?: boolean | undefined;
18568
- } & Partial<{
18569
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18570
- }>;
18571
- } & {
18572
- headers: {
18573
- "x-access-token"?: string | undefined;
18574
- } & Partial<{
18575
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18576
- }>;
18577
- }, import("@mittwald/api-client-commons").Response<{
18578
- conflicts: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDnsImportConflict[];
18579
- id?: string | undefined;
18580
- zones: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDnsZoneImportPreview[];
18581
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
18582
- [x: string]: unknown;
18583
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
18584
- [x: string]: unknown;
18585
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
18586
- [x: string]: unknown;
18587
- }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
18588
- [x: string]: unknown;
18589
- }, 429, "application/json">>>;
18590
- /** List DNSZones belonging to a Project. */
18591
- dnsListDnsZones: (request: {
18592
- projectId: string;
18593
- headers?: {
18594
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
18595
- "x-access-token"?: string | undefined;
18596
- } | undefined;
18597
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
18598
- headers?: Partial<{
18599
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18600
- }>;
18601
- } & {
18602
- pathParameters: {
18603
- projectId: string;
18604
- };
18605
- } & {
18606
- headers: {
18607
- "x-access-token"?: string | undefined;
18608
- } & Partial<{
18609
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18610
- }>;
18611
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDnsZone[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
18612
- [x: string]: unknown;
18613
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
18614
- [x: string]: unknown;
18615
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
18616
- headers?: Partial<{
18617
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18618
- }>;
18619
- } & {
18620
- pathParameters: {
18621
- projectId: string;
18622
- };
18623
- } & {
18624
- headers: {
18625
- "x-access-token"?: string | undefined;
18626
- } & Partial<{
18627
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18628
- }>;
18629
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDnsZone[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
18630
- [x: string]: unknown;
18631
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
18632
- [x: string]: unknown;
18633
- }, 429, "application/json">>>;
18634
- /** Create a DNSZone for a domain in a Project. */
18635
- dnsCreateProjectDnsZone: (request: {
18439
+ /** Create a DNSZone. */
18440
+ dnsCreateDnsZone: (request: {
18636
18441
  data: {
18637
18442
  name: string;
18443
+ parentZoneId: string;
18638
18444
  };
18639
- projectId: string;
18640
18445
  headers?: {
18641
18446
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
18642
18447
  "x-access-token"?: string | undefined;
@@ -18644,10 +18449,7 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
18644
18449
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
18645
18450
  data: {
18646
18451
  name: string;
18647
- };
18648
- } & {
18649
- pathParameters: {
18650
- projectId: string;
18452
+ parentZoneId: string;
18651
18453
  };
18652
18454
  } & {
18653
18455
  headers?: Partial<{
@@ -18665,19 +18467,12 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
18665
18467
  [x: string]: unknown;
18666
18468
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
18667
18469
  [x: string]: unknown;
18668
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
18669
- [x: string]: unknown;
18670
18470
  }, 409, "application/json"> | import("@mittwald/api-client-commons").Response<{
18671
18471
  [x: string]: unknown;
18672
- }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
18673
- [x: string]: unknown;
18674
18472
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
18675
18473
  data: {
18676
18474
  name: string;
18677
- };
18678
- } & {
18679
- pathParameters: {
18680
- projectId: string;
18475
+ parentZoneId: string;
18681
18476
  };
18682
18477
  } & {
18683
18478
  headers?: Partial<{
@@ -18695,12 +18490,8 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
18695
18490
  [x: string]: unknown;
18696
18491
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
18697
18492
  [x: string]: unknown;
18698
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
18699
- [x: string]: unknown;
18700
18493
  }, 409, "application/json"> | import("@mittwald/api-client-commons").Response<{
18701
18494
  [x: string]: unknown;
18702
- }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
18703
- [x: string]: unknown;
18704
18495
  }, 429, "application/json">>>;
18705
18496
  /** Get a DNSZone. */
18706
18497
  dnsGetDnsZone: (request: {
@@ -18812,9 +18603,9 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
18812
18603
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
18813
18604
  [x: string]: unknown;
18814
18605
  }, 429, "application/json">>>;
18815
- /** Get the status of a DNS zone-file import job. */
18816
- dnsGetDnsZoneFileImport: (request: {
18817
- zoneFileImportId: string;
18606
+ /** Get a zone file for a DNSZone. */
18607
+ dnsGetZoneFile: (request: {
18608
+ dnsZoneId: string;
18818
18609
  headers?: {
18819
18610
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
18820
18611
  "x-access-token"?: string | undefined;
@@ -18825,7 +18616,7 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
18825
18616
  }>;
18826
18617
  } & {
18827
18618
  pathParameters: {
18828
- zoneFileImportId: string;
18619
+ dnsZoneId: string;
18829
18620
  };
18830
18621
  } & {
18831
18622
  headers: {
@@ -18833,33 +18624,17 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
18833
18624
  } & Partial<{
18834
18625
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18835
18626
  }>;
18836
- }, import("@mittwald/api-client-commons").Response<{
18837
- createdAt: string;
18838
- failedZones: {
18839
- error: string;
18840
- name: string;
18841
- }[];
18842
- id: string;
18843
- importedZones: string[];
18844
- projectId: string;
18845
- skippedZones: {
18846
- name: string;
18847
- reason: string;
18848
- }[];
18849
- status: "running" | "succeeded" | "failed" | "completedWithErrors";
18850
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
18627
+ }, import("@mittwald/api-client-commons").Response<string, 200, "text/plain"> | import("@mittwald/api-client-commons").Response<{
18851
18628
  [x: string]: unknown;
18852
18629
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
18853
18630
  [x: string]: unknown;
18854
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
18855
- [x: string]: unknown;
18856
18631
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
18857
18632
  headers?: Partial<{
18858
18633
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18859
18634
  }>;
18860
18635
  } & {
18861
18636
  pathParameters: {
18862
- zoneFileImportId: string;
18637
+ dnsZoneId: string;
18863
18638
  };
18864
18639
  } & {
18865
18640
  headers: {
@@ -18867,30 +18642,14 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
18867
18642
  } & Partial<{
18868
18643
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18869
18644
  }>;
18870
- }, import("@mittwald/api-client-commons").Response<{
18871
- createdAt: string;
18872
- failedZones: {
18873
- error: string;
18874
- name: string;
18875
- }[];
18876
- id: string;
18877
- importedZones: string[];
18878
- projectId: string;
18879
- skippedZones: {
18880
- name: string;
18881
- reason: string;
18882
- }[];
18883
- status: "running" | "succeeded" | "failed" | "completedWithErrors";
18884
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
18645
+ }, import("@mittwald/api-client-commons").Response<string, 200, "text/plain"> | import("@mittwald/api-client-commons").Response<{
18885
18646
  [x: string]: unknown;
18886
18647
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
18887
18648
  [x: string]: unknown;
18888
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
18889
- [x: string]: unknown;
18890
18649
  }, 429, "application/json">>>;
18891
- /** Get a zone file for a DNSZone. */
18892
- dnsGetZoneFile: (request: {
18893
- dnsZoneId: string;
18650
+ /** List DNSZones belonging to a Project. */
18651
+ dnsListDnsZones: (request: {
18652
+ projectId: string;
18894
18653
  headers?: {
18895
18654
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
18896
18655
  "x-access-token"?: string | undefined;
@@ -18901,7 +18660,7 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
18901
18660
  }>;
18902
18661
  } & {
18903
18662
  pathParameters: {
18904
- dnsZoneId: string;
18663
+ projectId: string;
18905
18664
  };
18906
18665
  } & {
18907
18666
  headers: {
@@ -18909,7 +18668,7 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
18909
18668
  } & Partial<{
18910
18669
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18911
18670
  }>;
18912
- }, import("@mittwald/api-client-commons").Response<string, 200, "text/plain"> | import("@mittwald/api-client-commons").Response<{
18671
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDnsZone[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
18913
18672
  [x: string]: unknown;
18914
18673
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
18915
18674
  [x: string]: unknown;
@@ -18919,7 +18678,7 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
18919
18678
  }>;
18920
18679
  } & {
18921
18680
  pathParameters: {
18922
- dnsZoneId: string;
18681
+ projectId: string;
18923
18682
  };
18924
18683
  } & {
18925
18684
  headers: {
@@ -18927,7 +18686,7 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
18927
18686
  } & Partial<{
18928
18687
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18929
18688
  }>;
18930
- }, import("@mittwald/api-client-commons").Response<string, 200, "text/plain"> | import("@mittwald/api-client-commons").Response<{
18689
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDnsZone[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
18931
18690
  [x: string]: unknown;
18932
18691
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
18933
18692
  [x: string]: unknown;