hostinger-api-sdk 1.42.0 → 1.44.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.
- package/.github/workflows/build-release.yaml +16 -0
- package/README.md +2 -2
- package/api.ts +219 -1
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +2 -2
- package/dist/api.d.ts +130 -1
- package/dist/api.js +159 -1
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +2 -2
- package/dist/esm/api.d.ts +130 -1
- package/dist/esm/api.js +159 -1
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +2 -2
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/AgencyHostingCacheApi.md +1 -1
- package/docs/AgencyHostingCronJobsApi.md +3 -3
- package/docs/AgencyHostingDatabasesApi.md +5 -5
- package/docs/AgencyHostingDatacentersApi.md +1 -1
- package/docs/AgencyHostingDomainsApi.md +4 -4
- package/docs/AgencyHostingFilesApi.md +2 -2
- package/docs/AgencyHostingListAgencyPlanWebsitesV1200Response.md +1 -1
- package/docs/AgencyHostingListDomainsV1200Response.md +1 -1
- package/docs/AgencyHostingListOrdersV1200Response.md +1 -1
- package/docs/AgencyHostingListWebsiteCronJobsV1200Response.md +1 -1
- package/docs/AgencyHostingListWebsiteDatabasesV1200Response.md +1 -1
- package/docs/AgencyHostingMetricsApi.md +2 -2
- package/docs/AgencyHostingOrdersApi.md +1 -1
- package/docs/AgencyHostingPHPApi.md +7 -7
- package/docs/AgencyHostingV1DatacentersCoordinatesResource.md +1 -1
- package/docs/AgencyHostingV1DatacentersDatacenterResource.md +1 -1
- package/docs/AgencyHostingV1DomainsChangeDomainRequest.md +1 -1
- package/docs/AgencyHostingV1DomainsDomainResource.md +1 -1
- package/docs/AgencyHostingV1DomainsLinkDomainRequest.md +1 -1
- package/docs/AgencyHostingV1FilesImportArchiveRequest.md +1 -1
- package/docs/AgencyHostingV1FilesUploadUrlResource.md +1 -1
- package/docs/AgencyHostingV1OrdersDatacenterResource.md +1 -1
- package/docs/AgencyHostingV1OrdersDiskUsageMetricsLimitsResource.md +1 -1
- package/docs/AgencyHostingV1OrdersDiskUsageMetricsMetricResource.md +1 -1
- package/docs/AgencyHostingV1OrdersDiskUsageMetricsMetricsResource.md +1 -1
- package/docs/AgencyHostingV1OrdersOrderResource.md +1 -1
- package/docs/AgencyHostingV1OrdersPlanResource.md +1 -1
- package/docs/AgencyHostingV1OrdersResourceUsageMetricsLimitsResource.md +1 -1
- package/docs/AgencyHostingV1OrdersResourceUsageMetricsMetricResource.md +1 -1
- package/docs/AgencyHostingV1OrdersResourceUsageMetricsMetricsResource.md +1 -1
- package/docs/AgencyHostingV1OrdersResourceUsageMetricsWebsiteResource.md +1 -1
- package/docs/AgencyHostingV1PhpExtensionResource.md +1 -1
- package/docs/AgencyHostingV1PhpOptionResource.md +1 -1
- package/docs/AgencyHostingV1PhpUpdateExtensionsRequest.md +1 -1
- package/docs/AgencyHostingV1PhpUpdateOptionsRequest.md +1 -1
- package/docs/AgencyHostingV1PhpUpdateOptionsRequestOptionsInner.md +1 -1
- package/docs/AgencyHostingV1PhpUpdateVersionRequest.md +1 -1
- package/docs/AgencyHostingV1PhpVersionResource.md +1 -1
- package/docs/AgencyHostingV1SetupsCreateSetupRequest.md +1 -1
- package/docs/AgencyHostingV1SetupsCreateSetupRequestClone.md +1 -1
- package/docs/AgencyHostingV1SetupsCreateSetupRequestDeriveDomain.md +1 -1
- package/docs/AgencyHostingV1SetupsCreateSetupRequestDeriveDomainFromVhost.md +1 -1
- package/docs/AgencyHostingV1SetupsCreateSetupRequestSettings.md +1 -1
- package/docs/AgencyHostingV1SetupsCreateSetupRequestSettingsPhp.md +1 -1
- package/docs/AgencyHostingV1SetupsCreateSetupRequestWordpress.md +1 -1
- package/docs/AgencyHostingV1SetupsCreateSetupRequestWordpressAdmin.md +1 -1
- package/docs/AgencyHostingV1SetupsWebsiteSetupResource.md +1 -1
- package/docs/AgencyHostingV1SetupsWebsiteSetupStatusResource.md +1 -1
- package/docs/AgencyHostingV1WebsitesBuildAssetsRequest.md +1 -1
- package/docs/AgencyHostingV1WebsitesBuilderWebsiteDetailsResource.md +1 -1
- package/docs/AgencyHostingV1WebsitesCronJobsCreateCronJobRequest.md +1 -1
- package/docs/AgencyHostingV1WebsitesCronJobsCronJobResource.md +1 -1
- package/docs/AgencyHostingV1WebsitesCustomSslCertResource.md +1 -1
- package/docs/AgencyHostingV1WebsitesDatabasesCreateDatabaseRequest.md +1 -1
- package/docs/AgencyHostingV1WebsitesDatabasesDatabaseResource.md +1 -1
- package/docs/AgencyHostingV1WebsitesDatabasesDatabaseUserResource.md +1 -1
- package/docs/AgencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest.md +1 -1
- package/docs/AgencyHostingV1WebsitesH5gWebsiteDetailsResource.md +1 -1
- package/docs/AgencyHostingV1WebsitesPlanResource.md +1 -1
- package/docs/AgencyHostingV1WebsitesSslCertResource.md +1 -1
- package/docs/AgencyHostingV1WebsitesU4sWebsiteDetailsResource.md +1 -1
- package/docs/AgencyHostingV1WebsitesWebsiteDomainDetailsResource.md +1 -1
- package/docs/AgencyHostingV1WebsitesWebsiteListItemResource.md +1 -1
- package/docs/AgencyHostingV1WebsitesWebsiteListItemResourceDetails.md +1 -1
- package/docs/AgencyHostingV1WebsitesWebsiteOrderPlanResource.md +1 -1
- package/docs/AgencyHostingV1WebsitesWebsiteOrderPlanResourceParameters.md +1 -1
- package/docs/AgencyHostingV1WebsitesWebsiteOrderResource.md +1 -1
- package/docs/AgencyHostingV1WebsitesWebsitePhpSettingsResource.md +1 -1
- package/docs/AgencyHostingV1WebsitesWebsitePreviewDomainResource.md +1 -1
- package/docs/AgencyHostingV1WebsitesWebsiteProcessResource.md +1 -1
- package/docs/AgencyHostingV1WebsitesWebsiteRemoteAccessResource.md +1 -1
- package/docs/AgencyHostingV1WebsitesWebsiteResource.md +1 -1
- package/docs/AgencyHostingV1WebsitesWebsiteServerResource.md +1 -1
- package/docs/AgencyHostingV1WebsitesWebsiteSettingsResource.md +1 -1
- package/docs/AgencyHostingV1WebsitesWebsiteSftpDetailsResource.md +1 -1
- package/docs/AgencyHostingV1WebsitesWebsiteSshDetailsResource.md +1 -1
- package/docs/AgencyHostingV1WebsitesWebsiteStagingRootResource.md +1 -1
- package/docs/AgencyHostingV1WebsitesWebsiteUserResource.md +1 -1
- package/docs/AgencyHostingV1WebsitesWordPressInstallResource.md +1 -1
- package/docs/AgencyHostingV1WordPressChangeVersionRequest.md +1 -1
- package/docs/AgencyHostingV1WordPressSettingsResource.md +1 -1
- package/docs/AgencyHostingV1WordPressVersionResource.md +1 -1
- package/docs/AgencyHostingWebsiteSetupsApi.md +2 -2
- package/docs/AgencyHostingWebsitesApi.md +5 -5
- package/docs/AgencyHostingWordPressApi.md +3 -3
- package/docs/BillingCatalogApi.md +1 -1
- package/docs/BillingOrdersApi.md +1 -1
- package/docs/BillingPaymentMethodsApi.md +3 -3
- package/docs/BillingSubscriptionsApi.md +4 -4
- package/docs/BillingV1CatalogCatalogItemPriceResource.md +1 -1
- package/docs/BillingV1CatalogCatalogItemResource.md +1 -1
- package/docs/BillingV1OrderOrderBillingAddressResource.md +1 -1
- package/docs/BillingV1OrderOrderResource.md +1 -1
- package/docs/BillingV1OrderPurchaseRequest.md +1 -1
- package/docs/BillingV1OrderPurchaseRequestItemsInner.md +1 -1
- package/docs/BillingV1OrderVirtualMachineOrderResource.md +1 -1
- package/docs/BillingV1PaymentMethodPaymentMethodResource.md +1 -1
- package/docs/BillingV1SubscriptionCancelRequest.md +1 -1
- package/docs/BillingV1SubscriptionRenewalRenewRequest.md +1 -1
- package/docs/BillingV1SubscriptionSubscriptionResource.md +1 -1
- package/docs/CommonSchemaPaginationMetaSchema.md +1 -1
- package/docs/CommonSuccessEmptyResource.md +1 -1
- package/docs/DNSSnapshotApi.md +3 -3
- package/docs/DNSV1SnapshotSnapshotResource.md +1 -1
- package/docs/DNSV1SnapshotSnapshotWithContentResource.md +1 -1
- package/docs/DNSV1ZoneDestroyRequest.md +1 -1
- package/docs/DNSV1ZoneDestroyRequestFiltersInner.md +1 -1
- package/docs/DNSV1ZoneNameRecordResource.md +1 -1
- package/docs/DNSV1ZoneRecordResource.md +1 -1
- package/docs/DNSV1ZoneResetRequest.md +1 -1
- package/docs/DNSV1ZoneUpdateRequest.md +1 -1
- package/docs/DNSV1ZoneUpdateRequestZoneInner.md +1 -1
- package/docs/DNSV1ZoneUpdateRequestZoneInnerRecordsInner.md +1 -1
- package/docs/DNSZoneApi.md +5 -5
- package/docs/DomainAccessVerifierV2VerificationsActiveVerificationsCollection.md +1 -1
- package/docs/DomainAccessVerifierV2VerificationsActiveVerificationsCollectionData.md +1 -1
- package/docs/DomainAccessVerifierV2VerificationsActiveVerificationsCollectionDataPENDING.md +1 -1
- package/docs/DomainAccessVerifierV2VerificationsActiveVerificationsCollectionDataPENDINGDOMAINTLD.md +1 -1
- package/docs/DomainAccessVerifierV2VerificationsActiveVerificationsCollectionDataPENDINGDOMAINTLDVERIFICATIONTYPE.md +1 -1
- package/docs/DomainAccessVerifierV2VerificationsActiveVerificationsCollectionDataVERIFIED.md +1 -1
- package/docs/DomainAccessVerifierV2VerificationsActiveVerificationsCollectionDataVERIFIEDDOMAINTLD.md +1 -1
- package/docs/DomainAccessVerifierV2VerificationsActiveVerificationsCollectionDataVERIFIEDDOMAINTLDVERIFICATIONTYPE.md +1 -1
- package/docs/DomainAccessVerifierV2VerificationsListRequest.md +1 -1
- package/docs/DomainAccessVerifierVerificationsApi.md +1 -1
- package/docs/DomainsAvailabilityApi.md +3 -3
- package/docs/DomainsForwardingApi.md +4 -4
- package/docs/DomainsMoveApi.md +8 -8
- package/docs/DomainsPortfolioApi.md +11 -11
- package/docs/DomainsTransferApi.md +3 -3
- package/docs/DomainsV1AvailabilityAlternativesFromDescriptionRequest.md +1 -1
- package/docs/DomainsV1AvailabilityAlternativesFromDomainRequest.md +1 -1
- package/docs/DomainsV1AvailabilityAvailabilityRequest.md +1 -1
- package/docs/DomainsV1AvailabilityAvailabilityResource.md +1 -1
- package/docs/DomainsV1DomainDomainExtendedResource.md +1 -1
- package/docs/DomainsV1DomainDomainExtendedResourceDomainContacts.md +1 -1
- package/docs/DomainsV1DomainDomainExtendedResourceNameServers.md +1 -1
- package/docs/DomainsV1DomainDomainResource.md +1 -1
- package/docs/DomainsV1ForwardingForwardingResource.md +1 -1
- package/docs/DomainsV1ForwardingStoreRequest.md +1 -1
- package/docs/DomainsV1ForwardingUpdateRequest.md +1 -1
- package/docs/DomainsV1IRTPVerificationResource.md +1 -1
- package/docs/DomainsV1MoveIncomingUpdateRequest.md +1 -1
- package/docs/DomainsV1MoveIncomingUpdateRequestDomainContacts.md +1 -1
- package/docs/DomainsV1MoveMoveResource.md +1 -1
- package/docs/DomainsV1MoveOutgoingStoreRequest.md +1 -1
- package/docs/DomainsV1PortfolioAuthCodeAuthCodeResource.md +1 -1
- package/docs/DomainsV1PortfolioClaimRequest.md +1 -1
- package/docs/DomainsV1PortfolioClaimRequestDomainContacts.md +1 -1
- package/docs/DomainsV1PortfolioClaimResource.md +1 -1
- package/docs/DomainsV1PortfolioPurchaseRequest.md +1 -1
- package/docs/DomainsV1PortfolioRenewalRenewalInformationResource.md +1 -1
- package/docs/DomainsV1PortfolioUpdateNameserversRequest.md +1 -1
- package/docs/DomainsV1TransferClaimRequest.md +1 -1
- package/docs/DomainsV1TransferTransferResource.md +1 -1
- package/docs/DomainsV1WHOISChangeUpdateRequest.md +1 -1
- package/docs/DomainsV1WHOISProfileResource.md +1 -1
- package/docs/DomainsV1WHOISStoreRequest.md +1 -1
- package/docs/DomainsWHOISApi.md +10 -10
- package/docs/EcommerceDiscountsApi.md +2 -2
- package/docs/EcommerceGetStoresV1200Response.md +1 -1
- package/docs/EcommerceListDiscountsV1200Response.md +1 -1
- package/docs/EcommerceListProductVariantsV1200Response.md +1 -1
- package/docs/EcommerceListProductsV1200Response.md +1 -1
- package/docs/EcommerceListStoreOrdersV1200Response.md +1 -1
- package/docs/EcommerceMiscellaneousApi.md +1 -1
- package/docs/EcommerceOrdersApi.md +4 -4
- package/docs/EcommercePaymentsApi.md +3 -3
- package/docs/EcommerceProductVariantsApi.md +4 -4
- package/docs/EcommerceProductsApi.md +7 -7
- package/docs/EcommerceSalesChannelsApi.md +3 -3
- package/docs/EcommerceShippingApi.md +1 -1
- package/docs/EcommerceStoresApi.md +4 -4
- package/docs/EcommerceV1DiscountCreateDiscountRequest.md +1 -1
- package/docs/EcommerceV1DiscountDiscountResource.md +1 -1
- package/docs/EcommerceV1DiscountDiscountResponseResource.md +1 -1
- package/docs/EcommerceV1MiscellaneousCustomStorefrontInstructionsResource.md +1 -1
- package/docs/EcommerceV1OrderCancelRequest.md +1 -1
- package/docs/EcommerceV1OrderFulfillRequest.md +1 -1
- package/docs/EcommerceV1OrderFulfillRequestItemsInner.md +1 -1
- package/docs/EcommerceV1OrderOrderDetailResource.md +1 -1
- package/docs/EcommerceV1OrderOrderDetailResourceBillingAddress.md +1 -1
- package/docs/EcommerceV1OrderOrderDetailResourceFulfillmentsInner.md +1 -1
- package/docs/EcommerceV1OrderOrderDetailResourceFulfillmentsInnerTrackingInner.md +1 -1
- package/docs/EcommerceV1OrderOrderDetailResourceItemsInner.md +1 -1
- package/docs/EcommerceV1OrderOrderDetailResourceShippingAddress.md +1 -1
- package/docs/EcommerceV1OrderOrderDetailResponseResource.md +1 -1
- package/docs/EcommerceV1OrderOrderResource.md +1 -1
- package/docs/EcommerceV1OrderOrderResponseResource.md +1 -1
- package/docs/EcommerceV1PaymentEnableManualPaymentRequest.md +1 -1
- package/docs/EcommerceV1PaymentManualPaymentResource.md +1 -1
- package/docs/EcommerceV1PaymentManualPaymentResourcePaymentMethod.md +1 -1
- package/docs/EcommerceV1PaymentProviderPaymentProviderConnectLinkResource.md +1 -1
- package/docs/EcommerceV1PaymentProviderPaymentProviderConnectLinkResourceData.md +1 -1
- package/docs/EcommerceV1PaymentProviderPaymentProviderListResource.md +1 -1
- package/docs/EcommerceV1PaymentProviderPaymentProviderListResourceData.md +1 -1
- package/docs/EcommerceV1PaymentProviderPaymentProviderListResourceDataAvailableInner.md +1 -1
- package/docs/EcommerceV1PaymentProviderPaymentProviderListResourceDataConnectedInner.md +1 -1
- package/docs/EcommerceV1ProductCreateDigitalProductRequest.md +1 -1
- package/docs/EcommerceV1ProductCreatePhysicalProductRequest.md +1 -1
- package/docs/EcommerceV1ProductProductCreationResource.md +1 -1
- package/docs/EcommerceV1ProductProductCreationResourceProduct.md +1 -1
- package/docs/EcommerceV1ProductProductDeletedResource.md +1 -1
- package/docs/EcommerceV1ProductProductDeletedResourceData.md +1 -1
- package/docs/EcommerceV1ProductProductImageUploadResource.md +1 -1
- package/docs/EcommerceV1ProductProductImageUploadUrlResource.md +1 -1
- package/docs/EcommerceV1ProductProductResource.md +1 -1
- package/docs/EcommerceV1ProductProductResourceMediaInner.md +1 -1
- package/docs/EcommerceV1ProductProductResourcePriceRange.md +1 -1
- package/docs/EcommerceV1ProductProductResourceVariantsInner.md +1 -1
- package/docs/EcommerceV1ProductProductResourceVariantsInnerOptionsInner.md +1 -1
- package/docs/EcommerceV1ProductProductResourceVariantsInnerPricesInner.md +1 -1
- package/docs/EcommerceV1ProductProductResponseResource.md +1 -1
- package/docs/EcommerceV1ProductUpdateRequest.md +1 -1
- package/docs/EcommerceV1ProductUploadProductImageRequest.md +1 -1
- package/docs/EcommerceV1SalesChannelSalesChannelCreationResource.md +1 -1
- package/docs/EcommerceV1SalesChannelSalesChannelCreationResourceSalesChannel.md +1 -1
- package/docs/EcommerceV1SalesChannelSalesChannelListResource.md +1 -1
- package/docs/EcommerceV1SalesChannelSalesChannelListResourceSalesChannelsInner.md +1 -1
- package/docs/EcommerceV1SalesChannelSalesChannelUpdateResource.md +1 -1
- package/docs/EcommerceV1SalesChannelStoreRequest.md +1 -1
- package/docs/EcommerceV1SalesChannelUpdateRequest.md +1 -1
- package/docs/EcommerceV1ShippingSetShippingRequest.md +1 -1
- package/docs/EcommerceV1ShippingShippingResource.md +1 -1
- package/docs/EcommerceV1ShippingShippingResourceShippingOption.md +1 -1
- package/docs/EcommerceV1StoreStoreCreationResource.md +1 -1
- package/docs/EcommerceV1StoreStoreCreationResourceSalesChannel.md +1 -1
- package/docs/EcommerceV1StoreStoreCreationResourceStore.md +1 -1
- package/docs/EcommerceV1StoreStoreDeleteResource.md +1 -1
- package/docs/EcommerceV1StoreStoreMetadataResource.md +1 -1
- package/docs/EcommerceV1StoreStoreMetadataResourceMetadata.md +1 -1
- package/docs/EcommerceV1StoreStoreMetadataResourceMetadataDefaultCurrency.md +1 -1
- package/docs/EcommerceV1StoreStoreRequest.md +1 -1
- package/docs/EcommerceV1StoreStoreRequestSalesChannel.md +1 -1
- package/docs/EcommerceV1StoreStoreResource.md +1 -1
- package/docs/EcommerceV1VariantBatchUpdateVariantsRequest.md +1 -1
- package/docs/EcommerceV1VariantBatchUpdateVariantsRequestVariantsInner.md +1 -1
- package/docs/EcommerceV1VariantBatchUpdateVariantsRequestVariantsInnerPricesInner.md +1 -1
- package/docs/EcommerceV1VariantCreateVariantRequest.md +1 -1
- package/docs/EcommerceV1VariantCreateVariantRequestOptionsInner.md +1 -1
- package/docs/EcommerceV1VariantCreateVariantRequestPricesInner.md +1 -1
- package/docs/EcommerceV1VariantVariantDeletedResource.md +1 -1
- package/docs/EcommerceV1VariantVariantDeletedResourceData.md +1 -1
- package/docs/EcommerceV1VariantVariantListResponseResource.md +1 -1
- package/docs/EcommerceV1VariantVariantResource.md +1 -1
- package/docs/EcommerceV1VariantVariantResourceOptionsInner.md +1 -1
- package/docs/EcommerceV1VariantVariantResponseResource.md +1 -1
- package/docs/HorizonsV1WebsitesCreateWebsiteRequest.md +1 -1
- package/docs/HorizonsV1WebsitesCreateWebsiteRequestMessageInner.md +1 -1
- package/docs/HorizonsV1WebsitesCreatedWebsiteResource.md +1 -1
- package/docs/HorizonsV1WebsitesWebsiteUrlResource.md +1 -1
- package/docs/HorizonsWebsitesApi.md +2 -2
- package/docs/HostingCacheApi.md +3 -3
- package/docs/HostingCronJobsApi.md +4 -4
- package/docs/HostingDatabasesApi.md +9 -9
- package/docs/HostingDatacentersApi.md +1 -1
- package/docs/HostingDomainsApi.md +8 -8
- package/docs/HostingFilesApi.md +3 -3
- package/docs/HostingListAccountDatabasesV1200Response.md +1 -1
- package/docs/HostingListNodeJSBuildsV1200Response.md +1 -1
- package/docs/HostingListOrdersV1200Response.md +1 -1
- package/docs/HostingListWebsiteRedirectsV1200Response.md +1 -1
- package/docs/HostingListWebsitesV1200Response.md +1 -1
- package/docs/HostingNodeJSApi.md +126 -7
- package/docs/HostingOrdersApi.md +1 -1
- package/docs/HostingPHPApi.md +6 -6
- package/docs/HostingRedirectsApi.md +3 -3
- package/docs/HostingV1CacheToggleCacheRequest.md +1 -1
- package/docs/HostingV1CacheToggleCachelessModeRequest.md +1 -1
- package/docs/HostingV1CronJobsCreateCronJobRequest.md +1 -1
- package/docs/HostingV1CronJobsCronJobOutputResource.md +1 -1
- package/docs/HostingV1CronJobsCronJobResource.md +1 -1
- package/docs/HostingV1DatabasesChangeDatabasePasswordRequest.md +1 -1
- package/docs/HostingV1DatabasesCreateDatabaseRequest.md +1 -1
- package/docs/HostingV1DatabasesDatabaseResource.md +1 -1
- package/docs/HostingV1DatabasesPhpMyAdminLinkResource.md +1 -1
- package/docs/HostingV1DatabasesRemoteConnectionsCreateRemoteConnectionRequest.md +1 -1
- package/docs/HostingV1DatabasesRemoteConnectionsRemoteConnectionResource.md +1 -1
- package/docs/HostingV1DatacenterCoordinatesResource.md +1 -1
- package/docs/HostingV1DatacenterDatacenterResource.md +1 -1
- package/docs/HostingV1DatacentersListRequest.md +1 -1
- package/docs/HostingV1DomainsCreateParkedDomainRequest.md +1 -1
- package/docs/HostingV1DomainsCreateSubdomainRequest.md +1 -1
- package/docs/HostingV1DomainsDomainAccessResource.md +1 -1
- package/docs/HostingV1DomainsFreeSubdomainResource.md +1 -1
- package/docs/HostingV1DomainsParkedDomainResource.md +1 -1
- package/docs/HostingV1DomainsSubdomainResource.md +1 -1
- package/docs/HostingV1DomainsVerifyOwnershipRequest.md +1 -1
- package/docs/HostingV1FilesFileContentResource.md +1 -1
- package/docs/HostingV1FilesFilesResource.md +1 -1
- package/docs/HostingV1FilesFilesResourceItemsInner.md +1 -1
- package/docs/HostingV1FilesGenerateUploadUrlRequest.md +1 -1
- package/docs/HostingV1FilesUploadUrlResource.md +1 -1
- package/docs/HostingV1NodeJsBuildLogsResource.md +1 -1
- package/docs/HostingV1NodeJsBuildOptionsResource.md +1 -1
- package/docs/HostingV1NodeJsBuildResource.md +1 -1
- package/docs/HostingV1NodeJsBuildSettingsResource.md +1 -1
- package/docs/HostingV1NodeJsCreateFromArchiveRequest.md +1 -1
- package/docs/HostingV1NodeJsEnvVarResource.md +22 -0
- package/docs/HostingV1NodeJsGetBuildSettingsRequest.md +1 -1
- package/docs/HostingV1NodeJsPatchResultResource.md +1 -1
- package/docs/HostingV1NodeJsPatchVulnerabilitiesRequest.md +1 -1
- package/docs/HostingV1NodeJsSetBuildEnvVarsRequest.md +20 -0
- package/docs/HostingV1NodeJsSetBuildEnvVarsRequestEnvVarsInner.md +22 -0
- package/docs/HostingV1NodeJsSourceOptionsResource.md +1 -1
- package/docs/HostingV1NodeJsStartBuildRequest.md +1 -1
- package/docs/HostingV1NodeJsStartBuildRequestSourceOptions.md +1 -1
- package/docs/HostingV1NodeJsVulnerabilityResource.md +1 -1
- package/docs/HostingV1OrdersOrderResource.md +1 -1
- package/docs/HostingV1OrdersPlanResource.md +1 -1
- package/docs/HostingV1PhpPhpDetailsResource.md +1 -1
- package/docs/HostingV1PhpPhpInfoResource.md +1 -1
- package/docs/HostingV1PhpPhpOptionResource.md +1 -1
- package/docs/HostingV1PhpPhpVersionsResource.md +1 -1
- package/docs/HostingV1PhpUpdatePhpExtensionsRequest.md +1 -1
- package/docs/HostingV1PhpUpdatePhpOptionsRequest.md +1 -1
- package/docs/HostingV1PhpUpdatePhpOptionsRequestOptionsValue.md +1 -1
- package/docs/HostingV1PhpUpdatePhpVersionRequest.md +1 -1
- package/docs/HostingV1RedirectsCreateRedirectRequest.md +1 -1
- package/docs/HostingV1RedirectsDeleteRedirectRequest.md +1 -1
- package/docs/HostingV1RedirectsRedirectResource.md +1 -1
- package/docs/HostingV1WebsitesCreateWebsiteRequest.md +1 -1
- package/docs/HostingV1WebsitesDeployArchiveRequest.md +1 -1
- package/docs/HostingV1WebsitesWebsiteResource.md +1 -1
- package/docs/HostingWebsitesApi.md +4 -4
- package/docs/InlineObject.md +1 -1
- package/docs/InlineObject1.md +1 -1
- package/docs/InlineObject2.md +1 -1
- package/docs/InlineObject2Errors.md +1 -1
- package/docs/MailAPITokensApi.md +3 -3
- package/docs/MailAliasesApi.md +3 -3
- package/docs/MailAutorepliesApi.md +4 -4
- package/docs/MailCatchallsApi.md +4 -4
- package/docs/MailForwardersApi.md +5 -5
- package/docs/MailListAPITokensV1200Response.md +1 -1
- package/docs/MailListAccessLogsV1200Response.md +1 -1
- package/docs/MailListActionLogsV1200Response.md +1 -1
- package/docs/MailListAliasesV1200Response.md +1 -1
- package/docs/MailListAutorepliesV1200Response.md +1 -1
- package/docs/MailListCatchAllsV1200Response.md +1 -1
- package/docs/MailListForwardersV1200Response.md +1 -1
- package/docs/MailListInboundLogsV1200Response.md +1 -1
- package/docs/MailListMailboxActionLogsV1200Response.md +1 -1
- package/docs/MailListMailboxesV1200Response.md +1 -1
- package/docs/MailListOrdersV1200Response.md +1 -1
- package/docs/MailListWebhookDeliveryLogsV1200Response.md +1 -1
- package/docs/MailListWebhooksV1200Response.md +1 -1
- package/docs/MailLogsApi.md +5 -5
- package/docs/MailMailboxesApi.md +4 -4
- package/docs/MailOrdersApi.md +2 -2
- package/docs/MailV1AliasesAliasMailboxResource.md +1 -1
- package/docs/MailV1AliasesAliasResource.md +1 -1
- package/docs/MailV1ApiTokensApiTokenCreatedResource.md +1 -1
- package/docs/MailV1ApiTokensApiTokenMailboxResource.md +1 -1
- package/docs/MailV1ApiTokensApiTokenResource.md +1 -1
- package/docs/MailV1ApiTokensApiTokenScopeResource.md +1 -1
- package/docs/MailV1AutorepliesAutoreplyMailboxResource.md +1 -1
- package/docs/MailV1AutorepliesAutoreplyResource.md +1 -1
- package/docs/MailV1CatchallsCatchallMailboxResource.md +1 -1
- package/docs/MailV1CatchallsCatchallResource.md +1 -1
- package/docs/MailV1ForwardersForwarderMailboxResource.md +1 -1
- package/docs/MailV1ForwardersForwarderResource.md +1 -1
- package/docs/MailV1LogsAccessAccessLogResource.md +1 -1
- package/docs/MailV1LogsActionActionLogResource.md +1 -1
- package/docs/MailV1LogsCommonDeliveryLogRelayEventResource.md +1 -1
- package/docs/MailV1LogsCommonDeliveryLogResource.md +1 -1
- package/docs/MailV1LogsMailboxActionsMailboxActionLogResource.md +1 -1
- package/docs/MailV1MailboxesMailboxCountsResource.md +1 -1
- package/docs/MailV1MailboxesMailboxProtocolsResource.md +1 -1
- package/docs/MailV1MailboxesMailboxResource.md +1 -1
- package/docs/MailV1MailboxesMailboxUsageResource.md +1 -1
- package/docs/MailV1OrdersOrderDomainResource.md +1 -1
- package/docs/MailV1OrdersOrderPlanResource.md +1 -1
- package/docs/MailV1OrdersOrderResource.md +1 -1
- package/docs/MailV1OrdersPlanDomainResource.md +1 -1
- package/docs/MailV1OrdersPlanMailboxResource.md +1 -1
- package/docs/MailV1OrdersPlanResource.md +1 -1
- package/docs/MailV1SchemaChangeMailboxPasswordRequestSchema.md +1 -1
- package/docs/MailV1SchemaCreateAliasRequestSchema.md +1 -1
- package/docs/MailV1SchemaCreateApiTokenRequestSchema.md +1 -1
- package/docs/MailV1SchemaCreateApiTokenRequestSchemaScope.md +1 -1
- package/docs/MailV1SchemaCreateForwarderRequestSchema.md +1 -1
- package/docs/MailV1SchemaCreateMailboxRequestSchema.md +1 -1
- package/docs/MailV1SchemaCreateWebhookRequestSchema.md +1 -1
- package/docs/MailV1SchemaUpdateForwarderKeepCopyRequestSchema.md +1 -1
- package/docs/MailV1SchemaUpdateWebhookRequestSchema.md +1 -1
- package/docs/MailV1SchemaUpsertAutoreplyRequestSchema.md +1 -1
- package/docs/MailV1WebhooksWebhookCreatedResource.md +1 -1
- package/docs/MailV1WebhooksWebhookDeliveryLogResource.md +1 -1
- package/docs/MailV1WebhooksWebhookMailboxResource.md +1 -1
- package/docs/MailV1WebhooksWebhookResource.md +1 -1
- package/docs/MailV1WebhooksWebhookSecretResource.md +1 -1
- package/docs/MailV1WebhooksWebhookTestResultResource.md +1 -1
- package/docs/MailWebhooksApi.md +8 -8
- package/docs/ReachAutomationsApi.md +3 -3
- package/docs/ReachCampaignsApi.md +3 -3
- package/docs/ReachContactFieldsApi.md +4 -4
- package/docs/ReachContactsApi.md +10 -10
- package/docs/ReachFormsApi.md +3 -3
- package/docs/ReachListAutomationsV1200Response.md +1 -1
- package/docs/ReachListCampaignsV1200Response.md +1 -1
- package/docs/ReachListContactsV1200Response.md +1 -1
- package/docs/ReachListFormsV1200Response.md +1 -1
- package/docs/ReachListProfileContactsV1200Response.md +1 -1
- package/docs/ReachListProfileSegmentContactsV1200Response.md +1 -1
- package/docs/ReachListProfileSegmentsV1200Response.md +1 -1
- package/docs/ReachProfilesApi.md +5 -5
- package/docs/ReachSegmentsApi.md +13 -13
- package/docs/ReachTagsApi.md +8 -8
- package/docs/ReachV1AutomationsAutomationEventsResource.md +1 -1
- package/docs/ReachV1AutomationsAutomationResource.md +1 -1
- package/docs/ReachV1AutomationsStepsAutomationStepResource.md +1 -1
- package/docs/ReachV1CampaignsCampaignDeliveryResource.md +1 -1
- package/docs/ReachV1CampaignsCampaignDetailsResource.md +1 -1
- package/docs/ReachV1CampaignsCampaignResource.md +1 -1
- package/docs/ReachV1CampaignsCampaignStatisticsResource.md +1 -1
- package/docs/ReachV1CampaignsCampaignSummaryStatisticsResource.md +1 -1
- package/docs/ReachV1ContactsBulkStoreRequest.md +1 -1
- package/docs/ReachV1ContactsBulkStoreRequestContactsInner.md +1 -1
- package/docs/ReachV1ContactsContactDetailsResource.md +1 -1
- package/docs/ReachV1ContactsContactResource.md +1 -1
- package/docs/ReachV1ContactsFieldsContactFieldOptionResource.md +1 -1
- package/docs/ReachV1ContactsFieldsContactFieldResource.md +1 -1
- package/docs/ReachV1ContactsFieldsContactFieldValueResource.md +1 -1
- package/docs/ReachV1ContactsFieldsStoreRequest.md +1 -1
- package/docs/ReachV1ContactsFieldsUpdateRequest.md +1 -1
- package/docs/ReachV1ContactsFieldsUpdateRequestOptionsInner.md +1 -1
- package/docs/ReachV1ContactsGroupsContactGroupResource.md +1 -1
- package/docs/ReachV1ContactsProfileContactResource.md +1 -1
- package/docs/ReachV1ContactsProfileContactUpdateResource.md +1 -1
- package/docs/ReachV1ContactsSegmentsContactSegmentResource.md +1 -1
- package/docs/ReachV1ContactsSegmentsProfileFilterContactsRequest.md +1 -1
- package/docs/ReachV1ContactsSegmentsProfileFilterContactsRequestConditionsInner.md +1 -1
- package/docs/ReachV1ContactsSegmentsProfileStoreRequest.md +1 -1
- package/docs/ReachV1ContactsSegmentsProfileStoreRequestConditionsInner.md +1 -1
- package/docs/ReachV1ContactsSegmentsProfileUpdateRequest.md +1 -1
- package/docs/ReachV1ContactsSegmentsSegmentContactsCountResource.md +1 -1
- package/docs/ReachV1ContactsSegmentsSegmentFilterAttributeResource.md +1 -1
- package/docs/ReachV1ContactsSegmentsSegmentFilterAttributesResource.md +1 -1
- package/docs/ReachV1ContactsSegmentsSegmentFilterOperatorResource.md +1 -1
- package/docs/ReachV1ContactsSegmentsSegmentListItemResource.md +1 -1
- package/docs/ReachV1ContactsSegmentsSegmentResource.md +1 -1
- package/docs/ReachV1ContactsSegmentsSegmentationContactResource.md +1 -1
- package/docs/ReachV1ContactsSegmentsStoreRequest.md +1 -1
- package/docs/ReachV1ContactsSegmentsStoreRequestConditionsInner.md +1 -1
- package/docs/ReachV1ContactsSegmentsStoreRequestConditionsInnerValue.md +1 -1
- package/docs/ReachV1ContactsStoreRequest.md +1 -1
- package/docs/ReachV1ContactsTagsManageContactsRequest.md +1 -1
- package/docs/ReachV1ContactsTagsStoreRequest.md +1 -1
- package/docs/ReachV1ContactsTagsTagResource.md +1 -1
- package/docs/ReachV1ContactsTagsUpdateRequest.md +1 -1
- package/docs/ReachV1ContactsUpdateRequest.md +1 -1
- package/docs/ReachV1ContactsUpdateRequestFieldsInner.md +1 -1
- package/docs/ReachV1FormsFormDetailsResource.md +1 -1
- package/docs/ReachV1FormsFormResource.md +1 -1
- package/docs/ReachV1FormsFormTagResource.md +1 -1
- package/docs/ReachV1FormsFormTemplateDetailsResource.md +1 -1
- package/docs/ReachV1FormsFormTemplateResource.md +1 -1
- package/docs/ReachV1ProfilesDomainsDnsRecordStatus.md +1 -1
- package/docs/ReachV1ProfilesDomainsDnsRecordStatusActualInner.md +1 -1
- package/docs/ReachV1ProfilesDomainsDnsRecordStatusSuggestedInner.md +1 -1
- package/docs/ReachV1ProfilesDomainsDnsStatusResource.md +1 -1
- package/docs/ReachV1ProfilesDomainsSendingDomainResource.md +1 -1
- package/docs/ReachV1ProfilesDomainsSuspendedSenderEmailResource.md +1 -1
- package/docs/ReachV1ProfilesFeaturesPlanFeatureResource.md +1 -1
- package/docs/ReachV1ProfilesPlanLimitUsageResource.md +1 -1
- package/docs/ReachV1ProfilesPlanLimitsResource.md +1 -1
- package/docs/ReachV1ProfilesProfileResource.md +1 -1
- package/docs/ReachV1ProfilesProfileResourceLimits.md +1 -1
- package/docs/ReachV1ProfilesProfileResourceProfilesInner.md +1 -1
- package/docs/VPSActionsApi.md +2 -2
- package/docs/VPSBackupsApi.md +2 -2
- package/docs/VPSDataCentersApi.md +1 -1
- package/docs/VPSDockerManagerApi.md +10 -10
- package/docs/VPSFirewallApi.md +10 -10
- package/docs/VPSMalwareScannerApi.md +3 -3
- package/docs/VPSOSTemplatesApi.md +2 -2
- package/docs/VPSPTRRecordsApi.md +2 -2
- package/docs/VPSPostInstallScriptsApi.md +5 -5
- package/docs/VPSPublicKeysApi.md +4 -4
- package/docs/VPSRecoveryApi.md +2 -2
- package/docs/VPSSnapshotsApi.md +4 -4
- package/docs/VPSV1ActionActionResource.md +1 -1
- package/docs/VPSV1ActionListResponse.md +1 -1
- package/docs/VPSV1BackupBackupResource.md +1 -1
- package/docs/VPSV1BackupListResponse.md +1 -1
- package/docs/VPSV1DataCenterDataCenterResource.md +1 -1
- package/docs/VPSV1DockerManagerContainerPortResource.md +1 -1
- package/docs/VPSV1DockerManagerContainerResource.md +1 -1
- package/docs/VPSV1DockerManagerContainerStatsResource.md +1 -1
- package/docs/VPSV1DockerManagerContentResource.md +1 -1
- package/docs/VPSV1DockerManagerLogEntryResource.md +1 -1
- package/docs/VPSV1DockerManagerLogsResource.md +1 -1
- package/docs/VPSV1DockerManagerProjectResource.md +1 -1
- package/docs/VPSV1FirewallFirewallResource.md +1 -1
- package/docs/VPSV1FirewallFirewallRuleResource.md +1 -1
- package/docs/VPSV1FirewallListResponse.md +1 -1
- package/docs/VPSV1FirewallRulesStoreRequest.md +1 -1
- package/docs/VPSV1FirewallStoreRequest.md +1 -1
- package/docs/VPSV1IPAddressIPAddressResource.md +1 -1
- package/docs/VPSV1MalwareMetricsResource.md +1 -1
- package/docs/VPSV1MetricsMetricsCollection.md +1 -1
- package/docs/VPSV1MetricsMetricsResource.md +1 -1
- package/docs/VPSV1PostInstallScriptListResponse.md +1 -1
- package/docs/VPSV1PostInstallScriptPostInstallScriptResource.md +1 -1
- package/docs/VPSV1PostInstallScriptStoreRequest.md +1 -1
- package/docs/VPSV1PublicKeyAttachRequest.md +1 -1
- package/docs/VPSV1PublicKeyListResponse.md +1 -1
- package/docs/VPSV1PublicKeyPublicKeyResource.md +1 -1
- package/docs/VPSV1PublicKeyStoreRequest.md +1 -1
- package/docs/VPSV1SnapshotSnapshotResource.md +1 -1
- package/docs/VPSV1TemplateTemplateResource.md +1 -1
- package/docs/VPSV1VirtualMachineDockerManagerUpRequest.md +1 -1
- package/docs/VPSV1VirtualMachineHostnameUpdateRequest.md +1 -1
- package/docs/VPSV1VirtualMachineMetricGetRequest.md +1 -1
- package/docs/VPSV1VirtualMachineNameserversUpdateRequest.md +1 -1
- package/docs/VPSV1VirtualMachinePTRStoreRequest.md +1 -1
- package/docs/VPSV1VirtualMachinePanelPasswordUpdateRequest.md +1 -1
- package/docs/VPSV1VirtualMachinePurchaseRequest.md +1 -1
- package/docs/VPSV1VirtualMachineRecoveryStartRequest.md +1 -1
- package/docs/VPSV1VirtualMachineRecreateRequest.md +1 -1
- package/docs/VPSV1VirtualMachineRootPasswordUpdateRequest.md +1 -1
- package/docs/VPSV1VirtualMachineSetupRequest.md +1 -1
- package/docs/VPSV1VirtualMachineSetupRequestPublicKey.md +1 -1
- package/docs/VPSV1VirtualMachineVirtualMachineResource.md +1 -1
- package/docs/VPSVirtualMachineApi.md +15 -15
- package/docs/WordPressAIToolsApi.md +2 -2
- package/docs/WordPressInstallationsApi.md +10 -10
- package/docs/WordPressLiteSpeedCacheApi.md +2 -2
- package/docs/WordPressLoginApi.md +1 -1
- package/docs/WordPressMaintenanceApi.md +2 -2
- package/docs/WordPressObjectCacheApi.md +2 -2
- package/docs/WordPressPluginsApi.md +12 -12
- package/docs/WordPressThemesApi.md +7 -7
- package/docs/WordPressV1CommonVulnerabilityResource.md +1 -1
- package/docs/WordPressV1HostingerPluginsAiOptionStatusResource.md +1 -1
- package/docs/WordPressV1HostingerPluginsUpdateAiOptionStatusRequest.md +1 -1
- package/docs/WordPressV1InstallationsCheckIsValidRequest.md +1 -1
- package/docs/WordPressV1InstallationsCheckIsValidResultResource.md +1 -1
- package/docs/WordPressV1InstallationsDeleteInstallationRequest.md +1 -1
- package/docs/WordPressV1InstallationsImportWordPressRequest.md +1 -1
- package/docs/WordPressV1InstallationsInstallWordPressRequest.md +1 -1
- package/docs/WordPressV1InstallationsInstallWordPressRequestCredentials.md +1 -1
- package/docs/WordPressV1InstallationsInstallWordPressRequestDatabase.md +1 -1
- package/docs/WordPressV1InstallationsJwtTokenResource.md +1 -1
- package/docs/WordPressV1InstallationsUpdateInstallationRequest.md +1 -1
- package/docs/WordPressV1InstallationsUpdateResource.md +1 -1
- package/docs/WordPressV1InstallationsVersionResource.md +1 -1
- package/docs/WordPressV1InstallationsWordPressInstallationResource.md +1 -1
- package/docs/WordPressV1InstallationsWordPressMcpDetailsResource.md +1 -1
- package/docs/WordPressV1InstallationsWordPressMcpInstallationResource.md +1 -1
- package/docs/WordPressV1LitespeedLitespeedCacheStatusResource.md +1 -1
- package/docs/WordPressV1LoginLoginLinksResource.md +1 -1
- package/docs/WordPressV1MaintenanceMaintenanceStatusResource.md +1 -1
- package/docs/WordPressV1MaintenanceToggleMaintenanceRequest.md +1 -1
- package/docs/WordPressV1MemcachedMemcachedStatusResource.md +1 -1
- package/docs/WordPressV1MemcachedToggleMemcachedRequest.md +1 -1
- package/docs/WordPressV1PluginsActivatePluginRequest.md +1 -1
- package/docs/WordPressV1PluginsAvailablePluginResource.md +1 -1
- package/docs/WordPressV1PluginsDeactivatePluginRequest.md +1 -1
- package/docs/WordPressV1PluginsDeployPluginRequest.md +1 -1
- package/docs/WordPressV1PluginsInstallPluginsRequest.md +1 -1
- package/docs/WordPressV1PluginsInstalledPluginResource.md +1 -1
- package/docs/WordPressV1PluginsPluginResource.md +1 -1
- package/docs/WordPressV1PluginsPluginResourceIcons.md +1 -1
- package/docs/WordPressV1PluginsSuggestedPluginGroupResource.md +1 -1
- package/docs/WordPressV1PluginsSuggestedPluginResource.md +1 -1
- package/docs/WordPressV1PluginsUninstallPluginsRequest.md +1 -1
- package/docs/WordPressV1PluginsUpdateHostingerPluginRequest.md +1 -1
- package/docs/WordPressV1PluginsUpdatePluginsRequest.md +1 -1
- package/docs/WordPressV1PluginsWoocommerceInstalledResource.md +1 -1
- package/docs/WordPressV1ThemesActivateThemeRequest.md +1 -1
- package/docs/WordPressV1ThemesDeployThemeRequest.md +1 -1
- package/docs/WordPressV1ThemesInstallThemeRequest.md +1 -1
- package/docs/WordPressV1ThemesInstalledThemeResource.md +1 -1
- package/docs/WordPressV1ThemesThemeResource.md +1 -1
- package/docs/WordPressV1ThemesUninstallThemesRequest.md +1 -1
- package/docs/WordPressV1ThemesUpdateThemesRequest.md +1 -1
- package/index.ts +1 -1
- package/package.json +1 -1
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
HostingDomainsApi,
|
|
26
26
|
Configuration,
|
|
27
27
|
HostingV1DomainsCreateParkedDomainRequest
|
|
28
|
-
} from 'hostinger
|
|
28
|
+
} from '@hostinger/sdk';
|
|
29
29
|
|
|
30
30
|
const configuration = new Configuration();
|
|
31
31
|
const apiInstance = new HostingDomainsApi(configuration);
|
|
@@ -86,7 +86,7 @@ import {
|
|
|
86
86
|
HostingDomainsApi,
|
|
87
87
|
Configuration,
|
|
88
88
|
HostingV1DomainsCreateSubdomainRequest
|
|
89
|
-
} from 'hostinger
|
|
89
|
+
} from '@hostinger/sdk';
|
|
90
90
|
|
|
91
91
|
const configuration = new Configuration();
|
|
92
92
|
const apiInstance = new HostingDomainsApi(configuration);
|
|
@@ -146,7 +146,7 @@ Delete an existing parked or alias domain from the selected website. Use this e
|
|
|
146
146
|
import {
|
|
147
147
|
HostingDomainsApi,
|
|
148
148
|
Configuration
|
|
149
|
-
} from 'hostinger
|
|
149
|
+
} from '@hostinger/sdk';
|
|
150
150
|
|
|
151
151
|
const configuration = new Configuration();
|
|
152
152
|
const apiInstance = new HostingDomainsApi(configuration);
|
|
@@ -205,7 +205,7 @@ Delete an existing subdomain from the selected website. Use this endpoint to re
|
|
|
205
205
|
import {
|
|
206
206
|
HostingDomainsApi,
|
|
207
207
|
Configuration
|
|
208
|
-
} from 'hostinger
|
|
208
|
+
} from '@hostinger/sdk';
|
|
209
209
|
|
|
210
210
|
const configuration = new Configuration();
|
|
211
211
|
const apiInstance = new HostingDomainsApi(configuration);
|
|
@@ -264,7 +264,7 @@ Generate a unique free subdomain that can be used for hosting services without p
|
|
|
264
264
|
import {
|
|
265
265
|
HostingDomainsApi,
|
|
266
266
|
Configuration
|
|
267
|
-
} from 'hostinger
|
|
267
|
+
} from '@hostinger/sdk';
|
|
268
268
|
|
|
269
269
|
const configuration = new Configuration();
|
|
270
270
|
const apiInstance = new HostingDomainsApi(configuration);
|
|
@@ -310,7 +310,7 @@ Retrieve all parked or alias domains created under the selected website. Use th
|
|
|
310
310
|
import {
|
|
311
311
|
HostingDomainsApi,
|
|
312
312
|
Configuration
|
|
313
|
-
} from 'hostinger
|
|
313
|
+
} from '@hostinger/sdk';
|
|
314
314
|
|
|
315
315
|
const configuration = new Configuration();
|
|
316
316
|
const apiInstance = new HostingDomainsApi(configuration);
|
|
@@ -366,7 +366,7 @@ Retrieve all subdomains created under the selected website. Use this endpoint t
|
|
|
366
366
|
import {
|
|
367
367
|
HostingDomainsApi,
|
|
368
368
|
Configuration
|
|
369
|
-
} from 'hostinger
|
|
369
|
+
} from '@hostinger/sdk';
|
|
370
370
|
|
|
371
371
|
const configuration = new Configuration();
|
|
372
372
|
const apiInstance = new HostingDomainsApi(configuration);
|
|
@@ -423,7 +423,7 @@ import {
|
|
|
423
423
|
HostingDomainsApi,
|
|
424
424
|
Configuration,
|
|
425
425
|
HostingV1DomainsVerifyOwnershipRequest
|
|
426
|
-
} from 'hostinger
|
|
426
|
+
} from '@hostinger/sdk';
|
|
427
427
|
|
|
428
428
|
const configuration = new Configuration();
|
|
429
429
|
const apiInstance = new HostingDomainsApi(configuration);
|
package/docs/HostingFilesApi.md
CHANGED
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
HostingFilesApi,
|
|
21
21
|
Configuration,
|
|
22
22
|
HostingV1FilesGenerateUploadUrlRequest
|
|
23
|
-
} from 'hostinger
|
|
23
|
+
} from '@hostinger/sdk';
|
|
24
24
|
|
|
25
25
|
const configuration = new Configuration();
|
|
26
26
|
const apiInstance = new HostingFilesApi(configuration);
|
|
@@ -74,7 +74,7 @@ Get a single file\'s content, relative to a website\'s document root. Read-only
|
|
|
74
74
|
import {
|
|
75
75
|
HostingFilesApi,
|
|
76
76
|
Configuration
|
|
77
|
-
} from 'hostinger
|
|
77
|
+
} from '@hostinger/sdk';
|
|
78
78
|
|
|
79
79
|
const configuration = new Configuration();
|
|
80
80
|
const apiInstance = new HostingFilesApi(configuration);
|
|
@@ -140,7 +140,7 @@ List files and directories under a website\'s document root. Use `directory` to
|
|
|
140
140
|
import {
|
|
141
141
|
HostingFilesApi,
|
|
142
142
|
Configuration
|
|
143
|
-
} from 'hostinger
|
|
143
|
+
} from '@hostinger/sdk';
|
|
144
144
|
|
|
145
145
|
const configuration = new Configuration();
|
|
146
146
|
const apiInstance = new HostingFilesApi(configuration);
|
|
@@ -11,7 +11,7 @@ Name | Type | Description | Notes
|
|
|
11
11
|
## Example
|
|
12
12
|
|
|
13
13
|
```typescript
|
|
14
|
-
import { HostingListAccountDatabasesV1200Response } from 'hostinger
|
|
14
|
+
import { HostingListAccountDatabasesV1200Response } from '@hostinger/sdk';
|
|
15
15
|
|
|
16
16
|
const instance: HostingListAccountDatabasesV1200Response = {
|
|
17
17
|
data,
|
|
@@ -11,7 +11,7 @@ Name | Type | Description | Notes
|
|
|
11
11
|
## Example
|
|
12
12
|
|
|
13
13
|
```typescript
|
|
14
|
-
import { HostingListNodeJSBuildsV1200Response } from 'hostinger
|
|
14
|
+
import { HostingListNodeJSBuildsV1200Response } from '@hostinger/sdk';
|
|
15
15
|
|
|
16
16
|
const instance: HostingListNodeJSBuildsV1200Response = {
|
|
17
17
|
data,
|
|
@@ -11,7 +11,7 @@ Name | Type | Description | Notes
|
|
|
11
11
|
## Example
|
|
12
12
|
|
|
13
13
|
```typescript
|
|
14
|
-
import { HostingListOrdersV1200Response } from 'hostinger
|
|
14
|
+
import { HostingListOrdersV1200Response } from '@hostinger/sdk';
|
|
15
15
|
|
|
16
16
|
const instance: HostingListOrdersV1200Response = {
|
|
17
17
|
data,
|
|
@@ -11,7 +11,7 @@ Name | Type | Description | Notes
|
|
|
11
11
|
## Example
|
|
12
12
|
|
|
13
13
|
```typescript
|
|
14
|
-
import { HostingListWebsiteRedirectsV1200Response } from 'hostinger
|
|
14
|
+
import { HostingListWebsiteRedirectsV1200Response } from '@hostinger/sdk';
|
|
15
15
|
|
|
16
16
|
const instance: HostingListWebsiteRedirectsV1200Response = {
|
|
17
17
|
data,
|
|
@@ -11,7 +11,7 @@ Name | Type | Description | Notes
|
|
|
11
11
|
## Example
|
|
12
12
|
|
|
13
13
|
```typescript
|
|
14
|
-
import { HostingListWebsitesV1200Response } from 'hostinger
|
|
14
|
+
import { HostingListWebsitesV1200Response } from '@hostinger/sdk';
|
|
15
15
|
|
|
16
16
|
const instance: HostingListWebsitesV1200Response = {
|
|
17
17
|
data,
|
package/docs/HostingNodeJSApi.md
CHANGED
|
@@ -7,8 +7,10 @@ All URIs are relative to *https://developers.hostinger.com*
|
|
|
7
7
|
|[**getNodeJSBuildLogsV1**](#getnodejsbuildlogsv1) | **GET** /api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/builds/{uuid}/logs | Get NodeJS build logs|
|
|
8
8
|
|[**getNodeJsBuildSettingsFromArchiveV1**](#getnodejsbuildsettingsfromarchivev1) | **GET** /api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/builds/settings/from-archive | Get Node.js build settings from archive|
|
|
9
9
|
|[**listNodeJSBuildsV1**](#listnodejsbuildsv1) | **GET** /api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/builds | List NodeJS builds|
|
|
10
|
+
|[**listNodeJsEnvironmentVariablesV1**](#listnodejsenvironmentvariablesv1) | **GET** /api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/builds/settings/env | List Node.js environment variables|
|
|
10
11
|
|[**listNodeJsVulnerabilitiesV1**](#listnodejsvulnerabilitiesv1) | **GET** /api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/vulnerabilities | List Node.js vulnerabilities|
|
|
11
12
|
|[**patchNodeJsVulnerabilitiesV1**](#patchnodejsvulnerabilitiesv1) | **POST** /api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/vulnerabilities/patch | Patch Node.js vulnerabilities|
|
|
13
|
+
|[**replaceNodeJsEnvironmentVariablesV1**](#replacenodejsenvironmentvariablesv1) | **PUT** /api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/builds/settings/env | Replace Node.js environment variables|
|
|
12
14
|
|[**restartNodeJsApplicationV1**](#restartnodejsapplicationv1) | **POST** /api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/server/restart | Restart Node.js application|
|
|
13
15
|
|[**startNodeJsBuildV1**](#startnodejsbuildv1) | **POST** /api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/builds | Start Node.js build|
|
|
14
16
|
|
|
@@ -23,7 +25,7 @@ Retrieve logs from a specific Node.js build process. To stream live output whil
|
|
|
23
25
|
import {
|
|
24
26
|
HostingNodeJSApi,
|
|
25
27
|
Configuration
|
|
26
|
-
} from 'hostinger
|
|
28
|
+
} from '@hostinger/sdk';
|
|
27
29
|
|
|
28
30
|
const configuration = new Configuration();
|
|
29
31
|
const apiInstance = new HostingNodeJSApi(configuration);
|
|
@@ -86,7 +88,7 @@ Auto-detect Node.js build settings from a package.json inside an archive already
|
|
|
86
88
|
import {
|
|
87
89
|
HostingNodeJSApi,
|
|
88
90
|
Configuration
|
|
89
|
-
} from 'hostinger
|
|
91
|
+
} from '@hostinger/sdk';
|
|
90
92
|
|
|
91
93
|
const configuration = new Configuration();
|
|
92
94
|
const apiInstance = new HostingNodeJSApi(configuration);
|
|
@@ -146,7 +148,7 @@ Retrieve a paginated list of Node.js build processes for a specific website. Ea
|
|
|
146
148
|
import {
|
|
147
149
|
HostingNodeJSApi,
|
|
148
150
|
Configuration
|
|
149
|
-
} from 'hostinger
|
|
151
|
+
} from '@hostinger/sdk';
|
|
150
152
|
|
|
151
153
|
const configuration = new Configuration();
|
|
152
154
|
const apiInstance = new HostingNodeJSApi(configuration);
|
|
@@ -191,6 +193,62 @@ const { status, data } = await apiInstance.listNodeJSBuildsV1(
|
|
|
191
193
|
- **Accept**: application/json
|
|
192
194
|
|
|
193
195
|
|
|
196
|
+
### HTTP response details
|
|
197
|
+
| Status code | Description | Response headers |
|
|
198
|
+
|-------------|-------------|------------------|
|
|
199
|
+
|**200** | Success response | - |
|
|
200
|
+
|**401** | Unauthenticated response | - |
|
|
201
|
+
|**500** | Error response | - |
|
|
202
|
+
|
|
203
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
204
|
+
|
|
205
|
+
# **listNodeJsEnvironmentVariablesV1**
|
|
206
|
+
> Array<HostingV1NodeJsEnvVarResource> listNodeJsEnvironmentVariablesV1()
|
|
207
|
+
|
|
208
|
+
Lists the Node.js environment variables currently set for the website. Values are always masked as `********` and cannot be read back through this API. Use this endpoint to see which keys are configured or to verify a change, not to read values. To change variables, use the `Replace Node.js environment variables` endpoint. It replaces the whole set, so never copy the masked values from this response into that request; send the full desired set with real values taken from the project `.env` file or the user prompt instead.
|
|
209
|
+
|
|
210
|
+
### Example
|
|
211
|
+
|
|
212
|
+
```typescript
|
|
213
|
+
import {
|
|
214
|
+
HostingNodeJSApi,
|
|
215
|
+
Configuration
|
|
216
|
+
} from '@hostinger/sdk';
|
|
217
|
+
|
|
218
|
+
const configuration = new Configuration();
|
|
219
|
+
const apiInstance = new HostingNodeJSApi(configuration);
|
|
220
|
+
|
|
221
|
+
let username: string; // (default to undefined)
|
|
222
|
+
let domain: string; //Domain name (default to undefined)
|
|
223
|
+
|
|
224
|
+
const { status, data } = await apiInstance.listNodeJsEnvironmentVariablesV1(
|
|
225
|
+
username,
|
|
226
|
+
domain
|
|
227
|
+
);
|
|
228
|
+
```
|
|
229
|
+
|
|
230
|
+
### Parameters
|
|
231
|
+
|
|
232
|
+
|Name | Type | Description | Notes|
|
|
233
|
+
|------------- | ------------- | ------------- | -------------|
|
|
234
|
+
| **username** | [**string**] | | defaults to undefined|
|
|
235
|
+
| **domain** | [**string**] | Domain name | defaults to undefined|
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
### Return type
|
|
239
|
+
|
|
240
|
+
**Array<HostingV1NodeJsEnvVarResource>**
|
|
241
|
+
|
|
242
|
+
### Authorization
|
|
243
|
+
|
|
244
|
+
[apiToken](../README.md#apiToken)
|
|
245
|
+
|
|
246
|
+
### HTTP request headers
|
|
247
|
+
|
|
248
|
+
- **Content-Type**: Not defined
|
|
249
|
+
- **Accept**: application/json
|
|
250
|
+
|
|
251
|
+
|
|
194
252
|
### HTTP response details
|
|
195
253
|
| Status code | Description | Response headers |
|
|
196
254
|
|-------------|-------------|------------------|
|
|
@@ -211,7 +269,7 @@ Lists known npm package vulnerabilities detected on a Node.js website, enriched
|
|
|
211
269
|
import {
|
|
212
270
|
HostingNodeJSApi,
|
|
213
271
|
Configuration
|
|
214
|
-
} from 'hostinger
|
|
272
|
+
} from '@hostinger/sdk';
|
|
215
273
|
|
|
216
274
|
const configuration = new Configuration();
|
|
217
275
|
const apiInstance = new HostingNodeJSApi(configuration);
|
|
@@ -271,7 +329,7 @@ import {
|
|
|
271
329
|
HostingNodeJSApi,
|
|
272
330
|
Configuration,
|
|
273
331
|
HostingV1NodeJsPatchVulnerabilitiesRequest
|
|
274
|
-
} from 'hostinger
|
|
332
|
+
} from '@hostinger/sdk';
|
|
275
333
|
|
|
276
334
|
const configuration = new Configuration();
|
|
277
335
|
const apiInstance = new HostingNodeJSApi(configuration);
|
|
@@ -320,6 +378,67 @@ const { status, data } = await apiInstance.patchNodeJsVulnerabilitiesV1(
|
|
|
320
378
|
|
|
321
379
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
322
380
|
|
|
381
|
+
# **replaceNodeJsEnvironmentVariablesV1**
|
|
382
|
+
> CommonSuccessEmptyResource replaceNodeJsEnvironmentVariablesV1(hostingV1NodeJsSetBuildEnvVarsRequest)
|
|
383
|
+
|
|
384
|
+
Replaces the website\'s Node.js environment variables with the ones provided. This is a full replace: any variable not in the request is deleted, and sending an empty `env_vars` array deletes every variable. Saving writes the values and restarts the running Node.js process. A restart is enough for apps that read environment variables at process start, such as Express or NestJS. It is not enough for frameworks that bake variables into the build. Next.js standalone is one of those: build-time values (including `NEXT_PUBLIC_*`) need a fresh build. After this call, use the `Start Node.js build` endpoint so those apps pick up the new values. The `List Node.js environment variables` endpoint returns masked values (`********`), so never copy values from it into this request. Always send the full desired set with real values taken from the project `.env` file or the user prompt.
|
|
385
|
+
|
|
386
|
+
### Example
|
|
387
|
+
|
|
388
|
+
```typescript
|
|
389
|
+
import {
|
|
390
|
+
HostingNodeJSApi,
|
|
391
|
+
Configuration,
|
|
392
|
+
HostingV1NodeJsSetBuildEnvVarsRequest
|
|
393
|
+
} from '@hostinger/sdk';
|
|
394
|
+
|
|
395
|
+
const configuration = new Configuration();
|
|
396
|
+
const apiInstance = new HostingNodeJSApi(configuration);
|
|
397
|
+
|
|
398
|
+
let username: string; // (default to undefined)
|
|
399
|
+
let domain: string; //Domain name (default to undefined)
|
|
400
|
+
let hostingV1NodeJsSetBuildEnvVarsRequest: HostingV1NodeJsSetBuildEnvVarsRequest; //
|
|
401
|
+
|
|
402
|
+
const { status, data } = await apiInstance.replaceNodeJsEnvironmentVariablesV1(
|
|
403
|
+
username,
|
|
404
|
+
domain,
|
|
405
|
+
hostingV1NodeJsSetBuildEnvVarsRequest
|
|
406
|
+
);
|
|
407
|
+
```
|
|
408
|
+
|
|
409
|
+
### Parameters
|
|
410
|
+
|
|
411
|
+
|Name | Type | Description | Notes|
|
|
412
|
+
|------------- | ------------- | ------------- | -------------|
|
|
413
|
+
| **hostingV1NodeJsSetBuildEnvVarsRequest** | **HostingV1NodeJsSetBuildEnvVarsRequest**| | |
|
|
414
|
+
| **username** | [**string**] | | defaults to undefined|
|
|
415
|
+
| **domain** | [**string**] | Domain name | defaults to undefined|
|
|
416
|
+
|
|
417
|
+
|
|
418
|
+
### Return type
|
|
419
|
+
|
|
420
|
+
**CommonSuccessEmptyResource**
|
|
421
|
+
|
|
422
|
+
### Authorization
|
|
423
|
+
|
|
424
|
+
[apiToken](../README.md#apiToken)
|
|
425
|
+
|
|
426
|
+
### HTTP request headers
|
|
427
|
+
|
|
428
|
+
- **Content-Type**: application/json
|
|
429
|
+
- **Accept**: application/json
|
|
430
|
+
|
|
431
|
+
|
|
432
|
+
### HTTP response details
|
|
433
|
+
| Status code | Description | Response headers |
|
|
434
|
+
|-------------|-------------|------------------|
|
|
435
|
+
|**200** | Success empty response | - |
|
|
436
|
+
|**422** | Validation error response | - |
|
|
437
|
+
|**401** | Unauthenticated response | - |
|
|
438
|
+
|**500** | Error response | - |
|
|
439
|
+
|
|
440
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
441
|
+
|
|
323
442
|
# **restartNodeJsApplicationV1**
|
|
324
443
|
> CommonSuccessEmptyResource restartNodeJsApplicationV1()
|
|
325
444
|
|
|
@@ -331,7 +450,7 @@ Restarts the Node.js server process for the website. Does not rebuild or redeplo
|
|
|
331
450
|
import {
|
|
332
451
|
HostingNodeJSApi,
|
|
333
452
|
Configuration
|
|
334
|
-
} from 'hostinger
|
|
453
|
+
} from '@hostinger/sdk';
|
|
335
454
|
|
|
336
455
|
const configuration = new Configuration();
|
|
337
456
|
const apiInstance = new HostingNodeJSApi(configuration);
|
|
@@ -388,7 +507,7 @@ import {
|
|
|
388
507
|
HostingNodeJSApi,
|
|
389
508
|
Configuration,
|
|
390
509
|
HostingV1NodeJsStartBuildRequest
|
|
391
|
-
} from 'hostinger
|
|
510
|
+
} from '@hostinger/sdk';
|
|
392
511
|
|
|
393
512
|
const configuration = new Configuration();
|
|
394
513
|
const apiInstance = new HostingNodeJSApi(configuration);
|
package/docs/HostingOrdersApi.md
CHANGED
|
@@ -17,7 +17,7 @@ Retrieve a paginated list of orders accessible to the authenticated client. Thi
|
|
|
17
17
|
import {
|
|
18
18
|
HostingOrdersApi,
|
|
19
19
|
Configuration
|
|
20
|
-
} from 'hostinger
|
|
20
|
+
} from '@hostinger/sdk';
|
|
21
21
|
|
|
22
22
|
const configuration = new Configuration();
|
|
23
23
|
const apiInstance = new HostingOrdersApi(configuration);
|
package/docs/HostingPHPApi.md
CHANGED
|
@@ -22,7 +22,7 @@ Returns the full PHP configuration for the website: current version, available v
|
|
|
22
22
|
import {
|
|
23
23
|
HostingPHPApi,
|
|
24
24
|
Configuration
|
|
25
|
-
} from 'hostinger
|
|
25
|
+
} from '@hostinger/sdk';
|
|
26
26
|
|
|
27
27
|
const configuration = new Configuration();
|
|
28
28
|
const apiInstance = new HostingPHPApi(configuration);
|
|
@@ -78,7 +78,7 @@ Returns the full phpinfo page (HTML) for the website. Use it to debug PHP issue
|
|
|
78
78
|
import {
|
|
79
79
|
HostingPHPApi,
|
|
80
80
|
Configuration
|
|
81
|
-
} from 'hostinger
|
|
81
|
+
} from '@hostinger/sdk';
|
|
82
82
|
|
|
83
83
|
const configuration = new Configuration();
|
|
84
84
|
const apiInstance = new HostingPHPApi(configuration);
|
|
@@ -134,7 +134,7 @@ Resets all PHP extensions of the website to their default state. Use it to reco
|
|
|
134
134
|
import {
|
|
135
135
|
HostingPHPApi,
|
|
136
136
|
Configuration
|
|
137
|
-
} from 'hostinger
|
|
137
|
+
} from '@hostinger/sdk';
|
|
138
138
|
|
|
139
139
|
const configuration = new Configuration();
|
|
140
140
|
const apiInstance = new HostingPHPApi(configuration);
|
|
@@ -191,7 +191,7 @@ import {
|
|
|
191
191
|
HostingPHPApi,
|
|
192
192
|
Configuration,
|
|
193
193
|
HostingV1PhpUpdatePhpExtensionsRequest
|
|
194
|
-
} from 'hostinger
|
|
194
|
+
} from '@hostinger/sdk';
|
|
195
195
|
|
|
196
196
|
const configuration = new Configuration();
|
|
197
197
|
const apiInstance = new HostingPHPApi(configuration);
|
|
@@ -252,7 +252,7 @@ import {
|
|
|
252
252
|
HostingPHPApi,
|
|
253
253
|
Configuration,
|
|
254
254
|
HostingV1PhpUpdatePhpOptionsRequest
|
|
255
|
-
} from 'hostinger
|
|
255
|
+
} from '@hostinger/sdk';
|
|
256
256
|
|
|
257
257
|
const configuration = new Configuration();
|
|
258
258
|
const apiInstance = new HostingPHPApi(configuration);
|
|
@@ -313,7 +313,7 @@ import {
|
|
|
313
313
|
HostingPHPApi,
|
|
314
314
|
Configuration,
|
|
315
315
|
HostingV1PhpUpdatePhpVersionRequest
|
|
316
|
-
} from 'hostinger
|
|
316
|
+
} from '@hostinger/sdk';
|
|
317
317
|
|
|
318
318
|
const configuration = new Configuration();
|
|
319
319
|
const apiInstance = new HostingPHPApi(configuration);
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
HostingRedirectsApi,
|
|
21
21
|
Configuration,
|
|
22
22
|
HostingV1RedirectsCreateRedirectRequest
|
|
23
|
-
} from 'hostinger
|
|
23
|
+
} from '@hostinger/sdk';
|
|
24
24
|
|
|
25
25
|
const configuration = new Configuration();
|
|
26
26
|
const apiInstance = new HostingRedirectsApi(configuration);
|
|
@@ -80,7 +80,7 @@ Permanently deletes the redirect identified by its source URL. Pass the `from`
|
|
|
80
80
|
import {
|
|
81
81
|
HostingRedirectsApi,
|
|
82
82
|
Configuration
|
|
83
|
-
} from 'hostinger
|
|
83
|
+
} from '@hostinger/sdk';
|
|
84
84
|
|
|
85
85
|
const configuration = new Configuration();
|
|
86
86
|
const apiInstance = new HostingRedirectsApi(configuration);
|
|
@@ -140,7 +140,7 @@ Returns a paginated list of redirects configured for the selected website.
|
|
|
140
140
|
import {
|
|
141
141
|
HostingRedirectsApi,
|
|
142
142
|
Configuration
|
|
143
|
-
} from 'hostinger
|
|
143
|
+
} from '@hostinger/sdk';
|
|
144
144
|
|
|
145
145
|
const configuration = new Configuration();
|
|
146
146
|
const apiInstance = new HostingRedirectsApi(configuration);
|
|
@@ -10,7 +10,7 @@ Name | Type | Description | Notes
|
|
|
10
10
|
## Example
|
|
11
11
|
|
|
12
12
|
```typescript
|
|
13
|
-
import { HostingV1CacheToggleCacheRequest } from 'hostinger
|
|
13
|
+
import { HostingV1CacheToggleCacheRequest } from '@hostinger/sdk';
|
|
14
14
|
|
|
15
15
|
const instance: HostingV1CacheToggleCacheRequest = {
|
|
16
16
|
enabled,
|
|
@@ -10,7 +10,7 @@ Name | Type | Description | Notes
|
|
|
10
10
|
## Example
|
|
11
11
|
|
|
12
12
|
```typescript
|
|
13
|
-
import { HostingV1CacheToggleCachelessModeRequest } from 'hostinger
|
|
13
|
+
import { HostingV1CacheToggleCachelessModeRequest } from '@hostinger/sdk';
|
|
14
14
|
|
|
15
15
|
const instance: HostingV1CacheToggleCachelessModeRequest = {
|
|
16
16
|
enabled,
|
|
@@ -11,7 +11,7 @@ Name | Type | Description | Notes
|
|
|
11
11
|
## Example
|
|
12
12
|
|
|
13
13
|
```typescript
|
|
14
|
-
import { HostingV1CronJobsCreateCronJobRequest } from 'hostinger
|
|
14
|
+
import { HostingV1CronJobsCreateCronJobRequest } from '@hostinger/sdk';
|
|
15
15
|
|
|
16
16
|
const instance: HostingV1CronJobsCreateCronJobRequest = {
|
|
17
17
|
time,
|
|
@@ -10,7 +10,7 @@ Name | Type | Description | Notes
|
|
|
10
10
|
## Example
|
|
11
11
|
|
|
12
12
|
```typescript
|
|
13
|
-
import { HostingV1CronJobsCronJobOutputResource } from 'hostinger
|
|
13
|
+
import { HostingV1CronJobsCronJobOutputResource } from '@hostinger/sdk';
|
|
14
14
|
|
|
15
15
|
const instance: HostingV1CronJobsCronJobOutputResource = {
|
|
16
16
|
output,
|
|
@@ -13,7 +13,7 @@ Name | Type | Description | Notes
|
|
|
13
13
|
## Example
|
|
14
14
|
|
|
15
15
|
```typescript
|
|
16
|
-
import { HostingV1CronJobsCronJobResource } from 'hostinger
|
|
16
|
+
import { HostingV1CronJobsCronJobResource } from '@hostinger/sdk';
|
|
17
17
|
|
|
18
18
|
const instance: HostingV1CronJobsCronJobResource = {
|
|
19
19
|
uid,
|
|
@@ -10,7 +10,7 @@ Name | Type | Description | Notes
|
|
|
10
10
|
## Example
|
|
11
11
|
|
|
12
12
|
```typescript
|
|
13
|
-
import { HostingV1DatabasesChangeDatabasePasswordRequest } from 'hostinger
|
|
13
|
+
import { HostingV1DatabasesChangeDatabasePasswordRequest } from '@hostinger/sdk';
|
|
14
14
|
|
|
15
15
|
const instance: HostingV1DatabasesChangeDatabasePasswordRequest = {
|
|
16
16
|
password,
|
|
@@ -13,7 +13,7 @@ Name | Type | Description | Notes
|
|
|
13
13
|
## Example
|
|
14
14
|
|
|
15
15
|
```typescript
|
|
16
|
-
import { HostingV1DatabasesCreateDatabaseRequest } from 'hostinger
|
|
16
|
+
import { HostingV1DatabasesCreateDatabaseRequest } from '@hostinger/sdk';
|
|
17
17
|
|
|
18
18
|
const instance: HostingV1DatabasesCreateDatabaseRequest = {
|
|
19
19
|
name,
|
|
@@ -19,7 +19,7 @@ Name | Type | Description | Notes
|
|
|
19
19
|
## Example
|
|
20
20
|
|
|
21
21
|
```typescript
|
|
22
|
-
import { HostingV1DatabasesDatabaseResource } from 'hostinger
|
|
22
|
+
import { HostingV1DatabasesDatabaseResource } from '@hostinger/sdk';
|
|
23
23
|
|
|
24
24
|
const instance: HostingV1DatabasesDatabaseResource = {
|
|
25
25
|
name,
|
|
@@ -10,7 +10,7 @@ Name | Type | Description | Notes
|
|
|
10
10
|
## Example
|
|
11
11
|
|
|
12
12
|
```typescript
|
|
13
|
-
import { HostingV1DatabasesPhpMyAdminLinkResource } from 'hostinger
|
|
13
|
+
import { HostingV1DatabasesPhpMyAdminLinkResource } from '@hostinger/sdk';
|
|
14
14
|
|
|
15
15
|
const instance: HostingV1DatabasesPhpMyAdminLinkResource = {
|
|
16
16
|
link,
|
|
@@ -10,7 +10,7 @@ Name | Type | Description | Notes
|
|
|
10
10
|
## Example
|
|
11
11
|
|
|
12
12
|
```typescript
|
|
13
|
-
import { HostingV1DatabasesRemoteConnectionsCreateRemoteConnectionRequest } from 'hostinger
|
|
13
|
+
import { HostingV1DatabasesRemoteConnectionsCreateRemoteConnectionRequest } from '@hostinger/sdk';
|
|
14
14
|
|
|
15
15
|
const instance: HostingV1DatabasesRemoteConnectionsCreateRemoteConnectionRequest = {
|
|
16
16
|
ip,
|
|
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
|
|
|
12
12
|
## Example
|
|
13
13
|
|
|
14
14
|
```typescript
|
|
15
|
-
import { HostingV1DatabasesRemoteConnectionsRemoteConnectionResource } from 'hostinger
|
|
15
|
+
import { HostingV1DatabasesRemoteConnectionsRemoteConnectionResource } from '@hostinger/sdk';
|
|
16
16
|
|
|
17
17
|
const instance: HostingV1DatabasesRemoteConnectionsRemoteConnectionResource = {
|
|
18
18
|
database_name,
|
|
@@ -11,7 +11,7 @@ Name | Type | Description | Notes
|
|
|
11
11
|
## Example
|
|
12
12
|
|
|
13
13
|
```typescript
|
|
14
|
-
import { HostingV1DatacenterCoordinatesResource } from 'hostinger
|
|
14
|
+
import { HostingV1DatacenterCoordinatesResource } from '@hostinger/sdk';
|
|
15
15
|
|
|
16
16
|
const instance: HostingV1DatacenterCoordinatesResource = {
|
|
17
17
|
latitude,
|
|
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
|
|
|
12
12
|
## Example
|
|
13
13
|
|
|
14
14
|
```typescript
|
|
15
|
-
import { HostingV1DatacenterDatacenterResource } from 'hostinger
|
|
15
|
+
import { HostingV1DatacenterDatacenterResource } from '@hostinger/sdk';
|
|
16
16
|
|
|
17
17
|
const instance: HostingV1DatacenterDatacenterResource = {
|
|
18
18
|
title,
|
|
@@ -10,7 +10,7 @@ Name | Type | Description | Notes
|
|
|
10
10
|
## Example
|
|
11
11
|
|
|
12
12
|
```typescript
|
|
13
|
-
import { HostingV1DatacentersListRequest } from 'hostinger
|
|
13
|
+
import { HostingV1DatacentersListRequest } from '@hostinger/sdk';
|
|
14
14
|
|
|
15
15
|
const instance: HostingV1DatacentersListRequest = {
|
|
16
16
|
order_id,
|
|
@@ -10,7 +10,7 @@ Name | Type | Description | Notes
|
|
|
10
10
|
## Example
|
|
11
11
|
|
|
12
12
|
```typescript
|
|
13
|
-
import { HostingV1DomainsCreateParkedDomainRequest } from 'hostinger
|
|
13
|
+
import { HostingV1DomainsCreateParkedDomainRequest } from '@hostinger/sdk';
|
|
14
14
|
|
|
15
15
|
const instance: HostingV1DomainsCreateParkedDomainRequest = {
|
|
16
16
|
parked_domain,
|
|
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
|
|
|
12
12
|
## Example
|
|
13
13
|
|
|
14
14
|
```typescript
|
|
15
|
-
import { HostingV1DomainsCreateSubdomainRequest } from 'hostinger
|
|
15
|
+
import { HostingV1DomainsCreateSubdomainRequest } from '@hostinger/sdk';
|
|
16
16
|
|
|
17
17
|
const instance: HostingV1DomainsCreateSubdomainRequest = {
|
|
18
18
|
subdomain,
|
|
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
|
|
|
12
12
|
## Example
|
|
13
13
|
|
|
14
14
|
```typescript
|
|
15
|
-
import { HostingV1DomainsDomainAccessResource } from 'hostinger
|
|
15
|
+
import { HostingV1DomainsDomainAccessResource } from '@hostinger/sdk';
|
|
16
16
|
|
|
17
17
|
const instance: HostingV1DomainsDomainAccessResource = {
|
|
18
18
|
domain,
|
|
@@ -10,7 +10,7 @@ Name | Type | Description | Notes
|
|
|
10
10
|
## Example
|
|
11
11
|
|
|
12
12
|
```typescript
|
|
13
|
-
import { HostingV1DomainsFreeSubdomainResource } from 'hostinger
|
|
13
|
+
import { HostingV1DomainsFreeSubdomainResource } from '@hostinger/sdk';
|
|
14
14
|
|
|
15
15
|
const instance: HostingV1DomainsFreeSubdomainResource = {
|
|
16
16
|
domain,
|
|
@@ -14,7 +14,7 @@ Name | Type | Description | Notes
|
|
|
14
14
|
## Example
|
|
15
15
|
|
|
16
16
|
```typescript
|
|
17
|
-
import { HostingV1DomainsParkedDomainResource } from 'hostinger
|
|
17
|
+
import { HostingV1DomainsParkedDomainResource } from '@hostinger/sdk';
|
|
18
18
|
|
|
19
19
|
const instance: HostingV1DomainsParkedDomainResource = {
|
|
20
20
|
username,
|
|
@@ -14,7 +14,7 @@ Name | Type | Description | Notes
|
|
|
14
14
|
## Example
|
|
15
15
|
|
|
16
16
|
```typescript
|
|
17
|
-
import { HostingV1DomainsSubdomainResource } from 'hostinger
|
|
17
|
+
import { HostingV1DomainsSubdomainResource } from '@hostinger/sdk';
|
|
18
18
|
|
|
19
19
|
const instance: HostingV1DomainsSubdomainResource = {
|
|
20
20
|
username,
|
|
@@ -10,7 +10,7 @@ Name | Type | Description | Notes
|
|
|
10
10
|
## Example
|
|
11
11
|
|
|
12
12
|
```typescript
|
|
13
|
-
import { HostingV1DomainsVerifyOwnershipRequest } from 'hostinger
|
|
13
|
+
import { HostingV1DomainsVerifyOwnershipRequest } from '@hostinger/sdk';
|
|
14
14
|
|
|
15
15
|
const instance: HostingV1DomainsVerifyOwnershipRequest = {
|
|
16
16
|
domain,
|