@wix/auto_sdk_domains_registered-domains 1.0.19 → 1.0.21

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 +1 @@
1
- {"version":3,"sources":["../../index.typings.ts","../../src/premium-domains-v1-registered-domain-registered-domains.universal.ts","../../src/premium-domains-v1-registered-domain-registered-domains.http.ts"],"sourcesContent":["export * from './src/premium-domains-v1-registered-domain-registered-domains.universal.js';\n","import { transformError as sdkTransformError } from '@wix/sdk-runtime/transform-error';\nimport {\n renameKeysFromSDKRequestToRESTRequest,\n renameKeysFromRESTResponseToSDKResponse,\n} from '@wix/sdk-runtime/rename-all-nested-keys';\nimport { HttpClient, NonNullablePaths } from '@wix/sdk-types';\nimport * as ambassadorWixPremiumDomainsV1RegisteredDomain from './premium-domains-v1-registered-domain-registered-domains.http.js';\n\n/**\n * A registered domain is a domain that Wix has registered on behalf of a customer\n * with an external registar.\n */\nexport interface RegisteredDomain {\n /**\n * Domain ID. Identical to `domain`.\n * @format HOSTNAME\n * @readonly\n */\n _id?: string;\n /**\n * Name of the domain including TLD.\n * Subdomains aren't supported. You can only register a root domain.\n * Domain name and TLD must be separated by a dot. For example,\n * `my-new-domain.com`. Only alphanumeric characters, hyphens, and dots are\n * supported.\n *\n * Min: 3 characters\n * Max: 63 characters\n * @format HOSTNAME\n */\n domain?: string;\n /**\n * Date and time the `registeredDomain` object was created in\n * `YYYY-MM-DDThh:mm:ss.sssZ` format.\n * @readonly\n */\n _createdDate?: Date | null;\n /**\n * Date and time the `registeredDomain` object was last updated in\n * `YYYY-MM-DDThh:mm:ss.sssZ` format.\n * @readonly\n */\n _updatedDate?: Date | null;\n /**\n * Revision number, which increments by 1 each time the registered domain\n * is updated. To prevent conflicting changes, the current revision must be\n * passed when updating the registered domain.\n *\n * Ignored when creating a registered domain.\n */\n revision?: string | null;\n /**\n * corresponds to service id in SBS\n * @format GUID\n */\n subscriptionId?: string | null;\n /** Registrant (domain owner) contact information */\n registrantContact?: Contact;\n /** Administrative contact information */\n adminContact?: Contact;\n /** Technical contact information */\n techContact?: Contact;\n /** TLD-specific registration requirements */\n tldData?: TldSpecificData;\n /**\n * Nameservers the domain is delegated to at the registrar. Exactly 2 when set, empty otherwise.\n * This is the real delegation, not the NS record of a Wix-managed DNS zone.\n * @format HOSTNAME\n * @maxSize 2\n */\n nameServers?: string[];\n}\n\n/** Contact information for domain registration */\nexport interface Contact {\n /**\n * First name\n * @minLength 1\n * @maxLength 100\n */\n firstName?: string;\n /**\n * Last name\n * @minLength 1\n * @maxLength 100\n */\n lastName?: string;\n /**\n * Email address\n * @format EMAIL\n */\n email?: string;\n /**\n * Company or organization name (optional)\n * @maxLength 100\n */\n company?: string | null;\n /**\n * Street address\n * @minLength 1\n * @maxLength 255\n */\n streetAddress?: string;\n /**\n * City\n * @minLength 1\n * @maxLength 30\n */\n city?: string;\n /**\n * Subdivision (such as state, prefecture, or province) in ISO-3166 alpha-2 format (optional)\n * @format SUBDIVISION\n */\n subdivision?: string | null;\n /**\n * Postal or ZIP code. Optional - some countries (e.g. Jamaica) have no postal system. Max 16 chars.\n * @maxLength 16\n */\n postalCode?: string | null;\n /**\n * ISO 3166-1 alpha-2 country code\n * @format COUNTRY\n */\n country?: string;\n /**\n * Phone number in international format\n * @format PHONE\n */\n phone?: string;\n}\n\n/** TLD-specific registration data required for certain domain extensions. The `tldType` determines which options field to set. */\nexport interface TldSpecificData extends TldSpecificDataRequirementsOneOf {\n /** Registration options for .ca domains. */\n caOptions?: CaOptions;\n /** Registration options for .it domains. */\n itOptions?: ItOptions;\n /** Registration options for .com.au domains. */\n comAuOptions?: ComAuOptions;\n /** Registration options for .com.br domains. */\n comBrOptions?: ComBrOptions;\n /** Registration options for .us domains. */\n usOptions?: UsOptions;\n /** Registration options for .se domains. */\n seOptions?: SeOptions;\n /** Registration options for .es domains. */\n esOptions?: EsOptions;\n /** Registration options for .co.il domains. */\n coIlOptions?: IlOptions;\n /** Registration options for .org.il domains. */\n orgIlOptions?: IlOptions;\n /** TLD-specific registration data required for certain domain extensions. The `tldType` determines which options field to set. */\n tldType?: TldTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface TldSpecificDataRequirementsOneOf {\n /** Registration options for .ca domains. */\n caOptions?: CaOptions;\n /** Registration options for .it domains. */\n itOptions?: ItOptions;\n /** Registration options for .com.au domains. */\n comAuOptions?: ComAuOptions;\n /** Registration options for .com.br domains. */\n comBrOptions?: ComBrOptions;\n /** Registration options for .us domains. */\n usOptions?: UsOptions;\n /** Registration options for .se domains. */\n seOptions?: SeOptions;\n /** Registration options for .es domains. */\n esOptions?: EsOptions;\n /** Registration options for .co.il domains. */\n coIlOptions?: IlOptions;\n /** Registration options for .org.il domains. */\n orgIlOptions?: IlOptions;\n}\n\n/** Legal entity types recognized by the Canadian Internet Registration Authority (CIRA). */\nexport enum LegalTypeEnum {\n /** Aboriginal peoples. */\n ABO = 'ABO',\n /** Association. */\n ASS = 'ASS',\n /** Canadian corporation. */\n CCO = 'CCO',\n /** Canadian citizen. */\n CCT = 'CCT',\n /** Educational institution. */\n EDU = 'EDU',\n /** Government entity. */\n GOV = 'GOV',\n /** Hospital. */\n HOP = 'HOP',\n /** Indian band. */\n INB = 'INB',\n /** Library, archive, or museum. */\n LAM = 'LAM',\n /** Legal representative. */\n LGR = 'LGR',\n /** Her Majesty the Queen. */\n MAJ = 'MAJ',\n /** Official mark registered under the Trademarks Act. */\n OMK = 'OMK',\n /** Political party. */\n PLT = 'PLT',\n /** Partnership. */\n PRT = 'PRT',\n /** Permanent resident. */\n RES = 'RES',\n /** Trademark owner. */\n TDM = 'TDM',\n /** Trade union. */\n TRD = 'TRD',\n /** Trust. */\n TRS = 'TRS',\n}\n\n/** @enumType */\nexport type LegalTypeEnumWithLiterals =\n | LegalTypeEnum\n | 'ABO'\n | 'ASS'\n | 'CCO'\n | 'CCT'\n | 'EDU'\n | 'GOV'\n | 'HOP'\n | 'INB'\n | 'LAM'\n | 'LGR'\n | 'MAJ'\n | 'OMK'\n | 'PLT'\n | 'PRT'\n | 'RES'\n | 'TDM'\n | 'TRD'\n | 'TRS';\n\n/** Legal type of the registrant. */\nexport interface LegalType {\n value?: LegalTypeEnumWithLiterals;\n}\n\n/** Entity types recognized by the Italian registry (Registro.it). */\nexport enum EntityTypeEnum {\n /** Italian resident. */\n ITR = 'ITR',\n /** Foreign resident. */\n FOR = 'FOR',\n /** Company or sole proprietorship. */\n COM = 'COM',\n /** Freelance worker. */\n FWI = 'FWI',\n /** Nonprofit organization. */\n NPO = 'NPO',\n /** Public organization. */\n POI = 'POI',\n /** Other entity type. */\n OSI = 'OSI',\n}\n\n/** @enumType */\nexport type EntityTypeEnumWithLiterals =\n | EntityTypeEnum\n | 'ITR'\n | 'FOR'\n | 'COM'\n | 'FWI'\n | 'NPO'\n | 'POI'\n | 'OSI';\n\n/** Entity type of the registrant. */\nexport interface EntityType {\n value?: EntityTypeEnumWithLiterals;\n}\n\n/** Policy reasons recognized by the .au Domain Administration (auDA). */\nexport enum PolicyReasonEnum {\n /** Exact match to the registrant's name or trademark. */\n EXC = 'EXC',\n /** Close and substantial connection to the registrant. */\n CLS = 'CLS',\n}\n\n/** @enumType */\nexport type PolicyReasonEnumWithLiterals = PolicyReasonEnum | 'EXC' | 'CLS';\n\n/** Eligibility types recognized by the .au Domain Administration (auDA). */\nexport enum EligibilityTypeEnum {\n /** Company. */\n COM = 'COM',\n /** Sole trader. */\n STR = 'STR',\n /** Partnership. */\n PRT = 'PRT',\n /** Trademark owner. */\n TRO = 'TRO',\n /** Pending trademark owner. */\n PTO = 'PTO',\n /** Commonwealth entity. */\n CWE = 'CWE',\n /** Government body. */\n GVB = 'GVB',\n /** Incorporated association. */\n INA = 'INA',\n /** Trust. */\n TRS = 'TRS',\n /** Statutory body. */\n STB = 'STB',\n /** Trading cooperative. */\n TRC = 'TRC',\n /** Registered business. */\n RBU = 'RBU',\n}\n\n/** @enumType */\nexport type EligibilityTypeEnumWithLiterals =\n | EligibilityTypeEnum\n | 'COM'\n | 'STR'\n | 'PRT'\n | 'TRO'\n | 'PTO'\n | 'CWE'\n | 'GVB'\n | 'INA'\n | 'TRS'\n | 'STB'\n | 'TRC'\n | 'RBU';\n\n/** Identification types recognized by the .au Domain Administration (auDA). */\nexport enum EligibilityIdTypeEnum {\n /** Australian Business Number. */\n ABN = 'ABN',\n /** Australian Company Number. */\n ACN = 'ACN',\n}\n\n/** @enumType */\nexport type EligibilityIdTypeEnumWithLiterals =\n | EligibilityIdTypeEnum\n | 'ABN'\n | 'ACN';\n\n/** Reason the registrant is eligible for the domain name. */\nexport interface PolicyReason {\n value?: PolicyReasonEnumWithLiterals;\n}\n\n/** Type of entity registering the domain. */\nexport interface EligibilityType {\n value?: EligibilityTypeEnumWithLiterals;\n}\n\n/** Type of identification number provided for eligibility. */\nexport interface EligibilityIdType {\n value?: EligibilityIdTypeEnumWithLiterals;\n}\n\n/** Nexus category indicating the registrant's connection to the United States. */\nexport enum NexusCategory {\n /** US citizen. */\n C11 = 'C11',\n /** Permanent resident. */\n C12 = 'C12',\n /** US entity or organization. */\n C21 = 'C21',\n /** Foreign entity with a presence in the US market. */\n C31 = 'C31',\n /** Foreign entity with a US office. */\n C32 = 'C32',\n}\n\n/** @enumType */\nexport type NexusCategoryWithLiterals =\n | NexusCategory\n | 'C11'\n | 'C12'\n | 'C21'\n | 'C31'\n | 'C32';\n\n/** Purpose for which the .us domain's application was made. */\nexport enum UsAppPurpose {\n /** Business use for profit. */\n P1 = 'P1',\n /** Non-profit business, club, association, or religious organization. */\n P2 = 'P2',\n /** Personal use. */\n P3 = 'P3',\n /** Education purposes. */\n P4 = 'P4',\n /** Government purposes. */\n P5 = 'P5',\n}\n\n/** @enumType */\nexport type UsAppPurposeWithLiterals =\n | UsAppPurpose\n | 'P1'\n | 'P2'\n | 'P3'\n | 'P4'\n | 'P5';\n\n/** Type of government-issued ID a .es registrant identifies itself with. */\nexport enum IdType {\n /** Any ID that is neither a NIF nor a NIE - typically a foreign national or tax ID. */\n OTHER = 'OTHER',\n /** Spanish tax identification number. A Spanish company sends its CIF under this type. */\n NIF = 'NIF',\n /** Foreigner identity number issued in Spain. */\n NIE = 'NIE',\n}\n\n/** @enumType */\nexport type IdTypeWithLiterals = IdType | 'OTHER' | 'NIF' | 'NIE';\n\n/** Type of registrant recognized by the Israeli registry (ISOC-IL). */\nexport enum RegistrantType {\n /** Natural person. */\n INDIVIDUAL = 'INDIVIDUAL',\n /** Company, association, or other legal entity. */\n ORGANIZATION = 'ORGANIZATION',\n}\n\n/** @enumType */\nexport type RegistrantTypeWithLiterals =\n | RegistrantType\n | 'INDIVIDUAL'\n | 'ORGANIZATION';\n\n/** TLD-specific registration data required for certain domain extensions. The `tldType` determines which options field to set. */\nexport enum TldType {\n /** .ca domains. */\n CA = 'CA',\n /** .it domains. */\n IT = 'IT',\n /** .com.au domains. */\n COM_AU = 'COM_AU',\n /** .com.br domains. */\n COM_BR = 'COM_BR',\n /** .us domains. */\n US = 'US',\n /** .se domains. */\n SE = 'SE',\n /** .es domains. */\n ES = 'ES',\n /** .co.il domains. */\n CO_IL = 'CO_IL',\n /** .org.il domains. */\n ORG_IL = 'ORG_IL',\n}\n\n/** @enumType */\nexport type TldTypeWithLiterals =\n | TldType\n | 'CA'\n | 'IT'\n | 'COM_AU'\n | 'COM_BR'\n | 'US'\n | 'SE'\n | 'ES'\n | 'CO_IL'\n | 'ORG_IL';\n\n/** Registration options for .ca domains. */\nexport interface CaOptions {\n /** Registrant's legal type. Required for .ca domains. */\n legalType?: LegalType;\n}\n\n/** Registration options for .it domains. */\nexport interface ItOptions {\n /** Registrant's entity type. Required for .it domains. */\n entityType?: EntityType;\n /**\n * Registration code such as a VAT number, tax ID, or fiscal code. Required for .it domains. Maximum 20 characters.\n * @maxLength 20\n */\n regCode?: string | null;\n}\n\n/** Registration options for .com.au domains. */\nexport interface ComAuOptions {\n /** Reason the registrant is eligible for the domain name. Required for .com.au domains. */\n policyReason?: PolicyReason;\n /** Type of entity registering the domain. Required for .com.au domains. */\n eligibilityType?: EligibilityType;\n /** Type of identification number provided. Required for .com.au domains. */\n eligibilityIdType?: EligibilityIdType;\n /**\n * Eligibility identification number, such as an ABN or ACN. Required for .com.au domains. Maximum 20 characters.\n * @maxLength 20\n */\n eligibilityId?: string | null;\n /**\n * Registrant's entity name. Required for .com.au domains. Maximum 255 characters.\n * @maxLength 255\n */\n registrantName?: string | null;\n}\n\n/** Registration options for .com.br domains. */\nexport interface ComBrOptions {\n /**\n * Brazilian tax ID. CPF for individuals, CNPJ for companies.\n *\n * + CPF format: 123.456.789-87 (11 digits)\n * + CNPJ format: 01.234.456/5432-10 (14 digits)\n * @minLength 11\n * @maxLength 18\n */\n identificationNumber?: string | null;\n /**\n * Registrant's date of birth, in `YYYY-MM-DD` format. Required by the registry when the registrant is an\n * individual (CPF holder). Not needed for companies (CNPJ).\n * @format LOCAL_DATE\n */\n dateOfBirth?: string | null;\n}\n\n/** Registration options for .us domains. */\nexport interface UsOptions {\n /** Registrant's nexus category. Required for .us domains. */\n nexusCategory?: NexusCategoryWithLiterals;\n /** Registrant's application purpose. Required for .us domains. */\n usAppPurpose?: UsAppPurposeWithLiterals;\n /**\n * Domain owner's two-letter country of citizenship. Required for .us domains when\n * `nexus_category` is C31 or C32; not applicable otherwise.\n * @maxLength 2\n */\n nexusValidator?: string | null;\n}\n\n/** Registration options for .se domains. */\nexport interface SeOptions {\n /**\n * Registrant's identification number. Required for .se domains.\n *\n * + Individuals: national ID card or passport number.\n * + Organizations: business registration number or VAT-ID.\n * @maxLength 20\n */\n idNumber?: string | null;\n}\n\n/** Registration options for .es domains. */\nexport interface EsOptions {\n /**\n * Registrant's government-issued ID number. Required for .es domains.\n *\n * + Spanish registrants: DNI, NIF, or NIE.\n * + Foreign registrants: equivalent national ID or tax ID.\n *\n * Note: the admin contact must be a natural person (not a company).\n * @maxLength 20\n */\n govId?: string | null;\n /**\n * Type of the ID carried in `govId`. Required for .es domains - without it the registry\n * substitutes a placeholder identification and the registration is non-compliant.\n *\n * Note: there is no CIF value - a Spanish company sends NIF carrying its CIF number.\n */\n idType?: IdTypeWithLiterals;\n}\n\n/** Registration options for .co.il and .org.il domains. */\nexport interface IlOptions {\n /** Registrant's type. Required for .co.il and .org.il domains. */\n registrantType?: RegistrantTypeWithLiterals;\n /**\n * Registrant's company registration number. Required when `registrantType` is `ORGANIZATION`.\n *\n * For Israeli entities this is the 9-digit company number (ח.פ.). The registry validates the\n * format; it isn't validated by the registrar.\n * @maxLength 30\n */\n registrationNumber?: string | null;\n}\n\nexport interface InitiateTransferRequest {\n /**\n * Domain name to transfer.\n * @format HOSTNAME\n */\n domain: string;\n /**\n * Email address of the Wix account to transfer the domain to.\n * @format EMAIL\n */\n targetEmail: string;\n}\n\nexport interface InitiateTransferResponse {}\n\nexport interface ApproveTransferRequest {\n /**\n * Domain name to approve the transfer for.\n * @format HOSTNAME\n */\n domain: string;\n /**\n * Confirmation token received in the transfer invite email.\n * @maxLength 1024\n */\n confirmationToken: string;\n}\n\nexport interface ApproveTransferResponse {}\n\nexport interface DomainChangedEvent extends DomainChangedEventPayloadOneOf {\n /** WARNING: `registered` event payload is DEPRECATED */\n registered?: Registered;\n /** WARNING: `registration_cancelled` event payload is DEPRECATED */\n registrationCancelled?: RegistrationCancelled;\n connectedToSite?: ConnectedToSite;\n disconnectedFromSite?: DisconnectedFromSite;\n /** WARNING: `registration_extended` event payload is DEPRECATED */\n registrationExtended?: RegistrationExtended;\n /** WARNING: `owner_changed` event payload is DEPRECATED */\n ownerChanged?: OwnerChanged;\n /** WARNING: `privacy_changed` event payload is DEPRECATED */\n privacyChanged?: PrivacyChanged;\n /** WARNING: `management_type_changed` event payload is DEPRECATED */\n managementTypeChanged?: ManagementTypeChanged;\n /** WARNING: `billing_subscription_cancelled` event payload is DEPRECATED */\n billingSubscriptionCancelled?: BillingSubscriptionCancelled;\n /** WARNING: `connection_verified` event payload is DEPRECATED */\n connectionVerified?: ConnectionVerified;\n /** WARNING: `connection_lost` event payload is DEPRECATED */\n connectionLost?: ConnectionLost;\n /** WARNING: `expiration_date_changed` event payload is DEPRECATED */\n expirationDateChanged?: ExpirationDateChanged;\n propagationStarted?: PropagationStarted;\n verificationStarted?: VerificationStarted;\n contactVerificationStatusChanged?: ContactVerificationStatusChanged;\n /** Expiry/GraceStarted */\n expired?: Expired;\n /** GraceEnded/RedemptionStarted */\n graceEnded?: GraceEnded;\n /** RedemptionEnded */\n redemptionEnded?: RedemptionEnded;\n /** enable or disable dnssec */\n dnssecChanged?: DnssecChanged;\n /** domain SKU updated due to price increase */\n priceIncreaseProcessed?: PriceIncreaseProcessed;\n domainName?: string;\n changeTime?: Date | null;\n}\n\n/** @oneof */\nexport interface DomainChangedEventPayloadOneOf {\n /** WARNING: `registered` event payload is DEPRECATED */\n registered?: Registered;\n /** WARNING: `registration_cancelled` event payload is DEPRECATED */\n registrationCancelled?: RegistrationCancelled;\n connectedToSite?: ConnectedToSite;\n disconnectedFromSite?: DisconnectedFromSite;\n /** WARNING: `registration_extended` event payload is DEPRECATED */\n registrationExtended?: RegistrationExtended;\n /** WARNING: `owner_changed` event payload is DEPRECATED */\n ownerChanged?: OwnerChanged;\n /** WARNING: `privacy_changed` event payload is DEPRECATED */\n privacyChanged?: PrivacyChanged;\n /** WARNING: `management_type_changed` event payload is DEPRECATED */\n managementTypeChanged?: ManagementTypeChanged;\n /** WARNING: `billing_subscription_cancelled` event payload is DEPRECATED */\n billingSubscriptionCancelled?: BillingSubscriptionCancelled;\n /** WARNING: `connection_verified` event payload is DEPRECATED */\n connectionVerified?: ConnectionVerified;\n /** WARNING: `connection_lost` event payload is DEPRECATED */\n connectionLost?: ConnectionLost;\n /** WARNING: `expiration_date_changed` event payload is DEPRECATED */\n expirationDateChanged?: ExpirationDateChanged;\n propagationStarted?: PropagationStarted;\n verificationStarted?: VerificationStarted;\n contactVerificationStatusChanged?: ContactVerificationStatusChanged;\n /** Expiry/GraceStarted */\n expired?: Expired;\n /** GraceEnded/RedemptionStarted */\n graceEnded?: GraceEnded;\n /** RedemptionEnded */\n redemptionEnded?: RedemptionEnded;\n /** enable or disable dnssec */\n dnssecChanged?: DnssecChanged;\n /** domain SKU updated due to price increase */\n priceIncreaseProcessed?: PriceIncreaseProcessed;\n}\n\nexport interface Registered {\n /** @format GUID */\n registrationId?: string;\n}\n\nexport interface RegistrationCancelled {\n /** @format GUID */\n registrationId?: string;\n}\n\nexport interface ConnectedToSite {\n /** @format GUID */\n msid?: string;\n}\n\nexport interface DisconnectedFromSite {\n /** @format GUID */\n msid?: string;\n}\n\nexport interface RegistrationExtended {\n /** @format GUID */\n registrationId?: string;\n}\n\nexport interface OwnerChanged {\n /** @format GUID */\n oldUserGuid?: string;\n /** @format GUID */\n newUserGuid?: string;\n /** @format GUID */\n oldRegistrationId?: string | null;\n /** @format GUID */\n newRegistrationId?: string | null;\n}\n\nexport interface PrivacyChanged {\n /** @format GUID */\n registrationId?: string;\n}\n\nexport interface ManagementTypeChanged {}\n\nexport interface BillingSubscriptionCancelled {\n /** @format GUID */\n registrationId?: string;\n}\n\nexport interface ConnectionVerified {}\n\nexport interface ConnectionLost {}\n\nexport interface ExpirationDateChanged {\n /** @format GUID */\n registrationId?: string;\n}\n\nexport interface PropagationStarted {\n /** @format GUID */\n userGuid?: string;\n}\n\nexport interface VerificationStarted {\n /** @format GUID */\n userGuid?: string;\n}\n\nexport interface ContactVerificationStatusChanged {\n status?: ContactVerificationStatusWithLiterals;\n}\n\nexport enum ContactVerificationStatus {\n PENDING = 'PENDING',\n DEACTIVATED = 'DEACTIVATED',\n CONFIRMED_BY_WIX = 'CONFIRMED_BY_WIX',\n CONFIRMED_BY_REGDOTCOM = 'CONFIRMED_BY_REGDOTCOM',\n}\n\n/** @enumType */\nexport type ContactVerificationStatusWithLiterals =\n | ContactVerificationStatus\n | 'PENDING'\n | 'DEACTIVATED'\n | 'CONFIRMED_BY_WIX'\n | 'CONFIRMED_BY_REGDOTCOM';\n\nexport interface Expired {}\n\nexport interface GraceEnded {}\n\nexport interface RedemptionEnded {}\n\nexport interface DnssecChanged {\n /**\n * unique registration id\n * @format GUID\n */\n registrationId?: string;\n}\n\nexport interface PriceIncreaseProcessed {}\n\nexport interface DomainReleaseCouponEvent\n extends DomainReleaseCouponEventTriggerTypeInfoOneOf {\n reviveFromChargebackInfo?: ReviveFromChargebackInfo;\n domainName?: string;\n couponCode?: string;\n triggerType?: TriggerTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface DomainReleaseCouponEventTriggerTypeInfoOneOf {\n reviveFromChargebackInfo?: ReviveFromChargebackInfo;\n}\n\nexport enum TriggerType {\n UNKNOWN_EVENT_TYPE = 'UNKNOWN_EVENT_TYPE',\n REVIVE_FROM_CHARGEBACK = 'REVIVE_FROM_CHARGEBACK',\n}\n\n/** @enumType */\nexport type TriggerTypeWithLiterals =\n | TriggerType\n | 'UNKNOWN_EVENT_TYPE'\n | 'REVIVE_FROM_CHARGEBACK';\n\nexport interface ReviveFromChargebackInfo {\n /** @format GUID */\n extContractId?: string;\n}\n\nexport interface CreateRegisteredDomainRequest {\n /** Information about the domain to register including contact details. */\n registeredDomain?: RegisteredDomain;\n}\n\nexport interface CreateRegisteredDomainResponse {\n /** Created registered domain. */\n registeredDomain?: RegisteredDomain;\n}\n\nexport interface CreateRegisteredDomainInternalRequest {\n /** Information about the domain to register including contact details. */\n registeredDomain?: RegisteredDomain;\n}\n\nexport interface CreateRegisteredDomainInternalResponse {\n /** Created registered domain. */\n registeredDomain?: RegisteredDomain;\n}\n\nexport interface UpdateRegisteredDomainRequest {\n /** Registered domain with updated fields. */\n registeredDomain?: RegisteredDomain;\n /** Fields to update. Only specified fields are modified. */\n fieldMask?: string[];\n}\n\nexport interface UpdateRegisteredDomainResponse {\n /** Updated registered domain. */\n registeredDomain?: RegisteredDomain;\n}\n\nexport interface ScheduleNearExpirationReminderRequest {\n /** @format HOSTNAME */\n domain?: string;\n}\n\nexport interface ScheduleNearExpirationReminderResponse {\n registeredDomain?: RegisteredDomain;\n}\n\nexport interface ScheduleContactDetailsReminderRequest {\n /** @format HOSTNAME */\n domain?: string;\n}\n\nexport interface ScheduleContactDetailsReminderResponse {\n registeredDomain?: RegisteredDomain;\n}\n\nexport interface ScheduleParkAfterRefundRequest {\n /** @format HOSTNAME */\n domain?: string;\n /** @format GUID */\n subscriptionId?: string;\n parkAtDate?: Date | null;\n}\n\nexport interface ScheduleParkAfterRefundResponse {\n registeredDomain?: RegisteredDomain;\n}\n\nexport interface MessageEnvelope {\n /**\n * App instance ID.\n * @format GUID\n */\n instanceId?: string | null;\n /**\n * Event type.\n * @maxLength 150\n */\n eventType?: string;\n /** The identification type and identity data. */\n identity?: IdentificationData;\n /** Stringify payload. */\n data?: string;\n /** Details related to the account */\n accountInfo?: AccountInfo;\n}\n\nexport interface IdentificationData extends IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n /** @readonly */\n identityType?: WebhookIdentityTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n}\n\nexport enum WebhookIdentityType {\n UNKNOWN = 'UNKNOWN',\n ANONYMOUS_VISITOR = 'ANONYMOUS_VISITOR',\n MEMBER = 'MEMBER',\n WIX_USER = 'WIX_USER',\n APP = 'APP',\n}\n\n/** @enumType */\nexport type WebhookIdentityTypeWithLiterals =\n | WebhookIdentityType\n | 'UNKNOWN'\n | 'ANONYMOUS_VISITOR'\n | 'MEMBER'\n | 'WIX_USER'\n | 'APP';\n\nexport interface AccountInfo {\n /**\n * ID of the Wix account associated with the event.\n * @format GUID\n */\n accountId?: string | null;\n /**\n * ID of the parent Wix account. Only included when accountId belongs to a child account.\n * @format GUID\n */\n parentAccountId?: string | null;\n /**\n * ID of the Wix site associated with the event. Only included when the event is tied to a specific site.\n * @format GUID\n */\n siteId?: string | null;\n}\n\n/** @docsIgnore */\nexport type InitiateTransferApplicationErrors =\n | {\n code?: 'DOMAIN_NOT_OWNED_BY_CALLER';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'DOMAIN_NOT_ELIGIBLE_FOR_TRANSFER';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'TARGET_EMAIL_NOT_FOUND';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'CANNOT_TRANSFER_TO_SELF';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'PENDING_TRANSFER_ALREADY_EXISTS';\n description?: string;\n data?: Record<string, any>;\n };\n/** @docsIgnore */\nexport type ApproveTransferApplicationErrors =\n | {\n code?: 'TRANSFER_REQUEST_EXPIRED';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'CONFIRMATION_PROCESS_NOT_FOUND';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'CONFIRMATION_PROCESS_INVALID_TOKEN';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'CONFIRMATION_PROCESS_TOKEN_ALREADY_REPORTED';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'DOMAIN_ALREADY_BELONGS_TO_USER';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'DOMAINS_TRANSFER_BETWEEN_ACCOUNTS_NOT_ALLOWED';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'DOMAINS_TRANSFER_FOR_PENDING_REDEMPTION_NOT_ALLOWED';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'DOMAINS_TRANSFER_BETWEEN_ACCOUNTS_NOT_ALLOWED_FOR_BASE44';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'TRANSFER_APPROVER_ACCOUNT_MISMATCH';\n description?: string;\n data?: Record<string, any>;\n };\n/** @docsIgnore */\nexport type UpdateRegisteredDomainApplicationErrors =\n | {\n code?: 'PARKING_NS_NOT_ALLOWED';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'DOMAIN_IS_PARKED';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'DOMAIN_IS_DEACTIVATED';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'DOMAIN_IS_EXPIRED';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'DOMAIN_TRANSFER_OUT_IN_PROGRESS';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'INVALID_NAME_SERVERS';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'INVALID_FIELD_MASK';\n description?: string;\n data?: Record<string, any>;\n };\n\n/**\n * Initiates a frictionless transfer of a registered domain to another Wix account, identified by email.\n *\n * If a Wix account already exists for `targetEmail`, an email is sent to that account's owner inviting them to approve the transfer by calling [Approve Transfer](/registeredDomains/approve-transfer).\n *\n * The domain must belong to the calling account and must not be in a state that blocks transfer, such as a redemption period or an in-progress transfer between registrars.\n * @param domain - Domain name to transfer.\n * @param targetEmail - Email address of the Wix account to transfer the domain to.\n * @public\n * @documentationMaturity preview\n * @requiredField domain\n * @requiredField targetEmail\n * @permissionId premium:domains:v1:registered_domain:initiate_transfer\n * @fqn com.wixpress.premium.domains.registered.DomainTransferBetweenAccountsService.InitiateTransfer\n */\nexport async function initiateTransfer(\n domain: string,\n targetEmail: string\n): Promise<\n void & {\n __applicationErrorsType?: InitiateTransferApplicationErrors;\n }\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[2] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n domain: domain,\n targetEmail: targetEmail,\n });\n\n const reqOpts =\n ambassadorWixPremiumDomainsV1RegisteredDomain.initiateTransfer(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(result.data)!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { domain: '$[0]', targetEmail: '$[1]' },\n singleArgumentUnchanged: false,\n },\n ['domain', 'targetEmail']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\n/**\n * Approves a pending frictionless domain transfer using the confirmation token received in the transfer invite email.\n *\n * On success, the domain is reassigned from the source account to the calling account.\n *\n * Call [Initiate Transfer](/registeredDomains/initiate-transfer) first to start a transfer and generate a confirmation token.\n * @param domain - Domain name to approve the transfer for.\n * @param confirmationToken - Confirmation token received in the transfer invite email.\n * @public\n * @documentationMaturity preview\n * @requiredField confirmationToken\n * @requiredField domain\n * @permissionId premium:domains:v1:registered_domain:approve_transfer\n * @fqn com.wixpress.premium.domains.registered.DomainTransferBetweenAccountsService.ApproveTransfer\n */\nexport async function approveTransfer(\n domain: string,\n confirmationToken: string\n): Promise<\n void & {\n __applicationErrorsType?: ApproveTransferApplicationErrors;\n }\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[2] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n domain: domain,\n confirmationToken: confirmationToken,\n });\n\n const reqOpts =\n ambassadorWixPremiumDomainsV1RegisteredDomain.approveTransfer(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(result.data)!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { domain: '$[0]', confirmationToken: '$[1]' },\n singleArgumentUnchanged: false,\n },\n ['domain', 'confirmationToken']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\n/**\n * Updates an existing registered domain using field masks.\n *\n * Only the fields specified in `field_mask` are updated.\n * All other fields are left unchanged.\n *\n * > __Important:__ For ICANN-governed gTLDs, changing the registrant email may trigger a verification process requiring confirmation from both the old and new email addresses.\n * @param domain - Name of the domain including TLD.\n * Subdomains aren't supported. You can only register a root domain.\n * Domain name and TLD must be separated by a dot. For example,\n * `my-new-domain.com`. Only alphanumeric characters, hyphens, and dots are\n * supported.\n *\n * Min: 3 characters\n * Max: 63 characters\n * @public\n * @documentationMaturity preview\n * @requiredField domain\n * @permissionId premium:domains:v1:registered_domain:update_registered_domain\n * @fqn com.wixpress.premium.domains.registered.RegisteredDomainService.UpdateRegisteredDomain\n */\nexport async function updateRegisteredDomain(\n domain: string,\n options?: UpdateRegisteredDomainOptions\n): Promise<\n NonNullablePaths<\n UpdateRegisteredDomainResponse,\n | `registeredDomain._id`\n | `registeredDomain.domain`\n | `registeredDomain.registrantContact.firstName`\n | `registeredDomain.registrantContact.lastName`\n | `registeredDomain.registrantContact.email`\n | `registeredDomain.registrantContact.streetAddress`\n | `registeredDomain.registrantContact.city`\n | `registeredDomain.registrantContact.country`\n | `registeredDomain.registrantContact.phone`\n | `registeredDomain.tldData.caOptions.legalType.value`\n | `registeredDomain.tldData.itOptions.entityType.value`\n | `registeredDomain.tldData.comAuOptions.policyReason.value`\n | `registeredDomain.tldData.comAuOptions.eligibilityType.value`\n | `registeredDomain.tldData.comAuOptions.eligibilityIdType.value`\n | `registeredDomain.tldData.usOptions.nexusCategory`\n | `registeredDomain.tldData.usOptions.usAppPurpose`\n | `registeredDomain.tldData.esOptions.idType`\n | `registeredDomain.tldData.coIlOptions.registrantType`\n | `registeredDomain.tldData.tldType`\n | `registeredDomain.nameServers`,\n 4\n > & {\n __applicationErrorsType?: UpdateRegisteredDomainApplicationErrors;\n }\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[2] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n registeredDomain: { ...options?.registeredDomain, domain: domain },\n fieldMask: options?.fieldMask,\n });\n\n const reqOpts =\n ambassadorWixPremiumDomainsV1RegisteredDomain.updateRegisteredDomain(\n payload\n );\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(result.data)!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: { registeredDomain: '$[1].registeredDomain' },\n explicitPathsToArguments: {\n 'registeredDomain.domain': '$[0]',\n fieldMask: '$[1].fieldMask',\n },\n singleArgumentUnchanged: false,\n },\n ['domain', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface UpdateRegisteredDomainOptions {\n registeredDomain?: {\n /**\n * Domain ID. Identical to `domain`.\n * @format HOSTNAME\n * @readonly\n */\n _id?: string;\n /**\n * Date and time the `registeredDomain` object was created in\n * `YYYY-MM-DDThh:mm:ss.sssZ` format.\n * @readonly\n */\n _createdDate?: Date | null;\n /**\n * Date and time the `registeredDomain` object was last updated in\n * `YYYY-MM-DDThh:mm:ss.sssZ` format.\n * @readonly\n */\n _updatedDate?: Date | null;\n /**\n * Revision number, which increments by 1 each time the registered domain\n * is updated. To prevent conflicting changes, the current revision must be\n * passed when updating the registered domain.\n *\n * Ignored when creating a registered domain.\n */\n revision?: string | null;\n /**\n * corresponds to service id in SBS\n * @format GUID\n */\n subscriptionId?: string | null;\n /** Registrant (domain owner) contact information */\n registrantContact?: Contact;\n /** Administrative contact information */\n adminContact?: Contact;\n /** Technical contact information */\n techContact?: Contact;\n /** TLD-specific registration requirements */\n tldData?: TldSpecificData;\n /**\n * Nameservers the domain is delegated to at the registrar. Exactly 2 when set, empty otherwise.\n * This is the real delegation, not the NS record of a Wix-managed DNS zone.\n * @format HOSTNAME\n * @maxSize 2\n */\n nameServers?: string[];\n };\n /** Fields to update. Only specified fields are modified. */\n fieldMask?: string[];\n}\n","import { transformSDKTimestampToRESTTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformSDKFieldMaskToRESTFieldMask } from '@wix/sdk-runtime/transformations/field-mask';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nconst TRANSFORM_PATHS_0 = [{ path: 'fieldMask' }];\nconst TRANSFORM_PATHS_1 = [\n { path: 'registeredDomain.createdDate' },\n { path: 'registeredDomain.updatedDate' },\n];\n\nfunction resolveComWixpressPremiumDomainsRegisteredRegisteredDomainServiceUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'manage._base_domain_': [\n {\n srcPath: '/domains/v1/transfer-between-accounts',\n destPath: '/domains/v1/transfer-between-accounts',\n },\n {\n srcPath: '/v1/registered-domains',\n destPath: '/v1/registered-domains',\n },\n ],\n 'www._base_domain_': [\n {\n srcPath: '/v1/registered-domains',\n destPath: '/v1/registered-domains',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/domains/v1/registered-domains',\n destPath: '/v1/registered-domains',\n },\n {\n srcPath: '/premium/domains/v1/registered-domains',\n destPath: '/v1/registered-domains',\n },\n {\n srcPath: '/premium/domains/domains/v1/transfer-between-accounts',\n destPath: '/domains/v1/transfer-between-accounts',\n },\n ],\n _: [\n {\n srcPath: '/domains/v1/transfer-between-accounts',\n destPath: '/domains/v1/transfer-between-accounts',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nfunction resolveComWixpressPremiumDomainsRegisteredDomainTransferBetweenAccountsServiceUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'manage._base_domain_': [\n {\n srcPath: '/domains/v1/transfer-between-accounts',\n destPath: '/domains/v1/transfer-between-accounts',\n },\n {\n srcPath: '/v1/registered-domains',\n destPath: '/v1/registered-domains',\n },\n ],\n 'www._base_domain_': [\n {\n srcPath: '/v1/registered-domains',\n destPath: '/v1/registered-domains',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/domains/v1/registered-domains',\n destPath: '/v1/registered-domains',\n },\n {\n srcPath: '/premium/domains/v1/registered-domains',\n destPath: '/v1/registered-domains',\n },\n {\n srcPath: '/premium/domains/domains/v1/transfer-between-accounts',\n destPath: '/domains/v1/transfer-between-accounts',\n },\n ],\n _: [\n {\n srcPath: '/domains/v1/transfer-between-accounts',\n destPath: '/domains/v1/transfer-between-accounts',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_domains_registered-domains';\n\n/**\n * Initiates a frictionless transfer of a registered domain to another Wix account, identified by email.\n *\n * If a Wix account already exists for `targetEmail`, an email is sent to that account's owner inviting them to approve the transfer by calling [Approve Transfer](/registeredDomains/approve-transfer).\n *\n * The domain must belong to the calling account and must not be in a state that blocks transfer, such as a redemption period or an in-progress transfer between registrars.\n */\nexport function initiateTransfer(payload: object): RequestOptionsFactory<any> {\n function __initiateTransfer({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.premium.domains.v1.registered_domain',\n method: 'POST' as any,\n methodFqn:\n 'com.wixpress.premium.domains.registered.DomainTransferBetweenAccountsService.InitiateTransfer',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressPremiumDomainsRegisteredDomainTransferBetweenAccountsServiceUrl(\n {\n protoPath: '/domains/v1/transfer-between-accounts/{domain}',\n data: payload,\n host,\n }\n ),\n data: payload,\n };\n\n return metadata;\n }\n\n return __initiateTransfer;\n}\n\n/**\n * Approves a pending frictionless domain transfer using the confirmation token received in the transfer invite email.\n *\n * On success, the domain is reassigned from the source account to the calling account.\n *\n * Call [Initiate Transfer](/registeredDomains/initiate-transfer) first to start a transfer and generate a confirmation token.\n */\nexport function approveTransfer(payload: object): RequestOptionsFactory<any> {\n function __approveTransfer({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.premium.domains.v1.registered_domain',\n method: 'POST' as any,\n methodFqn:\n 'com.wixpress.premium.domains.registered.DomainTransferBetweenAccountsService.ApproveTransfer',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressPremiumDomainsRegisteredDomainTransferBetweenAccountsServiceUrl(\n {\n protoPath: '/domains/v1/transfer-between-accounts/{domain}/approve',\n data: payload,\n host,\n }\n ),\n data: payload,\n };\n\n return metadata;\n }\n\n return __approveTransfer;\n}\n\n/**\n * Updates an existing registered domain using field masks.\n *\n * Only the fields specified in `field_mask` are updated.\n * All other fields are left unchanged.\n *\n * > __Important:__ For ICANN-governed gTLDs, changing the registrant email may trigger a verification process requiring confirmation from both the old and new email addresses.\n */\nexport function updateRegisteredDomain(\n payload: object\n): RequestOptionsFactory<any> {\n function __updateRegisteredDomain({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: TRANSFORM_PATHS_0,\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: TRANSFORM_PATHS_1,\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.premium.domains.v1.registered_domain',\n method: 'PATCH' as any,\n methodFqn:\n 'com.wixpress.premium.domains.registered.RegisteredDomainService.UpdateRegisteredDomain',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressPremiumDomainsRegisteredRegisteredDomainServiceUrl(\n {\n protoPath: '/v1/registered-domains/{registeredDomain.domain}',\n data: serializedData,\n host,\n }\n ),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: TRANSFORM_PATHS_1,\n },\n ]),\n };\n\n return metadata;\n }\n\n return __updateRegisteredDomain;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,yBAAAA;AAAA,EAAA,wBAAAC;AAAA,EAAA,8BAAAC;AAAA;AAAA;;;ACAA,6BAAoD;AACpD,oCAGO;;;ACJP,uBAAqD;AACrD,IAAAC,oBAAqD;AACrD,wBAAqD;AACrD,6BAA+B;AAC/B,0BAA2B;AAI3B,IAAM,oBAAoB,CAAC,EAAE,MAAM,YAAY,CAAC;AAChD,IAAM,oBAAoB;AAAA,EACxB,EAAE,MAAM,+BAA+B;AAAA,EACvC,EAAE,MAAM,+BAA+B;AACzC;AAEA,SAAS,qEACP,MACA;AACA,QAAM,mBAAmB;AAAA,IACvB,wBAAwB;AAAA,MACtB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,qBAAqB;AAAA,MACnB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,mBAAmB;AAAA,MACjB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,GAAG;AAAA,MACD;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA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,CAAC;AAK/C,QAAM,cAAU,qEAAsC;AAAA,IACpD,kBAAkB,EAAE,GAAG,SAAS,kBAAkB,OAAe;AAAA,IACjE,WAAW,SAAS;AAAA,EACtB,CAAC;AAED,QAAM,UAC0C;AAAA,IAC5C;AAAA,EACF;AAEF,eAAa,aAAa;AAC1B,MAAI;AACF,UAAM,SAAS,MAAM,WAAW,QAAQ,OAAO;AAC/C,iBAAa,YAAY,MAAM;AAE/B,eAAO,uEAAwC,OAAO,IAAI;AAAA,EAC5D,SAAS,KAAU;AACjB,UAAM,uBAAmB,uBAAAF;AAAA,MACvB;AAAA,MACA;AAAA,QACE,wBAAwB,EAAE,kBAAkB,wBAAwB;AAAA,QACpE,0BAA0B;AAAA,UACxB,2BAA2B;AAAA,UAC3B,WAAW;AAAA,QACb;AAAA,QACA,yBAAyB;AAAA,MAC3B;AAAA,MACA,CAAC,UAAU,SAAS;AAAA,IACtB;AACA,iBAAa,UAAU,GAAG;AAE1B,UAAM;AAAA,EACR;AACF;","names":["approveTransfer","initiateTransfer","updateRegisteredDomain","import_timestamp","payload","LegalTypeEnum","EntityTypeEnum","PolicyReasonEnum","EligibilityTypeEnum","EligibilityIdTypeEnum","NexusCategory","UsAppPurpose","IdType","RegistrantType","TldType","ContactVerificationStatus","TriggerType","WebhookIdentityType","initiateTransfer","sdkTransformError","approveTransfer","updateRegisteredDomain"]}
1
+ {"version":3,"sources":["../../index.typings.ts","../../src/premium-domains-v1-registered-domain-registered-domains.universal.ts","../../src/premium-domains-v1-registered-domain-registered-domains.http.ts"],"sourcesContent":["export * from './src/premium-domains-v1-registered-domain-registered-domains.universal.js';\n","import { transformError as sdkTransformError } from '@wix/sdk-runtime/transform-error';\nimport {\n renameKeysFromSDKRequestToRESTRequest,\n renameKeysFromRESTResponseToSDKResponse,\n} from '@wix/sdk-runtime/rename-all-nested-keys';\nimport { HttpClient, NonNullablePaths } from '@wix/sdk-types';\nimport * as ambassadorWixPremiumDomainsV1RegisteredDomain from './premium-domains-v1-registered-domain-registered-domains.http.js';\n\n/**\n * A registered domain is a domain that Wix has registered on behalf of a customer\n * with an external registar.\n */\nexport interface RegisteredDomain {\n /**\n * Domain ID. Identical to `domain`.\n * @format HOSTNAME\n * @readonly\n */\n _id?: string;\n /**\n * Name of the domain including TLD.\n * Subdomains aren't supported. You can only register a root domain.\n * Domain name and TLD must be separated by a dot. For example,\n * `my-new-domain.com`. Only alphanumeric characters, hyphens, and dots are\n * supported.\n *\n * Min: 3 characters\n * Max: 63 characters\n * @format HOSTNAME\n */\n domain?: string;\n /**\n * Date and time the `registeredDomain` object was created in\n * `YYYY-MM-DDThh:mm:ss.sssZ` format.\n * @readonly\n */\n _createdDate?: Date | null;\n /**\n * Date and time the `registeredDomain` object was last updated in\n * `YYYY-MM-DDThh:mm:ss.sssZ` format.\n * @readonly\n */\n _updatedDate?: Date | null;\n /**\n * Revision number, which increments by 1 each time the registered domain\n * is updated. To prevent conflicting changes, the current revision must be\n * passed when updating the registered domain.\n *\n * Ignored when creating a registered domain.\n */\n revision?: string | null;\n /**\n * corresponds to service id in SBS\n * @format GUID\n */\n subscriptionId?: string | null;\n /** Registrant (domain owner) contact information */\n registrantContact?: Contact;\n /** Administrative contact information */\n adminContact?: Contact;\n /** Technical contact information */\n techContact?: Contact;\n /** TLD-specific registration requirements */\n tldData?: TldSpecificData;\n /**\n * Nameservers the domain is delegated to at the registrar. Exactly 2 when set, empty otherwise.\n * This is the real delegation, not the NS record of a Wix-managed DNS zone.\n * @format HOSTNAME\n * @maxSize 2\n */\n nameServers?: string[];\n}\n\n/** Contact information for domain registration */\nexport interface Contact {\n /**\n * First name\n * @minLength 1\n * @maxLength 100\n */\n firstName?: string;\n /**\n * Last name\n * @minLength 1\n * @maxLength 100\n */\n lastName?: string;\n /**\n * Email address\n * @format EMAIL\n */\n email?: string;\n /**\n * Company or organization name (optional)\n * @maxLength 100\n */\n company?: string | null;\n /**\n * Street address\n * @minLength 1\n * @maxLength 255\n */\n streetAddress?: string;\n /**\n * City\n * @minLength 1\n * @maxLength 30\n */\n city?: string;\n /**\n * Subdivision (such as state, prefecture, or province) in ISO-3166 alpha-2 format (optional)\n * @format SUBDIVISION\n */\n subdivision?: string | null;\n /**\n * Postal or ZIP code. Optional - some countries (e.g. Jamaica) have no postal system. Max 16 chars.\n * @maxLength 16\n */\n postalCode?: string | null;\n /**\n * ISO 3166-1 alpha-2 country code\n * @format COUNTRY\n */\n country?: string;\n /**\n * Phone number in international format\n * @format PHONE\n */\n phone?: string;\n}\n\n/** TLD-specific registration data required for certain domain extensions. The `tldType` determines which options field to set. */\nexport interface TldSpecificData extends TldSpecificDataRequirementsOneOf {\n /** Registration options for .ca domains. */\n caOptions?: CaOptions;\n /** Registration options for .it domains. */\n itOptions?: ItOptions;\n /** Registration options for .com.au domains. */\n comAuOptions?: ComAuOptions;\n /** Registration options for .com.br domains. */\n comBrOptions?: ComBrOptions;\n /** Registration options for .us domains. */\n usOptions?: UsOptions;\n /** Registration options for .se domains. */\n seOptions?: SeOptions;\n /** Registration options for .es domains. */\n esOptions?: EsOptions;\n /** Registration options for .co.il domains. */\n coIlOptions?: IlOptions;\n /** Registration options for .org.il domains. */\n orgIlOptions?: IlOptions;\n /** TLD-specific registration data required for certain domain extensions. The `tldType` determines which options field to set. */\n tldType?: TldTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface TldSpecificDataRequirementsOneOf {\n /** Registration options for .ca domains. */\n caOptions?: CaOptions;\n /** Registration options for .it domains. */\n itOptions?: ItOptions;\n /** Registration options for .com.au domains. */\n comAuOptions?: ComAuOptions;\n /** Registration options for .com.br domains. */\n comBrOptions?: ComBrOptions;\n /** Registration options for .us domains. */\n usOptions?: UsOptions;\n /** Registration options for .se domains. */\n seOptions?: SeOptions;\n /** Registration options for .es domains. */\n esOptions?: EsOptions;\n /** Registration options for .co.il domains. */\n coIlOptions?: IlOptions;\n /** Registration options for .org.il domains. */\n orgIlOptions?: IlOptions;\n}\n\n/** Legal entity types recognized by the Canadian Internet Registration Authority (CIRA). */\nexport enum LegalTypeEnum {\n /** Aboriginal peoples. */\n ABO = 'ABO',\n /** Association. */\n ASS = 'ASS',\n /** Canadian corporation. */\n CCO = 'CCO',\n /** Canadian citizen. */\n CCT = 'CCT',\n /** Educational institution. */\n EDU = 'EDU',\n /** Government entity. */\n GOV = 'GOV',\n /** Hospital. */\n HOP = 'HOP',\n /** Indian band. */\n INB = 'INB',\n /** Library, archive, or museum. */\n LAM = 'LAM',\n /** Legal representative. */\n LGR = 'LGR',\n /** Her Majesty the Queen. */\n MAJ = 'MAJ',\n /** Official mark registered under the Trademarks Act. */\n OMK = 'OMK',\n /** Political party. */\n PLT = 'PLT',\n /** Partnership. */\n PRT = 'PRT',\n /** Permanent resident. */\n RES = 'RES',\n /** Trademark owner. */\n TDM = 'TDM',\n /** Trade union. */\n TRD = 'TRD',\n /** Trust. */\n TRS = 'TRS',\n}\n\n/** @enumType */\nexport type LegalTypeEnumWithLiterals =\n | LegalTypeEnum\n | 'ABO'\n | 'ASS'\n | 'CCO'\n | 'CCT'\n | 'EDU'\n | 'GOV'\n | 'HOP'\n | 'INB'\n | 'LAM'\n | 'LGR'\n | 'MAJ'\n | 'OMK'\n | 'PLT'\n | 'PRT'\n | 'RES'\n | 'TDM'\n | 'TRD'\n | 'TRS';\n\n/** Legal type of the registrant. */\nexport interface LegalType {\n value?: LegalTypeEnumWithLiterals;\n}\n\n/** Entity types recognized by the Italian registry (Registro.it). */\nexport enum EntityTypeEnum {\n /** Italian resident. */\n ITR = 'ITR',\n /** Foreign resident. */\n FOR = 'FOR',\n /** Company or sole proprietorship. */\n COM = 'COM',\n /** Freelance worker. */\n FWI = 'FWI',\n /** Nonprofit organization. */\n NPO = 'NPO',\n /** Public organization. */\n POI = 'POI',\n /** Other entity type. */\n OSI = 'OSI',\n}\n\n/** @enumType */\nexport type EntityTypeEnumWithLiterals =\n | EntityTypeEnum\n | 'ITR'\n | 'FOR'\n | 'COM'\n | 'FWI'\n | 'NPO'\n | 'POI'\n | 'OSI';\n\n/** Entity type of the registrant. */\nexport interface EntityType {\n value?: EntityTypeEnumWithLiterals;\n}\n\n/** Policy reasons recognized by the .au Domain Administration (auDA). */\nexport enum PolicyReasonEnum {\n /** Exact match to the registrant's name or trademark. */\n EXC = 'EXC',\n /** Close and substantial connection to the registrant. */\n CLS = 'CLS',\n}\n\n/** @enumType */\nexport type PolicyReasonEnumWithLiterals = PolicyReasonEnum | 'EXC' | 'CLS';\n\n/** Eligibility types recognized by the .au Domain Administration (auDA). */\nexport enum EligibilityTypeEnum {\n /** Company. */\n COM = 'COM',\n /** Sole trader. */\n STR = 'STR',\n /** Partnership. */\n PRT = 'PRT',\n /** Trademark owner. */\n TRO = 'TRO',\n /** Pending trademark owner. */\n PTO = 'PTO',\n /** Commonwealth entity. */\n CWE = 'CWE',\n /** Government body. */\n GVB = 'GVB',\n /** Incorporated association. */\n INA = 'INA',\n /** Trust. */\n TRS = 'TRS',\n /** Statutory body. */\n STB = 'STB',\n /** Trading cooperative. */\n TRC = 'TRC',\n /** Registered business. */\n RBU = 'RBU',\n}\n\n/** @enumType */\nexport type EligibilityTypeEnumWithLiterals =\n | EligibilityTypeEnum\n | 'COM'\n | 'STR'\n | 'PRT'\n | 'TRO'\n | 'PTO'\n | 'CWE'\n | 'GVB'\n | 'INA'\n | 'TRS'\n | 'STB'\n | 'TRC'\n | 'RBU';\n\n/** Identification types recognized by the .au Domain Administration (auDA). */\nexport enum EligibilityIdTypeEnum {\n /** Australian Business Number. */\n ABN = 'ABN',\n /** Australian Company Number. */\n ACN = 'ACN',\n}\n\n/** @enumType */\nexport type EligibilityIdTypeEnumWithLiterals =\n | EligibilityIdTypeEnum\n | 'ABN'\n | 'ACN';\n\n/** Reason the registrant is eligible for the domain name. */\nexport interface PolicyReason {\n value?: PolicyReasonEnumWithLiterals;\n}\n\n/** Type of entity registering the domain. */\nexport interface EligibilityType {\n value?: EligibilityTypeEnumWithLiterals;\n}\n\n/** Type of identification number provided for eligibility. */\nexport interface EligibilityIdType {\n value?: EligibilityIdTypeEnumWithLiterals;\n}\n\n/** Nexus category indicating the registrant's connection to the United States. */\nexport enum NexusCategory {\n /** US citizen. */\n C11 = 'C11',\n /** Permanent resident. */\n C12 = 'C12',\n /** US entity or organization. */\n C21 = 'C21',\n /** Foreign entity with a presence in the US market. */\n C31 = 'C31',\n /** Foreign entity with a US office. */\n C32 = 'C32',\n}\n\n/** @enumType */\nexport type NexusCategoryWithLiterals =\n | NexusCategory\n | 'C11'\n | 'C12'\n | 'C21'\n | 'C31'\n | 'C32';\n\n/** Purpose for which the .us domain's application was made. */\nexport enum UsAppPurpose {\n /** Business use for profit. */\n P1 = 'P1',\n /** Non-profit business, club, association, or religious organization. */\n P2 = 'P2',\n /** Personal use. */\n P3 = 'P3',\n /** Education purposes. */\n P4 = 'P4',\n /** Government purposes. */\n P5 = 'P5',\n}\n\n/** @enumType */\nexport type UsAppPurposeWithLiterals =\n | UsAppPurpose\n | 'P1'\n | 'P2'\n | 'P3'\n | 'P4'\n | 'P5';\n\n/** Type of government-issued ID a .es registrant identifies itself with. */\nexport enum IdType {\n /** Any ID that is neither a NIF nor a NIE - typically a foreign national or tax ID. */\n OTHER = 'OTHER',\n /** Spanish tax identification number. A Spanish company sends its CIF under this type. */\n NIF = 'NIF',\n /** Foreigner identity number issued in Spain. */\n NIE = 'NIE',\n}\n\n/** @enumType */\nexport type IdTypeWithLiterals = IdType | 'OTHER' | 'NIF' | 'NIE';\n\n/** Type of registrant recognized by the Israeli registry (ISOC-IL). */\nexport enum RegistrantType {\n /** Natural person. */\n INDIVIDUAL = 'INDIVIDUAL',\n /** Company, association, or other legal entity. */\n ORGANIZATION = 'ORGANIZATION',\n}\n\n/** @enumType */\nexport type RegistrantTypeWithLiterals =\n | RegistrantType\n | 'INDIVIDUAL'\n | 'ORGANIZATION';\n\n/** TLD-specific registration data required for certain domain extensions. The `tldType` determines which options field to set. */\nexport enum TldType {\n /** .ca domains. */\n CA = 'CA',\n /** .it domains. */\n IT = 'IT',\n /** .com.au domains. */\n COM_AU = 'COM_AU',\n /** .com.br domains. */\n COM_BR = 'COM_BR',\n /** .us domains. */\n US = 'US',\n /** .se domains. */\n SE = 'SE',\n /** .es domains. */\n ES = 'ES',\n /** .co.il domains. */\n CO_IL = 'CO_IL',\n /** .org.il domains. */\n ORG_IL = 'ORG_IL',\n}\n\n/** @enumType */\nexport type TldTypeWithLiterals =\n | TldType\n | 'CA'\n | 'IT'\n | 'COM_AU'\n | 'COM_BR'\n | 'US'\n | 'SE'\n | 'ES'\n | 'CO_IL'\n | 'ORG_IL';\n\n/** Registration options for .ca domains. */\nexport interface CaOptions {\n /** Registrant's legal type. Required for .ca domains. */\n legalType?: LegalType;\n}\n\n/** Registration options for .it domains. */\nexport interface ItOptions {\n /** Registrant's entity type. Required for .it domains. */\n entityType?: EntityType;\n /**\n * Registration code such as a VAT number, tax ID, or fiscal code. Required for .it domains. Maximum 20 characters.\n * @maxLength 20\n */\n regCode?: string | null;\n}\n\n/** Registration options for .com.au domains. */\nexport interface ComAuOptions {\n /** Reason the registrant is eligible for the domain name. Required for .com.au domains. */\n policyReason?: PolicyReason;\n /** Type of entity registering the domain. Required for .com.au domains. */\n eligibilityType?: EligibilityType;\n /** Type of identification number provided. Required for .com.au domains. */\n eligibilityIdType?: EligibilityIdType;\n /**\n * Eligibility identification number, such as an ABN or ACN. Required for .com.au domains. Maximum 20 characters.\n * @maxLength 20\n */\n eligibilityId?: string | null;\n /**\n * Registrant's entity name. Required for .com.au domains. Maximum 255 characters.\n * @maxLength 255\n */\n registrantName?: string | null;\n}\n\n/** Registration options for .com.br domains. */\nexport interface ComBrOptions {\n /**\n * Brazilian tax ID. CPF for individuals, CNPJ for companies.\n *\n * + CPF format: 123.456.789-87 (11 digits)\n * + CNPJ format: 01.234.456/5432-10 (14 digits)\n * @minLength 11\n * @maxLength 18\n */\n identificationNumber?: string | null;\n /**\n * Registrant's date of birth, in `YYYY-MM-DD` format. Required by the registry when the registrant is an\n * individual (CPF holder). Not needed for companies (CNPJ).\n * @format LOCAL_DATE\n */\n dateOfBirth?: string | null;\n}\n\n/** Registration options for .us domains. */\nexport interface UsOptions {\n /** Registrant's nexus category. Required for .us domains. */\n nexusCategory?: NexusCategoryWithLiterals;\n /** Registrant's application purpose. Required for .us domains. */\n usAppPurpose?: UsAppPurposeWithLiterals;\n /**\n * Domain owner's two-letter country of citizenship. Required for .us domains when\n * `nexus_category` is C31 or C32; not applicable otherwise.\n * @maxLength 2\n */\n nexusValidator?: string | null;\n}\n\n/** Registration options for .se domains. */\nexport interface SeOptions {\n /**\n * Registrant's identification number. Required for .se domains.\n *\n * + Individuals: national ID card or passport number.\n * + Organizations: business registration number or VAT-ID.\n * @maxLength 20\n */\n idNumber?: string | null;\n}\n\n/** Registration options for .es domains. */\nexport interface EsOptions {\n /**\n * Registrant's government-issued ID number. Required for .es domains.\n *\n * + Spanish registrants: DNI, NIF, or NIE.\n * + Foreign registrants: equivalent national ID or tax ID.\n *\n * Note: the admin contact must be a natural person (not a company).\n * @maxLength 20\n */\n govId?: string | null;\n /**\n * Type of the ID carried in `govId`. Required for .es domains - without it the registry\n * substitutes a placeholder identification and the registration is non-compliant.\n *\n * Note: there is no CIF value - a Spanish company sends NIF carrying its CIF number.\n */\n idType?: IdTypeWithLiterals;\n}\n\n/** Registration options for .co.il and .org.il domains. */\nexport interface IlOptions {\n /** Registrant's type. Required for .co.il and .org.il domains. */\n registrantType?: RegistrantTypeWithLiterals;\n /**\n * Registrant's company registration number. Required when `registrantType` is `ORGANIZATION`.\n *\n * For Israeli entities this is the 9-digit company number (ח.פ.). The registry validates the\n * format; it isn't validated by the registrar.\n * @maxLength 30\n */\n registrationNumber?: string | null;\n}\n\n/** Sent after the registrar accepted new name servers for a registered domain. */\nexport interface NameServersChanged {\n /**\n * Name of the domain whose name servers changed.\n * @format HOSTNAME\n */\n domain?: string;\n /**\n * Name servers set on the domain.\n * @format HOSTNAME\n * @maxSize 2\n */\n nameServers?: string[];\n /**\n * Name servers the domain had before the change.\n * @format HOSTNAME\n * @maxSize 2\n */\n previousNameServers?: string[];\n}\n\nexport interface InitiateTransferRequest {\n /**\n * Domain name to transfer.\n * @format HOSTNAME\n */\n domain: string;\n /**\n * Email address of the Wix account to transfer the domain to.\n * @format EMAIL\n */\n targetEmail: string;\n}\n\nexport interface InitiateTransferResponse {}\n\nexport interface ApproveTransferRequest {\n /**\n * Domain name to approve the transfer for.\n * @format HOSTNAME\n */\n domain: string;\n /**\n * Confirmation token received in the transfer invite email.\n * @maxLength 1024\n */\n confirmationToken: string;\n}\n\nexport interface ApproveTransferResponse {}\n\nexport interface DomainEvent extends DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n /** Event ID. With this ID you can easily spot duplicated events and ignore them. */\n _id?: string;\n /**\n * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.\n * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.\n */\n entityFqdn?: string;\n /**\n * Event action name, placed at the top level to make it easier for users to dispatch messages.\n * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.\n */\n slug?: string;\n /** ID of the entity associated with the event. */\n entityId?: string;\n /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */\n eventTime?: Date | null;\n /**\n * Whether the event was triggered as a result of a privacy regulation application\n * (for example, GDPR).\n */\n triggeredByAnonymizeRequest?: boolean | null;\n /** If present, indicates the action that triggered the event. */\n originatedFrom?: string | null;\n /**\n * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at `16:00` and then again at `16:01`, the second update will always have a higher sequence number.\n * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.\n */\n entityEventSequence?: string | null;\n}\n\n/** @oneof */\nexport interface DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n}\n\nexport interface EntityCreatedEvent {\n entity?: string;\n}\n\nexport interface RestoreInfo {\n deletedDate?: Date | null;\n}\n\nexport interface EntityUpdatedEvent {\n /**\n * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.\n * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.\n * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.\n */\n currentEntity?: string;\n}\n\nexport interface EntityDeletedEvent {\n /** Entity that was deleted. */\n deletedEntity?: string | null;\n}\n\nexport interface ActionEvent {\n body?: string;\n}\n\nexport interface MessageEnvelope {\n /**\n * App instance ID.\n * @format GUID\n */\n instanceId?: string | null;\n /**\n * Event type.\n * @maxLength 150\n */\n eventType?: string;\n /** The identification type and identity data. */\n identity?: IdentificationData;\n /** Stringify payload. */\n data?: string;\n /** Details related to the account */\n accountInfo?: AccountInfo;\n}\n\nexport interface IdentificationData extends IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n /** @readonly */\n identityType?: WebhookIdentityTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n}\n\nexport enum WebhookIdentityType {\n UNKNOWN = 'UNKNOWN',\n ANONYMOUS_VISITOR = 'ANONYMOUS_VISITOR',\n MEMBER = 'MEMBER',\n WIX_USER = 'WIX_USER',\n APP = 'APP',\n}\n\n/** @enumType */\nexport type WebhookIdentityTypeWithLiterals =\n | WebhookIdentityType\n | 'UNKNOWN'\n | 'ANONYMOUS_VISITOR'\n | 'MEMBER'\n | 'WIX_USER'\n | 'APP';\n\nexport interface AccountInfo {\n /**\n * ID of the Wix account associated with the event.\n * @format GUID\n */\n accountId?: string | null;\n /**\n * ID of the parent Wix account. Only included when accountId belongs to a child account.\n * @format GUID\n */\n parentAccountId?: string | null;\n /**\n * ID of the Wix site associated with the event. Only included when the event is tied to a specific site.\n * @format GUID\n */\n siteId?: string | null;\n}\n\nexport interface DomainChangedEvent extends DomainChangedEventPayloadOneOf {\n /** WARNING: `registered` event payload is DEPRECATED */\n registered?: Registered;\n /** WARNING: `registration_cancelled` event payload is DEPRECATED */\n registrationCancelled?: RegistrationCancelled;\n connectedToSite?: ConnectedToSite;\n disconnectedFromSite?: DisconnectedFromSite;\n /** WARNING: `registration_extended` event payload is DEPRECATED */\n registrationExtended?: RegistrationExtended;\n /** WARNING: `owner_changed` event payload is DEPRECATED */\n ownerChanged?: OwnerChanged;\n /** WARNING: `privacy_changed` event payload is DEPRECATED */\n privacyChanged?: PrivacyChanged;\n /** WARNING: `management_type_changed` event payload is DEPRECATED */\n managementTypeChanged?: ManagementTypeChanged;\n /** WARNING: `billing_subscription_cancelled` event payload is DEPRECATED */\n billingSubscriptionCancelled?: BillingSubscriptionCancelled;\n /** WARNING: `connection_verified` event payload is DEPRECATED */\n connectionVerified?: ConnectionVerified;\n /** WARNING: `connection_lost` event payload is DEPRECATED */\n connectionLost?: ConnectionLost;\n /** WARNING: `expiration_date_changed` event payload is DEPRECATED */\n expirationDateChanged?: ExpirationDateChanged;\n propagationStarted?: PropagationStarted;\n verificationStarted?: VerificationStarted;\n contactVerificationStatusChanged?: ContactVerificationStatusChanged;\n /** Expiry/GraceStarted */\n expired?: Expired;\n /** GraceEnded/RedemptionStarted */\n graceEnded?: GraceEnded;\n /** RedemptionEnded */\n redemptionEnded?: RedemptionEnded;\n /** enable or disable dnssec */\n dnssecChanged?: DnssecChanged;\n /** domain SKU updated due to price increase */\n priceIncreaseProcessed?: PriceIncreaseProcessed;\n domainName?: string;\n changeTime?: Date | null;\n}\n\n/** @oneof */\nexport interface DomainChangedEventPayloadOneOf {\n /** WARNING: `registered` event payload is DEPRECATED */\n registered?: Registered;\n /** WARNING: `registration_cancelled` event payload is DEPRECATED */\n registrationCancelled?: RegistrationCancelled;\n connectedToSite?: ConnectedToSite;\n disconnectedFromSite?: DisconnectedFromSite;\n /** WARNING: `registration_extended` event payload is DEPRECATED */\n registrationExtended?: RegistrationExtended;\n /** WARNING: `owner_changed` event payload is DEPRECATED */\n ownerChanged?: OwnerChanged;\n /** WARNING: `privacy_changed` event payload is DEPRECATED */\n privacyChanged?: PrivacyChanged;\n /** WARNING: `management_type_changed` event payload is DEPRECATED */\n managementTypeChanged?: ManagementTypeChanged;\n /** WARNING: `billing_subscription_cancelled` event payload is DEPRECATED */\n billingSubscriptionCancelled?: BillingSubscriptionCancelled;\n /** WARNING: `connection_verified` event payload is DEPRECATED */\n connectionVerified?: ConnectionVerified;\n /** WARNING: `connection_lost` event payload is DEPRECATED */\n connectionLost?: ConnectionLost;\n /** WARNING: `expiration_date_changed` event payload is DEPRECATED */\n expirationDateChanged?: ExpirationDateChanged;\n propagationStarted?: PropagationStarted;\n verificationStarted?: VerificationStarted;\n contactVerificationStatusChanged?: ContactVerificationStatusChanged;\n /** Expiry/GraceStarted */\n expired?: Expired;\n /** GraceEnded/RedemptionStarted */\n graceEnded?: GraceEnded;\n /** RedemptionEnded */\n redemptionEnded?: RedemptionEnded;\n /** enable or disable dnssec */\n dnssecChanged?: DnssecChanged;\n /** domain SKU updated due to price increase */\n priceIncreaseProcessed?: PriceIncreaseProcessed;\n}\n\nexport interface Registered {\n /** @format GUID */\n registrationId?: string;\n}\n\nexport interface RegistrationCancelled {\n /** @format GUID */\n registrationId?: string;\n}\n\nexport interface ConnectedToSite {\n /** @format GUID */\n msid?: string;\n}\n\nexport interface DisconnectedFromSite {\n /** @format GUID */\n msid?: string;\n}\n\nexport interface RegistrationExtended {\n /** @format GUID */\n registrationId?: string;\n}\n\nexport interface OwnerChanged {\n /** @format GUID */\n oldUserGuid?: string;\n /** @format GUID */\n newUserGuid?: string;\n /** @format GUID */\n oldRegistrationId?: string | null;\n /** @format GUID */\n newRegistrationId?: string | null;\n}\n\nexport interface PrivacyChanged {\n /** @format GUID */\n registrationId?: string;\n}\n\nexport interface ManagementTypeChanged {}\n\nexport interface BillingSubscriptionCancelled {\n /** @format GUID */\n registrationId?: string;\n}\n\nexport interface ConnectionVerified {}\n\nexport interface ConnectionLost {}\n\nexport interface ExpirationDateChanged {\n /** @format GUID */\n registrationId?: string;\n}\n\nexport interface PropagationStarted {\n /** @format GUID */\n userGuid?: string;\n}\n\nexport interface VerificationStarted {\n /** @format GUID */\n userGuid?: string;\n}\n\nexport interface ContactVerificationStatusChanged {\n status?: ContactVerificationStatusWithLiterals;\n}\n\nexport enum ContactVerificationStatus {\n PENDING = 'PENDING',\n DEACTIVATED = 'DEACTIVATED',\n CONFIRMED_BY_WIX = 'CONFIRMED_BY_WIX',\n CONFIRMED_BY_REGDOTCOM = 'CONFIRMED_BY_REGDOTCOM',\n}\n\n/** @enumType */\nexport type ContactVerificationStatusWithLiterals =\n | ContactVerificationStatus\n | 'PENDING'\n | 'DEACTIVATED'\n | 'CONFIRMED_BY_WIX'\n | 'CONFIRMED_BY_REGDOTCOM';\n\nexport interface Expired {}\n\nexport interface GraceEnded {}\n\nexport interface RedemptionEnded {}\n\nexport interface DnssecChanged {\n /**\n * unique registration id\n * @format GUID\n */\n registrationId?: string;\n}\n\nexport interface PriceIncreaseProcessed {}\n\nexport interface DomainReleaseCouponEvent\n extends DomainReleaseCouponEventTriggerTypeInfoOneOf {\n reviveFromChargebackInfo?: ReviveFromChargebackInfo;\n domainName?: string;\n couponCode?: string;\n triggerType?: TriggerTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface DomainReleaseCouponEventTriggerTypeInfoOneOf {\n reviveFromChargebackInfo?: ReviveFromChargebackInfo;\n}\n\nexport enum TriggerType {\n UNKNOWN_EVENT_TYPE = 'UNKNOWN_EVENT_TYPE',\n REVIVE_FROM_CHARGEBACK = 'REVIVE_FROM_CHARGEBACK',\n}\n\n/** @enumType */\nexport type TriggerTypeWithLiterals =\n | TriggerType\n | 'UNKNOWN_EVENT_TYPE'\n | 'REVIVE_FROM_CHARGEBACK';\n\nexport interface ReviveFromChargebackInfo {\n /** @format GUID */\n extContractId?: string;\n}\n\nexport interface CreateRegisteredDomainRequest {\n /** Information about the domain to register including contact details. */\n registeredDomain?: RegisteredDomain;\n}\n\nexport interface CreateRegisteredDomainResponse {\n /** Created registered domain. */\n registeredDomain?: RegisteredDomain;\n}\n\nexport interface CreateRegisteredDomainInternalRequest {\n /** Information about the domain to register including contact details. */\n registeredDomain?: RegisteredDomain;\n}\n\nexport interface CreateRegisteredDomainInternalResponse {\n /** Created registered domain. */\n registeredDomain?: RegisteredDomain;\n}\n\nexport interface UpdateRegisteredDomainRequest {\n /** Registered domain with updated fields. */\n registeredDomain?: RegisteredDomain;\n /** Fields to update. Only specified fields are modified. */\n fieldMask?: string[];\n}\n\nexport interface UpdateRegisteredDomainResponse {\n /** Updated registered domain. */\n registeredDomain?: RegisteredDomain;\n}\n\nexport interface ScheduleNearExpirationReminderRequest {\n /** @format HOSTNAME */\n domain?: string;\n}\n\nexport interface ScheduleNearExpirationReminderResponse {\n registeredDomain?: RegisteredDomain;\n}\n\nexport interface ScheduleContactDetailsReminderRequest {\n /** @format HOSTNAME */\n domain?: string;\n}\n\nexport interface ScheduleContactDetailsReminderResponse {\n registeredDomain?: RegisteredDomain;\n}\n\nexport interface ScheduleParkAfterRefundRequest {\n /** @format HOSTNAME */\n domain?: string;\n /** @format GUID */\n subscriptionId?: string;\n parkAtDate?: Date | null;\n}\n\nexport interface ScheduleParkAfterRefundResponse {\n registeredDomain?: RegisteredDomain;\n}\n\n/** @docsIgnore */\nexport type InitiateTransferApplicationErrors =\n | {\n code?: 'DOMAIN_NOT_OWNED_BY_CALLER';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'DOMAIN_NOT_ELIGIBLE_FOR_TRANSFER';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'TARGET_EMAIL_NOT_FOUND';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'CANNOT_TRANSFER_TO_SELF';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'PENDING_TRANSFER_ALREADY_EXISTS';\n description?: string;\n data?: Record<string, any>;\n };\n/** @docsIgnore */\nexport type ApproveTransferApplicationErrors =\n | {\n code?: 'TRANSFER_REQUEST_EXPIRED';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'CONFIRMATION_PROCESS_NOT_FOUND';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'CONFIRMATION_PROCESS_INVALID_TOKEN';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'CONFIRMATION_PROCESS_TOKEN_ALREADY_REPORTED';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'DOMAIN_ALREADY_BELONGS_TO_USER';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'DOMAINS_TRANSFER_BETWEEN_ACCOUNTS_NOT_ALLOWED';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'DOMAINS_TRANSFER_FOR_PENDING_REDEMPTION_NOT_ALLOWED';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'DOMAINS_TRANSFER_BETWEEN_ACCOUNTS_NOT_ALLOWED_FOR_BASE44';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'TRANSFER_APPROVER_ACCOUNT_MISMATCH';\n description?: string;\n data?: Record<string, any>;\n };\n/** @docsIgnore */\nexport type UpdateRegisteredDomainApplicationErrors =\n | {\n code?: 'PARKING_NS_NOT_ALLOWED';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'DOMAIN_IS_PARKED';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'DOMAIN_IS_DEACTIVATED';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'DOMAIN_IS_EXPIRED';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'DOMAIN_TRANSFER_OUT_IN_PROGRESS';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'INVALID_NAME_SERVERS';\n description?: string;\n data?: Record<string, any>;\n }\n | {\n code?: 'INVALID_FIELD_MASK';\n description?: string;\n data?: Record<string, any>;\n };\n\n/**\n * Initiates a frictionless transfer of a registered domain to another Wix account, identified by email.\n *\n * If a Wix account already exists for `targetEmail`, an email is sent to that account's owner inviting them to approve the transfer by calling [Approve Transfer](/registeredDomains/approve-transfer).\n *\n * The domain must belong to the calling account and must not be in a state that blocks transfer, such as a redemption period or an in-progress transfer between registrars.\n * @param domain - Domain name to transfer.\n * @param targetEmail - Email address of the Wix account to transfer the domain to.\n * @public\n * @documentationMaturity preview\n * @requiredField domain\n * @requiredField targetEmail\n * @permissionId premium:domains:v1:registered_domain:initiate_transfer\n * @fqn com.wixpress.premium.domains.registered.DomainTransferBetweenAccountsService.InitiateTransfer\n */\nexport async function initiateTransfer(\n domain: string,\n targetEmail: string\n): Promise<\n void & {\n __applicationErrorsType?: InitiateTransferApplicationErrors;\n }\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[2] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n domain: domain,\n targetEmail: targetEmail,\n });\n\n const reqOpts =\n ambassadorWixPremiumDomainsV1RegisteredDomain.initiateTransfer(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(result.data)!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { domain: '$[0]', targetEmail: '$[1]' },\n singleArgumentUnchanged: false,\n },\n ['domain', 'targetEmail']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\n/**\n * Approves a pending frictionless domain transfer using the confirmation token received in the transfer invite email.\n *\n * On success, the domain is reassigned from the source account to the calling account.\n *\n * Call [Initiate Transfer](/registeredDomains/initiate-transfer) first to start a transfer and generate a confirmation token.\n * @param domain - Domain name to approve the transfer for.\n * @param confirmationToken - Confirmation token received in the transfer invite email.\n * @public\n * @documentationMaturity preview\n * @requiredField confirmationToken\n * @requiredField domain\n * @permissionId premium:domains:v1:registered_domain:approve_transfer\n * @fqn com.wixpress.premium.domains.registered.DomainTransferBetweenAccountsService.ApproveTransfer\n */\nexport async function approveTransfer(\n domain: string,\n confirmationToken: string\n): Promise<\n void & {\n __applicationErrorsType?: ApproveTransferApplicationErrors;\n }\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[2] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n domain: domain,\n confirmationToken: confirmationToken,\n });\n\n const reqOpts =\n ambassadorWixPremiumDomainsV1RegisteredDomain.approveTransfer(payload);\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(result.data)!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: {},\n explicitPathsToArguments: { domain: '$[0]', confirmationToken: '$[1]' },\n singleArgumentUnchanged: false,\n },\n ['domain', 'confirmationToken']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\n/**\n * Updates a registered domain.\n *\n * Only the fields listed in `fieldMask` are updated. You can update `name_servers`, `registrant_contact`, `admin_contact`, `tech_contact`, and `tld_data`. You can't update `name_servers` in the same call as any of the other fields.\n *\n * You can't change the name servers of a domain that's parked, deactivated, expired, or being transferred to another registrar.\n *\n * > **Important:** For ICANN-governed gTLDs, changing the registrant email may trigger a verification process requiring confirmation from both the old and new email addresses.\n * @param domain - Name of the domain including TLD.\n * Subdomains aren't supported. You can only register a root domain.\n * Domain name and TLD must be separated by a dot. For example,\n * `my-new-domain.com`. Only alphanumeric characters, hyphens, and dots are\n * supported.\n *\n * Min: 3 characters\n * Max: 63 characters\n * @public\n * @documentationMaturity preview\n * @requiredField domain\n * @permissionId premium:domains:v1:registered_domain:update_registered_domain\n * @fqn com.wixpress.premium.domains.registered.RegisteredDomainService.UpdateRegisteredDomain\n */\nexport async function updateRegisteredDomain(\n domain: string,\n options?: UpdateRegisteredDomainOptions\n): Promise<\n NonNullablePaths<\n UpdateRegisteredDomainResponse,\n | `registeredDomain._id`\n | `registeredDomain.domain`\n | `registeredDomain.registrantContact.firstName`\n | `registeredDomain.registrantContact.lastName`\n | `registeredDomain.registrantContact.email`\n | `registeredDomain.registrantContact.streetAddress`\n | `registeredDomain.registrantContact.city`\n | `registeredDomain.registrantContact.country`\n | `registeredDomain.registrantContact.phone`\n | `registeredDomain.tldData.caOptions.legalType.value`\n | `registeredDomain.tldData.itOptions.entityType.value`\n | `registeredDomain.tldData.comAuOptions.policyReason.value`\n | `registeredDomain.tldData.comAuOptions.eligibilityType.value`\n | `registeredDomain.tldData.comAuOptions.eligibilityIdType.value`\n | `registeredDomain.tldData.usOptions.nexusCategory`\n | `registeredDomain.tldData.usOptions.usAppPurpose`\n | `registeredDomain.tldData.esOptions.idType`\n | `registeredDomain.tldData.coIlOptions.registrantType`\n | `registeredDomain.tldData.tldType`\n | `registeredDomain.nameServers`,\n 4\n > & {\n __applicationErrorsType?: UpdateRegisteredDomainApplicationErrors;\n }\n> {\n // @ts-ignore\n const { httpClient, sideEffects } = arguments[2] as {\n httpClient: HttpClient;\n sideEffects?: any;\n };\n\n const payload = renameKeysFromSDKRequestToRESTRequest({\n registeredDomain: { ...options?.registeredDomain, domain: domain },\n fieldMask: options?.fieldMask,\n });\n\n const reqOpts =\n ambassadorWixPremiumDomainsV1RegisteredDomain.updateRegisteredDomain(\n payload\n );\n\n sideEffects?.onSiteCall?.();\n try {\n const result = await httpClient.request(reqOpts);\n sideEffects?.onSuccess?.(result);\n\n return renameKeysFromRESTResponseToSDKResponse(result.data)!;\n } catch (err: any) {\n const transformedError = sdkTransformError(\n err,\n {\n spreadPathsToArguments: { registeredDomain: '$[1].registeredDomain' },\n explicitPathsToArguments: {\n 'registeredDomain.domain': '$[0]',\n fieldMask: '$[1].fieldMask',\n },\n singleArgumentUnchanged: false,\n },\n ['domain', 'options']\n );\n sideEffects?.onError?.(err);\n\n throw transformedError;\n }\n}\n\nexport interface UpdateRegisteredDomainOptions {\n registeredDomain?: {\n /**\n * Domain ID. Identical to `domain`.\n * @format HOSTNAME\n * @readonly\n */\n _id?: string;\n /**\n * Date and time the `registeredDomain` object was created in\n * `YYYY-MM-DDThh:mm:ss.sssZ` format.\n * @readonly\n */\n _createdDate?: Date | null;\n /**\n * Date and time the `registeredDomain` object was last updated in\n * `YYYY-MM-DDThh:mm:ss.sssZ` format.\n * @readonly\n */\n _updatedDate?: Date | null;\n /**\n * Revision number, which increments by 1 each time the registered domain\n * is updated. To prevent conflicting changes, the current revision must be\n * passed when updating the registered domain.\n *\n * Ignored when creating a registered domain.\n */\n revision?: string | null;\n /**\n * corresponds to service id in SBS\n * @format GUID\n */\n subscriptionId?: string | null;\n /** Registrant (domain owner) contact information */\n registrantContact?: Contact;\n /** Administrative contact information */\n adminContact?: Contact;\n /** Technical contact information */\n techContact?: Contact;\n /** TLD-specific registration requirements */\n tldData?: TldSpecificData;\n /**\n * Nameservers the domain is delegated to at the registrar. Exactly 2 when set, empty otherwise.\n * This is the real delegation, not the NS record of a Wix-managed DNS zone.\n * @format HOSTNAME\n * @maxSize 2\n */\n nameServers?: string[];\n };\n /** Fields to update. Only specified fields are modified. */\n fieldMask?: string[];\n}\n","import { transformSDKTimestampToRESTTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformSDKFieldMaskToRESTFieldMask } from '@wix/sdk-runtime/transformations/field-mask';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nconst TRANSFORM_PATHS_0 = [{ path: 'fieldMask' }];\nconst TRANSFORM_PATHS_1 = [\n { path: 'registeredDomain.createdDate' },\n { path: 'registeredDomain.updatedDate' },\n];\n\nfunction resolveComWixpressPremiumDomainsRegisteredRegisteredDomainServiceUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'manage._base_domain_': [\n {\n srcPath: '/domains/v1/transfer-between-accounts',\n destPath: '/domains/v1/transfer-between-accounts',\n },\n {\n srcPath: '/v1/registered-domains',\n destPath: '/v1/registered-domains',\n },\n ],\n 'www._base_domain_': [\n {\n srcPath: '/v1/registered-domains',\n destPath: '/v1/registered-domains',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/domains/v1/registered-domains',\n destPath: '/v1/registered-domains',\n },\n {\n srcPath: '/premium/domains/v1/registered-domains',\n destPath: '/v1/registered-domains',\n },\n {\n srcPath: '/premium/domains/domains/v1/transfer-between-accounts',\n destPath: '/domains/v1/transfer-between-accounts',\n },\n ],\n _: [\n {\n srcPath: '/domains/v1/transfer-between-accounts',\n destPath: '/domains/v1/transfer-between-accounts',\n },\n {\n srcPath: '/premium/domains/v1/registered-domains',\n destPath: '/v1/registered-domains',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nfunction resolveComWixpressPremiumDomainsRegisteredDomainTransferBetweenAccountsServiceUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'manage._base_domain_': [\n {\n srcPath: '/domains/v1/transfer-between-accounts',\n destPath: '/domains/v1/transfer-between-accounts',\n },\n {\n srcPath: '/v1/registered-domains',\n destPath: '/v1/registered-domains',\n },\n ],\n 'www._base_domain_': [\n {\n srcPath: '/v1/registered-domains',\n destPath: '/v1/registered-domains',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/domains/v1/registered-domains',\n destPath: '/v1/registered-domains',\n },\n {\n srcPath: '/premium/domains/v1/registered-domains',\n destPath: '/v1/registered-domains',\n },\n {\n srcPath: '/premium/domains/domains/v1/transfer-between-accounts',\n destPath: '/domains/v1/transfer-between-accounts',\n },\n ],\n _: [\n {\n srcPath: '/domains/v1/transfer-between-accounts',\n destPath: '/domains/v1/transfer-between-accounts',\n },\n {\n srcPath: '/premium/domains/v1/registered-domains',\n destPath: '/v1/registered-domains',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_domains_registered-domains';\n\n/**\n * Initiates a frictionless transfer of a registered domain to another Wix account, identified by email.\n *\n * If a Wix account already exists for `targetEmail`, an email is sent to that account's owner inviting them to approve the transfer by calling [Approve Transfer](/registeredDomains/approve-transfer).\n *\n * The domain must belong to the calling account and must not be in a state that blocks transfer, such as a redemption period or an in-progress transfer between registrars.\n */\nexport function initiateTransfer(payload: object): RequestOptionsFactory<any> {\n function __initiateTransfer({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.premium.domains.v1.registered_domain',\n method: 'POST' as any,\n methodFqn:\n 'com.wixpress.premium.domains.registered.DomainTransferBetweenAccountsService.InitiateTransfer',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressPremiumDomainsRegisteredDomainTransferBetweenAccountsServiceUrl(\n {\n protoPath: '/domains/v1/transfer-between-accounts/{domain}',\n data: payload,\n host,\n }\n ),\n data: payload,\n };\n\n return metadata;\n }\n\n return __initiateTransfer;\n}\n\n/**\n * Approves a pending frictionless domain transfer using the confirmation token received in the transfer invite email.\n *\n * On success, the domain is reassigned from the source account to the calling account.\n *\n * Call [Initiate Transfer](/registeredDomains/initiate-transfer) first to start a transfer and generate a confirmation token.\n */\nexport function approveTransfer(payload: object): RequestOptionsFactory<any> {\n function __approveTransfer({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.premium.domains.v1.registered_domain',\n method: 'POST' as any,\n methodFqn:\n 'com.wixpress.premium.domains.registered.DomainTransferBetweenAccountsService.ApproveTransfer',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressPremiumDomainsRegisteredDomainTransferBetweenAccountsServiceUrl(\n {\n protoPath: '/domains/v1/transfer-between-accounts/{domain}/approve',\n data: payload,\n host,\n }\n ),\n data: payload,\n };\n\n return metadata;\n }\n\n return __approveTransfer;\n}\n\n/**\n * Updates a registered domain.\n *\n * Only the fields listed in `fieldMask` are updated. You can update `name_servers`, `registrant_contact`, `admin_contact`, `tech_contact`, and `tld_data`. You can't update `name_servers` in the same call as any of the other fields.\n *\n * You can't change the name servers of a domain that's parked, deactivated, expired, or being transferred to another registrar.\n *\n * > **Important:** For ICANN-governed gTLDs, changing the registrant email may trigger a verification process requiring confirmation from both the old and new email addresses.\n */\nexport function updateRegisteredDomain(\n payload: object\n): RequestOptionsFactory<any> {\n function __updateRegisteredDomain({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: TRANSFORM_PATHS_0,\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: TRANSFORM_PATHS_1,\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.premium.domains.v1.registered_domain',\n method: 'PATCH' as any,\n methodFqn:\n 'com.wixpress.premium.domains.registered.RegisteredDomainService.UpdateRegisteredDomain',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressPremiumDomainsRegisteredRegisteredDomainServiceUrl(\n {\n protoPath: '/v1/registered-domains/{registeredDomain.domain}',\n data: serializedData,\n host,\n }\n ),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: TRANSFORM_PATHS_1,\n },\n ]),\n };\n\n return metadata;\n }\n\n return __updateRegisteredDomain;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,yBAAAA;AAAA,EAAA,wBAAAC;AAAA,EAAA,8BAAAC;AAAA;AAAA;;;ACAA,6BAAoD;AACpD,oCAGO;;;ACJP,uBAAqD;AACrD,IAAAC,oBAAqD;AACrD,wBAAqD;AACrD,6BAA+B;AAC/B,0BAA2B;AAI3B,IAAM,oBAAoB,CAAC,EAAE,MAAM,YAAY,CAAC;AAChD,IAAM,oBAAoB;AAAA,EACxB,EAAE,MAAM,+BAA+B;AAAA,EACvC,EAAE,MAAM,+BAA+B;AACzC;AAEA,SAAS,qEACP,MACA;AACA,QAAM,mBAAmB;AAAA,IACvB,wBAAwB;AAAA,MACtB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,qBAAqB;AAAA,MACnB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,mBAAmB;AAAA,MACjB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;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AA,QACzB,0BAA0B,EAAE,QAAQ,QAAQ,mBAAmB,OAAO;AAAA,QACtE,yBAAyB;AAAA,MAC3B;AAAA,MACA,CAAC,UAAU,mBAAmB;AAAA,IAChC;AACA,iBAAa,UAAU,GAAG;AAE1B,UAAM;AAAA,EACR;AACF;AAwBA,eAAsBE,wBACpB,QACA,SA4BA;AAEA,QAAM,EAAE,YAAY,YAAY,IAAI,UAAU,CAAC;AAK/C,QAAM,cAAU,qEAAsC;AAAA,IACpD,kBAAkB,EAAE,GAAG,SAAS,kBAAkB,OAAe;AAAA,IACjE,WAAW,SAAS;AAAA,EACtB,CAAC;AAED,QAAM,UAC0C;AAAA,IAC5C;AAAA,EACF;AAEF,eAAa,aAAa;AAC1B,MAAI;AACF,UAAM,SAAS,MAAM,WAAW,QAAQ,OAAO;AAC/C,iBAAa,YAAY,MAAM;AAE/B,eAAO,uEAAwC,OAAO,IAAI;AAAA,EAC5D,SAAS,KAAU;AACjB,UAAM,uBAAmB,uBAAAF;AAAA,MACvB;AAAA,MACA;AAAA,QACE,wBAAwB,EAAE,kBAAkB,wBAAwB;AAAA,QACpE,0BAA0B;AAAA,UACxB,2BAA2B;AAAA,UAC3B,WAAW;AAAA,QACb;AAAA,QACA,yBAAyB;AAAA,MAC3B;AAAA,MACA,CAAC,UAAU,SAAS;AAAA,IACtB;AACA,iBAAa,UAAU,GAAG;AAE1B,UAAM;AAAA,EACR;AACF;","names":["approveTransfer","initiateTransfer","updateRegisteredDomain","import_timestamp","payload","LegalTypeEnum","EntityTypeEnum","PolicyReasonEnum","EligibilityTypeEnum","EligibilityIdTypeEnum","NexusCategory","UsAppPurpose","IdType","RegistrantType","TldType","WebhookIdentityType","ContactVerificationStatus","TriggerType","initiateTransfer","sdkTransformError","approveTransfer","updateRegisteredDomain"]}
@@ -475,6 +475,26 @@ interface IlOptions {
475
475
  */
476
476
  registrationNumber?: string | null;
477
477
  }
478
+ /** Sent after the registrar accepted new name servers for a registered domain. */
479
+ interface NameServersChanged {
480
+ /**
481
+ * Name of the domain whose name servers changed.
482
+ * @format HOSTNAME
483
+ */
484
+ domain?: string;
485
+ /**
486
+ * Name servers set on the domain.
487
+ * @format HOSTNAME
488
+ * @maxSize 2
489
+ */
490
+ nameServers?: string[];
491
+ /**
492
+ * Name servers the domain had before the change.
493
+ * @format HOSTNAME
494
+ * @maxSize 2
495
+ */
496
+ previousNameServers?: string[];
497
+ }
478
498
  interface InitiateTransferRequest {
479
499
  /**
480
500
  * Domain name to transfer.
@@ -503,6 +523,161 @@ interface ApproveTransferRequest {
503
523
  }
504
524
  interface ApproveTransferResponse {
505
525
  }
526
+ interface DomainEvent extends DomainEventBodyOneOf {
527
+ createdEvent?: EntityCreatedEvent;
528
+ updatedEvent?: EntityUpdatedEvent;
529
+ deletedEvent?: EntityDeletedEvent;
530
+ actionEvent?: ActionEvent;
531
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
532
+ id?: string;
533
+ /**
534
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
535
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
536
+ */
537
+ entityFqdn?: string;
538
+ /**
539
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
540
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
541
+ */
542
+ slug?: string;
543
+ /** ID of the entity associated with the event. */
544
+ entityId?: string;
545
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
546
+ eventTime?: Date | null;
547
+ /**
548
+ * Whether the event was triggered as a result of a privacy regulation application
549
+ * (for example, GDPR).
550
+ */
551
+ triggeredByAnonymizeRequest?: boolean | null;
552
+ /** If present, indicates the action that triggered the event. */
553
+ originatedFrom?: string | null;
554
+ /**
555
+ * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at `16:00` and then again at `16:01`, the second update will always have a higher sequence number.
556
+ * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
557
+ */
558
+ entityEventSequence?: string | null;
559
+ }
560
+ /** @oneof */
561
+ interface DomainEventBodyOneOf {
562
+ createdEvent?: EntityCreatedEvent;
563
+ updatedEvent?: EntityUpdatedEvent;
564
+ deletedEvent?: EntityDeletedEvent;
565
+ actionEvent?: ActionEvent;
566
+ }
567
+ interface EntityCreatedEvent {
568
+ entityAsJson?: string;
569
+ /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
570
+ restoreInfo?: RestoreInfo;
571
+ }
572
+ interface RestoreInfo {
573
+ deletedDate?: Date | null;
574
+ }
575
+ interface EntityUpdatedEvent {
576
+ /**
577
+ * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
578
+ * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
579
+ * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
580
+ */
581
+ currentEntityAsJson?: string;
582
+ }
583
+ interface EntityDeletedEvent {
584
+ /** Entity that was deleted. */
585
+ deletedEntityAsJson?: string | null;
586
+ }
587
+ interface ActionEvent {
588
+ bodyAsJson?: string;
589
+ }
590
+ interface MessageEnvelope {
591
+ /**
592
+ * App instance ID.
593
+ * @format GUID
594
+ */
595
+ instanceId?: string | null;
596
+ /**
597
+ * Event type.
598
+ * @maxLength 150
599
+ */
600
+ eventType?: string;
601
+ /** The identification type and identity data. */
602
+ identity?: IdentificationData;
603
+ /** Stringify payload. */
604
+ data?: string;
605
+ /** Details related to the account */
606
+ accountInfo?: AccountInfo;
607
+ }
608
+ interface IdentificationData extends IdentificationDataIdOneOf {
609
+ /**
610
+ * ID of a site visitor that has not logged in to the site.
611
+ * @format GUID
612
+ */
613
+ anonymousVisitorId?: string;
614
+ /**
615
+ * ID of a site visitor that has logged in to the site.
616
+ * @format GUID
617
+ */
618
+ memberId?: string;
619
+ /**
620
+ * ID of a Wix user (site owner, contributor, etc.).
621
+ * @format GUID
622
+ */
623
+ wixUserId?: string;
624
+ /**
625
+ * ID of an app.
626
+ * @format GUID
627
+ */
628
+ appId?: string;
629
+ /** @readonly */
630
+ identityType?: WebhookIdentityTypeWithLiterals;
631
+ }
632
+ /** @oneof */
633
+ interface IdentificationDataIdOneOf {
634
+ /**
635
+ * ID of a site visitor that has not logged in to the site.
636
+ * @format GUID
637
+ */
638
+ anonymousVisitorId?: string;
639
+ /**
640
+ * ID of a site visitor that has logged in to the site.
641
+ * @format GUID
642
+ */
643
+ memberId?: string;
644
+ /**
645
+ * ID of a Wix user (site owner, contributor, etc.).
646
+ * @format GUID
647
+ */
648
+ wixUserId?: string;
649
+ /**
650
+ * ID of an app.
651
+ * @format GUID
652
+ */
653
+ appId?: string;
654
+ }
655
+ declare enum WebhookIdentityType {
656
+ UNKNOWN = "UNKNOWN",
657
+ ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
658
+ MEMBER = "MEMBER",
659
+ WIX_USER = "WIX_USER",
660
+ APP = "APP"
661
+ }
662
+ /** @enumType */
663
+ type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
664
+ interface AccountInfo {
665
+ /**
666
+ * ID of the Wix account associated with the event.
667
+ * @format GUID
668
+ */
669
+ accountId?: string | null;
670
+ /**
671
+ * ID of the parent Wix account. Only included when accountId belongs to a child account.
672
+ * @format GUID
673
+ */
674
+ parentAccountId?: string | null;
675
+ /**
676
+ * ID of the Wix site associated with the event. Only included when the event is tied to a specific site.
677
+ * @format GUID
678
+ */
679
+ siteId?: string | null;
680
+ }
506
681
  interface DomainChangedEvent extends DomainChangedEventPayloadOneOf {
507
682
  /** WARNING: `registered` event payload is DEPRECATED */
508
683
  registered?: Registered;
@@ -732,97 +907,6 @@ interface ScheduleParkAfterRefundRequest {
732
907
  interface ScheduleParkAfterRefundResponse {
733
908
  registeredDomain?: RegisteredDomain;
734
909
  }
735
- interface MessageEnvelope {
736
- /**
737
- * App instance ID.
738
- * @format GUID
739
- */
740
- instanceId?: string | null;
741
- /**
742
- * Event type.
743
- * @maxLength 150
744
- */
745
- eventType?: string;
746
- /** The identification type and identity data. */
747
- identity?: IdentificationData;
748
- /** Stringify payload. */
749
- data?: string;
750
- /** Details related to the account */
751
- accountInfo?: AccountInfo;
752
- }
753
- interface IdentificationData extends IdentificationDataIdOneOf {
754
- /**
755
- * ID of a site visitor that has not logged in to the site.
756
- * @format GUID
757
- */
758
- anonymousVisitorId?: string;
759
- /**
760
- * ID of a site visitor that has logged in to the site.
761
- * @format GUID
762
- */
763
- memberId?: string;
764
- /**
765
- * ID of a Wix user (site owner, contributor, etc.).
766
- * @format GUID
767
- */
768
- wixUserId?: string;
769
- /**
770
- * ID of an app.
771
- * @format GUID
772
- */
773
- appId?: string;
774
- /** @readonly */
775
- identityType?: WebhookIdentityTypeWithLiterals;
776
- }
777
- /** @oneof */
778
- interface IdentificationDataIdOneOf {
779
- /**
780
- * ID of a site visitor that has not logged in to the site.
781
- * @format GUID
782
- */
783
- anonymousVisitorId?: string;
784
- /**
785
- * ID of a site visitor that has logged in to the site.
786
- * @format GUID
787
- */
788
- memberId?: string;
789
- /**
790
- * ID of a Wix user (site owner, contributor, etc.).
791
- * @format GUID
792
- */
793
- wixUserId?: string;
794
- /**
795
- * ID of an app.
796
- * @format GUID
797
- */
798
- appId?: string;
799
- }
800
- declare enum WebhookIdentityType {
801
- UNKNOWN = "UNKNOWN",
802
- ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
803
- MEMBER = "MEMBER",
804
- WIX_USER = "WIX_USER",
805
- APP = "APP"
806
- }
807
- /** @enumType */
808
- type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
809
- interface AccountInfo {
810
- /**
811
- * ID of the Wix account associated with the event.
812
- * @format GUID
813
- */
814
- accountId?: string | null;
815
- /**
816
- * ID of the parent Wix account. Only included when accountId belongs to a child account.
817
- * @format GUID
818
- */
819
- parentAccountId?: string | null;
820
- /**
821
- * ID of the Wix site associated with the event. Only included when the event is tied to a specific site.
822
- * @format GUID
823
- */
824
- siteId?: string | null;
825
- }
826
910
  /** @docsIgnore */
827
911
  type InitiateTransferApplicationErrors = {
828
912
  code?: 'DOMAIN_NOT_OWNED_BY_CALLER';
@@ -934,4 +1018,4 @@ declare function updateRegisteredDomain(): __PublicMethodMetaInfo<'PATCH', {
934
1018
  registeredDomainDomain: string;
935
1019
  }, UpdateRegisteredDomainRequest$1, UpdateRegisteredDomainRequest, UpdateRegisteredDomainResponse$1, UpdateRegisteredDomainResponse>;
936
1020
 
937
- export { type AccountInfo as AccountInfoOriginal, type ApproveTransferApplicationErrors as ApproveTransferApplicationErrorsOriginal, type ApproveTransferRequest as ApproveTransferRequestOriginal, type ApproveTransferResponse as ApproveTransferResponseOriginal, type BillingSubscriptionCancelled as BillingSubscriptionCancelledOriginal, type CaOptions as CaOptionsOriginal, type ComAuOptions as ComAuOptionsOriginal, type ComBrOptions as ComBrOptionsOriginal, type ConnectedToSite as ConnectedToSiteOriginal, type ConnectionLost as ConnectionLostOriginal, type ConnectionVerified as ConnectionVerifiedOriginal, type Contact as ContactOriginal, type ContactVerificationStatusChanged as ContactVerificationStatusChangedOriginal, ContactVerificationStatus as ContactVerificationStatusOriginal, type ContactVerificationStatusWithLiterals as ContactVerificationStatusWithLiteralsOriginal, type CreateRegisteredDomainInternalRequest as CreateRegisteredDomainInternalRequestOriginal, type CreateRegisteredDomainInternalResponse as CreateRegisteredDomainInternalResponseOriginal, type CreateRegisteredDomainRequest as CreateRegisteredDomainRequestOriginal, type CreateRegisteredDomainResponse as CreateRegisteredDomainResponseOriginal, type DisconnectedFromSite as DisconnectedFromSiteOriginal, type DnssecChanged as DnssecChangedOriginal, type DomainChangedEvent as DomainChangedEventOriginal, type DomainChangedEventPayloadOneOf as DomainChangedEventPayloadOneOfOriginal, type DomainReleaseCouponEvent as DomainReleaseCouponEventOriginal, type DomainReleaseCouponEventTriggerTypeInfoOneOf as DomainReleaseCouponEventTriggerTypeInfoOneOfOriginal, EligibilityIdTypeEnum as EligibilityIdTypeEnumOriginal, type EligibilityIdTypeEnumWithLiterals as EligibilityIdTypeEnumWithLiteralsOriginal, type EligibilityIdType as EligibilityIdTypeOriginal, EligibilityTypeEnum as EligibilityTypeEnumOriginal, type EligibilityTypeEnumWithLiterals as EligibilityTypeEnumWithLiteralsOriginal, type EligibilityType as EligibilityTypeOriginal, EntityTypeEnum as EntityTypeEnumOriginal, type EntityTypeEnumWithLiterals as EntityTypeEnumWithLiteralsOriginal, type EntityType as EntityTypeOriginal, type EsOptions as EsOptionsOriginal, type ExpirationDateChanged as ExpirationDateChangedOriginal, type Expired as ExpiredOriginal, type GraceEnded as GraceEndedOriginal, IdType as IdTypeOriginal, type IdTypeWithLiterals as IdTypeWithLiteralsOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type IlOptions as IlOptionsOriginal, type InitiateTransferApplicationErrors as InitiateTransferApplicationErrorsOriginal, type InitiateTransferRequest as InitiateTransferRequestOriginal, type InitiateTransferResponse as InitiateTransferResponseOriginal, type ItOptions as ItOptionsOriginal, LegalTypeEnum as LegalTypeEnumOriginal, type LegalTypeEnumWithLiterals as LegalTypeEnumWithLiteralsOriginal, type LegalType as LegalTypeOriginal, type ManagementTypeChanged as ManagementTypeChangedOriginal, type MessageEnvelope as MessageEnvelopeOriginal, NexusCategory as NexusCategoryOriginal, type NexusCategoryWithLiterals as NexusCategoryWithLiteralsOriginal, type OwnerChanged as OwnerChangedOriginal, PolicyReasonEnum as PolicyReasonEnumOriginal, type PolicyReasonEnumWithLiterals as PolicyReasonEnumWithLiteralsOriginal, type PolicyReason as PolicyReasonOriginal, type PriceIncreaseProcessed as PriceIncreaseProcessedOriginal, type PrivacyChanged as PrivacyChangedOriginal, type PropagationStarted as PropagationStartedOriginal, type RedemptionEnded as RedemptionEndedOriginal, type RegisteredDomain as RegisteredDomainOriginal, type Registered as RegisteredOriginal, RegistrantType as RegistrantTypeOriginal, type RegistrantTypeWithLiterals as RegistrantTypeWithLiteralsOriginal, type RegistrationCancelled as RegistrationCancelledOriginal, type RegistrationExtended as RegistrationExtendedOriginal, type ReviveFromChargebackInfo as ReviveFromChargebackInfoOriginal, type ScheduleContactDetailsReminderRequest as ScheduleContactDetailsReminderRequestOriginal, type ScheduleContactDetailsReminderResponse as ScheduleContactDetailsReminderResponseOriginal, type ScheduleNearExpirationReminderRequest as ScheduleNearExpirationReminderRequestOriginal, type ScheduleNearExpirationReminderResponse as ScheduleNearExpirationReminderResponseOriginal, type ScheduleParkAfterRefundRequest as ScheduleParkAfterRefundRequestOriginal, type ScheduleParkAfterRefundResponse as ScheduleParkAfterRefundResponseOriginal, type SeOptions as SeOptionsOriginal, type TldSpecificData as TldSpecificDataOriginal, type TldSpecificDataRequirementsOneOf as TldSpecificDataRequirementsOneOfOriginal, TldType as TldTypeOriginal, type TldTypeWithLiterals as TldTypeWithLiteralsOriginal, TriggerType as TriggerTypeOriginal, type TriggerTypeWithLiterals as TriggerTypeWithLiteralsOriginal, type UpdateRegisteredDomainApplicationErrors as UpdateRegisteredDomainApplicationErrorsOriginal, type UpdateRegisteredDomainRequest as UpdateRegisteredDomainRequestOriginal, type UpdateRegisteredDomainResponse as UpdateRegisteredDomainResponseOriginal, UsAppPurpose as UsAppPurposeOriginal, type UsAppPurposeWithLiterals as UsAppPurposeWithLiteralsOriginal, type UsOptions as UsOptionsOriginal, type VerificationStarted as VerificationStartedOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type __PublicMethodMetaInfo, approveTransfer, initiateTransfer, updateRegisteredDomain };
1021
+ export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, type ApproveTransferApplicationErrors as ApproveTransferApplicationErrorsOriginal, type ApproveTransferRequest as ApproveTransferRequestOriginal, type ApproveTransferResponse as ApproveTransferResponseOriginal, type BillingSubscriptionCancelled as BillingSubscriptionCancelledOriginal, type CaOptions as CaOptionsOriginal, type ComAuOptions as ComAuOptionsOriginal, type ComBrOptions as ComBrOptionsOriginal, type ConnectedToSite as ConnectedToSiteOriginal, type ConnectionLost as ConnectionLostOriginal, type ConnectionVerified as ConnectionVerifiedOriginal, type Contact as ContactOriginal, type ContactVerificationStatusChanged as ContactVerificationStatusChangedOriginal, ContactVerificationStatus as ContactVerificationStatusOriginal, type ContactVerificationStatusWithLiterals as ContactVerificationStatusWithLiteralsOriginal, type CreateRegisteredDomainInternalRequest as CreateRegisteredDomainInternalRequestOriginal, type CreateRegisteredDomainInternalResponse as CreateRegisteredDomainInternalResponseOriginal, type CreateRegisteredDomainRequest as CreateRegisteredDomainRequestOriginal, type CreateRegisteredDomainResponse as CreateRegisteredDomainResponseOriginal, type DisconnectedFromSite as DisconnectedFromSiteOriginal, type DnssecChanged as DnssecChangedOriginal, type DomainChangedEvent as DomainChangedEventOriginal, type DomainChangedEventPayloadOneOf as DomainChangedEventPayloadOneOfOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type DomainReleaseCouponEvent as DomainReleaseCouponEventOriginal, type DomainReleaseCouponEventTriggerTypeInfoOneOf as DomainReleaseCouponEventTriggerTypeInfoOneOfOriginal, EligibilityIdTypeEnum as EligibilityIdTypeEnumOriginal, type EligibilityIdTypeEnumWithLiterals as EligibilityIdTypeEnumWithLiteralsOriginal, type EligibilityIdType as EligibilityIdTypeOriginal, EligibilityTypeEnum as EligibilityTypeEnumOriginal, type EligibilityTypeEnumWithLiterals as EligibilityTypeEnumWithLiteralsOriginal, type EligibilityType as EligibilityTypeOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, EntityTypeEnum as EntityTypeEnumOriginal, type EntityTypeEnumWithLiterals as EntityTypeEnumWithLiteralsOriginal, type EntityType as EntityTypeOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type EsOptions as EsOptionsOriginal, type ExpirationDateChanged as ExpirationDateChangedOriginal, type Expired as ExpiredOriginal, type GraceEnded as GraceEndedOriginal, IdType as IdTypeOriginal, type IdTypeWithLiterals as IdTypeWithLiteralsOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type IlOptions as IlOptionsOriginal, type InitiateTransferApplicationErrors as InitiateTransferApplicationErrorsOriginal, type InitiateTransferRequest as InitiateTransferRequestOriginal, type InitiateTransferResponse as InitiateTransferResponseOriginal, type ItOptions as ItOptionsOriginal, LegalTypeEnum as LegalTypeEnumOriginal, type LegalTypeEnumWithLiterals as LegalTypeEnumWithLiteralsOriginal, type LegalType as LegalTypeOriginal, type ManagementTypeChanged as ManagementTypeChangedOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type NameServersChanged as NameServersChangedOriginal, NexusCategory as NexusCategoryOriginal, type NexusCategoryWithLiterals as NexusCategoryWithLiteralsOriginal, type OwnerChanged as OwnerChangedOriginal, PolicyReasonEnum as PolicyReasonEnumOriginal, type PolicyReasonEnumWithLiterals as PolicyReasonEnumWithLiteralsOriginal, type PolicyReason as PolicyReasonOriginal, type PriceIncreaseProcessed as PriceIncreaseProcessedOriginal, type PrivacyChanged as PrivacyChangedOriginal, type PropagationStarted as PropagationStartedOriginal, type RedemptionEnded as RedemptionEndedOriginal, type RegisteredDomain as RegisteredDomainOriginal, type Registered as RegisteredOriginal, RegistrantType as RegistrantTypeOriginal, type RegistrantTypeWithLiterals as RegistrantTypeWithLiteralsOriginal, type RegistrationCancelled as RegistrationCancelledOriginal, type RegistrationExtended as RegistrationExtendedOriginal, type RestoreInfo as RestoreInfoOriginal, type ReviveFromChargebackInfo as ReviveFromChargebackInfoOriginal, type ScheduleContactDetailsReminderRequest as ScheduleContactDetailsReminderRequestOriginal, type ScheduleContactDetailsReminderResponse as ScheduleContactDetailsReminderResponseOriginal, type ScheduleNearExpirationReminderRequest as ScheduleNearExpirationReminderRequestOriginal, type ScheduleNearExpirationReminderResponse as ScheduleNearExpirationReminderResponseOriginal, type ScheduleParkAfterRefundRequest as ScheduleParkAfterRefundRequestOriginal, type ScheduleParkAfterRefundResponse as ScheduleParkAfterRefundResponseOriginal, type SeOptions as SeOptionsOriginal, type TldSpecificData as TldSpecificDataOriginal, type TldSpecificDataRequirementsOneOf as TldSpecificDataRequirementsOneOfOriginal, TldType as TldTypeOriginal, type TldTypeWithLiterals as TldTypeWithLiteralsOriginal, TriggerType as TriggerTypeOriginal, type TriggerTypeWithLiterals as TriggerTypeWithLiteralsOriginal, type UpdateRegisteredDomainApplicationErrors as UpdateRegisteredDomainApplicationErrorsOriginal, type UpdateRegisteredDomainRequest as UpdateRegisteredDomainRequestOriginal, type UpdateRegisteredDomainResponse as UpdateRegisteredDomainResponseOriginal, UsAppPurpose as UsAppPurposeOriginal, type UsAppPurposeWithLiterals as UsAppPurposeWithLiteralsOriginal, type UsOptions as UsOptionsOriginal, type VerificationStarted as VerificationStartedOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type __PublicMethodMetaInfo, approveTransfer, initiateTransfer, updateRegisteredDomain };