hostinger-api-sdk 1.32.0 → 1.33.1
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 +675 -3
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +2 -2
- package/dist/api.d.ts +480 -2
- package/dist/api.js +395 -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 +480 -2
- package/dist/esm/api.js +382 -3
- 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/ReachFormsApi.md +182 -0
- package/docs/ReachListFormsV1200Response.md +22 -0
- package/docs/ReachProfilesApi.md +54 -0
- package/docs/ReachV1FormsFormDetailsResource.md +34 -0
- package/docs/ReachV1FormsFormResource.md +32 -0
- package/docs/ReachV1FormsFormTagResource.md +25 -0
- package/docs/ReachV1FormsFormTemplateDetailsResource.md +25 -0
- package/docs/ReachV1FormsFormTemplateResource.md +23 -0
- package/docs/ReachV1ProfilesPlanLimitUsageResource.md +25 -0
- package/docs/ReachV1ProfilesPlanLimitsResource.md +29 -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.35.1
|
|
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,14 +20,15 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
20
20
|
};
|
|
21
21
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
22
|
exports.MailV1SchemaCreateWebhookRequestSchemaStatusEnum = exports.MailV1SchemaCreateWebhookRequestSchemaEventsEnum = exports.MailV1OrdersOrderResourceStatusEnum = exports.MailV1MailboxesMailboxResourceStatusEnum = exports.MailV1LogsMailboxActionsMailboxActionLogResourceEventEnum = exports.MailV1LogsActionActionLogResourceResponseStatusEnum = exports.MailV1ApiTokensApiTokenResourceTypeEnum = exports.MailV1ApiTokensApiTokenCreatedResourceTypeEnum = exports.HostingV1WebsitesWebsiteResourceVhostTypeEnum = exports.HostingV1NodeJsVulnerabilityResourceSeverityEnum = exports.HostingV1NodeJsCreateFromArchiveRequestPackageManagerEnum = exports.HostingV1NodeJsCreateFromArchiveRequestAppTypeEnum = exports.HostingV1NodeJsCreateFromArchiveRequestNodeVersionEnum = exports.HostingV1NodeJsBuildResourceStateEnum = exports.HostingV1NodeJsBuildOptionsResourceSourceTypeEnum = exports.HostingV1NodeJsBuildOptionsResourcePackageManagerEnum = exports.HostingV1NodeJsBuildOptionsResourceAppTypeEnum = exports.HostingV1FilesFilesResourceItemsInnerTypeEnum = exports.HostingV1DomainsParkedDomainResourceTypeEnum = exports.HorizonsV1WebsitesCreateWebsiteRequestMessageInnerTypeEnum = exports.EcommerceV1StoreStoreRequestSalesChannelTypeEnum = exports.EcommerceV1StoreStoreCreationResourceSalesChannelTypeEnum = exports.EcommerceV1SalesChannelStoreRequestTypeEnum = exports.EcommerceV1SalesChannelSalesChannelListResourceSalesChannelsInnerTypeEnum = exports.EcommerceV1SalesChannelSalesChannelCreationResourceSalesChannelTypeEnum = exports.EcommerceV1ProductProductCreationResourceProductTypeEnum = exports.DomainsV1WHOISStoreRequestEntityTypeEnum = exports.DomainsV1WHOISProfileResourceEntityTypeEnum = exports.DomainsV1WHOISChangeUpdateRequestChangeForEnum = exports.DomainsV1PortfolioClaimResourceStatusEnum = exports.DomainsV1MoveMoveResourceStatusEnum = exports.DomainsV1IRTPVerificationResourceStatusEnum = exports.DomainsV1ForwardingUpdateRequestRedirectTypeEnum = exports.DomainsV1ForwardingStoreRequestRedirectTypeEnum = exports.DomainsV1ForwardingForwardingResourceRedirectTypeEnum = exports.DomainsV1DomainDomainResourceStatusEnum = exports.DomainsV1DomainDomainResourceTypeEnum = exports.DomainsV1DomainDomainExtendedResourceStatusEnum = exports.DNSV1ZoneUpdateRequestZoneInnerTypeEnum = exports.DNSV1ZoneRecordResourceTypeEnum = exports.DNSV1ZoneDestroyRequestFiltersInnerTypeEnum = exports.BillingV1SubscriptionSubscriptionResourceStatusEnum = exports.BillingV1SubscriptionCancelRequestCancelOptionEnum = exports.BillingV1SubscriptionCancelRequestReasonCodeEnum = exports.BillingV1OrderOrderResourceStatusEnum = exports.BillingV1CatalogCatalogItemPriceResourcePeriodUnitEnum = exports.AgencyHostingV1WebsitesWebsiteResourceStateEnum = exports.AgencyHostingV1WebsitesWebsiteProcessResourceStatusEnum = exports.AgencyHostingV1SetupsWebsiteSetupStatusResourceStatusEnum = exports.AgencyHostingV1SetupsCreateSetupRequestTypeEnum = void 0;
|
|
23
|
-
exports.
|
|
24
|
-
exports.
|
|
25
|
-
exports.
|
|
26
|
-
exports.
|
|
27
|
-
exports.
|
|
28
|
-
exports.
|
|
29
|
-
exports.
|
|
30
|
-
exports.
|
|
23
|
+
exports.VPSV1FirewallRulesStoreRequestProtocolEnum = exports.VPSV1FirewallFirewallRuleResourceProtocolEnum = exports.VPSV1FirewallFirewallRuleResourceActionEnum = exports.VPSV1DockerManagerProjectResourceStateEnum = exports.VPSV1DockerManagerContainerResourceHealthEnum = exports.VPSV1DockerManagerContainerResourceStateEnum = exports.VPSV1DockerManagerContainerPortResourceProtocolEnum = exports.VPSV1DockerManagerContainerPortResourceTypeEnum = exports.VPSV1ActionActionResourceStateEnum = 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.ReachV1ContactsSegmentsProfileUpdateRequestLogicEnum = exports.ReachV1ContactsSegmentsProfileStoreRequestConditionsInnerOperatorEnum = exports.ReachV1ContactsSegmentsProfileStoreRequestLogicEnum = exports.ReachV1ContactsProfileContactUpdateResourceSubscriptionStatusEnum = exports.ReachV1ContactsProfileContactResourceSourceEnum = exports.ReachV1ContactsProfileContactResourceSubscriptionStatusEnum = exports.ReachV1ContactsFieldsStoreRequestTypeEnum = exports.ReachV1ContactsFieldsContactFieldValueResourceTypeEnum = exports.ReachV1ContactsFieldsContactFieldResourceTypeEnum = exports.ReachV1ContactsContactResourceSourceEnum = exports.ReachV1ContactsContactResourceSubscriptionStatusEnum = exports.ReachV1ContactsContactDetailsResourceSourceEnum = exports.ReachV1ContactsContactDetailsResourceSubscriptionStatusEnum = 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 = void 0;
|
|
24
|
+
exports.AgencyHostingWordPressApiAxiosParamCreator = exports.AgencyHostingWebsitesApi = exports.AgencyHostingWebsitesApiFactory = exports.AgencyHostingWebsitesApiFp = exports.AgencyHostingWebsitesApiAxiosParamCreator = exports.AgencyHostingWebsiteSetupsApi = exports.AgencyHostingWebsiteSetupsApiFactory = exports.AgencyHostingWebsiteSetupsApiFp = exports.AgencyHostingWebsiteSetupsApiAxiosParamCreator = exports.AgencyHostingOrdersApi = exports.AgencyHostingOrdersApiFactory = exports.AgencyHostingOrdersApiFp = exports.AgencyHostingOrdersApiAxiosParamCreator = exports.AgencyHostingFilesApi = exports.AgencyHostingFilesApiFactory = exports.AgencyHostingFilesApiFp = exports.AgencyHostingFilesApiAxiosParamCreator = exports.AgencyHostingDomainsApi = exports.AgencyHostingDomainsApiFactory = exports.AgencyHostingDomainsApiFp = exports.AgencyHostingDomainsApiAxiosParamCreator = exports.AgencyHostingDatacentersApi = exports.AgencyHostingDatacentersApiFactory = exports.AgencyHostingDatacentersApiFp = exports.AgencyHostingDatacentersApiAxiosParamCreator = exports.AgencyHostingDatabasesApi = exports.AgencyHostingDatabasesApiFactory = exports.AgencyHostingDatabasesApiFp = exports.AgencyHostingDatabasesApiAxiosParamCreator = exports.AgencyHostingCronJobsApi = exports.AgencyHostingCronJobsApiFactory = exports.AgencyHostingCronJobsApiFp = exports.AgencyHostingCronJobsApiAxiosParamCreator = exports.AgencyHostingCacheApi = exports.AgencyHostingCacheApiFactory = exports.AgencyHostingCacheApiFp = exports.AgencyHostingCacheApiAxiosParamCreator = exports.WordPressV1ThemesInstalledThemeResourceStatusEnum = exports.WordPressV1ThemesInstallThemeRequestFontEnum = exports.WordPressV1PluginsUpdateHostingerPluginRequestSlugEnum = exports.WordPressV1PluginsSuggestedPluginGroupResourceWebsiteTypeEnum = exports.WordPressV1PluginsInstalledPluginResourceStatusEnum = exports.WordPressV1MemcachedMemcachedStatusResourceStatusEnum = exports.WordPressV1MaintenanceMaintenanceStatusResourceStatusEnum = exports.WordPressV1InstallationsUpdateResourceTypeEnum = exports.WordPressV1InstallationsInstallWordPressRequestAutoUpdatesEnum = exports.WordPressV1HostingerPluginsUpdateAiOptionStatusRequestOptionEnum = exports.VPSV1VirtualMachineVirtualMachineResourceActionsLockEnum = exports.VPSV1VirtualMachineVirtualMachineResourceStateEnum = exports.VPSV1FirewallRulesStoreRequestSourceEnum = void 0;
|
|
25
|
+
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 = exports.AgencyHostingWordPressApiFactory = exports.AgencyHostingWordPressApiFp = void 0;
|
|
26
|
+
exports.HostingDatacentersApi = exports.HostingDatacentersApiFactory = exports.HostingDatacentersApiFp = exports.HostingDatacentersApiAxiosParamCreator = exports.HostingDatabasesApi = exports.HostingDatabasesApiFactory = exports.HostingDatabasesApiFp = exports.HostingDatabasesApiAxiosParamCreator = exports.HostingCronJobsApi = exports.HostingCronJobsApiFactory = exports.HostingCronJobsApiFp = exports.HostingCronJobsApiAxiosParamCreator = exports.HostingCacheApi = exports.HostingCacheApiFactory = exports.HostingCacheApiFp = exports.HostingCacheApiAxiosParamCreator = exports.HorizonsWebsitesApi = exports.HorizonsWebsitesApiFactory = exports.HorizonsWebsitesApiFp = exports.HorizonsWebsitesApiAxiosParamCreator = exports.EcommerceStoresApi = exports.EcommerceStoresApiFactory = exports.EcommerceStoresApiFp = exports.EcommerceStoresApiAxiosParamCreator = exports.EcommerceShippingApi = exports.EcommerceShippingApiFactory = exports.EcommerceShippingApiFp = exports.EcommerceShippingApiAxiosParamCreator = exports.EcommerceSalesChannelsApi = exports.EcommerceSalesChannelsApiFactory = exports.EcommerceSalesChannelsApiFp = exports.EcommerceSalesChannelsApiAxiosParamCreator = exports.EcommerceProductsApi = exports.EcommerceProductsApiFactory = exports.EcommerceProductsApiFp = exports.EcommerceProductsApiAxiosParamCreator = exports.EcommercePaymentsApi = exports.EcommercePaymentsApiFactory = exports.EcommercePaymentsApiFp = exports.EcommercePaymentsApiAxiosParamCreator = exports.EcommerceMiscellaneousApi = exports.EcommerceMiscellaneousApiFactory = exports.EcommerceMiscellaneousApiFp = exports.EcommerceMiscellaneousApiAxiosParamCreator = exports.DomainsWHOISApi = exports.DomainsWHOISApiFactory = exports.DomainsWHOISApiFp = exports.DomainsWHOISApiAxiosParamCreator = exports.DomainsTransferApi = exports.DomainsTransferApiFactory = void 0;
|
|
27
|
+
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.HostingWebsitesApi = exports.HostingWebsitesApiFactory = exports.HostingWebsitesApiFp = exports.HostingWebsitesApiAxiosParamCreator = exports.HostingPHPApi = exports.HostingPHPApiFactory = exports.HostingPHPApiFp = exports.HostingPHPApiAxiosParamCreator = exports.ListOrdersV1StatusesEnum = exports.HostingOrdersApi = exports.HostingOrdersApiFactory = exports.HostingOrdersApiFp = exports.HostingOrdersApiAxiosParamCreator = exports.ListNodeJsVulnerabilitiesV1SeveritiesEnum = exports.ListNodeJSBuildsV1StatesEnum = exports.HostingNodeJSApi = exports.HostingNodeJSApiFactory = exports.HostingNodeJSApiFp = exports.HostingNodeJSApiAxiosParamCreator = exports.ListWebsiteFilesAndDirectoriesV1FileTypesEnum = exports.HostingFilesApi = exports.HostingFilesApiFactory = exports.HostingFilesApiFp = exports.HostingFilesApiAxiosParamCreator = exports.HostingDomainsApi = exports.HostingDomainsApiFactory = exports.HostingDomainsApiFp = exports.HostingDomainsApiAxiosParamCreator = void 0;
|
|
28
|
+
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 = 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 = void 0;
|
|
29
|
+
exports.VPSPostInstallScriptsApi = exports.VPSPostInstallScriptsApiFactory = exports.VPSPostInstallScriptsApiFp = exports.VPSPostInstallScriptsApiAxiosParamCreator = exports.VPSPTRRecordsApi = exports.VPSPTRRecordsApiFactory = exports.VPSPTRRecordsApiFp = exports.VPSPTRRecordsApiAxiosParamCreator = exports.VPSOSTemplatesApi = exports.VPSOSTemplatesApiFactory = exports.VPSOSTemplatesApiFp = exports.VPSOSTemplatesApiAxiosParamCreator = exports.VPSMalwareScannerApi = exports.VPSMalwareScannerApiFactory = exports.VPSMalwareScannerApiFp = exports.VPSMalwareScannerApiAxiosParamCreator = exports.VPSFirewallApi = exports.VPSFirewallApiFactory = exports.VPSFirewallApiFp = exports.VPSFirewallApiAxiosParamCreator = exports.VPSDockerManagerApi = exports.VPSDockerManagerApiFactory = exports.VPSDockerManagerApiFp = exports.VPSDockerManagerApiAxiosParamCreator = exports.VPSDataCentersApi = exports.VPSDataCentersApiFactory = exports.VPSDataCentersApiFp = exports.VPSDataCentersApiAxiosParamCreator = exports.VPSBackupsApi = exports.VPSBackupsApiFactory = exports.VPSBackupsApiFp = exports.VPSBackupsApiAxiosParamCreator = exports.VPSActionsApi = exports.VPSActionsApiFactory = exports.VPSActionsApiFp = exports.VPSActionsApiAxiosParamCreator = exports.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 = void 0;
|
|
30
|
+
exports.WordPressThemesApiFactory = exports.WordPressThemesApiFp = exports.WordPressThemesApiAxiosParamCreator = exports.ListInstalledWordPressPluginsV1CategoryEnum = exports.WordPressPluginsApi = exports.WordPressPluginsApiFactory = exports.WordPressPluginsApiFp = exports.WordPressPluginsApiAxiosParamCreator = exports.WordPressObjectCacheApi = exports.WordPressObjectCacheApiFactory = exports.WordPressObjectCacheApiFp = exports.WordPressObjectCacheApiAxiosParamCreator = exports.WordPressMaintenanceApi = exports.WordPressMaintenanceApiFactory = exports.WordPressMaintenanceApiFp = exports.WordPressMaintenanceApiAxiosParamCreator = exports.WordPressLoginApi = exports.WordPressLoginApiFactory = exports.WordPressLoginApiFp = exports.WordPressLoginApiAxiosParamCreator = exports.WordPressLiteSpeedCacheApi = exports.WordPressLiteSpeedCacheApiFactory = exports.WordPressLiteSpeedCacheApiFp = exports.WordPressLiteSpeedCacheApiAxiosParamCreator = exports.ListWordPressInstallationsV1OwnershipEnum = exports.WordPressInstallationsApi = exports.WordPressInstallationsApiFactory = exports.WordPressInstallationsApiFp = exports.WordPressInstallationsApiAxiosParamCreator = exports.ShowAIOptionStatusV1OptionEnum = exports.WordPressAIToolsApi = exports.WordPressAIToolsApiFactory = exports.WordPressAIToolsApiFp = exports.WordPressAIToolsApiAxiosParamCreator = exports.VPSVirtualMachineApi = exports.VPSVirtualMachineApiFactory = exports.VPSVirtualMachineApiFp = exports.VPSVirtualMachineApiAxiosParamCreator = exports.VPSSnapshotsApi = exports.VPSSnapshotsApiFactory = exports.VPSSnapshotsApiFp = exports.VPSSnapshotsApiAxiosParamCreator = exports.VPSRecoveryApi = exports.VPSRecoveryApiFactory = exports.VPSRecoveryApiFp = exports.VPSRecoveryApiAxiosParamCreator = exports.VPSPublicKeysApi = exports.VPSPublicKeysApiFactory = exports.VPSPublicKeysApiFp = exports.VPSPublicKeysApiAxiosParamCreator = void 0;
|
|
31
|
+
exports.WordPressThemesApi = void 0;
|
|
31
32
|
const axios_1 = require("axios");
|
|
32
33
|
// Some imports not used depending on template conditions
|
|
33
34
|
// @ts-ignore
|
|
@@ -241,11 +242,24 @@ exports.HostingV1FilesFilesResourceItemsInnerTypeEnum = {
|
|
|
241
242
|
};
|
|
242
243
|
exports.HostingV1NodeJsBuildOptionsResourceAppTypeEnum = {
|
|
243
244
|
CreateReactApp: 'create-react-app',
|
|
245
|
+
Gatsby: 'gatsby',
|
|
244
246
|
Vite: 'vite',
|
|
245
247
|
Angular: 'angular',
|
|
246
248
|
React: 'react',
|
|
247
249
|
Vue: 'vue',
|
|
248
|
-
Parcel: 'parcel'
|
|
250
|
+
Parcel: 'parcel',
|
|
251
|
+
Next: 'next',
|
|
252
|
+
Nuxt: 'nuxt',
|
|
253
|
+
Nest: 'nest',
|
|
254
|
+
Express: 'express',
|
|
255
|
+
Fastify: 'fastify',
|
|
256
|
+
Astro: 'astro',
|
|
257
|
+
Svelte: 'svelte',
|
|
258
|
+
SvelteKit: 'svelte-kit',
|
|
259
|
+
Hono: 'hono',
|
|
260
|
+
ReactRouter: 'react-router',
|
|
261
|
+
Nitro: 'nitro',
|
|
262
|
+
Other: 'other'
|
|
249
263
|
};
|
|
250
264
|
exports.HostingV1NodeJsBuildOptionsResourcePackageManagerEnum = {
|
|
251
265
|
Npm: 'npm',
|
|
@@ -269,14 +283,24 @@ exports.HostingV1NodeJsCreateFromArchiveRequestNodeVersionEnum = {
|
|
|
269
283
|
};
|
|
270
284
|
exports.HostingV1NodeJsCreateFromArchiveRequestAppTypeEnum = {
|
|
271
285
|
CreateReactApp: 'create-react-app',
|
|
286
|
+
Gatsby: 'gatsby',
|
|
272
287
|
Vite: 'vite',
|
|
273
288
|
Angular: 'angular',
|
|
274
289
|
React: 'react',
|
|
275
290
|
Vue: 'vue',
|
|
276
291
|
Parcel: 'parcel',
|
|
292
|
+
Next: 'next',
|
|
293
|
+
Nuxt: 'nuxt',
|
|
294
|
+
Nest: 'nest',
|
|
277
295
|
Express: 'express',
|
|
278
296
|
Fastify: 'fastify',
|
|
279
|
-
|
|
297
|
+
Astro: 'astro',
|
|
298
|
+
Svelte: 'svelte',
|
|
299
|
+
SvelteKit: 'svelte-kit',
|
|
300
|
+
Hono: 'hono',
|
|
301
|
+
ReactRouter: 'react-router',
|
|
302
|
+
Nitro: 'nitro',
|
|
303
|
+
Other: 'other'
|
|
280
304
|
};
|
|
281
305
|
exports.HostingV1NodeJsCreateFromArchiveRequestPackageManagerEnum = {
|
|
282
306
|
Npm: 'npm',
|
|
@@ -612,6 +636,28 @@ exports.ReachV1ContactsUpdateRequestSubscriptionStatusEnum = {
|
|
|
612
636
|
Confirmed: 'confirmed',
|
|
613
637
|
Pending: 'pending'
|
|
614
638
|
};
|
|
639
|
+
exports.ReachV1FormsFormDetailsResourceStatusEnum = {
|
|
640
|
+
Active: 'active',
|
|
641
|
+
Paused: 'paused',
|
|
642
|
+
Draft: 'draft'
|
|
643
|
+
};
|
|
644
|
+
exports.ReachV1FormsFormDetailsResourceTypeEnum = {
|
|
645
|
+
Form: 'form'
|
|
646
|
+
};
|
|
647
|
+
exports.ReachV1FormsFormResourceStatusEnum = {
|
|
648
|
+
Active: 'active',
|
|
649
|
+
Paused: 'paused',
|
|
650
|
+
Draft: 'draft'
|
|
651
|
+
};
|
|
652
|
+
exports.ReachV1FormsFormResourceTypeEnum = {
|
|
653
|
+
Form: 'form'
|
|
654
|
+
};
|
|
655
|
+
exports.ReachV1FormsFormTagResourceTypeEnum = {
|
|
656
|
+
Form: 'form',
|
|
657
|
+
Custom: 'custom',
|
|
658
|
+
Import: 'import',
|
|
659
|
+
System: 'system'
|
|
660
|
+
};
|
|
615
661
|
exports.VPSV1ActionActionResourceStateEnum = {
|
|
616
662
|
Success: 'success',
|
|
617
663
|
Error: 'error',
|
|
@@ -18161,6 +18207,276 @@ exports.ListProfileContactsV1SubscriptionStatusEnum = {
|
|
|
18161
18207
|
Confirmed: 'confirmed',
|
|
18162
18208
|
Pending: 'pending'
|
|
18163
18209
|
};
|
|
18210
|
+
/**
|
|
18211
|
+
* ReachFormsApi - axios parameter creator
|
|
18212
|
+
* @export
|
|
18213
|
+
*/
|
|
18214
|
+
const ReachFormsApiAxiosParamCreator = function (configuration) {
|
|
18215
|
+
return {
|
|
18216
|
+
/**
|
|
18217
|
+
* Permanently delete a form together with its template. A form that has already captured submissions cannot be deleted, so that the contacts it collected are never silently discarded - pause the form instead to stop it collecting new ones. Views alone do not block deletion.
|
|
18218
|
+
* @summary Delete form
|
|
18219
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
18220
|
+
* @param {string} formUuid Form uuid parameter
|
|
18221
|
+
* @param {*} [options] Override http request option.
|
|
18222
|
+
* @throws {RequiredError}
|
|
18223
|
+
*/
|
|
18224
|
+
deleteFormV1: (profileUuid_1, formUuid_1, ...args_1) => __awaiter(this, [profileUuid_1, formUuid_1, ...args_1], void 0, function* (profileUuid, formUuid, options = {}) {
|
|
18225
|
+
// verify required parameter 'profileUuid' is not null or undefined
|
|
18226
|
+
(0, common_1.assertParamExists)('deleteFormV1', 'profileUuid', profileUuid);
|
|
18227
|
+
// verify required parameter 'formUuid' is not null or undefined
|
|
18228
|
+
(0, common_1.assertParamExists)('deleteFormV1', 'formUuid', formUuid);
|
|
18229
|
+
const localVarPath = `/api/reach/v1/profiles/{profileUuid}/forms/{formUuid}`
|
|
18230
|
+
.replace(`{${"profileUuid"}}`, encodeURIComponent(String(profileUuid)))
|
|
18231
|
+
.replace(`{${"formUuid"}}`, encodeURIComponent(String(formUuid)));
|
|
18232
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18233
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18234
|
+
let baseOptions;
|
|
18235
|
+
if (configuration) {
|
|
18236
|
+
baseOptions = configuration.baseOptions;
|
|
18237
|
+
}
|
|
18238
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
18239
|
+
const localVarHeaderParameter = {};
|
|
18240
|
+
const localVarQueryParameter = {};
|
|
18241
|
+
// authentication apiToken required
|
|
18242
|
+
// http bearer authentication required
|
|
18243
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
18244
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
18245
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18246
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
18247
|
+
return {
|
|
18248
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
18249
|
+
options: localVarRequestOptions,
|
|
18250
|
+
};
|
|
18251
|
+
}),
|
|
18252
|
+
/**
|
|
18253
|
+
* Get a single form with the URL of its hosted template and the tags it applies to the contacts it captures. There is no ready-made embed snippet in the response - either serve the template HTML yourself or build your own embed around the form uuid.
|
|
18254
|
+
* @summary Get form details
|
|
18255
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
18256
|
+
* @param {string} formUuid Form uuid parameter
|
|
18257
|
+
* @param {*} [options] Override http request option.
|
|
18258
|
+
* @throws {RequiredError}
|
|
18259
|
+
*/
|
|
18260
|
+
getFormDetailsV1: (profileUuid_1, formUuid_1, ...args_1) => __awaiter(this, [profileUuid_1, formUuid_1, ...args_1], void 0, function* (profileUuid, formUuid, options = {}) {
|
|
18261
|
+
// verify required parameter 'profileUuid' is not null or undefined
|
|
18262
|
+
(0, common_1.assertParamExists)('getFormDetailsV1', 'profileUuid', profileUuid);
|
|
18263
|
+
// verify required parameter 'formUuid' is not null or undefined
|
|
18264
|
+
(0, common_1.assertParamExists)('getFormDetailsV1', 'formUuid', formUuid);
|
|
18265
|
+
const localVarPath = `/api/reach/v1/profiles/{profileUuid}/forms/{formUuid}`
|
|
18266
|
+
.replace(`{${"profileUuid"}}`, encodeURIComponent(String(profileUuid)))
|
|
18267
|
+
.replace(`{${"formUuid"}}`, encodeURIComponent(String(formUuid)));
|
|
18268
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18269
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18270
|
+
let baseOptions;
|
|
18271
|
+
if (configuration) {
|
|
18272
|
+
baseOptions = configuration.baseOptions;
|
|
18273
|
+
}
|
|
18274
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
18275
|
+
const localVarHeaderParameter = {};
|
|
18276
|
+
const localVarQueryParameter = {};
|
|
18277
|
+
// authentication apiToken required
|
|
18278
|
+
// http bearer authentication required
|
|
18279
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
18280
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
18281
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18282
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
18283
|
+
return {
|
|
18284
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
18285
|
+
options: localVarRequestOptions,
|
|
18286
|
+
};
|
|
18287
|
+
}),
|
|
18288
|
+
/**
|
|
18289
|
+
* Get a paginated list of the signup forms in a profile. Each form carries a reference to the template that renders it. Get the form details for a directly usable template URL and for the tags the form puts on the contacts it captures.
|
|
18290
|
+
* @summary List forms
|
|
18291
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
18292
|
+
* @param {number} [page] Page number
|
|
18293
|
+
* @param {number} [perPage] Number of items per page
|
|
18294
|
+
* @param {*} [options] Override http request option.
|
|
18295
|
+
* @throws {RequiredError}
|
|
18296
|
+
*/
|
|
18297
|
+
listFormsV1: (profileUuid_1, page_1, perPage_1, ...args_1) => __awaiter(this, [profileUuid_1, page_1, perPage_1, ...args_1], void 0, function* (profileUuid, page, perPage, options = {}) {
|
|
18298
|
+
// verify required parameter 'profileUuid' is not null or undefined
|
|
18299
|
+
(0, common_1.assertParamExists)('listFormsV1', 'profileUuid', profileUuid);
|
|
18300
|
+
const localVarPath = `/api/reach/v1/profiles/{profileUuid}/forms`
|
|
18301
|
+
.replace(`{${"profileUuid"}}`, encodeURIComponent(String(profileUuid)));
|
|
18302
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18303
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18304
|
+
let baseOptions;
|
|
18305
|
+
if (configuration) {
|
|
18306
|
+
baseOptions = configuration.baseOptions;
|
|
18307
|
+
}
|
|
18308
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
18309
|
+
const localVarHeaderParameter = {};
|
|
18310
|
+
const localVarQueryParameter = {};
|
|
18311
|
+
// authentication apiToken required
|
|
18312
|
+
// http bearer authentication required
|
|
18313
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
18314
|
+
if (page !== undefined) {
|
|
18315
|
+
localVarQueryParameter['page'] = page;
|
|
18316
|
+
}
|
|
18317
|
+
if (perPage !== undefined) {
|
|
18318
|
+
localVarQueryParameter['per_page'] = perPage;
|
|
18319
|
+
}
|
|
18320
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
18321
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18322
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
18323
|
+
return {
|
|
18324
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
18325
|
+
options: localVarRequestOptions,
|
|
18326
|
+
};
|
|
18327
|
+
}),
|
|
18328
|
+
};
|
|
18329
|
+
};
|
|
18330
|
+
exports.ReachFormsApiAxiosParamCreator = ReachFormsApiAxiosParamCreator;
|
|
18331
|
+
/**
|
|
18332
|
+
* ReachFormsApi - functional programming interface
|
|
18333
|
+
* @export
|
|
18334
|
+
*/
|
|
18335
|
+
const ReachFormsApiFp = function (configuration) {
|
|
18336
|
+
const localVarAxiosParamCreator = (0, exports.ReachFormsApiAxiosParamCreator)(configuration);
|
|
18337
|
+
return {
|
|
18338
|
+
/**
|
|
18339
|
+
* Permanently delete a form together with its template. A form that has already captured submissions cannot be deleted, so that the contacts it collected are never silently discarded - pause the form instead to stop it collecting new ones. Views alone do not block deletion.
|
|
18340
|
+
* @summary Delete form
|
|
18341
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
18342
|
+
* @param {string} formUuid Form uuid parameter
|
|
18343
|
+
* @param {*} [options] Override http request option.
|
|
18344
|
+
* @throws {RequiredError}
|
|
18345
|
+
*/
|
|
18346
|
+
deleteFormV1(profileUuid, formUuid, options) {
|
|
18347
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
18348
|
+
var _a, _b;
|
|
18349
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteFormV1(profileUuid, formUuid, options);
|
|
18350
|
+
const localVarOperationServerBasePath = (_b = (_a = base_1.operationServerMap['ReachFormsApi.deleteFormV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
|
|
18351
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18352
|
+
});
|
|
18353
|
+
},
|
|
18354
|
+
/**
|
|
18355
|
+
* Get a single form with the URL of its hosted template and the tags it applies to the contacts it captures. There is no ready-made embed snippet in the response - either serve the template HTML yourself or build your own embed around the form uuid.
|
|
18356
|
+
* @summary Get form details
|
|
18357
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
18358
|
+
* @param {string} formUuid Form uuid parameter
|
|
18359
|
+
* @param {*} [options] Override http request option.
|
|
18360
|
+
* @throws {RequiredError}
|
|
18361
|
+
*/
|
|
18362
|
+
getFormDetailsV1(profileUuid, formUuid, options) {
|
|
18363
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
18364
|
+
var _a, _b;
|
|
18365
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getFormDetailsV1(profileUuid, formUuid, options);
|
|
18366
|
+
const localVarOperationServerBasePath = (_b = (_a = base_1.operationServerMap['ReachFormsApi.getFormDetailsV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
|
|
18367
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18368
|
+
});
|
|
18369
|
+
},
|
|
18370
|
+
/**
|
|
18371
|
+
* Get a paginated list of the signup forms in a profile. Each form carries a reference to the template that renders it. Get the form details for a directly usable template URL and for the tags the form puts on the contacts it captures.
|
|
18372
|
+
* @summary List forms
|
|
18373
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
18374
|
+
* @param {number} [page] Page number
|
|
18375
|
+
* @param {number} [perPage] Number of items per page
|
|
18376
|
+
* @param {*} [options] Override http request option.
|
|
18377
|
+
* @throws {RequiredError}
|
|
18378
|
+
*/
|
|
18379
|
+
listFormsV1(profileUuid, page, perPage, options) {
|
|
18380
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
18381
|
+
var _a, _b;
|
|
18382
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listFormsV1(profileUuid, page, perPage, options);
|
|
18383
|
+
const localVarOperationServerBasePath = (_b = (_a = base_1.operationServerMap['ReachFormsApi.listFormsV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
|
|
18384
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18385
|
+
});
|
|
18386
|
+
},
|
|
18387
|
+
};
|
|
18388
|
+
};
|
|
18389
|
+
exports.ReachFormsApiFp = ReachFormsApiFp;
|
|
18390
|
+
/**
|
|
18391
|
+
* ReachFormsApi - factory interface
|
|
18392
|
+
* @export
|
|
18393
|
+
*/
|
|
18394
|
+
const ReachFormsApiFactory = function (configuration, basePath, axios) {
|
|
18395
|
+
const localVarFp = (0, exports.ReachFormsApiFp)(configuration);
|
|
18396
|
+
return {
|
|
18397
|
+
/**
|
|
18398
|
+
* Permanently delete a form together with its template. A form that has already captured submissions cannot be deleted, so that the contacts it collected are never silently discarded - pause the form instead to stop it collecting new ones. Views alone do not block deletion.
|
|
18399
|
+
* @summary Delete form
|
|
18400
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
18401
|
+
* @param {string} formUuid Form uuid parameter
|
|
18402
|
+
* @param {*} [options] Override http request option.
|
|
18403
|
+
* @throws {RequiredError}
|
|
18404
|
+
*/
|
|
18405
|
+
deleteFormV1(profileUuid, formUuid, options) {
|
|
18406
|
+
return localVarFp.deleteFormV1(profileUuid, formUuid, options).then((request) => request(axios, basePath));
|
|
18407
|
+
},
|
|
18408
|
+
/**
|
|
18409
|
+
* Get a single form with the URL of its hosted template and the tags it applies to the contacts it captures. There is no ready-made embed snippet in the response - either serve the template HTML yourself or build your own embed around the form uuid.
|
|
18410
|
+
* @summary Get form details
|
|
18411
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
18412
|
+
* @param {string} formUuid Form uuid parameter
|
|
18413
|
+
* @param {*} [options] Override http request option.
|
|
18414
|
+
* @throws {RequiredError}
|
|
18415
|
+
*/
|
|
18416
|
+
getFormDetailsV1(profileUuid, formUuid, options) {
|
|
18417
|
+
return localVarFp.getFormDetailsV1(profileUuid, formUuid, options).then((request) => request(axios, basePath));
|
|
18418
|
+
},
|
|
18419
|
+
/**
|
|
18420
|
+
* Get a paginated list of the signup forms in a profile. Each form carries a reference to the template that renders it. Get the form details for a directly usable template URL and for the tags the form puts on the contacts it captures.
|
|
18421
|
+
* @summary List forms
|
|
18422
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
18423
|
+
* @param {number} [page] Page number
|
|
18424
|
+
* @param {number} [perPage] Number of items per page
|
|
18425
|
+
* @param {*} [options] Override http request option.
|
|
18426
|
+
* @throws {RequiredError}
|
|
18427
|
+
*/
|
|
18428
|
+
listFormsV1(profileUuid, page, perPage, options) {
|
|
18429
|
+
return localVarFp.listFormsV1(profileUuid, page, perPage, options).then((request) => request(axios, basePath));
|
|
18430
|
+
},
|
|
18431
|
+
};
|
|
18432
|
+
};
|
|
18433
|
+
exports.ReachFormsApiFactory = ReachFormsApiFactory;
|
|
18434
|
+
/**
|
|
18435
|
+
* ReachFormsApi - object-oriented interface
|
|
18436
|
+
* @export
|
|
18437
|
+
* @class ReachFormsApi
|
|
18438
|
+
* @extends {BaseAPI}
|
|
18439
|
+
*/
|
|
18440
|
+
class ReachFormsApi extends base_1.BaseAPI {
|
|
18441
|
+
/**
|
|
18442
|
+
* Permanently delete a form together with its template. A form that has already captured submissions cannot be deleted, so that the contacts it collected are never silently discarded - pause the form instead to stop it collecting new ones. Views alone do not block deletion.
|
|
18443
|
+
* @summary Delete form
|
|
18444
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
18445
|
+
* @param {string} formUuid Form uuid parameter
|
|
18446
|
+
* @param {*} [options] Override http request option.
|
|
18447
|
+
* @throws {RequiredError}
|
|
18448
|
+
* @memberof ReachFormsApi
|
|
18449
|
+
*/
|
|
18450
|
+
deleteFormV1(profileUuid, formUuid, options) {
|
|
18451
|
+
return (0, exports.ReachFormsApiFp)(this.configuration).deleteFormV1(profileUuid, formUuid, options).then((request) => request(this.axios, this.basePath));
|
|
18452
|
+
}
|
|
18453
|
+
/**
|
|
18454
|
+
* Get a single form with the URL of its hosted template and the tags it applies to the contacts it captures. There is no ready-made embed snippet in the response - either serve the template HTML yourself or build your own embed around the form uuid.
|
|
18455
|
+
* @summary Get form details
|
|
18456
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
18457
|
+
* @param {string} formUuid Form uuid parameter
|
|
18458
|
+
* @param {*} [options] Override http request option.
|
|
18459
|
+
* @throws {RequiredError}
|
|
18460
|
+
* @memberof ReachFormsApi
|
|
18461
|
+
*/
|
|
18462
|
+
getFormDetailsV1(profileUuid, formUuid, options) {
|
|
18463
|
+
return (0, exports.ReachFormsApiFp)(this.configuration).getFormDetailsV1(profileUuid, formUuid, options).then((request) => request(this.axios, this.basePath));
|
|
18464
|
+
}
|
|
18465
|
+
/**
|
|
18466
|
+
* Get a paginated list of the signup forms in a profile. Each form carries a reference to the template that renders it. Get the form details for a directly usable template URL and for the tags the form puts on the contacts it captures.
|
|
18467
|
+
* @summary List forms
|
|
18468
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
18469
|
+
* @param {number} [page] Page number
|
|
18470
|
+
* @param {number} [perPage] Number of items per page
|
|
18471
|
+
* @param {*} [options] Override http request option.
|
|
18472
|
+
* @throws {RequiredError}
|
|
18473
|
+
* @memberof ReachFormsApi
|
|
18474
|
+
*/
|
|
18475
|
+
listFormsV1(profileUuid, page, perPage, options) {
|
|
18476
|
+
return (0, exports.ReachFormsApiFp)(this.configuration).listFormsV1(profileUuid, page, perPage, options).then((request) => request(this.axios, this.basePath));
|
|
18477
|
+
}
|
|
18478
|
+
}
|
|
18479
|
+
exports.ReachFormsApi = ReachFormsApi;
|
|
18164
18480
|
/**
|
|
18165
18481
|
* ReachProfilesApi - axios parameter creator
|
|
18166
18482
|
* @export
|
|
@@ -18199,6 +18515,38 @@ const ReachProfilesApiAxiosParamCreator = function (configuration) {
|
|
|
18199
18515
|
options: localVarRequestOptions,
|
|
18200
18516
|
};
|
|
18201
18517
|
}),
|
|
18518
|
+
/**
|
|
18519
|
+
* Get how much of the plan is left for the current period. Two things to keep in mind before you build alerting on this. The period is a calendar month rather than a billing anniversary, so the counters reset on the 1st no matter when the subscription started. And usage is tracked per order, so every profile on the same order shares one pool and reports the same numbers here. Only the current period is available, past usage is not kept.
|
|
18520
|
+
* @summary Get remaining plan limits
|
|
18521
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
18522
|
+
* @param {*} [options] Override http request option.
|
|
18523
|
+
* @throws {RequiredError}
|
|
18524
|
+
*/
|
|
18525
|
+
getRemainingPlanLimitsV1: (profileUuid_1, ...args_1) => __awaiter(this, [profileUuid_1, ...args_1], void 0, function* (profileUuid, options = {}) {
|
|
18526
|
+
// verify required parameter 'profileUuid' is not null or undefined
|
|
18527
|
+
(0, common_1.assertParamExists)('getRemainingPlanLimitsV1', 'profileUuid', profileUuid);
|
|
18528
|
+
const localVarPath = `/api/reach/v1/profiles/{profileUuid}/limits`
|
|
18529
|
+
.replace(`{${"profileUuid"}}`, encodeURIComponent(String(profileUuid)));
|
|
18530
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18531
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18532
|
+
let baseOptions;
|
|
18533
|
+
if (configuration) {
|
|
18534
|
+
baseOptions = configuration.baseOptions;
|
|
18535
|
+
}
|
|
18536
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
18537
|
+
const localVarHeaderParameter = {};
|
|
18538
|
+
const localVarQueryParameter = {};
|
|
18539
|
+
// authentication apiToken required
|
|
18540
|
+
// http bearer authentication required
|
|
18541
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
18542
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
18543
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18544
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
18545
|
+
return {
|
|
18546
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
18547
|
+
options: localVarRequestOptions,
|
|
18548
|
+
};
|
|
18549
|
+
}),
|
|
18202
18550
|
/**
|
|
18203
18551
|
* This endpoint returns all profiles available to the client, including their basic information.
|
|
18204
18552
|
* @summary List Profiles
|
|
@@ -18252,6 +18600,21 @@ const ReachProfilesApiFp = function (configuration) {
|
|
|
18252
18600
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18253
18601
|
});
|
|
18254
18602
|
},
|
|
18603
|
+
/**
|
|
18604
|
+
* Get how much of the plan is left for the current period. Two things to keep in mind before you build alerting on this. The period is a calendar month rather than a billing anniversary, so the counters reset on the 1st no matter when the subscription started. And usage is tracked per order, so every profile on the same order shares one pool and reports the same numbers here. Only the current period is available, past usage is not kept.
|
|
18605
|
+
* @summary Get remaining plan limits
|
|
18606
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
18607
|
+
* @param {*} [options] Override http request option.
|
|
18608
|
+
* @throws {RequiredError}
|
|
18609
|
+
*/
|
|
18610
|
+
getRemainingPlanLimitsV1(profileUuid, options) {
|
|
18611
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
18612
|
+
var _a, _b;
|
|
18613
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getRemainingPlanLimitsV1(profileUuid, options);
|
|
18614
|
+
const localVarOperationServerBasePath = (_b = (_a = base_1.operationServerMap['ReachProfilesApi.getRemainingPlanLimitsV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
|
|
18615
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18616
|
+
});
|
|
18617
|
+
},
|
|
18255
18618
|
/**
|
|
18256
18619
|
* This endpoint returns all profiles available to the client, including their basic information.
|
|
18257
18620
|
* @summary List Profiles
|
|
@@ -18286,6 +18649,16 @@ const ReachProfilesApiFactory = function (configuration, basePath, axios) {
|
|
|
18286
18649
|
getProfileDomainDNSStatusV1(profileUuid, options) {
|
|
18287
18650
|
return localVarFp.getProfileDomainDNSStatusV1(profileUuid, options).then((request) => request(axios, basePath));
|
|
18288
18651
|
},
|
|
18652
|
+
/**
|
|
18653
|
+
* Get how much of the plan is left for the current period. Two things to keep in mind before you build alerting on this. The period is a calendar month rather than a billing anniversary, so the counters reset on the 1st no matter when the subscription started. And usage is tracked per order, so every profile on the same order shares one pool and reports the same numbers here. Only the current period is available, past usage is not kept.
|
|
18654
|
+
* @summary Get remaining plan limits
|
|
18655
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
18656
|
+
* @param {*} [options] Override http request option.
|
|
18657
|
+
* @throws {RequiredError}
|
|
18658
|
+
*/
|
|
18659
|
+
getRemainingPlanLimitsV1(profileUuid, options) {
|
|
18660
|
+
return localVarFp.getRemainingPlanLimitsV1(profileUuid, options).then((request) => request(axios, basePath));
|
|
18661
|
+
},
|
|
18289
18662
|
/**
|
|
18290
18663
|
* This endpoint returns all profiles available to the client, including their basic information.
|
|
18291
18664
|
* @summary List Profiles
|
|
@@ -18316,6 +18689,17 @@ class ReachProfilesApi extends base_1.BaseAPI {
|
|
|
18316
18689
|
getProfileDomainDNSStatusV1(profileUuid, options) {
|
|
18317
18690
|
return (0, exports.ReachProfilesApiFp)(this.configuration).getProfileDomainDNSStatusV1(profileUuid, options).then((request) => request(this.axios, this.basePath));
|
|
18318
18691
|
}
|
|
18692
|
+
/**
|
|
18693
|
+
* Get how much of the plan is left for the current period. Two things to keep in mind before you build alerting on this. The period is a calendar month rather than a billing anniversary, so the counters reset on the 1st no matter when the subscription started. And usage is tracked per order, so every profile on the same order shares one pool and reports the same numbers here. Only the current period is available, past usage is not kept.
|
|
18694
|
+
* @summary Get remaining plan limits
|
|
18695
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
18696
|
+
* @param {*} [options] Override http request option.
|
|
18697
|
+
* @throws {RequiredError}
|
|
18698
|
+
* @memberof ReachProfilesApi
|
|
18699
|
+
*/
|
|
18700
|
+
getRemainingPlanLimitsV1(profileUuid, options) {
|
|
18701
|
+
return (0, exports.ReachProfilesApiFp)(this.configuration).getRemainingPlanLimitsV1(profileUuid, options).then((request) => request(this.axios, this.basePath));
|
|
18702
|
+
}
|
|
18319
18703
|
/**
|
|
18320
18704
|
* This endpoint returns all profiles available to the client, including their basic information.
|
|
18321
18705
|
* @summary List Profiles
|
package/dist/base.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 1.
|
|
4
|
+
* API Version: 1.35.1
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/base.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Hostinger API
|
|
6
6
|
*
|
|
7
|
-
* API Version: 1.
|
|
7
|
+
* API Version: 1.35.1
|
|
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
|
package/dist/common.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 1.
|
|
4
|
+
* API Version: 1.35.1
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/common.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Hostinger API
|
|
6
6
|
*
|
|
7
|
-
* API Version: 1.
|
|
7
|
+
* API Version: 1.35.1
|
|
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
|
package/dist/configuration.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Hostinger API
|
|
3
3
|
*
|
|
4
|
-
* API Version: 1.
|
|
4
|
+
* API Version: 1.35.1
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/configuration.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Hostinger API
|
|
6
6
|
*
|
|
7
|
-
* API Version: 1.
|
|
7
|
+
* API Version: 1.35.1
|
|
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
|
|
@@ -16,7 +16,7 @@ class Configuration {
|
|
|
16
16
|
var _a;
|
|
17
17
|
this.accessToken = param.accessToken;
|
|
18
18
|
this.basePath = param.basePath;
|
|
19
|
-
this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "hostinger-typescript-sdk/1.
|
|
19
|
+
this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({ 'User-Agent': "hostinger-typescript-sdk/1.33.1" }, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) });
|
|
20
20
|
this.formDataCtor = param.formDataCtor;
|
|
21
21
|
}
|
|
22
22
|
/**
|