@mittwald/api-client 3.0.24 → 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.
@@ -4791,424 +4791,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
4791
4791
  };
4792
4792
  /** The domain API allows you to manage your domains, DNS records and ingress resources. */
4793
4793
  readonly domain: {
4794
- /** updates a-records for a specific zone */
4795
- dnsRecordAsetCustom: (request: {
4796
- zoneId: string;
4797
- headers?: {
4798
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
4799
- "x-access-token"?: string | undefined;
4800
- } | undefined;
4801
- } | {
4802
- data: {
4803
- a: string[];
4804
- aaaa: string[];
4805
- settings: {
4806
- ttl?: {
4807
- seconds: number;
4808
- } | {
4809
- auto: boolean;
4810
- } | undefined;
4811
- };
4812
- };
4813
- zoneId: string;
4814
- headers?: {
4815
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
4816
- "x-access-token"?: string | undefined;
4817
- } | undefined;
4818
- }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<({
4819
- headers?: Partial<{
4820
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
4821
- }> | undefined;
4822
- } | {
4823
- data: {
4824
- a: string[];
4825
- aaaa: string[];
4826
- settings: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordSettings;
4827
- };
4828
- }) & {
4829
- pathParameters: {
4830
- zoneId: string;
4831
- };
4832
- } & {
4833
- headers?: Partial<{
4834
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
4835
- }> | undefined;
4836
- } & {
4837
- headers: {
4838
- "x-access-token"?: string | undefined;
4839
- } & Partial<{
4840
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
4841
- }>;
4842
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
4843
- [x: string]: unknown;
4844
- }, 400, "application/json">>>;
4845
- /** set a-records managed by ingress for a specific zone */
4846
- dnsRecordAsetManagedByIngress: (request: {
4847
- zoneId: string;
4848
- headers?: {
4849
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
4850
- "x-access-token"?: string | undefined;
4851
- } | undefined;
4852
- }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
4853
- headers?: Partial<{
4854
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
4855
- }> | undefined;
4856
- } & {
4857
- pathParameters: {
4858
- zoneId: string;
4859
- };
4860
- } & {
4861
- headers: {
4862
- "x-access-token"?: string | undefined;
4863
- } & Partial<{
4864
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
4865
- }>;
4866
- }, import("@mittwald/api-client-commons").Response<{
4867
- ingressId: string;
4868
- }, 204, "application/json"> | import("@mittwald/api-client-commons").Response<{
4869
- [x: string]: unknown;
4870
- }, 400, "application/json">>>;
4871
- /** updates cname-record for a specific zone */
4872
- dnsRecordCnameSet: (request: {
4873
- zoneId: string;
4874
- headers?: {
4875
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
4876
- "x-access-token"?: string | undefined;
4877
- } | undefined;
4878
- } | {
4879
- data: {
4880
- fqdn: string;
4881
- settings: {
4882
- ttl?: {
4883
- seconds: number;
4884
- } | {
4885
- auto: boolean;
4886
- } | undefined;
4887
- };
4888
- };
4889
- zoneId: string;
4890
- headers?: {
4891
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
4892
- "x-access-token"?: string | undefined;
4893
- } | undefined;
4894
- }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<({
4895
- headers?: Partial<{
4896
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
4897
- }> | undefined;
4898
- } | {
4899
- data: {
4900
- fqdn: string;
4901
- settings: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordSettings;
4902
- };
4903
- }) & {
4904
- pathParameters: {
4905
- zoneId: string;
4906
- };
4907
- } & {
4908
- headers?: Partial<{
4909
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
4910
- }> | undefined;
4911
- } & {
4912
- headers: {
4913
- "x-access-token"?: string | undefined;
4914
- } & Partial<{
4915
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
4916
- }>;
4917
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
4918
- [x: string]: unknown;
4919
- }, 400, "application/json">>>;
4920
- /** updates mx-records for a specific zone */
4921
- dnsRecordMxSetCustom: (request: {
4922
- zoneId: string;
4923
- headers?: {
4924
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
4925
- "x-access-token"?: string | undefined;
4926
- } | undefined;
4927
- } | {
4928
- data: {
4929
- 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];
4930
- settings: {
4931
- ttl?: {
4932
- seconds: number;
4933
- } | {
4934
- auto: boolean;
4935
- } | undefined;
4936
- };
4937
- };
4938
- zoneId: string;
4939
- headers?: {
4940
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
4941
- "x-access-token"?: string | undefined;
4942
- } | undefined;
4943
- }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<({
4944
- headers?: Partial<{
4945
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
4946
- }> | undefined;
4947
- } | {
4948
- data: {
4949
- 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];
4950
- settings: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordSettings;
4951
- };
4952
- }) & {
4953
- pathParameters: {
4954
- zoneId: string;
4955
- };
4956
- } & {
4957
- headers?: Partial<{
4958
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
4959
- }> | undefined;
4960
- } & {
4961
- headers: {
4962
- "x-access-token"?: string | undefined;
4963
- } & Partial<{
4964
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
4965
- }>;
4966
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
4967
- [x: string]: unknown;
4968
- }, 400, "application/json">>>;
4969
- /** sets mx-records to managed for a specific zone */
4970
- dnsRecordMxSetManaged: (request: {
4971
- zoneId: string;
4972
- headers?: {
4973
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
4974
- "x-access-token"?: string | undefined;
4975
- } | undefined;
4976
- }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
4977
- headers?: Partial<{
4978
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
4979
- }> | undefined;
4980
- } & {
4981
- pathParameters: {
4982
- zoneId: string;
4983
- };
4984
- } & {
4985
- headers: {
4986
- "x-access-token"?: string | undefined;
4987
- } & Partial<{
4988
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
4989
- }>;
4990
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
4991
- [x: string]: unknown;
4992
- }, 400, "application/json">>>;
4993
- /** updates srv-records for a specific zone */
4994
- dnsRecordSrvSet: (request: {
4995
- zoneId: string;
4996
- headers?: {
4997
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
4998
- "x-access-token"?: string | undefined;
4999
- } | undefined;
5000
- } | {
5001
- data: {
5002
- records: [import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordSRVRecord, ...import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordSRVRecord[]];
5003
- settings: {
5004
- ttl?: {
5005
- seconds: number;
5006
- } | {
5007
- auto: boolean;
5008
- } | undefined;
5009
- };
5010
- };
5011
- zoneId: string;
5012
- headers?: {
5013
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
5014
- "x-access-token"?: string | undefined;
5015
- } | undefined;
5016
- }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<({
5017
- headers?: Partial<{
5018
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5019
- }> | undefined;
5020
- } | {
5021
- data: {
5022
- records: [import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordSRVRecord, ...import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordSRVRecord[]];
5023
- settings: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordSettings;
5024
- };
5025
- }) & {
5026
- pathParameters: {
5027
- zoneId: string;
5028
- };
5029
- } & {
5030
- headers?: Partial<{
5031
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5032
- }> | undefined;
5033
- } & {
5034
- headers: {
5035
- "x-access-token"?: string | undefined;
5036
- } & Partial<{
5037
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5038
- }>;
5039
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
5040
- [x: string]: unknown;
5041
- }, 400, "application/json">>>;
5042
- /** updates txt-records for a specific zone */
5043
- dnsRecordTxtSet: (request: {
5044
- zoneId: string;
5045
- headers?: {
5046
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
5047
- "x-access-token"?: string | undefined;
5048
- } | undefined;
5049
- } | {
5050
- data: {
5051
- entries: string[];
5052
- settings: {
5053
- ttl?: {
5054
- seconds: number;
5055
- } | {
5056
- auto: boolean;
5057
- } | undefined;
5058
- };
5059
- };
5060
- zoneId: string;
5061
- headers?: {
5062
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
5063
- "x-access-token"?: string | undefined;
5064
- } | undefined;
5065
- }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<({
5066
- headers?: Partial<{
5067
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5068
- }> | undefined;
5069
- } | {
5070
- data: {
5071
- entries: string[];
5072
- settings: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordSettings;
5073
- };
5074
- }) & {
5075
- pathParameters: {
5076
- zoneId: string;
5077
- };
5078
- } & {
5079
- headers?: Partial<{
5080
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5081
- }> | undefined;
5082
- } & {
5083
- headers: {
5084
- "x-access-token"?: string | undefined;
5085
- } & Partial<{
5086
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5087
- }>;
5088
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
5089
- [x: string]: unknown;
5090
- }, 400, "application/json">>>;
5091
- /** creates a sub zone for a given dns zone */
5092
- dnsSubZoneCreate: (request: {
5093
- data: {
5094
- name: string;
5095
- parentZoneId: string;
5096
- };
5097
- headers?: {
5098
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
5099
- "x-access-token"?: string | undefined;
5100
- } | undefined;
5101
- }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
5102
- data: {
5103
- name: string;
5104
- parentZoneId: string;
5105
- };
5106
- } & {
5107
- headers?: Partial<{
5108
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5109
- }> | undefined;
5110
- } & {
5111
- headers: {
5112
- "x-access-token"?: string | undefined;
5113
- } & Partial<{
5114
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5115
- }>;
5116
- }, import("@mittwald/api-client-commons").Response<{
5117
- id: string;
5118
- }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
5119
- [x: string]: unknown;
5120
- }, 400, "application/json">>>;
5121
- /** gets a specific zone */
5122
- dnsZoneGetSpecific: (request: {
5123
- zoneId: string;
5124
- headers?: {
5125
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
5126
- "x-access-token"?: string | undefined;
5127
- } | undefined;
5128
- }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
5129
- headers?: Partial<{
5130
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5131
- }> | undefined;
5132
- } & {
5133
- pathParameters: {
5134
- zoneId: string;
5135
- };
5136
- } & {
5137
- headers: {
5138
- "x-access-token"?: string | undefined;
5139
- } & Partial<{
5140
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5141
- }>;
5142
- }, import("@mittwald/api-client-commons").Response<{
5143
- domain: string;
5144
- id: string;
5145
- recordSet: {
5146
- cname: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordCNAME;
5147
- combinedARecords: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordCombinedA;
5148
- mx: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordMX;
5149
- srv: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordSRV;
5150
- txt: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordTXT;
5151
- };
5152
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
5153
- [x: string]: unknown;
5154
- }, 400, "application/json">>>;
5155
- /** gets all dns zones by project id */
5156
- dnsZonesForProject: (request: {
5157
- projectId: string;
5158
- headers?: {
5159
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
5160
- "x-access-token"?: string | undefined;
5161
- } | undefined;
5162
- }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
5163
- headers?: Partial<{
5164
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5165
- }> | undefined;
5166
- } & {
5167
- pathParameters: {
5168
- projectId: string;
5169
- };
5170
- } & {
5171
- headers: {
5172
- "x-access-token"?: string | undefined;
5173
- } & Partial<{
5174
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5175
- }>;
5176
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.DnsZone[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
5177
- [x: string]: unknown;
5178
- }, 400, "application/json">>>;
5179
- /** Update the nameservers of a Domain. */
5180
- updateDomainNameservers: (request: {
5181
- domainId: string;
5182
- data?: {
5183
- nameservers?: [string, string, ...string[]] | undefined;
5184
- } | undefined;
5185
- headers?: {
5186
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
5187
- "x-access-token"?: string | undefined;
5188
- } | undefined;
5189
- }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
5190
- data: {
5191
- nameservers?: [string, string, ...string[]] | undefined;
5192
- };
5193
- } & {
5194
- pathParameters: {
5195
- domainId: string;
5196
- };
5197
- } & {
5198
- headers?: Partial<{
5199
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5200
- }> | undefined;
5201
- } & {
5202
- headers: {
5203
- "x-access-token"?: string | undefined;
5204
- } & Partial<{
5205
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5206
- }>;
5207
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
5208
- [x: string]: unknown;
5209
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
5210
- [x: string]: unknown;
5211
- }, 404, "application/json">>>;
5212
4794
  /** Get a Domain. */
5213
4795
  getDomain: (request: {
5214
4796
  domainId: string;
@@ -5322,37 +4904,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5322
4904
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
5323
4905
  [x: string]: unknown;
5324
4906
  }, 404, "application/json">>>;
5325
- /** Get a DomainOwnership. */
5326
- getDomainOwnership: (request: {
5327
- domainOwnershipId: string;
5328
- headers?: {
5329
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
5330
- "x-access-token"?: string | undefined;
5331
- } | undefined;
5332
- }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
5333
- headers?: Partial<{
5334
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5335
- }> | undefined;
5336
- } & {
5337
- pathParameters: {
5338
- domainOwnershipId: string;
5339
- };
5340
- } & {
5341
- headers: {
5342
- "x-access-token"?: string | undefined;
5343
- } & Partial<{
5344
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5345
- }>;
5346
- }, import("@mittwald/api-client-commons").Response<{
5347
- domain: string;
5348
- id: string;
5349
- projectId: string;
5350
- txtRecord: string;
5351
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
5352
- [x: string]: unknown;
5353
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
5354
- [x: string]: unknown;
5355
- }, 404, "application/json">>>;
5356
4907
  /** List the DomainOwnerships of a project. */
5357
4908
  listDomainOwnerships: (request: {
5358
4909
  projectId: string;
@@ -5448,6 +4999,37 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5448
4999
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
5449
5000
  [x: string]: unknown;
5450
5001
  }, 404, "application/json">>>;
5002
+ /** Get a DomainOwnership. */
5003
+ getDomainOwnership: (request: {
5004
+ domainOwnershipId: string;
5005
+ headers?: {
5006
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
5007
+ "x-access-token"?: string | undefined;
5008
+ } | undefined;
5009
+ }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
5010
+ headers?: Partial<{
5011
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5012
+ }> | undefined;
5013
+ } & {
5014
+ pathParameters: {
5015
+ domainOwnershipId: string;
5016
+ };
5017
+ } & {
5018
+ headers: {
5019
+ "x-access-token"?: string | undefined;
5020
+ } & Partial<{
5021
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5022
+ }>;
5023
+ }, import("@mittwald/api-client-commons").Response<{
5024
+ domain: string;
5025
+ id: string;
5026
+ projectId: string;
5027
+ txtRecord: string;
5028
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
5029
+ [x: string]: unknown;
5030
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
5031
+ [x: string]: unknown;
5032
+ }, 404, "application/json">>>;
5451
5033
  /** Verify a DomainOwnership. */
5452
5034
  verifyDomainOwnership: (request: {
5453
5035
  domainOwnershipId: string;
@@ -5802,25 +5384,60 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5802
5384
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
5803
5385
  [x: string]: unknown;
5804
5386
  }, 404, "application/json">>>;
5805
- /** Update a contact of a Domain. */
5806
- updateDomainContact: (request: {
5807
- data: {
5808
- contact: [import("./types.js").MittwaldAPIV2.Components.Schemas.DomainHandleField, ...import("./types.js").MittwaldAPIV2.Components.Schemas.DomainHandleField[]];
5809
- };
5387
+ /** Update a contact of a Domain. */
5388
+ updateDomainContact: (request: {
5389
+ data: {
5390
+ contact: [import("./types.js").MittwaldAPIV2.Components.Schemas.DomainHandleField, ...import("./types.js").MittwaldAPIV2.Components.Schemas.DomainHandleField[]];
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: {
5810
5426
  domainId: string;
5811
- contact: "owner";
5427
+ data?: {
5428
+ nameservers?: [string, string, ...string[]] | undefined;
5429
+ } | undefined;
5812
5430
  headers?: {
5813
5431
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
5814
5432
  "x-access-token"?: string | undefined;
5815
5433
  } | undefined;
5816
5434
  }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
5817
5435
  data: {
5818
- contact: [import("./types.js").MittwaldAPIV2.Components.Schemas.DomainHandleField, ...import("./types.js").MittwaldAPIV2.Components.Schemas.DomainHandleField[]];
5436
+ nameservers?: [string, string, ...string[]] | undefined;
5819
5437
  };
5820
5438
  } & {
5821
5439
  pathParameters: {
5822
5440
  domainId: string;
5823
- contact: "owner";
5824
5441
  };
5825
5442
  } & {
5826
5443
  headers?: Partial<{
@@ -5832,9 +5449,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5832
5449
  } & Partial<{
5833
5450
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5834
5451
  }>;
5835
- }, import("@mittwald/api-client-commons").Response<{
5836
- [x: string]: unknown;
5837
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
5452
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
5838
5453
  [x: string]: unknown;
5839
5454
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
5840
5455
  [x: string]: unknown;
@@ -5961,25 +5576,286 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5961
5576
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
5962
5577
  [x: string]: unknown;
5963
5578
  }, 400, "application/json">>>;
5964
- /** Check if a Domain is available to register. */
5965
- checkDomainRegistrabilityV2Deprecated: (request: {
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
+ };
5594
+ } & {
5595
+ headers: {
5596
+ "x-access-token"?: string | undefined;
5597
+ } & Partial<{
5598
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5599
+ }>;
5600
+ }, import("@mittwald/api-client-commons").Response<{
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
+ };
5610
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
5611
+ [x: string]: unknown;
5612
+ }, 400, "application/json">>>;
5613
+ /** Delete a DNSZone. */
5614
+ dnsDeleteDnsZone: (request: {
5615
+ dnsZoneId: string;
5616
+ headers?: {
5617
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
5618
+ "x-access-token"?: string | undefined;
5619
+ } | undefined;
5620
+ }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
5621
+ headers?: Partial<{
5622
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5623
+ }> | undefined;
5624
+ } & {
5625
+ pathParameters: {
5626
+ dnsZoneId: string;
5627
+ };
5628
+ } & {
5629
+ headers: {
5630
+ "x-access-token"?: string | undefined;
5631
+ } & Partial<{
5632
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5633
+ }>;
5634
+ }, import("@mittwald/api-client-commons").Response<{}, 200, "empty"> | import("@mittwald/api-client-commons").Response<{
5635
+ [x: string]: unknown;
5636
+ }, 400, "application/json">>>;
5637
+ /** List DNSZones belonging to a Project. */
5638
+ dnsListDnsZones: (request: {
5639
+ projectId: string;
5640
+ headers?: {
5641
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
5642
+ "x-access-token"?: string | undefined;
5643
+ } | undefined;
5644
+ }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
5645
+ headers?: Partial<{
5646
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5647
+ }> | undefined;
5648
+ } & {
5649
+ pathParameters: {
5650
+ projectId: string;
5651
+ };
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<{
5670
+ headers?: Partial<{
5671
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5672
+ }> | undefined;
5673
+ } & {
5674
+ pathParameters: {
5675
+ dnsZoneId: string;
5676
+ recordSet: "a" | "mx";
5677
+ };
5678
+ } & {
5679
+ headers: {
5680
+ "x-access-token"?: string | undefined;
5681
+ } & Partial<{
5682
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5683
+ }>;
5684
+ }, import("@mittwald/api-client-commons").Response<{
5685
+ ingressId?: string | undefined;
5686
+ }, 204, "application/json"> | import("@mittwald/api-client-commons").Response<{
5687
+ [x: string]: unknown;
5688
+ }, 400, "application/json">>>;
5689
+ /** Create a DNSZone. */
5690
+ dnsCreateDnsZone: (request: {
5966
5691
  data: {
5967
- domain: string;
5692
+ name: string;
5693
+ parentZoneId: string;
5968
5694
  };
5969
5695
  headers?: {
5970
5696
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
5697
+ "x-access-token"?: string | undefined;
5971
5698
  } | undefined;
5972
5699
  }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
5973
5700
  data: {
5974
- domain: string;
5701
+ name: string;
5702
+ parentZoneId: string;
5975
5703
  };
5976
5704
  } & {
5977
5705
  headers?: Partial<{
5978
5706
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5979
5707
  }> | undefined;
5708
+ } & {
5709
+ headers: {
5710
+ "x-access-token"?: string | undefined;
5711
+ } & Partial<{
5712
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5713
+ }>;
5980
5714
  }, import("@mittwald/api-client-commons").Response<{
5981
- available: boolean;
5982
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
5715
+ id: string;
5716
+ }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
5717
+ [x: string]: unknown;
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;
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";
5741
+ headers?: {
5742
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
5743
+ "x-access-token"?: string | undefined;
5744
+ } | undefined;
5745
+ } | {
5746
+ data: {
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
+ };
5755
+ };
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
+ }) & {
5844
+ pathParameters: {
5845
+ dnsZoneId: string;
5846
+ recordSet: "a" | "mx" | "txt" | "srv" | "cname";
5847
+ };
5848
+ } & {
5849
+ headers?: Partial<{
5850
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5851
+ }> | undefined;
5852
+ } & {
5853
+ headers: {
5854
+ "x-access-token"?: string | undefined;
5855
+ } & Partial<{
5856
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5857
+ }>;
5858
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
5983
5859
  [x: string]: unknown;
5984
5860
  }, 400, "application/json">>>;
5985
5861
  };