@@ -26,6 +26,7 @@ import {
2626 marshalRegistrarApiEnableDomainDNSSECRequest ,
2727 marshalRegistrarApiRegisterExternalDomainRequest ,
2828 marshalRegistrarApiRenewDomainsRequest ,
29+ marshalRegistrarApiRetryInboundTransferRequest ,
2930 marshalRegistrarApiTradeDomainRequest ,
3031 marshalRegistrarApiTransferInDomainRequest ,
3132 marshalRegistrarApiUpdateContactRequest ,
@@ -65,6 +66,7 @@ import {
6566 unmarshalRefreshDNSZoneResponse ,
6667 unmarshalRegisterExternalDomainResponse ,
6768 unmarshalRestoreDNSZoneVersionResponse ,
69+ unmarshalRetryInboundTransferResponse ,
6870 unmarshalSearchAvailableDomainsResponse ,
6971 unmarshalSSLCertificate ,
7072 unmarshalUpdateDNSZoneNameserversResponse ,
@@ -143,6 +145,7 @@ import type {
143145 RegistrarApiLockDomainTransferRequest ,
144146 RegistrarApiRegisterExternalDomainRequest ,
145147 RegistrarApiRenewDomainsRequest ,
148+ RegistrarApiRetryInboundTransferRequest ,
146149 RegistrarApiSearchAvailableDomainsRequest ,
147150 RegistrarApiTradeDomainRequest ,
148151 RegistrarApiTransferInDomainRequest ,
@@ -152,6 +155,7 @@ import type {
152155 RegistrarApiUpdateDomainRequest ,
153156 RestoreDNSZoneVersionRequest ,
154157 RestoreDNSZoneVersionResponse ,
158+ RetryInboundTransferResponse ,
155159 SearchAvailableDomainsResponse ,
156160 SSLCertificate ,
157161 UpdateDNSZoneNameserversRequest ,
@@ -764,6 +768,30 @@ You can filter the list of tasks by domain name.
764768 request ,
765769 )
766770
771+ /**
772+ * Retry the inbound transfer of a domain. Request a retry for the transfer of a domain from another registrar to Scaleway Domains and DNS.
773+ *
774+ * @param request - The request {@link RegistrarApiRetryInboundTransferRequest}
775+ * @returns A Promise of RetryInboundTransferResponse
776+ */
777+ retryInboundTransfer = (
778+ request : Readonly < RegistrarApiRetryInboundTransferRequest > ,
779+ ) =>
780+ this . client . fetch < RetryInboundTransferResponse > (
781+ {
782+ body : JSON . stringify (
783+ marshalRegistrarApiRetryInboundTransferRequest (
784+ request ,
785+ this . client . settings ,
786+ ) ,
787+ ) ,
788+ headers : jsonContentHeaders ,
789+ method : 'POST' ,
790+ path : `/domain/v2beta1/retry-inbound-transfer` ,
791+ } ,
792+ unmarshalRetryInboundTransferResponse ,
793+ )
794+
767795 /**
768796 * Purchase domains. Request the registration of domain names.
769797You can provide a domain's already existing contact or a new contact.
0 commit comments