@scaleway/sdk-domain 2.2.2 → 2.3.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.
- package/README.md +1 -1
- package/dist/_virtual/_rolldown/runtime.js +11 -0
- package/dist/index.gen.js +2 -4
- package/dist/v2beta1/api.gen.js +693 -998
- package/dist/v2beta1/content.gen.js +21 -37
- package/dist/v2beta1/index.gen.js +76 -74
- package/dist/v2beta1/marshalling.gen.js +891 -1388
- package/dist/v2beta1/types.gen.d.ts +19 -18
- package/package.json +4 -4
|
@@ -1,1524 +1,1027 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
};
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
};
|
|
64
|
-
const unmarshalContactExtensionFR = (data) => {
|
|
65
|
-
if (!isJSONObject(data)) {
|
|
66
|
-
throw new TypeError(
|
|
67
|
-
`Unmarshalling the type 'ContactExtensionFR' failed as data isn't a dictionary.`
|
|
68
|
-
);
|
|
69
|
-
}
|
|
70
|
-
return {
|
|
71
|
-
associationInfo: data.association_info ? unmarshalContactExtensionFRAssociationInfo(data.association_info) : void 0,
|
|
72
|
-
codeAuthAfnicInfo: data.code_auth_afnic_info ? unmarshalContactExtensionFRCodeAuthAfnicInfo(data.code_auth_afnic_info) : void 0,
|
|
73
|
-
dunsInfo: data.duns_info ? unmarshalContactExtensionFRDunsInfo(data.duns_info) : void 0,
|
|
74
|
-
individualInfo: data.individual_info ? unmarshalContactExtensionFRIndividualInfo(data.individual_info) : void 0,
|
|
75
|
-
mode: data.mode,
|
|
76
|
-
trademarkInfo: data.trademark_info ? unmarshalContactExtensionFRTrademarkInfo(data.trademark_info) : void 0
|
|
77
|
-
};
|
|
78
|
-
};
|
|
79
|
-
const unmarshalContactExtensionIT = (data) => {
|
|
80
|
-
if (!isJSONObject(data)) {
|
|
81
|
-
throw new TypeError(
|
|
82
|
-
`Unmarshalling the type 'ContactExtensionIT' failed as data isn't a dictionary.`
|
|
83
|
-
);
|
|
84
|
-
}
|
|
85
|
-
return {
|
|
86
|
-
europeanCitizenship: data.european_citizenship,
|
|
87
|
-
pin: data.pin,
|
|
88
|
-
taxCode: data.tax_code
|
|
89
|
-
};
|
|
90
|
-
};
|
|
91
|
-
const unmarshalContactExtensionNL = (data) => {
|
|
92
|
-
if (!isJSONObject(data)) {
|
|
93
|
-
throw new TypeError(
|
|
94
|
-
`Unmarshalling the type 'ContactExtensionNL' failed as data isn't a dictionary.`
|
|
95
|
-
);
|
|
96
|
-
}
|
|
97
|
-
return {
|
|
98
|
-
legalForm: data.legal_form,
|
|
99
|
-
legalFormRegistrationNumber: data.legal_form_registration_number
|
|
100
|
-
};
|
|
101
|
-
};
|
|
102
|
-
const unmarshalContactQuestion = (data) => {
|
|
103
|
-
if (!isJSONObject(data)) {
|
|
104
|
-
throw new TypeError(
|
|
105
|
-
`Unmarshalling the type 'ContactQuestion' failed as data isn't a dictionary.`
|
|
106
|
-
);
|
|
107
|
-
}
|
|
108
|
-
return {
|
|
109
|
-
answer: data.answer,
|
|
110
|
-
question: data.question
|
|
111
|
-
};
|
|
1
|
+
import { isJSONObject, resolveOneOf, unmarshalArrayOfObject, unmarshalDate, unmarshalMapOfObject, unmarshalMoney } from "@scaleway/sdk-client";
|
|
2
|
+
var unmarshalContactExtensionFRAssociationInfo = (data) => {
|
|
3
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ContactExtensionFRAssociationInfo' failed as data isn't a dictionary.`);
|
|
4
|
+
return {
|
|
5
|
+
publicationJo: unmarshalDate(data.publication_jo),
|
|
6
|
+
publicationJoPage: data.publication_jo_page
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
var unmarshalContactExtensionFRCodeAuthAfnicInfo = (data) => {
|
|
10
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ContactExtensionFRCodeAuthAfnicInfo' failed as data isn't a dictionary.`);
|
|
11
|
+
return { codeAuthAfnic: data.code_auth_afnic };
|
|
12
|
+
};
|
|
13
|
+
var unmarshalContactExtensionFRDunsInfo = (data) => {
|
|
14
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ContactExtensionFRDunsInfo' failed as data isn't a dictionary.`);
|
|
15
|
+
return {
|
|
16
|
+
dunsId: data.duns_id,
|
|
17
|
+
localId: data.local_id
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
var unmarshalContactExtensionFRIndividualInfo = (data) => {
|
|
21
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ContactExtensionFRIndividualInfo' failed as data isn't a dictionary.`);
|
|
22
|
+
return { whoisOptIn: data.whois_opt_in };
|
|
23
|
+
};
|
|
24
|
+
var unmarshalContactExtensionFRTrademarkInfo = (data) => {
|
|
25
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ContactExtensionFRTrademarkInfo' failed as data isn't a dictionary.`);
|
|
26
|
+
return { trademarkInpi: data.trademark_inpi };
|
|
27
|
+
};
|
|
28
|
+
var unmarshalContactExtensionEU = (data) => {
|
|
29
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ContactExtensionEU' failed as data isn't a dictionary.`);
|
|
30
|
+
return { europeanCitizenship: data.european_citizenship };
|
|
31
|
+
};
|
|
32
|
+
var unmarshalContactExtensionFR = (data) => {
|
|
33
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ContactExtensionFR' failed as data isn't a dictionary.`);
|
|
34
|
+
return {
|
|
35
|
+
associationInfo: data.association_info ? unmarshalContactExtensionFRAssociationInfo(data.association_info) : void 0,
|
|
36
|
+
codeAuthAfnicInfo: data.code_auth_afnic_info ? unmarshalContactExtensionFRCodeAuthAfnicInfo(data.code_auth_afnic_info) : void 0,
|
|
37
|
+
dunsInfo: data.duns_info ? unmarshalContactExtensionFRDunsInfo(data.duns_info) : void 0,
|
|
38
|
+
individualInfo: data.individual_info ? unmarshalContactExtensionFRIndividualInfo(data.individual_info) : void 0,
|
|
39
|
+
mode: data.mode,
|
|
40
|
+
trademarkInfo: data.trademark_info ? unmarshalContactExtensionFRTrademarkInfo(data.trademark_info) : void 0
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
var unmarshalContactExtensionIT = (data) => {
|
|
44
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ContactExtensionIT' failed as data isn't a dictionary.`);
|
|
45
|
+
return {
|
|
46
|
+
europeanCitizenship: data.european_citizenship,
|
|
47
|
+
pin: data.pin,
|
|
48
|
+
taxCode: data.tax_code
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
var unmarshalContactExtensionNL = (data) => {
|
|
52
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ContactExtensionNL' failed as data isn't a dictionary.`);
|
|
53
|
+
return {
|
|
54
|
+
legalForm: data.legal_form,
|
|
55
|
+
legalFormRegistrationNumber: data.legal_form_registration_number
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
var unmarshalContactQuestion = (data) => {
|
|
59
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ContactQuestion' failed as data isn't a dictionary.`);
|
|
60
|
+
return {
|
|
61
|
+
answer: data.answer,
|
|
62
|
+
question: data.question
|
|
63
|
+
};
|
|
112
64
|
};
|
|
113
65
|
const unmarshalContact = (data) => {
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
vatIdentificationCode: data.vat_identification_code,
|
|
145
|
-
whoisOptIn: data.whois_opt_in,
|
|
146
|
-
zip: data.zip
|
|
147
|
-
};
|
|
66
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'Contact' failed as data isn't a dictionary.`);
|
|
67
|
+
return {
|
|
68
|
+
addressLine1: data.address_line_1,
|
|
69
|
+
addressLine2: data.address_line_2,
|
|
70
|
+
city: data.city,
|
|
71
|
+
companyIdentificationCode: data.company_identification_code,
|
|
72
|
+
companyName: data.company_name,
|
|
73
|
+
country: data.country,
|
|
74
|
+
email: data.email,
|
|
75
|
+
emailAlt: data.email_alt,
|
|
76
|
+
emailStatus: data.email_status,
|
|
77
|
+
extensionEu: data.extension_eu ? unmarshalContactExtensionEU(data.extension_eu) : void 0,
|
|
78
|
+
extensionFr: data.extension_fr ? unmarshalContactExtensionFR(data.extension_fr) : void 0,
|
|
79
|
+
extensionIt: data.extension_it ? unmarshalContactExtensionIT(data.extension_it) : void 0,
|
|
80
|
+
extensionNl: data.extension_nl ? unmarshalContactExtensionNL(data.extension_nl) : void 0,
|
|
81
|
+
faxNumber: data.fax_number,
|
|
82
|
+
firstname: data.firstname,
|
|
83
|
+
id: data.id,
|
|
84
|
+
lang: data.lang,
|
|
85
|
+
lastname: data.lastname,
|
|
86
|
+
legalForm: data.legal_form,
|
|
87
|
+
phoneNumber: data.phone_number,
|
|
88
|
+
questions: unmarshalArrayOfObject(data.questions, unmarshalContactQuestion),
|
|
89
|
+
resale: data.resale,
|
|
90
|
+
state: data.state,
|
|
91
|
+
status: data.status,
|
|
92
|
+
vatIdentificationCode: data.vat_identification_code,
|
|
93
|
+
whoisOptIn: data.whois_opt_in,
|
|
94
|
+
zip: data.zip
|
|
95
|
+
};
|
|
148
96
|
};
|
|
149
97
|
const unmarshalDNSZone = (data) => {
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
status: data.status,
|
|
164
|
-
subdomain: data.subdomain,
|
|
165
|
-
updatedAt: unmarshalDate(data.updated_at)
|
|
166
|
-
};
|
|
98
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'DNSZone' failed as data isn't a dictionary.`);
|
|
99
|
+
return {
|
|
100
|
+
domain: data.domain,
|
|
101
|
+
linkedProducts: data.linked_products,
|
|
102
|
+
message: data.message,
|
|
103
|
+
ns: data.ns,
|
|
104
|
+
nsDefault: data.ns_default,
|
|
105
|
+
nsMaster: data.ns_master,
|
|
106
|
+
projectId: data.project_id,
|
|
107
|
+
status: data.status,
|
|
108
|
+
subdomain: data.subdomain,
|
|
109
|
+
updatedAt: unmarshalDate(data.updated_at)
|
|
110
|
+
};
|
|
167
111
|
};
|
|
168
112
|
const unmarshalHost = (data) => {
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
ips: data.ips,
|
|
177
|
-
name: data.name,
|
|
178
|
-
status: data.status
|
|
179
|
-
};
|
|
113
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'Host' failed as data isn't a dictionary.`);
|
|
114
|
+
return {
|
|
115
|
+
domain: data.domain,
|
|
116
|
+
ips: data.ips,
|
|
117
|
+
name: data.name,
|
|
118
|
+
status: data.status
|
|
119
|
+
};
|
|
180
120
|
};
|
|
181
121
|
const unmarshalSSLCertificate = (data) => {
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
throw new TypeError(
|
|
200
|
-
`Unmarshalling the type 'CheckContactsCompatibilityResponseContactCheckResult' failed as data isn't a dictionary.`
|
|
201
|
-
);
|
|
202
|
-
}
|
|
203
|
-
return {
|
|
204
|
-
compatible: data.compatible,
|
|
205
|
-
errorMessage: data.error_message
|
|
206
|
-
};
|
|
122
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'SSLCertificate' failed as data isn't a dictionary.`);
|
|
123
|
+
return {
|
|
124
|
+
alternativeDnsZones: data.alternative_dns_zones,
|
|
125
|
+
certificateChain: data.certificate_chain,
|
|
126
|
+
createdAt: unmarshalDate(data.created_at),
|
|
127
|
+
dnsZone: data.dns_zone,
|
|
128
|
+
expiredAt: unmarshalDate(data.expired_at),
|
|
129
|
+
privateKey: data.private_key,
|
|
130
|
+
status: data.status
|
|
131
|
+
};
|
|
132
|
+
};
|
|
133
|
+
var unmarshalCheckContactsCompatibilityResponseContactCheckResult = (data) => {
|
|
134
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'CheckContactsCompatibilityResponseContactCheckResult' failed as data isn't a dictionary.`);
|
|
135
|
+
return {
|
|
136
|
+
compatible: data.compatible,
|
|
137
|
+
errorMessage: data.error_message
|
|
138
|
+
};
|
|
207
139
|
};
|
|
208
140
|
const unmarshalCheckContactsCompatibilityResponse = (data) => {
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
compatible: data.compatible,
|
|
217
|
-
ownerCheckResult: data.owner_check_result ? unmarshalCheckContactsCompatibilityResponseContactCheckResult(data.owner_check_result) : void 0,
|
|
218
|
-
technicalCheckResult: data.technical_check_result ? unmarshalCheckContactsCompatibilityResponseContactCheckResult(data.technical_check_result) : void 0
|
|
219
|
-
};
|
|
141
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'CheckContactsCompatibilityResponse' failed as data isn't a dictionary.`);
|
|
142
|
+
return {
|
|
143
|
+
administrativeCheckResult: data.administrative_check_result ? unmarshalCheckContactsCompatibilityResponseContactCheckResult(data.administrative_check_result) : void 0,
|
|
144
|
+
compatible: data.compatible,
|
|
145
|
+
ownerCheckResult: data.owner_check_result ? unmarshalCheckContactsCompatibilityResponseContactCheckResult(data.owner_check_result) : void 0,
|
|
146
|
+
technicalCheckResult: data.technical_check_result ? unmarshalCheckContactsCompatibilityResponseContactCheckResult(data.technical_check_result) : void 0
|
|
147
|
+
};
|
|
220
148
|
};
|
|
221
149
|
const unmarshalClearDNSZoneRecordsResponse = (data) => {
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
`Unmarshalling the type 'ClearDNSZoneRecordsResponse' failed as data isn't a dictionary.`
|
|
225
|
-
);
|
|
226
|
-
}
|
|
227
|
-
return {};
|
|
150
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ClearDNSZoneRecordsResponse' failed as data isn't a dictionary.`);
|
|
151
|
+
return {};
|
|
228
152
|
};
|
|
229
153
|
const unmarshalDeleteDNSZoneResponse = (data) => {
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
`Unmarshalling the type 'DeleteDNSZoneResponse' failed as data isn't a dictionary.`
|
|
233
|
-
);
|
|
234
|
-
}
|
|
235
|
-
return {};
|
|
154
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'DeleteDNSZoneResponse' failed as data isn't a dictionary.`);
|
|
155
|
+
return {};
|
|
236
156
|
};
|
|
237
157
|
const unmarshalDeleteExternalDomainResponse = (data) => {
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
`Unmarshalling the type 'DeleteExternalDomainResponse' failed as data isn't a dictionary.`
|
|
241
|
-
);
|
|
242
|
-
}
|
|
243
|
-
return {};
|
|
158
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'DeleteExternalDomainResponse' failed as data isn't a dictionary.`);
|
|
159
|
+
return {};
|
|
244
160
|
};
|
|
245
161
|
const unmarshalDeleteSSLCertificateResponse = (data) => {
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
};
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
key: data.key
|
|
261
|
-
};
|
|
262
|
-
};
|
|
263
|
-
const unmarshalDSRecordDigest = (data) => {
|
|
264
|
-
if (!isJSONObject(data)) {
|
|
265
|
-
throw new TypeError(
|
|
266
|
-
`Unmarshalling the type 'DSRecordDigest' failed as data isn't a dictionary.`
|
|
267
|
-
);
|
|
268
|
-
}
|
|
269
|
-
return {
|
|
270
|
-
digest: data.digest,
|
|
271
|
-
publicKey: data.public_key ? unmarshalDSRecordPublicKey(data.public_key) : void 0,
|
|
272
|
-
type: data.type
|
|
273
|
-
};
|
|
162
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'DeleteSSLCertificateResponse' failed as data isn't a dictionary.`);
|
|
163
|
+
return {};
|
|
164
|
+
};
|
|
165
|
+
var unmarshalDSRecordPublicKey = (data) => {
|
|
166
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'DSRecordPublicKey' failed as data isn't a dictionary.`);
|
|
167
|
+
return { key: data.key };
|
|
168
|
+
};
|
|
169
|
+
var unmarshalDSRecordDigest = (data) => {
|
|
170
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'DSRecordDigest' failed as data isn't a dictionary.`);
|
|
171
|
+
return {
|
|
172
|
+
digest: data.digest,
|
|
173
|
+
publicKey: data.public_key ? unmarshalDSRecordPublicKey(data.public_key) : void 0,
|
|
174
|
+
type: data.type
|
|
175
|
+
};
|
|
274
176
|
};
|
|
275
177
|
const unmarshalDSRecord = (data) => {
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
};
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
if (!isJSONObject(data)) {
|
|
323
|
-
throw new TypeError(
|
|
324
|
-
`Unmarshalling the type 'DomainRegistrationStatusTransfer' failed as data isn't a dictionary.`
|
|
325
|
-
);
|
|
326
|
-
}
|
|
327
|
-
return {
|
|
328
|
-
status: data.status,
|
|
329
|
-
voteCurrentOwner: data.vote_current_owner,
|
|
330
|
-
voteNewOwner: data.vote_new_owner
|
|
331
|
-
};
|
|
332
|
-
};
|
|
333
|
-
const unmarshalTld = (data) => {
|
|
334
|
-
if (!isJSONObject(data)) {
|
|
335
|
-
throw new TypeError(
|
|
336
|
-
`Unmarshalling the type 'Tld' failed as data isn't a dictionary.`
|
|
337
|
-
);
|
|
338
|
-
}
|
|
339
|
-
return {
|
|
340
|
-
dnssecSupport: data.dnssec_support,
|
|
341
|
-
durationInYearsMax: data.duration_in_years_max,
|
|
342
|
-
durationInYearsMin: data.duration_in_years_min,
|
|
343
|
-
idnSupport: data.idn_support,
|
|
344
|
-
name: data.name,
|
|
345
|
-
offers: unmarshalMapOfObject(data.offers, unmarshalTldOffer),
|
|
346
|
-
specifications: data.specifications
|
|
347
|
-
};
|
|
178
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'DSRecord' failed as data isn't a dictionary.`);
|
|
179
|
+
return {
|
|
180
|
+
algorithm: data.algorithm,
|
|
181
|
+
digest: data.digest ? unmarshalDSRecordDigest(data.digest) : void 0,
|
|
182
|
+
keyId: data.key_id,
|
|
183
|
+
publicKey: data.public_key ? unmarshalDSRecordPublicKey(data.public_key) : void 0
|
|
184
|
+
};
|
|
185
|
+
};
|
|
186
|
+
var unmarshalTldOffer = (data) => {
|
|
187
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'TldOffer' failed as data isn't a dictionary.`);
|
|
188
|
+
return {
|
|
189
|
+
action: data.action,
|
|
190
|
+
operationPath: data.operation_path,
|
|
191
|
+
price: data.price ? unmarshalMoney(data.price) : void 0
|
|
192
|
+
};
|
|
193
|
+
};
|
|
194
|
+
var unmarshalDomainDNSSEC = (data) => {
|
|
195
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'DomainDNSSEC' failed as data isn't a dictionary.`);
|
|
196
|
+
return {
|
|
197
|
+
dsRecords: unmarshalArrayOfObject(data.ds_records, unmarshalDSRecord),
|
|
198
|
+
status: data.status
|
|
199
|
+
};
|
|
200
|
+
};
|
|
201
|
+
var unmarshalDomainRegistrationStatusExternalDomain = (data) => {
|
|
202
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'DomainRegistrationStatusExternalDomain' failed as data isn't a dictionary.`);
|
|
203
|
+
return { validationToken: data.validation_token };
|
|
204
|
+
};
|
|
205
|
+
var unmarshalDomainRegistrationStatusTransfer = (data) => {
|
|
206
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'DomainRegistrationStatusTransfer' failed as data isn't a dictionary.`);
|
|
207
|
+
return {
|
|
208
|
+
status: data.status,
|
|
209
|
+
voteCurrentOwner: data.vote_current_owner,
|
|
210
|
+
voteNewOwner: data.vote_new_owner
|
|
211
|
+
};
|
|
212
|
+
};
|
|
213
|
+
var unmarshalTld = (data) => {
|
|
214
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'Tld' failed as data isn't a dictionary.`);
|
|
215
|
+
return {
|
|
216
|
+
dnssecSupport: data.dnssec_support,
|
|
217
|
+
durationInYearsMax: data.duration_in_years_max,
|
|
218
|
+
durationInYearsMin: data.duration_in_years_min,
|
|
219
|
+
idnSupport: data.idn_support,
|
|
220
|
+
name: data.name,
|
|
221
|
+
offers: unmarshalMapOfObject(data.offers, unmarshalTldOffer),
|
|
222
|
+
specifications: data.specifications
|
|
223
|
+
};
|
|
348
224
|
};
|
|
349
225
|
const unmarshalDomain = (data) => {
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
tld: data.tld ? unmarshalTld(data.tld) : void 0,
|
|
374
|
-
transferRegistrationStatus: data.transfer_registration_status ? unmarshalDomainRegistrationStatusTransfer(data.transfer_registration_status) : void 0,
|
|
375
|
-
updatedAt: unmarshalDate(data.updated_at)
|
|
376
|
-
};
|
|
226
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'Domain' failed as data isn't a dictionary.`);
|
|
227
|
+
return {
|
|
228
|
+
administrativeContact: data.administrative_contact ? unmarshalContact(data.administrative_contact) : void 0,
|
|
229
|
+
autoRenewStatus: data.auto_renew_status,
|
|
230
|
+
dnsZones: unmarshalArrayOfObject(data.dns_zones, unmarshalDNSZone),
|
|
231
|
+
dnssec: data.dnssec ? unmarshalDomainDNSSEC(data.dnssec) : void 0,
|
|
232
|
+
domain: data.domain,
|
|
233
|
+
eppCode: data.epp_code,
|
|
234
|
+
expiredAt: unmarshalDate(data.expired_at),
|
|
235
|
+
externalDomainRegistrationStatus: data.external_domain_registration_status ? unmarshalDomainRegistrationStatusExternalDomain(data.external_domain_registration_status) : void 0,
|
|
236
|
+
isExternal: data.is_external,
|
|
237
|
+
linkedProducts: data.linked_products,
|
|
238
|
+
organizationId: data.organization_id,
|
|
239
|
+
ownerContact: data.owner_contact ? unmarshalContact(data.owner_contact) : void 0,
|
|
240
|
+
pendingTrade: data.pending_trade,
|
|
241
|
+
projectId: data.project_id,
|
|
242
|
+
registrar: data.registrar,
|
|
243
|
+
status: data.status,
|
|
244
|
+
technicalContact: data.technical_contact ? unmarshalContact(data.technical_contact) : void 0,
|
|
245
|
+
tld: data.tld ? unmarshalTld(data.tld) : void 0,
|
|
246
|
+
transferRegistrationStatus: data.transfer_registration_status ? unmarshalDomainRegistrationStatusTransfer(data.transfer_registration_status) : void 0,
|
|
247
|
+
updatedAt: unmarshalDate(data.updated_at)
|
|
248
|
+
};
|
|
377
249
|
};
|
|
378
250
|
const unmarshalGetDNSZoneTsigKeyResponse = (data) => {
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
};
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
};
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
};
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
if (!isJSONObject(data)) {
|
|
491
|
-
throw new TypeError(
|
|
492
|
-
`Unmarshalling the type 'RecordIdentifier' failed as data isn't a dictionary.`
|
|
493
|
-
);
|
|
494
|
-
}
|
|
495
|
-
return {
|
|
496
|
-
data: data.data,
|
|
497
|
-
name: data.name,
|
|
498
|
-
ttl: data.ttl,
|
|
499
|
-
type: data.type
|
|
500
|
-
};
|
|
501
|
-
};
|
|
502
|
-
const unmarshalRecordChangeAdd = (data) => {
|
|
503
|
-
if (!isJSONObject(data)) {
|
|
504
|
-
throw new TypeError(
|
|
505
|
-
`Unmarshalling the type 'RecordChangeAdd' failed as data isn't a dictionary.`
|
|
506
|
-
);
|
|
507
|
-
}
|
|
508
|
-
return {
|
|
509
|
-
records: unmarshalArrayOfObject(data.records, unmarshalDomainRecord)
|
|
510
|
-
};
|
|
511
|
-
};
|
|
512
|
-
const unmarshalRecordChangeClear = (data) => {
|
|
513
|
-
if (!isJSONObject(data)) {
|
|
514
|
-
throw new TypeError(
|
|
515
|
-
`Unmarshalling the type 'RecordChangeClear' failed as data isn't a dictionary.`
|
|
516
|
-
);
|
|
517
|
-
}
|
|
518
|
-
return {};
|
|
519
|
-
};
|
|
520
|
-
const unmarshalRecordChangeDelete = (data) => {
|
|
521
|
-
if (!isJSONObject(data)) {
|
|
522
|
-
throw new TypeError(
|
|
523
|
-
`Unmarshalling the type 'RecordChangeDelete' failed as data isn't a dictionary.`
|
|
524
|
-
);
|
|
525
|
-
}
|
|
526
|
-
return {
|
|
527
|
-
id: data.id,
|
|
528
|
-
idFields: data.id_fields ? unmarshalRecordIdentifier(data.id_fields) : void 0
|
|
529
|
-
};
|
|
530
|
-
};
|
|
531
|
-
const unmarshalRecordChangeSet = (data) => {
|
|
532
|
-
if (!isJSONObject(data)) {
|
|
533
|
-
throw new TypeError(
|
|
534
|
-
`Unmarshalling the type 'RecordChangeSet' failed as data isn't a dictionary.`
|
|
535
|
-
);
|
|
536
|
-
}
|
|
537
|
-
return {
|
|
538
|
-
id: data.id,
|
|
539
|
-
idFields: data.id_fields ? unmarshalRecordIdentifier(data.id_fields) : void 0,
|
|
540
|
-
records: unmarshalArrayOfObject(data.records, unmarshalDomainRecord)
|
|
541
|
-
};
|
|
542
|
-
};
|
|
543
|
-
const unmarshalRecordChange = (data) => {
|
|
544
|
-
if (!isJSONObject(data)) {
|
|
545
|
-
throw new TypeError(
|
|
546
|
-
`Unmarshalling the type 'RecordChange' failed as data isn't a dictionary.`
|
|
547
|
-
);
|
|
548
|
-
}
|
|
549
|
-
return {
|
|
550
|
-
add: data.add ? unmarshalRecordChangeAdd(data.add) : void 0,
|
|
551
|
-
clear: data.clear ? unmarshalRecordChangeClear(data.clear) : void 0,
|
|
552
|
-
delete: data.delete ? unmarshalRecordChangeDelete(data.delete) : void 0,
|
|
553
|
-
set: data.set ? unmarshalRecordChangeSet(data.set) : void 0
|
|
554
|
-
};
|
|
251
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'GetDNSZoneTsigKeyResponse' failed as data isn't a dictionary.`);
|
|
252
|
+
return {
|
|
253
|
+
algorithm: data.algorithm,
|
|
254
|
+
key: data.key,
|
|
255
|
+
name: data.name
|
|
256
|
+
};
|
|
257
|
+
};
|
|
258
|
+
var unmarshalDomainRecordGeoIPConfigMatch = (data) => {
|
|
259
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'DomainRecordGeoIPConfigMatch' failed as data isn't a dictionary.`);
|
|
260
|
+
return {
|
|
261
|
+
continents: data.continents,
|
|
262
|
+
countries: data.countries,
|
|
263
|
+
data: data.data
|
|
264
|
+
};
|
|
265
|
+
};
|
|
266
|
+
var unmarshalDomainRecordViewConfigView = (data) => {
|
|
267
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'DomainRecordViewConfigView' failed as data isn't a dictionary.`);
|
|
268
|
+
return {
|
|
269
|
+
data: data.data,
|
|
270
|
+
subnet: data.subnet
|
|
271
|
+
};
|
|
272
|
+
};
|
|
273
|
+
var unmarshalDomainRecordWeightedConfigWeightedIP = (data) => {
|
|
274
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'DomainRecordWeightedConfigWeightedIP' failed as data isn't a dictionary.`);
|
|
275
|
+
return {
|
|
276
|
+
ip: data.ip,
|
|
277
|
+
weight: data.weight
|
|
278
|
+
};
|
|
279
|
+
};
|
|
280
|
+
var unmarshalDomainRecordGeoIPConfig = (data) => {
|
|
281
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'DomainRecordGeoIPConfig' failed as data isn't a dictionary.`);
|
|
282
|
+
return {
|
|
283
|
+
default: data.default,
|
|
284
|
+
matches: unmarshalArrayOfObject(data.matches, unmarshalDomainRecordGeoIPConfigMatch)
|
|
285
|
+
};
|
|
286
|
+
};
|
|
287
|
+
var unmarshalDomainRecordHTTPServiceConfig = (data) => {
|
|
288
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'DomainRecordHTTPServiceConfig' failed as data isn't a dictionary.`);
|
|
289
|
+
return {
|
|
290
|
+
ips: data.ips,
|
|
291
|
+
mustContain: data.must_contain,
|
|
292
|
+
strategy: data.strategy,
|
|
293
|
+
url: data.url,
|
|
294
|
+
userAgent: data.user_agent
|
|
295
|
+
};
|
|
296
|
+
};
|
|
297
|
+
var unmarshalDomainRecordViewConfig = (data) => {
|
|
298
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'DomainRecordViewConfig' failed as data isn't a dictionary.`);
|
|
299
|
+
return { views: unmarshalArrayOfObject(data.views, unmarshalDomainRecordViewConfigView) };
|
|
300
|
+
};
|
|
301
|
+
var unmarshalDomainRecordWeightedConfig = (data) => {
|
|
302
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'DomainRecordWeightedConfig' failed as data isn't a dictionary.`);
|
|
303
|
+
return { weightedIps: unmarshalArrayOfObject(data.weighted_ips, unmarshalDomainRecordWeightedConfigWeightedIP) };
|
|
304
|
+
};
|
|
305
|
+
var unmarshalDomainRecord = (data) => {
|
|
306
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'DomainRecord' failed as data isn't a dictionary.`);
|
|
307
|
+
return {
|
|
308
|
+
comment: data.comment,
|
|
309
|
+
data: data.data,
|
|
310
|
+
geoIpConfig: data.geo_ip_config ? unmarshalDomainRecordGeoIPConfig(data.geo_ip_config) : void 0,
|
|
311
|
+
httpServiceConfig: data.http_service_config ? unmarshalDomainRecordHTTPServiceConfig(data.http_service_config) : void 0,
|
|
312
|
+
id: data.id,
|
|
313
|
+
name: data.name,
|
|
314
|
+
priority: data.priority,
|
|
315
|
+
ttl: data.ttl,
|
|
316
|
+
type: data.type,
|
|
317
|
+
updatedAt: unmarshalDate(data.updated_at),
|
|
318
|
+
viewConfig: data.view_config ? unmarshalDomainRecordViewConfig(data.view_config) : void 0,
|
|
319
|
+
weightedConfig: data.weighted_config ? unmarshalDomainRecordWeightedConfig(data.weighted_config) : void 0
|
|
320
|
+
};
|
|
321
|
+
};
|
|
322
|
+
var unmarshalRecordIdentifier = (data) => {
|
|
323
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'RecordIdentifier' failed as data isn't a dictionary.`);
|
|
324
|
+
return {
|
|
325
|
+
data: data.data,
|
|
326
|
+
name: data.name,
|
|
327
|
+
ttl: data.ttl,
|
|
328
|
+
type: data.type
|
|
329
|
+
};
|
|
330
|
+
};
|
|
331
|
+
var unmarshalRecordChangeAdd = (data) => {
|
|
332
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'RecordChangeAdd' failed as data isn't a dictionary.`);
|
|
333
|
+
return { records: unmarshalArrayOfObject(data.records, unmarshalDomainRecord) };
|
|
334
|
+
};
|
|
335
|
+
var unmarshalRecordChangeClear = (data) => {
|
|
336
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'RecordChangeClear' failed as data isn't a dictionary.`);
|
|
337
|
+
return {};
|
|
338
|
+
};
|
|
339
|
+
var unmarshalRecordChangeDelete = (data) => {
|
|
340
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'RecordChangeDelete' failed as data isn't a dictionary.`);
|
|
341
|
+
return {
|
|
342
|
+
id: data.id,
|
|
343
|
+
idFields: data.id_fields ? unmarshalRecordIdentifier(data.id_fields) : void 0
|
|
344
|
+
};
|
|
345
|
+
};
|
|
346
|
+
var unmarshalRecordChangeSet = (data) => {
|
|
347
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'RecordChangeSet' failed as data isn't a dictionary.`);
|
|
348
|
+
return {
|
|
349
|
+
id: data.id,
|
|
350
|
+
idFields: data.id_fields ? unmarshalRecordIdentifier(data.id_fields) : void 0,
|
|
351
|
+
records: unmarshalArrayOfObject(data.records, unmarshalDomainRecord)
|
|
352
|
+
};
|
|
353
|
+
};
|
|
354
|
+
var unmarshalRecordChange = (data) => {
|
|
355
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'RecordChange' failed as data isn't a dictionary.`);
|
|
356
|
+
return {
|
|
357
|
+
add: data.add ? unmarshalRecordChangeAdd(data.add) : void 0,
|
|
358
|
+
clear: data.clear ? unmarshalRecordChangeClear(data.clear) : void 0,
|
|
359
|
+
delete: data.delete ? unmarshalRecordChangeDelete(data.delete) : void 0,
|
|
360
|
+
set: data.set ? unmarshalRecordChangeSet(data.set) : void 0
|
|
361
|
+
};
|
|
555
362
|
};
|
|
556
363
|
const unmarshalGetDNSZoneVersionDiffResponse = (data) => {
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
`Unmarshalling the type 'GetDNSZoneVersionDiffResponse' failed as data isn't a dictionary.`
|
|
560
|
-
);
|
|
561
|
-
}
|
|
562
|
-
return {
|
|
563
|
-
changes: unmarshalArrayOfObject(data.changes, unmarshalRecordChange)
|
|
564
|
-
};
|
|
364
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'GetDNSZoneVersionDiffResponse' failed as data isn't a dictionary.`);
|
|
365
|
+
return { changes: unmarshalArrayOfObject(data.changes, unmarshalRecordChange) };
|
|
565
366
|
};
|
|
566
367
|
const unmarshalGetDomainAuthCodeResponse = (data) => {
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
`Unmarshalling the type 'GetDomainAuthCodeResponse' failed as data isn't a dictionary.`
|
|
570
|
-
);
|
|
571
|
-
}
|
|
572
|
-
return {
|
|
573
|
-
authCode: data.auth_code
|
|
574
|
-
};
|
|
368
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'GetDomainAuthCodeResponse' failed as data isn't a dictionary.`);
|
|
369
|
+
return { authCode: data.auth_code };
|
|
575
370
|
};
|
|
576
371
|
const unmarshalImportProviderDNSZoneResponse = (data) => {
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
`Unmarshalling the type 'ImportProviderDNSZoneResponse' failed as data isn't a dictionary.`
|
|
580
|
-
);
|
|
581
|
-
}
|
|
582
|
-
return {
|
|
583
|
-
records: unmarshalArrayOfObject(data.records, unmarshalDomainRecord)
|
|
584
|
-
};
|
|
372
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ImportProviderDNSZoneResponse' failed as data isn't a dictionary.`);
|
|
373
|
+
return { records: unmarshalArrayOfObject(data.records, unmarshalDomainRecord) };
|
|
585
374
|
};
|
|
586
375
|
const unmarshalImportRawDNSZoneResponse = (data) => {
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
isOwner: data.is_owner,
|
|
605
|
-
isTechnical: data.is_technical
|
|
606
|
-
};
|
|
607
|
-
};
|
|
608
|
-
const unmarshalContactRoles = (data) => {
|
|
609
|
-
if (!isJSONObject(data)) {
|
|
610
|
-
throw new TypeError(
|
|
611
|
-
`Unmarshalling the type 'ContactRoles' failed as data isn't a dictionary.`
|
|
612
|
-
);
|
|
613
|
-
}
|
|
614
|
-
return {
|
|
615
|
-
contact: data.contact ? unmarshalContact(data.contact) : void 0,
|
|
616
|
-
roles: unmarshalMapOfObject(data.roles, unmarshalContactRolesRoles)
|
|
617
|
-
};
|
|
376
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ImportRawDNSZoneResponse' failed as data isn't a dictionary.`);
|
|
377
|
+
return { records: unmarshalArrayOfObject(data.records, unmarshalDomainRecord) };
|
|
378
|
+
};
|
|
379
|
+
var unmarshalContactRolesRoles = (data) => {
|
|
380
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ContactRolesRoles' failed as data isn't a dictionary.`);
|
|
381
|
+
return {
|
|
382
|
+
isAdministrative: data.is_administrative,
|
|
383
|
+
isOwner: data.is_owner,
|
|
384
|
+
isTechnical: data.is_technical
|
|
385
|
+
};
|
|
386
|
+
};
|
|
387
|
+
var unmarshalContactRoles = (data) => {
|
|
388
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ContactRoles' failed as data isn't a dictionary.`);
|
|
389
|
+
return {
|
|
390
|
+
contact: data.contact ? unmarshalContact(data.contact) : void 0,
|
|
391
|
+
roles: unmarshalMapOfObject(data.roles, unmarshalContactRolesRoles)
|
|
392
|
+
};
|
|
618
393
|
};
|
|
619
394
|
const unmarshalListContactsResponse = (data) => {
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
throw new TypeError(
|
|
633
|
-
`Unmarshalling the type 'Nameserver' failed as data isn't a dictionary.`
|
|
634
|
-
);
|
|
635
|
-
}
|
|
636
|
-
return {
|
|
637
|
-
ip: data.ip,
|
|
638
|
-
name: data.name
|
|
639
|
-
};
|
|
395
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListContactsResponse' failed as data isn't a dictionary.`);
|
|
396
|
+
return {
|
|
397
|
+
contacts: unmarshalArrayOfObject(data.contacts, unmarshalContactRoles),
|
|
398
|
+
totalCount: data.total_count
|
|
399
|
+
};
|
|
400
|
+
};
|
|
401
|
+
var unmarshalNameserver = (data) => {
|
|
402
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'Nameserver' failed as data isn't a dictionary.`);
|
|
403
|
+
return {
|
|
404
|
+
ip: data.ip,
|
|
405
|
+
name: data.name
|
|
406
|
+
};
|
|
640
407
|
};
|
|
641
408
|
const unmarshalListDNSZoneNameserversResponse = (data) => {
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
`Unmarshalling the type 'ListDNSZoneNameserversResponse' failed as data isn't a dictionary.`
|
|
645
|
-
);
|
|
646
|
-
}
|
|
647
|
-
return {
|
|
648
|
-
ns: unmarshalArrayOfObject(data.ns, unmarshalNameserver)
|
|
649
|
-
};
|
|
409
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListDNSZoneNameserversResponse' failed as data isn't a dictionary.`);
|
|
410
|
+
return { ns: unmarshalArrayOfObject(data.ns, unmarshalNameserver) };
|
|
650
411
|
};
|
|
651
412
|
const unmarshalListDNSZoneRecordsResponse = (data) => {
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
return {
|
|
658
|
-
records: unmarshalArrayOfObject(data.records, unmarshalDomainRecord),
|
|
659
|
-
totalCount: data.total_count
|
|
660
|
-
};
|
|
413
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListDNSZoneRecordsResponse' failed as data isn't a dictionary.`);
|
|
414
|
+
return {
|
|
415
|
+
records: unmarshalArrayOfObject(data.records, unmarshalDomainRecord),
|
|
416
|
+
totalCount: data.total_count
|
|
417
|
+
};
|
|
661
418
|
};
|
|
662
419
|
const unmarshalListDNSZoneVersionRecordsResponse = (data) => {
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
throw new TypeError(
|
|
676
|
-
`Unmarshalling the type 'DNSZoneVersion' failed as data isn't a dictionary.`
|
|
677
|
-
);
|
|
678
|
-
}
|
|
679
|
-
return {
|
|
680
|
-
createdAt: unmarshalDate(data.created_at),
|
|
681
|
-
id: data.id
|
|
682
|
-
};
|
|
420
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListDNSZoneVersionRecordsResponse' failed as data isn't a dictionary.`);
|
|
421
|
+
return {
|
|
422
|
+
records: unmarshalArrayOfObject(data.records, unmarshalDomainRecord),
|
|
423
|
+
totalCount: data.total_count
|
|
424
|
+
};
|
|
425
|
+
};
|
|
426
|
+
var unmarshalDNSZoneVersion = (data) => {
|
|
427
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'DNSZoneVersion' failed as data isn't a dictionary.`);
|
|
428
|
+
return {
|
|
429
|
+
createdAt: unmarshalDate(data.created_at),
|
|
430
|
+
id: data.id
|
|
431
|
+
};
|
|
683
432
|
};
|
|
684
433
|
const unmarshalListDNSZoneVersionsResponse = (data) => {
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
return {
|
|
691
|
-
totalCount: data.total_count,
|
|
692
|
-
versions: unmarshalArrayOfObject(data.versions, unmarshalDNSZoneVersion)
|
|
693
|
-
};
|
|
434
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListDNSZoneVersionsResponse' failed as data isn't a dictionary.`);
|
|
435
|
+
return {
|
|
436
|
+
totalCount: data.total_count,
|
|
437
|
+
versions: unmarshalArrayOfObject(data.versions, unmarshalDNSZoneVersion)
|
|
438
|
+
};
|
|
694
439
|
};
|
|
695
440
|
const unmarshalListDNSZonesResponse = (data) => {
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
return {
|
|
702
|
-
dnsZones: unmarshalArrayOfObject(data.dns_zones, unmarshalDNSZone),
|
|
703
|
-
totalCount: data.total_count
|
|
704
|
-
};
|
|
441
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListDNSZonesResponse' failed as data isn't a dictionary.`);
|
|
442
|
+
return {
|
|
443
|
+
dnsZones: unmarshalArrayOfObject(data.dns_zones, unmarshalDNSZone),
|
|
444
|
+
totalCount: data.total_count
|
|
445
|
+
};
|
|
705
446
|
};
|
|
706
447
|
const unmarshalListDomainHostsResponse = (data) => {
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
organizationId: data.organization_id,
|
|
733
|
-
pendingTrade: data.pending_trade,
|
|
734
|
-
projectId: data.project_id,
|
|
735
|
-
registrar: data.registrar,
|
|
736
|
-
status: data.status,
|
|
737
|
-
transferRegistrationStatus: data.transfer_registration_status ? unmarshalDomainRegistrationStatusTransfer(data.transfer_registration_status) : void 0,
|
|
738
|
-
updatedAt: unmarshalDate(data.updated_at)
|
|
739
|
-
};
|
|
448
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListDomainHostsResponse' failed as data isn't a dictionary.`);
|
|
449
|
+
return {
|
|
450
|
+
hosts: unmarshalArrayOfObject(data.hosts, unmarshalHost),
|
|
451
|
+
totalCount: data.total_count
|
|
452
|
+
};
|
|
453
|
+
};
|
|
454
|
+
var unmarshalDomainSummary = (data) => {
|
|
455
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'DomainSummary' failed as data isn't a dictionary.`);
|
|
456
|
+
return {
|
|
457
|
+
autoRenewStatus: data.auto_renew_status,
|
|
458
|
+
createdAt: unmarshalDate(data.created_at),
|
|
459
|
+
dnssecStatus: data.dnssec_status,
|
|
460
|
+
domain: data.domain,
|
|
461
|
+
eppCode: data.epp_code,
|
|
462
|
+
expiredAt: unmarshalDate(data.expired_at),
|
|
463
|
+
externalDomainRegistrationStatus: data.external_domain_registration_status ? unmarshalDomainRegistrationStatusExternalDomain(data.external_domain_registration_status) : void 0,
|
|
464
|
+
isExternal: data.is_external,
|
|
465
|
+
organizationId: data.organization_id,
|
|
466
|
+
pendingTrade: data.pending_trade,
|
|
467
|
+
projectId: data.project_id,
|
|
468
|
+
registrar: data.registrar,
|
|
469
|
+
status: data.status,
|
|
470
|
+
transferRegistrationStatus: data.transfer_registration_status ? unmarshalDomainRegistrationStatusTransfer(data.transfer_registration_status) : void 0,
|
|
471
|
+
updatedAt: unmarshalDate(data.updated_at)
|
|
472
|
+
};
|
|
740
473
|
};
|
|
741
474
|
const unmarshalListDomainsResponse = (data) => {
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
domain: data.domain,
|
|
761
|
-
id: data.id,
|
|
762
|
-
lastUpdatedAt: unmarshalDate(data.last_updated_at),
|
|
763
|
-
message: data.message,
|
|
764
|
-
projectId: data.project_id,
|
|
765
|
-
status: data.status,
|
|
766
|
-
taskId: data.task_id
|
|
767
|
-
};
|
|
475
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListDomainsResponse' failed as data isn't a dictionary.`);
|
|
476
|
+
return {
|
|
477
|
+
domains: unmarshalArrayOfObject(data.domains, unmarshalDomainSummary),
|
|
478
|
+
totalCount: data.total_count
|
|
479
|
+
};
|
|
480
|
+
};
|
|
481
|
+
var unmarshalInboundTransfer = (data) => {
|
|
482
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'InboundTransfer' failed as data isn't a dictionary.`);
|
|
483
|
+
return {
|
|
484
|
+
createdAt: unmarshalDate(data.created_at),
|
|
485
|
+
domain: data.domain,
|
|
486
|
+
id: data.id,
|
|
487
|
+
lastUpdatedAt: unmarshalDate(data.last_updated_at),
|
|
488
|
+
message: data.message,
|
|
489
|
+
projectId: data.project_id,
|
|
490
|
+
status: data.status,
|
|
491
|
+
taskId: data.task_id
|
|
492
|
+
};
|
|
768
493
|
};
|
|
769
494
|
const unmarshalListInboundTransfersResponse = (data) => {
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
limitRedemptionAt: unmarshalDate(data.limit_redemption_at),
|
|
791
|
-
limitRenewAt: unmarshalDate(data.limit_renew_at),
|
|
792
|
-
organizationId: data.organization_id,
|
|
793
|
-
projectId: data.project_id,
|
|
794
|
-
renewableDurationInYears: data.renewable_duration_in_years,
|
|
795
|
-
status: data.status,
|
|
796
|
-
tld: data.tld ? unmarshalTld(data.tld) : void 0
|
|
797
|
-
};
|
|
495
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListInboundTransfersResponse' failed as data isn't a dictionary.`);
|
|
496
|
+
return {
|
|
497
|
+
inboundTransfers: unmarshalArrayOfObject(data.inbound_transfers, unmarshalInboundTransfer),
|
|
498
|
+
totalCount: data.total_count
|
|
499
|
+
};
|
|
500
|
+
};
|
|
501
|
+
var unmarshalRenewableDomain = (data) => {
|
|
502
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'RenewableDomain' failed as data isn't a dictionary.`);
|
|
503
|
+
return {
|
|
504
|
+
domain: data.domain,
|
|
505
|
+
estimatedDeleteAt: unmarshalDate(data.estimated_delete_at),
|
|
506
|
+
expiredAt: unmarshalDate(data.expired_at),
|
|
507
|
+
limitRedemptionAt: unmarshalDate(data.limit_redemption_at),
|
|
508
|
+
limitRenewAt: unmarshalDate(data.limit_renew_at),
|
|
509
|
+
organizationId: data.organization_id,
|
|
510
|
+
projectId: data.project_id,
|
|
511
|
+
renewableDurationInYears: data.renewable_duration_in_years,
|
|
512
|
+
status: data.status,
|
|
513
|
+
tld: data.tld ? unmarshalTld(data.tld) : void 0
|
|
514
|
+
};
|
|
798
515
|
};
|
|
799
516
|
const unmarshalListRenewableDomainsResponse = (data) => {
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
return {
|
|
806
|
-
domains: unmarshalArrayOfObject(data.domains, unmarshalRenewableDomain),
|
|
807
|
-
totalCount: data.total_count
|
|
808
|
-
};
|
|
517
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListRenewableDomainsResponse' failed as data isn't a dictionary.`);
|
|
518
|
+
return {
|
|
519
|
+
domains: unmarshalArrayOfObject(data.domains, unmarshalRenewableDomain),
|
|
520
|
+
totalCount: data.total_count
|
|
521
|
+
};
|
|
809
522
|
};
|
|
810
523
|
const unmarshalListSSLCertificatesResponse = (data) => {
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
return {
|
|
817
|
-
certificates: unmarshalArrayOfObject(data.certificates, unmarshalSSLCertificate),
|
|
818
|
-
totalCount: data.total_count
|
|
819
|
-
};
|
|
524
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListSSLCertificatesResponse' failed as data isn't a dictionary.`);
|
|
525
|
+
return {
|
|
526
|
+
certificates: unmarshalArrayOfObject(data.certificates, unmarshalSSLCertificate),
|
|
527
|
+
totalCount: data.total_count
|
|
528
|
+
};
|
|
820
529
|
};
|
|
821
530
|
const unmarshalTask = (data) => {
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
status: data.status,
|
|
836
|
-
type: data.type,
|
|
837
|
-
updatedAt: unmarshalDate(data.updated_at)
|
|
838
|
-
};
|
|
531
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'Task' failed as data isn't a dictionary.`);
|
|
532
|
+
return {
|
|
533
|
+
contactIdentifier: data.contact_identifier,
|
|
534
|
+
domain: data.domain,
|
|
535
|
+
id: data.id,
|
|
536
|
+
message: data.message,
|
|
537
|
+
organizationId: data.organization_id,
|
|
538
|
+
projectId: data.project_id,
|
|
539
|
+
startedAt: unmarshalDate(data.started_at),
|
|
540
|
+
status: data.status,
|
|
541
|
+
type: data.type,
|
|
542
|
+
updatedAt: unmarshalDate(data.updated_at)
|
|
543
|
+
};
|
|
839
544
|
};
|
|
840
545
|
const unmarshalListTasksResponse = (data) => {
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
return {
|
|
847
|
-
tasks: unmarshalArrayOfObject(data.tasks, unmarshalTask),
|
|
848
|
-
totalCount: data.total_count
|
|
849
|
-
};
|
|
546
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListTasksResponse' failed as data isn't a dictionary.`);
|
|
547
|
+
return {
|
|
548
|
+
tasks: unmarshalArrayOfObject(data.tasks, unmarshalTask),
|
|
549
|
+
totalCount: data.total_count
|
|
550
|
+
};
|
|
850
551
|
};
|
|
851
552
|
const unmarshalListTldsResponse = (data) => {
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
return {
|
|
858
|
-
tlds: unmarshalArrayOfObject(data.tlds, unmarshalTld),
|
|
859
|
-
totalCount: data.total_count
|
|
860
|
-
};
|
|
553
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListTldsResponse' failed as data isn't a dictionary.`);
|
|
554
|
+
return {
|
|
555
|
+
tlds: unmarshalArrayOfObject(data.tlds, unmarshalTld),
|
|
556
|
+
totalCount: data.total_count
|
|
557
|
+
};
|
|
861
558
|
};
|
|
862
559
|
const unmarshalOrderResponse = (data) => {
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
organizationId: data.organization_id,
|
|
872
|
-
projectId: data.project_id,
|
|
873
|
-
taskId: data.task_id
|
|
874
|
-
};
|
|
560
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'OrderResponse' failed as data isn't a dictionary.`);
|
|
561
|
+
return {
|
|
562
|
+
createdAt: unmarshalDate(data.created_at),
|
|
563
|
+
domains: data.domains,
|
|
564
|
+
organizationId: data.organization_id,
|
|
565
|
+
projectId: data.project_id,
|
|
566
|
+
taskId: data.task_id
|
|
567
|
+
};
|
|
875
568
|
};
|
|
876
569
|
const unmarshalRefreshDNSZoneResponse = (data) => {
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
`Unmarshalling the type 'RefreshDNSZoneResponse' failed as data isn't a dictionary.`
|
|
880
|
-
);
|
|
881
|
-
}
|
|
882
|
-
return {
|
|
883
|
-
dnsZones: unmarshalArrayOfObject(data.dns_zones, unmarshalDNSZone)
|
|
884
|
-
};
|
|
570
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'RefreshDNSZoneResponse' failed as data isn't a dictionary.`);
|
|
571
|
+
return { dnsZones: unmarshalArrayOfObject(data.dns_zones, unmarshalDNSZone) };
|
|
885
572
|
};
|
|
886
573
|
const unmarshalRegisterExternalDomainResponse = (data) => {
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
organizationId: data.organization_id,
|
|
896
|
-
projectId: data.project_id,
|
|
897
|
-
validationToken: data.validation_token
|
|
898
|
-
};
|
|
574
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'RegisterExternalDomainResponse' failed as data isn't a dictionary.`);
|
|
575
|
+
return {
|
|
576
|
+
createdAt: unmarshalDate(data.created_at),
|
|
577
|
+
domain: data.domain,
|
|
578
|
+
organizationId: data.organization_id,
|
|
579
|
+
projectId: data.project_id,
|
|
580
|
+
validationToken: data.validation_token
|
|
581
|
+
};
|
|
899
582
|
};
|
|
900
583
|
const unmarshalRestoreDNSZoneVersionResponse = (data) => {
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
`Unmarshalling the type 'RestoreDNSZoneVersionResponse' failed as data isn't a dictionary.`
|
|
904
|
-
);
|
|
905
|
-
}
|
|
906
|
-
return {};
|
|
584
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'RestoreDNSZoneVersionResponse' failed as data isn't a dictionary.`);
|
|
585
|
+
return {};
|
|
907
586
|
};
|
|
908
587
|
const unmarshalRetryInboundTransferResponse = (data) => {
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
`Unmarshalling the type 'AvailableDomain' failed as data isn't a dictionary.`
|
|
920
|
-
);
|
|
921
|
-
}
|
|
922
|
-
return {
|
|
923
|
-
available: data.available,
|
|
924
|
-
domain: data.domain,
|
|
925
|
-
tld: data.tld ? unmarshalTld(data.tld) : void 0
|
|
926
|
-
};
|
|
588
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'RetryInboundTransferResponse' failed as data isn't a dictionary.`);
|
|
589
|
+
return {};
|
|
590
|
+
};
|
|
591
|
+
var unmarshalAvailableDomain = (data) => {
|
|
592
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'AvailableDomain' failed as data isn't a dictionary.`);
|
|
593
|
+
return {
|
|
594
|
+
available: data.available,
|
|
595
|
+
domain: data.domain,
|
|
596
|
+
tld: data.tld ? unmarshalTld(data.tld) : void 0
|
|
597
|
+
};
|
|
927
598
|
};
|
|
928
599
|
const unmarshalSearchAvailableDomainsConsoleResponse = (data) => {
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
return {
|
|
935
|
-
availableDomains: unmarshalArrayOfObject(data.available_domains, unmarshalAvailableDomain),
|
|
936
|
-
exactMatchDomain: data.exact_match_domain ? unmarshalAvailableDomain(data.exact_match_domain) : void 0
|
|
937
|
-
};
|
|
600
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'SearchAvailableDomainsConsoleResponse' failed as data isn't a dictionary.`);
|
|
601
|
+
return {
|
|
602
|
+
availableDomains: unmarshalArrayOfObject(data.available_domains, unmarshalAvailableDomain),
|
|
603
|
+
exactMatchDomain: data.exact_match_domain ? unmarshalAvailableDomain(data.exact_match_domain) : void 0
|
|
604
|
+
};
|
|
938
605
|
};
|
|
939
606
|
const unmarshalSearchAvailableDomainsResponse = (data) => {
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
`Unmarshalling the type 'SearchAvailableDomainsResponse' failed as data isn't a dictionary.`
|
|
943
|
-
);
|
|
944
|
-
}
|
|
945
|
-
return {
|
|
946
|
-
availableDomains: unmarshalArrayOfObject(data.available_domains, unmarshalAvailableDomain)
|
|
947
|
-
};
|
|
607
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'SearchAvailableDomainsResponse' failed as data isn't a dictionary.`);
|
|
608
|
+
return { availableDomains: unmarshalArrayOfObject(data.available_domains, unmarshalAvailableDomain) };
|
|
948
609
|
};
|
|
949
610
|
const unmarshalUpdateDNSZoneNameserversResponse = (data) => {
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
`Unmarshalling the type 'UpdateDNSZoneNameserversResponse' failed as data isn't a dictionary.`
|
|
953
|
-
);
|
|
954
|
-
}
|
|
955
|
-
return {
|
|
956
|
-
ns: unmarshalArrayOfObject(data.ns, unmarshalNameserver)
|
|
957
|
-
};
|
|
611
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'UpdateDNSZoneNameserversResponse' failed as data isn't a dictionary.`);
|
|
612
|
+
return { ns: unmarshalArrayOfObject(data.ns, unmarshalNameserver) };
|
|
958
613
|
};
|
|
959
614
|
const unmarshalUpdateDNSZoneRecordsResponse = (data) => {
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
`Unmarshalling the type 'UpdateDNSZoneRecordsResponse' failed as data isn't a dictionary.`
|
|
963
|
-
);
|
|
964
|
-
}
|
|
965
|
-
return {
|
|
966
|
-
records: unmarshalArrayOfObject(data.records, unmarshalDomainRecord)
|
|
967
|
-
};
|
|
615
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'UpdateDNSZoneRecordsResponse' failed as data isn't a dictionary.`);
|
|
616
|
+
return { records: unmarshalArrayOfObject(data.records, unmarshalDomainRecord) };
|
|
968
617
|
};
|
|
969
618
|
const marshalCloneDNSZoneRequest = (request, defaults) => ({
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
619
|
+
dest_dns_zone: request.destDnsZone,
|
|
620
|
+
overwrite: request.overwrite,
|
|
621
|
+
project_id: request.projectId ?? defaults.defaultProjectId
|
|
973
622
|
});
|
|
974
623
|
const marshalCreateDNSZoneRequest = (request, defaults) => ({
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
624
|
+
domain: request.domain,
|
|
625
|
+
project_id: request.projectId ?? defaults.defaultProjectId,
|
|
626
|
+
subdomain: request.subdomain
|
|
978
627
|
});
|
|
979
628
|
const marshalCreateSSLCertificateRequest = (request, defaults) => ({
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
});
|
|
983
|
-
const marshalImportProviderDNSZoneRequestOnlineV1 = (request, defaults) => ({
|
|
984
|
-
token: request.token
|
|
985
|
-
});
|
|
986
|
-
const marshalImportProviderDNSZoneRequest = (request, defaults) => ({
|
|
987
|
-
...resolveOneOf([
|
|
988
|
-
{
|
|
989
|
-
param: "online_v1",
|
|
990
|
-
value: request.onlineV1 !== void 0 ? marshalImportProviderDNSZoneRequestOnlineV1(request.onlineV1) : void 0
|
|
991
|
-
}
|
|
992
|
-
])
|
|
629
|
+
alternative_dns_zones: request.alternativeDnsZones,
|
|
630
|
+
dns_zone: request.dnsZone
|
|
993
631
|
});
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
632
|
+
var marshalImportProviderDNSZoneRequestOnlineV1 = (request, defaults) => ({ token: request.token });
|
|
633
|
+
const marshalImportProviderDNSZoneRequest = (request, defaults) => ({ ...resolveOneOf([{
|
|
634
|
+
param: "online_v1",
|
|
635
|
+
value: request.onlineV1 !== void 0 ? marshalImportProviderDNSZoneRequestOnlineV1(request.onlineV1, defaults) : void 0
|
|
636
|
+
}]) });
|
|
637
|
+
var marshalImportRawDNSZoneRequestTsigKey = (request, defaults) => ({
|
|
638
|
+
algorithm: request.algorithm,
|
|
639
|
+
key: request.key,
|
|
640
|
+
name: request.name
|
|
998
641
|
});
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
});
|
|
1003
|
-
const marshalImportRawDNSZoneRequestBindSource = (request, defaults) => ({
|
|
1004
|
-
content: request.content
|
|
642
|
+
var marshalImportRawDNSZoneRequestAXFRSource = (request, defaults) => ({
|
|
643
|
+
name_server: request.nameServer,
|
|
644
|
+
tsig_key: request.tsigKey !== void 0 ? marshalImportRawDNSZoneRequestTsigKey(request.tsigKey, defaults) : void 0
|
|
1005
645
|
});
|
|
646
|
+
var marshalImportRawDNSZoneRequestBindSource = (request, defaults) => ({ content: request.content });
|
|
1006
647
|
const marshalImportRawDNSZoneRequest = (request, defaults) => ({
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
value: request.axfrSource !== void 0 ? marshalImportRawDNSZoneRequestAXFRSource(request.axfrSource) : void 0
|
|
1018
|
-
}
|
|
1019
|
-
])
|
|
648
|
+
content: request.content,
|
|
649
|
+
format: request.format,
|
|
650
|
+
project_id: request.projectId ?? defaults.defaultProjectId,
|
|
651
|
+
...resolveOneOf([{
|
|
652
|
+
param: "bind_source",
|
|
653
|
+
value: request.bindSource !== void 0 ? marshalImportRawDNSZoneRequestBindSource(request.bindSource, defaults) : void 0
|
|
654
|
+
}, {
|
|
655
|
+
param: "axfr_source",
|
|
656
|
+
value: request.axfrSource !== void 0 ? marshalImportRawDNSZoneRequestAXFRSource(request.axfrSource, defaults) : void 0
|
|
657
|
+
}])
|
|
1020
658
|
});
|
|
1021
659
|
const marshalRefreshDNSZoneRequest = (request, defaults) => ({
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
});
|
|
1025
|
-
const marshalContactExtensionFRAssociationInfo = (request, defaults) => ({
|
|
1026
|
-
publication_jo: request.publicationJo,
|
|
1027
|
-
publication_jo_page: request.publicationJoPage
|
|
1028
|
-
});
|
|
1029
|
-
const marshalContactExtensionFRCodeAuthAfnicInfo = (request, defaults) => ({
|
|
1030
|
-
code_auth_afnic: request.codeAuthAfnic
|
|
1031
|
-
});
|
|
1032
|
-
const marshalContactExtensionFRDunsInfo = (request, defaults) => ({
|
|
1033
|
-
duns_id: request.dunsId,
|
|
1034
|
-
local_id: request.localId
|
|
1035
|
-
});
|
|
1036
|
-
const marshalContactExtensionFRIndividualInfo = (request, defaults) => ({
|
|
1037
|
-
whois_opt_in: request.whoisOptIn
|
|
660
|
+
recreate_dns_zone: request.recreateDnsZone,
|
|
661
|
+
recreate_sub_dns_zone: request.recreateSubDnsZone
|
|
1038
662
|
});
|
|
1039
|
-
|
|
1040
|
-
|
|
663
|
+
var marshalContactExtensionFRAssociationInfo = (request, defaults) => ({
|
|
664
|
+
publication_jo: request.publicationJo,
|
|
665
|
+
publication_jo_page: request.publicationJoPage
|
|
1041
666
|
});
|
|
1042
|
-
|
|
1043
|
-
|
|
667
|
+
var marshalContactExtensionFRCodeAuthAfnicInfo = (request, defaults) => ({ code_auth_afnic: request.codeAuthAfnic });
|
|
668
|
+
var marshalContactExtensionFRDunsInfo = (request, defaults) => ({
|
|
669
|
+
duns_id: request.dunsId,
|
|
670
|
+
local_id: request.localId
|
|
1044
671
|
});
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
672
|
+
var marshalContactExtensionFRIndividualInfo = (request, defaults) => ({ whois_opt_in: request.whoisOptIn });
|
|
673
|
+
var marshalContactExtensionFRTrademarkInfo = (request, defaults) => ({ trademark_inpi: request.trademarkInpi });
|
|
674
|
+
var marshalContactExtensionEU = (request, defaults) => ({ european_citizenship: request.europeanCitizenship });
|
|
675
|
+
var marshalContactExtensionFR = (request, defaults) => ({
|
|
676
|
+
mode: request.mode,
|
|
677
|
+
...resolveOneOf([
|
|
678
|
+
{
|
|
679
|
+
param: "individual_info",
|
|
680
|
+
value: request.individualInfo !== void 0 ? marshalContactExtensionFRIndividualInfo(request.individualInfo, defaults) : void 0
|
|
681
|
+
},
|
|
682
|
+
{
|
|
683
|
+
param: "duns_info",
|
|
684
|
+
value: request.dunsInfo !== void 0 ? marshalContactExtensionFRDunsInfo(request.dunsInfo, defaults) : void 0
|
|
685
|
+
},
|
|
686
|
+
{
|
|
687
|
+
param: "association_info",
|
|
688
|
+
value: request.associationInfo !== void 0 ? marshalContactExtensionFRAssociationInfo(request.associationInfo, defaults) : void 0
|
|
689
|
+
},
|
|
690
|
+
{
|
|
691
|
+
param: "trademark_info",
|
|
692
|
+
value: request.trademarkInfo !== void 0 ? marshalContactExtensionFRTrademarkInfo(request.trademarkInfo, defaults) : void 0
|
|
693
|
+
},
|
|
694
|
+
{
|
|
695
|
+
param: "code_auth_afnic_info",
|
|
696
|
+
value: request.codeAuthAfnicInfo !== void 0 ? marshalContactExtensionFRCodeAuthAfnicInfo(request.codeAuthAfnicInfo, defaults) : void 0
|
|
697
|
+
}
|
|
698
|
+
])
|
|
1069
699
|
});
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
700
|
+
var marshalContactExtensionIT = (request, defaults) => ({
|
|
701
|
+
european_citizenship: request.europeanCitizenship,
|
|
702
|
+
pin: request.pin,
|
|
703
|
+
tax_code: request.taxCode
|
|
1074
704
|
});
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
705
|
+
var marshalContactExtensionNL = (request, defaults) => ({
|
|
706
|
+
legal_form: request.legalForm,
|
|
707
|
+
legal_form_registration_number: request.legalFormRegistrationNumber
|
|
1078
708
|
});
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
709
|
+
var marshalContactQuestion = (request, defaults) => ({
|
|
710
|
+
answer: request.answer,
|
|
711
|
+
question: request.question
|
|
1082
712
|
});
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
713
|
+
var marshalNewContact = (request, defaults) => ({
|
|
714
|
+
address_line_1: request.addressLine1,
|
|
715
|
+
address_line_2: request.addressLine2,
|
|
716
|
+
city: request.city,
|
|
717
|
+
company_identification_code: request.companyIdentificationCode,
|
|
718
|
+
company_name: request.companyName,
|
|
719
|
+
country: request.country,
|
|
720
|
+
email: request.email,
|
|
721
|
+
email_alt: request.emailAlt,
|
|
722
|
+
extension_eu: request.extensionEu !== void 0 ? marshalContactExtensionEU(request.extensionEu, defaults) : void 0,
|
|
723
|
+
extension_fr: request.extensionFr !== void 0 ? marshalContactExtensionFR(request.extensionFr, defaults) : void 0,
|
|
724
|
+
extension_it: request.extensionIt !== void 0 ? marshalContactExtensionIT(request.extensionIt, defaults) : void 0,
|
|
725
|
+
extension_nl: request.extensionNl !== void 0 ? marshalContactExtensionNL(request.extensionNl, defaults) : void 0,
|
|
726
|
+
fax_number: request.faxNumber,
|
|
727
|
+
firstname: request.firstname,
|
|
728
|
+
lang: request.lang,
|
|
729
|
+
lastname: request.lastname,
|
|
730
|
+
legal_form: request.legalForm,
|
|
731
|
+
phone_number: request.phoneNumber,
|
|
732
|
+
questions: request.questions.map((elt) => marshalContactQuestion(elt, defaults)),
|
|
733
|
+
resale: request.resale,
|
|
734
|
+
state: request.state,
|
|
735
|
+
vat_identification_code: request.vatIdentificationCode,
|
|
736
|
+
whois_opt_in: request.whoisOptIn,
|
|
737
|
+
zip: request.zip
|
|
1108
738
|
});
|
|
1109
739
|
const marshalRegistrarApiBuyDomainsRequest = (request, defaults) => ({
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
{
|
|
1135
|
-
param: "technical_contact_id",
|
|
1136
|
-
value: request.technicalContactId
|
|
1137
|
-
},
|
|
1138
|
-
{
|
|
1139
|
-
param: "technical_contact",
|
|
1140
|
-
value: request.technicalContact !== void 0 ? marshalNewContact(request.technicalContact) : void 0
|
|
1141
|
-
}
|
|
1142
|
-
])
|
|
740
|
+
domains: request.domains,
|
|
741
|
+
duration_in_years: request.durationInYears,
|
|
742
|
+
project_id: request.projectId ?? defaults.defaultProjectId,
|
|
743
|
+
...resolveOneOf([{
|
|
744
|
+
param: "owner_contact_id",
|
|
745
|
+
value: request.ownerContactId
|
|
746
|
+
}, {
|
|
747
|
+
param: "owner_contact",
|
|
748
|
+
value: request.ownerContact !== void 0 ? marshalNewContact(request.ownerContact, defaults) : void 0
|
|
749
|
+
}]),
|
|
750
|
+
...resolveOneOf([{
|
|
751
|
+
param: "administrative_contact_id",
|
|
752
|
+
value: request.administrativeContactId
|
|
753
|
+
}, {
|
|
754
|
+
param: "administrative_contact",
|
|
755
|
+
value: request.administrativeContact !== void 0 ? marshalNewContact(request.administrativeContact, defaults) : void 0
|
|
756
|
+
}]),
|
|
757
|
+
...resolveOneOf([{
|
|
758
|
+
param: "technical_contact_id",
|
|
759
|
+
value: request.technicalContactId
|
|
760
|
+
}, {
|
|
761
|
+
param: "technical_contact",
|
|
762
|
+
value: request.technicalContact !== void 0 ? marshalNewContact(request.technicalContact, defaults) : void 0
|
|
763
|
+
}])
|
|
1143
764
|
});
|
|
1144
765
|
const marshalRegistrarApiCheckContactsCompatibilityRequest = (request, defaults) => ({
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
{
|
|
1169
|
-
param: "technical_contact_id",
|
|
1170
|
-
value: request.technicalContactId
|
|
1171
|
-
},
|
|
1172
|
-
{
|
|
1173
|
-
param: "technical_contact",
|
|
1174
|
-
value: request.technicalContact !== void 0 ? marshalNewContact(request.technicalContact) : void 0
|
|
1175
|
-
}
|
|
1176
|
-
])
|
|
766
|
+
domains: request.domains,
|
|
767
|
+
tlds: request.tlds,
|
|
768
|
+
...resolveOneOf([{
|
|
769
|
+
param: "owner_contact_id",
|
|
770
|
+
value: request.ownerContactId
|
|
771
|
+
}, {
|
|
772
|
+
param: "owner_contact",
|
|
773
|
+
value: request.ownerContact !== void 0 ? marshalNewContact(request.ownerContact, defaults) : void 0
|
|
774
|
+
}]),
|
|
775
|
+
...resolveOneOf([{
|
|
776
|
+
param: "administrative_contact_id",
|
|
777
|
+
value: request.administrativeContactId
|
|
778
|
+
}, {
|
|
779
|
+
param: "administrative_contact",
|
|
780
|
+
value: request.administrativeContact !== void 0 ? marshalNewContact(request.administrativeContact, defaults) : void 0
|
|
781
|
+
}]),
|
|
782
|
+
...resolveOneOf([{
|
|
783
|
+
param: "technical_contact_id",
|
|
784
|
+
value: request.technicalContactId
|
|
785
|
+
}, {
|
|
786
|
+
param: "technical_contact",
|
|
787
|
+
value: request.technicalContact !== void 0 ? marshalNewContact(request.technicalContact, defaults) : void 0
|
|
788
|
+
}])
|
|
1177
789
|
});
|
|
1178
790
|
const marshalRegistrarApiCreateDomainHostRequest = (request, defaults) => ({
|
|
1179
|
-
|
|
1180
|
-
|
|
791
|
+
ips: request.ips,
|
|
792
|
+
name: request.name
|
|
1181
793
|
});
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
public_key: request.publicKey !== void 0 ? marshalDSRecordPublicKey(request.publicKey) : void 0,
|
|
1188
|
-
type: request.type
|
|
794
|
+
var marshalDSRecordPublicKey = (request, defaults) => ({ key: request.key });
|
|
795
|
+
var marshalDSRecordDigest = (request, defaults) => ({
|
|
796
|
+
digest: request.digest,
|
|
797
|
+
public_key: request.publicKey !== void 0 ? marshalDSRecordPublicKey(request.publicKey, defaults) : void 0,
|
|
798
|
+
type: request.type
|
|
1189
799
|
});
|
|
1190
800
|
const marshalDSRecord = (request, defaults) => ({
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
value: request.publicKey !== void 0 ? marshalDSRecordPublicKey(request.publicKey) : void 0
|
|
1201
|
-
}
|
|
1202
|
-
])
|
|
1203
|
-
});
|
|
1204
|
-
const marshalRegistrarApiEnableDomainDNSSECRequest = (request, defaults) => ({
|
|
1205
|
-
ds_record: request.dsRecord !== void 0 ? marshalDSRecord(request.dsRecord) : void 0
|
|
801
|
+
algorithm: request.algorithm,
|
|
802
|
+
key_id: request.keyId,
|
|
803
|
+
...resolveOneOf([{
|
|
804
|
+
param: "digest",
|
|
805
|
+
value: request.digest !== void 0 ? marshalDSRecordDigest(request.digest, defaults) : void 0
|
|
806
|
+
}, {
|
|
807
|
+
param: "public_key",
|
|
808
|
+
value: request.publicKey !== void 0 ? marshalDSRecordPublicKey(request.publicKey, defaults) : void 0
|
|
809
|
+
}])
|
|
1206
810
|
});
|
|
811
|
+
const marshalRegistrarApiEnableDomainDNSSECRequest = (request, defaults) => ({ ds_record: request.dsRecord !== void 0 ? marshalDSRecord(request.dsRecord, defaults) : void 0 });
|
|
1207
812
|
const marshalRegistrarApiRegisterExternalDomainRequest = (request, defaults) => ({
|
|
1208
|
-
|
|
1209
|
-
|
|
813
|
+
domain: request.domain,
|
|
814
|
+
project_id: request.projectId ?? defaults.defaultProjectId
|
|
1210
815
|
});
|
|
1211
816
|
const marshalRegistrarApiRenewDomainsRequest = (request, defaults) => ({
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
817
|
+
domains: request.domains,
|
|
818
|
+
duration_in_years: request.durationInYears,
|
|
819
|
+
force_late_renewal: request.forceLateRenewal
|
|
1215
820
|
});
|
|
1216
821
|
const marshalRegistrarApiRetryInboundTransferRequest = (request, defaults) => ({
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
822
|
+
auth_code: request.authCode,
|
|
823
|
+
domain: request.domain,
|
|
824
|
+
project_id: request.projectId ?? defaults.defaultProjectId
|
|
1220
825
|
});
|
|
1221
826
|
const marshalRegistrarApiTradeDomainRequest = (request, defaults) => ({
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
value: request.newOwnerContact !== void 0 ? marshalNewContact(request.newOwnerContact) : void 0
|
|
1231
|
-
}
|
|
1232
|
-
])
|
|
827
|
+
project_id: request.projectId ?? defaults.defaultProjectId,
|
|
828
|
+
...resolveOneOf([{
|
|
829
|
+
param: "new_owner_contact_id",
|
|
830
|
+
value: request.newOwnerContactId
|
|
831
|
+
}, {
|
|
832
|
+
param: "new_owner_contact",
|
|
833
|
+
value: request.newOwnerContact !== void 0 ? marshalNewContact(request.newOwnerContact, defaults) : void 0
|
|
834
|
+
}])
|
|
1233
835
|
});
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
836
|
+
var marshalTransferInDomainRequestTransferRequest = (request, defaults) => ({
|
|
837
|
+
auth_code: request.authCode,
|
|
838
|
+
domain: request.domain
|
|
1237
839
|
});
|
|
1238
840
|
const marshalRegistrarApiTransferInDomainRequest = (request, defaults) => ({
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
{
|
|
1263
|
-
param: "technical_contact_id",
|
|
1264
|
-
value: request.technicalContactId
|
|
1265
|
-
},
|
|
1266
|
-
{
|
|
1267
|
-
param: "technical_contact",
|
|
1268
|
-
value: request.technicalContact !== void 0 ? marshalNewContact(request.technicalContact) : void 0
|
|
1269
|
-
}
|
|
1270
|
-
])
|
|
841
|
+
domains: request.domains.map((elt) => marshalTransferInDomainRequestTransferRequest(elt, defaults)),
|
|
842
|
+
project_id: request.projectId ?? defaults.defaultProjectId,
|
|
843
|
+
...resolveOneOf([{
|
|
844
|
+
param: "owner_contact_id",
|
|
845
|
+
value: request.ownerContactId
|
|
846
|
+
}, {
|
|
847
|
+
param: "owner_contact",
|
|
848
|
+
value: request.ownerContact !== void 0 ? marshalNewContact(request.ownerContact, defaults) : void 0
|
|
849
|
+
}]),
|
|
850
|
+
...resolveOneOf([{
|
|
851
|
+
param: "administrative_contact_id",
|
|
852
|
+
value: request.administrativeContactId
|
|
853
|
+
}, {
|
|
854
|
+
param: "administrative_contact",
|
|
855
|
+
value: request.administrativeContact !== void 0 ? marshalNewContact(request.administrativeContact, defaults) : void 0
|
|
856
|
+
}]),
|
|
857
|
+
...resolveOneOf([{
|
|
858
|
+
param: "technical_contact_id",
|
|
859
|
+
value: request.technicalContactId
|
|
860
|
+
}, {
|
|
861
|
+
param: "technical_contact",
|
|
862
|
+
value: request.technicalContact !== void 0 ? marshalNewContact(request.technicalContact, defaults) : void 0
|
|
863
|
+
}])
|
|
1271
864
|
});
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
865
|
+
var marshalUpdateContactRequestQuestion = (request, defaults) => ({
|
|
866
|
+
answer: request.answer,
|
|
867
|
+
question: request.question
|
|
1275
868
|
});
|
|
1276
869
|
const marshalRegistrarApiUpdateContactRequest = (request, defaults) => ({
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
});
|
|
1298
|
-
const marshalRegistrarApiUpdateDomainHostRequest = (request, defaults) => ({
|
|
1299
|
-
ips: request.ips
|
|
870
|
+
address_line_1: request.addressLine1,
|
|
871
|
+
address_line_2: request.addressLine2,
|
|
872
|
+
city: request.city,
|
|
873
|
+
company_identification_code: request.companyIdentificationCode,
|
|
874
|
+
country: request.country,
|
|
875
|
+
email: request.email,
|
|
876
|
+
email_alt: request.emailAlt,
|
|
877
|
+
extension_eu: request.extensionEu !== void 0 ? marshalContactExtensionEU(request.extensionEu, defaults) : void 0,
|
|
878
|
+
extension_fr: request.extensionFr !== void 0 ? marshalContactExtensionFR(request.extensionFr, defaults) : void 0,
|
|
879
|
+
extension_it: request.extensionIt !== void 0 ? marshalContactExtensionIT(request.extensionIt, defaults) : void 0,
|
|
880
|
+
extension_nl: request.extensionNl !== void 0 ? marshalContactExtensionNL(request.extensionNl, defaults) : void 0,
|
|
881
|
+
fax_number: request.faxNumber,
|
|
882
|
+
lang: request.lang,
|
|
883
|
+
phone_number: request.phoneNumber,
|
|
884
|
+
questions: request.questions !== void 0 ? request.questions.map((elt) => marshalUpdateContactRequestQuestion(elt, defaults)) : void 0,
|
|
885
|
+
resale: request.resale,
|
|
886
|
+
state: request.state,
|
|
887
|
+
vat_identification_code: request.vatIdentificationCode,
|
|
888
|
+
whois_opt_in: request.whoisOptIn,
|
|
889
|
+
zip: request.zip
|
|
1300
890
|
});
|
|
891
|
+
const marshalRegistrarApiUpdateDomainHostRequest = (request, defaults) => ({ ips: request.ips });
|
|
1301
892
|
const marshalRegistrarApiUpdateDomainRequest = (request, defaults) => ({
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
{
|
|
1324
|
-
param: "administrative_contact_id",
|
|
1325
|
-
value: request.administrativeContactId
|
|
1326
|
-
},
|
|
1327
|
-
{
|
|
1328
|
-
param: "administrative_contact",
|
|
1329
|
-
value: request.administrativeContact !== void 0 ? marshalNewContact(request.administrativeContact) : void 0
|
|
1330
|
-
}
|
|
1331
|
-
])
|
|
1332
|
-
});
|
|
1333
|
-
const marshalNameserver = (request, defaults) => ({
|
|
1334
|
-
ip: request.ip,
|
|
1335
|
-
name: request.name
|
|
1336
|
-
});
|
|
1337
|
-
const marshalUpdateDNSZoneNameserversRequest = (request, defaults) => ({
|
|
1338
|
-
ns: request.ns.map((elt) => marshalNameserver(elt))
|
|
893
|
+
...resolveOneOf([{
|
|
894
|
+
param: "technical_contact_id",
|
|
895
|
+
value: request.technicalContactId
|
|
896
|
+
}, {
|
|
897
|
+
param: "technical_contact",
|
|
898
|
+
value: request.technicalContact !== void 0 ? marshalNewContact(request.technicalContact, defaults) : void 0
|
|
899
|
+
}]),
|
|
900
|
+
...resolveOneOf([{
|
|
901
|
+
param: "owner_contact_id",
|
|
902
|
+
value: request.ownerContactId
|
|
903
|
+
}, {
|
|
904
|
+
param: "owner_contact",
|
|
905
|
+
value: request.ownerContact !== void 0 ? marshalNewContact(request.ownerContact, defaults) : void 0
|
|
906
|
+
}]),
|
|
907
|
+
...resolveOneOf([{
|
|
908
|
+
param: "administrative_contact_id",
|
|
909
|
+
value: request.administrativeContactId
|
|
910
|
+
}, {
|
|
911
|
+
param: "administrative_contact",
|
|
912
|
+
value: request.administrativeContact !== void 0 ? marshalNewContact(request.administrativeContact, defaults) : void 0
|
|
913
|
+
}])
|
|
1339
914
|
});
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
data: request.data
|
|
915
|
+
var marshalNameserver = (request, defaults) => ({
|
|
916
|
+
ip: request.ip,
|
|
917
|
+
name: request.name
|
|
1344
918
|
});
|
|
1345
|
-
const
|
|
1346
|
-
|
|
1347
|
-
|
|
919
|
+
const marshalUpdateDNSZoneNameserversRequest = (request, defaults) => ({ ns: request.ns.map((elt) => marshalNameserver(elt, defaults)) });
|
|
920
|
+
var marshalDomainRecordGeoIPConfigMatch = (request, defaults) => ({
|
|
921
|
+
continents: request.continents,
|
|
922
|
+
countries: request.countries,
|
|
923
|
+
data: request.data
|
|
1348
924
|
});
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
925
|
+
var marshalDomainRecordViewConfigView = (request, defaults) => ({
|
|
926
|
+
data: request.data,
|
|
927
|
+
subnet: request.subnet
|
|
1352
928
|
});
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
929
|
+
var marshalDomainRecordWeightedConfigWeightedIP = (request, defaults) => ({
|
|
930
|
+
ip: request.ip,
|
|
931
|
+
weight: request.weight
|
|
1356
932
|
});
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
strategy: request.strategy,
|
|
1361
|
-
url: request.url,
|
|
1362
|
-
user_agent: request.userAgent
|
|
933
|
+
var marshalDomainRecordGeoIPConfig = (request, defaults) => ({
|
|
934
|
+
default: request.default,
|
|
935
|
+
matches: request.matches.map((elt) => marshalDomainRecordGeoIPConfigMatch(elt, defaults))
|
|
1363
936
|
});
|
|
1364
|
-
|
|
1365
|
-
|
|
937
|
+
var marshalDomainRecordHTTPServiceConfig = (request, defaults) => ({
|
|
938
|
+
ips: request.ips,
|
|
939
|
+
must_contain: request.mustContain,
|
|
940
|
+
strategy: request.strategy,
|
|
941
|
+
url: request.url,
|
|
942
|
+
user_agent: request.userAgent
|
|
1366
943
|
});
|
|
1367
|
-
|
|
1368
|
-
|
|
944
|
+
var marshalDomainRecordViewConfig = (request, defaults) => ({ views: request.views.map((elt) => marshalDomainRecordViewConfigView(elt, defaults)) });
|
|
945
|
+
var marshalDomainRecordWeightedConfig = (request, defaults) => ({ weighted_ips: request.weightedIps.map((elt) => marshalDomainRecordWeightedConfigWeightedIP(elt, defaults)) });
|
|
946
|
+
var marshalDomainRecord = (request, defaults) => ({
|
|
947
|
+
comment: request.comment,
|
|
948
|
+
data: request.data,
|
|
949
|
+
id: request.id,
|
|
950
|
+
name: request.name,
|
|
951
|
+
priority: request.priority,
|
|
952
|
+
ttl: request.ttl,
|
|
953
|
+
type: request.type,
|
|
954
|
+
updated_at: request.updatedAt,
|
|
955
|
+
...resolveOneOf([
|
|
956
|
+
{
|
|
957
|
+
param: "geo_ip_config",
|
|
958
|
+
value: request.geoIpConfig !== void 0 ? marshalDomainRecordGeoIPConfig(request.geoIpConfig, defaults) : void 0
|
|
959
|
+
},
|
|
960
|
+
{
|
|
961
|
+
param: "http_service_config",
|
|
962
|
+
value: request.httpServiceConfig !== void 0 ? marshalDomainRecordHTTPServiceConfig(request.httpServiceConfig, defaults) : void 0
|
|
963
|
+
},
|
|
964
|
+
{
|
|
965
|
+
param: "weighted_config",
|
|
966
|
+
value: request.weightedConfig !== void 0 ? marshalDomainRecordWeightedConfig(request.weightedConfig, defaults) : void 0
|
|
967
|
+
},
|
|
968
|
+
{
|
|
969
|
+
param: "view_config",
|
|
970
|
+
value: request.viewConfig !== void 0 ? marshalDomainRecordViewConfig(request.viewConfig, defaults) : void 0
|
|
971
|
+
}
|
|
972
|
+
])
|
|
1369
973
|
});
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
priority: request.priority,
|
|
1376
|
-
ttl: request.ttl,
|
|
1377
|
-
type: request.type,
|
|
1378
|
-
...resolveOneOf([
|
|
1379
|
-
{
|
|
1380
|
-
param: "geo_ip_config",
|
|
1381
|
-
value: request.geoIpConfig !== void 0 ? marshalDomainRecordGeoIPConfig(request.geoIpConfig) : void 0
|
|
1382
|
-
},
|
|
1383
|
-
{
|
|
1384
|
-
param: "http_service_config",
|
|
1385
|
-
value: request.httpServiceConfig !== void 0 ? marshalDomainRecordHTTPServiceConfig(request.httpServiceConfig) : void 0
|
|
1386
|
-
},
|
|
1387
|
-
{
|
|
1388
|
-
param: "weighted_config",
|
|
1389
|
-
value: request.weightedConfig !== void 0 ? marshalDomainRecordWeightedConfig(request.weightedConfig) : void 0
|
|
1390
|
-
},
|
|
1391
|
-
{
|
|
1392
|
-
param: "view_config",
|
|
1393
|
-
value: request.viewConfig !== void 0 ? marshalDomainRecordViewConfig(request.viewConfig) : void 0
|
|
1394
|
-
}
|
|
1395
|
-
])
|
|
974
|
+
var marshalRecordIdentifier = (request, defaults) => ({
|
|
975
|
+
data: request.data,
|
|
976
|
+
name: request.name,
|
|
977
|
+
ttl: request.ttl,
|
|
978
|
+
type: request.type
|
|
1396
979
|
});
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
}
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
});
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
value: request.idFields !== void 0 ? marshalRecordIdentifier(request.idFields) : void 0
|
|
1416
|
-
}
|
|
1417
|
-
])
|
|
1418
|
-
});
|
|
1419
|
-
const marshalRecordChangeSet = (request, defaults) => ({
|
|
1420
|
-
records: request.records.map((elt) => marshalDomainRecord(elt)),
|
|
1421
|
-
...resolveOneOf([
|
|
1422
|
-
{
|
|
1423
|
-
param: "id",
|
|
1424
|
-
value: request.id
|
|
1425
|
-
},
|
|
1426
|
-
{
|
|
1427
|
-
param: "id_fields",
|
|
1428
|
-
value: request.idFields !== void 0 ? marshalRecordIdentifier(request.idFields) : void 0
|
|
1429
|
-
}
|
|
1430
|
-
])
|
|
1431
|
-
});
|
|
1432
|
-
const marshalRecordChange = (request, defaults) => ({
|
|
1433
|
-
...resolveOneOf([
|
|
1434
|
-
{
|
|
1435
|
-
param: "add",
|
|
1436
|
-
value: request.add !== void 0 ? marshalRecordChangeAdd(request.add) : void 0
|
|
1437
|
-
},
|
|
1438
|
-
{
|
|
1439
|
-
param: "set",
|
|
1440
|
-
value: request.set !== void 0 ? marshalRecordChangeSet(request.set) : void 0
|
|
1441
|
-
},
|
|
1442
|
-
{
|
|
1443
|
-
param: "delete",
|
|
1444
|
-
value: request.delete !== void 0 ? marshalRecordChangeDelete(request.delete) : void 0
|
|
1445
|
-
},
|
|
1446
|
-
{
|
|
1447
|
-
param: "clear",
|
|
1448
|
-
value: request.clear !== void 0 ? marshalRecordChangeClear(request.clear) : void 0
|
|
1449
|
-
}
|
|
1450
|
-
])
|
|
980
|
+
var marshalRecordChangeAdd = (request, defaults) => ({ records: request.records.map((elt) => marshalDomainRecord(elt, defaults)) });
|
|
981
|
+
var marshalRecordChangeClear = (request, defaults) => ({});
|
|
982
|
+
var marshalRecordChangeDelete = (request, defaults) => ({ ...resolveOneOf([{
|
|
983
|
+
param: "id",
|
|
984
|
+
value: request.id
|
|
985
|
+
}, {
|
|
986
|
+
param: "id_fields",
|
|
987
|
+
value: request.idFields !== void 0 ? marshalRecordIdentifier(request.idFields, defaults) : void 0
|
|
988
|
+
}]) });
|
|
989
|
+
var marshalRecordChangeSet = (request, defaults) => ({
|
|
990
|
+
records: request.records.map((elt) => marshalDomainRecord(elt, defaults)),
|
|
991
|
+
...resolveOneOf([{
|
|
992
|
+
param: "id",
|
|
993
|
+
value: request.id
|
|
994
|
+
}, {
|
|
995
|
+
param: "id_fields",
|
|
996
|
+
value: request.idFields !== void 0 ? marshalRecordIdentifier(request.idFields, defaults) : void 0
|
|
997
|
+
}])
|
|
1451
998
|
});
|
|
999
|
+
var marshalRecordChange = (request, defaults) => ({ ...resolveOneOf([
|
|
1000
|
+
{
|
|
1001
|
+
param: "add",
|
|
1002
|
+
value: request.add !== void 0 ? marshalRecordChangeAdd(request.add, defaults) : void 0
|
|
1003
|
+
},
|
|
1004
|
+
{
|
|
1005
|
+
param: "set",
|
|
1006
|
+
value: request.set !== void 0 ? marshalRecordChangeSet(request.set, defaults) : void 0
|
|
1007
|
+
},
|
|
1008
|
+
{
|
|
1009
|
+
param: "delete",
|
|
1010
|
+
value: request.delete !== void 0 ? marshalRecordChangeDelete(request.delete, defaults) : void 0
|
|
1011
|
+
},
|
|
1012
|
+
{
|
|
1013
|
+
param: "clear",
|
|
1014
|
+
value: request.clear !== void 0 ? marshalRecordChangeClear(request.clear, defaults) : void 0
|
|
1015
|
+
}
|
|
1016
|
+
]) });
|
|
1452
1017
|
const marshalUpdateDNSZoneRecordsRequest = (request, defaults) => ({
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1018
|
+
changes: request.changes.map((elt) => marshalRecordChange(elt, defaults)),
|
|
1019
|
+
disallow_new_zone_creation: request.disallowNewZoneCreation,
|
|
1020
|
+
return_all_records: request.returnAllRecords,
|
|
1021
|
+
serial: request.serial
|
|
1457
1022
|
});
|
|
1458
1023
|
const marshalUpdateDNSZoneRequest = (request, defaults) => ({
|
|
1459
|
-
|
|
1460
|
-
|
|
1024
|
+
new_dns_zone: request.newDnsZone,
|
|
1025
|
+
project_id: request.projectId ?? defaults.defaultProjectId
|
|
1461
1026
|
});
|
|
1462
|
-
export {
|
|
1463
|
-
marshalCloneDNSZoneRequest,
|
|
1464
|
-
marshalCreateDNSZoneRequest,
|
|
1465
|
-
marshalCreateSSLCertificateRequest,
|
|
1466
|
-
marshalDSRecord,
|
|
1467
|
-
marshalImportProviderDNSZoneRequest,
|
|
1468
|
-
marshalImportRawDNSZoneRequest,
|
|
1469
|
-
marshalRefreshDNSZoneRequest,
|
|
1470
|
-
marshalRegistrarApiBuyDomainsRequest,
|
|
1471
|
-
marshalRegistrarApiCheckContactsCompatibilityRequest,
|
|
1472
|
-
marshalRegistrarApiCreateDomainHostRequest,
|
|
1473
|
-
marshalRegistrarApiEnableDomainDNSSECRequest,
|
|
1474
|
-
marshalRegistrarApiRegisterExternalDomainRequest,
|
|
1475
|
-
marshalRegistrarApiRenewDomainsRequest,
|
|
1476
|
-
marshalRegistrarApiRetryInboundTransferRequest,
|
|
1477
|
-
marshalRegistrarApiTradeDomainRequest,
|
|
1478
|
-
marshalRegistrarApiTransferInDomainRequest,
|
|
1479
|
-
marshalRegistrarApiUpdateContactRequest,
|
|
1480
|
-
marshalRegistrarApiUpdateDomainHostRequest,
|
|
1481
|
-
marshalRegistrarApiUpdateDomainRequest,
|
|
1482
|
-
marshalUpdateDNSZoneNameserversRequest,
|
|
1483
|
-
marshalUpdateDNSZoneRecordsRequest,
|
|
1484
|
-
marshalUpdateDNSZoneRequest,
|
|
1485
|
-
unmarshalCheckContactsCompatibilityResponse,
|
|
1486
|
-
unmarshalClearDNSZoneRecordsResponse,
|
|
1487
|
-
unmarshalContact,
|
|
1488
|
-
unmarshalDNSZone,
|
|
1489
|
-
unmarshalDSRecord,
|
|
1490
|
-
unmarshalDeleteDNSZoneResponse,
|
|
1491
|
-
unmarshalDeleteExternalDomainResponse,
|
|
1492
|
-
unmarshalDeleteSSLCertificateResponse,
|
|
1493
|
-
unmarshalDomain,
|
|
1494
|
-
unmarshalGetDNSZoneTsigKeyResponse,
|
|
1495
|
-
unmarshalGetDNSZoneVersionDiffResponse,
|
|
1496
|
-
unmarshalGetDomainAuthCodeResponse,
|
|
1497
|
-
unmarshalHost,
|
|
1498
|
-
unmarshalImportProviderDNSZoneResponse,
|
|
1499
|
-
unmarshalImportRawDNSZoneResponse,
|
|
1500
|
-
unmarshalListContactsResponse,
|
|
1501
|
-
unmarshalListDNSZoneNameserversResponse,
|
|
1502
|
-
unmarshalListDNSZoneRecordsResponse,
|
|
1503
|
-
unmarshalListDNSZoneVersionRecordsResponse,
|
|
1504
|
-
unmarshalListDNSZoneVersionsResponse,
|
|
1505
|
-
unmarshalListDNSZonesResponse,
|
|
1506
|
-
unmarshalListDomainHostsResponse,
|
|
1507
|
-
unmarshalListDomainsResponse,
|
|
1508
|
-
unmarshalListInboundTransfersResponse,
|
|
1509
|
-
unmarshalListRenewableDomainsResponse,
|
|
1510
|
-
unmarshalListSSLCertificatesResponse,
|
|
1511
|
-
unmarshalListTasksResponse,
|
|
1512
|
-
unmarshalListTldsResponse,
|
|
1513
|
-
unmarshalOrderResponse,
|
|
1514
|
-
unmarshalRefreshDNSZoneResponse,
|
|
1515
|
-
unmarshalRegisterExternalDomainResponse,
|
|
1516
|
-
unmarshalRestoreDNSZoneVersionResponse,
|
|
1517
|
-
unmarshalRetryInboundTransferResponse,
|
|
1518
|
-
unmarshalSSLCertificate,
|
|
1519
|
-
unmarshalSearchAvailableDomainsConsoleResponse,
|
|
1520
|
-
unmarshalSearchAvailableDomainsResponse,
|
|
1521
|
-
unmarshalTask,
|
|
1522
|
-
unmarshalUpdateDNSZoneNameserversResponse,
|
|
1523
|
-
unmarshalUpdateDNSZoneRecordsResponse
|
|
1524
|
-
};
|
|
1027
|
+
export { marshalCloneDNSZoneRequest, marshalCreateDNSZoneRequest, marshalCreateSSLCertificateRequest, marshalDSRecord, marshalImportProviderDNSZoneRequest, marshalImportRawDNSZoneRequest, marshalRefreshDNSZoneRequest, marshalRegistrarApiBuyDomainsRequest, marshalRegistrarApiCheckContactsCompatibilityRequest, marshalRegistrarApiCreateDomainHostRequest, marshalRegistrarApiEnableDomainDNSSECRequest, marshalRegistrarApiRegisterExternalDomainRequest, marshalRegistrarApiRenewDomainsRequest, marshalRegistrarApiRetryInboundTransferRequest, marshalRegistrarApiTradeDomainRequest, marshalRegistrarApiTransferInDomainRequest, marshalRegistrarApiUpdateContactRequest, marshalRegistrarApiUpdateDomainHostRequest, marshalRegistrarApiUpdateDomainRequest, marshalUpdateDNSZoneNameserversRequest, marshalUpdateDNSZoneRecordsRequest, marshalUpdateDNSZoneRequest, unmarshalCheckContactsCompatibilityResponse, unmarshalClearDNSZoneRecordsResponse, unmarshalContact, unmarshalDNSZone, unmarshalDSRecord, unmarshalDeleteDNSZoneResponse, unmarshalDeleteExternalDomainResponse, unmarshalDeleteSSLCertificateResponse, unmarshalDomain, unmarshalGetDNSZoneTsigKeyResponse, unmarshalGetDNSZoneVersionDiffResponse, unmarshalGetDomainAuthCodeResponse, unmarshalHost, unmarshalImportProviderDNSZoneResponse, unmarshalImportRawDNSZoneResponse, unmarshalListContactsResponse, unmarshalListDNSZoneNameserversResponse, unmarshalListDNSZoneRecordsResponse, unmarshalListDNSZoneVersionRecordsResponse, unmarshalListDNSZoneVersionsResponse, unmarshalListDNSZonesResponse, unmarshalListDomainHostsResponse, unmarshalListDomainsResponse, unmarshalListInboundTransfersResponse, unmarshalListRenewableDomainsResponse, unmarshalListSSLCertificatesResponse, unmarshalListTasksResponse, unmarshalListTldsResponse, unmarshalOrderResponse, unmarshalRefreshDNSZoneResponse, unmarshalRegisterExternalDomainResponse, unmarshalRestoreDNSZoneVersionResponse, unmarshalRetryInboundTransferResponse, unmarshalSSLCertificate, unmarshalSearchAvailableDomainsConsoleResponse, unmarshalSearchAvailableDomainsResponse, unmarshalTask, unmarshalUpdateDNSZoneNameserversResponse, unmarshalUpdateDNSZoneRecordsResponse };
|