@@ -56,6 +56,7 @@ import {
5656 unmarshalListDNSZoneVersionsResponse ,
5757 unmarshalListDomainHostsResponse ,
5858 unmarshalListDomainsResponse ,
59+ unmarshalListInboundTransfersResponse ,
5960 unmarshalListRenewableDomainsResponse ,
6061 unmarshalListSSLCertificatesResponse ,
6162 unmarshalListTasksResponse ,
@@ -110,6 +111,7 @@ import type {
110111 ListDNSZoneVersionsResponse ,
111112 ListDomainHostsResponse ,
112113 ListDomainsResponse ,
114+ ListInboundTransfersResponse ,
113115 ListRenewableDomainsResponse ,
114116 ListSSLCertificatesRequest ,
115117 ListSSLCertificatesResponse ,
@@ -134,6 +136,7 @@ import type {
134136 RegistrarApiListContactsRequest ,
135137 RegistrarApiListDomainHostsRequest ,
136138 RegistrarApiListDomainsRequest ,
139+ RegistrarApiListInboundTransfersRequest ,
137140 RegistrarApiListRenewableDomainsRequest ,
138141 RegistrarApiListTasksRequest ,
139142 RegistrarApiListTldsRequest ,
@@ -724,6 +727,43 @@ You can filter the list of tasks by domain name.
724727 listTasks = ( request : Readonly < RegistrarApiListTasksRequest > = { } ) =>
725728 enrichForPagination ( 'tasks' , this . pageOfListTasks , request )
726729
730+ protected pageOfListInboundTransfers = (
731+ request : Readonly < RegistrarApiListInboundTransfersRequest > ,
732+ ) =>
733+ this . client . fetch < ListInboundTransfersResponse > (
734+ {
735+ method : 'GET' ,
736+ path : `/domain/v2beta1/inbound-transfers` ,
737+ urlParams : urlParams (
738+ [ 'domain' , request . domain ] ,
739+ [
740+ 'organization_id' ,
741+ request . organizationId ??
742+ this . client . settings . defaultOrganizationId ,
743+ ] ,
744+ [ 'page' , request . page ] ,
745+ [
746+ 'page_size' ,
747+ request . pageSize ?? this . client . settings . defaultPageSize ,
748+ ] ,
749+ [
750+ 'project_id' ,
751+ request . projectId ?? this . client . settings . defaultProjectId ,
752+ ] ,
753+ ) ,
754+ } ,
755+ unmarshalListInboundTransfersResponse ,
756+ )
757+
758+ listInboundTransfers = (
759+ request : Readonly < RegistrarApiListInboundTransfersRequest > ,
760+ ) =>
761+ enrichForPagination (
762+ 'inboundTransfers' ,
763+ this . pageOfListInboundTransfers ,
764+ request ,
765+ )
766+
727767 /**
728768 * Purchase domains. Request the registration of domain names.
729769You can provide a domain's already existing contact or a new contact.
0 commit comments