@seekora-ai/admin-api 1.1.85 → 1.1.86
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +45 -3
- package/api.ts +2738 -471
- package/dist/api.d.ts +1705 -51
- package/dist/api.js +1212 -94
- package/dist/esm/api.d.ts +1705 -51
- package/dist/esm/api.js +1515 -409
- package/package.json +1 -1
- package/seekora-ai-admin-api-1.1.86.tgz +0 -0
- package/seekora-ai-admin-api-1.1.85.tgz +0 -0
package/dist/esm/api.js
CHANGED
|
@@ -20873,180 +20873,113 @@ export class CustomEventsApi extends BaseAPI {
|
|
|
20873
20873
|
}
|
|
20874
20874
|
}
|
|
20875
20875
|
/**
|
|
20876
|
-
*
|
|
20876
|
+
* CustomEventsAnalyticsApi - axios parameter creator
|
|
20877
20877
|
* @export
|
|
20878
20878
|
*/
|
|
20879
|
-
export const
|
|
20879
|
+
export const CustomEventsAnalyticsApiAxiosParamCreator = function (configuration) {
|
|
20880
20880
|
return {
|
|
20881
20881
|
/**
|
|
20882
|
-
*
|
|
20883
|
-
* @summary
|
|
20884
|
-
* @param {string} xStoreID
|
|
20885
|
-
* @param {
|
|
20882
|
+
* Returns a breakdown of values for a specific field slot of a custom event
|
|
20883
|
+
* @summary Get Custom Event Field Breakdown
|
|
20884
|
+
* @param {string} xStoreID Store ID
|
|
20885
|
+
* @param {string} authorization Bearer JWT token
|
|
20886
|
+
* @param {AnalyticsCustomEventFieldBreakdownRequestBody} analyticsCustomEventFieldBreakdownRequestBody Field breakdown request
|
|
20886
20887
|
* @param {*} [options] Override http request option.
|
|
20887
20888
|
* @throws {RequiredError}
|
|
20888
20889
|
*/
|
|
20889
|
-
|
|
20890
|
+
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 = {}) {
|
|
20890
20891
|
// verify required parameter 'xStoreID' is not null or undefined
|
|
20891
|
-
assertParamExists('
|
|
20892
|
-
// verify required parameter '
|
|
20893
|
-
assertParamExists('
|
|
20894
|
-
|
|
20895
|
-
|
|
20896
|
-
|
|
20892
|
+
assertParamExists('adminAnalyticsStoreXStoreIDCustomEventsAnalyticsFieldBreakdownPost', 'xStoreID', xStoreID);
|
|
20893
|
+
// verify required parameter 'authorization' is not null or undefined
|
|
20894
|
+
assertParamExists('adminAnalyticsStoreXStoreIDCustomEventsAnalyticsFieldBreakdownPost', 'authorization', authorization);
|
|
20895
|
+
// verify required parameter 'analyticsCustomEventFieldBreakdownRequestBody' is not null or undefined
|
|
20896
|
+
assertParamExists('adminAnalyticsStoreXStoreIDCustomEventsAnalyticsFieldBreakdownPost', 'analyticsCustomEventFieldBreakdownRequestBody', analyticsCustomEventFieldBreakdownRequestBody);
|
|
20897
|
+
const localVarPath = `/admin/analytics/store/{xStoreID}/custom-events/analytics/field-breakdown`
|
|
20898
|
+
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
|
|
20897
20899
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
20898
20900
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
20899
20901
|
let baseOptions;
|
|
20900
20902
|
if (configuration) {
|
|
20901
20903
|
baseOptions = configuration.baseOptions;
|
|
20902
20904
|
}
|
|
20903
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
20905
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
20904
20906
|
const localVarHeaderParameter = {};
|
|
20905
20907
|
const localVarQueryParameter = {};
|
|
20906
20908
|
// authentication BearerAuth required
|
|
20907
20909
|
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
20908
|
-
|
|
20909
|
-
|
|
20910
|
-
|
|
20911
|
-
return {
|
|
20912
|
-
url: toPathString(localVarUrlObj),
|
|
20913
|
-
options: localVarRequestOptions,
|
|
20914
|
-
};
|
|
20915
|
-
}),
|
|
20916
|
-
/**
|
|
20917
|
-
* Fetches a specific custom word list by ID
|
|
20918
|
-
* @summary Get custom word list by ID
|
|
20919
|
-
* @param {string} xStoreID X-Store ID
|
|
20920
|
-
* @param {number} customWordListID Custom Word List ID
|
|
20921
|
-
* @param {*} [options] Override http request option.
|
|
20922
|
-
* @throws {RequiredError}
|
|
20923
|
-
*/
|
|
20924
|
-
adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDGet: (xStoreID_1, customWordListID_1, ...args_1) => __awaiter(this, [xStoreID_1, customWordListID_1, ...args_1], void 0, function* (xStoreID, customWordListID, options = {}) {
|
|
20925
|
-
// verify required parameter 'xStoreID' is not null or undefined
|
|
20926
|
-
assertParamExists('adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDGet', 'xStoreID', xStoreID);
|
|
20927
|
-
// verify required parameter 'customWordListID' is not null or undefined
|
|
20928
|
-
assertParamExists('adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDGet', 'customWordListID', customWordListID);
|
|
20929
|
-
const localVarPath = `/admin/Stores/{xStoreID}/stopwords/custom-wordlists/{customWordListID}`
|
|
20930
|
-
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)))
|
|
20931
|
-
.replace(`{${"customWordListID"}}`, encodeURIComponent(String(customWordListID)));
|
|
20932
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
20933
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
20934
|
-
let baseOptions;
|
|
20935
|
-
if (configuration) {
|
|
20936
|
-
baseOptions = configuration.baseOptions;
|
|
20910
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
20911
|
+
if (authorization != null) {
|
|
20912
|
+
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
20937
20913
|
}
|
|
20938
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
20939
|
-
const localVarHeaderParameter = {};
|
|
20940
|
-
const localVarQueryParameter = {};
|
|
20941
|
-
// authentication BearerAuth required
|
|
20942
|
-
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
20943
20914
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
20944
20915
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
20945
20916
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
20917
|
+
localVarRequestOptions.data = serializeDataIfNeeded(analyticsCustomEventFieldBreakdownRequestBody, localVarRequestOptions, configuration);
|
|
20946
20918
|
return {
|
|
20947
20919
|
url: toPathString(localVarUrlObj),
|
|
20948
20920
|
options: localVarRequestOptions,
|
|
20949
20921
|
};
|
|
20950
20922
|
}),
|
|
20951
20923
|
/**
|
|
20952
|
-
*
|
|
20953
|
-
* @summary
|
|
20954
|
-
* @param {string} xStoreID
|
|
20955
|
-
* @param {
|
|
20956
|
-
* @param {
|
|
20924
|
+
* Returns aggregated custom event metrics including total events, unique users, unique sessions, and unique event types
|
|
20925
|
+
* @summary Get Custom Event Metrics
|
|
20926
|
+
* @param {string} xStoreID Store ID
|
|
20927
|
+
* @param {string} authorization Bearer JWT token
|
|
20928
|
+
* @param {AnalyticsCustomEventMetricsRequestBody} analyticsCustomEventMetricsRequestBody Custom event metrics request
|
|
20957
20929
|
* @param {*} [options] Override http request option.
|
|
20958
20930
|
* @throws {RequiredError}
|
|
20959
20931
|
*/
|
|
20960
|
-
|
|
20932
|
+
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 = {}) {
|
|
20961
20933
|
// verify required parameter 'xStoreID' is not null or undefined
|
|
20962
|
-
assertParamExists('
|
|
20963
|
-
// verify required parameter '
|
|
20964
|
-
assertParamExists('
|
|
20965
|
-
// verify required parameter '
|
|
20966
|
-
assertParamExists('
|
|
20967
|
-
const localVarPath = `/admin/
|
|
20968
|
-
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)))
|
|
20969
|
-
.replace(`{${"customWordListID"}}`, encodeURIComponent(String(customWordListID)));
|
|
20934
|
+
assertParamExists('adminAnalyticsStoreXStoreIDCustomEventsAnalyticsMetricsPost', 'xStoreID', xStoreID);
|
|
20935
|
+
// verify required parameter 'authorization' is not null or undefined
|
|
20936
|
+
assertParamExists('adminAnalyticsStoreXStoreIDCustomEventsAnalyticsMetricsPost', 'authorization', authorization);
|
|
20937
|
+
// verify required parameter 'analyticsCustomEventMetricsRequestBody' is not null or undefined
|
|
20938
|
+
assertParamExists('adminAnalyticsStoreXStoreIDCustomEventsAnalyticsMetricsPost', 'analyticsCustomEventMetricsRequestBody', analyticsCustomEventMetricsRequestBody);
|
|
20939
|
+
const localVarPath = `/admin/analytics/store/{xStoreID}/custom-events/analytics/metrics`
|
|
20940
|
+
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
|
|
20970
20941
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
20971
20942
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
20972
20943
|
let baseOptions;
|
|
20973
20944
|
if (configuration) {
|
|
20974
20945
|
baseOptions = configuration.baseOptions;
|
|
20975
20946
|
}
|
|
20976
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
20947
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
20977
20948
|
const localVarHeaderParameter = {};
|
|
20978
20949
|
const localVarQueryParameter = {};
|
|
20979
20950
|
// authentication BearerAuth required
|
|
20980
20951
|
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
20981
20952
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
20982
|
-
|
|
20983
|
-
|
|
20984
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
20985
|
-
localVarRequestOptions.data = serializeDataIfNeeded(dataTypesUpdateCustomWordListRequest, localVarRequestOptions, configuration);
|
|
20986
|
-
return {
|
|
20987
|
-
url: toPathString(localVarUrlObj),
|
|
20988
|
-
options: localVarRequestOptions,
|
|
20989
|
-
};
|
|
20990
|
-
}),
|
|
20991
|
-
/**
|
|
20992
|
-
* Removes words from a custom word list
|
|
20993
|
-
* @summary Remove words from custom word list
|
|
20994
|
-
* @param {string} xStoreID X-Store ID
|
|
20995
|
-
* @param {number} customWordListID Custom Word List ID
|
|
20996
|
-
* @param {DataTypesRemoveWordsFromCustomListRequest} dataTypesRemoveWordsFromCustomListRequest Remove words request
|
|
20997
|
-
* @param {*} [options] Override http request option.
|
|
20998
|
-
* @throws {RequiredError}
|
|
20999
|
-
*/
|
|
21000
|
-
adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsDelete: (xStoreID_1, customWordListID_1, dataTypesRemoveWordsFromCustomListRequest_1, ...args_1) => __awaiter(this, [xStoreID_1, customWordListID_1, dataTypesRemoveWordsFromCustomListRequest_1, ...args_1], void 0, function* (xStoreID, customWordListID, dataTypesRemoveWordsFromCustomListRequest, options = {}) {
|
|
21001
|
-
// verify required parameter 'xStoreID' is not null or undefined
|
|
21002
|
-
assertParamExists('adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsDelete', 'xStoreID', xStoreID);
|
|
21003
|
-
// verify required parameter 'customWordListID' is not null or undefined
|
|
21004
|
-
assertParamExists('adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsDelete', 'customWordListID', customWordListID);
|
|
21005
|
-
// verify required parameter 'dataTypesRemoveWordsFromCustomListRequest' is not null or undefined
|
|
21006
|
-
assertParamExists('adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsDelete', 'dataTypesRemoveWordsFromCustomListRequest', dataTypesRemoveWordsFromCustomListRequest);
|
|
21007
|
-
const localVarPath = `/admin/Stores/{xStoreID}/stopwords/custom-wordlists/{customWordListID}/words`
|
|
21008
|
-
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)))
|
|
21009
|
-
.replace(`{${"customWordListID"}}`, encodeURIComponent(String(customWordListID)));
|
|
21010
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
21011
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
21012
|
-
let baseOptions;
|
|
21013
|
-
if (configuration) {
|
|
21014
|
-
baseOptions = configuration.baseOptions;
|
|
20953
|
+
if (authorization != null) {
|
|
20954
|
+
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
21015
20955
|
}
|
|
21016
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
21017
|
-
const localVarHeaderParameter = {};
|
|
21018
|
-
const localVarQueryParameter = {};
|
|
21019
|
-
// authentication BearerAuth required
|
|
21020
|
-
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
21021
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
21022
20956
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
21023
20957
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21024
20958
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
21025
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
20959
|
+
localVarRequestOptions.data = serializeDataIfNeeded(analyticsCustomEventMetricsRequestBody, localVarRequestOptions, configuration);
|
|
21026
20960
|
return {
|
|
21027
20961
|
url: toPathString(localVarUrlObj),
|
|
21028
20962
|
options: localVarRequestOptions,
|
|
21029
20963
|
};
|
|
21030
20964
|
}),
|
|
21031
20965
|
/**
|
|
21032
|
-
*
|
|
21033
|
-
* @summary
|
|
21034
|
-
* @param {string} xStoreID
|
|
21035
|
-
* @param {
|
|
21036
|
-
* @param {
|
|
20966
|
+
* Returns paginated raw custom events with field data
|
|
20967
|
+
* @summary Get Custom Event Stream
|
|
20968
|
+
* @param {string} xStoreID Store ID
|
|
20969
|
+
* @param {string} authorization Bearer JWT token
|
|
20970
|
+
* @param {AnalyticsCustomEventStreamRequestBody} analyticsCustomEventStreamRequestBody Event stream request
|
|
21037
20971
|
* @param {*} [options] Override http request option.
|
|
21038
20972
|
* @throws {RequiredError}
|
|
21039
20973
|
*/
|
|
21040
|
-
|
|
20974
|
+
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 = {}) {
|
|
21041
20975
|
// verify required parameter 'xStoreID' is not null or undefined
|
|
21042
|
-
assertParamExists('
|
|
21043
|
-
// verify required parameter '
|
|
21044
|
-
assertParamExists('
|
|
21045
|
-
// verify required parameter '
|
|
21046
|
-
assertParamExists('
|
|
21047
|
-
const localVarPath = `/admin/
|
|
21048
|
-
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)))
|
|
21049
|
-
.replace(`{${"customWordListID"}}`, encodeURIComponent(String(customWordListID)));
|
|
20976
|
+
assertParamExists('adminAnalyticsStoreXStoreIDCustomEventsAnalyticsStreamPost', 'xStoreID', xStoreID);
|
|
20977
|
+
// verify required parameter 'authorization' is not null or undefined
|
|
20978
|
+
assertParamExists('adminAnalyticsStoreXStoreIDCustomEventsAnalyticsStreamPost', 'authorization', authorization);
|
|
20979
|
+
// verify required parameter 'analyticsCustomEventStreamRequestBody' is not null or undefined
|
|
20980
|
+
assertParamExists('adminAnalyticsStoreXStoreIDCustomEventsAnalyticsStreamPost', 'analyticsCustomEventStreamRequestBody', analyticsCustomEventStreamRequestBody);
|
|
20981
|
+
const localVarPath = `/admin/analytics/store/{xStoreID}/custom-events/analytics/stream`
|
|
20982
|
+
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
|
|
21050
20983
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
21051
20984
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
21052
20985
|
let baseOptions;
|
|
@@ -21059,30 +20992,35 @@ export const CustomStopwordsApiAxiosParamCreator = function (configuration) {
|
|
|
21059
20992
|
// authentication BearerAuth required
|
|
21060
20993
|
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
21061
20994
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
20995
|
+
if (authorization != null) {
|
|
20996
|
+
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
20997
|
+
}
|
|
21062
20998
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
21063
20999
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21064
21000
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
21065
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
21001
|
+
localVarRequestOptions.data = serializeDataIfNeeded(analyticsCustomEventStreamRequestBody, localVarRequestOptions, configuration);
|
|
21066
21002
|
return {
|
|
21067
21003
|
url: toPathString(localVarUrlObj),
|
|
21068
21004
|
options: localVarRequestOptions,
|
|
21069
21005
|
};
|
|
21070
21006
|
}),
|
|
21071
21007
|
/**
|
|
21072
|
-
*
|
|
21073
|
-
* @summary Get
|
|
21074
|
-
* @param {string} xStoreID
|
|
21075
|
-
* @param {string}
|
|
21076
|
-
* @param {
|
|
21077
|
-
* @param {number} [page] Page number (default: 1)
|
|
21078
|
-
* @param {number} [limit] Items per page (default: 10)
|
|
21008
|
+
* Returns time series data for custom events grouped by event name and time bucket
|
|
21009
|
+
* @summary Get Custom Event Time Series
|
|
21010
|
+
* @param {string} xStoreID Store ID
|
|
21011
|
+
* @param {string} authorization Bearer JWT token
|
|
21012
|
+
* @param {AnalyticsCustomEventTimeSeriesRequestBody} analyticsCustomEventTimeSeriesRequestBody Time series request
|
|
21079
21013
|
* @param {*} [options] Override http request option.
|
|
21080
21014
|
* @throws {RequiredError}
|
|
21081
21015
|
*/
|
|
21082
|
-
|
|
21016
|
+
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 = {}) {
|
|
21083
21017
|
// verify required parameter 'xStoreID' is not null or undefined
|
|
21084
|
-
assertParamExists('
|
|
21085
|
-
|
|
21018
|
+
assertParamExists('adminAnalyticsStoreXStoreIDCustomEventsAnalyticsTimeSeriesPost', 'xStoreID', xStoreID);
|
|
21019
|
+
// verify required parameter 'authorization' is not null or undefined
|
|
21020
|
+
assertParamExists('adminAnalyticsStoreXStoreIDCustomEventsAnalyticsTimeSeriesPost', 'authorization', authorization);
|
|
21021
|
+
// verify required parameter 'analyticsCustomEventTimeSeriesRequestBody' is not null or undefined
|
|
21022
|
+
assertParamExists('adminAnalyticsStoreXStoreIDCustomEventsAnalyticsTimeSeriesPost', 'analyticsCustomEventTimeSeriesRequestBody', analyticsCustomEventTimeSeriesRequestBody);
|
|
21023
|
+
const localVarPath = `/admin/analytics/store/{xStoreID}/custom-events/analytics/time-series`
|
|
21086
21024
|
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
|
|
21087
21025
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
21088
21026
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -21090,45 +21028,41 @@ export const CustomStopwordsApiAxiosParamCreator = function (configuration) {
|
|
|
21090
21028
|
if (configuration) {
|
|
21091
21029
|
baseOptions = configuration.baseOptions;
|
|
21092
21030
|
}
|
|
21093
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
21031
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
21094
21032
|
const localVarHeaderParameter = {};
|
|
21095
21033
|
const localVarQueryParameter = {};
|
|
21096
21034
|
// authentication BearerAuth required
|
|
21097
21035
|
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
21098
|
-
|
|
21099
|
-
|
|
21100
|
-
|
|
21101
|
-
if (type !== undefined) {
|
|
21102
|
-
localVarQueryParameter['type'] = type;
|
|
21103
|
-
}
|
|
21104
|
-
if (page !== undefined) {
|
|
21105
|
-
localVarQueryParameter['page'] = page;
|
|
21106
|
-
}
|
|
21107
|
-
if (limit !== undefined) {
|
|
21108
|
-
localVarQueryParameter['limit'] = limit;
|
|
21036
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
21037
|
+
if (authorization != null) {
|
|
21038
|
+
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
21109
21039
|
}
|
|
21110
21040
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
21111
21041
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21112
21042
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
21043
|
+
localVarRequestOptions.data = serializeDataIfNeeded(analyticsCustomEventTimeSeriesRequestBody, localVarRequestOptions, configuration);
|
|
21113
21044
|
return {
|
|
21114
21045
|
url: toPathString(localVarUrlObj),
|
|
21115
21046
|
options: localVarRequestOptions,
|
|
21116
21047
|
};
|
|
21117
21048
|
}),
|
|
21118
21049
|
/**
|
|
21119
|
-
*
|
|
21120
|
-
* @summary
|
|
21121
|
-
* @param {string} xStoreID
|
|
21122
|
-
* @param {
|
|
21050
|
+
* Returns the top custom events by count or unique users
|
|
21051
|
+
* @summary Get Top Custom Events
|
|
21052
|
+
* @param {string} xStoreID Store ID
|
|
21053
|
+
* @param {string} authorization Bearer JWT token
|
|
21054
|
+
* @param {AnalyticsTopCustomEventsRequestBody} analyticsTopCustomEventsRequestBody Top events request
|
|
21123
21055
|
* @param {*} [options] Override http request option.
|
|
21124
21056
|
* @throws {RequiredError}
|
|
21125
21057
|
*/
|
|
21126
|
-
|
|
21058
|
+
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 = {}) {
|
|
21127
21059
|
// verify required parameter 'xStoreID' is not null or undefined
|
|
21128
|
-
assertParamExists('
|
|
21129
|
-
// verify required parameter '
|
|
21130
|
-
assertParamExists('
|
|
21131
|
-
|
|
21060
|
+
assertParamExists('adminAnalyticsStoreXStoreIDCustomEventsAnalyticsTopEventsPost', 'xStoreID', xStoreID);
|
|
21061
|
+
// verify required parameter 'authorization' is not null or undefined
|
|
21062
|
+
assertParamExists('adminAnalyticsStoreXStoreIDCustomEventsAnalyticsTopEventsPost', 'authorization', authorization);
|
|
21063
|
+
// verify required parameter 'analyticsTopCustomEventsRequestBody' is not null or undefined
|
|
21064
|
+
assertParamExists('adminAnalyticsStoreXStoreIDCustomEventsAnalyticsTopEventsPost', 'analyticsTopCustomEventsRequestBody', analyticsTopCustomEventsRequestBody);
|
|
21065
|
+
const localVarPath = `/admin/analytics/store/{xStoreID}/custom-events/analytics/top-events`
|
|
21132
21066
|
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
|
|
21133
21067
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
21134
21068
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -21142,10 +21076,13 @@ export const CustomStopwordsApiAxiosParamCreator = function (configuration) {
|
|
|
21142
21076
|
// authentication BearerAuth required
|
|
21143
21077
|
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
21144
21078
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
21079
|
+
if (authorization != null) {
|
|
21080
|
+
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
21081
|
+
}
|
|
21145
21082
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
21146
21083
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21147
21084
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
21148
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
21085
|
+
localVarRequestOptions.data = serializeDataIfNeeded(analyticsTopCustomEventsRequestBody, localVarRequestOptions, configuration);
|
|
21149
21086
|
return {
|
|
21150
21087
|
url: toPathString(localVarUrlObj),
|
|
21151
21088
|
options: localVarRequestOptions,
|
|
@@ -21154,116 +21091,638 @@ export const CustomStopwordsApiAxiosParamCreator = function (configuration) {
|
|
|
21154
21091
|
};
|
|
21155
21092
|
};
|
|
21156
21093
|
/**
|
|
21157
|
-
*
|
|
21094
|
+
* CustomEventsAnalyticsApi - functional programming interface
|
|
21158
21095
|
* @export
|
|
21159
21096
|
*/
|
|
21160
|
-
export const
|
|
21161
|
-
const localVarAxiosParamCreator =
|
|
21097
|
+
export const CustomEventsAnalyticsApiFp = function (configuration) {
|
|
21098
|
+
const localVarAxiosParamCreator = CustomEventsAnalyticsApiAxiosParamCreator(configuration);
|
|
21162
21099
|
return {
|
|
21163
21100
|
/**
|
|
21164
|
-
*
|
|
21165
|
-
* @summary
|
|
21166
|
-
* @param {string} xStoreID
|
|
21167
|
-
* @param {
|
|
21101
|
+
* Returns a breakdown of values for a specific field slot of a custom event
|
|
21102
|
+
* @summary Get Custom Event Field Breakdown
|
|
21103
|
+
* @param {string} xStoreID Store ID
|
|
21104
|
+
* @param {string} authorization Bearer JWT token
|
|
21105
|
+
* @param {AnalyticsCustomEventFieldBreakdownRequestBody} analyticsCustomEventFieldBreakdownRequestBody Field breakdown request
|
|
21168
21106
|
* @param {*} [options] Override http request option.
|
|
21169
21107
|
* @throws {RequiredError}
|
|
21170
21108
|
*/
|
|
21171
|
-
|
|
21109
|
+
adminAnalyticsStoreXStoreIDCustomEventsAnalyticsFieldBreakdownPost(xStoreID, authorization, analyticsCustomEventFieldBreakdownRequestBody, options) {
|
|
21172
21110
|
return __awaiter(this, void 0, void 0, function* () {
|
|
21173
21111
|
var _a, _b, _c;
|
|
21174
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
21112
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminAnalyticsStoreXStoreIDCustomEventsAnalyticsFieldBreakdownPost(xStoreID, authorization, analyticsCustomEventFieldBreakdownRequestBody, options);
|
|
21175
21113
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
21176
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['
|
|
21114
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CustomEventsAnalyticsApi.adminAnalyticsStoreXStoreIDCustomEventsAnalyticsFieldBreakdownPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
21177
21115
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
21178
21116
|
});
|
|
21179
21117
|
},
|
|
21180
21118
|
/**
|
|
21181
|
-
*
|
|
21182
|
-
* @summary Get
|
|
21183
|
-
* @param {string} xStoreID
|
|
21184
|
-
* @param {
|
|
21119
|
+
* Returns aggregated custom event metrics including total events, unique users, unique sessions, and unique event types
|
|
21120
|
+
* @summary Get Custom Event Metrics
|
|
21121
|
+
* @param {string} xStoreID Store ID
|
|
21122
|
+
* @param {string} authorization Bearer JWT token
|
|
21123
|
+
* @param {AnalyticsCustomEventMetricsRequestBody} analyticsCustomEventMetricsRequestBody Custom event metrics request
|
|
21185
21124
|
* @param {*} [options] Override http request option.
|
|
21186
21125
|
* @throws {RequiredError}
|
|
21187
21126
|
*/
|
|
21188
|
-
|
|
21127
|
+
adminAnalyticsStoreXStoreIDCustomEventsAnalyticsMetricsPost(xStoreID, authorization, analyticsCustomEventMetricsRequestBody, options) {
|
|
21189
21128
|
return __awaiter(this, void 0, void 0, function* () {
|
|
21190
21129
|
var _a, _b, _c;
|
|
21191
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
21130
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminAnalyticsStoreXStoreIDCustomEventsAnalyticsMetricsPost(xStoreID, authorization, analyticsCustomEventMetricsRequestBody, options);
|
|
21192
21131
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
21193
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['
|
|
21132
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CustomEventsAnalyticsApi.adminAnalyticsStoreXStoreIDCustomEventsAnalyticsMetricsPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
21194
21133
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
21195
21134
|
});
|
|
21196
21135
|
},
|
|
21197
21136
|
/**
|
|
21198
|
-
*
|
|
21199
|
-
* @summary
|
|
21200
|
-
* @param {string} xStoreID
|
|
21201
|
-
* @param {
|
|
21202
|
-
* @param {
|
|
21137
|
+
* Returns paginated raw custom events with field data
|
|
21138
|
+
* @summary Get Custom Event Stream
|
|
21139
|
+
* @param {string} xStoreID Store ID
|
|
21140
|
+
* @param {string} authorization Bearer JWT token
|
|
21141
|
+
* @param {AnalyticsCustomEventStreamRequestBody} analyticsCustomEventStreamRequestBody Event stream request
|
|
21203
21142
|
* @param {*} [options] Override http request option.
|
|
21204
21143
|
* @throws {RequiredError}
|
|
21205
21144
|
*/
|
|
21206
|
-
|
|
21145
|
+
adminAnalyticsStoreXStoreIDCustomEventsAnalyticsStreamPost(xStoreID, authorization, analyticsCustomEventStreamRequestBody, options) {
|
|
21207
21146
|
return __awaiter(this, void 0, void 0, function* () {
|
|
21208
21147
|
var _a, _b, _c;
|
|
21209
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
21148
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminAnalyticsStoreXStoreIDCustomEventsAnalyticsStreamPost(xStoreID, authorization, analyticsCustomEventStreamRequestBody, options);
|
|
21210
21149
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
21211
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['
|
|
21150
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CustomEventsAnalyticsApi.adminAnalyticsStoreXStoreIDCustomEventsAnalyticsStreamPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
21212
21151
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
21213
21152
|
});
|
|
21214
21153
|
},
|
|
21215
21154
|
/**
|
|
21216
|
-
*
|
|
21217
|
-
* @summary
|
|
21218
|
-
* @param {string} xStoreID
|
|
21219
|
-
* @param {
|
|
21220
|
-
* @param {
|
|
21155
|
+
* Returns time series data for custom events grouped by event name and time bucket
|
|
21156
|
+
* @summary Get Custom Event Time Series
|
|
21157
|
+
* @param {string} xStoreID Store ID
|
|
21158
|
+
* @param {string} authorization Bearer JWT token
|
|
21159
|
+
* @param {AnalyticsCustomEventTimeSeriesRequestBody} analyticsCustomEventTimeSeriesRequestBody Time series request
|
|
21221
21160
|
* @param {*} [options] Override http request option.
|
|
21222
21161
|
* @throws {RequiredError}
|
|
21223
21162
|
*/
|
|
21224
|
-
|
|
21163
|
+
adminAnalyticsStoreXStoreIDCustomEventsAnalyticsTimeSeriesPost(xStoreID, authorization, analyticsCustomEventTimeSeriesRequestBody, options) {
|
|
21225
21164
|
return __awaiter(this, void 0, void 0, function* () {
|
|
21226
21165
|
var _a, _b, _c;
|
|
21227
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
21166
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminAnalyticsStoreXStoreIDCustomEventsAnalyticsTimeSeriesPost(xStoreID, authorization, analyticsCustomEventTimeSeriesRequestBody, options);
|
|
21228
21167
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
21229
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['
|
|
21168
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CustomEventsAnalyticsApi.adminAnalyticsStoreXStoreIDCustomEventsAnalyticsTimeSeriesPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
21230
21169
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
21231
21170
|
});
|
|
21232
21171
|
},
|
|
21233
21172
|
/**
|
|
21234
|
-
*
|
|
21235
|
-
* @summary
|
|
21236
|
-
* @param {string} xStoreID
|
|
21237
|
-
* @param {
|
|
21238
|
-
* @param {
|
|
21173
|
+
* Returns the top custom events by count or unique users
|
|
21174
|
+
* @summary Get Top Custom Events
|
|
21175
|
+
* @param {string} xStoreID Store ID
|
|
21176
|
+
* @param {string} authorization Bearer JWT token
|
|
21177
|
+
* @param {AnalyticsTopCustomEventsRequestBody} analyticsTopCustomEventsRequestBody Top events request
|
|
21239
21178
|
* @param {*} [options] Override http request option.
|
|
21240
21179
|
* @throws {RequiredError}
|
|
21241
21180
|
*/
|
|
21242
|
-
|
|
21181
|
+
adminAnalyticsStoreXStoreIDCustomEventsAnalyticsTopEventsPost(xStoreID, authorization, analyticsTopCustomEventsRequestBody, options) {
|
|
21243
21182
|
return __awaiter(this, void 0, void 0, function* () {
|
|
21244
21183
|
var _a, _b, _c;
|
|
21245
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
21184
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminAnalyticsStoreXStoreIDCustomEventsAnalyticsTopEventsPost(xStoreID, authorization, analyticsTopCustomEventsRequestBody, options);
|
|
21246
21185
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
21247
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['
|
|
21186
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CustomEventsAnalyticsApi.adminAnalyticsStoreXStoreIDCustomEventsAnalyticsTopEventsPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
21248
21187
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
21249
21188
|
});
|
|
21250
21189
|
},
|
|
21190
|
+
};
|
|
21191
|
+
};
|
|
21192
|
+
/**
|
|
21193
|
+
* CustomEventsAnalyticsApi - factory interface
|
|
21194
|
+
* @export
|
|
21195
|
+
*/
|
|
21196
|
+
export const CustomEventsAnalyticsApiFactory = function (configuration, basePath, axios) {
|
|
21197
|
+
const localVarFp = CustomEventsAnalyticsApiFp(configuration);
|
|
21198
|
+
return {
|
|
21251
21199
|
/**
|
|
21252
|
-
*
|
|
21253
|
-
* @summary Get
|
|
21254
|
-
* @param {string} xStoreID
|
|
21255
|
-
* @param {string}
|
|
21256
|
-
* @param {
|
|
21257
|
-
* @param {number} [page] Page number (default: 1)
|
|
21258
|
-
* @param {number} [limit] Items per page (default: 10)
|
|
21200
|
+
* Returns a breakdown of values for a specific field slot of a custom event
|
|
21201
|
+
* @summary Get Custom Event Field Breakdown
|
|
21202
|
+
* @param {string} xStoreID Store ID
|
|
21203
|
+
* @param {string} authorization Bearer JWT token
|
|
21204
|
+
* @param {AnalyticsCustomEventFieldBreakdownRequestBody} analyticsCustomEventFieldBreakdownRequestBody Field breakdown request
|
|
21259
21205
|
* @param {*} [options] Override http request option.
|
|
21260
21206
|
* @throws {RequiredError}
|
|
21261
21207
|
*/
|
|
21262
|
-
|
|
21263
|
-
return
|
|
21264
|
-
|
|
21265
|
-
|
|
21266
|
-
|
|
21208
|
+
adminAnalyticsStoreXStoreIDCustomEventsAnalyticsFieldBreakdownPost(xStoreID, authorization, analyticsCustomEventFieldBreakdownRequestBody, options) {
|
|
21209
|
+
return localVarFp.adminAnalyticsStoreXStoreIDCustomEventsAnalyticsFieldBreakdownPost(xStoreID, authorization, analyticsCustomEventFieldBreakdownRequestBody, options).then((request) => request(axios, basePath));
|
|
21210
|
+
},
|
|
21211
|
+
/**
|
|
21212
|
+
* Returns aggregated custom event metrics including total events, unique users, unique sessions, and unique event types
|
|
21213
|
+
* @summary Get Custom Event Metrics
|
|
21214
|
+
* @param {string} xStoreID Store ID
|
|
21215
|
+
* @param {string} authorization Bearer JWT token
|
|
21216
|
+
* @param {AnalyticsCustomEventMetricsRequestBody} analyticsCustomEventMetricsRequestBody Custom event metrics request
|
|
21217
|
+
* @param {*} [options] Override http request option.
|
|
21218
|
+
* @throws {RequiredError}
|
|
21219
|
+
*/
|
|
21220
|
+
adminAnalyticsStoreXStoreIDCustomEventsAnalyticsMetricsPost(xStoreID, authorization, analyticsCustomEventMetricsRequestBody, options) {
|
|
21221
|
+
return localVarFp.adminAnalyticsStoreXStoreIDCustomEventsAnalyticsMetricsPost(xStoreID, authorization, analyticsCustomEventMetricsRequestBody, options).then((request) => request(axios, basePath));
|
|
21222
|
+
},
|
|
21223
|
+
/**
|
|
21224
|
+
* Returns paginated raw custom events with field data
|
|
21225
|
+
* @summary Get Custom Event Stream
|
|
21226
|
+
* @param {string} xStoreID Store ID
|
|
21227
|
+
* @param {string} authorization Bearer JWT token
|
|
21228
|
+
* @param {AnalyticsCustomEventStreamRequestBody} analyticsCustomEventStreamRequestBody Event stream request
|
|
21229
|
+
* @param {*} [options] Override http request option.
|
|
21230
|
+
* @throws {RequiredError}
|
|
21231
|
+
*/
|
|
21232
|
+
adminAnalyticsStoreXStoreIDCustomEventsAnalyticsStreamPost(xStoreID, authorization, analyticsCustomEventStreamRequestBody, options) {
|
|
21233
|
+
return localVarFp.adminAnalyticsStoreXStoreIDCustomEventsAnalyticsStreamPost(xStoreID, authorization, analyticsCustomEventStreamRequestBody, options).then((request) => request(axios, basePath));
|
|
21234
|
+
},
|
|
21235
|
+
/**
|
|
21236
|
+
* Returns time series data for custom events grouped by event name and time bucket
|
|
21237
|
+
* @summary Get Custom Event Time Series
|
|
21238
|
+
* @param {string} xStoreID Store ID
|
|
21239
|
+
* @param {string} authorization Bearer JWT token
|
|
21240
|
+
* @param {AnalyticsCustomEventTimeSeriesRequestBody} analyticsCustomEventTimeSeriesRequestBody Time series request
|
|
21241
|
+
* @param {*} [options] Override http request option.
|
|
21242
|
+
* @throws {RequiredError}
|
|
21243
|
+
*/
|
|
21244
|
+
adminAnalyticsStoreXStoreIDCustomEventsAnalyticsTimeSeriesPost(xStoreID, authorization, analyticsCustomEventTimeSeriesRequestBody, options) {
|
|
21245
|
+
return localVarFp.adminAnalyticsStoreXStoreIDCustomEventsAnalyticsTimeSeriesPost(xStoreID, authorization, analyticsCustomEventTimeSeriesRequestBody, options).then((request) => request(axios, basePath));
|
|
21246
|
+
},
|
|
21247
|
+
/**
|
|
21248
|
+
* Returns the top custom events by count or unique users
|
|
21249
|
+
* @summary Get Top Custom Events
|
|
21250
|
+
* @param {string} xStoreID Store ID
|
|
21251
|
+
* @param {string} authorization Bearer JWT token
|
|
21252
|
+
* @param {AnalyticsTopCustomEventsRequestBody} analyticsTopCustomEventsRequestBody Top events request
|
|
21253
|
+
* @param {*} [options] Override http request option.
|
|
21254
|
+
* @throws {RequiredError}
|
|
21255
|
+
*/
|
|
21256
|
+
adminAnalyticsStoreXStoreIDCustomEventsAnalyticsTopEventsPost(xStoreID, authorization, analyticsTopCustomEventsRequestBody, options) {
|
|
21257
|
+
return localVarFp.adminAnalyticsStoreXStoreIDCustomEventsAnalyticsTopEventsPost(xStoreID, authorization, analyticsTopCustomEventsRequestBody, options).then((request) => request(axios, basePath));
|
|
21258
|
+
},
|
|
21259
|
+
};
|
|
21260
|
+
};
|
|
21261
|
+
/**
|
|
21262
|
+
* CustomEventsAnalyticsApi - object-oriented interface
|
|
21263
|
+
* @export
|
|
21264
|
+
* @class CustomEventsAnalyticsApi
|
|
21265
|
+
* @extends {BaseAPI}
|
|
21266
|
+
*/
|
|
21267
|
+
export class CustomEventsAnalyticsApi extends BaseAPI {
|
|
21268
|
+
/**
|
|
21269
|
+
* Returns a breakdown of values for a specific field slot of a custom event
|
|
21270
|
+
* @summary Get Custom Event Field Breakdown
|
|
21271
|
+
* @param {string} xStoreID Store ID
|
|
21272
|
+
* @param {string} authorization Bearer JWT token
|
|
21273
|
+
* @param {AnalyticsCustomEventFieldBreakdownRequestBody} analyticsCustomEventFieldBreakdownRequestBody Field breakdown request
|
|
21274
|
+
* @param {*} [options] Override http request option.
|
|
21275
|
+
* @throws {RequiredError}
|
|
21276
|
+
* @memberof CustomEventsAnalyticsApi
|
|
21277
|
+
*/
|
|
21278
|
+
adminAnalyticsStoreXStoreIDCustomEventsAnalyticsFieldBreakdownPost(xStoreID, authorization, analyticsCustomEventFieldBreakdownRequestBody, options) {
|
|
21279
|
+
return CustomEventsAnalyticsApiFp(this.configuration).adminAnalyticsStoreXStoreIDCustomEventsAnalyticsFieldBreakdownPost(xStoreID, authorization, analyticsCustomEventFieldBreakdownRequestBody, options).then((request) => request(this.axios, this.basePath));
|
|
21280
|
+
}
|
|
21281
|
+
/**
|
|
21282
|
+
* Returns aggregated custom event metrics including total events, unique users, unique sessions, and unique event types
|
|
21283
|
+
* @summary Get Custom Event Metrics
|
|
21284
|
+
* @param {string} xStoreID Store ID
|
|
21285
|
+
* @param {string} authorization Bearer JWT token
|
|
21286
|
+
* @param {AnalyticsCustomEventMetricsRequestBody} analyticsCustomEventMetricsRequestBody Custom event metrics request
|
|
21287
|
+
* @param {*} [options] Override http request option.
|
|
21288
|
+
* @throws {RequiredError}
|
|
21289
|
+
* @memberof CustomEventsAnalyticsApi
|
|
21290
|
+
*/
|
|
21291
|
+
adminAnalyticsStoreXStoreIDCustomEventsAnalyticsMetricsPost(xStoreID, authorization, analyticsCustomEventMetricsRequestBody, options) {
|
|
21292
|
+
return CustomEventsAnalyticsApiFp(this.configuration).adminAnalyticsStoreXStoreIDCustomEventsAnalyticsMetricsPost(xStoreID, authorization, analyticsCustomEventMetricsRequestBody, options).then((request) => request(this.axios, this.basePath));
|
|
21293
|
+
}
|
|
21294
|
+
/**
|
|
21295
|
+
* Returns paginated raw custom events with field data
|
|
21296
|
+
* @summary Get Custom Event Stream
|
|
21297
|
+
* @param {string} xStoreID Store ID
|
|
21298
|
+
* @param {string} authorization Bearer JWT token
|
|
21299
|
+
* @param {AnalyticsCustomEventStreamRequestBody} analyticsCustomEventStreamRequestBody Event stream request
|
|
21300
|
+
* @param {*} [options] Override http request option.
|
|
21301
|
+
* @throws {RequiredError}
|
|
21302
|
+
* @memberof CustomEventsAnalyticsApi
|
|
21303
|
+
*/
|
|
21304
|
+
adminAnalyticsStoreXStoreIDCustomEventsAnalyticsStreamPost(xStoreID, authorization, analyticsCustomEventStreamRequestBody, options) {
|
|
21305
|
+
return CustomEventsAnalyticsApiFp(this.configuration).adminAnalyticsStoreXStoreIDCustomEventsAnalyticsStreamPost(xStoreID, authorization, analyticsCustomEventStreamRequestBody, options).then((request) => request(this.axios, this.basePath));
|
|
21306
|
+
}
|
|
21307
|
+
/**
|
|
21308
|
+
* Returns time series data for custom events grouped by event name and time bucket
|
|
21309
|
+
* @summary Get Custom Event Time Series
|
|
21310
|
+
* @param {string} xStoreID Store ID
|
|
21311
|
+
* @param {string} authorization Bearer JWT token
|
|
21312
|
+
* @param {AnalyticsCustomEventTimeSeriesRequestBody} analyticsCustomEventTimeSeriesRequestBody Time series request
|
|
21313
|
+
* @param {*} [options] Override http request option.
|
|
21314
|
+
* @throws {RequiredError}
|
|
21315
|
+
* @memberof CustomEventsAnalyticsApi
|
|
21316
|
+
*/
|
|
21317
|
+
adminAnalyticsStoreXStoreIDCustomEventsAnalyticsTimeSeriesPost(xStoreID, authorization, analyticsCustomEventTimeSeriesRequestBody, options) {
|
|
21318
|
+
return CustomEventsAnalyticsApiFp(this.configuration).adminAnalyticsStoreXStoreIDCustomEventsAnalyticsTimeSeriesPost(xStoreID, authorization, analyticsCustomEventTimeSeriesRequestBody, options).then((request) => request(this.axios, this.basePath));
|
|
21319
|
+
}
|
|
21320
|
+
/**
|
|
21321
|
+
* Returns the top custom events by count or unique users
|
|
21322
|
+
* @summary Get Top Custom Events
|
|
21323
|
+
* @param {string} xStoreID Store ID
|
|
21324
|
+
* @param {string} authorization Bearer JWT token
|
|
21325
|
+
* @param {AnalyticsTopCustomEventsRequestBody} analyticsTopCustomEventsRequestBody Top events request
|
|
21326
|
+
* @param {*} [options] Override http request option.
|
|
21327
|
+
* @throws {RequiredError}
|
|
21328
|
+
* @memberof CustomEventsAnalyticsApi
|
|
21329
|
+
*/
|
|
21330
|
+
adminAnalyticsStoreXStoreIDCustomEventsAnalyticsTopEventsPost(xStoreID, authorization, analyticsTopCustomEventsRequestBody, options) {
|
|
21331
|
+
return CustomEventsAnalyticsApiFp(this.configuration).adminAnalyticsStoreXStoreIDCustomEventsAnalyticsTopEventsPost(xStoreID, authorization, analyticsTopCustomEventsRequestBody, options).then((request) => request(this.axios, this.basePath));
|
|
21332
|
+
}
|
|
21333
|
+
}
|
|
21334
|
+
/**
|
|
21335
|
+
* CustomStopwordsApi - axios parameter creator
|
|
21336
|
+
* @export
|
|
21337
|
+
*/
|
|
21338
|
+
export const CustomStopwordsApiAxiosParamCreator = function (configuration) {
|
|
21339
|
+
return {
|
|
21340
|
+
/**
|
|
21341
|
+
* Deletes a custom word list (soft delete)
|
|
21342
|
+
* @summary Delete custom word list
|
|
21343
|
+
* @param {string} xStoreID X-Store ID
|
|
21344
|
+
* @param {number} customWordListID Custom Word List ID
|
|
21345
|
+
* @param {*} [options] Override http request option.
|
|
21346
|
+
* @throws {RequiredError}
|
|
21347
|
+
*/
|
|
21348
|
+
adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDDelete: (xStoreID_1, customWordListID_1, ...args_1) => __awaiter(this, [xStoreID_1, customWordListID_1, ...args_1], void 0, function* (xStoreID, customWordListID, options = {}) {
|
|
21349
|
+
// verify required parameter 'xStoreID' is not null or undefined
|
|
21350
|
+
assertParamExists('adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDDelete', 'xStoreID', xStoreID);
|
|
21351
|
+
// verify required parameter 'customWordListID' is not null or undefined
|
|
21352
|
+
assertParamExists('adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDDelete', 'customWordListID', customWordListID);
|
|
21353
|
+
const localVarPath = `/admin/Stores/{xStoreID}/stopwords/custom-wordlists/{customWordListID}`
|
|
21354
|
+
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)))
|
|
21355
|
+
.replace(`{${"customWordListID"}}`, encodeURIComponent(String(customWordListID)));
|
|
21356
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
21357
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
21358
|
+
let baseOptions;
|
|
21359
|
+
if (configuration) {
|
|
21360
|
+
baseOptions = configuration.baseOptions;
|
|
21361
|
+
}
|
|
21362
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
21363
|
+
const localVarHeaderParameter = {};
|
|
21364
|
+
const localVarQueryParameter = {};
|
|
21365
|
+
// authentication BearerAuth required
|
|
21366
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
21367
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
21368
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21369
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
21370
|
+
return {
|
|
21371
|
+
url: toPathString(localVarUrlObj),
|
|
21372
|
+
options: localVarRequestOptions,
|
|
21373
|
+
};
|
|
21374
|
+
}),
|
|
21375
|
+
/**
|
|
21376
|
+
* Fetches a specific custom word list by ID
|
|
21377
|
+
* @summary Get custom word list by ID
|
|
21378
|
+
* @param {string} xStoreID X-Store ID
|
|
21379
|
+
* @param {number} customWordListID Custom Word List ID
|
|
21380
|
+
* @param {*} [options] Override http request option.
|
|
21381
|
+
* @throws {RequiredError}
|
|
21382
|
+
*/
|
|
21383
|
+
adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDGet: (xStoreID_1, customWordListID_1, ...args_1) => __awaiter(this, [xStoreID_1, customWordListID_1, ...args_1], void 0, function* (xStoreID, customWordListID, options = {}) {
|
|
21384
|
+
// verify required parameter 'xStoreID' is not null or undefined
|
|
21385
|
+
assertParamExists('adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDGet', 'xStoreID', xStoreID);
|
|
21386
|
+
// verify required parameter 'customWordListID' is not null or undefined
|
|
21387
|
+
assertParamExists('adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDGet', 'customWordListID', customWordListID);
|
|
21388
|
+
const localVarPath = `/admin/Stores/{xStoreID}/stopwords/custom-wordlists/{customWordListID}`
|
|
21389
|
+
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)))
|
|
21390
|
+
.replace(`{${"customWordListID"}}`, encodeURIComponent(String(customWordListID)));
|
|
21391
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
21392
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
21393
|
+
let baseOptions;
|
|
21394
|
+
if (configuration) {
|
|
21395
|
+
baseOptions = configuration.baseOptions;
|
|
21396
|
+
}
|
|
21397
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
21398
|
+
const localVarHeaderParameter = {};
|
|
21399
|
+
const localVarQueryParameter = {};
|
|
21400
|
+
// authentication BearerAuth required
|
|
21401
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
21402
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
21403
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21404
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
21405
|
+
return {
|
|
21406
|
+
url: toPathString(localVarUrlObj),
|
|
21407
|
+
options: localVarRequestOptions,
|
|
21408
|
+
};
|
|
21409
|
+
}),
|
|
21410
|
+
/**
|
|
21411
|
+
*
|
|
21412
|
+
* @summary Update custom word list
|
|
21413
|
+
* @param {string} xStoreID X-Store ID
|
|
21414
|
+
* @param {number} customWordListID Custom Word List ID
|
|
21415
|
+
* @param {DataTypesUpdateCustomWordListRequest} dataTypesUpdateCustomWordListRequest Update request
|
|
21416
|
+
* @param {*} [options] Override http request option.
|
|
21417
|
+
* @throws {RequiredError}
|
|
21418
|
+
*/
|
|
21419
|
+
adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDPut: (xStoreID_1, customWordListID_1, dataTypesUpdateCustomWordListRequest_1, ...args_1) => __awaiter(this, [xStoreID_1, customWordListID_1, dataTypesUpdateCustomWordListRequest_1, ...args_1], void 0, function* (xStoreID, customWordListID, dataTypesUpdateCustomWordListRequest, options = {}) {
|
|
21420
|
+
// verify required parameter 'xStoreID' is not null or undefined
|
|
21421
|
+
assertParamExists('adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDPut', 'xStoreID', xStoreID);
|
|
21422
|
+
// verify required parameter 'customWordListID' is not null or undefined
|
|
21423
|
+
assertParamExists('adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDPut', 'customWordListID', customWordListID);
|
|
21424
|
+
// verify required parameter 'dataTypesUpdateCustomWordListRequest' is not null or undefined
|
|
21425
|
+
assertParamExists('adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDPut', 'dataTypesUpdateCustomWordListRequest', dataTypesUpdateCustomWordListRequest);
|
|
21426
|
+
const localVarPath = `/admin/Stores/{xStoreID}/stopwords/custom-wordlists/{customWordListID}`
|
|
21427
|
+
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)))
|
|
21428
|
+
.replace(`{${"customWordListID"}}`, encodeURIComponent(String(customWordListID)));
|
|
21429
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
21430
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
21431
|
+
let baseOptions;
|
|
21432
|
+
if (configuration) {
|
|
21433
|
+
baseOptions = configuration.baseOptions;
|
|
21434
|
+
}
|
|
21435
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
21436
|
+
const localVarHeaderParameter = {};
|
|
21437
|
+
const localVarQueryParameter = {};
|
|
21438
|
+
// authentication BearerAuth required
|
|
21439
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
21440
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
21441
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
21442
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21443
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
21444
|
+
localVarRequestOptions.data = serializeDataIfNeeded(dataTypesUpdateCustomWordListRequest, localVarRequestOptions, configuration);
|
|
21445
|
+
return {
|
|
21446
|
+
url: toPathString(localVarUrlObj),
|
|
21447
|
+
options: localVarRequestOptions,
|
|
21448
|
+
};
|
|
21449
|
+
}),
|
|
21450
|
+
/**
|
|
21451
|
+
* Removes words from a custom word list
|
|
21452
|
+
* @summary Remove words from custom word list
|
|
21453
|
+
* @param {string} xStoreID X-Store ID
|
|
21454
|
+
* @param {number} customWordListID Custom Word List ID
|
|
21455
|
+
* @param {DataTypesRemoveWordsFromCustomListRequest} dataTypesRemoveWordsFromCustomListRequest Remove words request
|
|
21456
|
+
* @param {*} [options] Override http request option.
|
|
21457
|
+
* @throws {RequiredError}
|
|
21458
|
+
*/
|
|
21459
|
+
adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsDelete: (xStoreID_1, customWordListID_1, dataTypesRemoveWordsFromCustomListRequest_1, ...args_1) => __awaiter(this, [xStoreID_1, customWordListID_1, dataTypesRemoveWordsFromCustomListRequest_1, ...args_1], void 0, function* (xStoreID, customWordListID, dataTypesRemoveWordsFromCustomListRequest, options = {}) {
|
|
21460
|
+
// verify required parameter 'xStoreID' is not null or undefined
|
|
21461
|
+
assertParamExists('adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsDelete', 'xStoreID', xStoreID);
|
|
21462
|
+
// verify required parameter 'customWordListID' is not null or undefined
|
|
21463
|
+
assertParamExists('adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsDelete', 'customWordListID', customWordListID);
|
|
21464
|
+
// verify required parameter 'dataTypesRemoveWordsFromCustomListRequest' is not null or undefined
|
|
21465
|
+
assertParamExists('adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsDelete', 'dataTypesRemoveWordsFromCustomListRequest', dataTypesRemoveWordsFromCustomListRequest);
|
|
21466
|
+
const localVarPath = `/admin/Stores/{xStoreID}/stopwords/custom-wordlists/{customWordListID}/words`
|
|
21467
|
+
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)))
|
|
21468
|
+
.replace(`{${"customWordListID"}}`, encodeURIComponent(String(customWordListID)));
|
|
21469
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
21470
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
21471
|
+
let baseOptions;
|
|
21472
|
+
if (configuration) {
|
|
21473
|
+
baseOptions = configuration.baseOptions;
|
|
21474
|
+
}
|
|
21475
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
21476
|
+
const localVarHeaderParameter = {};
|
|
21477
|
+
const localVarQueryParameter = {};
|
|
21478
|
+
// authentication BearerAuth required
|
|
21479
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
21480
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
21481
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
21482
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21483
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
21484
|
+
localVarRequestOptions.data = serializeDataIfNeeded(dataTypesRemoveWordsFromCustomListRequest, localVarRequestOptions, configuration);
|
|
21485
|
+
return {
|
|
21486
|
+
url: toPathString(localVarUrlObj),
|
|
21487
|
+
options: localVarRequestOptions,
|
|
21488
|
+
};
|
|
21489
|
+
}),
|
|
21490
|
+
/**
|
|
21491
|
+
* Adds words to an existing custom word list
|
|
21492
|
+
* @summary Add words to custom word list
|
|
21493
|
+
* @param {string} xStoreID X-Store ID
|
|
21494
|
+
* @param {number} customWordListID Custom Word List ID
|
|
21495
|
+
* @param {DataTypesAddWordsToCustomListRequest} dataTypesAddWordsToCustomListRequest Add words request
|
|
21496
|
+
* @param {*} [options] Override http request option.
|
|
21497
|
+
* @throws {RequiredError}
|
|
21498
|
+
*/
|
|
21499
|
+
adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsPost: (xStoreID_1, customWordListID_1, dataTypesAddWordsToCustomListRequest_1, ...args_1) => __awaiter(this, [xStoreID_1, customWordListID_1, dataTypesAddWordsToCustomListRequest_1, ...args_1], void 0, function* (xStoreID, customWordListID, dataTypesAddWordsToCustomListRequest, options = {}) {
|
|
21500
|
+
// verify required parameter 'xStoreID' is not null or undefined
|
|
21501
|
+
assertParamExists('adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsPost', 'xStoreID', xStoreID);
|
|
21502
|
+
// verify required parameter 'customWordListID' is not null or undefined
|
|
21503
|
+
assertParamExists('adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsPost', 'customWordListID', customWordListID);
|
|
21504
|
+
// verify required parameter 'dataTypesAddWordsToCustomListRequest' is not null or undefined
|
|
21505
|
+
assertParamExists('adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsPost', 'dataTypesAddWordsToCustomListRequest', dataTypesAddWordsToCustomListRequest);
|
|
21506
|
+
const localVarPath = `/admin/Stores/{xStoreID}/stopwords/custom-wordlists/{customWordListID}/words`
|
|
21507
|
+
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)))
|
|
21508
|
+
.replace(`{${"customWordListID"}}`, encodeURIComponent(String(customWordListID)));
|
|
21509
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
21510
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
21511
|
+
let baseOptions;
|
|
21512
|
+
if (configuration) {
|
|
21513
|
+
baseOptions = configuration.baseOptions;
|
|
21514
|
+
}
|
|
21515
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
21516
|
+
const localVarHeaderParameter = {};
|
|
21517
|
+
const localVarQueryParameter = {};
|
|
21518
|
+
// authentication BearerAuth required
|
|
21519
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
21520
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
21521
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
21522
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21523
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
21524
|
+
localVarRequestOptions.data = serializeDataIfNeeded(dataTypesAddWordsToCustomListRequest, localVarRequestOptions, configuration);
|
|
21525
|
+
return {
|
|
21526
|
+
url: toPathString(localVarUrlObj),
|
|
21527
|
+
options: localVarRequestOptions,
|
|
21528
|
+
};
|
|
21529
|
+
}),
|
|
21530
|
+
/**
|
|
21531
|
+
* Fetches custom word lists for a store with pagination
|
|
21532
|
+
* @summary Get custom word lists
|
|
21533
|
+
* @param {string} xStoreID X-Store ID
|
|
21534
|
+
* @param {string} [lang] Language locale filter (e.g. \'en\', \'ar\')
|
|
21535
|
+
* @param {string} [type] Type filter (stopwords, synonyms)
|
|
21536
|
+
* @param {number} [page] Page number (default: 1)
|
|
21537
|
+
* @param {number} [limit] Items per page (default: 10)
|
|
21538
|
+
* @param {*} [options] Override http request option.
|
|
21539
|
+
* @throws {RequiredError}
|
|
21540
|
+
*/
|
|
21541
|
+
adminStoresXStoreIDStopwordsCustomWordlistsGet: (xStoreID_1, lang_1, type_1, page_1, limit_1, ...args_1) => __awaiter(this, [xStoreID_1, lang_1, type_1, page_1, limit_1, ...args_1], void 0, function* (xStoreID, lang, type, page, limit, options = {}) {
|
|
21542
|
+
// verify required parameter 'xStoreID' is not null or undefined
|
|
21543
|
+
assertParamExists('adminStoresXStoreIDStopwordsCustomWordlistsGet', 'xStoreID', xStoreID);
|
|
21544
|
+
const localVarPath = `/admin/Stores/{xStoreID}/stopwords/custom-wordlists`
|
|
21545
|
+
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
|
|
21546
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
21547
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
21548
|
+
let baseOptions;
|
|
21549
|
+
if (configuration) {
|
|
21550
|
+
baseOptions = configuration.baseOptions;
|
|
21551
|
+
}
|
|
21552
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
21553
|
+
const localVarHeaderParameter = {};
|
|
21554
|
+
const localVarQueryParameter = {};
|
|
21555
|
+
// authentication BearerAuth required
|
|
21556
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
21557
|
+
if (lang !== undefined) {
|
|
21558
|
+
localVarQueryParameter['lang'] = lang;
|
|
21559
|
+
}
|
|
21560
|
+
if (type !== undefined) {
|
|
21561
|
+
localVarQueryParameter['type'] = type;
|
|
21562
|
+
}
|
|
21563
|
+
if (page !== undefined) {
|
|
21564
|
+
localVarQueryParameter['page'] = page;
|
|
21565
|
+
}
|
|
21566
|
+
if (limit !== undefined) {
|
|
21567
|
+
localVarQueryParameter['limit'] = limit;
|
|
21568
|
+
}
|
|
21569
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
21570
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21571
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
21572
|
+
return {
|
|
21573
|
+
url: toPathString(localVarUrlObj),
|
|
21574
|
+
options: localVarRequestOptions,
|
|
21575
|
+
};
|
|
21576
|
+
}),
|
|
21577
|
+
/**
|
|
21578
|
+
* Creates a new custom word list for a store
|
|
21579
|
+
* @summary Create custom word list
|
|
21580
|
+
* @param {string} xStoreID X-Store ID
|
|
21581
|
+
* @param {DataTypesCreateCustomWordListRequest} dataTypesCreateCustomWordListRequest Custom word list creation request
|
|
21582
|
+
* @param {*} [options] Override http request option.
|
|
21583
|
+
* @throws {RequiredError}
|
|
21584
|
+
*/
|
|
21585
|
+
adminStoresXStoreIDStopwordsCustomWordlistsPost: (xStoreID_1, dataTypesCreateCustomWordListRequest_1, ...args_1) => __awaiter(this, [xStoreID_1, dataTypesCreateCustomWordListRequest_1, ...args_1], void 0, function* (xStoreID, dataTypesCreateCustomWordListRequest, options = {}) {
|
|
21586
|
+
// verify required parameter 'xStoreID' is not null or undefined
|
|
21587
|
+
assertParamExists('adminStoresXStoreIDStopwordsCustomWordlistsPost', 'xStoreID', xStoreID);
|
|
21588
|
+
// verify required parameter 'dataTypesCreateCustomWordListRequest' is not null or undefined
|
|
21589
|
+
assertParamExists('adminStoresXStoreIDStopwordsCustomWordlistsPost', 'dataTypesCreateCustomWordListRequest', dataTypesCreateCustomWordListRequest);
|
|
21590
|
+
const localVarPath = `/admin/Stores/{xStoreID}/stopwords/custom-wordlists`
|
|
21591
|
+
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
|
|
21592
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
21593
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
21594
|
+
let baseOptions;
|
|
21595
|
+
if (configuration) {
|
|
21596
|
+
baseOptions = configuration.baseOptions;
|
|
21597
|
+
}
|
|
21598
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
21599
|
+
const localVarHeaderParameter = {};
|
|
21600
|
+
const localVarQueryParameter = {};
|
|
21601
|
+
// authentication BearerAuth required
|
|
21602
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
21603
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
21604
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
21605
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21606
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
21607
|
+
localVarRequestOptions.data = serializeDataIfNeeded(dataTypesCreateCustomWordListRequest, localVarRequestOptions, configuration);
|
|
21608
|
+
return {
|
|
21609
|
+
url: toPathString(localVarUrlObj),
|
|
21610
|
+
options: localVarRequestOptions,
|
|
21611
|
+
};
|
|
21612
|
+
}),
|
|
21613
|
+
};
|
|
21614
|
+
};
|
|
21615
|
+
/**
|
|
21616
|
+
* CustomStopwordsApi - functional programming interface
|
|
21617
|
+
* @export
|
|
21618
|
+
*/
|
|
21619
|
+
export const CustomStopwordsApiFp = function (configuration) {
|
|
21620
|
+
const localVarAxiosParamCreator = CustomStopwordsApiAxiosParamCreator(configuration);
|
|
21621
|
+
return {
|
|
21622
|
+
/**
|
|
21623
|
+
* Deletes a custom word list (soft delete)
|
|
21624
|
+
* @summary Delete custom word list
|
|
21625
|
+
* @param {string} xStoreID X-Store ID
|
|
21626
|
+
* @param {number} customWordListID Custom Word List ID
|
|
21627
|
+
* @param {*} [options] Override http request option.
|
|
21628
|
+
* @throws {RequiredError}
|
|
21629
|
+
*/
|
|
21630
|
+
adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDDelete(xStoreID, customWordListID, options) {
|
|
21631
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
21632
|
+
var _a, _b, _c;
|
|
21633
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDDelete(xStoreID, customWordListID, options);
|
|
21634
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
21635
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CustomStopwordsApi.adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
21636
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
21637
|
+
});
|
|
21638
|
+
},
|
|
21639
|
+
/**
|
|
21640
|
+
* Fetches a specific custom word list by ID
|
|
21641
|
+
* @summary Get custom word list by ID
|
|
21642
|
+
* @param {string} xStoreID X-Store ID
|
|
21643
|
+
* @param {number} customWordListID Custom Word List ID
|
|
21644
|
+
* @param {*} [options] Override http request option.
|
|
21645
|
+
* @throws {RequiredError}
|
|
21646
|
+
*/
|
|
21647
|
+
adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDGet(xStoreID, customWordListID, options) {
|
|
21648
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
21649
|
+
var _a, _b, _c;
|
|
21650
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDGet(xStoreID, customWordListID, options);
|
|
21651
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
21652
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CustomStopwordsApi.adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
21653
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
21654
|
+
});
|
|
21655
|
+
},
|
|
21656
|
+
/**
|
|
21657
|
+
*
|
|
21658
|
+
* @summary Update custom word list
|
|
21659
|
+
* @param {string} xStoreID X-Store ID
|
|
21660
|
+
* @param {number} customWordListID Custom Word List ID
|
|
21661
|
+
* @param {DataTypesUpdateCustomWordListRequest} dataTypesUpdateCustomWordListRequest Update request
|
|
21662
|
+
* @param {*} [options] Override http request option.
|
|
21663
|
+
* @throws {RequiredError}
|
|
21664
|
+
*/
|
|
21665
|
+
adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDPut(xStoreID, customWordListID, dataTypesUpdateCustomWordListRequest, options) {
|
|
21666
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
21667
|
+
var _a, _b, _c;
|
|
21668
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDPut(xStoreID, customWordListID, dataTypesUpdateCustomWordListRequest, options);
|
|
21669
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
21670
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CustomStopwordsApi.adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDPut']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
21671
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
21672
|
+
});
|
|
21673
|
+
},
|
|
21674
|
+
/**
|
|
21675
|
+
* Removes words from a custom word list
|
|
21676
|
+
* @summary Remove words from custom word list
|
|
21677
|
+
* @param {string} xStoreID X-Store ID
|
|
21678
|
+
* @param {number} customWordListID Custom Word List ID
|
|
21679
|
+
* @param {DataTypesRemoveWordsFromCustomListRequest} dataTypesRemoveWordsFromCustomListRequest Remove words request
|
|
21680
|
+
* @param {*} [options] Override http request option.
|
|
21681
|
+
* @throws {RequiredError}
|
|
21682
|
+
*/
|
|
21683
|
+
adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsDelete(xStoreID, customWordListID, dataTypesRemoveWordsFromCustomListRequest, options) {
|
|
21684
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
21685
|
+
var _a, _b, _c;
|
|
21686
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsDelete(xStoreID, customWordListID, dataTypesRemoveWordsFromCustomListRequest, options);
|
|
21687
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
21688
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CustomStopwordsApi.adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
21689
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
21690
|
+
});
|
|
21691
|
+
},
|
|
21692
|
+
/**
|
|
21693
|
+
* Adds words to an existing custom word list
|
|
21694
|
+
* @summary Add words to custom word list
|
|
21695
|
+
* @param {string} xStoreID X-Store ID
|
|
21696
|
+
* @param {number} customWordListID Custom Word List ID
|
|
21697
|
+
* @param {DataTypesAddWordsToCustomListRequest} dataTypesAddWordsToCustomListRequest Add words request
|
|
21698
|
+
* @param {*} [options] Override http request option.
|
|
21699
|
+
* @throws {RequiredError}
|
|
21700
|
+
*/
|
|
21701
|
+
adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsPost(xStoreID, customWordListID, dataTypesAddWordsToCustomListRequest, options) {
|
|
21702
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
21703
|
+
var _a, _b, _c;
|
|
21704
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsPost(xStoreID, customWordListID, dataTypesAddWordsToCustomListRequest, options);
|
|
21705
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
21706
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CustomStopwordsApi.adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
21707
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
21708
|
+
});
|
|
21709
|
+
},
|
|
21710
|
+
/**
|
|
21711
|
+
* Fetches custom word lists for a store with pagination
|
|
21712
|
+
* @summary Get custom word lists
|
|
21713
|
+
* @param {string} xStoreID X-Store ID
|
|
21714
|
+
* @param {string} [lang] Language locale filter (e.g. \'en\', \'ar\')
|
|
21715
|
+
* @param {string} [type] Type filter (stopwords, synonyms)
|
|
21716
|
+
* @param {number} [page] Page number (default: 1)
|
|
21717
|
+
* @param {number} [limit] Items per page (default: 10)
|
|
21718
|
+
* @param {*} [options] Override http request option.
|
|
21719
|
+
* @throws {RequiredError}
|
|
21720
|
+
*/
|
|
21721
|
+
adminStoresXStoreIDStopwordsCustomWordlistsGet(xStoreID, lang, type, page, limit, options) {
|
|
21722
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
21723
|
+
var _a, _b, _c;
|
|
21724
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminStoresXStoreIDStopwordsCustomWordlistsGet(xStoreID, lang, type, page, limit, options);
|
|
21725
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
21267
21726
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CustomStopwordsApi.adminStoresXStoreIDStopwordsCustomWordlistsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
21268
21727
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
21269
21728
|
});
|
|
@@ -23648,47 +24107,6 @@ export const ExperimentsApiAxiosParamCreator = function (configuration) {
|
|
|
23648
24107
|
options: localVarRequestOptions,
|
|
23649
24108
|
};
|
|
23650
24109
|
}),
|
|
23651
|
-
/**
|
|
23652
|
-
* Returns variant assignments for all running experiments for the requesting user. Uses hash-based consistent assignment.
|
|
23653
|
-
* @summary Get experiment assignments for a user
|
|
23654
|
-
* @param {string} xStoreid Store ID
|
|
23655
|
-
* @param {string} [xUserId] User ID (provide either x-user-id or x-anon-id)
|
|
23656
|
-
* @param {string} [xAnonId] Anonymous ID (provide either x-user-id or x-anon-id)
|
|
23657
|
-
* @param {*} [options] Override http request option.
|
|
23658
|
-
* @throws {RequiredError}
|
|
23659
|
-
*/
|
|
23660
|
-
v1ExperimentsAssignmentGet: (xStoreid_1, xUserId_1, xAnonId_1, ...args_1) => __awaiter(this, [xStoreid_1, xUserId_1, xAnonId_1, ...args_1], void 0, function* (xStoreid, xUserId, xAnonId, options = {}) {
|
|
23661
|
-
// verify required parameter 'xStoreid' is not null or undefined
|
|
23662
|
-
assertParamExists('v1ExperimentsAssignmentGet', 'xStoreid', xStoreid);
|
|
23663
|
-
const localVarPath = `/v1/experiments/assignment`;
|
|
23664
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23665
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23666
|
-
let baseOptions;
|
|
23667
|
-
if (configuration) {
|
|
23668
|
-
baseOptions = configuration.baseOptions;
|
|
23669
|
-
}
|
|
23670
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
23671
|
-
const localVarHeaderParameter = {};
|
|
23672
|
-
const localVarQueryParameter = {};
|
|
23673
|
-
// authentication ApiKeyAuth required
|
|
23674
|
-
yield setApiKeyToObject(localVarHeaderParameter, "x-storesecret", configuration);
|
|
23675
|
-
if (xStoreid != null) {
|
|
23676
|
-
localVarHeaderParameter['x-storeid'] = String(xStoreid);
|
|
23677
|
-
}
|
|
23678
|
-
if (xUserId != null) {
|
|
23679
|
-
localVarHeaderParameter['x-user-id'] = String(xUserId);
|
|
23680
|
-
}
|
|
23681
|
-
if (xAnonId != null) {
|
|
23682
|
-
localVarHeaderParameter['x-anon-id'] = String(xAnonId);
|
|
23683
|
-
}
|
|
23684
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23685
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
23686
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
23687
|
-
return {
|
|
23688
|
-
url: toPathString(localVarUrlObj),
|
|
23689
|
-
options: localVarRequestOptions,
|
|
23690
|
-
};
|
|
23691
|
-
}),
|
|
23692
24110
|
};
|
|
23693
24111
|
};
|
|
23694
24112
|
/**
|
|
@@ -23825,39 +24243,21 @@ export const ExperimentsApiFp = function (configuration) {
|
|
|
23825
24243
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
23826
24244
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ExperimentsApi.v1AdminExperimentsIdStartPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
23827
24245
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
23828
|
-
});
|
|
23829
|
-
},
|
|
23830
|
-
/**
|
|
23831
|
-
* Creates a new A/B test experiment in draft status.
|
|
23832
|
-
* @summary Create a new experiment
|
|
23833
|
-
* @param {DataTypesCreateExperimentRequest} dataTypesCreateExperimentRequest Experiment data
|
|
23834
|
-
* @param {*} [options] Override http request option.
|
|
23835
|
-
* @throws {RequiredError}
|
|
23836
|
-
*/
|
|
23837
|
-
v1AdminExperimentsPost(dataTypesCreateExperimentRequest, options) {
|
|
23838
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
23839
|
-
var _a, _b, _c;
|
|
23840
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1AdminExperimentsPost(dataTypesCreateExperimentRequest, options);
|
|
23841
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
23842
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ExperimentsApi.v1AdminExperimentsPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
23843
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
23844
|
-
});
|
|
23845
|
-
},
|
|
23846
|
-
/**
|
|
23847
|
-
* Returns variant assignments for all running experiments for the requesting user. Uses hash-based consistent assignment.
|
|
23848
|
-
* @summary Get experiment assignments for a user
|
|
23849
|
-
* @param {string} xStoreid Store ID
|
|
23850
|
-
* @param {string} [xUserId] User ID (provide either x-user-id or x-anon-id)
|
|
23851
|
-
* @param {string} [xAnonId] Anonymous ID (provide either x-user-id or x-anon-id)
|
|
24246
|
+
});
|
|
24247
|
+
},
|
|
24248
|
+
/**
|
|
24249
|
+
* Creates a new A/B test experiment in draft status.
|
|
24250
|
+
* @summary Create a new experiment
|
|
24251
|
+
* @param {DataTypesCreateExperimentRequest} dataTypesCreateExperimentRequest Experiment data
|
|
23852
24252
|
* @param {*} [options] Override http request option.
|
|
23853
24253
|
* @throws {RequiredError}
|
|
23854
24254
|
*/
|
|
23855
|
-
|
|
24255
|
+
v1AdminExperimentsPost(dataTypesCreateExperimentRequest, options) {
|
|
23856
24256
|
return __awaiter(this, void 0, void 0, function* () {
|
|
23857
24257
|
var _a, _b, _c;
|
|
23858
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
24258
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1AdminExperimentsPost(dataTypesCreateExperimentRequest, options);
|
|
23859
24259
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
23860
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ExperimentsApi.
|
|
24260
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ExperimentsApi.v1AdminExperimentsPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
23861
24261
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
23862
24262
|
});
|
|
23863
24263
|
},
|
|
@@ -23961,18 +24361,6 @@ export const ExperimentsApiFactory = function (configuration, basePath, axios) {
|
|
|
23961
24361
|
v1AdminExperimentsPost(dataTypesCreateExperimentRequest, options) {
|
|
23962
24362
|
return localVarFp.v1AdminExperimentsPost(dataTypesCreateExperimentRequest, options).then((request) => request(axios, basePath));
|
|
23963
24363
|
},
|
|
23964
|
-
/**
|
|
23965
|
-
* Returns variant assignments for all running experiments for the requesting user. Uses hash-based consistent assignment.
|
|
23966
|
-
* @summary Get experiment assignments for a user
|
|
23967
|
-
* @param {string} xStoreid Store ID
|
|
23968
|
-
* @param {string} [xUserId] User ID (provide either x-user-id or x-anon-id)
|
|
23969
|
-
* @param {string} [xAnonId] Anonymous ID (provide either x-user-id or x-anon-id)
|
|
23970
|
-
* @param {*} [options] Override http request option.
|
|
23971
|
-
* @throws {RequiredError}
|
|
23972
|
-
*/
|
|
23973
|
-
v1ExperimentsAssignmentGet(xStoreid, xUserId, xAnonId, options) {
|
|
23974
|
-
return localVarFp.v1ExperimentsAssignmentGet(xStoreid, xUserId, xAnonId, options).then((request) => request(axios, basePath));
|
|
23975
|
-
},
|
|
23976
24364
|
};
|
|
23977
24365
|
};
|
|
23978
24366
|
/**
|
|
@@ -24082,19 +24470,6 @@ export class ExperimentsApi extends BaseAPI {
|
|
|
24082
24470
|
v1AdminExperimentsPost(dataTypesCreateExperimentRequest, options) {
|
|
24083
24471
|
return ExperimentsApiFp(this.configuration).v1AdminExperimentsPost(dataTypesCreateExperimentRequest, options).then((request) => request(this.axios, this.basePath));
|
|
24084
24472
|
}
|
|
24085
|
-
/**
|
|
24086
|
-
* Returns variant assignments for all running experiments for the requesting user. Uses hash-based consistent assignment.
|
|
24087
|
-
* @summary Get experiment assignments for a user
|
|
24088
|
-
* @param {string} xStoreid Store ID
|
|
24089
|
-
* @param {string} [xUserId] User ID (provide either x-user-id or x-anon-id)
|
|
24090
|
-
* @param {string} [xAnonId] Anonymous ID (provide either x-user-id or x-anon-id)
|
|
24091
|
-
* @param {*} [options] Override http request option.
|
|
24092
|
-
* @throws {RequiredError}
|
|
24093
|
-
* @memberof ExperimentsApi
|
|
24094
|
-
*/
|
|
24095
|
-
v1ExperimentsAssignmentGet(xStoreid, xUserId, xAnonId, options) {
|
|
24096
|
-
return ExperimentsApiFp(this.configuration).v1ExperimentsAssignmentGet(xStoreid, xUserId, xAnonId, options).then((request) => request(this.axios, this.basePath));
|
|
24097
|
-
}
|
|
24098
24473
|
}
|
|
24099
24474
|
/**
|
|
24100
24475
|
* ExternalAPINotificationsApi - axios parameter creator
|
|
@@ -24802,52 +25177,296 @@ export class FeatureLimitsApi extends BaseAPI {
|
|
|
24802
25177
|
return FeatureLimitsApiFp(this.configuration).adminV1FeatureLimitsPlanUserInfoGet(options).then((request) => request(this.axios, this.basePath));
|
|
24803
25178
|
}
|
|
24804
25179
|
/**
|
|
24805
|
-
* Retrieves comprehensive real-time limit status for the organization including all features, credits, and API calls
|
|
24806
|
-
* @summary Get real-time limit status
|
|
25180
|
+
* Retrieves comprehensive real-time limit status for the organization including all features, credits, and API calls
|
|
25181
|
+
* @summary Get real-time limit status
|
|
25182
|
+
* @param {*} [options] Override http request option.
|
|
25183
|
+
* @throws {RequiredError}
|
|
25184
|
+
* @memberof FeatureLimitsApi
|
|
25185
|
+
*/
|
|
25186
|
+
adminV1FeatureLimitsStatusGet(options) {
|
|
25187
|
+
return FeatureLimitsApiFp(this.configuration).adminV1FeatureLimitsStatusGet(options).then((request) => request(this.axios, this.basePath));
|
|
25188
|
+
}
|
|
25189
|
+
/**
|
|
25190
|
+
* Retrieves current feature usage statistics for the organization
|
|
25191
|
+
* @summary Get feature usage statistics
|
|
25192
|
+
* @param {*} [options] Override http request option.
|
|
25193
|
+
* @throws {RequiredError}
|
|
25194
|
+
* @memberof FeatureLimitsApi
|
|
25195
|
+
*/
|
|
25196
|
+
adminV1FeatureLimitsUsageGet(options) {
|
|
25197
|
+
return FeatureLimitsApiFp(this.configuration).adminV1FeatureLimitsUsageGet(options).then((request) => request(this.axios, this.basePath));
|
|
25198
|
+
}
|
|
25199
|
+
/**
|
|
25200
|
+
* Retrieves log of feature limit violations for monitoring
|
|
25201
|
+
* @summary Get feature limit violations
|
|
25202
|
+
* @param {string} [featureName] Filter by feature name
|
|
25203
|
+
* @param {number} [limit] Number of records to return (default: 50)
|
|
25204
|
+
* @param {*} [options] Override http request option.
|
|
25205
|
+
* @throws {RequiredError}
|
|
25206
|
+
* @memberof FeatureLimitsApi
|
|
25207
|
+
*/
|
|
25208
|
+
adminV1FeatureLimitsViolationsGet(featureName, limit, options) {
|
|
25209
|
+
return FeatureLimitsApiFp(this.configuration).adminV1FeatureLimitsViolationsGet(featureName, limit, options).then((request) => request(this.axios, this.basePath));
|
|
25210
|
+
}
|
|
25211
|
+
}
|
|
25212
|
+
/**
|
|
25213
|
+
* FeatureLimitsAdminApi - axios parameter creator
|
|
25214
|
+
* @export
|
|
25215
|
+
*/
|
|
25216
|
+
export const FeatureLimitsAdminApiAxiosParamCreator = function (configuration) {
|
|
25217
|
+
return {
|
|
25218
|
+
/**
|
|
25219
|
+
* Invalidates the cached plan data for an organization
|
|
25220
|
+
* @summary Invalidate plan cache (Admin)
|
|
25221
|
+
* @param {*} [options] Override http request option.
|
|
25222
|
+
* @throws {RequiredError}
|
|
25223
|
+
*/
|
|
25224
|
+
adminV1FeatureLimitsCacheInvalidatePost: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
25225
|
+
const localVarPath = `/admin/v1/feature-limits/cache/invalidate`;
|
|
25226
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
25227
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
25228
|
+
let baseOptions;
|
|
25229
|
+
if (configuration) {
|
|
25230
|
+
baseOptions = configuration.baseOptions;
|
|
25231
|
+
}
|
|
25232
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
25233
|
+
const localVarHeaderParameter = {};
|
|
25234
|
+
const localVarQueryParameter = {};
|
|
25235
|
+
// authentication BearerAuth required
|
|
25236
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
25237
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
25238
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25239
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
25240
|
+
return {
|
|
25241
|
+
url: toPathString(localVarUrlObj),
|
|
25242
|
+
options: localVarRequestOptions,
|
|
25243
|
+
};
|
|
25244
|
+
}),
|
|
25245
|
+
/**
|
|
25246
|
+
* Recalculates and syncs all metrics for the organization from source tables to database and Redis. For increment-based metrics (api_calls, analytics_events), only syncs if Redis is empty unless force=true
|
|
25247
|
+
* @summary Sync all metrics (Admin)
|
|
25248
|
+
* @param {boolean} [force] Force sync increment-based metrics even if Redis has values
|
|
25249
|
+
* @param {*} [options] Override http request option.
|
|
25250
|
+
* @throws {RequiredError}
|
|
25251
|
+
*/
|
|
25252
|
+
adminV1FeatureLimitsMetricsSyncPost: (force_1, ...args_1) => __awaiter(this, [force_1, ...args_1], void 0, function* (force, options = {}) {
|
|
25253
|
+
const localVarPath = `/admin/v1/feature-limits/metrics/sync`;
|
|
25254
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
25255
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
25256
|
+
let baseOptions;
|
|
25257
|
+
if (configuration) {
|
|
25258
|
+
baseOptions = configuration.baseOptions;
|
|
25259
|
+
}
|
|
25260
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
25261
|
+
const localVarHeaderParameter = {};
|
|
25262
|
+
const localVarQueryParameter = {};
|
|
25263
|
+
// authentication BearerAuth required
|
|
25264
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
25265
|
+
if (force !== undefined) {
|
|
25266
|
+
localVarQueryParameter['force'] = force;
|
|
25267
|
+
}
|
|
25268
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
25269
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25270
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
25271
|
+
return {
|
|
25272
|
+
url: toPathString(localVarUrlObj),
|
|
25273
|
+
options: localVarRequestOptions,
|
|
25274
|
+
};
|
|
25275
|
+
}),
|
|
25276
|
+
/**
|
|
25277
|
+
* Resets usage counter for a specific feature (admin only)
|
|
25278
|
+
* @summary Reset feature usage (Admin)
|
|
25279
|
+
* @param {string} featureName Feature name to reset
|
|
25280
|
+
* @param {*} [options] Override http request option.
|
|
25281
|
+
* @throws {RequiredError}
|
|
25282
|
+
*/
|
|
25283
|
+
adminV1FeatureLimitsResetPost: (featureName_1, ...args_1) => __awaiter(this, [featureName_1, ...args_1], void 0, function* (featureName, options = {}) {
|
|
25284
|
+
// verify required parameter 'featureName' is not null or undefined
|
|
25285
|
+
assertParamExists('adminV1FeatureLimitsResetPost', 'featureName', featureName);
|
|
25286
|
+
const localVarPath = `/admin/v1/feature-limits/reset`;
|
|
25287
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
25288
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
25289
|
+
let baseOptions;
|
|
25290
|
+
if (configuration) {
|
|
25291
|
+
baseOptions = configuration.baseOptions;
|
|
25292
|
+
}
|
|
25293
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
25294
|
+
const localVarHeaderParameter = {};
|
|
25295
|
+
const localVarQueryParameter = {};
|
|
25296
|
+
// authentication BearerAuth required
|
|
25297
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
25298
|
+
if (featureName !== undefined) {
|
|
25299
|
+
localVarQueryParameter['feature_name'] = featureName;
|
|
25300
|
+
}
|
|
25301
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
25302
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25303
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
25304
|
+
return {
|
|
25305
|
+
url: toPathString(localVarUrlObj),
|
|
25306
|
+
options: localVarRequestOptions,
|
|
25307
|
+
};
|
|
25308
|
+
}),
|
|
25309
|
+
};
|
|
25310
|
+
};
|
|
25311
|
+
/**
|
|
25312
|
+
* FeatureLimitsAdminApi - functional programming interface
|
|
25313
|
+
* @export
|
|
25314
|
+
*/
|
|
25315
|
+
export const FeatureLimitsAdminApiFp = function (configuration) {
|
|
25316
|
+
const localVarAxiosParamCreator = FeatureLimitsAdminApiAxiosParamCreator(configuration);
|
|
25317
|
+
return {
|
|
25318
|
+
/**
|
|
25319
|
+
* Invalidates the cached plan data for an organization
|
|
25320
|
+
* @summary Invalidate plan cache (Admin)
|
|
25321
|
+
* @param {*} [options] Override http request option.
|
|
25322
|
+
* @throws {RequiredError}
|
|
25323
|
+
*/
|
|
25324
|
+
adminV1FeatureLimitsCacheInvalidatePost(options) {
|
|
25325
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
25326
|
+
var _a, _b, _c;
|
|
25327
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1FeatureLimitsCacheInvalidatePost(options);
|
|
25328
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
25329
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['FeatureLimitsAdminApi.adminV1FeatureLimitsCacheInvalidatePost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
25330
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
25331
|
+
});
|
|
25332
|
+
},
|
|
25333
|
+
/**
|
|
25334
|
+
* Recalculates and syncs all metrics for the organization from source tables to database and Redis. For increment-based metrics (api_calls, analytics_events), only syncs if Redis is empty unless force=true
|
|
25335
|
+
* @summary Sync all metrics (Admin)
|
|
25336
|
+
* @param {boolean} [force] Force sync increment-based metrics even if Redis has values
|
|
25337
|
+
* @param {*} [options] Override http request option.
|
|
25338
|
+
* @throws {RequiredError}
|
|
25339
|
+
*/
|
|
25340
|
+
adminV1FeatureLimitsMetricsSyncPost(force, options) {
|
|
25341
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
25342
|
+
var _a, _b, _c;
|
|
25343
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1FeatureLimitsMetricsSyncPost(force, options);
|
|
25344
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
25345
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['FeatureLimitsAdminApi.adminV1FeatureLimitsMetricsSyncPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
25346
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
25347
|
+
});
|
|
25348
|
+
},
|
|
25349
|
+
/**
|
|
25350
|
+
* Resets usage counter for a specific feature (admin only)
|
|
25351
|
+
* @summary Reset feature usage (Admin)
|
|
25352
|
+
* @param {string} featureName Feature name to reset
|
|
25353
|
+
* @param {*} [options] Override http request option.
|
|
25354
|
+
* @throws {RequiredError}
|
|
25355
|
+
*/
|
|
25356
|
+
adminV1FeatureLimitsResetPost(featureName, options) {
|
|
25357
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
25358
|
+
var _a, _b, _c;
|
|
25359
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1FeatureLimitsResetPost(featureName, options);
|
|
25360
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
25361
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['FeatureLimitsAdminApi.adminV1FeatureLimitsResetPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
25362
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
25363
|
+
});
|
|
25364
|
+
},
|
|
25365
|
+
};
|
|
25366
|
+
};
|
|
25367
|
+
/**
|
|
25368
|
+
* FeatureLimitsAdminApi - factory interface
|
|
25369
|
+
* @export
|
|
25370
|
+
*/
|
|
25371
|
+
export const FeatureLimitsAdminApiFactory = function (configuration, basePath, axios) {
|
|
25372
|
+
const localVarFp = FeatureLimitsAdminApiFp(configuration);
|
|
25373
|
+
return {
|
|
25374
|
+
/**
|
|
25375
|
+
* Invalidates the cached plan data for an organization
|
|
25376
|
+
* @summary Invalidate plan cache (Admin)
|
|
25377
|
+
* @param {*} [options] Override http request option.
|
|
25378
|
+
* @throws {RequiredError}
|
|
25379
|
+
*/
|
|
25380
|
+
adminV1FeatureLimitsCacheInvalidatePost(options) {
|
|
25381
|
+
return localVarFp.adminV1FeatureLimitsCacheInvalidatePost(options).then((request) => request(axios, basePath));
|
|
25382
|
+
},
|
|
25383
|
+
/**
|
|
25384
|
+
* Recalculates and syncs all metrics for the organization from source tables to database and Redis. For increment-based metrics (api_calls, analytics_events), only syncs if Redis is empty unless force=true
|
|
25385
|
+
* @summary Sync all metrics (Admin)
|
|
25386
|
+
* @param {boolean} [force] Force sync increment-based metrics even if Redis has values
|
|
25387
|
+
* @param {*} [options] Override http request option.
|
|
25388
|
+
* @throws {RequiredError}
|
|
25389
|
+
*/
|
|
25390
|
+
adminV1FeatureLimitsMetricsSyncPost(force, options) {
|
|
25391
|
+
return localVarFp.adminV1FeatureLimitsMetricsSyncPost(force, options).then((request) => request(axios, basePath));
|
|
25392
|
+
},
|
|
25393
|
+
/**
|
|
25394
|
+
* Resets usage counter for a specific feature (admin only)
|
|
25395
|
+
* @summary Reset feature usage (Admin)
|
|
25396
|
+
* @param {string} featureName Feature name to reset
|
|
25397
|
+
* @param {*} [options] Override http request option.
|
|
25398
|
+
* @throws {RequiredError}
|
|
25399
|
+
*/
|
|
25400
|
+
adminV1FeatureLimitsResetPost(featureName, options) {
|
|
25401
|
+
return localVarFp.adminV1FeatureLimitsResetPost(featureName, options).then((request) => request(axios, basePath));
|
|
25402
|
+
},
|
|
25403
|
+
};
|
|
25404
|
+
};
|
|
25405
|
+
/**
|
|
25406
|
+
* FeatureLimitsAdminApi - object-oriented interface
|
|
25407
|
+
* @export
|
|
25408
|
+
* @class FeatureLimitsAdminApi
|
|
25409
|
+
* @extends {BaseAPI}
|
|
25410
|
+
*/
|
|
25411
|
+
export class FeatureLimitsAdminApi extends BaseAPI {
|
|
25412
|
+
/**
|
|
25413
|
+
* Invalidates the cached plan data for an organization
|
|
25414
|
+
* @summary Invalidate plan cache (Admin)
|
|
24807
25415
|
* @param {*} [options] Override http request option.
|
|
24808
25416
|
* @throws {RequiredError}
|
|
24809
|
-
* @memberof
|
|
25417
|
+
* @memberof FeatureLimitsAdminApi
|
|
24810
25418
|
*/
|
|
24811
|
-
|
|
24812
|
-
return
|
|
25419
|
+
adminV1FeatureLimitsCacheInvalidatePost(options) {
|
|
25420
|
+
return FeatureLimitsAdminApiFp(this.configuration).adminV1FeatureLimitsCacheInvalidatePost(options).then((request) => request(this.axios, this.basePath));
|
|
24813
25421
|
}
|
|
24814
25422
|
/**
|
|
24815
|
-
*
|
|
24816
|
-
* @summary
|
|
25423
|
+
* Recalculates and syncs all metrics for the organization from source tables to database and Redis. For increment-based metrics (api_calls, analytics_events), only syncs if Redis is empty unless force=true
|
|
25424
|
+
* @summary Sync all metrics (Admin)
|
|
25425
|
+
* @param {boolean} [force] Force sync increment-based metrics even if Redis has values
|
|
24817
25426
|
* @param {*} [options] Override http request option.
|
|
24818
25427
|
* @throws {RequiredError}
|
|
24819
|
-
* @memberof
|
|
25428
|
+
* @memberof FeatureLimitsAdminApi
|
|
24820
25429
|
*/
|
|
24821
|
-
|
|
24822
|
-
return
|
|
25430
|
+
adminV1FeatureLimitsMetricsSyncPost(force, options) {
|
|
25431
|
+
return FeatureLimitsAdminApiFp(this.configuration).adminV1FeatureLimitsMetricsSyncPost(force, options).then((request) => request(this.axios, this.basePath));
|
|
24823
25432
|
}
|
|
24824
25433
|
/**
|
|
24825
|
-
*
|
|
24826
|
-
* @summary
|
|
24827
|
-
* @param {string}
|
|
24828
|
-
* @param {number} [limit] Number of records to return (default: 50)
|
|
25434
|
+
* Resets usage counter for a specific feature (admin only)
|
|
25435
|
+
* @summary Reset feature usage (Admin)
|
|
25436
|
+
* @param {string} featureName Feature name to reset
|
|
24829
25437
|
* @param {*} [options] Override http request option.
|
|
24830
25438
|
* @throws {RequiredError}
|
|
24831
|
-
* @memberof
|
|
25439
|
+
* @memberof FeatureLimitsAdminApi
|
|
24832
25440
|
*/
|
|
24833
|
-
|
|
24834
|
-
return
|
|
25441
|
+
adminV1FeatureLimitsResetPost(featureName, options) {
|
|
25442
|
+
return FeatureLimitsAdminApiFp(this.configuration).adminV1FeatureLimitsResetPost(featureName, options).then((request) => request(this.axios, this.basePath));
|
|
24835
25443
|
}
|
|
24836
25444
|
}
|
|
24837
25445
|
/**
|
|
24838
|
-
*
|
|
25446
|
+
* FiltersApi - axios parameter creator
|
|
24839
25447
|
* @export
|
|
24840
25448
|
*/
|
|
24841
|
-
export const
|
|
25449
|
+
export const FiltersApiAxiosParamCreator = function (configuration) {
|
|
24842
25450
|
return {
|
|
24843
25451
|
/**
|
|
24844
|
-
*
|
|
24845
|
-
* @summary
|
|
25452
|
+
* Search within a facet\'s values (admin-authenticated version)
|
|
25453
|
+
* @summary Admin Search Facet Values
|
|
25454
|
+
* @param {string} xStoreID X-Store ID
|
|
25455
|
+
* @param {string} facetName Facet field name
|
|
25456
|
+
* @param {DataTypesFacetValuesSearchRequest} dataTypesFacetValuesSearchRequest Facet search query
|
|
24846
25457
|
* @param {*} [options] Override http request option.
|
|
24847
25458
|
* @throws {RequiredError}
|
|
24848
25459
|
*/
|
|
24849
|
-
|
|
24850
|
-
|
|
25460
|
+
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 = {}) {
|
|
25461
|
+
// verify required parameter 'xStoreID' is not null or undefined
|
|
25462
|
+
assertParamExists('adminV1FiltersXStoreIDFacetNameValuesPost', 'xStoreID', xStoreID);
|
|
25463
|
+
// verify required parameter 'facetName' is not null or undefined
|
|
25464
|
+
assertParamExists('adminV1FiltersXStoreIDFacetNameValuesPost', 'facetName', facetName);
|
|
25465
|
+
// verify required parameter 'dataTypesFacetValuesSearchRequest' is not null or undefined
|
|
25466
|
+
assertParamExists('adminV1FiltersXStoreIDFacetNameValuesPost', 'dataTypesFacetValuesSearchRequest', dataTypesFacetValuesSearchRequest);
|
|
25467
|
+
const localVarPath = `/admin/v1/filters/{xStoreID}/{facetName}/values`
|
|
25468
|
+
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)))
|
|
25469
|
+
.replace(`{${"facetName"}}`, encodeURIComponent(String(facetName)));
|
|
24851
25470
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
24852
25471
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
24853
25472
|
let baseOptions;
|
|
@@ -24859,23 +25478,29 @@ export const FeatureLimitsAdminApiAxiosParamCreator = function (configuration) {
|
|
|
24859
25478
|
const localVarQueryParameter = {};
|
|
24860
25479
|
// authentication BearerAuth required
|
|
24861
25480
|
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
25481
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
24862
25482
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
24863
25483
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
24864
25484
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
25485
|
+
localVarRequestOptions.data = serializeDataIfNeeded(dataTypesFacetValuesSearchRequest, localVarRequestOptions, configuration);
|
|
24865
25486
|
return {
|
|
24866
25487
|
url: toPathString(localVarUrlObj),
|
|
24867
25488
|
options: localVarRequestOptions,
|
|
24868
25489
|
};
|
|
24869
25490
|
}),
|
|
24870
25491
|
/**
|
|
24871
|
-
*
|
|
24872
|
-
* @summary
|
|
24873
|
-
* @param {
|
|
25492
|
+
* Get filter values and counts (admin-authenticated version)
|
|
25493
|
+
* @summary Admin Get Filters
|
|
25494
|
+
* @param {string} xStoreID X-Store ID
|
|
25495
|
+
* @param {DataTypesFiltersRequest} [dataTypesFiltersRequest] Filter options
|
|
24874
25496
|
* @param {*} [options] Override http request option.
|
|
24875
25497
|
* @throws {RequiredError}
|
|
24876
25498
|
*/
|
|
24877
|
-
|
|
24878
|
-
|
|
25499
|
+
adminV1FiltersXStoreIDPost: (xStoreID_1, dataTypesFiltersRequest_1, ...args_1) => __awaiter(this, [xStoreID_1, dataTypesFiltersRequest_1, ...args_1], void 0, function* (xStoreID, dataTypesFiltersRequest, options = {}) {
|
|
25500
|
+
// verify required parameter 'xStoreID' is not null or undefined
|
|
25501
|
+
assertParamExists('adminV1FiltersXStoreIDPost', 'xStoreID', xStoreID);
|
|
25502
|
+
const localVarPath = `/admin/v1/filters/{xStoreID}`
|
|
25503
|
+
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
|
|
24879
25504
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
24880
25505
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
24881
25506
|
let baseOptions;
|
|
@@ -24887,41 +25512,161 @@ export const FeatureLimitsAdminApiAxiosParamCreator = function (configuration) {
|
|
|
24887
25512
|
const localVarQueryParameter = {};
|
|
24888
25513
|
// authentication BearerAuth required
|
|
24889
25514
|
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
24890
|
-
|
|
24891
|
-
localVarQueryParameter['force'] = force;
|
|
24892
|
-
}
|
|
25515
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
24893
25516
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
24894
25517
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
24895
25518
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
25519
|
+
localVarRequestOptions.data = serializeDataIfNeeded(dataTypesFiltersRequest, localVarRequestOptions, configuration);
|
|
24896
25520
|
return {
|
|
24897
25521
|
url: toPathString(localVarUrlObj),
|
|
24898
25522
|
options: localVarRequestOptions,
|
|
24899
25523
|
};
|
|
24900
25524
|
}),
|
|
24901
25525
|
/**
|
|
24902
|
-
*
|
|
24903
|
-
* @summary
|
|
24904
|
-
* @param {string}
|
|
25526
|
+
* Get filter field metadata (admin-authenticated version)
|
|
25527
|
+
* @summary Admin Get Filters Schema
|
|
25528
|
+
* @param {string} xStoreID X-Store ID
|
|
24905
25529
|
* @param {*} [options] Override http request option.
|
|
24906
25530
|
* @throws {RequiredError}
|
|
24907
25531
|
*/
|
|
24908
|
-
|
|
24909
|
-
// verify required parameter '
|
|
24910
|
-
assertParamExists('
|
|
24911
|
-
const localVarPath = `/admin/v1/
|
|
25532
|
+
adminV1FiltersXStoreIDSchemaGet: (xStoreID_1, ...args_1) => __awaiter(this, [xStoreID_1, ...args_1], void 0, function* (xStoreID, options = {}) {
|
|
25533
|
+
// verify required parameter 'xStoreID' is not null or undefined
|
|
25534
|
+
assertParamExists('adminV1FiltersXStoreIDSchemaGet', 'xStoreID', xStoreID);
|
|
25535
|
+
const localVarPath = `/admin/v1/filters/{xStoreID}/schema`
|
|
25536
|
+
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
|
|
24912
25537
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
24913
25538
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
24914
25539
|
let baseOptions;
|
|
24915
25540
|
if (configuration) {
|
|
24916
25541
|
baseOptions = configuration.baseOptions;
|
|
24917
25542
|
}
|
|
24918
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
25543
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
24919
25544
|
const localVarHeaderParameter = {};
|
|
24920
25545
|
const localVarQueryParameter = {};
|
|
24921
25546
|
// authentication BearerAuth required
|
|
24922
25547
|
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
24923
|
-
|
|
24924
|
-
|
|
25548
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
25549
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25550
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
25551
|
+
return {
|
|
25552
|
+
url: toPathString(localVarUrlObj),
|
|
25553
|
+
options: localVarRequestOptions,
|
|
25554
|
+
};
|
|
25555
|
+
}),
|
|
25556
|
+
/**
|
|
25557
|
+
* Search or autocomplete within a single facet\'s values. Useful for facets with many values (e.g., brands) where you need typeahead search.
|
|
25558
|
+
* @summary Search Facet Values
|
|
25559
|
+
* @param {string} xStoreid Store ID (from dashboard)
|
|
25560
|
+
* @param {string} xStoresecret Store read secret (from dashboard)
|
|
25561
|
+
* @param {string} facetName Facet field name (e.g., brand, category)
|
|
25562
|
+
* @param {DataTypesFacetValuesSearchRequest} dataTypesFacetValuesSearchRequest Facet search query
|
|
25563
|
+
* @param {*} [options] Override http request option.
|
|
25564
|
+
* @throws {RequiredError}
|
|
25565
|
+
*/
|
|
25566
|
+
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 = {}) {
|
|
25567
|
+
// verify required parameter 'xStoreid' is not null or undefined
|
|
25568
|
+
assertParamExists('v1FiltersFacetNameValuesPost', 'xStoreid', xStoreid);
|
|
25569
|
+
// verify required parameter 'xStoresecret' is not null or undefined
|
|
25570
|
+
assertParamExists('v1FiltersFacetNameValuesPost', 'xStoresecret', xStoresecret);
|
|
25571
|
+
// verify required parameter 'facetName' is not null or undefined
|
|
25572
|
+
assertParamExists('v1FiltersFacetNameValuesPost', 'facetName', facetName);
|
|
25573
|
+
// verify required parameter 'dataTypesFacetValuesSearchRequest' is not null or undefined
|
|
25574
|
+
assertParamExists('v1FiltersFacetNameValuesPost', 'dataTypesFacetValuesSearchRequest', dataTypesFacetValuesSearchRequest);
|
|
25575
|
+
const localVarPath = `/v1/filters/{facetName}/values`
|
|
25576
|
+
.replace(`{${"facetName"}}`, encodeURIComponent(String(facetName)));
|
|
25577
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
25578
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
25579
|
+
let baseOptions;
|
|
25580
|
+
if (configuration) {
|
|
25581
|
+
baseOptions = configuration.baseOptions;
|
|
25582
|
+
}
|
|
25583
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
25584
|
+
const localVarHeaderParameter = {};
|
|
25585
|
+
const localVarQueryParameter = {};
|
|
25586
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
25587
|
+
if (xStoreid != null) {
|
|
25588
|
+
localVarHeaderParameter['x-storeid'] = String(xStoreid);
|
|
25589
|
+
}
|
|
25590
|
+
if (xStoresecret != null) {
|
|
25591
|
+
localVarHeaderParameter['x-storesecret'] = String(xStoresecret);
|
|
25592
|
+
}
|
|
25593
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
25594
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25595
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
25596
|
+
localVarRequestOptions.data = serializeDataIfNeeded(dataTypesFacetValuesSearchRequest, localVarRequestOptions, configuration);
|
|
25597
|
+
return {
|
|
25598
|
+
url: toPathString(localVarUrlObj),
|
|
25599
|
+
options: localVarRequestOptions,
|
|
25600
|
+
};
|
|
25601
|
+
}),
|
|
25602
|
+
/**
|
|
25603
|
+
* Get filter values and counts for configured facets. Use this to build faceted navigation UIs. Supports disjunctive faceting for OR-based filter combinations.
|
|
25604
|
+
* @summary Get Filters
|
|
25605
|
+
* @param {string} xStoreid Store ID (from dashboard)
|
|
25606
|
+
* @param {string} xStoresecret Store read secret (from dashboard)
|
|
25607
|
+
* @param {DataTypesFiltersRequest} [dataTypesFiltersRequest] Filter options
|
|
25608
|
+
* @param {*} [options] Override http request option.
|
|
25609
|
+
* @throws {RequiredError}
|
|
25610
|
+
*/
|
|
25611
|
+
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 = {}) {
|
|
25612
|
+
// verify required parameter 'xStoreid' is not null or undefined
|
|
25613
|
+
assertParamExists('v1FiltersPost', 'xStoreid', xStoreid);
|
|
25614
|
+
// verify required parameter 'xStoresecret' is not null or undefined
|
|
25615
|
+
assertParamExists('v1FiltersPost', 'xStoresecret', xStoresecret);
|
|
25616
|
+
const localVarPath = `/v1/filters`;
|
|
25617
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
25618
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
25619
|
+
let baseOptions;
|
|
25620
|
+
if (configuration) {
|
|
25621
|
+
baseOptions = configuration.baseOptions;
|
|
25622
|
+
}
|
|
25623
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
25624
|
+
const localVarHeaderParameter = {};
|
|
25625
|
+
const localVarQueryParameter = {};
|
|
25626
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
25627
|
+
if (xStoreid != null) {
|
|
25628
|
+
localVarHeaderParameter['x-storeid'] = String(xStoreid);
|
|
25629
|
+
}
|
|
25630
|
+
if (xStoresecret != null) {
|
|
25631
|
+
localVarHeaderParameter['x-storesecret'] = String(xStoresecret);
|
|
25632
|
+
}
|
|
25633
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
25634
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25635
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
25636
|
+
localVarRequestOptions.data = serializeDataIfNeeded(dataTypesFiltersRequest, localVarRequestOptions, configuration);
|
|
25637
|
+
return {
|
|
25638
|
+
url: toPathString(localVarUrlObj),
|
|
25639
|
+
options: localVarRequestOptions,
|
|
25640
|
+
};
|
|
25641
|
+
}),
|
|
25642
|
+
/**
|
|
25643
|
+
* Get available filter field metadata including types, sortability, and configured ranges. Useful for dynamically building filter UIs.
|
|
25644
|
+
* @summary Get Filters Schema
|
|
25645
|
+
* @param {string} xStoreid Store ID (from dashboard)
|
|
25646
|
+
* @param {string} xStoresecret Store read secret (from dashboard)
|
|
25647
|
+
* @param {*} [options] Override http request option.
|
|
25648
|
+
* @throws {RequiredError}
|
|
25649
|
+
*/
|
|
25650
|
+
v1FiltersSchemaGet: (xStoreid_1, xStoresecret_1, ...args_1) => __awaiter(this, [xStoreid_1, xStoresecret_1, ...args_1], void 0, function* (xStoreid, xStoresecret, options = {}) {
|
|
25651
|
+
// verify required parameter 'xStoreid' is not null or undefined
|
|
25652
|
+
assertParamExists('v1FiltersSchemaGet', 'xStoreid', xStoreid);
|
|
25653
|
+
// verify required parameter 'xStoresecret' is not null or undefined
|
|
25654
|
+
assertParamExists('v1FiltersSchemaGet', 'xStoresecret', xStoresecret);
|
|
25655
|
+
const localVarPath = `/v1/filters/schema`;
|
|
25656
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
25657
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
25658
|
+
let baseOptions;
|
|
25659
|
+
if (configuration) {
|
|
25660
|
+
baseOptions = configuration.baseOptions;
|
|
25661
|
+
}
|
|
25662
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
25663
|
+
const localVarHeaderParameter = {};
|
|
25664
|
+
const localVarQueryParameter = {};
|
|
25665
|
+
if (xStoreid != null) {
|
|
25666
|
+
localVarHeaderParameter['x-storeid'] = String(xStoreid);
|
|
25667
|
+
}
|
|
25668
|
+
if (xStoresecret != null) {
|
|
25669
|
+
localVarHeaderParameter['x-storesecret'] = String(xStoresecret);
|
|
24925
25670
|
}
|
|
24926
25671
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
24927
25672
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -24934,137 +25679,278 @@ export const FeatureLimitsAdminApiAxiosParamCreator = function (configuration) {
|
|
|
24934
25679
|
};
|
|
24935
25680
|
};
|
|
24936
25681
|
/**
|
|
24937
|
-
*
|
|
25682
|
+
* FiltersApi - functional programming interface
|
|
24938
25683
|
* @export
|
|
24939
25684
|
*/
|
|
24940
|
-
export const
|
|
24941
|
-
const localVarAxiosParamCreator =
|
|
25685
|
+
export const FiltersApiFp = function (configuration) {
|
|
25686
|
+
const localVarAxiosParamCreator = FiltersApiAxiosParamCreator(configuration);
|
|
24942
25687
|
return {
|
|
24943
25688
|
/**
|
|
24944
|
-
*
|
|
24945
|
-
* @summary
|
|
25689
|
+
* Search within a facet\'s values (admin-authenticated version)
|
|
25690
|
+
* @summary Admin Search Facet Values
|
|
25691
|
+
* @param {string} xStoreID X-Store ID
|
|
25692
|
+
* @param {string} facetName Facet field name
|
|
25693
|
+
* @param {DataTypesFacetValuesSearchRequest} dataTypesFacetValuesSearchRequest Facet search query
|
|
24946
25694
|
* @param {*} [options] Override http request option.
|
|
24947
25695
|
* @throws {RequiredError}
|
|
24948
25696
|
*/
|
|
24949
|
-
|
|
25697
|
+
adminV1FiltersXStoreIDFacetNameValuesPost(xStoreID, facetName, dataTypesFacetValuesSearchRequest, options) {
|
|
24950
25698
|
return __awaiter(this, void 0, void 0, function* () {
|
|
24951
25699
|
var _a, _b, _c;
|
|
24952
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
25700
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1FiltersXStoreIDFacetNameValuesPost(xStoreID, facetName, dataTypesFacetValuesSearchRequest, options);
|
|
24953
25701
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
24954
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['
|
|
25702
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['FiltersApi.adminV1FiltersXStoreIDFacetNameValuesPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
24955
25703
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
24956
25704
|
});
|
|
24957
25705
|
},
|
|
24958
25706
|
/**
|
|
24959
|
-
*
|
|
24960
|
-
* @summary
|
|
24961
|
-
* @param {
|
|
25707
|
+
* Get filter values and counts (admin-authenticated version)
|
|
25708
|
+
* @summary Admin Get Filters
|
|
25709
|
+
* @param {string} xStoreID X-Store ID
|
|
25710
|
+
* @param {DataTypesFiltersRequest} [dataTypesFiltersRequest] Filter options
|
|
24962
25711
|
* @param {*} [options] Override http request option.
|
|
24963
25712
|
* @throws {RequiredError}
|
|
24964
25713
|
*/
|
|
24965
|
-
|
|
25714
|
+
adminV1FiltersXStoreIDPost(xStoreID, dataTypesFiltersRequest, options) {
|
|
24966
25715
|
return __awaiter(this, void 0, void 0, function* () {
|
|
24967
25716
|
var _a, _b, _c;
|
|
24968
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
25717
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1FiltersXStoreIDPost(xStoreID, dataTypesFiltersRequest, options);
|
|
24969
25718
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
24970
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['
|
|
25719
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['FiltersApi.adminV1FiltersXStoreIDPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
24971
25720
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
24972
25721
|
});
|
|
24973
25722
|
},
|
|
24974
25723
|
/**
|
|
24975
|
-
*
|
|
24976
|
-
* @summary
|
|
24977
|
-
* @param {string}
|
|
25724
|
+
* Get filter field metadata (admin-authenticated version)
|
|
25725
|
+
* @summary Admin Get Filters Schema
|
|
25726
|
+
* @param {string} xStoreID X-Store ID
|
|
25727
|
+
* @param {*} [options] Override http request option.
|
|
25728
|
+
* @throws {RequiredError}
|
|
25729
|
+
*/
|
|
25730
|
+
adminV1FiltersXStoreIDSchemaGet(xStoreID, options) {
|
|
25731
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
25732
|
+
var _a, _b, _c;
|
|
25733
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1FiltersXStoreIDSchemaGet(xStoreID, options);
|
|
25734
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
25735
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['FiltersApi.adminV1FiltersXStoreIDSchemaGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
25736
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
25737
|
+
});
|
|
25738
|
+
},
|
|
25739
|
+
/**
|
|
25740
|
+
* Search or autocomplete within a single facet\'s values. Useful for facets with many values (e.g., brands) where you need typeahead search.
|
|
25741
|
+
* @summary Search Facet Values
|
|
25742
|
+
* @param {string} xStoreid Store ID (from dashboard)
|
|
25743
|
+
* @param {string} xStoresecret Store read secret (from dashboard)
|
|
25744
|
+
* @param {string} facetName Facet field name (e.g., brand, category)
|
|
25745
|
+
* @param {DataTypesFacetValuesSearchRequest} dataTypesFacetValuesSearchRequest Facet search query
|
|
25746
|
+
* @param {*} [options] Override http request option.
|
|
25747
|
+
* @throws {RequiredError}
|
|
25748
|
+
*/
|
|
25749
|
+
v1FiltersFacetNameValuesPost(xStoreid, xStoresecret, facetName, dataTypesFacetValuesSearchRequest, options) {
|
|
25750
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
25751
|
+
var _a, _b, _c;
|
|
25752
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1FiltersFacetNameValuesPost(xStoreid, xStoresecret, facetName, dataTypesFacetValuesSearchRequest, options);
|
|
25753
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
25754
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['FiltersApi.v1FiltersFacetNameValuesPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
25755
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
25756
|
+
});
|
|
25757
|
+
},
|
|
25758
|
+
/**
|
|
25759
|
+
* Get filter values and counts for configured facets. Use this to build faceted navigation UIs. Supports disjunctive faceting for OR-based filter combinations.
|
|
25760
|
+
* @summary Get Filters
|
|
25761
|
+
* @param {string} xStoreid Store ID (from dashboard)
|
|
25762
|
+
* @param {string} xStoresecret Store read secret (from dashboard)
|
|
25763
|
+
* @param {DataTypesFiltersRequest} [dataTypesFiltersRequest] Filter options
|
|
25764
|
+
* @param {*} [options] Override http request option.
|
|
25765
|
+
* @throws {RequiredError}
|
|
25766
|
+
*/
|
|
25767
|
+
v1FiltersPost(xStoreid, xStoresecret, dataTypesFiltersRequest, options) {
|
|
25768
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
25769
|
+
var _a, _b, _c;
|
|
25770
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1FiltersPost(xStoreid, xStoresecret, dataTypesFiltersRequest, options);
|
|
25771
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
25772
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['FiltersApi.v1FiltersPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
25773
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
25774
|
+
});
|
|
25775
|
+
},
|
|
25776
|
+
/**
|
|
25777
|
+
* Get available filter field metadata including types, sortability, and configured ranges. Useful for dynamically building filter UIs.
|
|
25778
|
+
* @summary Get Filters Schema
|
|
25779
|
+
* @param {string} xStoreid Store ID (from dashboard)
|
|
25780
|
+
* @param {string} xStoresecret Store read secret (from dashboard)
|
|
25781
|
+
* @param {*} [options] Override http request option.
|
|
25782
|
+
* @throws {RequiredError}
|
|
25783
|
+
*/
|
|
25784
|
+
v1FiltersSchemaGet(xStoreid, xStoresecret, options) {
|
|
25785
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
25786
|
+
var _a, _b, _c;
|
|
25787
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1FiltersSchemaGet(xStoreid, xStoresecret, options);
|
|
25788
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
25789
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['FiltersApi.v1FiltersSchemaGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
25790
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
25791
|
+
});
|
|
25792
|
+
},
|
|
25793
|
+
};
|
|
25794
|
+
};
|
|
25795
|
+
/**
|
|
25796
|
+
* FiltersApi - factory interface
|
|
25797
|
+
* @export
|
|
25798
|
+
*/
|
|
25799
|
+
export const FiltersApiFactory = function (configuration, basePath, axios) {
|
|
25800
|
+
const localVarFp = FiltersApiFp(configuration);
|
|
25801
|
+
return {
|
|
25802
|
+
/**
|
|
25803
|
+
* Search within a facet\'s values (admin-authenticated version)
|
|
25804
|
+
* @summary Admin Search Facet Values
|
|
25805
|
+
* @param {string} xStoreID X-Store ID
|
|
25806
|
+
* @param {string} facetName Facet field name
|
|
25807
|
+
* @param {DataTypesFacetValuesSearchRequest} dataTypesFacetValuesSearchRequest Facet search query
|
|
25808
|
+
* @param {*} [options] Override http request option.
|
|
25809
|
+
* @throws {RequiredError}
|
|
25810
|
+
*/
|
|
25811
|
+
adminV1FiltersXStoreIDFacetNameValuesPost(xStoreID, facetName, dataTypesFacetValuesSearchRequest, options) {
|
|
25812
|
+
return localVarFp.adminV1FiltersXStoreIDFacetNameValuesPost(xStoreID, facetName, dataTypesFacetValuesSearchRequest, options).then((request) => request(axios, basePath));
|
|
25813
|
+
},
|
|
25814
|
+
/**
|
|
25815
|
+
* Get filter values and counts (admin-authenticated version)
|
|
25816
|
+
* @summary Admin Get Filters
|
|
25817
|
+
* @param {string} xStoreID X-Store ID
|
|
25818
|
+
* @param {DataTypesFiltersRequest} [dataTypesFiltersRequest] Filter options
|
|
25819
|
+
* @param {*} [options] Override http request option.
|
|
25820
|
+
* @throws {RequiredError}
|
|
25821
|
+
*/
|
|
25822
|
+
adminV1FiltersXStoreIDPost(xStoreID, dataTypesFiltersRequest, options) {
|
|
25823
|
+
return localVarFp.adminV1FiltersXStoreIDPost(xStoreID, dataTypesFiltersRequest, options).then((request) => request(axios, basePath));
|
|
25824
|
+
},
|
|
25825
|
+
/**
|
|
25826
|
+
* Get filter field metadata (admin-authenticated version)
|
|
25827
|
+
* @summary Admin Get Filters Schema
|
|
25828
|
+
* @param {string} xStoreID X-Store ID
|
|
24978
25829
|
* @param {*} [options] Override http request option.
|
|
24979
25830
|
* @throws {RequiredError}
|
|
24980
25831
|
*/
|
|
24981
|
-
|
|
24982
|
-
return
|
|
24983
|
-
var _a, _b, _c;
|
|
24984
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1FeatureLimitsResetPost(featureName, options);
|
|
24985
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
24986
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['FeatureLimitsAdminApi.adminV1FeatureLimitsResetPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
24987
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
24988
|
-
});
|
|
25832
|
+
adminV1FiltersXStoreIDSchemaGet(xStoreID, options) {
|
|
25833
|
+
return localVarFp.adminV1FiltersXStoreIDSchemaGet(xStoreID, options).then((request) => request(axios, basePath));
|
|
24989
25834
|
},
|
|
24990
|
-
};
|
|
24991
|
-
};
|
|
24992
|
-
/**
|
|
24993
|
-
* FeatureLimitsAdminApi - factory interface
|
|
24994
|
-
* @export
|
|
24995
|
-
*/
|
|
24996
|
-
export const FeatureLimitsAdminApiFactory = function (configuration, basePath, axios) {
|
|
24997
|
-
const localVarFp = FeatureLimitsAdminApiFp(configuration);
|
|
24998
|
-
return {
|
|
24999
25835
|
/**
|
|
25000
|
-
*
|
|
25001
|
-
* @summary
|
|
25836
|
+
* Search or autocomplete within a single facet\'s values. Useful for facets with many values (e.g., brands) where you need typeahead search.
|
|
25837
|
+
* @summary Search Facet Values
|
|
25838
|
+
* @param {string} xStoreid Store ID (from dashboard)
|
|
25839
|
+
* @param {string} xStoresecret Store read secret (from dashboard)
|
|
25840
|
+
* @param {string} facetName Facet field name (e.g., brand, category)
|
|
25841
|
+
* @param {DataTypesFacetValuesSearchRequest} dataTypesFacetValuesSearchRequest Facet search query
|
|
25002
25842
|
* @param {*} [options] Override http request option.
|
|
25003
25843
|
* @throws {RequiredError}
|
|
25004
25844
|
*/
|
|
25005
|
-
|
|
25006
|
-
return localVarFp.
|
|
25845
|
+
v1FiltersFacetNameValuesPost(xStoreid, xStoresecret, facetName, dataTypesFacetValuesSearchRequest, options) {
|
|
25846
|
+
return localVarFp.v1FiltersFacetNameValuesPost(xStoreid, xStoresecret, facetName, dataTypesFacetValuesSearchRequest, options).then((request) => request(axios, basePath));
|
|
25007
25847
|
},
|
|
25008
25848
|
/**
|
|
25009
|
-
*
|
|
25010
|
-
* @summary
|
|
25011
|
-
* @param {
|
|
25849
|
+
* Get filter values and counts for configured facets. Use this to build faceted navigation UIs. Supports disjunctive faceting for OR-based filter combinations.
|
|
25850
|
+
* @summary Get Filters
|
|
25851
|
+
* @param {string} xStoreid Store ID (from dashboard)
|
|
25852
|
+
* @param {string} xStoresecret Store read secret (from dashboard)
|
|
25853
|
+
* @param {DataTypesFiltersRequest} [dataTypesFiltersRequest] Filter options
|
|
25012
25854
|
* @param {*} [options] Override http request option.
|
|
25013
25855
|
* @throws {RequiredError}
|
|
25014
25856
|
*/
|
|
25015
|
-
|
|
25016
|
-
return localVarFp.
|
|
25857
|
+
v1FiltersPost(xStoreid, xStoresecret, dataTypesFiltersRequest, options) {
|
|
25858
|
+
return localVarFp.v1FiltersPost(xStoreid, xStoresecret, dataTypesFiltersRequest, options).then((request) => request(axios, basePath));
|
|
25017
25859
|
},
|
|
25018
25860
|
/**
|
|
25019
|
-
*
|
|
25020
|
-
* @summary
|
|
25021
|
-
* @param {string}
|
|
25861
|
+
* Get available filter field metadata including types, sortability, and configured ranges. Useful for dynamically building filter UIs.
|
|
25862
|
+
* @summary Get Filters Schema
|
|
25863
|
+
* @param {string} xStoreid Store ID (from dashboard)
|
|
25864
|
+
* @param {string} xStoresecret Store read secret (from dashboard)
|
|
25022
25865
|
* @param {*} [options] Override http request option.
|
|
25023
25866
|
* @throws {RequiredError}
|
|
25024
25867
|
*/
|
|
25025
|
-
|
|
25026
|
-
return localVarFp.
|
|
25868
|
+
v1FiltersSchemaGet(xStoreid, xStoresecret, options) {
|
|
25869
|
+
return localVarFp.v1FiltersSchemaGet(xStoreid, xStoresecret, options).then((request) => request(axios, basePath));
|
|
25027
25870
|
},
|
|
25028
25871
|
};
|
|
25029
25872
|
};
|
|
25030
25873
|
/**
|
|
25031
|
-
*
|
|
25874
|
+
* FiltersApi - object-oriented interface
|
|
25032
25875
|
* @export
|
|
25033
|
-
* @class
|
|
25876
|
+
* @class FiltersApi
|
|
25034
25877
|
* @extends {BaseAPI}
|
|
25035
25878
|
*/
|
|
25036
|
-
export class
|
|
25879
|
+
export class FiltersApi extends BaseAPI {
|
|
25037
25880
|
/**
|
|
25038
|
-
*
|
|
25039
|
-
* @summary
|
|
25881
|
+
* Search within a facet\'s values (admin-authenticated version)
|
|
25882
|
+
* @summary Admin Search Facet Values
|
|
25883
|
+
* @param {string} xStoreID X-Store ID
|
|
25884
|
+
* @param {string} facetName Facet field name
|
|
25885
|
+
* @param {DataTypesFacetValuesSearchRequest} dataTypesFacetValuesSearchRequest Facet search query
|
|
25040
25886
|
* @param {*} [options] Override http request option.
|
|
25041
25887
|
* @throws {RequiredError}
|
|
25042
|
-
* @memberof
|
|
25888
|
+
* @memberof FiltersApi
|
|
25043
25889
|
*/
|
|
25044
|
-
|
|
25045
|
-
return
|
|
25890
|
+
adminV1FiltersXStoreIDFacetNameValuesPost(xStoreID, facetName, dataTypesFacetValuesSearchRequest, options) {
|
|
25891
|
+
return FiltersApiFp(this.configuration).adminV1FiltersXStoreIDFacetNameValuesPost(xStoreID, facetName, dataTypesFacetValuesSearchRequest, options).then((request) => request(this.axios, this.basePath));
|
|
25046
25892
|
}
|
|
25047
25893
|
/**
|
|
25048
|
-
*
|
|
25049
|
-
* @summary
|
|
25050
|
-
* @param {
|
|
25894
|
+
* Get filter values and counts (admin-authenticated version)
|
|
25895
|
+
* @summary Admin Get Filters
|
|
25896
|
+
* @param {string} xStoreID X-Store ID
|
|
25897
|
+
* @param {DataTypesFiltersRequest} [dataTypesFiltersRequest] Filter options
|
|
25051
25898
|
* @param {*} [options] Override http request option.
|
|
25052
25899
|
* @throws {RequiredError}
|
|
25053
|
-
* @memberof
|
|
25900
|
+
* @memberof FiltersApi
|
|
25054
25901
|
*/
|
|
25055
|
-
|
|
25056
|
-
return
|
|
25902
|
+
adminV1FiltersXStoreIDPost(xStoreID, dataTypesFiltersRequest, options) {
|
|
25903
|
+
return FiltersApiFp(this.configuration).adminV1FiltersXStoreIDPost(xStoreID, dataTypesFiltersRequest, options).then((request) => request(this.axios, this.basePath));
|
|
25057
25904
|
}
|
|
25058
25905
|
/**
|
|
25059
|
-
*
|
|
25060
|
-
* @summary
|
|
25061
|
-
* @param {string}
|
|
25906
|
+
* Get filter field metadata (admin-authenticated version)
|
|
25907
|
+
* @summary Admin Get Filters Schema
|
|
25908
|
+
* @param {string} xStoreID X-Store ID
|
|
25062
25909
|
* @param {*} [options] Override http request option.
|
|
25063
25910
|
* @throws {RequiredError}
|
|
25064
|
-
* @memberof
|
|
25911
|
+
* @memberof FiltersApi
|
|
25065
25912
|
*/
|
|
25066
|
-
|
|
25067
|
-
return
|
|
25913
|
+
adminV1FiltersXStoreIDSchemaGet(xStoreID, options) {
|
|
25914
|
+
return FiltersApiFp(this.configuration).adminV1FiltersXStoreIDSchemaGet(xStoreID, options).then((request) => request(this.axios, this.basePath));
|
|
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
|
+
* @memberof FiltersApi
|
|
25926
|
+
*/
|
|
25927
|
+
v1FiltersFacetNameValuesPost(xStoreid, xStoresecret, facetName, dataTypesFacetValuesSearchRequest, options) {
|
|
25928
|
+
return FiltersApiFp(this.configuration).v1FiltersFacetNameValuesPost(xStoreid, xStoresecret, facetName, dataTypesFacetValuesSearchRequest, options).then((request) => request(this.axios, this.basePath));
|
|
25929
|
+
}
|
|
25930
|
+
/**
|
|
25931
|
+
* Get filter values and counts for configured facets. Use this to build faceted navigation UIs. Supports disjunctive faceting for OR-based filter combinations.
|
|
25932
|
+
* @summary Get Filters
|
|
25933
|
+
* @param {string} xStoreid Store ID (from dashboard)
|
|
25934
|
+
* @param {string} xStoresecret Store read secret (from dashboard)
|
|
25935
|
+
* @param {DataTypesFiltersRequest} [dataTypesFiltersRequest] Filter options
|
|
25936
|
+
* @param {*} [options] Override http request option.
|
|
25937
|
+
* @throws {RequiredError}
|
|
25938
|
+
* @memberof FiltersApi
|
|
25939
|
+
*/
|
|
25940
|
+
v1FiltersPost(xStoreid, xStoresecret, dataTypesFiltersRequest, options) {
|
|
25941
|
+
return FiltersApiFp(this.configuration).v1FiltersPost(xStoreid, xStoresecret, dataTypesFiltersRequest, options).then((request) => request(this.axios, this.basePath));
|
|
25942
|
+
}
|
|
25943
|
+
/**
|
|
25944
|
+
* Get available filter field metadata including types, sortability, and configured ranges. Useful for dynamically building filter UIs.
|
|
25945
|
+
* @summary Get Filters Schema
|
|
25946
|
+
* @param {string} xStoreid Store ID (from dashboard)
|
|
25947
|
+
* @param {string} xStoresecret Store read secret (from dashboard)
|
|
25948
|
+
* @param {*} [options] Override http request option.
|
|
25949
|
+
* @throws {RequiredError}
|
|
25950
|
+
* @memberof FiltersApi
|
|
25951
|
+
*/
|
|
25952
|
+
v1FiltersSchemaGet(xStoreid, xStoresecret, options) {
|
|
25953
|
+
return FiltersApiFp(this.configuration).v1FiltersSchemaGet(xStoreid, xStoresecret, options).then((request) => request(this.axios, this.basePath));
|
|
25068
25954
|
}
|
|
25069
25955
|
}
|
|
25070
25956
|
/**
|
|
@@ -41454,6 +42340,53 @@ export const SDKDocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
41454
42340
|
options: localVarRequestOptions,
|
|
41455
42341
|
};
|
|
41456
42342
|
}),
|
|
42343
|
+
/**
|
|
42344
|
+
* 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.
|
|
42345
|
+
* @summary Get a document by ID
|
|
42346
|
+
* @param {string} xStoreid Store ID (from dashboard)
|
|
42347
|
+
* @param {string} xStoresecret Store read secret
|
|
42348
|
+
* @param {string} xStoreID Store ID (must match x-storeid header)
|
|
42349
|
+
* @param {string} documentID Document ID to retrieve
|
|
42350
|
+
* @param {*} [options] Override http request option.
|
|
42351
|
+
* @throws {RequiredError}
|
|
42352
|
+
*/
|
|
42353
|
+
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 = {}) {
|
|
42354
|
+
// verify required parameter 'xStoreid' is not null or undefined
|
|
42355
|
+
assertParamExists('apiV1StoresXStoreIDDocumentsDocumentIDGet', 'xStoreid', xStoreid);
|
|
42356
|
+
// verify required parameter 'xStoresecret' is not null or undefined
|
|
42357
|
+
assertParamExists('apiV1StoresXStoreIDDocumentsDocumentIDGet', 'xStoresecret', xStoresecret);
|
|
42358
|
+
// verify required parameter 'xStoreID' is not null or undefined
|
|
42359
|
+
assertParamExists('apiV1StoresXStoreIDDocumentsDocumentIDGet', 'xStoreID', xStoreID);
|
|
42360
|
+
// verify required parameter 'documentID' is not null or undefined
|
|
42361
|
+
assertParamExists('apiV1StoresXStoreIDDocumentsDocumentIDGet', 'documentID', documentID);
|
|
42362
|
+
const localVarPath = `/api/v1/stores/{xStoreID}/documents/{documentID}`
|
|
42363
|
+
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)))
|
|
42364
|
+
.replace(`{${"documentID"}}`, encodeURIComponent(String(documentID)));
|
|
42365
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
42366
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
42367
|
+
let baseOptions;
|
|
42368
|
+
if (configuration) {
|
|
42369
|
+
baseOptions = configuration.baseOptions;
|
|
42370
|
+
}
|
|
42371
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
42372
|
+
const localVarHeaderParameter = {};
|
|
42373
|
+
const localVarQueryParameter = {};
|
|
42374
|
+
// authentication ApiKeyAuth required
|
|
42375
|
+
yield setApiKeyToObject(localVarHeaderParameter, "x-storesecret", configuration);
|
|
42376
|
+
if (xStoreid != null) {
|
|
42377
|
+
localVarHeaderParameter['x-storeid'] = String(xStoreid);
|
|
42378
|
+
}
|
|
42379
|
+
if (xStoresecret != null) {
|
|
42380
|
+
localVarHeaderParameter['x-storesecret'] = String(xStoresecret);
|
|
42381
|
+
}
|
|
42382
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
42383
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
42384
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
42385
|
+
return {
|
|
42386
|
+
url: toPathString(localVarUrlObj),
|
|
42387
|
+
options: localVarRequestOptions,
|
|
42388
|
+
};
|
|
42389
|
+
}),
|
|
41457
42390
|
/**
|
|
41458
42391
|
* 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.
|
|
41459
42392
|
* @summary Index a single document
|
|
@@ -41549,6 +42482,25 @@ export const SDKDocumentsApiFp = function (configuration) {
|
|
|
41549
42482
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
41550
42483
|
});
|
|
41551
42484
|
},
|
|
42485
|
+
/**
|
|
42486
|
+
* 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.
|
|
42487
|
+
* @summary Get a document by ID
|
|
42488
|
+
* @param {string} xStoreid Store ID (from dashboard)
|
|
42489
|
+
* @param {string} xStoresecret Store read secret
|
|
42490
|
+
* @param {string} xStoreID Store ID (must match x-storeid header)
|
|
42491
|
+
* @param {string} documentID Document ID to retrieve
|
|
42492
|
+
* @param {*} [options] Override http request option.
|
|
42493
|
+
* @throws {RequiredError}
|
|
42494
|
+
*/
|
|
42495
|
+
apiV1StoresXStoreIDDocumentsDocumentIDGet(xStoreid, xStoresecret, xStoreID, documentID, options) {
|
|
42496
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
42497
|
+
var _a, _b, _c;
|
|
42498
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1StoresXStoreIDDocumentsDocumentIDGet(xStoreid, xStoresecret, xStoreID, documentID, options);
|
|
42499
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
42500
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SDKDocumentsApi.apiV1StoresXStoreIDDocumentsDocumentIDGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
42501
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
42502
|
+
});
|
|
42503
|
+
},
|
|
41552
42504
|
/**
|
|
41553
42505
|
* 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.
|
|
41554
42506
|
* @summary Index a single document
|
|
@@ -41603,6 +42555,19 @@ export const SDKDocumentsApiFactory = function (configuration, basePath, axios)
|
|
|
41603
42555
|
apiV1StoresXStoreIDDocumentsDocumentIDDelete(xStoreid, xStoreWriteSecret, xStoreID, documentID, options) {
|
|
41604
42556
|
return localVarFp.apiV1StoresXStoreIDDocumentsDocumentIDDelete(xStoreid, xStoreWriteSecret, xStoreID, documentID, options).then((request) => request(axios, basePath));
|
|
41605
42557
|
},
|
|
42558
|
+
/**
|
|
42559
|
+
* 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.
|
|
42560
|
+
* @summary Get a document by ID
|
|
42561
|
+
* @param {string} xStoreid Store ID (from dashboard)
|
|
42562
|
+
* @param {string} xStoresecret Store read secret
|
|
42563
|
+
* @param {string} xStoreID Store ID (must match x-storeid header)
|
|
42564
|
+
* @param {string} documentID Document ID to retrieve
|
|
42565
|
+
* @param {*} [options] Override http request option.
|
|
42566
|
+
* @throws {RequiredError}
|
|
42567
|
+
*/
|
|
42568
|
+
apiV1StoresXStoreIDDocumentsDocumentIDGet(xStoreid, xStoresecret, xStoreID, documentID, options) {
|
|
42569
|
+
return localVarFp.apiV1StoresXStoreIDDocumentsDocumentIDGet(xStoreid, xStoresecret, xStoreID, documentID, options).then((request) => request(axios, basePath));
|
|
42570
|
+
},
|
|
41606
42571
|
/**
|
|
41607
42572
|
* 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.
|
|
41608
42573
|
* @summary Index a single document
|
|
@@ -41653,6 +42618,20 @@ export class SDKDocumentsApi extends BaseAPI {
|
|
|
41653
42618
|
apiV1StoresXStoreIDDocumentsDocumentIDDelete(xStoreid, xStoreWriteSecret, xStoreID, documentID, options) {
|
|
41654
42619
|
return SDKDocumentsApiFp(this.configuration).apiV1StoresXStoreIDDocumentsDocumentIDDelete(xStoreid, xStoreWriteSecret, xStoreID, documentID, options).then((request) => request(this.axios, this.basePath));
|
|
41655
42620
|
}
|
|
42621
|
+
/**
|
|
42622
|
+
* 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.
|
|
42623
|
+
* @summary Get a document by ID
|
|
42624
|
+
* @param {string} xStoreid Store ID (from dashboard)
|
|
42625
|
+
* @param {string} xStoresecret Store read secret
|
|
42626
|
+
* @param {string} xStoreID Store ID (must match x-storeid header)
|
|
42627
|
+
* @param {string} documentID Document ID to retrieve
|
|
42628
|
+
* @param {*} [options] Override http request option.
|
|
42629
|
+
* @throws {RequiredError}
|
|
42630
|
+
* @memberof SDKDocumentsApi
|
|
42631
|
+
*/
|
|
42632
|
+
apiV1StoresXStoreIDDocumentsDocumentIDGet(xStoreid, xStoresecret, xStoreID, documentID, options) {
|
|
42633
|
+
return SDKDocumentsApiFp(this.configuration).apiV1StoresXStoreIDDocumentsDocumentIDGet(xStoreid, xStoresecret, xStoreID, documentID, options).then((request) => request(this.axios, this.basePath));
|
|
42634
|
+
}
|
|
41656
42635
|
/**
|
|
41657
42636
|
* 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.
|
|
41658
42637
|
* @summary Index a single document
|
|
@@ -41668,6 +42647,133 @@ export class SDKDocumentsApi extends BaseAPI {
|
|
|
41668
42647
|
return SDKDocumentsApiFp(this.configuration).apiV1StoresXStoreIDDocumentsPost(xStoreid, xStoreWriteSecret, xStoreID, dataTypesDocumentRequest, options).then((request) => request(this.axios, this.basePath));
|
|
41669
42648
|
}
|
|
41670
42649
|
}
|
|
42650
|
+
/**
|
|
42651
|
+
* SDKExperimentsApi - axios parameter creator
|
|
42652
|
+
* @export
|
|
42653
|
+
*/
|
|
42654
|
+
export const SDKExperimentsApiAxiosParamCreator = function (configuration) {
|
|
42655
|
+
return {
|
|
42656
|
+
/**
|
|
42657
|
+
* Returns variant assignments for all running experiments for the requesting user. Uses hash-based consistent assignment.
|
|
42658
|
+
* @summary Get experiment assignments for a user
|
|
42659
|
+
* @param {string} xStoreid Store ID
|
|
42660
|
+
* @param {string} xStoresecret Store read secret
|
|
42661
|
+
* @param {string} [xUserId] User ID (provide either x-user-id or x-anon-id)
|
|
42662
|
+
* @param {string} [xAnonId] Anonymous ID (provide either x-user-id or x-anon-id)
|
|
42663
|
+
* @param {*} [options] Override http request option.
|
|
42664
|
+
* @throws {RequiredError}
|
|
42665
|
+
*/
|
|
42666
|
+
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 = {}) {
|
|
42667
|
+
// verify required parameter 'xStoreid' is not null or undefined
|
|
42668
|
+
assertParamExists('v1ExperimentsAssignmentGet', 'xStoreid', xStoreid);
|
|
42669
|
+
// verify required parameter 'xStoresecret' is not null or undefined
|
|
42670
|
+
assertParamExists('v1ExperimentsAssignmentGet', 'xStoresecret', xStoresecret);
|
|
42671
|
+
const localVarPath = `/v1/experiments/assignment`;
|
|
42672
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
42673
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
42674
|
+
let baseOptions;
|
|
42675
|
+
if (configuration) {
|
|
42676
|
+
baseOptions = configuration.baseOptions;
|
|
42677
|
+
}
|
|
42678
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
42679
|
+
const localVarHeaderParameter = {};
|
|
42680
|
+
const localVarQueryParameter = {};
|
|
42681
|
+
// authentication ApiKeyAuth required
|
|
42682
|
+
yield setApiKeyToObject(localVarHeaderParameter, "x-storesecret", configuration);
|
|
42683
|
+
if (xStoreid != null) {
|
|
42684
|
+
localVarHeaderParameter['x-storeid'] = String(xStoreid);
|
|
42685
|
+
}
|
|
42686
|
+
if (xStoresecret != null) {
|
|
42687
|
+
localVarHeaderParameter['x-storesecret'] = String(xStoresecret);
|
|
42688
|
+
}
|
|
42689
|
+
if (xUserId != null) {
|
|
42690
|
+
localVarHeaderParameter['x-user-id'] = String(xUserId);
|
|
42691
|
+
}
|
|
42692
|
+
if (xAnonId != null) {
|
|
42693
|
+
localVarHeaderParameter['x-anon-id'] = String(xAnonId);
|
|
42694
|
+
}
|
|
42695
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
42696
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
42697
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
42698
|
+
return {
|
|
42699
|
+
url: toPathString(localVarUrlObj),
|
|
42700
|
+
options: localVarRequestOptions,
|
|
42701
|
+
};
|
|
42702
|
+
}),
|
|
42703
|
+
};
|
|
42704
|
+
};
|
|
42705
|
+
/**
|
|
42706
|
+
* SDKExperimentsApi - functional programming interface
|
|
42707
|
+
* @export
|
|
42708
|
+
*/
|
|
42709
|
+
export const SDKExperimentsApiFp = function (configuration) {
|
|
42710
|
+
const localVarAxiosParamCreator = SDKExperimentsApiAxiosParamCreator(configuration);
|
|
42711
|
+
return {
|
|
42712
|
+
/**
|
|
42713
|
+
* Returns variant assignments for all running experiments for the requesting user. Uses hash-based consistent assignment.
|
|
42714
|
+
* @summary Get experiment assignments for a user
|
|
42715
|
+
* @param {string} xStoreid Store ID
|
|
42716
|
+
* @param {string} xStoresecret Store read secret
|
|
42717
|
+
* @param {string} [xUserId] User ID (provide either x-user-id or x-anon-id)
|
|
42718
|
+
* @param {string} [xAnonId] Anonymous ID (provide either x-user-id or x-anon-id)
|
|
42719
|
+
* @param {*} [options] Override http request option.
|
|
42720
|
+
* @throws {RequiredError}
|
|
42721
|
+
*/
|
|
42722
|
+
v1ExperimentsAssignmentGet(xStoreid, xStoresecret, xUserId, xAnonId, options) {
|
|
42723
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
42724
|
+
var _a, _b, _c;
|
|
42725
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.v1ExperimentsAssignmentGet(xStoreid, xStoresecret, xUserId, xAnonId, options);
|
|
42726
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
42727
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SDKExperimentsApi.v1ExperimentsAssignmentGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
42728
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
42729
|
+
});
|
|
42730
|
+
},
|
|
42731
|
+
};
|
|
42732
|
+
};
|
|
42733
|
+
/**
|
|
42734
|
+
* SDKExperimentsApi - factory interface
|
|
42735
|
+
* @export
|
|
42736
|
+
*/
|
|
42737
|
+
export const SDKExperimentsApiFactory = function (configuration, basePath, axios) {
|
|
42738
|
+
const localVarFp = SDKExperimentsApiFp(configuration);
|
|
42739
|
+
return {
|
|
42740
|
+
/**
|
|
42741
|
+
* Returns variant assignments for all running experiments for the requesting user. Uses hash-based consistent assignment.
|
|
42742
|
+
* @summary Get experiment assignments for a user
|
|
42743
|
+
* @param {string} xStoreid Store ID
|
|
42744
|
+
* @param {string} xStoresecret Store read secret
|
|
42745
|
+
* @param {string} [xUserId] User ID (provide either x-user-id or x-anon-id)
|
|
42746
|
+
* @param {string} [xAnonId] Anonymous ID (provide either x-user-id or x-anon-id)
|
|
42747
|
+
* @param {*} [options] Override http request option.
|
|
42748
|
+
* @throws {RequiredError}
|
|
42749
|
+
*/
|
|
42750
|
+
v1ExperimentsAssignmentGet(xStoreid, xStoresecret, xUserId, xAnonId, options) {
|
|
42751
|
+
return localVarFp.v1ExperimentsAssignmentGet(xStoreid, xStoresecret, xUserId, xAnonId, options).then((request) => request(axios, basePath));
|
|
42752
|
+
},
|
|
42753
|
+
};
|
|
42754
|
+
};
|
|
42755
|
+
/**
|
|
42756
|
+
* SDKExperimentsApi - object-oriented interface
|
|
42757
|
+
* @export
|
|
42758
|
+
* @class SDKExperimentsApi
|
|
42759
|
+
* @extends {BaseAPI}
|
|
42760
|
+
*/
|
|
42761
|
+
export class SDKExperimentsApi extends BaseAPI {
|
|
42762
|
+
/**
|
|
42763
|
+
* Returns variant assignments for all running experiments for the requesting user. Uses hash-based consistent assignment.
|
|
42764
|
+
* @summary Get experiment assignments for a user
|
|
42765
|
+
* @param {string} xStoreid Store ID
|
|
42766
|
+
* @param {string} xStoresecret Store read secret
|
|
42767
|
+
* @param {string} [xUserId] User ID (provide either x-user-id or x-anon-id)
|
|
42768
|
+
* @param {string} [xAnonId] Anonymous ID (provide either x-user-id or x-anon-id)
|
|
42769
|
+
* @param {*} [options] Override http request option.
|
|
42770
|
+
* @throws {RequiredError}
|
|
42771
|
+
* @memberof SDKExperimentsApi
|
|
42772
|
+
*/
|
|
42773
|
+
v1ExperimentsAssignmentGet(xStoreid, xStoresecret, xUserId, xAnonId, options) {
|
|
42774
|
+
return SDKExperimentsApiFp(this.configuration).v1ExperimentsAssignmentGet(xStoreid, xStoresecret, xUserId, xAnonId, options).then((request) => request(this.axios, this.basePath));
|
|
42775
|
+
}
|
|
42776
|
+
}
|
|
41671
42777
|
/**
|
|
41672
42778
|
* SDKQuerySuggestionsConfigApi - axios parameter creator
|
|
41673
42779
|
* @export
|
|
@@ -45991,7 +47097,7 @@ export const StoresApiAxiosParamCreator = function (configuration) {
|
|
|
45991
47097
|
};
|
|
45992
47098
|
}),
|
|
45993
47099
|
/**
|
|
45994
|
-
* Retrieve detailed information for a specific API usage event including headers, request body, and response body
|
|
47100
|
+
* Retrieve detailed information for a specific API usage event including headers, request body, and response body.
|
|
45995
47101
|
* @summary Get Specific API Usage Event
|
|
45996
47102
|
* @param {string} xStoreID Store ID
|
|
45997
47103
|
* @param {string} eventID Event ID (UUID)
|
|
@@ -46680,7 +47786,7 @@ export const StoresApiFp = function (configuration) {
|
|
|
46680
47786
|
});
|
|
46681
47787
|
},
|
|
46682
47788
|
/**
|
|
46683
|
-
* Retrieve detailed information for a specific API usage event including headers, request body, and response body
|
|
47789
|
+
* Retrieve detailed information for a specific API usage event including headers, request body, and response body.
|
|
46684
47790
|
* @summary Get Specific API Usage Event
|
|
46685
47791
|
* @param {string} xStoreID Store ID
|
|
46686
47792
|
* @param {string} eventID Event ID (UUID)
|
|
@@ -47037,7 +48143,7 @@ export const StoresApiFactory = function (configuration, basePath, axios) {
|
|
|
47037
48143
|
return localVarFp.adminStoresXStoreIDAnalyticsTimeseriesGet(xStoreID, metric, startDate, endDate, options).then((request) => request(axios, basePath));
|
|
47038
48144
|
},
|
|
47039
48145
|
/**
|
|
47040
|
-
* Retrieve detailed information for a specific API usage event including headers, request body, and response body
|
|
48146
|
+
* Retrieve detailed information for a specific API usage event including headers, request body, and response body.
|
|
47041
48147
|
* @summary Get Specific API Usage Event
|
|
47042
48148
|
* @param {string} xStoreID Store ID
|
|
47043
48149
|
* @param {string} eventID Event ID (UUID)
|
|
@@ -47327,7 +48433,7 @@ export class StoresApi extends BaseAPI {
|
|
|
47327
48433
|
return StoresApiFp(this.configuration).adminStoresXStoreIDAnalyticsTimeseriesGet(xStoreID, metric, startDate, endDate, options).then((request) => request(this.axios, this.basePath));
|
|
47328
48434
|
}
|
|
47329
48435
|
/**
|
|
47330
|
-
* Retrieve detailed information for a specific API usage event including headers, request body, and response body
|
|
48436
|
+
* Retrieve detailed information for a specific API usage event including headers, request body, and response body.
|
|
47331
48437
|
* @summary Get Specific API Usage Event
|
|
47332
48438
|
* @param {string} xStoreID Store ID
|
|
47333
48439
|
* @param {string} eventID Event ID (UUID)
|