hostinger-api-sdk 1.32.0 → 1.33.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 +650 -1
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +2 -2
- package/dist/api.d.ts +456 -1
- package/dist/api.js +370 -9
- 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 +456 -1
- package/dist/esm/api.js +357 -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/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.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,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
|
|
@@ -612,6 +613,28 @@ exports.ReachV1ContactsUpdateRequestSubscriptionStatusEnum = {
|
|
|
612
613
|
Confirmed: 'confirmed',
|
|
613
614
|
Pending: 'pending'
|
|
614
615
|
};
|
|
616
|
+
exports.ReachV1FormsFormDetailsResourceStatusEnum = {
|
|
617
|
+
Active: 'active',
|
|
618
|
+
Paused: 'paused',
|
|
619
|
+
Draft: 'draft'
|
|
620
|
+
};
|
|
621
|
+
exports.ReachV1FormsFormDetailsResourceTypeEnum = {
|
|
622
|
+
Form: 'form'
|
|
623
|
+
};
|
|
624
|
+
exports.ReachV1FormsFormResourceStatusEnum = {
|
|
625
|
+
Active: 'active',
|
|
626
|
+
Paused: 'paused',
|
|
627
|
+
Draft: 'draft'
|
|
628
|
+
};
|
|
629
|
+
exports.ReachV1FormsFormResourceTypeEnum = {
|
|
630
|
+
Form: 'form'
|
|
631
|
+
};
|
|
632
|
+
exports.ReachV1FormsFormTagResourceTypeEnum = {
|
|
633
|
+
Form: 'form',
|
|
634
|
+
Custom: 'custom',
|
|
635
|
+
Import: 'import',
|
|
636
|
+
System: 'system'
|
|
637
|
+
};
|
|
615
638
|
exports.VPSV1ActionActionResourceStateEnum = {
|
|
616
639
|
Success: 'success',
|
|
617
640
|
Error: 'error',
|
|
@@ -18161,6 +18184,276 @@ exports.ListProfileContactsV1SubscriptionStatusEnum = {
|
|
|
18161
18184
|
Confirmed: 'confirmed',
|
|
18162
18185
|
Pending: 'pending'
|
|
18163
18186
|
};
|
|
18187
|
+
/**
|
|
18188
|
+
* ReachFormsApi - axios parameter creator
|
|
18189
|
+
* @export
|
|
18190
|
+
*/
|
|
18191
|
+
const ReachFormsApiAxiosParamCreator = function (configuration) {
|
|
18192
|
+
return {
|
|
18193
|
+
/**
|
|
18194
|
+
* 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.
|
|
18195
|
+
* @summary Delete form
|
|
18196
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
18197
|
+
* @param {string} formUuid Form uuid parameter
|
|
18198
|
+
* @param {*} [options] Override http request option.
|
|
18199
|
+
* @throws {RequiredError}
|
|
18200
|
+
*/
|
|
18201
|
+
deleteFormV1: (profileUuid_1, formUuid_1, ...args_1) => __awaiter(this, [profileUuid_1, formUuid_1, ...args_1], void 0, function* (profileUuid, formUuid, options = {}) {
|
|
18202
|
+
// verify required parameter 'profileUuid' is not null or undefined
|
|
18203
|
+
(0, common_1.assertParamExists)('deleteFormV1', 'profileUuid', profileUuid);
|
|
18204
|
+
// verify required parameter 'formUuid' is not null or undefined
|
|
18205
|
+
(0, common_1.assertParamExists)('deleteFormV1', 'formUuid', formUuid);
|
|
18206
|
+
const localVarPath = `/api/reach/v1/profiles/{profileUuid}/forms/{formUuid}`
|
|
18207
|
+
.replace(`{${"profileUuid"}}`, encodeURIComponent(String(profileUuid)))
|
|
18208
|
+
.replace(`{${"formUuid"}}`, encodeURIComponent(String(formUuid)));
|
|
18209
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18210
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18211
|
+
let baseOptions;
|
|
18212
|
+
if (configuration) {
|
|
18213
|
+
baseOptions = configuration.baseOptions;
|
|
18214
|
+
}
|
|
18215
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
18216
|
+
const localVarHeaderParameter = {};
|
|
18217
|
+
const localVarQueryParameter = {};
|
|
18218
|
+
// authentication apiToken required
|
|
18219
|
+
// http bearer authentication required
|
|
18220
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
18221
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
18222
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18223
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
18224
|
+
return {
|
|
18225
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
18226
|
+
options: localVarRequestOptions,
|
|
18227
|
+
};
|
|
18228
|
+
}),
|
|
18229
|
+
/**
|
|
18230
|
+
* 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.
|
|
18231
|
+
* @summary Get form details
|
|
18232
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
18233
|
+
* @param {string} formUuid Form uuid parameter
|
|
18234
|
+
* @param {*} [options] Override http request option.
|
|
18235
|
+
* @throws {RequiredError}
|
|
18236
|
+
*/
|
|
18237
|
+
getFormDetailsV1: (profileUuid_1, formUuid_1, ...args_1) => __awaiter(this, [profileUuid_1, formUuid_1, ...args_1], void 0, function* (profileUuid, formUuid, options = {}) {
|
|
18238
|
+
// verify required parameter 'profileUuid' is not null or undefined
|
|
18239
|
+
(0, common_1.assertParamExists)('getFormDetailsV1', 'profileUuid', profileUuid);
|
|
18240
|
+
// verify required parameter 'formUuid' is not null or undefined
|
|
18241
|
+
(0, common_1.assertParamExists)('getFormDetailsV1', 'formUuid', formUuid);
|
|
18242
|
+
const localVarPath = `/api/reach/v1/profiles/{profileUuid}/forms/{formUuid}`
|
|
18243
|
+
.replace(`{${"profileUuid"}}`, encodeURIComponent(String(profileUuid)))
|
|
18244
|
+
.replace(`{${"formUuid"}}`, encodeURIComponent(String(formUuid)));
|
|
18245
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18246
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18247
|
+
let baseOptions;
|
|
18248
|
+
if (configuration) {
|
|
18249
|
+
baseOptions = configuration.baseOptions;
|
|
18250
|
+
}
|
|
18251
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
18252
|
+
const localVarHeaderParameter = {};
|
|
18253
|
+
const localVarQueryParameter = {};
|
|
18254
|
+
// authentication apiToken required
|
|
18255
|
+
// http bearer authentication required
|
|
18256
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
18257
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
18258
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18259
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
18260
|
+
return {
|
|
18261
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
18262
|
+
options: localVarRequestOptions,
|
|
18263
|
+
};
|
|
18264
|
+
}),
|
|
18265
|
+
/**
|
|
18266
|
+
* 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.
|
|
18267
|
+
* @summary List forms
|
|
18268
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
18269
|
+
* @param {number} [page] Page number
|
|
18270
|
+
* @param {number} [perPage] Number of items per page
|
|
18271
|
+
* @param {*} [options] Override http request option.
|
|
18272
|
+
* @throws {RequiredError}
|
|
18273
|
+
*/
|
|
18274
|
+
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 = {}) {
|
|
18275
|
+
// verify required parameter 'profileUuid' is not null or undefined
|
|
18276
|
+
(0, common_1.assertParamExists)('listFormsV1', 'profileUuid', profileUuid);
|
|
18277
|
+
const localVarPath = `/api/reach/v1/profiles/{profileUuid}/forms`
|
|
18278
|
+
.replace(`{${"profileUuid"}}`, encodeURIComponent(String(profileUuid)));
|
|
18279
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18280
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18281
|
+
let baseOptions;
|
|
18282
|
+
if (configuration) {
|
|
18283
|
+
baseOptions = configuration.baseOptions;
|
|
18284
|
+
}
|
|
18285
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
18286
|
+
const localVarHeaderParameter = {};
|
|
18287
|
+
const localVarQueryParameter = {};
|
|
18288
|
+
// authentication apiToken required
|
|
18289
|
+
// http bearer authentication required
|
|
18290
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
18291
|
+
if (page !== undefined) {
|
|
18292
|
+
localVarQueryParameter['page'] = page;
|
|
18293
|
+
}
|
|
18294
|
+
if (perPage !== undefined) {
|
|
18295
|
+
localVarQueryParameter['per_page'] = perPage;
|
|
18296
|
+
}
|
|
18297
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
18298
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18299
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
18300
|
+
return {
|
|
18301
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
18302
|
+
options: localVarRequestOptions,
|
|
18303
|
+
};
|
|
18304
|
+
}),
|
|
18305
|
+
};
|
|
18306
|
+
};
|
|
18307
|
+
exports.ReachFormsApiAxiosParamCreator = ReachFormsApiAxiosParamCreator;
|
|
18308
|
+
/**
|
|
18309
|
+
* ReachFormsApi - functional programming interface
|
|
18310
|
+
* @export
|
|
18311
|
+
*/
|
|
18312
|
+
const ReachFormsApiFp = function (configuration) {
|
|
18313
|
+
const localVarAxiosParamCreator = (0, exports.ReachFormsApiAxiosParamCreator)(configuration);
|
|
18314
|
+
return {
|
|
18315
|
+
/**
|
|
18316
|
+
* 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.
|
|
18317
|
+
* @summary Delete form
|
|
18318
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
18319
|
+
* @param {string} formUuid Form uuid parameter
|
|
18320
|
+
* @param {*} [options] Override http request option.
|
|
18321
|
+
* @throws {RequiredError}
|
|
18322
|
+
*/
|
|
18323
|
+
deleteFormV1(profileUuid, formUuid, options) {
|
|
18324
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
18325
|
+
var _a, _b;
|
|
18326
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteFormV1(profileUuid, formUuid, options);
|
|
18327
|
+
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;
|
|
18328
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18329
|
+
});
|
|
18330
|
+
},
|
|
18331
|
+
/**
|
|
18332
|
+
* 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.
|
|
18333
|
+
* @summary Get form details
|
|
18334
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
18335
|
+
* @param {string} formUuid Form uuid parameter
|
|
18336
|
+
* @param {*} [options] Override http request option.
|
|
18337
|
+
* @throws {RequiredError}
|
|
18338
|
+
*/
|
|
18339
|
+
getFormDetailsV1(profileUuid, formUuid, options) {
|
|
18340
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
18341
|
+
var _a, _b;
|
|
18342
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getFormDetailsV1(profileUuid, formUuid, options);
|
|
18343
|
+
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;
|
|
18344
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18345
|
+
});
|
|
18346
|
+
},
|
|
18347
|
+
/**
|
|
18348
|
+
* 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.
|
|
18349
|
+
* @summary List forms
|
|
18350
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
18351
|
+
* @param {number} [page] Page number
|
|
18352
|
+
* @param {number} [perPage] Number of items per page
|
|
18353
|
+
* @param {*} [options] Override http request option.
|
|
18354
|
+
* @throws {RequiredError}
|
|
18355
|
+
*/
|
|
18356
|
+
listFormsV1(profileUuid, page, perPage, options) {
|
|
18357
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
18358
|
+
var _a, _b;
|
|
18359
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listFormsV1(profileUuid, page, perPage, options);
|
|
18360
|
+
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;
|
|
18361
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18362
|
+
});
|
|
18363
|
+
},
|
|
18364
|
+
};
|
|
18365
|
+
};
|
|
18366
|
+
exports.ReachFormsApiFp = ReachFormsApiFp;
|
|
18367
|
+
/**
|
|
18368
|
+
* ReachFormsApi - factory interface
|
|
18369
|
+
* @export
|
|
18370
|
+
*/
|
|
18371
|
+
const ReachFormsApiFactory = function (configuration, basePath, axios) {
|
|
18372
|
+
const localVarFp = (0, exports.ReachFormsApiFp)(configuration);
|
|
18373
|
+
return {
|
|
18374
|
+
/**
|
|
18375
|
+
* 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.
|
|
18376
|
+
* @summary Delete form
|
|
18377
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
18378
|
+
* @param {string} formUuid Form uuid parameter
|
|
18379
|
+
* @param {*} [options] Override http request option.
|
|
18380
|
+
* @throws {RequiredError}
|
|
18381
|
+
*/
|
|
18382
|
+
deleteFormV1(profileUuid, formUuid, options) {
|
|
18383
|
+
return localVarFp.deleteFormV1(profileUuid, formUuid, options).then((request) => request(axios, basePath));
|
|
18384
|
+
},
|
|
18385
|
+
/**
|
|
18386
|
+
* 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.
|
|
18387
|
+
* @summary Get form details
|
|
18388
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
18389
|
+
* @param {string} formUuid Form uuid parameter
|
|
18390
|
+
* @param {*} [options] Override http request option.
|
|
18391
|
+
* @throws {RequiredError}
|
|
18392
|
+
*/
|
|
18393
|
+
getFormDetailsV1(profileUuid, formUuid, options) {
|
|
18394
|
+
return localVarFp.getFormDetailsV1(profileUuid, formUuid, options).then((request) => request(axios, basePath));
|
|
18395
|
+
},
|
|
18396
|
+
/**
|
|
18397
|
+
* 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.
|
|
18398
|
+
* @summary List forms
|
|
18399
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
18400
|
+
* @param {number} [page] Page number
|
|
18401
|
+
* @param {number} [perPage] Number of items per page
|
|
18402
|
+
* @param {*} [options] Override http request option.
|
|
18403
|
+
* @throws {RequiredError}
|
|
18404
|
+
*/
|
|
18405
|
+
listFormsV1(profileUuid, page, perPage, options) {
|
|
18406
|
+
return localVarFp.listFormsV1(profileUuid, page, perPage, options).then((request) => request(axios, basePath));
|
|
18407
|
+
},
|
|
18408
|
+
};
|
|
18409
|
+
};
|
|
18410
|
+
exports.ReachFormsApiFactory = ReachFormsApiFactory;
|
|
18411
|
+
/**
|
|
18412
|
+
* ReachFormsApi - object-oriented interface
|
|
18413
|
+
* @export
|
|
18414
|
+
* @class ReachFormsApi
|
|
18415
|
+
* @extends {BaseAPI}
|
|
18416
|
+
*/
|
|
18417
|
+
class ReachFormsApi extends base_1.BaseAPI {
|
|
18418
|
+
/**
|
|
18419
|
+
* 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.
|
|
18420
|
+
* @summary Delete form
|
|
18421
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
18422
|
+
* @param {string} formUuid Form uuid parameter
|
|
18423
|
+
* @param {*} [options] Override http request option.
|
|
18424
|
+
* @throws {RequiredError}
|
|
18425
|
+
* @memberof ReachFormsApi
|
|
18426
|
+
*/
|
|
18427
|
+
deleteFormV1(profileUuid, formUuid, options) {
|
|
18428
|
+
return (0, exports.ReachFormsApiFp)(this.configuration).deleteFormV1(profileUuid, formUuid, options).then((request) => request(this.axios, this.basePath));
|
|
18429
|
+
}
|
|
18430
|
+
/**
|
|
18431
|
+
* 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.
|
|
18432
|
+
* @summary Get form details
|
|
18433
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
18434
|
+
* @param {string} formUuid Form uuid parameter
|
|
18435
|
+
* @param {*} [options] Override http request option.
|
|
18436
|
+
* @throws {RequiredError}
|
|
18437
|
+
* @memberof ReachFormsApi
|
|
18438
|
+
*/
|
|
18439
|
+
getFormDetailsV1(profileUuid, formUuid, options) {
|
|
18440
|
+
return (0, exports.ReachFormsApiFp)(this.configuration).getFormDetailsV1(profileUuid, formUuid, options).then((request) => request(this.axios, this.basePath));
|
|
18441
|
+
}
|
|
18442
|
+
/**
|
|
18443
|
+
* 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.
|
|
18444
|
+
* @summary List forms
|
|
18445
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
18446
|
+
* @param {number} [page] Page number
|
|
18447
|
+
* @param {number} [perPage] Number of items per page
|
|
18448
|
+
* @param {*} [options] Override http request option.
|
|
18449
|
+
* @throws {RequiredError}
|
|
18450
|
+
* @memberof ReachFormsApi
|
|
18451
|
+
*/
|
|
18452
|
+
listFormsV1(profileUuid, page, perPage, options) {
|
|
18453
|
+
return (0, exports.ReachFormsApiFp)(this.configuration).listFormsV1(profileUuid, page, perPage, options).then((request) => request(this.axios, this.basePath));
|
|
18454
|
+
}
|
|
18455
|
+
}
|
|
18456
|
+
exports.ReachFormsApi = ReachFormsApi;
|
|
18164
18457
|
/**
|
|
18165
18458
|
* ReachProfilesApi - axios parameter creator
|
|
18166
18459
|
* @export
|
|
@@ -18199,6 +18492,38 @@ const ReachProfilesApiAxiosParamCreator = function (configuration) {
|
|
|
18199
18492
|
options: localVarRequestOptions,
|
|
18200
18493
|
};
|
|
18201
18494
|
}),
|
|
18495
|
+
/**
|
|
18496
|
+
* 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.
|
|
18497
|
+
* @summary Get remaining plan limits
|
|
18498
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
18499
|
+
* @param {*} [options] Override http request option.
|
|
18500
|
+
* @throws {RequiredError}
|
|
18501
|
+
*/
|
|
18502
|
+
getRemainingPlanLimitsV1: (profileUuid_1, ...args_1) => __awaiter(this, [profileUuid_1, ...args_1], void 0, function* (profileUuid, options = {}) {
|
|
18503
|
+
// verify required parameter 'profileUuid' is not null or undefined
|
|
18504
|
+
(0, common_1.assertParamExists)('getRemainingPlanLimitsV1', 'profileUuid', profileUuid);
|
|
18505
|
+
const localVarPath = `/api/reach/v1/profiles/{profileUuid}/limits`
|
|
18506
|
+
.replace(`{${"profileUuid"}}`, encodeURIComponent(String(profileUuid)));
|
|
18507
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18508
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18509
|
+
let baseOptions;
|
|
18510
|
+
if (configuration) {
|
|
18511
|
+
baseOptions = configuration.baseOptions;
|
|
18512
|
+
}
|
|
18513
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
18514
|
+
const localVarHeaderParameter = {};
|
|
18515
|
+
const localVarQueryParameter = {};
|
|
18516
|
+
// authentication apiToken required
|
|
18517
|
+
// http bearer authentication required
|
|
18518
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
18519
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
18520
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18521
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
18522
|
+
return {
|
|
18523
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
18524
|
+
options: localVarRequestOptions,
|
|
18525
|
+
};
|
|
18526
|
+
}),
|
|
18202
18527
|
/**
|
|
18203
18528
|
* This endpoint returns all profiles available to the client, including their basic information.
|
|
18204
18529
|
* @summary List Profiles
|
|
@@ -18252,6 +18577,21 @@ const ReachProfilesApiFp = function (configuration) {
|
|
|
18252
18577
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18253
18578
|
});
|
|
18254
18579
|
},
|
|
18580
|
+
/**
|
|
18581
|
+
* 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.
|
|
18582
|
+
* @summary Get remaining plan limits
|
|
18583
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
18584
|
+
* @param {*} [options] Override http request option.
|
|
18585
|
+
* @throws {RequiredError}
|
|
18586
|
+
*/
|
|
18587
|
+
getRemainingPlanLimitsV1(profileUuid, options) {
|
|
18588
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
18589
|
+
var _a, _b;
|
|
18590
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getRemainingPlanLimitsV1(profileUuid, options);
|
|
18591
|
+
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;
|
|
18592
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18593
|
+
});
|
|
18594
|
+
},
|
|
18255
18595
|
/**
|
|
18256
18596
|
* This endpoint returns all profiles available to the client, including their basic information.
|
|
18257
18597
|
* @summary List Profiles
|
|
@@ -18286,6 +18626,16 @@ const ReachProfilesApiFactory = function (configuration, basePath, axios) {
|
|
|
18286
18626
|
getProfileDomainDNSStatusV1(profileUuid, options) {
|
|
18287
18627
|
return localVarFp.getProfileDomainDNSStatusV1(profileUuid, options).then((request) => request(axios, basePath));
|
|
18288
18628
|
},
|
|
18629
|
+
/**
|
|
18630
|
+
* 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.
|
|
18631
|
+
* @summary Get remaining plan limits
|
|
18632
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
18633
|
+
* @param {*} [options] Override http request option.
|
|
18634
|
+
* @throws {RequiredError}
|
|
18635
|
+
*/
|
|
18636
|
+
getRemainingPlanLimitsV1(profileUuid, options) {
|
|
18637
|
+
return localVarFp.getRemainingPlanLimitsV1(profileUuid, options).then((request) => request(axios, basePath));
|
|
18638
|
+
},
|
|
18289
18639
|
/**
|
|
18290
18640
|
* This endpoint returns all profiles available to the client, including their basic information.
|
|
18291
18641
|
* @summary List Profiles
|
|
@@ -18316,6 +18666,17 @@ class ReachProfilesApi extends base_1.BaseAPI {
|
|
|
18316
18666
|
getProfileDomainDNSStatusV1(profileUuid, options) {
|
|
18317
18667
|
return (0, exports.ReachProfilesApiFp)(this.configuration).getProfileDomainDNSStatusV1(profileUuid, options).then((request) => request(this.axios, this.basePath));
|
|
18318
18668
|
}
|
|
18669
|
+
/**
|
|
18670
|
+
* 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.
|
|
18671
|
+
* @summary Get remaining plan limits
|
|
18672
|
+
* @param {string} profileUuid Profile uuid parameter
|
|
18673
|
+
* @param {*} [options] Override http request option.
|
|
18674
|
+
* @throws {RequiredError}
|
|
18675
|
+
* @memberof ReachProfilesApi
|
|
18676
|
+
*/
|
|
18677
|
+
getRemainingPlanLimitsV1(profileUuid, options) {
|
|
18678
|
+
return (0, exports.ReachProfilesApiFp)(this.configuration).getRemainingPlanLimitsV1(profileUuid, options).then((request) => request(this.axios, this.basePath));
|
|
18679
|
+
}
|
|
18319
18680
|
/**
|
|
18320
18681
|
* This endpoint returns all profiles available to the client, including their basic information.
|
|
18321
18682
|
* @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.0
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/base.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Hostinger API
|
|
6
6
|
*
|
|
7
|
-
* API Version: 1.
|
|
7
|
+
* API Version: 1.35.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
|
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.0
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/common.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Hostinger API
|
|
6
6
|
*
|
|
7
|
-
* API Version: 1.
|
|
7
|
+
* API Version: 1.35.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
|
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.0
|
|
5
5
|
*
|
|
6
6
|
* NOTE: This file is auto-generated, DO NOT EDIT THIS FILE MANUALLY!
|
|
7
7
|
* If you want to contribute or request a new feature, please create an issue or pull request on https://github.com/hostinger/api
|
package/dist/configuration.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Hostinger API
|
|
6
6
|
*
|
|
7
|
-
* API Version: 1.
|
|
7
|
+
* API Version: 1.35.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
|
|
@@ -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.0" }, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) });
|
|
20
20
|
this.formDataCtor = param.formDataCtor;
|
|
21
21
|
}
|
|
22
22
|
/**
|