@mittwald/api-client 3.0.23 → 3.0.25

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.
@@ -1346,6 +1346,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
1346
1346
  articles: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractArticle[];
1347
1347
  contractPeriod: number;
1348
1348
  description: string;
1349
+ freeTrialDays: number;
1349
1350
  groupByProjectId?: string | undefined;
1350
1351
  invoicingPeriod: number;
1351
1352
  isActivated: boolean;
@@ -1504,6 +1505,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
1504
1505
  articles: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractArticle[];
1505
1506
  contractPeriod: number;
1506
1507
  description: string;
1508
+ freeTrialDays: number;
1507
1509
  groupByProjectId?: string | undefined;
1508
1510
  invoicingPeriod: number;
1509
1511
  isActivated: boolean;
@@ -4789,391 +4791,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
4789
4791
  };
4790
4792
  /** The domain API allows you to manage your domains, DNS records and ingress resources. */
4791
4793
  readonly domain: {
4792
- /** updates a-records for a specific zone */
4793
- dnsRecordAsetCustom: (request: {
4794
- zoneId: string;
4795
- headers?: {
4796
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
4797
- "x-access-token"?: string | undefined;
4798
- } | undefined;
4799
- } | {
4800
- data: {
4801
- a: string[];
4802
- aaaa: string[];
4803
- settings: {
4804
- ttl?: {
4805
- seconds: number;
4806
- } | {
4807
- auto: boolean;
4808
- } | undefined;
4809
- };
4810
- };
4811
- zoneId: string;
4812
- headers?: {
4813
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
4814
- "x-access-token"?: string | undefined;
4815
- } | undefined;
4816
- }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<({
4817
- headers?: Partial<{
4818
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
4819
- }> | undefined;
4820
- } | {
4821
- data: {
4822
- a: string[];
4823
- aaaa: string[];
4824
- settings: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordSettings;
4825
- };
4826
- }) & {
4827
- pathParameters: {
4828
- zoneId: string;
4829
- };
4830
- } & {
4831
- headers?: Partial<{
4832
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
4833
- }> | undefined;
4834
- } & {
4835
- headers: {
4836
- "x-access-token"?: string | undefined;
4837
- } & Partial<{
4838
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
4839
- }>;
4840
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
4841
- [x: string]: unknown;
4842
- }, 400, "application/json">>>;
4843
- /** set a-records managed by ingress for a specific zone */
4844
- dnsRecordAsetManagedByIngress: (request: {
4845
- zoneId: string;
4846
- headers?: {
4847
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
4848
- "x-access-token"?: string | undefined;
4849
- } | undefined;
4850
- }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
4851
- headers?: Partial<{
4852
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
4853
- }> | undefined;
4854
- } & {
4855
- pathParameters: {
4856
- zoneId: string;
4857
- };
4858
- } & {
4859
- headers: {
4860
- "x-access-token"?: string | undefined;
4861
- } & Partial<{
4862
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
4863
- }>;
4864
- }, import("@mittwald/api-client-commons").Response<{
4865
- ingressId: string;
4866
- }, 204, "application/json"> | import("@mittwald/api-client-commons").Response<{
4867
- [x: string]: unknown;
4868
- }, 400, "application/json">>>;
4869
- /** updates cname-record for a specific zone */
4870
- dnsRecordCnameSet: (request: {
4871
- zoneId: string;
4872
- headers?: {
4873
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
4874
- "x-access-token"?: string | undefined;
4875
- } | undefined;
4876
- } | {
4877
- data: {
4878
- fqdn: string;
4879
- settings: {
4880
- ttl?: {
4881
- seconds: number;
4882
- } | {
4883
- auto: boolean;
4884
- } | undefined;
4885
- };
4886
- };
4887
- zoneId: string;
4888
- headers?: {
4889
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
4890
- "x-access-token"?: string | undefined;
4891
- } | undefined;
4892
- }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<({
4893
- headers?: Partial<{
4894
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
4895
- }> | undefined;
4896
- } | {
4897
- data: {
4898
- fqdn: string;
4899
- settings: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordSettings;
4900
- };
4901
- }) & {
4902
- pathParameters: {
4903
- zoneId: string;
4904
- };
4905
- } & {
4906
- headers?: Partial<{
4907
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
4908
- }> | undefined;
4909
- } & {
4910
- headers: {
4911
- "x-access-token"?: string | undefined;
4912
- } & Partial<{
4913
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
4914
- }>;
4915
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
4916
- [x: string]: unknown;
4917
- }, 400, "application/json">>>;
4918
- /** updates mx-records for a specific zone */
4919
- dnsRecordMxSetCustom: (request: {
4920
- zoneId: string;
4921
- headers?: {
4922
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
4923
- "x-access-token"?: string | undefined;
4924
- } | undefined;
4925
- } | {
4926
- data: {
4927
- records: [import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordMXRecord] | [import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordMXRecord, import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordMXRecord] | [import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordMXRecord, import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordMXRecord, import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordMXRecord] | [import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordMXRecord, import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordMXRecord, import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordMXRecord, import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordMXRecord] | [import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordMXRecord, import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordMXRecord, import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordMXRecord, import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordMXRecord, import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordMXRecord];
4928
- settings: {
4929
- ttl?: {
4930
- seconds: number;
4931
- } | {
4932
- auto: boolean;
4933
- } | undefined;
4934
- };
4935
- };
4936
- zoneId: string;
4937
- headers?: {
4938
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
4939
- "x-access-token"?: string | undefined;
4940
- } | undefined;
4941
- }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<({
4942
- headers?: Partial<{
4943
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
4944
- }> | undefined;
4945
- } | {
4946
- data: {
4947
- records: [import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordMXRecord] | [import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordMXRecord, import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordMXRecord] | [import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordMXRecord, import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordMXRecord, import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordMXRecord] | [import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordMXRecord, import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordMXRecord, import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordMXRecord, import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordMXRecord] | [import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordMXRecord, import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordMXRecord, import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordMXRecord, import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordMXRecord, import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordMXRecord];
4948
- settings: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordSettings;
4949
- };
4950
- }) & {
4951
- pathParameters: {
4952
- zoneId: string;
4953
- };
4954
- } & {
4955
- headers?: Partial<{
4956
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
4957
- }> | undefined;
4958
- } & {
4959
- headers: {
4960
- "x-access-token"?: string | undefined;
4961
- } & Partial<{
4962
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
4963
- }>;
4964
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
4965
- [x: string]: unknown;
4966
- }, 400, "application/json">>>;
4967
- /** sets mx-records to managed for a specific zone */
4968
- dnsRecordMxSetManaged: (request: {
4969
- zoneId: string;
4970
- headers?: {
4971
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
4972
- "x-access-token"?: string | undefined;
4973
- } | undefined;
4974
- }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
4975
- headers?: Partial<{
4976
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
4977
- }> | undefined;
4978
- } & {
4979
- pathParameters: {
4980
- zoneId: string;
4981
- };
4982
- } & {
4983
- headers: {
4984
- "x-access-token"?: string | undefined;
4985
- } & Partial<{
4986
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
4987
- }>;
4988
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
4989
- [x: string]: unknown;
4990
- }, 400, "application/json">>>;
4991
- /** updates srv-records for a specific zone */
4992
- dnsRecordSrvSet: (request: {
4993
- zoneId: string;
4994
- headers?: {
4995
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
4996
- "x-access-token"?: string | undefined;
4997
- } | undefined;
4998
- } | {
4999
- data: {
5000
- records: [import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordSRVRecord, ...import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordSRVRecord[]];
5001
- settings: {
5002
- ttl?: {
5003
- seconds: number;
5004
- } | {
5005
- auto: boolean;
5006
- } | undefined;
5007
- };
5008
- };
5009
- zoneId: string;
5010
- headers?: {
5011
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
5012
- "x-access-token"?: string | undefined;
5013
- } | undefined;
5014
- }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<({
5015
- headers?: Partial<{
5016
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5017
- }> | undefined;
5018
- } | {
5019
- data: {
5020
- records: [import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordSRVRecord, ...import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordSRVRecord[]];
5021
- settings: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordSettings;
5022
- };
5023
- }) & {
5024
- pathParameters: {
5025
- zoneId: string;
5026
- };
5027
- } & {
5028
- headers?: Partial<{
5029
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5030
- }> | undefined;
5031
- } & {
5032
- headers: {
5033
- "x-access-token"?: string | undefined;
5034
- } & Partial<{
5035
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5036
- }>;
5037
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
5038
- [x: string]: unknown;
5039
- }, 400, "application/json">>>;
5040
- /** updates txt-records for a specific zone */
5041
- dnsRecordTxtSet: (request: {
5042
- zoneId: string;
5043
- headers?: {
5044
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
5045
- "x-access-token"?: string | undefined;
5046
- } | undefined;
5047
- } | {
5048
- data: {
5049
- entries: string[];
5050
- settings: {
5051
- ttl?: {
5052
- seconds: number;
5053
- } | {
5054
- auto: boolean;
5055
- } | undefined;
5056
- };
5057
- };
5058
- zoneId: string;
5059
- headers?: {
5060
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
5061
- "x-access-token"?: string | undefined;
5062
- } | undefined;
5063
- }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<({
5064
- headers?: Partial<{
5065
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5066
- }> | undefined;
5067
- } | {
5068
- data: {
5069
- entries: string[];
5070
- settings: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordSettings;
5071
- };
5072
- }) & {
5073
- pathParameters: {
5074
- zoneId: string;
5075
- };
5076
- } & {
5077
- headers?: Partial<{
5078
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5079
- }> | undefined;
5080
- } & {
5081
- headers: {
5082
- "x-access-token"?: string | undefined;
5083
- } & Partial<{
5084
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5085
- }>;
5086
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
5087
- [x: string]: unknown;
5088
- }, 400, "application/json">>>;
5089
- /** creates a sub zone for a given dns zone */
5090
- dnsSubZoneCreate: (request: {
5091
- data: {
5092
- name: string;
5093
- parentZoneId: string;
5094
- };
5095
- headers?: {
5096
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
5097
- "x-access-token"?: string | undefined;
5098
- } | undefined;
5099
- }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
5100
- data: {
5101
- name: string;
5102
- parentZoneId: string;
5103
- };
5104
- } & {
5105
- headers?: Partial<{
5106
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5107
- }> | undefined;
5108
- } & {
5109
- headers: {
5110
- "x-access-token"?: string | undefined;
5111
- } & Partial<{
5112
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5113
- }>;
5114
- }, import("@mittwald/api-client-commons").Response<{
5115
- id: string;
5116
- }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
5117
- [x: string]: unknown;
5118
- }, 400, "application/json">>>;
5119
- /** gets a specific zone */
5120
- dnsZoneGetSpecific: (request: {
5121
- zoneId: string;
5122
- headers?: {
5123
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
5124
- "x-access-token"?: string | undefined;
5125
- } | undefined;
5126
- }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
5127
- headers?: Partial<{
5128
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5129
- }> | undefined;
5130
- } & {
5131
- pathParameters: {
5132
- zoneId: string;
5133
- };
5134
- } & {
5135
- headers: {
5136
- "x-access-token"?: string | undefined;
5137
- } & Partial<{
5138
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5139
- }>;
5140
- }, import("@mittwald/api-client-commons").Response<{
5141
- domain: string;
5142
- id: string;
5143
- recordSet: {
5144
- cname: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordCNAME;
5145
- combinedARecords: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordCombinedA;
5146
- mx: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordMX;
5147
- srv: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordSRV;
5148
- txt: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordTXT;
5149
- };
5150
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
5151
- [x: string]: unknown;
5152
- }, 400, "application/json">>>;
5153
- /** gets all dns zones by project id */
5154
- dnsZonesForProject: (request: {
5155
- projectId: string;
5156
- headers?: {
5157
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
5158
- "x-access-token"?: string | undefined;
5159
- } | undefined;
5160
- }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
5161
- headers?: Partial<{
5162
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5163
- }> | undefined;
5164
- } & {
5165
- pathParameters: {
5166
- projectId: string;
5167
- };
5168
- } & {
5169
- headers: {
5170
- "x-access-token"?: string | undefined;
5171
- } & Partial<{
5172
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5173
- }>;
5174
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.DnsZone[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
5175
- [x: string]: unknown;
5176
- }, 400, "application/json">>>;
5177
4794
  /** Get a Domain. */
5178
4795
  getDomain: (request: {
5179
4796
  domainId: string;
@@ -5287,7 +4904,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5287
4904
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
5288
4905
  [x: string]: unknown;
5289
4906
  }, 404, "application/json">>>;
5290
- /** List all domain ownerships of a project. */
4907
+ /** List the DomainOwnerships of a project. */
5291
4908
  listDomainOwnerships: (request: {
5292
4909
  projectId: string;
5293
4910
  headers?: {
@@ -5349,7 +4966,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5349
4966
  }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.DomainDomain[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
5350
4967
  [x: string]: unknown;
5351
4968
  }, 400, "application/json">>>;
5352
- /** Resend a domain email. */
4969
+ /** Resend a Domain email. */
5353
4970
  resendDomainEmail: (request: {
5354
4971
  domainId: string;
5355
4972
  data?: {
@@ -5382,8 +4999,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5382
4999
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
5383
5000
  [x: string]: unknown;
5384
5001
  }, 404, "application/json">>>;
5385
- /** Get a domain ownership. */
5386
- getSpecificDomainOwnership: (request: {
5002
+ /** Get a DomainOwnership. */
5003
+ getDomainOwnership: (request: {
5387
5004
  domainOwnershipId: string;
5388
5005
  headers?: {
5389
5006
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
@@ -5413,7 +5030,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5413
5030
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
5414
5031
  [x: string]: unknown;
5415
5032
  }, 404, "application/json">>>;
5416
- /** Verify a domain ownership. */
5033
+ /** Verify a DomainOwnership. */
5417
5034
  verifyDomainOwnership: (request: {
5418
5035
  domainOwnershipId: string;
5419
5036
  data?: {
@@ -5678,8 +5295,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5678
5295
  }, import("@mittwald/api-client-commons").Response<{}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
5679
5296
  [x: string]: unknown;
5680
5297
  }, 404, "application/json">>>;
5681
- /** Abort a declare process. */
5682
- abortDeclareProcess: (request: {
5298
+ /** Abort a Domain declaration. */
5299
+ abortDomainDeclaration: (request: {
5683
5300
  domainId: string;
5684
5301
  headers?: {
5685
5302
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
@@ -5704,9 +5321,19 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5704
5321
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
5705
5322
  [x: string]: unknown;
5706
5323
  }, 404, "application/json">>>;
5707
- /** Get a HandleSchema. */
5708
- getHandleFields: (request: {
5709
- domainName: string;
5324
+ /** List TLDs. */
5325
+ listTlds: (request?: {
5326
+ headers?: {
5327
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
5328
+ } | undefined;
5329
+ } | null | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
5330
+ headers?: Partial<{
5331
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5332
+ }> | undefined;
5333
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.DomainTopLevel[], 200, "application/json">>>;
5334
+ /** List the contact schemas for a TLD. */
5335
+ listTldContactSchemas: (request: {
5336
+ tld: string;
5710
5337
  headers?: {
5711
5338
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
5712
5339
  } | undefined;
@@ -5716,45 +5343,152 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5716
5343
  }> | undefined;
5717
5344
  } & {
5718
5345
  pathParameters: {
5719
- domainName: string;
5346
+ tld: string;
5720
5347
  };
5721
5348
  }, import("@mittwald/api-client-commons").Response<{
5722
5349
  jsonSchemaAdminC?: {} | undefined;
5723
5350
  jsonSchemaOwnerC: {};
5724
5351
  }, 200, "application/json">>>;
5725
- /** List all supported top level domains. */
5726
- getSupportedTlds: (request?: {
5352
+ /** Update the auth code of a Domain. */
5353
+ updateDomainAuthCode: (request: {
5354
+ data: {
5355
+ authCode: string;
5356
+ };
5357
+ domainId: string;
5727
5358
  headers?: {
5728
5359
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
5360
+ "x-access-token"?: string | undefined;
5729
5361
  } | undefined;
5730
- } | null | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
5362
+ }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
5363
+ data: {
5364
+ authCode: string;
5365
+ };
5366
+ } & {
5367
+ pathParameters: {
5368
+ domainId: string;
5369
+ };
5370
+ } & {
5731
5371
  headers?: Partial<{
5732
5372
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5733
5373
  }> | undefined;
5734
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.DomainTopLevel[], 200, "application/json">>>;
5735
- /** Check if a Domain is available to register. */
5736
- checkDomainAvailability: (request: {
5374
+ } & {
5375
+ headers: {
5376
+ "x-access-token"?: string | undefined;
5377
+ } & Partial<{
5378
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5379
+ }>;
5380
+ }, import("@mittwald/api-client-commons").Response<{
5381
+ [x: string]: unknown;
5382
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
5383
+ [x: string]: unknown;
5384
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
5385
+ [x: string]: unknown;
5386
+ }, 404, "application/json">>>;
5387
+ /** Update a contact of a Domain. */
5388
+ updateDomainContact: (request: {
5737
5389
  data: {
5738
- domain: string;
5390
+ contact: [import("./types.js").MittwaldAPIV2.Components.Schemas.DomainHandleField, ...import("./types.js").MittwaldAPIV2.Components.Schemas.DomainHandleField[]];
5739
5391
  };
5392
+ domainId: string;
5393
+ contact: "owner";
5394
+ headers?: {
5395
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
5396
+ "x-access-token"?: string | undefined;
5397
+ } | undefined;
5398
+ }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
5399
+ data: {
5400
+ contact: [import("./types.js").MittwaldAPIV2.Components.Schemas.DomainHandleField, ...import("./types.js").MittwaldAPIV2.Components.Schemas.DomainHandleField[]];
5401
+ };
5402
+ } & {
5403
+ pathParameters: {
5404
+ domainId: string;
5405
+ contact: "owner";
5406
+ };
5407
+ } & {
5408
+ headers?: Partial<{
5409
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5410
+ }> | undefined;
5411
+ } & {
5412
+ headers: {
5413
+ "x-access-token"?: string | undefined;
5414
+ } & Partial<{
5415
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5416
+ }>;
5417
+ }, import("@mittwald/api-client-commons").Response<{
5418
+ [x: string]: unknown;
5419
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
5420
+ [x: string]: unknown;
5421
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
5422
+ [x: string]: unknown;
5423
+ }, 404, "application/json">>>;
5424
+ /** Update the nameservers of a Domain. */
5425
+ updateDomainNameservers: (request: {
5426
+ domainId: string;
5427
+ data?: {
5428
+ nameservers?: [string, string, ...string[]] | undefined;
5429
+ } | undefined;
5430
+ headers?: {
5431
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
5432
+ "x-access-token"?: string | undefined;
5433
+ } | undefined;
5434
+ }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
5435
+ data: {
5436
+ nameservers?: [string, string, ...string[]] | undefined;
5437
+ };
5438
+ } & {
5439
+ pathParameters: {
5440
+ domainId: string;
5441
+ };
5442
+ } & {
5443
+ headers?: Partial<{
5444
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5445
+ }> | undefined;
5446
+ } & {
5447
+ headers: {
5448
+ "x-access-token"?: string | undefined;
5449
+ } & Partial<{
5450
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5451
+ }>;
5452
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
5453
+ [x: string]: unknown;
5454
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
5455
+ [x: string]: unknown;
5456
+ }, 404, "application/json">>>;
5457
+ /** Update a Domain's project id. */
5458
+ updateDomainProjectId: (request: {
5459
+ domainId: string;
5460
+ data?: {
5461
+ projectId?: string | undefined;
5462
+ } | undefined;
5740
5463
  headers?: {
5741
5464
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
5465
+ "x-access-token"?: string | undefined;
5742
5466
  } | undefined;
5743
5467
  }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
5744
5468
  data: {
5745
- domain: string;
5469
+ projectId?: string | undefined;
5470
+ };
5471
+ } & {
5472
+ pathParameters: {
5473
+ domainId: string;
5746
5474
  };
5747
5475
  } & {
5748
5476
  headers?: Partial<{
5749
5477
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5750
5478
  }> | undefined;
5751
- }, import("@mittwald/api-client-commons").Response<{
5752
- available: boolean;
5753
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
5479
+ } & {
5480
+ headers: {
5481
+ "x-access-token"?: string | undefined;
5482
+ } & Partial<{
5483
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5484
+ }>;
5485
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
5754
5486
  [x: string]: unknown;
5755
- }, 400, "application/json">>>;
5756
- /** Create an AuthCode for a Domains transfer out process. */
5757
- createAuthcodeForDomain: (request: {
5487
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
5488
+ [x: string]: unknown;
5489
+ }, 404, "application/json">>>;
5490
+ /** Create an auth code for a Domains transfer-out process. */
5491
+ createDomainAuthCode: (request: {
5758
5492
  domainId: string;
5759
5493
  data?: {
5760
5494
  [x: string]: unknown;
@@ -5788,8 +5522,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5788
5522
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
5789
5523
  [x: string]: unknown;
5790
5524
  }, 404, "application/json">>>;
5791
- /** Create an AuthCode2. */
5792
- createAuthcode2ForDomain: (request: {
5525
+ /** Create an auth code 2. */
5526
+ createDomainAuthCode2: (request: {
5793
5527
  domainId: string;
5794
5528
  data?: {
5795
5529
  [x: string]: unknown;
@@ -5821,28 +5555,42 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5821
5555
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
5822
5556
  [x: string]: unknown;
5823
5557
  }, 404, "application/json">>>;
5824
- /** Update an AuthCode. */
5825
- declareProcessChangeAuthcode: (request: {
5558
+ /** Check if a Domain is available to register. */
5559
+ checkDomainRegistrability: (request: {
5826
5560
  data: {
5827
- authCode: string;
5561
+ domain: string;
5828
5562
  };
5829
- domainId: string;
5830
5563
  headers?: {
5831
5564
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
5832
- "x-access-token"?: string | undefined;
5833
5565
  } | undefined;
5834
5566
  }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
5835
5567
  data: {
5836
- authCode: string;
5837
- };
5838
- } & {
5839
- pathParameters: {
5840
- domainId: string;
5568
+ domain: string;
5841
5569
  };
5842
5570
  } & {
5843
5571
  headers?: Partial<{
5844
5572
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5845
5573
  }> | undefined;
5574
+ }, import("@mittwald/api-client-commons").Response<{
5575
+ registrable: boolean;
5576
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
5577
+ [x: string]: unknown;
5578
+ }, 400, "application/json">>>;
5579
+ /** Get a DNSZone. */
5580
+ dnsGetDnsZone: (request: {
5581
+ dnsZoneId: string;
5582
+ headers?: {
5583
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
5584
+ "x-access-token"?: string | undefined;
5585
+ } | undefined;
5586
+ }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
5587
+ headers?: Partial<{
5588
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5589
+ }> | undefined;
5590
+ } & {
5591
+ pathParameters: {
5592
+ dnsZoneId: string;
5593
+ };
5846
5594
  } & {
5847
5595
  headers: {
5848
5596
  "x-access-token"?: string | undefined;
@@ -5850,69 +5598,83 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5850
5598
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5851
5599
  }>;
5852
5600
  }, import("@mittwald/api-client-commons").Response<{
5853
- [x: string]: unknown;
5601
+ domain: string;
5602
+ id: string;
5603
+ recordSet: {
5604
+ cname: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordCNAME;
5605
+ combinedARecords: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordCombinedA;
5606
+ mx: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordMX;
5607
+ srv: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordSRV;
5608
+ txt: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordTXT;
5609
+ };
5854
5610
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
5855
5611
  [x: string]: unknown;
5856
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
5857
- [x: string]: unknown;
5858
- }, 404, "application/json">>>;
5859
- /** Update a Domain's OwnerC handle. */
5860
- declareProcessChangeHandles: (request: {
5861
- data: {
5862
- ownerC: [import("./types.js").MittwaldAPIV2.Components.Schemas.DomainHandleField, ...import("./types.js").MittwaldAPIV2.Components.Schemas.DomainHandleField[]];
5863
- };
5864
- domainId: string;
5612
+ }, 400, "application/json">>>;
5613
+ /** Delete a DNSZone. */
5614
+ dnsDeleteDnsZone: (request: {
5615
+ dnsZoneId: string;
5865
5616
  headers?: {
5866
5617
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
5867
5618
  "x-access-token"?: string | undefined;
5868
5619
  } | undefined;
5869
5620
  }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
5870
- data: {
5871
- ownerC: [import("./types.js").MittwaldAPIV2.Components.Schemas.DomainHandleField, ...import("./types.js").MittwaldAPIV2.Components.Schemas.DomainHandleField[]];
5872
- };
5873
- } & {
5874
- pathParameters: {
5875
- domainId: string;
5876
- };
5877
- } & {
5878
5621
  headers?: Partial<{
5879
5622
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5880
5623
  }> | undefined;
5624
+ } & {
5625
+ pathParameters: {
5626
+ dnsZoneId: string;
5627
+ };
5881
5628
  } & {
5882
5629
  headers: {
5883
5630
  "x-access-token"?: string | undefined;
5884
5631
  } & Partial<{
5885
5632
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5886
5633
  }>;
5887
- }, import("@mittwald/api-client-commons").Response<{
5888
- [x: string]: unknown;
5889
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
5890
- [x: string]: unknown;
5891
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
5634
+ }, import("@mittwald/api-client-commons").Response<{}, 200, "empty"> | import("@mittwald/api-client-commons").Response<{
5892
5635
  [x: string]: unknown;
5893
- }, 404, "application/json">>>;
5894
- /** Change the owner contact of a domain. */
5895
- changeOwnercOfDomain: (request: {
5896
- data: {
5897
- ownerC: [import("./types.js").MittwaldAPIV2.Components.Schemas.DomainHandleField, ...import("./types.js").MittwaldAPIV2.Components.Schemas.DomainHandleField[]];
5898
- };
5899
- domainId: string;
5636
+ }, 400, "application/json">>>;
5637
+ /** List DNSZones belonging to a Project. */
5638
+ dnsListDnsZones: (request: {
5639
+ projectId: string;
5900
5640
  headers?: {
5901
5641
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
5902
5642
  "x-access-token"?: string | undefined;
5903
5643
  } | undefined;
5904
5644
  }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
5905
- data: {
5906
- ownerC: [import("./types.js").MittwaldAPIV2.Components.Schemas.DomainHandleField, ...import("./types.js").MittwaldAPIV2.Components.Schemas.DomainHandleField[]];
5907
- };
5645
+ headers?: Partial<{
5646
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5647
+ }> | undefined;
5908
5648
  } & {
5909
5649
  pathParameters: {
5910
- domainId: string;
5650
+ projectId: string;
5911
5651
  };
5912
5652
  } & {
5653
+ headers: {
5654
+ "x-access-token"?: string | undefined;
5655
+ } & Partial<{
5656
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5657
+ }>;
5658
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.DnsZone[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
5659
+ [x: string]: unknown;
5660
+ }, 400, "application/json">>>;
5661
+ /** Set a record set on a DNSZone to managed. */
5662
+ dnsSetRecordSetManaged: (request: {
5663
+ dnsZoneId: string;
5664
+ recordSet: "a" | "mx";
5665
+ headers?: {
5666
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
5667
+ "x-access-token"?: string | undefined;
5668
+ } | undefined;
5669
+ }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
5913
5670
  headers?: Partial<{
5914
5671
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5915
5672
  }> | undefined;
5673
+ } & {
5674
+ pathParameters: {
5675
+ dnsZoneId: string;
5676
+ recordSet: "a" | "mx";
5677
+ };
5916
5678
  } & {
5917
5679
  headers: {
5918
5680
  "x-access-token"?: string | undefined;
@@ -5920,29 +5682,24 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5920
5682
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5921
5683
  }>;
5922
5684
  }, import("@mittwald/api-client-commons").Response<{
5685
+ ingressId?: string | undefined;
5686
+ }, 204, "application/json"> | import("@mittwald/api-client-commons").Response<{
5923
5687
  [x: string]: unknown;
5924
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
5925
- [x: string]: unknown;
5926
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
5927
- [x: string]: unknown;
5928
- }, 404, "application/json">>>;
5929
- /** Change the Project relation of a Domain. */
5930
- changeProjectOfDomain: (request: {
5931
- domainId: string;
5932
- data?: {
5933
- projectId?: string | undefined;
5934
- } | undefined;
5688
+ }, 400, "application/json">>>;
5689
+ /** Create a DNSZone. */
5690
+ dnsCreateDnsZone: (request: {
5691
+ data: {
5692
+ name: string;
5693
+ parentZoneId: string;
5694
+ };
5935
5695
  headers?: {
5936
5696
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
5937
5697
  "x-access-token"?: string | undefined;
5938
5698
  } | undefined;
5939
5699
  }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
5940
5700
  data: {
5941
- projectId?: string | undefined;
5942
- };
5943
- } & {
5944
- pathParameters: {
5945
- domainId: string;
5701
+ name: string;
5702
+ parentZoneId: string;
5946
5703
  };
5947
5704
  } & {
5948
5705
  headers?: Partial<{
@@ -5954,28 +5711,139 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5954
5711
  } & Partial<{
5955
5712
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5956
5713
  }>;
5957
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
5958
- [x: string]: unknown;
5959
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
5714
+ }, import("@mittwald/api-client-commons").Response<{
5715
+ id: string;
5716
+ }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
5960
5717
  [x: string]: unknown;
5961
- }, 404, "application/json">>>;
5962
- /** Change all nameservers of a Domain. */
5963
- declareNameservers: (request: {
5964
- domainId: string;
5965
- data?: {
5966
- nameservers?: [string, string, ...string[]] | undefined;
5718
+ }, 400, "application/json">>>;
5719
+ /** Update a record set on a DNSZone. */
5720
+ dnsUpdateRecordSet: (request: {
5721
+ dnsZoneId: string;
5722
+ recordSet: "a" | "mx" | "txt" | "srv" | "cname";
5723
+ headers?: {
5724
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
5725
+ "x-access-token"?: string | undefined;
5967
5726
  } | undefined;
5727
+ } | {
5728
+ data: {
5729
+ a: string[];
5730
+ aaaa: string[];
5731
+ settings: {
5732
+ ttl?: {
5733
+ seconds: number;
5734
+ } | {
5735
+ auto: boolean;
5736
+ } | undefined;
5737
+ };
5738
+ };
5739
+ dnsZoneId: string;
5740
+ recordSet: "a" | "mx" | "txt" | "srv" | "cname";
5968
5741
  headers?: {
5969
5742
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
5970
5743
  "x-access-token"?: string | undefined;
5971
5744
  } | undefined;
5972
- }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
5745
+ } | {
5973
5746
  data: {
5974
- nameservers?: [string, string, ...string[]] | undefined;
5747
+ records: [import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordMXRecord] | [import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordMXRecord, import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordMXRecord] | [import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordMXRecord, import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordMXRecord, import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordMXRecord] | [import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordMXRecord, import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordMXRecord, import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordMXRecord, import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordMXRecord] | [import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordMXRecord, import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordMXRecord, import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordMXRecord, import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordMXRecord, import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordMXRecord];
5748
+ settings: {
5749
+ ttl?: {
5750
+ seconds: number;
5751
+ } | {
5752
+ auto: boolean;
5753
+ } | undefined;
5754
+ };
5975
5755
  };
5976
- } & {
5756
+ dnsZoneId: string;
5757
+ recordSet: "a" | "mx" | "txt" | "srv" | "cname";
5758
+ headers?: {
5759
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
5760
+ "x-access-token"?: string | undefined;
5761
+ } | undefined;
5762
+ } | {
5763
+ data: {
5764
+ entries: string[];
5765
+ settings: {
5766
+ ttl?: {
5767
+ seconds: number;
5768
+ } | {
5769
+ auto: boolean;
5770
+ } | undefined;
5771
+ };
5772
+ };
5773
+ dnsZoneId: string;
5774
+ recordSet: "a" | "mx" | "txt" | "srv" | "cname";
5775
+ headers?: {
5776
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
5777
+ "x-access-token"?: string | undefined;
5778
+ } | undefined;
5779
+ } | {
5780
+ data: {
5781
+ records: [import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordSRVRecord, ...import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordSRVRecord[]];
5782
+ settings: {
5783
+ ttl?: {
5784
+ seconds: number;
5785
+ } | {
5786
+ auto: boolean;
5787
+ } | undefined;
5788
+ };
5789
+ };
5790
+ dnsZoneId: string;
5791
+ recordSet: "a" | "mx" | "txt" | "srv" | "cname";
5792
+ headers?: {
5793
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
5794
+ "x-access-token"?: string | undefined;
5795
+ } | undefined;
5796
+ } | {
5797
+ data: {
5798
+ fqdn: string;
5799
+ settings: {
5800
+ ttl?: {
5801
+ seconds: number;
5802
+ } | {
5803
+ auto: boolean;
5804
+ } | undefined;
5805
+ };
5806
+ };
5807
+ dnsZoneId: string;
5808
+ recordSet: "a" | "mx" | "txt" | "srv" | "cname";
5809
+ headers?: {
5810
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
5811
+ "x-access-token"?: string | undefined;
5812
+ } | undefined;
5813
+ }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<({
5814
+ headers?: Partial<{
5815
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5816
+ }> | undefined;
5817
+ } | {
5818
+ data: {
5819
+ a: string[];
5820
+ aaaa: string[];
5821
+ settings: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordSettings;
5822
+ };
5823
+ } | {
5824
+ data: {
5825
+ records: [import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordMXRecord] | [import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordMXRecord, import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordMXRecord] | [import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordMXRecord, import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordMXRecord, import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordMXRecord] | [import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordMXRecord, import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordMXRecord, import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordMXRecord, import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordMXRecord] | [import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordMXRecord, import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordMXRecord, import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordMXRecord, import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordMXRecord, import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordMXRecord];
5826
+ settings: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordSettings;
5827
+ };
5828
+ } | {
5829
+ data: {
5830
+ entries: string[];
5831
+ settings: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordSettings;
5832
+ };
5833
+ } | {
5834
+ data: {
5835
+ records: [import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordSRVRecord, ...import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordSRVRecord[]];
5836
+ settings: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordSettings;
5837
+ };
5838
+ } | {
5839
+ data: {
5840
+ fqdn: string;
5841
+ settings: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordSettings;
5842
+ };
5843
+ }) & {
5977
5844
  pathParameters: {
5978
- domainId: string;
5845
+ dnsZoneId: string;
5846
+ recordSet: "a" | "mx" | "txt" | "srv" | "cname";
5979
5847
  };
5980
5848
  } & {
5981
5849
  headers?: Partial<{
@@ -5989,9 +5857,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5989
5857
  }>;
5990
5858
  }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
5991
5859
  [x: string]: unknown;
5992
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
5993
- [x: string]: unknown;
5994
- }, 404, "application/json">>>;
5860
+ }, 400, "application/json">>>;
5995
5861
  };
5996
5862
  /** The file API allows you to manage your files, for example for conversations attachments and avatar uploads. */
5997
5863
  readonly file: {