@mittwald/api-client 0.0.0-development-de8b283-20260817 → 0.0.0-development-18fc15b-20260819

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1309,6 +1309,65 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
1309
1309
  }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
1310
1310
  [x: string]: unknown;
1311
1311
  }, 429, "application/json">>>;
1312
+ /** Get all ai hosting plans and usages of a project. */
1313
+ projectGetPlans: (request: {
1314
+ projectId: string;
1315
+ headers?: {
1316
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1317
+ } | undefined;
1318
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
1319
+ headers?: Partial<{
1320
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
1321
+ }>;
1322
+ } & {
1323
+ pathParameters: {
1324
+ projectId: string;
1325
+ };
1326
+ }, import("@mittwald/api-client-commons").Response<{
1327
+ modelTermsApprovalRequired: boolean;
1328
+ plans: {
1329
+ description?: string;
1330
+ keys: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsage;
1331
+ modelTermsApprovalRequired: boolean;
1332
+ nextTokenReset?: string;
1333
+ planId: string;
1334
+ projectId: string;
1335
+ }[];
1336
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
1337
+ [x: string]: unknown;
1338
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
1339
+ [x: string]: unknown;
1340
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
1341
+ [x: string]: unknown;
1342
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
1343
+ [x: string]: unknown;
1344
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
1345
+ headers?: Partial<{
1346
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
1347
+ }>;
1348
+ } & {
1349
+ pathParameters: {
1350
+ projectId: string;
1351
+ };
1352
+ }, import("@mittwald/api-client-commons").Response<{
1353
+ modelTermsApprovalRequired: boolean;
1354
+ plans: {
1355
+ description?: string;
1356
+ keys: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsage;
1357
+ modelTermsApprovalRequired: boolean;
1358
+ nextTokenReset?: string;
1359
+ planId: string;
1360
+ projectId: string;
1361
+ }[];
1362
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
1363
+ [x: string]: unknown;
1364
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
1365
+ [x: string]: unknown;
1366
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
1367
+ [x: string]: unknown;
1368
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
1369
+ [x: string]: unknown;
1370
+ }, 429, "application/json">>>;
1312
1371
  };
1313
1372
  /** The App API allows you to manage your apps within a project, and all the system softwares that are installed as dependencies. */
1314
1373
  readonly app: {
@@ -5467,6 +5526,77 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5467
5526
  }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
5468
5527
  [x: string]: unknown;
5469
5528
  }, 500, "application/json">>>;
5529
+ /** List Services the executing user has access to. */
5530
+ listAccessibleServices: (request?: {
5531
+ headers?: {
5532
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
5533
+ "x-access-token"?: string | undefined;
5534
+ } | undefined;
5535
+ queryParameters?: {
5536
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
5537
+ searchTerm?: string | undefined;
5538
+ sortOrder?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerServiceSortOrder | undefined;
5539
+ limit?: number | undefined;
5540
+ skip?: number | undefined;
5541
+ page?: number | undefined;
5542
+ } | undefined;
5543
+ } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
5544
+ headers?: Partial<{
5545
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5546
+ }>;
5547
+ } & {
5548
+ queryParameters: {
5549
+ searchTerm?: string | undefined;
5550
+ sortOrder?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerServiceSortOrder | undefined;
5551
+ limit?: number | undefined;
5552
+ skip?: number | undefined;
5553
+ page?: number | undefined;
5554
+ } & Partial<{
5555
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5556
+ }>;
5557
+ } & {
5558
+ headers: {
5559
+ "x-access-token"?: string | undefined;
5560
+ } & Partial<{
5561
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5562
+ }>;
5563
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerServiceResponse[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
5564
+ [x: string]: unknown;
5565
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
5566
+ [x: string]: unknown;
5567
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
5568
+ [x: string]: unknown;
5569
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
5570
+ [x: string]: unknown;
5571
+ }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
5572
+ headers?: Partial<{
5573
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5574
+ }>;
5575
+ } & {
5576
+ queryParameters: {
5577
+ searchTerm?: string | undefined;
5578
+ sortOrder?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerServiceSortOrder | undefined;
5579
+ limit?: number | undefined;
5580
+ skip?: number | undefined;
5581
+ page?: number | undefined;
5582
+ } & Partial<{
5583
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5584
+ }>;
5585
+ } & {
5586
+ headers: {
5587
+ "x-access-token"?: string | undefined;
5588
+ } & Partial<{
5589
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5590
+ }>;
5591
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerServiceResponse[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
5592
+ [x: string]: unknown;
5593
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
5594
+ [x: string]: unknown;
5595
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
5596
+ [x: string]: unknown;
5597
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
5598
+ [x: string]: unknown;
5599
+ }, 500, "application/json">>>;
5470
5600
  /** List Stacks belonging to the executing user. */
5471
5601
  listSelfStacks: (request?: {
5472
5602
  headers?: {
@@ -6251,77 +6381,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6251
6381
  }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
6252
6382
  [x: string]: unknown;
6253
6383
  }, 500, "application/json">>>;
6254
- /** List Services the executing user has access to. */
6255
- listAccessibleServices: (request?: {
6256
- headers?: {
6257
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
6258
- "x-access-token"?: string | undefined;
6259
- } | undefined;
6260
- queryParameters?: {
6261
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
6262
- searchTerm?: string | undefined;
6263
- sortOrder?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerServiceSortOrder | undefined;
6264
- limit?: number | undefined;
6265
- skip?: number | undefined;
6266
- page?: number | undefined;
6267
- } | undefined;
6268
- } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
6269
- headers?: Partial<{
6270
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6271
- }>;
6272
- } & {
6273
- queryParameters: {
6274
- searchTerm?: string | undefined;
6275
- sortOrder?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerServiceSortOrder | undefined;
6276
- limit?: number | undefined;
6277
- skip?: number | undefined;
6278
- page?: number | undefined;
6279
- } & Partial<{
6280
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6281
- }>;
6282
- } & {
6283
- headers: {
6284
- "x-access-token"?: string | undefined;
6285
- } & Partial<{
6286
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6287
- }>;
6288
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerServiceResponse[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
6289
- [x: string]: unknown;
6290
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
6291
- [x: string]: unknown;
6292
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
6293
- [x: string]: unknown;
6294
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
6295
- [x: string]: unknown;
6296
- }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
6297
- headers?: Partial<{
6298
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6299
- }>;
6300
- } & {
6301
- queryParameters: {
6302
- searchTerm?: string | undefined;
6303
- sortOrder?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerServiceSortOrder | undefined;
6304
- limit?: number | undefined;
6305
- skip?: number | undefined;
6306
- page?: number | undefined;
6307
- } & Partial<{
6308
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6309
- }>;
6310
- } & {
6311
- headers: {
6312
- "x-access-token"?: string | undefined;
6313
- } & Partial<{
6314
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6315
- }>;
6316
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerServiceResponse[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
6317
- [x: string]: unknown;
6318
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
6319
- [x: string]: unknown;
6320
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
6321
- [x: string]: unknown;
6322
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
6323
- [x: string]: unknown;
6324
- }, 500, "application/json">>>;
6325
6384
  };
6326
6385
  /** The contract API allows you to manage your contracts and orders */
6327
6386
  readonly contract: {
@@ -8025,6 +8084,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
8025
8084
  customerId: string;
8026
8085
  monthlyTokens: number;
8027
8086
  requestsPerMinute: number;
8087
+ name?: string | undefined;
8028
8088
  useFreeTrial?: boolean | undefined;
8029
8089
  } | {
8030
8090
  description: string;
@@ -10285,6 +10345,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
10285
10345
  extensionId?: string | undefined;
10286
10346
  searchTerm?: string | undefined;
10287
10347
  anchor?: string | undefined;
10348
+ hasAcceptedAllScopes?: boolean | undefined;
10288
10349
  limit?: number | undefined;
10289
10350
  skip?: number | undefined;
10290
10351
  page?: number | undefined;
@@ -10302,6 +10363,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
10302
10363
  extensionId?: string | undefined;
10303
10364
  searchTerm?: string | undefined;
10304
10365
  anchor?: string | undefined;
10366
+ hasAcceptedAllScopes?: boolean | undefined;
10305
10367
  limit?: number | undefined;
10306
10368
  skip?: number | undefined;
10307
10369
  page?: number | undefined;
@@ -10331,6 +10393,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
10331
10393
  extensionId?: string | undefined;
10332
10394
  searchTerm?: string | undefined;
10333
10395
  anchor?: string | undefined;
10396
+ hasAcceptedAllScopes?: boolean | undefined;
10334
10397
  limit?: number | undefined;
10335
10398
  skip?: number | undefined;
10336
10399
  page?: number | undefined;
@@ -10520,6 +10583,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
10520
10583
  nextScheduledWebhookExecution?: string | undefined;
10521
10584
  pendingInstallation: boolean;
10522
10585
  pendingRemoval: boolean;
10586
+ scopeChangeAcceptanceDeadline?: string | undefined;
10523
10587
  variantKey?: string | undefined;
10524
10588
  webhookExecutionHalted: boolean;
10525
10589
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
@@ -10565,6 +10629,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
10565
10629
  nextScheduledWebhookExecution?: string | undefined;
10566
10630
  pendingInstallation: boolean;
10567
10631
  pendingRemoval: boolean;
10632
+ scopeChangeAcceptanceDeadline?: string | undefined;
10568
10633
  variantKey?: string | undefined;
10569
10634
  webhookExecutionHalted: boolean;
10570
10635
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
@@ -11589,6 +11654,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
11589
11654
  nextScheduledWebhookExecution?: string | undefined;
11590
11655
  pendingInstallation: boolean;
11591
11656
  pendingRemoval: boolean;
11657
+ scopeChangeAcceptanceDeadline?: string | undefined;
11592
11658
  variantKey?: string | undefined;
11593
11659
  webhookExecutionHalted: boolean;
11594
11660
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
@@ -11633,6 +11699,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
11633
11699
  nextScheduledWebhookExecution?: string | undefined;
11634
11700
  pendingInstallation: boolean;
11635
11701
  pendingRemoval: boolean;
11702
+ scopeChangeAcceptanceDeadline?: string | undefined;
11636
11703
  variantKey?: string | undefined;
11637
11704
  webhookExecutionHalted: boolean;
11638
11705
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
@@ -11686,6 +11753,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
11686
11753
  nextScheduledWebhookExecution?: string | undefined;
11687
11754
  pendingInstallation: boolean;
11688
11755
  pendingRemoval: boolean;
11756
+ scopeChangeAcceptanceDeadline?: string | undefined;
11689
11757
  variantKey?: string | undefined;
11690
11758
  webhookExecutionHalted: boolean;
11691
11759
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
@@ -11730,6 +11798,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
11730
11798
  nextScheduledWebhookExecution?: string | undefined;
11731
11799
  pendingInstallation: boolean;
11732
11800
  pendingRemoval: boolean;
11801
+ scopeChangeAcceptanceDeadline?: string | undefined;
11733
11802
  variantKey?: string | undefined;
11734
11803
  webhookExecutionHalted: boolean;
11735
11804
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
@@ -12078,7 +12147,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
12078
12147
  limit?: number | undefined;
12079
12148
  skip?: number | undefined;
12080
12149
  page?: number | undefined;
12081
- sort?: "name" | "pricing.priceInCents" | "relevance" | undefined;
12150
+ sort?: "name" | "pricing.priceInCents" | undefined;
12082
12151
  order?: "asc" | "desc" | undefined;
12083
12152
  } | undefined;
12084
12153
  } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
@@ -12095,7 +12164,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
12095
12164
  limit?: number | undefined;
12096
12165
  skip?: number | undefined;
12097
12166
  page?: number | undefined;
12098
- sort?: "name" | "pricing.priceInCents" | "relevance" | undefined;
12167
+ sort?: "name" | "pricing.priceInCents" | undefined;
12099
12168
  order?: "asc" | "desc" | undefined;
12100
12169
  } & Partial<{
12101
12170
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
@@ -12116,7 +12185,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
12116
12185
  limit?: number | undefined;
12117
12186
  skip?: number | undefined;
12118
12187
  page?: number | undefined;
12119
- sort?: "name" | "pricing.priceInCents" | "relevance" | undefined;
12188
+ sort?: "name" | "pricing.priceInCents" | undefined;
12120
12189
  order?: "asc" | "desc" | undefined;
12121
12190
  } & Partial<{
12122
12191
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
@@ -17842,12 +17911,115 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
17842
17911
  }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
17843
17912
  [x: string]: unknown;
17844
17913
  }, 429, "application/json">>>;
17845
- /** Create a DNSZone. */
17846
- dnsCreateDnsZone: (request: {
17914
+ /** Start a server-side DNS zone-file import for a Project. */
17915
+ dnsCreateDnsZoneFileImport: (request: {
17916
+ data: {
17917
+ zoneFile: string;
17918
+ };
17919
+ projectId: string;
17920
+ headers?: {
17921
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
17922
+ "x-access-token"?: string | undefined;
17923
+ } | undefined;
17924
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
17925
+ data: {
17926
+ zoneFile: string;
17927
+ };
17928
+ } & {
17929
+ pathParameters: {
17930
+ projectId: string;
17931
+ };
17932
+ } & {
17933
+ headers?: Partial<{
17934
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
17935
+ }>;
17936
+ } & {
17937
+ headers: {
17938
+ "x-access-token"?: string | undefined;
17939
+ } & Partial<{
17940
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
17941
+ }>;
17942
+ }, import("@mittwald/api-client-commons").Response<{
17943
+ id: string;
17944
+ }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
17945
+ [x: string]: unknown;
17946
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
17947
+ [x: string]: unknown;
17948
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
17949
+ data: {
17950
+ zoneFile: string;
17951
+ };
17952
+ } & {
17953
+ pathParameters: {
17954
+ projectId: string;
17955
+ };
17956
+ } & {
17957
+ headers?: Partial<{
17958
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
17959
+ }>;
17960
+ } & {
17961
+ headers: {
17962
+ "x-access-token"?: string | undefined;
17963
+ } & Partial<{
17964
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
17965
+ }>;
17966
+ }, import("@mittwald/api-client-commons").Response<{
17967
+ id: string;
17968
+ }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
17969
+ [x: string]: unknown;
17970
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
17971
+ [x: string]: unknown;
17972
+ }, 429, "application/json">>>;
17973
+ /** List DNSZones belonging to a Project. */
17974
+ dnsListDnsZones: (request: {
17975
+ projectId: string;
17976
+ headers?: {
17977
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
17978
+ "x-access-token"?: string | undefined;
17979
+ } | undefined;
17980
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
17981
+ headers?: Partial<{
17982
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
17983
+ }>;
17984
+ } & {
17985
+ pathParameters: {
17986
+ projectId: string;
17987
+ };
17988
+ } & {
17989
+ headers: {
17990
+ "x-access-token"?: string | undefined;
17991
+ } & Partial<{
17992
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
17993
+ }>;
17994
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.DnsZone[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
17995
+ [x: string]: unknown;
17996
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
17997
+ [x: string]: unknown;
17998
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
17999
+ headers?: Partial<{
18000
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18001
+ }>;
18002
+ } & {
18003
+ pathParameters: {
18004
+ projectId: string;
18005
+ };
18006
+ } & {
18007
+ headers: {
18008
+ "x-access-token"?: string | undefined;
18009
+ } & Partial<{
18010
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18011
+ }>;
18012
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.DnsZone[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
18013
+ [x: string]: unknown;
18014
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
18015
+ [x: string]: unknown;
18016
+ }, 429, "application/json">>>;
18017
+ /** Create a DNSZone for a domain in a Project. */
18018
+ dnsCreateProjectDnsZone: (request: {
17847
18019
  data: {
17848
18020
  name: string;
17849
- parentZoneId: string;
17850
18021
  };
18022
+ projectId: string;
17851
18023
  headers?: {
17852
18024
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
17853
18025
  "x-access-token"?: string | undefined;
@@ -17855,7 +18027,10 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
17855
18027
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
17856
18028
  data: {
17857
18029
  name: string;
17858
- parentZoneId: string;
18030
+ };
18031
+ } & {
18032
+ pathParameters: {
18033
+ projectId: string;
17859
18034
  };
17860
18035
  } & {
17861
18036
  headers?: Partial<{
@@ -17873,12 +18048,15 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
17873
18048
  [x: string]: unknown;
17874
18049
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
17875
18050
  [x: string]: unknown;
17876
- }, 409, "application/json"> | import("@mittwald/api-client-commons").Response<{
18051
+ }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
17877
18052
  [x: string]: unknown;
17878
18053
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
17879
18054
  data: {
17880
18055
  name: string;
17881
- parentZoneId: string;
18056
+ };
18057
+ } & {
18058
+ pathParameters: {
18059
+ projectId: string;
17882
18060
  };
17883
18061
  } & {
17884
18062
  headers?: Partial<{
@@ -17896,7 +18074,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
17896
18074
  [x: string]: unknown;
17897
18075
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
17898
18076
  [x: string]: unknown;
17899
- }, 409, "application/json"> | import("@mittwald/api-client-commons").Response<{
18077
+ }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
17900
18078
  [x: string]: unknown;
17901
18079
  }, 429, "application/json">>>;
17902
18080
  /** Get a DNSZone. */
@@ -18009,6 +18187,76 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
18009
18187
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
18010
18188
  [x: string]: unknown;
18011
18189
  }, 429, "application/json">>>;
18190
+ /** Get the status of a DNS zone-file import job. */
18191
+ dnsGetDnsZoneFileImport: (request: {
18192
+ zoneFileImportId: string;
18193
+ headers?: {
18194
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
18195
+ "x-access-token"?: string | undefined;
18196
+ } | undefined;
18197
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
18198
+ headers?: Partial<{
18199
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18200
+ }>;
18201
+ } & {
18202
+ pathParameters: {
18203
+ zoneFileImportId: string;
18204
+ };
18205
+ } & {
18206
+ headers: {
18207
+ "x-access-token"?: string | undefined;
18208
+ } & Partial<{
18209
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18210
+ }>;
18211
+ }, import("@mittwald/api-client-commons").Response<{
18212
+ failedZones?: {
18213
+ error?: string;
18214
+ name?: string;
18215
+ }[] | undefined;
18216
+ id?: string | undefined;
18217
+ importedZones?: string[] | undefined;
18218
+ projectId?: string | undefined;
18219
+ skippedZones?: {
18220
+ name?: string;
18221
+ reason?: string;
18222
+ }[] | undefined;
18223
+ status?: string | undefined;
18224
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
18225
+ [x: string]: unknown;
18226
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
18227
+ [x: string]: unknown;
18228
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
18229
+ headers?: Partial<{
18230
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18231
+ }>;
18232
+ } & {
18233
+ pathParameters: {
18234
+ zoneFileImportId: string;
18235
+ };
18236
+ } & {
18237
+ headers: {
18238
+ "x-access-token"?: string | undefined;
18239
+ } & Partial<{
18240
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18241
+ }>;
18242
+ }, import("@mittwald/api-client-commons").Response<{
18243
+ failedZones?: {
18244
+ error?: string;
18245
+ name?: string;
18246
+ }[] | undefined;
18247
+ id?: string | undefined;
18248
+ importedZones?: string[] | undefined;
18249
+ projectId?: string | undefined;
18250
+ skippedZones?: {
18251
+ name?: string;
18252
+ reason?: string;
18253
+ }[] | undefined;
18254
+ status?: string | undefined;
18255
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
18256
+ [x: string]: unknown;
18257
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
18258
+ [x: string]: unknown;
18259
+ }, 429, "application/json">>>;
18012
18260
  /** Get a zone file for a DNSZone. */
18013
18261
  dnsGetZoneFile: (request: {
18014
18262
  dnsZoneId: string;
@@ -18053,46 +18301,63 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
18053
18301
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
18054
18302
  [x: string]: unknown;
18055
18303
  }, 429, "application/json">>>;
18056
- /** List DNSZones belonging to a Project. */
18057
- dnsListDnsZones: (request: {
18304
+ /** Preview a DNS zone-file import for a Project. */
18305
+ dnsPreviewProjectDnsZoneFileImport: (request: {
18306
+ data: {
18307
+ zoneFile: string;
18308
+ };
18058
18309
  projectId: string;
18059
18310
  headers?: {
18060
18311
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
18061
18312
  "x-access-token"?: string | undefined;
18062
18313
  } | undefined;
18063
18314
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
18064
- headers?: Partial<{
18065
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18066
- }>;
18315
+ data: {
18316
+ zoneFile: string;
18317
+ };
18067
18318
  } & {
18068
18319
  pathParameters: {
18069
18320
  projectId: string;
18070
18321
  };
18322
+ } & {
18323
+ headers?: Partial<{
18324
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18325
+ }>;
18071
18326
  } & {
18072
18327
  headers: {
18073
18328
  "x-access-token"?: string | undefined;
18074
18329
  } & Partial<{
18075
18330
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18076
18331
  }>;
18077
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.DnsZone[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
18332
+ }, import("@mittwald/api-client-commons").Response<{
18333
+ diagnostics?: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsImportDiagnostic[] | undefined;
18334
+ zones?: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsZoneImportPreview[] | undefined;
18335
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
18078
18336
  [x: string]: unknown;
18079
18337
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
18080
18338
  [x: string]: unknown;
18081
18339
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
18082
- headers?: Partial<{
18083
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18084
- }>;
18340
+ data: {
18341
+ zoneFile: string;
18342
+ };
18085
18343
  } & {
18086
18344
  pathParameters: {
18087
18345
  projectId: string;
18088
18346
  };
18347
+ } & {
18348
+ headers?: Partial<{
18349
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18350
+ }>;
18089
18351
  } & {
18090
18352
  headers: {
18091
18353
  "x-access-token"?: string | undefined;
18092
18354
  } & Partial<{
18093
18355
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18094
18356
  }>;
18095
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.DnsZone[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
18357
+ }, import("@mittwald/api-client-commons").Response<{
18358
+ diagnostics?: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsImportDiagnostic[] | undefined;
18359
+ zones?: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsZoneImportPreview[] | undefined;
18360
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
18096
18361
  [x: string]: unknown;
18097
18362
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
18098
18363
  [x: string]: unknown;