@seekora-ai/admin-api 1.1.85 → 1.1.86
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 +45 -3
- package/api.ts +2738 -471
- package/dist/api.d.ts +1705 -51
- package/dist/api.js +1212 -94
- package/dist/esm/api.d.ts +1705 -51
- package/dist/esm/api.js +1515 -409
- package/package.json +1 -1
- package/seekora-ai-admin-api-1.1.86.tgz +0 -0
- package/seekora-ai-admin-api-1.1.85.tgz +0 -0
package/dist/api.js
CHANGED
|
@@ -26,12 +26,12 @@ exports.ActivityLogsApiFactory = exports.ActivityLogsApiFp = exports.ActivityLog
|
|
|
26
26
|
exports.AdminAnalyticsStoreXStoreIDQueriesNoClicksGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDQueriesGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDQueriesGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDKpiGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDKpiGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDKpiGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDGeoInsightsGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDGeoInsightsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDGeoGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDGeoGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDGeoGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDGeoGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDGeoGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDFiltersTrendsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDFiltersTrendsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDFiltersTrendsGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDFiltersGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDFiltersGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDFiltersGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDFiltersEffectivenessGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDFiltersEffectivenessGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDFiltersCombinationsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDFiltersCombinationsGetSortByEnum = exports.AdminAnalyticsOrgKpiGetTagsMatchModeEnum = exports.AdminAnalyticsOrgKpiGetGranularityEnum = exports.AnalyticsApi = exports.AnalyticsApiFactory = exports.AnalyticsApiFp = exports.AnalyticsApiAxiosParamCreator = exports.AdminPagesApi = exports.AdminPagesApiFactory = exports.AdminPagesApiFp = exports.AdminPagesApiAxiosParamCreator = exports.AdminNotificationsApi = exports.AdminNotificationsApiFactory = exports.AdminNotificationsApiFp = exports.AdminNotificationsApiAxiosParamCreator = exports.AdminNotificationTemplatesApi = exports.AdminNotificationTemplatesApiFactory = exports.AdminNotificationTemplatesApiFp = exports.AdminNotificationTemplatesApiAxiosParamCreator = exports.AdminAnalyticsApi = exports.AdminAnalyticsApiFactory = exports.AdminAnalyticsApiFp = exports.AdminAnalyticsApiAxiosParamCreator = exports.AnalyticsActivityLogsGetActionEnum = exports.ActivityLogsApi = void 0;
|
|
27
27
|
exports.AnalyticsV3ClicksApiFp = exports.AnalyticsV3ClicksApiAxiosParamCreator = exports.AnalyticsRulesApi = exports.AnalyticsRulesApiFactory = exports.AnalyticsRulesApiFp = exports.AnalyticsRulesApiAxiosParamCreator = exports.AnalyticsRecommendationsApi = exports.AnalyticsRecommendationsApiFactory = exports.AnalyticsRecommendationsApiFp = exports.AnalyticsRecommendationsApiAxiosParamCreator = exports.AnalyticsFunnelsApi = exports.AnalyticsFunnelsApiFactory = exports.AnalyticsFunnelsApiFp = exports.AnalyticsFunnelsApiAxiosParamCreator = exports.AnalyticsEventsApi = exports.AnalyticsEventsApiFactory = exports.AnalyticsEventsApiFp = exports.AnalyticsEventsApiAxiosParamCreator = exports.AnalyticsCohortsApi = exports.AnalyticsCohortsApiFactory = exports.AnalyticsCohortsApiFp = exports.AnalyticsCohortsApiAxiosParamCreator = exports.AdminAnalyticsStoreXStoreIDTagsSummaryGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDTagsSummaryGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDTagsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDTagsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDSuggestionsQueryInsightsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDSuggestionsQueryInsightsGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDSuggestionsQueriesGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDSuggestionsQueriesGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDSuggestionsQueriesGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDSuggestionsNoResultsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDSuggestionsNoResultsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDSuggestionsNoResultsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDSuggestionsKpiGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDSuggestionsKpiGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDSuggestionsGeoGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDResultsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDResultsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDResultsGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDResultsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesQueryInsightsGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesQueryInsightsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoResultsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoResultsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoResultsGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoResultsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoClicksGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoClicksGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoClicksGetCompareTagsMatchModeEnum = void 0;
|
|
28
28
|
exports.AdminBillingPaymentTransactionsGetSortOrderEnum = exports.AdminBillingPaymentTransactionsGetSortByEnum = exports.AdminBillingOrdersGetSortOrderEnum = exports.AdminBillingOrdersGetSortByEnum = exports.AdminBillingInvoicesGetSortOrderEnum = exports.AdminBillingInvoicesGetSortByEnum = exports.AdminBillingCreditTransactionsGetSortOrderEnum = exports.AdminBillingCreditTransactionsGetSortByEnum = exports.AdminBillingCreditPurchasesGetSortOrderEnum = exports.AdminBillingCreditPurchasesGetSortByEnum = exports.AdminBillingCreditLedgerGetSortOrderEnum = exports.AdminBillingCreditLedgerGetSortByEnum = exports.BillingDashboardApi = exports.BillingDashboardApiFactory = exports.BillingDashboardApiFp = exports.BillingDashboardApiAxiosParamCreator = exports.AutomatedRefundManagementApi = exports.AutomatedRefundManagementApiFactory = exports.AutomatedRefundManagementApiFp = exports.AutomatedRefundManagementApiAxiosParamCreator = exports.AuthApi = exports.AuthApiFactory = exports.AuthApiFp = exports.AuthApiAxiosParamCreator = exports.ArticlesApi = exports.ArticlesApiFactory = exports.ArticlesApiFp = exports.ArticlesApiAxiosParamCreator = exports.AnalyticsV3SearchApi = exports.AnalyticsV3SearchApiFactory = exports.AnalyticsV3SearchApiFp = exports.AnalyticsV3SearchApiAxiosParamCreator = exports.AnalyticsV3RecommendationsApi = exports.AnalyticsV3RecommendationsApiFactory = exports.AnalyticsV3RecommendationsApiFp = exports.AnalyticsV3RecommendationsApiAxiosParamCreator = exports.AnalyticsV3JourneyApi = exports.AnalyticsV3JourneyApiFactory = exports.AnalyticsV3JourneyApiFp = exports.AnalyticsV3JourneyApiAxiosParamCreator = exports.AnalyticsV3FunnelApi = exports.AnalyticsV3FunnelApiFactory = exports.AnalyticsV3FunnelApiFp = exports.AnalyticsV3FunnelApiAxiosParamCreator = exports.AnalyticsV3ConversionsApi = exports.AnalyticsV3ConversionsApiFactory = exports.AnalyticsV3ConversionsApiFp = exports.AnalyticsV3ConversionsApiAxiosParamCreator = exports.AnalyticsV3ClicksApi = exports.AnalyticsV3ClicksApiFactory = void 0;
|
|
29
|
-
exports.
|
|
30
|
-
exports.
|
|
31
|
-
exports.
|
|
32
|
-
exports.
|
|
33
|
-
exports.
|
|
34
|
-
exports.WebhooksApi = exports.WebhooksApiFactory = exports.WebhooksApiFp = exports.WebhooksApiAxiosParamCreator = exports.UserProfilesApi = exports.UserProfilesApiFactory = exports.UserProfilesApiFp = exports.UserProfilesApiAxiosParamCreator = exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.TeamApi = exports.TeamApiFactory = exports.TeamApiFp = exports.TeamApiAxiosParamCreator = exports.TaxManagementApi = exports.TaxManagementApiFactory = exports.TaxManagementApiFp = exports.TaxManagementApiAxiosParamCreator = exports.SubscriptionsApi = exports.SubscriptionsApiFactory = exports.SubscriptionsApiFp = void 0;
|
|
29
|
+
exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.DataQualityApi = exports.DataQualityApiFactory = exports.DataQualityApiFp = exports.DataQualityApiAxiosParamCreator = exports.CustomStopwordsApi = exports.CustomStopwordsApiFactory = exports.CustomStopwordsApiFp = exports.CustomStopwordsApiAxiosParamCreator = exports.CustomEventsAnalyticsApi = exports.CustomEventsAnalyticsApiFactory = exports.CustomEventsAnalyticsApiFp = exports.CustomEventsAnalyticsApiAxiosParamCreator = exports.CustomEventsApi = exports.CustomEventsApiFactory = exports.CustomEventsApiFp = exports.CustomEventsApiAxiosParamCreator = exports.CreditsTransactionsGetTypeEnum = exports.CreditsApi = exports.CreditsApiFactory = exports.CreditsApiFp = exports.CreditsApiAxiosParamCreator = exports.ConnectorsApi = exports.ConnectorsApiFactory = exports.ConnectorsApiFp = exports.ConnectorsApiAxiosParamCreator = exports.CompanyConfigApi = exports.CompanyConfigApiFactory = exports.CompanyConfigApiFp = exports.CompanyConfigApiAxiosParamCreator = exports.CommonApi = exports.CommonApiFactory = exports.CommonApiFp = exports.CommonApiAxiosParamCreator = exports.BillingUserPaymentsApi = exports.BillingUserPaymentsApiFactory = exports.BillingUserPaymentsApiFp = exports.BillingUserPaymentsApiAxiosParamCreator = exports.AdminBillingGraphsUsageBreakdownGetGranularityEnum = exports.AdminBillingGraphsTimeseriesConsumptionGetGranularityEnum = exports.AdminBillingGraphsSearchRequestsGetGranularityEnum = exports.AdminBillingGraphsCreditsConsumedGetGranularityEnum = exports.BillingDashboardGraphsApi = exports.BillingDashboardGraphsApiFactory = exports.BillingDashboardGraphsApiFp = exports.BillingDashboardGraphsApiAxiosParamCreator = exports.AdminBillingUsageDetailsGetGranularityEnum = void 0;
|
|
30
|
+
exports.AdminAnalyticsStoreXStoreIDQueriesItemPerformanceGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDQueriesItemPerformanceGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDItemsTrendsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDItemsTrendsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDItemsTrendsGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDItemsPerformanceGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDItemsPerformanceGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDItemsItemIdInsightsGetGroupByEnum = exports.AdminAnalyticsStoreXStoreIDItemsItemIdInsightsGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDItemsItemIdInsightsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDItemsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDItemsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDItemsDiscoveryGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDItemsDiscoveryGetSortByEnum = exports.ItemAnalyticsApi = exports.ItemAnalyticsApiFactory = exports.ItemAnalyticsApiFp = exports.ItemAnalyticsApiAxiosParamCreator = exports.FiltersApi = exports.FiltersApiFactory = exports.FiltersApiFp = exports.FiltersApiAxiosParamCreator = exports.FeatureLimitsAdminApi = exports.FeatureLimitsAdminApiFactory = exports.FeatureLimitsAdminApiFp = exports.FeatureLimitsAdminApiAxiosParamCreator = exports.FeatureLimitsApi = exports.FeatureLimitsApiFactory = exports.FeatureLimitsApiFp = exports.FeatureLimitsApiAxiosParamCreator = exports.ExternalAPINotificationsApi = exports.ExternalAPINotificationsApiFactory = exports.ExternalAPINotificationsApiFp = exports.ExternalAPINotificationsApiAxiosParamCreator = exports.ExperimentsApi = exports.ExperimentsApiFactory = exports.ExperimentsApiFp = exports.ExperimentsApiAxiosParamCreator = exports.DocumentsApi = exports.DocumentsApiFactory = exports.DocumentsApiFp = exports.DocumentsApiAxiosParamCreator = exports.DocumentationApi = exports.DocumentationApiFactory = exports.DocumentationApiFp = exports.DocumentationApiAxiosParamCreator = exports.DefaultMenuManagementApi = exports.DefaultMenuManagementApiFactory = exports.DefaultMenuManagementApiFp = exports.DefaultMenuManagementApiAxiosParamCreator = void 0;
|
|
31
|
+
exports.V1NotificationsGetSortByEnum = exports.V1NotificationsGetPriorityEnum = exports.V1NotificationsGetIsReadEnum = exports.V1NotificationsGetTypeEnum = exports.NotificationsApi = exports.NotificationsApiFactory = exports.NotificationsApiFp = exports.NotificationsApiAxiosParamCreator = exports.NotificationPreferencesApi = exports.NotificationPreferencesApiFactory = exports.NotificationPreferencesApiFp = exports.NotificationPreferencesApiAxiosParamCreator = exports.NewsLettersApi = exports.NewsLettersApiFactory = exports.NewsLettersApiFp = exports.NewsLettersApiAxiosParamCreator = exports.MongoDbApi = exports.MongoDbApiFactory = exports.MongoDbApiFp = exports.MongoDbApiAxiosParamCreator = exports.ModulesApi = exports.ModulesApiFactory = exports.ModulesApiFp = exports.ModulesApiAxiosParamCreator = exports.MenusApi = exports.MenusApiFactory = exports.MenusApiFp = exports.MenusApiAxiosParamCreator = exports.MenuRouteMetricsAdminApi = exports.MenuRouteMetricsAdminApiFactory = exports.MenuRouteMetricsAdminApiFp = exports.MenuRouteMetricsAdminApiAxiosParamCreator = exports.MenuRouteMetricGetFormnameEnum = exports.MenuRouteMetricGetRouteEnum = exports.MenuRouteMetricsApi = exports.MenuRouteMetricsApiFactory = exports.MenuRouteMetricsApiFp = exports.MenuRouteMetricsApiAxiosParamCreator = exports.MenuManagementApi = exports.MenuManagementApiFactory = exports.MenuManagementApiFp = exports.MenuManagementApiAxiosParamCreator = exports.LimitsApi = exports.LimitsApiFactory = exports.LimitsApiFp = exports.LimitsApiAxiosParamCreator = exports.JourneyBuilderApi = exports.JourneyBuilderApiFactory = exports.JourneyBuilderApiFp = exports.JourneyBuilderApiAxiosParamCreator = void 0;
|
|
32
|
+
exports.RequestsApiFactory = exports.RequestsApiFp = exports.RequestsApiAxiosParamCreator = exports.RegisterApi = exports.RegisterApiFactory = exports.RegisterApiFp = exports.RegisterApiAxiosParamCreator = exports.RefundManagementApi = exports.RefundManagementApiFactory = exports.RefundManagementApiFp = exports.RefundManagementApiAxiosParamCreator = exports.QuerySuggestionsManagementApi = exports.QuerySuggestionsManagementApiFactory = exports.QuerySuggestionsManagementApiFp = exports.QuerySuggestionsManagementApiAxiosParamCreator = exports.V1SuggestionsQueriesGetTimeRangeEnum = exports.V1SuggestionsQueriesGetTagsMatchModeEnum = exports.QuerySuggestionsApi = exports.QuerySuggestionsApiFactory = exports.QuerySuggestionsApiFp = exports.QuerySuggestionsApiAxiosParamCreator = exports.PluralsDeclensionsApi = exports.PluralsDeclensionsApiFactory = exports.PluralsDeclensionsApiFp = exports.PluralsDeclensionsApiAxiosParamCreator = exports.PlansApi = exports.PlansApiFactory = exports.PlansApiFp = exports.PlansApiAxiosParamCreator = exports.PaymentsApi = exports.PaymentsApiFactory = exports.PaymentsApiFp = exports.PaymentsApiAxiosParamCreator = exports.PaymentGatewayApi = exports.PaymentGatewayApiFactory = exports.PaymentGatewayApiFp = exports.PaymentGatewayApiAxiosParamCreator = exports.ParentMenusApi = exports.ParentMenusApiFactory = exports.ParentMenusApiFp = exports.ParentMenusApiAxiosParamCreator = exports.OrganizationsApi = exports.OrganizationsApiFactory = exports.OrganizationsApiFp = exports.OrganizationsApiAxiosParamCreator = exports.OnboardingApi = exports.OnboardingApiFactory = exports.OnboardingApiFp = exports.OnboardingApiAxiosParamCreator = exports.V1NotificationsGetSortOrderEnum = void 0;
|
|
33
|
+
exports.StoreDocumentsApiAxiosParamCreator = exports.StoreCreationApi = exports.StoreCreationApiFactory = exports.StoreCreationApiFp = exports.StoreCreationApiAxiosParamCreator = exports.StopwordsApi = exports.StopwordsApiFactory = exports.StopwordsApiFp = exports.StopwordsApiAxiosParamCreator = exports.SearchApi = exports.SearchApiFactory = exports.SearchApiFp = exports.SearchApiAxiosParamCreator = exports.SDKStoreInfoApi = exports.SDKStoreInfoApiFactory = exports.SDKStoreInfoApiFp = exports.SDKStoreInfoApiAxiosParamCreator = exports.SDKStoreCreationApi = exports.SDKStoreCreationApiFactory = exports.SDKStoreCreationApiFp = exports.SDKStoreCreationApiAxiosParamCreator = exports.SDKStoreConfigApi = exports.SDKStoreConfigApiFactory = exports.SDKStoreConfigApiFp = exports.SDKStoreConfigApiAxiosParamCreator = exports.SDKSchemaApi = exports.SDKSchemaApiFactory = exports.SDKSchemaApiFp = exports.SDKSchemaApiAxiosParamCreator = exports.SDKQuerySuggestionsConfigApi = exports.SDKQuerySuggestionsConfigApiFactory = exports.SDKQuerySuggestionsConfigApiFp = exports.SDKQuerySuggestionsConfigApiAxiosParamCreator = exports.SDKExperimentsApi = exports.SDKExperimentsApiFactory = exports.SDKExperimentsApiFp = exports.SDKExperimentsApiAxiosParamCreator = exports.SDKDocumentsApi = exports.SDKDocumentsApiFactory = exports.SDKDocumentsApiFp = exports.SDKDocumentsApiAxiosParamCreator = exports.RolesApi = exports.RolesApiFactory = exports.RolesApiFp = exports.RolesApiAxiosParamCreator = exports.RoleRightsApi = exports.RoleRightsApiFactory = exports.RoleRightsApiFp = exports.RoleRightsApiAxiosParamCreator = exports.RequestsApi = void 0;
|
|
34
|
+
exports.WebhooksApi = exports.WebhooksApiFactory = exports.WebhooksApiFp = exports.WebhooksApiAxiosParamCreator = exports.UserProfilesApi = exports.UserProfilesApiFactory = exports.UserProfilesApiFp = exports.UserProfilesApiAxiosParamCreator = exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.TeamApi = exports.TeamApiFactory = exports.TeamApiFp = exports.TeamApiAxiosParamCreator = exports.TaxManagementApi = exports.TaxManagementApiFactory = exports.TaxManagementApiFp = exports.TaxManagementApiAxiosParamCreator = exports.SubscriptionsApi = exports.SubscriptionsApiFactory = exports.SubscriptionsApiFp = exports.SubscriptionsApiAxiosParamCreator = exports.SubscriptionPaymentsApi = exports.SubscriptionPaymentsApiFactory = exports.SubscriptionPaymentsApiFp = exports.SubscriptionPaymentsApiAxiosParamCreator = exports.StoresApi = exports.StoresApiFactory = exports.StoresApiFp = exports.StoresApiAxiosParamCreator = exports.StoreDocumentsApi = exports.StoreDocumentsApiFactory = exports.StoreDocumentsApiFp = void 0;
|
|
35
35
|
const axios_1 = require("axios");
|
|
36
36
|
// Some imports not used depending on template conditions
|
|
37
37
|
// @ts-ignore
|
|
@@ -21004,6 +21004,469 @@ class CustomEventsApi extends base_1.BaseAPI {
|
|
|
21004
21004
|
}
|
|
21005
21005
|
}
|
|
21006
21006
|
exports.CustomEventsApi = CustomEventsApi;
|
|
21007
|
+
/**
|
|
21008
|
+
* CustomEventsAnalyticsApi - axios parameter creator
|
|
21009
|
+
* @export
|
|
21010
|
+
*/
|
|
21011
|
+
const CustomEventsAnalyticsApiAxiosParamCreator = function (configuration) {
|
|
21012
|
+
return {
|
|
21013
|
+
/**
|
|
21014
|
+
* Returns a breakdown of values for a specific field slot of a custom event
|
|
21015
|
+
* @summary Get Custom Event Field Breakdown
|
|
21016
|
+
* @param {string} xStoreID Store ID
|
|
21017
|
+
* @param {string} authorization Bearer JWT token
|
|
21018
|
+
* @param {AnalyticsCustomEventFieldBreakdownRequestBody} analyticsCustomEventFieldBreakdownRequestBody Field breakdown request
|
|
21019
|
+
* @param {*} [options] Override http request option.
|
|
21020
|
+
* @throws {RequiredError}
|
|
21021
|
+
*/
|
|
21022
|
+
adminAnalyticsStoreXStoreIDCustomEventsAnalyticsFieldBreakdownPost: (xStoreID_1, authorization_1, analyticsCustomEventFieldBreakdownRequestBody_1, ...args_1) => __awaiter(this, [xStoreID_1, authorization_1, analyticsCustomEventFieldBreakdownRequestBody_1, ...args_1], void 0, function* (xStoreID, authorization, analyticsCustomEventFieldBreakdownRequestBody, options = {}) {
|
|
21023
|
+
// verify required parameter 'xStoreID' is not null or undefined
|
|
21024
|
+
(0, common_1.assertParamExists)('adminAnalyticsStoreXStoreIDCustomEventsAnalyticsFieldBreakdownPost', 'xStoreID', xStoreID);
|
|
21025
|
+
// verify required parameter 'authorization' is not null or undefined
|
|
21026
|
+
(0, common_1.assertParamExists)('adminAnalyticsStoreXStoreIDCustomEventsAnalyticsFieldBreakdownPost', 'authorization', authorization);
|
|
21027
|
+
// verify required parameter 'analyticsCustomEventFieldBreakdownRequestBody' is not null or undefined
|
|
21028
|
+
(0, common_1.assertParamExists)('adminAnalyticsStoreXStoreIDCustomEventsAnalyticsFieldBreakdownPost', 'analyticsCustomEventFieldBreakdownRequestBody', analyticsCustomEventFieldBreakdownRequestBody);
|
|
21029
|
+
const localVarPath = `/admin/analytics/store/{xStoreID}/custom-events/analytics/field-breakdown`
|
|
21030
|
+
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
|
|
21031
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
21032
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21033
|
+
let baseOptions;
|
|
21034
|
+
if (configuration) {
|
|
21035
|
+
baseOptions = configuration.baseOptions;
|
|
21036
|
+
}
|
|
21037
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
21038
|
+
const localVarHeaderParameter = {};
|
|
21039
|
+
const localVarQueryParameter = {};
|
|
21040
|
+
// authentication BearerAuth required
|
|
21041
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
21042
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
21043
|
+
if (authorization != null) {
|
|
21044
|
+
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
21045
|
+
}
|
|
21046
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
21047
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21048
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
21049
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(analyticsCustomEventFieldBreakdownRequestBody, localVarRequestOptions, configuration);
|
|
21050
|
+
return {
|
|
21051
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
21052
|
+
options: localVarRequestOptions,
|
|
21053
|
+
};
|
|
21054
|
+
}),
|
|
21055
|
+
/**
|
|
21056
|
+
* Returns aggregated custom event metrics including total events, unique users, unique sessions, and unique event types
|
|
21057
|
+
* @summary Get Custom Event Metrics
|
|
21058
|
+
* @param {string} xStoreID Store ID
|
|
21059
|
+
* @param {string} authorization Bearer JWT token
|
|
21060
|
+
* @param {AnalyticsCustomEventMetricsRequestBody} analyticsCustomEventMetricsRequestBody Custom event metrics request
|
|
21061
|
+
* @param {*} [options] Override http request option.
|
|
21062
|
+
* @throws {RequiredError}
|
|
21063
|
+
*/
|
|
21064
|
+
adminAnalyticsStoreXStoreIDCustomEventsAnalyticsMetricsPost: (xStoreID_1, authorization_1, analyticsCustomEventMetricsRequestBody_1, ...args_1) => __awaiter(this, [xStoreID_1, authorization_1, analyticsCustomEventMetricsRequestBody_1, ...args_1], void 0, function* (xStoreID, authorization, analyticsCustomEventMetricsRequestBody, options = {}) {
|
|
21065
|
+
// verify required parameter 'xStoreID' is not null or undefined
|
|
21066
|
+
(0, common_1.assertParamExists)('adminAnalyticsStoreXStoreIDCustomEventsAnalyticsMetricsPost', 'xStoreID', xStoreID);
|
|
21067
|
+
// verify required parameter 'authorization' is not null or undefined
|
|
21068
|
+
(0, common_1.assertParamExists)('adminAnalyticsStoreXStoreIDCustomEventsAnalyticsMetricsPost', 'authorization', authorization);
|
|
21069
|
+
// verify required parameter 'analyticsCustomEventMetricsRequestBody' is not null or undefined
|
|
21070
|
+
(0, common_1.assertParamExists)('adminAnalyticsStoreXStoreIDCustomEventsAnalyticsMetricsPost', 'analyticsCustomEventMetricsRequestBody', analyticsCustomEventMetricsRequestBody);
|
|
21071
|
+
const localVarPath = `/admin/analytics/store/{xStoreID}/custom-events/analytics/metrics`
|
|
21072
|
+
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
|
|
21073
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
21074
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21075
|
+
let baseOptions;
|
|
21076
|
+
if (configuration) {
|
|
21077
|
+
baseOptions = configuration.baseOptions;
|
|
21078
|
+
}
|
|
21079
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
21080
|
+
const localVarHeaderParameter = {};
|
|
21081
|
+
const localVarQueryParameter = {};
|
|
21082
|
+
// authentication BearerAuth required
|
|
21083
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
21084
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
21085
|
+
if (authorization != null) {
|
|
21086
|
+
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
21087
|
+
}
|
|
21088
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
21089
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21090
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
21091
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(analyticsCustomEventMetricsRequestBody, localVarRequestOptions, configuration);
|
|
21092
|
+
return {
|
|
21093
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
21094
|
+
options: localVarRequestOptions,
|
|
21095
|
+
};
|
|
21096
|
+
}),
|
|
21097
|
+
/**
|
|
21098
|
+
* Returns paginated raw custom events with field data
|
|
21099
|
+
* @summary Get Custom Event Stream
|
|
21100
|
+
* @param {string} xStoreID Store ID
|
|
21101
|
+
* @param {string} authorization Bearer JWT token
|
|
21102
|
+
* @param {AnalyticsCustomEventStreamRequestBody} analyticsCustomEventStreamRequestBody Event stream request
|
|
21103
|
+
* @param {*} [options] Override http request option.
|
|
21104
|
+
* @throws {RequiredError}
|
|
21105
|
+
*/
|
|
21106
|
+
adminAnalyticsStoreXStoreIDCustomEventsAnalyticsStreamPost: (xStoreID_1, authorization_1, analyticsCustomEventStreamRequestBody_1, ...args_1) => __awaiter(this, [xStoreID_1, authorization_1, analyticsCustomEventStreamRequestBody_1, ...args_1], void 0, function* (xStoreID, authorization, analyticsCustomEventStreamRequestBody, options = {}) {
|
|
21107
|
+
// verify required parameter 'xStoreID' is not null or undefined
|
|
21108
|
+
(0, common_1.assertParamExists)('adminAnalyticsStoreXStoreIDCustomEventsAnalyticsStreamPost', 'xStoreID', xStoreID);
|
|
21109
|
+
// verify required parameter 'authorization' is not null or undefined
|
|
21110
|
+
(0, common_1.assertParamExists)('adminAnalyticsStoreXStoreIDCustomEventsAnalyticsStreamPost', 'authorization', authorization);
|
|
21111
|
+
// verify required parameter 'analyticsCustomEventStreamRequestBody' is not null or undefined
|
|
21112
|
+
(0, common_1.assertParamExists)('adminAnalyticsStoreXStoreIDCustomEventsAnalyticsStreamPost', 'analyticsCustomEventStreamRequestBody', analyticsCustomEventStreamRequestBody);
|
|
21113
|
+
const localVarPath = `/admin/analytics/store/{xStoreID}/custom-events/analytics/stream`
|
|
21114
|
+
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
|
|
21115
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
21116
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21117
|
+
let baseOptions;
|
|
21118
|
+
if (configuration) {
|
|
21119
|
+
baseOptions = configuration.baseOptions;
|
|
21120
|
+
}
|
|
21121
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
21122
|
+
const localVarHeaderParameter = {};
|
|
21123
|
+
const localVarQueryParameter = {};
|
|
21124
|
+
// authentication BearerAuth required
|
|
21125
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
21126
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
21127
|
+
if (authorization != null) {
|
|
21128
|
+
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
21129
|
+
}
|
|
21130
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
21131
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21132
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
21133
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(analyticsCustomEventStreamRequestBody, localVarRequestOptions, configuration);
|
|
21134
|
+
return {
|
|
21135
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
21136
|
+
options: localVarRequestOptions,
|
|
21137
|
+
};
|
|
21138
|
+
}),
|
|
21139
|
+
/**
|
|
21140
|
+
* Returns time series data for custom events grouped by event name and time bucket
|
|
21141
|
+
* @summary Get Custom Event Time Series
|
|
21142
|
+
* @param {string} xStoreID Store ID
|
|
21143
|
+
* @param {string} authorization Bearer JWT token
|
|
21144
|
+
* @param {AnalyticsCustomEventTimeSeriesRequestBody} analyticsCustomEventTimeSeriesRequestBody Time series request
|
|
21145
|
+
* @param {*} [options] Override http request option.
|
|
21146
|
+
* @throws {RequiredError}
|
|
21147
|
+
*/
|
|
21148
|
+
adminAnalyticsStoreXStoreIDCustomEventsAnalyticsTimeSeriesPost: (xStoreID_1, authorization_1, analyticsCustomEventTimeSeriesRequestBody_1, ...args_1) => __awaiter(this, [xStoreID_1, authorization_1, analyticsCustomEventTimeSeriesRequestBody_1, ...args_1], void 0, function* (xStoreID, authorization, analyticsCustomEventTimeSeriesRequestBody, options = {}) {
|
|
21149
|
+
// verify required parameter 'xStoreID' is not null or undefined
|
|
21150
|
+
(0, common_1.assertParamExists)('adminAnalyticsStoreXStoreIDCustomEventsAnalyticsTimeSeriesPost', 'xStoreID', xStoreID);
|
|
21151
|
+
// verify required parameter 'authorization' is not null or undefined
|
|
21152
|
+
(0, common_1.assertParamExists)('adminAnalyticsStoreXStoreIDCustomEventsAnalyticsTimeSeriesPost', 'authorization', authorization);
|
|
21153
|
+
// verify required parameter 'analyticsCustomEventTimeSeriesRequestBody' is not null or undefined
|
|
21154
|
+
(0, common_1.assertParamExists)('adminAnalyticsStoreXStoreIDCustomEventsAnalyticsTimeSeriesPost', 'analyticsCustomEventTimeSeriesRequestBody', analyticsCustomEventTimeSeriesRequestBody);
|
|
21155
|
+
const localVarPath = `/admin/analytics/store/{xStoreID}/custom-events/analytics/time-series`
|
|
21156
|
+
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
|
|
21157
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
21158
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21159
|
+
let baseOptions;
|
|
21160
|
+
if (configuration) {
|
|
21161
|
+
baseOptions = configuration.baseOptions;
|
|
21162
|
+
}
|
|
21163
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
21164
|
+
const localVarHeaderParameter = {};
|
|
21165
|
+
const localVarQueryParameter = {};
|
|
21166
|
+
// authentication BearerAuth required
|
|
21167
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
21168
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
21169
|
+
if (authorization != null) {
|
|
21170
|
+
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
21171
|
+
}
|
|
21172
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
21173
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21174
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
21175
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(analyticsCustomEventTimeSeriesRequestBody, localVarRequestOptions, configuration);
|
|
21176
|
+
return {
|
|
21177
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
21178
|
+
options: localVarRequestOptions,
|
|
21179
|
+
};
|
|
21180
|
+
}),
|
|
21181
|
+
/**
|
|
21182
|
+
* Returns the top custom events by count or unique users
|
|
21183
|
+
* @summary Get Top Custom Events
|
|
21184
|
+
* @param {string} xStoreID Store ID
|
|
21185
|
+
* @param {string} authorization Bearer JWT token
|
|
21186
|
+
* @param {AnalyticsTopCustomEventsRequestBody} analyticsTopCustomEventsRequestBody Top events request
|
|
21187
|
+
* @param {*} [options] Override http request option.
|
|
21188
|
+
* @throws {RequiredError}
|
|
21189
|
+
*/
|
|
21190
|
+
adminAnalyticsStoreXStoreIDCustomEventsAnalyticsTopEventsPost: (xStoreID_1, authorization_1, analyticsTopCustomEventsRequestBody_1, ...args_1) => __awaiter(this, [xStoreID_1, authorization_1, analyticsTopCustomEventsRequestBody_1, ...args_1], void 0, function* (xStoreID, authorization, analyticsTopCustomEventsRequestBody, options = {}) {
|
|
21191
|
+
// verify required parameter 'xStoreID' is not null or undefined
|
|
21192
|
+
(0, common_1.assertParamExists)('adminAnalyticsStoreXStoreIDCustomEventsAnalyticsTopEventsPost', 'xStoreID', xStoreID);
|
|
21193
|
+
// verify required parameter 'authorization' is not null or undefined
|
|
21194
|
+
(0, common_1.assertParamExists)('adminAnalyticsStoreXStoreIDCustomEventsAnalyticsTopEventsPost', 'authorization', authorization);
|
|
21195
|
+
// verify required parameter 'analyticsTopCustomEventsRequestBody' is not null or undefined
|
|
21196
|
+
(0, common_1.assertParamExists)('adminAnalyticsStoreXStoreIDCustomEventsAnalyticsTopEventsPost', 'analyticsTopCustomEventsRequestBody', analyticsTopCustomEventsRequestBody);
|
|
21197
|
+
const localVarPath = `/admin/analytics/store/{xStoreID}/custom-events/analytics/top-events`
|
|
21198
|
+
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
|
|
21199
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
21200
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21201
|
+
let baseOptions;
|
|
21202
|
+
if (configuration) {
|
|
21203
|
+
baseOptions = configuration.baseOptions;
|
|
21204
|
+
}
|
|
21205
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
21206
|
+
const localVarHeaderParameter = {};
|
|
21207
|
+
const localVarQueryParameter = {};
|
|
21208
|
+
// authentication BearerAuth required
|
|
21209
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
21210
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
21211
|
+
if (authorization != null) {
|
|
21212
|
+
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
21213
|
+
}
|
|
21214
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
21215
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21216
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
21217
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(analyticsTopCustomEventsRequestBody, localVarRequestOptions, configuration);
|
|
21218
|
+
return {
|
|
21219
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
21220
|
+
options: localVarRequestOptions,
|
|
21221
|
+
};
|
|
21222
|
+
}),
|
|
21223
|
+
};
|
|
21224
|
+
};
|
|
21225
|
+
exports.CustomEventsAnalyticsApiAxiosParamCreator = CustomEventsAnalyticsApiAxiosParamCreator;
|
|
21226
|
+
/**
|
|
21227
|
+
* CustomEventsAnalyticsApi - functional programming interface
|
|
21228
|
+
* @export
|
|
21229
|
+
*/
|
|
21230
|
+
const CustomEventsAnalyticsApiFp = function (configuration) {
|
|
21231
|
+
const localVarAxiosParamCreator = (0, exports.CustomEventsAnalyticsApiAxiosParamCreator)(configuration);
|
|
21232
|
+
return {
|
|
21233
|
+
/**
|
|
21234
|
+
* Returns a breakdown of values for a specific field slot of a custom event
|
|
21235
|
+
* @summary Get Custom Event Field Breakdown
|
|
21236
|
+
* @param {string} xStoreID Store ID
|
|
21237
|
+
* @param {string} authorization Bearer JWT token
|
|
21238
|
+
* @param {AnalyticsCustomEventFieldBreakdownRequestBody} analyticsCustomEventFieldBreakdownRequestBody Field breakdown request
|
|
21239
|
+
* @param {*} [options] Override http request option.
|
|
21240
|
+
* @throws {RequiredError}
|
|
21241
|
+
*/
|
|
21242
|
+
adminAnalyticsStoreXStoreIDCustomEventsAnalyticsFieldBreakdownPost(xStoreID, authorization, analyticsCustomEventFieldBreakdownRequestBody, options) {
|
|
21243
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
21244
|
+
var _a, _b, _c;
|
|
21245
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminAnalyticsStoreXStoreIDCustomEventsAnalyticsFieldBreakdownPost(xStoreID, authorization, analyticsCustomEventFieldBreakdownRequestBody, options);
|
|
21246
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
21247
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CustomEventsAnalyticsApi.adminAnalyticsStoreXStoreIDCustomEventsAnalyticsFieldBreakdownPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
21248
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
21249
|
+
});
|
|
21250
|
+
},
|
|
21251
|
+
/**
|
|
21252
|
+
* Returns aggregated custom event metrics including total events, unique users, unique sessions, and unique event types
|
|
21253
|
+
* @summary Get Custom Event Metrics
|
|
21254
|
+
* @param {string} xStoreID Store ID
|
|
21255
|
+
* @param {string} authorization Bearer JWT token
|
|
21256
|
+
* @param {AnalyticsCustomEventMetricsRequestBody} analyticsCustomEventMetricsRequestBody Custom event metrics request
|
|
21257
|
+
* @param {*} [options] Override http request option.
|
|
21258
|
+
* @throws {RequiredError}
|
|
21259
|
+
*/
|
|
21260
|
+
adminAnalyticsStoreXStoreIDCustomEventsAnalyticsMetricsPost(xStoreID, authorization, analyticsCustomEventMetricsRequestBody, options) {
|
|
21261
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
21262
|
+
var _a, _b, _c;
|
|
21263
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminAnalyticsStoreXStoreIDCustomEventsAnalyticsMetricsPost(xStoreID, authorization, analyticsCustomEventMetricsRequestBody, options);
|
|
21264
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
21265
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CustomEventsAnalyticsApi.adminAnalyticsStoreXStoreIDCustomEventsAnalyticsMetricsPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
21266
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
21267
|
+
});
|
|
21268
|
+
},
|
|
21269
|
+
/**
|
|
21270
|
+
* Returns paginated raw custom events with field data
|
|
21271
|
+
* @summary Get Custom Event Stream
|
|
21272
|
+
* @param {string} xStoreID Store ID
|
|
21273
|
+
* @param {string} authorization Bearer JWT token
|
|
21274
|
+
* @param {AnalyticsCustomEventStreamRequestBody} analyticsCustomEventStreamRequestBody Event stream request
|
|
21275
|
+
* @param {*} [options] Override http request option.
|
|
21276
|
+
* @throws {RequiredError}
|
|
21277
|
+
*/
|
|
21278
|
+
adminAnalyticsStoreXStoreIDCustomEventsAnalyticsStreamPost(xStoreID, authorization, analyticsCustomEventStreamRequestBody, options) {
|
|
21279
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
21280
|
+
var _a, _b, _c;
|
|
21281
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminAnalyticsStoreXStoreIDCustomEventsAnalyticsStreamPost(xStoreID, authorization, analyticsCustomEventStreamRequestBody, options);
|
|
21282
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
21283
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CustomEventsAnalyticsApi.adminAnalyticsStoreXStoreIDCustomEventsAnalyticsStreamPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
21284
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
21285
|
+
});
|
|
21286
|
+
},
|
|
21287
|
+
/**
|
|
21288
|
+
* Returns time series data for custom events grouped by event name and time bucket
|
|
21289
|
+
* @summary Get Custom Event Time Series
|
|
21290
|
+
* @param {string} xStoreID Store ID
|
|
21291
|
+
* @param {string} authorization Bearer JWT token
|
|
21292
|
+
* @param {AnalyticsCustomEventTimeSeriesRequestBody} analyticsCustomEventTimeSeriesRequestBody Time series request
|
|
21293
|
+
* @param {*} [options] Override http request option.
|
|
21294
|
+
* @throws {RequiredError}
|
|
21295
|
+
*/
|
|
21296
|
+
adminAnalyticsStoreXStoreIDCustomEventsAnalyticsTimeSeriesPost(xStoreID, authorization, analyticsCustomEventTimeSeriesRequestBody, options) {
|
|
21297
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
21298
|
+
var _a, _b, _c;
|
|
21299
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminAnalyticsStoreXStoreIDCustomEventsAnalyticsTimeSeriesPost(xStoreID, authorization, analyticsCustomEventTimeSeriesRequestBody, options);
|
|
21300
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
21301
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CustomEventsAnalyticsApi.adminAnalyticsStoreXStoreIDCustomEventsAnalyticsTimeSeriesPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
21302
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
21303
|
+
});
|
|
21304
|
+
},
|
|
21305
|
+
/**
|
|
21306
|
+
* Returns the top custom events by count or unique users
|
|
21307
|
+
* @summary Get Top Custom Events
|
|
21308
|
+
* @param {string} xStoreID Store ID
|
|
21309
|
+
* @param {string} authorization Bearer JWT token
|
|
21310
|
+
* @param {AnalyticsTopCustomEventsRequestBody} analyticsTopCustomEventsRequestBody Top events request
|
|
21311
|
+
* @param {*} [options] Override http request option.
|
|
21312
|
+
* @throws {RequiredError}
|
|
21313
|
+
*/
|
|
21314
|
+
adminAnalyticsStoreXStoreIDCustomEventsAnalyticsTopEventsPost(xStoreID, authorization, analyticsTopCustomEventsRequestBody, options) {
|
|
21315
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
21316
|
+
var _a, _b, _c;
|
|
21317
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminAnalyticsStoreXStoreIDCustomEventsAnalyticsTopEventsPost(xStoreID, authorization, analyticsTopCustomEventsRequestBody, options);
|
|
21318
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
21319
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CustomEventsAnalyticsApi.adminAnalyticsStoreXStoreIDCustomEventsAnalyticsTopEventsPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
21320
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
21321
|
+
});
|
|
21322
|
+
},
|
|
21323
|
+
};
|
|
21324
|
+
};
|
|
21325
|
+
exports.CustomEventsAnalyticsApiFp = CustomEventsAnalyticsApiFp;
|
|
21326
|
+
/**
|
|
21327
|
+
* CustomEventsAnalyticsApi - factory interface
|
|
21328
|
+
* @export
|
|
21329
|
+
*/
|
|
21330
|
+
const CustomEventsAnalyticsApiFactory = function (configuration, basePath, axios) {
|
|
21331
|
+
const localVarFp = (0, exports.CustomEventsAnalyticsApiFp)(configuration);
|
|
21332
|
+
return {
|
|
21333
|
+
/**
|
|
21334
|
+
* Returns a breakdown of values for a specific field slot of a custom event
|
|
21335
|
+
* @summary Get Custom Event Field Breakdown
|
|
21336
|
+
* @param {string} xStoreID Store ID
|
|
21337
|
+
* @param {string} authorization Bearer JWT token
|
|
21338
|
+
* @param {AnalyticsCustomEventFieldBreakdownRequestBody} analyticsCustomEventFieldBreakdownRequestBody Field breakdown request
|
|
21339
|
+
* @param {*} [options] Override http request option.
|
|
21340
|
+
* @throws {RequiredError}
|
|
21341
|
+
*/
|
|
21342
|
+
adminAnalyticsStoreXStoreIDCustomEventsAnalyticsFieldBreakdownPost(xStoreID, authorization, analyticsCustomEventFieldBreakdownRequestBody, options) {
|
|
21343
|
+
return localVarFp.adminAnalyticsStoreXStoreIDCustomEventsAnalyticsFieldBreakdownPost(xStoreID, authorization, analyticsCustomEventFieldBreakdownRequestBody, options).then((request) => request(axios, basePath));
|
|
21344
|
+
},
|
|
21345
|
+
/**
|
|
21346
|
+
* Returns aggregated custom event metrics including total events, unique users, unique sessions, and unique event types
|
|
21347
|
+
* @summary Get Custom Event Metrics
|
|
21348
|
+
* @param {string} xStoreID Store ID
|
|
21349
|
+
* @param {string} authorization Bearer JWT token
|
|
21350
|
+
* @param {AnalyticsCustomEventMetricsRequestBody} analyticsCustomEventMetricsRequestBody Custom event metrics request
|
|
21351
|
+
* @param {*} [options] Override http request option.
|
|
21352
|
+
* @throws {RequiredError}
|
|
21353
|
+
*/
|
|
21354
|
+
adminAnalyticsStoreXStoreIDCustomEventsAnalyticsMetricsPost(xStoreID, authorization, analyticsCustomEventMetricsRequestBody, options) {
|
|
21355
|
+
return localVarFp.adminAnalyticsStoreXStoreIDCustomEventsAnalyticsMetricsPost(xStoreID, authorization, analyticsCustomEventMetricsRequestBody, options).then((request) => request(axios, basePath));
|
|
21356
|
+
},
|
|
21357
|
+
/**
|
|
21358
|
+
* Returns paginated raw custom events with field data
|
|
21359
|
+
* @summary Get Custom Event Stream
|
|
21360
|
+
* @param {string} xStoreID Store ID
|
|
21361
|
+
* @param {string} authorization Bearer JWT token
|
|
21362
|
+
* @param {AnalyticsCustomEventStreamRequestBody} analyticsCustomEventStreamRequestBody Event stream request
|
|
21363
|
+
* @param {*} [options] Override http request option.
|
|
21364
|
+
* @throws {RequiredError}
|
|
21365
|
+
*/
|
|
21366
|
+
adminAnalyticsStoreXStoreIDCustomEventsAnalyticsStreamPost(xStoreID, authorization, analyticsCustomEventStreamRequestBody, options) {
|
|
21367
|
+
return localVarFp.adminAnalyticsStoreXStoreIDCustomEventsAnalyticsStreamPost(xStoreID, authorization, analyticsCustomEventStreamRequestBody, options).then((request) => request(axios, basePath));
|
|
21368
|
+
},
|
|
21369
|
+
/**
|
|
21370
|
+
* Returns time series data for custom events grouped by event name and time bucket
|
|
21371
|
+
* @summary Get Custom Event Time Series
|
|
21372
|
+
* @param {string} xStoreID Store ID
|
|
21373
|
+
* @param {string} authorization Bearer JWT token
|
|
21374
|
+
* @param {AnalyticsCustomEventTimeSeriesRequestBody} analyticsCustomEventTimeSeriesRequestBody Time series request
|
|
21375
|
+
* @param {*} [options] Override http request option.
|
|
21376
|
+
* @throws {RequiredError}
|
|
21377
|
+
*/
|
|
21378
|
+
adminAnalyticsStoreXStoreIDCustomEventsAnalyticsTimeSeriesPost(xStoreID, authorization, analyticsCustomEventTimeSeriesRequestBody, options) {
|
|
21379
|
+
return localVarFp.adminAnalyticsStoreXStoreIDCustomEventsAnalyticsTimeSeriesPost(xStoreID, authorization, analyticsCustomEventTimeSeriesRequestBody, options).then((request) => request(axios, basePath));
|
|
21380
|
+
},
|
|
21381
|
+
/**
|
|
21382
|
+
* Returns the top custom events by count or unique users
|
|
21383
|
+
* @summary Get Top Custom Events
|
|
21384
|
+
* @param {string} xStoreID Store ID
|
|
21385
|
+
* @param {string} authorization Bearer JWT token
|
|
21386
|
+
* @param {AnalyticsTopCustomEventsRequestBody} analyticsTopCustomEventsRequestBody Top events request
|
|
21387
|
+
* @param {*} [options] Override http request option.
|
|
21388
|
+
* @throws {RequiredError}
|
|
21389
|
+
*/
|
|
21390
|
+
adminAnalyticsStoreXStoreIDCustomEventsAnalyticsTopEventsPost(xStoreID, authorization, analyticsTopCustomEventsRequestBody, options) {
|
|
21391
|
+
return localVarFp.adminAnalyticsStoreXStoreIDCustomEventsAnalyticsTopEventsPost(xStoreID, authorization, analyticsTopCustomEventsRequestBody, options).then((request) => request(axios, basePath));
|
|
21392
|
+
},
|
|
21393
|
+
};
|
|
21394
|
+
};
|
|
21395
|
+
exports.CustomEventsAnalyticsApiFactory = CustomEventsAnalyticsApiFactory;
|
|
21396
|
+
/**
|
|
21397
|
+
* CustomEventsAnalyticsApi - object-oriented interface
|
|
21398
|
+
* @export
|
|
21399
|
+
* @class CustomEventsAnalyticsApi
|
|
21400
|
+
* @extends {BaseAPI}
|
|
21401
|
+
*/
|
|
21402
|
+
class CustomEventsAnalyticsApi extends base_1.BaseAPI {
|
|
21403
|
+
/**
|
|
21404
|
+
* Returns a breakdown of values for a specific field slot of a custom event
|
|
21405
|
+
* @summary Get Custom Event Field Breakdown
|
|
21406
|
+
* @param {string} xStoreID Store ID
|
|
21407
|
+
* @param {string} authorization Bearer JWT token
|
|
21408
|
+
* @param {AnalyticsCustomEventFieldBreakdownRequestBody} analyticsCustomEventFieldBreakdownRequestBody Field breakdown request
|
|
21409
|
+
* @param {*} [options] Override http request option.
|
|
21410
|
+
* @throws {RequiredError}
|
|
21411
|
+
* @memberof CustomEventsAnalyticsApi
|
|
21412
|
+
*/
|
|
21413
|
+
adminAnalyticsStoreXStoreIDCustomEventsAnalyticsFieldBreakdownPost(xStoreID, authorization, analyticsCustomEventFieldBreakdownRequestBody, options) {
|
|
21414
|
+
return (0, exports.CustomEventsAnalyticsApiFp)(this.configuration).adminAnalyticsStoreXStoreIDCustomEventsAnalyticsFieldBreakdownPost(xStoreID, authorization, analyticsCustomEventFieldBreakdownRequestBody, options).then((request) => request(this.axios, this.basePath));
|
|
21415
|
+
}
|
|
21416
|
+
/**
|
|
21417
|
+
* Returns aggregated custom event metrics including total events, unique users, unique sessions, and unique event types
|
|
21418
|
+
* @summary Get Custom Event Metrics
|
|
21419
|
+
* @param {string} xStoreID Store ID
|
|
21420
|
+
* @param {string} authorization Bearer JWT token
|
|
21421
|
+
* @param {AnalyticsCustomEventMetricsRequestBody} analyticsCustomEventMetricsRequestBody Custom event metrics request
|
|
21422
|
+
* @param {*} [options] Override http request option.
|
|
21423
|
+
* @throws {RequiredError}
|
|
21424
|
+
* @memberof CustomEventsAnalyticsApi
|
|
21425
|
+
*/
|
|
21426
|
+
adminAnalyticsStoreXStoreIDCustomEventsAnalyticsMetricsPost(xStoreID, authorization, analyticsCustomEventMetricsRequestBody, options) {
|
|
21427
|
+
return (0, exports.CustomEventsAnalyticsApiFp)(this.configuration).adminAnalyticsStoreXStoreIDCustomEventsAnalyticsMetricsPost(xStoreID, authorization, analyticsCustomEventMetricsRequestBody, options).then((request) => request(this.axios, this.basePath));
|
|
21428
|
+
}
|
|
21429
|
+
/**
|
|
21430
|
+
* Returns paginated raw custom events with field data
|
|
21431
|
+
* @summary Get Custom Event Stream
|
|
21432
|
+
* @param {string} xStoreID Store ID
|
|
21433
|
+
* @param {string} authorization Bearer JWT token
|
|
21434
|
+
* @param {AnalyticsCustomEventStreamRequestBody} analyticsCustomEventStreamRequestBody Event stream request
|
|
21435
|
+
* @param {*} [options] Override http request option.
|
|
21436
|
+
* @throws {RequiredError}
|
|
21437
|
+
* @memberof CustomEventsAnalyticsApi
|
|
21438
|
+
*/
|
|
21439
|
+
adminAnalyticsStoreXStoreIDCustomEventsAnalyticsStreamPost(xStoreID, authorization, analyticsCustomEventStreamRequestBody, options) {
|
|
21440
|
+
return (0, exports.CustomEventsAnalyticsApiFp)(this.configuration).adminAnalyticsStoreXStoreIDCustomEventsAnalyticsStreamPost(xStoreID, authorization, analyticsCustomEventStreamRequestBody, options).then((request) => request(this.axios, this.basePath));
|
|
21441
|
+
}
|
|
21442
|
+
/**
|
|
21443
|
+
* Returns time series data for custom events grouped by event name and time bucket
|
|
21444
|
+
* @summary Get Custom Event Time Series
|
|
21445
|
+
* @param {string} xStoreID Store ID
|
|
21446
|
+
* @param {string} authorization Bearer JWT token
|
|
21447
|
+
* @param {AnalyticsCustomEventTimeSeriesRequestBody} analyticsCustomEventTimeSeriesRequestBody Time series request
|
|
21448
|
+
* @param {*} [options] Override http request option.
|
|
21449
|
+
* @throws {RequiredError}
|
|
21450
|
+
* @memberof CustomEventsAnalyticsApi
|
|
21451
|
+
*/
|
|
21452
|
+
adminAnalyticsStoreXStoreIDCustomEventsAnalyticsTimeSeriesPost(xStoreID, authorization, analyticsCustomEventTimeSeriesRequestBody, options) {
|
|
21453
|
+
return (0, exports.CustomEventsAnalyticsApiFp)(this.configuration).adminAnalyticsStoreXStoreIDCustomEventsAnalyticsTimeSeriesPost(xStoreID, authorization, analyticsCustomEventTimeSeriesRequestBody, options).then((request) => request(this.axios, this.basePath));
|
|
21454
|
+
}
|
|
21455
|
+
/**
|
|
21456
|
+
* Returns the top custom events by count or unique users
|
|
21457
|
+
* @summary Get Top Custom Events
|
|
21458
|
+
* @param {string} xStoreID Store ID
|
|
21459
|
+
* @param {string} authorization Bearer JWT token
|
|
21460
|
+
* @param {AnalyticsTopCustomEventsRequestBody} analyticsTopCustomEventsRequestBody Top events request
|
|
21461
|
+
* @param {*} [options] Override http request option.
|
|
21462
|
+
* @throws {RequiredError}
|
|
21463
|
+
* @memberof CustomEventsAnalyticsApi
|
|
21464
|
+
*/
|
|
21465
|
+
adminAnalyticsStoreXStoreIDCustomEventsAnalyticsTopEventsPost(xStoreID, authorization, analyticsTopCustomEventsRequestBody, options) {
|
|
21466
|
+
return (0, exports.CustomEventsAnalyticsApiFp)(this.configuration).adminAnalyticsStoreXStoreIDCustomEventsAnalyticsTopEventsPost(xStoreID, authorization, analyticsTopCustomEventsRequestBody, options).then((request) => request(this.axios, this.basePath));
|
|
21467
|
+
}
|
|
21468
|
+
}
|
|
21469
|
+
exports.CustomEventsAnalyticsApi = CustomEventsAnalyticsApi;
|
|
21007
21470
|
/**
|
|
21008
21471
|
* CustomStopwordsApi - axios parameter creator
|
|
21009
21472
|
* @export
|
|
@@ -23804,47 +24267,6 @@ const ExperimentsApiAxiosParamCreator = function (configuration) {
|
|
|
23804
24267
|
options: localVarRequestOptions,
|
|
23805
24268
|
};
|
|
23806
24269
|
}),
|
|
23807
|
-
/**
|
|
23808
|
-
* Returns variant assignments for all running experiments for the requesting user. Uses hash-based consistent assignment.
|
|
23809
|
-
* @summary Get experiment assignments for a user
|
|
23810
|
-
* @param {string} xStoreid Store ID
|
|
23811
|
-
* @param {string} [xUserId] User ID (provide either x-user-id or x-anon-id)
|
|
23812
|
-
* @param {string} [xAnonId] Anonymous ID (provide either x-user-id or x-anon-id)
|
|
23813
|
-
* @param {*} [options] Override http request option.
|
|
23814
|
-
* @throws {RequiredError}
|
|
23815
|
-
*/
|
|
23816
|
-
v1ExperimentsAssignmentGet: (xStoreid_1, xUserId_1, xAnonId_1, ...args_1) => __awaiter(this, [xStoreid_1, xUserId_1, xAnonId_1, ...args_1], void 0, function* (xStoreid, xUserId, xAnonId, options = {}) {
|
|
23817
|
-
// verify required parameter 'xStoreid' is not null or undefined
|
|
23818
|
-
(0, common_1.assertParamExists)('v1ExperimentsAssignmentGet', 'xStoreid', xStoreid);
|
|
23819
|
-
const localVarPath = `/v1/experiments/assignment`;
|
|
23820
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23821
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
23822
|
-
let baseOptions;
|
|
23823
|
-
if (configuration) {
|
|
23824
|
-
baseOptions = configuration.baseOptions;
|
|
23825
|
-
}
|
|
23826
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
23827
|
-
const localVarHeaderParameter = {};
|
|
23828
|
-
const localVarQueryParameter = {};
|
|
23829
|
-
// authentication ApiKeyAuth required
|
|
23830
|
-
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-storesecret", configuration);
|
|
23831
|
-
if (xStoreid != null) {
|
|
23832
|
-
localVarHeaderParameter['x-storeid'] = String(xStoreid);
|
|
23833
|
-
}
|
|
23834
|
-
if (xUserId != null) {
|
|
23835
|
-
localVarHeaderParameter['x-user-id'] = String(xUserId);
|
|
23836
|
-
}
|
|
23837
|
-
if (xAnonId != null) {
|
|
23838
|
-
localVarHeaderParameter['x-anon-id'] = String(xAnonId);
|
|
23839
|
-
}
|
|
23840
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
23841
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23842
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
23843
|
-
return {
|
|
23844
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
23845
|
-
options: localVarRequestOptions,
|
|
23846
|
-
};
|
|
23847
|
-
}),
|
|
23848
24270
|
};
|
|
23849
24271
|
};
|
|
23850
24272
|
exports.ExperimentsApiAxiosParamCreator = ExperimentsApiAxiosParamCreator;
|
|
@@ -24000,24 +24422,6 @@ const ExperimentsApiFp = function (configuration) {
|
|
|
24000
24422
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
24001
24423
|
});
|
|
24002
24424
|
},
|
|
24003
|
-
/**
|
|
24004
|
-
* Returns variant assignments for all running experiments for the requesting user. Uses hash-based consistent assignment.
|
|
24005
|
-
* @summary Get experiment assignments for a user
|
|
24006
|
-
* @param {string} xStoreid Store ID
|
|
24007
|
-
* @param {string} [xUserId] User ID (provide either x-user-id or x-anon-id)
|
|
24008
|
-
* @param {string} [xAnonId] Anonymous ID (provide either x-user-id or x-anon-id)
|
|
24009
|
-
* @param {*} [options] Override http request option.
|
|
24010
|
-
* @throws {RequiredError}
|
|
24011
|
-
*/
|
|
24012
|
-
v1ExperimentsAssignmentGet(xStoreid, xUserId, xAnonId, options) {
|
|
24013
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
24014
|
-
var _a, _b, _c;
|
|
24015
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1ExperimentsAssignmentGet(xStoreid, xUserId, xAnonId, options);
|
|
24016
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
24017
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ExperimentsApi.v1ExperimentsAssignmentGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
24018
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
24019
|
-
});
|
|
24020
|
-
},
|
|
24021
24425
|
};
|
|
24022
24426
|
};
|
|
24023
24427
|
exports.ExperimentsApiFp = ExperimentsApiFp;
|
|
@@ -24119,18 +24523,6 @@ const ExperimentsApiFactory = function (configuration, basePath, axios) {
|
|
|
24119
24523
|
v1AdminExperimentsPost(dataTypesCreateExperimentRequest, options) {
|
|
24120
24524
|
return localVarFp.v1AdminExperimentsPost(dataTypesCreateExperimentRequest, options).then((request) => request(axios, basePath));
|
|
24121
24525
|
},
|
|
24122
|
-
/**
|
|
24123
|
-
* Returns variant assignments for all running experiments for the requesting user. Uses hash-based consistent assignment.
|
|
24124
|
-
* @summary Get experiment assignments for a user
|
|
24125
|
-
* @param {string} xStoreid Store ID
|
|
24126
|
-
* @param {string} [xUserId] User ID (provide either x-user-id or x-anon-id)
|
|
24127
|
-
* @param {string} [xAnonId] Anonymous ID (provide either x-user-id or x-anon-id)
|
|
24128
|
-
* @param {*} [options] Override http request option.
|
|
24129
|
-
* @throws {RequiredError}
|
|
24130
|
-
*/
|
|
24131
|
-
v1ExperimentsAssignmentGet(xStoreid, xUserId, xAnonId, options) {
|
|
24132
|
-
return localVarFp.v1ExperimentsAssignmentGet(xStoreid, xUserId, xAnonId, options).then((request) => request(axios, basePath));
|
|
24133
|
-
},
|
|
24134
24526
|
};
|
|
24135
24527
|
};
|
|
24136
24528
|
exports.ExperimentsApiFactory = ExperimentsApiFactory;
|
|
@@ -24241,19 +24633,6 @@ class ExperimentsApi extends base_1.BaseAPI {
|
|
|
24241
24633
|
v1AdminExperimentsPost(dataTypesCreateExperimentRequest, options) {
|
|
24242
24634
|
return (0, exports.ExperimentsApiFp)(this.configuration).v1AdminExperimentsPost(dataTypesCreateExperimentRequest, options).then((request) => request(this.axios, this.basePath));
|
|
24243
24635
|
}
|
|
24244
|
-
/**
|
|
24245
|
-
* Returns variant assignments for all running experiments for the requesting user. Uses hash-based consistent assignment.
|
|
24246
|
-
* @summary Get experiment assignments for a user
|
|
24247
|
-
* @param {string} xStoreid Store ID
|
|
24248
|
-
* @param {string} [xUserId] User ID (provide either x-user-id or x-anon-id)
|
|
24249
|
-
* @param {string} [xAnonId] Anonymous ID (provide either x-user-id or x-anon-id)
|
|
24250
|
-
* @param {*} [options] Override http request option.
|
|
24251
|
-
* @throws {RequiredError}
|
|
24252
|
-
* @memberof ExperimentsApi
|
|
24253
|
-
*/
|
|
24254
|
-
v1ExperimentsAssignmentGet(xStoreid, xUserId, xAnonId, options) {
|
|
24255
|
-
return (0, exports.ExperimentsApiFp)(this.configuration).v1ExperimentsAssignmentGet(xStoreid, xUserId, xAnonId, options).then((request) => request(this.axios, this.basePath));
|
|
24256
|
-
}
|
|
24257
24636
|
}
|
|
24258
24637
|
exports.ExperimentsApi = ExperimentsApi;
|
|
24259
24638
|
/**
|
|
@@ -25239,6 +25618,521 @@ class FeatureLimitsAdminApi extends base_1.BaseAPI {
|
|
|
25239
25618
|
}
|
|
25240
25619
|
}
|
|
25241
25620
|
exports.FeatureLimitsAdminApi = FeatureLimitsAdminApi;
|
|
25621
|
+
/**
|
|
25622
|
+
* FiltersApi - axios parameter creator
|
|
25623
|
+
* @export
|
|
25624
|
+
*/
|
|
25625
|
+
const FiltersApiAxiosParamCreator = function (configuration) {
|
|
25626
|
+
return {
|
|
25627
|
+
/**
|
|
25628
|
+
* Search within a facet\'s values (admin-authenticated version)
|
|
25629
|
+
* @summary Admin Search Facet Values
|
|
25630
|
+
* @param {string} xStoreID X-Store ID
|
|
25631
|
+
* @param {string} facetName Facet field name
|
|
25632
|
+
* @param {DataTypesFacetValuesSearchRequest} dataTypesFacetValuesSearchRequest Facet search query
|
|
25633
|
+
* @param {*} [options] Override http request option.
|
|
25634
|
+
* @throws {RequiredError}
|
|
25635
|
+
*/
|
|
25636
|
+
adminV1FiltersXStoreIDFacetNameValuesPost: (xStoreID_1, facetName_1, dataTypesFacetValuesSearchRequest_1, ...args_1) => __awaiter(this, [xStoreID_1, facetName_1, dataTypesFacetValuesSearchRequest_1, ...args_1], void 0, function* (xStoreID, facetName, dataTypesFacetValuesSearchRequest, options = {}) {
|
|
25637
|
+
// verify required parameter 'xStoreID' is not null or undefined
|
|
25638
|
+
(0, common_1.assertParamExists)('adminV1FiltersXStoreIDFacetNameValuesPost', 'xStoreID', xStoreID);
|
|
25639
|
+
// verify required parameter 'facetName' is not null or undefined
|
|
25640
|
+
(0, common_1.assertParamExists)('adminV1FiltersXStoreIDFacetNameValuesPost', 'facetName', facetName);
|
|
25641
|
+
// verify required parameter 'dataTypesFacetValuesSearchRequest' is not null or undefined
|
|
25642
|
+
(0, common_1.assertParamExists)('adminV1FiltersXStoreIDFacetNameValuesPost', 'dataTypesFacetValuesSearchRequest', dataTypesFacetValuesSearchRequest);
|
|
25643
|
+
const localVarPath = `/admin/v1/filters/{xStoreID}/{facetName}/values`
|
|
25644
|
+
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)))
|
|
25645
|
+
.replace(`{${"facetName"}}`, encodeURIComponent(String(facetName)));
|
|
25646
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
25647
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
25648
|
+
let baseOptions;
|
|
25649
|
+
if (configuration) {
|
|
25650
|
+
baseOptions = configuration.baseOptions;
|
|
25651
|
+
}
|
|
25652
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
25653
|
+
const localVarHeaderParameter = {};
|
|
25654
|
+
const localVarQueryParameter = {};
|
|
25655
|
+
// authentication BearerAuth required
|
|
25656
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
25657
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
25658
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
25659
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25660
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
25661
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dataTypesFacetValuesSearchRequest, localVarRequestOptions, configuration);
|
|
25662
|
+
return {
|
|
25663
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
25664
|
+
options: localVarRequestOptions,
|
|
25665
|
+
};
|
|
25666
|
+
}),
|
|
25667
|
+
/**
|
|
25668
|
+
* Get filter values and counts (admin-authenticated version)
|
|
25669
|
+
* @summary Admin Get Filters
|
|
25670
|
+
* @param {string} xStoreID X-Store ID
|
|
25671
|
+
* @param {DataTypesFiltersRequest} [dataTypesFiltersRequest] Filter options
|
|
25672
|
+
* @param {*} [options] Override http request option.
|
|
25673
|
+
* @throws {RequiredError}
|
|
25674
|
+
*/
|
|
25675
|
+
adminV1FiltersXStoreIDPost: (xStoreID_1, dataTypesFiltersRequest_1, ...args_1) => __awaiter(this, [xStoreID_1, dataTypesFiltersRequest_1, ...args_1], void 0, function* (xStoreID, dataTypesFiltersRequest, options = {}) {
|
|
25676
|
+
// verify required parameter 'xStoreID' is not null or undefined
|
|
25677
|
+
(0, common_1.assertParamExists)('adminV1FiltersXStoreIDPost', 'xStoreID', xStoreID);
|
|
25678
|
+
const localVarPath = `/admin/v1/filters/{xStoreID}`
|
|
25679
|
+
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
|
|
25680
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
25681
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
25682
|
+
let baseOptions;
|
|
25683
|
+
if (configuration) {
|
|
25684
|
+
baseOptions = configuration.baseOptions;
|
|
25685
|
+
}
|
|
25686
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
25687
|
+
const localVarHeaderParameter = {};
|
|
25688
|
+
const localVarQueryParameter = {};
|
|
25689
|
+
// authentication BearerAuth required
|
|
25690
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
25691
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
25692
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
25693
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25694
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
25695
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dataTypesFiltersRequest, localVarRequestOptions, configuration);
|
|
25696
|
+
return {
|
|
25697
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
25698
|
+
options: localVarRequestOptions,
|
|
25699
|
+
};
|
|
25700
|
+
}),
|
|
25701
|
+
/**
|
|
25702
|
+
* Get filter field metadata (admin-authenticated version)
|
|
25703
|
+
* @summary Admin Get Filters Schema
|
|
25704
|
+
* @param {string} xStoreID X-Store ID
|
|
25705
|
+
* @param {*} [options] Override http request option.
|
|
25706
|
+
* @throws {RequiredError}
|
|
25707
|
+
*/
|
|
25708
|
+
adminV1FiltersXStoreIDSchemaGet: (xStoreID_1, ...args_1) => __awaiter(this, [xStoreID_1, ...args_1], void 0, function* (xStoreID, options = {}) {
|
|
25709
|
+
// verify required parameter 'xStoreID' is not null or undefined
|
|
25710
|
+
(0, common_1.assertParamExists)('adminV1FiltersXStoreIDSchemaGet', 'xStoreID', xStoreID);
|
|
25711
|
+
const localVarPath = `/admin/v1/filters/{xStoreID}/schema`
|
|
25712
|
+
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
|
|
25713
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
25714
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
25715
|
+
let baseOptions;
|
|
25716
|
+
if (configuration) {
|
|
25717
|
+
baseOptions = configuration.baseOptions;
|
|
25718
|
+
}
|
|
25719
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
25720
|
+
const localVarHeaderParameter = {};
|
|
25721
|
+
const localVarQueryParameter = {};
|
|
25722
|
+
// authentication BearerAuth required
|
|
25723
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
25724
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
25725
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25726
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
25727
|
+
return {
|
|
25728
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
25729
|
+
options: localVarRequestOptions,
|
|
25730
|
+
};
|
|
25731
|
+
}),
|
|
25732
|
+
/**
|
|
25733
|
+
* Search or autocomplete within a single facet\'s values. Useful for facets with many values (e.g., brands) where you need typeahead search.
|
|
25734
|
+
* @summary Search Facet Values
|
|
25735
|
+
* @param {string} xStoreid Store ID (from dashboard)
|
|
25736
|
+
* @param {string} xStoresecret Store read secret (from dashboard)
|
|
25737
|
+
* @param {string} facetName Facet field name (e.g., brand, category)
|
|
25738
|
+
* @param {DataTypesFacetValuesSearchRequest} dataTypesFacetValuesSearchRequest Facet search query
|
|
25739
|
+
* @param {*} [options] Override http request option.
|
|
25740
|
+
* @throws {RequiredError}
|
|
25741
|
+
*/
|
|
25742
|
+
v1FiltersFacetNameValuesPost: (xStoreid_1, xStoresecret_1, facetName_1, dataTypesFacetValuesSearchRequest_1, ...args_1) => __awaiter(this, [xStoreid_1, xStoresecret_1, facetName_1, dataTypesFacetValuesSearchRequest_1, ...args_1], void 0, function* (xStoreid, xStoresecret, facetName, dataTypesFacetValuesSearchRequest, options = {}) {
|
|
25743
|
+
// verify required parameter 'xStoreid' is not null or undefined
|
|
25744
|
+
(0, common_1.assertParamExists)('v1FiltersFacetNameValuesPost', 'xStoreid', xStoreid);
|
|
25745
|
+
// verify required parameter 'xStoresecret' is not null or undefined
|
|
25746
|
+
(0, common_1.assertParamExists)('v1FiltersFacetNameValuesPost', 'xStoresecret', xStoresecret);
|
|
25747
|
+
// verify required parameter 'facetName' is not null or undefined
|
|
25748
|
+
(0, common_1.assertParamExists)('v1FiltersFacetNameValuesPost', 'facetName', facetName);
|
|
25749
|
+
// verify required parameter 'dataTypesFacetValuesSearchRequest' is not null or undefined
|
|
25750
|
+
(0, common_1.assertParamExists)('v1FiltersFacetNameValuesPost', 'dataTypesFacetValuesSearchRequest', dataTypesFacetValuesSearchRequest);
|
|
25751
|
+
const localVarPath = `/v1/filters/{facetName}/values`
|
|
25752
|
+
.replace(`{${"facetName"}}`, encodeURIComponent(String(facetName)));
|
|
25753
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
25754
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
25755
|
+
let baseOptions;
|
|
25756
|
+
if (configuration) {
|
|
25757
|
+
baseOptions = configuration.baseOptions;
|
|
25758
|
+
}
|
|
25759
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
25760
|
+
const localVarHeaderParameter = {};
|
|
25761
|
+
const localVarQueryParameter = {};
|
|
25762
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
25763
|
+
if (xStoreid != null) {
|
|
25764
|
+
localVarHeaderParameter['x-storeid'] = String(xStoreid);
|
|
25765
|
+
}
|
|
25766
|
+
if (xStoresecret != null) {
|
|
25767
|
+
localVarHeaderParameter['x-storesecret'] = String(xStoresecret);
|
|
25768
|
+
}
|
|
25769
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
25770
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25771
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
25772
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dataTypesFacetValuesSearchRequest, localVarRequestOptions, configuration);
|
|
25773
|
+
return {
|
|
25774
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
25775
|
+
options: localVarRequestOptions,
|
|
25776
|
+
};
|
|
25777
|
+
}),
|
|
25778
|
+
/**
|
|
25779
|
+
* Get filter values and counts for configured facets. Use this to build faceted navigation UIs. Supports disjunctive faceting for OR-based filter combinations.
|
|
25780
|
+
* @summary Get Filters
|
|
25781
|
+
* @param {string} xStoreid Store ID (from dashboard)
|
|
25782
|
+
* @param {string} xStoresecret Store read secret (from dashboard)
|
|
25783
|
+
* @param {DataTypesFiltersRequest} [dataTypesFiltersRequest] Filter options
|
|
25784
|
+
* @param {*} [options] Override http request option.
|
|
25785
|
+
* @throws {RequiredError}
|
|
25786
|
+
*/
|
|
25787
|
+
v1FiltersPost: (xStoreid_1, xStoresecret_1, dataTypesFiltersRequest_1, ...args_1) => __awaiter(this, [xStoreid_1, xStoresecret_1, dataTypesFiltersRequest_1, ...args_1], void 0, function* (xStoreid, xStoresecret, dataTypesFiltersRequest, options = {}) {
|
|
25788
|
+
// verify required parameter 'xStoreid' is not null or undefined
|
|
25789
|
+
(0, common_1.assertParamExists)('v1FiltersPost', 'xStoreid', xStoreid);
|
|
25790
|
+
// verify required parameter 'xStoresecret' is not null or undefined
|
|
25791
|
+
(0, common_1.assertParamExists)('v1FiltersPost', 'xStoresecret', xStoresecret);
|
|
25792
|
+
const localVarPath = `/v1/filters`;
|
|
25793
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
25794
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
25795
|
+
let baseOptions;
|
|
25796
|
+
if (configuration) {
|
|
25797
|
+
baseOptions = configuration.baseOptions;
|
|
25798
|
+
}
|
|
25799
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
25800
|
+
const localVarHeaderParameter = {};
|
|
25801
|
+
const localVarQueryParameter = {};
|
|
25802
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
25803
|
+
if (xStoreid != null) {
|
|
25804
|
+
localVarHeaderParameter['x-storeid'] = String(xStoreid);
|
|
25805
|
+
}
|
|
25806
|
+
if (xStoresecret != null) {
|
|
25807
|
+
localVarHeaderParameter['x-storesecret'] = String(xStoresecret);
|
|
25808
|
+
}
|
|
25809
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
25810
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25811
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
25812
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dataTypesFiltersRequest, localVarRequestOptions, configuration);
|
|
25813
|
+
return {
|
|
25814
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
25815
|
+
options: localVarRequestOptions,
|
|
25816
|
+
};
|
|
25817
|
+
}),
|
|
25818
|
+
/**
|
|
25819
|
+
* Get available filter field metadata including types, sortability, and configured ranges. Useful for dynamically building filter UIs.
|
|
25820
|
+
* @summary Get Filters Schema
|
|
25821
|
+
* @param {string} xStoreid Store ID (from dashboard)
|
|
25822
|
+
* @param {string} xStoresecret Store read secret (from dashboard)
|
|
25823
|
+
* @param {*} [options] Override http request option.
|
|
25824
|
+
* @throws {RequiredError}
|
|
25825
|
+
*/
|
|
25826
|
+
v1FiltersSchemaGet: (xStoreid_1, xStoresecret_1, ...args_1) => __awaiter(this, [xStoreid_1, xStoresecret_1, ...args_1], void 0, function* (xStoreid, xStoresecret, options = {}) {
|
|
25827
|
+
// verify required parameter 'xStoreid' is not null or undefined
|
|
25828
|
+
(0, common_1.assertParamExists)('v1FiltersSchemaGet', 'xStoreid', xStoreid);
|
|
25829
|
+
// verify required parameter 'xStoresecret' is not null or undefined
|
|
25830
|
+
(0, common_1.assertParamExists)('v1FiltersSchemaGet', 'xStoresecret', xStoresecret);
|
|
25831
|
+
const localVarPath = `/v1/filters/schema`;
|
|
25832
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
25833
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
25834
|
+
let baseOptions;
|
|
25835
|
+
if (configuration) {
|
|
25836
|
+
baseOptions = configuration.baseOptions;
|
|
25837
|
+
}
|
|
25838
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
25839
|
+
const localVarHeaderParameter = {};
|
|
25840
|
+
const localVarQueryParameter = {};
|
|
25841
|
+
if (xStoreid != null) {
|
|
25842
|
+
localVarHeaderParameter['x-storeid'] = String(xStoreid);
|
|
25843
|
+
}
|
|
25844
|
+
if (xStoresecret != null) {
|
|
25845
|
+
localVarHeaderParameter['x-storesecret'] = String(xStoresecret);
|
|
25846
|
+
}
|
|
25847
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
25848
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25849
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
25850
|
+
return {
|
|
25851
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
25852
|
+
options: localVarRequestOptions,
|
|
25853
|
+
};
|
|
25854
|
+
}),
|
|
25855
|
+
};
|
|
25856
|
+
};
|
|
25857
|
+
exports.FiltersApiAxiosParamCreator = FiltersApiAxiosParamCreator;
|
|
25858
|
+
/**
|
|
25859
|
+
* FiltersApi - functional programming interface
|
|
25860
|
+
* @export
|
|
25861
|
+
*/
|
|
25862
|
+
const FiltersApiFp = function (configuration) {
|
|
25863
|
+
const localVarAxiosParamCreator = (0, exports.FiltersApiAxiosParamCreator)(configuration);
|
|
25864
|
+
return {
|
|
25865
|
+
/**
|
|
25866
|
+
* Search within a facet\'s values (admin-authenticated version)
|
|
25867
|
+
* @summary Admin Search Facet Values
|
|
25868
|
+
* @param {string} xStoreID X-Store ID
|
|
25869
|
+
* @param {string} facetName Facet field name
|
|
25870
|
+
* @param {DataTypesFacetValuesSearchRequest} dataTypesFacetValuesSearchRequest Facet search query
|
|
25871
|
+
* @param {*} [options] Override http request option.
|
|
25872
|
+
* @throws {RequiredError}
|
|
25873
|
+
*/
|
|
25874
|
+
adminV1FiltersXStoreIDFacetNameValuesPost(xStoreID, facetName, dataTypesFacetValuesSearchRequest, options) {
|
|
25875
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
25876
|
+
var _a, _b, _c;
|
|
25877
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1FiltersXStoreIDFacetNameValuesPost(xStoreID, facetName, dataTypesFacetValuesSearchRequest, options);
|
|
25878
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
25879
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FiltersApi.adminV1FiltersXStoreIDFacetNameValuesPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
25880
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
25881
|
+
});
|
|
25882
|
+
},
|
|
25883
|
+
/**
|
|
25884
|
+
* Get filter values and counts (admin-authenticated version)
|
|
25885
|
+
* @summary Admin Get Filters
|
|
25886
|
+
* @param {string} xStoreID X-Store ID
|
|
25887
|
+
* @param {DataTypesFiltersRequest} [dataTypesFiltersRequest] Filter options
|
|
25888
|
+
* @param {*} [options] Override http request option.
|
|
25889
|
+
* @throws {RequiredError}
|
|
25890
|
+
*/
|
|
25891
|
+
adminV1FiltersXStoreIDPost(xStoreID, dataTypesFiltersRequest, options) {
|
|
25892
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
25893
|
+
var _a, _b, _c;
|
|
25894
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1FiltersXStoreIDPost(xStoreID, dataTypesFiltersRequest, options);
|
|
25895
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
25896
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FiltersApi.adminV1FiltersXStoreIDPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
25897
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
25898
|
+
});
|
|
25899
|
+
},
|
|
25900
|
+
/**
|
|
25901
|
+
* Get filter field metadata (admin-authenticated version)
|
|
25902
|
+
* @summary Admin Get Filters Schema
|
|
25903
|
+
* @param {string} xStoreID X-Store ID
|
|
25904
|
+
* @param {*} [options] Override http request option.
|
|
25905
|
+
* @throws {RequiredError}
|
|
25906
|
+
*/
|
|
25907
|
+
adminV1FiltersXStoreIDSchemaGet(xStoreID, options) {
|
|
25908
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
25909
|
+
var _a, _b, _c;
|
|
25910
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1FiltersXStoreIDSchemaGet(xStoreID, options);
|
|
25911
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
25912
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FiltersApi.adminV1FiltersXStoreIDSchemaGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
25913
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
25914
|
+
});
|
|
25915
|
+
},
|
|
25916
|
+
/**
|
|
25917
|
+
* Search or autocomplete within a single facet\'s values. Useful for facets with many values (e.g., brands) where you need typeahead search.
|
|
25918
|
+
* @summary Search Facet Values
|
|
25919
|
+
* @param {string} xStoreid Store ID (from dashboard)
|
|
25920
|
+
* @param {string} xStoresecret Store read secret (from dashboard)
|
|
25921
|
+
* @param {string} facetName Facet field name (e.g., brand, category)
|
|
25922
|
+
* @param {DataTypesFacetValuesSearchRequest} dataTypesFacetValuesSearchRequest Facet search query
|
|
25923
|
+
* @param {*} [options] Override http request option.
|
|
25924
|
+
* @throws {RequiredError}
|
|
25925
|
+
*/
|
|
25926
|
+
v1FiltersFacetNameValuesPost(xStoreid, xStoresecret, facetName, dataTypesFacetValuesSearchRequest, options) {
|
|
25927
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
25928
|
+
var _a, _b, _c;
|
|
25929
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1FiltersFacetNameValuesPost(xStoreid, xStoresecret, facetName, dataTypesFacetValuesSearchRequest, options);
|
|
25930
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
25931
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FiltersApi.v1FiltersFacetNameValuesPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
25932
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
25933
|
+
});
|
|
25934
|
+
},
|
|
25935
|
+
/**
|
|
25936
|
+
* Get filter values and counts for configured facets. Use this to build faceted navigation UIs. Supports disjunctive faceting for OR-based filter combinations.
|
|
25937
|
+
* @summary Get Filters
|
|
25938
|
+
* @param {string} xStoreid Store ID (from dashboard)
|
|
25939
|
+
* @param {string} xStoresecret Store read secret (from dashboard)
|
|
25940
|
+
* @param {DataTypesFiltersRequest} [dataTypesFiltersRequest] Filter options
|
|
25941
|
+
* @param {*} [options] Override http request option.
|
|
25942
|
+
* @throws {RequiredError}
|
|
25943
|
+
*/
|
|
25944
|
+
v1FiltersPost(xStoreid, xStoresecret, dataTypesFiltersRequest, options) {
|
|
25945
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
25946
|
+
var _a, _b, _c;
|
|
25947
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1FiltersPost(xStoreid, xStoresecret, dataTypesFiltersRequest, options);
|
|
25948
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
25949
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FiltersApi.v1FiltersPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
25950
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
25951
|
+
});
|
|
25952
|
+
},
|
|
25953
|
+
/**
|
|
25954
|
+
* Get available filter field metadata including types, sortability, and configured ranges. Useful for dynamically building filter UIs.
|
|
25955
|
+
* @summary Get Filters Schema
|
|
25956
|
+
* @param {string} xStoreid Store ID (from dashboard)
|
|
25957
|
+
* @param {string} xStoresecret Store read secret (from dashboard)
|
|
25958
|
+
* @param {*} [options] Override http request option.
|
|
25959
|
+
* @throws {RequiredError}
|
|
25960
|
+
*/
|
|
25961
|
+
v1FiltersSchemaGet(xStoreid, xStoresecret, options) {
|
|
25962
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
25963
|
+
var _a, _b, _c;
|
|
25964
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1FiltersSchemaGet(xStoreid, xStoresecret, options);
|
|
25965
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
25966
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['FiltersApi.v1FiltersSchemaGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
25967
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
25968
|
+
});
|
|
25969
|
+
},
|
|
25970
|
+
};
|
|
25971
|
+
};
|
|
25972
|
+
exports.FiltersApiFp = FiltersApiFp;
|
|
25973
|
+
/**
|
|
25974
|
+
* FiltersApi - factory interface
|
|
25975
|
+
* @export
|
|
25976
|
+
*/
|
|
25977
|
+
const FiltersApiFactory = function (configuration, basePath, axios) {
|
|
25978
|
+
const localVarFp = (0, exports.FiltersApiFp)(configuration);
|
|
25979
|
+
return {
|
|
25980
|
+
/**
|
|
25981
|
+
* Search within a facet\'s values (admin-authenticated version)
|
|
25982
|
+
* @summary Admin Search Facet Values
|
|
25983
|
+
* @param {string} xStoreID X-Store ID
|
|
25984
|
+
* @param {string} facetName Facet field name
|
|
25985
|
+
* @param {DataTypesFacetValuesSearchRequest} dataTypesFacetValuesSearchRequest Facet search query
|
|
25986
|
+
* @param {*} [options] Override http request option.
|
|
25987
|
+
* @throws {RequiredError}
|
|
25988
|
+
*/
|
|
25989
|
+
adminV1FiltersXStoreIDFacetNameValuesPost(xStoreID, facetName, dataTypesFacetValuesSearchRequest, options) {
|
|
25990
|
+
return localVarFp.adminV1FiltersXStoreIDFacetNameValuesPost(xStoreID, facetName, dataTypesFacetValuesSearchRequest, options).then((request) => request(axios, basePath));
|
|
25991
|
+
},
|
|
25992
|
+
/**
|
|
25993
|
+
* Get filter values and counts (admin-authenticated version)
|
|
25994
|
+
* @summary Admin Get Filters
|
|
25995
|
+
* @param {string} xStoreID X-Store ID
|
|
25996
|
+
* @param {DataTypesFiltersRequest} [dataTypesFiltersRequest] Filter options
|
|
25997
|
+
* @param {*} [options] Override http request option.
|
|
25998
|
+
* @throws {RequiredError}
|
|
25999
|
+
*/
|
|
26000
|
+
adminV1FiltersXStoreIDPost(xStoreID, dataTypesFiltersRequest, options) {
|
|
26001
|
+
return localVarFp.adminV1FiltersXStoreIDPost(xStoreID, dataTypesFiltersRequest, options).then((request) => request(axios, basePath));
|
|
26002
|
+
},
|
|
26003
|
+
/**
|
|
26004
|
+
* Get filter field metadata (admin-authenticated version)
|
|
26005
|
+
* @summary Admin Get Filters Schema
|
|
26006
|
+
* @param {string} xStoreID X-Store ID
|
|
26007
|
+
* @param {*} [options] Override http request option.
|
|
26008
|
+
* @throws {RequiredError}
|
|
26009
|
+
*/
|
|
26010
|
+
adminV1FiltersXStoreIDSchemaGet(xStoreID, options) {
|
|
26011
|
+
return localVarFp.adminV1FiltersXStoreIDSchemaGet(xStoreID, options).then((request) => request(axios, basePath));
|
|
26012
|
+
},
|
|
26013
|
+
/**
|
|
26014
|
+
* Search or autocomplete within a single facet\'s values. Useful for facets with many values (e.g., brands) where you need typeahead search.
|
|
26015
|
+
* @summary Search Facet Values
|
|
26016
|
+
* @param {string} xStoreid Store ID (from dashboard)
|
|
26017
|
+
* @param {string} xStoresecret Store read secret (from dashboard)
|
|
26018
|
+
* @param {string} facetName Facet field name (e.g., brand, category)
|
|
26019
|
+
* @param {DataTypesFacetValuesSearchRequest} dataTypesFacetValuesSearchRequest Facet search query
|
|
26020
|
+
* @param {*} [options] Override http request option.
|
|
26021
|
+
* @throws {RequiredError}
|
|
26022
|
+
*/
|
|
26023
|
+
v1FiltersFacetNameValuesPost(xStoreid, xStoresecret, facetName, dataTypesFacetValuesSearchRequest, options) {
|
|
26024
|
+
return localVarFp.v1FiltersFacetNameValuesPost(xStoreid, xStoresecret, facetName, dataTypesFacetValuesSearchRequest, options).then((request) => request(axios, basePath));
|
|
26025
|
+
},
|
|
26026
|
+
/**
|
|
26027
|
+
* Get filter values and counts for configured facets. Use this to build faceted navigation UIs. Supports disjunctive faceting for OR-based filter combinations.
|
|
26028
|
+
* @summary Get Filters
|
|
26029
|
+
* @param {string} xStoreid Store ID (from dashboard)
|
|
26030
|
+
* @param {string} xStoresecret Store read secret (from dashboard)
|
|
26031
|
+
* @param {DataTypesFiltersRequest} [dataTypesFiltersRequest] Filter options
|
|
26032
|
+
* @param {*} [options] Override http request option.
|
|
26033
|
+
* @throws {RequiredError}
|
|
26034
|
+
*/
|
|
26035
|
+
v1FiltersPost(xStoreid, xStoresecret, dataTypesFiltersRequest, options) {
|
|
26036
|
+
return localVarFp.v1FiltersPost(xStoreid, xStoresecret, dataTypesFiltersRequest, options).then((request) => request(axios, basePath));
|
|
26037
|
+
},
|
|
26038
|
+
/**
|
|
26039
|
+
* Get available filter field metadata including types, sortability, and configured ranges. Useful for dynamically building filter UIs.
|
|
26040
|
+
* @summary Get Filters Schema
|
|
26041
|
+
* @param {string} xStoreid Store ID (from dashboard)
|
|
26042
|
+
* @param {string} xStoresecret Store read secret (from dashboard)
|
|
26043
|
+
* @param {*} [options] Override http request option.
|
|
26044
|
+
* @throws {RequiredError}
|
|
26045
|
+
*/
|
|
26046
|
+
v1FiltersSchemaGet(xStoreid, xStoresecret, options) {
|
|
26047
|
+
return localVarFp.v1FiltersSchemaGet(xStoreid, xStoresecret, options).then((request) => request(axios, basePath));
|
|
26048
|
+
},
|
|
26049
|
+
};
|
|
26050
|
+
};
|
|
26051
|
+
exports.FiltersApiFactory = FiltersApiFactory;
|
|
26052
|
+
/**
|
|
26053
|
+
* FiltersApi - object-oriented interface
|
|
26054
|
+
* @export
|
|
26055
|
+
* @class FiltersApi
|
|
26056
|
+
* @extends {BaseAPI}
|
|
26057
|
+
*/
|
|
26058
|
+
class FiltersApi extends base_1.BaseAPI {
|
|
26059
|
+
/**
|
|
26060
|
+
* Search within a facet\'s values (admin-authenticated version)
|
|
26061
|
+
* @summary Admin Search Facet Values
|
|
26062
|
+
* @param {string} xStoreID X-Store ID
|
|
26063
|
+
* @param {string} facetName Facet field name
|
|
26064
|
+
* @param {DataTypesFacetValuesSearchRequest} dataTypesFacetValuesSearchRequest Facet search query
|
|
26065
|
+
* @param {*} [options] Override http request option.
|
|
26066
|
+
* @throws {RequiredError}
|
|
26067
|
+
* @memberof FiltersApi
|
|
26068
|
+
*/
|
|
26069
|
+
adminV1FiltersXStoreIDFacetNameValuesPost(xStoreID, facetName, dataTypesFacetValuesSearchRequest, options) {
|
|
26070
|
+
return (0, exports.FiltersApiFp)(this.configuration).adminV1FiltersXStoreIDFacetNameValuesPost(xStoreID, facetName, dataTypesFacetValuesSearchRequest, options).then((request) => request(this.axios, this.basePath));
|
|
26071
|
+
}
|
|
26072
|
+
/**
|
|
26073
|
+
* Get filter values and counts (admin-authenticated version)
|
|
26074
|
+
* @summary Admin Get Filters
|
|
26075
|
+
* @param {string} xStoreID X-Store ID
|
|
26076
|
+
* @param {DataTypesFiltersRequest} [dataTypesFiltersRequest] Filter options
|
|
26077
|
+
* @param {*} [options] Override http request option.
|
|
26078
|
+
* @throws {RequiredError}
|
|
26079
|
+
* @memberof FiltersApi
|
|
26080
|
+
*/
|
|
26081
|
+
adminV1FiltersXStoreIDPost(xStoreID, dataTypesFiltersRequest, options) {
|
|
26082
|
+
return (0, exports.FiltersApiFp)(this.configuration).adminV1FiltersXStoreIDPost(xStoreID, dataTypesFiltersRequest, options).then((request) => request(this.axios, this.basePath));
|
|
26083
|
+
}
|
|
26084
|
+
/**
|
|
26085
|
+
* Get filter field metadata (admin-authenticated version)
|
|
26086
|
+
* @summary Admin Get Filters Schema
|
|
26087
|
+
* @param {string} xStoreID X-Store ID
|
|
26088
|
+
* @param {*} [options] Override http request option.
|
|
26089
|
+
* @throws {RequiredError}
|
|
26090
|
+
* @memberof FiltersApi
|
|
26091
|
+
*/
|
|
26092
|
+
adminV1FiltersXStoreIDSchemaGet(xStoreID, options) {
|
|
26093
|
+
return (0, exports.FiltersApiFp)(this.configuration).adminV1FiltersXStoreIDSchemaGet(xStoreID, options).then((request) => request(this.axios, this.basePath));
|
|
26094
|
+
}
|
|
26095
|
+
/**
|
|
26096
|
+
* Search or autocomplete within a single facet\'s values. Useful for facets with many values (e.g., brands) where you need typeahead search.
|
|
26097
|
+
* @summary Search Facet Values
|
|
26098
|
+
* @param {string} xStoreid Store ID (from dashboard)
|
|
26099
|
+
* @param {string} xStoresecret Store read secret (from dashboard)
|
|
26100
|
+
* @param {string} facetName Facet field name (e.g., brand, category)
|
|
26101
|
+
* @param {DataTypesFacetValuesSearchRequest} dataTypesFacetValuesSearchRequest Facet search query
|
|
26102
|
+
* @param {*} [options] Override http request option.
|
|
26103
|
+
* @throws {RequiredError}
|
|
26104
|
+
* @memberof FiltersApi
|
|
26105
|
+
*/
|
|
26106
|
+
v1FiltersFacetNameValuesPost(xStoreid, xStoresecret, facetName, dataTypesFacetValuesSearchRequest, options) {
|
|
26107
|
+
return (0, exports.FiltersApiFp)(this.configuration).v1FiltersFacetNameValuesPost(xStoreid, xStoresecret, facetName, dataTypesFacetValuesSearchRequest, options).then((request) => request(this.axios, this.basePath));
|
|
26108
|
+
}
|
|
26109
|
+
/**
|
|
26110
|
+
* Get filter values and counts for configured facets. Use this to build faceted navigation UIs. Supports disjunctive faceting for OR-based filter combinations.
|
|
26111
|
+
* @summary Get Filters
|
|
26112
|
+
* @param {string} xStoreid Store ID (from dashboard)
|
|
26113
|
+
* @param {string} xStoresecret Store read secret (from dashboard)
|
|
26114
|
+
* @param {DataTypesFiltersRequest} [dataTypesFiltersRequest] Filter options
|
|
26115
|
+
* @param {*} [options] Override http request option.
|
|
26116
|
+
* @throws {RequiredError}
|
|
26117
|
+
* @memberof FiltersApi
|
|
26118
|
+
*/
|
|
26119
|
+
v1FiltersPost(xStoreid, xStoresecret, dataTypesFiltersRequest, options) {
|
|
26120
|
+
return (0, exports.FiltersApiFp)(this.configuration).v1FiltersPost(xStoreid, xStoresecret, dataTypesFiltersRequest, options).then((request) => request(this.axios, this.basePath));
|
|
26121
|
+
}
|
|
26122
|
+
/**
|
|
26123
|
+
* Get available filter field metadata including types, sortability, and configured ranges. Useful for dynamically building filter UIs.
|
|
26124
|
+
* @summary Get Filters Schema
|
|
26125
|
+
* @param {string} xStoreid Store ID (from dashboard)
|
|
26126
|
+
* @param {string} xStoresecret Store read secret (from dashboard)
|
|
26127
|
+
* @param {*} [options] Override http request option.
|
|
26128
|
+
* @throws {RequiredError}
|
|
26129
|
+
* @memberof FiltersApi
|
|
26130
|
+
*/
|
|
26131
|
+
v1FiltersSchemaGet(xStoreid, xStoresecret, options) {
|
|
26132
|
+
return (0, exports.FiltersApiFp)(this.configuration).v1FiltersSchemaGet(xStoreid, xStoresecret, options).then((request) => request(this.axios, this.basePath));
|
|
26133
|
+
}
|
|
26134
|
+
}
|
|
26135
|
+
exports.FiltersApi = FiltersApi;
|
|
25242
26136
|
/**
|
|
25243
26137
|
* ItemAnalyticsApi - axios parameter creator
|
|
25244
26138
|
* @export
|
|
@@ -41730,6 +42624,53 @@ const SDKDocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
41730
42624
|
options: localVarRequestOptions,
|
|
41731
42625
|
};
|
|
41732
42626
|
}),
|
|
42627
|
+
/**
|
|
42628
|
+
* Retrieve a single document from the store\'s search index by ID. **Auth:** `x-storeid` and `x-storesecret` (read secret). Path `xStoreID` must match the `x-storeid` header. Used by product pages and PDP.
|
|
42629
|
+
* @summary Get a document by ID
|
|
42630
|
+
* @param {string} xStoreid Store ID (from dashboard)
|
|
42631
|
+
* @param {string} xStoresecret Store read secret
|
|
42632
|
+
* @param {string} xStoreID Store ID (must match x-storeid header)
|
|
42633
|
+
* @param {string} documentID Document ID to retrieve
|
|
42634
|
+
* @param {*} [options] Override http request option.
|
|
42635
|
+
* @throws {RequiredError}
|
|
42636
|
+
*/
|
|
42637
|
+
apiV1StoresXStoreIDDocumentsDocumentIDGet: (xStoreid_1, xStoresecret_1, xStoreID_1, documentID_1, ...args_1) => __awaiter(this, [xStoreid_1, xStoresecret_1, xStoreID_1, documentID_1, ...args_1], void 0, function* (xStoreid, xStoresecret, xStoreID, documentID, options = {}) {
|
|
42638
|
+
// verify required parameter 'xStoreid' is not null or undefined
|
|
42639
|
+
(0, common_1.assertParamExists)('apiV1StoresXStoreIDDocumentsDocumentIDGet', 'xStoreid', xStoreid);
|
|
42640
|
+
// verify required parameter 'xStoresecret' is not null or undefined
|
|
42641
|
+
(0, common_1.assertParamExists)('apiV1StoresXStoreIDDocumentsDocumentIDGet', 'xStoresecret', xStoresecret);
|
|
42642
|
+
// verify required parameter 'xStoreID' is not null or undefined
|
|
42643
|
+
(0, common_1.assertParamExists)('apiV1StoresXStoreIDDocumentsDocumentIDGet', 'xStoreID', xStoreID);
|
|
42644
|
+
// verify required parameter 'documentID' is not null or undefined
|
|
42645
|
+
(0, common_1.assertParamExists)('apiV1StoresXStoreIDDocumentsDocumentIDGet', 'documentID', documentID);
|
|
42646
|
+
const localVarPath = `/api/v1/stores/{xStoreID}/documents/{documentID}`
|
|
42647
|
+
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)))
|
|
42648
|
+
.replace(`{${"documentID"}}`, encodeURIComponent(String(documentID)));
|
|
42649
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
42650
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
42651
|
+
let baseOptions;
|
|
42652
|
+
if (configuration) {
|
|
42653
|
+
baseOptions = configuration.baseOptions;
|
|
42654
|
+
}
|
|
42655
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
42656
|
+
const localVarHeaderParameter = {};
|
|
42657
|
+
const localVarQueryParameter = {};
|
|
42658
|
+
// authentication ApiKeyAuth required
|
|
42659
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-storesecret", configuration);
|
|
42660
|
+
if (xStoreid != null) {
|
|
42661
|
+
localVarHeaderParameter['x-storeid'] = String(xStoreid);
|
|
42662
|
+
}
|
|
42663
|
+
if (xStoresecret != null) {
|
|
42664
|
+
localVarHeaderParameter['x-storesecret'] = String(xStoresecret);
|
|
42665
|
+
}
|
|
42666
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
42667
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
42668
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
42669
|
+
return {
|
|
42670
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
42671
|
+
options: localVarRequestOptions,
|
|
42672
|
+
};
|
|
42673
|
+
}),
|
|
41733
42674
|
/**
|
|
41734
42675
|
* Add or update one document in the store\'s search index. **Auth:** `x-storeid` and `x-store-write-secret`. Path `xStoreID` must match the `x-storeid` header. If you omit document ID, one is generated; existing documents with the same ID are updated.
|
|
41735
42676
|
* @summary Index a single document
|
|
@@ -41826,6 +42767,25 @@ const SDKDocumentsApiFp = function (configuration) {
|
|
|
41826
42767
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
41827
42768
|
});
|
|
41828
42769
|
},
|
|
42770
|
+
/**
|
|
42771
|
+
* Retrieve a single document from the store\'s search index by ID. **Auth:** `x-storeid` and `x-storesecret` (read secret). Path `xStoreID` must match the `x-storeid` header. Used by product pages and PDP.
|
|
42772
|
+
* @summary Get a document by ID
|
|
42773
|
+
* @param {string} xStoreid Store ID (from dashboard)
|
|
42774
|
+
* @param {string} xStoresecret Store read secret
|
|
42775
|
+
* @param {string} xStoreID Store ID (must match x-storeid header)
|
|
42776
|
+
* @param {string} documentID Document ID to retrieve
|
|
42777
|
+
* @param {*} [options] Override http request option.
|
|
42778
|
+
* @throws {RequiredError}
|
|
42779
|
+
*/
|
|
42780
|
+
apiV1StoresXStoreIDDocumentsDocumentIDGet(xStoreid, xStoresecret, xStoreID, documentID, options) {
|
|
42781
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
42782
|
+
var _a, _b, _c;
|
|
42783
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1StoresXStoreIDDocumentsDocumentIDGet(xStoreid, xStoresecret, xStoreID, documentID, options);
|
|
42784
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
42785
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SDKDocumentsApi.apiV1StoresXStoreIDDocumentsDocumentIDGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
42786
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
42787
|
+
});
|
|
42788
|
+
},
|
|
41829
42789
|
/**
|
|
41830
42790
|
* Add or update one document in the store\'s search index. **Auth:** `x-storeid` and `x-store-write-secret`. Path `xStoreID` must match the `x-storeid` header. If you omit document ID, one is generated; existing documents with the same ID are updated.
|
|
41831
42791
|
* @summary Index a single document
|
|
@@ -41881,6 +42841,19 @@ const SDKDocumentsApiFactory = function (configuration, basePath, axios) {
|
|
|
41881
42841
|
apiV1StoresXStoreIDDocumentsDocumentIDDelete(xStoreid, xStoreWriteSecret, xStoreID, documentID, options) {
|
|
41882
42842
|
return localVarFp.apiV1StoresXStoreIDDocumentsDocumentIDDelete(xStoreid, xStoreWriteSecret, xStoreID, documentID, options).then((request) => request(axios, basePath));
|
|
41883
42843
|
},
|
|
42844
|
+
/**
|
|
42845
|
+
* Retrieve a single document from the store\'s search index by ID. **Auth:** `x-storeid` and `x-storesecret` (read secret). Path `xStoreID` must match the `x-storeid` header. Used by product pages and PDP.
|
|
42846
|
+
* @summary Get a document by ID
|
|
42847
|
+
* @param {string} xStoreid Store ID (from dashboard)
|
|
42848
|
+
* @param {string} xStoresecret Store read secret
|
|
42849
|
+
* @param {string} xStoreID Store ID (must match x-storeid header)
|
|
42850
|
+
* @param {string} documentID Document ID to retrieve
|
|
42851
|
+
* @param {*} [options] Override http request option.
|
|
42852
|
+
* @throws {RequiredError}
|
|
42853
|
+
*/
|
|
42854
|
+
apiV1StoresXStoreIDDocumentsDocumentIDGet(xStoreid, xStoresecret, xStoreID, documentID, options) {
|
|
42855
|
+
return localVarFp.apiV1StoresXStoreIDDocumentsDocumentIDGet(xStoreid, xStoresecret, xStoreID, documentID, options).then((request) => request(axios, basePath));
|
|
42856
|
+
},
|
|
41884
42857
|
/**
|
|
41885
42858
|
* Add or update one document in the store\'s search index. **Auth:** `x-storeid` and `x-store-write-secret`. Path `xStoreID` must match the `x-storeid` header. If you omit document ID, one is generated; existing documents with the same ID are updated.
|
|
41886
42859
|
* @summary Index a single document
|
|
@@ -41932,6 +42905,20 @@ class SDKDocumentsApi extends base_1.BaseAPI {
|
|
|
41932
42905
|
apiV1StoresXStoreIDDocumentsDocumentIDDelete(xStoreid, xStoreWriteSecret, xStoreID, documentID, options) {
|
|
41933
42906
|
return (0, exports.SDKDocumentsApiFp)(this.configuration).apiV1StoresXStoreIDDocumentsDocumentIDDelete(xStoreid, xStoreWriteSecret, xStoreID, documentID, options).then((request) => request(this.axios, this.basePath));
|
|
41934
42907
|
}
|
|
42908
|
+
/**
|
|
42909
|
+
* Retrieve a single document from the store\'s search index by ID. **Auth:** `x-storeid` and `x-storesecret` (read secret). Path `xStoreID` must match the `x-storeid` header. Used by product pages and PDP.
|
|
42910
|
+
* @summary Get a document by ID
|
|
42911
|
+
* @param {string} xStoreid Store ID (from dashboard)
|
|
42912
|
+
* @param {string} xStoresecret Store read secret
|
|
42913
|
+
* @param {string} xStoreID Store ID (must match x-storeid header)
|
|
42914
|
+
* @param {string} documentID Document ID to retrieve
|
|
42915
|
+
* @param {*} [options] Override http request option.
|
|
42916
|
+
* @throws {RequiredError}
|
|
42917
|
+
* @memberof SDKDocumentsApi
|
|
42918
|
+
*/
|
|
42919
|
+
apiV1StoresXStoreIDDocumentsDocumentIDGet(xStoreid, xStoresecret, xStoreID, documentID, options) {
|
|
42920
|
+
return (0, exports.SDKDocumentsApiFp)(this.configuration).apiV1StoresXStoreIDDocumentsDocumentIDGet(xStoreid, xStoresecret, xStoreID, documentID, options).then((request) => request(this.axios, this.basePath));
|
|
42921
|
+
}
|
|
41935
42922
|
/**
|
|
41936
42923
|
* Add or update one document in the store\'s search index. **Auth:** `x-storeid` and `x-store-write-secret`. Path `xStoreID` must match the `x-storeid` header. If you omit document ID, one is generated; existing documents with the same ID are updated.
|
|
41937
42924
|
* @summary Index a single document
|
|
@@ -41948,6 +42935,137 @@ class SDKDocumentsApi extends base_1.BaseAPI {
|
|
|
41948
42935
|
}
|
|
41949
42936
|
}
|
|
41950
42937
|
exports.SDKDocumentsApi = SDKDocumentsApi;
|
|
42938
|
+
/**
|
|
42939
|
+
* SDKExperimentsApi - axios parameter creator
|
|
42940
|
+
* @export
|
|
42941
|
+
*/
|
|
42942
|
+
const SDKExperimentsApiAxiosParamCreator = function (configuration) {
|
|
42943
|
+
return {
|
|
42944
|
+
/**
|
|
42945
|
+
* Returns variant assignments for all running experiments for the requesting user. Uses hash-based consistent assignment.
|
|
42946
|
+
* @summary Get experiment assignments for a user
|
|
42947
|
+
* @param {string} xStoreid Store ID
|
|
42948
|
+
* @param {string} xStoresecret Store read secret
|
|
42949
|
+
* @param {string} [xUserId] User ID (provide either x-user-id or x-anon-id)
|
|
42950
|
+
* @param {string} [xAnonId] Anonymous ID (provide either x-user-id or x-anon-id)
|
|
42951
|
+
* @param {*} [options] Override http request option.
|
|
42952
|
+
* @throws {RequiredError}
|
|
42953
|
+
*/
|
|
42954
|
+
v1ExperimentsAssignmentGet: (xStoreid_1, xStoresecret_1, xUserId_1, xAnonId_1, ...args_1) => __awaiter(this, [xStoreid_1, xStoresecret_1, xUserId_1, xAnonId_1, ...args_1], void 0, function* (xStoreid, xStoresecret, xUserId, xAnonId, options = {}) {
|
|
42955
|
+
// verify required parameter 'xStoreid' is not null or undefined
|
|
42956
|
+
(0, common_1.assertParamExists)('v1ExperimentsAssignmentGet', 'xStoreid', xStoreid);
|
|
42957
|
+
// verify required parameter 'xStoresecret' is not null or undefined
|
|
42958
|
+
(0, common_1.assertParamExists)('v1ExperimentsAssignmentGet', 'xStoresecret', xStoresecret);
|
|
42959
|
+
const localVarPath = `/v1/experiments/assignment`;
|
|
42960
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
42961
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
42962
|
+
let baseOptions;
|
|
42963
|
+
if (configuration) {
|
|
42964
|
+
baseOptions = configuration.baseOptions;
|
|
42965
|
+
}
|
|
42966
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
42967
|
+
const localVarHeaderParameter = {};
|
|
42968
|
+
const localVarQueryParameter = {};
|
|
42969
|
+
// authentication ApiKeyAuth required
|
|
42970
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-storesecret", configuration);
|
|
42971
|
+
if (xStoreid != null) {
|
|
42972
|
+
localVarHeaderParameter['x-storeid'] = String(xStoreid);
|
|
42973
|
+
}
|
|
42974
|
+
if (xStoresecret != null) {
|
|
42975
|
+
localVarHeaderParameter['x-storesecret'] = String(xStoresecret);
|
|
42976
|
+
}
|
|
42977
|
+
if (xUserId != null) {
|
|
42978
|
+
localVarHeaderParameter['x-user-id'] = String(xUserId);
|
|
42979
|
+
}
|
|
42980
|
+
if (xAnonId != null) {
|
|
42981
|
+
localVarHeaderParameter['x-anon-id'] = String(xAnonId);
|
|
42982
|
+
}
|
|
42983
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
42984
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
42985
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
42986
|
+
return {
|
|
42987
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
42988
|
+
options: localVarRequestOptions,
|
|
42989
|
+
};
|
|
42990
|
+
}),
|
|
42991
|
+
};
|
|
42992
|
+
};
|
|
42993
|
+
exports.SDKExperimentsApiAxiosParamCreator = SDKExperimentsApiAxiosParamCreator;
|
|
42994
|
+
/**
|
|
42995
|
+
* SDKExperimentsApi - functional programming interface
|
|
42996
|
+
* @export
|
|
42997
|
+
*/
|
|
42998
|
+
const SDKExperimentsApiFp = function (configuration) {
|
|
42999
|
+
const localVarAxiosParamCreator = (0, exports.SDKExperimentsApiAxiosParamCreator)(configuration);
|
|
43000
|
+
return {
|
|
43001
|
+
/**
|
|
43002
|
+
* Returns variant assignments for all running experiments for the requesting user. Uses hash-based consistent assignment.
|
|
43003
|
+
* @summary Get experiment assignments for a user
|
|
43004
|
+
* @param {string} xStoreid Store ID
|
|
43005
|
+
* @param {string} xStoresecret Store read secret
|
|
43006
|
+
* @param {string} [xUserId] User ID (provide either x-user-id or x-anon-id)
|
|
43007
|
+
* @param {string} [xAnonId] Anonymous ID (provide either x-user-id or x-anon-id)
|
|
43008
|
+
* @param {*} [options] Override http request option.
|
|
43009
|
+
* @throws {RequiredError}
|
|
43010
|
+
*/
|
|
43011
|
+
v1ExperimentsAssignmentGet(xStoreid, xStoresecret, xUserId, xAnonId, options) {
|
|
43012
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
43013
|
+
var _a, _b, _c;
|
|
43014
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1ExperimentsAssignmentGet(xStoreid, xStoresecret, xUserId, xAnonId, options);
|
|
43015
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
43016
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SDKExperimentsApi.v1ExperimentsAssignmentGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
43017
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
43018
|
+
});
|
|
43019
|
+
},
|
|
43020
|
+
};
|
|
43021
|
+
};
|
|
43022
|
+
exports.SDKExperimentsApiFp = SDKExperimentsApiFp;
|
|
43023
|
+
/**
|
|
43024
|
+
* SDKExperimentsApi - factory interface
|
|
43025
|
+
* @export
|
|
43026
|
+
*/
|
|
43027
|
+
const SDKExperimentsApiFactory = function (configuration, basePath, axios) {
|
|
43028
|
+
const localVarFp = (0, exports.SDKExperimentsApiFp)(configuration);
|
|
43029
|
+
return {
|
|
43030
|
+
/**
|
|
43031
|
+
* Returns variant assignments for all running experiments for the requesting user. Uses hash-based consistent assignment.
|
|
43032
|
+
* @summary Get experiment assignments for a user
|
|
43033
|
+
* @param {string} xStoreid Store ID
|
|
43034
|
+
* @param {string} xStoresecret Store read secret
|
|
43035
|
+
* @param {string} [xUserId] User ID (provide either x-user-id or x-anon-id)
|
|
43036
|
+
* @param {string} [xAnonId] Anonymous ID (provide either x-user-id or x-anon-id)
|
|
43037
|
+
* @param {*} [options] Override http request option.
|
|
43038
|
+
* @throws {RequiredError}
|
|
43039
|
+
*/
|
|
43040
|
+
v1ExperimentsAssignmentGet(xStoreid, xStoresecret, xUserId, xAnonId, options) {
|
|
43041
|
+
return localVarFp.v1ExperimentsAssignmentGet(xStoreid, xStoresecret, xUserId, xAnonId, options).then((request) => request(axios, basePath));
|
|
43042
|
+
},
|
|
43043
|
+
};
|
|
43044
|
+
};
|
|
43045
|
+
exports.SDKExperimentsApiFactory = SDKExperimentsApiFactory;
|
|
43046
|
+
/**
|
|
43047
|
+
* SDKExperimentsApi - object-oriented interface
|
|
43048
|
+
* @export
|
|
43049
|
+
* @class SDKExperimentsApi
|
|
43050
|
+
* @extends {BaseAPI}
|
|
43051
|
+
*/
|
|
43052
|
+
class SDKExperimentsApi extends base_1.BaseAPI {
|
|
43053
|
+
/**
|
|
43054
|
+
* Returns variant assignments for all running experiments for the requesting user. Uses hash-based consistent assignment.
|
|
43055
|
+
* @summary Get experiment assignments for a user
|
|
43056
|
+
* @param {string} xStoreid Store ID
|
|
43057
|
+
* @param {string} xStoresecret Store read secret
|
|
43058
|
+
* @param {string} [xUserId] User ID (provide either x-user-id or x-anon-id)
|
|
43059
|
+
* @param {string} [xAnonId] Anonymous ID (provide either x-user-id or x-anon-id)
|
|
43060
|
+
* @param {*} [options] Override http request option.
|
|
43061
|
+
* @throws {RequiredError}
|
|
43062
|
+
* @memberof SDKExperimentsApi
|
|
43063
|
+
*/
|
|
43064
|
+
v1ExperimentsAssignmentGet(xStoreid, xStoresecret, xUserId, xAnonId, options) {
|
|
43065
|
+
return (0, exports.SDKExperimentsApiFp)(this.configuration).v1ExperimentsAssignmentGet(xStoreid, xStoresecret, xUserId, xAnonId, options).then((request) => request(this.axios, this.basePath));
|
|
43066
|
+
}
|
|
43067
|
+
}
|
|
43068
|
+
exports.SDKExperimentsApi = SDKExperimentsApi;
|
|
41951
43069
|
/**
|
|
41952
43070
|
* SDKQuerySuggestionsConfigApi - axios parameter creator
|
|
41953
43071
|
* @export
|
|
@@ -46307,7 +47425,7 @@ const StoresApiAxiosParamCreator = function (configuration) {
|
|
|
46307
47425
|
};
|
|
46308
47426
|
}),
|
|
46309
47427
|
/**
|
|
46310
|
-
* Retrieve detailed information for a specific API usage event including headers, request body, and response body
|
|
47428
|
+
* Retrieve detailed information for a specific API usage event including headers, request body, and response body.
|
|
46311
47429
|
* @summary Get Specific API Usage Event
|
|
46312
47430
|
* @param {string} xStoreID Store ID
|
|
46313
47431
|
* @param {string} eventID Event ID (UUID)
|
|
@@ -46997,7 +48115,7 @@ const StoresApiFp = function (configuration) {
|
|
|
46997
48115
|
});
|
|
46998
48116
|
},
|
|
46999
48117
|
/**
|
|
47000
|
-
* Retrieve detailed information for a specific API usage event including headers, request body, and response body
|
|
48118
|
+
* Retrieve detailed information for a specific API usage event including headers, request body, and response body.
|
|
47001
48119
|
* @summary Get Specific API Usage Event
|
|
47002
48120
|
* @param {string} xStoreID Store ID
|
|
47003
48121
|
* @param {string} eventID Event ID (UUID)
|
|
@@ -47355,7 +48473,7 @@ const StoresApiFactory = function (configuration, basePath, axios) {
|
|
|
47355
48473
|
return localVarFp.adminStoresXStoreIDAnalyticsTimeseriesGet(xStoreID, metric, startDate, endDate, options).then((request) => request(axios, basePath));
|
|
47356
48474
|
},
|
|
47357
48475
|
/**
|
|
47358
|
-
* Retrieve detailed information for a specific API usage event including headers, request body, and response body
|
|
48476
|
+
* Retrieve detailed information for a specific API usage event including headers, request body, and response body.
|
|
47359
48477
|
* @summary Get Specific API Usage Event
|
|
47360
48478
|
* @param {string} xStoreID Store ID
|
|
47361
48479
|
* @param {string} eventID Event ID (UUID)
|
|
@@ -47646,7 +48764,7 @@ class StoresApi extends base_1.BaseAPI {
|
|
|
47646
48764
|
return (0, exports.StoresApiFp)(this.configuration).adminStoresXStoreIDAnalyticsTimeseriesGet(xStoreID, metric, startDate, endDate, options).then((request) => request(this.axios, this.basePath));
|
|
47647
48765
|
}
|
|
47648
48766
|
/**
|
|
47649
|
-
* Retrieve detailed information for a specific API usage event including headers, request body, and response body
|
|
48767
|
+
* Retrieve detailed information for a specific API usage event including headers, request body, and response body.
|
|
47650
48768
|
* @summary Get Specific API Usage Event
|
|
47651
48769
|
* @param {string} xStoreID Store ID
|
|
47652
48770
|
* @param {string} eventID Event ID (UUID)
|