@hostinger/sdk 1.48.0 → 1.49.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/api.ts +859 -63
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +2 -2
- package/dist/api.d.ts +509 -1
- package/dist/api.js +589 -11
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +2 -2
- package/dist/esm/api.d.ts +509 -1
- package/dist/esm/api.js +579 -1
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +2 -2
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/HostingNodeJSApi.md +367 -0
- package/docs/HostingV1NodeJsBuildAnalysisResource.md +22 -0
- package/docs/HostingV1NodeJsLogEntryResource.md +24 -0
- package/docs/HostingV1NodeJsRuntimeLogsResource.md +26 -0
- package/docs/HostingV1NodeJsStoredBuildSettingsResource.md +32 -0
- package/docs/HostingV1NodeJsUpdateBuildSettingsRequest.md +32 -0
- package/index.ts +1 -1
- package/package.json +1 -1
package/dist/api.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Hostinger API
|
|
6
6
|
*
|
|
7
|
-
* API Version: 1.
|
|
7
|
+
* API Version: 1.49.0
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
10
10
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
|
@@ -20,16 +20,16 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
20
20
|
};
|
|
21
21
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
22
|
exports.HostingV1NodeJsBuildResourceStateEnum = exports.HostingV1NodeJsBuildOptionsResourceSourceTypeEnum = exports.HostingV1NodeJsBuildOptionsResourcePackageManagerEnum = exports.HostingV1NodeJsBuildOptionsResourceAppTypeEnum = exports.HostingV1FilesFilesResourceItemsInnerTypeEnum = exports.HostingV1DomainsParkedDomainResourceTypeEnum = exports.HorizonsV1WebsitesCreateWebsiteRequestMessageInnerTypeEnum = exports.EcommerceV1StoreStoreRequestSalesChannelTypeEnum = exports.EcommerceV1StoreStoreCreationResourceSalesChannelTypeEnum = exports.EcommerceV1SalesChannelStoreRequestTypeEnum = exports.EcommerceV1SalesChannelSalesChannelListResourceSalesChannelsInnerTypeEnum = exports.EcommerceV1SalesChannelSalesChannelCreationResourceSalesChannelTypeEnum = exports.EcommerceV1ProductUpdateRequestStatusEnum = exports.EcommerceV1ProductProductResourceStatusEnum = exports.EcommerceV1ProductProductCreationResourceProductTypeEnum = exports.EcommerceV1PaymentProviderPaymentProviderListResourceDataConnectedInnerStatusEnum = exports.EcommerceV1DiscountDiscountResourceAllocationEnum = exports.EcommerceV1DiscountDiscountResourceTypeEnum = exports.EcommerceV1DiscountCreateDiscountRequestAllocationEnum = exports.EcommerceV1DiscountCreateDiscountRequestTypeEnum = exports.DomainsV1WHOISStoreRequestEntityTypeEnum = exports.DomainsV1WHOISProfileResourceEntityTypeEnum = exports.DomainsV1WHOISChangeUpdateRequestChangeForEnum = exports.DomainsV1PortfolioClaimResourceStatusEnum = exports.DomainsV1MoveMoveResourceStatusEnum = exports.DomainsV1IRTPVerificationResourceStatusEnum = exports.DomainsV1ForwardingUpdateRequestRedirectTypeEnum = exports.DomainsV1ForwardingStoreRequestRedirectTypeEnum = exports.DomainsV1ForwardingForwardingResourceRedirectTypeEnum = exports.DomainsV1DomainDomainResourceStatusEnum = exports.DomainsV1DomainDomainResourceTypeEnum = exports.DomainsV1DomainDomainExtendedResourceStatusEnum = exports.DNSV1ZoneUpdateRequestZoneInnerTypeEnum = exports.DNSV1ZoneRecordResourceTypeEnum = exports.DNSV1ZoneDestroyRequestFiltersInnerTypeEnum = exports.BillingV1SubscriptionSubscriptionResourceStatusEnum = exports.BillingV1SubscriptionCancelRequestCancelOptionEnum = exports.BillingV1SubscriptionCancelRequestReasonCodeEnum = exports.BillingV1OrderOrderResourceStatusEnum = exports.BillingV1CatalogCatalogItemPriceResourcePeriodUnitEnum = exports.AgencyHostingV1WebsitesWebsiteResourceStateEnum = exports.AgencyHostingV1WebsitesWebsiteProcessResourceStatusEnum = exports.AgencyHostingV1WebsitesWebsiteListItemResourcePlatformEnum = exports.AgencyHostingV1WebsitesU4sWebsiteDetailsResourceTypeEnum = exports.AgencyHostingV1WebsitesH5gWebsiteDetailsResourceStateEnum = exports.AgencyHostingV1WebsitesH5gWebsiteDetailsResourceTypeEnum = exports.AgencyHostingV1SetupsWebsiteSetupStatusResourceStatusEnum = exports.AgencyHostingV1SetupsCreateSetupRequestTypeEnum = exports.AgencyHostingV1PhpOptionResourceTypeEnum = exports.AgencyHostingV1PhpExtensionResourceStateEnum = void 0;
|
|
23
|
-
exports.
|
|
24
|
-
exports.
|
|
25
|
-
exports.
|
|
26
|
-
exports.
|
|
27
|
-
exports.
|
|
28
|
-
exports.
|
|
29
|
-
exports.
|
|
30
|
-
exports.
|
|
31
|
-
exports.
|
|
32
|
-
exports.WordPressThemesApi = exports.WordPressThemesApiFactory = exports.WordPressThemesApiFp = exports.WordPressThemesApiAxiosParamCreator = exports.ListInstalledWordPressPluginsV1CategoryEnum = exports.WordPressPluginsApi = exports.WordPressPluginsApiFactory = exports.WordPressPluginsApiFp = exports.WordPressPluginsApiAxiosParamCreator = exports.WordPressObjectCacheApi = exports.WordPressObjectCacheApiFactory = exports.WordPressObjectCacheApiFp = exports.WordPressObjectCacheApiAxiosParamCreator = exports.WordPressMaintenanceApi = exports.WordPressMaintenanceApiFactory = exports.WordPressMaintenanceApiFp = exports.WordPressMaintenanceApiAxiosParamCreator = exports.WordPressLoginApi = exports.WordPressLoginApiFactory = exports.WordPressLoginApiFp = exports.WordPressLoginApiAxiosParamCreator = void 0;
|
|
23
|
+
exports.ReachV1ContactsFieldsStoreRequestTypeEnum = exports.ReachV1ContactsFieldsContactFieldValueResourceTypeEnum = exports.ReachV1ContactsFieldsContactFieldResourceTypeEnum = exports.ReachV1ContactsContactResourceSourceEnum = exports.ReachV1ContactsContactResourceSubscriptionStatusEnum = exports.ReachV1ContactsContactDetailsResourceSourceEnum = exports.ReachV1ContactsContactDetailsResourceSubscriptionStatusEnum = exports.ReachV1CampaignsCreatedCampaignResourceTypeEnum = exports.ReachV1CampaignsCreatedCampaignResourceStatusEnum = exports.ReachV1CampaignsCampaignResourceTypeEnum = exports.ReachV1CampaignsCampaignResourceStatusEnum = exports.ReachV1CampaignsCampaignDetailsResourceTypeEnum = exports.ReachV1CampaignsCampaignDetailsResourceStatusEnum = exports.ReachV1AutomationsStepsAutomationStepResourceValueEnum = exports.ReachV1AutomationsStepsAutomationStepResourceTypeEnum = exports.ReachV1AutomationsAutomationResourceTypeEnum = exports.ReachV1AutomationsAutomationResourceStatusEnum = exports.MailV1WebhooksWebhookSecretResourceStatusEnum = exports.MailV1WebhooksWebhookSecretResourceEventsEnum = exports.MailV1WebhooksWebhookResourceStatusEnum = exports.MailV1WebhooksWebhookResourceEventsEnum = exports.MailV1WebhooksWebhookCreatedResourceStatusEnum = exports.MailV1WebhooksWebhookCreatedResourceEventsEnum = exports.MailV1SchemaUpdateWebhookRequestSchemaStatusEnum = exports.MailV1SchemaUpdateWebhookRequestSchemaEventsEnum = exports.MailV1SchemaCreateWebhookRequestSchemaStatusEnum = exports.MailV1SchemaCreateWebhookRequestSchemaEventsEnum = exports.MailV1OrdersOrderResourceStatusEnum = exports.MailV1MailboxesMailboxResourceStatusEnum = exports.MailV1LogsMailboxActionsMailboxActionLogResourceEventEnum = exports.MailV1LogsActionActionLogResourceResponseStatusEnum = exports.MailV1ApiTokensApiTokenResourceTypeEnum = exports.MailV1ApiTokensApiTokenCreatedResourceTypeEnum = exports.HostingV1WebsitesWebsiteResourceWebsiteTypeEnum = exports.HostingV1WebsitesWebsiteResourceVhostTypeEnum = exports.HostingV1NodeJsVulnerabilityResourceSeverityEnum = exports.HostingV1NodeJsUpdateBuildSettingsRequestPackageManagerEnum = exports.HostingV1NodeJsUpdateBuildSettingsRequestAppTypeEnum = exports.HostingV1NodeJsUpdateBuildSettingsRequestNodeVersionEnum = exports.HostingV1NodeJsStoredBuildSettingsResourcePackageManagerEnum = exports.HostingV1NodeJsStoredBuildSettingsResourceAppTypeEnum = exports.HostingV1NodeJsStartBuildRequestSourceTypeEnum = exports.HostingV1NodeJsStartBuildRequestPackageManagerEnum = exports.HostingV1NodeJsStartBuildRequestAppTypeEnum = exports.HostingV1NodeJsStartBuildRequestNodeVersionEnum = exports.HostingV1NodeJsCreateFromArchiveRequestPackageManagerEnum = exports.HostingV1NodeJsCreateFromArchiveRequestAppTypeEnum = exports.HostingV1NodeJsCreateFromArchiveRequestNodeVersionEnum = exports.HostingV1NodeJsBuildSettingsResourcePackageManagerEnum = exports.HostingV1NodeJsBuildSettingsResourceAppTypeEnum = void 0;
|
|
24
|
+
exports.AgencyHostingCacheApiAxiosParamCreator = exports.WordPressV1ThemesInstalledThemeResourceStatusEnum = exports.WordPressV1ThemesInstallThemeRequestFontEnum = exports.WordPressV1PluginsUpdateHostingerPluginRequestSlugEnum = exports.WordPressV1PluginsSuggestedPluginGroupResourceWebsiteTypeEnum = exports.WordPressV1PluginsInstalledPluginResourceStatusEnum = exports.WordPressV1MemcachedMemcachedStatusResourceStatusEnum = exports.WordPressV1MaintenanceMaintenanceStatusResourceStatusEnum = exports.WordPressV1InstallationsUpdateResourceTypeEnum = exports.WordPressV1InstallationsInstallWordPressRequestAutoUpdatesEnum = exports.WordPressV1HostingerPluginsUpdateAiOptionStatusRequestOptionEnum = exports.VPSV1VirtualMachineVirtualMachineResourceActionsLockEnum = exports.VPSV1VirtualMachineVirtualMachineResourceStateEnum = exports.VPSV1FirewallRulesStoreRequestSourceEnum = exports.VPSV1FirewallRulesStoreRequestProtocolEnum = exports.VPSV1FirewallFirewallRuleResourceProtocolEnum = exports.VPSV1FirewallFirewallRuleResourceActionEnum = exports.VPSV1DockerManagerProjectResourceStateEnum = exports.VPSV1DockerManagerContainerResourceHealthEnum = exports.VPSV1DockerManagerContainerResourceStateEnum = exports.VPSV1DockerManagerContainerPortResourceProtocolEnum = exports.VPSV1DockerManagerContainerPortResourceTypeEnum = exports.VPSV1ActionActionResourceStateEnum = exports.ReachV1ProfilesFeaturesPlanFeatureResourceFeatureEnum = exports.ReachV1ProfilesDomainsSendingDomainResourceStatusEnum = exports.ReachV1FormsFormTagResourceTypeEnum = exports.ReachV1FormsFormResourceTypeEnum = exports.ReachV1FormsFormResourceStatusEnum = exports.ReachV1FormsFormDetailsResourceTypeEnum = exports.ReachV1FormsFormDetailsResourceStatusEnum = exports.ReachV1ContactsUpdateRequestSubscriptionStatusEnum = exports.ReachV1ContactsTagsTagResourceTypeEnum = exports.ReachV1ContactsSegmentsStoreRequestConditionsInnerAttributeEnum = exports.ReachV1ContactsSegmentsStoreRequestConditionsInnerOperatorEnum = exports.ReachV1ContactsSegmentsStoreRequestLogicEnum = exports.ReachV1ContactsSegmentsSegmentationContactResourceSourceEnum = exports.ReachV1ContactsSegmentsSegmentationContactResourceSubscriptionStatusEnum = exports.ReachV1ContactsSegmentsSegmentFilterOperatorResourceInputTypeEnum = exports.ReachV1ContactsSegmentsSegmentFilterOperatorResourceOperatorEnum = exports.ReachV1ContactsSegmentsSegmentFilterAttributeResourceTypeEnum = exports.ReachV1ContactsSegmentsProfileUpdateRequestLogicEnum = exports.ReachV1ContactsSegmentsProfileStoreRequestConditionsInnerOperatorEnum = exports.ReachV1ContactsSegmentsProfileStoreRequestLogicEnum = exports.ReachV1ContactsSegmentsProfileFilterContactsRequestConditionsInnerOperatorEnum = exports.ReachV1ContactsSegmentsProfileFilterContactsRequestSortDirectionEnum = exports.ReachV1ContactsSegmentsProfileFilterContactsRequestSortByEnum = exports.ReachV1ContactsSegmentsProfileFilterContactsRequestLogicEnum = exports.ReachV1ContactsProfileContactUpdateResourceSubscriptionStatusEnum = exports.ReachV1ContactsProfileContactResourceSourceEnum = exports.ReachV1ContactsProfileContactResourceSubscriptionStatusEnum = void 0;
|
|
25
|
+
exports.AgencyHostingWordPressApiFactory = exports.AgencyHostingWordPressApiFp = exports.AgencyHostingWordPressApiAxiosParamCreator = exports.ListAgencyPlanWebsitesV1WebsiteTypesEnum = exports.ListAgencyPlanWebsitesV1StatesEnum = exports.AgencyHostingWebsitesApi = exports.AgencyHostingWebsitesApiFactory = exports.AgencyHostingWebsitesApiFp = exports.AgencyHostingWebsitesApiAxiosParamCreator = exports.AgencyHostingWebsiteSetupsApi = exports.AgencyHostingWebsiteSetupsApiFactory = exports.AgencyHostingWebsiteSetupsApiFp = exports.AgencyHostingWebsiteSetupsApiAxiosParamCreator = exports.AgencyHostingPHPApi = exports.AgencyHostingPHPApiFactory = exports.AgencyHostingPHPApiFp = exports.AgencyHostingPHPApiAxiosParamCreator = exports.AgencyHostingOrdersApi = exports.AgencyHostingOrdersApiFactory = exports.AgencyHostingOrdersApiFp = exports.AgencyHostingOrdersApiAxiosParamCreator = exports.ListOrderResourceUsageMetricsV1TimeFrameHoursEnum = exports.ListAgencyPlanOrderDiskUsageMetricsV1TimeFrameDaysEnum = exports.AgencyHostingMetricsApi = exports.AgencyHostingMetricsApiFactory = exports.AgencyHostingMetricsApiFp = exports.AgencyHostingMetricsApiAxiosParamCreator = exports.AgencyHostingFilesApi = exports.AgencyHostingFilesApiFactory = exports.AgencyHostingFilesApiFp = exports.AgencyHostingFilesApiAxiosParamCreator = exports.AgencyHostingDomainsApi = exports.AgencyHostingDomainsApiFactory = exports.AgencyHostingDomainsApiFp = exports.AgencyHostingDomainsApiAxiosParamCreator = exports.AgencyHostingDatacentersApi = exports.AgencyHostingDatacentersApiFactory = exports.AgencyHostingDatacentersApiFp = exports.AgencyHostingDatacentersApiAxiosParamCreator = exports.AgencyHostingDatabasesApi = exports.AgencyHostingDatabasesApiFactory = exports.AgencyHostingDatabasesApiFp = exports.AgencyHostingDatabasesApiAxiosParamCreator = exports.AgencyHostingCronJobsApi = exports.AgencyHostingCronJobsApiFactory = exports.AgencyHostingCronJobsApiFp = exports.AgencyHostingCronJobsApiAxiosParamCreator = exports.AgencyHostingCacheApi = exports.AgencyHostingCacheApiFactory = exports.AgencyHostingCacheApiFp = void 0;
|
|
26
|
+
exports.DomainsTransferApi = exports.DomainsTransferApiFactory = exports.DomainsTransferApiFp = exports.DomainsTransferApiAxiosParamCreator = exports.DomainsPortfolioApi = exports.DomainsPortfolioApiFactory = exports.DomainsPortfolioApiFp = exports.DomainsPortfolioApiAxiosParamCreator = exports.DomainsMoveApi = exports.DomainsMoveApiFactory = exports.DomainsMoveApiFp = exports.DomainsMoveApiAxiosParamCreator = exports.DomainsForwardingApi = exports.DomainsForwardingApiFactory = exports.DomainsForwardingApiFp = exports.DomainsForwardingApiAxiosParamCreator = exports.DomainsAvailabilityApi = exports.DomainsAvailabilityApiFactory = exports.DomainsAvailabilityApiFp = exports.DomainsAvailabilityApiAxiosParamCreator = exports.DomainAccessVerifierVerificationsApi = exports.DomainAccessVerifierVerificationsApiFactory = exports.DomainAccessVerifierVerificationsApiFp = exports.DomainAccessVerifierVerificationsApiAxiosParamCreator = exports.DNSZoneApi = exports.DNSZoneApiFactory = exports.DNSZoneApiFp = exports.DNSZoneApiAxiosParamCreator = exports.DNSSnapshotApi = exports.DNSSnapshotApiFactory = exports.DNSSnapshotApiFp = exports.DNSSnapshotApiAxiosParamCreator = exports.BillingSubscriptionsApi = exports.BillingSubscriptionsApiFactory = exports.BillingSubscriptionsApiFp = exports.BillingSubscriptionsApiAxiosParamCreator = exports.BillingPaymentMethodsApi = exports.BillingPaymentMethodsApiFactory = exports.BillingPaymentMethodsApiFp = exports.BillingPaymentMethodsApiAxiosParamCreator = exports.BillingOrdersApi = exports.BillingOrdersApiFactory = exports.BillingOrdersApiFp = exports.BillingOrdersApiAxiosParamCreator = exports.GetCatalogItemListV1CategoryEnum = exports.BillingCatalogApi = exports.BillingCatalogApiFactory = exports.BillingCatalogApiFp = exports.BillingCatalogApiAxiosParamCreator = exports.AgencyHostingWordPressApi = void 0;
|
|
27
|
+
exports.HorizonsWebsitesApi = exports.HorizonsWebsitesApiFactory = exports.HorizonsWebsitesApiFp = exports.HorizonsWebsitesApiAxiosParamCreator = exports.EcommerceStoresApi = exports.EcommerceStoresApiFactory = exports.EcommerceStoresApiFp = exports.EcommerceStoresApiAxiosParamCreator = exports.EcommerceShippingApi = exports.EcommerceShippingApiFactory = exports.EcommerceShippingApiFp = exports.EcommerceShippingApiAxiosParamCreator = exports.EcommerceSalesChannelsApi = exports.EcommerceSalesChannelsApiFactory = exports.EcommerceSalesChannelsApiFp = exports.EcommerceSalesChannelsApiAxiosParamCreator = exports.ListProductsV1IncludeEnum = exports.ListProductsV1StatusEnum = exports.EcommerceProductsApi = exports.EcommerceProductsApiFactory = exports.EcommerceProductsApiFp = exports.EcommerceProductsApiAxiosParamCreator = exports.EcommerceProductVariantsApi = exports.EcommerceProductVariantsApiFactory = exports.EcommerceProductVariantsApiFp = exports.EcommerceProductVariantsApiAxiosParamCreator = exports.EcommercePaymentsApi = exports.EcommercePaymentsApiFactory = exports.EcommercePaymentsApiFp = exports.EcommercePaymentsApiAxiosParamCreator = exports.ListStoreOrdersV1FulfillmentStatusEnum = exports.ListStoreOrdersV1PaymentStatusEnum = exports.ListStoreOrdersV1StatusEnum = exports.EcommerceOrdersApi = exports.EcommerceOrdersApiFactory = exports.EcommerceOrdersApiFp = exports.EcommerceOrdersApiAxiosParamCreator = exports.EcommerceMiscellaneousApi = exports.EcommerceMiscellaneousApiFactory = exports.EcommerceMiscellaneousApiFp = exports.EcommerceMiscellaneousApiAxiosParamCreator = exports.ListDiscountsV1IsDisabledEnum = exports.EcommerceDiscountsApi = exports.EcommerceDiscountsApiFactory = exports.EcommerceDiscountsApiFp = exports.EcommerceDiscountsApiAxiosParamCreator = exports.DomainsWHOISApi = exports.DomainsWHOISApiFactory = exports.DomainsWHOISApiFp = exports.DomainsWHOISApiAxiosParamCreator = void 0;
|
|
28
|
+
exports.HostingWebsitesApi = exports.HostingWebsitesApiFactory = exports.HostingWebsitesApiFp = exports.HostingWebsitesApiAxiosParamCreator = exports.HostingRedirectsApi = exports.HostingRedirectsApiFactory = exports.HostingRedirectsApiFp = exports.HostingRedirectsApiAxiosParamCreator = exports.HostingPHPApi = exports.HostingPHPApiFactory = exports.HostingPHPApiFp = exports.HostingPHPApiAxiosParamCreator = exports.ListOrdersV1StatusesEnum = exports.HostingOrdersApi = exports.HostingOrdersApiFactory = exports.HostingOrdersApiFp = exports.HostingOrdersApiAxiosParamCreator = exports.ListNodeJsVulnerabilitiesV1SeveritiesEnum = exports.ListNodeJSBuildsV1StatesEnum = exports.GetNodeJsRuntimeLogsV1LevelsEnum = exports.GetNodeJsRuntimeLogsV1PeriodEnum = exports.HostingNodeJSApi = exports.HostingNodeJSApiFactory = exports.HostingNodeJSApiFp = exports.HostingNodeJSApiAxiosParamCreator = exports.ListWebsiteFilesAndDirectoriesV1FileTypesEnum = exports.HostingFilesApi = exports.HostingFilesApiFactory = exports.HostingFilesApiFp = exports.HostingFilesApiAxiosParamCreator = exports.HostingDomainsApi = exports.HostingDomainsApiFactory = exports.HostingDomainsApiFp = exports.HostingDomainsApiAxiosParamCreator = exports.HostingDatacentersApi = exports.HostingDatacentersApiFactory = exports.HostingDatacentersApiFp = exports.HostingDatacentersApiAxiosParamCreator = exports.HostingDatabasesApi = exports.HostingDatabasesApiFactory = exports.HostingDatabasesApiFp = exports.HostingDatabasesApiAxiosParamCreator = exports.HostingCronJobsApi = exports.HostingCronJobsApiFactory = exports.HostingCronJobsApiFp = exports.HostingCronJobsApiAxiosParamCreator = exports.HostingCacheApi = exports.HostingCacheApiFactory = exports.HostingCacheApiFp = exports.HostingCacheApiAxiosParamCreator = void 0;
|
|
29
|
+
exports.ReachAutomationsApiFactory = exports.ReachAutomationsApiFp = exports.ReachAutomationsApiAxiosParamCreator = exports.ListWebhooksV1StatusEnum = exports.MailWebhooksApi = exports.MailWebhooksApiFactory = exports.MailWebhooksApiFp = exports.MailWebhooksApiAxiosParamCreator = exports.ListOrdersV1SortEnum = exports.ListOrdersV1StatusEnum = exports.MailOrdersApi = exports.MailOrdersApiFactory = exports.MailOrdersApiFp = exports.MailOrdersApiAxiosParamCreator = exports.ListMailboxesV1SortEnum = exports.MailMailboxesApi = exports.MailMailboxesApiFactory = exports.MailMailboxesApiFp = exports.MailMailboxesApiAxiosParamCreator = exports.ListOutboundLogsV1StatusEnum = exports.ListMailboxActionLogsV1EventEnum = exports.ListInboundLogsV1StatusEnum = exports.ListActionLogsV1StatusEnum = exports.ListAccessLogsV1ProtocolEnum = exports.ListAccessLogsV1StatusEnum = exports.MailLogsApi = exports.MailLogsApiFactory = exports.MailLogsApiFp = exports.MailLogsApiAxiosParamCreator = exports.MailForwardersApi = exports.MailForwardersApiFactory = exports.MailForwardersApiFp = exports.MailForwardersApiAxiosParamCreator = exports.MailCatchallsApi = exports.MailCatchallsApiFactory = exports.MailCatchallsApiFp = exports.MailCatchallsApiAxiosParamCreator = exports.MailAutorepliesApi = exports.MailAutorepliesApiFactory = exports.MailAutorepliesApiFp = exports.MailAutorepliesApiAxiosParamCreator = exports.MailAliasesApi = exports.MailAliasesApiFactory = exports.MailAliasesApiFp = exports.MailAliasesApiAxiosParamCreator = exports.MailAPITokensApi = exports.MailAPITokensApiFactory = exports.MailAPITokensApiFp = exports.MailAPITokensApiAxiosParamCreator = exports.ListWebsitesV1WebsiteTypesEnum = void 0;
|
|
30
|
+
exports.VPSDataCentersApiAxiosParamCreator = exports.VPSBackupsApi = exports.VPSBackupsApiFactory = exports.VPSBackupsApiFp = exports.VPSBackupsApiAxiosParamCreator = exports.VPSActionsApi = exports.VPSActionsApiFactory = exports.VPSActionsApiFp = exports.VPSActionsApiAxiosParamCreator = exports.ReachTemplatesApi = exports.ReachTemplatesApiFactory = exports.ReachTemplatesApiFp = exports.ReachTemplatesApiAxiosParamCreator = exports.ReachTagsApi = exports.ReachTagsApiFactory = exports.ReachTagsApiFp = exports.ReachTagsApiAxiosParamCreator = exports.ListProfileSegmentsV1CountTypeEnum = exports.ReachSegmentsApi = exports.ReachSegmentsApiFactory = exports.ReachSegmentsApiFp = exports.ReachSegmentsApiAxiosParamCreator = exports.ReachProfilesApi = exports.ReachProfilesApiFactory = exports.ReachProfilesApiFp = exports.ReachProfilesApiAxiosParamCreator = exports.ReachFormsApi = exports.ReachFormsApiFactory = exports.ReachFormsApiFp = exports.ReachFormsApiAxiosParamCreator = exports.ListProfileContactsV1SubscriptionStatusEnum = exports.ListContactsV1SubscriptionStatusEnum = exports.ReachContactsApi = exports.ReachContactsApiFactory = exports.ReachContactsApiFp = exports.ReachContactsApiAxiosParamCreator = exports.ReachContactFieldsApi = exports.ReachContactFieldsApiFactory = exports.ReachContactFieldsApiFp = exports.ReachContactFieldsApiAxiosParamCreator = exports.ListCampaignsV1SortDirectionEnum = exports.ListCampaignsV1TypeEnum = exports.ListCampaignsV1StatusEnum = exports.ReachCampaignsApi = exports.ReachCampaignsApiFactory = exports.ReachCampaignsApiFp = exports.ReachCampaignsApiAxiosParamCreator = exports.ListAutomationsV1SortDirectionEnum = exports.ListAutomationsV1StatusEnum = exports.ReachAutomationsApi = void 0;
|
|
31
|
+
exports.WordPressInstallationsApiFp = exports.WordPressInstallationsApiAxiosParamCreator = exports.ShowAIOptionStatusV1OptionEnum = exports.WordPressAIToolsApi = exports.WordPressAIToolsApiFactory = exports.WordPressAIToolsApiFp = exports.WordPressAIToolsApiAxiosParamCreator = exports.VPSVirtualMachineApi = exports.VPSVirtualMachineApiFactory = exports.VPSVirtualMachineApiFp = exports.VPSVirtualMachineApiAxiosParamCreator = exports.VPSSnapshotsApi = exports.VPSSnapshotsApiFactory = exports.VPSSnapshotsApiFp = exports.VPSSnapshotsApiAxiosParamCreator = exports.VPSRecoveryApi = exports.VPSRecoveryApiFactory = exports.VPSRecoveryApiFp = exports.VPSRecoveryApiAxiosParamCreator = exports.VPSPublicKeysApi = exports.VPSPublicKeysApiFactory = exports.VPSPublicKeysApiFp = exports.VPSPublicKeysApiAxiosParamCreator = exports.VPSPostInstallScriptsApi = exports.VPSPostInstallScriptsApiFactory = exports.VPSPostInstallScriptsApiFp = exports.VPSPostInstallScriptsApiAxiosParamCreator = exports.VPSPTRRecordsApi = exports.VPSPTRRecordsApiFactory = exports.VPSPTRRecordsApiFp = exports.VPSPTRRecordsApiAxiosParamCreator = exports.VPSOSTemplatesApi = exports.VPSOSTemplatesApiFactory = exports.VPSOSTemplatesApiFp = exports.VPSOSTemplatesApiAxiosParamCreator = exports.VPSMalwareScannerApi = exports.VPSMalwareScannerApiFactory = exports.VPSMalwareScannerApiFp = exports.VPSMalwareScannerApiAxiosParamCreator = exports.VPSFirewallApi = exports.VPSFirewallApiFactory = exports.VPSFirewallApiFp = exports.VPSFirewallApiAxiosParamCreator = exports.VPSDockerManagerApi = exports.VPSDockerManagerApiFactory = exports.VPSDockerManagerApiFp = exports.VPSDockerManagerApiAxiosParamCreator = exports.VPSDataCentersApi = exports.VPSDataCentersApiFactory = exports.VPSDataCentersApiFp = void 0;
|
|
32
|
+
exports.WordPressThemesApi = exports.WordPressThemesApiFactory = exports.WordPressThemesApiFp = exports.WordPressThemesApiAxiosParamCreator = exports.ListInstalledWordPressPluginsV1CategoryEnum = exports.WordPressPluginsApi = exports.WordPressPluginsApiFactory = exports.WordPressPluginsApiFp = exports.WordPressPluginsApiAxiosParamCreator = exports.WordPressObjectCacheApi = exports.WordPressObjectCacheApiFactory = exports.WordPressObjectCacheApiFp = exports.WordPressObjectCacheApiAxiosParamCreator = exports.WordPressMaintenanceApi = exports.WordPressMaintenanceApiFactory = exports.WordPressMaintenanceApiFp = exports.WordPressMaintenanceApiAxiosParamCreator = exports.WordPressLoginApi = exports.WordPressLoginApiFactory = exports.WordPressLoginApiFp = exports.WordPressLoginApiAxiosParamCreator = exports.WordPressLiteSpeedCacheApi = exports.WordPressLiteSpeedCacheApiFactory = exports.WordPressLiteSpeedCacheApiFp = exports.WordPressLiteSpeedCacheApiAxiosParamCreator = exports.ListWordPressInstallationsV1OwnershipEnum = exports.WordPressInstallationsApi = exports.WordPressInstallationsApiFactory = void 0;
|
|
33
33
|
const axios_1 = require("axios");
|
|
34
34
|
// Some imports not used depending on template conditions
|
|
35
35
|
// @ts-ignore
|
|
@@ -435,6 +435,64 @@ exports.HostingV1NodeJsStartBuildRequestPackageManagerEnum = {
|
|
|
435
435
|
exports.HostingV1NodeJsStartBuildRequestSourceTypeEnum = {
|
|
436
436
|
Archive: 'archive'
|
|
437
437
|
};
|
|
438
|
+
exports.HostingV1NodeJsStoredBuildSettingsResourceAppTypeEnum = {
|
|
439
|
+
CreateReactApp: 'create-react-app',
|
|
440
|
+
Gatsby: 'gatsby',
|
|
441
|
+
Vite: 'vite',
|
|
442
|
+
Angular: 'angular',
|
|
443
|
+
React: 'react',
|
|
444
|
+
Vue: 'vue',
|
|
445
|
+
Parcel: 'parcel',
|
|
446
|
+
Next: 'next',
|
|
447
|
+
Nuxt: 'nuxt',
|
|
448
|
+
Nest: 'nest',
|
|
449
|
+
Express: 'express',
|
|
450
|
+
Fastify: 'fastify',
|
|
451
|
+
Astro: 'astro',
|
|
452
|
+
Svelte: 'svelte',
|
|
453
|
+
SvelteKit: 'svelte-kit',
|
|
454
|
+
Hono: 'hono',
|
|
455
|
+
ReactRouter: 'react-router',
|
|
456
|
+
Nitro: 'nitro',
|
|
457
|
+
Other: 'other'
|
|
458
|
+
};
|
|
459
|
+
exports.HostingV1NodeJsStoredBuildSettingsResourcePackageManagerEnum = {
|
|
460
|
+
Npm: 'npm',
|
|
461
|
+
Yarn: 'yarn',
|
|
462
|
+
Pnpm: 'pnpm'
|
|
463
|
+
};
|
|
464
|
+
exports.HostingV1NodeJsUpdateBuildSettingsRequestNodeVersionEnum = {
|
|
465
|
+
NUMBER_18: 18,
|
|
466
|
+
NUMBER_20: 20,
|
|
467
|
+
NUMBER_22: 22,
|
|
468
|
+
NUMBER_24: 24
|
|
469
|
+
};
|
|
470
|
+
exports.HostingV1NodeJsUpdateBuildSettingsRequestAppTypeEnum = {
|
|
471
|
+
CreateReactApp: 'create-react-app',
|
|
472
|
+
Gatsby: 'gatsby',
|
|
473
|
+
Vite: 'vite',
|
|
474
|
+
Angular: 'angular',
|
|
475
|
+
React: 'react',
|
|
476
|
+
Vue: 'vue',
|
|
477
|
+
Parcel: 'parcel',
|
|
478
|
+
Next: 'next',
|
|
479
|
+
Nuxt: 'nuxt',
|
|
480
|
+
Nest: 'nest',
|
|
481
|
+
Express: 'express',
|
|
482
|
+
Fastify: 'fastify',
|
|
483
|
+
Astro: 'astro',
|
|
484
|
+
Svelte: 'svelte',
|
|
485
|
+
SvelteKit: 'svelte-kit',
|
|
486
|
+
Hono: 'hono',
|
|
487
|
+
ReactRouter: 'react-router',
|
|
488
|
+
Nitro: 'nitro',
|
|
489
|
+
Other: 'other'
|
|
490
|
+
};
|
|
491
|
+
exports.HostingV1NodeJsUpdateBuildSettingsRequestPackageManagerEnum = {
|
|
492
|
+
Npm: 'npm',
|
|
493
|
+
Yarn: 'yarn',
|
|
494
|
+
Pnpm: 'pnpm'
|
|
495
|
+
};
|
|
438
496
|
exports.HostingV1NodeJsVulnerabilityResourceSeverityEnum = {
|
|
439
497
|
Low: 'low',
|
|
440
498
|
Moderate: 'moderate',
|
|
@@ -14047,6 +14105,82 @@ exports.ListWebsiteFilesAndDirectoriesV1FileTypesEnum = {
|
|
|
14047
14105
|
*/
|
|
14048
14106
|
const HostingNodeJSApiAxiosParamCreator = function (configuration) {
|
|
14049
14107
|
return {
|
|
14108
|
+
/**
|
|
14109
|
+
* Returns an AI analysis of why a build failed and how to fix it, based on the build logs, the project file list and package.json. Only builds in the `failed` state can be analysed; any other state returns 422. When no analysis could be produced both `analysis` and `solution` are null, in which case read `Get NodeJS build logs` instead. Each call runs the analysis again, so call it once per failed build and keep the result. Limited to 5 calls per minute per API client (429 above that).
|
|
14110
|
+
* @summary Analyse failed Node.js build
|
|
14111
|
+
* @param {string} username
|
|
14112
|
+
* @param {string} domain Domain name
|
|
14113
|
+
* @param {string} uuid Build UUID
|
|
14114
|
+
* @param {*} [options] Override http request option.
|
|
14115
|
+
* @throws {RequiredError}
|
|
14116
|
+
*/
|
|
14117
|
+
analyseFailedNodeJsBuildV1: (username_1, domain_1, uuid_1, ...args_1) => __awaiter(this, [username_1, domain_1, uuid_1, ...args_1], void 0, function* (username, domain, uuid, options = {}) {
|
|
14118
|
+
// verify required parameter 'username' is not null or undefined
|
|
14119
|
+
(0, common_1.assertParamExists)('analyseFailedNodeJsBuildV1', 'username', username);
|
|
14120
|
+
// verify required parameter 'domain' is not null or undefined
|
|
14121
|
+
(0, common_1.assertParamExists)('analyseFailedNodeJsBuildV1', 'domain', domain);
|
|
14122
|
+
// verify required parameter 'uuid' is not null or undefined
|
|
14123
|
+
(0, common_1.assertParamExists)('analyseFailedNodeJsBuildV1', 'uuid', uuid);
|
|
14124
|
+
const localVarPath = `/api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/builds/{uuid}/analysis`
|
|
14125
|
+
.replace(`{${"username"}}`, encodeURIComponent(String(username)))
|
|
14126
|
+
.replace(`{${"domain"}}`, encodeURIComponent(String(domain)))
|
|
14127
|
+
.replace(`{${"uuid"}}`, encodeURIComponent(String(uuid)));
|
|
14128
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14129
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
14130
|
+
let baseOptions;
|
|
14131
|
+
if (configuration) {
|
|
14132
|
+
baseOptions = configuration.baseOptions;
|
|
14133
|
+
}
|
|
14134
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
14135
|
+
const localVarHeaderParameter = {};
|
|
14136
|
+
const localVarQueryParameter = {};
|
|
14137
|
+
// authentication apiToken required
|
|
14138
|
+
// http bearer authentication required
|
|
14139
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
14140
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
14141
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14142
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
14143
|
+
return {
|
|
14144
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
14145
|
+
options: localVarRequestOptions,
|
|
14146
|
+
};
|
|
14147
|
+
}),
|
|
14148
|
+
/**
|
|
14149
|
+
* Empties the Node.js application\'s runtime log file. This cannot be undone, so confirm with the user before calling it. Returns success even when no log file exists yet. Use it before reproducing a problem so the next `Get Node.js runtime logs` call returns only fresh entries; start that call with `period` again instead of reusing a `from_line` from before the clear.
|
|
14150
|
+
* @summary Clear Node.js runtime logs
|
|
14151
|
+
* @param {string} username
|
|
14152
|
+
* @param {string} domain Domain name
|
|
14153
|
+
* @param {*} [options] Override http request option.
|
|
14154
|
+
* @throws {RequiredError}
|
|
14155
|
+
*/
|
|
14156
|
+
clearNodeJsRuntimeLogsV1: (username_1, domain_1, ...args_1) => __awaiter(this, [username_1, domain_1, ...args_1], void 0, function* (username, domain, options = {}) {
|
|
14157
|
+
// verify required parameter 'username' is not null or undefined
|
|
14158
|
+
(0, common_1.assertParamExists)('clearNodeJsRuntimeLogsV1', 'username', username);
|
|
14159
|
+
// verify required parameter 'domain' is not null or undefined
|
|
14160
|
+
(0, common_1.assertParamExists)('clearNodeJsRuntimeLogsV1', 'domain', domain);
|
|
14161
|
+
const localVarPath = `/api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/runtime-logs`
|
|
14162
|
+
.replace(`{${"username"}}`, encodeURIComponent(String(username)))
|
|
14163
|
+
.replace(`{${"domain"}}`, encodeURIComponent(String(domain)));
|
|
14164
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14165
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
14166
|
+
let baseOptions;
|
|
14167
|
+
if (configuration) {
|
|
14168
|
+
baseOptions = configuration.baseOptions;
|
|
14169
|
+
}
|
|
14170
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
14171
|
+
const localVarHeaderParameter = {};
|
|
14172
|
+
const localVarQueryParameter = {};
|
|
14173
|
+
// authentication apiToken required
|
|
14174
|
+
// http bearer authentication required
|
|
14175
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
14176
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
14177
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14178
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
14179
|
+
return {
|
|
14180
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
14181
|
+
options: localVarRequestOptions,
|
|
14182
|
+
};
|
|
14183
|
+
}),
|
|
14050
14184
|
/**
|
|
14051
14185
|
* Retrieve logs from a specific Node.js build process. To stream live output while a build is running, poll this endpoint repeatedly while the build state is `running`, passing the previously returned `lines` count as `from_line` to fetch only new output since the last call. Log content may contain ANSI escape sequences (color codes).
|
|
14052
14186
|
* @summary Get NodeJS build logs
|
|
@@ -14091,6 +14225,46 @@ const HostingNodeJSApiAxiosParamCreator = function (configuration) {
|
|
|
14091
14225
|
options: localVarRequestOptions,
|
|
14092
14226
|
};
|
|
14093
14227
|
}),
|
|
14228
|
+
/**
|
|
14229
|
+
* Returns one build by UUID: its state (`pending`, `running`, `completed`, `failed`), the options it ran with and timestamps. Poll this while a build is pending or running. When it is failed, read `Get NodeJS build logs` and `Analyse failed Node.js build` for the cause. Returns 404 when the UUID does not belong to a build of this website.
|
|
14230
|
+
* @summary Get Node.js build details
|
|
14231
|
+
* @param {string} username
|
|
14232
|
+
* @param {string} domain Domain name
|
|
14233
|
+
* @param {string} uuid Build UUID
|
|
14234
|
+
* @param {*} [options] Override http request option.
|
|
14235
|
+
* @throws {RequiredError}
|
|
14236
|
+
*/
|
|
14237
|
+
getNodeJsBuildDetailsV1: (username_1, domain_1, uuid_1, ...args_1) => __awaiter(this, [username_1, domain_1, uuid_1, ...args_1], void 0, function* (username, domain, uuid, options = {}) {
|
|
14238
|
+
// verify required parameter 'username' is not null or undefined
|
|
14239
|
+
(0, common_1.assertParamExists)('getNodeJsBuildDetailsV1', 'username', username);
|
|
14240
|
+
// verify required parameter 'domain' is not null or undefined
|
|
14241
|
+
(0, common_1.assertParamExists)('getNodeJsBuildDetailsV1', 'domain', domain);
|
|
14242
|
+
// verify required parameter 'uuid' is not null or undefined
|
|
14243
|
+
(0, common_1.assertParamExists)('getNodeJsBuildDetailsV1', 'uuid', uuid);
|
|
14244
|
+
const localVarPath = `/api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/builds/{uuid}`
|
|
14245
|
+
.replace(`{${"username"}}`, encodeURIComponent(String(username)))
|
|
14246
|
+
.replace(`{${"domain"}}`, encodeURIComponent(String(domain)))
|
|
14247
|
+
.replace(`{${"uuid"}}`, encodeURIComponent(String(uuid)));
|
|
14248
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14249
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
14250
|
+
let baseOptions;
|
|
14251
|
+
if (configuration) {
|
|
14252
|
+
baseOptions = configuration.baseOptions;
|
|
14253
|
+
}
|
|
14254
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
14255
|
+
const localVarHeaderParameter = {};
|
|
14256
|
+
const localVarQueryParameter = {};
|
|
14257
|
+
// authentication apiToken required
|
|
14258
|
+
// http bearer authentication required
|
|
14259
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
14260
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
14261
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14262
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
14263
|
+
return {
|
|
14264
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
14265
|
+
options: localVarRequestOptions,
|
|
14266
|
+
};
|
|
14267
|
+
}),
|
|
14094
14268
|
/**
|
|
14095
14269
|
* Auto-detect Node.js build settings from a package.json inside an archive already on the server. Use this before calling `Start Node.js Build` to preview what settings will be used, or to let the user review and override values (framework, node version, root directory, output directory, build script) before committing to a build. The archive must already be present on the website\'s file storage. Use the `Generate Upload URL` endpoint to obtain credentials and upload the archive first.
|
|
14096
14270
|
* @summary Get Node.js build settings from archive
|
|
@@ -14133,6 +14307,94 @@ const HostingNodeJSApiAxiosParamCreator = function (configuration) {
|
|
|
14133
14307
|
options: localVarRequestOptions,
|
|
14134
14308
|
};
|
|
14135
14309
|
}),
|
|
14310
|
+
/**
|
|
14311
|
+
* Returns the build settings stored for the website: framework (`app_type`), Node.js version, root and output directory, build script, entry file and package manager. Stored settings drive Git auto-deployment builds. A build started through the API uses the values sent in that request and saves them here only when no settings exist yet. Returns 404 until the first build or the first settings update stores them. Use this after a failed build to check whether the framework or the entry file were detected wrong, then fix them with the `Update Node.js build settings` endpoint.
|
|
14312
|
+
* @summary Get Node.js build settings
|
|
14313
|
+
* @param {string} username
|
|
14314
|
+
* @param {string} domain Domain name
|
|
14315
|
+
* @param {*} [options] Override http request option.
|
|
14316
|
+
* @throws {RequiredError}
|
|
14317
|
+
*/
|
|
14318
|
+
getNodeJsBuildSettingsV1: (username_1, domain_1, ...args_1) => __awaiter(this, [username_1, domain_1, ...args_1], void 0, function* (username, domain, options = {}) {
|
|
14319
|
+
// verify required parameter 'username' is not null or undefined
|
|
14320
|
+
(0, common_1.assertParamExists)('getNodeJsBuildSettingsV1', 'username', username);
|
|
14321
|
+
// verify required parameter 'domain' is not null or undefined
|
|
14322
|
+
(0, common_1.assertParamExists)('getNodeJsBuildSettingsV1', 'domain', domain);
|
|
14323
|
+
const localVarPath = `/api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/builds/settings`
|
|
14324
|
+
.replace(`{${"username"}}`, encodeURIComponent(String(username)))
|
|
14325
|
+
.replace(`{${"domain"}}`, encodeURIComponent(String(domain)));
|
|
14326
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14327
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
14328
|
+
let baseOptions;
|
|
14329
|
+
if (configuration) {
|
|
14330
|
+
baseOptions = configuration.baseOptions;
|
|
14331
|
+
}
|
|
14332
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
14333
|
+
const localVarHeaderParameter = {};
|
|
14334
|
+
const localVarQueryParameter = {};
|
|
14335
|
+
// authentication apiToken required
|
|
14336
|
+
// http bearer authentication required
|
|
14337
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
14338
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
14339
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14340
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
14341
|
+
return {
|
|
14342
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
14343
|
+
options: localVarRequestOptions,
|
|
14344
|
+
};
|
|
14345
|
+
}),
|
|
14346
|
+
/**
|
|
14347
|
+
* Returns the Node.js application\'s runtime console log entries, oldest first, each with timestamp, level and message. On the first call send `period` (`1h`, `1d`, `1w` or `1m`) and optionally `levels` and `limit` (1-5000, default 1000); when more entries match than `limit`, the newest are kept. To poll for new entries send `total_lines + 1` from the previous response as `from_line` and omit `period`; `period` and `from_line` cannot be combined. Lines that are not JSON with a timestamp, level and message are skipped, so `logs` may hold fewer than `limit` entries while `total_lines` counts every raw line. Entries with a timestamp before `last_deployed_at` belong to the previous deployment. Returns an empty `logs` list when the application has not written a log file yet.
|
|
14348
|
+
* @summary Get Node.js runtime logs
|
|
14349
|
+
* @param {string} username
|
|
14350
|
+
* @param {string} domain Domain name
|
|
14351
|
+
* @param {GetNodeJsRuntimeLogsV1PeriodEnum} [period] Time window for the first fetch. Required when `from_line` is not sent.
|
|
14352
|
+
* @param {number} [fromLine] 1-based line of the log file to start from. For polling send `total_lines + 1` from the previous response. Cannot be combined with `period`.
|
|
14353
|
+
* @param {number} [limit] Maximum number of log entries to return. When more entries match, the newest are kept.
|
|
14354
|
+
* @param {Array<GetNodeJsRuntimeLogsV1LevelsEnum>} [levels] Return only entries with these log levels, sent as a comma-separated list, e.g. ERROR,WARN. Matching runs on the raw log line, so entries written with numeric levels (for example by pino) are excluded while this filter is set.
|
|
14355
|
+
* @param {*} [options] Override http request option.
|
|
14356
|
+
* @throws {RequiredError}
|
|
14357
|
+
*/
|
|
14358
|
+
getNodeJsRuntimeLogsV1: (username_1, domain_1, period_1, fromLine_1, limit_1, levels_1, ...args_1) => __awaiter(this, [username_1, domain_1, period_1, fromLine_1, limit_1, levels_1, ...args_1], void 0, function* (username, domain, period, fromLine, limit, levels, options = {}) {
|
|
14359
|
+
// verify required parameter 'username' is not null or undefined
|
|
14360
|
+
(0, common_1.assertParamExists)('getNodeJsRuntimeLogsV1', 'username', username);
|
|
14361
|
+
// verify required parameter 'domain' is not null or undefined
|
|
14362
|
+
(0, common_1.assertParamExists)('getNodeJsRuntimeLogsV1', 'domain', domain);
|
|
14363
|
+
const localVarPath = `/api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/runtime-logs`
|
|
14364
|
+
.replace(`{${"username"}}`, encodeURIComponent(String(username)))
|
|
14365
|
+
.replace(`{${"domain"}}`, encodeURIComponent(String(domain)));
|
|
14366
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14367
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
14368
|
+
let baseOptions;
|
|
14369
|
+
if (configuration) {
|
|
14370
|
+
baseOptions = configuration.baseOptions;
|
|
14371
|
+
}
|
|
14372
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
14373
|
+
const localVarHeaderParameter = {};
|
|
14374
|
+
const localVarQueryParameter = {};
|
|
14375
|
+
// authentication apiToken required
|
|
14376
|
+
// http bearer authentication required
|
|
14377
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
14378
|
+
if (period !== undefined) {
|
|
14379
|
+
localVarQueryParameter['period'] = period;
|
|
14380
|
+
}
|
|
14381
|
+
if (fromLine !== undefined) {
|
|
14382
|
+
localVarQueryParameter['from_line'] = fromLine;
|
|
14383
|
+
}
|
|
14384
|
+
if (limit !== undefined) {
|
|
14385
|
+
localVarQueryParameter['limit'] = limit;
|
|
14386
|
+
}
|
|
14387
|
+
if (levels) {
|
|
14388
|
+
localVarQueryParameter['levels'] = levels.join(base_1.COLLECTION_FORMATS.csv);
|
|
14389
|
+
}
|
|
14390
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
14391
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14392
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
14393
|
+
return {
|
|
14394
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
14395
|
+
options: localVarRequestOptions,
|
|
14396
|
+
};
|
|
14397
|
+
}),
|
|
14136
14398
|
/**
|
|
14137
14399
|
* Retrieve a paginated list of Node.js build processes for a specific website. Each build represents a single run of the Node.js build pipeline. Use the `states` query parameter to filter results by build state (pending, running, completed, failed). Use the `uuid` from a build to poll its output via the `Get Node.js Build Logs` endpoint.
|
|
14138
14400
|
* @summary List NodeJS builds
|
|
@@ -14416,6 +14678,47 @@ const HostingNodeJSApiAxiosParamCreator = function (configuration) {
|
|
|
14416
14678
|
options: localVarRequestOptions,
|
|
14417
14679
|
};
|
|
14418
14680
|
}),
|
|
14681
|
+
/**
|
|
14682
|
+
* Replaces the build settings stored for the website. Send the full set: `node_version` is required and every nullable field you omit is stored as null. Creates the settings when none exist yet. This does not start a build. Stored settings drive Git auto-deployment builds; a build started through the API uses the values sent in that request, so to rebuild with corrected settings call `Start Node.js build` with the same values. Typical fixes: a wrong `app_type` after auto-detection, or a missing `entry_file` for express, fastify, nest, nuxt and hono apps.
|
|
14683
|
+
* @summary Update Node.js build settings
|
|
14684
|
+
* @param {string} username
|
|
14685
|
+
* @param {string} domain Domain name
|
|
14686
|
+
* @param {HostingV1NodeJsUpdateBuildSettingsRequest} hostingV1NodeJsUpdateBuildSettingsRequest
|
|
14687
|
+
* @param {*} [options] Override http request option.
|
|
14688
|
+
* @throws {RequiredError}
|
|
14689
|
+
*/
|
|
14690
|
+
updateNodeJsBuildSettingsV1: (username_1, domain_1, hostingV1NodeJsUpdateBuildSettingsRequest_1, ...args_1) => __awaiter(this, [username_1, domain_1, hostingV1NodeJsUpdateBuildSettingsRequest_1, ...args_1], void 0, function* (username, domain, hostingV1NodeJsUpdateBuildSettingsRequest, options = {}) {
|
|
14691
|
+
// verify required parameter 'username' is not null or undefined
|
|
14692
|
+
(0, common_1.assertParamExists)('updateNodeJsBuildSettingsV1', 'username', username);
|
|
14693
|
+
// verify required parameter 'domain' is not null or undefined
|
|
14694
|
+
(0, common_1.assertParamExists)('updateNodeJsBuildSettingsV1', 'domain', domain);
|
|
14695
|
+
// verify required parameter 'hostingV1NodeJsUpdateBuildSettingsRequest' is not null or undefined
|
|
14696
|
+
(0, common_1.assertParamExists)('updateNodeJsBuildSettingsV1', 'hostingV1NodeJsUpdateBuildSettingsRequest', hostingV1NodeJsUpdateBuildSettingsRequest);
|
|
14697
|
+
const localVarPath = `/api/hosting/v1/accounts/{username}/websites/{domain}/nodejs/builds/settings`
|
|
14698
|
+
.replace(`{${"username"}}`, encodeURIComponent(String(username)))
|
|
14699
|
+
.replace(`{${"domain"}}`, encodeURIComponent(String(domain)));
|
|
14700
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14701
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
14702
|
+
let baseOptions;
|
|
14703
|
+
if (configuration) {
|
|
14704
|
+
baseOptions = configuration.baseOptions;
|
|
14705
|
+
}
|
|
14706
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
14707
|
+
const localVarHeaderParameter = {};
|
|
14708
|
+
const localVarQueryParameter = {};
|
|
14709
|
+
// authentication apiToken required
|
|
14710
|
+
// http bearer authentication required
|
|
14711
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
14712
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
14713
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
14714
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14715
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
14716
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(hostingV1NodeJsUpdateBuildSettingsRequest, localVarRequestOptions, configuration);
|
|
14717
|
+
return {
|
|
14718
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
14719
|
+
options: localVarRequestOptions,
|
|
14720
|
+
};
|
|
14721
|
+
}),
|
|
14419
14722
|
};
|
|
14420
14723
|
};
|
|
14421
14724
|
exports.HostingNodeJSApiAxiosParamCreator = HostingNodeJSApiAxiosParamCreator;
|
|
@@ -14426,6 +14729,39 @@ exports.HostingNodeJSApiAxiosParamCreator = HostingNodeJSApiAxiosParamCreator;
|
|
|
14426
14729
|
const HostingNodeJSApiFp = function (configuration) {
|
|
14427
14730
|
const localVarAxiosParamCreator = (0, exports.HostingNodeJSApiAxiosParamCreator)(configuration);
|
|
14428
14731
|
return {
|
|
14732
|
+
/**
|
|
14733
|
+
* Returns an AI analysis of why a build failed and how to fix it, based on the build logs, the project file list and package.json. Only builds in the `failed` state can be analysed; any other state returns 422. When no analysis could be produced both `analysis` and `solution` are null, in which case read `Get NodeJS build logs` instead. Each call runs the analysis again, so call it once per failed build and keep the result. Limited to 5 calls per minute per API client (429 above that).
|
|
14734
|
+
* @summary Analyse failed Node.js build
|
|
14735
|
+
* @param {string} username
|
|
14736
|
+
* @param {string} domain Domain name
|
|
14737
|
+
* @param {string} uuid Build UUID
|
|
14738
|
+
* @param {*} [options] Override http request option.
|
|
14739
|
+
* @throws {RequiredError}
|
|
14740
|
+
*/
|
|
14741
|
+
analyseFailedNodeJsBuildV1(username, domain, uuid, options) {
|
|
14742
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
14743
|
+
var _a, _b;
|
|
14744
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.analyseFailedNodeJsBuildV1(username, domain, uuid, options);
|
|
14745
|
+
const localVarOperationServerBasePath = (_b = (_a = base_1.operationServerMap['HostingNodeJSApi.analyseFailedNodeJsBuildV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
|
|
14746
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14747
|
+
});
|
|
14748
|
+
},
|
|
14749
|
+
/**
|
|
14750
|
+
* Empties the Node.js application\'s runtime log file. This cannot be undone, so confirm with the user before calling it. Returns success even when no log file exists yet. Use it before reproducing a problem so the next `Get Node.js runtime logs` call returns only fresh entries; start that call with `period` again instead of reusing a `from_line` from before the clear.
|
|
14751
|
+
* @summary Clear Node.js runtime logs
|
|
14752
|
+
* @param {string} username
|
|
14753
|
+
* @param {string} domain Domain name
|
|
14754
|
+
* @param {*} [options] Override http request option.
|
|
14755
|
+
* @throws {RequiredError}
|
|
14756
|
+
*/
|
|
14757
|
+
clearNodeJsRuntimeLogsV1(username, domain, options) {
|
|
14758
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
14759
|
+
var _a, _b;
|
|
14760
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.clearNodeJsRuntimeLogsV1(username, domain, options);
|
|
14761
|
+
const localVarOperationServerBasePath = (_b = (_a = base_1.operationServerMap['HostingNodeJSApi.clearNodeJsRuntimeLogsV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
|
|
14762
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14763
|
+
});
|
|
14764
|
+
},
|
|
14429
14765
|
/**
|
|
14430
14766
|
* Retrieve logs from a specific Node.js build process. To stream live output while a build is running, poll this endpoint repeatedly while the build state is `running`, passing the previously returned `lines` count as `from_line` to fetch only new output since the last call. Log content may contain ANSI escape sequences (color codes).
|
|
14431
14767
|
* @summary Get NodeJS build logs
|
|
@@ -14444,6 +14780,23 @@ const HostingNodeJSApiFp = function (configuration) {
|
|
|
14444
14780
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14445
14781
|
});
|
|
14446
14782
|
},
|
|
14783
|
+
/**
|
|
14784
|
+
* Returns one build by UUID: its state (`pending`, `running`, `completed`, `failed`), the options it ran with and timestamps. Poll this while a build is pending or running. When it is failed, read `Get NodeJS build logs` and `Analyse failed Node.js build` for the cause. Returns 404 when the UUID does not belong to a build of this website.
|
|
14785
|
+
* @summary Get Node.js build details
|
|
14786
|
+
* @param {string} username
|
|
14787
|
+
* @param {string} domain Domain name
|
|
14788
|
+
* @param {string} uuid Build UUID
|
|
14789
|
+
* @param {*} [options] Override http request option.
|
|
14790
|
+
* @throws {RequiredError}
|
|
14791
|
+
*/
|
|
14792
|
+
getNodeJsBuildDetailsV1(username, domain, uuid, options) {
|
|
14793
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
14794
|
+
var _a, _b;
|
|
14795
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getNodeJsBuildDetailsV1(username, domain, uuid, options);
|
|
14796
|
+
const localVarOperationServerBasePath = (_b = (_a = base_1.operationServerMap['HostingNodeJSApi.getNodeJsBuildDetailsV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
|
|
14797
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14798
|
+
});
|
|
14799
|
+
},
|
|
14447
14800
|
/**
|
|
14448
14801
|
* Auto-detect Node.js build settings from a package.json inside an archive already on the server. Use this before calling `Start Node.js Build` to preview what settings will be used, or to let the user review and override values (framework, node version, root directory, output directory, build script) before committing to a build. The archive must already be present on the website\'s file storage. Use the `Generate Upload URL` endpoint to obtain credentials and upload the archive first.
|
|
14449
14802
|
* @summary Get Node.js build settings from archive
|
|
@@ -14461,6 +14814,42 @@ const HostingNodeJSApiFp = function (configuration) {
|
|
|
14461
14814
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14462
14815
|
});
|
|
14463
14816
|
},
|
|
14817
|
+
/**
|
|
14818
|
+
* Returns the build settings stored for the website: framework (`app_type`), Node.js version, root and output directory, build script, entry file and package manager. Stored settings drive Git auto-deployment builds. A build started through the API uses the values sent in that request and saves them here only when no settings exist yet. Returns 404 until the first build or the first settings update stores them. Use this after a failed build to check whether the framework or the entry file were detected wrong, then fix them with the `Update Node.js build settings` endpoint.
|
|
14819
|
+
* @summary Get Node.js build settings
|
|
14820
|
+
* @param {string} username
|
|
14821
|
+
* @param {string} domain Domain name
|
|
14822
|
+
* @param {*} [options] Override http request option.
|
|
14823
|
+
* @throws {RequiredError}
|
|
14824
|
+
*/
|
|
14825
|
+
getNodeJsBuildSettingsV1(username, domain, options) {
|
|
14826
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
14827
|
+
var _a, _b;
|
|
14828
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getNodeJsBuildSettingsV1(username, domain, options);
|
|
14829
|
+
const localVarOperationServerBasePath = (_b = (_a = base_1.operationServerMap['HostingNodeJSApi.getNodeJsBuildSettingsV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
|
|
14830
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14831
|
+
});
|
|
14832
|
+
},
|
|
14833
|
+
/**
|
|
14834
|
+
* Returns the Node.js application\'s runtime console log entries, oldest first, each with timestamp, level and message. On the first call send `period` (`1h`, `1d`, `1w` or `1m`) and optionally `levels` and `limit` (1-5000, default 1000); when more entries match than `limit`, the newest are kept. To poll for new entries send `total_lines + 1` from the previous response as `from_line` and omit `period`; `period` and `from_line` cannot be combined. Lines that are not JSON with a timestamp, level and message are skipped, so `logs` may hold fewer than `limit` entries while `total_lines` counts every raw line. Entries with a timestamp before `last_deployed_at` belong to the previous deployment. Returns an empty `logs` list when the application has not written a log file yet.
|
|
14835
|
+
* @summary Get Node.js runtime logs
|
|
14836
|
+
* @param {string} username
|
|
14837
|
+
* @param {string} domain Domain name
|
|
14838
|
+
* @param {GetNodeJsRuntimeLogsV1PeriodEnum} [period] Time window for the first fetch. Required when `from_line` is not sent.
|
|
14839
|
+
* @param {number} [fromLine] 1-based line of the log file to start from. For polling send `total_lines + 1` from the previous response. Cannot be combined with `period`.
|
|
14840
|
+
* @param {number} [limit] Maximum number of log entries to return. When more entries match, the newest are kept.
|
|
14841
|
+
* @param {Array<GetNodeJsRuntimeLogsV1LevelsEnum>} [levels] Return only entries with these log levels, sent as a comma-separated list, e.g. ERROR,WARN. Matching runs on the raw log line, so entries written with numeric levels (for example by pino) are excluded while this filter is set.
|
|
14842
|
+
* @param {*} [options] Override http request option.
|
|
14843
|
+
* @throws {RequiredError}
|
|
14844
|
+
*/
|
|
14845
|
+
getNodeJsRuntimeLogsV1(username, domain, period, fromLine, limit, levels, options) {
|
|
14846
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
14847
|
+
var _a, _b;
|
|
14848
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getNodeJsRuntimeLogsV1(username, domain, period, fromLine, limit, levels, options);
|
|
14849
|
+
const localVarOperationServerBasePath = (_b = (_a = base_1.operationServerMap['HostingNodeJSApi.getNodeJsRuntimeLogsV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
|
|
14850
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14851
|
+
});
|
|
14852
|
+
},
|
|
14464
14853
|
/**
|
|
14465
14854
|
* Retrieve a paginated list of Node.js build processes for a specific website. Each build represents a single run of the Node.js build pipeline. Use the `states` query parameter to filter results by build state (pending, running, completed, failed). Use the `uuid` from a build to poll its output via the `Get Node.js Build Logs` endpoint.
|
|
14466
14855
|
* @summary List NodeJS builds
|
|
@@ -14580,6 +14969,23 @@ const HostingNodeJSApiFp = function (configuration) {
|
|
|
14580
14969
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14581
14970
|
});
|
|
14582
14971
|
},
|
|
14972
|
+
/**
|
|
14973
|
+
* Replaces the build settings stored for the website. Send the full set: `node_version` is required and every nullable field you omit is stored as null. Creates the settings when none exist yet. This does not start a build. Stored settings drive Git auto-deployment builds; a build started through the API uses the values sent in that request, so to rebuild with corrected settings call `Start Node.js build` with the same values. Typical fixes: a wrong `app_type` after auto-detection, or a missing `entry_file` for express, fastify, nest, nuxt and hono apps.
|
|
14974
|
+
* @summary Update Node.js build settings
|
|
14975
|
+
* @param {string} username
|
|
14976
|
+
* @param {string} domain Domain name
|
|
14977
|
+
* @param {HostingV1NodeJsUpdateBuildSettingsRequest} hostingV1NodeJsUpdateBuildSettingsRequest
|
|
14978
|
+
* @param {*} [options] Override http request option.
|
|
14979
|
+
* @throws {RequiredError}
|
|
14980
|
+
*/
|
|
14981
|
+
updateNodeJsBuildSettingsV1(username, domain, hostingV1NodeJsUpdateBuildSettingsRequest, options) {
|
|
14982
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
14983
|
+
var _a, _b;
|
|
14984
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateNodeJsBuildSettingsV1(username, domain, hostingV1NodeJsUpdateBuildSettingsRequest, options);
|
|
14985
|
+
const localVarOperationServerBasePath = (_b = (_a = base_1.operationServerMap['HostingNodeJSApi.updateNodeJsBuildSettingsV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
|
|
14986
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14987
|
+
});
|
|
14988
|
+
},
|
|
14583
14989
|
};
|
|
14584
14990
|
};
|
|
14585
14991
|
exports.HostingNodeJSApiFp = HostingNodeJSApiFp;
|
|
@@ -14590,6 +14996,29 @@ exports.HostingNodeJSApiFp = HostingNodeJSApiFp;
|
|
|
14590
14996
|
const HostingNodeJSApiFactory = function (configuration, basePath, axios) {
|
|
14591
14997
|
const localVarFp = (0, exports.HostingNodeJSApiFp)(configuration);
|
|
14592
14998
|
return {
|
|
14999
|
+
/**
|
|
15000
|
+
* Returns an AI analysis of why a build failed and how to fix it, based on the build logs, the project file list and package.json. Only builds in the `failed` state can be analysed; any other state returns 422. When no analysis could be produced both `analysis` and `solution` are null, in which case read `Get NodeJS build logs` instead. Each call runs the analysis again, so call it once per failed build and keep the result. Limited to 5 calls per minute per API client (429 above that).
|
|
15001
|
+
* @summary Analyse failed Node.js build
|
|
15002
|
+
* @param {string} username
|
|
15003
|
+
* @param {string} domain Domain name
|
|
15004
|
+
* @param {string} uuid Build UUID
|
|
15005
|
+
* @param {*} [options] Override http request option.
|
|
15006
|
+
* @throws {RequiredError}
|
|
15007
|
+
*/
|
|
15008
|
+
analyseFailedNodeJsBuildV1(username, domain, uuid, options) {
|
|
15009
|
+
return localVarFp.analyseFailedNodeJsBuildV1(username, domain, uuid, options).then((request) => request(axios, basePath));
|
|
15010
|
+
},
|
|
15011
|
+
/**
|
|
15012
|
+
* Empties the Node.js application\'s runtime log file. This cannot be undone, so confirm with the user before calling it. Returns success even when no log file exists yet. Use it before reproducing a problem so the next `Get Node.js runtime logs` call returns only fresh entries; start that call with `period` again instead of reusing a `from_line` from before the clear.
|
|
15013
|
+
* @summary Clear Node.js runtime logs
|
|
15014
|
+
* @param {string} username
|
|
15015
|
+
* @param {string} domain Domain name
|
|
15016
|
+
* @param {*} [options] Override http request option.
|
|
15017
|
+
* @throws {RequiredError}
|
|
15018
|
+
*/
|
|
15019
|
+
clearNodeJsRuntimeLogsV1(username, domain, options) {
|
|
15020
|
+
return localVarFp.clearNodeJsRuntimeLogsV1(username, domain, options).then((request) => request(axios, basePath));
|
|
15021
|
+
},
|
|
14593
15022
|
/**
|
|
14594
15023
|
* Retrieve logs from a specific Node.js build process. To stream live output while a build is running, poll this endpoint repeatedly while the build state is `running`, passing the previously returned `lines` count as `from_line` to fetch only new output since the last call. Log content may contain ANSI escape sequences (color codes).
|
|
14595
15024
|
* @summary Get NodeJS build logs
|
|
@@ -14603,6 +15032,18 @@ const HostingNodeJSApiFactory = function (configuration, basePath, axios) {
|
|
|
14603
15032
|
getNodeJSBuildLogsV1(username, domain, uuid, fromLine, options) {
|
|
14604
15033
|
return localVarFp.getNodeJSBuildLogsV1(username, domain, uuid, fromLine, options).then((request) => request(axios, basePath));
|
|
14605
15034
|
},
|
|
15035
|
+
/**
|
|
15036
|
+
* Returns one build by UUID: its state (`pending`, `running`, `completed`, `failed`), the options it ran with and timestamps. Poll this while a build is pending or running. When it is failed, read `Get NodeJS build logs` and `Analyse failed Node.js build` for the cause. Returns 404 when the UUID does not belong to a build of this website.
|
|
15037
|
+
* @summary Get Node.js build details
|
|
15038
|
+
* @param {string} username
|
|
15039
|
+
* @param {string} domain Domain name
|
|
15040
|
+
* @param {string} uuid Build UUID
|
|
15041
|
+
* @param {*} [options] Override http request option.
|
|
15042
|
+
* @throws {RequiredError}
|
|
15043
|
+
*/
|
|
15044
|
+
getNodeJsBuildDetailsV1(username, domain, uuid, options) {
|
|
15045
|
+
return localVarFp.getNodeJsBuildDetailsV1(username, domain, uuid, options).then((request) => request(axios, basePath));
|
|
15046
|
+
},
|
|
14606
15047
|
/**
|
|
14607
15048
|
* Auto-detect Node.js build settings from a package.json inside an archive already on the server. Use this before calling `Start Node.js Build` to preview what settings will be used, or to let the user review and override values (framework, node version, root directory, output directory, build script) before committing to a build. The archive must already be present on the website\'s file storage. Use the `Generate Upload URL` endpoint to obtain credentials and upload the archive first.
|
|
14608
15049
|
* @summary Get Node.js build settings from archive
|
|
@@ -14615,6 +15056,32 @@ const HostingNodeJSApiFactory = function (configuration, basePath, axios) {
|
|
|
14615
15056
|
getNodeJsBuildSettingsFromArchiveV1(username, domain, archivePath, options) {
|
|
14616
15057
|
return localVarFp.getNodeJsBuildSettingsFromArchiveV1(username, domain, archivePath, options).then((request) => request(axios, basePath));
|
|
14617
15058
|
},
|
|
15059
|
+
/**
|
|
15060
|
+
* Returns the build settings stored for the website: framework (`app_type`), Node.js version, root and output directory, build script, entry file and package manager. Stored settings drive Git auto-deployment builds. A build started through the API uses the values sent in that request and saves them here only when no settings exist yet. Returns 404 until the first build or the first settings update stores them. Use this after a failed build to check whether the framework or the entry file were detected wrong, then fix them with the `Update Node.js build settings` endpoint.
|
|
15061
|
+
* @summary Get Node.js build settings
|
|
15062
|
+
* @param {string} username
|
|
15063
|
+
* @param {string} domain Domain name
|
|
15064
|
+
* @param {*} [options] Override http request option.
|
|
15065
|
+
* @throws {RequiredError}
|
|
15066
|
+
*/
|
|
15067
|
+
getNodeJsBuildSettingsV1(username, domain, options) {
|
|
15068
|
+
return localVarFp.getNodeJsBuildSettingsV1(username, domain, options).then((request) => request(axios, basePath));
|
|
15069
|
+
},
|
|
15070
|
+
/**
|
|
15071
|
+
* Returns the Node.js application\'s runtime console log entries, oldest first, each with timestamp, level and message. On the first call send `period` (`1h`, `1d`, `1w` or `1m`) and optionally `levels` and `limit` (1-5000, default 1000); when more entries match than `limit`, the newest are kept. To poll for new entries send `total_lines + 1` from the previous response as `from_line` and omit `period`; `period` and `from_line` cannot be combined. Lines that are not JSON with a timestamp, level and message are skipped, so `logs` may hold fewer than `limit` entries while `total_lines` counts every raw line. Entries with a timestamp before `last_deployed_at` belong to the previous deployment. Returns an empty `logs` list when the application has not written a log file yet.
|
|
15072
|
+
* @summary Get Node.js runtime logs
|
|
15073
|
+
* @param {string} username
|
|
15074
|
+
* @param {string} domain Domain name
|
|
15075
|
+
* @param {GetNodeJsRuntimeLogsV1PeriodEnum} [period] Time window for the first fetch. Required when `from_line` is not sent.
|
|
15076
|
+
* @param {number} [fromLine] 1-based line of the log file to start from. For polling send `total_lines + 1` from the previous response. Cannot be combined with `period`.
|
|
15077
|
+
* @param {number} [limit] Maximum number of log entries to return. When more entries match, the newest are kept.
|
|
15078
|
+
* @param {Array<GetNodeJsRuntimeLogsV1LevelsEnum>} [levels] Return only entries with these log levels, sent as a comma-separated list, e.g. ERROR,WARN. Matching runs on the raw log line, so entries written with numeric levels (for example by pino) are excluded while this filter is set.
|
|
15079
|
+
* @param {*} [options] Override http request option.
|
|
15080
|
+
* @throws {RequiredError}
|
|
15081
|
+
*/
|
|
15082
|
+
getNodeJsRuntimeLogsV1(username, domain, period, fromLine, limit, levels, options) {
|
|
15083
|
+
return localVarFp.getNodeJsRuntimeLogsV1(username, domain, period, fromLine, limit, levels, options).then((request) => request(axios, basePath));
|
|
15084
|
+
},
|
|
14618
15085
|
/**
|
|
14619
15086
|
* Retrieve a paginated list of Node.js build processes for a specific website. Each build represents a single run of the Node.js build pipeline. Use the `states` query parameter to filter results by build state (pending, running, completed, failed). Use the `uuid` from a build to poll its output via the `Get Node.js Build Logs` endpoint.
|
|
14620
15087
|
* @summary List NodeJS builds
|
|
@@ -14699,6 +15166,18 @@ const HostingNodeJSApiFactory = function (configuration, basePath, axios) {
|
|
|
14699
15166
|
startNodeJsBuildV1(username, domain, hostingV1NodeJsStartBuildRequest, options) {
|
|
14700
15167
|
return localVarFp.startNodeJsBuildV1(username, domain, hostingV1NodeJsStartBuildRequest, options).then((request) => request(axios, basePath));
|
|
14701
15168
|
},
|
|
15169
|
+
/**
|
|
15170
|
+
* Replaces the build settings stored for the website. Send the full set: `node_version` is required and every nullable field you omit is stored as null. Creates the settings when none exist yet. This does not start a build. Stored settings drive Git auto-deployment builds; a build started through the API uses the values sent in that request, so to rebuild with corrected settings call `Start Node.js build` with the same values. Typical fixes: a wrong `app_type` after auto-detection, or a missing `entry_file` for express, fastify, nest, nuxt and hono apps.
|
|
15171
|
+
* @summary Update Node.js build settings
|
|
15172
|
+
* @param {string} username
|
|
15173
|
+
* @param {string} domain Domain name
|
|
15174
|
+
* @param {HostingV1NodeJsUpdateBuildSettingsRequest} hostingV1NodeJsUpdateBuildSettingsRequest
|
|
15175
|
+
* @param {*} [options] Override http request option.
|
|
15176
|
+
* @throws {RequiredError}
|
|
15177
|
+
*/
|
|
15178
|
+
updateNodeJsBuildSettingsV1(username, domain, hostingV1NodeJsUpdateBuildSettingsRequest, options) {
|
|
15179
|
+
return localVarFp.updateNodeJsBuildSettingsV1(username, domain, hostingV1NodeJsUpdateBuildSettingsRequest, options).then((request) => request(axios, basePath));
|
|
15180
|
+
},
|
|
14702
15181
|
};
|
|
14703
15182
|
};
|
|
14704
15183
|
exports.HostingNodeJSApiFactory = HostingNodeJSApiFactory;
|
|
@@ -14709,6 +15188,31 @@ exports.HostingNodeJSApiFactory = HostingNodeJSApiFactory;
|
|
|
14709
15188
|
* @extends {BaseAPI}
|
|
14710
15189
|
*/
|
|
14711
15190
|
class HostingNodeJSApi extends base_1.BaseAPI {
|
|
15191
|
+
/**
|
|
15192
|
+
* Returns an AI analysis of why a build failed and how to fix it, based on the build logs, the project file list and package.json. Only builds in the `failed` state can be analysed; any other state returns 422. When no analysis could be produced both `analysis` and `solution` are null, in which case read `Get NodeJS build logs` instead. Each call runs the analysis again, so call it once per failed build and keep the result. Limited to 5 calls per minute per API client (429 above that).
|
|
15193
|
+
* @summary Analyse failed Node.js build
|
|
15194
|
+
* @param {string} username
|
|
15195
|
+
* @param {string} domain Domain name
|
|
15196
|
+
* @param {string} uuid Build UUID
|
|
15197
|
+
* @param {*} [options] Override http request option.
|
|
15198
|
+
* @throws {RequiredError}
|
|
15199
|
+
* @memberof HostingNodeJSApi
|
|
15200
|
+
*/
|
|
15201
|
+
analyseFailedNodeJsBuildV1(username, domain, uuid, options) {
|
|
15202
|
+
return (0, exports.HostingNodeJSApiFp)(this.configuration).analyseFailedNodeJsBuildV1(username, domain, uuid, options).then((request) => request(this.axios, this.basePath));
|
|
15203
|
+
}
|
|
15204
|
+
/**
|
|
15205
|
+
* Empties the Node.js application\'s runtime log file. This cannot be undone, so confirm with the user before calling it. Returns success even when no log file exists yet. Use it before reproducing a problem so the next `Get Node.js runtime logs` call returns only fresh entries; start that call with `period` again instead of reusing a `from_line` from before the clear.
|
|
15206
|
+
* @summary Clear Node.js runtime logs
|
|
15207
|
+
* @param {string} username
|
|
15208
|
+
* @param {string} domain Domain name
|
|
15209
|
+
* @param {*} [options] Override http request option.
|
|
15210
|
+
* @throws {RequiredError}
|
|
15211
|
+
* @memberof HostingNodeJSApi
|
|
15212
|
+
*/
|
|
15213
|
+
clearNodeJsRuntimeLogsV1(username, domain, options) {
|
|
15214
|
+
return (0, exports.HostingNodeJSApiFp)(this.configuration).clearNodeJsRuntimeLogsV1(username, domain, options).then((request) => request(this.axios, this.basePath));
|
|
15215
|
+
}
|
|
14712
15216
|
/**
|
|
14713
15217
|
* Retrieve logs from a specific Node.js build process. To stream live output while a build is running, poll this endpoint repeatedly while the build state is `running`, passing the previously returned `lines` count as `from_line` to fetch only new output since the last call. Log content may contain ANSI escape sequences (color codes).
|
|
14714
15218
|
* @summary Get NodeJS build logs
|
|
@@ -14723,6 +15227,19 @@ class HostingNodeJSApi extends base_1.BaseAPI {
|
|
|
14723
15227
|
getNodeJSBuildLogsV1(username, domain, uuid, fromLine, options) {
|
|
14724
15228
|
return (0, exports.HostingNodeJSApiFp)(this.configuration).getNodeJSBuildLogsV1(username, domain, uuid, fromLine, options).then((request) => request(this.axios, this.basePath));
|
|
14725
15229
|
}
|
|
15230
|
+
/**
|
|
15231
|
+
* Returns one build by UUID: its state (`pending`, `running`, `completed`, `failed`), the options it ran with and timestamps. Poll this while a build is pending or running. When it is failed, read `Get NodeJS build logs` and `Analyse failed Node.js build` for the cause. Returns 404 when the UUID does not belong to a build of this website.
|
|
15232
|
+
* @summary Get Node.js build details
|
|
15233
|
+
* @param {string} username
|
|
15234
|
+
* @param {string} domain Domain name
|
|
15235
|
+
* @param {string} uuid Build UUID
|
|
15236
|
+
* @param {*} [options] Override http request option.
|
|
15237
|
+
* @throws {RequiredError}
|
|
15238
|
+
* @memberof HostingNodeJSApi
|
|
15239
|
+
*/
|
|
15240
|
+
getNodeJsBuildDetailsV1(username, domain, uuid, options) {
|
|
15241
|
+
return (0, exports.HostingNodeJSApiFp)(this.configuration).getNodeJsBuildDetailsV1(username, domain, uuid, options).then((request) => request(this.axios, this.basePath));
|
|
15242
|
+
}
|
|
14726
15243
|
/**
|
|
14727
15244
|
* Auto-detect Node.js build settings from a package.json inside an archive already on the server. Use this before calling `Start Node.js Build` to preview what settings will be used, or to let the user review and override values (framework, node version, root directory, output directory, build script) before committing to a build. The archive must already be present on the website\'s file storage. Use the `Generate Upload URL` endpoint to obtain credentials and upload the archive first.
|
|
14728
15245
|
* @summary Get Node.js build settings from archive
|
|
@@ -14736,6 +15253,34 @@ class HostingNodeJSApi extends base_1.BaseAPI {
|
|
|
14736
15253
|
getNodeJsBuildSettingsFromArchiveV1(username, domain, archivePath, options) {
|
|
14737
15254
|
return (0, exports.HostingNodeJSApiFp)(this.configuration).getNodeJsBuildSettingsFromArchiveV1(username, domain, archivePath, options).then((request) => request(this.axios, this.basePath));
|
|
14738
15255
|
}
|
|
15256
|
+
/**
|
|
15257
|
+
* Returns the build settings stored for the website: framework (`app_type`), Node.js version, root and output directory, build script, entry file and package manager. Stored settings drive Git auto-deployment builds. A build started through the API uses the values sent in that request and saves them here only when no settings exist yet. Returns 404 until the first build or the first settings update stores them. Use this after a failed build to check whether the framework or the entry file were detected wrong, then fix them with the `Update Node.js build settings` endpoint.
|
|
15258
|
+
* @summary Get Node.js build settings
|
|
15259
|
+
* @param {string} username
|
|
15260
|
+
* @param {string} domain Domain name
|
|
15261
|
+
* @param {*} [options] Override http request option.
|
|
15262
|
+
* @throws {RequiredError}
|
|
15263
|
+
* @memberof HostingNodeJSApi
|
|
15264
|
+
*/
|
|
15265
|
+
getNodeJsBuildSettingsV1(username, domain, options) {
|
|
15266
|
+
return (0, exports.HostingNodeJSApiFp)(this.configuration).getNodeJsBuildSettingsV1(username, domain, options).then((request) => request(this.axios, this.basePath));
|
|
15267
|
+
}
|
|
15268
|
+
/**
|
|
15269
|
+
* Returns the Node.js application\'s runtime console log entries, oldest first, each with timestamp, level and message. On the first call send `period` (`1h`, `1d`, `1w` or `1m`) and optionally `levels` and `limit` (1-5000, default 1000); when more entries match than `limit`, the newest are kept. To poll for new entries send `total_lines + 1` from the previous response as `from_line` and omit `period`; `period` and `from_line` cannot be combined. Lines that are not JSON with a timestamp, level and message are skipped, so `logs` may hold fewer than `limit` entries while `total_lines` counts every raw line. Entries with a timestamp before `last_deployed_at` belong to the previous deployment. Returns an empty `logs` list when the application has not written a log file yet.
|
|
15270
|
+
* @summary Get Node.js runtime logs
|
|
15271
|
+
* @param {string} username
|
|
15272
|
+
* @param {string} domain Domain name
|
|
15273
|
+
* @param {GetNodeJsRuntimeLogsV1PeriodEnum} [period] Time window for the first fetch. Required when `from_line` is not sent.
|
|
15274
|
+
* @param {number} [fromLine] 1-based line of the log file to start from. For polling send `total_lines + 1` from the previous response. Cannot be combined with `period`.
|
|
15275
|
+
* @param {number} [limit] Maximum number of log entries to return. When more entries match, the newest are kept.
|
|
15276
|
+
* @param {Array<GetNodeJsRuntimeLogsV1LevelsEnum>} [levels] Return only entries with these log levels, sent as a comma-separated list, e.g. ERROR,WARN. Matching runs on the raw log line, so entries written with numeric levels (for example by pino) are excluded while this filter is set.
|
|
15277
|
+
* @param {*} [options] Override http request option.
|
|
15278
|
+
* @throws {RequiredError}
|
|
15279
|
+
* @memberof HostingNodeJSApi
|
|
15280
|
+
*/
|
|
15281
|
+
getNodeJsRuntimeLogsV1(username, domain, period, fromLine, limit, levels, options) {
|
|
15282
|
+
return (0, exports.HostingNodeJSApiFp)(this.configuration).getNodeJsRuntimeLogsV1(username, domain, period, fromLine, limit, levels, options).then((request) => request(this.axios, this.basePath));
|
|
15283
|
+
}
|
|
14739
15284
|
/**
|
|
14740
15285
|
* Retrieve a paginated list of Node.js build processes for a specific website. Each build represents a single run of the Node.js build pipeline. Use the `states` query parameter to filter results by build state (pending, running, completed, failed). Use the `uuid` from a build to poll its output via the `Get Node.js Build Logs` endpoint.
|
|
14741
15286
|
* @summary List NodeJS builds
|
|
@@ -14827,8 +15372,41 @@ class HostingNodeJSApi extends base_1.BaseAPI {
|
|
|
14827
15372
|
startNodeJsBuildV1(username, domain, hostingV1NodeJsStartBuildRequest, options) {
|
|
14828
15373
|
return (0, exports.HostingNodeJSApiFp)(this.configuration).startNodeJsBuildV1(username, domain, hostingV1NodeJsStartBuildRequest, options).then((request) => request(this.axios, this.basePath));
|
|
14829
15374
|
}
|
|
15375
|
+
/**
|
|
15376
|
+
* Replaces the build settings stored for the website. Send the full set: `node_version` is required and every nullable field you omit is stored as null. Creates the settings when none exist yet. This does not start a build. Stored settings drive Git auto-deployment builds; a build started through the API uses the values sent in that request, so to rebuild with corrected settings call `Start Node.js build` with the same values. Typical fixes: a wrong `app_type` after auto-detection, or a missing `entry_file` for express, fastify, nest, nuxt and hono apps.
|
|
15377
|
+
* @summary Update Node.js build settings
|
|
15378
|
+
* @param {string} username
|
|
15379
|
+
* @param {string} domain Domain name
|
|
15380
|
+
* @param {HostingV1NodeJsUpdateBuildSettingsRequest} hostingV1NodeJsUpdateBuildSettingsRequest
|
|
15381
|
+
* @param {*} [options] Override http request option.
|
|
15382
|
+
* @throws {RequiredError}
|
|
15383
|
+
* @memberof HostingNodeJSApi
|
|
15384
|
+
*/
|
|
15385
|
+
updateNodeJsBuildSettingsV1(username, domain, hostingV1NodeJsUpdateBuildSettingsRequest, options) {
|
|
15386
|
+
return (0, exports.HostingNodeJSApiFp)(this.configuration).updateNodeJsBuildSettingsV1(username, domain, hostingV1NodeJsUpdateBuildSettingsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
15387
|
+
}
|
|
14830
15388
|
}
|
|
14831
15389
|
exports.HostingNodeJSApi = HostingNodeJSApi;
|
|
15390
|
+
/**
|
|
15391
|
+
* @export
|
|
15392
|
+
*/
|
|
15393
|
+
exports.GetNodeJsRuntimeLogsV1PeriodEnum = {
|
|
15394
|
+
_1h: '1h',
|
|
15395
|
+
_1d: '1d',
|
|
15396
|
+
_1w: '1w',
|
|
15397
|
+
_1m: '1m'
|
|
15398
|
+
};
|
|
15399
|
+
/**
|
|
15400
|
+
* @export
|
|
15401
|
+
*/
|
|
15402
|
+
exports.GetNodeJsRuntimeLogsV1LevelsEnum = {
|
|
15403
|
+
Log: 'LOG',
|
|
15404
|
+
Error: 'ERROR',
|
|
15405
|
+
Warn: 'WARN',
|
|
15406
|
+
Info: 'INFO',
|
|
15407
|
+
Debug: 'DEBUG',
|
|
15408
|
+
Trace: 'TRACE'
|
|
15409
|
+
};
|
|
14832
15410
|
/**
|
|
14833
15411
|
* @export
|
|
14834
15412
|
*/
|