@mittwald/api-client 0.0.0-development-06379c6-20260917 → 0.0.0-development-8265ff2-20260918

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.
@@ -294,12 +294,16 @@ const buildDatabaseApi = (baseClient) => ({
294
294
  const buildDomainApi = (baseClient) => ({
295
295
  /** List domains. */
296
296
  serviceNextListDomains: new ApiCallAsyncResourceFactory(descriptors.domainServiceNextListDomains, baseClient.domain.serviceNextListDomains).getApiResource,
297
+ /** List DNS zone-file import jobs belonging to a Project. */
298
+ dnsListDnsZoneFileImports: new ApiCallAsyncResourceFactory(descriptors.dnsListDnsZoneFileImports, baseClient.domain.dnsListDnsZoneFileImports).getApiResource,
299
+ /** List DNSZones belonging to a Project. */
300
+ dnsListDnsZones: new ApiCallAsyncResourceFactory(descriptors.dnsListDnsZones, baseClient.domain.dnsListDnsZones).getApiResource,
297
301
  /** Get a DNSZone. */
298
302
  dnsGetDnsZone: new ApiCallAsyncResourceFactory(descriptors.dnsGetDnsZone, baseClient.domain.dnsGetDnsZone).getApiResource,
303
+ /** Get the status of a DNS zone-file import job. */
304
+ dnsGetDnsZoneFileImport: new ApiCallAsyncResourceFactory(descriptors.dnsGetDnsZoneFileImport, baseClient.domain.dnsGetDnsZoneFileImport).getApiResource,
299
305
  /** Get a zone file for a DNSZone. */
300
306
  dnsGetZoneFile: new ApiCallAsyncResourceFactory(descriptors.dnsGetZoneFile, baseClient.domain.dnsGetZoneFile).getApiResource,
301
- /** List DNSZones belonging to a Project. */
302
- dnsListDnsZones: new ApiCallAsyncResourceFactory(descriptors.dnsListDnsZones, baseClient.domain.dnsListDnsZones).getApiResource,
303
307
  /** Get a domain. */
304
308
  serviceNextGetDomain: new ApiCallAsyncResourceFactory(descriptors.domainServiceNextGetDomain, baseClient.domain.serviceNextGetDomain).getApiResource,
305
309
  /** Get a Contact-Verification. */
@@ -330,10 +334,6 @@ const buildDomainApi = (baseClient) => ({
330
334
  sslGetCertificate: new ApiCallAsyncResourceFactory(descriptors.sslGetCertificate, baseClient.domain.sslGetCertificate).getApiResource,
331
335
  /** List Certificates belonging to a Project or an Ingress. */
332
336
  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
337
  });
338
338
  const buildFileApi = (baseClient) => ({
339
339
  /** Get a File's meta. */
@@ -575,16 +575,22 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
575
575
  ingressUpdateIngressPaths: this.requestFunctionFactory(descriptors.ingressUpdateIngressPaths),
576
576
  /** Update the tls settings of an Ingress. */
577
577
  ingressUpdateIngressTls: this.requestFunctionFactory(descriptors.ingressUpdateIngressTls),
578
+ /** List DNS zone-file import jobs belonging to a Project. */
579
+ dnsListDnsZoneFileImports: this.requestFunctionFactory(descriptors.dnsListDnsZoneFileImports),
580
+ /** Import a DNS zone file into a Project, or preview it with dry-run. */
581
+ dnsCreateDnsZoneFileImport: this.requestFunctionFactory(descriptors.dnsCreateDnsZoneFileImport),
582
+ /** List DNSZones belonging to a Project. */
583
+ dnsListDnsZones: this.requestFunctionFactory(descriptors.dnsListDnsZones),
584
+ /** Create a DNSZone for a domain in a Project. */
585
+ dnsCreateProjectDnsZone: this.requestFunctionFactory(descriptors.dnsCreateProjectDnsZone),
578
586
  /** Get a DNSZone. */
579
587
  dnsGetDnsZone: this.requestFunctionFactory(descriptors.dnsGetDnsZone),
580
588
  /** Delete a DNSZone. */
581
589
  dnsDeleteDnsZone: this.requestFunctionFactory(descriptors.dnsDeleteDnsZone),
590
+ /** Get the status of a DNS zone-file import job. */
591
+ dnsGetDnsZoneFileImport: this.requestFunctionFactory(descriptors.dnsGetDnsZoneFileImport),
582
592
  /** Get a zone file for a DNSZone. */
583
593
  dnsGetZoneFile: this.requestFunctionFactory(descriptors.dnsGetZoneFile),
584
- /** List DNSZones belonging to a Project. */
585
- dnsListDnsZones: this.requestFunctionFactory(descriptors.dnsListDnsZones),
586
- /** Create a DNSZone for a domain in a Project. */
587
- dnsCreateProjectDnsZone: this.requestFunctionFactory(descriptors.dnsCreateProjectDnsZone),
588
594
  /** Set a record set on a DNSZone to managed. */
589
595
  dnsSetRecordSetManaged: this.requestFunctionFactory(descriptors.dnsSetRecordSetManaged),
590
596
  /** Update a record set on a DNSZone. */
@@ -669,12 +675,6 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
669
675
  sslListCertificates: this.requestFunctionFactory(descriptors.sslListCertificates),
670
676
  /** Update the certificate of a CertificateRequest. */
671
677
  sslSetCertificateRequestCertificate: this.requestFunctionFactory(descriptors.sslSetCertificateRequestCertificate),
672
- /** List DNS zone-file import jobs belonging to a Project. */
673
- dnsListDnsZoneFileImports: this.requestFunctionFactory(descriptors.dnsListDnsZoneFileImports),
674
- /** Import a DNS zone file into a Project, or preview it with dry-run. */
675
- dnsCreateDnsZoneFileImport: this.requestFunctionFactory(descriptors.dnsCreateDnsZoneFileImport),
676
- /** Get the status of a DNS zone-file import job. */
677
- dnsGetDnsZoneFileImport: this.requestFunctionFactory(descriptors.dnsGetDnsZoneFileImport),
678
678
  };
679
679
  /** The mail API allows you to manage your mail accounts. */
680
680
  mail = {
@@ -1282,6 +1282,30 @@ export const userUpdateAccount = {
1282
1282
  method: "PUT",
1283
1283
  operationId: "user-update-account",
1284
1284
  };
1285
+ /** List DNS zone-file import jobs belonging to a Project. */
1286
+ export const dnsListDnsZoneFileImports = {
1287
+ path: "/v3-next/projects/{projectId}/dns-zone-imports",
1288
+ method: "GET",
1289
+ operationId: "dns-list-dns-zone-file-imports",
1290
+ };
1291
+ /** Import a DNS zone file into a Project, or preview it with dry-run. */
1292
+ export const dnsCreateDnsZoneFileImport = {
1293
+ path: "/v3-next/projects/{projectId}/dns-zone-imports",
1294
+ method: "POST",
1295
+ operationId: "dns-create-dns-zone-file-import",
1296
+ };
1297
+ /** List DNSZones belonging to a Project. */
1298
+ export const dnsListDnsZones = {
1299
+ path: "/v3-next/projects/{projectId}/dns-zones",
1300
+ method: "GET",
1301
+ operationId: "dns-list-dns-zones",
1302
+ };
1303
+ /** Create a DNSZone for a domain in a Project. */
1304
+ export const dnsCreateProjectDnsZone = {
1305
+ path: "/v3-next/projects/{projectId}/dns-zones",
1306
+ method: "POST",
1307
+ operationId: "dns-create-project-dns-zone",
1308
+ };
1285
1309
  /** Get a DNSZone. */
1286
1310
  export const dnsGetDnsZone = {
1287
1311
  path: "/v3-next/dns-zones/{dnsZoneId}",
@@ -1294,24 +1318,18 @@ export const dnsDeleteDnsZone = {
1294
1318
  method: "DELETE",
1295
1319
  operationId: "dns-delete-dns-zone",
1296
1320
  };
1321
+ /** Get the status of a DNS zone-file import job. */
1322
+ export const dnsGetDnsZoneFileImport = {
1323
+ path: "/v3-next/dns-zone-imports/{zoneFileImportId}",
1324
+ method: "GET",
1325
+ operationId: "dns-get-dns-zone-file-import",
1326
+ };
1297
1327
  /** Get a zone file for a DNSZone. */
1298
1328
  export const dnsGetZoneFile = {
1299
1329
  path: "/v3-next/dns-zones/{dnsZoneId}/zone-file",
1300
1330
  method: "GET",
1301
1331
  operationId: "dns-get-zone-file",
1302
1332
  };
1303
- /** List DNSZones belonging to a Project. */
1304
- export const dnsListDnsZones = {
1305
- path: "/v3-next/projects/{projectId}/dns-zones",
1306
- method: "GET",
1307
- operationId: "dns-list-dns-zones",
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
1333
  /** Set a record set on a DNSZone to managed. */
1316
1334
  export const dnsSetRecordSetManaged = {
1317
1335
  path: "/v3-next/dns-zones/{dnsZoneId}/record-sets/{recordSet}/actions/set-managed",
@@ -2944,21 +2962,3 @@ export const verificationVerifyCompany = {
2944
2962
  method: "POST",
2945
2963
  operationId: "verification-verify-company",
2946
2964
  };
2947
- /** List DNS zone-file import jobs belonging to a Project. */
2948
- export const dnsListDnsZoneFileImports = {
2949
- path: "/v3-next/projects/{projectId}/dns-zone-imports",
2950
- method: "GET",
2951
- operationId: "dns-list-dns-zone-file-imports",
2952
- };
2953
- /** Import a DNS zone file into a Project, or preview it with dry-run. */
2954
- export const dnsCreateDnsZoneFileImport = {
2955
- path: "/v3-next/projects/{projectId}/dns-zone-imports",
2956
- method: "POST",
2957
- operationId: "dns-create-dns-zone-file-import",
2958
- };
2959
- /** Get the status of a DNS zone-file import job. */
2960
- export const dnsGetDnsZoneFileImport = {
2961
- path: "/v3-next/dns-zone-imports/{zoneFileImportId}",
2962
- method: "GET",
2963
- operationId: "dns-get-dns-zone-file-import",
2964
- };
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '4.465.0';
1
+ export const MittwaldAPIClientVersion = '0.0.0-development-06379c6-20260917';
@@ -2388,6 +2388,30 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV3NextClient) => {
2388
2388
  page?: number | undefined;
2389
2389
  } | undefined;
2390
2390
  } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDomainNextDomainListItem[]>;
2391
+ /** List DNS zone-file import jobs belonging to a Project. */
2392
+ dnsListDnsZoneFileImports: (conf: {
2393
+ projectId: string;
2394
+ headers?: {
2395
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2396
+ "x-access-token"?: string | undefined;
2397
+ } | undefined;
2398
+ queryParameters?: {
2399
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2400
+ limit?: number | undefined;
2401
+ skip?: number | undefined;
2402
+ page?: number | undefined;
2403
+ sort?: "createdAt" | undefined;
2404
+ order?: "asc" | "desc" | undefined;
2405
+ } | undefined;
2406
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDnsZoneFileImport[]>;
2407
+ /** List DNSZones belonging to a Project. */
2408
+ dnsListDnsZones: (conf: {
2409
+ projectId: string;
2410
+ headers?: {
2411
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2412
+ "x-access-token"?: string | undefined;
2413
+ } | undefined;
2414
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDnsZone[]>;
2391
2415
  /** Get a DNSZone. */
2392
2416
  dnsGetDnsZone: (conf: {
2393
2417
  dnsZoneId: string;
@@ -2407,22 +2431,36 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV3NextClient) => {
2407
2431
  txt: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDnsRecordTXT;
2408
2432
  };
2409
2433
  }>;
2410
- /** Get a zone file for a DNSZone. */
2411
- dnsGetZoneFile: (conf: {
2412
- dnsZoneId: string;
2434
+ /** Get the status of a DNS zone-file import job. */
2435
+ dnsGetDnsZoneFileImport: (conf: {
2436
+ zoneFileImportId: string;
2413
2437
  headers?: {
2414
2438
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2415
2439
  "x-access-token"?: string | undefined;
2416
2440
  } | undefined;
2417
- }) => import("@mittwald/react-use-promise").AsyncResource<string>;
2418
- /** List DNSZones belonging to a Project. */
2419
- dnsListDnsZones: (conf: {
2441
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
2442
+ createdAt: string;
2443
+ failedZones: {
2444
+ error: string;
2445
+ name: string;
2446
+ }[];
2447
+ id: string;
2448
+ importedZones: string[];
2420
2449
  projectId: string;
2450
+ skippedZones: {
2451
+ name: string;
2452
+ reason: string;
2453
+ }[];
2454
+ status: "running" | "succeeded" | "failed" | "completedWithErrors";
2455
+ }>;
2456
+ /** Get a zone file for a DNSZone. */
2457
+ dnsGetZoneFile: (conf: {
2458
+ dnsZoneId: string;
2421
2459
  headers?: {
2422
2460
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2423
2461
  "x-access-token"?: string | undefined;
2424
2462
  } | undefined;
2425
- }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDnsZone[]>;
2463
+ }) => import("@mittwald/react-use-promise").AsyncResource<string>;
2426
2464
  /** Get a domain. */
2427
2465
  serviceNextGetDomain: (conf: {
2428
2466
  domainId: string;
@@ -2642,44 +2680,6 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV3NextClient) => {
2642
2680
  ingressId?: string | undefined;
2643
2681
  } | undefined;
2644
2682
  } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldSslCertificate[]>;
2645
- /** List DNS zone-file import jobs belonging to a Project. */
2646
- dnsListDnsZoneFileImports: (conf: {
2647
- projectId: string;
2648
- headers?: {
2649
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2650
- "x-access-token"?: string | undefined;
2651
- } | undefined;
2652
- queryParameters?: {
2653
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2654
- limit?: number | undefined;
2655
- skip?: number | undefined;
2656
- page?: number | undefined;
2657
- sort?: "createdAt" | undefined;
2658
- order?: "asc" | "desc" | undefined;
2659
- } | undefined;
2660
- }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldDnsZoneFileImport[]>;
2661
- /** Get the status of a DNS zone-file import job. */
2662
- dnsGetDnsZoneFileImport: (conf: {
2663
- zoneFileImportId: string;
2664
- headers?: {
2665
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
2666
- "x-access-token"?: string | undefined;
2667
- } | undefined;
2668
- }) => import("@mittwald/react-use-promise").AsyncResource<{
2669
- createdAt: string;
2670
- failedZones: {
2671
- error: string;
2672
- name: string;
2673
- }[];
2674
- id: string;
2675
- importedZones: string[];
2676
- projectId: string;
2677
- skippedZones: {
2678
- name: string;
2679
- reason: string;
2680
- }[];
2681
- status: "running" | "succeeded" | "failed" | "completedWithErrors";
2682
- }>;
2683
2683
  };
2684
2684
  declare const buildFileApi: (baseClient: MittwaldAPIV3NextClient) => {
2685
2685
  /** Get a File's meta. */