@seekora-ai/admin-api 1.1.84 → 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 +63 -2
- package/api.ts +5235 -1581
- package/dist/api.d.ts +2629 -4
- package/dist/api.js +1900 -14
- package/dist/esm/api.d.ts +2629 -4
- package/dist/esm/api.js +1874 -4
- package/package.json +1 -1
- package/seekora-ai-admin-api-1.1.86.tgz +0 -0
- package/seekora-ai-admin-api-1.1.84.tgz +0 -0
package/dist/api.js
CHANGED
|
@@ -22,16 +22,16 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.
|
|
26
|
-
exports.
|
|
27
|
-
exports.
|
|
28
|
-
exports.
|
|
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 = void 0;
|
|
25
|
+
exports.ActivityLogsApiFactory = exports.ActivityLogsApiFp = exports.ActivityLogsApiAxiosParamCreator = exports.AccountSettingsApi = exports.AccountSettingsApiFactory = exports.AccountSettingsApiFp = exports.AccountSettingsApiAxiosParamCreator = exports.APICallsApi = exports.APICallsApiFactory = exports.APICallsApiFp = exports.APICallsApiAxiosParamCreator = exports.RefundRefundPreviewRequestDtoRefundTypeEnum = exports.QuerySuggestionsServiceRuleType = exports.QuerySuggestionsServiceQuerySuggestionStatus = exports.QuerySuggestionsServiceQuerySuggestionSource = exports.QuerySuggestionsServiceBulkOperation = exports.QuerySuggestionsServiceBannedMatchType = exports.ModelsCreateCustomEventFieldRequestFieldTypeEnum = exports.MenuRoutesAddMenuRequestModuleTypeEnum = exports.MenuRoutesAddMenuRequestMenuLocationEnum = exports.MenuRoutesAddMenuRequestMenuLevelEnum = exports.DataTypesUpdateWordStatusRequestWordTypeEnum = exports.DataTypesUpdateStoreAccessRequestAccessLevelEnum = exports.DataTypesUpdatePluralDeclensionRequestTypeEnum = exports.DataTypesUpdateMemberRoleRequestMemberRoleEnum = exports.DataTypesStoreLevelMenuRightAccessLevelEnum = exports.DataTypesStoreAccessRequestAccessLevelEnum = exports.DataTypesRefundCalculationRequestDtoRefundTypeEnum = exports.DataTypesRefundApprovalDtoActionEnum = exports.DataTypesProcessRefundRequestDtoRefundTypeEnum = exports.DataTypesNotificationType = exports.DataTypesNotificationStatus = exports.DataTypesNotificationPriority = exports.DataTypesNotificationChannel = exports.DataTypesGrantStoreAccessRequestAccessLevelEnum = exports.DataTypesExperimentType = exports.DataTypesExperimentStatus = exports.DataTypesCreateTaskRequestTypeEnum = exports.DataTypesCreateTaskRequestIndexingStrategyEnum = exports.DataTypesCreateTaskRequestFrequencyEnum = exports.DataTypesCreateRefundRequestDtoRefundTypeEnum = exports.DataTypesCreatePluralDeclensionRequestTypeEnum = exports.DataTypesCreatePaymentOrderRequestPaymentTypeEnum = exports.DataTypesCreateCustomWordListRequestTypeEnum = exports.DataTypesBillingAlertRequestThresholdUnitEnum = exports.DataTypesBillingAlertRequestAlertTypeEnum = exports.DataTypesAcceptInvitationWithOAuthRequestTypeEnum = exports.ConnectorsCreateConnectorRequestConnectorTypeEnum = exports.AnalyticsThresholdType = exports.AnalyticsRuleType = void 0;
|
|
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
|
+
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
|
+
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.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
|
|
@@ -116,6 +116,32 @@ exports.DataTypesCreateTaskRequestTypeEnum = {
|
|
|
116
116
|
Manual: 'manual',
|
|
117
117
|
PluginConnector: 'plugin_connector'
|
|
118
118
|
};
|
|
119
|
+
/**
|
|
120
|
+
*
|
|
121
|
+
* @export
|
|
122
|
+
* @enum {string}
|
|
123
|
+
*/
|
|
124
|
+
exports.DataTypesExperimentStatus = {
|
|
125
|
+
ExperimentStatusDraft: 'draft',
|
|
126
|
+
ExperimentStatusScheduled: 'scheduled',
|
|
127
|
+
ExperimentStatusRunning: 'running',
|
|
128
|
+
ExperimentStatusPaused: 'paused',
|
|
129
|
+
ExperimentStatusCompleted: 'completed',
|
|
130
|
+
ExperimentStatusArchived: 'archived'
|
|
131
|
+
};
|
|
132
|
+
/**
|
|
133
|
+
*
|
|
134
|
+
* @export
|
|
135
|
+
* @enum {string}
|
|
136
|
+
*/
|
|
137
|
+
exports.DataTypesExperimentType = {
|
|
138
|
+
ExperimentTypeSearchRanking: 'search_ranking',
|
|
139
|
+
ExperimentTypeRecommendation: 'recommendation',
|
|
140
|
+
ExperimentTypePersonalization: 'personalization',
|
|
141
|
+
ExperimentTypeUI: 'ui',
|
|
142
|
+
ExperimentTypePricing: 'pricing',
|
|
143
|
+
ExperimentTypeOther: 'other'
|
|
144
|
+
};
|
|
119
145
|
exports.DataTypesGrantStoreAccessRequestAccessLevelEnum = {
|
|
120
146
|
Read: 'read',
|
|
121
147
|
Write: 'write',
|
|
@@ -20978,6 +21004,469 @@ class CustomEventsApi extends base_1.BaseAPI {
|
|
|
20978
21004
|
}
|
|
20979
21005
|
}
|
|
20980
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;
|
|
20981
21470
|
/**
|
|
20982
21471
|
* CustomStopwordsApi - axios parameter creator
|
|
20983
21472
|
* @export
|
|
@@ -23488,6 +23977,664 @@ class DocumentsApi extends base_1.BaseAPI {
|
|
|
23488
23977
|
}
|
|
23489
23978
|
}
|
|
23490
23979
|
exports.DocumentsApi = DocumentsApi;
|
|
23980
|
+
/**
|
|
23981
|
+
* ExperimentsApi - axios parameter creator
|
|
23982
|
+
* @export
|
|
23983
|
+
*/
|
|
23984
|
+
const ExperimentsApiAxiosParamCreator = function (configuration) {
|
|
23985
|
+
return {
|
|
23986
|
+
/**
|
|
23987
|
+
* Returns all experiments for the authenticated organization, optionally filtered by store.
|
|
23988
|
+
* @summary List all experiments
|
|
23989
|
+
* @param {*} [options] Override http request option.
|
|
23990
|
+
* @throws {RequiredError}
|
|
23991
|
+
*/
|
|
23992
|
+
v1AdminExperimentsGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
23993
|
+
const localVarPath = `/v1/admin/experiments/`;
|
|
23994
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23995
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
23996
|
+
let baseOptions;
|
|
23997
|
+
if (configuration) {
|
|
23998
|
+
baseOptions = configuration.baseOptions;
|
|
23999
|
+
}
|
|
24000
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
24001
|
+
const localVarHeaderParameter = {};
|
|
24002
|
+
const localVarQueryParameter = {};
|
|
24003
|
+
// authentication BearerAuth required
|
|
24004
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
24005
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
24006
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
24007
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
24008
|
+
return {
|
|
24009
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
24010
|
+
options: localVarRequestOptions,
|
|
24011
|
+
};
|
|
24012
|
+
}),
|
|
24013
|
+
/**
|
|
24014
|
+
* Transitions a running or paused experiment to completed status, optionally declaring a winner.
|
|
24015
|
+
* @summary Complete an experiment
|
|
24016
|
+
* @param {string} id Experiment ID (slug)
|
|
24017
|
+
* @param {object} [body] Optional winner variant ID
|
|
24018
|
+
* @param {*} [options] Override http request option.
|
|
24019
|
+
* @throws {RequiredError}
|
|
24020
|
+
*/
|
|
24021
|
+
v1AdminExperimentsIdCompletePost: (id_1, body_1, ...args_1) => __awaiter(this, [id_1, body_1, ...args_1], void 0, function* (id, body, options = {}) {
|
|
24022
|
+
// verify required parameter 'id' is not null or undefined
|
|
24023
|
+
(0, common_1.assertParamExists)('v1AdminExperimentsIdCompletePost', 'id', id);
|
|
24024
|
+
const localVarPath = `/v1/admin/experiments/{id}/complete`
|
|
24025
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
24026
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
24027
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
24028
|
+
let baseOptions;
|
|
24029
|
+
if (configuration) {
|
|
24030
|
+
baseOptions = configuration.baseOptions;
|
|
24031
|
+
}
|
|
24032
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
24033
|
+
const localVarHeaderParameter = {};
|
|
24034
|
+
const localVarQueryParameter = {};
|
|
24035
|
+
// authentication BearerAuth required
|
|
24036
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
24037
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
24038
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
24039
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
24040
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
24041
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
|
|
24042
|
+
return {
|
|
24043
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
24044
|
+
options: localVarRequestOptions,
|
|
24045
|
+
};
|
|
24046
|
+
}),
|
|
24047
|
+
/**
|
|
24048
|
+
* Deletes an experiment. Only experiments in draft status can be deleted.
|
|
24049
|
+
* @summary Delete a draft experiment
|
|
24050
|
+
* @param {string} id Experiment ID (slug)
|
|
24051
|
+
* @param {*} [options] Override http request option.
|
|
24052
|
+
* @throws {RequiredError}
|
|
24053
|
+
*/
|
|
24054
|
+
v1AdminExperimentsIdDelete: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
24055
|
+
// verify required parameter 'id' is not null or undefined
|
|
24056
|
+
(0, common_1.assertParamExists)('v1AdminExperimentsIdDelete', 'id', id);
|
|
24057
|
+
const localVarPath = `/v1/admin/experiments/{id}`
|
|
24058
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
24059
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
24060
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
24061
|
+
let baseOptions;
|
|
24062
|
+
if (configuration) {
|
|
24063
|
+
baseOptions = configuration.baseOptions;
|
|
24064
|
+
}
|
|
24065
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
24066
|
+
const localVarHeaderParameter = {};
|
|
24067
|
+
const localVarQueryParameter = {};
|
|
24068
|
+
// authentication BearerAuth required
|
|
24069
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
24070
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
24071
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
24072
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
24073
|
+
return {
|
|
24074
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
24075
|
+
options: localVarRequestOptions,
|
|
24076
|
+
};
|
|
24077
|
+
}),
|
|
24078
|
+
/**
|
|
24079
|
+
* Returns a single experiment by its experiment_id slug.
|
|
24080
|
+
* @summary Get experiment by ID
|
|
24081
|
+
* @param {string} id Experiment ID (slug)
|
|
24082
|
+
* @param {*} [options] Override http request option.
|
|
24083
|
+
* @throws {RequiredError}
|
|
24084
|
+
*/
|
|
24085
|
+
v1AdminExperimentsIdGet: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
24086
|
+
// verify required parameter 'id' is not null or undefined
|
|
24087
|
+
(0, common_1.assertParamExists)('v1AdminExperimentsIdGet', 'id', id);
|
|
24088
|
+
const localVarPath = `/v1/admin/experiments/{id}`
|
|
24089
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
24090
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
24091
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
24092
|
+
let baseOptions;
|
|
24093
|
+
if (configuration) {
|
|
24094
|
+
baseOptions = configuration.baseOptions;
|
|
24095
|
+
}
|
|
24096
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
24097
|
+
const localVarHeaderParameter = {};
|
|
24098
|
+
const localVarQueryParameter = {};
|
|
24099
|
+
// authentication BearerAuth required
|
|
24100
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
24101
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
24102
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
24103
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
24104
|
+
return {
|
|
24105
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
24106
|
+
options: localVarRequestOptions,
|
|
24107
|
+
};
|
|
24108
|
+
}),
|
|
24109
|
+
/**
|
|
24110
|
+
* Transitions a running experiment to paused status.
|
|
24111
|
+
* @summary Pause an experiment
|
|
24112
|
+
* @param {string} id Experiment ID (slug)
|
|
24113
|
+
* @param {*} [options] Override http request option.
|
|
24114
|
+
* @throws {RequiredError}
|
|
24115
|
+
*/
|
|
24116
|
+
v1AdminExperimentsIdPausePost: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
24117
|
+
// verify required parameter 'id' is not null or undefined
|
|
24118
|
+
(0, common_1.assertParamExists)('v1AdminExperimentsIdPausePost', 'id', id);
|
|
24119
|
+
const localVarPath = `/v1/admin/experiments/{id}/pause`
|
|
24120
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
24121
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
24122
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
24123
|
+
let baseOptions;
|
|
24124
|
+
if (configuration) {
|
|
24125
|
+
baseOptions = configuration.baseOptions;
|
|
24126
|
+
}
|
|
24127
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
24128
|
+
const localVarHeaderParameter = {};
|
|
24129
|
+
const localVarQueryParameter = {};
|
|
24130
|
+
// authentication BearerAuth required
|
|
24131
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
24132
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
24133
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
24134
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
24135
|
+
return {
|
|
24136
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
24137
|
+
options: localVarRequestOptions,
|
|
24138
|
+
};
|
|
24139
|
+
}),
|
|
24140
|
+
/**
|
|
24141
|
+
* Updates an existing experiment. Only draft experiments can be fully updated.
|
|
24142
|
+
* @summary Update an experiment
|
|
24143
|
+
* @param {string} id Experiment ID (slug)
|
|
24144
|
+
* @param {DataTypesUpdateExperimentRequest} dataTypesUpdateExperimentRequest Fields to update
|
|
24145
|
+
* @param {*} [options] Override http request option.
|
|
24146
|
+
* @throws {RequiredError}
|
|
24147
|
+
*/
|
|
24148
|
+
v1AdminExperimentsIdPut: (id_1, dataTypesUpdateExperimentRequest_1, ...args_1) => __awaiter(this, [id_1, dataTypesUpdateExperimentRequest_1, ...args_1], void 0, function* (id, dataTypesUpdateExperimentRequest, options = {}) {
|
|
24149
|
+
// verify required parameter 'id' is not null or undefined
|
|
24150
|
+
(0, common_1.assertParamExists)('v1AdminExperimentsIdPut', 'id', id);
|
|
24151
|
+
// verify required parameter 'dataTypesUpdateExperimentRequest' is not null or undefined
|
|
24152
|
+
(0, common_1.assertParamExists)('v1AdminExperimentsIdPut', 'dataTypesUpdateExperimentRequest', dataTypesUpdateExperimentRequest);
|
|
24153
|
+
const localVarPath = `/v1/admin/experiments/{id}`
|
|
24154
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
24155
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
24156
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
24157
|
+
let baseOptions;
|
|
24158
|
+
if (configuration) {
|
|
24159
|
+
baseOptions = configuration.baseOptions;
|
|
24160
|
+
}
|
|
24161
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
24162
|
+
const localVarHeaderParameter = {};
|
|
24163
|
+
const localVarQueryParameter = {};
|
|
24164
|
+
// authentication BearerAuth required
|
|
24165
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
24166
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
24167
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
24168
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
24169
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
24170
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dataTypesUpdateExperimentRequest, localVarRequestOptions, configuration);
|
|
24171
|
+
return {
|
|
24172
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
24173
|
+
options: localVarRequestOptions,
|
|
24174
|
+
};
|
|
24175
|
+
}),
|
|
24176
|
+
/**
|
|
24177
|
+
* Returns analytics results for an experiment from ClickHouse, including per-variant metrics, lifts, and statistical significance.
|
|
24178
|
+
* @summary Get experiment results
|
|
24179
|
+
* @param {string} id Experiment ID (slug)
|
|
24180
|
+
* @param {*} [options] Override http request option.
|
|
24181
|
+
* @throws {RequiredError}
|
|
24182
|
+
*/
|
|
24183
|
+
v1AdminExperimentsIdResultsGet: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
24184
|
+
// verify required parameter 'id' is not null or undefined
|
|
24185
|
+
(0, common_1.assertParamExists)('v1AdminExperimentsIdResultsGet', 'id', id);
|
|
24186
|
+
const localVarPath = `/v1/admin/experiments/{id}/results`
|
|
24187
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
24188
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
24189
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
24190
|
+
let baseOptions;
|
|
24191
|
+
if (configuration) {
|
|
24192
|
+
baseOptions = configuration.baseOptions;
|
|
24193
|
+
}
|
|
24194
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
24195
|
+
const localVarHeaderParameter = {};
|
|
24196
|
+
const localVarQueryParameter = {};
|
|
24197
|
+
// authentication BearerAuth required
|
|
24198
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
24199
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
24200
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
24201
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
24202
|
+
return {
|
|
24203
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
24204
|
+
options: localVarRequestOptions,
|
|
24205
|
+
};
|
|
24206
|
+
}),
|
|
24207
|
+
/**
|
|
24208
|
+
* Transitions a draft or paused experiment to running status.
|
|
24209
|
+
* @summary Start an experiment
|
|
24210
|
+
* @param {string} id Experiment ID (slug)
|
|
24211
|
+
* @param {*} [options] Override http request option.
|
|
24212
|
+
* @throws {RequiredError}
|
|
24213
|
+
*/
|
|
24214
|
+
v1AdminExperimentsIdStartPost: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
24215
|
+
// verify required parameter 'id' is not null or undefined
|
|
24216
|
+
(0, common_1.assertParamExists)('v1AdminExperimentsIdStartPost', 'id', id);
|
|
24217
|
+
const localVarPath = `/v1/admin/experiments/{id}/start`
|
|
24218
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
24219
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
24220
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
24221
|
+
let baseOptions;
|
|
24222
|
+
if (configuration) {
|
|
24223
|
+
baseOptions = configuration.baseOptions;
|
|
24224
|
+
}
|
|
24225
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
24226
|
+
const localVarHeaderParameter = {};
|
|
24227
|
+
const localVarQueryParameter = {};
|
|
24228
|
+
// authentication BearerAuth required
|
|
24229
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
24230
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
24231
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
24232
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
24233
|
+
return {
|
|
24234
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
24235
|
+
options: localVarRequestOptions,
|
|
24236
|
+
};
|
|
24237
|
+
}),
|
|
24238
|
+
/**
|
|
24239
|
+
* Creates a new A/B test experiment in draft status.
|
|
24240
|
+
* @summary Create a new experiment
|
|
24241
|
+
* @param {DataTypesCreateExperimentRequest} dataTypesCreateExperimentRequest Experiment data
|
|
24242
|
+
* @param {*} [options] Override http request option.
|
|
24243
|
+
* @throws {RequiredError}
|
|
24244
|
+
*/
|
|
24245
|
+
v1AdminExperimentsPost: (dataTypesCreateExperimentRequest_1, ...args_1) => __awaiter(this, [dataTypesCreateExperimentRequest_1, ...args_1], void 0, function* (dataTypesCreateExperimentRequest, options = {}) {
|
|
24246
|
+
// verify required parameter 'dataTypesCreateExperimentRequest' is not null or undefined
|
|
24247
|
+
(0, common_1.assertParamExists)('v1AdminExperimentsPost', 'dataTypesCreateExperimentRequest', dataTypesCreateExperimentRequest);
|
|
24248
|
+
const localVarPath = `/v1/admin/experiments/`;
|
|
24249
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
24250
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
24251
|
+
let baseOptions;
|
|
24252
|
+
if (configuration) {
|
|
24253
|
+
baseOptions = configuration.baseOptions;
|
|
24254
|
+
}
|
|
24255
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
24256
|
+
const localVarHeaderParameter = {};
|
|
24257
|
+
const localVarQueryParameter = {};
|
|
24258
|
+
// authentication BearerAuth required
|
|
24259
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
24260
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
24261
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
24262
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
24263
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
24264
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dataTypesCreateExperimentRequest, localVarRequestOptions, configuration);
|
|
24265
|
+
return {
|
|
24266
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
24267
|
+
options: localVarRequestOptions,
|
|
24268
|
+
};
|
|
24269
|
+
}),
|
|
24270
|
+
};
|
|
24271
|
+
};
|
|
24272
|
+
exports.ExperimentsApiAxiosParamCreator = ExperimentsApiAxiosParamCreator;
|
|
24273
|
+
/**
|
|
24274
|
+
* ExperimentsApi - functional programming interface
|
|
24275
|
+
* @export
|
|
24276
|
+
*/
|
|
24277
|
+
const ExperimentsApiFp = function (configuration) {
|
|
24278
|
+
const localVarAxiosParamCreator = (0, exports.ExperimentsApiAxiosParamCreator)(configuration);
|
|
24279
|
+
return {
|
|
24280
|
+
/**
|
|
24281
|
+
* Returns all experiments for the authenticated organization, optionally filtered by store.
|
|
24282
|
+
* @summary List all experiments
|
|
24283
|
+
* @param {*} [options] Override http request option.
|
|
24284
|
+
* @throws {RequiredError}
|
|
24285
|
+
*/
|
|
24286
|
+
v1AdminExperimentsGet(options) {
|
|
24287
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
24288
|
+
var _a, _b, _c;
|
|
24289
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1AdminExperimentsGet(options);
|
|
24290
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
24291
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ExperimentsApi.v1AdminExperimentsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
24292
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
24293
|
+
});
|
|
24294
|
+
},
|
|
24295
|
+
/**
|
|
24296
|
+
* Transitions a running or paused experiment to completed status, optionally declaring a winner.
|
|
24297
|
+
* @summary Complete an experiment
|
|
24298
|
+
* @param {string} id Experiment ID (slug)
|
|
24299
|
+
* @param {object} [body] Optional winner variant ID
|
|
24300
|
+
* @param {*} [options] Override http request option.
|
|
24301
|
+
* @throws {RequiredError}
|
|
24302
|
+
*/
|
|
24303
|
+
v1AdminExperimentsIdCompletePost(id, body, options) {
|
|
24304
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
24305
|
+
var _a, _b, _c;
|
|
24306
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1AdminExperimentsIdCompletePost(id, body, options);
|
|
24307
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
24308
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ExperimentsApi.v1AdminExperimentsIdCompletePost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
24309
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
24310
|
+
});
|
|
24311
|
+
},
|
|
24312
|
+
/**
|
|
24313
|
+
* Deletes an experiment. Only experiments in draft status can be deleted.
|
|
24314
|
+
* @summary Delete a draft experiment
|
|
24315
|
+
* @param {string} id Experiment ID (slug)
|
|
24316
|
+
* @param {*} [options] Override http request option.
|
|
24317
|
+
* @throws {RequiredError}
|
|
24318
|
+
*/
|
|
24319
|
+
v1AdminExperimentsIdDelete(id, options) {
|
|
24320
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
24321
|
+
var _a, _b, _c;
|
|
24322
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1AdminExperimentsIdDelete(id, options);
|
|
24323
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
24324
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ExperimentsApi.v1AdminExperimentsIdDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
24325
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
24326
|
+
});
|
|
24327
|
+
},
|
|
24328
|
+
/**
|
|
24329
|
+
* Returns a single experiment by its experiment_id slug.
|
|
24330
|
+
* @summary Get experiment by ID
|
|
24331
|
+
* @param {string} id Experiment ID (slug)
|
|
24332
|
+
* @param {*} [options] Override http request option.
|
|
24333
|
+
* @throws {RequiredError}
|
|
24334
|
+
*/
|
|
24335
|
+
v1AdminExperimentsIdGet(id, options) {
|
|
24336
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
24337
|
+
var _a, _b, _c;
|
|
24338
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1AdminExperimentsIdGet(id, options);
|
|
24339
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
24340
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ExperimentsApi.v1AdminExperimentsIdGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
24341
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
24342
|
+
});
|
|
24343
|
+
},
|
|
24344
|
+
/**
|
|
24345
|
+
* Transitions a running experiment to paused status.
|
|
24346
|
+
* @summary Pause an experiment
|
|
24347
|
+
* @param {string} id Experiment ID (slug)
|
|
24348
|
+
* @param {*} [options] Override http request option.
|
|
24349
|
+
* @throws {RequiredError}
|
|
24350
|
+
*/
|
|
24351
|
+
v1AdminExperimentsIdPausePost(id, options) {
|
|
24352
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
24353
|
+
var _a, _b, _c;
|
|
24354
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1AdminExperimentsIdPausePost(id, options);
|
|
24355
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
24356
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ExperimentsApi.v1AdminExperimentsIdPausePost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
24357
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
24358
|
+
});
|
|
24359
|
+
},
|
|
24360
|
+
/**
|
|
24361
|
+
* Updates an existing experiment. Only draft experiments can be fully updated.
|
|
24362
|
+
* @summary Update an experiment
|
|
24363
|
+
* @param {string} id Experiment ID (slug)
|
|
24364
|
+
* @param {DataTypesUpdateExperimentRequest} dataTypesUpdateExperimentRequest Fields to update
|
|
24365
|
+
* @param {*} [options] Override http request option.
|
|
24366
|
+
* @throws {RequiredError}
|
|
24367
|
+
*/
|
|
24368
|
+
v1AdminExperimentsIdPut(id, dataTypesUpdateExperimentRequest, options) {
|
|
24369
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
24370
|
+
var _a, _b, _c;
|
|
24371
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1AdminExperimentsIdPut(id, dataTypesUpdateExperimentRequest, options);
|
|
24372
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
24373
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ExperimentsApi.v1AdminExperimentsIdPut']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
24374
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
24375
|
+
});
|
|
24376
|
+
},
|
|
24377
|
+
/**
|
|
24378
|
+
* Returns analytics results for an experiment from ClickHouse, including per-variant metrics, lifts, and statistical significance.
|
|
24379
|
+
* @summary Get experiment results
|
|
24380
|
+
* @param {string} id Experiment ID (slug)
|
|
24381
|
+
* @param {*} [options] Override http request option.
|
|
24382
|
+
* @throws {RequiredError}
|
|
24383
|
+
*/
|
|
24384
|
+
v1AdminExperimentsIdResultsGet(id, options) {
|
|
24385
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
24386
|
+
var _a, _b, _c;
|
|
24387
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1AdminExperimentsIdResultsGet(id, options);
|
|
24388
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
24389
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ExperimentsApi.v1AdminExperimentsIdResultsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
24390
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
24391
|
+
});
|
|
24392
|
+
},
|
|
24393
|
+
/**
|
|
24394
|
+
* Transitions a draft or paused experiment to running status.
|
|
24395
|
+
* @summary Start an experiment
|
|
24396
|
+
* @param {string} id Experiment ID (slug)
|
|
24397
|
+
* @param {*} [options] Override http request option.
|
|
24398
|
+
* @throws {RequiredError}
|
|
24399
|
+
*/
|
|
24400
|
+
v1AdminExperimentsIdStartPost(id, options) {
|
|
24401
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
24402
|
+
var _a, _b, _c;
|
|
24403
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1AdminExperimentsIdStartPost(id, options);
|
|
24404
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
24405
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ExperimentsApi.v1AdminExperimentsIdStartPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
24406
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
24407
|
+
});
|
|
24408
|
+
},
|
|
24409
|
+
/**
|
|
24410
|
+
* Creates a new A/B test experiment in draft status.
|
|
24411
|
+
* @summary Create a new experiment
|
|
24412
|
+
* @param {DataTypesCreateExperimentRequest} dataTypesCreateExperimentRequest Experiment data
|
|
24413
|
+
* @param {*} [options] Override http request option.
|
|
24414
|
+
* @throws {RequiredError}
|
|
24415
|
+
*/
|
|
24416
|
+
v1AdminExperimentsPost(dataTypesCreateExperimentRequest, options) {
|
|
24417
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
24418
|
+
var _a, _b, _c;
|
|
24419
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1AdminExperimentsPost(dataTypesCreateExperimentRequest, options);
|
|
24420
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
24421
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ExperimentsApi.v1AdminExperimentsPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
24422
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
24423
|
+
});
|
|
24424
|
+
},
|
|
24425
|
+
};
|
|
24426
|
+
};
|
|
24427
|
+
exports.ExperimentsApiFp = ExperimentsApiFp;
|
|
24428
|
+
/**
|
|
24429
|
+
* ExperimentsApi - factory interface
|
|
24430
|
+
* @export
|
|
24431
|
+
*/
|
|
24432
|
+
const ExperimentsApiFactory = function (configuration, basePath, axios) {
|
|
24433
|
+
const localVarFp = (0, exports.ExperimentsApiFp)(configuration);
|
|
24434
|
+
return {
|
|
24435
|
+
/**
|
|
24436
|
+
* Returns all experiments for the authenticated organization, optionally filtered by store.
|
|
24437
|
+
* @summary List all experiments
|
|
24438
|
+
* @param {*} [options] Override http request option.
|
|
24439
|
+
* @throws {RequiredError}
|
|
24440
|
+
*/
|
|
24441
|
+
v1AdminExperimentsGet(options) {
|
|
24442
|
+
return localVarFp.v1AdminExperimentsGet(options).then((request) => request(axios, basePath));
|
|
24443
|
+
},
|
|
24444
|
+
/**
|
|
24445
|
+
* Transitions a running or paused experiment to completed status, optionally declaring a winner.
|
|
24446
|
+
* @summary Complete an experiment
|
|
24447
|
+
* @param {string} id Experiment ID (slug)
|
|
24448
|
+
* @param {object} [body] Optional winner variant ID
|
|
24449
|
+
* @param {*} [options] Override http request option.
|
|
24450
|
+
* @throws {RequiredError}
|
|
24451
|
+
*/
|
|
24452
|
+
v1AdminExperimentsIdCompletePost(id, body, options) {
|
|
24453
|
+
return localVarFp.v1AdminExperimentsIdCompletePost(id, body, options).then((request) => request(axios, basePath));
|
|
24454
|
+
},
|
|
24455
|
+
/**
|
|
24456
|
+
* Deletes an experiment. Only experiments in draft status can be deleted.
|
|
24457
|
+
* @summary Delete a draft experiment
|
|
24458
|
+
* @param {string} id Experiment ID (slug)
|
|
24459
|
+
* @param {*} [options] Override http request option.
|
|
24460
|
+
* @throws {RequiredError}
|
|
24461
|
+
*/
|
|
24462
|
+
v1AdminExperimentsIdDelete(id, options) {
|
|
24463
|
+
return localVarFp.v1AdminExperimentsIdDelete(id, options).then((request) => request(axios, basePath));
|
|
24464
|
+
},
|
|
24465
|
+
/**
|
|
24466
|
+
* Returns a single experiment by its experiment_id slug.
|
|
24467
|
+
* @summary Get experiment by ID
|
|
24468
|
+
* @param {string} id Experiment ID (slug)
|
|
24469
|
+
* @param {*} [options] Override http request option.
|
|
24470
|
+
* @throws {RequiredError}
|
|
24471
|
+
*/
|
|
24472
|
+
v1AdminExperimentsIdGet(id, options) {
|
|
24473
|
+
return localVarFp.v1AdminExperimentsIdGet(id, options).then((request) => request(axios, basePath));
|
|
24474
|
+
},
|
|
24475
|
+
/**
|
|
24476
|
+
* Transitions a running experiment to paused status.
|
|
24477
|
+
* @summary Pause an experiment
|
|
24478
|
+
* @param {string} id Experiment ID (slug)
|
|
24479
|
+
* @param {*} [options] Override http request option.
|
|
24480
|
+
* @throws {RequiredError}
|
|
24481
|
+
*/
|
|
24482
|
+
v1AdminExperimentsIdPausePost(id, options) {
|
|
24483
|
+
return localVarFp.v1AdminExperimentsIdPausePost(id, options).then((request) => request(axios, basePath));
|
|
24484
|
+
},
|
|
24485
|
+
/**
|
|
24486
|
+
* Updates an existing experiment. Only draft experiments can be fully updated.
|
|
24487
|
+
* @summary Update an experiment
|
|
24488
|
+
* @param {string} id Experiment ID (slug)
|
|
24489
|
+
* @param {DataTypesUpdateExperimentRequest} dataTypesUpdateExperimentRequest Fields to update
|
|
24490
|
+
* @param {*} [options] Override http request option.
|
|
24491
|
+
* @throws {RequiredError}
|
|
24492
|
+
*/
|
|
24493
|
+
v1AdminExperimentsIdPut(id, dataTypesUpdateExperimentRequest, options) {
|
|
24494
|
+
return localVarFp.v1AdminExperimentsIdPut(id, dataTypesUpdateExperimentRequest, options).then((request) => request(axios, basePath));
|
|
24495
|
+
},
|
|
24496
|
+
/**
|
|
24497
|
+
* Returns analytics results for an experiment from ClickHouse, including per-variant metrics, lifts, and statistical significance.
|
|
24498
|
+
* @summary Get experiment results
|
|
24499
|
+
* @param {string} id Experiment ID (slug)
|
|
24500
|
+
* @param {*} [options] Override http request option.
|
|
24501
|
+
* @throws {RequiredError}
|
|
24502
|
+
*/
|
|
24503
|
+
v1AdminExperimentsIdResultsGet(id, options) {
|
|
24504
|
+
return localVarFp.v1AdminExperimentsIdResultsGet(id, options).then((request) => request(axios, basePath));
|
|
24505
|
+
},
|
|
24506
|
+
/**
|
|
24507
|
+
* Transitions a draft or paused experiment to running status.
|
|
24508
|
+
* @summary Start an experiment
|
|
24509
|
+
* @param {string} id Experiment ID (slug)
|
|
24510
|
+
* @param {*} [options] Override http request option.
|
|
24511
|
+
* @throws {RequiredError}
|
|
24512
|
+
*/
|
|
24513
|
+
v1AdminExperimentsIdStartPost(id, options) {
|
|
24514
|
+
return localVarFp.v1AdminExperimentsIdStartPost(id, options).then((request) => request(axios, basePath));
|
|
24515
|
+
},
|
|
24516
|
+
/**
|
|
24517
|
+
* Creates a new A/B test experiment in draft status.
|
|
24518
|
+
* @summary Create a new experiment
|
|
24519
|
+
* @param {DataTypesCreateExperimentRequest} dataTypesCreateExperimentRequest Experiment data
|
|
24520
|
+
* @param {*} [options] Override http request option.
|
|
24521
|
+
* @throws {RequiredError}
|
|
24522
|
+
*/
|
|
24523
|
+
v1AdminExperimentsPost(dataTypesCreateExperimentRequest, options) {
|
|
24524
|
+
return localVarFp.v1AdminExperimentsPost(dataTypesCreateExperimentRequest, options).then((request) => request(axios, basePath));
|
|
24525
|
+
},
|
|
24526
|
+
};
|
|
24527
|
+
};
|
|
24528
|
+
exports.ExperimentsApiFactory = ExperimentsApiFactory;
|
|
24529
|
+
/**
|
|
24530
|
+
* ExperimentsApi - object-oriented interface
|
|
24531
|
+
* @export
|
|
24532
|
+
* @class ExperimentsApi
|
|
24533
|
+
* @extends {BaseAPI}
|
|
24534
|
+
*/
|
|
24535
|
+
class ExperimentsApi extends base_1.BaseAPI {
|
|
24536
|
+
/**
|
|
24537
|
+
* Returns all experiments for the authenticated organization, optionally filtered by store.
|
|
24538
|
+
* @summary List all experiments
|
|
24539
|
+
* @param {*} [options] Override http request option.
|
|
24540
|
+
* @throws {RequiredError}
|
|
24541
|
+
* @memberof ExperimentsApi
|
|
24542
|
+
*/
|
|
24543
|
+
v1AdminExperimentsGet(options) {
|
|
24544
|
+
return (0, exports.ExperimentsApiFp)(this.configuration).v1AdminExperimentsGet(options).then((request) => request(this.axios, this.basePath));
|
|
24545
|
+
}
|
|
24546
|
+
/**
|
|
24547
|
+
* Transitions a running or paused experiment to completed status, optionally declaring a winner.
|
|
24548
|
+
* @summary Complete an experiment
|
|
24549
|
+
* @param {string} id Experiment ID (slug)
|
|
24550
|
+
* @param {object} [body] Optional winner variant ID
|
|
24551
|
+
* @param {*} [options] Override http request option.
|
|
24552
|
+
* @throws {RequiredError}
|
|
24553
|
+
* @memberof ExperimentsApi
|
|
24554
|
+
*/
|
|
24555
|
+
v1AdminExperimentsIdCompletePost(id, body, options) {
|
|
24556
|
+
return (0, exports.ExperimentsApiFp)(this.configuration).v1AdminExperimentsIdCompletePost(id, body, options).then((request) => request(this.axios, this.basePath));
|
|
24557
|
+
}
|
|
24558
|
+
/**
|
|
24559
|
+
* Deletes an experiment. Only experiments in draft status can be deleted.
|
|
24560
|
+
* @summary Delete a draft experiment
|
|
24561
|
+
* @param {string} id Experiment ID (slug)
|
|
24562
|
+
* @param {*} [options] Override http request option.
|
|
24563
|
+
* @throws {RequiredError}
|
|
24564
|
+
* @memberof ExperimentsApi
|
|
24565
|
+
*/
|
|
24566
|
+
v1AdminExperimentsIdDelete(id, options) {
|
|
24567
|
+
return (0, exports.ExperimentsApiFp)(this.configuration).v1AdminExperimentsIdDelete(id, options).then((request) => request(this.axios, this.basePath));
|
|
24568
|
+
}
|
|
24569
|
+
/**
|
|
24570
|
+
* Returns a single experiment by its experiment_id slug.
|
|
24571
|
+
* @summary Get experiment by ID
|
|
24572
|
+
* @param {string} id Experiment ID (slug)
|
|
24573
|
+
* @param {*} [options] Override http request option.
|
|
24574
|
+
* @throws {RequiredError}
|
|
24575
|
+
* @memberof ExperimentsApi
|
|
24576
|
+
*/
|
|
24577
|
+
v1AdminExperimentsIdGet(id, options) {
|
|
24578
|
+
return (0, exports.ExperimentsApiFp)(this.configuration).v1AdminExperimentsIdGet(id, options).then((request) => request(this.axios, this.basePath));
|
|
24579
|
+
}
|
|
24580
|
+
/**
|
|
24581
|
+
* Transitions a running experiment to paused status.
|
|
24582
|
+
* @summary Pause an experiment
|
|
24583
|
+
* @param {string} id Experiment ID (slug)
|
|
24584
|
+
* @param {*} [options] Override http request option.
|
|
24585
|
+
* @throws {RequiredError}
|
|
24586
|
+
* @memberof ExperimentsApi
|
|
24587
|
+
*/
|
|
24588
|
+
v1AdminExperimentsIdPausePost(id, options) {
|
|
24589
|
+
return (0, exports.ExperimentsApiFp)(this.configuration).v1AdminExperimentsIdPausePost(id, options).then((request) => request(this.axios, this.basePath));
|
|
24590
|
+
}
|
|
24591
|
+
/**
|
|
24592
|
+
* Updates an existing experiment. Only draft experiments can be fully updated.
|
|
24593
|
+
* @summary Update an experiment
|
|
24594
|
+
* @param {string} id Experiment ID (slug)
|
|
24595
|
+
* @param {DataTypesUpdateExperimentRequest} dataTypesUpdateExperimentRequest Fields to update
|
|
24596
|
+
* @param {*} [options] Override http request option.
|
|
24597
|
+
* @throws {RequiredError}
|
|
24598
|
+
* @memberof ExperimentsApi
|
|
24599
|
+
*/
|
|
24600
|
+
v1AdminExperimentsIdPut(id, dataTypesUpdateExperimentRequest, options) {
|
|
24601
|
+
return (0, exports.ExperimentsApiFp)(this.configuration).v1AdminExperimentsIdPut(id, dataTypesUpdateExperimentRequest, options).then((request) => request(this.axios, this.basePath));
|
|
24602
|
+
}
|
|
24603
|
+
/**
|
|
24604
|
+
* Returns analytics results for an experiment from ClickHouse, including per-variant metrics, lifts, and statistical significance.
|
|
24605
|
+
* @summary Get experiment results
|
|
24606
|
+
* @param {string} id Experiment ID (slug)
|
|
24607
|
+
* @param {*} [options] Override http request option.
|
|
24608
|
+
* @throws {RequiredError}
|
|
24609
|
+
* @memberof ExperimentsApi
|
|
24610
|
+
*/
|
|
24611
|
+
v1AdminExperimentsIdResultsGet(id, options) {
|
|
24612
|
+
return (0, exports.ExperimentsApiFp)(this.configuration).v1AdminExperimentsIdResultsGet(id, options).then((request) => request(this.axios, this.basePath));
|
|
24613
|
+
}
|
|
24614
|
+
/**
|
|
24615
|
+
* Transitions a draft or paused experiment to running status.
|
|
24616
|
+
* @summary Start an experiment
|
|
24617
|
+
* @param {string} id Experiment ID (slug)
|
|
24618
|
+
* @param {*} [options] Override http request option.
|
|
24619
|
+
* @throws {RequiredError}
|
|
24620
|
+
* @memberof ExperimentsApi
|
|
24621
|
+
*/
|
|
24622
|
+
v1AdminExperimentsIdStartPost(id, options) {
|
|
24623
|
+
return (0, exports.ExperimentsApiFp)(this.configuration).v1AdminExperimentsIdStartPost(id, options).then((request) => request(this.axios, this.basePath));
|
|
24624
|
+
}
|
|
24625
|
+
/**
|
|
24626
|
+
* Creates a new A/B test experiment in draft status.
|
|
24627
|
+
* @summary Create a new experiment
|
|
24628
|
+
* @param {DataTypesCreateExperimentRequest} dataTypesCreateExperimentRequest Experiment data
|
|
24629
|
+
* @param {*} [options] Override http request option.
|
|
24630
|
+
* @throws {RequiredError}
|
|
24631
|
+
* @memberof ExperimentsApi
|
|
24632
|
+
*/
|
|
24633
|
+
v1AdminExperimentsPost(dataTypesCreateExperimentRequest, options) {
|
|
24634
|
+
return (0, exports.ExperimentsApiFp)(this.configuration).v1AdminExperimentsPost(dataTypesCreateExperimentRequest, options).then((request) => request(this.axios, this.basePath));
|
|
24635
|
+
}
|
|
24636
|
+
}
|
|
24637
|
+
exports.ExperimentsApi = ExperimentsApi;
|
|
23491
24638
|
/**
|
|
23492
24639
|
* ExternalAPINotificationsApi - axios parameter creator
|
|
23493
24640
|
* @export
|
|
@@ -24471,6 +25618,521 @@ class FeatureLimitsAdminApi extends base_1.BaseAPI {
|
|
|
24471
25618
|
}
|
|
24472
25619
|
}
|
|
24473
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;
|
|
24474
26136
|
/**
|
|
24475
26137
|
* ItemAnalyticsApi - axios parameter creator
|
|
24476
26138
|
* @export
|
|
@@ -40962,6 +42624,53 @@ const SDKDocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
40962
42624
|
options: localVarRequestOptions,
|
|
40963
42625
|
};
|
|
40964
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
|
+
}),
|
|
40965
42674
|
/**
|
|
40966
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.
|
|
40967
42676
|
* @summary Index a single document
|
|
@@ -41058,6 +42767,25 @@ const SDKDocumentsApiFp = function (configuration) {
|
|
|
41058
42767
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
41059
42768
|
});
|
|
41060
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
|
+
},
|
|
41061
42789
|
/**
|
|
41062
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.
|
|
41063
42791
|
* @summary Index a single document
|
|
@@ -41113,6 +42841,19 @@ const SDKDocumentsApiFactory = function (configuration, basePath, axios) {
|
|
|
41113
42841
|
apiV1StoresXStoreIDDocumentsDocumentIDDelete(xStoreid, xStoreWriteSecret, xStoreID, documentID, options) {
|
|
41114
42842
|
return localVarFp.apiV1StoresXStoreIDDocumentsDocumentIDDelete(xStoreid, xStoreWriteSecret, xStoreID, documentID, options).then((request) => request(axios, basePath));
|
|
41115
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
|
+
},
|
|
41116
42857
|
/**
|
|
41117
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.
|
|
41118
42859
|
* @summary Index a single document
|
|
@@ -41164,6 +42905,20 @@ class SDKDocumentsApi extends base_1.BaseAPI {
|
|
|
41164
42905
|
apiV1StoresXStoreIDDocumentsDocumentIDDelete(xStoreid, xStoreWriteSecret, xStoreID, documentID, options) {
|
|
41165
42906
|
return (0, exports.SDKDocumentsApiFp)(this.configuration).apiV1StoresXStoreIDDocumentsDocumentIDDelete(xStoreid, xStoreWriteSecret, xStoreID, documentID, options).then((request) => request(this.axios, this.basePath));
|
|
41166
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
|
+
}
|
|
41167
42922
|
/**
|
|
41168
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.
|
|
41169
42924
|
* @summary Index a single document
|
|
@@ -41180,6 +42935,137 @@ class SDKDocumentsApi extends base_1.BaseAPI {
|
|
|
41180
42935
|
}
|
|
41181
42936
|
}
|
|
41182
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;
|
|
41183
43069
|
/**
|
|
41184
43070
|
* SDKQuerySuggestionsConfigApi - axios parameter creator
|
|
41185
43071
|
* @export
|
|
@@ -45539,7 +47425,7 @@ const StoresApiAxiosParamCreator = function (configuration) {
|
|
|
45539
47425
|
};
|
|
45540
47426
|
}),
|
|
45541
47427
|
/**
|
|
45542
|
-
* 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.
|
|
45543
47429
|
* @summary Get Specific API Usage Event
|
|
45544
47430
|
* @param {string} xStoreID Store ID
|
|
45545
47431
|
* @param {string} eventID Event ID (UUID)
|
|
@@ -46229,7 +48115,7 @@ const StoresApiFp = function (configuration) {
|
|
|
46229
48115
|
});
|
|
46230
48116
|
},
|
|
46231
48117
|
/**
|
|
46232
|
-
* 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.
|
|
46233
48119
|
* @summary Get Specific API Usage Event
|
|
46234
48120
|
* @param {string} xStoreID Store ID
|
|
46235
48121
|
* @param {string} eventID Event ID (UUID)
|
|
@@ -46587,7 +48473,7 @@ const StoresApiFactory = function (configuration, basePath, axios) {
|
|
|
46587
48473
|
return localVarFp.adminStoresXStoreIDAnalyticsTimeseriesGet(xStoreID, metric, startDate, endDate, options).then((request) => request(axios, basePath));
|
|
46588
48474
|
},
|
|
46589
48475
|
/**
|
|
46590
|
-
* 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.
|
|
46591
48477
|
* @summary Get Specific API Usage Event
|
|
46592
48478
|
* @param {string} xStoreID Store ID
|
|
46593
48479
|
* @param {string} eventID Event ID (UUID)
|
|
@@ -46878,7 +48764,7 @@ class StoresApi extends base_1.BaseAPI {
|
|
|
46878
48764
|
return (0, exports.StoresApiFp)(this.configuration).adminStoresXStoreIDAnalyticsTimeseriesGet(xStoreID, metric, startDate, endDate, options).then((request) => request(this.axios, this.basePath));
|
|
46879
48765
|
}
|
|
46880
48766
|
/**
|
|
46881
|
-
* 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.
|
|
46882
48768
|
* @summary Get Specific API Usage Event
|
|
46883
48769
|
* @param {string} xStoreID Store ID
|
|
46884
48770
|
* @param {string} eventID Event ID (UUID)
|