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.
Files changed (605) hide show
  1. package/.github/workflows/build-release.yaml +16 -0
  2. package/README.md +2 -2
  3. package/api.ts +219 -1
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +2 -2
  7. package/dist/api.d.ts +130 -1
  8. package/dist/api.js +159 -1
  9. package/dist/base.d.ts +1 -1
  10. package/dist/base.js +1 -1
  11. package/dist/common.d.ts +1 -1
  12. package/dist/common.js +1 -1
  13. package/dist/configuration.d.ts +1 -1
  14. package/dist/configuration.js +2 -2
  15. package/dist/esm/api.d.ts +130 -1
  16. package/dist/esm/api.js +159 -1
  17. package/dist/esm/base.d.ts +1 -1
  18. package/dist/esm/base.js +1 -1
  19. package/dist/esm/common.d.ts +1 -1
  20. package/dist/esm/common.js +1 -1
  21. package/dist/esm/configuration.d.ts +1 -1
  22. package/dist/esm/configuration.js +2 -2
  23. package/dist/esm/index.d.ts +1 -1
  24. package/dist/esm/index.js +1 -1
  25. package/dist/index.d.ts +1 -1
  26. package/dist/index.js +1 -1
  27. package/docs/AgencyHostingCacheApi.md +1 -1
  28. package/docs/AgencyHostingCronJobsApi.md +3 -3
  29. package/docs/AgencyHostingDatabasesApi.md +5 -5
  30. package/docs/AgencyHostingDatacentersApi.md +1 -1
  31. package/docs/AgencyHostingDomainsApi.md +4 -4
  32. package/docs/AgencyHostingFilesApi.md +2 -2
  33. package/docs/AgencyHostingListAgencyPlanWebsitesV1200Response.md +1 -1
  34. package/docs/AgencyHostingListDomainsV1200Response.md +1 -1
  35. package/docs/AgencyHostingListOrdersV1200Response.md +1 -1
  36. package/docs/AgencyHostingListWebsiteCronJobsV1200Response.md +1 -1
  37. package/docs/AgencyHostingListWebsiteDatabasesV1200Response.md +1 -1
  38. package/docs/AgencyHostingMetricsApi.md +2 -2
  39. package/docs/AgencyHostingOrdersApi.md +1 -1
  40. package/docs/AgencyHostingPHPApi.md +7 -7
  41. package/docs/AgencyHostingV1DatacentersCoordinatesResource.md +1 -1
  42. package/docs/AgencyHostingV1DatacentersDatacenterResource.md +1 -1
  43. package/docs/AgencyHostingV1DomainsChangeDomainRequest.md +1 -1
  44. package/docs/AgencyHostingV1DomainsDomainResource.md +1 -1
  45. package/docs/AgencyHostingV1DomainsLinkDomainRequest.md +1 -1
  46. package/docs/AgencyHostingV1FilesImportArchiveRequest.md +1 -1
  47. package/docs/AgencyHostingV1FilesUploadUrlResource.md +1 -1
  48. package/docs/AgencyHostingV1OrdersDatacenterResource.md +1 -1
  49. package/docs/AgencyHostingV1OrdersDiskUsageMetricsLimitsResource.md +1 -1
  50. package/docs/AgencyHostingV1OrdersDiskUsageMetricsMetricResource.md +1 -1
  51. package/docs/AgencyHostingV1OrdersDiskUsageMetricsMetricsResource.md +1 -1
  52. package/docs/AgencyHostingV1OrdersOrderResource.md +1 -1
  53. package/docs/AgencyHostingV1OrdersPlanResource.md +1 -1
  54. package/docs/AgencyHostingV1OrdersResourceUsageMetricsLimitsResource.md +1 -1
  55. package/docs/AgencyHostingV1OrdersResourceUsageMetricsMetricResource.md +1 -1
  56. package/docs/AgencyHostingV1OrdersResourceUsageMetricsMetricsResource.md +1 -1
  57. package/docs/AgencyHostingV1OrdersResourceUsageMetricsWebsiteResource.md +1 -1
  58. package/docs/AgencyHostingV1PhpExtensionResource.md +1 -1
  59. package/docs/AgencyHostingV1PhpOptionResource.md +1 -1
  60. package/docs/AgencyHostingV1PhpUpdateExtensionsRequest.md +1 -1
  61. package/docs/AgencyHostingV1PhpUpdateOptionsRequest.md +1 -1
  62. package/docs/AgencyHostingV1PhpUpdateOptionsRequestOptionsInner.md +1 -1
  63. package/docs/AgencyHostingV1PhpUpdateVersionRequest.md +1 -1
  64. package/docs/AgencyHostingV1PhpVersionResource.md +1 -1
  65. package/docs/AgencyHostingV1SetupsCreateSetupRequest.md +1 -1
  66. package/docs/AgencyHostingV1SetupsCreateSetupRequestClone.md +1 -1
  67. package/docs/AgencyHostingV1SetupsCreateSetupRequestDeriveDomain.md +1 -1
  68. package/docs/AgencyHostingV1SetupsCreateSetupRequestDeriveDomainFromVhost.md +1 -1
  69. package/docs/AgencyHostingV1SetupsCreateSetupRequestSettings.md +1 -1
  70. package/docs/AgencyHostingV1SetupsCreateSetupRequestSettingsPhp.md +1 -1
  71. package/docs/AgencyHostingV1SetupsCreateSetupRequestWordpress.md +1 -1
  72. package/docs/AgencyHostingV1SetupsCreateSetupRequestWordpressAdmin.md +1 -1
  73. package/docs/AgencyHostingV1SetupsWebsiteSetupResource.md +1 -1
  74. package/docs/AgencyHostingV1SetupsWebsiteSetupStatusResource.md +1 -1
  75. package/docs/AgencyHostingV1WebsitesBuildAssetsRequest.md +1 -1
  76. package/docs/AgencyHostingV1WebsitesBuilderWebsiteDetailsResource.md +1 -1
  77. package/docs/AgencyHostingV1WebsitesCronJobsCreateCronJobRequest.md +1 -1
  78. package/docs/AgencyHostingV1WebsitesCronJobsCronJobResource.md +1 -1
  79. package/docs/AgencyHostingV1WebsitesCustomSslCertResource.md +1 -1
  80. package/docs/AgencyHostingV1WebsitesDatabasesCreateDatabaseRequest.md +1 -1
  81. package/docs/AgencyHostingV1WebsitesDatabasesDatabaseResource.md +1 -1
  82. package/docs/AgencyHostingV1WebsitesDatabasesDatabaseUserResource.md +1 -1
  83. package/docs/AgencyHostingV1WebsitesDatabasesUsersCreateDatabaseUserRequest.md +1 -1
  84. package/docs/AgencyHostingV1WebsitesH5gWebsiteDetailsResource.md +1 -1
  85. package/docs/AgencyHostingV1WebsitesPlanResource.md +1 -1
  86. package/docs/AgencyHostingV1WebsitesSslCertResource.md +1 -1
  87. package/docs/AgencyHostingV1WebsitesU4sWebsiteDetailsResource.md +1 -1
  88. package/docs/AgencyHostingV1WebsitesWebsiteDomainDetailsResource.md +1 -1
  89. package/docs/AgencyHostingV1WebsitesWebsiteListItemResource.md +1 -1
  90. package/docs/AgencyHostingV1WebsitesWebsiteListItemResourceDetails.md +1 -1
  91. package/docs/AgencyHostingV1WebsitesWebsiteOrderPlanResource.md +1 -1
  92. package/docs/AgencyHostingV1WebsitesWebsiteOrderPlanResourceParameters.md +1 -1
  93. package/docs/AgencyHostingV1WebsitesWebsiteOrderResource.md +1 -1
  94. package/docs/AgencyHostingV1WebsitesWebsitePhpSettingsResource.md +1 -1
  95. package/docs/AgencyHostingV1WebsitesWebsitePreviewDomainResource.md +1 -1
  96. package/docs/AgencyHostingV1WebsitesWebsiteProcessResource.md +1 -1
  97. package/docs/AgencyHostingV1WebsitesWebsiteRemoteAccessResource.md +1 -1
  98. package/docs/AgencyHostingV1WebsitesWebsiteResource.md +1 -1
  99. package/docs/AgencyHostingV1WebsitesWebsiteServerResource.md +1 -1
  100. package/docs/AgencyHostingV1WebsitesWebsiteSettingsResource.md +1 -1
  101. package/docs/AgencyHostingV1WebsitesWebsiteSftpDetailsResource.md +1 -1
  102. package/docs/AgencyHostingV1WebsitesWebsiteSshDetailsResource.md +1 -1
  103. package/docs/AgencyHostingV1WebsitesWebsiteStagingRootResource.md +1 -1
  104. package/docs/AgencyHostingV1WebsitesWebsiteUserResource.md +1 -1
  105. package/docs/AgencyHostingV1WebsitesWordPressInstallResource.md +1 -1
  106. package/docs/AgencyHostingV1WordPressChangeVersionRequest.md +1 -1
  107. package/docs/AgencyHostingV1WordPressSettingsResource.md +1 -1
  108. package/docs/AgencyHostingV1WordPressVersionResource.md +1 -1
  109. package/docs/AgencyHostingWebsiteSetupsApi.md +2 -2
  110. package/docs/AgencyHostingWebsitesApi.md +5 -5
  111. package/docs/AgencyHostingWordPressApi.md +3 -3
  112. package/docs/BillingCatalogApi.md +1 -1
  113. package/docs/BillingOrdersApi.md +1 -1
  114. package/docs/BillingPaymentMethodsApi.md +3 -3
  115. package/docs/BillingSubscriptionsApi.md +4 -4
  116. package/docs/BillingV1CatalogCatalogItemPriceResource.md +1 -1
  117. package/docs/BillingV1CatalogCatalogItemResource.md +1 -1
  118. package/docs/BillingV1OrderOrderBillingAddressResource.md +1 -1
  119. package/docs/BillingV1OrderOrderResource.md +1 -1
  120. package/docs/BillingV1OrderPurchaseRequest.md +1 -1
  121. package/docs/BillingV1OrderPurchaseRequestItemsInner.md +1 -1
  122. package/docs/BillingV1OrderVirtualMachineOrderResource.md +1 -1
  123. package/docs/BillingV1PaymentMethodPaymentMethodResource.md +1 -1
  124. package/docs/BillingV1SubscriptionCancelRequest.md +1 -1
  125. package/docs/BillingV1SubscriptionRenewalRenewRequest.md +1 -1
  126. package/docs/BillingV1SubscriptionSubscriptionResource.md +1 -1
  127. package/docs/CommonSchemaPaginationMetaSchema.md +1 -1
  128. package/docs/CommonSuccessEmptyResource.md +1 -1
  129. package/docs/DNSSnapshotApi.md +3 -3
  130. package/docs/DNSV1SnapshotSnapshotResource.md +1 -1
  131. package/docs/DNSV1SnapshotSnapshotWithContentResource.md +1 -1
  132. package/docs/DNSV1ZoneDestroyRequest.md +1 -1
  133. package/docs/DNSV1ZoneDestroyRequestFiltersInner.md +1 -1
  134. package/docs/DNSV1ZoneNameRecordResource.md +1 -1
  135. package/docs/DNSV1ZoneRecordResource.md +1 -1
  136. package/docs/DNSV1ZoneResetRequest.md +1 -1
  137. package/docs/DNSV1ZoneUpdateRequest.md +1 -1
  138. package/docs/DNSV1ZoneUpdateRequestZoneInner.md +1 -1
  139. package/docs/DNSV1ZoneUpdateRequestZoneInnerRecordsInner.md +1 -1
  140. package/docs/DNSZoneApi.md +5 -5
  141. package/docs/DomainAccessVerifierV2VerificationsActiveVerificationsCollection.md +1 -1
  142. package/docs/DomainAccessVerifierV2VerificationsActiveVerificationsCollectionData.md +1 -1
  143. package/docs/DomainAccessVerifierV2VerificationsActiveVerificationsCollectionDataPENDING.md +1 -1
  144. package/docs/DomainAccessVerifierV2VerificationsActiveVerificationsCollectionDataPENDINGDOMAINTLD.md +1 -1
  145. package/docs/DomainAccessVerifierV2VerificationsActiveVerificationsCollectionDataPENDINGDOMAINTLDVERIFICATIONTYPE.md +1 -1
  146. package/docs/DomainAccessVerifierV2VerificationsActiveVerificationsCollectionDataVERIFIED.md +1 -1
  147. package/docs/DomainAccessVerifierV2VerificationsActiveVerificationsCollectionDataVERIFIEDDOMAINTLD.md +1 -1
  148. package/docs/DomainAccessVerifierV2VerificationsActiveVerificationsCollectionDataVERIFIEDDOMAINTLDVERIFICATIONTYPE.md +1 -1
  149. package/docs/DomainAccessVerifierV2VerificationsListRequest.md +1 -1
  150. package/docs/DomainAccessVerifierVerificationsApi.md +1 -1
  151. package/docs/DomainsAvailabilityApi.md +3 -3
  152. package/docs/DomainsForwardingApi.md +4 -4
  153. package/docs/DomainsMoveApi.md +8 -8
  154. package/docs/DomainsPortfolioApi.md +11 -11
  155. package/docs/DomainsTransferApi.md +3 -3
  156. package/docs/DomainsV1AvailabilityAlternativesFromDescriptionRequest.md +1 -1
  157. package/docs/DomainsV1AvailabilityAlternativesFromDomainRequest.md +1 -1
  158. package/docs/DomainsV1AvailabilityAvailabilityRequest.md +1 -1
  159. package/docs/DomainsV1AvailabilityAvailabilityResource.md +1 -1
  160. package/docs/DomainsV1DomainDomainExtendedResource.md +1 -1
  161. package/docs/DomainsV1DomainDomainExtendedResourceDomainContacts.md +1 -1
  162. package/docs/DomainsV1DomainDomainExtendedResourceNameServers.md +1 -1
  163. package/docs/DomainsV1DomainDomainResource.md +1 -1
  164. package/docs/DomainsV1ForwardingForwardingResource.md +1 -1
  165. package/docs/DomainsV1ForwardingStoreRequest.md +1 -1
  166. package/docs/DomainsV1ForwardingUpdateRequest.md +1 -1
  167. package/docs/DomainsV1IRTPVerificationResource.md +1 -1
  168. package/docs/DomainsV1MoveIncomingUpdateRequest.md +1 -1
  169. package/docs/DomainsV1MoveIncomingUpdateRequestDomainContacts.md +1 -1
  170. package/docs/DomainsV1MoveMoveResource.md +1 -1
  171. package/docs/DomainsV1MoveOutgoingStoreRequest.md +1 -1
  172. package/docs/DomainsV1PortfolioAuthCodeAuthCodeResource.md +1 -1
  173. package/docs/DomainsV1PortfolioClaimRequest.md +1 -1
  174. package/docs/DomainsV1PortfolioClaimRequestDomainContacts.md +1 -1
  175. package/docs/DomainsV1PortfolioClaimResource.md +1 -1
  176. package/docs/DomainsV1PortfolioPurchaseRequest.md +1 -1
  177. package/docs/DomainsV1PortfolioRenewalRenewalInformationResource.md +1 -1
  178. package/docs/DomainsV1PortfolioUpdateNameserversRequest.md +1 -1
  179. package/docs/DomainsV1TransferClaimRequest.md +1 -1
  180. package/docs/DomainsV1TransferTransferResource.md +1 -1
  181. package/docs/DomainsV1WHOISChangeUpdateRequest.md +1 -1
  182. package/docs/DomainsV1WHOISProfileResource.md +1 -1
  183. package/docs/DomainsV1WHOISStoreRequest.md +1 -1
  184. package/docs/DomainsWHOISApi.md +10 -10
  185. package/docs/EcommerceDiscountsApi.md +2 -2
  186. package/docs/EcommerceGetStoresV1200Response.md +1 -1
  187. package/docs/EcommerceListDiscountsV1200Response.md +1 -1
  188. package/docs/EcommerceListProductVariantsV1200Response.md +1 -1
  189. package/docs/EcommerceListProductsV1200Response.md +1 -1
  190. package/docs/EcommerceListStoreOrdersV1200Response.md +1 -1
  191. package/docs/EcommerceMiscellaneousApi.md +1 -1
  192. package/docs/EcommerceOrdersApi.md +4 -4
  193. package/docs/EcommercePaymentsApi.md +3 -3
  194. package/docs/EcommerceProductVariantsApi.md +4 -4
  195. package/docs/EcommerceProductsApi.md +7 -7
  196. package/docs/EcommerceSalesChannelsApi.md +3 -3
  197. package/docs/EcommerceShippingApi.md +1 -1
  198. package/docs/EcommerceStoresApi.md +4 -4
  199. package/docs/EcommerceV1DiscountCreateDiscountRequest.md +1 -1
  200. package/docs/EcommerceV1DiscountDiscountResource.md +1 -1
  201. package/docs/EcommerceV1DiscountDiscountResponseResource.md +1 -1
  202. package/docs/EcommerceV1MiscellaneousCustomStorefrontInstructionsResource.md +1 -1
  203. package/docs/EcommerceV1OrderCancelRequest.md +1 -1
  204. package/docs/EcommerceV1OrderFulfillRequest.md +1 -1
  205. package/docs/EcommerceV1OrderFulfillRequestItemsInner.md +1 -1
  206. package/docs/EcommerceV1OrderOrderDetailResource.md +1 -1
  207. package/docs/EcommerceV1OrderOrderDetailResourceBillingAddress.md +1 -1
  208. package/docs/EcommerceV1OrderOrderDetailResourceFulfillmentsInner.md +1 -1
  209. package/docs/EcommerceV1OrderOrderDetailResourceFulfillmentsInnerTrackingInner.md +1 -1
  210. package/docs/EcommerceV1OrderOrderDetailResourceItemsInner.md +1 -1
  211. package/docs/EcommerceV1OrderOrderDetailResourceShippingAddress.md +1 -1
  212. package/docs/EcommerceV1OrderOrderDetailResponseResource.md +1 -1
  213. package/docs/EcommerceV1OrderOrderResource.md +1 -1
  214. package/docs/EcommerceV1OrderOrderResponseResource.md +1 -1
  215. package/docs/EcommerceV1PaymentEnableManualPaymentRequest.md +1 -1
  216. package/docs/EcommerceV1PaymentManualPaymentResource.md +1 -1
  217. package/docs/EcommerceV1PaymentManualPaymentResourcePaymentMethod.md +1 -1
  218. package/docs/EcommerceV1PaymentProviderPaymentProviderConnectLinkResource.md +1 -1
  219. package/docs/EcommerceV1PaymentProviderPaymentProviderConnectLinkResourceData.md +1 -1
  220. package/docs/EcommerceV1PaymentProviderPaymentProviderListResource.md +1 -1
  221. package/docs/EcommerceV1PaymentProviderPaymentProviderListResourceData.md +1 -1
  222. package/docs/EcommerceV1PaymentProviderPaymentProviderListResourceDataAvailableInner.md +1 -1
  223. package/docs/EcommerceV1PaymentProviderPaymentProviderListResourceDataConnectedInner.md +1 -1
  224. package/docs/EcommerceV1ProductCreateDigitalProductRequest.md +1 -1
  225. package/docs/EcommerceV1ProductCreatePhysicalProductRequest.md +1 -1
  226. package/docs/EcommerceV1ProductProductCreationResource.md +1 -1
  227. package/docs/EcommerceV1ProductProductCreationResourceProduct.md +1 -1
  228. package/docs/EcommerceV1ProductProductDeletedResource.md +1 -1
  229. package/docs/EcommerceV1ProductProductDeletedResourceData.md +1 -1
  230. package/docs/EcommerceV1ProductProductImageUploadResource.md +1 -1
  231. package/docs/EcommerceV1ProductProductImageUploadUrlResource.md +1 -1
  232. package/docs/EcommerceV1ProductProductResource.md +1 -1
  233. package/docs/EcommerceV1ProductProductResourceMediaInner.md +1 -1
  234. package/docs/EcommerceV1ProductProductResourcePriceRange.md +1 -1
  235. package/docs/EcommerceV1ProductProductResourceVariantsInner.md +1 -1
  236. package/docs/EcommerceV1ProductProductResourceVariantsInnerOptionsInner.md +1 -1
  237. package/docs/EcommerceV1ProductProductResourceVariantsInnerPricesInner.md +1 -1
  238. package/docs/EcommerceV1ProductProductResponseResource.md +1 -1
  239. package/docs/EcommerceV1ProductUpdateRequest.md +1 -1
  240. package/docs/EcommerceV1ProductUploadProductImageRequest.md +1 -1
  241. package/docs/EcommerceV1SalesChannelSalesChannelCreationResource.md +1 -1
  242. package/docs/EcommerceV1SalesChannelSalesChannelCreationResourceSalesChannel.md +1 -1
  243. package/docs/EcommerceV1SalesChannelSalesChannelListResource.md +1 -1
  244. package/docs/EcommerceV1SalesChannelSalesChannelListResourceSalesChannelsInner.md +1 -1
  245. package/docs/EcommerceV1SalesChannelSalesChannelUpdateResource.md +1 -1
  246. package/docs/EcommerceV1SalesChannelStoreRequest.md +1 -1
  247. package/docs/EcommerceV1SalesChannelUpdateRequest.md +1 -1
  248. package/docs/EcommerceV1ShippingSetShippingRequest.md +1 -1
  249. package/docs/EcommerceV1ShippingShippingResource.md +1 -1
  250. package/docs/EcommerceV1ShippingShippingResourceShippingOption.md +1 -1
  251. package/docs/EcommerceV1StoreStoreCreationResource.md +1 -1
  252. package/docs/EcommerceV1StoreStoreCreationResourceSalesChannel.md +1 -1
  253. package/docs/EcommerceV1StoreStoreCreationResourceStore.md +1 -1
  254. package/docs/EcommerceV1StoreStoreDeleteResource.md +1 -1
  255. package/docs/EcommerceV1StoreStoreMetadataResource.md +1 -1
  256. package/docs/EcommerceV1StoreStoreMetadataResourceMetadata.md +1 -1
  257. package/docs/EcommerceV1StoreStoreMetadataResourceMetadataDefaultCurrency.md +1 -1
  258. package/docs/EcommerceV1StoreStoreRequest.md +1 -1
  259. package/docs/EcommerceV1StoreStoreRequestSalesChannel.md +1 -1
  260. package/docs/EcommerceV1StoreStoreResource.md +1 -1
  261. package/docs/EcommerceV1VariantBatchUpdateVariantsRequest.md +1 -1
  262. package/docs/EcommerceV1VariantBatchUpdateVariantsRequestVariantsInner.md +1 -1
  263. package/docs/EcommerceV1VariantBatchUpdateVariantsRequestVariantsInnerPricesInner.md +1 -1
  264. package/docs/EcommerceV1VariantCreateVariantRequest.md +1 -1
  265. package/docs/EcommerceV1VariantCreateVariantRequestOptionsInner.md +1 -1
  266. package/docs/EcommerceV1VariantCreateVariantRequestPricesInner.md +1 -1
  267. package/docs/EcommerceV1VariantVariantDeletedResource.md +1 -1
  268. package/docs/EcommerceV1VariantVariantDeletedResourceData.md +1 -1
  269. package/docs/EcommerceV1VariantVariantListResponseResource.md +1 -1
  270. package/docs/EcommerceV1VariantVariantResource.md +1 -1
  271. package/docs/EcommerceV1VariantVariantResourceOptionsInner.md +1 -1
  272. package/docs/EcommerceV1VariantVariantResponseResource.md +1 -1
  273. package/docs/HorizonsV1WebsitesCreateWebsiteRequest.md +1 -1
  274. package/docs/HorizonsV1WebsitesCreateWebsiteRequestMessageInner.md +1 -1
  275. package/docs/HorizonsV1WebsitesCreatedWebsiteResource.md +1 -1
  276. package/docs/HorizonsV1WebsitesWebsiteUrlResource.md +1 -1
  277. package/docs/HorizonsWebsitesApi.md +2 -2
  278. package/docs/HostingCacheApi.md +3 -3
  279. package/docs/HostingCronJobsApi.md +4 -4
  280. package/docs/HostingDatabasesApi.md +9 -9
  281. package/docs/HostingDatacentersApi.md +1 -1
  282. package/docs/HostingDomainsApi.md +8 -8
  283. package/docs/HostingFilesApi.md +3 -3
  284. package/docs/HostingListAccountDatabasesV1200Response.md +1 -1
  285. package/docs/HostingListNodeJSBuildsV1200Response.md +1 -1
  286. package/docs/HostingListOrdersV1200Response.md +1 -1
  287. package/docs/HostingListWebsiteRedirectsV1200Response.md +1 -1
  288. package/docs/HostingListWebsitesV1200Response.md +1 -1
  289. package/docs/HostingNodeJSApi.md +126 -7
  290. package/docs/HostingOrdersApi.md +1 -1
  291. package/docs/HostingPHPApi.md +6 -6
  292. package/docs/HostingRedirectsApi.md +3 -3
  293. package/docs/HostingV1CacheToggleCacheRequest.md +1 -1
  294. package/docs/HostingV1CacheToggleCachelessModeRequest.md +1 -1
  295. package/docs/HostingV1CronJobsCreateCronJobRequest.md +1 -1
  296. package/docs/HostingV1CronJobsCronJobOutputResource.md +1 -1
  297. package/docs/HostingV1CronJobsCronJobResource.md +1 -1
  298. package/docs/HostingV1DatabasesChangeDatabasePasswordRequest.md +1 -1
  299. package/docs/HostingV1DatabasesCreateDatabaseRequest.md +1 -1
  300. package/docs/HostingV1DatabasesDatabaseResource.md +1 -1
  301. package/docs/HostingV1DatabasesPhpMyAdminLinkResource.md +1 -1
  302. package/docs/HostingV1DatabasesRemoteConnectionsCreateRemoteConnectionRequest.md +1 -1
  303. package/docs/HostingV1DatabasesRemoteConnectionsRemoteConnectionResource.md +1 -1
  304. package/docs/HostingV1DatacenterCoordinatesResource.md +1 -1
  305. package/docs/HostingV1DatacenterDatacenterResource.md +1 -1
  306. package/docs/HostingV1DatacentersListRequest.md +1 -1
  307. package/docs/HostingV1DomainsCreateParkedDomainRequest.md +1 -1
  308. package/docs/HostingV1DomainsCreateSubdomainRequest.md +1 -1
  309. package/docs/HostingV1DomainsDomainAccessResource.md +1 -1
  310. package/docs/HostingV1DomainsFreeSubdomainResource.md +1 -1
  311. package/docs/HostingV1DomainsParkedDomainResource.md +1 -1
  312. package/docs/HostingV1DomainsSubdomainResource.md +1 -1
  313. package/docs/HostingV1DomainsVerifyOwnershipRequest.md +1 -1
  314. package/docs/HostingV1FilesFileContentResource.md +1 -1
  315. package/docs/HostingV1FilesFilesResource.md +1 -1
  316. package/docs/HostingV1FilesFilesResourceItemsInner.md +1 -1
  317. package/docs/HostingV1FilesGenerateUploadUrlRequest.md +1 -1
  318. package/docs/HostingV1FilesUploadUrlResource.md +1 -1
  319. package/docs/HostingV1NodeJsBuildLogsResource.md +1 -1
  320. package/docs/HostingV1NodeJsBuildOptionsResource.md +1 -1
  321. package/docs/HostingV1NodeJsBuildResource.md +1 -1
  322. package/docs/HostingV1NodeJsBuildSettingsResource.md +1 -1
  323. package/docs/HostingV1NodeJsCreateFromArchiveRequest.md +1 -1
  324. package/docs/HostingV1NodeJsEnvVarResource.md +22 -0
  325. package/docs/HostingV1NodeJsGetBuildSettingsRequest.md +1 -1
  326. package/docs/HostingV1NodeJsPatchResultResource.md +1 -1
  327. package/docs/HostingV1NodeJsPatchVulnerabilitiesRequest.md +1 -1
  328. package/docs/HostingV1NodeJsSetBuildEnvVarsRequest.md +20 -0
  329. package/docs/HostingV1NodeJsSetBuildEnvVarsRequestEnvVarsInner.md +22 -0
  330. package/docs/HostingV1NodeJsSourceOptionsResource.md +1 -1
  331. package/docs/HostingV1NodeJsStartBuildRequest.md +1 -1
  332. package/docs/HostingV1NodeJsStartBuildRequestSourceOptions.md +1 -1
  333. package/docs/HostingV1NodeJsVulnerabilityResource.md +1 -1
  334. package/docs/HostingV1OrdersOrderResource.md +1 -1
  335. package/docs/HostingV1OrdersPlanResource.md +1 -1
  336. package/docs/HostingV1PhpPhpDetailsResource.md +1 -1
  337. package/docs/HostingV1PhpPhpInfoResource.md +1 -1
  338. package/docs/HostingV1PhpPhpOptionResource.md +1 -1
  339. package/docs/HostingV1PhpPhpVersionsResource.md +1 -1
  340. package/docs/HostingV1PhpUpdatePhpExtensionsRequest.md +1 -1
  341. package/docs/HostingV1PhpUpdatePhpOptionsRequest.md +1 -1
  342. package/docs/HostingV1PhpUpdatePhpOptionsRequestOptionsValue.md +1 -1
  343. package/docs/HostingV1PhpUpdatePhpVersionRequest.md +1 -1
  344. package/docs/HostingV1RedirectsCreateRedirectRequest.md +1 -1
  345. package/docs/HostingV1RedirectsDeleteRedirectRequest.md +1 -1
  346. package/docs/HostingV1RedirectsRedirectResource.md +1 -1
  347. package/docs/HostingV1WebsitesCreateWebsiteRequest.md +1 -1
  348. package/docs/HostingV1WebsitesDeployArchiveRequest.md +1 -1
  349. package/docs/HostingV1WebsitesWebsiteResource.md +1 -1
  350. package/docs/HostingWebsitesApi.md +4 -4
  351. package/docs/InlineObject.md +1 -1
  352. package/docs/InlineObject1.md +1 -1
  353. package/docs/InlineObject2.md +1 -1
  354. package/docs/InlineObject2Errors.md +1 -1
  355. package/docs/MailAPITokensApi.md +3 -3
  356. package/docs/MailAliasesApi.md +3 -3
  357. package/docs/MailAutorepliesApi.md +4 -4
  358. package/docs/MailCatchallsApi.md +4 -4
  359. package/docs/MailForwardersApi.md +5 -5
  360. package/docs/MailListAPITokensV1200Response.md +1 -1
  361. package/docs/MailListAccessLogsV1200Response.md +1 -1
  362. package/docs/MailListActionLogsV1200Response.md +1 -1
  363. package/docs/MailListAliasesV1200Response.md +1 -1
  364. package/docs/MailListAutorepliesV1200Response.md +1 -1
  365. package/docs/MailListCatchAllsV1200Response.md +1 -1
  366. package/docs/MailListForwardersV1200Response.md +1 -1
  367. package/docs/MailListInboundLogsV1200Response.md +1 -1
  368. package/docs/MailListMailboxActionLogsV1200Response.md +1 -1
  369. package/docs/MailListMailboxesV1200Response.md +1 -1
  370. package/docs/MailListOrdersV1200Response.md +1 -1
  371. package/docs/MailListWebhookDeliveryLogsV1200Response.md +1 -1
  372. package/docs/MailListWebhooksV1200Response.md +1 -1
  373. package/docs/MailLogsApi.md +5 -5
  374. package/docs/MailMailboxesApi.md +4 -4
  375. package/docs/MailOrdersApi.md +2 -2
  376. package/docs/MailV1AliasesAliasMailboxResource.md +1 -1
  377. package/docs/MailV1AliasesAliasResource.md +1 -1
  378. package/docs/MailV1ApiTokensApiTokenCreatedResource.md +1 -1
  379. package/docs/MailV1ApiTokensApiTokenMailboxResource.md +1 -1
  380. package/docs/MailV1ApiTokensApiTokenResource.md +1 -1
  381. package/docs/MailV1ApiTokensApiTokenScopeResource.md +1 -1
  382. package/docs/MailV1AutorepliesAutoreplyMailboxResource.md +1 -1
  383. package/docs/MailV1AutorepliesAutoreplyResource.md +1 -1
  384. package/docs/MailV1CatchallsCatchallMailboxResource.md +1 -1
  385. package/docs/MailV1CatchallsCatchallResource.md +1 -1
  386. package/docs/MailV1ForwardersForwarderMailboxResource.md +1 -1
  387. package/docs/MailV1ForwardersForwarderResource.md +1 -1
  388. package/docs/MailV1LogsAccessAccessLogResource.md +1 -1
  389. package/docs/MailV1LogsActionActionLogResource.md +1 -1
  390. package/docs/MailV1LogsCommonDeliveryLogRelayEventResource.md +1 -1
  391. package/docs/MailV1LogsCommonDeliveryLogResource.md +1 -1
  392. package/docs/MailV1LogsMailboxActionsMailboxActionLogResource.md +1 -1
  393. package/docs/MailV1MailboxesMailboxCountsResource.md +1 -1
  394. package/docs/MailV1MailboxesMailboxProtocolsResource.md +1 -1
  395. package/docs/MailV1MailboxesMailboxResource.md +1 -1
  396. package/docs/MailV1MailboxesMailboxUsageResource.md +1 -1
  397. package/docs/MailV1OrdersOrderDomainResource.md +1 -1
  398. package/docs/MailV1OrdersOrderPlanResource.md +1 -1
  399. package/docs/MailV1OrdersOrderResource.md +1 -1
  400. package/docs/MailV1OrdersPlanDomainResource.md +1 -1
  401. package/docs/MailV1OrdersPlanMailboxResource.md +1 -1
  402. package/docs/MailV1OrdersPlanResource.md +1 -1
  403. package/docs/MailV1SchemaChangeMailboxPasswordRequestSchema.md +1 -1
  404. package/docs/MailV1SchemaCreateAliasRequestSchema.md +1 -1
  405. package/docs/MailV1SchemaCreateApiTokenRequestSchema.md +1 -1
  406. package/docs/MailV1SchemaCreateApiTokenRequestSchemaScope.md +1 -1
  407. package/docs/MailV1SchemaCreateForwarderRequestSchema.md +1 -1
  408. package/docs/MailV1SchemaCreateMailboxRequestSchema.md +1 -1
  409. package/docs/MailV1SchemaCreateWebhookRequestSchema.md +1 -1
  410. package/docs/MailV1SchemaUpdateForwarderKeepCopyRequestSchema.md +1 -1
  411. package/docs/MailV1SchemaUpdateWebhookRequestSchema.md +1 -1
  412. package/docs/MailV1SchemaUpsertAutoreplyRequestSchema.md +1 -1
  413. package/docs/MailV1WebhooksWebhookCreatedResource.md +1 -1
  414. package/docs/MailV1WebhooksWebhookDeliveryLogResource.md +1 -1
  415. package/docs/MailV1WebhooksWebhookMailboxResource.md +1 -1
  416. package/docs/MailV1WebhooksWebhookResource.md +1 -1
  417. package/docs/MailV1WebhooksWebhookSecretResource.md +1 -1
  418. package/docs/MailV1WebhooksWebhookTestResultResource.md +1 -1
  419. package/docs/MailWebhooksApi.md +8 -8
  420. package/docs/ReachAutomationsApi.md +3 -3
  421. package/docs/ReachCampaignsApi.md +3 -3
  422. package/docs/ReachContactFieldsApi.md +4 -4
  423. package/docs/ReachContactsApi.md +10 -10
  424. package/docs/ReachFormsApi.md +3 -3
  425. package/docs/ReachListAutomationsV1200Response.md +1 -1
  426. package/docs/ReachListCampaignsV1200Response.md +1 -1
  427. package/docs/ReachListContactsV1200Response.md +1 -1
  428. package/docs/ReachListFormsV1200Response.md +1 -1
  429. package/docs/ReachListProfileContactsV1200Response.md +1 -1
  430. package/docs/ReachListProfileSegmentContactsV1200Response.md +1 -1
  431. package/docs/ReachListProfileSegmentsV1200Response.md +1 -1
  432. package/docs/ReachProfilesApi.md +5 -5
  433. package/docs/ReachSegmentsApi.md +13 -13
  434. package/docs/ReachTagsApi.md +8 -8
  435. package/docs/ReachV1AutomationsAutomationEventsResource.md +1 -1
  436. package/docs/ReachV1AutomationsAutomationResource.md +1 -1
  437. package/docs/ReachV1AutomationsStepsAutomationStepResource.md +1 -1
  438. package/docs/ReachV1CampaignsCampaignDeliveryResource.md +1 -1
  439. package/docs/ReachV1CampaignsCampaignDetailsResource.md +1 -1
  440. package/docs/ReachV1CampaignsCampaignResource.md +1 -1
  441. package/docs/ReachV1CampaignsCampaignStatisticsResource.md +1 -1
  442. package/docs/ReachV1CampaignsCampaignSummaryStatisticsResource.md +1 -1
  443. package/docs/ReachV1ContactsBulkStoreRequest.md +1 -1
  444. package/docs/ReachV1ContactsBulkStoreRequestContactsInner.md +1 -1
  445. package/docs/ReachV1ContactsContactDetailsResource.md +1 -1
  446. package/docs/ReachV1ContactsContactResource.md +1 -1
  447. package/docs/ReachV1ContactsFieldsContactFieldOptionResource.md +1 -1
  448. package/docs/ReachV1ContactsFieldsContactFieldResource.md +1 -1
  449. package/docs/ReachV1ContactsFieldsContactFieldValueResource.md +1 -1
  450. package/docs/ReachV1ContactsFieldsStoreRequest.md +1 -1
  451. package/docs/ReachV1ContactsFieldsUpdateRequest.md +1 -1
  452. package/docs/ReachV1ContactsFieldsUpdateRequestOptionsInner.md +1 -1
  453. package/docs/ReachV1ContactsGroupsContactGroupResource.md +1 -1
  454. package/docs/ReachV1ContactsProfileContactResource.md +1 -1
  455. package/docs/ReachV1ContactsProfileContactUpdateResource.md +1 -1
  456. package/docs/ReachV1ContactsSegmentsContactSegmentResource.md +1 -1
  457. package/docs/ReachV1ContactsSegmentsProfileFilterContactsRequest.md +1 -1
  458. package/docs/ReachV1ContactsSegmentsProfileFilterContactsRequestConditionsInner.md +1 -1
  459. package/docs/ReachV1ContactsSegmentsProfileStoreRequest.md +1 -1
  460. package/docs/ReachV1ContactsSegmentsProfileStoreRequestConditionsInner.md +1 -1
  461. package/docs/ReachV1ContactsSegmentsProfileUpdateRequest.md +1 -1
  462. package/docs/ReachV1ContactsSegmentsSegmentContactsCountResource.md +1 -1
  463. package/docs/ReachV1ContactsSegmentsSegmentFilterAttributeResource.md +1 -1
  464. package/docs/ReachV1ContactsSegmentsSegmentFilterAttributesResource.md +1 -1
  465. package/docs/ReachV1ContactsSegmentsSegmentFilterOperatorResource.md +1 -1
  466. package/docs/ReachV1ContactsSegmentsSegmentListItemResource.md +1 -1
  467. package/docs/ReachV1ContactsSegmentsSegmentResource.md +1 -1
  468. package/docs/ReachV1ContactsSegmentsSegmentationContactResource.md +1 -1
  469. package/docs/ReachV1ContactsSegmentsStoreRequest.md +1 -1
  470. package/docs/ReachV1ContactsSegmentsStoreRequestConditionsInner.md +1 -1
  471. package/docs/ReachV1ContactsSegmentsStoreRequestConditionsInnerValue.md +1 -1
  472. package/docs/ReachV1ContactsStoreRequest.md +1 -1
  473. package/docs/ReachV1ContactsTagsManageContactsRequest.md +1 -1
  474. package/docs/ReachV1ContactsTagsStoreRequest.md +1 -1
  475. package/docs/ReachV1ContactsTagsTagResource.md +1 -1
  476. package/docs/ReachV1ContactsTagsUpdateRequest.md +1 -1
  477. package/docs/ReachV1ContactsUpdateRequest.md +1 -1
  478. package/docs/ReachV1ContactsUpdateRequestFieldsInner.md +1 -1
  479. package/docs/ReachV1FormsFormDetailsResource.md +1 -1
  480. package/docs/ReachV1FormsFormResource.md +1 -1
  481. package/docs/ReachV1FormsFormTagResource.md +1 -1
  482. package/docs/ReachV1FormsFormTemplateDetailsResource.md +1 -1
  483. package/docs/ReachV1FormsFormTemplateResource.md +1 -1
  484. package/docs/ReachV1ProfilesDomainsDnsRecordStatus.md +1 -1
  485. package/docs/ReachV1ProfilesDomainsDnsRecordStatusActualInner.md +1 -1
  486. package/docs/ReachV1ProfilesDomainsDnsRecordStatusSuggestedInner.md +1 -1
  487. package/docs/ReachV1ProfilesDomainsDnsStatusResource.md +1 -1
  488. package/docs/ReachV1ProfilesDomainsSendingDomainResource.md +1 -1
  489. package/docs/ReachV1ProfilesDomainsSuspendedSenderEmailResource.md +1 -1
  490. package/docs/ReachV1ProfilesFeaturesPlanFeatureResource.md +1 -1
  491. package/docs/ReachV1ProfilesPlanLimitUsageResource.md +1 -1
  492. package/docs/ReachV1ProfilesPlanLimitsResource.md +1 -1
  493. package/docs/ReachV1ProfilesProfileResource.md +1 -1
  494. package/docs/ReachV1ProfilesProfileResourceLimits.md +1 -1
  495. package/docs/ReachV1ProfilesProfileResourceProfilesInner.md +1 -1
  496. package/docs/VPSActionsApi.md +2 -2
  497. package/docs/VPSBackupsApi.md +2 -2
  498. package/docs/VPSDataCentersApi.md +1 -1
  499. package/docs/VPSDockerManagerApi.md +10 -10
  500. package/docs/VPSFirewallApi.md +10 -10
  501. package/docs/VPSMalwareScannerApi.md +3 -3
  502. package/docs/VPSOSTemplatesApi.md +2 -2
  503. package/docs/VPSPTRRecordsApi.md +2 -2
  504. package/docs/VPSPostInstallScriptsApi.md +5 -5
  505. package/docs/VPSPublicKeysApi.md +4 -4
  506. package/docs/VPSRecoveryApi.md +2 -2
  507. package/docs/VPSSnapshotsApi.md +4 -4
  508. package/docs/VPSV1ActionActionResource.md +1 -1
  509. package/docs/VPSV1ActionListResponse.md +1 -1
  510. package/docs/VPSV1BackupBackupResource.md +1 -1
  511. package/docs/VPSV1BackupListResponse.md +1 -1
  512. package/docs/VPSV1DataCenterDataCenterResource.md +1 -1
  513. package/docs/VPSV1DockerManagerContainerPortResource.md +1 -1
  514. package/docs/VPSV1DockerManagerContainerResource.md +1 -1
  515. package/docs/VPSV1DockerManagerContainerStatsResource.md +1 -1
  516. package/docs/VPSV1DockerManagerContentResource.md +1 -1
  517. package/docs/VPSV1DockerManagerLogEntryResource.md +1 -1
  518. package/docs/VPSV1DockerManagerLogsResource.md +1 -1
  519. package/docs/VPSV1DockerManagerProjectResource.md +1 -1
  520. package/docs/VPSV1FirewallFirewallResource.md +1 -1
  521. package/docs/VPSV1FirewallFirewallRuleResource.md +1 -1
  522. package/docs/VPSV1FirewallListResponse.md +1 -1
  523. package/docs/VPSV1FirewallRulesStoreRequest.md +1 -1
  524. package/docs/VPSV1FirewallStoreRequest.md +1 -1
  525. package/docs/VPSV1IPAddressIPAddressResource.md +1 -1
  526. package/docs/VPSV1MalwareMetricsResource.md +1 -1
  527. package/docs/VPSV1MetricsMetricsCollection.md +1 -1
  528. package/docs/VPSV1MetricsMetricsResource.md +1 -1
  529. package/docs/VPSV1PostInstallScriptListResponse.md +1 -1
  530. package/docs/VPSV1PostInstallScriptPostInstallScriptResource.md +1 -1
  531. package/docs/VPSV1PostInstallScriptStoreRequest.md +1 -1
  532. package/docs/VPSV1PublicKeyAttachRequest.md +1 -1
  533. package/docs/VPSV1PublicKeyListResponse.md +1 -1
  534. package/docs/VPSV1PublicKeyPublicKeyResource.md +1 -1
  535. package/docs/VPSV1PublicKeyStoreRequest.md +1 -1
  536. package/docs/VPSV1SnapshotSnapshotResource.md +1 -1
  537. package/docs/VPSV1TemplateTemplateResource.md +1 -1
  538. package/docs/VPSV1VirtualMachineDockerManagerUpRequest.md +1 -1
  539. package/docs/VPSV1VirtualMachineHostnameUpdateRequest.md +1 -1
  540. package/docs/VPSV1VirtualMachineMetricGetRequest.md +1 -1
  541. package/docs/VPSV1VirtualMachineNameserversUpdateRequest.md +1 -1
  542. package/docs/VPSV1VirtualMachinePTRStoreRequest.md +1 -1
  543. package/docs/VPSV1VirtualMachinePanelPasswordUpdateRequest.md +1 -1
  544. package/docs/VPSV1VirtualMachinePurchaseRequest.md +1 -1
  545. package/docs/VPSV1VirtualMachineRecoveryStartRequest.md +1 -1
  546. package/docs/VPSV1VirtualMachineRecreateRequest.md +1 -1
  547. package/docs/VPSV1VirtualMachineRootPasswordUpdateRequest.md +1 -1
  548. package/docs/VPSV1VirtualMachineSetupRequest.md +1 -1
  549. package/docs/VPSV1VirtualMachineSetupRequestPublicKey.md +1 -1
  550. package/docs/VPSV1VirtualMachineVirtualMachineResource.md +1 -1
  551. package/docs/VPSVirtualMachineApi.md +15 -15
  552. package/docs/WordPressAIToolsApi.md +2 -2
  553. package/docs/WordPressInstallationsApi.md +10 -10
  554. package/docs/WordPressLiteSpeedCacheApi.md +2 -2
  555. package/docs/WordPressLoginApi.md +1 -1
  556. package/docs/WordPressMaintenanceApi.md +2 -2
  557. package/docs/WordPressObjectCacheApi.md +2 -2
  558. package/docs/WordPressPluginsApi.md +12 -12
  559. package/docs/WordPressThemesApi.md +7 -7
  560. package/docs/WordPressV1CommonVulnerabilityResource.md +1 -1
  561. package/docs/WordPressV1HostingerPluginsAiOptionStatusResource.md +1 -1
  562. package/docs/WordPressV1HostingerPluginsUpdateAiOptionStatusRequest.md +1 -1
  563. package/docs/WordPressV1InstallationsCheckIsValidRequest.md +1 -1
  564. package/docs/WordPressV1InstallationsCheckIsValidResultResource.md +1 -1
  565. package/docs/WordPressV1InstallationsDeleteInstallationRequest.md +1 -1
  566. package/docs/WordPressV1InstallationsImportWordPressRequest.md +1 -1
  567. package/docs/WordPressV1InstallationsInstallWordPressRequest.md +1 -1
  568. package/docs/WordPressV1InstallationsInstallWordPressRequestCredentials.md +1 -1
  569. package/docs/WordPressV1InstallationsInstallWordPressRequestDatabase.md +1 -1
  570. package/docs/WordPressV1InstallationsJwtTokenResource.md +1 -1
  571. package/docs/WordPressV1InstallationsUpdateInstallationRequest.md +1 -1
  572. package/docs/WordPressV1InstallationsUpdateResource.md +1 -1
  573. package/docs/WordPressV1InstallationsVersionResource.md +1 -1
  574. package/docs/WordPressV1InstallationsWordPressInstallationResource.md +1 -1
  575. package/docs/WordPressV1InstallationsWordPressMcpDetailsResource.md +1 -1
  576. package/docs/WordPressV1InstallationsWordPressMcpInstallationResource.md +1 -1
  577. package/docs/WordPressV1LitespeedLitespeedCacheStatusResource.md +1 -1
  578. package/docs/WordPressV1LoginLoginLinksResource.md +1 -1
  579. package/docs/WordPressV1MaintenanceMaintenanceStatusResource.md +1 -1
  580. package/docs/WordPressV1MaintenanceToggleMaintenanceRequest.md +1 -1
  581. package/docs/WordPressV1MemcachedMemcachedStatusResource.md +1 -1
  582. package/docs/WordPressV1MemcachedToggleMemcachedRequest.md +1 -1
  583. package/docs/WordPressV1PluginsActivatePluginRequest.md +1 -1
  584. package/docs/WordPressV1PluginsAvailablePluginResource.md +1 -1
  585. package/docs/WordPressV1PluginsDeactivatePluginRequest.md +1 -1
  586. package/docs/WordPressV1PluginsDeployPluginRequest.md +1 -1
  587. package/docs/WordPressV1PluginsInstallPluginsRequest.md +1 -1
  588. package/docs/WordPressV1PluginsInstalledPluginResource.md +1 -1
  589. package/docs/WordPressV1PluginsPluginResource.md +1 -1
  590. package/docs/WordPressV1PluginsPluginResourceIcons.md +1 -1
  591. package/docs/WordPressV1PluginsSuggestedPluginGroupResource.md +1 -1
  592. package/docs/WordPressV1PluginsSuggestedPluginResource.md +1 -1
  593. package/docs/WordPressV1PluginsUninstallPluginsRequest.md +1 -1
  594. package/docs/WordPressV1PluginsUpdateHostingerPluginRequest.md +1 -1
  595. package/docs/WordPressV1PluginsUpdatePluginsRequest.md +1 -1
  596. package/docs/WordPressV1PluginsWoocommerceInstalledResource.md +1 -1
  597. package/docs/WordPressV1ThemesActivateThemeRequest.md +1 -1
  598. package/docs/WordPressV1ThemesDeployThemeRequest.md +1 -1
  599. package/docs/WordPressV1ThemesInstallThemeRequest.md +1 -1
  600. package/docs/WordPressV1ThemesInstalledThemeResource.md +1 -1
  601. package/docs/WordPressV1ThemesThemeResource.md +1 -1
  602. package/docs/WordPressV1ThemesUninstallThemesRequest.md +1 -1
  603. package/docs/WordPressV1ThemesUpdateThemesRequest.md +1 -1
  604. package/index.ts +1 -1
  605. package/package.json +1 -1
@@ -63,6 +63,22 @@ jobs:
63
63
  - name: Publish package
64
64
  run: npm publish --provenance --access public
65
65
 
66
+ # The package was published unscoped before moving to @hostinger. Republish
67
+ # each release under the old name so existing installs keep updating.
68
+ # Both names point their npm trusted publisher at this workflow file, which
69
+ # is what the config keys on — the job/step it runs in is not part of it.
70
+ # hostinger-api-sdk is substituted by scripts/post-typescript-axios.sh and
71
+ # is empty for an API that never had an unscoped package.
72
+ - name: Publish legacy unscoped alias
73
+ run: |
74
+ LEGACY='hostinger-api-sdk'
75
+ if [ -z "$LEGACY" ]; then
76
+ echo "No legacy npm name configured — nothing to alias."
77
+ exit 0
78
+ fi
79
+ jq --arg n "$LEGACY" '.name = $n' package.json > pkg.tmp && mv pkg.tmp package.json
80
+ npm publish --provenance --access public
81
+
66
82
  publish-github:
67
83
  runs-on: ubuntu-latest
68
84
  needs: [release]
package/README.md CHANGED
@@ -1,9 +1,9 @@
1
- ## hostinger-api-sdk@1.42.0
1
+ ## @hostinger/sdk@1.44.0
2
2
 
3
3
  For more information, please visit [https://developers.hostinger.com](https://developers.hostinger.com).
4
4
 
5
5
  ### Usage
6
6
 
7
7
  ```
8
- npm install hostinger-api-sdk@1.42.0 --save
8
+ npm install @hostinger/sdk@1.44.0 --save
9
9
  ```
package/api.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * Hostinger API
5
5
  *
6
- * API Version: 1.43.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
@@ -7563,6 +7563,25 @@ export const HostingV1NodeJsCreateFromArchiveRequestPackageManagerEnum = {
7563
7563
 
7564
7564
  export type HostingV1NodeJsCreateFromArchiveRequestPackageManagerEnum = typeof HostingV1NodeJsCreateFromArchiveRequestPackageManagerEnum[keyof typeof HostingV1NodeJsCreateFromArchiveRequestPackageManagerEnum];
7565
7565
 
7566
+ /**
7567
+ *
7568
+ * @export
7569
+ * @interface HostingV1NodeJsEnvVarResource
7570
+ */
7571
+ export interface HostingV1NodeJsEnvVarResource {
7572
+ /**
7573
+ * Environment variable name
7574
+ * @type {string}
7575
+ * @memberof HostingV1NodeJsEnvVarResource
7576
+ */
7577
+ 'key': string;
7578
+ /**
7579
+ * Always the literal string ********. Real values cannot be read back through this API.
7580
+ * @type {string}
7581
+ * @memberof HostingV1NodeJsEnvVarResource
7582
+ */
7583
+ 'value': string;
7584
+ }
7566
7585
  /**
7567
7586
  *
7568
7587
  * @export
@@ -7620,6 +7639,38 @@ export interface HostingV1NodeJsPatchVulnerabilitiesRequest {
7620
7639
  */
7621
7640
  'vulnerability_ids': Array<string>;
7622
7641
  }
7642
+ /**
7643
+ *
7644
+ * @export
7645
+ * @interface HostingV1NodeJsSetBuildEnvVarsRequest
7646
+ */
7647
+ export interface HostingV1NodeJsSetBuildEnvVarsRequest {
7648
+ /**
7649
+ * Environment variables to set. This is the full desired set: any variable not in this list is deleted, and an empty array deletes every variable.
7650
+ * @type {Array<HostingV1NodeJsSetBuildEnvVarsRequestEnvVarsInner>}
7651
+ * @memberof HostingV1NodeJsSetBuildEnvVarsRequest
7652
+ */
7653
+ 'env_vars': Array<HostingV1NodeJsSetBuildEnvVarsRequestEnvVarsInner>;
7654
+ }
7655
+ /**
7656
+ *
7657
+ * @export
7658
+ * @interface HostingV1NodeJsSetBuildEnvVarsRequestEnvVarsInner
7659
+ */
7660
+ export interface HostingV1NodeJsSetBuildEnvVarsRequestEnvVarsInner {
7661
+ /**
7662
+ * Environment variable name. Must start with an uppercase letter or underscore, followed by uppercase letters, digits or underscores.
7663
+ * @type {string}
7664
+ * @memberof HostingV1NodeJsSetBuildEnvVarsRequestEnvVarsInner
7665
+ */
7666
+ 'key': string;
7667
+ /**
7668
+ * Environment variable value.
7669
+ * @type {string}
7670
+ * @memberof HostingV1NodeJsSetBuildEnvVarsRequestEnvVarsInner
7671
+ */
7672
+ 'value': string;
7673
+ }
7623
7674
  /**
7624
7675
  *
7625
7676
  * @export
@@ -29785,6 +29836,48 @@ export const HostingNodeJSApiAxiosParamCreator = function (configuration?: Confi
29785
29836
 
29786
29837
 
29787
29838
 
29839
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
29840
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
29841
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
29842
+
29843
+ return {
29844
+ url: toPathString(localVarUrlObj),
29845
+ options: localVarRequestOptions,
29846
+ };
29847
+ },
29848
+ /**
29849
+ * 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.
29850
+ * @summary List Node.js environment variables
29851
+ * @param {string} username
29852
+ * @param {string} domain Domain name
29853
+ * @param {*} [options] Override http request option.
29854
+ * @throws {RequiredError}
29855
+ */
29856
+ listNodeJsEnvironmentVariablesV1: async (username: string, domain: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
29857
+ // verify required parameter 'username' is not null or undefined
29858
+ assertParamExists('listNodeJsEnvironmentVariablesV1', 'username', username)
29859
+ // verify required parameter 'domain' is not null or undefined
29860
+ assertParamExists('listNodeJsEnvironmentVariablesV1', 'domain', domain)
29861
+ const localVarPath = `/api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/builds/settings/env`
29862
+ .replace(`{${"username"}}`, encodeURIComponent(String(username)))
29863
+ .replace(`{${"domain"}}`, encodeURIComponent(String(domain)));
29864
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
29865
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
29866
+ let baseOptions;
29867
+ if (configuration) {
29868
+ baseOptions = configuration.baseOptions;
29869
+ }
29870
+
29871
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
29872
+ const localVarHeaderParameter = {} as any;
29873
+ const localVarQueryParameter = {} as any;
29874
+
29875
+ // authentication apiToken required
29876
+ // http bearer authentication required
29877
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
29878
+
29879
+
29880
+
29788
29881
  setSearchParams(localVarUrlObj, localVarQueryParameter);
29789
29882
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
29790
29883
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -29889,6 +29982,54 @@ export const HostingNodeJSApiAxiosParamCreator = function (configuration?: Confi
29889
29982
  options: localVarRequestOptions,
29890
29983
  };
29891
29984
  },
29985
+ /**
29986
+ * 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.
29987
+ * @summary Replace Node.js environment variables
29988
+ * @param {string} username
29989
+ * @param {string} domain Domain name
29990
+ * @param {HostingV1NodeJsSetBuildEnvVarsRequest} hostingV1NodeJsSetBuildEnvVarsRequest
29991
+ * @param {*} [options] Override http request option.
29992
+ * @throws {RequiredError}
29993
+ */
29994
+ replaceNodeJsEnvironmentVariablesV1: async (username: string, domain: string, hostingV1NodeJsSetBuildEnvVarsRequest: HostingV1NodeJsSetBuildEnvVarsRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
29995
+ // verify required parameter 'username' is not null or undefined
29996
+ assertParamExists('replaceNodeJsEnvironmentVariablesV1', 'username', username)
29997
+ // verify required parameter 'domain' is not null or undefined
29998
+ assertParamExists('replaceNodeJsEnvironmentVariablesV1', 'domain', domain)
29999
+ // verify required parameter 'hostingV1NodeJsSetBuildEnvVarsRequest' is not null or undefined
30000
+ assertParamExists('replaceNodeJsEnvironmentVariablesV1', 'hostingV1NodeJsSetBuildEnvVarsRequest', hostingV1NodeJsSetBuildEnvVarsRequest)
30001
+ const localVarPath = `/api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/builds/settings/env`
30002
+ .replace(`{${"username"}}`, encodeURIComponent(String(username)))
30003
+ .replace(`{${"domain"}}`, encodeURIComponent(String(domain)));
30004
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
30005
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
30006
+ let baseOptions;
30007
+ if (configuration) {
30008
+ baseOptions = configuration.baseOptions;
30009
+ }
30010
+
30011
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
30012
+ const localVarHeaderParameter = {} as any;
30013
+ const localVarQueryParameter = {} as any;
30014
+
30015
+ // authentication apiToken required
30016
+ // http bearer authentication required
30017
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
30018
+
30019
+
30020
+
30021
+ localVarHeaderParameter['Content-Type'] = 'application/json';
30022
+
30023
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
30024
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
30025
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
30026
+ localVarRequestOptions.data = serializeDataIfNeeded(hostingV1NodeJsSetBuildEnvVarsRequest, localVarRequestOptions, configuration)
30027
+
30028
+ return {
30029
+ url: toPathString(localVarUrlObj),
30030
+ options: localVarRequestOptions,
30031
+ };
30032
+ },
29892
30033
  /**
29893
30034
  * 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.
29894
30035
  * @summary Restart Node.js application
@@ -30034,6 +30175,19 @@ export const HostingNodeJSApiFp = function(configuration?: Configuration) {
30034
30175
  const localVarOperationServerBasePath = operationServerMap['HostingNodeJSApi.listNodeJSBuildsV1']?.[0]?.url;
30035
30176
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
30036
30177
  },
30178
+ /**
30179
+ * 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.
30180
+ * @summary List Node.js environment variables
30181
+ * @param {string} username
30182
+ * @param {string} domain Domain name
30183
+ * @param {*} [options] Override http request option.
30184
+ * @throws {RequiredError}
30185
+ */
30186
+ async listNodeJsEnvironmentVariablesV1(username: string, domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<HostingV1NodeJsEnvVarResource>>> {
30187
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listNodeJsEnvironmentVariablesV1(username, domain, options);
30188
+ const localVarOperationServerBasePath = operationServerMap['HostingNodeJSApi.listNodeJsEnvironmentVariablesV1']?.[0]?.url;
30189
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
30190
+ },
30037
30191
  /**
30038
30192
  * 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.
30039
30193
  * @summary List Node.js vulnerabilities
@@ -30062,6 +30216,20 @@ export const HostingNodeJSApiFp = function(configuration?: Configuration) {
30062
30216
  const localVarOperationServerBasePath = operationServerMap['HostingNodeJSApi.patchNodeJsVulnerabilitiesV1']?.[0]?.url;
30063
30217
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
30064
30218
  },
30219
+ /**
30220
+ * 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.
30221
+ * @summary Replace Node.js environment variables
30222
+ * @param {string} username
30223
+ * @param {string} domain Domain name
30224
+ * @param {HostingV1NodeJsSetBuildEnvVarsRequest} hostingV1NodeJsSetBuildEnvVarsRequest
30225
+ * @param {*} [options] Override http request option.
30226
+ * @throws {RequiredError}
30227
+ */
30228
+ async replaceNodeJsEnvironmentVariablesV1(username: string, domain: string, hostingV1NodeJsSetBuildEnvVarsRequest: HostingV1NodeJsSetBuildEnvVarsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>> {
30229
+ const localVarAxiosArgs = await localVarAxiosParamCreator.replaceNodeJsEnvironmentVariablesV1(username, domain, hostingV1NodeJsSetBuildEnvVarsRequest, options);
30230
+ const localVarOperationServerBasePath = operationServerMap['HostingNodeJSApi.replaceNodeJsEnvironmentVariablesV1']?.[0]?.url;
30231
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
30232
+ },
30065
30233
  /**
30066
30234
  * 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.
30067
30235
  * @summary Restart Node.js application
@@ -30138,6 +30306,17 @@ export const HostingNodeJSApiFactory = function (configuration?: Configuration,
30138
30306
  listNodeJSBuildsV1(username: string, domain: string, page?: number, perPage?: number, states?: Array<ListNodeJSBuildsV1StatesEnum>, options?: RawAxiosRequestConfig): AxiosPromise<HostingListNodeJSBuildsV1200Response> {
30139
30307
  return localVarFp.listNodeJSBuildsV1(username, domain, page, perPage, states, options).then((request) => request(axios, basePath));
30140
30308
  },
30309
+ /**
30310
+ * 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.
30311
+ * @summary List Node.js environment variables
30312
+ * @param {string} username
30313
+ * @param {string} domain Domain name
30314
+ * @param {*} [options] Override http request option.
30315
+ * @throws {RequiredError}
30316
+ */
30317
+ listNodeJsEnvironmentVariablesV1(username: string, domain: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<HostingV1NodeJsEnvVarResource>> {
30318
+ return localVarFp.listNodeJsEnvironmentVariablesV1(username, domain, options).then((request) => request(axios, basePath));
30319
+ },
30141
30320
  /**
30142
30321
  * 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.
30143
30322
  * @summary List Node.js vulnerabilities
@@ -30162,6 +30341,18 @@ export const HostingNodeJSApiFactory = function (configuration?: Configuration,
30162
30341
  patchNodeJsVulnerabilitiesV1(username: string, domain: string, hostingV1NodeJsPatchVulnerabilitiesRequest: HostingV1NodeJsPatchVulnerabilitiesRequest, options?: RawAxiosRequestConfig): AxiosPromise<HostingV1NodeJsPatchResultResource> {
30163
30342
  return localVarFp.patchNodeJsVulnerabilitiesV1(username, domain, hostingV1NodeJsPatchVulnerabilitiesRequest, options).then((request) => request(axios, basePath));
30164
30343
  },
30344
+ /**
30345
+ * 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.
30346
+ * @summary Replace Node.js environment variables
30347
+ * @param {string} username
30348
+ * @param {string} domain Domain name
30349
+ * @param {HostingV1NodeJsSetBuildEnvVarsRequest} hostingV1NodeJsSetBuildEnvVarsRequest
30350
+ * @param {*} [options] Override http request option.
30351
+ * @throws {RequiredError}
30352
+ */
30353
+ replaceNodeJsEnvironmentVariablesV1(username: string, domain: string, hostingV1NodeJsSetBuildEnvVarsRequest: HostingV1NodeJsSetBuildEnvVarsRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource> {
30354
+ return localVarFp.replaceNodeJsEnvironmentVariablesV1(username, domain, hostingV1NodeJsSetBuildEnvVarsRequest, options).then((request) => request(axios, basePath));
30355
+ },
30165
30356
  /**
30166
30357
  * 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.
30167
30358
  * @summary Restart Node.js application
@@ -30240,6 +30431,19 @@ export class HostingNodeJSApi extends BaseAPI {
30240
30431
  return HostingNodeJSApiFp(this.configuration).listNodeJSBuildsV1(username, domain, page, perPage, states, options).then((request) => request(this.axios, this.basePath));
30241
30432
  }
30242
30433
 
30434
+ /**
30435
+ * 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.
30436
+ * @summary List Node.js environment variables
30437
+ * @param {string} username
30438
+ * @param {string} domain Domain name
30439
+ * @param {*} [options] Override http request option.
30440
+ * @throws {RequiredError}
30441
+ * @memberof HostingNodeJSApi
30442
+ */
30443
+ public listNodeJsEnvironmentVariablesV1(username: string, domain: string, options?: RawAxiosRequestConfig) {
30444
+ return HostingNodeJSApiFp(this.configuration).listNodeJsEnvironmentVariablesV1(username, domain, options).then((request) => request(this.axios, this.basePath));
30445
+ }
30446
+
30243
30447
  /**
30244
30448
  * 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.
30245
30449
  * @summary List Node.js vulnerabilities
@@ -30268,6 +30472,20 @@ export class HostingNodeJSApi extends BaseAPI {
30268
30472
  return HostingNodeJSApiFp(this.configuration).patchNodeJsVulnerabilitiesV1(username, domain, hostingV1NodeJsPatchVulnerabilitiesRequest, options).then((request) => request(this.axios, this.basePath));
30269
30473
  }
30270
30474
 
30475
+ /**
30476
+ * 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.
30477
+ * @summary Replace Node.js environment variables
30478
+ * @param {string} username
30479
+ * @param {string} domain Domain name
30480
+ * @param {HostingV1NodeJsSetBuildEnvVarsRequest} hostingV1NodeJsSetBuildEnvVarsRequest
30481
+ * @param {*} [options] Override http request option.
30482
+ * @throws {RequiredError}
30483
+ * @memberof HostingNodeJSApi
30484
+ */
30485
+ public replaceNodeJsEnvironmentVariablesV1(username: string, domain: string, hostingV1NodeJsSetBuildEnvVarsRequest: HostingV1NodeJsSetBuildEnvVarsRequest, options?: RawAxiosRequestConfig) {
30486
+ return HostingNodeJSApiFp(this.configuration).replaceNodeJsEnvironmentVariablesV1(username, domain, hostingV1NodeJsSetBuildEnvVarsRequest, options).then((request) => request(this.axios, this.basePath));
30487
+ }
30488
+
30271
30489
  /**
30272
30490
  * 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.
30273
30491
  * @summary Restart Node.js application
package/base.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * Hostinger API
5
5
  *
6
- * API Version: 1.43.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/common.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * Hostinger API
5
5
  *
6
- * API Version: 1.43.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/configuration.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * Hostinger API
5
5
  *
6
- * API Version: 1.43.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
@@ -48,7 +48,7 @@ export class Configuration {
48
48
  this.baseOptions = {
49
49
  ...param.baseOptions,
50
50
  headers: {
51
- 'User-Agent': "hostinger-typescript-sdk/1.42.0",
51
+ 'User-Agent': "hostinger-typescript-sdk/1.44.0",
52
52
  ...param.baseOptions?.headers,
53
53
  },
54
54
  };
package/dist/api.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Hostinger API
3
3
  *
4
- * API Version: 1.43.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
@@ -7409,6 +7409,25 @@ export declare const HostingV1NodeJsCreateFromArchiveRequestPackageManagerEnum:
7409
7409
  readonly Pnpm: "pnpm";
7410
7410
  };
7411
7411
  export type HostingV1NodeJsCreateFromArchiveRequestPackageManagerEnum = typeof HostingV1NodeJsCreateFromArchiveRequestPackageManagerEnum[keyof typeof HostingV1NodeJsCreateFromArchiveRequestPackageManagerEnum];
7412
+ /**
7413
+ *
7414
+ * @export
7415
+ * @interface HostingV1NodeJsEnvVarResource
7416
+ */
7417
+ export interface HostingV1NodeJsEnvVarResource {
7418
+ /**
7419
+ * Environment variable name
7420
+ * @type {string}
7421
+ * @memberof HostingV1NodeJsEnvVarResource
7422
+ */
7423
+ 'key': string;
7424
+ /**
7425
+ * Always the literal string ********. Real values cannot be read back through this API.
7426
+ * @type {string}
7427
+ * @memberof HostingV1NodeJsEnvVarResource
7428
+ */
7429
+ 'value': string;
7430
+ }
7412
7431
  /**
7413
7432
  *
7414
7433
  * @export
@@ -7466,6 +7485,38 @@ export interface HostingV1NodeJsPatchVulnerabilitiesRequest {
7466
7485
  */
7467
7486
  'vulnerability_ids': Array<string>;
7468
7487
  }
7488
+ /**
7489
+ *
7490
+ * @export
7491
+ * @interface HostingV1NodeJsSetBuildEnvVarsRequest
7492
+ */
7493
+ export interface HostingV1NodeJsSetBuildEnvVarsRequest {
7494
+ /**
7495
+ * Environment variables to set. This is the full desired set: any variable not in this list is deleted, and an empty array deletes every variable.
7496
+ * @type {Array<HostingV1NodeJsSetBuildEnvVarsRequestEnvVarsInner>}
7497
+ * @memberof HostingV1NodeJsSetBuildEnvVarsRequest
7498
+ */
7499
+ 'env_vars': Array<HostingV1NodeJsSetBuildEnvVarsRequestEnvVarsInner>;
7500
+ }
7501
+ /**
7502
+ *
7503
+ * @export
7504
+ * @interface HostingV1NodeJsSetBuildEnvVarsRequestEnvVarsInner
7505
+ */
7506
+ export interface HostingV1NodeJsSetBuildEnvVarsRequestEnvVarsInner {
7507
+ /**
7508
+ * Environment variable name. Must start with an uppercase letter or underscore, followed by uppercase letters, digits or underscores.
7509
+ * @type {string}
7510
+ * @memberof HostingV1NodeJsSetBuildEnvVarsRequestEnvVarsInner
7511
+ */
7512
+ 'key': string;
7513
+ /**
7514
+ * Environment variable value.
7515
+ * @type {string}
7516
+ * @memberof HostingV1NodeJsSetBuildEnvVarsRequestEnvVarsInner
7517
+ */
7518
+ 'value': string;
7519
+ }
7469
7520
  /**
7470
7521
  *
7471
7522
  * @export
@@ -22292,6 +22343,15 @@ export declare const HostingNodeJSApiAxiosParamCreator: (configuration?: Configu
22292
22343
  * @throws {RequiredError}
22293
22344
  */
22294
22345
  listNodeJSBuildsV1: (username: string, domain: string, page?: number, perPage?: number, states?: Array<ListNodeJSBuildsV1StatesEnum>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
22346
+ /**
22347
+ * 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.
22348
+ * @summary List Node.js environment variables
22349
+ * @param {string} username
22350
+ * @param {string} domain Domain name
22351
+ * @param {*} [options] Override http request option.
22352
+ * @throws {RequiredError}
22353
+ */
22354
+ listNodeJsEnvironmentVariablesV1: (username: string, domain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
22295
22355
  /**
22296
22356
  * 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.
22297
22357
  * @summary List Node.js vulnerabilities
@@ -22312,6 +22372,16 @@ export declare const HostingNodeJSApiAxiosParamCreator: (configuration?: Configu
22312
22372
  * @throws {RequiredError}
22313
22373
  */
22314
22374
  patchNodeJsVulnerabilitiesV1: (username: string, domain: string, hostingV1NodeJsPatchVulnerabilitiesRequest: HostingV1NodeJsPatchVulnerabilitiesRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
22375
+ /**
22376
+ * 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.
22377
+ * @summary Replace Node.js environment variables
22378
+ * @param {string} username
22379
+ * @param {string} domain Domain name
22380
+ * @param {HostingV1NodeJsSetBuildEnvVarsRequest} hostingV1NodeJsSetBuildEnvVarsRequest
22381
+ * @param {*} [options] Override http request option.
22382
+ * @throws {RequiredError}
22383
+ */
22384
+ replaceNodeJsEnvironmentVariablesV1: (username: string, domain: string, hostingV1NodeJsSetBuildEnvVarsRequest: HostingV1NodeJsSetBuildEnvVarsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
22315
22385
  /**
22316
22386
  * 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.
22317
22387
  * @summary Restart Node.js application
@@ -22370,6 +22440,15 @@ export declare const HostingNodeJSApiFp: (configuration?: Configuration) => {
22370
22440
  * @throws {RequiredError}
22371
22441
  */
22372
22442
  listNodeJSBuildsV1(username: string, domain: string, page?: number, perPage?: number, states?: Array<ListNodeJSBuildsV1StatesEnum>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HostingListNodeJSBuildsV1200Response>>;
22443
+ /**
22444
+ * 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.
22445
+ * @summary List Node.js environment variables
22446
+ * @param {string} username
22447
+ * @param {string} domain Domain name
22448
+ * @param {*} [options] Override http request option.
22449
+ * @throws {RequiredError}
22450
+ */
22451
+ listNodeJsEnvironmentVariablesV1(username: string, domain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<HostingV1NodeJsEnvVarResource>>>;
22373
22452
  /**
22374
22453
  * 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.
22375
22454
  * @summary List Node.js vulnerabilities
@@ -22390,6 +22469,16 @@ export declare const HostingNodeJSApiFp: (configuration?: Configuration) => {
22390
22469
  * @throws {RequiredError}
22391
22470
  */
22392
22471
  patchNodeJsVulnerabilitiesV1(username: string, domain: string, hostingV1NodeJsPatchVulnerabilitiesRequest: HostingV1NodeJsPatchVulnerabilitiesRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HostingV1NodeJsPatchResultResource>>;
22472
+ /**
22473
+ * 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.
22474
+ * @summary Replace Node.js environment variables
22475
+ * @param {string} username
22476
+ * @param {string} domain Domain name
22477
+ * @param {HostingV1NodeJsSetBuildEnvVarsRequest} hostingV1NodeJsSetBuildEnvVarsRequest
22478
+ * @param {*} [options] Override http request option.
22479
+ * @throws {RequiredError}
22480
+ */
22481
+ replaceNodeJsEnvironmentVariablesV1(username: string, domain: string, hostingV1NodeJsSetBuildEnvVarsRequest: HostingV1NodeJsSetBuildEnvVarsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CommonSuccessEmptyResource>>;
22393
22482
  /**
22394
22483
  * 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.
22395
22484
  * @summary Restart Node.js application
@@ -22448,6 +22537,15 @@ export declare const HostingNodeJSApiFactory: (configuration?: Configuration, ba
22448
22537
  * @throws {RequiredError}
22449
22538
  */
22450
22539
  listNodeJSBuildsV1(username: string, domain: string, page?: number, perPage?: number, states?: Array<ListNodeJSBuildsV1StatesEnum>, options?: RawAxiosRequestConfig): AxiosPromise<HostingListNodeJSBuildsV1200Response>;
22540
+ /**
22541
+ * 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.
22542
+ * @summary List Node.js environment variables
22543
+ * @param {string} username
22544
+ * @param {string} domain Domain name
22545
+ * @param {*} [options] Override http request option.
22546
+ * @throws {RequiredError}
22547
+ */
22548
+ listNodeJsEnvironmentVariablesV1(username: string, domain: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<HostingV1NodeJsEnvVarResource>>;
22451
22549
  /**
22452
22550
  * 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.
22453
22551
  * @summary List Node.js vulnerabilities
@@ -22468,6 +22566,16 @@ export declare const HostingNodeJSApiFactory: (configuration?: Configuration, ba
22468
22566
  * @throws {RequiredError}
22469
22567
  */
22470
22568
  patchNodeJsVulnerabilitiesV1(username: string, domain: string, hostingV1NodeJsPatchVulnerabilitiesRequest: HostingV1NodeJsPatchVulnerabilitiesRequest, options?: RawAxiosRequestConfig): AxiosPromise<HostingV1NodeJsPatchResultResource>;
22569
+ /**
22570
+ * 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.
22571
+ * @summary Replace Node.js environment variables
22572
+ * @param {string} username
22573
+ * @param {string} domain Domain name
22574
+ * @param {HostingV1NodeJsSetBuildEnvVarsRequest} hostingV1NodeJsSetBuildEnvVarsRequest
22575
+ * @param {*} [options] Override http request option.
22576
+ * @throws {RequiredError}
22577
+ */
22578
+ replaceNodeJsEnvironmentVariablesV1(username: string, domain: string, hostingV1NodeJsSetBuildEnvVarsRequest: HostingV1NodeJsSetBuildEnvVarsRequest, options?: RawAxiosRequestConfig): AxiosPromise<CommonSuccessEmptyResource>;
22471
22579
  /**
22472
22580
  * 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.
22473
22581
  * @summary Restart Node.js application
@@ -22531,6 +22639,16 @@ export declare class HostingNodeJSApi extends BaseAPI {
22531
22639
  * @memberof HostingNodeJSApi
22532
22640
  */
22533
22641
  listNodeJSBuildsV1(username: string, domain: string, page?: number, perPage?: number, states?: Array<ListNodeJSBuildsV1StatesEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HostingListNodeJSBuildsV1200Response, any, {}, any>>;
22642
+ /**
22643
+ * 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.
22644
+ * @summary List Node.js environment variables
22645
+ * @param {string} username
22646
+ * @param {string} domain Domain name
22647
+ * @param {*} [options] Override http request option.
22648
+ * @throws {RequiredError}
22649
+ * @memberof HostingNodeJSApi
22650
+ */
22651
+ listNodeJsEnvironmentVariablesV1(username: string, domain: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HostingV1NodeJsEnvVarResource[], any, {}, any>>;
22534
22652
  /**
22535
22653
  * 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.
22536
22654
  * @summary List Node.js vulnerabilities
@@ -22553,6 +22671,17 @@ export declare class HostingNodeJSApi extends BaseAPI {
22553
22671
  * @memberof HostingNodeJSApi
22554
22672
  */
22555
22673
  patchNodeJsVulnerabilitiesV1(username: string, domain: string, hostingV1NodeJsPatchVulnerabilitiesRequest: HostingV1NodeJsPatchVulnerabilitiesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HostingV1NodeJsPatchResultResource, any, {}, any>>;
22674
+ /**
22675
+ * 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.
22676
+ * @summary Replace Node.js environment variables
22677
+ * @param {string} username
22678
+ * @param {string} domain Domain name
22679
+ * @param {HostingV1NodeJsSetBuildEnvVarsRequest} hostingV1NodeJsSetBuildEnvVarsRequest
22680
+ * @param {*} [options] Override http request option.
22681
+ * @throws {RequiredError}
22682
+ * @memberof HostingNodeJSApi
22683
+ */
22684
+ replaceNodeJsEnvironmentVariablesV1(username: string, domain: string, hostingV1NodeJsSetBuildEnvVarsRequest: HostingV1NodeJsSetBuildEnvVarsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonSuccessEmptyResource, any, {}, any>>;
22556
22685
  /**
22557
22686
  * 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.
22558
22687
  * @summary Restart Node.js application