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
package/dist/esm/api.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 1.
|
|
6
|
+
* API Version: 1.44.0
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -13993,6 +13993,42 @@ export const HostingNodeJSApiAxiosParamCreator = function (configuration) {
|
|
|
13993
13993
|
options: localVarRequestOptions,
|
|
13994
13994
|
};
|
|
13995
13995
|
}),
|
|
13996
|
+
/**
|
|
13997
|
+
* 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.
|
|
13998
|
+
* @summary List Node.js environment variables
|
|
13999
|
+
* @param {string} username
|
|
14000
|
+
* @param {string} domain Domain name
|
|
14001
|
+
* @param {*} [options] Override http request option.
|
|
14002
|
+
* @throws {RequiredError}
|
|
14003
|
+
*/
|
|
14004
|
+
listNodeJsEnvironmentVariablesV1: (username_1, domain_1, ...args_1) => __awaiter(this, [username_1, domain_1, ...args_1], void 0, function* (username, domain, options = {}) {
|
|
14005
|
+
// verify required parameter 'username' is not null or undefined
|
|
14006
|
+
assertParamExists('listNodeJsEnvironmentVariablesV1', 'username', username);
|
|
14007
|
+
// verify required parameter 'domain' is not null or undefined
|
|
14008
|
+
assertParamExists('listNodeJsEnvironmentVariablesV1', 'domain', domain);
|
|
14009
|
+
const localVarPath = `/api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/builds/settings/env`
|
|
14010
|
+
.replace(`{${"username"}}`, encodeURIComponent(String(username)))
|
|
14011
|
+
.replace(`{${"domain"}}`, encodeURIComponent(String(domain)));
|
|
14012
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14013
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14014
|
+
let baseOptions;
|
|
14015
|
+
if (configuration) {
|
|
14016
|
+
baseOptions = configuration.baseOptions;
|
|
14017
|
+
}
|
|
14018
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
14019
|
+
const localVarHeaderParameter = {};
|
|
14020
|
+
const localVarQueryParameter = {};
|
|
14021
|
+
// authentication apiToken required
|
|
14022
|
+
// http bearer authentication required
|
|
14023
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
14024
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14025
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14026
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
14027
|
+
return {
|
|
14028
|
+
url: toPathString(localVarUrlObj),
|
|
14029
|
+
options: localVarRequestOptions,
|
|
14030
|
+
};
|
|
14031
|
+
}),
|
|
13996
14032
|
/**
|
|
13997
14033
|
* Lists known npm package vulnerabilities detected on a Node.js website, enriched with advisory metadata (severity, CVSS score, CVE, advisory URL). Results are sorted from the most severe to the least severe, then by publish date (newest first). Use the `severities` query parameter to filter. Vulnerabilities with `is_patchable` set to `true` can be auto-fixed via the `Patch Node.js Vulnerabilities` endpoint, which opens a GitHub pull request with updated package versions. Auto-fix is only available for websites deployed from a connected GitHub repository. Vulnerabilities with `is_patching_in_progress` set to `true` are already included in an open patch pull request; while any patch pull request is open, new patch requests for this website are rejected until it is merged or closed. Data comes from periodic dependency scans, so it may lag behind the latest deployment. An empty list means the most recent scan found no vulnerabilities; it does not guarantee the current deployment is vulnerability-free. Available on Business and Cloud Hosting plans.
|
|
13998
14034
|
* @summary List Node.js vulnerabilities
|
|
@@ -14074,6 +14110,47 @@ export const HostingNodeJSApiAxiosParamCreator = function (configuration) {
|
|
|
14074
14110
|
options: localVarRequestOptions,
|
|
14075
14111
|
};
|
|
14076
14112
|
}),
|
|
14113
|
+
/**
|
|
14114
|
+
* 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.
|
|
14115
|
+
* @summary Replace Node.js environment variables
|
|
14116
|
+
* @param {string} username
|
|
14117
|
+
* @param {string} domain Domain name
|
|
14118
|
+
* @param {HostingV1NodeJsSetBuildEnvVarsRequest} hostingV1NodeJsSetBuildEnvVarsRequest
|
|
14119
|
+
* @param {*} [options] Override http request option.
|
|
14120
|
+
* @throws {RequiredError}
|
|
14121
|
+
*/
|
|
14122
|
+
replaceNodeJsEnvironmentVariablesV1: (username_1, domain_1, hostingV1NodeJsSetBuildEnvVarsRequest_1, ...args_1) => __awaiter(this, [username_1, domain_1, hostingV1NodeJsSetBuildEnvVarsRequest_1, ...args_1], void 0, function* (username, domain, hostingV1NodeJsSetBuildEnvVarsRequest, options = {}) {
|
|
14123
|
+
// verify required parameter 'username' is not null or undefined
|
|
14124
|
+
assertParamExists('replaceNodeJsEnvironmentVariablesV1', 'username', username);
|
|
14125
|
+
// verify required parameter 'domain' is not null or undefined
|
|
14126
|
+
assertParamExists('replaceNodeJsEnvironmentVariablesV1', 'domain', domain);
|
|
14127
|
+
// verify required parameter 'hostingV1NodeJsSetBuildEnvVarsRequest' is not null or undefined
|
|
14128
|
+
assertParamExists('replaceNodeJsEnvironmentVariablesV1', 'hostingV1NodeJsSetBuildEnvVarsRequest', hostingV1NodeJsSetBuildEnvVarsRequest);
|
|
14129
|
+
const localVarPath = `/api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/builds/settings/env`
|
|
14130
|
+
.replace(`{${"username"}}`, encodeURIComponent(String(username)))
|
|
14131
|
+
.replace(`{${"domain"}}`, encodeURIComponent(String(domain)));
|
|
14132
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14133
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14134
|
+
let baseOptions;
|
|
14135
|
+
if (configuration) {
|
|
14136
|
+
baseOptions = configuration.baseOptions;
|
|
14137
|
+
}
|
|
14138
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
14139
|
+
const localVarHeaderParameter = {};
|
|
14140
|
+
const localVarQueryParameter = {};
|
|
14141
|
+
// authentication apiToken required
|
|
14142
|
+
// http bearer authentication required
|
|
14143
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
14144
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
14145
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14146
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14147
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
14148
|
+
localVarRequestOptions.data = serializeDataIfNeeded(hostingV1NodeJsSetBuildEnvVarsRequest, localVarRequestOptions, configuration);
|
|
14149
|
+
return {
|
|
14150
|
+
url: toPathString(localVarUrlObj),
|
|
14151
|
+
options: localVarRequestOptions,
|
|
14152
|
+
};
|
|
14153
|
+
}),
|
|
14077
14154
|
/**
|
|
14078
14155
|
* Restarts the Node.js server process for the website. Does not rebuild or redeploy the application. Use it to apply environment or configuration changes, or to recover a hung application. Only applicable to server-side applications (Express, Next.js, NestJS, etc.). Static front-end apps (React, Vue, Vite) have no persistent server process, so restarting them has no effect. Returns success even when the website has no server process to restart.
|
|
14079
14156
|
* @summary Restart Node.js application
|
|
@@ -14214,6 +14291,22 @@ export const HostingNodeJSApiFp = function (configuration) {
|
|
|
14214
14291
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14215
14292
|
});
|
|
14216
14293
|
},
|
|
14294
|
+
/**
|
|
14295
|
+
* 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.
|
|
14296
|
+
* @summary List Node.js environment variables
|
|
14297
|
+
* @param {string} username
|
|
14298
|
+
* @param {string} domain Domain name
|
|
14299
|
+
* @param {*} [options] Override http request option.
|
|
14300
|
+
* @throws {RequiredError}
|
|
14301
|
+
*/
|
|
14302
|
+
listNodeJsEnvironmentVariablesV1(username, domain, options) {
|
|
14303
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
14304
|
+
var _a, _b;
|
|
14305
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listNodeJsEnvironmentVariablesV1(username, domain, options);
|
|
14306
|
+
const localVarOperationServerBasePath = (_b = (_a = operationServerMap['HostingNodeJSApi.listNodeJsEnvironmentVariablesV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
|
|
14307
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14308
|
+
});
|
|
14309
|
+
},
|
|
14217
14310
|
/**
|
|
14218
14311
|
* Lists known npm package vulnerabilities detected on a Node.js website, enriched with advisory metadata (severity, CVSS score, CVE, advisory URL). Results are sorted from the most severe to the least severe, then by publish date (newest first). Use the `severities` query parameter to filter. Vulnerabilities with `is_patchable` set to `true` can be auto-fixed via the `Patch Node.js Vulnerabilities` endpoint, which opens a GitHub pull request with updated package versions. Auto-fix is only available for websites deployed from a connected GitHub repository. Vulnerabilities with `is_patching_in_progress` set to `true` are already included in an open patch pull request; while any patch pull request is open, new patch requests for this website are rejected until it is merged or closed. Data comes from periodic dependency scans, so it may lag behind the latest deployment. An empty list means the most recent scan found no vulnerabilities; it does not guarantee the current deployment is vulnerability-free. Available on Business and Cloud Hosting plans.
|
|
14219
14312
|
* @summary List Node.js vulnerabilities
|
|
@@ -14248,6 +14341,23 @@ export const HostingNodeJSApiFp = function (configuration) {
|
|
|
14248
14341
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14249
14342
|
});
|
|
14250
14343
|
},
|
|
14344
|
+
/**
|
|
14345
|
+
* 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.
|
|
14346
|
+
* @summary Replace Node.js environment variables
|
|
14347
|
+
* @param {string} username
|
|
14348
|
+
* @param {string} domain Domain name
|
|
14349
|
+
* @param {HostingV1NodeJsSetBuildEnvVarsRequest} hostingV1NodeJsSetBuildEnvVarsRequest
|
|
14350
|
+
* @param {*} [options] Override http request option.
|
|
14351
|
+
* @throws {RequiredError}
|
|
14352
|
+
*/
|
|
14353
|
+
replaceNodeJsEnvironmentVariablesV1(username, domain, hostingV1NodeJsSetBuildEnvVarsRequest, options) {
|
|
14354
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
14355
|
+
var _a, _b;
|
|
14356
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.replaceNodeJsEnvironmentVariablesV1(username, domain, hostingV1NodeJsSetBuildEnvVarsRequest, options);
|
|
14357
|
+
const localVarOperationServerBasePath = (_b = (_a = operationServerMap['HostingNodeJSApi.replaceNodeJsEnvironmentVariablesV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
|
|
14358
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14359
|
+
});
|
|
14360
|
+
},
|
|
14251
14361
|
/**
|
|
14252
14362
|
* Restarts the Node.js server process for the website. Does not rebuild or redeploy the application. Use it to apply environment or configuration changes, or to recover a hung application. Only applicable to server-side applications (Express, Next.js, NestJS, etc.). Static front-end apps (React, Vue, Vite) have no persistent server process, so restarting them has no effect. Returns success even when the website has no server process to restart.
|
|
14253
14363
|
* @summary Restart Node.js application
|
|
@@ -14329,6 +14439,17 @@ export const HostingNodeJSApiFactory = function (configuration, basePath, axios)
|
|
|
14329
14439
|
listNodeJSBuildsV1(username, domain, page, perPage, states, options) {
|
|
14330
14440
|
return localVarFp.listNodeJSBuildsV1(username, domain, page, perPage, states, options).then((request) => request(axios, basePath));
|
|
14331
14441
|
},
|
|
14442
|
+
/**
|
|
14443
|
+
* 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.
|
|
14444
|
+
* @summary List Node.js environment variables
|
|
14445
|
+
* @param {string} username
|
|
14446
|
+
* @param {string} domain Domain name
|
|
14447
|
+
* @param {*} [options] Override http request option.
|
|
14448
|
+
* @throws {RequiredError}
|
|
14449
|
+
*/
|
|
14450
|
+
listNodeJsEnvironmentVariablesV1(username, domain, options) {
|
|
14451
|
+
return localVarFp.listNodeJsEnvironmentVariablesV1(username, domain, options).then((request) => request(axios, basePath));
|
|
14452
|
+
},
|
|
14332
14453
|
/**
|
|
14333
14454
|
* Lists known npm package vulnerabilities detected on a Node.js website, enriched with advisory metadata (severity, CVSS score, CVE, advisory URL). Results are sorted from the most severe to the least severe, then by publish date (newest first). Use the `severities` query parameter to filter. Vulnerabilities with `is_patchable` set to `true` can be auto-fixed via the `Patch Node.js Vulnerabilities` endpoint, which opens a GitHub pull request with updated package versions. Auto-fix is only available for websites deployed from a connected GitHub repository. Vulnerabilities with `is_patching_in_progress` set to `true` are already included in an open patch pull request; while any patch pull request is open, new patch requests for this website are rejected until it is merged or closed. Data comes from periodic dependency scans, so it may lag behind the latest deployment. An empty list means the most recent scan found no vulnerabilities; it does not guarantee the current deployment is vulnerability-free. Available on Business and Cloud Hosting plans.
|
|
14334
14455
|
* @summary List Node.js vulnerabilities
|
|
@@ -14353,6 +14474,18 @@ export const HostingNodeJSApiFactory = function (configuration, basePath, axios)
|
|
|
14353
14474
|
patchNodeJsVulnerabilitiesV1(username, domain, hostingV1NodeJsPatchVulnerabilitiesRequest, options) {
|
|
14354
14475
|
return localVarFp.patchNodeJsVulnerabilitiesV1(username, domain, hostingV1NodeJsPatchVulnerabilitiesRequest, options).then((request) => request(axios, basePath));
|
|
14355
14476
|
},
|
|
14477
|
+
/**
|
|
14478
|
+
* 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.
|
|
14479
|
+
* @summary Replace Node.js environment variables
|
|
14480
|
+
* @param {string} username
|
|
14481
|
+
* @param {string} domain Domain name
|
|
14482
|
+
* @param {HostingV1NodeJsSetBuildEnvVarsRequest} hostingV1NodeJsSetBuildEnvVarsRequest
|
|
14483
|
+
* @param {*} [options] Override http request option.
|
|
14484
|
+
* @throws {RequiredError}
|
|
14485
|
+
*/
|
|
14486
|
+
replaceNodeJsEnvironmentVariablesV1(username, domain, hostingV1NodeJsSetBuildEnvVarsRequest, options) {
|
|
14487
|
+
return localVarFp.replaceNodeJsEnvironmentVariablesV1(username, domain, hostingV1NodeJsSetBuildEnvVarsRequest, options).then((request) => request(axios, basePath));
|
|
14488
|
+
},
|
|
14356
14489
|
/**
|
|
14357
14490
|
* Restarts the Node.js server process for the website. Does not rebuild or redeploy the application. Use it to apply environment or configuration changes, or to recover a hung application. Only applicable to server-side applications (Express, Next.js, NestJS, etc.). Static front-end apps (React, Vue, Vite) have no persistent server process, so restarting them has no effect. Returns success even when the website has no server process to restart.
|
|
14358
14491
|
* @summary Restart Node.js application
|
|
@@ -14427,6 +14560,18 @@ export class HostingNodeJSApi extends BaseAPI {
|
|
|
14427
14560
|
listNodeJSBuildsV1(username, domain, page, perPage, states, options) {
|
|
14428
14561
|
return HostingNodeJSApiFp(this.configuration).listNodeJSBuildsV1(username, domain, page, perPage, states, options).then((request) => request(this.axios, this.basePath));
|
|
14429
14562
|
}
|
|
14563
|
+
/**
|
|
14564
|
+
* 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.
|
|
14565
|
+
* @summary List Node.js environment variables
|
|
14566
|
+
* @param {string} username
|
|
14567
|
+
* @param {string} domain Domain name
|
|
14568
|
+
* @param {*} [options] Override http request option.
|
|
14569
|
+
* @throws {RequiredError}
|
|
14570
|
+
* @memberof HostingNodeJSApi
|
|
14571
|
+
*/
|
|
14572
|
+
listNodeJsEnvironmentVariablesV1(username, domain, options) {
|
|
14573
|
+
return HostingNodeJSApiFp(this.configuration).listNodeJsEnvironmentVariablesV1(username, domain, options).then((request) => request(this.axios, this.basePath));
|
|
14574
|
+
}
|
|
14430
14575
|
/**
|
|
14431
14576
|
* Lists known npm package vulnerabilities detected on a Node.js website, enriched with advisory metadata (severity, CVSS score, CVE, advisory URL). Results are sorted from the most severe to the least severe, then by publish date (newest first). Use the `severities` query parameter to filter. Vulnerabilities with `is_patchable` set to `true` can be auto-fixed via the `Patch Node.js Vulnerabilities` endpoint, which opens a GitHub pull request with updated package versions. Auto-fix is only available for websites deployed from a connected GitHub repository. Vulnerabilities with `is_patching_in_progress` set to `true` are already included in an open patch pull request; while any patch pull request is open, new patch requests for this website are rejected until it is merged or closed. Data comes from periodic dependency scans, so it may lag behind the latest deployment. An empty list means the most recent scan found no vulnerabilities; it does not guarantee the current deployment is vulnerability-free. Available on Business and Cloud Hosting plans.
|
|
14432
14577
|
* @summary List Node.js vulnerabilities
|
|
@@ -14453,6 +14598,19 @@ export class HostingNodeJSApi extends BaseAPI {
|
|
|
14453
14598
|
patchNodeJsVulnerabilitiesV1(username, domain, hostingV1NodeJsPatchVulnerabilitiesRequest, options) {
|
|
14454
14599
|
return HostingNodeJSApiFp(this.configuration).patchNodeJsVulnerabilitiesV1(username, domain, hostingV1NodeJsPatchVulnerabilitiesRequest, options).then((request) => request(this.axios, this.basePath));
|
|
14455
14600
|
}
|
|
14601
|
+
/**
|
|
14602
|
+
* 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.
|
|
14603
|
+
* @summary Replace Node.js environment variables
|
|
14604
|
+
* @param {string} username
|
|
14605
|
+
* @param {string} domain Domain name
|
|
14606
|
+
* @param {HostingV1NodeJsSetBuildEnvVarsRequest} hostingV1NodeJsSetBuildEnvVarsRequest
|
|
14607
|
+
* @param {*} [options] Override http request option.
|
|
14608
|
+
* @throws {RequiredError}
|
|
14609
|
+
* @memberof HostingNodeJSApi
|
|
14610
|
+
*/
|
|
14611
|
+
replaceNodeJsEnvironmentVariablesV1(username, domain, hostingV1NodeJsSetBuildEnvVarsRequest, options) {
|
|
14612
|
+
return HostingNodeJSApiFp(this.configuration).replaceNodeJsEnvironmentVariablesV1(username, domain, hostingV1NodeJsSetBuildEnvVarsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
14613
|
+
}
|
|
14456
14614
|
/**
|
|
14457
14615
|
* Restarts the Node.js server process for the website. Does not rebuild or redeploy the application. Use it to apply environment or configuration changes, or to recover a hung application. Only applicable to server-side applications (Express, Next.js, NestJS, etc.). Static front-end apps (React, Vue, Vite) have no persistent server process, so restarting them has no effect. Returns success even when the website has no server process to restart.
|
|
14458
14616
|
* @summary Restart Node.js application
|
package/dist/esm/base.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 1.
|
|
4
|
+
* API Version: 1.44.0
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/esm/base.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 1.
|
|
6
|
+
* API Version: 1.44.0
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/esm/common.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 1.
|
|
4
|
+
* API Version: 1.44.0
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/esm/common.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 1.
|
|
6
|
+
* API Version: 1.44.0
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 1.
|
|
4
|
+
* API Version: 1.44.0
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 1.
|
|
6
|
+
* API Version: 1.44.0
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -13,7 +13,7 @@ export class Configuration {
|
|
|
13
13
|
var _a;
|
|
14
14
|
this.accessToken = param.accessToken;
|
|
15
15
|
this.basePath = param.basePath;
|
|
16
|
-
this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "hostinger-typescript-sdk/1.
|
|
16
|
+
this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "hostinger-typescript-sdk/1.44.0" }, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) });
|
|
17
17
|
this.formDataCtor = param.formDataCtor;
|
|
18
18
|
}
|
|
19
19
|
/**
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 1.
|
|
4
|
+
* API Version: 1.44.0
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/esm/index.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* Hostinger API
|
|
5
5
|
*
|
|
6
|
-
* API Version: 1.
|
|
6
|
+
* API Version: 1.44.0
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
9
9
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 1.
|
|
4
|
+
* API Version: 1.44.0
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/index.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Hostinger API
|
|
6
6
|
*
|
|
7
|
-
* API Version: 1.
|
|
7
|
+
* API Version: 1.44.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
|
|
@@ -17,7 +17,7 @@ Clears cache for all domains associated with an Agency Plan website, including i
|
|
|
17
17
|
import {
|
|
18
18
|
AgencyHostingCacheApi,
|
|
19
19
|
Configuration
|
|
20
|
-
} from 'hostinger
|
|
20
|
+
} from '@hostinger/sdk';
|
|
21
21
|
|
|
22
22
|
const configuration = new Configuration();
|
|
23
23
|
const apiInstance = new AgencyHostingCacheApi(configuration);
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
AgencyHostingCronJobsApi,
|
|
21
21
|
Configuration,
|
|
22
22
|
AgencyHostingV1WebsitesCronJobsCreateCronJobRequest
|
|
23
|
-
} from 'hostinger
|
|
23
|
+
} from '@hostinger/sdk';
|
|
24
24
|
|
|
25
25
|
const configuration = new Configuration();
|
|
26
26
|
const apiInstance = new AgencyHostingCronJobsApi(configuration);
|
|
@@ -77,7 +77,7 @@ Permanently deletes the cron job identified by its uuid from an Agency Plan webs
|
|
|
77
77
|
import {
|
|
78
78
|
AgencyHostingCronJobsApi,
|
|
79
79
|
Configuration
|
|
80
|
-
} from 'hostinger
|
|
80
|
+
} from '@hostinger/sdk';
|
|
81
81
|
|
|
82
82
|
const configuration = new Configuration();
|
|
83
83
|
const apiInstance = new AgencyHostingCronJobsApi(configuration);
|
|
@@ -133,7 +133,7 @@ Returns a paginated list of cron jobs configured for an Agency Plan website. Ea
|
|
|
133
133
|
import {
|
|
134
134
|
AgencyHostingCronJobsApi,
|
|
135
135
|
Configuration
|
|
136
|
-
} from 'hostinger
|
|
136
|
+
} from '@hostinger/sdk';
|
|
137
137
|
|
|
138
138
|
const configuration = new Configuration();
|
|
139
139
|
const apiInstance = new AgencyHostingCronJobsApi(configuration);
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
AgencyHostingDatabasesApi,
|
|
23
23
|
Configuration,
|
|
24
24
|
AgencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest
|
|
25
|
-
} from 'hostinger
|
|
25
|
+
} from '@hostinger/sdk';
|
|
26
26
|
|
|
27
27
|
const configuration = new Configuration();
|
|
28
28
|
const apiInstance = new AgencyHostingDatabasesApi(configuration);
|
|
@@ -83,7 +83,7 @@ import {
|
|
|
83
83
|
AgencyHostingDatabasesApi,
|
|
84
84
|
Configuration,
|
|
85
85
|
AgencyHostingV1WebsitesDatabasesCreateDatabaseRequest
|
|
86
|
-
} from 'hostinger
|
|
86
|
+
} from '@hostinger/sdk';
|
|
87
87
|
|
|
88
88
|
const configuration = new Configuration();
|
|
89
89
|
const apiInstance = new AgencyHostingDatabasesApi(configuration);
|
|
@@ -140,7 +140,7 @@ Permanently deletes a database user from an Agency Plan website database, revoki
|
|
|
140
140
|
import {
|
|
141
141
|
AgencyHostingDatabasesApi,
|
|
142
142
|
Configuration
|
|
143
|
-
} from 'hostinger
|
|
143
|
+
} from '@hostinger/sdk';
|
|
144
144
|
|
|
145
145
|
const configuration = new Configuration();
|
|
146
146
|
const apiInstance = new AgencyHostingDatabasesApi(configuration);
|
|
@@ -199,7 +199,7 @@ Permanently deletes a MySQL database and all its data from an Agency Plan websit
|
|
|
199
199
|
import {
|
|
200
200
|
AgencyHostingDatabasesApi,
|
|
201
201
|
Configuration
|
|
202
|
-
} from 'hostinger
|
|
202
|
+
} from '@hostinger/sdk';
|
|
203
203
|
|
|
204
204
|
const configuration = new Configuration();
|
|
205
205
|
const apiInstance = new AgencyHostingDatabasesApi(configuration);
|
|
@@ -255,7 +255,7 @@ Returns a paginated list of MySQL databases created for an Agency Plan website.
|
|
|
255
255
|
import {
|
|
256
256
|
AgencyHostingDatabasesApi,
|
|
257
257
|
Configuration
|
|
258
|
-
} from 'hostinger
|
|
258
|
+
} from '@hostinger/sdk';
|
|
259
259
|
|
|
260
260
|
const configuration = new Configuration();
|
|
261
261
|
const apiInstance = new AgencyHostingDatabasesApi(configuration);
|
|
@@ -17,7 +17,7 @@ Lists the datacenters available for provisioning a new website on the given Agen
|
|
|
17
17
|
import {
|
|
18
18
|
AgencyHostingDatacentersApi,
|
|
19
19
|
Configuration
|
|
20
|
-
} from 'hostinger
|
|
20
|
+
} from '@hostinger/sdk';
|
|
21
21
|
|
|
22
22
|
const configuration = new Configuration();
|
|
23
23
|
const apiInstance = new AgencyHostingDatacentersApi(configuration);
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
AgencyHostingDomainsApi,
|
|
22
22
|
Configuration,
|
|
23
23
|
AgencyHostingV1DomainsChangeDomainRequest
|
|
24
|
-
} from 'hostinger
|
|
24
|
+
} from '@hostinger/sdk';
|
|
25
25
|
|
|
26
26
|
const configuration = new Configuration();
|
|
27
27
|
const apiInstance = new AgencyHostingDomainsApi(configuration);
|
|
@@ -82,7 +82,7 @@ import {
|
|
|
82
82
|
AgencyHostingDomainsApi,
|
|
83
83
|
Configuration,
|
|
84
84
|
AgencyHostingV1DomainsLinkDomainRequest
|
|
85
|
-
} from 'hostinger
|
|
85
|
+
} from '@hostinger/sdk';
|
|
86
86
|
|
|
87
87
|
const configuration = new Configuration();
|
|
88
88
|
const apiInstance = new AgencyHostingDomainsApi(configuration);
|
|
@@ -139,7 +139,7 @@ Returns a paginated list of domains associated with Agency Plan websites accessi
|
|
|
139
139
|
import {
|
|
140
140
|
AgencyHostingDomainsApi,
|
|
141
141
|
Configuration
|
|
142
|
-
} from 'hostinger
|
|
142
|
+
} from '@hostinger/sdk';
|
|
143
143
|
|
|
144
144
|
const configuration = new Configuration();
|
|
145
145
|
const apiInstance = new AgencyHostingDomainsApi(configuration);
|
|
@@ -198,7 +198,7 @@ Unlinks a domain from the specified Agency Plan website. The website stops serv
|
|
|
198
198
|
import {
|
|
199
199
|
AgencyHostingDomainsApi,
|
|
200
200
|
Configuration
|
|
201
|
-
} from 'hostinger
|
|
201
|
+
} from '@hostinger/sdk';
|
|
202
202
|
|
|
203
203
|
const configuration = new Configuration();
|
|
204
204
|
const apiInstance = new AgencyHostingDomainsApi(configuration);
|
|
@@ -18,7 +18,7 @@ Generate a file browser upload URL with authentication credentials for uploading
|
|
|
18
18
|
import {
|
|
19
19
|
AgencyHostingFilesApi,
|
|
20
20
|
Configuration
|
|
21
|
-
} from 'hostinger
|
|
21
|
+
} from '@hostinger/sdk';
|
|
22
22
|
|
|
23
23
|
const configuration = new Configuration();
|
|
24
24
|
const apiInstance = new AgencyHostingFilesApi(configuration);
|
|
@@ -72,7 +72,7 @@ import {
|
|
|
72
72
|
AgencyHostingFilesApi,
|
|
73
73
|
Configuration,
|
|
74
74
|
AgencyHostingV1FilesImportArchiveRequest
|
|
75
|
-
} from 'hostinger
|
|
75
|
+
} from '@hostinger/sdk';
|
|
76
76
|
|
|
77
77
|
const configuration = new Configuration();
|
|
78
78
|
const apiInstance = new AgencyHostingFilesApi(configuration);
|
|
@@ -11,7 +11,7 @@ Name | Type | Description | Notes
|
|
|
11
11
|
## Example
|
|
12
12
|
|
|
13
13
|
```typescript
|
|
14
|
-
import { AgencyHostingListAgencyPlanWebsitesV1200Response } from 'hostinger
|
|
14
|
+
import { AgencyHostingListAgencyPlanWebsitesV1200Response } from '@hostinger/sdk';
|
|
15
15
|
|
|
16
16
|
const instance: AgencyHostingListAgencyPlanWebsitesV1200Response = {
|
|
17
17
|
data,
|
|
@@ -11,7 +11,7 @@ Name | Type | Description | Notes
|
|
|
11
11
|
## Example
|
|
12
12
|
|
|
13
13
|
```typescript
|
|
14
|
-
import { AgencyHostingListDomainsV1200Response } from 'hostinger
|
|
14
|
+
import { AgencyHostingListDomainsV1200Response } from '@hostinger/sdk';
|
|
15
15
|
|
|
16
16
|
const instance: AgencyHostingListDomainsV1200Response = {
|
|
17
17
|
data,
|
|
@@ -11,7 +11,7 @@ Name | Type | Description | Notes
|
|
|
11
11
|
## Example
|
|
12
12
|
|
|
13
13
|
```typescript
|
|
14
|
-
import { AgencyHostingListOrdersV1200Response } from 'hostinger
|
|
14
|
+
import { AgencyHostingListOrdersV1200Response } from '@hostinger/sdk';
|
|
15
15
|
|
|
16
16
|
const instance: AgencyHostingListOrdersV1200Response = {
|
|
17
17
|
data,
|
|
@@ -11,7 +11,7 @@ Name | Type | Description | Notes
|
|
|
11
11
|
## Example
|
|
12
12
|
|
|
13
13
|
```typescript
|
|
14
|
-
import { AgencyHostingListWebsiteCronJobsV1200Response } from 'hostinger
|
|
14
|
+
import { AgencyHostingListWebsiteCronJobsV1200Response } from '@hostinger/sdk';
|
|
15
15
|
|
|
16
16
|
const instance: AgencyHostingListWebsiteCronJobsV1200Response = {
|
|
17
17
|
data,
|
|
@@ -11,7 +11,7 @@ Name | Type | Description | Notes
|
|
|
11
11
|
## Example
|
|
12
12
|
|
|
13
13
|
```typescript
|
|
14
|
-
import { AgencyHostingListWebsiteDatabasesV1200Response } from 'hostinger
|
|
14
|
+
import { AgencyHostingListWebsiteDatabasesV1200Response } from '@hostinger/sdk';
|
|
15
15
|
|
|
16
16
|
const instance: AgencyHostingListWebsiteDatabasesV1200Response = {
|
|
17
17
|
data,
|
|
@@ -18,7 +18,7 @@ Returns aggregated disk and inode usage for the Agency Plan order over the selec
|
|
|
18
18
|
import {
|
|
19
19
|
AgencyHostingMetricsApi,
|
|
20
20
|
Configuration
|
|
21
|
-
} from 'hostinger
|
|
21
|
+
} from '@hostinger/sdk';
|
|
22
22
|
|
|
23
23
|
const configuration = new Configuration();
|
|
24
24
|
const apiInstance = new AgencyHostingMetricsApi(configuration);
|
|
@@ -75,7 +75,7 @@ Returns aggregated CPU, memory, and process usage for the Agency Plan order over
|
|
|
75
75
|
import {
|
|
76
76
|
AgencyHostingMetricsApi,
|
|
77
77
|
Configuration
|
|
78
|
-
} from 'hostinger
|
|
78
|
+
} from '@hostinger/sdk';
|
|
79
79
|
|
|
80
80
|
const configuration = new Configuration();
|
|
81
81
|
const apiInstance = new AgencyHostingMetricsApi(configuration);
|
|
@@ -17,7 +17,7 @@ Returns a paginated list of Agency Plan orders accessible to the authenticated c
|
|
|
17
17
|
import {
|
|
18
18
|
AgencyHostingOrdersApi,
|
|
19
19
|
Configuration
|
|
20
|
-
} from 'hostinger
|
|
20
|
+
} from '@hostinger/sdk';
|
|
21
21
|
|
|
22
22
|
const configuration = new Configuration();
|
|
23
23
|
const apiInstance = new AgencyHostingOrdersApi(configuration);
|
|
@@ -23,7 +23,7 @@ Lists the PHP versions an Agency Plan website can be switched to. The version th
|
|
|
23
23
|
import {
|
|
24
24
|
AgencyHostingPHPApi,
|
|
25
25
|
Configuration
|
|
26
|
-
} from 'hostinger
|
|
26
|
+
} from '@hostinger/sdk';
|
|
27
27
|
|
|
28
28
|
const configuration = new Configuration();
|
|
29
29
|
const apiInstance = new AgencyHostingPHPApi(configuration);
|
|
@@ -76,7 +76,7 @@ Lists the PHP versions available to websites created under an Agency Plan order,
|
|
|
76
76
|
import {
|
|
77
77
|
AgencyHostingPHPApi,
|
|
78
78
|
Configuration
|
|
79
|
-
} from 'hostinger
|
|
79
|
+
} from '@hostinger/sdk';
|
|
80
80
|
|
|
81
81
|
const configuration = new Configuration();
|
|
82
82
|
const apiInstance = new AgencyHostingPHPApi(configuration);
|
|
@@ -129,7 +129,7 @@ Lists every PHP extension available to an Agency Plan website and whether it is
|
|
|
129
129
|
import {
|
|
130
130
|
AgencyHostingPHPApi,
|
|
131
131
|
Configuration
|
|
132
|
-
} from 'hostinger
|
|
132
|
+
} from '@hostinger/sdk';
|
|
133
133
|
|
|
134
134
|
const configuration = new Configuration();
|
|
135
135
|
const apiInstance = new AgencyHostingPHPApi(configuration);
|
|
@@ -182,7 +182,7 @@ Lists the php.ini directives that can be configured for an Agency Plan website,
|
|
|
182
182
|
import {
|
|
183
183
|
AgencyHostingPHPApi,
|
|
184
184
|
Configuration
|
|
185
|
-
} from 'hostinger
|
|
185
|
+
} from '@hostinger/sdk';
|
|
186
186
|
|
|
187
187
|
const configuration = new Configuration();
|
|
188
188
|
const apiInstance = new AgencyHostingPHPApi(configuration);
|
|
@@ -236,7 +236,7 @@ import {
|
|
|
236
236
|
AgencyHostingPHPApi,
|
|
237
237
|
Configuration,
|
|
238
238
|
AgencyHostingV1PhpUpdateExtensionsRequest
|
|
239
|
-
} from 'hostinger
|
|
239
|
+
} from '@hostinger/sdk';
|
|
240
240
|
|
|
241
241
|
const configuration = new Configuration();
|
|
242
242
|
const apiInstance = new AgencyHostingPHPApi(configuration);
|
|
@@ -294,7 +294,7 @@ import {
|
|
|
294
294
|
AgencyHostingPHPApi,
|
|
295
295
|
Configuration,
|
|
296
296
|
AgencyHostingV1PhpUpdateOptionsRequest
|
|
297
|
-
} from 'hostinger
|
|
297
|
+
} from '@hostinger/sdk';
|
|
298
298
|
|
|
299
299
|
const configuration = new Configuration();
|
|
300
300
|
const apiInstance = new AgencyHostingPHPApi(configuration);
|
|
@@ -352,7 +352,7 @@ import {
|
|
|
352
352
|
AgencyHostingPHPApi,
|
|
353
353
|
Configuration,
|
|
354
354
|
AgencyHostingV1PhpUpdateVersionRequest
|
|
355
|
-
} from 'hostinger
|
|
355
|
+
} from '@hostinger/sdk';
|
|
356
356
|
|
|
357
357
|
const configuration = new Configuration();
|
|
358
358
|
const apiInstance = new AgencyHostingPHPApi(configuration);
|