@seekora-ai/admin-api 1.0.78 → 1.0.79
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 +16 -16
- package/api.ts +204 -162
- package/dist/api.d.ts +56 -56
- package/dist/api.js +190 -162
- package/dist/esm/api.d.ts +56 -56
- package/dist/esm/api.js +190 -162
- package/package.json +1 -1
- package/seekora-ai-admin-api-1.0.79.tgz +0 -0
- package/seekora-ai-admin-api-1.0.78.tgz +0 -0
package/dist/esm/api.js
CHANGED
|
@@ -4940,10 +4940,10 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
4940
4940
|
* @param {*} [options] Override http request option.
|
|
4941
4941
|
* @throws {RequiredError}
|
|
4942
4942
|
*/
|
|
4943
|
-
|
|
4943
|
+
adminV1AnalyticsRulesGet: (authorization_1, storeId_1, collectionName_1, isActive_1, page_1, pageSize_1, limit_1, offset_1, sortBy_1, sortOrder_1, searchQuery_1, ...args_1) => __awaiter(this, [authorization_1, storeId_1, collectionName_1, isActive_1, page_1, pageSize_1, limit_1, offset_1, sortBy_1, sortOrder_1, searchQuery_1, ...args_1], void 0, function* (authorization, storeId, collectionName, isActive, page, pageSize, limit, offset, sortBy, sortOrder, searchQuery, options = {}) {
|
|
4944
4944
|
// verify required parameter 'authorization' is not null or undefined
|
|
4945
|
-
assertParamExists('
|
|
4946
|
-
const localVarPath = `/
|
|
4945
|
+
assertParamExists('adminV1AnalyticsRulesGet', 'authorization', authorization);
|
|
4946
|
+
const localVarPath = `/admin/v1/analytics/rules`;
|
|
4947
4947
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4948
4948
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4949
4949
|
let baseOptions;
|
|
@@ -4953,6 +4953,8 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
4953
4953
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
4954
4954
|
const localVarHeaderParameter = {};
|
|
4955
4955
|
const localVarQueryParameter = {};
|
|
4956
|
+
// authentication BearerAuth required
|
|
4957
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
4956
4958
|
if (storeId !== undefined) {
|
|
4957
4959
|
localVarQueryParameter['store_id'] = storeId;
|
|
4958
4960
|
}
|
|
@@ -5002,12 +5004,12 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
5002
5004
|
* @param {*} [options] Override http request option.
|
|
5003
5005
|
* @throws {RequiredError}
|
|
5004
5006
|
*/
|
|
5005
|
-
|
|
5007
|
+
adminV1AnalyticsRulesPost: (authorization_1, dataTypesCreateAnalyticsRuleRequest_1, ...args_1) => __awaiter(this, [authorization_1, dataTypesCreateAnalyticsRuleRequest_1, ...args_1], void 0, function* (authorization, dataTypesCreateAnalyticsRuleRequest, options = {}) {
|
|
5006
5008
|
// verify required parameter 'authorization' is not null or undefined
|
|
5007
|
-
assertParamExists('
|
|
5009
|
+
assertParamExists('adminV1AnalyticsRulesPost', 'authorization', authorization);
|
|
5008
5010
|
// verify required parameter 'dataTypesCreateAnalyticsRuleRequest' is not null or undefined
|
|
5009
|
-
assertParamExists('
|
|
5010
|
-
const localVarPath = `/
|
|
5011
|
+
assertParamExists('adminV1AnalyticsRulesPost', 'dataTypesCreateAnalyticsRuleRequest', dataTypesCreateAnalyticsRuleRequest);
|
|
5012
|
+
const localVarPath = `/admin/v1/analytics/rules`;
|
|
5011
5013
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5012
5014
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5013
5015
|
let baseOptions;
|
|
@@ -5017,6 +5019,8 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
5017
5019
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
5018
5020
|
const localVarHeaderParameter = {};
|
|
5019
5021
|
const localVarQueryParameter = {};
|
|
5022
|
+
// authentication BearerAuth required
|
|
5023
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
5020
5024
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5021
5025
|
if (authorization != null) {
|
|
5022
5026
|
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
@@ -5038,12 +5042,12 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
5038
5042
|
* @param {*} [options] Override http request option.
|
|
5039
5043
|
* @throws {RequiredError}
|
|
5040
5044
|
*/
|
|
5041
|
-
|
|
5045
|
+
adminV1AnalyticsRulesRuleIdDelete: (authorization_1, ruleId_1, ...args_1) => __awaiter(this, [authorization_1, ruleId_1, ...args_1], void 0, function* (authorization, ruleId, options = {}) {
|
|
5042
5046
|
// verify required parameter 'authorization' is not null or undefined
|
|
5043
|
-
assertParamExists('
|
|
5047
|
+
assertParamExists('adminV1AnalyticsRulesRuleIdDelete', 'authorization', authorization);
|
|
5044
5048
|
// verify required parameter 'ruleId' is not null or undefined
|
|
5045
|
-
assertParamExists('
|
|
5046
|
-
const localVarPath = `/
|
|
5049
|
+
assertParamExists('adminV1AnalyticsRulesRuleIdDelete', 'ruleId', ruleId);
|
|
5050
|
+
const localVarPath = `/admin/v1/analytics/rules/{ruleId}`
|
|
5047
5051
|
.replace(`{${"ruleId"}}`, encodeURIComponent(String(ruleId)));
|
|
5048
5052
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5049
5053
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -5054,6 +5058,8 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
5054
5058
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
5055
5059
|
const localVarHeaderParameter = {};
|
|
5056
5060
|
const localVarQueryParameter = {};
|
|
5061
|
+
// authentication BearerAuth required
|
|
5062
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
5057
5063
|
if (authorization != null) {
|
|
5058
5064
|
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
5059
5065
|
}
|
|
@@ -5073,12 +5079,12 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
5073
5079
|
* @param {*} [options] Override http request option.
|
|
5074
5080
|
* @throws {RequiredError}
|
|
5075
5081
|
*/
|
|
5076
|
-
|
|
5082
|
+
adminV1AnalyticsRulesRuleIdGet: (authorization_1, ruleId_1, ...args_1) => __awaiter(this, [authorization_1, ruleId_1, ...args_1], void 0, function* (authorization, ruleId, options = {}) {
|
|
5077
5083
|
// verify required parameter 'authorization' is not null or undefined
|
|
5078
|
-
assertParamExists('
|
|
5084
|
+
assertParamExists('adminV1AnalyticsRulesRuleIdGet', 'authorization', authorization);
|
|
5079
5085
|
// verify required parameter 'ruleId' is not null or undefined
|
|
5080
|
-
assertParamExists('
|
|
5081
|
-
const localVarPath = `/
|
|
5086
|
+
assertParamExists('adminV1AnalyticsRulesRuleIdGet', 'ruleId', ruleId);
|
|
5087
|
+
const localVarPath = `/admin/v1/analytics/rules/{ruleId}`
|
|
5082
5088
|
.replace(`{${"ruleId"}}`, encodeURIComponent(String(ruleId)));
|
|
5083
5089
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5084
5090
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -5089,6 +5095,8 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
5089
5095
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
5090
5096
|
const localVarHeaderParameter = {};
|
|
5091
5097
|
const localVarQueryParameter = {};
|
|
5098
|
+
// authentication BearerAuth required
|
|
5099
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
5092
5100
|
if (authorization != null) {
|
|
5093
5101
|
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
5094
5102
|
}
|
|
@@ -5109,14 +5117,14 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
5109
5117
|
* @param {*} [options] Override http request option.
|
|
5110
5118
|
* @throws {RequiredError}
|
|
5111
5119
|
*/
|
|
5112
|
-
|
|
5120
|
+
adminV1AnalyticsRulesRuleIdPut: (authorization_1, ruleId_1, dataTypesUpdateAnalyticsRuleRequest_1, ...args_1) => __awaiter(this, [authorization_1, ruleId_1, dataTypesUpdateAnalyticsRuleRequest_1, ...args_1], void 0, function* (authorization, ruleId, dataTypesUpdateAnalyticsRuleRequest, options = {}) {
|
|
5113
5121
|
// verify required parameter 'authorization' is not null or undefined
|
|
5114
|
-
assertParamExists('
|
|
5122
|
+
assertParamExists('adminV1AnalyticsRulesRuleIdPut', 'authorization', authorization);
|
|
5115
5123
|
// verify required parameter 'ruleId' is not null or undefined
|
|
5116
|
-
assertParamExists('
|
|
5124
|
+
assertParamExists('adminV1AnalyticsRulesRuleIdPut', 'ruleId', ruleId);
|
|
5117
5125
|
// verify required parameter 'dataTypesUpdateAnalyticsRuleRequest' is not null or undefined
|
|
5118
|
-
assertParamExists('
|
|
5119
|
-
const localVarPath = `/
|
|
5126
|
+
assertParamExists('adminV1AnalyticsRulesRuleIdPut', 'dataTypesUpdateAnalyticsRuleRequest', dataTypesUpdateAnalyticsRuleRequest);
|
|
5127
|
+
const localVarPath = `/admin/v1/analytics/rules/{ruleId}`
|
|
5120
5128
|
.replace(`{${"ruleId"}}`, encodeURIComponent(String(ruleId)));
|
|
5121
5129
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5122
5130
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -5127,6 +5135,8 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
5127
5135
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
5128
5136
|
const localVarHeaderParameter = {};
|
|
5129
5137
|
const localVarQueryParameter = {};
|
|
5138
|
+
// authentication BearerAuth required
|
|
5139
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
5130
5140
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5131
5141
|
if (authorization != null) {
|
|
5132
5142
|
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
@@ -5148,12 +5158,12 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
5148
5158
|
* @param {*} [options] Override http request option.
|
|
5149
5159
|
* @throws {RequiredError}
|
|
5150
5160
|
*/
|
|
5151
|
-
|
|
5161
|
+
adminV1AnalyticsRulesSyncPost: (authorization_1, dataTypesAnalyticsRuleSyncRequest_1, ...args_1) => __awaiter(this, [authorization_1, dataTypesAnalyticsRuleSyncRequest_1, ...args_1], void 0, function* (authorization, dataTypesAnalyticsRuleSyncRequest, options = {}) {
|
|
5152
5162
|
// verify required parameter 'authorization' is not null or undefined
|
|
5153
|
-
assertParamExists('
|
|
5163
|
+
assertParamExists('adminV1AnalyticsRulesSyncPost', 'authorization', authorization);
|
|
5154
5164
|
// verify required parameter 'dataTypesAnalyticsRuleSyncRequest' is not null or undefined
|
|
5155
|
-
assertParamExists('
|
|
5156
|
-
const localVarPath = `/
|
|
5165
|
+
assertParamExists('adminV1AnalyticsRulesSyncPost', 'dataTypesAnalyticsRuleSyncRequest', dataTypesAnalyticsRuleSyncRequest);
|
|
5166
|
+
const localVarPath = `/admin/v1/analytics/rules/sync`;
|
|
5157
5167
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5158
5168
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5159
5169
|
let baseOptions;
|
|
@@ -5163,6 +5173,8 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
5163
5173
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
5164
5174
|
const localVarHeaderParameter = {};
|
|
5165
5175
|
const localVarQueryParameter = {};
|
|
5176
|
+
// authentication BearerAuth required
|
|
5177
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
5166
5178
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5167
5179
|
if (authorization != null) {
|
|
5168
5180
|
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
@@ -5185,14 +5197,14 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
5185
5197
|
* @param {*} [options] Override http request option.
|
|
5186
5198
|
* @throws {RequiredError}
|
|
5187
5199
|
*/
|
|
5188
|
-
|
|
5200
|
+
adminV1StoresXStoreIDAnalyticsRulesItemsItemIdGet: (authorization_1, xStoreID_1, itemId_1, ...args_1) => __awaiter(this, [authorization_1, xStoreID_1, itemId_1, ...args_1], void 0, function* (authorization, xStoreID, itemId, options = {}) {
|
|
5189
5201
|
// verify required parameter 'authorization' is not null or undefined
|
|
5190
|
-
assertParamExists('
|
|
5202
|
+
assertParamExists('adminV1StoresXStoreIDAnalyticsRulesItemsItemIdGet', 'authorization', authorization);
|
|
5191
5203
|
// verify required parameter 'xStoreID' is not null or undefined
|
|
5192
|
-
assertParamExists('
|
|
5204
|
+
assertParamExists('adminV1StoresXStoreIDAnalyticsRulesItemsItemIdGet', 'xStoreID', xStoreID);
|
|
5193
5205
|
// verify required parameter 'itemId' is not null or undefined
|
|
5194
|
-
assertParamExists('
|
|
5195
|
-
const localVarPath = `/
|
|
5206
|
+
assertParamExists('adminV1StoresXStoreIDAnalyticsRulesItemsItemIdGet', 'itemId', itemId);
|
|
5207
|
+
const localVarPath = `/admin/v1/stores/{xStoreID}/analytics/rules/items/{itemId}`
|
|
5196
5208
|
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)))
|
|
5197
5209
|
.replace(`{${"itemId"}}`, encodeURIComponent(String(itemId)));
|
|
5198
5210
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -5204,6 +5216,8 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
5204
5216
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
5205
5217
|
const localVarHeaderParameter = {};
|
|
5206
5218
|
const localVarQueryParameter = {};
|
|
5219
|
+
// authentication BearerAuth required
|
|
5220
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
5207
5221
|
if (authorization != null) {
|
|
5208
5222
|
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
5209
5223
|
}
|
|
@@ -5224,14 +5238,14 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
5224
5238
|
* @param {*} [options] Override http request option.
|
|
5225
5239
|
* @throws {RequiredError}
|
|
5226
5240
|
*/
|
|
5227
|
-
|
|
5241
|
+
adminV1StoresXStoreIDAnalyticsRulesSearchItemsPost: (authorization_1, xStoreID_1, dataTypesSearchRuleItemsRequest_1, ...args_1) => __awaiter(this, [authorization_1, xStoreID_1, dataTypesSearchRuleItemsRequest_1, ...args_1], void 0, function* (authorization, xStoreID, dataTypesSearchRuleItemsRequest, options = {}) {
|
|
5228
5242
|
// verify required parameter 'authorization' is not null or undefined
|
|
5229
|
-
assertParamExists('
|
|
5243
|
+
assertParamExists('adminV1StoresXStoreIDAnalyticsRulesSearchItemsPost', 'authorization', authorization);
|
|
5230
5244
|
// verify required parameter 'xStoreID' is not null or undefined
|
|
5231
|
-
assertParamExists('
|
|
5245
|
+
assertParamExists('adminV1StoresXStoreIDAnalyticsRulesSearchItemsPost', 'xStoreID', xStoreID);
|
|
5232
5246
|
// verify required parameter 'dataTypesSearchRuleItemsRequest' is not null or undefined
|
|
5233
|
-
assertParamExists('
|
|
5234
|
-
const localVarPath = `/
|
|
5247
|
+
assertParamExists('adminV1StoresXStoreIDAnalyticsRulesSearchItemsPost', 'dataTypesSearchRuleItemsRequest', dataTypesSearchRuleItemsRequest);
|
|
5248
|
+
const localVarPath = `/admin/v1/stores/{xStoreID}/analytics/rules/search-items`
|
|
5235
5249
|
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
|
|
5236
5250
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5237
5251
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -5242,6 +5256,8 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
5242
5256
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
5243
5257
|
const localVarHeaderParameter = {};
|
|
5244
5258
|
const localVarQueryParameter = {};
|
|
5259
|
+
// authentication BearerAuth required
|
|
5260
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
5245
5261
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5246
5262
|
if (authorization != null) {
|
|
5247
5263
|
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
@@ -5273,12 +5289,12 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
5273
5289
|
* @param {*} [options] Override http request option.
|
|
5274
5290
|
* @throws {RequiredError}
|
|
5275
5291
|
*/
|
|
5276
|
-
|
|
5292
|
+
adminV1StoresXstoreidAnalyticsRulesGet: (authorization_1, xstoreid_1, storeId_1, collectionName_1, isActive_1, page_1, pageSize_1, limit_1, offset_1, sortBy_1, sortOrder_1, searchQuery_1, ...args_1) => __awaiter(this, [authorization_1, xstoreid_1, storeId_1, collectionName_1, isActive_1, page_1, pageSize_1, limit_1, offset_1, sortBy_1, sortOrder_1, searchQuery_1, ...args_1], void 0, function* (authorization, xstoreid, storeId, collectionName, isActive, page, pageSize, limit, offset, sortBy, sortOrder, searchQuery, options = {}) {
|
|
5277
5293
|
// verify required parameter 'authorization' is not null or undefined
|
|
5278
|
-
assertParamExists('
|
|
5294
|
+
assertParamExists('adminV1StoresXstoreidAnalyticsRulesGet', 'authorization', authorization);
|
|
5279
5295
|
// verify required parameter 'xstoreid' is not null or undefined
|
|
5280
|
-
assertParamExists('
|
|
5281
|
-
const localVarPath = `/
|
|
5296
|
+
assertParamExists('adminV1StoresXstoreidAnalyticsRulesGet', 'xstoreid', xstoreid);
|
|
5297
|
+
const localVarPath = `/admin/v1/stores/{xstoreid}/analytics/rules`
|
|
5282
5298
|
.replace(`{${"xstoreid"}}`, encodeURIComponent(String(xstoreid)));
|
|
5283
5299
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5284
5300
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -5289,6 +5305,8 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
5289
5305
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
5290
5306
|
const localVarHeaderParameter = {};
|
|
5291
5307
|
const localVarQueryParameter = {};
|
|
5308
|
+
// authentication BearerAuth required
|
|
5309
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
5292
5310
|
if (storeId !== undefined) {
|
|
5293
5311
|
localVarQueryParameter['store_id'] = storeId;
|
|
5294
5312
|
}
|
|
@@ -5339,14 +5357,14 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
5339
5357
|
* @param {*} [options] Override http request option.
|
|
5340
5358
|
* @throws {RequiredError}
|
|
5341
5359
|
*/
|
|
5342
|
-
|
|
5360
|
+
adminV1StoresXstoreidAnalyticsRulesPost: (authorization_1, xstoreid_1, dataTypesCreateAnalyticsRuleRequest_1, ...args_1) => __awaiter(this, [authorization_1, xstoreid_1, dataTypesCreateAnalyticsRuleRequest_1, ...args_1], void 0, function* (authorization, xstoreid, dataTypesCreateAnalyticsRuleRequest, options = {}) {
|
|
5343
5361
|
// verify required parameter 'authorization' is not null or undefined
|
|
5344
|
-
assertParamExists('
|
|
5362
|
+
assertParamExists('adminV1StoresXstoreidAnalyticsRulesPost', 'authorization', authorization);
|
|
5345
5363
|
// verify required parameter 'xstoreid' is not null or undefined
|
|
5346
|
-
assertParamExists('
|
|
5364
|
+
assertParamExists('adminV1StoresXstoreidAnalyticsRulesPost', 'xstoreid', xstoreid);
|
|
5347
5365
|
// verify required parameter 'dataTypesCreateAnalyticsRuleRequest' is not null or undefined
|
|
5348
|
-
assertParamExists('
|
|
5349
|
-
const localVarPath = `/
|
|
5366
|
+
assertParamExists('adminV1StoresXstoreidAnalyticsRulesPost', 'dataTypesCreateAnalyticsRuleRequest', dataTypesCreateAnalyticsRuleRequest);
|
|
5367
|
+
const localVarPath = `/admin/v1/stores/{xstoreid}/analytics/rules`
|
|
5350
5368
|
.replace(`{${"xstoreid"}}`, encodeURIComponent(String(xstoreid)));
|
|
5351
5369
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5352
5370
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -5357,6 +5375,8 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
5357
5375
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
5358
5376
|
const localVarHeaderParameter = {};
|
|
5359
5377
|
const localVarQueryParameter = {};
|
|
5378
|
+
// authentication BearerAuth required
|
|
5379
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
5360
5380
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5361
5381
|
if (authorization != null) {
|
|
5362
5382
|
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
@@ -5379,14 +5399,14 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
5379
5399
|
* @param {*} [options] Override http request option.
|
|
5380
5400
|
* @throws {RequiredError}
|
|
5381
5401
|
*/
|
|
5382
|
-
|
|
5402
|
+
adminV1StoresXstoreidAnalyticsRulesRuleIdDelete: (authorization_1, xstoreid_1, ruleId_1, ...args_1) => __awaiter(this, [authorization_1, xstoreid_1, ruleId_1, ...args_1], void 0, function* (authorization, xstoreid, ruleId, options = {}) {
|
|
5383
5403
|
// verify required parameter 'authorization' is not null or undefined
|
|
5384
|
-
assertParamExists('
|
|
5404
|
+
assertParamExists('adminV1StoresXstoreidAnalyticsRulesRuleIdDelete', 'authorization', authorization);
|
|
5385
5405
|
// verify required parameter 'xstoreid' is not null or undefined
|
|
5386
|
-
assertParamExists('
|
|
5406
|
+
assertParamExists('adminV1StoresXstoreidAnalyticsRulesRuleIdDelete', 'xstoreid', xstoreid);
|
|
5387
5407
|
// verify required parameter 'ruleId' is not null or undefined
|
|
5388
|
-
assertParamExists('
|
|
5389
|
-
const localVarPath = `/
|
|
5408
|
+
assertParamExists('adminV1StoresXstoreidAnalyticsRulesRuleIdDelete', 'ruleId', ruleId);
|
|
5409
|
+
const localVarPath = `/admin/v1/stores/{xstoreid}/analytics/rules/{ruleId}`
|
|
5390
5410
|
.replace(`{${"xstoreid"}}`, encodeURIComponent(String(xstoreid)))
|
|
5391
5411
|
.replace(`{${"ruleId"}}`, encodeURIComponent(String(ruleId)));
|
|
5392
5412
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -5398,6 +5418,8 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
5398
5418
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
5399
5419
|
const localVarHeaderParameter = {};
|
|
5400
5420
|
const localVarQueryParameter = {};
|
|
5421
|
+
// authentication BearerAuth required
|
|
5422
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
5401
5423
|
if (authorization != null) {
|
|
5402
5424
|
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
5403
5425
|
}
|
|
@@ -5418,14 +5440,14 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
5418
5440
|
* @param {*} [options] Override http request option.
|
|
5419
5441
|
* @throws {RequiredError}
|
|
5420
5442
|
*/
|
|
5421
|
-
|
|
5443
|
+
adminV1StoresXstoreidAnalyticsRulesRuleIdGet: (authorization_1, xstoreid_1, ruleId_1, ...args_1) => __awaiter(this, [authorization_1, xstoreid_1, ruleId_1, ...args_1], void 0, function* (authorization, xstoreid, ruleId, options = {}) {
|
|
5422
5444
|
// verify required parameter 'authorization' is not null or undefined
|
|
5423
|
-
assertParamExists('
|
|
5445
|
+
assertParamExists('adminV1StoresXstoreidAnalyticsRulesRuleIdGet', 'authorization', authorization);
|
|
5424
5446
|
// verify required parameter 'xstoreid' is not null or undefined
|
|
5425
|
-
assertParamExists('
|
|
5447
|
+
assertParamExists('adminV1StoresXstoreidAnalyticsRulesRuleIdGet', 'xstoreid', xstoreid);
|
|
5426
5448
|
// verify required parameter 'ruleId' is not null or undefined
|
|
5427
|
-
assertParamExists('
|
|
5428
|
-
const localVarPath = `/
|
|
5449
|
+
assertParamExists('adminV1StoresXstoreidAnalyticsRulesRuleIdGet', 'ruleId', ruleId);
|
|
5450
|
+
const localVarPath = `/admin/v1/stores/{xstoreid}/analytics/rules/{ruleId}`
|
|
5429
5451
|
.replace(`{${"xstoreid"}}`, encodeURIComponent(String(xstoreid)))
|
|
5430
5452
|
.replace(`{${"ruleId"}}`, encodeURIComponent(String(ruleId)));
|
|
5431
5453
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -5437,6 +5459,8 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
5437
5459
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
5438
5460
|
const localVarHeaderParameter = {};
|
|
5439
5461
|
const localVarQueryParameter = {};
|
|
5462
|
+
// authentication BearerAuth required
|
|
5463
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
5440
5464
|
if (authorization != null) {
|
|
5441
5465
|
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
5442
5466
|
}
|
|
@@ -5458,16 +5482,16 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
5458
5482
|
* @param {*} [options] Override http request option.
|
|
5459
5483
|
* @throws {RequiredError}
|
|
5460
5484
|
*/
|
|
5461
|
-
|
|
5485
|
+
adminV1StoresXstoreidAnalyticsRulesRuleIdPut: (authorization_1, xstoreid_1, ruleId_1, dataTypesUpdateAnalyticsRuleRequest_1, ...args_1) => __awaiter(this, [authorization_1, xstoreid_1, ruleId_1, dataTypesUpdateAnalyticsRuleRequest_1, ...args_1], void 0, function* (authorization, xstoreid, ruleId, dataTypesUpdateAnalyticsRuleRequest, options = {}) {
|
|
5462
5486
|
// verify required parameter 'authorization' is not null or undefined
|
|
5463
|
-
assertParamExists('
|
|
5487
|
+
assertParamExists('adminV1StoresXstoreidAnalyticsRulesRuleIdPut', 'authorization', authorization);
|
|
5464
5488
|
// verify required parameter 'xstoreid' is not null or undefined
|
|
5465
|
-
assertParamExists('
|
|
5489
|
+
assertParamExists('adminV1StoresXstoreidAnalyticsRulesRuleIdPut', 'xstoreid', xstoreid);
|
|
5466
5490
|
// verify required parameter 'ruleId' is not null or undefined
|
|
5467
|
-
assertParamExists('
|
|
5491
|
+
assertParamExists('adminV1StoresXstoreidAnalyticsRulesRuleIdPut', 'ruleId', ruleId);
|
|
5468
5492
|
// verify required parameter 'dataTypesUpdateAnalyticsRuleRequest' is not null or undefined
|
|
5469
|
-
assertParamExists('
|
|
5470
|
-
const localVarPath = `/
|
|
5493
|
+
assertParamExists('adminV1StoresXstoreidAnalyticsRulesRuleIdPut', 'dataTypesUpdateAnalyticsRuleRequest', dataTypesUpdateAnalyticsRuleRequest);
|
|
5494
|
+
const localVarPath = `/admin/v1/stores/{xstoreid}/analytics/rules/{ruleId}`
|
|
5471
5495
|
.replace(`{${"xstoreid"}}`, encodeURIComponent(String(xstoreid)))
|
|
5472
5496
|
.replace(`{${"ruleId"}}`, encodeURIComponent(String(ruleId)));
|
|
5473
5497
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -5479,6 +5503,8 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
5479
5503
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
5480
5504
|
const localVarHeaderParameter = {};
|
|
5481
5505
|
const localVarQueryParameter = {};
|
|
5506
|
+
// authentication BearerAuth required
|
|
5507
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
5482
5508
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5483
5509
|
if (authorization != null) {
|
|
5484
5510
|
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
@@ -5501,14 +5527,14 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
5501
5527
|
* @param {*} [options] Override http request option.
|
|
5502
5528
|
* @throws {RequiredError}
|
|
5503
5529
|
*/
|
|
5504
|
-
|
|
5530
|
+
adminV1StoresXstoreidAnalyticsRulesSyncPost: (authorization_1, xstoreid_1, dataTypesAnalyticsRuleSyncRequest_1, ...args_1) => __awaiter(this, [authorization_1, xstoreid_1, dataTypesAnalyticsRuleSyncRequest_1, ...args_1], void 0, function* (authorization, xstoreid, dataTypesAnalyticsRuleSyncRequest, options = {}) {
|
|
5505
5531
|
// verify required parameter 'authorization' is not null or undefined
|
|
5506
|
-
assertParamExists('
|
|
5532
|
+
assertParamExists('adminV1StoresXstoreidAnalyticsRulesSyncPost', 'authorization', authorization);
|
|
5507
5533
|
// verify required parameter 'xstoreid' is not null or undefined
|
|
5508
|
-
assertParamExists('
|
|
5534
|
+
assertParamExists('adminV1StoresXstoreidAnalyticsRulesSyncPost', 'xstoreid', xstoreid);
|
|
5509
5535
|
// verify required parameter 'dataTypesAnalyticsRuleSyncRequest' is not null or undefined
|
|
5510
|
-
assertParamExists('
|
|
5511
|
-
const localVarPath = `/
|
|
5536
|
+
assertParamExists('adminV1StoresXstoreidAnalyticsRulesSyncPost', 'dataTypesAnalyticsRuleSyncRequest', dataTypesAnalyticsRuleSyncRequest);
|
|
5537
|
+
const localVarPath = `/admin/v1/stores/{xstoreid}/analytics/rules/sync`
|
|
5512
5538
|
.replace(`{${"xstoreid"}}`, encodeURIComponent(String(xstoreid)));
|
|
5513
5539
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5514
5540
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -5519,6 +5545,8 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
5519
5545
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
5520
5546
|
const localVarHeaderParameter = {};
|
|
5521
5547
|
const localVarQueryParameter = {};
|
|
5548
|
+
// authentication BearerAuth required
|
|
5549
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
5522
5550
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5523
5551
|
if (authorization != null) {
|
|
5524
5552
|
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
@@ -5558,12 +5586,12 @@ export const AnalyticsRulesApiFp = function (configuration) {
|
|
|
5558
5586
|
* @param {*} [options] Override http request option.
|
|
5559
5587
|
* @throws {RequiredError}
|
|
5560
5588
|
*/
|
|
5561
|
-
|
|
5589
|
+
adminV1AnalyticsRulesGet(authorization, storeId, collectionName, isActive, page, pageSize, limit, offset, sortBy, sortOrder, searchQuery, options) {
|
|
5562
5590
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5563
5591
|
var _a, _b, _c;
|
|
5564
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
5592
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1AnalyticsRulesGet(authorization, storeId, collectionName, isActive, page, pageSize, limit, offset, sortBy, sortOrder, searchQuery, options);
|
|
5565
5593
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5566
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnalyticsRulesApi.
|
|
5594
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnalyticsRulesApi.adminV1AnalyticsRulesGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5567
5595
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5568
5596
|
});
|
|
5569
5597
|
},
|
|
@@ -5575,12 +5603,12 @@ export const AnalyticsRulesApiFp = function (configuration) {
|
|
|
5575
5603
|
* @param {*} [options] Override http request option.
|
|
5576
5604
|
* @throws {RequiredError}
|
|
5577
5605
|
*/
|
|
5578
|
-
|
|
5606
|
+
adminV1AnalyticsRulesPost(authorization, dataTypesCreateAnalyticsRuleRequest, options) {
|
|
5579
5607
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5580
5608
|
var _a, _b, _c;
|
|
5581
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
5609
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1AnalyticsRulesPost(authorization, dataTypesCreateAnalyticsRuleRequest, options);
|
|
5582
5610
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5583
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnalyticsRulesApi.
|
|
5611
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnalyticsRulesApi.adminV1AnalyticsRulesPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5584
5612
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5585
5613
|
});
|
|
5586
5614
|
},
|
|
@@ -5592,12 +5620,12 @@ export const AnalyticsRulesApiFp = function (configuration) {
|
|
|
5592
5620
|
* @param {*} [options] Override http request option.
|
|
5593
5621
|
* @throws {RequiredError}
|
|
5594
5622
|
*/
|
|
5595
|
-
|
|
5623
|
+
adminV1AnalyticsRulesRuleIdDelete(authorization, ruleId, options) {
|
|
5596
5624
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5597
5625
|
var _a, _b, _c;
|
|
5598
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
5626
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1AnalyticsRulesRuleIdDelete(authorization, ruleId, options);
|
|
5599
5627
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5600
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnalyticsRulesApi.
|
|
5628
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnalyticsRulesApi.adminV1AnalyticsRulesRuleIdDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5601
5629
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5602
5630
|
});
|
|
5603
5631
|
},
|
|
@@ -5609,12 +5637,12 @@ export const AnalyticsRulesApiFp = function (configuration) {
|
|
|
5609
5637
|
* @param {*} [options] Override http request option.
|
|
5610
5638
|
* @throws {RequiredError}
|
|
5611
5639
|
*/
|
|
5612
|
-
|
|
5640
|
+
adminV1AnalyticsRulesRuleIdGet(authorization, ruleId, options) {
|
|
5613
5641
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5614
5642
|
var _a, _b, _c;
|
|
5615
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
5643
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1AnalyticsRulesRuleIdGet(authorization, ruleId, options);
|
|
5616
5644
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5617
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnalyticsRulesApi.
|
|
5645
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnalyticsRulesApi.adminV1AnalyticsRulesRuleIdGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5618
5646
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5619
5647
|
});
|
|
5620
5648
|
},
|
|
@@ -5627,12 +5655,12 @@ export const AnalyticsRulesApiFp = function (configuration) {
|
|
|
5627
5655
|
* @param {*} [options] Override http request option.
|
|
5628
5656
|
* @throws {RequiredError}
|
|
5629
5657
|
*/
|
|
5630
|
-
|
|
5658
|
+
adminV1AnalyticsRulesRuleIdPut(authorization, ruleId, dataTypesUpdateAnalyticsRuleRequest, options) {
|
|
5631
5659
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5632
5660
|
var _a, _b, _c;
|
|
5633
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
5661
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1AnalyticsRulesRuleIdPut(authorization, ruleId, dataTypesUpdateAnalyticsRuleRequest, options);
|
|
5634
5662
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5635
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnalyticsRulesApi.
|
|
5663
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnalyticsRulesApi.adminV1AnalyticsRulesRuleIdPut']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5636
5664
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5637
5665
|
});
|
|
5638
5666
|
},
|
|
@@ -5644,12 +5672,12 @@ export const AnalyticsRulesApiFp = function (configuration) {
|
|
|
5644
5672
|
* @param {*} [options] Override http request option.
|
|
5645
5673
|
* @throws {RequiredError}
|
|
5646
5674
|
*/
|
|
5647
|
-
|
|
5675
|
+
adminV1AnalyticsRulesSyncPost(authorization, dataTypesAnalyticsRuleSyncRequest, options) {
|
|
5648
5676
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5649
5677
|
var _a, _b, _c;
|
|
5650
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
5678
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1AnalyticsRulesSyncPost(authorization, dataTypesAnalyticsRuleSyncRequest, options);
|
|
5651
5679
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5652
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnalyticsRulesApi.
|
|
5680
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnalyticsRulesApi.adminV1AnalyticsRulesSyncPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5653
5681
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5654
5682
|
});
|
|
5655
5683
|
},
|
|
@@ -5662,12 +5690,12 @@ export const AnalyticsRulesApiFp = function (configuration) {
|
|
|
5662
5690
|
* @param {*} [options] Override http request option.
|
|
5663
5691
|
* @throws {RequiredError}
|
|
5664
5692
|
*/
|
|
5665
|
-
|
|
5693
|
+
adminV1StoresXStoreIDAnalyticsRulesItemsItemIdGet(authorization, xStoreID, itemId, options) {
|
|
5666
5694
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5667
5695
|
var _a, _b, _c;
|
|
5668
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
5696
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1StoresXStoreIDAnalyticsRulesItemsItemIdGet(authorization, xStoreID, itemId, options);
|
|
5669
5697
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5670
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnalyticsRulesApi.
|
|
5698
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnalyticsRulesApi.adminV1StoresXStoreIDAnalyticsRulesItemsItemIdGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5671
5699
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5672
5700
|
});
|
|
5673
5701
|
},
|
|
@@ -5680,12 +5708,12 @@ export const AnalyticsRulesApiFp = function (configuration) {
|
|
|
5680
5708
|
* @param {*} [options] Override http request option.
|
|
5681
5709
|
* @throws {RequiredError}
|
|
5682
5710
|
*/
|
|
5683
|
-
|
|
5711
|
+
adminV1StoresXStoreIDAnalyticsRulesSearchItemsPost(authorization, xStoreID, dataTypesSearchRuleItemsRequest, options) {
|
|
5684
5712
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5685
5713
|
var _a, _b, _c;
|
|
5686
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
5714
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1StoresXStoreIDAnalyticsRulesSearchItemsPost(authorization, xStoreID, dataTypesSearchRuleItemsRequest, options);
|
|
5687
5715
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5688
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnalyticsRulesApi.
|
|
5716
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnalyticsRulesApi.adminV1StoresXStoreIDAnalyticsRulesSearchItemsPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5689
5717
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5690
5718
|
});
|
|
5691
5719
|
},
|
|
@@ -5707,12 +5735,12 @@ export const AnalyticsRulesApiFp = function (configuration) {
|
|
|
5707
5735
|
* @param {*} [options] Override http request option.
|
|
5708
5736
|
* @throws {RequiredError}
|
|
5709
5737
|
*/
|
|
5710
|
-
|
|
5738
|
+
adminV1StoresXstoreidAnalyticsRulesGet(authorization, xstoreid, storeId, collectionName, isActive, page, pageSize, limit, offset, sortBy, sortOrder, searchQuery, options) {
|
|
5711
5739
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5712
5740
|
var _a, _b, _c;
|
|
5713
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
5741
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1StoresXstoreidAnalyticsRulesGet(authorization, xstoreid, storeId, collectionName, isActive, page, pageSize, limit, offset, sortBy, sortOrder, searchQuery, options);
|
|
5714
5742
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5715
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnalyticsRulesApi.
|
|
5743
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnalyticsRulesApi.adminV1StoresXstoreidAnalyticsRulesGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5716
5744
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5717
5745
|
});
|
|
5718
5746
|
},
|
|
@@ -5725,12 +5753,12 @@ export const AnalyticsRulesApiFp = function (configuration) {
|
|
|
5725
5753
|
* @param {*} [options] Override http request option.
|
|
5726
5754
|
* @throws {RequiredError}
|
|
5727
5755
|
*/
|
|
5728
|
-
|
|
5756
|
+
adminV1StoresXstoreidAnalyticsRulesPost(authorization, xstoreid, dataTypesCreateAnalyticsRuleRequest, options) {
|
|
5729
5757
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5730
5758
|
var _a, _b, _c;
|
|
5731
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
5759
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1StoresXstoreidAnalyticsRulesPost(authorization, xstoreid, dataTypesCreateAnalyticsRuleRequest, options);
|
|
5732
5760
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5733
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnalyticsRulesApi.
|
|
5761
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnalyticsRulesApi.adminV1StoresXstoreidAnalyticsRulesPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5734
5762
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5735
5763
|
});
|
|
5736
5764
|
},
|
|
@@ -5743,12 +5771,12 @@ export const AnalyticsRulesApiFp = function (configuration) {
|
|
|
5743
5771
|
* @param {*} [options] Override http request option.
|
|
5744
5772
|
* @throws {RequiredError}
|
|
5745
5773
|
*/
|
|
5746
|
-
|
|
5774
|
+
adminV1StoresXstoreidAnalyticsRulesRuleIdDelete(authorization, xstoreid, ruleId, options) {
|
|
5747
5775
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5748
5776
|
var _a, _b, _c;
|
|
5749
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
5777
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1StoresXstoreidAnalyticsRulesRuleIdDelete(authorization, xstoreid, ruleId, options);
|
|
5750
5778
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5751
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnalyticsRulesApi.
|
|
5779
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnalyticsRulesApi.adminV1StoresXstoreidAnalyticsRulesRuleIdDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5752
5780
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5753
5781
|
});
|
|
5754
5782
|
},
|
|
@@ -5761,12 +5789,12 @@ export const AnalyticsRulesApiFp = function (configuration) {
|
|
|
5761
5789
|
* @param {*} [options] Override http request option.
|
|
5762
5790
|
* @throws {RequiredError}
|
|
5763
5791
|
*/
|
|
5764
|
-
|
|
5792
|
+
adminV1StoresXstoreidAnalyticsRulesRuleIdGet(authorization, xstoreid, ruleId, options) {
|
|
5765
5793
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5766
5794
|
var _a, _b, _c;
|
|
5767
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
5795
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1StoresXstoreidAnalyticsRulesRuleIdGet(authorization, xstoreid, ruleId, options);
|
|
5768
5796
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5769
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnalyticsRulesApi.
|
|
5797
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnalyticsRulesApi.adminV1StoresXstoreidAnalyticsRulesRuleIdGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5770
5798
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5771
5799
|
});
|
|
5772
5800
|
},
|
|
@@ -5780,12 +5808,12 @@ export const AnalyticsRulesApiFp = function (configuration) {
|
|
|
5780
5808
|
* @param {*} [options] Override http request option.
|
|
5781
5809
|
* @throws {RequiredError}
|
|
5782
5810
|
*/
|
|
5783
|
-
|
|
5811
|
+
adminV1StoresXstoreidAnalyticsRulesRuleIdPut(authorization, xstoreid, ruleId, dataTypesUpdateAnalyticsRuleRequest, options) {
|
|
5784
5812
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5785
5813
|
var _a, _b, _c;
|
|
5786
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
5814
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1StoresXstoreidAnalyticsRulesRuleIdPut(authorization, xstoreid, ruleId, dataTypesUpdateAnalyticsRuleRequest, options);
|
|
5787
5815
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5788
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnalyticsRulesApi.
|
|
5816
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnalyticsRulesApi.adminV1StoresXstoreidAnalyticsRulesRuleIdPut']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5789
5817
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5790
5818
|
});
|
|
5791
5819
|
},
|
|
@@ -5798,12 +5826,12 @@ export const AnalyticsRulesApiFp = function (configuration) {
|
|
|
5798
5826
|
* @param {*} [options] Override http request option.
|
|
5799
5827
|
* @throws {RequiredError}
|
|
5800
5828
|
*/
|
|
5801
|
-
|
|
5829
|
+
adminV1StoresXstoreidAnalyticsRulesSyncPost(authorization, xstoreid, dataTypesAnalyticsRuleSyncRequest, options) {
|
|
5802
5830
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5803
5831
|
var _a, _b, _c;
|
|
5804
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
5832
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1StoresXstoreidAnalyticsRulesSyncPost(authorization, xstoreid, dataTypesAnalyticsRuleSyncRequest, options);
|
|
5805
5833
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5806
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnalyticsRulesApi.
|
|
5834
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnalyticsRulesApi.adminV1StoresXstoreidAnalyticsRulesSyncPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5807
5835
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5808
5836
|
});
|
|
5809
5837
|
},
|
|
@@ -5833,8 +5861,8 @@ export const AnalyticsRulesApiFactory = function (configuration, basePath, axios
|
|
|
5833
5861
|
* @param {*} [options] Override http request option.
|
|
5834
5862
|
* @throws {RequiredError}
|
|
5835
5863
|
*/
|
|
5836
|
-
|
|
5837
|
-
return localVarFp.
|
|
5864
|
+
adminV1AnalyticsRulesGet(authorization, storeId, collectionName, isActive, page, pageSize, limit, offset, sortBy, sortOrder, searchQuery, options) {
|
|
5865
|
+
return localVarFp.adminV1AnalyticsRulesGet(authorization, storeId, collectionName, isActive, page, pageSize, limit, offset, sortBy, sortOrder, searchQuery, options).then((request) => request(axios, basePath));
|
|
5838
5866
|
},
|
|
5839
5867
|
/**
|
|
5840
5868
|
* Create a new analytics rule for Typesense curation. Rules define how search results should be modified (promoted, hidden, filtered, sorted) based on query conditions.
|
|
@@ -5844,8 +5872,8 @@ export const AnalyticsRulesApiFactory = function (configuration, basePath, axios
|
|
|
5844
5872
|
* @param {*} [options] Override http request option.
|
|
5845
5873
|
* @throws {RequiredError}
|
|
5846
5874
|
*/
|
|
5847
|
-
|
|
5848
|
-
return localVarFp.
|
|
5875
|
+
adminV1AnalyticsRulesPost(authorization, dataTypesCreateAnalyticsRuleRequest, options) {
|
|
5876
|
+
return localVarFp.adminV1AnalyticsRulesPost(authorization, dataTypesCreateAnalyticsRuleRequest, options).then((request) => request(axios, basePath));
|
|
5849
5877
|
},
|
|
5850
5878
|
/**
|
|
5851
5879
|
* Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
|
|
@@ -5855,8 +5883,8 @@ export const AnalyticsRulesApiFactory = function (configuration, basePath, axios
|
|
|
5855
5883
|
* @param {*} [options] Override http request option.
|
|
5856
5884
|
* @throws {RequiredError}
|
|
5857
5885
|
*/
|
|
5858
|
-
|
|
5859
|
-
return localVarFp.
|
|
5886
|
+
adminV1AnalyticsRulesRuleIdDelete(authorization, ruleId, options) {
|
|
5887
|
+
return localVarFp.adminV1AnalyticsRulesRuleIdDelete(authorization, ruleId, options).then((request) => request(axios, basePath));
|
|
5860
5888
|
},
|
|
5861
5889
|
/**
|
|
5862
5890
|
* Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
|
|
@@ -5866,8 +5894,8 @@ export const AnalyticsRulesApiFactory = function (configuration, basePath, axios
|
|
|
5866
5894
|
* @param {*} [options] Override http request option.
|
|
5867
5895
|
* @throws {RequiredError}
|
|
5868
5896
|
*/
|
|
5869
|
-
|
|
5870
|
-
return localVarFp.
|
|
5897
|
+
adminV1AnalyticsRulesRuleIdGet(authorization, ruleId, options) {
|
|
5898
|
+
return localVarFp.adminV1AnalyticsRulesRuleIdGet(authorization, ruleId, options).then((request) => request(axios, basePath));
|
|
5871
5899
|
},
|
|
5872
5900
|
/**
|
|
5873
5901
|
* Update an existing analytics rule. Supports partial updates. When is_active is set to false, the rule is removed from Typesense. When is_active is set to true, the rule is synced to Typesense.
|
|
@@ -5878,8 +5906,8 @@ export const AnalyticsRulesApiFactory = function (configuration, basePath, axios
|
|
|
5878
5906
|
* @param {*} [options] Override http request option.
|
|
5879
5907
|
* @throws {RequiredError}
|
|
5880
5908
|
*/
|
|
5881
|
-
|
|
5882
|
-
return localVarFp.
|
|
5909
|
+
adminV1AnalyticsRulesRuleIdPut(authorization, ruleId, dataTypesUpdateAnalyticsRuleRequest, options) {
|
|
5910
|
+
return localVarFp.adminV1AnalyticsRulesRuleIdPut(authorization, ruleId, dataTypesUpdateAnalyticsRuleRequest, options).then((request) => request(axios, basePath));
|
|
5883
5911
|
},
|
|
5884
5912
|
/**
|
|
5885
5913
|
* Manually synchronize analytics rules to Typesense. This endpoint can be used to force a sync of all active rules or specific rules to Typesense collections.
|
|
@@ -5889,8 +5917,8 @@ export const AnalyticsRulesApiFactory = function (configuration, basePath, axios
|
|
|
5889
5917
|
* @param {*} [options] Override http request option.
|
|
5890
5918
|
* @throws {RequiredError}
|
|
5891
5919
|
*/
|
|
5892
|
-
|
|
5893
|
-
return localVarFp.
|
|
5920
|
+
adminV1AnalyticsRulesSyncPost(authorization, dataTypesAnalyticsRuleSyncRequest, options) {
|
|
5921
|
+
return localVarFp.adminV1AnalyticsRulesSyncPost(authorization, dataTypesAnalyticsRuleSyncRequest, options).then((request) => request(axios, basePath));
|
|
5894
5922
|
},
|
|
5895
5923
|
/**
|
|
5896
5924
|
* Retrieve a specific item by its ID from the Typesense collection. Useful for fetching details of items already in rules or for direct item selection by ID. Uses Redis caching for fast performance.
|
|
@@ -5901,8 +5929,8 @@ export const AnalyticsRulesApiFactory = function (configuration, basePath, axios
|
|
|
5901
5929
|
* @param {*} [options] Override http request option.
|
|
5902
5930
|
* @throws {RequiredError}
|
|
5903
5931
|
*/
|
|
5904
|
-
|
|
5905
|
-
return localVarFp.
|
|
5932
|
+
adminV1StoresXStoreIDAnalyticsRulesItemsItemIdGet(authorization, xStoreID, itemId, options) {
|
|
5933
|
+
return localVarFp.adminV1StoresXStoreIDAnalyticsRulesItemsItemIdGet(authorization, xStoreID, itemId, options).then((request) => request(axios, basePath));
|
|
5906
5934
|
},
|
|
5907
5935
|
/**
|
|
5908
5936
|
* Search through all items in the store\'s Typesense collection to find items that can be pinned or hidden in rules. Searches across ALL searchable attributes by analyzing Typesense schema. Uses Redis caching for fast performance (same as admin search API).
|
|
@@ -5913,8 +5941,8 @@ export const AnalyticsRulesApiFactory = function (configuration, basePath, axios
|
|
|
5913
5941
|
* @param {*} [options] Override http request option.
|
|
5914
5942
|
* @throws {RequiredError}
|
|
5915
5943
|
*/
|
|
5916
|
-
|
|
5917
|
-
return localVarFp.
|
|
5944
|
+
adminV1StoresXStoreIDAnalyticsRulesSearchItemsPost(authorization, xStoreID, dataTypesSearchRuleItemsRequest, options) {
|
|
5945
|
+
return localVarFp.adminV1StoresXStoreIDAnalyticsRulesSearchItemsPost(authorization, xStoreID, dataTypesSearchRuleItemsRequest, options).then((request) => request(axios, basePath));
|
|
5918
5946
|
},
|
|
5919
5947
|
/**
|
|
5920
5948
|
* Retrieve a paginated list of analytics rules with optional filtering by store, collection, and active status. Supports both page-based and offset-based pagination.
|
|
@@ -5934,8 +5962,8 @@ export const AnalyticsRulesApiFactory = function (configuration, basePath, axios
|
|
|
5934
5962
|
* @param {*} [options] Override http request option.
|
|
5935
5963
|
* @throws {RequiredError}
|
|
5936
5964
|
*/
|
|
5937
|
-
|
|
5938
|
-
return localVarFp.
|
|
5965
|
+
adminV1StoresXstoreidAnalyticsRulesGet(authorization, xstoreid, storeId, collectionName, isActive, page, pageSize, limit, offset, sortBy, sortOrder, searchQuery, options) {
|
|
5966
|
+
return localVarFp.adminV1StoresXstoreidAnalyticsRulesGet(authorization, xstoreid, storeId, collectionName, isActive, page, pageSize, limit, offset, sortBy, sortOrder, searchQuery, options).then((request) => request(axios, basePath));
|
|
5939
5967
|
},
|
|
5940
5968
|
/**
|
|
5941
5969
|
* Create a new analytics rule for Typesense curation. Rules define how search results should be modified (promoted, hidden, filtered, sorted) based on query conditions.
|
|
@@ -5946,8 +5974,8 @@ export const AnalyticsRulesApiFactory = function (configuration, basePath, axios
|
|
|
5946
5974
|
* @param {*} [options] Override http request option.
|
|
5947
5975
|
* @throws {RequiredError}
|
|
5948
5976
|
*/
|
|
5949
|
-
|
|
5950
|
-
return localVarFp.
|
|
5977
|
+
adminV1StoresXstoreidAnalyticsRulesPost(authorization, xstoreid, dataTypesCreateAnalyticsRuleRequest, options) {
|
|
5978
|
+
return localVarFp.adminV1StoresXstoreidAnalyticsRulesPost(authorization, xstoreid, dataTypesCreateAnalyticsRuleRequest, options).then((request) => request(axios, basePath));
|
|
5951
5979
|
},
|
|
5952
5980
|
/**
|
|
5953
5981
|
* Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
|
|
@@ -5958,8 +5986,8 @@ export const AnalyticsRulesApiFactory = function (configuration, basePath, axios
|
|
|
5958
5986
|
* @param {*} [options] Override http request option.
|
|
5959
5987
|
* @throws {RequiredError}
|
|
5960
5988
|
*/
|
|
5961
|
-
|
|
5962
|
-
return localVarFp.
|
|
5989
|
+
adminV1StoresXstoreidAnalyticsRulesRuleIdDelete(authorization, xstoreid, ruleId, options) {
|
|
5990
|
+
return localVarFp.adminV1StoresXstoreidAnalyticsRulesRuleIdDelete(authorization, xstoreid, ruleId, options).then((request) => request(axios, basePath));
|
|
5963
5991
|
},
|
|
5964
5992
|
/**
|
|
5965
5993
|
* Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
|
|
@@ -5970,8 +5998,8 @@ export const AnalyticsRulesApiFactory = function (configuration, basePath, axios
|
|
|
5970
5998
|
* @param {*} [options] Override http request option.
|
|
5971
5999
|
* @throws {RequiredError}
|
|
5972
6000
|
*/
|
|
5973
|
-
|
|
5974
|
-
return localVarFp.
|
|
6001
|
+
adminV1StoresXstoreidAnalyticsRulesRuleIdGet(authorization, xstoreid, ruleId, options) {
|
|
6002
|
+
return localVarFp.adminV1StoresXstoreidAnalyticsRulesRuleIdGet(authorization, xstoreid, ruleId, options).then((request) => request(axios, basePath));
|
|
5975
6003
|
},
|
|
5976
6004
|
/**
|
|
5977
6005
|
* Update an existing analytics rule. Supports partial updates. When is_active is set to false, the rule is removed from Typesense. When is_active is set to true, the rule is synced to Typesense.
|
|
@@ -5983,8 +6011,8 @@ export const AnalyticsRulesApiFactory = function (configuration, basePath, axios
|
|
|
5983
6011
|
* @param {*} [options] Override http request option.
|
|
5984
6012
|
* @throws {RequiredError}
|
|
5985
6013
|
*/
|
|
5986
|
-
|
|
5987
|
-
return localVarFp.
|
|
6014
|
+
adminV1StoresXstoreidAnalyticsRulesRuleIdPut(authorization, xstoreid, ruleId, dataTypesUpdateAnalyticsRuleRequest, options) {
|
|
6015
|
+
return localVarFp.adminV1StoresXstoreidAnalyticsRulesRuleIdPut(authorization, xstoreid, ruleId, dataTypesUpdateAnalyticsRuleRequest, options).then((request) => request(axios, basePath));
|
|
5988
6016
|
},
|
|
5989
6017
|
/**
|
|
5990
6018
|
* Manually synchronize analytics rules to Typesense. This endpoint can be used to force a sync of all active rules or specific rules to Typesense collections.
|
|
@@ -5995,8 +6023,8 @@ export const AnalyticsRulesApiFactory = function (configuration, basePath, axios
|
|
|
5995
6023
|
* @param {*} [options] Override http request option.
|
|
5996
6024
|
* @throws {RequiredError}
|
|
5997
6025
|
*/
|
|
5998
|
-
|
|
5999
|
-
return localVarFp.
|
|
6026
|
+
adminV1StoresXstoreidAnalyticsRulesSyncPost(authorization, xstoreid, dataTypesAnalyticsRuleSyncRequest, options) {
|
|
6027
|
+
return localVarFp.adminV1StoresXstoreidAnalyticsRulesSyncPost(authorization, xstoreid, dataTypesAnalyticsRuleSyncRequest, options).then((request) => request(axios, basePath));
|
|
6000
6028
|
},
|
|
6001
6029
|
};
|
|
6002
6030
|
};
|
|
@@ -6025,8 +6053,8 @@ export class AnalyticsRulesApi extends BaseAPI {
|
|
|
6025
6053
|
* @throws {RequiredError}
|
|
6026
6054
|
* @memberof AnalyticsRulesApi
|
|
6027
6055
|
*/
|
|
6028
|
-
|
|
6029
|
-
return AnalyticsRulesApiFp(this.configuration).
|
|
6056
|
+
adminV1AnalyticsRulesGet(authorization, storeId, collectionName, isActive, page, pageSize, limit, offset, sortBy, sortOrder, searchQuery, options) {
|
|
6057
|
+
return AnalyticsRulesApiFp(this.configuration).adminV1AnalyticsRulesGet(authorization, storeId, collectionName, isActive, page, pageSize, limit, offset, sortBy, sortOrder, searchQuery, options).then((request) => request(this.axios, this.basePath));
|
|
6030
6058
|
}
|
|
6031
6059
|
/**
|
|
6032
6060
|
* Create a new analytics rule for Typesense curation. Rules define how search results should be modified (promoted, hidden, filtered, sorted) based on query conditions.
|
|
@@ -6037,8 +6065,8 @@ export class AnalyticsRulesApi extends BaseAPI {
|
|
|
6037
6065
|
* @throws {RequiredError}
|
|
6038
6066
|
* @memberof AnalyticsRulesApi
|
|
6039
6067
|
*/
|
|
6040
|
-
|
|
6041
|
-
return AnalyticsRulesApiFp(this.configuration).
|
|
6068
|
+
adminV1AnalyticsRulesPost(authorization, dataTypesCreateAnalyticsRuleRequest, options) {
|
|
6069
|
+
return AnalyticsRulesApiFp(this.configuration).adminV1AnalyticsRulesPost(authorization, dataTypesCreateAnalyticsRuleRequest, options).then((request) => request(this.axios, this.basePath));
|
|
6042
6070
|
}
|
|
6043
6071
|
/**
|
|
6044
6072
|
* Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
|
|
@@ -6049,8 +6077,8 @@ export class AnalyticsRulesApi extends BaseAPI {
|
|
|
6049
6077
|
* @throws {RequiredError}
|
|
6050
6078
|
* @memberof AnalyticsRulesApi
|
|
6051
6079
|
*/
|
|
6052
|
-
|
|
6053
|
-
return AnalyticsRulesApiFp(this.configuration).
|
|
6080
|
+
adminV1AnalyticsRulesRuleIdDelete(authorization, ruleId, options) {
|
|
6081
|
+
return AnalyticsRulesApiFp(this.configuration).adminV1AnalyticsRulesRuleIdDelete(authorization, ruleId, options).then((request) => request(this.axios, this.basePath));
|
|
6054
6082
|
}
|
|
6055
6083
|
/**
|
|
6056
6084
|
* Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
|
|
@@ -6061,8 +6089,8 @@ export class AnalyticsRulesApi extends BaseAPI {
|
|
|
6061
6089
|
* @throws {RequiredError}
|
|
6062
6090
|
* @memberof AnalyticsRulesApi
|
|
6063
6091
|
*/
|
|
6064
|
-
|
|
6065
|
-
return AnalyticsRulesApiFp(this.configuration).
|
|
6092
|
+
adminV1AnalyticsRulesRuleIdGet(authorization, ruleId, options) {
|
|
6093
|
+
return AnalyticsRulesApiFp(this.configuration).adminV1AnalyticsRulesRuleIdGet(authorization, ruleId, options).then((request) => request(this.axios, this.basePath));
|
|
6066
6094
|
}
|
|
6067
6095
|
/**
|
|
6068
6096
|
* Update an existing analytics rule. Supports partial updates. When is_active is set to false, the rule is removed from Typesense. When is_active is set to true, the rule is synced to Typesense.
|
|
@@ -6074,8 +6102,8 @@ export class AnalyticsRulesApi extends BaseAPI {
|
|
|
6074
6102
|
* @throws {RequiredError}
|
|
6075
6103
|
* @memberof AnalyticsRulesApi
|
|
6076
6104
|
*/
|
|
6077
|
-
|
|
6078
|
-
return AnalyticsRulesApiFp(this.configuration).
|
|
6105
|
+
adminV1AnalyticsRulesRuleIdPut(authorization, ruleId, dataTypesUpdateAnalyticsRuleRequest, options) {
|
|
6106
|
+
return AnalyticsRulesApiFp(this.configuration).adminV1AnalyticsRulesRuleIdPut(authorization, ruleId, dataTypesUpdateAnalyticsRuleRequest, options).then((request) => request(this.axios, this.basePath));
|
|
6079
6107
|
}
|
|
6080
6108
|
/**
|
|
6081
6109
|
* Manually synchronize analytics rules to Typesense. This endpoint can be used to force a sync of all active rules or specific rules to Typesense collections.
|
|
@@ -6086,8 +6114,8 @@ export class AnalyticsRulesApi extends BaseAPI {
|
|
|
6086
6114
|
* @throws {RequiredError}
|
|
6087
6115
|
* @memberof AnalyticsRulesApi
|
|
6088
6116
|
*/
|
|
6089
|
-
|
|
6090
|
-
return AnalyticsRulesApiFp(this.configuration).
|
|
6117
|
+
adminV1AnalyticsRulesSyncPost(authorization, dataTypesAnalyticsRuleSyncRequest, options) {
|
|
6118
|
+
return AnalyticsRulesApiFp(this.configuration).adminV1AnalyticsRulesSyncPost(authorization, dataTypesAnalyticsRuleSyncRequest, options).then((request) => request(this.axios, this.basePath));
|
|
6091
6119
|
}
|
|
6092
6120
|
/**
|
|
6093
6121
|
* Retrieve a specific item by its ID from the Typesense collection. Useful for fetching details of items already in rules or for direct item selection by ID. Uses Redis caching for fast performance.
|
|
@@ -6099,8 +6127,8 @@ export class AnalyticsRulesApi extends BaseAPI {
|
|
|
6099
6127
|
* @throws {RequiredError}
|
|
6100
6128
|
* @memberof AnalyticsRulesApi
|
|
6101
6129
|
*/
|
|
6102
|
-
|
|
6103
|
-
return AnalyticsRulesApiFp(this.configuration).
|
|
6130
|
+
adminV1StoresXStoreIDAnalyticsRulesItemsItemIdGet(authorization, xStoreID, itemId, options) {
|
|
6131
|
+
return AnalyticsRulesApiFp(this.configuration).adminV1StoresXStoreIDAnalyticsRulesItemsItemIdGet(authorization, xStoreID, itemId, options).then((request) => request(this.axios, this.basePath));
|
|
6104
6132
|
}
|
|
6105
6133
|
/**
|
|
6106
6134
|
* Search through all items in the store\'s Typesense collection to find items that can be pinned or hidden in rules. Searches across ALL searchable attributes by analyzing Typesense schema. Uses Redis caching for fast performance (same as admin search API).
|
|
@@ -6112,8 +6140,8 @@ export class AnalyticsRulesApi extends BaseAPI {
|
|
|
6112
6140
|
* @throws {RequiredError}
|
|
6113
6141
|
* @memberof AnalyticsRulesApi
|
|
6114
6142
|
*/
|
|
6115
|
-
|
|
6116
|
-
return AnalyticsRulesApiFp(this.configuration).
|
|
6143
|
+
adminV1StoresXStoreIDAnalyticsRulesSearchItemsPost(authorization, xStoreID, dataTypesSearchRuleItemsRequest, options) {
|
|
6144
|
+
return AnalyticsRulesApiFp(this.configuration).adminV1StoresXStoreIDAnalyticsRulesSearchItemsPost(authorization, xStoreID, dataTypesSearchRuleItemsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
6117
6145
|
}
|
|
6118
6146
|
/**
|
|
6119
6147
|
* Retrieve a paginated list of analytics rules with optional filtering by store, collection, and active status. Supports both page-based and offset-based pagination.
|
|
@@ -6134,8 +6162,8 @@ export class AnalyticsRulesApi extends BaseAPI {
|
|
|
6134
6162
|
* @throws {RequiredError}
|
|
6135
6163
|
* @memberof AnalyticsRulesApi
|
|
6136
6164
|
*/
|
|
6137
|
-
|
|
6138
|
-
return AnalyticsRulesApiFp(this.configuration).
|
|
6165
|
+
adminV1StoresXstoreidAnalyticsRulesGet(authorization, xstoreid, storeId, collectionName, isActive, page, pageSize, limit, offset, sortBy, sortOrder, searchQuery, options) {
|
|
6166
|
+
return AnalyticsRulesApiFp(this.configuration).adminV1StoresXstoreidAnalyticsRulesGet(authorization, xstoreid, storeId, collectionName, isActive, page, pageSize, limit, offset, sortBy, sortOrder, searchQuery, options).then((request) => request(this.axios, this.basePath));
|
|
6139
6167
|
}
|
|
6140
6168
|
/**
|
|
6141
6169
|
* Create a new analytics rule for Typesense curation. Rules define how search results should be modified (promoted, hidden, filtered, sorted) based on query conditions.
|
|
@@ -6147,8 +6175,8 @@ export class AnalyticsRulesApi extends BaseAPI {
|
|
|
6147
6175
|
* @throws {RequiredError}
|
|
6148
6176
|
* @memberof AnalyticsRulesApi
|
|
6149
6177
|
*/
|
|
6150
|
-
|
|
6151
|
-
return AnalyticsRulesApiFp(this.configuration).
|
|
6178
|
+
adminV1StoresXstoreidAnalyticsRulesPost(authorization, xstoreid, dataTypesCreateAnalyticsRuleRequest, options) {
|
|
6179
|
+
return AnalyticsRulesApiFp(this.configuration).adminV1StoresXstoreidAnalyticsRulesPost(authorization, xstoreid, dataTypesCreateAnalyticsRuleRequest, options).then((request) => request(this.axios, this.basePath));
|
|
6152
6180
|
}
|
|
6153
6181
|
/**
|
|
6154
6182
|
* Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
|
|
@@ -6160,8 +6188,8 @@ export class AnalyticsRulesApi extends BaseAPI {
|
|
|
6160
6188
|
* @throws {RequiredError}
|
|
6161
6189
|
* @memberof AnalyticsRulesApi
|
|
6162
6190
|
*/
|
|
6163
|
-
|
|
6164
|
-
return AnalyticsRulesApiFp(this.configuration).
|
|
6191
|
+
adminV1StoresXstoreidAnalyticsRulesRuleIdDelete(authorization, xstoreid, ruleId, options) {
|
|
6192
|
+
return AnalyticsRulesApiFp(this.configuration).adminV1StoresXstoreidAnalyticsRulesRuleIdDelete(authorization, xstoreid, ruleId, options).then((request) => request(this.axios, this.basePath));
|
|
6165
6193
|
}
|
|
6166
6194
|
/**
|
|
6167
6195
|
* Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
|
|
@@ -6173,8 +6201,8 @@ export class AnalyticsRulesApi extends BaseAPI {
|
|
|
6173
6201
|
* @throws {RequiredError}
|
|
6174
6202
|
* @memberof AnalyticsRulesApi
|
|
6175
6203
|
*/
|
|
6176
|
-
|
|
6177
|
-
return AnalyticsRulesApiFp(this.configuration).
|
|
6204
|
+
adminV1StoresXstoreidAnalyticsRulesRuleIdGet(authorization, xstoreid, ruleId, options) {
|
|
6205
|
+
return AnalyticsRulesApiFp(this.configuration).adminV1StoresXstoreidAnalyticsRulesRuleIdGet(authorization, xstoreid, ruleId, options).then((request) => request(this.axios, this.basePath));
|
|
6178
6206
|
}
|
|
6179
6207
|
/**
|
|
6180
6208
|
* Update an existing analytics rule. Supports partial updates. When is_active is set to false, the rule is removed from Typesense. When is_active is set to true, the rule is synced to Typesense.
|
|
@@ -6187,8 +6215,8 @@ export class AnalyticsRulesApi extends BaseAPI {
|
|
|
6187
6215
|
* @throws {RequiredError}
|
|
6188
6216
|
* @memberof AnalyticsRulesApi
|
|
6189
6217
|
*/
|
|
6190
|
-
|
|
6191
|
-
return AnalyticsRulesApiFp(this.configuration).
|
|
6218
|
+
adminV1StoresXstoreidAnalyticsRulesRuleIdPut(authorization, xstoreid, ruleId, dataTypesUpdateAnalyticsRuleRequest, options) {
|
|
6219
|
+
return AnalyticsRulesApiFp(this.configuration).adminV1StoresXstoreidAnalyticsRulesRuleIdPut(authorization, xstoreid, ruleId, dataTypesUpdateAnalyticsRuleRequest, options).then((request) => request(this.axios, this.basePath));
|
|
6192
6220
|
}
|
|
6193
6221
|
/**
|
|
6194
6222
|
* Manually synchronize analytics rules to Typesense. This endpoint can be used to force a sync of all active rules or specific rules to Typesense collections.
|
|
@@ -6200,8 +6228,8 @@ export class AnalyticsRulesApi extends BaseAPI {
|
|
|
6200
6228
|
* @throws {RequiredError}
|
|
6201
6229
|
* @memberof AnalyticsRulesApi
|
|
6202
6230
|
*/
|
|
6203
|
-
|
|
6204
|
-
return AnalyticsRulesApiFp(this.configuration).
|
|
6231
|
+
adminV1StoresXstoreidAnalyticsRulesSyncPost(authorization, xstoreid, dataTypesAnalyticsRuleSyncRequest, options) {
|
|
6232
|
+
return AnalyticsRulesApiFp(this.configuration).adminV1StoresXstoreidAnalyticsRulesSyncPost(authorization, xstoreid, dataTypesAnalyticsRuleSyncRequest, options).then((request) => request(this.axios, this.basePath));
|
|
6205
6233
|
}
|
|
6206
6234
|
}
|
|
6207
6235
|
/**
|