hostinger-api-sdk 1.24.0 → 1.26.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/README.md +2 -2
  2. package/api.ts +1052 -85
  3. package/base.ts +1 -1
  4. package/common.ts +1 -1
  5. package/configuration.ts +2 -2
  6. package/dist/api.d.ts +578 -32
  7. package/dist/api.js +753 -9
  8. package/dist/base.d.ts +1 -1
  9. package/dist/base.js +1 -1
  10. package/dist/common.d.ts +1 -1
  11. package/dist/common.js +1 -1
  12. package/dist/configuration.d.ts +1 -1
  13. package/dist/configuration.js +2 -2
  14. package/dist/esm/api.d.ts +578 -32
  15. package/dist/esm/api.js +741 -1
  16. package/dist/esm/base.d.ts +1 -1
  17. package/dist/esm/base.js +1 -1
  18. package/dist/esm/common.d.ts +1 -1
  19. package/dist/esm/common.js +1 -1
  20. package/dist/esm/configuration.d.ts +1 -1
  21. package/dist/esm/configuration.js +2 -2
  22. package/dist/esm/index.d.ts +1 -1
  23. package/dist/esm/index.js +1 -1
  24. package/dist/index.d.ts +1 -1
  25. package/dist/index.js +1 -1
  26. package/docs/DomainsMoveApi.md +438 -0
  27. package/docs/DomainsPortfolioApi.md +56 -0
  28. package/docs/DomainsTransferApi.md +56 -0
  29. package/docs/DomainsV1MoveIncomingUpdateRequest.md +20 -0
  30. package/docs/DomainsV1MoveIncomingUpdateRequestDomainContacts.md +27 -0
  31. package/docs/DomainsV1MoveMoveResource.md +26 -0
  32. package/docs/DomainsV1MoveOutgoingStoreRequest.md +20 -0
  33. package/docs/DomainsV1PortfolioClaimRequest.md +24 -0
  34. package/docs/{DomainsV1PortfolioPurchaseRequestDomainContacts.md → DomainsV1PortfolioClaimRequestDomainContacts.md} +3 -3
  35. package/docs/DomainsV1PortfolioClaimResource.md +24 -0
  36. package/docs/DomainsV1PortfolioPurchaseRequest.md +1 -1
  37. package/docs/DomainsV1TransferClaimRequest.md +26 -0
  38. package/index.ts +1 -1
  39. package/package.json +1 -1
package/dist/api.js CHANGED
@@ -4,7 +4,7 @@
4
4
  /**
5
5
  * Hostinger API
6
6
  *
7
- * API Version: 1.25.0
7
+ * API Version: 1.27.0
8
8
  *
9
9
  * NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
10
10
  * If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
@@ -19,14 +19,14 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
19
19
  });
20
20
  };
21
21
  Object.defineProperty(exports, "__esModule", { value: true });
22
- exports.MailV1WebhooksWebhookCreatedResourceEventsEnum = exports.MailV1SchemaUpdateWebhookRequestSchemaStatusEnum = exports.MailV1SchemaUpdateWebhookRequestSchemaEventsEnum = exports.MailV1SchemaCreateWebhookRequestSchemaStatusEnum = exports.MailV1SchemaCreateWebhookRequestSchemaEventsEnum = exports.MailV1OrdersOrderResourceStatusEnum = exports.MailV1MailboxesMailboxResourceStatusEnum = exports.MailV1LogsMailboxActionsMailboxActionLogResourceEventEnum = exports.MailV1LogsActionActionLogResourceResponseStatusEnum = exports.MailV1ApiTokensApiTokenResourceTypeEnum = exports.MailV1ApiTokensApiTokenCreatedResourceTypeEnum = exports.HostingV1WebsitesWebsiteResourceVhostTypeEnum = exports.HostingV1NodeJsVulnerabilityResourceSeverityEnum = exports.HostingV1NodeJsCreateFromArchiveRequestPackageManagerEnum = exports.HostingV1NodeJsCreateFromArchiveRequestAppTypeEnum = exports.HostingV1NodeJsCreateFromArchiveRequestNodeVersionEnum = exports.HostingV1NodeJsBuildResourceStateEnum = exports.HostingV1NodeJsBuildOptionsResourceSourceTypeEnum = exports.HostingV1NodeJsBuildOptionsResourcePackageManagerEnum = exports.HostingV1NodeJsBuildOptionsResourceAppTypeEnum = exports.HostingV1DomainsParkedDomainResourceTypeEnum = exports.HorizonsV1WebsitesCreateWebsiteRequestMessageInnerTypeEnum = exports.EcommerceV1StoreStoreRequestSalesChannelTypeEnum = exports.EcommerceV1StoreStoreCreationResourceSalesChannelTypeEnum = exports.EcommerceV1SalesChannelStoreRequestTypeEnum = exports.EcommerceV1SalesChannelSalesChannelListResourceSalesChannelsInnerTypeEnum = exports.EcommerceV1SalesChannelSalesChannelCreationResourceSalesChannelTypeEnum = exports.EcommerceV1ProductProductCreationResourceProductTypeEnum = exports.DomainsV1WHOISStoreRequestEntityTypeEnum = exports.DomainsV1WHOISProfileResourceEntityTypeEnum = exports.DomainsV1WHOISChangeUpdateRequestChangeForEnum = exports.DomainsV1IRTPVerificationResourceStatusEnum = exports.DomainsV1ForwardingUpdateRequestRedirectTypeEnum = exports.DomainsV1ForwardingStoreRequestRedirectTypeEnum = exports.DomainsV1ForwardingForwardingResourceRedirectTypeEnum = exports.DomainsV1DomainDomainResourceStatusEnum = exports.DomainsV1DomainDomainResourceTypeEnum = exports.DomainsV1DomainDomainExtendedResourceStatusEnum = exports.DNSV1ZoneUpdateRequestZoneInnerTypeEnum = exports.DNSV1ZoneRecordResourceTypeEnum = exports.DNSV1ZoneDestroyRequestFiltersInnerTypeEnum = exports.BillingV1SubscriptionSubscriptionResourceStatusEnum = exports.BillingV1SubscriptionCancelRequestCancelOptionEnum = exports.BillingV1SubscriptionCancelRequestReasonCodeEnum = exports.BillingV1OrderOrderResourceStatusEnum = exports.BillingV1CatalogCatalogItemPriceResourcePeriodUnitEnum = exports.AgencyHostingV1WebsitesWebsiteResourceStateEnum = exports.AgencyHostingV1WebsitesWebsiteProcessResourceStatusEnum = exports.AgencyHostingV1SetupsWebsiteSetupStatusResourceStatusEnum = exports.AgencyHostingV1SetupsCreateSetupRequestTypeEnum = void 0;
23
- exports.AgencyHostingDatacentersApi = exports.AgencyHostingDatacentersApiFactory = exports.AgencyHostingDatacentersApiFp = exports.AgencyHostingDatacentersApiAxiosParamCreator = exports.AgencyHostingDatabasesApi = exports.AgencyHostingDatabasesApiFactory = exports.AgencyHostingDatabasesApiFp = exports.AgencyHostingDatabasesApiAxiosParamCreator = exports.AgencyHostingCronJobsApi = exports.AgencyHostingCronJobsApiFactory = exports.AgencyHostingCronJobsApiFp = exports.AgencyHostingCronJobsApiAxiosParamCreator = exports.AgencyHostingCacheApi = exports.AgencyHostingCacheApiFactory = exports.AgencyHostingCacheApiFp = exports.AgencyHostingCacheApiAxiosParamCreator = exports.WordPressV1ThemesInstalledThemeResourceStatusEnum = exports.WordPressV1ThemesInstallThemeRequestFontEnum = exports.WordPressV1PluginsUpdateHostingerPluginRequestSlugEnum = exports.WordPressV1PluginsSuggestedPluginGroupResourceWebsiteTypeEnum = exports.WordPressV1PluginsInstalledPluginResourceStatusEnum = exports.WordPressV1MemcachedMemcachedStatusResourceStatusEnum = exports.WordPressV1MaintenanceMaintenanceStatusResourceStatusEnum = exports.WordPressV1InstallationsUpdateResourceTypeEnum = exports.WordPressV1InstallationsInstallWordPressRequestAutoUpdatesEnum = exports.WordPressV1HostingerPluginsUpdateAiOptionStatusRequestOptionEnum = exports.VPSV1VirtualMachineVirtualMachineResourceActionsLockEnum = exports.VPSV1VirtualMachineVirtualMachineResourceStateEnum = exports.VPSV1FirewallRulesStoreRequestSourceEnum = exports.VPSV1FirewallRulesStoreRequestProtocolEnum = exports.VPSV1FirewallFirewallRuleResourceProtocolEnum = exports.VPSV1FirewallFirewallRuleResourceActionEnum = exports.VPSV1DockerManagerProjectResourceStateEnum = exports.VPSV1DockerManagerContainerResourceHealthEnum = exports.VPSV1DockerManagerContainerResourceStateEnum = exports.VPSV1DockerManagerContainerPortResourceProtocolEnum = exports.VPSV1DockerManagerContainerPortResourceTypeEnum = exports.VPSV1ActionActionResourceStateEnum = exports.ReachV1ContactsSegmentsStoreRequestConditionsInnerAttributeEnum = exports.ReachV1ContactsSegmentsStoreRequestConditionsInnerOperatorEnum = exports.ReachV1ContactsSegmentsStoreRequestLogicEnum = exports.ReachV1ContactsSegmentsSegmentationContactResourceSourceEnum = exports.ReachV1ContactsSegmentsSegmentationContactResourceSubscriptionStatusEnum = exports.ReachV1ContactsContactResourceSourceEnum = exports.ReachV1ContactsContactResourceSubscriptionStatusEnum = exports.MailV1WebhooksWebhookSecretResourceStatusEnum = exports.MailV1WebhooksWebhookSecretResourceEventsEnum = exports.MailV1WebhooksWebhookResourceStatusEnum = exports.MailV1WebhooksWebhookResourceEventsEnum = exports.MailV1WebhooksWebhookCreatedResourceStatusEnum = void 0;
24
- exports.DomainAccessVerifierVerificationsApiAxiosParamCreator = exports.DNSZoneApi = exports.DNSZoneApiFactory = exports.DNSZoneApiFp = exports.DNSZoneApiAxiosParamCreator = exports.DNSSnapshotApi = exports.DNSSnapshotApiFactory = exports.DNSSnapshotApiFp = exports.DNSSnapshotApiAxiosParamCreator = exports.BillingSubscriptionsApi = exports.BillingSubscriptionsApiFactory = exports.BillingSubscriptionsApiFp = exports.BillingSubscriptionsApiAxiosParamCreator = exports.BillingPaymentMethodsApi = exports.BillingPaymentMethodsApiFactory = exports.BillingPaymentMethodsApiFp = exports.BillingPaymentMethodsApiAxiosParamCreator = exports.BillingOrdersApi = exports.BillingOrdersApiFactory = exports.BillingOrdersApiFp = exports.BillingOrdersApiAxiosParamCreator = exports.GetCatalogItemListV1CategoryEnum = exports.BillingCatalogApi = exports.BillingCatalogApiFactory = exports.BillingCatalogApiFp = exports.BillingCatalogApiAxiosParamCreator = exports.AgencyHostingWordPressApi = exports.AgencyHostingWordPressApiFactory = exports.AgencyHostingWordPressApiFp = exports.AgencyHostingWordPressApiAxiosParamCreator = exports.AgencyHostingWebsitesApi = exports.AgencyHostingWebsitesApiFactory = exports.AgencyHostingWebsitesApiFp = exports.AgencyHostingWebsitesApiAxiosParamCreator = exports.AgencyHostingWebsiteSetupsApi = exports.AgencyHostingWebsiteSetupsApiFactory = exports.AgencyHostingWebsiteSetupsApiFp = exports.AgencyHostingWebsiteSetupsApiAxiosParamCreator = exports.AgencyHostingOrdersApi = exports.AgencyHostingOrdersApiFactory = exports.AgencyHostingOrdersApiFp = exports.AgencyHostingOrdersApiAxiosParamCreator = exports.AgencyHostingFilesApi = exports.AgencyHostingFilesApiFactory = exports.AgencyHostingFilesApiFp = exports.AgencyHostingFilesApiAxiosParamCreator = exports.AgencyHostingDomainsApi = exports.AgencyHostingDomainsApiFactory = exports.AgencyHostingDomainsApiFp = exports.AgencyHostingDomainsApiAxiosParamCreator = void 0;
25
- exports.HorizonsWebsitesApiFactory = exports.HorizonsWebsitesApiFp = exports.HorizonsWebsitesApiAxiosParamCreator = exports.EcommerceStoresApi = exports.EcommerceStoresApiFactory = exports.EcommerceStoresApiFp = exports.EcommerceStoresApiAxiosParamCreator = exports.EcommerceShippingApi = exports.EcommerceShippingApiFactory = exports.EcommerceShippingApiFp = exports.EcommerceShippingApiAxiosParamCreator = exports.EcommerceSalesChannelsApi = exports.EcommerceSalesChannelsApiFactory = exports.EcommerceSalesChannelsApiFp = exports.EcommerceSalesChannelsApiAxiosParamCreator = exports.EcommerceProductsApi = exports.EcommerceProductsApiFactory = exports.EcommerceProductsApiFp = exports.EcommerceProductsApiAxiosParamCreator = exports.EcommercePaymentsApi = exports.EcommercePaymentsApiFactory = exports.EcommercePaymentsApiFp = exports.EcommercePaymentsApiAxiosParamCreator = exports.EcommerceMiscellaneousApi = exports.EcommerceMiscellaneousApiFactory = exports.EcommerceMiscellaneousApiFp = exports.EcommerceMiscellaneousApiAxiosParamCreator = exports.DomainsWHOISApi = exports.DomainsWHOISApiFactory = exports.DomainsWHOISApiFp = exports.DomainsWHOISApiAxiosParamCreator = exports.DomainsTransferApi = exports.DomainsTransferApiFactory = exports.DomainsTransferApiFp = exports.DomainsTransferApiAxiosParamCreator = exports.DomainsPortfolioApi = exports.DomainsPortfolioApiFactory = exports.DomainsPortfolioApiFp = exports.DomainsPortfolioApiAxiosParamCreator = exports.DomainsForwardingApi = exports.DomainsForwardingApiFactory = exports.DomainsForwardingApiFp = exports.DomainsForwardingApiAxiosParamCreator = exports.DomainsAvailabilityApi = exports.DomainsAvailabilityApiFactory = exports.DomainsAvailabilityApiFp = exports.DomainsAvailabilityApiAxiosParamCreator = exports.DomainAccessVerifierVerificationsApi = exports.DomainAccessVerifierVerificationsApiFactory = exports.DomainAccessVerifierVerificationsApiFp = void 0;
26
- exports.MailAutorepliesApiFp = exports.MailAutorepliesApiAxiosParamCreator = exports.MailAliasesApi = exports.MailAliasesApiFactory = exports.MailAliasesApiFp = exports.MailAliasesApiAxiosParamCreator = exports.MailAPITokensApi = exports.MailAPITokensApiFactory = exports.MailAPITokensApiFp = exports.MailAPITokensApiAxiosParamCreator = exports.HostingWebsitesApi = exports.HostingWebsitesApiFactory = exports.HostingWebsitesApiFp = exports.HostingWebsitesApiAxiosParamCreator = exports.HostingPHPApi = exports.HostingPHPApiFactory = exports.HostingPHPApiFp = exports.HostingPHPApiAxiosParamCreator = exports.ListOrdersV1StatusesEnum = exports.HostingOrdersApi = exports.HostingOrdersApiFactory = exports.HostingOrdersApiFp = exports.HostingOrdersApiAxiosParamCreator = exports.ListNodeJsVulnerabilitiesV1SeveritiesEnum = exports.ListNodeJSBuildsV1StatesEnum = exports.HostingNodeJSApi = exports.HostingNodeJSApiFactory = exports.HostingNodeJSApiFp = exports.HostingNodeJSApiAxiosParamCreator = exports.HostingDomainsApi = exports.HostingDomainsApiFactory = exports.HostingDomainsApiFp = exports.HostingDomainsApiAxiosParamCreator = exports.HostingDatacentersApi = exports.HostingDatacentersApiFactory = exports.HostingDatacentersApiFp = exports.HostingDatacentersApiAxiosParamCreator = exports.HostingDatabasesApi = exports.HostingDatabasesApiFactory = exports.HostingDatabasesApiFp = exports.HostingDatabasesApiAxiosParamCreator = exports.HostingCronJobsApi = exports.HostingCronJobsApiFactory = exports.HostingCronJobsApiFp = exports.HostingCronJobsApiAxiosParamCreator = exports.HostingCacheApi = exports.HostingCacheApiFactory = exports.HostingCacheApiFp = exports.HostingCacheApiAxiosParamCreator = exports.HorizonsWebsitesApi = void 0;
27
- exports.VPSActionsApiAxiosParamCreator = exports.ReachSegmentsApi = exports.ReachSegmentsApiFactory = exports.ReachSegmentsApiFp = exports.ReachSegmentsApiAxiosParamCreator = exports.ReachProfilesApi = exports.ReachProfilesApiFactory = exports.ReachProfilesApiFp = exports.ReachProfilesApiAxiosParamCreator = exports.ListContactsV1SubscriptionStatusEnum = exports.ReachContactsApi = exports.ReachContactsApiFactory = exports.ReachContactsApiFp = exports.ReachContactsApiAxiosParamCreator = exports.ListWebhooksV1StatusEnum = exports.MailWebhooksApi = exports.MailWebhooksApiFactory = exports.MailWebhooksApiFp = exports.MailWebhooksApiAxiosParamCreator = exports.ListOrdersV1SortEnum = exports.ListOrdersV1StatusEnum = exports.MailOrdersApi = exports.MailOrdersApiFactory = exports.MailOrdersApiFp = exports.MailOrdersApiAxiosParamCreator = exports.ListMailboxesV1SortEnum = exports.MailMailboxesApi = exports.MailMailboxesApiFactory = exports.MailMailboxesApiFp = exports.MailMailboxesApiAxiosParamCreator = exports.ListOutboundLogsV1StatusEnum = exports.ListMailboxActionLogsV1EventEnum = exports.ListInboundLogsV1StatusEnum = exports.ListActionLogsV1StatusEnum = exports.ListAccessLogsV1ProtocolEnum = exports.ListAccessLogsV1StatusEnum = exports.MailLogsApi = exports.MailLogsApiFactory = exports.MailLogsApiFp = exports.MailLogsApiAxiosParamCreator = exports.MailForwardersApi = exports.MailForwardersApiFactory = exports.MailForwardersApiFp = exports.MailForwardersApiAxiosParamCreator = exports.MailCatchallsApi = exports.MailCatchallsApiFactory = exports.MailCatchallsApiFp = exports.MailCatchallsApiAxiosParamCreator = exports.MailAutorepliesApi = exports.MailAutorepliesApiFactory = void 0;
28
- exports.VPSVirtualMachineApiFactory = exports.VPSVirtualMachineApiFp = exports.VPSVirtualMachineApiAxiosParamCreator = exports.VPSSnapshotsApi = exports.VPSSnapshotsApiFactory = exports.VPSSnapshotsApiFp = exports.VPSSnapshotsApiAxiosParamCreator = exports.VPSRecoveryApi = exports.VPSRecoveryApiFactory = exports.VPSRecoveryApiFp = exports.VPSRecoveryApiAxiosParamCreator = exports.VPSPublicKeysApi = exports.VPSPublicKeysApiFactory = exports.VPSPublicKeysApiFp = exports.VPSPublicKeysApiAxiosParamCreator = exports.VPSPostInstallScriptsApi = exports.VPSPostInstallScriptsApiFactory = exports.VPSPostInstallScriptsApiFp = exports.VPSPostInstallScriptsApiAxiosParamCreator = exports.VPSPTRRecordsApi = exports.VPSPTRRecordsApiFactory = exports.VPSPTRRecordsApiFp = exports.VPSPTRRecordsApiAxiosParamCreator = exports.VPSOSTemplatesApi = exports.VPSOSTemplatesApiFactory = exports.VPSOSTemplatesApiFp = exports.VPSOSTemplatesApiAxiosParamCreator = exports.VPSMalwareScannerApi = exports.VPSMalwareScannerApiFactory = exports.VPSMalwareScannerApiFp = exports.VPSMalwareScannerApiAxiosParamCreator = exports.VPSFirewallApi = exports.VPSFirewallApiFactory = exports.VPSFirewallApiFp = exports.VPSFirewallApiAxiosParamCreator = exports.VPSDockerManagerApi = exports.VPSDockerManagerApiFactory = exports.VPSDockerManagerApiFp = exports.VPSDockerManagerApiAxiosParamCreator = exports.VPSDataCentersApi = exports.VPSDataCentersApiFactory = exports.VPSDataCentersApiFp = exports.VPSDataCentersApiAxiosParamCreator = exports.VPSBackupsApi = exports.VPSBackupsApiFactory = exports.VPSBackupsApiFp = exports.VPSBackupsApiAxiosParamCreator = exports.VPSActionsApi = exports.VPSActionsApiFactory = exports.VPSActionsApiFp = void 0;
29
- exports.WordPressThemesApi = exports.WordPressThemesApiFactory = exports.WordPressThemesApiFp = exports.WordPressThemesApiAxiosParamCreator = exports.ListInstalledWordPressPluginsV1CategoryEnum = exports.WordPressPluginsApi = exports.WordPressPluginsApiFactory = exports.WordPressPluginsApiFp = exports.WordPressPluginsApiAxiosParamCreator = exports.WordPressObjectCacheApi = exports.WordPressObjectCacheApiFactory = exports.WordPressObjectCacheApiFp = exports.WordPressObjectCacheApiAxiosParamCreator = exports.WordPressMaintenanceApi = exports.WordPressMaintenanceApiFactory = exports.WordPressMaintenanceApiFp = exports.WordPressMaintenanceApiAxiosParamCreator = exports.WordPressLoginApi = exports.WordPressLoginApiFactory = exports.WordPressLoginApiFp = exports.WordPressLoginApiAxiosParamCreator = exports.WordPressLiteSpeedCacheApi = exports.WordPressLiteSpeedCacheApiFactory = exports.WordPressLiteSpeedCacheApiFp = exports.WordPressLiteSpeedCacheApiAxiosParamCreator = exports.ListWordPressInstallationsV1OwnershipEnum = exports.WordPressInstallationsApi = exports.WordPressInstallationsApiFactory = exports.WordPressInstallationsApiFp = exports.WordPressInstallationsApiAxiosParamCreator = exports.ShowAIOptionStatusV1OptionEnum = exports.WordPressAIToolsApi = exports.WordPressAIToolsApiFactory = exports.WordPressAIToolsApiFp = exports.WordPressAIToolsApiAxiosParamCreator = exports.VPSVirtualMachineApi = void 0;
22
+ exports.MailV1SchemaUpdateWebhookRequestSchemaEventsEnum = exports.MailV1SchemaCreateWebhookRequestSchemaStatusEnum = exports.MailV1SchemaCreateWebhookRequestSchemaEventsEnum = exports.MailV1OrdersOrderResourceStatusEnum = exports.MailV1MailboxesMailboxResourceStatusEnum = exports.MailV1LogsMailboxActionsMailboxActionLogResourceEventEnum = exports.MailV1LogsActionActionLogResourceResponseStatusEnum = exports.MailV1ApiTokensApiTokenResourceTypeEnum = exports.MailV1ApiTokensApiTokenCreatedResourceTypeEnum = exports.HostingV1WebsitesWebsiteResourceVhostTypeEnum = exports.HostingV1NodeJsVulnerabilityResourceSeverityEnum = exports.HostingV1NodeJsCreateFromArchiveRequestPackageManagerEnum = exports.HostingV1NodeJsCreateFromArchiveRequestAppTypeEnum = exports.HostingV1NodeJsCreateFromArchiveRequestNodeVersionEnum = exports.HostingV1NodeJsBuildResourceStateEnum = exports.HostingV1NodeJsBuildOptionsResourceSourceTypeEnum = exports.HostingV1NodeJsBuildOptionsResourcePackageManagerEnum = exports.HostingV1NodeJsBuildOptionsResourceAppTypeEnum = exports.HostingV1DomainsParkedDomainResourceTypeEnum = exports.HorizonsV1WebsitesCreateWebsiteRequestMessageInnerTypeEnum = exports.EcommerceV1StoreStoreRequestSalesChannelTypeEnum = exports.EcommerceV1StoreStoreCreationResourceSalesChannelTypeEnum = exports.EcommerceV1SalesChannelStoreRequestTypeEnum = exports.EcommerceV1SalesChannelSalesChannelListResourceSalesChannelsInnerTypeEnum = exports.EcommerceV1SalesChannelSalesChannelCreationResourceSalesChannelTypeEnum = exports.EcommerceV1ProductProductCreationResourceProductTypeEnum = exports.DomainsV1WHOISStoreRequestEntityTypeEnum = exports.DomainsV1WHOISProfileResourceEntityTypeEnum = exports.DomainsV1WHOISChangeUpdateRequestChangeForEnum = exports.DomainsV1PortfolioClaimResourceStatusEnum = exports.DomainsV1MoveMoveResourceStatusEnum = exports.DomainsV1IRTPVerificationResourceStatusEnum = exports.DomainsV1ForwardingUpdateRequestRedirectTypeEnum = exports.DomainsV1ForwardingStoreRequestRedirectTypeEnum = exports.DomainsV1ForwardingForwardingResourceRedirectTypeEnum = exports.DomainsV1DomainDomainResourceStatusEnum = exports.DomainsV1DomainDomainResourceTypeEnum = exports.DomainsV1DomainDomainExtendedResourceStatusEnum = exports.DNSV1ZoneUpdateRequestZoneInnerTypeEnum = exports.DNSV1ZoneRecordResourceTypeEnum = exports.DNSV1ZoneDestroyRequestFiltersInnerTypeEnum = exports.BillingV1SubscriptionSubscriptionResourceStatusEnum = exports.BillingV1SubscriptionCancelRequestCancelOptionEnum = exports.BillingV1SubscriptionCancelRequestReasonCodeEnum = exports.BillingV1OrderOrderResourceStatusEnum = exports.BillingV1CatalogCatalogItemPriceResourcePeriodUnitEnum = exports.AgencyHostingV1WebsitesWebsiteResourceStateEnum = exports.AgencyHostingV1WebsitesWebsiteProcessResourceStatusEnum = exports.AgencyHostingV1SetupsWebsiteSetupStatusResourceStatusEnum = exports.AgencyHostingV1SetupsCreateSetupRequestTypeEnum = void 0;
23
+ exports.AgencyHostingDatacentersApiFp = exports.AgencyHostingDatacentersApiAxiosParamCreator = exports.AgencyHostingDatabasesApi = exports.AgencyHostingDatabasesApiFactory = exports.AgencyHostingDatabasesApiFp = exports.AgencyHostingDatabasesApiAxiosParamCreator = exports.AgencyHostingCronJobsApi = exports.AgencyHostingCronJobsApiFactory = exports.AgencyHostingCronJobsApiFp = exports.AgencyHostingCronJobsApiAxiosParamCreator = exports.AgencyHostingCacheApi = exports.AgencyHostingCacheApiFactory = exports.AgencyHostingCacheApiFp = exports.AgencyHostingCacheApiAxiosParamCreator = exports.WordPressV1ThemesInstalledThemeResourceStatusEnum = exports.WordPressV1ThemesInstallThemeRequestFontEnum = exports.WordPressV1PluginsUpdateHostingerPluginRequestSlugEnum = exports.WordPressV1PluginsSuggestedPluginGroupResourceWebsiteTypeEnum = exports.WordPressV1PluginsInstalledPluginResourceStatusEnum = exports.WordPressV1MemcachedMemcachedStatusResourceStatusEnum = exports.WordPressV1MaintenanceMaintenanceStatusResourceStatusEnum = exports.WordPressV1InstallationsUpdateResourceTypeEnum = exports.WordPressV1InstallationsInstallWordPressRequestAutoUpdatesEnum = exports.WordPressV1HostingerPluginsUpdateAiOptionStatusRequestOptionEnum = exports.VPSV1VirtualMachineVirtualMachineResourceActionsLockEnum = exports.VPSV1VirtualMachineVirtualMachineResourceStateEnum = exports.VPSV1FirewallRulesStoreRequestSourceEnum = exports.VPSV1FirewallRulesStoreRequestProtocolEnum = exports.VPSV1FirewallFirewallRuleResourceProtocolEnum = exports.VPSV1FirewallFirewallRuleResourceActionEnum = exports.VPSV1DockerManagerProjectResourceStateEnum = exports.VPSV1DockerManagerContainerResourceHealthEnum = exports.VPSV1DockerManagerContainerResourceStateEnum = exports.VPSV1DockerManagerContainerPortResourceProtocolEnum = exports.VPSV1DockerManagerContainerPortResourceTypeEnum = exports.VPSV1ActionActionResourceStateEnum = exports.ReachV1ContactsSegmentsStoreRequestConditionsInnerAttributeEnum = exports.ReachV1ContactsSegmentsStoreRequestConditionsInnerOperatorEnum = exports.ReachV1ContactsSegmentsStoreRequestLogicEnum = exports.ReachV1ContactsSegmentsSegmentationContactResourceSourceEnum = exports.ReachV1ContactsSegmentsSegmentationContactResourceSubscriptionStatusEnum = exports.ReachV1ContactsContactResourceSourceEnum = exports.ReachV1ContactsContactResourceSubscriptionStatusEnum = exports.MailV1WebhooksWebhookSecretResourceStatusEnum = exports.MailV1WebhooksWebhookSecretResourceEventsEnum = exports.MailV1WebhooksWebhookResourceStatusEnum = exports.MailV1WebhooksWebhookResourceEventsEnum = exports.MailV1WebhooksWebhookCreatedResourceStatusEnum = exports.MailV1WebhooksWebhookCreatedResourceEventsEnum = exports.MailV1SchemaUpdateWebhookRequestSchemaStatusEnum = void 0;
24
+ exports.DNSZoneApiFactory = exports.DNSZoneApiFp = exports.DNSZoneApiAxiosParamCreator = exports.DNSSnapshotApi = exports.DNSSnapshotApiFactory = exports.DNSSnapshotApiFp = exports.DNSSnapshotApiAxiosParamCreator = exports.BillingSubscriptionsApi = exports.BillingSubscriptionsApiFactory = exports.BillingSubscriptionsApiFp = exports.BillingSubscriptionsApiAxiosParamCreator = exports.BillingPaymentMethodsApi = exports.BillingPaymentMethodsApiFactory = exports.BillingPaymentMethodsApiFp = exports.BillingPaymentMethodsApiAxiosParamCreator = exports.BillingOrdersApi = exports.BillingOrdersApiFactory = exports.BillingOrdersApiFp = exports.BillingOrdersApiAxiosParamCreator = exports.GetCatalogItemListV1CategoryEnum = exports.BillingCatalogApi = exports.BillingCatalogApiFactory = exports.BillingCatalogApiFp = exports.BillingCatalogApiAxiosParamCreator = exports.AgencyHostingWordPressApi = exports.AgencyHostingWordPressApiFactory = exports.AgencyHostingWordPressApiFp = exports.AgencyHostingWordPressApiAxiosParamCreator = exports.AgencyHostingWebsitesApi = exports.AgencyHostingWebsitesApiFactory = exports.AgencyHostingWebsitesApiFp = exports.AgencyHostingWebsitesApiAxiosParamCreator = exports.AgencyHostingWebsiteSetupsApi = exports.AgencyHostingWebsiteSetupsApiFactory = exports.AgencyHostingWebsiteSetupsApiFp = exports.AgencyHostingWebsiteSetupsApiAxiosParamCreator = exports.AgencyHostingOrdersApi = exports.AgencyHostingOrdersApiFactory = exports.AgencyHostingOrdersApiFp = exports.AgencyHostingOrdersApiAxiosParamCreator = exports.AgencyHostingFilesApi = exports.AgencyHostingFilesApiFactory = exports.AgencyHostingFilesApiFp = exports.AgencyHostingFilesApiAxiosParamCreator = exports.AgencyHostingDomainsApi = exports.AgencyHostingDomainsApiFactory = exports.AgencyHostingDomainsApiFp = exports.AgencyHostingDomainsApiAxiosParamCreator = exports.AgencyHostingDatacentersApi = exports.AgencyHostingDatacentersApiFactory = void 0;
25
+ exports.EcommerceStoresApiAxiosParamCreator = exports.EcommerceShippingApi = exports.EcommerceShippingApiFactory = exports.EcommerceShippingApiFp = exports.EcommerceShippingApiAxiosParamCreator = exports.EcommerceSalesChannelsApi = exports.EcommerceSalesChannelsApiFactory = exports.EcommerceSalesChannelsApiFp = exports.EcommerceSalesChannelsApiAxiosParamCreator = exports.EcommerceProductsApi = exports.EcommerceProductsApiFactory = exports.EcommerceProductsApiFp = exports.EcommerceProductsApiAxiosParamCreator = exports.EcommercePaymentsApi = exports.EcommercePaymentsApiFactory = exports.EcommercePaymentsApiFp = exports.EcommercePaymentsApiAxiosParamCreator = exports.EcommerceMiscellaneousApi = exports.EcommerceMiscellaneousApiFactory = exports.EcommerceMiscellaneousApiFp = exports.EcommerceMiscellaneousApiAxiosParamCreator = exports.DomainsWHOISApi = exports.DomainsWHOISApiFactory = exports.DomainsWHOISApiFp = exports.DomainsWHOISApiAxiosParamCreator = exports.DomainsTransferApi = exports.DomainsTransferApiFactory = exports.DomainsTransferApiFp = exports.DomainsTransferApiAxiosParamCreator = exports.DomainsPortfolioApi = exports.DomainsPortfolioApiFactory = exports.DomainsPortfolioApiFp = exports.DomainsPortfolioApiAxiosParamCreator = exports.DomainsMoveApi = exports.DomainsMoveApiFactory = exports.DomainsMoveApiFp = exports.DomainsMoveApiAxiosParamCreator = exports.DomainsForwardingApi = exports.DomainsForwardingApiFactory = exports.DomainsForwardingApiFp = exports.DomainsForwardingApiAxiosParamCreator = exports.DomainsAvailabilityApi = exports.DomainsAvailabilityApiFactory = exports.DomainsAvailabilityApiFp = exports.DomainsAvailabilityApiAxiosParamCreator = exports.DomainAccessVerifierVerificationsApi = exports.DomainAccessVerifierVerificationsApiFactory = exports.DomainAccessVerifierVerificationsApiFp = exports.DomainAccessVerifierVerificationsApiAxiosParamCreator = exports.DNSZoneApi = void 0;
26
+ exports.MailAPITokensApi = exports.MailAPITokensApiFactory = exports.MailAPITokensApiFp = exports.MailAPITokensApiAxiosParamCreator = exports.HostingWebsitesApi = exports.HostingWebsitesApiFactory = exports.HostingWebsitesApiFp = exports.HostingWebsitesApiAxiosParamCreator = exports.HostingPHPApi = exports.HostingPHPApiFactory = exports.HostingPHPApiFp = exports.HostingPHPApiAxiosParamCreator = exports.ListOrdersV1StatusesEnum = exports.HostingOrdersApi = exports.HostingOrdersApiFactory = exports.HostingOrdersApiFp = exports.HostingOrdersApiAxiosParamCreator = exports.ListNodeJsVulnerabilitiesV1SeveritiesEnum = exports.ListNodeJSBuildsV1StatesEnum = exports.HostingNodeJSApi = exports.HostingNodeJSApiFactory = exports.HostingNodeJSApiFp = exports.HostingNodeJSApiAxiosParamCreator = exports.HostingDomainsApi = exports.HostingDomainsApiFactory = exports.HostingDomainsApiFp = exports.HostingDomainsApiAxiosParamCreator = exports.HostingDatacentersApi = exports.HostingDatacentersApiFactory = exports.HostingDatacentersApiFp = exports.HostingDatacentersApiAxiosParamCreator = exports.HostingDatabasesApi = exports.HostingDatabasesApiFactory = exports.HostingDatabasesApiFp = exports.HostingDatabasesApiAxiosParamCreator = exports.HostingCronJobsApi = exports.HostingCronJobsApiFactory = exports.HostingCronJobsApiFp = exports.HostingCronJobsApiAxiosParamCreator = exports.HostingCacheApi = exports.HostingCacheApiFactory = exports.HostingCacheApiFp = exports.HostingCacheApiAxiosParamCreator = exports.HorizonsWebsitesApi = exports.HorizonsWebsitesApiFactory = exports.HorizonsWebsitesApiFp = exports.HorizonsWebsitesApiAxiosParamCreator = exports.EcommerceStoresApi = exports.EcommerceStoresApiFactory = exports.EcommerceStoresApiFp = void 0;
27
+ exports.ReachProfilesApiFactory = exports.ReachProfilesApiFp = exports.ReachProfilesApiAxiosParamCreator = exports.ListContactsV1SubscriptionStatusEnum = exports.ReachContactsApi = exports.ReachContactsApiFactory = exports.ReachContactsApiFp = exports.ReachContactsApiAxiosParamCreator = exports.ListWebhooksV1StatusEnum = exports.MailWebhooksApi = exports.MailWebhooksApiFactory = exports.MailWebhooksApiFp = exports.MailWebhooksApiAxiosParamCreator = exports.ListOrdersV1SortEnum = exports.ListOrdersV1StatusEnum = exports.MailOrdersApi = exports.MailOrdersApiFactory = exports.MailOrdersApiFp = exports.MailOrdersApiAxiosParamCreator = exports.ListMailboxesV1SortEnum = exports.MailMailboxesApi = exports.MailMailboxesApiFactory = exports.MailMailboxesApiFp = exports.MailMailboxesApiAxiosParamCreator = exports.ListOutboundLogsV1StatusEnum = exports.ListMailboxActionLogsV1EventEnum = exports.ListInboundLogsV1StatusEnum = exports.ListActionLogsV1StatusEnum = exports.ListAccessLogsV1ProtocolEnum = exports.ListAccessLogsV1StatusEnum = exports.MailLogsApi = exports.MailLogsApiFactory = exports.MailLogsApiFp = exports.MailLogsApiAxiosParamCreator = exports.MailForwardersApi = exports.MailForwardersApiFactory = exports.MailForwardersApiFp = exports.MailForwardersApiAxiosParamCreator = exports.MailCatchallsApi = exports.MailCatchallsApiFactory = exports.MailCatchallsApiFp = exports.MailCatchallsApiAxiosParamCreator = exports.MailAutorepliesApi = exports.MailAutorepliesApiFactory = exports.MailAutorepliesApiFp = exports.MailAutorepliesApiAxiosParamCreator = exports.MailAliasesApi = exports.MailAliasesApiFactory = exports.MailAliasesApiFp = exports.MailAliasesApiAxiosParamCreator = void 0;
28
+ exports.VPSSnapshotsApiAxiosParamCreator = exports.VPSRecoveryApi = exports.VPSRecoveryApiFactory = exports.VPSRecoveryApiFp = exports.VPSRecoveryApiAxiosParamCreator = exports.VPSPublicKeysApi = exports.VPSPublicKeysApiFactory = exports.VPSPublicKeysApiFp = exports.VPSPublicKeysApiAxiosParamCreator = exports.VPSPostInstallScriptsApi = exports.VPSPostInstallScriptsApiFactory = exports.VPSPostInstallScriptsApiFp = exports.VPSPostInstallScriptsApiAxiosParamCreator = exports.VPSPTRRecordsApi = exports.VPSPTRRecordsApiFactory = exports.VPSPTRRecordsApiFp = exports.VPSPTRRecordsApiAxiosParamCreator = exports.VPSOSTemplatesApi = exports.VPSOSTemplatesApiFactory = exports.VPSOSTemplatesApiFp = exports.VPSOSTemplatesApiAxiosParamCreator = exports.VPSMalwareScannerApi = exports.VPSMalwareScannerApiFactory = exports.VPSMalwareScannerApiFp = exports.VPSMalwareScannerApiAxiosParamCreator = exports.VPSFirewallApi = exports.VPSFirewallApiFactory = exports.VPSFirewallApiFp = exports.VPSFirewallApiAxiosParamCreator = exports.VPSDockerManagerApi = exports.VPSDockerManagerApiFactory = exports.VPSDockerManagerApiFp = exports.VPSDockerManagerApiAxiosParamCreator = exports.VPSDataCentersApi = exports.VPSDataCentersApiFactory = exports.VPSDataCentersApiFp = exports.VPSDataCentersApiAxiosParamCreator = exports.VPSBackupsApi = exports.VPSBackupsApiFactory = exports.VPSBackupsApiFp = exports.VPSBackupsApiAxiosParamCreator = exports.VPSActionsApi = exports.VPSActionsApiFactory = exports.VPSActionsApiFp = exports.VPSActionsApiAxiosParamCreator = exports.ReachSegmentsApi = exports.ReachSegmentsApiFactory = exports.ReachSegmentsApiFp = exports.ReachSegmentsApiAxiosParamCreator = exports.ReachProfilesApi = void 0;
29
+ exports.WordPressThemesApi = exports.WordPressThemesApiFactory = exports.WordPressThemesApiFp = exports.WordPressThemesApiAxiosParamCreator = exports.ListInstalledWordPressPluginsV1CategoryEnum = exports.WordPressPluginsApi = exports.WordPressPluginsApiFactory = exports.WordPressPluginsApiFp = exports.WordPressPluginsApiAxiosParamCreator = exports.WordPressObjectCacheApi = exports.WordPressObjectCacheApiFactory = exports.WordPressObjectCacheApiFp = exports.WordPressObjectCacheApiAxiosParamCreator = exports.WordPressMaintenanceApi = exports.WordPressMaintenanceApiFactory = exports.WordPressMaintenanceApiFp = exports.WordPressMaintenanceApiAxiosParamCreator = exports.WordPressLoginApi = exports.WordPressLoginApiFactory = exports.WordPressLoginApiFp = exports.WordPressLoginApiAxiosParamCreator = exports.WordPressLiteSpeedCacheApi = exports.WordPressLiteSpeedCacheApiFactory = exports.WordPressLiteSpeedCacheApiFp = exports.WordPressLiteSpeedCacheApiAxiosParamCreator = exports.ListWordPressInstallationsV1OwnershipEnum = exports.WordPressInstallationsApi = exports.WordPressInstallationsApiFactory = exports.WordPressInstallationsApiFp = exports.WordPressInstallationsApiAxiosParamCreator = exports.ShowAIOptionStatusV1OptionEnum = exports.WordPressAIToolsApi = exports.WordPressAIToolsApiFactory = exports.WordPressAIToolsApiFp = exports.WordPressAIToolsApiAxiosParamCreator = exports.VPSVirtualMachineApi = exports.VPSVirtualMachineApiFactory = exports.VPSVirtualMachineApiFp = exports.VPSVirtualMachineApiAxiosParamCreator = exports.VPSSnapshotsApi = exports.VPSSnapshotsApiFactory = exports.VPSSnapshotsApiFp = void 0;
30
30
  const axios_1 = require("axios");
31
31
  // Some imports not used depending on template conditions
32
32
  // @ts-ignore
@@ -162,6 +162,21 @@ exports.DomainsV1IRTPVerificationResourceStatusEnum = {
162
162
  Completed: 'completed',
163
163
  Canceled: 'canceled'
164
164
  };
165
+ exports.DomainsV1MoveMoveResourceStatusEnum = {
166
+ Initiated: 'initiated',
167
+ Activating: 'activating',
168
+ Completed: 'completed'
169
+ };
170
+ exports.DomainsV1PortfolioClaimResourceStatusEnum = {
171
+ Active: 'active',
172
+ PendingSetup: 'pending_setup',
173
+ Expired: 'expired',
174
+ Requested: 'requested',
175
+ PendingVerification: 'pending_verification',
176
+ Deleted: 'deleted',
177
+ Suspended: 'suspended',
178
+ Failed: 'failed'
179
+ };
165
180
  exports.DomainsV1WHOISChangeUpdateRequestChangeForEnum = {
166
181
  Owner: 'owner',
167
182
  Admin: 'admin',
@@ -4794,12 +4809,636 @@ class DomainsForwardingApi extends base_1.BaseAPI {
4794
4809
  }
4795
4810
  }
4796
4811
  exports.DomainsForwardingApi = DomainsForwardingApi;
4812
+ /**
4813
+ * DomainsMoveApi - axios parameter creator
4814
+ * @export
4815
+ */
4816
+ const DomainsMoveApiAxiosParamCreator = function (configuration) {
4817
+ return {
4818
+ /**
4819
+ * Accept an incoming move for a specified domain. The provided WHOIS profiles become the contacts of the domain, so they must belong to your account and satisfy the requirements of the TLD. Only the contact types the domain actually uses are applied, but all four profile IDs have to be provided. The move has to still be waiting for your decision, already accepted moves cannot be accepted again. Accepting does not complete the move. A confirmation email is sent to the email address of the new owner contact, and the domain changes hands only after the change is confirmed from it. Until then the move stays in the `activating` status, which can be followed with the [incoming move endpoint](#tag/domains-move). Use this endpoint to take ownership of a domain offered to you.
4820
+ * @summary Accept incoming domain move
4821
+ * @param {string} domain Domain name
4822
+ * @param {DomainsV1MoveIncomingUpdateRequest} domainsV1MoveIncomingUpdateRequest
4823
+ * @param {*} [options] Override http request option.
4824
+ * @throws {RequiredError}
4825
+ */
4826
+ acceptIncomingDomainMoveV1: (domain_1, domainsV1MoveIncomingUpdateRequest_1, ...args_1) => __awaiter(this, [domain_1, domainsV1MoveIncomingUpdateRequest_1, ...args_1], void 0, function* (domain, domainsV1MoveIncomingUpdateRequest, options = {}) {
4827
+ // verify required parameter 'domain' is not null or undefined
4828
+ (0, common_1.assertParamExists)('acceptIncomingDomainMoveV1', 'domain', domain);
4829
+ // verify required parameter 'domainsV1MoveIncomingUpdateRequest' is not null or undefined
4830
+ (0, common_1.assertParamExists)('acceptIncomingDomainMoveV1', 'domainsV1MoveIncomingUpdateRequest', domainsV1MoveIncomingUpdateRequest);
4831
+ const localVarPath = `/api/domains/v1/move/incoming/{domain}`
4832
+ .replace(`{${"domain"}}`, encodeURIComponent(String(domain)));
4833
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4834
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
4835
+ let baseOptions;
4836
+ if (configuration) {
4837
+ baseOptions = configuration.baseOptions;
4838
+ }
4839
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
4840
+ const localVarHeaderParameter = {};
4841
+ const localVarQueryParameter = {};
4842
+ // authentication apiToken required
4843
+ // http bearer authentication required
4844
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
4845
+ localVarHeaderParameter['Content-Type'] = 'application/json';
4846
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
4847
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4848
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4849
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(domainsV1MoveIncomingUpdateRequest, localVarRequestOptions, configuration);
4850
+ return {
4851
+ url: (0, common_1.toPathString)(localVarUrlObj),
4852
+ options: localVarRequestOptions,
4853
+ };
4854
+ }),
4855
+ /**
4856
+ * Cancel an outgoing move for a specified domain. The move can only be cancelled while the receiving account has not accepted it yet. The domain stays in your account. Use this endpoint to withdraw a move you no longer want to complete.
4857
+ * @summary Cancel outgoing domain move
4858
+ * @param {string} domain Domain name
4859
+ * @param {*} [options] Override http request option.
4860
+ * @throws {RequiredError}
4861
+ */
4862
+ cancelOutgoingDomainMoveV1: (domain_1, ...args_1) => __awaiter(this, [domain_1, ...args_1], void 0, function* (domain, options = {}) {
4863
+ // verify required parameter 'domain' is not null or undefined
4864
+ (0, common_1.assertParamExists)('cancelOutgoingDomainMoveV1', 'domain', domain);
4865
+ const localVarPath = `/api/domains/v1/move/outgoing/{domain}`
4866
+ .replace(`{${"domain"}}`, encodeURIComponent(String(domain)));
4867
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4868
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
4869
+ let baseOptions;
4870
+ if (configuration) {
4871
+ baseOptions = configuration.baseOptions;
4872
+ }
4873
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
4874
+ const localVarHeaderParameter = {};
4875
+ const localVarQueryParameter = {};
4876
+ // authentication apiToken required
4877
+ // http bearer authentication required
4878
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
4879
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
4880
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4881
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4882
+ return {
4883
+ url: (0, common_1.toPathString)(localVarUrlObj),
4884
+ options: localVarRequestOptions,
4885
+ };
4886
+ }),
4887
+ /**
4888
+ * Retrieve all domains other Hostinger accounts are moving to your account. Moves of every status are returned, including the ones which already completed. Use this endpoint to find domains waiting for you to accept them.
4889
+ * @summary Get incoming domain move list
4890
+ * @param {*} [options] Override http request option.
4891
+ * @throws {RequiredError}
4892
+ */
4893
+ getIncomingDomainMoveListV1: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
4894
+ const localVarPath = `/api/domains/v1/move/incoming`;
4895
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4896
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
4897
+ let baseOptions;
4898
+ if (configuration) {
4899
+ baseOptions = configuration.baseOptions;
4900
+ }
4901
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
4902
+ const localVarHeaderParameter = {};
4903
+ const localVarQueryParameter = {};
4904
+ // authentication apiToken required
4905
+ // http bearer authentication required
4906
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
4907
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
4908
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4909
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4910
+ return {
4911
+ url: (0, common_1.toPathString)(localVarUrlObj),
4912
+ options: localVarRequestOptions,
4913
+ };
4914
+ }),
4915
+ /**
4916
+ * Retrieve the incoming move for a specified domain. Returns 404 when no account is moving this domain to you. Use this endpoint to check whether a domain addressed to you is still waiting to be accepted.
4917
+ * @summary Get incoming domain move
4918
+ * @param {string} domain Domain name
4919
+ * @param {boolean} [forceSync] Re-check the move against the registry before responding. Only has an effect while the move is in the `activating` status.
4920
+ * @param {*} [options] Override http request option.
4921
+ * @throws {RequiredError}
4922
+ */
4923
+ getIncomingDomainMoveV1: (domain_1, forceSync_1, ...args_1) => __awaiter(this, [domain_1, forceSync_1, ...args_1], void 0, function* (domain, forceSync, options = {}) {
4924
+ // verify required parameter 'domain' is not null or undefined
4925
+ (0, common_1.assertParamExists)('getIncomingDomainMoveV1', 'domain', domain);
4926
+ const localVarPath = `/api/domains/v1/move/incoming/{domain}`
4927
+ .replace(`{${"domain"}}`, encodeURIComponent(String(domain)));
4928
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4929
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
4930
+ let baseOptions;
4931
+ if (configuration) {
4932
+ baseOptions = configuration.baseOptions;
4933
+ }
4934
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
4935
+ const localVarHeaderParameter = {};
4936
+ const localVarQueryParameter = {};
4937
+ // authentication apiToken required
4938
+ // http bearer authentication required
4939
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
4940
+ if (forceSync !== undefined) {
4941
+ localVarQueryParameter['force_sync'] = forceSync;
4942
+ }
4943
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
4944
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4945
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4946
+ return {
4947
+ url: (0, common_1.toPathString)(localVarUrlObj),
4948
+ options: localVarRequestOptions,
4949
+ };
4950
+ }),
4951
+ /**
4952
+ * Retrieve all domains you are moving to other Hostinger accounts. Only moves which have not completed yet are returned. Use this endpoint to track moves you have initiated and the accounts they are addressed to.
4953
+ * @summary Get outgoing domain move list
4954
+ * @param {*} [options] Override http request option.
4955
+ * @throws {RequiredError}
4956
+ */
4957
+ getOutgoingDomainMoveListV1: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
4958
+ const localVarPath = `/api/domains/v1/move/outgoing`;
4959
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4960
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
4961
+ let baseOptions;
4962
+ if (configuration) {
4963
+ baseOptions = configuration.baseOptions;
4964
+ }
4965
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
4966
+ const localVarHeaderParameter = {};
4967
+ const localVarQueryParameter = {};
4968
+ // authentication apiToken required
4969
+ // http bearer authentication required
4970
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
4971
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
4972
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4973
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4974
+ return {
4975
+ url: (0, common_1.toPathString)(localVarUrlObj),
4976
+ options: localVarRequestOptions,
4977
+ };
4978
+ }),
4979
+ /**
4980
+ * Retrieve the outgoing move for a specified domain. Returns 404 when the domain has no move in progress. Use this endpoint to track the status of a move you have initiated for a single domain.
4981
+ * @summary Get outgoing domain move
4982
+ * @param {string} domain Domain name
4983
+ * @param {*} [options] Override http request option.
4984
+ * @throws {RequiredError}
4985
+ */
4986
+ getOutgoingDomainMoveV1: (domain_1, ...args_1) => __awaiter(this, [domain_1, ...args_1], void 0, function* (domain, options = {}) {
4987
+ // verify required parameter 'domain' is not null or undefined
4988
+ (0, common_1.assertParamExists)('getOutgoingDomainMoveV1', 'domain', domain);
4989
+ const localVarPath = `/api/domains/v1/move/outgoing/{domain}`
4990
+ .replace(`{${"domain"}}`, encodeURIComponent(String(domain)));
4991
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4992
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
4993
+ let baseOptions;
4994
+ if (configuration) {
4995
+ baseOptions = configuration.baseOptions;
4996
+ }
4997
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
4998
+ const localVarHeaderParameter = {};
4999
+ const localVarQueryParameter = {};
5000
+ // authentication apiToken required
5001
+ // http bearer authentication required
5002
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
5003
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
5004
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5005
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
5006
+ return {
5007
+ url: (0, common_1.toPathString)(localVarUrlObj),
5008
+ options: localVarRequestOptions,
5009
+ };
5010
+ }),
5011
+ /**
5012
+ * Reject an incoming move for a specified domain. The domain stays in the account which initiated the move. Moves you have already accepted cannot be rejected anymore. Use this endpoint to decline a domain you do not want to take over.
5013
+ * @summary Reject incoming domain move
5014
+ * @param {string} domain Domain name
5015
+ * @param {*} [options] Override http request option.
5016
+ * @throws {RequiredError}
5017
+ */
5018
+ rejectIncomingDomainMoveV1: (domain_1, ...args_1) => __awaiter(this, [domain_1, ...args_1], void 0, function* (domain, options = {}) {
5019
+ // verify required parameter 'domain' is not null or undefined
5020
+ (0, common_1.assertParamExists)('rejectIncomingDomainMoveV1', 'domain', domain);
5021
+ const localVarPath = `/api/domains/v1/move/incoming/{domain}`
5022
+ .replace(`{${"domain"}}`, encodeURIComponent(String(domain)));
5023
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
5024
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
5025
+ let baseOptions;
5026
+ if (configuration) {
5027
+ baseOptions = configuration.baseOptions;
5028
+ }
5029
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
5030
+ const localVarHeaderParameter = {};
5031
+ const localVarQueryParameter = {};
5032
+ // authentication apiToken required
5033
+ // http bearer authentication required
5034
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
5035
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
5036
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5037
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
5038
+ return {
5039
+ url: (0, common_1.toPathString)(localVarUrlObj),
5040
+ options: localVarRequestOptions,
5041
+ };
5042
+ }),
5043
+ /**
5044
+ * Initiate a move of a specified domain to another Hostinger account. The receiving account has to already exist and accept the move before the domain changes hands. The domain must be active. The subscription it belongs to is resolved automatically, and the request is rejected with a 404 status code when the domain has no domain subscription of its own. Domains protected by premium protection require an additional verification step, such requests are rejected with a 428 status code. Use this endpoint to hand a domain over to another Hostinger user.
5045
+ * @summary Start outgoing domain move
5046
+ * @param {string} domain Domain name
5047
+ * @param {DomainsV1MoveOutgoingStoreRequest} domainsV1MoveOutgoingStoreRequest
5048
+ * @param {*} [options] Override http request option.
5049
+ * @throws {RequiredError}
5050
+ */
5051
+ startOutgoingDomainMoveV1: (domain_1, domainsV1MoveOutgoingStoreRequest_1, ...args_1) => __awaiter(this, [domain_1, domainsV1MoveOutgoingStoreRequest_1, ...args_1], void 0, function* (domain, domainsV1MoveOutgoingStoreRequest, options = {}) {
5052
+ // verify required parameter 'domain' is not null or undefined
5053
+ (0, common_1.assertParamExists)('startOutgoingDomainMoveV1', 'domain', domain);
5054
+ // verify required parameter 'domainsV1MoveOutgoingStoreRequest' is not null or undefined
5055
+ (0, common_1.assertParamExists)('startOutgoingDomainMoveV1', 'domainsV1MoveOutgoingStoreRequest', domainsV1MoveOutgoingStoreRequest);
5056
+ const localVarPath = `/api/domains/v1/move/outgoing/{domain}`
5057
+ .replace(`{${"domain"}}`, encodeURIComponent(String(domain)));
5058
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
5059
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
5060
+ let baseOptions;
5061
+ if (configuration) {
5062
+ baseOptions = configuration.baseOptions;
5063
+ }
5064
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
5065
+ const localVarHeaderParameter = {};
5066
+ const localVarQueryParameter = {};
5067
+ // authentication apiToken required
5068
+ // http bearer authentication required
5069
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
5070
+ localVarHeaderParameter['Content-Type'] = 'application/json';
5071
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
5072
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5073
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
5074
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(domainsV1MoveOutgoingStoreRequest, localVarRequestOptions, configuration);
5075
+ return {
5076
+ url: (0, common_1.toPathString)(localVarUrlObj),
5077
+ options: localVarRequestOptions,
5078
+ };
5079
+ }),
5080
+ };
5081
+ };
5082
+ exports.DomainsMoveApiAxiosParamCreator = DomainsMoveApiAxiosParamCreator;
5083
+ /**
5084
+ * DomainsMoveApi - functional programming interface
5085
+ * @export
5086
+ */
5087
+ const DomainsMoveApiFp = function (configuration) {
5088
+ const localVarAxiosParamCreator = (0, exports.DomainsMoveApiAxiosParamCreator)(configuration);
5089
+ return {
5090
+ /**
5091
+ * Accept an incoming move for a specified domain. The provided WHOIS profiles become the contacts of the domain, so they must belong to your account and satisfy the requirements of the TLD. Only the contact types the domain actually uses are applied, but all four profile IDs have to be provided. The move has to still be waiting for your decision, already accepted moves cannot be accepted again. Accepting does not complete the move. A confirmation email is sent to the email address of the new owner contact, and the domain changes hands only after the change is confirmed from it. Until then the move stays in the `activating` status, which can be followed with the [incoming move endpoint](#tag/domains-move). Use this endpoint to take ownership of a domain offered to you.
5092
+ * @summary Accept incoming domain move
5093
+ * @param {string} domain Domain name
5094
+ * @param {DomainsV1MoveIncomingUpdateRequest} domainsV1MoveIncomingUpdateRequest
5095
+ * @param {*} [options] Override http request option.
5096
+ * @throws {RequiredError}
5097
+ */
5098
+ acceptIncomingDomainMoveV1(domain, domainsV1MoveIncomingUpdateRequest, options) {
5099
+ return __awaiter(this, void 0, void 0, function* () {
5100
+ var _a, _b;
5101
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.acceptIncomingDomainMoveV1(domain, domainsV1MoveIncomingUpdateRequest, options);
5102
+ const localVarOperationServerBasePath = (_b = (_a = base_1.operationServerMap['DomainsMoveApi.acceptIncomingDomainMoveV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
5103
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5104
+ });
5105
+ },
5106
+ /**
5107
+ * Cancel an outgoing move for a specified domain. The move can only be cancelled while the receiving account has not accepted it yet. The domain stays in your account. Use this endpoint to withdraw a move you no longer want to complete.
5108
+ * @summary Cancel outgoing domain move
5109
+ * @param {string} domain Domain name
5110
+ * @param {*} [options] Override http request option.
5111
+ * @throws {RequiredError}
5112
+ */
5113
+ cancelOutgoingDomainMoveV1(domain, options) {
5114
+ return __awaiter(this, void 0, void 0, function* () {
5115
+ var _a, _b;
5116
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.cancelOutgoingDomainMoveV1(domain, options);
5117
+ const localVarOperationServerBasePath = (_b = (_a = base_1.operationServerMap['DomainsMoveApi.cancelOutgoingDomainMoveV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
5118
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5119
+ });
5120
+ },
5121
+ /**
5122
+ * Retrieve all domains other Hostinger accounts are moving to your account. Moves of every status are returned, including the ones which already completed. Use this endpoint to find domains waiting for you to accept them.
5123
+ * @summary Get incoming domain move list
5124
+ * @param {*} [options] Override http request option.
5125
+ * @throws {RequiredError}
5126
+ */
5127
+ getIncomingDomainMoveListV1(options) {
5128
+ return __awaiter(this, void 0, void 0, function* () {
5129
+ var _a, _b;
5130
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getIncomingDomainMoveListV1(options);
5131
+ const localVarOperationServerBasePath = (_b = (_a = base_1.operationServerMap['DomainsMoveApi.getIncomingDomainMoveListV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
5132
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5133
+ });
5134
+ },
5135
+ /**
5136
+ * Retrieve the incoming move for a specified domain. Returns 404 when no account is moving this domain to you. Use this endpoint to check whether a domain addressed to you is still waiting to be accepted.
5137
+ * @summary Get incoming domain move
5138
+ * @param {string} domain Domain name
5139
+ * @param {boolean} [forceSync] Re-check the move against the registry before responding. Only has an effect while the move is in the `activating` status.
5140
+ * @param {*} [options] Override http request option.
5141
+ * @throws {RequiredError}
5142
+ */
5143
+ getIncomingDomainMoveV1(domain, forceSync, options) {
5144
+ return __awaiter(this, void 0, void 0, function* () {
5145
+ var _a, _b;
5146
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getIncomingDomainMoveV1(domain, forceSync, options);
5147
+ const localVarOperationServerBasePath = (_b = (_a = base_1.operationServerMap['DomainsMoveApi.getIncomingDomainMoveV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
5148
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5149
+ });
5150
+ },
5151
+ /**
5152
+ * Retrieve all domains you are moving to other Hostinger accounts. Only moves which have not completed yet are returned. Use this endpoint to track moves you have initiated and the accounts they are addressed to.
5153
+ * @summary Get outgoing domain move list
5154
+ * @param {*} [options] Override http request option.
5155
+ * @throws {RequiredError}
5156
+ */
5157
+ getOutgoingDomainMoveListV1(options) {
5158
+ return __awaiter(this, void 0, void 0, function* () {
5159
+ var _a, _b;
5160
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getOutgoingDomainMoveListV1(options);
5161
+ const localVarOperationServerBasePath = (_b = (_a = base_1.operationServerMap['DomainsMoveApi.getOutgoingDomainMoveListV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
5162
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5163
+ });
5164
+ },
5165
+ /**
5166
+ * Retrieve the outgoing move for a specified domain. Returns 404 when the domain has no move in progress. Use this endpoint to track the status of a move you have initiated for a single domain.
5167
+ * @summary Get outgoing domain move
5168
+ * @param {string} domain Domain name
5169
+ * @param {*} [options] Override http request option.
5170
+ * @throws {RequiredError}
5171
+ */
5172
+ getOutgoingDomainMoveV1(domain, options) {
5173
+ return __awaiter(this, void 0, void 0, function* () {
5174
+ var _a, _b;
5175
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getOutgoingDomainMoveV1(domain, options);
5176
+ const localVarOperationServerBasePath = (_b = (_a = base_1.operationServerMap['DomainsMoveApi.getOutgoingDomainMoveV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
5177
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5178
+ });
5179
+ },
5180
+ /**
5181
+ * Reject an incoming move for a specified domain. The domain stays in the account which initiated the move. Moves you have already accepted cannot be rejected anymore. Use this endpoint to decline a domain you do not want to take over.
5182
+ * @summary Reject incoming domain move
5183
+ * @param {string} domain Domain name
5184
+ * @param {*} [options] Override http request option.
5185
+ * @throws {RequiredError}
5186
+ */
5187
+ rejectIncomingDomainMoveV1(domain, options) {
5188
+ return __awaiter(this, void 0, void 0, function* () {
5189
+ var _a, _b;
5190
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.rejectIncomingDomainMoveV1(domain, options);
5191
+ const localVarOperationServerBasePath = (_b = (_a = base_1.operationServerMap['DomainsMoveApi.rejectIncomingDomainMoveV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
5192
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5193
+ });
5194
+ },
5195
+ /**
5196
+ * Initiate a move of a specified domain to another Hostinger account. The receiving account has to already exist and accept the move before the domain changes hands. The domain must be active. The subscription it belongs to is resolved automatically, and the request is rejected with a 404 status code when the domain has no domain subscription of its own. Domains protected by premium protection require an additional verification step, such requests are rejected with a 428 status code. Use this endpoint to hand a domain over to another Hostinger user.
5197
+ * @summary Start outgoing domain move
5198
+ * @param {string} domain Domain name
5199
+ * @param {DomainsV1MoveOutgoingStoreRequest} domainsV1MoveOutgoingStoreRequest
5200
+ * @param {*} [options] Override http request option.
5201
+ * @throws {RequiredError}
5202
+ */
5203
+ startOutgoingDomainMoveV1(domain, domainsV1MoveOutgoingStoreRequest, options) {
5204
+ return __awaiter(this, void 0, void 0, function* () {
5205
+ var _a, _b;
5206
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.startOutgoingDomainMoveV1(domain, domainsV1MoveOutgoingStoreRequest, options);
5207
+ const localVarOperationServerBasePath = (_b = (_a = base_1.operationServerMap['DomainsMoveApi.startOutgoingDomainMoveV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
5208
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5209
+ });
5210
+ },
5211
+ };
5212
+ };
5213
+ exports.DomainsMoveApiFp = DomainsMoveApiFp;
5214
+ /**
5215
+ * DomainsMoveApi - factory interface
5216
+ * @export
5217
+ */
5218
+ const DomainsMoveApiFactory = function (configuration, basePath, axios) {
5219
+ const localVarFp = (0, exports.DomainsMoveApiFp)(configuration);
5220
+ return {
5221
+ /**
5222
+ * Accept an incoming move for a specified domain. The provided WHOIS profiles become the contacts of the domain, so they must belong to your account and satisfy the requirements of the TLD. Only the contact types the domain actually uses are applied, but all four profile IDs have to be provided. The move has to still be waiting for your decision, already accepted moves cannot be accepted again. Accepting does not complete the move. A confirmation email is sent to the email address of the new owner contact, and the domain changes hands only after the change is confirmed from it. Until then the move stays in the `activating` status, which can be followed with the [incoming move endpoint](#tag/domains-move). Use this endpoint to take ownership of a domain offered to you.
5223
+ * @summary Accept incoming domain move
5224
+ * @param {string} domain Domain name
5225
+ * @param {DomainsV1MoveIncomingUpdateRequest} domainsV1MoveIncomingUpdateRequest
5226
+ * @param {*} [options] Override http request option.
5227
+ * @throws {RequiredError}
5228
+ */
5229
+ acceptIncomingDomainMoveV1(domain, domainsV1MoveIncomingUpdateRequest, options) {
5230
+ return localVarFp.acceptIncomingDomainMoveV1(domain, domainsV1MoveIncomingUpdateRequest, options).then((request) => request(axios, basePath));
5231
+ },
5232
+ /**
5233
+ * Cancel an outgoing move for a specified domain. The move can only be cancelled while the receiving account has not accepted it yet. The domain stays in your account. Use this endpoint to withdraw a move you no longer want to complete.
5234
+ * @summary Cancel outgoing domain move
5235
+ * @param {string} domain Domain name
5236
+ * @param {*} [options] Override http request option.
5237
+ * @throws {RequiredError}
5238
+ */
5239
+ cancelOutgoingDomainMoveV1(domain, options) {
5240
+ return localVarFp.cancelOutgoingDomainMoveV1(domain, options).then((request) => request(axios, basePath));
5241
+ },
5242
+ /**
5243
+ * Retrieve all domains other Hostinger accounts are moving to your account. Moves of every status are returned, including the ones which already completed. Use this endpoint to find domains waiting for you to accept them.
5244
+ * @summary Get incoming domain move list
5245
+ * @param {*} [options] Override http request option.
5246
+ * @throws {RequiredError}
5247
+ */
5248
+ getIncomingDomainMoveListV1(options) {
5249
+ return localVarFp.getIncomingDomainMoveListV1(options).then((request) => request(axios, basePath));
5250
+ },
5251
+ /**
5252
+ * Retrieve the incoming move for a specified domain. Returns 404 when no account is moving this domain to you. Use this endpoint to check whether a domain addressed to you is still waiting to be accepted.
5253
+ * @summary Get incoming domain move
5254
+ * @param {string} domain Domain name
5255
+ * @param {boolean} [forceSync] Re-check the move against the registry before responding. Only has an effect while the move is in the `activating` status.
5256
+ * @param {*} [options] Override http request option.
5257
+ * @throws {RequiredError}
5258
+ */
5259
+ getIncomingDomainMoveV1(domain, forceSync, options) {
5260
+ return localVarFp.getIncomingDomainMoveV1(domain, forceSync, options).then((request) => request(axios, basePath));
5261
+ },
5262
+ /**
5263
+ * Retrieve all domains you are moving to other Hostinger accounts. Only moves which have not completed yet are returned. Use this endpoint to track moves you have initiated and the accounts they are addressed to.
5264
+ * @summary Get outgoing domain move list
5265
+ * @param {*} [options] Override http request option.
5266
+ * @throws {RequiredError}
5267
+ */
5268
+ getOutgoingDomainMoveListV1(options) {
5269
+ return localVarFp.getOutgoingDomainMoveListV1(options).then((request) => request(axios, basePath));
5270
+ },
5271
+ /**
5272
+ * Retrieve the outgoing move for a specified domain. Returns 404 when the domain has no move in progress. Use this endpoint to track the status of a move you have initiated for a single domain.
5273
+ * @summary Get outgoing domain move
5274
+ * @param {string} domain Domain name
5275
+ * @param {*} [options] Override http request option.
5276
+ * @throws {RequiredError}
5277
+ */
5278
+ getOutgoingDomainMoveV1(domain, options) {
5279
+ return localVarFp.getOutgoingDomainMoveV1(domain, options).then((request) => request(axios, basePath));
5280
+ },
5281
+ /**
5282
+ * Reject an incoming move for a specified domain. The domain stays in the account which initiated the move. Moves you have already accepted cannot be rejected anymore. Use this endpoint to decline a domain you do not want to take over.
5283
+ * @summary Reject incoming domain move
5284
+ * @param {string} domain Domain name
5285
+ * @param {*} [options] Override http request option.
5286
+ * @throws {RequiredError}
5287
+ */
5288
+ rejectIncomingDomainMoveV1(domain, options) {
5289
+ return localVarFp.rejectIncomingDomainMoveV1(domain, options).then((request) => request(axios, basePath));
5290
+ },
5291
+ /**
5292
+ * Initiate a move of a specified domain to another Hostinger account. The receiving account has to already exist and accept the move before the domain changes hands. The domain must be active. The subscription it belongs to is resolved automatically, and the request is rejected with a 404 status code when the domain has no domain subscription of its own. Domains protected by premium protection require an additional verification step, such requests are rejected with a 428 status code. Use this endpoint to hand a domain over to another Hostinger user.
5293
+ * @summary Start outgoing domain move
5294
+ * @param {string} domain Domain name
5295
+ * @param {DomainsV1MoveOutgoingStoreRequest} domainsV1MoveOutgoingStoreRequest
5296
+ * @param {*} [options] Override http request option.
5297
+ * @throws {RequiredError}
5298
+ */
5299
+ startOutgoingDomainMoveV1(domain, domainsV1MoveOutgoingStoreRequest, options) {
5300
+ return localVarFp.startOutgoingDomainMoveV1(domain, domainsV1MoveOutgoingStoreRequest, options).then((request) => request(axios, basePath));
5301
+ },
5302
+ };
5303
+ };
5304
+ exports.DomainsMoveApiFactory = DomainsMoveApiFactory;
5305
+ /**
5306
+ * DomainsMoveApi - object-oriented interface
5307
+ * @export
5308
+ * @class DomainsMoveApi
5309
+ * @extends {BaseAPI}
5310
+ */
5311
+ class DomainsMoveApi extends base_1.BaseAPI {
5312
+ /**
5313
+ * Accept an incoming move for a specified domain. The provided WHOIS profiles become the contacts of the domain, so they must belong to your account and satisfy the requirements of the TLD. Only the contact types the domain actually uses are applied, but all four profile IDs have to be provided. The move has to still be waiting for your decision, already accepted moves cannot be accepted again. Accepting does not complete the move. A confirmation email is sent to the email address of the new owner contact, and the domain changes hands only after the change is confirmed from it. Until then the move stays in the `activating` status, which can be followed with the [incoming move endpoint](#tag/domains-move). Use this endpoint to take ownership of a domain offered to you.
5314
+ * @summary Accept incoming domain move
5315
+ * @param {string} domain Domain name
5316
+ * @param {DomainsV1MoveIncomingUpdateRequest} domainsV1MoveIncomingUpdateRequest
5317
+ * @param {*} [options] Override http request option.
5318
+ * @throws {RequiredError}
5319
+ * @memberof DomainsMoveApi
5320
+ */
5321
+ acceptIncomingDomainMoveV1(domain, domainsV1MoveIncomingUpdateRequest, options) {
5322
+ return (0, exports.DomainsMoveApiFp)(this.configuration).acceptIncomingDomainMoveV1(domain, domainsV1MoveIncomingUpdateRequest, options).then((request) => request(this.axios, this.basePath));
5323
+ }
5324
+ /**
5325
+ * Cancel an outgoing move for a specified domain. The move can only be cancelled while the receiving account has not accepted it yet. The domain stays in your account. Use this endpoint to withdraw a move you no longer want to complete.
5326
+ * @summary Cancel outgoing domain move
5327
+ * @param {string} domain Domain name
5328
+ * @param {*} [options] Override http request option.
5329
+ * @throws {RequiredError}
5330
+ * @memberof DomainsMoveApi
5331
+ */
5332
+ cancelOutgoingDomainMoveV1(domain, options) {
5333
+ return (0, exports.DomainsMoveApiFp)(this.configuration).cancelOutgoingDomainMoveV1(domain, options).then((request) => request(this.axios, this.basePath));
5334
+ }
5335
+ /**
5336
+ * Retrieve all domains other Hostinger accounts are moving to your account. Moves of every status are returned, including the ones which already completed. Use this endpoint to find domains waiting for you to accept them.
5337
+ * @summary Get incoming domain move list
5338
+ * @param {*} [options] Override http request option.
5339
+ * @throws {RequiredError}
5340
+ * @memberof DomainsMoveApi
5341
+ */
5342
+ getIncomingDomainMoveListV1(options) {
5343
+ return (0, exports.DomainsMoveApiFp)(this.configuration).getIncomingDomainMoveListV1(options).then((request) => request(this.axios, this.basePath));
5344
+ }
5345
+ /**
5346
+ * Retrieve the incoming move for a specified domain. Returns 404 when no account is moving this domain to you. Use this endpoint to check whether a domain addressed to you is still waiting to be accepted.
5347
+ * @summary Get incoming domain move
5348
+ * @param {string} domain Domain name
5349
+ * @param {boolean} [forceSync] Re-check the move against the registry before responding. Only has an effect while the move is in the `activating` status.
5350
+ * @param {*} [options] Override http request option.
5351
+ * @throws {RequiredError}
5352
+ * @memberof DomainsMoveApi
5353
+ */
5354
+ getIncomingDomainMoveV1(domain, forceSync, options) {
5355
+ return (0, exports.DomainsMoveApiFp)(this.configuration).getIncomingDomainMoveV1(domain, forceSync, options).then((request) => request(this.axios, this.basePath));
5356
+ }
5357
+ /**
5358
+ * Retrieve all domains you are moving to other Hostinger accounts. Only moves which have not completed yet are returned. Use this endpoint to track moves you have initiated and the accounts they are addressed to.
5359
+ * @summary Get outgoing domain move list
5360
+ * @param {*} [options] Override http request option.
5361
+ * @throws {RequiredError}
5362
+ * @memberof DomainsMoveApi
5363
+ */
5364
+ getOutgoingDomainMoveListV1(options) {
5365
+ return (0, exports.DomainsMoveApiFp)(this.configuration).getOutgoingDomainMoveListV1(options).then((request) => request(this.axios, this.basePath));
5366
+ }
5367
+ /**
5368
+ * Retrieve the outgoing move for a specified domain. Returns 404 when the domain has no move in progress. Use this endpoint to track the status of a move you have initiated for a single domain.
5369
+ * @summary Get outgoing domain move
5370
+ * @param {string} domain Domain name
5371
+ * @param {*} [options] Override http request option.
5372
+ * @throws {RequiredError}
5373
+ * @memberof DomainsMoveApi
5374
+ */
5375
+ getOutgoingDomainMoveV1(domain, options) {
5376
+ return (0, exports.DomainsMoveApiFp)(this.configuration).getOutgoingDomainMoveV1(domain, options).then((request) => request(this.axios, this.basePath));
5377
+ }
5378
+ /**
5379
+ * Reject an incoming move for a specified domain. The domain stays in the account which initiated the move. Moves you have already accepted cannot be rejected anymore. Use this endpoint to decline a domain you do not want to take over.
5380
+ * @summary Reject incoming domain move
5381
+ * @param {string} domain Domain name
5382
+ * @param {*} [options] Override http request option.
5383
+ * @throws {RequiredError}
5384
+ * @memberof DomainsMoveApi
5385
+ */
5386
+ rejectIncomingDomainMoveV1(domain, options) {
5387
+ return (0, exports.DomainsMoveApiFp)(this.configuration).rejectIncomingDomainMoveV1(domain, options).then((request) => request(this.axios, this.basePath));
5388
+ }
5389
+ /**
5390
+ * Initiate a move of a specified domain to another Hostinger account. The receiving account has to already exist and accept the move before the domain changes hands. The domain must be active. The subscription it belongs to is resolved automatically, and the request is rejected with a 404 status code when the domain has no domain subscription of its own. Domains protected by premium protection require an additional verification step, such requests are rejected with a 428 status code. Use this endpoint to hand a domain over to another Hostinger user.
5391
+ * @summary Start outgoing domain move
5392
+ * @param {string} domain Domain name
5393
+ * @param {DomainsV1MoveOutgoingStoreRequest} domainsV1MoveOutgoingStoreRequest
5394
+ * @param {*} [options] Override http request option.
5395
+ * @throws {RequiredError}
5396
+ * @memberof DomainsMoveApi
5397
+ */
5398
+ startOutgoingDomainMoveV1(domain, domainsV1MoveOutgoingStoreRequest, options) {
5399
+ return (0, exports.DomainsMoveApiFp)(this.configuration).startOutgoingDomainMoveV1(domain, domainsV1MoveOutgoingStoreRequest, options).then((request) => request(this.axios, this.basePath));
5400
+ }
5401
+ }
5402
+ exports.DomainsMoveApi = DomainsMoveApi;
4797
5403
  /**
4798
5404
  * DomainsPortfolioApi - axios parameter creator
4799
5405
  * @export
4800
5406
  */
4801
5407
  const DomainsPortfolioApiAxiosParamCreator = function (configuration) {
4802
5408
  return {
5409
+ /**
5410
+ * Claim a free domain available on your account and register it. Unlike purchasing a domain, this consumes a free domain you already have, so no payment method is required. A successful response means the domain is registered. If registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check domain registration status. If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Some TLDs require `additional_details` to be provided and these will be validated before claiming. Requests which cannot be fulfilled are rejected with an error code in the response body, for example `2037` when no free domain is available. Use this endpoint to register a domain using a free domain from your account.
5411
+ * @summary Claim free domain
5412
+ * @param {DomainsV1PortfolioClaimRequest} domainsV1PortfolioClaimRequest
5413
+ * @param {*} [options] Override http request option.
5414
+ * @throws {RequiredError}
5415
+ */
5416
+ claimFreeDomainV1: (domainsV1PortfolioClaimRequest_1, ...args_1) => __awaiter(this, [domainsV1PortfolioClaimRequest_1, ...args_1], void 0, function* (domainsV1PortfolioClaimRequest, options = {}) {
5417
+ // verify required parameter 'domainsV1PortfolioClaimRequest' is not null or undefined
5418
+ (0, common_1.assertParamExists)('claimFreeDomainV1', 'domainsV1PortfolioClaimRequest', domainsV1PortfolioClaimRequest);
5419
+ const localVarPath = `/api/domains/v1/portfolio/claim`;
5420
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
5421
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
5422
+ let baseOptions;
5423
+ if (configuration) {
5424
+ baseOptions = configuration.baseOptions;
5425
+ }
5426
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
5427
+ const localVarHeaderParameter = {};
5428
+ const localVarQueryParameter = {};
5429
+ // authentication apiToken required
5430
+ // http bearer authentication required
5431
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
5432
+ localVarHeaderParameter['Content-Type'] = 'application/json';
5433
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
5434
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5435
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
5436
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(domainsV1PortfolioClaimRequest, localVarRequestOptions, configuration);
5437
+ return {
5438
+ url: (0, common_1.toPathString)(localVarUrlObj),
5439
+ options: localVarRequestOptions,
5440
+ };
5441
+ }),
4803
5442
  /**
4804
5443
  * Disable domain lock for the domain. Domain lock needs to be disabled before transferring the domain to another registrar. Use this endpoint to prepare domains for transfer to other registrars.
4805
5444
  * @summary Disable domain lock
@@ -5132,6 +5771,21 @@ exports.DomainsPortfolioApiAxiosParamCreator = DomainsPortfolioApiAxiosParamCrea
5132
5771
  const DomainsPortfolioApiFp = function (configuration) {
5133
5772
  const localVarAxiosParamCreator = (0, exports.DomainsPortfolioApiAxiosParamCreator)(configuration);
5134
5773
  return {
5774
+ /**
5775
+ * Claim a free domain available on your account and register it. Unlike purchasing a domain, this consumes a free domain you already have, so no payment method is required. A successful response means the domain is registered. If registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check domain registration status. If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Some TLDs require `additional_details` to be provided and these will be validated before claiming. Requests which cannot be fulfilled are rejected with an error code in the response body, for example `2037` when no free domain is available. Use this endpoint to register a domain using a free domain from your account.
5776
+ * @summary Claim free domain
5777
+ * @param {DomainsV1PortfolioClaimRequest} domainsV1PortfolioClaimRequest
5778
+ * @param {*} [options] Override http request option.
5779
+ * @throws {RequiredError}
5780
+ */
5781
+ claimFreeDomainV1(domainsV1PortfolioClaimRequest, options) {
5782
+ return __awaiter(this, void 0, void 0, function* () {
5783
+ var _a, _b;
5784
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.claimFreeDomainV1(domainsV1PortfolioClaimRequest, options);
5785
+ const localVarOperationServerBasePath = (_b = (_a = base_1.operationServerMap['DomainsPortfolioApi.claimFreeDomainV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
5786
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5787
+ });
5788
+ },
5135
5789
  /**
5136
5790
  * Disable domain lock for the domain. Domain lock needs to be disabled before transferring the domain to another registrar. Use this endpoint to prepare domains for transfer to other registrars.
5137
5791
  * @summary Disable domain lock
@@ -5292,6 +5946,16 @@ exports.DomainsPortfolioApiFp = DomainsPortfolioApiFp;
5292
5946
  const DomainsPortfolioApiFactory = function (configuration, basePath, axios) {
5293
5947
  const localVarFp = (0, exports.DomainsPortfolioApiFp)(configuration);
5294
5948
  return {
5949
+ /**
5950
+ * Claim a free domain available on your account and register it. Unlike purchasing a domain, this consumes a free domain you already have, so no payment method is required. A successful response means the domain is registered. If registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check domain registration status. If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Some TLDs require `additional_details` to be provided and these will be validated before claiming. Requests which cannot be fulfilled are rejected with an error code in the response body, for example `2037` when no free domain is available. Use this endpoint to register a domain using a free domain from your account.
5951
+ * @summary Claim free domain
5952
+ * @param {DomainsV1PortfolioClaimRequest} domainsV1PortfolioClaimRequest
5953
+ * @param {*} [options] Override http request option.
5954
+ * @throws {RequiredError}
5955
+ */
5956
+ claimFreeDomainV1(domainsV1PortfolioClaimRequest, options) {
5957
+ return localVarFp.claimFreeDomainV1(domainsV1PortfolioClaimRequest, options).then((request) => request(axios, basePath));
5958
+ },
5295
5959
  /**
5296
5960
  * Disable domain lock for the domain. Domain lock needs to be disabled before transferring the domain to another registrar. Use this endpoint to prepare domains for transfer to other registrars.
5297
5961
  * @summary Disable domain lock
@@ -5402,6 +6066,17 @@ exports.DomainsPortfolioApiFactory = DomainsPortfolioApiFactory;
5402
6066
  * @extends {BaseAPI}
5403
6067
  */
5404
6068
  class DomainsPortfolioApi extends base_1.BaseAPI {
6069
+ /**
6070
+ * Claim a free domain available on your account and register it. Unlike purchasing a domain, this consumes a free domain you already have, so no payment method is required. A successful response means the domain is registered. If registration fails, login to [hPanel](https://hpanel.hostinger.com/) and check domain registration status. If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Some TLDs require `additional_details` to be provided and these will be validated before claiming. Requests which cannot be fulfilled are rejected with an error code in the response body, for example `2037` when no free domain is available. Use this endpoint to register a domain using a free domain from your account.
6071
+ * @summary Claim free domain
6072
+ * @param {DomainsV1PortfolioClaimRequest} domainsV1PortfolioClaimRequest
6073
+ * @param {*} [options] Override http request option.
6074
+ * @throws {RequiredError}
6075
+ * @memberof DomainsPortfolioApi
6076
+ */
6077
+ claimFreeDomainV1(domainsV1PortfolioClaimRequest, options) {
6078
+ return (0, exports.DomainsPortfolioApiFp)(this.configuration).claimFreeDomainV1(domainsV1PortfolioClaimRequest, options).then((request) => request(this.axios, this.basePath));
6079
+ }
5405
6080
  /**
5406
6081
  * Disable domain lock for the domain. Domain lock needs to be disabled before transferring the domain to another registrar. Use this endpoint to prepare domains for transfer to other registrars.
5407
6082
  * @summary Disable domain lock
@@ -5520,6 +6195,39 @@ exports.DomainsPortfolioApi = DomainsPortfolioApi;
5520
6195
  */
5521
6196
  const DomainsTransferApiAxiosParamCreator = function (configuration) {
5522
6197
  return {
6198
+ /**
6199
+ * Claim a free domain transfer available on your account and start the transfer. Unlike purchasing a transfer, this consumes a free domain transfer you already have, so no payment method is required. Before making request, unlock the domain at the current registrar and get its authorization code. The transfer is validated first, so domains which cannot be transferred are rejected before the free domain transfer is consumed. A successful response means the transfer has been started. Completion depends on the current registrar and can be followed with the [transfer list endpoint](#tag/domains-transfer). If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Requests which cannot be fulfilled are rejected with an error code in the response body. Use this endpoint to transfer a domain using a free domain transfer from your account.
6200
+ * @summary Claim free domain transfer
6201
+ * @param {DomainsV1TransferClaimRequest} domainsV1TransferClaimRequest
6202
+ * @param {*} [options] Override http request option.
6203
+ * @throws {RequiredError}
6204
+ */
6205
+ claimFreeDomainTransferV1: (domainsV1TransferClaimRequest_1, ...args_1) => __awaiter(this, [domainsV1TransferClaimRequest_1, ...args_1], void 0, function* (domainsV1TransferClaimRequest, options = {}) {
6206
+ // verify required parameter 'domainsV1TransferClaimRequest' is not null or undefined
6207
+ (0, common_1.assertParamExists)('claimFreeDomainTransferV1', 'domainsV1TransferClaimRequest', domainsV1TransferClaimRequest);
6208
+ const localVarPath = `/api/domains/v1/transfers/claim`;
6209
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6210
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
6211
+ let baseOptions;
6212
+ if (configuration) {
6213
+ baseOptions = configuration.baseOptions;
6214
+ }
6215
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
6216
+ const localVarHeaderParameter = {};
6217
+ const localVarQueryParameter = {};
6218
+ // authentication apiToken required
6219
+ // http bearer authentication required
6220
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
6221
+ localVarHeaderParameter['Content-Type'] = 'application/json';
6222
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
6223
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6224
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6225
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(domainsV1TransferClaimRequest, localVarRequestOptions, configuration);
6226
+ return {
6227
+ url: (0, common_1.toPathString)(localVarUrlObj),
6228
+ options: localVarRequestOptions,
6229
+ };
6230
+ }),
5523
6231
  /**
5524
6232
  * Retrieve all domain transfers in your portfolio. Use this endpoint to monitor incoming and outgoing registrar transfers across your domains.
5525
6233
  * @summary Get transfer list
@@ -5590,6 +6298,21 @@ exports.DomainsTransferApiAxiosParamCreator = DomainsTransferApiAxiosParamCreato
5590
6298
  const DomainsTransferApiFp = function (configuration) {
5591
6299
  const localVarAxiosParamCreator = (0, exports.DomainsTransferApiAxiosParamCreator)(configuration);
5592
6300
  return {
6301
+ /**
6302
+ * Claim a free domain transfer available on your account and start the transfer. Unlike purchasing a transfer, this consumes a free domain transfer you already have, so no payment method is required. Before making request, unlock the domain at the current registrar and get its authorization code. The transfer is validated first, so domains which cannot be transferred are rejected before the free domain transfer is consumed. A successful response means the transfer has been started. Completion depends on the current registrar and can be followed with the [transfer list endpoint](#tag/domains-transfer). If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Requests which cannot be fulfilled are rejected with an error code in the response body. Use this endpoint to transfer a domain using a free domain transfer from your account.
6303
+ * @summary Claim free domain transfer
6304
+ * @param {DomainsV1TransferClaimRequest} domainsV1TransferClaimRequest
6305
+ * @param {*} [options] Override http request option.
6306
+ * @throws {RequiredError}
6307
+ */
6308
+ claimFreeDomainTransferV1(domainsV1TransferClaimRequest, options) {
6309
+ return __awaiter(this, void 0, void 0, function* () {
6310
+ var _a, _b;
6311
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.claimFreeDomainTransferV1(domainsV1TransferClaimRequest, options);
6312
+ const localVarOperationServerBasePath = (_b = (_a = base_1.operationServerMap['DomainsTransferApi.claimFreeDomainTransferV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
6313
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6314
+ });
6315
+ },
5593
6316
  /**
5594
6317
  * Retrieve all domain transfers in your portfolio. Use this endpoint to monitor incoming and outgoing registrar transfers across your domains.
5595
6318
  * @summary Get transfer list
@@ -5629,6 +6352,16 @@ exports.DomainsTransferApiFp = DomainsTransferApiFp;
5629
6352
  const DomainsTransferApiFactory = function (configuration, basePath, axios) {
5630
6353
  const localVarFp = (0, exports.DomainsTransferApiFp)(configuration);
5631
6354
  return {
6355
+ /**
6356
+ * Claim a free domain transfer available on your account and start the transfer. Unlike purchasing a transfer, this consumes a free domain transfer you already have, so no payment method is required. Before making request, unlock the domain at the current registrar and get its authorization code. The transfer is validated first, so domains which cannot be transferred are rejected before the free domain transfer is consumed. A successful response means the transfer has been started. Completion depends on the current registrar and can be followed with the [transfer list endpoint](#tag/domains-transfer). If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Requests which cannot be fulfilled are rejected with an error code in the response body. Use this endpoint to transfer a domain using a free domain transfer from your account.
6357
+ * @summary Claim free domain transfer
6358
+ * @param {DomainsV1TransferClaimRequest} domainsV1TransferClaimRequest
6359
+ * @param {*} [options] Override http request option.
6360
+ * @throws {RequiredError}
6361
+ */
6362
+ claimFreeDomainTransferV1(domainsV1TransferClaimRequest, options) {
6363
+ return localVarFp.claimFreeDomainTransferV1(domainsV1TransferClaimRequest, options).then((request) => request(axios, basePath));
6364
+ },
5632
6365
  /**
5633
6366
  * Retrieve all domain transfers in your portfolio. Use this endpoint to monitor incoming and outgoing registrar transfers across your domains.
5634
6367
  * @summary Get transfer list
@@ -5658,6 +6391,17 @@ exports.DomainsTransferApiFactory = DomainsTransferApiFactory;
5658
6391
  * @extends {BaseAPI}
5659
6392
  */
5660
6393
  class DomainsTransferApi extends base_1.BaseAPI {
6394
+ /**
6395
+ * Claim a free domain transfer available on your account and start the transfer. Unlike purchasing a transfer, this consumes a free domain transfer you already have, so no payment method is required. Before making request, unlock the domain at the current registrar and get its authorization code. The transfer is validated first, so domains which cannot be transferred are rejected before the free domain transfer is consumed. A successful response means the transfer has been started. Completion depends on the current registrar and can be followed with the [transfer list endpoint](#tag/domains-transfer). If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account. Requests which cannot be fulfilled are rejected with an error code in the response body. Use this endpoint to transfer a domain using a free domain transfer from your account.
6396
+ * @summary Claim free domain transfer
6397
+ * @param {DomainsV1TransferClaimRequest} domainsV1TransferClaimRequest
6398
+ * @param {*} [options] Override http request option.
6399
+ * @throws {RequiredError}
6400
+ * @memberof DomainsTransferApi
6401
+ */
6402
+ claimFreeDomainTransferV1(domainsV1TransferClaimRequest, options) {
6403
+ return (0, exports.DomainsTransferApiFp)(this.configuration).claimFreeDomainTransferV1(domainsV1TransferClaimRequest, options).then((request) => request(this.axios, this.basePath));
6404
+ }
5661
6405
  /**
5662
6406
  * Retrieve all domain transfers in your portfolio. Use this endpoint to monitor incoming and outgoing registrar transfers across your domains.
5663
6407
  * @summary Get transfer list