@mittwald/api-client 0.0.0-development-a0108d5-20260909 → 0.0.0-development-f0bf198-20260910

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,6 +330,10 @@ 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,
333
337
  });
334
338
  const buildFileApi = (baseClient) => ({
335
339
  /** Get a File's meta. */
@@ -573,8 +573,6 @@ 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),
578
576
  /** Get a DNSZone. */
579
577
  dnsGetDnsZone: this.requestFunctionFactory(descriptors.dnsGetDnsZone),
580
578
  /** Delete a DNSZone. */
@@ -583,6 +581,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
583
581
  dnsGetZoneFile: this.requestFunctionFactory(descriptors.dnsGetZoneFile),
584
582
  /** List DNSZones belonging to a Project. */
585
583
  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,6 +667,12 @@ 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),
670
676
  };
671
677
  /** The mail API allows you to manage your mail accounts. */
672
678
  mail = {
@@ -1282,12 +1282,6 @@ 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
- };
1291
1285
  /** Get a DNSZone. */
1292
1286
  export const dnsGetDnsZone = {
1293
1287
  path: "/v2/dns-zones/{dnsZoneId}",
@@ -1312,6 +1306,12 @@ export const dnsListDnsZones = {
1312
1306
  method: "GET",
1313
1307
  operationId: "dns-list-dns-zones",
1314
1308
  };
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,3 +2938,21 @@ 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,6 +330,10 @@ 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,
333
337
  });
334
338
  const buildFileApi = (baseClient) => ({
335
339
  /** Get a File's meta. */
@@ -573,8 +573,6 @@ 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),
578
576
  /** Get a DNSZone. */
579
577
  dnsGetDnsZone: this.requestFunctionFactory(descriptors.dnsGetDnsZone),
580
578
  /** Delete a DNSZone. */
@@ -583,6 +581,8 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
583
581
  dnsGetZoneFile: this.requestFunctionFactory(descriptors.dnsGetZoneFile),
584
582
  /** List DNSZones belonging to a Project. */
585
583
  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,6 +667,12 @@ 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),
670
676
  };
671
677
  /** The mail API allows you to manage your mail accounts. */
672
678
  mail = {
@@ -1282,12 +1282,6 @@ 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
- };
1291
1285
  /** Get a DNSZone. */
1292
1286
  export const dnsGetDnsZone = {
1293
1287
  path: "/v3-next/dns-zones/{dnsZoneId}",
@@ -1312,6 +1306,12 @@ export const dnsListDnsZones = {
1312
1306
  method: "GET",
1313
1307
  operationId: "dns-list-dns-zones",
1314
1308
  };
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,3 +2938,21 @@ 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 = '4.460.0';
1
+ export const MittwaldAPIClientVersion = '0.0.0-development-a0108d5-20260909';
@@ -140,6 +140,7 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV2Client) => {
140
140
  name: string;
141
141
  }[];
142
142
  modelShare: {
143
+ displayName?: string;
143
144
  model: string;
144
145
  tokens: number;
145
146
  }[];
@@ -2644,6 +2645,44 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
2644
2645
  ingressId?: string | undefined;
2645
2646
  } | undefined;
2646
2647
  } | 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
+ }>;
2647
2686
  };
2648
2687
  declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
2649
2688
  /** Get a File's meta. */
@@ -838,6 +838,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
838
838
  name: string;
839
839
  }[];
840
840
  modelShare: {
841
+ displayName?: string;
841
842
  model: string;
842
843
  tokens: number;
843
844
  }[];
@@ -886,6 +887,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
886
887
  name: string;
887
888
  }[];
888
889
  modelShare: {
890
+ displayName?: string;
889
891
  model: string;
890
892
  tokens: number;
891
893
  }[];
@@ -1878,6 +1880,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
1878
1880
  appInstallationId: string;
1879
1881
  data?: {
1880
1882
  appVersionId?: string | undefined;
1883
+ autoUpdatesActivated?: boolean | undefined;
1881
1884
  customDocumentRoot?: string | undefined;
1882
1885
  databases?: {
1883
1886
  [x: string]: {
@@ -1904,6 +1907,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
1904
1907
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
1905
1908
  data: {
1906
1909
  appVersionId?: string | undefined;
1910
+ autoUpdatesActivated?: boolean | undefined;
1907
1911
  customDocumentRoot?: string | undefined;
1908
1912
  databases?: {
1909
1913
  [k: string]: import("./types.js").MittwaldAPIV2.Components.Schemas.AppPatchLinkedDatabase;
@@ -1932,6 +1936,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
1932
1936
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
1933
1937
  data: {
1934
1938
  appVersionId?: string | undefined;
1939
+ autoUpdatesActivated?: boolean | undefined;
1935
1940
  customDocumentRoot?: string | undefined;
1936
1941
  databases?: {
1937
1942
  [k: string]: import("./types.js").MittwaldAPIV2.Components.Schemas.AppPatchLinkedDatabase;
@@ -18405,63 +18410,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
18405
18410
  }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
18406
18411
  [x: string]: unknown;
18407
18412
  }, 429, "application/json">>>;
18408
- /** Create a DNSZone. */
18409
- dnsCreateDnsZone: (request: {
18410
- data: {
18411
- name: string;
18412
- parentZoneId: string;
18413
- };
18414
- headers?: {
18415
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
18416
- "x-access-token"?: string | undefined;
18417
- } | undefined;
18418
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
18419
- data: {
18420
- name: string;
18421
- parentZoneId: string;
18422
- };
18423
- } & {
18424
- headers?: Partial<{
18425
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18426
- }>;
18427
- } & {
18428
- headers: {
18429
- "x-access-token"?: string | undefined;
18430
- } & Partial<{
18431
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18432
- }>;
18433
- }, import("@mittwald/api-client-commons").Response<{
18434
- id: string;
18435
- }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
18436
- [x: string]: unknown;
18437
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
18438
- [x: string]: unknown;
18439
- }, 409, "application/json"> | import("@mittwald/api-client-commons").Response<{
18440
- [x: string]: unknown;
18441
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
18442
- data: {
18443
- name: string;
18444
- parentZoneId: string;
18445
- };
18446
- } & {
18447
- headers?: Partial<{
18448
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18449
- }>;
18450
- } & {
18451
- headers: {
18452
- "x-access-token"?: string | undefined;
18453
- } & Partial<{
18454
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
18455
- }>;
18456
- }, import("@mittwald/api-client-commons").Response<{
18457
- id: string;
18458
- }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
18459
- [x: string]: unknown;
18460
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
18461
- [x: string]: unknown;
18462
- }, 409, "application/json"> | import("@mittwald/api-client-commons").Response<{
18463
- [x: string]: unknown;
18464
- }, 429, "application/json">>>;
18465
18413
  /** Get a DNSZone. */
18466
18414
  dnsGetDnsZone: (request: {
18467
18415
  dnsZoneId: string;
@@ -18660,6 +18608,77 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
18660
18608
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
18661
18609
  [x: string]: unknown;
18662
18610
  }, 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">>>;
18663
18682
  /** Set a record set on a DNSZone to managed. */
18664
18683
  dnsSetRecordSetManaged: (request: {
18665
18684
  dnsZoneId: string;
@@ -21308,6 +21327,233 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
21308
21327
  }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
21309
21328
  [x: string]: unknown;
21310
21329
  }, 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">>>;
21311
21557
  };
21312
21558
  /** The mail API allows you to manage your mail accounts. */
21313
21559
  readonly mail: {