@scaleway/sdk-domain 2.3.1 → 2.5.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/dist/_virtual/_rolldown/runtime.js +2 -0
- package/dist/v2beta1/api.gen.js +8 -6
- package/dist/v2beta1/content.gen.js +9 -7
- package/dist/v2beta1/index.gen.js +3 -1
- package/dist/v2beta1/marshalling.gen.js +69 -64
- package/dist/v2beta1/metadata.gen.d.ts +240 -0
- package/dist/v2beta1/metadata.gen.js +268 -0
- package/dist/v2beta1/types.gen.d.ts +14 -6
- package/dist/v2beta1/types.gen.js +0 -0
- package/package.json +5 -5
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
//#region \0rolldown/runtime.js
|
|
1
2
|
var __defProp = Object.defineProperty;
|
|
2
3
|
var __exportAll = (all, no_symbols) => {
|
|
3
4
|
let target = {};
|
|
@@ -8,4 +9,5 @@ var __exportAll = (all, no_symbols) => {
|
|
|
8
9
|
if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
9
10
|
return target;
|
|
10
11
|
};
|
|
12
|
+
//#endregion
|
|
11
13
|
export { __exportAll };
|
package/dist/v2beta1/api.gen.js
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { DOMAIN_TRANSIENT_STATUSES, SSL_CERTIFICATE_TRANSIENT_STATUSES } from "./content.gen.js";
|
|
2
2
|
import { marshalCloneDNSZoneRequest, marshalCreateDNSZoneRequest, marshalCreateSSLCertificateRequest, marshalImportProviderDNSZoneRequest, marshalImportRawDNSZoneRequest, marshalRefreshDNSZoneRequest, marshalRegistrarApiBuyDomainsRequest, marshalRegistrarApiCheckContactsCompatibilityRequest, marshalRegistrarApiCreateDomainHostRequest, marshalRegistrarApiEnableDomainDNSSECRequest, marshalRegistrarApiRegisterExternalDomainRequest, marshalRegistrarApiRenewDomainsRequest, marshalRegistrarApiRetryInboundTransferRequest, marshalRegistrarApiTradeDomainRequest, marshalRegistrarApiTransferInDomainRequest, marshalRegistrarApiUpdateContactRequest, marshalRegistrarApiUpdateDomainHostRequest, marshalRegistrarApiUpdateDomainRequest, marshalUpdateDNSZoneNameserversRequest, marshalUpdateDNSZoneRecordsRequest, marshalUpdateDNSZoneRequest, unmarshalCheckContactsCompatibilityResponse, unmarshalClearDNSZoneRecordsResponse, unmarshalContact, unmarshalDNSZone, 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, unmarshalUpdateDNSZoneNameserversResponse, unmarshalUpdateDNSZoneRecordsResponse } from "./marshalling.gen.js";
|
|
3
|
-
import { API, enrichForPagination, unmarshalServiceInfo, urlParams, validatePathParam, waitForResource } from "@scaleway/sdk-client";
|
|
3
|
+
import { API as API$1, enrichForPagination, unmarshalServiceInfo, urlParams, validatePathParam, waitForResource } from "@scaleway/sdk-client";
|
|
4
|
+
//#region src/v2beta1/api.gen.ts
|
|
4
5
|
var jsonContentHeaders = { "Content-Type": "application/json; charset=utf-8" };
|
|
5
6
|
/**
|
|
6
7
|
* Domains and DNS API.
|
|
7
8
|
|
|
8
9
|
This API allows you to manage your domains, DNS zones and records.
|
|
9
10
|
*/
|
|
10
|
-
var API
|
|
11
|
+
var API = class extends API$1 {
|
|
11
12
|
pageOfListDNSZones = (request) => this.client.fetch({
|
|
12
13
|
method: "GET",
|
|
13
14
|
path: `/domain/v2beta1/dns-zones`,
|
|
@@ -307,7 +308,7 @@ var API$1 = class extends API {
|
|
|
307
308
|
|
|
308
309
|
Manage your domains and contacts.
|
|
309
310
|
*/
|
|
310
|
-
var RegistrarAPI = class extends API {
|
|
311
|
+
var RegistrarAPI = class extends API$1 {
|
|
311
312
|
pageOfListTasks = (request = {}) => this.client.fetch({
|
|
312
313
|
method: "GET",
|
|
313
314
|
path: `/domain/v2beta1/tasks`,
|
|
@@ -617,7 +618,7 @@ var RegistrarAPI = class extends API {
|
|
|
617
618
|
searchAvailableDomains = (request) => this.client.fetch({
|
|
618
619
|
method: "GET",
|
|
619
620
|
path: `/domain/v2beta1/search-domains`,
|
|
620
|
-
urlParams: urlParams(["domains", request.domains], ["strict_search", request.strictSearch], ["tlds", request.tlds])
|
|
621
|
+
urlParams: urlParams(["domains", request.domains], ["include_exact_match", request.includeExactMatch], ["strict_search", request.strictSearch], ["tlds", request.tlds])
|
|
621
622
|
}, unmarshalSearchAvailableDomainsResponse);
|
|
622
623
|
pageOfListTlds = (request = {}) => this.client.fetch({
|
|
623
624
|
method: "GET",
|
|
@@ -681,7 +682,7 @@ var RegistrarAPI = class extends API {
|
|
|
681
682
|
/**
|
|
682
683
|
* Unauthenticated Domain search API.
|
|
683
684
|
*/
|
|
684
|
-
var UnauthenticatedRegistrarAPI = class extends API {
|
|
685
|
+
var UnauthenticatedRegistrarAPI = class extends API$1 {
|
|
685
686
|
getServiceInfo = () => this.client.fetch({
|
|
686
687
|
method: "GET",
|
|
687
688
|
path: `/domain/v2beta1/search`
|
|
@@ -692,4 +693,5 @@ var UnauthenticatedRegistrarAPI = class extends API {
|
|
|
692
693
|
urlParams: urlParams(["domain", request.domain], ["strict_search", request.strictSearch], ["tlds", request.tlds])
|
|
693
694
|
}, unmarshalSearchAvailableDomainsConsoleResponse);
|
|
694
695
|
};
|
|
695
|
-
|
|
696
|
+
//#endregion
|
|
697
|
+
export { API, RegistrarAPI, UnauthenticatedRegistrarAPI };
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
+
//#region src/v2beta1/content.gen.ts
|
|
1
2
|
/** Lists transient statutes of the enum {@link DNSZoneStatus}. */
|
|
2
|
-
|
|
3
|
+
var DNS_ZONE_TRANSIENT_STATUSES = ["pending"];
|
|
3
4
|
/** Lists transient statutes of the enum {@link DomainFeatureStatus}. */
|
|
4
|
-
|
|
5
|
+
var DOMAIN_FEATURE_TRANSIENT_STATUSES = ["enabling", "disabling"];
|
|
5
6
|
/** Lists transient statutes of the enum {@link DomainRegistrationStatusTransferStatus}. */
|
|
6
|
-
|
|
7
|
+
var DOMAIN_REGISTRATION_STATUS_TRANSFER_TRANSIENT_STATUSES = ["pending", "processing"];
|
|
7
8
|
/** Lists transient statutes of the enum {@link DomainStatus}. */
|
|
8
|
-
|
|
9
|
+
var DOMAIN_TRANSIENT_STATUSES = [
|
|
9
10
|
"creating",
|
|
10
11
|
"renewing",
|
|
11
12
|
"xfering",
|
|
@@ -15,9 +16,10 @@ const DOMAIN_TRANSIENT_STATUSES = [
|
|
|
15
16
|
"deleting"
|
|
16
17
|
];
|
|
17
18
|
/** Lists transient statutes of the enum {@link HostStatus}. */
|
|
18
|
-
|
|
19
|
+
var HOST_TRANSIENT_STATUSES = ["updating", "deleting"];
|
|
19
20
|
/** Lists transient statutes of the enum {@link SSLCertificateStatus}. */
|
|
20
|
-
|
|
21
|
+
var SSL_CERTIFICATE_TRANSIENT_STATUSES = ["pending"];
|
|
21
22
|
/** Lists transient statutes of the enum {@link TaskStatus}. */
|
|
22
|
-
|
|
23
|
+
var TASK_TRANSIENT_STATUSES = ["pending"];
|
|
24
|
+
//#endregion
|
|
23
25
|
export { DNS_ZONE_TRANSIENT_STATUSES, DOMAIN_FEATURE_TRANSIENT_STATUSES, DOMAIN_REGISTRATION_STATUS_TRANSFER_TRANSIENT_STATUSES, DOMAIN_TRANSIENT_STATUSES, HOST_TRANSIENT_STATUSES, SSL_CERTIFICATE_TRANSIENT_STATUSES, TASK_TRANSIENT_STATUSES };
|
|
@@ -2,6 +2,7 @@ import { __exportAll } from "../_virtual/_rolldown/runtime.js";
|
|
|
2
2
|
import { DNS_ZONE_TRANSIENT_STATUSES, DOMAIN_FEATURE_TRANSIENT_STATUSES, DOMAIN_REGISTRATION_STATUS_TRANSFER_TRANSIENT_STATUSES, DOMAIN_TRANSIENT_STATUSES, HOST_TRANSIENT_STATUSES, SSL_CERTIFICATE_TRANSIENT_STATUSES, TASK_TRANSIENT_STATUSES } from "./content.gen.js";
|
|
3
3
|
import { 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 } from "./marshalling.gen.js";
|
|
4
4
|
import { API, RegistrarAPI, UnauthenticatedRegistrarAPI } from "./api.gen.js";
|
|
5
|
+
//#region src/v2beta1/index.gen.ts
|
|
5
6
|
var index_gen_exports = /* @__PURE__ */ __exportAll({
|
|
6
7
|
API: () => API,
|
|
7
8
|
DNS_ZONE_TRANSIENT_STATUSES: () => DNS_ZONE_TRANSIENT_STATUSES,
|
|
@@ -75,4 +76,5 @@ var index_gen_exports = /* @__PURE__ */ __exportAll({
|
|
|
75
76
|
unmarshalUpdateDNSZoneNameserversResponse: () => unmarshalUpdateDNSZoneNameserversResponse,
|
|
76
77
|
unmarshalUpdateDNSZoneRecordsResponse: () => unmarshalUpdateDNSZoneRecordsResponse
|
|
77
78
|
});
|
|
78
|
-
|
|
79
|
+
//#endregion
|
|
80
|
+
export { API, DNS_ZONE_TRANSIENT_STATUSES, DOMAIN_FEATURE_TRANSIENT_STATUSES, DOMAIN_REGISTRATION_STATUS_TRANSFER_TRANSIENT_STATUSES, DOMAIN_TRANSIENT_STATUSES, HOST_TRANSIENT_STATUSES, RegistrarAPI, SSL_CERTIFICATE_TRANSIENT_STATUSES, TASK_TRANSIENT_STATUSES, UnauthenticatedRegistrarAPI, index_gen_exports, 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 };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { isJSONObject, resolveOneOf, unmarshalArrayOfObject, unmarshalDate, unmarshalMapOfObject, unmarshalMoney } from "@scaleway/sdk-client";
|
|
2
|
+
//#region src/v2beta1/marshalling.gen.ts
|
|
2
3
|
var unmarshalContactExtensionFRAssociationInfo = (data) => {
|
|
3
4
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ContactExtensionFRAssociationInfo' failed as data isn't a dictionary.`);
|
|
4
5
|
return {
|
|
@@ -62,7 +63,7 @@ var unmarshalContactQuestion = (data) => {
|
|
|
62
63
|
question: data.question
|
|
63
64
|
};
|
|
64
65
|
};
|
|
65
|
-
|
|
66
|
+
var unmarshalContact = (data) => {
|
|
66
67
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'Contact' failed as data isn't a dictionary.`);
|
|
67
68
|
return {
|
|
68
69
|
addressLine1: data.address_line_1,
|
|
@@ -85,7 +86,7 @@ const unmarshalContact = (data) => {
|
|
|
85
86
|
lastname: data.lastname,
|
|
86
87
|
legalForm: data.legal_form,
|
|
87
88
|
phoneNumber: data.phone_number,
|
|
88
|
-
questions: unmarshalArrayOfObject(data.questions, unmarshalContactQuestion),
|
|
89
|
+
questions: data.questions ? unmarshalArrayOfObject(data.questions, unmarshalContactQuestion) : void 0,
|
|
89
90
|
resale: data.resale,
|
|
90
91
|
state: data.state,
|
|
91
92
|
status: data.status,
|
|
@@ -94,7 +95,7 @@ const unmarshalContact = (data) => {
|
|
|
94
95
|
zip: data.zip
|
|
95
96
|
};
|
|
96
97
|
};
|
|
97
|
-
|
|
98
|
+
var unmarshalDNSZone = (data) => {
|
|
98
99
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'DNSZone' failed as data isn't a dictionary.`);
|
|
99
100
|
return {
|
|
100
101
|
domain: data.domain,
|
|
@@ -109,7 +110,7 @@ const unmarshalDNSZone = (data) => {
|
|
|
109
110
|
updatedAt: unmarshalDate(data.updated_at)
|
|
110
111
|
};
|
|
111
112
|
};
|
|
112
|
-
|
|
113
|
+
var unmarshalHost = (data) => {
|
|
113
114
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'Host' failed as data isn't a dictionary.`);
|
|
114
115
|
return {
|
|
115
116
|
domain: data.domain,
|
|
@@ -118,7 +119,7 @@ const unmarshalHost = (data) => {
|
|
|
118
119
|
status: data.status
|
|
119
120
|
};
|
|
120
121
|
};
|
|
121
|
-
|
|
122
|
+
var unmarshalSSLCertificate = (data) => {
|
|
122
123
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'SSLCertificate' failed as data isn't a dictionary.`);
|
|
123
124
|
return {
|
|
124
125
|
alternativeDnsZones: data.alternative_dns_zones,
|
|
@@ -137,7 +138,7 @@ var unmarshalCheckContactsCompatibilityResponseContactCheckResult = (data) => {
|
|
|
137
138
|
errorMessage: data.error_message
|
|
138
139
|
};
|
|
139
140
|
};
|
|
140
|
-
|
|
141
|
+
var unmarshalCheckContactsCompatibilityResponse = (data) => {
|
|
141
142
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'CheckContactsCompatibilityResponse' failed as data isn't a dictionary.`);
|
|
142
143
|
return {
|
|
143
144
|
administrativeCheckResult: data.administrative_check_result ? unmarshalCheckContactsCompatibilityResponseContactCheckResult(data.administrative_check_result) : void 0,
|
|
@@ -146,19 +147,19 @@ const unmarshalCheckContactsCompatibilityResponse = (data) => {
|
|
|
146
147
|
technicalCheckResult: data.technical_check_result ? unmarshalCheckContactsCompatibilityResponseContactCheckResult(data.technical_check_result) : void 0
|
|
147
148
|
};
|
|
148
149
|
};
|
|
149
|
-
|
|
150
|
+
var unmarshalClearDNSZoneRecordsResponse = (data) => {
|
|
150
151
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ClearDNSZoneRecordsResponse' failed as data isn't a dictionary.`);
|
|
151
152
|
return {};
|
|
152
153
|
};
|
|
153
|
-
|
|
154
|
+
var unmarshalDeleteDNSZoneResponse = (data) => {
|
|
154
155
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'DeleteDNSZoneResponse' failed as data isn't a dictionary.`);
|
|
155
156
|
return {};
|
|
156
157
|
};
|
|
157
|
-
|
|
158
|
+
var unmarshalDeleteExternalDomainResponse = (data) => {
|
|
158
159
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'DeleteExternalDomainResponse' failed as data isn't a dictionary.`);
|
|
159
160
|
return {};
|
|
160
161
|
};
|
|
161
|
-
|
|
162
|
+
var unmarshalDeleteSSLCertificateResponse = (data) => {
|
|
162
163
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'DeleteSSLCertificateResponse' failed as data isn't a dictionary.`);
|
|
163
164
|
return {};
|
|
164
165
|
};
|
|
@@ -174,7 +175,7 @@ var unmarshalDSRecordDigest = (data) => {
|
|
|
174
175
|
type: data.type
|
|
175
176
|
};
|
|
176
177
|
};
|
|
177
|
-
|
|
178
|
+
var unmarshalDSRecord = (data) => {
|
|
178
179
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'DSRecord' failed as data isn't a dictionary.`);
|
|
179
180
|
return {
|
|
180
181
|
algorithm: data.algorithm,
|
|
@@ -222,7 +223,7 @@ var unmarshalTld = (data) => {
|
|
|
222
223
|
specifications: data.specifications
|
|
223
224
|
};
|
|
224
225
|
};
|
|
225
|
-
|
|
226
|
+
var unmarshalDomain = (data) => {
|
|
226
227
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'Domain' failed as data isn't a dictionary.`);
|
|
227
228
|
return {
|
|
228
229
|
administrativeContact: data.administrative_contact ? unmarshalContact(data.administrative_contact) : void 0,
|
|
@@ -247,7 +248,7 @@ const unmarshalDomain = (data) => {
|
|
|
247
248
|
updatedAt: unmarshalDate(data.updated_at)
|
|
248
249
|
};
|
|
249
250
|
};
|
|
250
|
-
|
|
251
|
+
var unmarshalGetDNSZoneTsigKeyResponse = (data) => {
|
|
251
252
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'GetDNSZoneTsigKeyResponse' failed as data isn't a dictionary.`);
|
|
252
253
|
return {
|
|
253
254
|
algorithm: data.algorithm,
|
|
@@ -360,19 +361,19 @@ var unmarshalRecordChange = (data) => {
|
|
|
360
361
|
set: data.set ? unmarshalRecordChangeSet(data.set) : void 0
|
|
361
362
|
};
|
|
362
363
|
};
|
|
363
|
-
|
|
364
|
+
var unmarshalGetDNSZoneVersionDiffResponse = (data) => {
|
|
364
365
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'GetDNSZoneVersionDiffResponse' failed as data isn't a dictionary.`);
|
|
365
366
|
return { changes: unmarshalArrayOfObject(data.changes, unmarshalRecordChange) };
|
|
366
367
|
};
|
|
367
|
-
|
|
368
|
+
var unmarshalGetDomainAuthCodeResponse = (data) => {
|
|
368
369
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'GetDomainAuthCodeResponse' failed as data isn't a dictionary.`);
|
|
369
370
|
return { authCode: data.auth_code };
|
|
370
371
|
};
|
|
371
|
-
|
|
372
|
+
var unmarshalImportProviderDNSZoneResponse = (data) => {
|
|
372
373
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ImportProviderDNSZoneResponse' failed as data isn't a dictionary.`);
|
|
373
374
|
return { records: unmarshalArrayOfObject(data.records, unmarshalDomainRecord) };
|
|
374
375
|
};
|
|
375
|
-
|
|
376
|
+
var unmarshalImportRawDNSZoneResponse = (data) => {
|
|
376
377
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ImportRawDNSZoneResponse' failed as data isn't a dictionary.`);
|
|
377
378
|
return { records: unmarshalArrayOfObject(data.records, unmarshalDomainRecord) };
|
|
378
379
|
};
|
|
@@ -391,7 +392,7 @@ var unmarshalContactRoles = (data) => {
|
|
|
391
392
|
roles: unmarshalMapOfObject(data.roles, unmarshalContactRolesRoles)
|
|
392
393
|
};
|
|
393
394
|
};
|
|
394
|
-
|
|
395
|
+
var unmarshalListContactsResponse = (data) => {
|
|
395
396
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListContactsResponse' failed as data isn't a dictionary.`);
|
|
396
397
|
return {
|
|
397
398
|
contacts: unmarshalArrayOfObject(data.contacts, unmarshalContactRoles),
|
|
@@ -405,18 +406,18 @@ var unmarshalNameserver = (data) => {
|
|
|
405
406
|
name: data.name
|
|
406
407
|
};
|
|
407
408
|
};
|
|
408
|
-
|
|
409
|
+
var unmarshalListDNSZoneNameserversResponse = (data) => {
|
|
409
410
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListDNSZoneNameserversResponse' failed as data isn't a dictionary.`);
|
|
410
411
|
return { ns: unmarshalArrayOfObject(data.ns, unmarshalNameserver) };
|
|
411
412
|
};
|
|
412
|
-
|
|
413
|
+
var unmarshalListDNSZoneRecordsResponse = (data) => {
|
|
413
414
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListDNSZoneRecordsResponse' failed as data isn't a dictionary.`);
|
|
414
415
|
return {
|
|
415
416
|
records: unmarshalArrayOfObject(data.records, unmarshalDomainRecord),
|
|
416
417
|
totalCount: data.total_count
|
|
417
418
|
};
|
|
418
419
|
};
|
|
419
|
-
|
|
420
|
+
var unmarshalListDNSZoneVersionRecordsResponse = (data) => {
|
|
420
421
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListDNSZoneVersionRecordsResponse' failed as data isn't a dictionary.`);
|
|
421
422
|
return {
|
|
422
423
|
records: unmarshalArrayOfObject(data.records, unmarshalDomainRecord),
|
|
@@ -430,21 +431,21 @@ var unmarshalDNSZoneVersion = (data) => {
|
|
|
430
431
|
id: data.id
|
|
431
432
|
};
|
|
432
433
|
};
|
|
433
|
-
|
|
434
|
+
var unmarshalListDNSZoneVersionsResponse = (data) => {
|
|
434
435
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListDNSZoneVersionsResponse' failed as data isn't a dictionary.`);
|
|
435
436
|
return {
|
|
436
437
|
totalCount: data.total_count,
|
|
437
438
|
versions: unmarshalArrayOfObject(data.versions, unmarshalDNSZoneVersion)
|
|
438
439
|
};
|
|
439
440
|
};
|
|
440
|
-
|
|
441
|
+
var unmarshalListDNSZonesResponse = (data) => {
|
|
441
442
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListDNSZonesResponse' failed as data isn't a dictionary.`);
|
|
442
443
|
return {
|
|
443
444
|
dnsZones: unmarshalArrayOfObject(data.dns_zones, unmarshalDNSZone),
|
|
444
445
|
totalCount: data.total_count
|
|
445
446
|
};
|
|
446
447
|
};
|
|
447
|
-
|
|
448
|
+
var unmarshalListDomainHostsResponse = (data) => {
|
|
448
449
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListDomainHostsResponse' failed as data isn't a dictionary.`);
|
|
449
450
|
return {
|
|
450
451
|
hosts: unmarshalArrayOfObject(data.hosts, unmarshalHost),
|
|
@@ -471,7 +472,7 @@ var unmarshalDomainSummary = (data) => {
|
|
|
471
472
|
updatedAt: unmarshalDate(data.updated_at)
|
|
472
473
|
};
|
|
473
474
|
};
|
|
474
|
-
|
|
475
|
+
var unmarshalListDomainsResponse = (data) => {
|
|
475
476
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListDomainsResponse' failed as data isn't a dictionary.`);
|
|
476
477
|
return {
|
|
477
478
|
domains: unmarshalArrayOfObject(data.domains, unmarshalDomainSummary),
|
|
@@ -491,7 +492,7 @@ var unmarshalInboundTransfer = (data) => {
|
|
|
491
492
|
taskId: data.task_id
|
|
492
493
|
};
|
|
493
494
|
};
|
|
494
|
-
|
|
495
|
+
var unmarshalListInboundTransfersResponse = (data) => {
|
|
495
496
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListInboundTransfersResponse' failed as data isn't a dictionary.`);
|
|
496
497
|
return {
|
|
497
498
|
inboundTransfers: unmarshalArrayOfObject(data.inbound_transfers, unmarshalInboundTransfer),
|
|
@@ -513,21 +514,21 @@ var unmarshalRenewableDomain = (data) => {
|
|
|
513
514
|
tld: data.tld ? unmarshalTld(data.tld) : void 0
|
|
514
515
|
};
|
|
515
516
|
};
|
|
516
|
-
|
|
517
|
+
var unmarshalListRenewableDomainsResponse = (data) => {
|
|
517
518
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListRenewableDomainsResponse' failed as data isn't a dictionary.`);
|
|
518
519
|
return {
|
|
519
520
|
domains: unmarshalArrayOfObject(data.domains, unmarshalRenewableDomain),
|
|
520
521
|
totalCount: data.total_count
|
|
521
522
|
};
|
|
522
523
|
};
|
|
523
|
-
|
|
524
|
+
var unmarshalListSSLCertificatesResponse = (data) => {
|
|
524
525
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListSSLCertificatesResponse' failed as data isn't a dictionary.`);
|
|
525
526
|
return {
|
|
526
527
|
certificates: unmarshalArrayOfObject(data.certificates, unmarshalSSLCertificate),
|
|
527
528
|
totalCount: data.total_count
|
|
528
529
|
};
|
|
529
530
|
};
|
|
530
|
-
|
|
531
|
+
var unmarshalTask = (data) => {
|
|
531
532
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'Task' failed as data isn't a dictionary.`);
|
|
532
533
|
return {
|
|
533
534
|
contactIdentifier: data.contact_identifier,
|
|
@@ -542,21 +543,21 @@ const unmarshalTask = (data) => {
|
|
|
542
543
|
updatedAt: unmarshalDate(data.updated_at)
|
|
543
544
|
};
|
|
544
545
|
};
|
|
545
|
-
|
|
546
|
+
var unmarshalListTasksResponse = (data) => {
|
|
546
547
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListTasksResponse' failed as data isn't a dictionary.`);
|
|
547
548
|
return {
|
|
548
549
|
tasks: unmarshalArrayOfObject(data.tasks, unmarshalTask),
|
|
549
550
|
totalCount: data.total_count
|
|
550
551
|
};
|
|
551
552
|
};
|
|
552
|
-
|
|
553
|
+
var unmarshalListTldsResponse = (data) => {
|
|
553
554
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListTldsResponse' failed as data isn't a dictionary.`);
|
|
554
555
|
return {
|
|
555
556
|
tlds: unmarshalArrayOfObject(data.tlds, unmarshalTld),
|
|
556
557
|
totalCount: data.total_count
|
|
557
558
|
};
|
|
558
559
|
};
|
|
559
|
-
|
|
560
|
+
var unmarshalOrderResponse = (data) => {
|
|
560
561
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'OrderResponse' failed as data isn't a dictionary.`);
|
|
561
562
|
return {
|
|
562
563
|
createdAt: unmarshalDate(data.created_at),
|
|
@@ -566,11 +567,11 @@ const unmarshalOrderResponse = (data) => {
|
|
|
566
567
|
taskId: data.task_id
|
|
567
568
|
};
|
|
568
569
|
};
|
|
569
|
-
|
|
570
|
+
var unmarshalRefreshDNSZoneResponse = (data) => {
|
|
570
571
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'RefreshDNSZoneResponse' failed as data isn't a dictionary.`);
|
|
571
572
|
return { dnsZones: unmarshalArrayOfObject(data.dns_zones, unmarshalDNSZone) };
|
|
572
573
|
};
|
|
573
|
-
|
|
574
|
+
var unmarshalRegisterExternalDomainResponse = (data) => {
|
|
574
575
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'RegisterExternalDomainResponse' failed as data isn't a dictionary.`);
|
|
575
576
|
return {
|
|
576
577
|
createdAt: unmarshalDate(data.created_at),
|
|
@@ -580,11 +581,11 @@ const unmarshalRegisterExternalDomainResponse = (data) => {
|
|
|
580
581
|
validationToken: data.validation_token
|
|
581
582
|
};
|
|
582
583
|
};
|
|
583
|
-
|
|
584
|
+
var unmarshalRestoreDNSZoneVersionResponse = (data) => {
|
|
584
585
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'RestoreDNSZoneVersionResponse' failed as data isn't a dictionary.`);
|
|
585
586
|
return {};
|
|
586
587
|
};
|
|
587
|
-
|
|
588
|
+
var unmarshalRetryInboundTransferResponse = (data) => {
|
|
588
589
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'RetryInboundTransferResponse' failed as data isn't a dictionary.`);
|
|
589
590
|
return {};
|
|
590
591
|
};
|
|
@@ -596,41 +597,44 @@ var unmarshalAvailableDomain = (data) => {
|
|
|
596
597
|
tld: data.tld ? unmarshalTld(data.tld) : void 0
|
|
597
598
|
};
|
|
598
599
|
};
|
|
599
|
-
|
|
600
|
+
var unmarshalSearchAvailableDomainsConsoleResponse = (data) => {
|
|
600
601
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'SearchAvailableDomainsConsoleResponse' failed as data isn't a dictionary.`);
|
|
601
602
|
return {
|
|
602
603
|
availableDomains: unmarshalArrayOfObject(data.available_domains, unmarshalAvailableDomain),
|
|
603
604
|
exactMatchDomain: data.exact_match_domain ? unmarshalAvailableDomain(data.exact_match_domain) : void 0
|
|
604
605
|
};
|
|
605
606
|
};
|
|
606
|
-
|
|
607
|
+
var unmarshalSearchAvailableDomainsResponse = (data) => {
|
|
607
608
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'SearchAvailableDomainsResponse' failed as data isn't a dictionary.`);
|
|
608
|
-
return {
|
|
609
|
+
return {
|
|
610
|
+
availableDomains: unmarshalArrayOfObject(data.available_domains, unmarshalAvailableDomain),
|
|
611
|
+
exactMatchDomain: data.exact_match_domain ? unmarshalAvailableDomain(data.exact_match_domain) : void 0
|
|
612
|
+
};
|
|
609
613
|
};
|
|
610
|
-
|
|
614
|
+
var unmarshalUpdateDNSZoneNameserversResponse = (data) => {
|
|
611
615
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'UpdateDNSZoneNameserversResponse' failed as data isn't a dictionary.`);
|
|
612
616
|
return { ns: unmarshalArrayOfObject(data.ns, unmarshalNameserver) };
|
|
613
617
|
};
|
|
614
|
-
|
|
618
|
+
var unmarshalUpdateDNSZoneRecordsResponse = (data) => {
|
|
615
619
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'UpdateDNSZoneRecordsResponse' failed as data isn't a dictionary.`);
|
|
616
620
|
return { records: unmarshalArrayOfObject(data.records, unmarshalDomainRecord) };
|
|
617
621
|
};
|
|
618
|
-
|
|
622
|
+
var marshalCloneDNSZoneRequest = (request, defaults) => ({
|
|
619
623
|
dest_dns_zone: request.destDnsZone,
|
|
620
624
|
overwrite: request.overwrite,
|
|
621
625
|
project_id: request.projectId ?? defaults.defaultProjectId
|
|
622
626
|
});
|
|
623
|
-
|
|
627
|
+
var marshalCreateDNSZoneRequest = (request, defaults) => ({
|
|
624
628
|
domain: request.domain,
|
|
625
629
|
project_id: request.projectId ?? defaults.defaultProjectId,
|
|
626
630
|
subdomain: request.subdomain
|
|
627
631
|
});
|
|
628
|
-
|
|
632
|
+
var marshalCreateSSLCertificateRequest = (request, defaults) => ({
|
|
629
633
|
alternative_dns_zones: request.alternativeDnsZones,
|
|
630
634
|
dns_zone: request.dnsZone
|
|
631
635
|
});
|
|
632
636
|
var marshalImportProviderDNSZoneRequestOnlineV1 = (request, defaults) => ({ token: request.token });
|
|
633
|
-
|
|
637
|
+
var marshalImportProviderDNSZoneRequest = (request, defaults) => ({ ...resolveOneOf([{
|
|
634
638
|
param: "online_v1",
|
|
635
639
|
value: request.onlineV1 !== void 0 ? marshalImportProviderDNSZoneRequestOnlineV1(request.onlineV1, defaults) : void 0
|
|
636
640
|
}]) });
|
|
@@ -644,7 +648,7 @@ var marshalImportRawDNSZoneRequestAXFRSource = (request, defaults) => ({
|
|
|
644
648
|
tsig_key: request.tsigKey !== void 0 ? marshalImportRawDNSZoneRequestTsigKey(request.tsigKey, defaults) : void 0
|
|
645
649
|
});
|
|
646
650
|
var marshalImportRawDNSZoneRequestBindSource = (request, defaults) => ({ content: request.content });
|
|
647
|
-
|
|
651
|
+
var marshalImportRawDNSZoneRequest = (request, defaults) => ({
|
|
648
652
|
content: request.content,
|
|
649
653
|
format: request.format,
|
|
650
654
|
project_id: request.projectId ?? defaults.defaultProjectId,
|
|
@@ -656,7 +660,7 @@ const marshalImportRawDNSZoneRequest = (request, defaults) => ({
|
|
|
656
660
|
value: request.axfrSource !== void 0 ? marshalImportRawDNSZoneRequestAXFRSource(request.axfrSource, defaults) : void 0
|
|
657
661
|
}])
|
|
658
662
|
});
|
|
659
|
-
|
|
663
|
+
var marshalRefreshDNSZoneRequest = (request, defaults) => ({
|
|
660
664
|
recreate_dns_zone: request.recreateDnsZone,
|
|
661
665
|
recreate_sub_dns_zone: request.recreateSubDnsZone
|
|
662
666
|
});
|
|
@@ -729,14 +733,14 @@ var marshalNewContact = (request, defaults) => ({
|
|
|
729
733
|
lastname: request.lastname,
|
|
730
734
|
legal_form: request.legalForm,
|
|
731
735
|
phone_number: request.phoneNumber,
|
|
732
|
-
questions: request.questions.map((elt) => marshalContactQuestion(elt, defaults)),
|
|
736
|
+
questions: request.questions !== void 0 ? request.questions.map((elt) => marshalContactQuestion(elt, defaults)) : void 0,
|
|
733
737
|
resale: request.resale,
|
|
734
738
|
state: request.state,
|
|
735
739
|
vat_identification_code: request.vatIdentificationCode,
|
|
736
740
|
whois_opt_in: request.whoisOptIn,
|
|
737
741
|
zip: request.zip
|
|
738
742
|
});
|
|
739
|
-
|
|
743
|
+
var marshalRegistrarApiBuyDomainsRequest = (request, defaults) => ({
|
|
740
744
|
domains: request.domains,
|
|
741
745
|
duration_in_years: request.durationInYears,
|
|
742
746
|
project_id: request.projectId ?? defaults.defaultProjectId,
|
|
@@ -762,7 +766,7 @@ const marshalRegistrarApiBuyDomainsRequest = (request, defaults) => ({
|
|
|
762
766
|
value: request.technicalContact !== void 0 ? marshalNewContact(request.technicalContact, defaults) : void 0
|
|
763
767
|
}])
|
|
764
768
|
});
|
|
765
|
-
|
|
769
|
+
var marshalRegistrarApiCheckContactsCompatibilityRequest = (request, defaults) => ({
|
|
766
770
|
domains: request.domains,
|
|
767
771
|
tlds: request.tlds,
|
|
768
772
|
...resolveOneOf([{
|
|
@@ -787,7 +791,7 @@ const marshalRegistrarApiCheckContactsCompatibilityRequest = (request, defaults)
|
|
|
787
791
|
value: request.technicalContact !== void 0 ? marshalNewContact(request.technicalContact, defaults) : void 0
|
|
788
792
|
}])
|
|
789
793
|
});
|
|
790
|
-
|
|
794
|
+
var marshalRegistrarApiCreateDomainHostRequest = (request, defaults) => ({
|
|
791
795
|
ips: request.ips,
|
|
792
796
|
name: request.name
|
|
793
797
|
});
|
|
@@ -797,7 +801,7 @@ var marshalDSRecordDigest = (request, defaults) => ({
|
|
|
797
801
|
public_key: request.publicKey !== void 0 ? marshalDSRecordPublicKey(request.publicKey, defaults) : void 0,
|
|
798
802
|
type: request.type
|
|
799
803
|
});
|
|
800
|
-
|
|
804
|
+
var marshalDSRecord = (request, defaults) => ({
|
|
801
805
|
algorithm: request.algorithm,
|
|
802
806
|
key_id: request.keyId,
|
|
803
807
|
...resolveOneOf([{
|
|
@@ -808,22 +812,22 @@ const marshalDSRecord = (request, defaults) => ({
|
|
|
808
812
|
value: request.publicKey !== void 0 ? marshalDSRecordPublicKey(request.publicKey, defaults) : void 0
|
|
809
813
|
}])
|
|
810
814
|
});
|
|
811
|
-
|
|
812
|
-
|
|
815
|
+
var marshalRegistrarApiEnableDomainDNSSECRequest = (request, defaults) => ({ ds_record: request.dsRecord !== void 0 ? marshalDSRecord(request.dsRecord, defaults) : void 0 });
|
|
816
|
+
var marshalRegistrarApiRegisterExternalDomainRequest = (request, defaults) => ({
|
|
813
817
|
domain: request.domain,
|
|
814
818
|
project_id: request.projectId ?? defaults.defaultProjectId
|
|
815
819
|
});
|
|
816
|
-
|
|
820
|
+
var marshalRegistrarApiRenewDomainsRequest = (request, defaults) => ({
|
|
817
821
|
domains: request.domains,
|
|
818
822
|
duration_in_years: request.durationInYears,
|
|
819
823
|
force_late_renewal: request.forceLateRenewal
|
|
820
824
|
});
|
|
821
|
-
|
|
825
|
+
var marshalRegistrarApiRetryInboundTransferRequest = (request, defaults) => ({
|
|
822
826
|
auth_code: request.authCode,
|
|
823
827
|
domain: request.domain,
|
|
824
828
|
project_id: request.projectId ?? defaults.defaultProjectId
|
|
825
829
|
});
|
|
826
|
-
|
|
830
|
+
var marshalRegistrarApiTradeDomainRequest = (request, defaults) => ({
|
|
827
831
|
project_id: request.projectId ?? defaults.defaultProjectId,
|
|
828
832
|
...resolveOneOf([{
|
|
829
833
|
param: "new_owner_contact_id",
|
|
@@ -837,7 +841,7 @@ var marshalTransferInDomainRequestTransferRequest = (request, defaults) => ({
|
|
|
837
841
|
auth_code: request.authCode,
|
|
838
842
|
domain: request.domain
|
|
839
843
|
});
|
|
840
|
-
|
|
844
|
+
var marshalRegistrarApiTransferInDomainRequest = (request, defaults) => ({
|
|
841
845
|
domains: request.domains.map((elt) => marshalTransferInDomainRequestTransferRequest(elt, defaults)),
|
|
842
846
|
project_id: request.projectId ?? defaults.defaultProjectId,
|
|
843
847
|
...resolveOneOf([{
|
|
@@ -866,7 +870,7 @@ var marshalUpdateContactRequestQuestion = (request, defaults) => ({
|
|
|
866
870
|
answer: request.answer,
|
|
867
871
|
question: request.question
|
|
868
872
|
});
|
|
869
|
-
|
|
873
|
+
var marshalRegistrarApiUpdateContactRequest = (request, defaults) => ({
|
|
870
874
|
address_line_1: request.addressLine1,
|
|
871
875
|
address_line_2: request.addressLine2,
|
|
872
876
|
city: request.city,
|
|
@@ -888,8 +892,8 @@ const marshalRegistrarApiUpdateContactRequest = (request, defaults) => ({
|
|
|
888
892
|
whois_opt_in: request.whoisOptIn,
|
|
889
893
|
zip: request.zip
|
|
890
894
|
});
|
|
891
|
-
|
|
892
|
-
|
|
895
|
+
var marshalRegistrarApiUpdateDomainHostRequest = (request, defaults) => ({ ips: request.ips });
|
|
896
|
+
var marshalRegistrarApiUpdateDomainRequest = (request, defaults) => ({
|
|
893
897
|
...resolveOneOf([{
|
|
894
898
|
param: "technical_contact_id",
|
|
895
899
|
value: request.technicalContactId
|
|
@@ -916,7 +920,7 @@ var marshalNameserver = (request, defaults) => ({
|
|
|
916
920
|
ip: request.ip,
|
|
917
921
|
name: request.name
|
|
918
922
|
});
|
|
919
|
-
|
|
923
|
+
var marshalUpdateDNSZoneNameserversRequest = (request, defaults) => ({ ns: request.ns.map((elt) => marshalNameserver(elt, defaults)) });
|
|
920
924
|
var marshalDomainRecordGeoIPConfigMatch = (request, defaults) => ({
|
|
921
925
|
continents: request.continents,
|
|
922
926
|
countries: request.countries,
|
|
@@ -1014,14 +1018,15 @@ var marshalRecordChange = (request, defaults) => ({ ...resolveOneOf([
|
|
|
1014
1018
|
value: request.clear !== void 0 ? marshalRecordChangeClear(request.clear, defaults) : void 0
|
|
1015
1019
|
}
|
|
1016
1020
|
]) });
|
|
1017
|
-
|
|
1021
|
+
var marshalUpdateDNSZoneRecordsRequest = (request, defaults) => ({
|
|
1018
1022
|
changes: request.changes.map((elt) => marshalRecordChange(elt, defaults)),
|
|
1019
1023
|
disallow_new_zone_creation: request.disallowNewZoneCreation,
|
|
1020
1024
|
return_all_records: request.returnAllRecords,
|
|
1021
1025
|
serial: request.serial
|
|
1022
1026
|
});
|
|
1023
|
-
|
|
1027
|
+
var marshalUpdateDNSZoneRequest = (request, defaults) => ({
|
|
1024
1028
|
new_dns_zone: request.newDnsZone,
|
|
1025
1029
|
project_id: request.projectId ?? defaults.defaultProjectId
|
|
1026
1030
|
});
|
|
1031
|
+
//#endregion
|
|
1027
1032
|
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 };
|
|
@@ -0,0 +1,240 @@
|
|
|
1
|
+
export declare const queriesMetadata: {
|
|
2
|
+
readonly namespace: "domain";
|
|
3
|
+
readonly version: "v2beta1";
|
|
4
|
+
readonly folderName: "domainv2beta1";
|
|
5
|
+
readonly services: readonly [{
|
|
6
|
+
readonly apiClass: "API";
|
|
7
|
+
readonly methods: readonly [{
|
|
8
|
+
readonly methodName: "listDNSZones";
|
|
9
|
+
readonly protoName: "ListDNSZones";
|
|
10
|
+
readonly paramsType: "ListDNSZonesRequest";
|
|
11
|
+
readonly returnType: "ListDNSZonesResponse";
|
|
12
|
+
readonly isList: true;
|
|
13
|
+
readonly paginationType: "offset";
|
|
14
|
+
readonly pageParamKey: "page";
|
|
15
|
+
readonly listItemType: "DNSZone";
|
|
16
|
+
readonly isPrivate: false;
|
|
17
|
+
readonly description: "\"";
|
|
18
|
+
}, {
|
|
19
|
+
readonly methodName: "listDNSZoneRecords";
|
|
20
|
+
readonly protoName: "ListDNSZoneRecords";
|
|
21
|
+
readonly paramsType: "ListDNSZoneRecordsRequest";
|
|
22
|
+
readonly returnType: "ListDNSZoneRecordsResponse";
|
|
23
|
+
readonly isList: true;
|
|
24
|
+
readonly paginationType: "offset";
|
|
25
|
+
readonly pageParamKey: "page";
|
|
26
|
+
readonly listItemType: "DomainRecord";
|
|
27
|
+
readonly isPrivate: false;
|
|
28
|
+
readonly description: "\"";
|
|
29
|
+
}, {
|
|
30
|
+
readonly methodName: "listDNSZoneNameservers";
|
|
31
|
+
readonly protoName: "ListDNSZoneNameservers";
|
|
32
|
+
readonly paramsType: "ListDNSZoneNameserversRequest";
|
|
33
|
+
readonly returnType: "ListDNSZoneNameserversResponse";
|
|
34
|
+
readonly isList: false;
|
|
35
|
+
readonly paginationType: "none";
|
|
36
|
+
readonly isPrivate: false;
|
|
37
|
+
readonly description: "\"";
|
|
38
|
+
}, {
|
|
39
|
+
readonly methodName: "listDNSZoneVersions";
|
|
40
|
+
readonly protoName: "ListDNSZoneVersions";
|
|
41
|
+
readonly paramsType: "ListDNSZoneVersionsRequest";
|
|
42
|
+
readonly returnType: "ListDNSZoneVersionsResponse";
|
|
43
|
+
readonly isList: true;
|
|
44
|
+
readonly paginationType: "offset";
|
|
45
|
+
readonly pageParamKey: "page";
|
|
46
|
+
readonly listItemType: "DNSZoneVersion";
|
|
47
|
+
readonly isPrivate: false;
|
|
48
|
+
readonly description: "\"";
|
|
49
|
+
}, {
|
|
50
|
+
readonly methodName: "listDNSZoneVersionRecords";
|
|
51
|
+
readonly protoName: "ListDNSZoneVersionRecords";
|
|
52
|
+
readonly paramsType: "ListDNSZoneVersionRecordsRequest";
|
|
53
|
+
readonly returnType: "ListDNSZoneVersionRecordsResponse";
|
|
54
|
+
readonly isList: true;
|
|
55
|
+
readonly paginationType: "offset";
|
|
56
|
+
readonly pageParamKey: "page";
|
|
57
|
+
readonly listItemType: "DomainRecord";
|
|
58
|
+
readonly isPrivate: false;
|
|
59
|
+
readonly description: "\"";
|
|
60
|
+
}, {
|
|
61
|
+
readonly methodName: "getDNSZoneVersionDiff";
|
|
62
|
+
readonly protoName: "GetDNSZoneVersionDiff";
|
|
63
|
+
readonly paramsType: "GetDNSZoneVersionDiffRequest";
|
|
64
|
+
readonly returnType: "GetDNSZoneVersionDiffResponse";
|
|
65
|
+
readonly isList: false;
|
|
66
|
+
readonly paginationType: "none";
|
|
67
|
+
readonly isPrivate: false;
|
|
68
|
+
readonly description: "\"";
|
|
69
|
+
}, {
|
|
70
|
+
readonly methodName: "getSSLCertificate";
|
|
71
|
+
readonly protoName: "GetSSLCertificate";
|
|
72
|
+
readonly paramsType: "GetSSLCertificateRequest";
|
|
73
|
+
readonly returnType: "SSLCertificate";
|
|
74
|
+
readonly isList: false;
|
|
75
|
+
readonly paginationType: "none";
|
|
76
|
+
readonly isPrivate: false;
|
|
77
|
+
readonly description: "\"";
|
|
78
|
+
readonly hasWaiter: true;
|
|
79
|
+
}, {
|
|
80
|
+
readonly methodName: "listSSLCertificates";
|
|
81
|
+
readonly protoName: "ListSSLCertificates";
|
|
82
|
+
readonly paramsType: "ListSSLCertificatesRequest";
|
|
83
|
+
readonly returnType: "ListSSLCertificatesResponse";
|
|
84
|
+
readonly isList: true;
|
|
85
|
+
readonly paginationType: "offset";
|
|
86
|
+
readonly pageParamKey: "page";
|
|
87
|
+
readonly listItemType: "SSLCertificate";
|
|
88
|
+
readonly isPrivate: false;
|
|
89
|
+
readonly description: "\"";
|
|
90
|
+
}, {
|
|
91
|
+
readonly methodName: "getDNSZoneTsigKey";
|
|
92
|
+
readonly protoName: "GetDNSZoneTsigKey";
|
|
93
|
+
readonly paramsType: "GetDNSZoneTsigKeyRequest";
|
|
94
|
+
readonly returnType: "GetDNSZoneTsigKeyResponse";
|
|
95
|
+
readonly isList: false;
|
|
96
|
+
readonly paginationType: "none";
|
|
97
|
+
readonly isPrivate: false;
|
|
98
|
+
readonly description: "\"";
|
|
99
|
+
}];
|
|
100
|
+
}, {
|
|
101
|
+
readonly apiClass: "RegistrarAPI";
|
|
102
|
+
readonly methods: readonly [{
|
|
103
|
+
readonly methodName: "listTasks";
|
|
104
|
+
readonly protoName: "ListTasks";
|
|
105
|
+
readonly paramsType: "RegistrarApiListTasksRequest";
|
|
106
|
+
readonly returnType: "ListTasksResponse";
|
|
107
|
+
readonly isList: true;
|
|
108
|
+
readonly paginationType: "offset";
|
|
109
|
+
readonly pageParamKey: "page";
|
|
110
|
+
readonly listItemType: "Task";
|
|
111
|
+
readonly isPrivate: false;
|
|
112
|
+
readonly description: "\"";
|
|
113
|
+
}, {
|
|
114
|
+
readonly methodName: "listInboundTransfers";
|
|
115
|
+
readonly protoName: "ListInboundTransfers";
|
|
116
|
+
readonly paramsType: "RegistrarApiListInboundTransfersRequest";
|
|
117
|
+
readonly returnType: "ListInboundTransfersResponse";
|
|
118
|
+
readonly isList: true;
|
|
119
|
+
readonly paginationType: "offset";
|
|
120
|
+
readonly pageParamKey: "page";
|
|
121
|
+
readonly listItemType: "InboundTransfer";
|
|
122
|
+
readonly isPrivate: false;
|
|
123
|
+
readonly description: "\"";
|
|
124
|
+
}, {
|
|
125
|
+
readonly methodName: "listContacts";
|
|
126
|
+
readonly protoName: "ListContacts";
|
|
127
|
+
readonly paramsType: "RegistrarApiListContactsRequest";
|
|
128
|
+
readonly returnType: "ListContactsResponse";
|
|
129
|
+
readonly isList: true;
|
|
130
|
+
readonly paginationType: "offset";
|
|
131
|
+
readonly pageParamKey: "page";
|
|
132
|
+
readonly listItemType: "ContactRoles";
|
|
133
|
+
readonly isPrivate: false;
|
|
134
|
+
readonly description: "\"";
|
|
135
|
+
}, {
|
|
136
|
+
readonly methodName: "getContact";
|
|
137
|
+
readonly protoName: "GetContact";
|
|
138
|
+
readonly paramsType: "RegistrarApiGetContactRequest";
|
|
139
|
+
readonly returnType: "Contact";
|
|
140
|
+
readonly isList: false;
|
|
141
|
+
readonly paginationType: "none";
|
|
142
|
+
readonly isPrivate: false;
|
|
143
|
+
readonly description: "\"";
|
|
144
|
+
}, {
|
|
145
|
+
readonly methodName: "listDomains";
|
|
146
|
+
readonly protoName: "ListDomains";
|
|
147
|
+
readonly paramsType: "RegistrarApiListDomainsRequest";
|
|
148
|
+
readonly returnType: "ListDomainsResponse";
|
|
149
|
+
readonly isList: true;
|
|
150
|
+
readonly paginationType: "offset";
|
|
151
|
+
readonly pageParamKey: "page";
|
|
152
|
+
readonly listItemType: "DomainSummary";
|
|
153
|
+
readonly isPrivate: false;
|
|
154
|
+
readonly description: "\"";
|
|
155
|
+
}, {
|
|
156
|
+
readonly methodName: "listRenewableDomains";
|
|
157
|
+
readonly protoName: "ListRenewableDomains";
|
|
158
|
+
readonly paramsType: "RegistrarApiListRenewableDomainsRequest";
|
|
159
|
+
readonly returnType: "ListRenewableDomainsResponse";
|
|
160
|
+
readonly isList: true;
|
|
161
|
+
readonly paginationType: "offset";
|
|
162
|
+
readonly pageParamKey: "page";
|
|
163
|
+
readonly listItemType: "RenewableDomain";
|
|
164
|
+
readonly isPrivate: false;
|
|
165
|
+
readonly description: "\"";
|
|
166
|
+
}, {
|
|
167
|
+
readonly methodName: "getDomain";
|
|
168
|
+
readonly protoName: "GetDomain";
|
|
169
|
+
readonly paramsType: "RegistrarApiGetDomainRequest";
|
|
170
|
+
readonly returnType: "Domain";
|
|
171
|
+
readonly isList: false;
|
|
172
|
+
readonly paginationType: "none";
|
|
173
|
+
readonly isPrivate: false;
|
|
174
|
+
readonly description: "\"";
|
|
175
|
+
readonly hasWaiter: true;
|
|
176
|
+
}, {
|
|
177
|
+
readonly methodName: "getDomainAuthCode";
|
|
178
|
+
readonly protoName: "GetDomainAuthCode";
|
|
179
|
+
readonly paramsType: "RegistrarApiGetDomainAuthCodeRequest";
|
|
180
|
+
readonly returnType: "GetDomainAuthCodeResponse";
|
|
181
|
+
readonly isList: false;
|
|
182
|
+
readonly paginationType: "none";
|
|
183
|
+
readonly isPrivate: false;
|
|
184
|
+
readonly description: "\"";
|
|
185
|
+
}, {
|
|
186
|
+
readonly methodName: "searchAvailableDomains";
|
|
187
|
+
readonly protoName: "SearchAvailableDomains";
|
|
188
|
+
readonly paramsType: "RegistrarApiSearchAvailableDomainsRequest";
|
|
189
|
+
readonly returnType: "SearchAvailableDomainsResponse";
|
|
190
|
+
readonly isList: false;
|
|
191
|
+
readonly paginationType: "none";
|
|
192
|
+
readonly isPrivate: false;
|
|
193
|
+
readonly description: "\"";
|
|
194
|
+
}, {
|
|
195
|
+
readonly methodName: "listTlds";
|
|
196
|
+
readonly protoName: "ListTlds";
|
|
197
|
+
readonly paramsType: "RegistrarApiListTldsRequest";
|
|
198
|
+
readonly returnType: "ListTldsResponse";
|
|
199
|
+
readonly isList: true;
|
|
200
|
+
readonly paginationType: "offset";
|
|
201
|
+
readonly pageParamKey: "page";
|
|
202
|
+
readonly listItemType: "Tld";
|
|
203
|
+
readonly isPrivate: false;
|
|
204
|
+
readonly description: "\"";
|
|
205
|
+
}, {
|
|
206
|
+
readonly methodName: "listDomainHosts";
|
|
207
|
+
readonly protoName: "ListDomainHosts";
|
|
208
|
+
readonly paramsType: "RegistrarApiListDomainHostsRequest";
|
|
209
|
+
readonly returnType: "ListDomainHostsResponse";
|
|
210
|
+
readonly isList: true;
|
|
211
|
+
readonly paginationType: "offset";
|
|
212
|
+
readonly pageParamKey: "page";
|
|
213
|
+
readonly listItemType: "Host";
|
|
214
|
+
readonly isPrivate: false;
|
|
215
|
+
readonly description: "\"";
|
|
216
|
+
}];
|
|
217
|
+
}, {
|
|
218
|
+
readonly apiClass: "UnauthenticatedRegistrarAPI";
|
|
219
|
+
readonly methods: readonly [{
|
|
220
|
+
readonly methodName: "getServiceInfo";
|
|
221
|
+
readonly protoName: "GetServiceInfo";
|
|
222
|
+
readonly paramsType: "";
|
|
223
|
+
readonly returnType: "ServiceInfo";
|
|
224
|
+
readonly isList: false;
|
|
225
|
+
readonly paginationType: "none";
|
|
226
|
+
readonly isPrivate: false;
|
|
227
|
+
readonly description: "\"";
|
|
228
|
+
}, {
|
|
229
|
+
readonly methodName: "searchAvailableDomainsConsole";
|
|
230
|
+
readonly protoName: "SearchAvailableDomainsConsole";
|
|
231
|
+
readonly paramsType: "UnauthenticatedRegistrarApiSearchAvailableDomainsConsoleRequest";
|
|
232
|
+
readonly returnType: "SearchAvailableDomainsConsoleResponse";
|
|
233
|
+
readonly isList: false;
|
|
234
|
+
readonly paginationType: "none";
|
|
235
|
+
readonly isPrivate: false;
|
|
236
|
+
readonly description: "\"";
|
|
237
|
+
}];
|
|
238
|
+
}];
|
|
239
|
+
};
|
|
240
|
+
export type QueriesMetadata = typeof queriesMetadata;
|
|
@@ -0,0 +1,268 @@
|
|
|
1
|
+
//#region src/v2beta1/metadata.gen.ts
|
|
2
|
+
var queriesMetadata = {
|
|
3
|
+
namespace: "domain",
|
|
4
|
+
version: "v2beta1",
|
|
5
|
+
folderName: "domainv2beta1",
|
|
6
|
+
services: [
|
|
7
|
+
{
|
|
8
|
+
apiClass: "API",
|
|
9
|
+
methods: [
|
|
10
|
+
{
|
|
11
|
+
methodName: "listDNSZones",
|
|
12
|
+
protoName: "ListDNSZones",
|
|
13
|
+
paramsType: "ListDNSZonesRequest",
|
|
14
|
+
returnType: "ListDNSZonesResponse",
|
|
15
|
+
isList: true,
|
|
16
|
+
paginationType: "offset",
|
|
17
|
+
pageParamKey: "page",
|
|
18
|
+
listItemType: "DNSZone",
|
|
19
|
+
isPrivate: false,
|
|
20
|
+
description: "\""
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
methodName: "listDNSZoneRecords",
|
|
24
|
+
protoName: "ListDNSZoneRecords",
|
|
25
|
+
paramsType: "ListDNSZoneRecordsRequest",
|
|
26
|
+
returnType: "ListDNSZoneRecordsResponse",
|
|
27
|
+
isList: true,
|
|
28
|
+
paginationType: "offset",
|
|
29
|
+
pageParamKey: "page",
|
|
30
|
+
listItemType: "DomainRecord",
|
|
31
|
+
isPrivate: false,
|
|
32
|
+
description: "\""
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
methodName: "listDNSZoneNameservers",
|
|
36
|
+
protoName: "ListDNSZoneNameservers",
|
|
37
|
+
paramsType: "ListDNSZoneNameserversRequest",
|
|
38
|
+
returnType: "ListDNSZoneNameserversResponse",
|
|
39
|
+
isList: false,
|
|
40
|
+
paginationType: "none",
|
|
41
|
+
isPrivate: false,
|
|
42
|
+
description: "\""
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
methodName: "listDNSZoneVersions",
|
|
46
|
+
protoName: "ListDNSZoneVersions",
|
|
47
|
+
paramsType: "ListDNSZoneVersionsRequest",
|
|
48
|
+
returnType: "ListDNSZoneVersionsResponse",
|
|
49
|
+
isList: true,
|
|
50
|
+
paginationType: "offset",
|
|
51
|
+
pageParamKey: "page",
|
|
52
|
+
listItemType: "DNSZoneVersion",
|
|
53
|
+
isPrivate: false,
|
|
54
|
+
description: "\""
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
methodName: "listDNSZoneVersionRecords",
|
|
58
|
+
protoName: "ListDNSZoneVersionRecords",
|
|
59
|
+
paramsType: "ListDNSZoneVersionRecordsRequest",
|
|
60
|
+
returnType: "ListDNSZoneVersionRecordsResponse",
|
|
61
|
+
isList: true,
|
|
62
|
+
paginationType: "offset",
|
|
63
|
+
pageParamKey: "page",
|
|
64
|
+
listItemType: "DomainRecord",
|
|
65
|
+
isPrivate: false,
|
|
66
|
+
description: "\""
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
methodName: "getDNSZoneVersionDiff",
|
|
70
|
+
protoName: "GetDNSZoneVersionDiff",
|
|
71
|
+
paramsType: "GetDNSZoneVersionDiffRequest",
|
|
72
|
+
returnType: "GetDNSZoneVersionDiffResponse",
|
|
73
|
+
isList: false,
|
|
74
|
+
paginationType: "none",
|
|
75
|
+
isPrivate: false,
|
|
76
|
+
description: "\""
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
methodName: "getSSLCertificate",
|
|
80
|
+
protoName: "GetSSLCertificate",
|
|
81
|
+
paramsType: "GetSSLCertificateRequest",
|
|
82
|
+
returnType: "SSLCertificate",
|
|
83
|
+
isList: false,
|
|
84
|
+
paginationType: "none",
|
|
85
|
+
isPrivate: false,
|
|
86
|
+
description: "\"",
|
|
87
|
+
hasWaiter: true
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
methodName: "listSSLCertificates",
|
|
91
|
+
protoName: "ListSSLCertificates",
|
|
92
|
+
paramsType: "ListSSLCertificatesRequest",
|
|
93
|
+
returnType: "ListSSLCertificatesResponse",
|
|
94
|
+
isList: true,
|
|
95
|
+
paginationType: "offset",
|
|
96
|
+
pageParamKey: "page",
|
|
97
|
+
listItemType: "SSLCertificate",
|
|
98
|
+
isPrivate: false,
|
|
99
|
+
description: "\""
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
methodName: "getDNSZoneTsigKey",
|
|
103
|
+
protoName: "GetDNSZoneTsigKey",
|
|
104
|
+
paramsType: "GetDNSZoneTsigKeyRequest",
|
|
105
|
+
returnType: "GetDNSZoneTsigKeyResponse",
|
|
106
|
+
isList: false,
|
|
107
|
+
paginationType: "none",
|
|
108
|
+
isPrivate: false,
|
|
109
|
+
description: "\""
|
|
110
|
+
}
|
|
111
|
+
]
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
apiClass: "RegistrarAPI",
|
|
115
|
+
methods: [
|
|
116
|
+
{
|
|
117
|
+
methodName: "listTasks",
|
|
118
|
+
protoName: "ListTasks",
|
|
119
|
+
paramsType: "RegistrarApiListTasksRequest",
|
|
120
|
+
returnType: "ListTasksResponse",
|
|
121
|
+
isList: true,
|
|
122
|
+
paginationType: "offset",
|
|
123
|
+
pageParamKey: "page",
|
|
124
|
+
listItemType: "Task",
|
|
125
|
+
isPrivate: false,
|
|
126
|
+
description: "\""
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
methodName: "listInboundTransfers",
|
|
130
|
+
protoName: "ListInboundTransfers",
|
|
131
|
+
paramsType: "RegistrarApiListInboundTransfersRequest",
|
|
132
|
+
returnType: "ListInboundTransfersResponse",
|
|
133
|
+
isList: true,
|
|
134
|
+
paginationType: "offset",
|
|
135
|
+
pageParamKey: "page",
|
|
136
|
+
listItemType: "InboundTransfer",
|
|
137
|
+
isPrivate: false,
|
|
138
|
+
description: "\""
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
methodName: "listContacts",
|
|
142
|
+
protoName: "ListContacts",
|
|
143
|
+
paramsType: "RegistrarApiListContactsRequest",
|
|
144
|
+
returnType: "ListContactsResponse",
|
|
145
|
+
isList: true,
|
|
146
|
+
paginationType: "offset",
|
|
147
|
+
pageParamKey: "page",
|
|
148
|
+
listItemType: "ContactRoles",
|
|
149
|
+
isPrivate: false,
|
|
150
|
+
description: "\""
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
methodName: "getContact",
|
|
154
|
+
protoName: "GetContact",
|
|
155
|
+
paramsType: "RegistrarApiGetContactRequest",
|
|
156
|
+
returnType: "Contact",
|
|
157
|
+
isList: false,
|
|
158
|
+
paginationType: "none",
|
|
159
|
+
isPrivate: false,
|
|
160
|
+
description: "\""
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
methodName: "listDomains",
|
|
164
|
+
protoName: "ListDomains",
|
|
165
|
+
paramsType: "RegistrarApiListDomainsRequest",
|
|
166
|
+
returnType: "ListDomainsResponse",
|
|
167
|
+
isList: true,
|
|
168
|
+
paginationType: "offset",
|
|
169
|
+
pageParamKey: "page",
|
|
170
|
+
listItemType: "DomainSummary",
|
|
171
|
+
isPrivate: false,
|
|
172
|
+
description: "\""
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
methodName: "listRenewableDomains",
|
|
176
|
+
protoName: "ListRenewableDomains",
|
|
177
|
+
paramsType: "RegistrarApiListRenewableDomainsRequest",
|
|
178
|
+
returnType: "ListRenewableDomainsResponse",
|
|
179
|
+
isList: true,
|
|
180
|
+
paginationType: "offset",
|
|
181
|
+
pageParamKey: "page",
|
|
182
|
+
listItemType: "RenewableDomain",
|
|
183
|
+
isPrivate: false,
|
|
184
|
+
description: "\""
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
methodName: "getDomain",
|
|
188
|
+
protoName: "GetDomain",
|
|
189
|
+
paramsType: "RegistrarApiGetDomainRequest",
|
|
190
|
+
returnType: "Domain",
|
|
191
|
+
isList: false,
|
|
192
|
+
paginationType: "none",
|
|
193
|
+
isPrivate: false,
|
|
194
|
+
description: "\"",
|
|
195
|
+
hasWaiter: true
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
methodName: "getDomainAuthCode",
|
|
199
|
+
protoName: "GetDomainAuthCode",
|
|
200
|
+
paramsType: "RegistrarApiGetDomainAuthCodeRequest",
|
|
201
|
+
returnType: "GetDomainAuthCodeResponse",
|
|
202
|
+
isList: false,
|
|
203
|
+
paginationType: "none",
|
|
204
|
+
isPrivate: false,
|
|
205
|
+
description: "\""
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
methodName: "searchAvailableDomains",
|
|
209
|
+
protoName: "SearchAvailableDomains",
|
|
210
|
+
paramsType: "RegistrarApiSearchAvailableDomainsRequest",
|
|
211
|
+
returnType: "SearchAvailableDomainsResponse",
|
|
212
|
+
isList: false,
|
|
213
|
+
paginationType: "none",
|
|
214
|
+
isPrivate: false,
|
|
215
|
+
description: "\""
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
methodName: "listTlds",
|
|
219
|
+
protoName: "ListTlds",
|
|
220
|
+
paramsType: "RegistrarApiListTldsRequest",
|
|
221
|
+
returnType: "ListTldsResponse",
|
|
222
|
+
isList: true,
|
|
223
|
+
paginationType: "offset",
|
|
224
|
+
pageParamKey: "page",
|
|
225
|
+
listItemType: "Tld",
|
|
226
|
+
isPrivate: false,
|
|
227
|
+
description: "\""
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
methodName: "listDomainHosts",
|
|
231
|
+
protoName: "ListDomainHosts",
|
|
232
|
+
paramsType: "RegistrarApiListDomainHostsRequest",
|
|
233
|
+
returnType: "ListDomainHostsResponse",
|
|
234
|
+
isList: true,
|
|
235
|
+
paginationType: "offset",
|
|
236
|
+
pageParamKey: "page",
|
|
237
|
+
listItemType: "Host",
|
|
238
|
+
isPrivate: false,
|
|
239
|
+
description: "\""
|
|
240
|
+
}
|
|
241
|
+
]
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
apiClass: "UnauthenticatedRegistrarAPI",
|
|
245
|
+
methods: [{
|
|
246
|
+
methodName: "getServiceInfo",
|
|
247
|
+
protoName: "GetServiceInfo",
|
|
248
|
+
paramsType: "",
|
|
249
|
+
returnType: "ServiceInfo",
|
|
250
|
+
isList: false,
|
|
251
|
+
paginationType: "none",
|
|
252
|
+
isPrivate: false,
|
|
253
|
+
description: "\""
|
|
254
|
+
}, {
|
|
255
|
+
methodName: "searchAvailableDomainsConsole",
|
|
256
|
+
protoName: "SearchAvailableDomainsConsole",
|
|
257
|
+
paramsType: "UnauthenticatedRegistrarApiSearchAvailableDomainsConsoleRequest",
|
|
258
|
+
returnType: "SearchAvailableDomainsConsoleResponse",
|
|
259
|
+
isList: false,
|
|
260
|
+
paginationType: "none",
|
|
261
|
+
isPrivate: false,
|
|
262
|
+
description: "\""
|
|
263
|
+
}]
|
|
264
|
+
}
|
|
265
|
+
]
|
|
266
|
+
};
|
|
267
|
+
//#endregion
|
|
268
|
+
export { queriesMetadata };
|
|
@@ -154,11 +154,11 @@ export interface ContactExtensionIT {
|
|
|
154
154
|
/**
|
|
155
155
|
* @deprecated This option is useless anymore.
|
|
156
156
|
*/
|
|
157
|
-
europeanCitizenship
|
|
157
|
+
europeanCitizenship?: string;
|
|
158
158
|
/**
|
|
159
159
|
* @deprecated Tax_code is renamed to pin.
|
|
160
160
|
*/
|
|
161
|
-
taxCode
|
|
161
|
+
taxCode?: string;
|
|
162
162
|
/**
|
|
163
163
|
* Domain name registrant's Taxcode (mandatory / only optional when the trustee is used)
|
|
164
164
|
|
|
@@ -261,7 +261,7 @@ export interface Contact {
|
|
|
261
261
|
/**
|
|
262
262
|
* @deprecated
|
|
263
263
|
*/
|
|
264
|
-
questions
|
|
264
|
+
questions?: ContactQuestion[];
|
|
265
265
|
}
|
|
266
266
|
export interface ContactRolesRoles {
|
|
267
267
|
isOwner: boolean;
|
|
@@ -312,7 +312,7 @@ export interface NewContact {
|
|
|
312
312
|
/**
|
|
313
313
|
* @deprecated
|
|
314
314
|
*/
|
|
315
|
-
questions
|
|
315
|
+
questions?: ContactQuestion[];
|
|
316
316
|
}
|
|
317
317
|
export interface CheckContactsCompatibilityResponseContactCheckResult {
|
|
318
318
|
compatible: boolean;
|
|
@@ -714,7 +714,7 @@ export type ImportRawDNSZoneRequest = {
|
|
|
714
714
|
/**
|
|
715
715
|
* @deprecated
|
|
716
716
|
*/
|
|
717
|
-
content
|
|
717
|
+
content?: string;
|
|
718
718
|
projectId?: string;
|
|
719
719
|
/**
|
|
720
720
|
* @deprecated
|
|
@@ -864,7 +864,7 @@ export type ListDNSZonesRequest = {
|
|
|
864
864
|
/**
|
|
865
865
|
* @deprecated DNS zone on which to filter the returned DNS zones.
|
|
866
866
|
*/
|
|
867
|
-
dnsZone
|
|
867
|
+
dnsZone?: string;
|
|
868
868
|
/**
|
|
869
869
|
* DNS zones on which to filter the returned DNS zones.
|
|
870
870
|
*/
|
|
@@ -1179,6 +1179,10 @@ export type RegistrarApiSearchAvailableDomainsRequest = {
|
|
|
1179
1179
|
* Search exact match.
|
|
1180
1180
|
*/
|
|
1181
1181
|
strictSearch: boolean;
|
|
1182
|
+
/**
|
|
1183
|
+
* If an exact match is found, include it in response as a separate element.
|
|
1184
|
+
*/
|
|
1185
|
+
includeExactMatch: boolean;
|
|
1182
1186
|
};
|
|
1183
1187
|
export type RegistrarApiTradeDomainRequest = {
|
|
1184
1188
|
domain: string;
|
|
@@ -1313,6 +1317,10 @@ export interface SearchAvailableDomainsResponse {
|
|
|
1313
1317
|
* Array of available domains.
|
|
1314
1318
|
*/
|
|
1315
1319
|
availableDomains: AvailableDomain[];
|
|
1320
|
+
/**
|
|
1321
|
+
* If an exact match was asked and found, the result is in this field.
|
|
1322
|
+
*/
|
|
1323
|
+
exactMatchDomain?: AvailableDomain;
|
|
1316
1324
|
}
|
|
1317
1325
|
export type UnauthenticatedRegistrarApiSearchAvailableDomainsConsoleRequest = {
|
|
1318
1326
|
domain: string;
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scaleway/sdk-domain",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.5.0",
|
|
4
4
|
"description": "Scaleway SDK domain",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"files": [
|
|
@@ -26,14 +26,14 @@
|
|
|
26
26
|
"node": ">=20.19.6"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@scaleway/random-name": "5.1.
|
|
30
|
-
"@scaleway/sdk-std": "2.2.
|
|
29
|
+
"@scaleway/random-name": "5.1.4",
|
|
30
|
+
"@scaleway/sdk-std": "2.2.2"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
|
-
"@scaleway/sdk-client": "^2.2.
|
|
33
|
+
"@scaleway/sdk-client": "^2.2.2"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@scaleway/sdk-client": "^2.2.
|
|
36
|
+
"@scaleway/sdk-client": "^2.2.2"
|
|
37
37
|
},
|
|
38
38
|
"scripts": {
|
|
39
39
|
"package:check": "pnpm publint",
|