@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/api.js
CHANGED
|
@@ -4963,10 +4963,10 @@ const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
4963
4963
|
* @param {*} [options] Override http request option.
|
|
4964
4964
|
* @throws {RequiredError}
|
|
4965
4965
|
*/
|
|
4966
|
-
|
|
4966
|
+
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 = {}) {
|
|
4967
4967
|
// verify required parameter 'authorization' is not null or undefined
|
|
4968
|
-
(0, common_1.assertParamExists)('
|
|
4969
|
-
const localVarPath = `/
|
|
4968
|
+
(0, common_1.assertParamExists)('adminV1AnalyticsRulesGet', 'authorization', authorization);
|
|
4969
|
+
const localVarPath = `/admin/v1/analytics/rules`;
|
|
4970
4970
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4971
4971
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4972
4972
|
let baseOptions;
|
|
@@ -4976,6 +4976,8 @@ const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
4976
4976
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
4977
4977
|
const localVarHeaderParameter = {};
|
|
4978
4978
|
const localVarQueryParameter = {};
|
|
4979
|
+
// authentication BearerAuth required
|
|
4980
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
4979
4981
|
if (storeId !== undefined) {
|
|
4980
4982
|
localVarQueryParameter['store_id'] = storeId;
|
|
4981
4983
|
}
|
|
@@ -5025,12 +5027,12 @@ const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
5025
5027
|
* @param {*} [options] Override http request option.
|
|
5026
5028
|
* @throws {RequiredError}
|
|
5027
5029
|
*/
|
|
5028
|
-
|
|
5030
|
+
adminV1AnalyticsRulesPost: (authorization_1, dataTypesCreateAnalyticsRuleRequest_1, ...args_1) => __awaiter(this, [authorization_1, dataTypesCreateAnalyticsRuleRequest_1, ...args_1], void 0, function* (authorization, dataTypesCreateAnalyticsRuleRequest, options = {}) {
|
|
5029
5031
|
// verify required parameter 'authorization' is not null or undefined
|
|
5030
|
-
(0, common_1.assertParamExists)('
|
|
5032
|
+
(0, common_1.assertParamExists)('adminV1AnalyticsRulesPost', 'authorization', authorization);
|
|
5031
5033
|
// verify required parameter 'dataTypesCreateAnalyticsRuleRequest' is not null or undefined
|
|
5032
|
-
(0, common_1.assertParamExists)('
|
|
5033
|
-
const localVarPath = `/
|
|
5034
|
+
(0, common_1.assertParamExists)('adminV1AnalyticsRulesPost', 'dataTypesCreateAnalyticsRuleRequest', dataTypesCreateAnalyticsRuleRequest);
|
|
5035
|
+
const localVarPath = `/admin/v1/analytics/rules`;
|
|
5034
5036
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5035
5037
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5036
5038
|
let baseOptions;
|
|
@@ -5040,6 +5042,8 @@ const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
5040
5042
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
5041
5043
|
const localVarHeaderParameter = {};
|
|
5042
5044
|
const localVarQueryParameter = {};
|
|
5045
|
+
// authentication BearerAuth required
|
|
5046
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
5043
5047
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5044
5048
|
if (authorization != null) {
|
|
5045
5049
|
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
@@ -5061,12 +5065,12 @@ const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
5061
5065
|
* @param {*} [options] Override http request option.
|
|
5062
5066
|
* @throws {RequiredError}
|
|
5063
5067
|
*/
|
|
5064
|
-
|
|
5068
|
+
adminV1AnalyticsRulesRuleIdDelete: (authorization_1, ruleId_1, ...args_1) => __awaiter(this, [authorization_1, ruleId_1, ...args_1], void 0, function* (authorization, ruleId, options = {}) {
|
|
5065
5069
|
// verify required parameter 'authorization' is not null or undefined
|
|
5066
|
-
(0, common_1.assertParamExists)('
|
|
5070
|
+
(0, common_1.assertParamExists)('adminV1AnalyticsRulesRuleIdDelete', 'authorization', authorization);
|
|
5067
5071
|
// verify required parameter 'ruleId' is not null or undefined
|
|
5068
|
-
(0, common_1.assertParamExists)('
|
|
5069
|
-
const localVarPath = `/
|
|
5072
|
+
(0, common_1.assertParamExists)('adminV1AnalyticsRulesRuleIdDelete', 'ruleId', ruleId);
|
|
5073
|
+
const localVarPath = `/admin/v1/analytics/rules/{ruleId}`
|
|
5070
5074
|
.replace(`{${"ruleId"}}`, encodeURIComponent(String(ruleId)));
|
|
5071
5075
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5072
5076
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -5077,6 +5081,8 @@ const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
5077
5081
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
5078
5082
|
const localVarHeaderParameter = {};
|
|
5079
5083
|
const localVarQueryParameter = {};
|
|
5084
|
+
// authentication BearerAuth required
|
|
5085
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
5080
5086
|
if (authorization != null) {
|
|
5081
5087
|
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
5082
5088
|
}
|
|
@@ -5096,12 +5102,12 @@ const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
5096
5102
|
* @param {*} [options] Override http request option.
|
|
5097
5103
|
* @throws {RequiredError}
|
|
5098
5104
|
*/
|
|
5099
|
-
|
|
5105
|
+
adminV1AnalyticsRulesRuleIdGet: (authorization_1, ruleId_1, ...args_1) => __awaiter(this, [authorization_1, ruleId_1, ...args_1], void 0, function* (authorization, ruleId, options = {}) {
|
|
5100
5106
|
// verify required parameter 'authorization' is not null or undefined
|
|
5101
|
-
(0, common_1.assertParamExists)('
|
|
5107
|
+
(0, common_1.assertParamExists)('adminV1AnalyticsRulesRuleIdGet', 'authorization', authorization);
|
|
5102
5108
|
// verify required parameter 'ruleId' is not null or undefined
|
|
5103
|
-
(0, common_1.assertParamExists)('
|
|
5104
|
-
const localVarPath = `/
|
|
5109
|
+
(0, common_1.assertParamExists)('adminV1AnalyticsRulesRuleIdGet', 'ruleId', ruleId);
|
|
5110
|
+
const localVarPath = `/admin/v1/analytics/rules/{ruleId}`
|
|
5105
5111
|
.replace(`{${"ruleId"}}`, encodeURIComponent(String(ruleId)));
|
|
5106
5112
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5107
5113
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -5112,6 +5118,8 @@ const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
5112
5118
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
5113
5119
|
const localVarHeaderParameter = {};
|
|
5114
5120
|
const localVarQueryParameter = {};
|
|
5121
|
+
// authentication BearerAuth required
|
|
5122
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
5115
5123
|
if (authorization != null) {
|
|
5116
5124
|
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
5117
5125
|
}
|
|
@@ -5132,14 +5140,14 @@ const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
5132
5140
|
* @param {*} [options] Override http request option.
|
|
5133
5141
|
* @throws {RequiredError}
|
|
5134
5142
|
*/
|
|
5135
|
-
|
|
5143
|
+
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 = {}) {
|
|
5136
5144
|
// verify required parameter 'authorization' is not null or undefined
|
|
5137
|
-
(0, common_1.assertParamExists)('
|
|
5145
|
+
(0, common_1.assertParamExists)('adminV1AnalyticsRulesRuleIdPut', 'authorization', authorization);
|
|
5138
5146
|
// verify required parameter 'ruleId' is not null or undefined
|
|
5139
|
-
(0, common_1.assertParamExists)('
|
|
5147
|
+
(0, common_1.assertParamExists)('adminV1AnalyticsRulesRuleIdPut', 'ruleId', ruleId);
|
|
5140
5148
|
// verify required parameter 'dataTypesUpdateAnalyticsRuleRequest' is not null or undefined
|
|
5141
|
-
(0, common_1.assertParamExists)('
|
|
5142
|
-
const localVarPath = `/
|
|
5149
|
+
(0, common_1.assertParamExists)('adminV1AnalyticsRulesRuleIdPut', 'dataTypesUpdateAnalyticsRuleRequest', dataTypesUpdateAnalyticsRuleRequest);
|
|
5150
|
+
const localVarPath = `/admin/v1/analytics/rules/{ruleId}`
|
|
5143
5151
|
.replace(`{${"ruleId"}}`, encodeURIComponent(String(ruleId)));
|
|
5144
5152
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5145
5153
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -5150,6 +5158,8 @@ const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
5150
5158
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
5151
5159
|
const localVarHeaderParameter = {};
|
|
5152
5160
|
const localVarQueryParameter = {};
|
|
5161
|
+
// authentication BearerAuth required
|
|
5162
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
5153
5163
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5154
5164
|
if (authorization != null) {
|
|
5155
5165
|
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
@@ -5171,12 +5181,12 @@ const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
5171
5181
|
* @param {*} [options] Override http request option.
|
|
5172
5182
|
* @throws {RequiredError}
|
|
5173
5183
|
*/
|
|
5174
|
-
|
|
5184
|
+
adminV1AnalyticsRulesSyncPost: (authorization_1, dataTypesAnalyticsRuleSyncRequest_1, ...args_1) => __awaiter(this, [authorization_1, dataTypesAnalyticsRuleSyncRequest_1, ...args_1], void 0, function* (authorization, dataTypesAnalyticsRuleSyncRequest, options = {}) {
|
|
5175
5185
|
// verify required parameter 'authorization' is not null or undefined
|
|
5176
|
-
(0, common_1.assertParamExists)('
|
|
5186
|
+
(0, common_1.assertParamExists)('adminV1AnalyticsRulesSyncPost', 'authorization', authorization);
|
|
5177
5187
|
// verify required parameter 'dataTypesAnalyticsRuleSyncRequest' is not null or undefined
|
|
5178
|
-
(0, common_1.assertParamExists)('
|
|
5179
|
-
const localVarPath = `/
|
|
5188
|
+
(0, common_1.assertParamExists)('adminV1AnalyticsRulesSyncPost', 'dataTypesAnalyticsRuleSyncRequest', dataTypesAnalyticsRuleSyncRequest);
|
|
5189
|
+
const localVarPath = `/admin/v1/analytics/rules/sync`;
|
|
5180
5190
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5181
5191
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5182
5192
|
let baseOptions;
|
|
@@ -5186,6 +5196,8 @@ const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
5186
5196
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
5187
5197
|
const localVarHeaderParameter = {};
|
|
5188
5198
|
const localVarQueryParameter = {};
|
|
5199
|
+
// authentication BearerAuth required
|
|
5200
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
5189
5201
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5190
5202
|
if (authorization != null) {
|
|
5191
5203
|
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
@@ -5208,14 +5220,14 @@ const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
5208
5220
|
* @param {*} [options] Override http request option.
|
|
5209
5221
|
* @throws {RequiredError}
|
|
5210
5222
|
*/
|
|
5211
|
-
|
|
5223
|
+
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 = {}) {
|
|
5212
5224
|
// verify required parameter 'authorization' is not null or undefined
|
|
5213
|
-
(0, common_1.assertParamExists)('
|
|
5225
|
+
(0, common_1.assertParamExists)('adminV1StoresXStoreIDAnalyticsRulesItemsItemIdGet', 'authorization', authorization);
|
|
5214
5226
|
// verify required parameter 'xStoreID' is not null or undefined
|
|
5215
|
-
(0, common_1.assertParamExists)('
|
|
5227
|
+
(0, common_1.assertParamExists)('adminV1StoresXStoreIDAnalyticsRulesItemsItemIdGet', 'xStoreID', xStoreID);
|
|
5216
5228
|
// verify required parameter 'itemId' is not null or undefined
|
|
5217
|
-
(0, common_1.assertParamExists)('
|
|
5218
|
-
const localVarPath = `/
|
|
5229
|
+
(0, common_1.assertParamExists)('adminV1StoresXStoreIDAnalyticsRulesItemsItemIdGet', 'itemId', itemId);
|
|
5230
|
+
const localVarPath = `/admin/v1/stores/{xStoreID}/analytics/rules/items/{itemId}`
|
|
5219
5231
|
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)))
|
|
5220
5232
|
.replace(`{${"itemId"}}`, encodeURIComponent(String(itemId)));
|
|
5221
5233
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -5227,6 +5239,8 @@ const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
5227
5239
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
5228
5240
|
const localVarHeaderParameter = {};
|
|
5229
5241
|
const localVarQueryParameter = {};
|
|
5242
|
+
// authentication BearerAuth required
|
|
5243
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
5230
5244
|
if (authorization != null) {
|
|
5231
5245
|
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
5232
5246
|
}
|
|
@@ -5247,14 +5261,14 @@ const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
5247
5261
|
* @param {*} [options] Override http request option.
|
|
5248
5262
|
* @throws {RequiredError}
|
|
5249
5263
|
*/
|
|
5250
|
-
|
|
5264
|
+
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 = {}) {
|
|
5251
5265
|
// verify required parameter 'authorization' is not null or undefined
|
|
5252
|
-
(0, common_1.assertParamExists)('
|
|
5266
|
+
(0, common_1.assertParamExists)('adminV1StoresXStoreIDAnalyticsRulesSearchItemsPost', 'authorization', authorization);
|
|
5253
5267
|
// verify required parameter 'xStoreID' is not null or undefined
|
|
5254
|
-
(0, common_1.assertParamExists)('
|
|
5268
|
+
(0, common_1.assertParamExists)('adminV1StoresXStoreIDAnalyticsRulesSearchItemsPost', 'xStoreID', xStoreID);
|
|
5255
5269
|
// verify required parameter 'dataTypesSearchRuleItemsRequest' is not null or undefined
|
|
5256
|
-
(0, common_1.assertParamExists)('
|
|
5257
|
-
const localVarPath = `/
|
|
5270
|
+
(0, common_1.assertParamExists)('adminV1StoresXStoreIDAnalyticsRulesSearchItemsPost', 'dataTypesSearchRuleItemsRequest', dataTypesSearchRuleItemsRequest);
|
|
5271
|
+
const localVarPath = `/admin/v1/stores/{xStoreID}/analytics/rules/search-items`
|
|
5258
5272
|
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
|
|
5259
5273
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5260
5274
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -5265,6 +5279,8 @@ const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
5265
5279
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
5266
5280
|
const localVarHeaderParameter = {};
|
|
5267
5281
|
const localVarQueryParameter = {};
|
|
5282
|
+
// authentication BearerAuth required
|
|
5283
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
5268
5284
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5269
5285
|
if (authorization != null) {
|
|
5270
5286
|
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
@@ -5296,12 +5312,12 @@ const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
5296
5312
|
* @param {*} [options] Override http request option.
|
|
5297
5313
|
* @throws {RequiredError}
|
|
5298
5314
|
*/
|
|
5299
|
-
|
|
5315
|
+
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 = {}) {
|
|
5300
5316
|
// verify required parameter 'authorization' is not null or undefined
|
|
5301
|
-
(0, common_1.assertParamExists)('
|
|
5317
|
+
(0, common_1.assertParamExists)('adminV1StoresXstoreidAnalyticsRulesGet', 'authorization', authorization);
|
|
5302
5318
|
// verify required parameter 'xstoreid' is not null or undefined
|
|
5303
|
-
(0, common_1.assertParamExists)('
|
|
5304
|
-
const localVarPath = `/
|
|
5319
|
+
(0, common_1.assertParamExists)('adminV1StoresXstoreidAnalyticsRulesGet', 'xstoreid', xstoreid);
|
|
5320
|
+
const localVarPath = `/admin/v1/stores/{xstoreid}/analytics/rules`
|
|
5305
5321
|
.replace(`{${"xstoreid"}}`, encodeURIComponent(String(xstoreid)));
|
|
5306
5322
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5307
5323
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -5312,6 +5328,8 @@ const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
5312
5328
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
5313
5329
|
const localVarHeaderParameter = {};
|
|
5314
5330
|
const localVarQueryParameter = {};
|
|
5331
|
+
// authentication BearerAuth required
|
|
5332
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
5315
5333
|
if (storeId !== undefined) {
|
|
5316
5334
|
localVarQueryParameter['store_id'] = storeId;
|
|
5317
5335
|
}
|
|
@@ -5362,14 +5380,14 @@ const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
5362
5380
|
* @param {*} [options] Override http request option.
|
|
5363
5381
|
* @throws {RequiredError}
|
|
5364
5382
|
*/
|
|
5365
|
-
|
|
5383
|
+
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 = {}) {
|
|
5366
5384
|
// verify required parameter 'authorization' is not null or undefined
|
|
5367
|
-
(0, common_1.assertParamExists)('
|
|
5385
|
+
(0, common_1.assertParamExists)('adminV1StoresXstoreidAnalyticsRulesPost', 'authorization', authorization);
|
|
5368
5386
|
// verify required parameter 'xstoreid' is not null or undefined
|
|
5369
|
-
(0, common_1.assertParamExists)('
|
|
5387
|
+
(0, common_1.assertParamExists)('adminV1StoresXstoreidAnalyticsRulesPost', 'xstoreid', xstoreid);
|
|
5370
5388
|
// verify required parameter 'dataTypesCreateAnalyticsRuleRequest' is not null or undefined
|
|
5371
|
-
(0, common_1.assertParamExists)('
|
|
5372
|
-
const localVarPath = `/
|
|
5389
|
+
(0, common_1.assertParamExists)('adminV1StoresXstoreidAnalyticsRulesPost', 'dataTypesCreateAnalyticsRuleRequest', dataTypesCreateAnalyticsRuleRequest);
|
|
5390
|
+
const localVarPath = `/admin/v1/stores/{xstoreid}/analytics/rules`
|
|
5373
5391
|
.replace(`{${"xstoreid"}}`, encodeURIComponent(String(xstoreid)));
|
|
5374
5392
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5375
5393
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -5380,6 +5398,8 @@ const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
5380
5398
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
5381
5399
|
const localVarHeaderParameter = {};
|
|
5382
5400
|
const localVarQueryParameter = {};
|
|
5401
|
+
// authentication BearerAuth required
|
|
5402
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
5383
5403
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5384
5404
|
if (authorization != null) {
|
|
5385
5405
|
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
@@ -5402,14 +5422,14 @@ const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
5402
5422
|
* @param {*} [options] Override http request option.
|
|
5403
5423
|
* @throws {RequiredError}
|
|
5404
5424
|
*/
|
|
5405
|
-
|
|
5425
|
+
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 = {}) {
|
|
5406
5426
|
// verify required parameter 'authorization' is not null or undefined
|
|
5407
|
-
(0, common_1.assertParamExists)('
|
|
5427
|
+
(0, common_1.assertParamExists)('adminV1StoresXstoreidAnalyticsRulesRuleIdDelete', 'authorization', authorization);
|
|
5408
5428
|
// verify required parameter 'xstoreid' is not null or undefined
|
|
5409
|
-
(0, common_1.assertParamExists)('
|
|
5429
|
+
(0, common_1.assertParamExists)('adminV1StoresXstoreidAnalyticsRulesRuleIdDelete', 'xstoreid', xstoreid);
|
|
5410
5430
|
// verify required parameter 'ruleId' is not null or undefined
|
|
5411
|
-
(0, common_1.assertParamExists)('
|
|
5412
|
-
const localVarPath = `/
|
|
5431
|
+
(0, common_1.assertParamExists)('adminV1StoresXstoreidAnalyticsRulesRuleIdDelete', 'ruleId', ruleId);
|
|
5432
|
+
const localVarPath = `/admin/v1/stores/{xstoreid}/analytics/rules/{ruleId}`
|
|
5413
5433
|
.replace(`{${"xstoreid"}}`, encodeURIComponent(String(xstoreid)))
|
|
5414
5434
|
.replace(`{${"ruleId"}}`, encodeURIComponent(String(ruleId)));
|
|
5415
5435
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -5421,6 +5441,8 @@ const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
5421
5441
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
5422
5442
|
const localVarHeaderParameter = {};
|
|
5423
5443
|
const localVarQueryParameter = {};
|
|
5444
|
+
// authentication BearerAuth required
|
|
5445
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
5424
5446
|
if (authorization != null) {
|
|
5425
5447
|
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
5426
5448
|
}
|
|
@@ -5441,14 +5463,14 @@ const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
5441
5463
|
* @param {*} [options] Override http request option.
|
|
5442
5464
|
* @throws {RequiredError}
|
|
5443
5465
|
*/
|
|
5444
|
-
|
|
5466
|
+
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 = {}) {
|
|
5445
5467
|
// verify required parameter 'authorization' is not null or undefined
|
|
5446
|
-
(0, common_1.assertParamExists)('
|
|
5468
|
+
(0, common_1.assertParamExists)('adminV1StoresXstoreidAnalyticsRulesRuleIdGet', 'authorization', authorization);
|
|
5447
5469
|
// verify required parameter 'xstoreid' is not null or undefined
|
|
5448
|
-
(0, common_1.assertParamExists)('
|
|
5470
|
+
(0, common_1.assertParamExists)('adminV1StoresXstoreidAnalyticsRulesRuleIdGet', 'xstoreid', xstoreid);
|
|
5449
5471
|
// verify required parameter 'ruleId' is not null or undefined
|
|
5450
|
-
(0, common_1.assertParamExists)('
|
|
5451
|
-
const localVarPath = `/
|
|
5472
|
+
(0, common_1.assertParamExists)('adminV1StoresXstoreidAnalyticsRulesRuleIdGet', 'ruleId', ruleId);
|
|
5473
|
+
const localVarPath = `/admin/v1/stores/{xstoreid}/analytics/rules/{ruleId}`
|
|
5452
5474
|
.replace(`{${"xstoreid"}}`, encodeURIComponent(String(xstoreid)))
|
|
5453
5475
|
.replace(`{${"ruleId"}}`, encodeURIComponent(String(ruleId)));
|
|
5454
5476
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -5460,6 +5482,8 @@ const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
5460
5482
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
5461
5483
|
const localVarHeaderParameter = {};
|
|
5462
5484
|
const localVarQueryParameter = {};
|
|
5485
|
+
// authentication BearerAuth required
|
|
5486
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
5463
5487
|
if (authorization != null) {
|
|
5464
5488
|
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
5465
5489
|
}
|
|
@@ -5481,16 +5505,16 @@ const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
5481
5505
|
* @param {*} [options] Override http request option.
|
|
5482
5506
|
* @throws {RequiredError}
|
|
5483
5507
|
*/
|
|
5484
|
-
|
|
5508
|
+
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 = {}) {
|
|
5485
5509
|
// verify required parameter 'authorization' is not null or undefined
|
|
5486
|
-
(0, common_1.assertParamExists)('
|
|
5510
|
+
(0, common_1.assertParamExists)('adminV1StoresXstoreidAnalyticsRulesRuleIdPut', 'authorization', authorization);
|
|
5487
5511
|
// verify required parameter 'xstoreid' is not null or undefined
|
|
5488
|
-
(0, common_1.assertParamExists)('
|
|
5512
|
+
(0, common_1.assertParamExists)('adminV1StoresXstoreidAnalyticsRulesRuleIdPut', 'xstoreid', xstoreid);
|
|
5489
5513
|
// verify required parameter 'ruleId' is not null or undefined
|
|
5490
|
-
(0, common_1.assertParamExists)('
|
|
5514
|
+
(0, common_1.assertParamExists)('adminV1StoresXstoreidAnalyticsRulesRuleIdPut', 'ruleId', ruleId);
|
|
5491
5515
|
// verify required parameter 'dataTypesUpdateAnalyticsRuleRequest' is not null or undefined
|
|
5492
|
-
(0, common_1.assertParamExists)('
|
|
5493
|
-
const localVarPath = `/
|
|
5516
|
+
(0, common_1.assertParamExists)('adminV1StoresXstoreidAnalyticsRulesRuleIdPut', 'dataTypesUpdateAnalyticsRuleRequest', dataTypesUpdateAnalyticsRuleRequest);
|
|
5517
|
+
const localVarPath = `/admin/v1/stores/{xstoreid}/analytics/rules/{ruleId}`
|
|
5494
5518
|
.replace(`{${"xstoreid"}}`, encodeURIComponent(String(xstoreid)))
|
|
5495
5519
|
.replace(`{${"ruleId"}}`, encodeURIComponent(String(ruleId)));
|
|
5496
5520
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -5502,6 +5526,8 @@ const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
5502
5526
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
5503
5527
|
const localVarHeaderParameter = {};
|
|
5504
5528
|
const localVarQueryParameter = {};
|
|
5529
|
+
// authentication BearerAuth required
|
|
5530
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
5505
5531
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5506
5532
|
if (authorization != null) {
|
|
5507
5533
|
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
@@ -5524,14 +5550,14 @@ const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
5524
5550
|
* @param {*} [options] Override http request option.
|
|
5525
5551
|
* @throws {RequiredError}
|
|
5526
5552
|
*/
|
|
5527
|
-
|
|
5553
|
+
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 = {}) {
|
|
5528
5554
|
// verify required parameter 'authorization' is not null or undefined
|
|
5529
|
-
(0, common_1.assertParamExists)('
|
|
5555
|
+
(0, common_1.assertParamExists)('adminV1StoresXstoreidAnalyticsRulesSyncPost', 'authorization', authorization);
|
|
5530
5556
|
// verify required parameter 'xstoreid' is not null or undefined
|
|
5531
|
-
(0, common_1.assertParamExists)('
|
|
5557
|
+
(0, common_1.assertParamExists)('adminV1StoresXstoreidAnalyticsRulesSyncPost', 'xstoreid', xstoreid);
|
|
5532
5558
|
// verify required parameter 'dataTypesAnalyticsRuleSyncRequest' is not null or undefined
|
|
5533
|
-
(0, common_1.assertParamExists)('
|
|
5534
|
-
const localVarPath = `/
|
|
5559
|
+
(0, common_1.assertParamExists)('adminV1StoresXstoreidAnalyticsRulesSyncPost', 'dataTypesAnalyticsRuleSyncRequest', dataTypesAnalyticsRuleSyncRequest);
|
|
5560
|
+
const localVarPath = `/admin/v1/stores/{xstoreid}/analytics/rules/sync`
|
|
5535
5561
|
.replace(`{${"xstoreid"}}`, encodeURIComponent(String(xstoreid)));
|
|
5536
5562
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5537
5563
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -5542,6 +5568,8 @@ const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
5542
5568
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
5543
5569
|
const localVarHeaderParameter = {};
|
|
5544
5570
|
const localVarQueryParameter = {};
|
|
5571
|
+
// authentication BearerAuth required
|
|
5572
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
5545
5573
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5546
5574
|
if (authorization != null) {
|
|
5547
5575
|
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
@@ -5582,12 +5610,12 @@ const AnalyticsRulesApiFp = function (configuration) {
|
|
|
5582
5610
|
* @param {*} [options] Override http request option.
|
|
5583
5611
|
* @throws {RequiredError}
|
|
5584
5612
|
*/
|
|
5585
|
-
|
|
5613
|
+
adminV1AnalyticsRulesGet(authorization, storeId, collectionName, isActive, page, pageSize, limit, offset, sortBy, sortOrder, searchQuery, options) {
|
|
5586
5614
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5587
5615
|
var _a, _b, _c;
|
|
5588
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
5616
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1AnalyticsRulesGet(authorization, storeId, collectionName, isActive, page, pageSize, limit, offset, sortBy, sortOrder, searchQuery, options);
|
|
5589
5617
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5590
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AnalyticsRulesApi.
|
|
5618
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AnalyticsRulesApi.adminV1AnalyticsRulesGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5591
5619
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5592
5620
|
});
|
|
5593
5621
|
},
|
|
@@ -5599,12 +5627,12 @@ const AnalyticsRulesApiFp = function (configuration) {
|
|
|
5599
5627
|
* @param {*} [options] Override http request option.
|
|
5600
5628
|
* @throws {RequiredError}
|
|
5601
5629
|
*/
|
|
5602
|
-
|
|
5630
|
+
adminV1AnalyticsRulesPost(authorization, dataTypesCreateAnalyticsRuleRequest, options) {
|
|
5603
5631
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5604
5632
|
var _a, _b, _c;
|
|
5605
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
5633
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1AnalyticsRulesPost(authorization, dataTypesCreateAnalyticsRuleRequest, options);
|
|
5606
5634
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5607
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AnalyticsRulesApi.
|
|
5635
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AnalyticsRulesApi.adminV1AnalyticsRulesPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5608
5636
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5609
5637
|
});
|
|
5610
5638
|
},
|
|
@@ -5616,12 +5644,12 @@ const AnalyticsRulesApiFp = function (configuration) {
|
|
|
5616
5644
|
* @param {*} [options] Override http request option.
|
|
5617
5645
|
* @throws {RequiredError}
|
|
5618
5646
|
*/
|
|
5619
|
-
|
|
5647
|
+
adminV1AnalyticsRulesRuleIdDelete(authorization, ruleId, options) {
|
|
5620
5648
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5621
5649
|
var _a, _b, _c;
|
|
5622
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
5650
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1AnalyticsRulesRuleIdDelete(authorization, ruleId, options);
|
|
5623
5651
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5624
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AnalyticsRulesApi.
|
|
5652
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AnalyticsRulesApi.adminV1AnalyticsRulesRuleIdDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5625
5653
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5626
5654
|
});
|
|
5627
5655
|
},
|
|
@@ -5633,12 +5661,12 @@ const AnalyticsRulesApiFp = function (configuration) {
|
|
|
5633
5661
|
* @param {*} [options] Override http request option.
|
|
5634
5662
|
* @throws {RequiredError}
|
|
5635
5663
|
*/
|
|
5636
|
-
|
|
5664
|
+
adminV1AnalyticsRulesRuleIdGet(authorization, ruleId, options) {
|
|
5637
5665
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5638
5666
|
var _a, _b, _c;
|
|
5639
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
5667
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1AnalyticsRulesRuleIdGet(authorization, ruleId, options);
|
|
5640
5668
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5641
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AnalyticsRulesApi.
|
|
5669
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AnalyticsRulesApi.adminV1AnalyticsRulesRuleIdGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5642
5670
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5643
5671
|
});
|
|
5644
5672
|
},
|
|
@@ -5651,12 +5679,12 @@ const AnalyticsRulesApiFp = function (configuration) {
|
|
|
5651
5679
|
* @param {*} [options] Override http request option.
|
|
5652
5680
|
* @throws {RequiredError}
|
|
5653
5681
|
*/
|
|
5654
|
-
|
|
5682
|
+
adminV1AnalyticsRulesRuleIdPut(authorization, ruleId, dataTypesUpdateAnalyticsRuleRequest, options) {
|
|
5655
5683
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5656
5684
|
var _a, _b, _c;
|
|
5657
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
5685
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1AnalyticsRulesRuleIdPut(authorization, ruleId, dataTypesUpdateAnalyticsRuleRequest, options);
|
|
5658
5686
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5659
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AnalyticsRulesApi.
|
|
5687
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AnalyticsRulesApi.adminV1AnalyticsRulesRuleIdPut']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5660
5688
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5661
5689
|
});
|
|
5662
5690
|
},
|
|
@@ -5668,12 +5696,12 @@ const AnalyticsRulesApiFp = function (configuration) {
|
|
|
5668
5696
|
* @param {*} [options] Override http request option.
|
|
5669
5697
|
* @throws {RequiredError}
|
|
5670
5698
|
*/
|
|
5671
|
-
|
|
5699
|
+
adminV1AnalyticsRulesSyncPost(authorization, dataTypesAnalyticsRuleSyncRequest, options) {
|
|
5672
5700
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5673
5701
|
var _a, _b, _c;
|
|
5674
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
5702
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1AnalyticsRulesSyncPost(authorization, dataTypesAnalyticsRuleSyncRequest, options);
|
|
5675
5703
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5676
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AnalyticsRulesApi.
|
|
5704
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AnalyticsRulesApi.adminV1AnalyticsRulesSyncPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5677
5705
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5678
5706
|
});
|
|
5679
5707
|
},
|
|
@@ -5686,12 +5714,12 @@ const AnalyticsRulesApiFp = function (configuration) {
|
|
|
5686
5714
|
* @param {*} [options] Override http request option.
|
|
5687
5715
|
* @throws {RequiredError}
|
|
5688
5716
|
*/
|
|
5689
|
-
|
|
5717
|
+
adminV1StoresXStoreIDAnalyticsRulesItemsItemIdGet(authorization, xStoreID, itemId, options) {
|
|
5690
5718
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5691
5719
|
var _a, _b, _c;
|
|
5692
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
5720
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1StoresXStoreIDAnalyticsRulesItemsItemIdGet(authorization, xStoreID, itemId, options);
|
|
5693
5721
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5694
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AnalyticsRulesApi.
|
|
5722
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AnalyticsRulesApi.adminV1StoresXStoreIDAnalyticsRulesItemsItemIdGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5695
5723
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5696
5724
|
});
|
|
5697
5725
|
},
|
|
@@ -5704,12 +5732,12 @@ const AnalyticsRulesApiFp = function (configuration) {
|
|
|
5704
5732
|
* @param {*} [options] Override http request option.
|
|
5705
5733
|
* @throws {RequiredError}
|
|
5706
5734
|
*/
|
|
5707
|
-
|
|
5735
|
+
adminV1StoresXStoreIDAnalyticsRulesSearchItemsPost(authorization, xStoreID, dataTypesSearchRuleItemsRequest, options) {
|
|
5708
5736
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5709
5737
|
var _a, _b, _c;
|
|
5710
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
5738
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1StoresXStoreIDAnalyticsRulesSearchItemsPost(authorization, xStoreID, dataTypesSearchRuleItemsRequest, options);
|
|
5711
5739
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5712
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AnalyticsRulesApi.
|
|
5740
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AnalyticsRulesApi.adminV1StoresXStoreIDAnalyticsRulesSearchItemsPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5713
5741
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5714
5742
|
});
|
|
5715
5743
|
},
|
|
@@ -5731,12 +5759,12 @@ const AnalyticsRulesApiFp = function (configuration) {
|
|
|
5731
5759
|
* @param {*} [options] Override http request option.
|
|
5732
5760
|
* @throws {RequiredError}
|
|
5733
5761
|
*/
|
|
5734
|
-
|
|
5762
|
+
adminV1StoresXstoreidAnalyticsRulesGet(authorization, xstoreid, storeId, collectionName, isActive, page, pageSize, limit, offset, sortBy, sortOrder, searchQuery, options) {
|
|
5735
5763
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5736
5764
|
var _a, _b, _c;
|
|
5737
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
5765
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1StoresXstoreidAnalyticsRulesGet(authorization, xstoreid, storeId, collectionName, isActive, page, pageSize, limit, offset, sortBy, sortOrder, searchQuery, options);
|
|
5738
5766
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5739
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AnalyticsRulesApi.
|
|
5767
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AnalyticsRulesApi.adminV1StoresXstoreidAnalyticsRulesGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5740
5768
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5741
5769
|
});
|
|
5742
5770
|
},
|
|
@@ -5749,12 +5777,12 @@ const AnalyticsRulesApiFp = function (configuration) {
|
|
|
5749
5777
|
* @param {*} [options] Override http request option.
|
|
5750
5778
|
* @throws {RequiredError}
|
|
5751
5779
|
*/
|
|
5752
|
-
|
|
5780
|
+
adminV1StoresXstoreidAnalyticsRulesPost(authorization, xstoreid, dataTypesCreateAnalyticsRuleRequest, options) {
|
|
5753
5781
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5754
5782
|
var _a, _b, _c;
|
|
5755
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
5783
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1StoresXstoreidAnalyticsRulesPost(authorization, xstoreid, dataTypesCreateAnalyticsRuleRequest, options);
|
|
5756
5784
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5757
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AnalyticsRulesApi.
|
|
5785
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AnalyticsRulesApi.adminV1StoresXstoreidAnalyticsRulesPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5758
5786
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5759
5787
|
});
|
|
5760
5788
|
},
|
|
@@ -5767,12 +5795,12 @@ const AnalyticsRulesApiFp = function (configuration) {
|
|
|
5767
5795
|
* @param {*} [options] Override http request option.
|
|
5768
5796
|
* @throws {RequiredError}
|
|
5769
5797
|
*/
|
|
5770
|
-
|
|
5798
|
+
adminV1StoresXstoreidAnalyticsRulesRuleIdDelete(authorization, xstoreid, ruleId, options) {
|
|
5771
5799
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5772
5800
|
var _a, _b, _c;
|
|
5773
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
5801
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1StoresXstoreidAnalyticsRulesRuleIdDelete(authorization, xstoreid, ruleId, options);
|
|
5774
5802
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5775
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AnalyticsRulesApi.
|
|
5803
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AnalyticsRulesApi.adminV1StoresXstoreidAnalyticsRulesRuleIdDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5776
5804
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5777
5805
|
});
|
|
5778
5806
|
},
|
|
@@ -5785,12 +5813,12 @@ const AnalyticsRulesApiFp = function (configuration) {
|
|
|
5785
5813
|
* @param {*} [options] Override http request option.
|
|
5786
5814
|
* @throws {RequiredError}
|
|
5787
5815
|
*/
|
|
5788
|
-
|
|
5816
|
+
adminV1StoresXstoreidAnalyticsRulesRuleIdGet(authorization, xstoreid, ruleId, options) {
|
|
5789
5817
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5790
5818
|
var _a, _b, _c;
|
|
5791
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
5819
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1StoresXstoreidAnalyticsRulesRuleIdGet(authorization, xstoreid, ruleId, options);
|
|
5792
5820
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5793
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AnalyticsRulesApi.
|
|
5821
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AnalyticsRulesApi.adminV1StoresXstoreidAnalyticsRulesRuleIdGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5794
5822
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5795
5823
|
});
|
|
5796
5824
|
},
|
|
@@ -5804,12 +5832,12 @@ const AnalyticsRulesApiFp = function (configuration) {
|
|
|
5804
5832
|
* @param {*} [options] Override http request option.
|
|
5805
5833
|
* @throws {RequiredError}
|
|
5806
5834
|
*/
|
|
5807
|
-
|
|
5835
|
+
adminV1StoresXstoreidAnalyticsRulesRuleIdPut(authorization, xstoreid, ruleId, dataTypesUpdateAnalyticsRuleRequest, options) {
|
|
5808
5836
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5809
5837
|
var _a, _b, _c;
|
|
5810
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
5838
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1StoresXstoreidAnalyticsRulesRuleIdPut(authorization, xstoreid, ruleId, dataTypesUpdateAnalyticsRuleRequest, options);
|
|
5811
5839
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5812
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AnalyticsRulesApi.
|
|
5840
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AnalyticsRulesApi.adminV1StoresXstoreidAnalyticsRulesRuleIdPut']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5813
5841
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5814
5842
|
});
|
|
5815
5843
|
},
|
|
@@ -5822,12 +5850,12 @@ const AnalyticsRulesApiFp = function (configuration) {
|
|
|
5822
5850
|
* @param {*} [options] Override http request option.
|
|
5823
5851
|
* @throws {RequiredError}
|
|
5824
5852
|
*/
|
|
5825
|
-
|
|
5853
|
+
adminV1StoresXstoreidAnalyticsRulesSyncPost(authorization, xstoreid, dataTypesAnalyticsRuleSyncRequest, options) {
|
|
5826
5854
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5827
5855
|
var _a, _b, _c;
|
|
5828
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
5856
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1StoresXstoreidAnalyticsRulesSyncPost(authorization, xstoreid, dataTypesAnalyticsRuleSyncRequest, options);
|
|
5829
5857
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5830
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AnalyticsRulesApi.
|
|
5858
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AnalyticsRulesApi.adminV1StoresXstoreidAnalyticsRulesSyncPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5831
5859
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5832
5860
|
});
|
|
5833
5861
|
},
|
|
@@ -5858,8 +5886,8 @@ const AnalyticsRulesApiFactory = function (configuration, basePath, axios) {
|
|
|
5858
5886
|
* @param {*} [options] Override http request option.
|
|
5859
5887
|
* @throws {RequiredError}
|
|
5860
5888
|
*/
|
|
5861
|
-
|
|
5862
|
-
return localVarFp.
|
|
5889
|
+
adminV1AnalyticsRulesGet(authorization, storeId, collectionName, isActive, page, pageSize, limit, offset, sortBy, sortOrder, searchQuery, options) {
|
|
5890
|
+
return localVarFp.adminV1AnalyticsRulesGet(authorization, storeId, collectionName, isActive, page, pageSize, limit, offset, sortBy, sortOrder, searchQuery, options).then((request) => request(axios, basePath));
|
|
5863
5891
|
},
|
|
5864
5892
|
/**
|
|
5865
5893
|
* Create a new analytics rule for Typesense curation. Rules define how search results should be modified (promoted, hidden, filtered, sorted) based on query conditions.
|
|
@@ -5869,8 +5897,8 @@ const AnalyticsRulesApiFactory = function (configuration, basePath, axios) {
|
|
|
5869
5897
|
* @param {*} [options] Override http request option.
|
|
5870
5898
|
* @throws {RequiredError}
|
|
5871
5899
|
*/
|
|
5872
|
-
|
|
5873
|
-
return localVarFp.
|
|
5900
|
+
adminV1AnalyticsRulesPost(authorization, dataTypesCreateAnalyticsRuleRequest, options) {
|
|
5901
|
+
return localVarFp.adminV1AnalyticsRulesPost(authorization, dataTypesCreateAnalyticsRuleRequest, options).then((request) => request(axios, basePath));
|
|
5874
5902
|
},
|
|
5875
5903
|
/**
|
|
5876
5904
|
* Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
|
|
@@ -5880,8 +5908,8 @@ const AnalyticsRulesApiFactory = function (configuration, basePath, axios) {
|
|
|
5880
5908
|
* @param {*} [options] Override http request option.
|
|
5881
5909
|
* @throws {RequiredError}
|
|
5882
5910
|
*/
|
|
5883
|
-
|
|
5884
|
-
return localVarFp.
|
|
5911
|
+
adminV1AnalyticsRulesRuleIdDelete(authorization, ruleId, options) {
|
|
5912
|
+
return localVarFp.adminV1AnalyticsRulesRuleIdDelete(authorization, ruleId, options).then((request) => request(axios, basePath));
|
|
5885
5913
|
},
|
|
5886
5914
|
/**
|
|
5887
5915
|
* Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
|
|
@@ -5891,8 +5919,8 @@ const AnalyticsRulesApiFactory = function (configuration, basePath, axios) {
|
|
|
5891
5919
|
* @param {*} [options] Override http request option.
|
|
5892
5920
|
* @throws {RequiredError}
|
|
5893
5921
|
*/
|
|
5894
|
-
|
|
5895
|
-
return localVarFp.
|
|
5922
|
+
adminV1AnalyticsRulesRuleIdGet(authorization, ruleId, options) {
|
|
5923
|
+
return localVarFp.adminV1AnalyticsRulesRuleIdGet(authorization, ruleId, options).then((request) => request(axios, basePath));
|
|
5896
5924
|
},
|
|
5897
5925
|
/**
|
|
5898
5926
|
* 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.
|
|
@@ -5903,8 +5931,8 @@ const AnalyticsRulesApiFactory = function (configuration, basePath, axios) {
|
|
|
5903
5931
|
* @param {*} [options] Override http request option.
|
|
5904
5932
|
* @throws {RequiredError}
|
|
5905
5933
|
*/
|
|
5906
|
-
|
|
5907
|
-
return localVarFp.
|
|
5934
|
+
adminV1AnalyticsRulesRuleIdPut(authorization, ruleId, dataTypesUpdateAnalyticsRuleRequest, options) {
|
|
5935
|
+
return localVarFp.adminV1AnalyticsRulesRuleIdPut(authorization, ruleId, dataTypesUpdateAnalyticsRuleRequest, options).then((request) => request(axios, basePath));
|
|
5908
5936
|
},
|
|
5909
5937
|
/**
|
|
5910
5938
|
* 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.
|
|
@@ -5914,8 +5942,8 @@ const AnalyticsRulesApiFactory = function (configuration, basePath, axios) {
|
|
|
5914
5942
|
* @param {*} [options] Override http request option.
|
|
5915
5943
|
* @throws {RequiredError}
|
|
5916
5944
|
*/
|
|
5917
|
-
|
|
5918
|
-
return localVarFp.
|
|
5945
|
+
adminV1AnalyticsRulesSyncPost(authorization, dataTypesAnalyticsRuleSyncRequest, options) {
|
|
5946
|
+
return localVarFp.adminV1AnalyticsRulesSyncPost(authorization, dataTypesAnalyticsRuleSyncRequest, options).then((request) => request(axios, basePath));
|
|
5919
5947
|
},
|
|
5920
5948
|
/**
|
|
5921
5949
|
* 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.
|
|
@@ -5926,8 +5954,8 @@ const AnalyticsRulesApiFactory = function (configuration, basePath, axios) {
|
|
|
5926
5954
|
* @param {*} [options] Override http request option.
|
|
5927
5955
|
* @throws {RequiredError}
|
|
5928
5956
|
*/
|
|
5929
|
-
|
|
5930
|
-
return localVarFp.
|
|
5957
|
+
adminV1StoresXStoreIDAnalyticsRulesItemsItemIdGet(authorization, xStoreID, itemId, options) {
|
|
5958
|
+
return localVarFp.adminV1StoresXStoreIDAnalyticsRulesItemsItemIdGet(authorization, xStoreID, itemId, options).then((request) => request(axios, basePath));
|
|
5931
5959
|
},
|
|
5932
5960
|
/**
|
|
5933
5961
|
* 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).
|
|
@@ -5938,8 +5966,8 @@ const AnalyticsRulesApiFactory = function (configuration, basePath, axios) {
|
|
|
5938
5966
|
* @param {*} [options] Override http request option.
|
|
5939
5967
|
* @throws {RequiredError}
|
|
5940
5968
|
*/
|
|
5941
|
-
|
|
5942
|
-
return localVarFp.
|
|
5969
|
+
adminV1StoresXStoreIDAnalyticsRulesSearchItemsPost(authorization, xStoreID, dataTypesSearchRuleItemsRequest, options) {
|
|
5970
|
+
return localVarFp.adminV1StoresXStoreIDAnalyticsRulesSearchItemsPost(authorization, xStoreID, dataTypesSearchRuleItemsRequest, options).then((request) => request(axios, basePath));
|
|
5943
5971
|
},
|
|
5944
5972
|
/**
|
|
5945
5973
|
* Retrieve a paginated list of analytics rules with optional filtering by store, collection, and active status. Supports both page-based and offset-based pagination.
|
|
@@ -5959,8 +5987,8 @@ const AnalyticsRulesApiFactory = function (configuration, basePath, axios) {
|
|
|
5959
5987
|
* @param {*} [options] Override http request option.
|
|
5960
5988
|
* @throws {RequiredError}
|
|
5961
5989
|
*/
|
|
5962
|
-
|
|
5963
|
-
return localVarFp.
|
|
5990
|
+
adminV1StoresXstoreidAnalyticsRulesGet(authorization, xstoreid, storeId, collectionName, isActive, page, pageSize, limit, offset, sortBy, sortOrder, searchQuery, options) {
|
|
5991
|
+
return localVarFp.adminV1StoresXstoreidAnalyticsRulesGet(authorization, xstoreid, storeId, collectionName, isActive, page, pageSize, limit, offset, sortBy, sortOrder, searchQuery, options).then((request) => request(axios, basePath));
|
|
5964
5992
|
},
|
|
5965
5993
|
/**
|
|
5966
5994
|
* Create a new analytics rule for Typesense curation. Rules define how search results should be modified (promoted, hidden, filtered, sorted) based on query conditions.
|
|
@@ -5971,8 +5999,8 @@ const AnalyticsRulesApiFactory = function (configuration, basePath, axios) {
|
|
|
5971
5999
|
* @param {*} [options] Override http request option.
|
|
5972
6000
|
* @throws {RequiredError}
|
|
5973
6001
|
*/
|
|
5974
|
-
|
|
5975
|
-
return localVarFp.
|
|
6002
|
+
adminV1StoresXstoreidAnalyticsRulesPost(authorization, xstoreid, dataTypesCreateAnalyticsRuleRequest, options) {
|
|
6003
|
+
return localVarFp.adminV1StoresXstoreidAnalyticsRulesPost(authorization, xstoreid, dataTypesCreateAnalyticsRuleRequest, options).then((request) => request(axios, basePath));
|
|
5976
6004
|
},
|
|
5977
6005
|
/**
|
|
5978
6006
|
* Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
|
|
@@ -5983,8 +6011,8 @@ 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
|
+
adminV1StoresXstoreidAnalyticsRulesRuleIdDelete(authorization, xstoreid, ruleId, options) {
|
|
6015
|
+
return localVarFp.adminV1StoresXstoreidAnalyticsRulesRuleIdDelete(authorization, xstoreid, ruleId, options).then((request) => request(axios, basePath));
|
|
5988
6016
|
},
|
|
5989
6017
|
/**
|
|
5990
6018
|
* Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
|
|
@@ -5995,8 +6023,8 @@ 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
|
+
adminV1StoresXstoreidAnalyticsRulesRuleIdGet(authorization, xstoreid, ruleId, options) {
|
|
6027
|
+
return localVarFp.adminV1StoresXstoreidAnalyticsRulesRuleIdGet(authorization, xstoreid, ruleId, options).then((request) => request(axios, basePath));
|
|
6000
6028
|
},
|
|
6001
6029
|
/**
|
|
6002
6030
|
* 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.
|
|
@@ -6008,8 +6036,8 @@ const AnalyticsRulesApiFactory = function (configuration, basePath, axios) {
|
|
|
6008
6036
|
* @param {*} [options] Override http request option.
|
|
6009
6037
|
* @throws {RequiredError}
|
|
6010
6038
|
*/
|
|
6011
|
-
|
|
6012
|
-
return localVarFp.
|
|
6039
|
+
adminV1StoresXstoreidAnalyticsRulesRuleIdPut(authorization, xstoreid, ruleId, dataTypesUpdateAnalyticsRuleRequest, options) {
|
|
6040
|
+
return localVarFp.adminV1StoresXstoreidAnalyticsRulesRuleIdPut(authorization, xstoreid, ruleId, dataTypesUpdateAnalyticsRuleRequest, options).then((request) => request(axios, basePath));
|
|
6013
6041
|
},
|
|
6014
6042
|
/**
|
|
6015
6043
|
* 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.
|
|
@@ -6020,8 +6048,8 @@ const AnalyticsRulesApiFactory = function (configuration, basePath, axios) {
|
|
|
6020
6048
|
* @param {*} [options] Override http request option.
|
|
6021
6049
|
* @throws {RequiredError}
|
|
6022
6050
|
*/
|
|
6023
|
-
|
|
6024
|
-
return localVarFp.
|
|
6051
|
+
adminV1StoresXstoreidAnalyticsRulesSyncPost(authorization, xstoreid, dataTypesAnalyticsRuleSyncRequest, options) {
|
|
6052
|
+
return localVarFp.adminV1StoresXstoreidAnalyticsRulesSyncPost(authorization, xstoreid, dataTypesAnalyticsRuleSyncRequest, options).then((request) => request(axios, basePath));
|
|
6025
6053
|
},
|
|
6026
6054
|
};
|
|
6027
6055
|
};
|
|
@@ -6051,8 +6079,8 @@ class AnalyticsRulesApi extends base_1.BaseAPI {
|
|
|
6051
6079
|
* @throws {RequiredError}
|
|
6052
6080
|
* @memberof AnalyticsRulesApi
|
|
6053
6081
|
*/
|
|
6054
|
-
|
|
6055
|
-
return (0, exports.AnalyticsRulesApiFp)(this.configuration).
|
|
6082
|
+
adminV1AnalyticsRulesGet(authorization, storeId, collectionName, isActive, page, pageSize, limit, offset, sortBy, sortOrder, searchQuery, options) {
|
|
6083
|
+
return (0, exports.AnalyticsRulesApiFp)(this.configuration).adminV1AnalyticsRulesGet(authorization, storeId, collectionName, isActive, page, pageSize, limit, offset, sortBy, sortOrder, searchQuery, options).then((request) => request(this.axios, this.basePath));
|
|
6056
6084
|
}
|
|
6057
6085
|
/**
|
|
6058
6086
|
* Create a new analytics rule for Typesense curation. Rules define how search results should be modified (promoted, hidden, filtered, sorted) based on query conditions.
|
|
@@ -6063,8 +6091,8 @@ class AnalyticsRulesApi extends base_1.BaseAPI {
|
|
|
6063
6091
|
* @throws {RequiredError}
|
|
6064
6092
|
* @memberof AnalyticsRulesApi
|
|
6065
6093
|
*/
|
|
6066
|
-
|
|
6067
|
-
return (0, exports.AnalyticsRulesApiFp)(this.configuration).
|
|
6094
|
+
adminV1AnalyticsRulesPost(authorization, dataTypesCreateAnalyticsRuleRequest, options) {
|
|
6095
|
+
return (0, exports.AnalyticsRulesApiFp)(this.configuration).adminV1AnalyticsRulesPost(authorization, dataTypesCreateAnalyticsRuleRequest, options).then((request) => request(this.axios, this.basePath));
|
|
6068
6096
|
}
|
|
6069
6097
|
/**
|
|
6070
6098
|
* Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
|
|
@@ -6075,8 +6103,8 @@ class AnalyticsRulesApi extends base_1.BaseAPI {
|
|
|
6075
6103
|
* @throws {RequiredError}
|
|
6076
6104
|
* @memberof AnalyticsRulesApi
|
|
6077
6105
|
*/
|
|
6078
|
-
|
|
6079
|
-
return (0, exports.AnalyticsRulesApiFp)(this.configuration).
|
|
6106
|
+
adminV1AnalyticsRulesRuleIdDelete(authorization, ruleId, options) {
|
|
6107
|
+
return (0, exports.AnalyticsRulesApiFp)(this.configuration).adminV1AnalyticsRulesRuleIdDelete(authorization, ruleId, options).then((request) => request(this.axios, this.basePath));
|
|
6080
6108
|
}
|
|
6081
6109
|
/**
|
|
6082
6110
|
* Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
|
|
@@ -6087,8 +6115,8 @@ class AnalyticsRulesApi extends base_1.BaseAPI {
|
|
|
6087
6115
|
* @throws {RequiredError}
|
|
6088
6116
|
* @memberof AnalyticsRulesApi
|
|
6089
6117
|
*/
|
|
6090
|
-
|
|
6091
|
-
return (0, exports.AnalyticsRulesApiFp)(this.configuration).
|
|
6118
|
+
adminV1AnalyticsRulesRuleIdGet(authorization, ruleId, options) {
|
|
6119
|
+
return (0, exports.AnalyticsRulesApiFp)(this.configuration).adminV1AnalyticsRulesRuleIdGet(authorization, ruleId, options).then((request) => request(this.axios, this.basePath));
|
|
6092
6120
|
}
|
|
6093
6121
|
/**
|
|
6094
6122
|
* 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.
|
|
@@ -6100,8 +6128,8 @@ class AnalyticsRulesApi extends base_1.BaseAPI {
|
|
|
6100
6128
|
* @throws {RequiredError}
|
|
6101
6129
|
* @memberof AnalyticsRulesApi
|
|
6102
6130
|
*/
|
|
6103
|
-
|
|
6104
|
-
return (0, exports.AnalyticsRulesApiFp)(this.configuration).
|
|
6131
|
+
adminV1AnalyticsRulesRuleIdPut(authorization, ruleId, dataTypesUpdateAnalyticsRuleRequest, options) {
|
|
6132
|
+
return (0, exports.AnalyticsRulesApiFp)(this.configuration).adminV1AnalyticsRulesRuleIdPut(authorization, ruleId, dataTypesUpdateAnalyticsRuleRequest, options).then((request) => request(this.axios, this.basePath));
|
|
6105
6133
|
}
|
|
6106
6134
|
/**
|
|
6107
6135
|
* 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.
|
|
@@ -6112,8 +6140,8 @@ class AnalyticsRulesApi extends base_1.BaseAPI {
|
|
|
6112
6140
|
* @throws {RequiredError}
|
|
6113
6141
|
* @memberof AnalyticsRulesApi
|
|
6114
6142
|
*/
|
|
6115
|
-
|
|
6116
|
-
return (0, exports.AnalyticsRulesApiFp)(this.configuration).
|
|
6143
|
+
adminV1AnalyticsRulesSyncPost(authorization, dataTypesAnalyticsRuleSyncRequest, options) {
|
|
6144
|
+
return (0, exports.AnalyticsRulesApiFp)(this.configuration).adminV1AnalyticsRulesSyncPost(authorization, dataTypesAnalyticsRuleSyncRequest, options).then((request) => request(this.axios, this.basePath));
|
|
6117
6145
|
}
|
|
6118
6146
|
/**
|
|
6119
6147
|
* 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.
|
|
@@ -6125,8 +6153,8 @@ class AnalyticsRulesApi extends base_1.BaseAPI {
|
|
|
6125
6153
|
* @throws {RequiredError}
|
|
6126
6154
|
* @memberof AnalyticsRulesApi
|
|
6127
6155
|
*/
|
|
6128
|
-
|
|
6129
|
-
return (0, exports.AnalyticsRulesApiFp)(this.configuration).
|
|
6156
|
+
adminV1StoresXStoreIDAnalyticsRulesItemsItemIdGet(authorization, xStoreID, itemId, options) {
|
|
6157
|
+
return (0, exports.AnalyticsRulesApiFp)(this.configuration).adminV1StoresXStoreIDAnalyticsRulesItemsItemIdGet(authorization, xStoreID, itemId, options).then((request) => request(this.axios, this.basePath));
|
|
6130
6158
|
}
|
|
6131
6159
|
/**
|
|
6132
6160
|
* 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).
|
|
@@ -6138,8 +6166,8 @@ class AnalyticsRulesApi extends base_1.BaseAPI {
|
|
|
6138
6166
|
* @throws {RequiredError}
|
|
6139
6167
|
* @memberof AnalyticsRulesApi
|
|
6140
6168
|
*/
|
|
6141
|
-
|
|
6142
|
-
return (0, exports.AnalyticsRulesApiFp)(this.configuration).
|
|
6169
|
+
adminV1StoresXStoreIDAnalyticsRulesSearchItemsPost(authorization, xStoreID, dataTypesSearchRuleItemsRequest, options) {
|
|
6170
|
+
return (0, exports.AnalyticsRulesApiFp)(this.configuration).adminV1StoresXStoreIDAnalyticsRulesSearchItemsPost(authorization, xStoreID, dataTypesSearchRuleItemsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
6143
6171
|
}
|
|
6144
6172
|
/**
|
|
6145
6173
|
* Retrieve a paginated list of analytics rules with optional filtering by store, collection, and active status. Supports both page-based and offset-based pagination.
|
|
@@ -6160,8 +6188,8 @@ class AnalyticsRulesApi extends base_1.BaseAPI {
|
|
|
6160
6188
|
* @throws {RequiredError}
|
|
6161
6189
|
* @memberof AnalyticsRulesApi
|
|
6162
6190
|
*/
|
|
6163
|
-
|
|
6164
|
-
return (0, exports.AnalyticsRulesApiFp)(this.configuration).
|
|
6191
|
+
adminV1StoresXstoreidAnalyticsRulesGet(authorization, xstoreid, storeId, collectionName, isActive, page, pageSize, limit, offset, sortBy, sortOrder, searchQuery, options) {
|
|
6192
|
+
return (0, exports.AnalyticsRulesApiFp)(this.configuration).adminV1StoresXstoreidAnalyticsRulesGet(authorization, xstoreid, storeId, collectionName, isActive, page, pageSize, limit, offset, sortBy, sortOrder, searchQuery, options).then((request) => request(this.axios, this.basePath));
|
|
6165
6193
|
}
|
|
6166
6194
|
/**
|
|
6167
6195
|
* Create a new analytics rule for Typesense curation. Rules define how search results should be modified (promoted, hidden, filtered, sorted) based on query conditions.
|
|
@@ -6173,8 +6201,8 @@ class AnalyticsRulesApi extends base_1.BaseAPI {
|
|
|
6173
6201
|
* @throws {RequiredError}
|
|
6174
6202
|
* @memberof AnalyticsRulesApi
|
|
6175
6203
|
*/
|
|
6176
|
-
|
|
6177
|
-
return (0, exports.AnalyticsRulesApiFp)(this.configuration).
|
|
6204
|
+
adminV1StoresXstoreidAnalyticsRulesPost(authorization, xstoreid, dataTypesCreateAnalyticsRuleRequest, options) {
|
|
6205
|
+
return (0, exports.AnalyticsRulesApiFp)(this.configuration).adminV1StoresXstoreidAnalyticsRulesPost(authorization, xstoreid, dataTypesCreateAnalyticsRuleRequest, options).then((request) => request(this.axios, this.basePath));
|
|
6178
6206
|
}
|
|
6179
6207
|
/**
|
|
6180
6208
|
* Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
|
|
@@ -6186,8 +6214,8 @@ class AnalyticsRulesApi extends base_1.BaseAPI {
|
|
|
6186
6214
|
* @throws {RequiredError}
|
|
6187
6215
|
* @memberof AnalyticsRulesApi
|
|
6188
6216
|
*/
|
|
6189
|
-
|
|
6190
|
-
return (0, exports.AnalyticsRulesApiFp)(this.configuration).
|
|
6217
|
+
adminV1StoresXstoreidAnalyticsRulesRuleIdDelete(authorization, xstoreid, ruleId, options) {
|
|
6218
|
+
return (0, exports.AnalyticsRulesApiFp)(this.configuration).adminV1StoresXstoreidAnalyticsRulesRuleIdDelete(authorization, xstoreid, ruleId, options).then((request) => request(this.axios, this.basePath));
|
|
6191
6219
|
}
|
|
6192
6220
|
/**
|
|
6193
6221
|
* Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
|
|
@@ -6199,8 +6227,8 @@ class AnalyticsRulesApi extends base_1.BaseAPI {
|
|
|
6199
6227
|
* @throws {RequiredError}
|
|
6200
6228
|
* @memberof AnalyticsRulesApi
|
|
6201
6229
|
*/
|
|
6202
|
-
|
|
6203
|
-
return (0, exports.AnalyticsRulesApiFp)(this.configuration).
|
|
6230
|
+
adminV1StoresXstoreidAnalyticsRulesRuleIdGet(authorization, xstoreid, ruleId, options) {
|
|
6231
|
+
return (0, exports.AnalyticsRulesApiFp)(this.configuration).adminV1StoresXstoreidAnalyticsRulesRuleIdGet(authorization, xstoreid, ruleId, options).then((request) => request(this.axios, this.basePath));
|
|
6204
6232
|
}
|
|
6205
6233
|
/**
|
|
6206
6234
|
* 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.
|
|
@@ -6213,8 +6241,8 @@ class AnalyticsRulesApi extends base_1.BaseAPI {
|
|
|
6213
6241
|
* @throws {RequiredError}
|
|
6214
6242
|
* @memberof AnalyticsRulesApi
|
|
6215
6243
|
*/
|
|
6216
|
-
|
|
6217
|
-
return (0, exports.AnalyticsRulesApiFp)(this.configuration).
|
|
6244
|
+
adminV1StoresXstoreidAnalyticsRulesRuleIdPut(authorization, xstoreid, ruleId, dataTypesUpdateAnalyticsRuleRequest, options) {
|
|
6245
|
+
return (0, exports.AnalyticsRulesApiFp)(this.configuration).adminV1StoresXstoreidAnalyticsRulesRuleIdPut(authorization, xstoreid, ruleId, dataTypesUpdateAnalyticsRuleRequest, options).then((request) => request(this.axios, this.basePath));
|
|
6218
6246
|
}
|
|
6219
6247
|
/**
|
|
6220
6248
|
* 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.
|
|
@@ -6226,8 +6254,8 @@ class AnalyticsRulesApi extends base_1.BaseAPI {
|
|
|
6226
6254
|
* @throws {RequiredError}
|
|
6227
6255
|
* @memberof AnalyticsRulesApi
|
|
6228
6256
|
*/
|
|
6229
|
-
|
|
6230
|
-
return (0, exports.AnalyticsRulesApiFp)(this.configuration).
|
|
6257
|
+
adminV1StoresXstoreidAnalyticsRulesSyncPost(authorization, xstoreid, dataTypesAnalyticsRuleSyncRequest, options) {
|
|
6258
|
+
return (0, exports.AnalyticsRulesApiFp)(this.configuration).adminV1StoresXstoreidAnalyticsRulesSyncPost(authorization, xstoreid, dataTypesAnalyticsRuleSyncRequest, options).then((request) => request(this.axios, this.basePath));
|
|
6231
6259
|
}
|
|
6232
6260
|
}
|
|
6233
6261
|
exports.AnalyticsRulesApi = AnalyticsRulesApi;
|