Skip to content

Commit 7f0356c

Browse files
authored
feat(dom): add information on domain actions/prices (#416)
1 parent a503a32 commit 7f0356c

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

packages/clients/src/api/domain/v2beta1/marshalling.gen.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -769,6 +769,7 @@ const unmarshalRenewableDomain = (data: unknown) => {
769769
projectId: data.project_id,
770770
renewableDurationInYears: data.renewable_duration_in_years,
771771
status: data.status,
772+
tld: data.tld ? unmarshalTld(data.tld) : undefined,
772773
} as RenewableDomain
773774
}
774775

@@ -910,6 +911,7 @@ export const unmarshalDomain = (data: unknown) => {
910911
technicalContact: data.technical_contact
911912
? unmarshalContact(data.technical_contact)
912913
: undefined,
914+
tld: data.tld ? unmarshalTld(data.tld) : undefined,
913915
transferRegistrationStatus: data.transfer_registration_status
914916
? unmarshalDomainRegistrationStatusTransfer(
915917
data.transfer_registration_status,

packages/clients/src/api/domain/v2beta1/types.gen.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -394,6 +394,7 @@ export interface Domain {
394394
* set.
395395
*/
396396
transferRegistrationStatus?: DomainRegistrationStatusTransfer
397+
tld?: Tld
397398
}
398399

399400
export interface DomainDNSSEC {
@@ -744,6 +745,7 @@ export interface RenewableDomain {
744745
limitRenewAt?: Date
745746
limitRedemptionAt?: Date
746747
estimatedDeleteAt?: Date
748+
tld?: Tld
747749
}
748750

749751
/** Restore dns zone version response */

0 commit comments

Comments
 (0)