@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 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
+ 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;
@@ -1290,223 +1464,23 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
1290
1464
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
1291
1465
  [x: string]: unknown;
1292
1466
  }, 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;
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 MittwaldAPIV3NextClient 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 MittwaldAPIV3NextClient extends ApiClientBase {
16039
16015
  owner?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldCustomerContact | 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 MittwaldAPIV3NextClient extends ApiClientBase {
16084
16060
  owner?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldCustomerContact | 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<{
@@ -18436,207 +18412,12 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
18436
18412
  }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
18437
18413
  [x: string]: unknown;
18438
18414
  }, 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: {
18415
+ /** Create a DNSZone. */
18416
+ dnsCreateDnsZone: (request: {
18636
18417
  data: {
18637
18418
  name: string;
18419
+ parentZoneId: string;
18638
18420
  };
18639
- projectId: string;
18640
18421
  headers?: {
18641
18422
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
18642
18423
  "x-access-token"?: string | undefined;
@@ -18644,10 +18425,7 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
18644
18425
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
18645
18426
  data: {
18646
18427
  name: string;
18647
- };
18648
- } & {
18649
- pathParameters: {
18650
- projectId: string;
18428
+ parentZoneId: string;
18651
18429
  };
18652
18430
  } & {
18653
18431
  headers?: Partial<{
@@ -18665,19 +18443,12 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
18665
18443
  [x: string]: unknown;
18666
18444
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
18667
18445
  [x: string]: unknown;
18668
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
18669
- [x: string]: unknown;
18670
18446
  }, 409, "application/json"> | import("@mittwald/api-client-commons").Response<{
18671
18447
  [x: string]: unknown;
18672
- }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
18673
- [x: string]: unknown;
18674
18448
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
18675
18449
  data: {
18676
18450
  name: string;
18677
- };
18678
- } & {
18679
- pathParameters: {
18680
- projectId: string;
18451
+ parentZoneId: string;
18681
18452
  };
18682
18453
  } & {
18683
18454
  headers?: Partial<{
@@ -18695,12 +18466,8 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
18695
18466
  [x: string]: unknown;
18696
18467
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
18697
18468
  [x: string]: unknown;
18698
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
18699
- [x: string]: unknown;
18700
18469
  }, 409, "application/json"> | import("@mittwald/api-client-commons").Response<{
18701
18470
  [x: string]: unknown;
18702
- }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
18703
- [x: string]: unknown;
18704
18471
  }, 429, "application/json">>>;
18705
18472
  /** Get a DNSZone. */
18706
18473
  dnsGetDnsZone: (request: {
@@ -18812,9 +18579,9 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
18812
18579
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
18813
18580
  [x: string]: unknown;
18814
18581
  }, 429, "application/json">>>;
18815
- /** Get the status of a DNS zone-file import job. */
18816
- dnsGetDnsZoneFileImport: (request: {
18817
- zoneFileImportId: string;
18582
+ /** Get a zone file for a DNSZone. */
18583
+ dnsGetZoneFile: (request: {
18584
+ dnsZoneId: string;
18818
18585
  headers?: {
18819
18586
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
18820
18587
  "x-access-token"?: string | undefined;
@@ -18825,7 +18592,7 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
18825
18592
  }>;
18826
18593
  } & {
18827
18594
  pathParameters: {
18828
- zoneFileImportId: string;
18595
+ dnsZoneId: string;
18829
18596
  };
18830
18597
  } & {
18831
18598
  headers: {
@@ -18833,33 +18600,17 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
18833
18600
  } & Partial<{
18834
18601
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18835
18602
  }>;
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<{
18603
+ }, import("@mittwald/api-client-commons").Response<string, 200, "text/plain"> | import("@mittwald/api-client-commons").Response<{
18851
18604
  [x: string]: unknown;
18852
18605
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
18853
18606
  [x: string]: unknown;
18854
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
18855
- [x: string]: unknown;
18856
18607
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
18857
18608
  headers?: Partial<{
18858
18609
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18859
18610
  }>;
18860
18611
  } & {
18861
18612
  pathParameters: {
18862
- zoneFileImportId: string;
18613
+ dnsZoneId: string;
18863
18614
  };
18864
18615
  } & {
18865
18616
  headers: {
@@ -18867,30 +18618,14 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
18867
18618
  } & Partial<{
18868
18619
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18869
18620
  }>;
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<{
18621
+ }, import("@mittwald/api-client-commons").Response<string, 200, "text/plain"> | import("@mittwald/api-client-commons").Response<{
18885
18622
  [x: string]: unknown;
18886
18623
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
18887
18624
  [x: string]: unknown;
18888
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
18889
- [x: string]: unknown;
18890
18625
  }, 429, "application/json">>>;
18891
- /** Get a zone file for a DNSZone. */
18892
- dnsGetZoneFile: (request: {
18893
- dnsZoneId: string;
18626
+ /** List DNSZones belonging to a Project. */
18627
+ dnsListDnsZones: (request: {
18628
+ projectId: string;
18894
18629
  headers?: {
18895
18630
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
18896
18631
  "x-access-token"?: string | undefined;
@@ -18901,7 +18636,7 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
18901
18636
  }>;
18902
18637
  } & {
18903
18638
  pathParameters: {
18904
- dnsZoneId: string;
18639
+ projectId: string;
18905
18640
  };
18906
18641
  } & {
18907
18642
  headers: {
@@ -18909,7 +18644,7 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
18909
18644
  } & Partial<{
18910
18645
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18911
18646
  }>;
18912
- }, import("@mittwald/api-client-commons").Response<string, 200, "text/plain"> | import("@mittwald/api-client-commons").Response<{
18647
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDnsZone[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
18913
18648
  [x: string]: unknown;
18914
18649
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
18915
18650
  [x: string]: unknown;
@@ -18919,7 +18654,7 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
18919
18654
  }>;
18920
18655
  } & {
18921
18656
  pathParameters: {
18922
- dnsZoneId: string;
18657
+ projectId: string;
18923
18658
  };
18924
18659
  } & {
18925
18660
  headers: {
@@ -18927,7 +18662,7 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
18927
18662
  } & Partial<{
18928
18663
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18929
18664
  }>;
18930
- }, import("@mittwald/api-client-commons").Response<string, 200, "text/plain"> | import("@mittwald/api-client-commons").Response<{
18665
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDnsZone[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
18931
18666
  [x: string]: unknown;
18932
18667
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
18933
18668
  [x: string]: unknown;