@mittwald/api-client 4.474.0 → 4.475.0

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.
@@ -9665,6 +9665,62 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
9665
9665
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
9666
9666
  [x: string]: unknown;
9667
9667
  }, 429, "application/json">>>;
9668
+ /** Get a specific OAuth2 client. */
9669
+ contributorGetOauthClient: (request: {
9670
+ oauthClientId: string;
9671
+ headers?: {
9672
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
9673
+ "x-access-token"?: string | undefined;
9674
+ } | undefined;
9675
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
9676
+ headers?: Partial<{
9677
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
9678
+ }>;
9679
+ } & {
9680
+ pathParameters: {
9681
+ oauthClientId: string;
9682
+ };
9683
+ } & {
9684
+ headers: {
9685
+ "x-access-token"?: string | undefined;
9686
+ } & Partial<{
9687
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
9688
+ }>;
9689
+ }, import("@mittwald/api-client-commons").Response<{
9690
+ allowedGrantTypes?: string[] | undefined;
9691
+ allowedRedirectUris?: string[] | undefined;
9692
+ allowedScopes?: string[] | undefined;
9693
+ description?: string | undefined;
9694
+ humanReadableName: string;
9695
+ id: string;
9696
+ type?: "public" | "confidential" | undefined;
9697
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
9698
+ [x: string]: unknown;
9699
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
9700
+ headers?: Partial<{
9701
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
9702
+ }>;
9703
+ } & {
9704
+ pathParameters: {
9705
+ oauthClientId: string;
9706
+ };
9707
+ } & {
9708
+ headers: {
9709
+ "x-access-token"?: string | undefined;
9710
+ } & Partial<{
9711
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
9712
+ }>;
9713
+ }, import("@mittwald/api-client-commons").Response<{
9714
+ allowedGrantTypes?: string[] | undefined;
9715
+ allowedRedirectUris?: string[] | undefined;
9716
+ allowedScopes?: string[] | undefined;
9717
+ description?: string | undefined;
9718
+ humanReadableName: string;
9719
+ id: string;
9720
+ type?: "public" | "confidential" | undefined;
9721
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
9722
+ [x: string]: unknown;
9723
+ }, 429, "application/json">>>;
9668
9724
  /** List ContractPartners of the contributor. */
9669
9725
  contributorListContractPartnersOfContributor: (request: {
9670
9726
  contributorId: string;
@@ -13659,62 +13715,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
13659
13715
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
13660
13716
  [x: string]: unknown;
13661
13717
  }, 429, "application/json">>>;
13662
- /** Get a specific OAuth2 client. */
13663
- contributorGetOauthClient: (request: {
13664
- oauthClientId: string;
13665
- headers?: {
13666
- [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
13667
- "x-access-token"?: string | undefined;
13668
- } | undefined;
13669
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
13670
- headers?: Partial<{
13671
- [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
13672
- }>;
13673
- } & {
13674
- pathParameters: {
13675
- oauthClientId: string;
13676
- };
13677
- } & {
13678
- headers: {
13679
- "x-access-token"?: string | undefined;
13680
- } & Partial<{
13681
- [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
13682
- }>;
13683
- }, import("@mittwald/api-client-commons").Response<{
13684
- allowedGrantTypes?: string[] | undefined;
13685
- allowedRedirectUris?: string[] | undefined;
13686
- allowedScopes?: string[] | undefined;
13687
- description?: string | undefined;
13688
- humanReadableName: string;
13689
- id: string;
13690
- type?: "public" | "confidential" | undefined;
13691
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
13692
- [x: string]: unknown;
13693
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
13694
- headers?: Partial<{
13695
- [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
13696
- }>;
13697
- } & {
13698
- pathParameters: {
13699
- oauthClientId: string;
13700
- };
13701
- } & {
13702
- headers: {
13703
- "x-access-token"?: string | undefined;
13704
- } & Partial<{
13705
- [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
13706
- }>;
13707
- }, import("@mittwald/api-client-commons").Response<{
13708
- allowedGrantTypes?: string[] | undefined;
13709
- allowedRedirectUris?: string[] | undefined;
13710
- allowedScopes?: string[] | undefined;
13711
- description?: string | undefined;
13712
- humanReadableName: string;
13713
- id: string;
13714
- type?: "public" | "confidential" | undefined;
13715
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
13716
- [x: string]: unknown;
13717
- }, 429, "application/json">>>;
13718
13718
  };
13719
13719
  /** The conversation API allows you to manage your support conversations. */
13720
13720
  readonly conversation: {
@@ -18530,39 +18530,46 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
18530
18530
  }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
18531
18531
  [x: string]: unknown;
18532
18532
  }, 429, "application/json">>>;
18533
- /** Get a DNSZone. */
18534
- dnsGetDnsZone: (request: {
18535
- dnsZoneId: string;
18533
+ /** List DNS zone-file import jobs belonging to a Project. */
18534
+ dnsListDnsZoneFileImports: (request: {
18535
+ projectId: string;
18536
18536
  headers?: {
18537
18537
  [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
18538
18538
  "x-access-token"?: string | undefined;
18539
18539
  } | undefined;
18540
+ queryParameters?: {
18541
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
18542
+ limit?: number | undefined;
18543
+ skip?: number | undefined;
18544
+ page?: number | undefined;
18545
+ sort?: "createdAt" | undefined;
18546
+ order?: "asc" | "desc" | undefined;
18547
+ } | undefined;
18540
18548
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
18541
18549
  headers?: Partial<{
18542
18550
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
18543
18551
  }>;
18544
18552
  } & {
18545
18553
  pathParameters: {
18546
- dnsZoneId: string;
18554
+ projectId: string;
18547
18555
  };
18556
+ } & {
18557
+ queryParameters: {
18558
+ limit?: number | undefined;
18559
+ skip?: number | undefined;
18560
+ page?: number | undefined;
18561
+ sort?: "createdAt" | undefined;
18562
+ order?: "asc" | "desc" | undefined;
18563
+ } & Partial<{
18564
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
18565
+ }>;
18548
18566
  } & {
18549
18567
  headers: {
18550
18568
  "x-access-token"?: string | undefined;
18551
18569
  } & Partial<{
18552
18570
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
18553
18571
  }>;
18554
- }, import("@mittwald/api-client-commons").Response<{
18555
- domain: string;
18556
- id: string;
18557
- recordSet: {
18558
- caa: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordCAA;
18559
- cname: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordCNAME;
18560
- combinedARecords: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordCombinedA;
18561
- mx: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordMX;
18562
- srv: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordSRV;
18563
- txt: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordTXT;
18564
- };
18565
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
18572
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.DnsZoneFileImport[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
18566
18573
  [x: string]: unknown;
18567
18574
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
18568
18575
  [x: string]: unknown;
@@ -18572,77 +18579,111 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
18572
18579
  }>;
18573
18580
  } & {
18574
18581
  pathParameters: {
18575
- dnsZoneId: string;
18582
+ projectId: string;
18576
18583
  };
18584
+ } & {
18585
+ queryParameters: {
18586
+ limit?: number | undefined;
18587
+ skip?: number | undefined;
18588
+ page?: number | undefined;
18589
+ sort?: "createdAt" | undefined;
18590
+ order?: "asc" | "desc" | undefined;
18591
+ } & Partial<{
18592
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
18593
+ }>;
18577
18594
  } & {
18578
18595
  headers: {
18579
18596
  "x-access-token"?: string | undefined;
18580
18597
  } & Partial<{
18581
18598
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
18582
18599
  }>;
18583
- }, import("@mittwald/api-client-commons").Response<{
18584
- domain: string;
18585
- id: string;
18586
- recordSet: {
18587
- caa: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordCAA;
18588
- cname: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordCNAME;
18589
- combinedARecords: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordCombinedA;
18590
- mx: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordMX;
18591
- srv: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordSRV;
18592
- txt: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordTXT;
18593
- };
18594
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
18600
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.DnsZoneFileImport[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
18595
18601
  [x: string]: unknown;
18596
18602
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
18597
18603
  [x: string]: unknown;
18598
18604
  }, 429, "application/json">>>;
18599
- /** Delete a DNSZone. */
18600
- dnsDeleteDnsZone: (request: {
18601
- dnsZoneId: string;
18605
+ /** Import a DNS zone file into a Project, or preview it with dry-run. */
18606
+ dnsCreateDnsZoneFileImport: (request: {
18607
+ data: {
18608
+ zoneFile: string;
18609
+ };
18610
+ projectId: string;
18602
18611
  headers?: {
18603
18612
  [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
18604
18613
  "x-access-token"?: string | undefined;
18605
18614
  } | undefined;
18615
+ queryParameters?: {
18616
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
18617
+ dryRun?: boolean | undefined;
18618
+ } | undefined;
18606
18619
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
18607
- headers?: Partial<{
18608
- [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
18609
- }>;
18620
+ data: {
18621
+ zoneFile: string;
18622
+ };
18610
18623
  } & {
18611
18624
  pathParameters: {
18612
- dnsZoneId: string;
18625
+ projectId: string;
18613
18626
  };
18627
+ } & {
18628
+ queryParameters: {
18629
+ dryRun?: boolean | undefined;
18630
+ } & Partial<{
18631
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
18632
+ }>;
18614
18633
  } & {
18615
18634
  headers: {
18616
18635
  "x-access-token"?: string | undefined;
18617
18636
  } & Partial<{
18618
18637
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
18619
18638
  }>;
18620
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
18639
+ }, import("@mittwald/api-client-commons").Response<{
18640
+ conflicts: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsImportConflict[];
18641
+ id?: string | undefined;
18642
+ zones: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsZoneImportPreview[];
18643
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
18621
18644
  [x: string]: unknown;
18622
18645
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
18623
18646
  [x: string]: unknown;
18647
+ }, 404, "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;
18624
18651
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
18625
- headers?: Partial<{
18626
- [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
18627
- }>;
18652
+ data: {
18653
+ zoneFile: string;
18654
+ };
18628
18655
  } & {
18629
18656
  pathParameters: {
18630
- dnsZoneId: string;
18657
+ projectId: string;
18631
18658
  };
18659
+ } & {
18660
+ queryParameters: {
18661
+ dryRun?: boolean | undefined;
18662
+ } & Partial<{
18663
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
18664
+ }>;
18632
18665
  } & {
18633
18666
  headers: {
18634
18667
  "x-access-token"?: string | undefined;
18635
18668
  } & Partial<{
18636
18669
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
18637
18670
  }>;
18638
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
18671
+ }, import("@mittwald/api-client-commons").Response<{
18672
+ conflicts: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsImportConflict[];
18673
+ id?: string | undefined;
18674
+ zones: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsZoneImportPreview[];
18675
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
18639
18676
  [x: string]: unknown;
18640
18677
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
18641
18678
  [x: string]: unknown;
18679
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
18680
+ [x: string]: unknown;
18681
+ }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
18682
+ [x: string]: unknown;
18642
18683
  }, 429, "application/json">>>;
18643
- /** Get a zone file for a DNSZone. */
18644
- dnsGetZoneFile: (request: {
18645
- dnsZoneId: string;
18684
+ /** List DNSZones belonging to a Project. */
18685
+ dnsListDnsZones: (request: {
18686
+ projectId: string;
18646
18687
  headers?: {
18647
18688
  [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
18648
18689
  "x-access-token"?: string | undefined;
@@ -18653,7 +18694,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
18653
18694
  }>;
18654
18695
  } & {
18655
18696
  pathParameters: {
18656
- dnsZoneId: string;
18697
+ projectId: string;
18657
18698
  };
18658
18699
  } & {
18659
18700
  headers: {
@@ -18661,7 +18702,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
18661
18702
  } & Partial<{
18662
18703
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
18663
18704
  }>;
18664
- }, import("@mittwald/api-client-commons").Response<string, 200, "text/plain"> | import("@mittwald/api-client-commons").Response<{
18705
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.DnsZone[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
18665
18706
  [x: string]: unknown;
18666
18707
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
18667
18708
  [x: string]: unknown;
@@ -18671,7 +18712,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
18671
18712
  }>;
18672
18713
  } & {
18673
18714
  pathParameters: {
18674
- dnsZoneId: string;
18715
+ projectId: string;
18675
18716
  };
18676
18717
  } & {
18677
18718
  headers: {
@@ -18679,33 +18720,115 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
18679
18720
  } & Partial<{
18680
18721
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
18681
18722
  }>;
18682
- }, import("@mittwald/api-client-commons").Response<string, 200, "text/plain"> | import("@mittwald/api-client-commons").Response<{
18723
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.DnsZone[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
18683
18724
  [x: string]: unknown;
18684
18725
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
18685
18726
  [x: string]: unknown;
18686
18727
  }, 429, "application/json">>>;
18687
- /** List DNSZones belonging to a Project. */
18688
- dnsListDnsZones: (request: {
18689
- projectId: string;
18690
- headers?: {
18691
- [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
18728
+ /** Create a DNSZone for a verified Ingress in a Project. */
18729
+ dnsCreateProjectDnsZone: (request: {
18730
+ data: {
18731
+ name: string;
18732
+ };
18733
+ projectId: string;
18734
+ headers?: {
18735
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
18692
18736
  "x-access-token"?: string | undefined;
18693
18737
  } | undefined;
18694
18738
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
18739
+ data: {
18740
+ name: string;
18741
+ };
18742
+ } & {
18743
+ pathParameters: {
18744
+ projectId: string;
18745
+ };
18746
+ } & {
18695
18747
  headers?: Partial<{
18696
18748
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
18697
18749
  }>;
18750
+ } & {
18751
+ headers: {
18752
+ "x-access-token"?: string | undefined;
18753
+ } & Partial<{
18754
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
18755
+ }>;
18756
+ }, import("@mittwald/api-client-commons").Response<{
18757
+ id: string;
18758
+ }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
18759
+ [x: string]: unknown;
18760
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
18761
+ [x: string]: unknown;
18762
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
18763
+ [x: string]: unknown;
18764
+ }, 409, "application/json"> | import("@mittwald/api-client-commons").Response<{
18765
+ [x: string]: unknown;
18766
+ }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
18767
+ [x: string]: unknown;
18768
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
18769
+ data: {
18770
+ name: string;
18771
+ };
18698
18772
  } & {
18699
18773
  pathParameters: {
18700
18774
  projectId: string;
18701
18775
  };
18776
+ } & {
18777
+ headers?: Partial<{
18778
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
18779
+ }>;
18702
18780
  } & {
18703
18781
  headers: {
18704
18782
  "x-access-token"?: string | undefined;
18705
18783
  } & Partial<{
18706
18784
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
18707
18785
  }>;
18708
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.DnsZone[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
18786
+ }, import("@mittwald/api-client-commons").Response<{
18787
+ id: string;
18788
+ }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
18789
+ [x: string]: unknown;
18790
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
18791
+ [x: string]: unknown;
18792
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
18793
+ [x: string]: unknown;
18794
+ }, 409, "application/json"> | import("@mittwald/api-client-commons").Response<{
18795
+ [x: string]: unknown;
18796
+ }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
18797
+ [x: string]: unknown;
18798
+ }, 429, "application/json">>>;
18799
+ /** Get a DNSZone. */
18800
+ dnsGetDnsZone: (request: {
18801
+ dnsZoneId: string;
18802
+ headers?: {
18803
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
18804
+ "x-access-token"?: string | undefined;
18805
+ } | undefined;
18806
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
18807
+ headers?: Partial<{
18808
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
18809
+ }>;
18810
+ } & {
18811
+ pathParameters: {
18812
+ dnsZoneId: string;
18813
+ };
18814
+ } & {
18815
+ headers: {
18816
+ "x-access-token"?: string | undefined;
18817
+ } & Partial<{
18818
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
18819
+ }>;
18820
+ }, import("@mittwald/api-client-commons").Response<{
18821
+ domain: string;
18822
+ id: string;
18823
+ recordSet: {
18824
+ caa: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordCAA;
18825
+ cname: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordCNAME;
18826
+ combinedARecords: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordCombinedA;
18827
+ mx: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordMX;
18828
+ srv: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordSRV;
18829
+ txt: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordTXT;
18830
+ };
18831
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
18709
18832
  [x: string]: unknown;
18710
18833
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
18711
18834
  [x: string]: unknown;
@@ -18715,7 +18838,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
18715
18838
  }>;
18716
18839
  } & {
18717
18840
  pathParameters: {
18718
- projectId: string;
18841
+ dnsZoneId: string;
18719
18842
  };
18720
18843
  } & {
18721
18844
  headers: {
@@ -18723,33 +18846,81 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
18723
18846
  } & Partial<{
18724
18847
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
18725
18848
  }>;
18726
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.DnsZone[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
18849
+ }, import("@mittwald/api-client-commons").Response<{
18850
+ domain: string;
18851
+ id: string;
18852
+ recordSet: {
18853
+ caa: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordCAA;
18854
+ cname: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordCNAME;
18855
+ combinedARecords: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordCombinedA;
18856
+ mx: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordMX;
18857
+ srv: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordSRV;
18858
+ txt: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordTXT;
18859
+ };
18860
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
18727
18861
  [x: string]: unknown;
18728
18862
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
18729
18863
  [x: string]: unknown;
18730
18864
  }, 429, "application/json">>>;
18731
- /** Create a DNSZone for a verified Ingress in a Project. */
18732
- dnsCreateProjectDnsZone: (request: {
18733
- data: {
18734
- name: string;
18735
- };
18736
- projectId: string;
18865
+ /** Delete a DNSZone. */
18866
+ dnsDeleteDnsZone: (request: {
18867
+ dnsZoneId: string;
18737
18868
  headers?: {
18738
18869
  [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
18739
18870
  "x-access-token"?: string | undefined;
18740
18871
  } | undefined;
18741
18872
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
18742
- data: {
18743
- name: string;
18873
+ headers?: Partial<{
18874
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
18875
+ }>;
18876
+ } & {
18877
+ pathParameters: {
18878
+ dnsZoneId: string;
18744
18879
  };
18880
+ } & {
18881
+ headers: {
18882
+ "x-access-token"?: string | undefined;
18883
+ } & Partial<{
18884
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
18885
+ }>;
18886
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
18887
+ [x: string]: unknown;
18888
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
18889
+ [x: string]: unknown;
18890
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
18891
+ headers?: Partial<{
18892
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
18893
+ }>;
18745
18894
  } & {
18746
18895
  pathParameters: {
18747
- projectId: string;
18896
+ dnsZoneId: string;
18748
18897
  };
18749
18898
  } & {
18899
+ headers: {
18900
+ "x-access-token"?: string | undefined;
18901
+ } & Partial<{
18902
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
18903
+ }>;
18904
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
18905
+ [x: string]: unknown;
18906
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
18907
+ [x: string]: unknown;
18908
+ }, 429, "application/json">>>;
18909
+ /** Get the status of a DNS zone-file import job. */
18910
+ dnsGetDnsZoneFileImport: (request: {
18911
+ zoneFileImportId: string;
18912
+ headers?: {
18913
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
18914
+ "x-access-token"?: string | undefined;
18915
+ } | undefined;
18916
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
18750
18917
  headers?: Partial<{
18751
18918
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
18752
18919
  }>;
18920
+ } & {
18921
+ pathParameters: {
18922
+ zoneFileImportId: string;
18923
+ };
18753
18924
  } & {
18754
18925
  headers: {
18755
18926
  "x-access-token"?: string | undefined;
@@ -18757,29 +18928,29 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
18757
18928
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
18758
18929
  }>;
18759
18930
  }, import("@mittwald/api-client-commons").Response<{
18931
+ createdAt: string;
18760
18932
  id: string;
18761
- }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
18933
+ importedZones: string[];
18934
+ projectId: string;
18935
+ skippedZones: {
18936
+ name: string;
18937
+ reason: string;
18938
+ }[];
18939
+ status: "running" | "succeeded" | "completedWithErrors";
18940
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
18762
18941
  [x: string]: unknown;
18763
18942
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
18764
18943
  [x: string]: unknown;
18765
18944
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
18766
18945
  [x: string]: unknown;
18767
- }, 409, "application/json"> | import("@mittwald/api-client-commons").Response<{
18768
- [x: string]: unknown;
18769
- }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
18770
- [x: string]: unknown;
18771
18946
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
18772
- data: {
18773
- name: string;
18774
- };
18775
- } & {
18776
- pathParameters: {
18777
- projectId: string;
18778
- };
18779
- } & {
18780
18947
  headers?: Partial<{
18781
18948
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
18782
18949
  }>;
18950
+ } & {
18951
+ pathParameters: {
18952
+ zoneFileImportId: string;
18953
+ };
18783
18954
  } & {
18784
18955
  headers: {
18785
18956
  "x-access-token"?: string | undefined;
@@ -18787,16 +18958,64 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
18787
18958
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
18788
18959
  }>;
18789
18960
  }, import("@mittwald/api-client-commons").Response<{
18961
+ createdAt: string;
18790
18962
  id: string;
18791
- }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
18963
+ importedZones: string[];
18964
+ projectId: string;
18965
+ skippedZones: {
18966
+ name: string;
18967
+ reason: string;
18968
+ }[];
18969
+ status: "running" | "succeeded" | "completedWithErrors";
18970
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
18792
18971
  [x: string]: unknown;
18793
18972
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
18794
18973
  [x: string]: unknown;
18795
18974
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
18796
18975
  [x: string]: unknown;
18797
- }, 409, "application/json"> | import("@mittwald/api-client-commons").Response<{
18976
+ }, 429, "application/json">>>;
18977
+ /** Get a zone file for a DNSZone. */
18978
+ dnsGetZoneFile: (request: {
18979
+ dnsZoneId: string;
18980
+ headers?: {
18981
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
18982
+ "x-access-token"?: string | undefined;
18983
+ } | undefined;
18984
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
18985
+ headers?: Partial<{
18986
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
18987
+ }>;
18988
+ } & {
18989
+ pathParameters: {
18990
+ dnsZoneId: string;
18991
+ };
18992
+ } & {
18993
+ headers: {
18994
+ "x-access-token"?: string | undefined;
18995
+ } & Partial<{
18996
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
18997
+ }>;
18998
+ }, import("@mittwald/api-client-commons").Response<string, 200, "text/plain"> | import("@mittwald/api-client-commons").Response<{
18798
18999
  [x: string]: unknown;
18799
- }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
19000
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
19001
+ [x: string]: unknown;
19002
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
19003
+ headers?: Partial<{
19004
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
19005
+ }>;
19006
+ } & {
19007
+ pathParameters: {
19008
+ dnsZoneId: string;
19009
+ };
19010
+ } & {
19011
+ headers: {
19012
+ "x-access-token"?: string | undefined;
19013
+ } & Partial<{
19014
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
19015
+ }>;
19016
+ }, import("@mittwald/api-client-commons").Response<string, 200, "text/plain"> | import("@mittwald/api-client-commons").Response<{
19017
+ [x: string]: unknown;
19018
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
18800
19019
  [x: string]: unknown;
18801
19020
  }, 429, "application/json">>>;
18802
19021
  /** Set a record set on a DNSZone to managed. */
@@ -20987,255 +21206,57 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
20987
21206
  isCompleted: boolean;
20988
21207
  issuer?: string | undefined;
20989
21208
  projectId: string;
20990
- validFrom?: string | undefined;
20991
- validTo?: string | undefined;
20992
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
20993
- [x: string]: unknown;
20994
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
20995
- [x: string]: unknown;
20996
- }, 429, "application/json">>>;
20997
- /** Get a Certificate. */
20998
- sslGetCertificate: (request: {
20999
- certificateId: string;
21000
- headers?: {
21001
- [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
21002
- "x-access-token"?: string | undefined;
21003
- } | undefined;
21004
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
21005
- headers?: Partial<{
21006
- [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
21007
- }>;
21008
- } & {
21009
- pathParameters: {
21010
- certificateId: string;
21011
- };
21012
- } & {
21013
- headers: {
21014
- "x-access-token"?: string | undefined;
21015
- } & Partial<{
21016
- [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
21017
- }>;
21018
- }, import("@mittwald/api-client-commons").Response<{
21019
- caBundle?: string | undefined;
21020
- certificate?: string | undefined;
21021
- certificateOrderId?: string | undefined;
21022
- certificateRequestId: string;
21023
- certificateType: import("./types.js").MittwaldAPIV2.Components.Schemas.SslCertificateType;
21024
- commonName?: string | undefined;
21025
- contact?: import("./types.js").MittwaldAPIV2.Components.Schemas.SslContact | undefined;
21026
- dnsCertSpec?: {
21027
- cnameTarget?: string;
21028
- status?: import("./types.js").MittwaldAPIV2.Components.Schemas.SslDNSCertStatus;
21029
- } | undefined;
21030
- dnsNames?: string[] | undefined;
21031
- id: string;
21032
- isExpired?: boolean | undefined;
21033
- issuer?: string | undefined;
21034
- lastExpirationThresholdHit?: number | undefined;
21035
- projectId: string;
21036
- validFrom?: string | undefined;
21037
- validTo?: string | undefined;
21038
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
21039
- [x: string]: unknown;
21040
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
21041
- [x: string]: unknown;
21042
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
21043
- headers?: Partial<{
21044
- [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
21045
- }>;
21046
- } & {
21047
- pathParameters: {
21048
- certificateId: string;
21049
- };
21050
- } & {
21051
- headers: {
21052
- "x-access-token"?: string | undefined;
21053
- } & Partial<{
21054
- [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
21055
- }>;
21056
- }, import("@mittwald/api-client-commons").Response<{
21057
- caBundle?: string | undefined;
21058
- certificate?: string | undefined;
21059
- certificateOrderId?: string | undefined;
21060
- certificateRequestId: string;
21061
- certificateType: import("./types.js").MittwaldAPIV2.Components.Schemas.SslCertificateType;
21062
- commonName?: string | undefined;
21063
- contact?: import("./types.js").MittwaldAPIV2.Components.Schemas.SslContact | undefined;
21064
- dnsCertSpec?: {
21065
- cnameTarget?: string;
21066
- status?: import("./types.js").MittwaldAPIV2.Components.Schemas.SslDNSCertStatus;
21067
- } | undefined;
21068
- dnsNames?: string[] | undefined;
21069
- id: string;
21070
- isExpired?: boolean | undefined;
21071
- issuer?: string | undefined;
21072
- lastExpirationThresholdHit?: number | undefined;
21073
- projectId: string;
21074
- validFrom?: string | undefined;
21075
- validTo?: string | undefined;
21076
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
21077
- [x: string]: unknown;
21078
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
21079
- [x: string]: unknown;
21080
- }, 429, "application/json">>>;
21081
- /** Update a Certificate. */
21082
- sslReplaceCertificate: (request: {
21083
- data: {
21084
- certificate: string;
21085
- privateKey?: string | undefined;
21086
- };
21087
- certificateId: string;
21088
- headers?: {
21089
- [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
21090
- "x-access-token"?: string | undefined;
21091
- } | undefined;
21092
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
21093
- data: {
21094
- certificate: string;
21095
- privateKey?: string | undefined;
21096
- };
21097
- } & {
21098
- pathParameters: {
21099
- certificateId: string;
21100
- };
21101
- } & {
21102
- headers?: Partial<{
21103
- [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
21104
- }>;
21105
- } & {
21106
- headers: {
21107
- "x-access-token"?: string | undefined;
21108
- } & Partial<{
21109
- [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
21110
- }>;
21111
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
21112
- [x: string]: unknown;
21113
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
21114
- [x: string]: unknown;
21115
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
21116
- [x: string]: unknown;
21117
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
21118
- data: {
21119
- certificate: string;
21120
- privateKey?: string | undefined;
21121
- };
21122
- } & {
21123
- pathParameters: {
21124
- certificateId: string;
21125
- };
21126
- } & {
21127
- headers?: Partial<{
21128
- [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
21129
- }>;
21130
- } & {
21131
- headers: {
21132
- "x-access-token"?: string | undefined;
21133
- } & Partial<{
21134
- [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
21135
- }>;
21136
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
21137
- [x: string]: unknown;
21138
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
21139
- [x: string]: unknown;
21140
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
21141
- [x: string]: unknown;
21142
- }, 429, "application/json">>>;
21143
- /** List Certificates belonging to a Project or an Ingress. */
21144
- sslListCertificates: (request?: {
21145
- headers?: {
21146
- [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
21147
- "x-access-token"?: string | undefined;
21148
- } | undefined;
21149
- queryParameters?: {
21150
- [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
21151
- projectId?: string | undefined;
21152
- ingressId?: string | undefined;
21153
- } | undefined;
21154
- } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
21155
- headers?: Partial<{
21156
- [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
21157
- }>;
21158
- } & {
21159
- queryParameters: {
21160
- projectId?: string | undefined;
21161
- ingressId?: string | undefined;
21162
- } & Partial<{
21163
- [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
21164
- }>;
21165
- } & {
21166
- headers: {
21167
- "x-access-token"?: string | undefined;
21168
- } & Partial<{
21169
- [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
21170
- }>;
21171
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.SslCertificate[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
21172
- [x: string]: unknown;
21173
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
21174
- [x: string]: unknown;
21175
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
21176
- headers?: Partial<{
21177
- [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
21178
- }>;
21179
- } & {
21180
- queryParameters: {
21181
- projectId?: string | undefined;
21182
- ingressId?: string | undefined;
21183
- } & Partial<{
21184
- [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
21185
- }>;
21186
- } & {
21187
- headers: {
21188
- "x-access-token"?: string | undefined;
21189
- } & Partial<{
21190
- [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
21191
- }>;
21192
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.SslCertificate[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
21209
+ validFrom?: string | undefined;
21210
+ validTo?: string | undefined;
21211
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
21193
21212
  [x: string]: unknown;
21194
21213
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
21195
21214
  [x: string]: unknown;
21196
21215
  }, 429, "application/json">>>;
21197
- /** List DNS zone-file import jobs belonging to a Project. */
21198
- dnsListDnsZoneFileImports: (request: {
21199
- projectId: string;
21216
+ /** Get a Certificate. */
21217
+ sslGetCertificate: (request: {
21218
+ certificateId: string;
21200
21219
  headers?: {
21201
21220
  [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
21202
21221
  "x-access-token"?: string | undefined;
21203
21222
  } | undefined;
21204
- queryParameters?: {
21205
- [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
21206
- limit?: number | undefined;
21207
- skip?: number | undefined;
21208
- page?: number | undefined;
21209
- sort?: "createdAt" | undefined;
21210
- order?: "asc" | "desc" | undefined;
21211
- } | undefined;
21212
21223
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
21213
21224
  headers?: Partial<{
21214
21225
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
21215
21226
  }>;
21216
21227
  } & {
21217
21228
  pathParameters: {
21218
- projectId: string;
21229
+ certificateId: string;
21219
21230
  };
21220
- } & {
21221
- queryParameters: {
21222
- limit?: number | undefined;
21223
- skip?: number | undefined;
21224
- page?: number | undefined;
21225
- sort?: "createdAt" | undefined;
21226
- order?: "asc" | "desc" | undefined;
21227
- } & Partial<{
21228
- [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
21229
- }>;
21230
21231
  } & {
21231
21232
  headers: {
21232
21233
  "x-access-token"?: string | undefined;
21233
21234
  } & Partial<{
21234
21235
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
21235
21236
  }>;
21236
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.DnsZoneFileImport[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
21237
+ }, import("@mittwald/api-client-commons").Response<{
21238
+ caBundle?: string | undefined;
21239
+ certificate?: string | undefined;
21240
+ certificateOrderId?: string | undefined;
21241
+ certificateRequestId: string;
21242
+ certificateType: import("./types.js").MittwaldAPIV2.Components.Schemas.SslCertificateType;
21243
+ commonName?: string | undefined;
21244
+ contact?: import("./types.js").MittwaldAPIV2.Components.Schemas.SslContact | undefined;
21245
+ dnsCertSpec?: {
21246
+ cnameTarget?: string;
21247
+ status?: import("./types.js").MittwaldAPIV2.Components.Schemas.SslDNSCertStatus;
21248
+ } | undefined;
21249
+ dnsNames?: string[] | undefined;
21250
+ id: string;
21251
+ isExpired?: boolean | undefined;
21252
+ issuer?: string | undefined;
21253
+ lastExpirationThresholdHit?: number | undefined;
21254
+ projectId: string;
21255
+ validFrom?: string | undefined;
21256
+ validTo?: string | undefined;
21257
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
21237
21258
  [x: string]: unknown;
21238
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
21259
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
21239
21260
  [x: string]: unknown;
21240
21261
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
21241
21262
  headers?: Partial<{
@@ -21243,55 +21264,61 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
21243
21264
  }>;
21244
21265
  } & {
21245
21266
  pathParameters: {
21246
- projectId: string;
21267
+ certificateId: string;
21247
21268
  };
21248
- } & {
21249
- queryParameters: {
21250
- limit?: number | undefined;
21251
- skip?: number | undefined;
21252
- page?: number | undefined;
21253
- sort?: "createdAt" | undefined;
21254
- order?: "asc" | "desc" | undefined;
21255
- } & Partial<{
21256
- [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
21257
- }>;
21258
21269
  } & {
21259
21270
  headers: {
21260
21271
  "x-access-token"?: string | undefined;
21261
21272
  } & Partial<{
21262
21273
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
21263
21274
  }>;
21264
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.DnsZoneFileImport[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
21275
+ }, import("@mittwald/api-client-commons").Response<{
21276
+ caBundle?: string | undefined;
21277
+ certificate?: string | undefined;
21278
+ certificateOrderId?: string | undefined;
21279
+ certificateRequestId: string;
21280
+ certificateType: import("./types.js").MittwaldAPIV2.Components.Schemas.SslCertificateType;
21281
+ commonName?: string | undefined;
21282
+ contact?: import("./types.js").MittwaldAPIV2.Components.Schemas.SslContact | undefined;
21283
+ dnsCertSpec?: {
21284
+ cnameTarget?: string;
21285
+ status?: import("./types.js").MittwaldAPIV2.Components.Schemas.SslDNSCertStatus;
21286
+ } | undefined;
21287
+ dnsNames?: string[] | undefined;
21288
+ id: string;
21289
+ isExpired?: boolean | undefined;
21290
+ issuer?: string | undefined;
21291
+ lastExpirationThresholdHit?: number | undefined;
21292
+ projectId: string;
21293
+ validFrom?: string | undefined;
21294
+ validTo?: string | undefined;
21295
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
21265
21296
  [x: string]: unknown;
21266
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
21297
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
21267
21298
  [x: string]: unknown;
21268
21299
  }, 429, "application/json">>>;
21269
- /** Import a DNS zone file into a Project, or preview it with dry-run. */
21270
- dnsCreateDnsZoneFileImport: (request: {
21300
+ /** Update a Certificate. */
21301
+ sslReplaceCertificate: (request: {
21271
21302
  data: {
21272
- zoneFile: string;
21303
+ certificate: string;
21304
+ privateKey?: string | undefined;
21273
21305
  };
21274
- projectId: string;
21306
+ certificateId: string;
21275
21307
  headers?: {
21276
21308
  [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
21277
21309
  "x-access-token"?: string | undefined;
21278
21310
  } | undefined;
21279
- queryParameters?: {
21280
- [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
21281
- dryRun?: boolean | undefined;
21282
- } | undefined;
21283
21311
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
21284
21312
  data: {
21285
- zoneFile: string;
21313
+ certificate: string;
21314
+ privateKey?: string | undefined;
21286
21315
  };
21287
21316
  } & {
21288
21317
  pathParameters: {
21289
- projectId: string;
21318
+ certificateId: string;
21290
21319
  };
21291
21320
  } & {
21292
- queryParameters: {
21293
- dryRun?: boolean | undefined;
21294
- } & Partial<{
21321
+ headers?: Partial<{
21295
21322
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
21296
21323
  }>;
21297
21324
  } & {
@@ -21300,30 +21327,23 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
21300
21327
  } & Partial<{
21301
21328
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
21302
21329
  }>;
21303
- }, import("@mittwald/api-client-commons").Response<{
21304
- conflicts: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsImportConflict[];
21305
- id?: string | undefined;
21306
- zones: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsZoneImportPreview[];
21307
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
21330
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
21308
21331
  [x: string]: unknown;
21309
21332
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
21310
21333
  [x: string]: unknown;
21311
21334
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
21312
21335
  [x: string]: unknown;
21313
- }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
21314
- [x: string]: unknown;
21315
21336
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
21316
21337
  data: {
21317
- zoneFile: string;
21338
+ certificate: string;
21339
+ privateKey?: string | undefined;
21318
21340
  };
21319
21341
  } & {
21320
21342
  pathParameters: {
21321
- projectId: string;
21343
+ certificateId: string;
21322
21344
  };
21323
21345
  } & {
21324
- queryParameters: {
21325
- dryRun?: boolean | undefined;
21326
- } & Partial<{
21346
+ headers?: Partial<{
21327
21347
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
21328
21348
  }>;
21329
21349
  } & {
@@ -21332,53 +21352,42 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
21332
21352
  } & Partial<{
21333
21353
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
21334
21354
  }>;
21335
- }, import("@mittwald/api-client-commons").Response<{
21336
- conflicts: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsImportConflict[];
21337
- id?: string | undefined;
21338
- zones: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsZoneImportPreview[];
21339
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
21355
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
21340
21356
  [x: string]: unknown;
21341
21357
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
21342
21358
  [x: string]: unknown;
21343
21359
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
21344
21360
  [x: string]: unknown;
21345
- }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
21346
- [x: string]: unknown;
21347
21361
  }, 429, "application/json">>>;
21348
- /** Get the status of a DNS zone-file import job. */
21349
- dnsGetDnsZoneFileImport: (request: {
21350
- zoneFileImportId: string;
21362
+ /** List Certificates belonging to a Project or an Ingress. */
21363
+ sslListCertificates: (request?: {
21351
21364
  headers?: {
21352
21365
  [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
21353
21366
  "x-access-token"?: string | undefined;
21354
21367
  } | undefined;
21355
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
21368
+ queryParameters?: {
21369
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
21370
+ projectId?: string | undefined;
21371
+ ingressId?: string | undefined;
21372
+ } | undefined;
21373
+ } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
21356
21374
  headers?: Partial<{
21357
21375
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
21358
21376
  }>;
21359
21377
  } & {
21360
- pathParameters: {
21361
- zoneFileImportId: string;
21362
- };
21378
+ queryParameters: {
21379
+ projectId?: string | undefined;
21380
+ ingressId?: string | undefined;
21381
+ } & Partial<{
21382
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
21383
+ }>;
21363
21384
  } & {
21364
21385
  headers: {
21365
21386
  "x-access-token"?: string | undefined;
21366
21387
  } & Partial<{
21367
21388
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
21368
21389
  }>;
21369
- }, import("@mittwald/api-client-commons").Response<{
21370
- createdAt: string;
21371
- id: string;
21372
- importedZones: string[];
21373
- projectId: string;
21374
- skippedZones: {
21375
- name: string;
21376
- reason: string;
21377
- }[];
21378
- status: "running" | "succeeded" | "completedWithErrors";
21379
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
21380
- [x: string]: unknown;
21381
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
21390
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.SslCertificate[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
21382
21391
  [x: string]: unknown;
21383
21392
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
21384
21393
  [x: string]: unknown;
@@ -21387,28 +21396,19 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
21387
21396
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
21388
21397
  }>;
21389
21398
  } & {
21390
- pathParameters: {
21391
- zoneFileImportId: string;
21392
- };
21399
+ queryParameters: {
21400
+ projectId?: string | undefined;
21401
+ ingressId?: string | undefined;
21402
+ } & Partial<{
21403
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
21404
+ }>;
21393
21405
  } & {
21394
21406
  headers: {
21395
21407
  "x-access-token"?: string | undefined;
21396
21408
  } & Partial<{
21397
21409
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
21398
21410
  }>;
21399
- }, import("@mittwald/api-client-commons").Response<{
21400
- createdAt: string;
21401
- id: string;
21402
- importedZones: string[];
21403
- projectId: string;
21404
- skippedZones: {
21405
- name: string;
21406
- reason: string;
21407
- }[];
21408
- status: "running" | "succeeded" | "completedWithErrors";
21409
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
21410
- [x: string]: unknown;
21411
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
21411
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.SslCertificate[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
21412
21412
  [x: string]: unknown;
21413
21413
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
21414
21414
  [x: string]: unknown;
@@ -26467,6 +26467,37 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
26467
26467
  }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
26468
26468
  [x: string]: unknown;
26469
26469
  }, 429, "application/json">>>;
26470
+ /** Check if a password is leaked. */
26471
+ searchedLeakedPasswordsByRange: (request: {
26472
+ passwordHashPrefix: string;
26473
+ headers?: {
26474
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
26475
+ } | undefined;
26476
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
26477
+ headers?: Partial<{
26478
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
26479
+ }>;
26480
+ } & {
26481
+ pathParameters: {
26482
+ passwordHashPrefix: string;
26483
+ };
26484
+ }, import("@mittwald/api-client-commons").Response<string[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
26485
+ [x: string]: unknown;
26486
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
26487
+ [x: string]: unknown;
26488
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
26489
+ headers?: Partial<{
26490
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
26491
+ }>;
26492
+ } & {
26493
+ pathParameters: {
26494
+ passwordHashPrefix: string;
26495
+ };
26496
+ }, import("@mittwald/api-client-commons").Response<string[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
26497
+ [x: string]: unknown;
26498
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
26499
+ [x: string]: unknown;
26500
+ }, 429, "application/json">>>;
26470
26501
  /** Submit your spotlight usage. */
26471
26502
  spotlightFeedback: (request: {
26472
26503
  data: {
@@ -26747,37 +26778,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
26747
26778
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
26748
26779
  [x: string]: unknown;
26749
26780
  }, 429, "application/json">>>;
26750
- /** Check if a password is leaked. */
26751
- searchedLeakedPasswordsByRange: (request: {
26752
- passwordHashPrefix: string;
26753
- headers?: {
26754
- [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
26755
- } | undefined;
26756
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
26757
- headers?: Partial<{
26758
- [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
26759
- }>;
26760
- } & {
26761
- pathParameters: {
26762
- passwordHashPrefix: string;
26763
- };
26764
- }, import("@mittwald/api-client-commons").Response<string[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
26765
- [x: string]: unknown;
26766
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
26767
- [x: string]: unknown;
26768
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
26769
- headers?: Partial<{
26770
- [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
26771
- }>;
26772
- } & {
26773
- pathParameters: {
26774
- passwordHashPrefix: string;
26775
- };
26776
- }, import("@mittwald/api-client-commons").Response<string[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
26777
- [x: string]: unknown;
26778
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
26779
- [x: string]: unknown;
26780
- }, 429, "application/json">>>;
26781
26781
  };
26782
26782
  /** The file API allows you to manage your files, for example for conversations attachments and avatar uploads. */
26783
26783
  readonly file: {