@mittwald/api-client 0.0.0-development-f0bf198-20260910 → 0.0.0-development-13c0470-20260911

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.
@@ -330,10 +330,6 @@ const buildDomainApi = (baseClient) => ({
330
330
  sslGetCertificate: new ApiCallAsyncResourceFactory(descriptors.sslGetCertificate, baseClient.domain.sslGetCertificate).getApiResource,
331
331
  /** List Certificates belonging to a Project or an Ingress. */
332
332
  sslListCertificates: new ApiCallAsyncResourceFactory(descriptors.sslListCertificates, baseClient.domain.sslListCertificates).getApiResource,
333
- /** List DNS zone-file import jobs belonging to a Project. */
334
- dnsListDnsZoneFileImports: new ApiCallAsyncResourceFactory(descriptors.dnsListDnsZoneFileImports, baseClient.domain.dnsListDnsZoneFileImports).getApiResource,
335
- /** Get the status of a DNS zone-file import job. */
336
- dnsGetDnsZoneFileImport: new ApiCallAsyncResourceFactory(descriptors.dnsGetDnsZoneFileImport, baseClient.domain.dnsGetDnsZoneFileImport).getApiResource,
337
333
  });
338
334
  const buildFileApi = (baseClient) => ({
339
335
  /** Get a File's meta. */
@@ -573,6 +573,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
573
573
  ingressUpdateIngressPaths: this.requestFunctionFactory(descriptors.ingressUpdateIngressPaths),
574
574
  /** Update the tls settings of an Ingress. */
575
575
  ingressUpdateIngressTls: this.requestFunctionFactory(descriptors.ingressUpdateIngressTls),
576
+ /** Create a DNSZone. */
577
+ dnsCreateDnsZone: this.requestFunctionFactory(descriptors.dnsCreateDnsZone),
576
578
  /** Get a DNSZone. */
577
579
  dnsGetDnsZone: this.requestFunctionFactory(descriptors.dnsGetDnsZone),
578
580
  /** Delete a DNSZone. */
@@ -581,8 +583,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
581
583
  dnsGetZoneFile: this.requestFunctionFactory(descriptors.dnsGetZoneFile),
582
584
  /** List DNSZones belonging to a Project. */
583
585
  dnsListDnsZones: this.requestFunctionFactory(descriptors.dnsListDnsZones),
584
- /** Create a DNSZone for a domain in a Project. */
585
- dnsCreateProjectDnsZone: this.requestFunctionFactory(descriptors.dnsCreateProjectDnsZone),
586
586
  /** Set a record set on a DNSZone to managed. */
587
587
  dnsSetRecordSetManaged: this.requestFunctionFactory(descriptors.dnsSetRecordSetManaged),
588
588
  /** Update a record set on a DNSZone. */
@@ -667,12 +667,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
667
667
  sslListCertificates: this.requestFunctionFactory(descriptors.sslListCertificates),
668
668
  /** Update the certificate of a CertificateRequest. */
669
669
  sslSetCertificateRequestCertificate: this.requestFunctionFactory(descriptors.sslSetCertificateRequestCertificate),
670
- /** List DNS zone-file import jobs belonging to a Project. */
671
- dnsListDnsZoneFileImports: this.requestFunctionFactory(descriptors.dnsListDnsZoneFileImports),
672
- /** Import a DNS zone file into a Project, or preview it with dry-run. */
673
- dnsCreateDnsZoneFileImport: this.requestFunctionFactory(descriptors.dnsCreateDnsZoneFileImport),
674
- /** Get the status of a DNS zone-file import job. */
675
- dnsGetDnsZoneFileImport: this.requestFunctionFactory(descriptors.dnsGetDnsZoneFileImport),
676
670
  };
677
671
  /** The mail API allows you to manage your mail accounts. */
678
672
  mail = {
@@ -1282,6 +1282,12 @@ export const userUpdateAccount = {
1282
1282
  method: "PUT",
1283
1283
  operationId: "user-update-account",
1284
1284
  };
1285
+ /** Create a DNSZone. */
1286
+ export const dnsCreateDnsZone = {
1287
+ path: "/v2/dns-zones",
1288
+ method: "POST",
1289
+ operationId: "dns-create-dns-zone",
1290
+ };
1285
1291
  /** Get a DNSZone. */
1286
1292
  export const dnsGetDnsZone = {
1287
1293
  path: "/v2/dns-zones/{dnsZoneId}",
@@ -1306,12 +1312,6 @@ export const dnsListDnsZones = {
1306
1312
  method: "GET",
1307
1313
  operationId: "dns-list-dns-zones",
1308
1314
  };
1309
- /** Create a DNSZone for a domain in a Project. */
1310
- export const dnsCreateProjectDnsZone = {
1311
- path: "/v2/projects/{projectId}/dns-zones",
1312
- method: "POST",
1313
- operationId: "dns-create-project-dns-zone",
1314
- };
1315
1315
  /** Set a record set on a DNSZone to managed. */
1316
1316
  export const dnsSetRecordSetManaged = {
1317
1317
  path: "/v2/dns-zones/{dnsZoneId}/record-sets/{recordSet}/actions/set-managed",
@@ -2938,21 +2938,3 @@ export const verificationVerifyCompany = {
2938
2938
  method: "POST",
2939
2939
  operationId: "verification-verify-company",
2940
2940
  };
2941
- /** List DNS zone-file import jobs belonging to a Project. */
2942
- export const dnsListDnsZoneFileImports = {
2943
- path: "/v2/projects/{projectId}/dns-zone-imports",
2944
- method: "GET",
2945
- operationId: "dns-list-dns-zone-file-imports",
2946
- };
2947
- /** Import a DNS zone file into a Project, or preview it with dry-run. */
2948
- export const dnsCreateDnsZoneFileImport = {
2949
- path: "/v2/projects/{projectId}/dns-zone-imports",
2950
- method: "POST",
2951
- operationId: "dns-create-dns-zone-file-import",
2952
- };
2953
- /** Get the status of a DNS zone-file import job. */
2954
- export const dnsGetDnsZoneFileImport = {
2955
- path: "/v2/dns-zone-imports/{zoneFileImportId}",
2956
- method: "GET",
2957
- operationId: "dns-get-dns-zone-file-import",
2958
- };
@@ -330,10 +330,6 @@ const buildDomainApi = (baseClient) => ({
330
330
  sslGetCertificate: new ApiCallAsyncResourceFactory(descriptors.sslGetCertificate, baseClient.domain.sslGetCertificate).getApiResource,
331
331
  /** List Certificates belonging to a Project or an Ingress. */
332
332
  sslListCertificates: new ApiCallAsyncResourceFactory(descriptors.sslListCertificates, baseClient.domain.sslListCertificates).getApiResource,
333
- /** List DNS zone-file import jobs belonging to a Project. */
334
- dnsListDnsZoneFileImports: new ApiCallAsyncResourceFactory(descriptors.dnsListDnsZoneFileImports, baseClient.domain.dnsListDnsZoneFileImports).getApiResource,
335
- /** Get the status of a DNS zone-file import job. */
336
- dnsGetDnsZoneFileImport: new ApiCallAsyncResourceFactory(descriptors.dnsGetDnsZoneFileImport, baseClient.domain.dnsGetDnsZoneFileImport).getApiResource,
337
333
  });
338
334
  const buildFileApi = (baseClient) => ({
339
335
  /** Get a File's meta. */
@@ -573,6 +573,8 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
573
573
  ingressUpdateIngressPaths: this.requestFunctionFactory(descriptors.ingressUpdateIngressPaths),
574
574
  /** Update the tls settings of an Ingress. */
575
575
  ingressUpdateIngressTls: this.requestFunctionFactory(descriptors.ingressUpdateIngressTls),
576
+ /** Create a DNSZone. */
577
+ dnsCreateDnsZone: this.requestFunctionFactory(descriptors.dnsCreateDnsZone),
576
578
  /** Get a DNSZone. */
577
579
  dnsGetDnsZone: this.requestFunctionFactory(descriptors.dnsGetDnsZone),
578
580
  /** Delete a DNSZone. */
@@ -581,8 +583,6 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
581
583
  dnsGetZoneFile: this.requestFunctionFactory(descriptors.dnsGetZoneFile),
582
584
  /** List DNSZones belonging to a Project. */
583
585
  dnsListDnsZones: this.requestFunctionFactory(descriptors.dnsListDnsZones),
584
- /** Create a DNSZone for a domain in a Project. */
585
- dnsCreateProjectDnsZone: this.requestFunctionFactory(descriptors.dnsCreateProjectDnsZone),
586
586
  /** Set a record set on a DNSZone to managed. */
587
587
  dnsSetRecordSetManaged: this.requestFunctionFactory(descriptors.dnsSetRecordSetManaged),
588
588
  /** Update a record set on a DNSZone. */
@@ -667,12 +667,6 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
667
667
  sslListCertificates: this.requestFunctionFactory(descriptors.sslListCertificates),
668
668
  /** Update the certificate of a CertificateRequest. */
669
669
  sslSetCertificateRequestCertificate: this.requestFunctionFactory(descriptors.sslSetCertificateRequestCertificate),
670
- /** List DNS zone-file import jobs belonging to a Project. */
671
- dnsListDnsZoneFileImports: this.requestFunctionFactory(descriptors.dnsListDnsZoneFileImports),
672
- /** Import a DNS zone file into a Project, or preview it with dry-run. */
673
- dnsCreateDnsZoneFileImport: this.requestFunctionFactory(descriptors.dnsCreateDnsZoneFileImport),
674
- /** Get the status of a DNS zone-file import job. */
675
- dnsGetDnsZoneFileImport: this.requestFunctionFactory(descriptors.dnsGetDnsZoneFileImport),
676
670
  };
677
671
  /** The mail API allows you to manage your mail accounts. */
678
672
  mail = {
@@ -1282,6 +1282,12 @@ export const userUpdateAccount = {
1282
1282
  method: "PUT",
1283
1283
  operationId: "user-update-account",
1284
1284
  };
1285
+ /** Create a DNSZone. */
1286
+ export const dnsCreateDnsZone = {
1287
+ path: "/v3-next/dns-zones",
1288
+ method: "POST",
1289
+ operationId: "dns-create-dns-zone",
1290
+ };
1285
1291
  /** Get a DNSZone. */
1286
1292
  export const dnsGetDnsZone = {
1287
1293
  path: "/v3-next/dns-zones/{dnsZoneId}",
@@ -1306,12 +1312,6 @@ export const dnsListDnsZones = {
1306
1312
  method: "GET",
1307
1313
  operationId: "dns-list-dns-zones",
1308
1314
  };
1309
- /** Create a DNSZone for a domain in a Project. */
1310
- export const dnsCreateProjectDnsZone = {
1311
- path: "/v3-next/projects/{projectId}/dns-zones",
1312
- method: "POST",
1313
- operationId: "dns-create-project-dns-zone",
1314
- };
1315
1315
  /** Set a record set on a DNSZone to managed. */
1316
1316
  export const dnsSetRecordSetManaged = {
1317
1317
  path: "/v3-next/dns-zones/{dnsZoneId}/record-sets/{recordSet}/actions/set-managed",
@@ -2938,21 +2938,3 @@ export const verificationVerifyCompany = {
2938
2938
  method: "POST",
2939
2939
  operationId: "verification-verify-company",
2940
2940
  };
2941
- /** List DNS zone-file import jobs belonging to a Project. */
2942
- export const dnsListDnsZoneFileImports = {
2943
- path: "/v3-next/projects/{projectId}/dns-zone-imports",
2944
- method: "GET",
2945
- operationId: "dns-list-dns-zone-file-imports",
2946
- };
2947
- /** Import a DNS zone file into a Project, or preview it with dry-run. */
2948
- export const dnsCreateDnsZoneFileImport = {
2949
- path: "/v3-next/projects/{projectId}/dns-zone-imports",
2950
- method: "POST",
2951
- operationId: "dns-create-dns-zone-file-import",
2952
- };
2953
- /** Get the status of a DNS zone-file import job. */
2954
- export const dnsGetDnsZoneFileImport = {
2955
- path: "/v3-next/dns-zone-imports/{zoneFileImportId}",
2956
- method: "GET",
2957
- operationId: "dns-get-dns-zone-file-import",
2958
- };
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '0.0.0-development-a0108d5-20260909';
1
+ export const MittwaldAPIClientVersion = '4.461.0';
@@ -140,7 +140,6 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV2Client) => {
140
140
  name: string;
141
141
  }[];
142
142
  modelShare: {
143
- displayName?: string;
144
143
  model: string;
145
144
  tokens: number;
146
145
  }[];
@@ -2645,44 +2644,6 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
2645
2644
  ingressId?: string | undefined;
2646
2645
  } | undefined;
2647
2646
  } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.SslCertificate[]>;
2648
- /** List DNS zone-file import jobs belonging to a Project. */
2649
- dnsListDnsZoneFileImports: (conf: {
2650
- projectId: string;
2651
- headers?: {
2652
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2653
- "x-access-token"?: string | undefined;
2654
- } | undefined;
2655
- queryParameters?: {
2656
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2657
- limit?: number | undefined;
2658
- skip?: number | undefined;
2659
- page?: number | undefined;
2660
- sort?: "createdAt" | undefined;
2661
- order?: "asc" | "desc" | undefined;
2662
- } | undefined;
2663
- }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.DnsZoneFileImport[]>;
2664
- /** Get the status of a DNS zone-file import job. */
2665
- dnsGetDnsZoneFileImport: (conf: {
2666
- zoneFileImportId: string;
2667
- headers?: {
2668
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2669
- "x-access-token"?: string | undefined;
2670
- } | undefined;
2671
- }) => import("@mittwald/react-use-promise").AsyncResource<{
2672
- createdAt: string;
2673
- failedZones: {
2674
- error: string;
2675
- name: string;
2676
- }[];
2677
- id: string;
2678
- importedZones: string[];
2679
- projectId: string;
2680
- skippedZones: {
2681
- name: string;
2682
- reason: string;
2683
- }[];
2684
- status: "running" | "succeeded" | "failed" | "completedWithErrors";
2685
- }>;
2686
2647
  };
2687
2648
  declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
2688
2649
  /** Get a File's meta. */
@@ -838,7 +838,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
838
838
  name: string;
839
839
  }[];
840
840
  modelShare: {
841
- displayName?: string;
842
841
  model: string;
843
842
  tokens: number;
844
843
  }[];
@@ -887,7 +886,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
887
886
  name: string;
888
887
  }[];
889
888
  modelShare: {
890
- displayName?: string;
891
889
  model: string;
892
890
  tokens: number;
893
891
  }[];
@@ -18410,6 +18408,63 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
18410
18408
  }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
18411
18409
  [x: string]: unknown;
18412
18410
  }, 429, "application/json">>>;
18411
+ /** Create a DNSZone. */
18412
+ dnsCreateDnsZone: (request: {
18413
+ data: {
18414
+ name: string;
18415
+ parentZoneId: string;
18416
+ };
18417
+ headers?: {
18418
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
18419
+ "x-access-token"?: string | undefined;
18420
+ } | undefined;
18421
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
18422
+ data: {
18423
+ name: string;
18424
+ parentZoneId: string;
18425
+ };
18426
+ } & {
18427
+ headers?: Partial<{
18428
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18429
+ }>;
18430
+ } & {
18431
+ headers: {
18432
+ "x-access-token"?: string | undefined;
18433
+ } & Partial<{
18434
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18435
+ }>;
18436
+ }, import("@mittwald/api-client-commons").Response<{
18437
+ id: string;
18438
+ }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
18439
+ [x: string]: unknown;
18440
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
18441
+ [x: string]: unknown;
18442
+ }, 409, "application/json"> | import("@mittwald/api-client-commons").Response<{
18443
+ [x: string]: unknown;
18444
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
18445
+ data: {
18446
+ name: string;
18447
+ parentZoneId: string;
18448
+ };
18449
+ } & {
18450
+ headers?: Partial<{
18451
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18452
+ }>;
18453
+ } & {
18454
+ headers: {
18455
+ "x-access-token"?: string | undefined;
18456
+ } & Partial<{
18457
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18458
+ }>;
18459
+ }, import("@mittwald/api-client-commons").Response<{
18460
+ id: string;
18461
+ }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
18462
+ [x: string]: unknown;
18463
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
18464
+ [x: string]: unknown;
18465
+ }, 409, "application/json"> | import("@mittwald/api-client-commons").Response<{
18466
+ [x: string]: unknown;
18467
+ }, 429, "application/json">>>;
18413
18468
  /** Get a DNSZone. */
18414
18469
  dnsGetDnsZone: (request: {
18415
18470
  dnsZoneId: string;
@@ -18608,77 +18663,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
18608
18663
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
18609
18664
  [x: string]: unknown;
18610
18665
  }, 429, "application/json">>>;
18611
- /** Create a DNSZone for a domain in a Project. */
18612
- dnsCreateProjectDnsZone: (request: {
18613
- data: {
18614
- name: string;
18615
- };
18616
- projectId: string;
18617
- headers?: {
18618
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
18619
- "x-access-token"?: string | undefined;
18620
- } | undefined;
18621
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
18622
- data: {
18623
- name: string;
18624
- };
18625
- } & {
18626
- pathParameters: {
18627
- projectId: string;
18628
- };
18629
- } & {
18630
- headers?: Partial<{
18631
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18632
- }>;
18633
- } & {
18634
- headers: {
18635
- "x-access-token"?: string | undefined;
18636
- } & Partial<{
18637
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18638
- }>;
18639
- }, import("@mittwald/api-client-commons").Response<{
18640
- id: string;
18641
- }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
18642
- [x: string]: unknown;
18643
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
18644
- [x: string]: unknown;
18645
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
18646
- [x: string]: unknown;
18647
- }, 409, "application/json"> | import("@mittwald/api-client-commons").Response<{
18648
- [x: string]: unknown;
18649
- }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
18650
- [x: string]: unknown;
18651
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
18652
- data: {
18653
- name: string;
18654
- };
18655
- } & {
18656
- pathParameters: {
18657
- projectId: string;
18658
- };
18659
- } & {
18660
- headers?: Partial<{
18661
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18662
- }>;
18663
- } & {
18664
- headers: {
18665
- "x-access-token"?: string | undefined;
18666
- } & Partial<{
18667
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18668
- }>;
18669
- }, import("@mittwald/api-client-commons").Response<{
18670
- id: string;
18671
- }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
18672
- [x: string]: unknown;
18673
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
18674
- [x: string]: unknown;
18675
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
18676
- [x: string]: unknown;
18677
- }, 409, "application/json"> | import("@mittwald/api-client-commons").Response<{
18678
- [x: string]: unknown;
18679
- }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
18680
- [x: string]: unknown;
18681
- }, 429, "application/json">>>;
18682
18666
  /** Set a record set on a DNSZone to managed. */
18683
18667
  dnsSetRecordSetManaged: (request: {
18684
18668
  dnsZoneId: string;
@@ -21327,233 +21311,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
21327
21311
  }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
21328
21312
  [x: string]: unknown;
21329
21313
  }, 429, "application/json">>>;
21330
- /** List DNS zone-file import jobs belonging to a Project. */
21331
- dnsListDnsZoneFileImports: (request: {
21332
- projectId: string;
21333
- headers?: {
21334
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
21335
- "x-access-token"?: string | undefined;
21336
- } | undefined;
21337
- queryParameters?: {
21338
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
21339
- limit?: number | undefined;
21340
- skip?: number | undefined;
21341
- page?: number | undefined;
21342
- sort?: "createdAt" | undefined;
21343
- order?: "asc" | "desc" | undefined;
21344
- } | undefined;
21345
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
21346
- headers?: Partial<{
21347
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
21348
- }>;
21349
- } & {
21350
- pathParameters: {
21351
- projectId: string;
21352
- };
21353
- } & {
21354
- queryParameters: {
21355
- limit?: number | undefined;
21356
- skip?: number | undefined;
21357
- page?: number | undefined;
21358
- sort?: "createdAt" | undefined;
21359
- order?: "asc" | "desc" | undefined;
21360
- } & Partial<{
21361
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
21362
- }>;
21363
- } & {
21364
- headers: {
21365
- "x-access-token"?: string | undefined;
21366
- } & Partial<{
21367
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
21368
- }>;
21369
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.DnsZoneFileImport[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
21370
- [x: string]: unknown;
21371
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
21372
- [x: string]: unknown;
21373
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
21374
- headers?: Partial<{
21375
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
21376
- }>;
21377
- } & {
21378
- pathParameters: {
21379
- projectId: string;
21380
- };
21381
- } & {
21382
- queryParameters: {
21383
- limit?: number | undefined;
21384
- skip?: number | undefined;
21385
- page?: number | undefined;
21386
- sort?: "createdAt" | undefined;
21387
- order?: "asc" | "desc" | undefined;
21388
- } & Partial<{
21389
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
21390
- }>;
21391
- } & {
21392
- headers: {
21393
- "x-access-token"?: string | undefined;
21394
- } & Partial<{
21395
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
21396
- }>;
21397
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.DnsZoneFileImport[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
21398
- [x: string]: unknown;
21399
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
21400
- [x: string]: unknown;
21401
- }, 429, "application/json">>>;
21402
- /** Import a DNS zone file into a Project, or preview it with dry-run. */
21403
- dnsCreateDnsZoneFileImport: (request: {
21404
- data: {
21405
- zoneFile: string;
21406
- };
21407
- projectId: string;
21408
- headers?: {
21409
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
21410
- "x-access-token"?: string | undefined;
21411
- } | undefined;
21412
- queryParameters?: {
21413
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
21414
- "dry-run"?: boolean | undefined;
21415
- } | undefined;
21416
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
21417
- data: {
21418
- zoneFile: string;
21419
- };
21420
- } & {
21421
- pathParameters: {
21422
- projectId: string;
21423
- };
21424
- } & {
21425
- queryParameters: {
21426
- "dry-run"?: boolean | undefined;
21427
- } & Partial<{
21428
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
21429
- }>;
21430
- } & {
21431
- headers: {
21432
- "x-access-token"?: string | undefined;
21433
- } & Partial<{
21434
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
21435
- }>;
21436
- }, import("@mittwald/api-client-commons").Response<{
21437
- conflicts: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsImportConflict[];
21438
- id?: string | undefined;
21439
- zones: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsZoneImportPreview[];
21440
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
21441
- [x: string]: unknown;
21442
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
21443
- [x: string]: unknown;
21444
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
21445
- [x: string]: unknown;
21446
- }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
21447
- [x: string]: unknown;
21448
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
21449
- data: {
21450
- zoneFile: string;
21451
- };
21452
- } & {
21453
- pathParameters: {
21454
- projectId: string;
21455
- };
21456
- } & {
21457
- queryParameters: {
21458
- "dry-run"?: boolean | undefined;
21459
- } & Partial<{
21460
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
21461
- }>;
21462
- } & {
21463
- headers: {
21464
- "x-access-token"?: string | undefined;
21465
- } & Partial<{
21466
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
21467
- }>;
21468
- }, import("@mittwald/api-client-commons").Response<{
21469
- conflicts: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsImportConflict[];
21470
- id?: string | undefined;
21471
- zones: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsZoneImportPreview[];
21472
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
21473
- [x: string]: unknown;
21474
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
21475
- [x: string]: unknown;
21476
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
21477
- [x: string]: unknown;
21478
- }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
21479
- [x: string]: unknown;
21480
- }, 429, "application/json">>>;
21481
- /** Get the status of a DNS zone-file import job. */
21482
- dnsGetDnsZoneFileImport: (request: {
21483
- zoneFileImportId: string;
21484
- headers?: {
21485
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
21486
- "x-access-token"?: string | undefined;
21487
- } | undefined;
21488
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
21489
- headers?: Partial<{
21490
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
21491
- }>;
21492
- } & {
21493
- pathParameters: {
21494
- zoneFileImportId: string;
21495
- };
21496
- } & {
21497
- headers: {
21498
- "x-access-token"?: string | undefined;
21499
- } & Partial<{
21500
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
21501
- }>;
21502
- }, import("@mittwald/api-client-commons").Response<{
21503
- createdAt: string;
21504
- failedZones: {
21505
- error: string;
21506
- name: string;
21507
- }[];
21508
- id: string;
21509
- importedZones: string[];
21510
- projectId: string;
21511
- skippedZones: {
21512
- name: string;
21513
- reason: string;
21514
- }[];
21515
- status: "running" | "succeeded" | "failed" | "completedWithErrors";
21516
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
21517
- [x: string]: unknown;
21518
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
21519
- [x: string]: unknown;
21520
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
21521
- [x: string]: unknown;
21522
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
21523
- headers?: Partial<{
21524
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
21525
- }>;
21526
- } & {
21527
- pathParameters: {
21528
- zoneFileImportId: string;
21529
- };
21530
- } & {
21531
- headers: {
21532
- "x-access-token"?: string | undefined;
21533
- } & Partial<{
21534
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
21535
- }>;
21536
- }, import("@mittwald/api-client-commons").Response<{
21537
- createdAt: string;
21538
- failedZones: {
21539
- error: string;
21540
- name: string;
21541
- }[];
21542
- id: string;
21543
- importedZones: string[];
21544
- projectId: string;
21545
- skippedZones: {
21546
- name: string;
21547
- reason: string;
21548
- }[];
21549
- status: "running" | "succeeded" | "failed" | "completedWithErrors";
21550
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
21551
- [x: string]: unknown;
21552
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
21553
- [x: string]: unknown;
21554
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
21555
- [x: string]: unknown;
21556
- }, 429, "application/json">>>;
21557
21314
  };
21558
21315
  /** The mail API allows you to manage your mail accounts. */
21559
21316
  readonly mail: {
@@ -24355,14 +24112,10 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
24355
24112
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
24356
24113
  }>;
24357
24114
  }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
24358
- type: "ValidationError";
24359
- message?: string | undefined;
24360
- validationErrors: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsValidationErrorSchema[];
24361
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
24362
24115
  expires: string;
24363
24116
  refreshToken: string;
24364
24117
  token: string;
24365
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
24118
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<import("@mittwald/api-client-commons").Simplify<import("./types.js").MittwaldAPIV2.Paths.V2AuthenticateMfa.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
24366
24119
  [x: string]: unknown;
24367
24120
  }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
24368
24121
  info?: {} | undefined;
@@ -24385,14 +24138,10 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
24385
24138
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
24386
24139
  }>;
24387
24140
  }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
24388
- type: "ValidationError";
24389
- message?: string | undefined;
24390
- validationErrors: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsValidationErrorSchema[];
24391
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
24392
24141
  expires: string;
24393
24142
  refreshToken: string;
24394
24143
  token: string;
24395
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
24144
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<import("@mittwald/api-client-commons").Simplify<import("./types.js").MittwaldAPIV2.Paths.V2AuthenticateMfa.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
24396
24145
  [x: string]: unknown;
24397
24146
  }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
24398
24147
  info?: {} | undefined;