hostinger-api-sdk 0.0.19 → 0.0.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/README.md +2 -2
  2. package/api.ts +1179 -38
  3. package/base.ts +1 -1
  4. package/common.ts +1 -1
  5. package/configuration.ts +2 -2
  6. package/dist/api.d.ts +746 -8
  7. package/dist/api.js +763 -5
  8. package/dist/base.d.ts +1 -1
  9. package/dist/base.js +1 -1
  10. package/dist/common.d.ts +1 -1
  11. package/dist/common.js +1 -1
  12. package/dist/configuration.d.ts +1 -1
  13. package/dist/configuration.js +2 -2
  14. package/dist/esm/api.d.ts +746 -8
  15. package/dist/esm/api.js +742 -1
  16. package/dist/esm/base.d.ts +1 -1
  17. package/dist/esm/base.js +1 -1
  18. package/dist/esm/common.d.ts +1 -1
  19. package/dist/esm/common.js +1 -1
  20. package/dist/esm/configuration.d.ts +1 -1
  21. package/dist/esm/configuration.js +2 -2
  22. package/dist/esm/index.d.ts +1 -1
  23. package/dist/esm/index.js +1 -1
  24. package/dist/index.d.ts +1 -1
  25. package/dist/index.js +1 -1
  26. package/docs/EcommercePaymentsApi.md +66 -0
  27. package/docs/EcommerceProductsApi.md +125 -0
  28. package/docs/EcommerceShippingApi.md +66 -0
  29. package/docs/EcommerceStoresApi.md +54 -0
  30. package/docs/EcommerceV1PaymentEnableManualPaymentRequest.md +20 -0
  31. package/docs/EcommerceV1PaymentManualPaymentResource.md +22 -0
  32. package/docs/EcommerceV1PaymentManualPaymentResourcePaymentMethod.md +26 -0
  33. package/docs/EcommerceV1ProductCreateDigitalProductRequest.md +28 -0
  34. package/docs/EcommerceV1ProductCreatePhysicalProductRequest.md +26 -0
  35. package/docs/EcommerceV1ProductProductCreationResource.md +22 -0
  36. package/docs/EcommerceV1ProductProductCreationResourceProduct.md +30 -0
  37. package/docs/EcommerceV1ShippingSetShippingRequest.md +20 -0
  38. package/docs/EcommerceV1ShippingShippingResource.md +22 -0
  39. package/docs/EcommerceV1ShippingShippingResourceShippingOption.md +24 -0
  40. package/docs/EcommerceV1StoreStoreDeleteResource.md +22 -0
  41. package/docs/HorizonsV1WebsitesCreateWebsiteRequest.md +20 -0
  42. package/docs/HorizonsV1WebsitesCreateWebsiteRequestMessageInner.md +22 -0
  43. package/docs/HorizonsV1WebsitesCreatedWebsiteResource.md +22 -0
  44. package/docs/HorizonsV1WebsitesWebsiteUrlResource.md +20 -0
  45. package/docs/HorizonsWebsitesApi.md +117 -0
  46. package/docs/{ReachListSegmentContactsV1200Response.md → ReachListProfileSegmentContactsV1200Response.md} +3 -3
  47. package/docs/ReachSegmentsApi.md +65 -2
  48. package/index.ts +1 -1
  49. 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: 0.18.2
7
+ * API Version: 0.19.2
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
@@ -19,10 +19,11 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
19
19
  });
20
20
  };
21
21
  Object.defineProperty(exports, "__esModule", { value: true });
22
- exports.BillingCatalogApi = exports.BillingCatalogApiFactory = exports.BillingCatalogApiFp = exports.BillingCatalogApiAxiosParamCreator = exports.VPSV1VirtualMachineVirtualMachineResourceActionsLockEnum = exports.VPSV1VirtualMachineVirtualMachineResourceStateEnum = exports.VPSV1FirewallRulesStoreRequestSourceEnum = exports.VPSV1FirewallRulesStoreRequestProtocolEnum = exports.VPSV1FirewallFirewallRuleResourceProtocolEnum = exports.VPSV1FirewallFirewallRuleResourceActionEnum = exports.VPSV1DockerManagerProjectResourceStateEnum = exports.VPSV1DockerManagerContainerResourceHealthEnum = exports.VPSV1DockerManagerContainerResourceStateEnum = exports.VPSV1DockerManagerContainerPortResourceProtocolEnum = exports.VPSV1DockerManagerContainerPortResourceTypeEnum = exports.VPSV1ActionActionResourceStateEnum = exports.ReachV1ContactsSegmentsStoreRequestConditionsInnerAttributeEnum = exports.ReachV1ContactsSegmentsStoreRequestConditionsInnerOperatorEnum = exports.ReachV1ContactsSegmentsStoreRequestLogicEnum = exports.ReachV1ContactsSegmentsSegmentationContactResourceSourceEnum = exports.ReachV1ContactsSegmentsSegmentationContactResourceSubscriptionStatusEnum = exports.ReachV1ContactsContactResourceSourceEnum = exports.ReachV1ContactsContactResourceSubscriptionStatusEnum = exports.HostingV1WordpressInstallWordpressRequestAutoUpdatesEnum = exports.HostingV1WebsitesWebsiteResourceVhostTypeEnum = exports.HostingV1NodeJsCreateFromArchiveRequestPackageManagerEnum = exports.HostingV1NodeJsCreateFromArchiveRequestAppTypeEnum = exports.HostingV1NodeJsCreateFromArchiveRequestNodeVersionEnum = exports.HostingV1NodeJsBuildResourceStateEnum = exports.HostingV1NodeJsBuildOptionsResourceSourceTypeEnum = exports.HostingV1NodeJsBuildOptionsResourcePackageManagerEnum = exports.HostingV1NodeJsBuildOptionsResourceAppTypeEnum = exports.HostingV1DomainsParkedDomainResourceTypeEnum = exports.EcommerceV1StoreStoreRequestSalesChannelTypeEnum = exports.EcommerceV1StoreStoreCreationResourceSalesChannelTypeEnum = exports.DomainsV1WHOISStoreRequestEntityTypeEnum = exports.DomainsV1WHOISProfileResourceEntityTypeEnum = 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 = void 0;
23
- exports.HostingDomainsApiAxiosParamCreator = exports.HostingDatacentersApi = exports.HostingDatacentersApiFactory = exports.HostingDatacentersApiFp = exports.HostingDatacentersApiAxiosParamCreator = exports.HostingDatabasesApi = exports.HostingDatabasesApiFactory = exports.HostingDatabasesApiFp = exports.HostingDatabasesApiAxiosParamCreator = exports.EcommerceStoresApi = exports.EcommerceStoresApiFactory = exports.EcommerceStoresApiFp = exports.EcommerceStoresApiAxiosParamCreator = exports.DomainsWHOISApi = exports.DomainsWHOISApiFactory = exports.DomainsWHOISApiFp = exports.DomainsWHOISApiAxiosParamCreator = exports.DomainsPortfolioApi = exports.DomainsPortfolioApiFactory = exports.DomainsPortfolioApiFp = exports.DomainsPortfolioApiAxiosParamCreator = 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.GetCatalogItemListV1CategoryEnum = void 0;
24
- 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.ReachSegmentsApi = exports.ReachSegmentsApiFactory = exports.ReachSegmentsApiFp = exports.ReachSegmentsApiAxiosParamCreator = exports.ReachProfilesApi = exports.ReachProfilesApiFactory = exports.ReachProfilesApiFp = exports.ReachProfilesApiAxiosParamCreator = exports.ListContactsV1SubscriptionStatusEnum = exports.ReachContactsApi = exports.ReachContactsApiFactory = exports.ReachContactsApiFp = exports.ReachContactsApiAxiosParamCreator = exports.ListWordPressInstallationsV1OwnershipEnum = exports.HostingWordpressApi = exports.HostingWordpressApiFactory = exports.HostingWordpressApiFp = exports.HostingWordpressApiAxiosParamCreator = exports.HostingWebsitesApi = exports.HostingWebsitesApiFactory = exports.HostingWebsitesApiFp = exports.HostingWebsitesApiAxiosParamCreator = exports.ListOrdersV1StatusesEnum = exports.HostingOrdersApi = exports.HostingOrdersApiFactory = exports.HostingOrdersApiFp = exports.HostingOrdersApiAxiosParamCreator = exports.ListNodeJSBuildsV1StatesEnum = exports.HostingNodeJSApi = exports.HostingNodeJSApiFactory = exports.HostingNodeJSApiFp = exports.HostingNodeJSApiAxiosParamCreator = exports.HostingDomainsApi = exports.HostingDomainsApiFactory = exports.HostingDomainsApiFp = void 0;
25
- exports.VPSVirtualMachineApi = exports.VPSVirtualMachineApiFactory = exports.VPSVirtualMachineApiFp = exports.VPSVirtualMachineApiAxiosParamCreator = exports.VPSSnapshotsApi = exports.VPSSnapshotsApiFactory = exports.VPSSnapshotsApiFp = exports.VPSSnapshotsApiAxiosParamCreator = exports.VPSRecoveryApi = exports.VPSRecoveryApiFactory = exports.VPSRecoveryApiFp = exports.VPSRecoveryApiAxiosParamCreator = exports.VPSPublicKeysApi = exports.VPSPublicKeysApiFactory = exports.VPSPublicKeysApiFp = exports.VPSPublicKeysApiAxiosParamCreator = exports.VPSPostInstallScriptsApi = exports.VPSPostInstallScriptsApiFactory = exports.VPSPostInstallScriptsApiFp = exports.VPSPostInstallScriptsApiAxiosParamCreator = exports.VPSPTRRecordsApi = exports.VPSPTRRecordsApiFactory = exports.VPSPTRRecordsApiFp = exports.VPSPTRRecordsApiAxiosParamCreator = exports.VPSOSTemplatesApi = exports.VPSOSTemplatesApiFactory = exports.VPSOSTemplatesApiFp = exports.VPSOSTemplatesApiAxiosParamCreator = exports.VPSMalwareScannerApi = exports.VPSMalwareScannerApiFactory = exports.VPSMalwareScannerApiFp = exports.VPSMalwareScannerApiAxiosParamCreator = exports.VPSFirewallApi = exports.VPSFirewallApiFactory = exports.VPSFirewallApiFp = exports.VPSFirewallApiAxiosParamCreator = exports.VPSDockerManagerApi = void 0;
22
+ exports.BillingCatalogApiFp = exports.BillingCatalogApiAxiosParamCreator = exports.VPSV1VirtualMachineVirtualMachineResourceActionsLockEnum = exports.VPSV1VirtualMachineVirtualMachineResourceStateEnum = exports.VPSV1FirewallRulesStoreRequestSourceEnum = exports.VPSV1FirewallRulesStoreRequestProtocolEnum = exports.VPSV1FirewallFirewallRuleResourceProtocolEnum = exports.VPSV1FirewallFirewallRuleResourceActionEnum = exports.VPSV1DockerManagerProjectResourceStateEnum = exports.VPSV1DockerManagerContainerResourceHealthEnum = exports.VPSV1DockerManagerContainerResourceStateEnum = exports.VPSV1DockerManagerContainerPortResourceProtocolEnum = exports.VPSV1DockerManagerContainerPortResourceTypeEnum = exports.VPSV1ActionActionResourceStateEnum = exports.ReachV1ContactsSegmentsStoreRequestConditionsInnerAttributeEnum = exports.ReachV1ContactsSegmentsStoreRequestConditionsInnerOperatorEnum = exports.ReachV1ContactsSegmentsStoreRequestLogicEnum = exports.ReachV1ContactsSegmentsSegmentationContactResourceSourceEnum = exports.ReachV1ContactsSegmentsSegmentationContactResourceSubscriptionStatusEnum = exports.ReachV1ContactsContactResourceSourceEnum = exports.ReachV1ContactsContactResourceSubscriptionStatusEnum = exports.HostingV1WordpressInstallWordpressRequestAutoUpdatesEnum = exports.HostingV1WebsitesWebsiteResourceVhostTypeEnum = exports.HostingV1NodeJsCreateFromArchiveRequestPackageManagerEnum = exports.HostingV1NodeJsCreateFromArchiveRequestAppTypeEnum = exports.HostingV1NodeJsCreateFromArchiveRequestNodeVersionEnum = exports.HostingV1NodeJsBuildResourceStateEnum = exports.HostingV1NodeJsBuildOptionsResourceSourceTypeEnum = exports.HostingV1NodeJsBuildOptionsResourcePackageManagerEnum = exports.HostingV1NodeJsBuildOptionsResourceAppTypeEnum = exports.HostingV1DomainsParkedDomainResourceTypeEnum = exports.HorizonsV1WebsitesCreateWebsiteRequestMessageInnerTypeEnum = exports.EcommerceV1StoreStoreRequestSalesChannelTypeEnum = exports.EcommerceV1StoreStoreCreationResourceSalesChannelTypeEnum = exports.EcommerceV1ProductProductCreationResourceProductTypeEnum = exports.DomainsV1WHOISStoreRequestEntityTypeEnum = exports.DomainsV1WHOISProfileResourceEntityTypeEnum = 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 = void 0;
23
+ exports.EcommerceShippingApiFactory = exports.EcommerceShippingApiFp = exports.EcommerceShippingApiAxiosParamCreator = exports.EcommerceProductsApi = exports.EcommerceProductsApiFactory = exports.EcommerceProductsApiFp = exports.EcommerceProductsApiAxiosParamCreator = exports.EcommercePaymentsApi = exports.EcommercePaymentsApiFactory = exports.EcommercePaymentsApiFp = exports.EcommercePaymentsApiAxiosParamCreator = exports.DomainsWHOISApi = exports.DomainsWHOISApiFactory = exports.DomainsWHOISApiFp = exports.DomainsWHOISApiAxiosParamCreator = exports.DomainsPortfolioApi = exports.DomainsPortfolioApiFactory = exports.DomainsPortfolioApiFp = exports.DomainsPortfolioApiAxiosParamCreator = 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.GetCatalogItemListV1CategoryEnum = exports.BillingCatalogApi = exports.BillingCatalogApiFactory = void 0;
24
+ exports.ReachSegmentsApiAxiosParamCreator = exports.ReachProfilesApi = exports.ReachProfilesApiFactory = exports.ReachProfilesApiFp = exports.ReachProfilesApiAxiosParamCreator = exports.ListContactsV1SubscriptionStatusEnum = exports.ReachContactsApi = exports.ReachContactsApiFactory = exports.ReachContactsApiFp = exports.ReachContactsApiAxiosParamCreator = exports.ListWordPressInstallationsV1OwnershipEnum = exports.HostingWordpressApi = exports.HostingWordpressApiFactory = exports.HostingWordpressApiFp = exports.HostingWordpressApiAxiosParamCreator = exports.HostingWebsitesApi = exports.HostingWebsitesApiFactory = exports.HostingWebsitesApiFp = exports.HostingWebsitesApiAxiosParamCreator = exports.ListOrdersV1StatusesEnum = exports.HostingOrdersApi = exports.HostingOrdersApiFactory = exports.HostingOrdersApiFp = exports.HostingOrdersApiAxiosParamCreator = exports.ListNodeJSBuildsV1StatesEnum = exports.HostingNodeJSApi = exports.HostingNodeJSApiFactory = exports.HostingNodeJSApiFp = exports.HostingNodeJSApiAxiosParamCreator = exports.HostingDomainsApi = exports.HostingDomainsApiFactory = exports.HostingDomainsApiFp = exports.HostingDomainsApiAxiosParamCreator = exports.HostingDatacentersApi = exports.HostingDatacentersApiFactory = exports.HostingDatacentersApiFp = exports.HostingDatacentersApiAxiosParamCreator = exports.HostingDatabasesApi = exports.HostingDatabasesApiFactory = exports.HostingDatabasesApiFp = exports.HostingDatabasesApiAxiosParamCreator = exports.HorizonsWebsitesApi = exports.HorizonsWebsitesApiFactory = exports.HorizonsWebsitesApiFp = exports.HorizonsWebsitesApiAxiosParamCreator = exports.EcommerceStoresApi = exports.EcommerceStoresApiFactory = exports.EcommerceStoresApiFp = exports.EcommerceStoresApiAxiosParamCreator = exports.EcommerceShippingApi = void 0;
25
+ exports.VPSSnapshotsApiFactory = exports.VPSSnapshotsApiFp = exports.VPSSnapshotsApiAxiosParamCreator = exports.VPSRecoveryApi = exports.VPSRecoveryApiFactory = exports.VPSRecoveryApiFp = exports.VPSRecoveryApiAxiosParamCreator = exports.VPSPublicKeysApi = exports.VPSPublicKeysApiFactory = exports.VPSPublicKeysApiFp = exports.VPSPublicKeysApiAxiosParamCreator = exports.VPSPostInstallScriptsApi = exports.VPSPostInstallScriptsApiFactory = exports.VPSPostInstallScriptsApiFp = exports.VPSPostInstallScriptsApiAxiosParamCreator = exports.VPSPTRRecordsApi = exports.VPSPTRRecordsApiFactory = exports.VPSPTRRecordsApiFp = exports.VPSPTRRecordsApiAxiosParamCreator = exports.VPSOSTemplatesApi = exports.VPSOSTemplatesApiFactory = exports.VPSOSTemplatesApiFp = exports.VPSOSTemplatesApiAxiosParamCreator = exports.VPSMalwareScannerApi = exports.VPSMalwareScannerApiFactory = exports.VPSMalwareScannerApiFp = exports.VPSMalwareScannerApiAxiosParamCreator = exports.VPSFirewallApi = exports.VPSFirewallApiFactory = exports.VPSFirewallApiFp = exports.VPSFirewallApiAxiosParamCreator = exports.VPSDockerManagerApi = exports.VPSDockerManagerApiFactory = exports.VPSDockerManagerApiFp = exports.VPSDockerManagerApiAxiosParamCreator = exports.VPSDataCentersApi = exports.VPSDataCentersApiFactory = exports.VPSDataCentersApiFp = exports.VPSDataCentersApiAxiosParamCreator = exports.VPSBackupsApi = exports.VPSBackupsApiFactory = exports.VPSBackupsApiFp = exports.VPSBackupsApiAxiosParamCreator = exports.VPSActionsApi = exports.VPSActionsApiFactory = exports.VPSActionsApiFp = exports.VPSActionsApiAxiosParamCreator = exports.ReachSegmentsApi = exports.ReachSegmentsApiFactory = exports.ReachSegmentsApiFp = void 0;
26
+ exports.VPSVirtualMachineApi = exports.VPSVirtualMachineApiFactory = exports.VPSVirtualMachineApiFp = exports.VPSVirtualMachineApiAxiosParamCreator = exports.VPSSnapshotsApi = void 0;
26
27
  const axios_1 = require("axios");
27
28
  // Some imports not used depending on template conditions
28
29
  // @ts-ignore
@@ -140,6 +141,10 @@ exports.DomainsV1WHOISStoreRequestEntityTypeEnum = {
140
141
  Individual: 'individual',
141
142
  Organization: 'organization'
142
143
  };
144
+ exports.EcommerceV1ProductProductCreationResourceProductTypeEnum = {
145
+ Physical: 'physical',
146
+ Digital: 'digital'
147
+ };
143
148
  exports.EcommerceV1StoreStoreCreationResourceSalesChannelTypeEnum = {
144
149
  Builder: 'builder',
145
150
  Horizons: 'horizons',
@@ -151,6 +156,9 @@ exports.EcommerceV1StoreStoreCreationResourceSalesChannelTypeEnum = {
151
156
  exports.EcommerceV1StoreStoreRequestSalesChannelTypeEnum = {
152
157
  Custom: 'custom'
153
158
  };
159
+ exports.HorizonsV1WebsitesCreateWebsiteRequestMessageInnerTypeEnum = {
160
+ Text: 'text'
161
+ };
154
162
  exports.HostingV1DomainsParkedDomainResourceTypeEnum = {
155
163
  Domain: 'domain',
156
164
  Ip: 'ip'
@@ -3055,6 +3063,424 @@ class DomainsWHOISApi extends base_1.BaseAPI {
3055
3063
  }
3056
3064
  }
3057
3065
  exports.DomainsWHOISApi = DomainsWHOISApi;
3066
+ /**
3067
+ * EcommercePaymentsApi - axios parameter creator
3068
+ * @export
3069
+ */
3070
+ const EcommercePaymentsApiAxiosParamCreator = function (configuration) {
3071
+ return {
3072
+ /**
3073
+ * Enable a manual payment method so the store can accept orders without an online payment provider.
3074
+ * @summary Enable manual payment method
3075
+ * @param {string} storeId The ID of the store to enable manual payment for.
3076
+ * @param {EcommerceV1PaymentEnableManualPaymentRequest} ecommerceV1PaymentEnableManualPaymentRequest
3077
+ * @param {*} [options] Override http request option.
3078
+ * @throws {RequiredError}
3079
+ */
3080
+ enableManualPaymentMethodV1: (storeId_1, ecommerceV1PaymentEnableManualPaymentRequest_1, ...args_1) => __awaiter(this, [storeId_1, ecommerceV1PaymentEnableManualPaymentRequest_1, ...args_1], void 0, function* (storeId, ecommerceV1PaymentEnableManualPaymentRequest, options = {}) {
3081
+ // verify required parameter 'storeId' is not null or undefined
3082
+ (0, common_1.assertParamExists)('enableManualPaymentMethodV1', 'storeId', storeId);
3083
+ // verify required parameter 'ecommerceV1PaymentEnableManualPaymentRequest' is not null or undefined
3084
+ (0, common_1.assertParamExists)('enableManualPaymentMethodV1', 'ecommerceV1PaymentEnableManualPaymentRequest', ecommerceV1PaymentEnableManualPaymentRequest);
3085
+ const localVarPath = `/api/ecommerce/v1/stores/{store_id}/payment-methods/manual`
3086
+ .replace(`{${"store_id"}}`, encodeURIComponent(String(storeId)));
3087
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3088
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3089
+ let baseOptions;
3090
+ if (configuration) {
3091
+ baseOptions = configuration.baseOptions;
3092
+ }
3093
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
3094
+ const localVarHeaderParameter = {};
3095
+ const localVarQueryParameter = {};
3096
+ // authentication apiToken required
3097
+ // http bearer authentication required
3098
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
3099
+ localVarHeaderParameter['Content-Type'] = 'application/json';
3100
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3101
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3102
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3103
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(ecommerceV1PaymentEnableManualPaymentRequest, localVarRequestOptions, configuration);
3104
+ return {
3105
+ url: (0, common_1.toPathString)(localVarUrlObj),
3106
+ options: localVarRequestOptions,
3107
+ };
3108
+ }),
3109
+ };
3110
+ };
3111
+ exports.EcommercePaymentsApiAxiosParamCreator = EcommercePaymentsApiAxiosParamCreator;
3112
+ /**
3113
+ * EcommercePaymentsApi - functional programming interface
3114
+ * @export
3115
+ */
3116
+ const EcommercePaymentsApiFp = function (configuration) {
3117
+ const localVarAxiosParamCreator = (0, exports.EcommercePaymentsApiAxiosParamCreator)(configuration);
3118
+ return {
3119
+ /**
3120
+ * Enable a manual payment method so the store can accept orders without an online payment provider.
3121
+ * @summary Enable manual payment method
3122
+ * @param {string} storeId The ID of the store to enable manual payment for.
3123
+ * @param {EcommerceV1PaymentEnableManualPaymentRequest} ecommerceV1PaymentEnableManualPaymentRequest
3124
+ * @param {*} [options] Override http request option.
3125
+ * @throws {RequiredError}
3126
+ */
3127
+ enableManualPaymentMethodV1(storeId, ecommerceV1PaymentEnableManualPaymentRequest, options) {
3128
+ return __awaiter(this, void 0, void 0, function* () {
3129
+ var _a, _b;
3130
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.enableManualPaymentMethodV1(storeId, ecommerceV1PaymentEnableManualPaymentRequest, options);
3131
+ const localVarOperationServerBasePath = (_b = (_a = base_1.operationServerMap['EcommercePaymentsApi.enableManualPaymentMethodV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
3132
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3133
+ });
3134
+ },
3135
+ };
3136
+ };
3137
+ exports.EcommercePaymentsApiFp = EcommercePaymentsApiFp;
3138
+ /**
3139
+ * EcommercePaymentsApi - factory interface
3140
+ * @export
3141
+ */
3142
+ const EcommercePaymentsApiFactory = function (configuration, basePath, axios) {
3143
+ const localVarFp = (0, exports.EcommercePaymentsApiFp)(configuration);
3144
+ return {
3145
+ /**
3146
+ * Enable a manual payment method so the store can accept orders without an online payment provider.
3147
+ * @summary Enable manual payment method
3148
+ * @param {string} storeId The ID of the store to enable manual payment for.
3149
+ * @param {EcommerceV1PaymentEnableManualPaymentRequest} ecommerceV1PaymentEnableManualPaymentRequest
3150
+ * @param {*} [options] Override http request option.
3151
+ * @throws {RequiredError}
3152
+ */
3153
+ enableManualPaymentMethodV1(storeId, ecommerceV1PaymentEnableManualPaymentRequest, options) {
3154
+ return localVarFp.enableManualPaymentMethodV1(storeId, ecommerceV1PaymentEnableManualPaymentRequest, options).then((request) => request(axios, basePath));
3155
+ },
3156
+ };
3157
+ };
3158
+ exports.EcommercePaymentsApiFactory = EcommercePaymentsApiFactory;
3159
+ /**
3160
+ * EcommercePaymentsApi - object-oriented interface
3161
+ * @export
3162
+ * @class EcommercePaymentsApi
3163
+ * @extends {BaseAPI}
3164
+ */
3165
+ class EcommercePaymentsApi extends base_1.BaseAPI {
3166
+ /**
3167
+ * Enable a manual payment method so the store can accept orders without an online payment provider.
3168
+ * @summary Enable manual payment method
3169
+ * @param {string} storeId The ID of the store to enable manual payment for.
3170
+ * @param {EcommerceV1PaymentEnableManualPaymentRequest} ecommerceV1PaymentEnableManualPaymentRequest
3171
+ * @param {*} [options] Override http request option.
3172
+ * @throws {RequiredError}
3173
+ * @memberof EcommercePaymentsApi
3174
+ */
3175
+ enableManualPaymentMethodV1(storeId, ecommerceV1PaymentEnableManualPaymentRequest, options) {
3176
+ return (0, exports.EcommercePaymentsApiFp)(this.configuration).enableManualPaymentMethodV1(storeId, ecommerceV1PaymentEnableManualPaymentRequest, options).then((request) => request(this.axios, this.basePath));
3177
+ }
3178
+ }
3179
+ exports.EcommercePaymentsApi = EcommercePaymentsApi;
3180
+ /**
3181
+ * EcommerceProductsApi - axios parameter creator
3182
+ * @export
3183
+ */
3184
+ const EcommerceProductsApiAxiosParamCreator = function (configuration) {
3185
+ return {
3186
+ /**
3187
+ * Create a published digital product with a single variant and an optional external download link.
3188
+ * @summary Create digital product
3189
+ * @param {string} storeId The ID of the store to create the product in.
3190
+ * @param {EcommerceV1ProductCreateDigitalProductRequest} ecommerceV1ProductCreateDigitalProductRequest
3191
+ * @param {*} [options] Override http request option.
3192
+ * @throws {RequiredError}
3193
+ */
3194
+ createDigitalProductV1: (storeId_1, ecommerceV1ProductCreateDigitalProductRequest_1, ...args_1) => __awaiter(this, [storeId_1, ecommerceV1ProductCreateDigitalProductRequest_1, ...args_1], void 0, function* (storeId, ecommerceV1ProductCreateDigitalProductRequest, options = {}) {
3195
+ // verify required parameter 'storeId' is not null or undefined
3196
+ (0, common_1.assertParamExists)('createDigitalProductV1', 'storeId', storeId);
3197
+ // verify required parameter 'ecommerceV1ProductCreateDigitalProductRequest' is not null or undefined
3198
+ (0, common_1.assertParamExists)('createDigitalProductV1', 'ecommerceV1ProductCreateDigitalProductRequest', ecommerceV1ProductCreateDigitalProductRequest);
3199
+ const localVarPath = `/api/ecommerce/v1/stores/{store_id}/products/digital`
3200
+ .replace(`{${"store_id"}}`, encodeURIComponent(String(storeId)));
3201
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3202
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3203
+ let baseOptions;
3204
+ if (configuration) {
3205
+ baseOptions = configuration.baseOptions;
3206
+ }
3207
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
3208
+ const localVarHeaderParameter = {};
3209
+ const localVarQueryParameter = {};
3210
+ // authentication apiToken required
3211
+ // http bearer authentication required
3212
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
3213
+ localVarHeaderParameter['Content-Type'] = 'application/json';
3214
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3215
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3216
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3217
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(ecommerceV1ProductCreateDigitalProductRequest, localVarRequestOptions, configuration);
3218
+ return {
3219
+ url: (0, common_1.toPathString)(localVarUrlObj),
3220
+ options: localVarRequestOptions,
3221
+ };
3222
+ }),
3223
+ /**
3224
+ * Create a published physical product with a single variant priced in the store currency.
3225
+ * @summary Create physical product
3226
+ * @param {string} storeId The ID of the store to create the product in.
3227
+ * @param {EcommerceV1ProductCreatePhysicalProductRequest} ecommerceV1ProductCreatePhysicalProductRequest
3228
+ * @param {*} [options] Override http request option.
3229
+ * @throws {RequiredError}
3230
+ */
3231
+ createPhysicalProductV1: (storeId_1, ecommerceV1ProductCreatePhysicalProductRequest_1, ...args_1) => __awaiter(this, [storeId_1, ecommerceV1ProductCreatePhysicalProductRequest_1, ...args_1], void 0, function* (storeId, ecommerceV1ProductCreatePhysicalProductRequest, options = {}) {
3232
+ // verify required parameter 'storeId' is not null or undefined
3233
+ (0, common_1.assertParamExists)('createPhysicalProductV1', 'storeId', storeId);
3234
+ // verify required parameter 'ecommerceV1ProductCreatePhysicalProductRequest' is not null or undefined
3235
+ (0, common_1.assertParamExists)('createPhysicalProductV1', 'ecommerceV1ProductCreatePhysicalProductRequest', ecommerceV1ProductCreatePhysicalProductRequest);
3236
+ const localVarPath = `/api/ecommerce/v1/stores/{store_id}/products/physical`
3237
+ .replace(`{${"store_id"}}`, encodeURIComponent(String(storeId)));
3238
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3239
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3240
+ let baseOptions;
3241
+ if (configuration) {
3242
+ baseOptions = configuration.baseOptions;
3243
+ }
3244
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
3245
+ const localVarHeaderParameter = {};
3246
+ const localVarQueryParameter = {};
3247
+ // authentication apiToken required
3248
+ // http bearer authentication required
3249
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
3250
+ localVarHeaderParameter['Content-Type'] = 'application/json';
3251
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3252
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3253
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3254
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(ecommerceV1ProductCreatePhysicalProductRequest, localVarRequestOptions, configuration);
3255
+ return {
3256
+ url: (0, common_1.toPathString)(localVarUrlObj),
3257
+ options: localVarRequestOptions,
3258
+ };
3259
+ }),
3260
+ };
3261
+ };
3262
+ exports.EcommerceProductsApiAxiosParamCreator = EcommerceProductsApiAxiosParamCreator;
3263
+ /**
3264
+ * EcommerceProductsApi - functional programming interface
3265
+ * @export
3266
+ */
3267
+ const EcommerceProductsApiFp = function (configuration) {
3268
+ const localVarAxiosParamCreator = (0, exports.EcommerceProductsApiAxiosParamCreator)(configuration);
3269
+ return {
3270
+ /**
3271
+ * Create a published digital product with a single variant and an optional external download link.
3272
+ * @summary Create digital product
3273
+ * @param {string} storeId The ID of the store to create the product in.
3274
+ * @param {EcommerceV1ProductCreateDigitalProductRequest} ecommerceV1ProductCreateDigitalProductRequest
3275
+ * @param {*} [options] Override http request option.
3276
+ * @throws {RequiredError}
3277
+ */
3278
+ createDigitalProductV1(storeId, ecommerceV1ProductCreateDigitalProductRequest, options) {
3279
+ return __awaiter(this, void 0, void 0, function* () {
3280
+ var _a, _b;
3281
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.createDigitalProductV1(storeId, ecommerceV1ProductCreateDigitalProductRequest, options);
3282
+ const localVarOperationServerBasePath = (_b = (_a = base_1.operationServerMap['EcommerceProductsApi.createDigitalProductV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
3283
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3284
+ });
3285
+ },
3286
+ /**
3287
+ * Create a published physical product with a single variant priced in the store currency.
3288
+ * @summary Create physical product
3289
+ * @param {string} storeId The ID of the store to create the product in.
3290
+ * @param {EcommerceV1ProductCreatePhysicalProductRequest} ecommerceV1ProductCreatePhysicalProductRequest
3291
+ * @param {*} [options] Override http request option.
3292
+ * @throws {RequiredError}
3293
+ */
3294
+ createPhysicalProductV1(storeId, ecommerceV1ProductCreatePhysicalProductRequest, options) {
3295
+ return __awaiter(this, void 0, void 0, function* () {
3296
+ var _a, _b;
3297
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.createPhysicalProductV1(storeId, ecommerceV1ProductCreatePhysicalProductRequest, options);
3298
+ const localVarOperationServerBasePath = (_b = (_a = base_1.operationServerMap['EcommerceProductsApi.createPhysicalProductV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
3299
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3300
+ });
3301
+ },
3302
+ };
3303
+ };
3304
+ exports.EcommerceProductsApiFp = EcommerceProductsApiFp;
3305
+ /**
3306
+ * EcommerceProductsApi - factory interface
3307
+ * @export
3308
+ */
3309
+ const EcommerceProductsApiFactory = function (configuration, basePath, axios) {
3310
+ const localVarFp = (0, exports.EcommerceProductsApiFp)(configuration);
3311
+ return {
3312
+ /**
3313
+ * Create a published digital product with a single variant and an optional external download link.
3314
+ * @summary Create digital product
3315
+ * @param {string} storeId The ID of the store to create the product in.
3316
+ * @param {EcommerceV1ProductCreateDigitalProductRequest} ecommerceV1ProductCreateDigitalProductRequest
3317
+ * @param {*} [options] Override http request option.
3318
+ * @throws {RequiredError}
3319
+ */
3320
+ createDigitalProductV1(storeId, ecommerceV1ProductCreateDigitalProductRequest, options) {
3321
+ return localVarFp.createDigitalProductV1(storeId, ecommerceV1ProductCreateDigitalProductRequest, options).then((request) => request(axios, basePath));
3322
+ },
3323
+ /**
3324
+ * Create a published physical product with a single variant priced in the store currency.
3325
+ * @summary Create physical product
3326
+ * @param {string} storeId The ID of the store to create the product in.
3327
+ * @param {EcommerceV1ProductCreatePhysicalProductRequest} ecommerceV1ProductCreatePhysicalProductRequest
3328
+ * @param {*} [options] Override http request option.
3329
+ * @throws {RequiredError}
3330
+ */
3331
+ createPhysicalProductV1(storeId, ecommerceV1ProductCreatePhysicalProductRequest, options) {
3332
+ return localVarFp.createPhysicalProductV1(storeId, ecommerceV1ProductCreatePhysicalProductRequest, options).then((request) => request(axios, basePath));
3333
+ },
3334
+ };
3335
+ };
3336
+ exports.EcommerceProductsApiFactory = EcommerceProductsApiFactory;
3337
+ /**
3338
+ * EcommerceProductsApi - object-oriented interface
3339
+ * @export
3340
+ * @class EcommerceProductsApi
3341
+ * @extends {BaseAPI}
3342
+ */
3343
+ class EcommerceProductsApi extends base_1.BaseAPI {
3344
+ /**
3345
+ * Create a published digital product with a single variant and an optional external download link.
3346
+ * @summary Create digital product
3347
+ * @param {string} storeId The ID of the store to create the product in.
3348
+ * @param {EcommerceV1ProductCreateDigitalProductRequest} ecommerceV1ProductCreateDigitalProductRequest
3349
+ * @param {*} [options] Override http request option.
3350
+ * @throws {RequiredError}
3351
+ * @memberof EcommerceProductsApi
3352
+ */
3353
+ createDigitalProductV1(storeId, ecommerceV1ProductCreateDigitalProductRequest, options) {
3354
+ return (0, exports.EcommerceProductsApiFp)(this.configuration).createDigitalProductV1(storeId, ecommerceV1ProductCreateDigitalProductRequest, options).then((request) => request(this.axios, this.basePath));
3355
+ }
3356
+ /**
3357
+ * Create a published physical product with a single variant priced in the store currency.
3358
+ * @summary Create physical product
3359
+ * @param {string} storeId The ID of the store to create the product in.
3360
+ * @param {EcommerceV1ProductCreatePhysicalProductRequest} ecommerceV1ProductCreatePhysicalProductRequest
3361
+ * @param {*} [options] Override http request option.
3362
+ * @throws {RequiredError}
3363
+ * @memberof EcommerceProductsApi
3364
+ */
3365
+ createPhysicalProductV1(storeId, ecommerceV1ProductCreatePhysicalProductRequest, options) {
3366
+ return (0, exports.EcommerceProductsApiFp)(this.configuration).createPhysicalProductV1(storeId, ecommerceV1ProductCreatePhysicalProductRequest, options).then((request) => request(this.axios, this.basePath));
3367
+ }
3368
+ }
3369
+ exports.EcommerceProductsApi = EcommerceProductsApi;
3370
+ /**
3371
+ * EcommerceShippingApi - axios parameter creator
3372
+ * @export
3373
+ */
3374
+ const EcommerceShippingApiAxiosParamCreator = function (configuration) {
3375
+ return {
3376
+ /**
3377
+ * Set the flat-rate shipping price for a store, creating the shipping zone if it does not exist yet.
3378
+ * @summary Set store shipping
3379
+ * @param {string} storeId The ID of the store to configure shipping for.
3380
+ * @param {EcommerceV1ShippingSetShippingRequest} ecommerceV1ShippingSetShippingRequest
3381
+ * @param {*} [options] Override http request option.
3382
+ * @throws {RequiredError}
3383
+ */
3384
+ setStoreShippingV1: (storeId_1, ecommerceV1ShippingSetShippingRequest_1, ...args_1) => __awaiter(this, [storeId_1, ecommerceV1ShippingSetShippingRequest_1, ...args_1], void 0, function* (storeId, ecommerceV1ShippingSetShippingRequest, options = {}) {
3385
+ // verify required parameter 'storeId' is not null or undefined
3386
+ (0, common_1.assertParamExists)('setStoreShippingV1', 'storeId', storeId);
3387
+ // verify required parameter 'ecommerceV1ShippingSetShippingRequest' is not null or undefined
3388
+ (0, common_1.assertParamExists)('setStoreShippingV1', 'ecommerceV1ShippingSetShippingRequest', ecommerceV1ShippingSetShippingRequest);
3389
+ const localVarPath = `/api/ecommerce/v1/stores/{store_id}/shipping`
3390
+ .replace(`{${"store_id"}}`, encodeURIComponent(String(storeId)));
3391
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3392
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3393
+ let baseOptions;
3394
+ if (configuration) {
3395
+ baseOptions = configuration.baseOptions;
3396
+ }
3397
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
3398
+ const localVarHeaderParameter = {};
3399
+ const localVarQueryParameter = {};
3400
+ // authentication apiToken required
3401
+ // http bearer authentication required
3402
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
3403
+ localVarHeaderParameter['Content-Type'] = 'application/json';
3404
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3405
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3406
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3407
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(ecommerceV1ShippingSetShippingRequest, localVarRequestOptions, configuration);
3408
+ return {
3409
+ url: (0, common_1.toPathString)(localVarUrlObj),
3410
+ options: localVarRequestOptions,
3411
+ };
3412
+ }),
3413
+ };
3414
+ };
3415
+ exports.EcommerceShippingApiAxiosParamCreator = EcommerceShippingApiAxiosParamCreator;
3416
+ /**
3417
+ * EcommerceShippingApi - functional programming interface
3418
+ * @export
3419
+ */
3420
+ const EcommerceShippingApiFp = function (configuration) {
3421
+ const localVarAxiosParamCreator = (0, exports.EcommerceShippingApiAxiosParamCreator)(configuration);
3422
+ return {
3423
+ /**
3424
+ * Set the flat-rate shipping price for a store, creating the shipping zone if it does not exist yet.
3425
+ * @summary Set store shipping
3426
+ * @param {string} storeId The ID of the store to configure shipping for.
3427
+ * @param {EcommerceV1ShippingSetShippingRequest} ecommerceV1ShippingSetShippingRequest
3428
+ * @param {*} [options] Override http request option.
3429
+ * @throws {RequiredError}
3430
+ */
3431
+ setStoreShippingV1(storeId, ecommerceV1ShippingSetShippingRequest, options) {
3432
+ return __awaiter(this, void 0, void 0, function* () {
3433
+ var _a, _b;
3434
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.setStoreShippingV1(storeId, ecommerceV1ShippingSetShippingRequest, options);
3435
+ const localVarOperationServerBasePath = (_b = (_a = base_1.operationServerMap['EcommerceShippingApi.setStoreShippingV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
3436
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3437
+ });
3438
+ },
3439
+ };
3440
+ };
3441
+ exports.EcommerceShippingApiFp = EcommerceShippingApiFp;
3442
+ /**
3443
+ * EcommerceShippingApi - factory interface
3444
+ * @export
3445
+ */
3446
+ const EcommerceShippingApiFactory = function (configuration, basePath, axios) {
3447
+ const localVarFp = (0, exports.EcommerceShippingApiFp)(configuration);
3448
+ return {
3449
+ /**
3450
+ * Set the flat-rate shipping price for a store, creating the shipping zone if it does not exist yet.
3451
+ * @summary Set store shipping
3452
+ * @param {string} storeId The ID of the store to configure shipping for.
3453
+ * @param {EcommerceV1ShippingSetShippingRequest} ecommerceV1ShippingSetShippingRequest
3454
+ * @param {*} [options] Override http request option.
3455
+ * @throws {RequiredError}
3456
+ */
3457
+ setStoreShippingV1(storeId, ecommerceV1ShippingSetShippingRequest, options) {
3458
+ return localVarFp.setStoreShippingV1(storeId, ecommerceV1ShippingSetShippingRequest, options).then((request) => request(axios, basePath));
3459
+ },
3460
+ };
3461
+ };
3462
+ exports.EcommerceShippingApiFactory = EcommerceShippingApiFactory;
3463
+ /**
3464
+ * EcommerceShippingApi - object-oriented interface
3465
+ * @export
3466
+ * @class EcommerceShippingApi
3467
+ * @extends {BaseAPI}
3468
+ */
3469
+ class EcommerceShippingApi extends base_1.BaseAPI {
3470
+ /**
3471
+ * Set the flat-rate shipping price for a store, creating the shipping zone if it does not exist yet.
3472
+ * @summary Set store shipping
3473
+ * @param {string} storeId The ID of the store to configure shipping for.
3474
+ * @param {EcommerceV1ShippingSetShippingRequest} ecommerceV1ShippingSetShippingRequest
3475
+ * @param {*} [options] Override http request option.
3476
+ * @throws {RequiredError}
3477
+ * @memberof EcommerceShippingApi
3478
+ */
3479
+ setStoreShippingV1(storeId, ecommerceV1ShippingSetShippingRequest, options) {
3480
+ return (0, exports.EcommerceShippingApiFp)(this.configuration).setStoreShippingV1(storeId, ecommerceV1ShippingSetShippingRequest, options).then((request) => request(this.axios, this.basePath));
3481
+ }
3482
+ }
3483
+ exports.EcommerceShippingApi = EcommerceShippingApi;
3058
3484
  /**
3059
3485
  * EcommerceStoresApi - axios parameter creator
3060
3486
  * @export
@@ -3094,6 +3520,38 @@ const EcommerceStoresApiAxiosParamCreator = function (configuration) {
3094
3520
  options: localVarRequestOptions,
3095
3521
  };
3096
3522
  }),
3523
+ /**
3524
+ * Soft-delete a store owned by your account. The underlying store data is preserved; only the store is marked as deleted.
3525
+ * @summary Delete store
3526
+ * @param {string} storeId The ID of the store to delete.
3527
+ * @param {*} [options] Override http request option.
3528
+ * @throws {RequiredError}
3529
+ */
3530
+ deleteStoreV1: (storeId_1, ...args_1) => __awaiter(this, [storeId_1, ...args_1], void 0, function* (storeId, options = {}) {
3531
+ // verify required parameter 'storeId' is not null or undefined
3532
+ (0, common_1.assertParamExists)('deleteStoreV1', 'storeId', storeId);
3533
+ const localVarPath = `/api/ecommerce/v1/stores/{store_id}`
3534
+ .replace(`{${"store_id"}}`, encodeURIComponent(String(storeId)));
3535
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3536
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3537
+ let baseOptions;
3538
+ if (configuration) {
3539
+ baseOptions = configuration.baseOptions;
3540
+ }
3541
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
3542
+ const localVarHeaderParameter = {};
3543
+ const localVarQueryParameter = {};
3544
+ // authentication apiToken required
3545
+ // http bearer authentication required
3546
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
3547
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3548
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3549
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3550
+ return {
3551
+ url: (0, common_1.toPathString)(localVarUrlObj),
3552
+ options: localVarRequestOptions,
3553
+ };
3554
+ }),
3097
3555
  /**
3098
3556
  * Retrieve the stores associated with your account.
3099
3557
  * @summary Get stores
@@ -3151,6 +3609,21 @@ const EcommerceStoresApiFp = function (configuration) {
3151
3609
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3152
3610
  });
3153
3611
  },
3612
+ /**
3613
+ * Soft-delete a store owned by your account. The underlying store data is preserved; only the store is marked as deleted.
3614
+ * @summary Delete store
3615
+ * @param {string} storeId The ID of the store to delete.
3616
+ * @param {*} [options] Override http request option.
3617
+ * @throws {RequiredError}
3618
+ */
3619
+ deleteStoreV1(storeId, options) {
3620
+ return __awaiter(this, void 0, void 0, function* () {
3621
+ var _a, _b;
3622
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteStoreV1(storeId, options);
3623
+ const localVarOperationServerBasePath = (_b = (_a = base_1.operationServerMap['EcommerceStoresApi.deleteStoreV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
3624
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3625
+ });
3626
+ },
3154
3627
  /**
3155
3628
  * Retrieve the stores associated with your account.
3156
3629
  * @summary Get stores
@@ -3186,6 +3659,16 @@ const EcommerceStoresApiFactory = function (configuration, basePath, axios) {
3186
3659
  createStoreV1(ecommerceV1StoreStoreRequest, options) {
3187
3660
  return localVarFp.createStoreV1(ecommerceV1StoreStoreRequest, options).then((request) => request(axios, basePath));
3188
3661
  },
3662
+ /**
3663
+ * Soft-delete a store owned by your account. The underlying store data is preserved; only the store is marked as deleted.
3664
+ * @summary Delete store
3665
+ * @param {string} storeId The ID of the store to delete.
3666
+ * @param {*} [options] Override http request option.
3667
+ * @throws {RequiredError}
3668
+ */
3669
+ deleteStoreV1(storeId, options) {
3670
+ return localVarFp.deleteStoreV1(storeId, options).then((request) => request(axios, basePath));
3671
+ },
3189
3672
  /**
3190
3673
  * Retrieve the stores associated with your account.
3191
3674
  * @summary Get stores
@@ -3217,6 +3700,17 @@ class EcommerceStoresApi extends base_1.BaseAPI {
3217
3700
  createStoreV1(ecommerceV1StoreStoreRequest, options) {
3218
3701
  return (0, exports.EcommerceStoresApiFp)(this.configuration).createStoreV1(ecommerceV1StoreStoreRequest, options).then((request) => request(this.axios, this.basePath));
3219
3702
  }
3703
+ /**
3704
+ * Soft-delete a store owned by your account. The underlying store data is preserved; only the store is marked as deleted.
3705
+ * @summary Delete store
3706
+ * @param {string} storeId The ID of the store to delete.
3707
+ * @param {*} [options] Override http request option.
3708
+ * @throws {RequiredError}
3709
+ * @memberof EcommerceStoresApi
3710
+ */
3711
+ deleteStoreV1(storeId, options) {
3712
+ return (0, exports.EcommerceStoresApiFp)(this.configuration).deleteStoreV1(storeId, options).then((request) => request(this.axios, this.basePath));
3713
+ }
3220
3714
  /**
3221
3715
  * Retrieve the stores associated with your account.
3222
3716
  * @summary Get stores
@@ -3230,6 +3724,181 @@ class EcommerceStoresApi extends base_1.BaseAPI {
3230
3724
  }
3231
3725
  }
3232
3726
  exports.EcommerceStoresApi = EcommerceStoresApi;
3727
+ /**
3728
+ * HorizonsWebsitesApi - axios parameter creator
3729
+ * @export
3730
+ */
3731
+ const HorizonsWebsitesApiAxiosParamCreator = function (configuration) {
3732
+ return {
3733
+ /**
3734
+ * Create new Hostinger Horizons website from the given message.\\n Use this tool when user asks you to create a website, landing page, blog or any other type of application.\\n This tool initiates the website creation process and returns a website URL and ID. The generation happens asynchronously.\\n After invoking this tool, your chat reply must be EXACTLY 1 sentence summarizing that Hostinger Horizons is now creating their website and it will be ready in a few minutes and you should provide the website URL to the user immediately Do not write code.\\n\\nTo edit afterwards, users must go to Hostinger Horizons interface in the provided website URL. If the tool call fails with an error, you should provide a clear explanation of the error and do not generate code yourself in the chat. \\n TECHNOLOGY STACK CONSTRAINTS (STRICTLY ENFORCED):\\n The environment is limited to the following technologies. You MUST NOT use, suggest, or implement any technology outside this list:\\n \\n - Language: JavaScript ONLY. - Languages like TypeScript, Rust, Python, Java, PHP, etc., are STRICTLY PROHIBITED.\\n - Framework: React.\\n - Navigation: React Router.\\n - Styling: TailwindCSS.\\n - Components: shadcn/ui (built with @radix-ui primitives).\\n - Icons: Lucide React.\\n - Animations: Framer Motion.\\n \\n BACKEND & DATA STORAGE:\\n - Horizons integrated backend is the EXCLUSIVE solution for persistent data storage, authentication, and database needs.\\n - Local databases (SQLite, MySQL, etc.) are STRICTLY PROHIBITED.\\n - Third-party services (Firebase, AWS Amplify) are allowed ONLY if explicitly requested by the user.\\n \\n MAPS:\\n - OpenStreetMap is the default provider.\\n - Alternative providers (Google Maps, Mapbox) are allowed ONLY if explicitly requested by the user.\\n
3735
+ * @summary Create website
3736
+ * @param {HorizonsV1WebsitesCreateWebsiteRequest} horizonsV1WebsitesCreateWebsiteRequest
3737
+ * @param {*} [options] Override http request option.
3738
+ * @throws {RequiredError}
3739
+ */
3740
+ createWebsiteV1: (horizonsV1WebsitesCreateWebsiteRequest_1, ...args_1) => __awaiter(this, [horizonsV1WebsitesCreateWebsiteRequest_1, ...args_1], void 0, function* (horizonsV1WebsitesCreateWebsiteRequest, options = {}) {
3741
+ // verify required parameter 'horizonsV1WebsitesCreateWebsiteRequest' is not null or undefined
3742
+ (0, common_1.assertParamExists)('createWebsiteV1', 'horizonsV1WebsitesCreateWebsiteRequest', horizonsV1WebsitesCreateWebsiteRequest);
3743
+ const localVarPath = `/api/horizons/v1/websites`;
3744
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3745
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3746
+ let baseOptions;
3747
+ if (configuration) {
3748
+ baseOptions = configuration.baseOptions;
3749
+ }
3750
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
3751
+ const localVarHeaderParameter = {};
3752
+ const localVarQueryParameter = {};
3753
+ // authentication apiToken required
3754
+ // http bearer authentication required
3755
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
3756
+ localVarHeaderParameter['Content-Type'] = 'application/json';
3757
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3758
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3759
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3760
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(horizonsV1WebsitesCreateWebsiteRequest, localVarRequestOptions, configuration);
3761
+ return {
3762
+ url: (0, common_1.toPathString)(localVarUrlObj),
3763
+ options: localVarRequestOptions,
3764
+ };
3765
+ }),
3766
+ /**
3767
+ * Get a link for the user to edit their website in Hostinger Horizons interface.\\n Use this tool when user wants to modify, edit or add new features to an existing website.\\n Websites can only be edited in Hostinger Horizons interface in the provided website URL.
3768
+ * @summary Get website
3769
+ * @param {string} websiteId The website ID
3770
+ * @param {*} [options] Override http request option.
3771
+ * @throws {RequiredError}
3772
+ */
3773
+ getWebsiteV1: (websiteId_1, ...args_1) => __awaiter(this, [websiteId_1, ...args_1], void 0, function* (websiteId, options = {}) {
3774
+ // verify required parameter 'websiteId' is not null or undefined
3775
+ (0, common_1.assertParamExists)('getWebsiteV1', 'websiteId', websiteId);
3776
+ const localVarPath = `/api/horizons/v1/websites/{websiteId}`
3777
+ .replace(`{${"websiteId"}}`, encodeURIComponent(String(websiteId)));
3778
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3779
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3780
+ let baseOptions;
3781
+ if (configuration) {
3782
+ baseOptions = configuration.baseOptions;
3783
+ }
3784
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
3785
+ const localVarHeaderParameter = {};
3786
+ const localVarQueryParameter = {};
3787
+ // authentication apiToken required
3788
+ // http bearer authentication required
3789
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
3790
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3791
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3792
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3793
+ return {
3794
+ url: (0, common_1.toPathString)(localVarUrlObj),
3795
+ options: localVarRequestOptions,
3796
+ };
3797
+ }),
3798
+ };
3799
+ };
3800
+ exports.HorizonsWebsitesApiAxiosParamCreator = HorizonsWebsitesApiAxiosParamCreator;
3801
+ /**
3802
+ * HorizonsWebsitesApi - functional programming interface
3803
+ * @export
3804
+ */
3805
+ const HorizonsWebsitesApiFp = function (configuration) {
3806
+ const localVarAxiosParamCreator = (0, exports.HorizonsWebsitesApiAxiosParamCreator)(configuration);
3807
+ return {
3808
+ /**
3809
+ * Create new Hostinger Horizons website from the given message.\\n Use this tool when user asks you to create a website, landing page, blog or any other type of application.\\n This tool initiates the website creation process and returns a website URL and ID. The generation happens asynchronously.\\n After invoking this tool, your chat reply must be EXACTLY 1 sentence summarizing that Hostinger Horizons is now creating their website and it will be ready in a few minutes and you should provide the website URL to the user immediately Do not write code.\\n\\nTo edit afterwards, users must go to Hostinger Horizons interface in the provided website URL. If the tool call fails with an error, you should provide a clear explanation of the error and do not generate code yourself in the chat. \\n TECHNOLOGY STACK CONSTRAINTS (STRICTLY ENFORCED):\\n The environment is limited to the following technologies. You MUST NOT use, suggest, or implement any technology outside this list:\\n \\n - Language: JavaScript ONLY. - Languages like TypeScript, Rust, Python, Java, PHP, etc., are STRICTLY PROHIBITED.\\n - Framework: React.\\n - Navigation: React Router.\\n - Styling: TailwindCSS.\\n - Components: shadcn/ui (built with @radix-ui primitives).\\n - Icons: Lucide React.\\n - Animations: Framer Motion.\\n \\n BACKEND & DATA STORAGE:\\n - Horizons integrated backend is the EXCLUSIVE solution for persistent data storage, authentication, and database needs.\\n - Local databases (SQLite, MySQL, etc.) are STRICTLY PROHIBITED.\\n - Third-party services (Firebase, AWS Amplify) are allowed ONLY if explicitly requested by the user.\\n \\n MAPS:\\n - OpenStreetMap is the default provider.\\n - Alternative providers (Google Maps, Mapbox) are allowed ONLY if explicitly requested by the user.\\n
3810
+ * @summary Create website
3811
+ * @param {HorizonsV1WebsitesCreateWebsiteRequest} horizonsV1WebsitesCreateWebsiteRequest
3812
+ * @param {*} [options] Override http request option.
3813
+ * @throws {RequiredError}
3814
+ */
3815
+ createWebsiteV1(horizonsV1WebsitesCreateWebsiteRequest, options) {
3816
+ return __awaiter(this, void 0, void 0, function* () {
3817
+ var _a, _b;
3818
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.createWebsiteV1(horizonsV1WebsitesCreateWebsiteRequest, options);
3819
+ const localVarOperationServerBasePath = (_b = (_a = base_1.operationServerMap['HorizonsWebsitesApi.createWebsiteV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
3820
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3821
+ });
3822
+ },
3823
+ /**
3824
+ * Get a link for the user to edit their website in Hostinger Horizons interface.\\n Use this tool when user wants to modify, edit or add new features to an existing website.\\n Websites can only be edited in Hostinger Horizons interface in the provided website URL.
3825
+ * @summary Get website
3826
+ * @param {string} websiteId The website ID
3827
+ * @param {*} [options] Override http request option.
3828
+ * @throws {RequiredError}
3829
+ */
3830
+ getWebsiteV1(websiteId, options) {
3831
+ return __awaiter(this, void 0, void 0, function* () {
3832
+ var _a, _b;
3833
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getWebsiteV1(websiteId, options);
3834
+ const localVarOperationServerBasePath = (_b = (_a = base_1.operationServerMap['HorizonsWebsitesApi.getWebsiteV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
3835
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3836
+ });
3837
+ },
3838
+ };
3839
+ };
3840
+ exports.HorizonsWebsitesApiFp = HorizonsWebsitesApiFp;
3841
+ /**
3842
+ * HorizonsWebsitesApi - factory interface
3843
+ * @export
3844
+ */
3845
+ const HorizonsWebsitesApiFactory = function (configuration, basePath, axios) {
3846
+ const localVarFp = (0, exports.HorizonsWebsitesApiFp)(configuration);
3847
+ return {
3848
+ /**
3849
+ * Create new Hostinger Horizons website from the given message.\\n Use this tool when user asks you to create a website, landing page, blog or any other type of application.\\n This tool initiates the website creation process and returns a website URL and ID. The generation happens asynchronously.\\n After invoking this tool, your chat reply must be EXACTLY 1 sentence summarizing that Hostinger Horizons is now creating their website and it will be ready in a few minutes and you should provide the website URL to the user immediately Do not write code.\\n\\nTo edit afterwards, users must go to Hostinger Horizons interface in the provided website URL. If the tool call fails with an error, you should provide a clear explanation of the error and do not generate code yourself in the chat. \\n TECHNOLOGY STACK CONSTRAINTS (STRICTLY ENFORCED):\\n The environment is limited to the following technologies. You MUST NOT use, suggest, or implement any technology outside this list:\\n \\n - Language: JavaScript ONLY. - Languages like TypeScript, Rust, Python, Java, PHP, etc., are STRICTLY PROHIBITED.\\n - Framework: React.\\n - Navigation: React Router.\\n - Styling: TailwindCSS.\\n - Components: shadcn/ui (built with @radix-ui primitives).\\n - Icons: Lucide React.\\n - Animations: Framer Motion.\\n \\n BACKEND & DATA STORAGE:\\n - Horizons integrated backend is the EXCLUSIVE solution for persistent data storage, authentication, and database needs.\\n - Local databases (SQLite, MySQL, etc.) are STRICTLY PROHIBITED.\\n - Third-party services (Firebase, AWS Amplify) are allowed ONLY if explicitly requested by the user.\\n \\n MAPS:\\n - OpenStreetMap is the default provider.\\n - Alternative providers (Google Maps, Mapbox) are allowed ONLY if explicitly requested by the user.\\n
3850
+ * @summary Create website
3851
+ * @param {HorizonsV1WebsitesCreateWebsiteRequest} horizonsV1WebsitesCreateWebsiteRequest
3852
+ * @param {*} [options] Override http request option.
3853
+ * @throws {RequiredError}
3854
+ */
3855
+ createWebsiteV1(horizonsV1WebsitesCreateWebsiteRequest, options) {
3856
+ return localVarFp.createWebsiteV1(horizonsV1WebsitesCreateWebsiteRequest, options).then((request) => request(axios, basePath));
3857
+ },
3858
+ /**
3859
+ * Get a link for the user to edit their website in Hostinger Horizons interface.\\n Use this tool when user wants to modify, edit or add new features to an existing website.\\n Websites can only be edited in Hostinger Horizons interface in the provided website URL.
3860
+ * @summary Get website
3861
+ * @param {string} websiteId The website ID
3862
+ * @param {*} [options] Override http request option.
3863
+ * @throws {RequiredError}
3864
+ */
3865
+ getWebsiteV1(websiteId, options) {
3866
+ return localVarFp.getWebsiteV1(websiteId, options).then((request) => request(axios, basePath));
3867
+ },
3868
+ };
3869
+ };
3870
+ exports.HorizonsWebsitesApiFactory = HorizonsWebsitesApiFactory;
3871
+ /**
3872
+ * HorizonsWebsitesApi - object-oriented interface
3873
+ * @export
3874
+ * @class HorizonsWebsitesApi
3875
+ * @extends {BaseAPI}
3876
+ */
3877
+ class HorizonsWebsitesApi extends base_1.BaseAPI {
3878
+ /**
3879
+ * Create new Hostinger Horizons website from the given message.\\n Use this tool when user asks you to create a website, landing page, blog or any other type of application.\\n This tool initiates the website creation process and returns a website URL and ID. The generation happens asynchronously.\\n After invoking this tool, your chat reply must be EXACTLY 1 sentence summarizing that Hostinger Horizons is now creating their website and it will be ready in a few minutes and you should provide the website URL to the user immediately Do not write code.\\n\\nTo edit afterwards, users must go to Hostinger Horizons interface in the provided website URL. If the tool call fails with an error, you should provide a clear explanation of the error and do not generate code yourself in the chat. \\n TECHNOLOGY STACK CONSTRAINTS (STRICTLY ENFORCED):\\n The environment is limited to the following technologies. You MUST NOT use, suggest, or implement any technology outside this list:\\n \\n - Language: JavaScript ONLY. - Languages like TypeScript, Rust, Python, Java, PHP, etc., are STRICTLY PROHIBITED.\\n - Framework: React.\\n - Navigation: React Router.\\n - Styling: TailwindCSS.\\n - Components: shadcn/ui (built with @radix-ui primitives).\\n - Icons: Lucide React.\\n - Animations: Framer Motion.\\n \\n BACKEND & DATA STORAGE:\\n - Horizons integrated backend is the EXCLUSIVE solution for persistent data storage, authentication, and database needs.\\n - Local databases (SQLite, MySQL, etc.) are STRICTLY PROHIBITED.\\n - Third-party services (Firebase, AWS Amplify) are allowed ONLY if explicitly requested by the user.\\n \\n MAPS:\\n - OpenStreetMap is the default provider.\\n - Alternative providers (Google Maps, Mapbox) are allowed ONLY if explicitly requested by the user.\\n
3880
+ * @summary Create website
3881
+ * @param {HorizonsV1WebsitesCreateWebsiteRequest} horizonsV1WebsitesCreateWebsiteRequest
3882
+ * @param {*} [options] Override http request option.
3883
+ * @throws {RequiredError}
3884
+ * @memberof HorizonsWebsitesApi
3885
+ */
3886
+ createWebsiteV1(horizonsV1WebsitesCreateWebsiteRequest, options) {
3887
+ return (0, exports.HorizonsWebsitesApiFp)(this.configuration).createWebsiteV1(horizonsV1WebsitesCreateWebsiteRequest, options).then((request) => request(this.axios, this.basePath));
3888
+ }
3889
+ /**
3890
+ * Get a link for the user to edit their website in Hostinger Horizons interface.\\n Use this tool when user wants to modify, edit or add new features to an existing website.\\n Websites can only be edited in Hostinger Horizons interface in the provided website URL.
3891
+ * @summary Get website
3892
+ * @param {string} websiteId The website ID
3893
+ * @param {*} [options] Override http request option.
3894
+ * @throws {RequiredError}
3895
+ * @memberof HorizonsWebsitesApi
3896
+ */
3897
+ getWebsiteV1(websiteId, options) {
3898
+ return (0, exports.HorizonsWebsitesApiFp)(this.configuration).getWebsiteV1(websiteId, options).then((request) => request(this.axios, this.basePath));
3899
+ }
3900
+ }
3901
+ exports.HorizonsWebsitesApi = HorizonsWebsitesApi;
3233
3902
  /**
3234
3903
  * HostingDatabasesApi - axios parameter creator
3235
3904
  * @export
@@ -5955,6 +6624,50 @@ const ReachSegmentsApiAxiosParamCreator = function (configuration) {
5955
6624
  options: localVarRequestOptions,
5956
6625
  };
5957
6626
  }),
6627
+ /**
6628
+ * Retrieve contacts associated with a specific segment for a given profile. This endpoint allows you to fetch and filter contacts that belong to a particular segment, identified by its UUID, scoped to a specific profile.
6629
+ * @summary List profile segment contacts
6630
+ * @param {string} profileUuid Profile uuid parameter
6631
+ * @param {string} segmentUuid Segment uuid parameter
6632
+ * @param {number} [page] Page number
6633
+ * @param {number} [perPage] Number of items per page
6634
+ * @param {*} [options] Override http request option.
6635
+ * @throws {RequiredError}
6636
+ */
6637
+ listProfileSegmentContactsV1: (profileUuid_1, segmentUuid_1, page_1, perPage_1, ...args_1) => __awaiter(this, [profileUuid_1, segmentUuid_1, page_1, perPage_1, ...args_1], void 0, function* (profileUuid, segmentUuid, page, perPage, options = {}) {
6638
+ // verify required parameter 'profileUuid' is not null or undefined
6639
+ (0, common_1.assertParamExists)('listProfileSegmentContactsV1', 'profileUuid', profileUuid);
6640
+ // verify required parameter 'segmentUuid' is not null or undefined
6641
+ (0, common_1.assertParamExists)('listProfileSegmentContactsV1', 'segmentUuid', segmentUuid);
6642
+ const localVarPath = `/api/reach/v1/profiles/{profileUuid}/segmentation/segments/{segmentUuid}/contacts`
6643
+ .replace(`{${"profileUuid"}}`, encodeURIComponent(String(profileUuid)))
6644
+ .replace(`{${"segmentUuid"}}`, encodeURIComponent(String(segmentUuid)));
6645
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6646
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
6647
+ let baseOptions;
6648
+ if (configuration) {
6649
+ baseOptions = configuration.baseOptions;
6650
+ }
6651
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
6652
+ const localVarHeaderParameter = {};
6653
+ const localVarQueryParameter = {};
6654
+ // authentication apiToken required
6655
+ // http bearer authentication required
6656
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
6657
+ if (page !== undefined) {
6658
+ localVarQueryParameter['page'] = page;
6659
+ }
6660
+ if (perPage !== undefined) {
6661
+ localVarQueryParameter['per_page'] = perPage;
6662
+ }
6663
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
6664
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6665
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6666
+ return {
6667
+ url: (0, common_1.toPathString)(localVarUrlObj),
6668
+ options: localVarRequestOptions,
6669
+ };
6670
+ }),
5958
6671
  /**
5959
6672
  * Retrieve contacts associated with a specific segment. This endpoint allows you to fetch and filter contacts that belong to a particular segment, identified by its UUID.
5960
6673
  * @summary List segment contacts
@@ -6063,6 +6776,24 @@ const ReachSegmentsApiFp = function (configuration) {
6063
6776
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6064
6777
  });
6065
6778
  },
6779
+ /**
6780
+ * Retrieve contacts associated with a specific segment for a given profile. This endpoint allows you to fetch and filter contacts that belong to a particular segment, identified by its UUID, scoped to a specific profile.
6781
+ * @summary List profile segment contacts
6782
+ * @param {string} profileUuid Profile uuid parameter
6783
+ * @param {string} segmentUuid Segment uuid parameter
6784
+ * @param {number} [page] Page number
6785
+ * @param {number} [perPage] Number of items per page
6786
+ * @param {*} [options] Override http request option.
6787
+ * @throws {RequiredError}
6788
+ */
6789
+ listProfileSegmentContactsV1(profileUuid, segmentUuid, page, perPage, options) {
6790
+ return __awaiter(this, void 0, void 0, function* () {
6791
+ var _a, _b;
6792
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listProfileSegmentContactsV1(profileUuid, segmentUuid, page, perPage, options);
6793
+ const localVarOperationServerBasePath = (_b = (_a = base_1.operationServerMap['ReachSegmentsApi.listProfileSegmentContactsV1']) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.url;
6794
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6795
+ });
6796
+ },
6066
6797
  /**
6067
6798
  * Retrieve contacts associated with a specific segment. This endpoint allows you to fetch and filter contacts that belong to a particular segment, identified by its UUID.
6068
6799
  * @summary List segment contacts
@@ -6124,6 +6855,19 @@ const ReachSegmentsApiFactory = function (configuration, basePath, axios) {
6124
6855
  getSegmentDetailsV1(segmentUuid, options) {
6125
6856
  return localVarFp.getSegmentDetailsV1(segmentUuid, options).then((request) => request(axios, basePath));
6126
6857
  },
6858
+ /**
6859
+ * Retrieve contacts associated with a specific segment for a given profile. This endpoint allows you to fetch and filter contacts that belong to a particular segment, identified by its UUID, scoped to a specific profile.
6860
+ * @summary List profile segment contacts
6861
+ * @param {string} profileUuid Profile uuid parameter
6862
+ * @param {string} segmentUuid Segment uuid parameter
6863
+ * @param {number} [page] Page number
6864
+ * @param {number} [perPage] Number of items per page
6865
+ * @param {*} [options] Override http request option.
6866
+ * @throws {RequiredError}
6867
+ */
6868
+ listProfileSegmentContactsV1(profileUuid, segmentUuid, page, perPage, options) {
6869
+ return localVarFp.listProfileSegmentContactsV1(profileUuid, segmentUuid, page, perPage, options).then((request) => request(axios, basePath));
6870
+ },
6127
6871
  /**
6128
6872
  * Retrieve contacts associated with a specific segment. This endpoint allows you to fetch and filter contacts that belong to a particular segment, identified by its UUID.
6129
6873
  * @summary List segment contacts
@@ -6177,6 +6921,20 @@ class ReachSegmentsApi extends base_1.BaseAPI {
6177
6921
  getSegmentDetailsV1(segmentUuid, options) {
6178
6922
  return (0, exports.ReachSegmentsApiFp)(this.configuration).getSegmentDetailsV1(segmentUuid, options).then((request) => request(this.axios, this.basePath));
6179
6923
  }
6924
+ /**
6925
+ * Retrieve contacts associated with a specific segment for a given profile. This endpoint allows you to fetch and filter contacts that belong to a particular segment, identified by its UUID, scoped to a specific profile.
6926
+ * @summary List profile segment contacts
6927
+ * @param {string} profileUuid Profile uuid parameter
6928
+ * @param {string} segmentUuid Segment uuid parameter
6929
+ * @param {number} [page] Page number
6930
+ * @param {number} [perPage] Number of items per page
6931
+ * @param {*} [options] Override http request option.
6932
+ * @throws {RequiredError}
6933
+ * @memberof ReachSegmentsApi
6934
+ */
6935
+ listProfileSegmentContactsV1(profileUuid, segmentUuid, page, perPage, options) {
6936
+ return (0, exports.ReachSegmentsApiFp)(this.configuration).listProfileSegmentContactsV1(profileUuid, segmentUuid, page, perPage, options).then((request) => request(this.axios, this.basePath));
6937
+ }
6180
6938
  /**
6181
6939
  * Retrieve contacts associated with a specific segment. This endpoint allows you to fetch and filter contacts that belong to a particular segment, identified by its UUID.
6182
6940
  * @summary List segment contacts