@scaleway/sdk-domain 2.3.1 → 2.4.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.
@@ -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 };
@@ -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$1 = class extends 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
- export { API$1 as API, RegistrarAPI, UnauthenticatedRegistrarAPI };
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
- const DNS_ZONE_TRANSIENT_STATUSES = ["pending"];
3
+ var DNS_ZONE_TRANSIENT_STATUSES = ["pending"];
3
4
  /** Lists transient statutes of the enum {@link DomainFeatureStatus}. */
4
- const DOMAIN_FEATURE_TRANSIENT_STATUSES = ["enabling", "disabling"];
5
+ var DOMAIN_FEATURE_TRANSIENT_STATUSES = ["enabling", "disabling"];
5
6
  /** Lists transient statutes of the enum {@link DomainRegistrationStatusTransferStatus}. */
6
- const DOMAIN_REGISTRATION_STATUS_TRANSFER_TRANSIENT_STATUSES = ["pending", "processing"];
7
+ var DOMAIN_REGISTRATION_STATUS_TRANSFER_TRANSIENT_STATUSES = ["pending", "processing"];
7
8
  /** Lists transient statutes of the enum {@link DomainStatus}. */
8
- const DOMAIN_TRANSIENT_STATUSES = [
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
- const HOST_TRANSIENT_STATUSES = ["updating", "deleting"];
19
+ var HOST_TRANSIENT_STATUSES = ["updating", "deleting"];
19
20
  /** Lists transient statutes of the enum {@link SSLCertificateStatus}. */
20
- const SSL_CERTIFICATE_TRANSIENT_STATUSES = ["pending"];
21
+ var SSL_CERTIFICATE_TRANSIENT_STATUSES = ["pending"];
21
22
  /** Lists transient statutes of the enum {@link TaskStatus}. */
22
- const TASK_TRANSIENT_STATUSES = ["pending"];
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
- export { index_gen_exports };
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
- const unmarshalContact = (data) => {
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,
@@ -94,7 +95,7 @@ const unmarshalContact = (data) => {
94
95
  zip: data.zip
95
96
  };
96
97
  };
97
- const unmarshalDNSZone = (data) => {
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
- const unmarshalHost = (data) => {
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
- const unmarshalSSLCertificate = (data) => {
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
- const unmarshalCheckContactsCompatibilityResponse = (data) => {
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
- const unmarshalClearDNSZoneRecordsResponse = (data) => {
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
- const unmarshalDeleteDNSZoneResponse = (data) => {
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
- const unmarshalDeleteExternalDomainResponse = (data) => {
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
- const unmarshalDeleteSSLCertificateResponse = (data) => {
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
- const unmarshalDSRecord = (data) => {
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
- const unmarshalDomain = (data) => {
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
- const unmarshalGetDNSZoneTsigKeyResponse = (data) => {
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
- const unmarshalGetDNSZoneVersionDiffResponse = (data) => {
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
- const unmarshalGetDomainAuthCodeResponse = (data) => {
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
- const unmarshalImportProviderDNSZoneResponse = (data) => {
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
- const unmarshalImportRawDNSZoneResponse = (data) => {
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
- const unmarshalListContactsResponse = (data) => {
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
- const unmarshalListDNSZoneNameserversResponse = (data) => {
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
- const unmarshalListDNSZoneRecordsResponse = (data) => {
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
- const unmarshalListDNSZoneVersionRecordsResponse = (data) => {
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
- const unmarshalListDNSZoneVersionsResponse = (data) => {
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
- const unmarshalListDNSZonesResponse = (data) => {
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
- const unmarshalListDomainHostsResponse = (data) => {
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
- const unmarshalListDomainsResponse = (data) => {
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
- const unmarshalListInboundTransfersResponse = (data) => {
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
- const unmarshalListRenewableDomainsResponse = (data) => {
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
- const unmarshalListSSLCertificatesResponse = (data) => {
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
- const unmarshalTask = (data) => {
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
- const unmarshalListTasksResponse = (data) => {
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
- const unmarshalListTldsResponse = (data) => {
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
- const unmarshalOrderResponse = (data) => {
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
- const unmarshalRefreshDNSZoneResponse = (data) => {
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
- const unmarshalRegisterExternalDomainResponse = (data) => {
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
- const unmarshalRestoreDNSZoneVersionResponse = (data) => {
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
- const unmarshalRetryInboundTransferResponse = (data) => {
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
- const unmarshalSearchAvailableDomainsConsoleResponse = (data) => {
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
- const unmarshalSearchAvailableDomainsResponse = (data) => {
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 { availableDomains: unmarshalArrayOfObject(data.available_domains, unmarshalAvailableDomain) };
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
- const unmarshalUpdateDNSZoneNameserversResponse = (data) => {
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
- const unmarshalUpdateDNSZoneRecordsResponse = (data) => {
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
- const marshalCloneDNSZoneRequest = (request, defaults) => ({
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
- const marshalCreateDNSZoneRequest = (request, defaults) => ({
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
- const marshalCreateSSLCertificateRequest = (request, defaults) => ({
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
- const marshalImportProviderDNSZoneRequest = (request, defaults) => ({ ...resolveOneOf([{
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
- const marshalImportRawDNSZoneRequest = (request, defaults) => ({
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
- const marshalRefreshDNSZoneRequest = (request, defaults) => ({
663
+ var marshalRefreshDNSZoneRequest = (request, defaults) => ({
660
664
  recreate_dns_zone: request.recreateDnsZone,
661
665
  recreate_sub_dns_zone: request.recreateSubDnsZone
662
666
  });
@@ -736,7 +740,7 @@ var marshalNewContact = (request, defaults) => ({
736
740
  whois_opt_in: request.whoisOptIn,
737
741
  zip: request.zip
738
742
  });
739
- const marshalRegistrarApiBuyDomainsRequest = (request, defaults) => ({
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
- const marshalRegistrarApiCheckContactsCompatibilityRequest = (request, defaults) => ({
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
- const marshalRegistrarApiCreateDomainHostRequest = (request, defaults) => ({
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
- const marshalDSRecord = (request, defaults) => ({
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
- const marshalRegistrarApiEnableDomainDNSSECRequest = (request, defaults) => ({ ds_record: request.dsRecord !== void 0 ? marshalDSRecord(request.dsRecord, defaults) : void 0 });
812
- const marshalRegistrarApiRegisterExternalDomainRequest = (request, defaults) => ({
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
- const marshalRegistrarApiRenewDomainsRequest = (request, defaults) => ({
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
- const marshalRegistrarApiRetryInboundTransferRequest = (request, defaults) => ({
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
- const marshalRegistrarApiTradeDomainRequest = (request, defaults) => ({
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
- const marshalRegistrarApiTransferInDomainRequest = (request, defaults) => ({
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
- const marshalRegistrarApiUpdateContactRequest = (request, defaults) => ({
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
- const marshalRegistrarApiUpdateDomainHostRequest = (request, defaults) => ({ ips: request.ips });
892
- const marshalRegistrarApiUpdateDomainRequest = (request, defaults) => ({
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
- const marshalUpdateDNSZoneNameserversRequest = (request, defaults) => ({ ns: request.ns.map((elt) => marshalNameserver(elt, defaults)) });
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
- const marshalUpdateDNSZoneRecordsRequest = (request, defaults) => ({
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
- const marshalUpdateDNSZoneRequest = (request, defaults) => ({
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 };
@@ -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.1",
3
+ "version": "2.4.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.2",
30
- "@scaleway/sdk-std": "2.2.1"
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.1"
33
+ "@scaleway/sdk-client": "^2.2.2"
34
34
  },
35
35
  "devDependencies": {
36
- "@scaleway/sdk-client": "^2.2.1"
36
+ "@scaleway/sdk-client": "^2.2.2"
37
37
  },
38
38
  "scripts": {
39
39
  "package:check": "pnpm publint",