@seekora-ai/admin-api 1.1.40 → 1.1.41
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 +4 -2
- package/api.ts +169 -0
- package/dist/api.d.ts +90 -0
- package/dist/api.js +161 -0
- package/dist/esm/api.d.ts +90 -0
- package/dist/esm/api.js +161 -0
- package/package.json +1 -1
- package/seekora-ai-admin-api-1.1.41.tgz +0 -0
- package/seekora-ai-admin-api-1.1.40.tgz +0 -0
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @seekora-ai/admin-api@1.1.
|
|
1
|
+
## @seekora-ai/admin-api@1.1.41
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @seekora-ai/admin-api@1.1.
|
|
39
|
+
npm install @seekora-ai/admin-api@1.1.41 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -111,6 +111,7 @@ Class | Method | HTTP request | Description
|
|
|
111
111
|
*AnalyticsEventsApi* | [**analyticsValidatePost**](docs/AnalyticsEventsApi.md#analyticsvalidatepost) | **POST** /analytics/validate | Validate Analytics Event
|
|
112
112
|
*AnalyticsRulesApi* | [**adminV1AnalyticsRulesGet**](docs/AnalyticsRulesApi.md#adminv1analyticsrulesget) | **GET** /admin/v1/analytics/rules | List Analytics Rules
|
|
113
113
|
*AnalyticsRulesApi* | [**adminV1AnalyticsRulesPost**](docs/AnalyticsRulesApi.md#adminv1analyticsrulespost) | **POST** /admin/v1/analytics/rules | Create Analytics Rule
|
|
114
|
+
*AnalyticsRulesApi* | [**adminV1AnalyticsRulesRuleIdDelete**](docs/AnalyticsRulesApi.md#adminv1analyticsrulesruleiddelete) | **DELETE** /admin/v1/analytics/rules/{ruleId} | Delete Analytics Rule
|
|
114
115
|
*AnalyticsRulesApi* | [**adminV1AnalyticsRulesRuleIdGet**](docs/AnalyticsRulesApi.md#adminv1analyticsrulesruleidget) | **GET** /admin/v1/analytics/rules/{ruleId} | Get Analytics Rule
|
|
115
116
|
*AnalyticsRulesApi* | [**adminV1AnalyticsRulesRuleIdPut**](docs/AnalyticsRulesApi.md#adminv1analyticsrulesruleidput) | **PUT** /admin/v1/analytics/rules/{ruleId} | Update Analytics Rule
|
|
116
117
|
*AnalyticsRulesApi* | [**adminV1AnalyticsRulesSyncPost**](docs/AnalyticsRulesApi.md#adminv1analyticsrulessyncpost) | **POST** /admin/v1/analytics/rules/sync | Sync Rules to Typesense
|
|
@@ -118,6 +119,7 @@ Class | Method | HTTP request | Description
|
|
|
118
119
|
*AnalyticsRulesApi* | [**adminV1StoresXStoreIDAnalyticsRulesSearchItemsPost**](docs/AnalyticsRulesApi.md#adminv1storesxstoreidanalyticsrulessearchitemspost) | **POST** /admin/v1/stores/{xStoreID}/analytics/rules/search-items | Search Items for Rule Management
|
|
119
120
|
*AnalyticsRulesApi* | [**adminV1StoresXstoreidAnalyticsRulesGet**](docs/AnalyticsRulesApi.md#adminv1storesxstoreidanalyticsrulesget) | **GET** /admin/v1/stores/{xstoreid}/analytics/rules | List Analytics Rules
|
|
120
121
|
*AnalyticsRulesApi* | [**adminV1StoresXstoreidAnalyticsRulesPost**](docs/AnalyticsRulesApi.md#adminv1storesxstoreidanalyticsrulespost) | **POST** /admin/v1/stores/{xstoreid}/analytics/rules | Create Analytics Rule
|
|
122
|
+
*AnalyticsRulesApi* | [**adminV1StoresXstoreidAnalyticsRulesRuleIdDelete**](docs/AnalyticsRulesApi.md#adminv1storesxstoreidanalyticsrulesruleiddelete) | **DELETE** /admin/v1/stores/{xstoreid}/analytics/rules/{ruleId} | Delete Analytics Rule
|
|
121
123
|
*AnalyticsRulesApi* | [**adminV1StoresXstoreidAnalyticsRulesRuleIdGet**](docs/AnalyticsRulesApi.md#adminv1storesxstoreidanalyticsrulesruleidget) | **GET** /admin/v1/stores/{xstoreid}/analytics/rules/{ruleId} | Get Analytics Rule
|
|
122
124
|
*AnalyticsRulesApi* | [**adminV1StoresXstoreidAnalyticsRulesRuleIdPut**](docs/AnalyticsRulesApi.md#adminv1storesxstoreidanalyticsrulesruleidput) | **PUT** /admin/v1/stores/{xstoreid}/analytics/rules/{ruleId} | Update Analytics Rule
|
|
123
125
|
*AnalyticsRulesApi* | [**adminV1StoresXstoreidAnalyticsRulesSyncPost**](docs/AnalyticsRulesApi.md#adminv1storesxstoreidanalyticsrulessyncpost) | **POST** /admin/v1/stores/{xstoreid}/analytics/rules/sync | Sync Rules to Typesense
|
package/api.ts
CHANGED
|
@@ -33045,6 +33045,49 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration?: Conf
|
|
|
33045
33045
|
options: localVarRequestOptions,
|
|
33046
33046
|
};
|
|
33047
33047
|
},
|
|
33048
|
+
/**
|
|
33049
|
+
* Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
|
|
33050
|
+
* @summary Delete Analytics Rule
|
|
33051
|
+
* @param {string} authorization Bearer JWT token
|
|
33052
|
+
* @param {string} ruleId Rule ID
|
|
33053
|
+
* @param {*} [options] Override http request option.
|
|
33054
|
+
* @throws {RequiredError}
|
|
33055
|
+
*/
|
|
33056
|
+
adminV1AnalyticsRulesRuleIdDelete: async (authorization: string, ruleId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33057
|
+
// verify required parameter 'authorization' is not null or undefined
|
|
33058
|
+
assertParamExists('adminV1AnalyticsRulesRuleIdDelete', 'authorization', authorization)
|
|
33059
|
+
// verify required parameter 'ruleId' is not null or undefined
|
|
33060
|
+
assertParamExists('adminV1AnalyticsRulesRuleIdDelete', 'ruleId', ruleId)
|
|
33061
|
+
const localVarPath = `/admin/v1/analytics/rules/{ruleId}`
|
|
33062
|
+
.replace(`{${"ruleId"}}`, encodeURIComponent(String(ruleId)));
|
|
33063
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33064
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
33065
|
+
let baseOptions;
|
|
33066
|
+
if (configuration) {
|
|
33067
|
+
baseOptions = configuration.baseOptions;
|
|
33068
|
+
}
|
|
33069
|
+
|
|
33070
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
33071
|
+
const localVarHeaderParameter = {} as any;
|
|
33072
|
+
const localVarQueryParameter = {} as any;
|
|
33073
|
+
|
|
33074
|
+
// authentication BearerAuth required
|
|
33075
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
33076
|
+
|
|
33077
|
+
|
|
33078
|
+
|
|
33079
|
+
if (authorization != null) {
|
|
33080
|
+
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
33081
|
+
}
|
|
33082
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
33083
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
33084
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
33085
|
+
|
|
33086
|
+
return {
|
|
33087
|
+
url: toPathString(localVarUrlObj),
|
|
33088
|
+
options: localVarRequestOptions,
|
|
33089
|
+
};
|
|
33090
|
+
},
|
|
33048
33091
|
/**
|
|
33049
33092
|
* Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
|
|
33050
33093
|
* @summary Get Analytics Rule
|
|
@@ -33420,6 +33463,53 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration?: Conf
|
|
|
33420
33463
|
options: localVarRequestOptions,
|
|
33421
33464
|
};
|
|
33422
33465
|
},
|
|
33466
|
+
/**
|
|
33467
|
+
* Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
|
|
33468
|
+
* @summary Delete Analytics Rule
|
|
33469
|
+
* @param {string} authorization Bearer JWT token
|
|
33470
|
+
* @param {string} xstoreid Store ID (for store-specific routes)
|
|
33471
|
+
* @param {string} ruleId Rule ID
|
|
33472
|
+
* @param {*} [options] Override http request option.
|
|
33473
|
+
* @throws {RequiredError}
|
|
33474
|
+
*/
|
|
33475
|
+
adminV1StoresXstoreidAnalyticsRulesRuleIdDelete: async (authorization: string, xstoreid: string, ruleId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33476
|
+
// verify required parameter 'authorization' is not null or undefined
|
|
33477
|
+
assertParamExists('adminV1StoresXstoreidAnalyticsRulesRuleIdDelete', 'authorization', authorization)
|
|
33478
|
+
// verify required parameter 'xstoreid' is not null or undefined
|
|
33479
|
+
assertParamExists('adminV1StoresXstoreidAnalyticsRulesRuleIdDelete', 'xstoreid', xstoreid)
|
|
33480
|
+
// verify required parameter 'ruleId' is not null or undefined
|
|
33481
|
+
assertParamExists('adminV1StoresXstoreidAnalyticsRulesRuleIdDelete', 'ruleId', ruleId)
|
|
33482
|
+
const localVarPath = `/admin/v1/stores/{xstoreid}/analytics/rules/{ruleId}`
|
|
33483
|
+
.replace(`{${"xstoreid"}}`, encodeURIComponent(String(xstoreid)))
|
|
33484
|
+
.replace(`{${"ruleId"}}`, encodeURIComponent(String(ruleId)));
|
|
33485
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
33486
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
33487
|
+
let baseOptions;
|
|
33488
|
+
if (configuration) {
|
|
33489
|
+
baseOptions = configuration.baseOptions;
|
|
33490
|
+
}
|
|
33491
|
+
|
|
33492
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
33493
|
+
const localVarHeaderParameter = {} as any;
|
|
33494
|
+
const localVarQueryParameter = {} as any;
|
|
33495
|
+
|
|
33496
|
+
// authentication BearerAuth required
|
|
33497
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
33498
|
+
|
|
33499
|
+
|
|
33500
|
+
|
|
33501
|
+
if (authorization != null) {
|
|
33502
|
+
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
33503
|
+
}
|
|
33504
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
33505
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
33506
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
33507
|
+
|
|
33508
|
+
return {
|
|
33509
|
+
url: toPathString(localVarUrlObj),
|
|
33510
|
+
options: localVarRequestOptions,
|
|
33511
|
+
};
|
|
33512
|
+
},
|
|
33423
33513
|
/**
|
|
33424
33514
|
* Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
|
|
33425
33515
|
* @summary Get Analytics Rule
|
|
@@ -33616,6 +33706,20 @@ export const AnalyticsRulesApiFp = function(configuration?: Configuration) {
|
|
|
33616
33706
|
const localVarOperationServerBasePath = operationServerMap['AnalyticsRulesApi.adminV1AnalyticsRulesPost']?.[localVarOperationServerIndex]?.url;
|
|
33617
33707
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
33618
33708
|
},
|
|
33709
|
+
/**
|
|
33710
|
+
* Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
|
|
33711
|
+
* @summary Delete Analytics Rule
|
|
33712
|
+
* @param {string} authorization Bearer JWT token
|
|
33713
|
+
* @param {string} ruleId Rule ID
|
|
33714
|
+
* @param {*} [options] Override http request option.
|
|
33715
|
+
* @throws {RequiredError}
|
|
33716
|
+
*/
|
|
33717
|
+
async adminV1AnalyticsRulesRuleIdDelete(authorization: string, ruleId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{ [key: string]: any; }>> {
|
|
33718
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.adminV1AnalyticsRulesRuleIdDelete(authorization, ruleId, options);
|
|
33719
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
33720
|
+
const localVarOperationServerBasePath = operationServerMap['AnalyticsRulesApi.adminV1AnalyticsRulesRuleIdDelete']?.[localVarOperationServerIndex]?.url;
|
|
33721
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
33722
|
+
},
|
|
33619
33723
|
/**
|
|
33620
33724
|
* Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
|
|
33621
33725
|
* @summary Get Analytics Rule
|
|
@@ -33728,6 +33832,21 @@ export const AnalyticsRulesApiFp = function(configuration?: Configuration) {
|
|
|
33728
33832
|
const localVarOperationServerBasePath = operationServerMap['AnalyticsRulesApi.adminV1StoresXstoreidAnalyticsRulesPost']?.[localVarOperationServerIndex]?.url;
|
|
33729
33833
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
33730
33834
|
},
|
|
33835
|
+
/**
|
|
33836
|
+
* Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
|
|
33837
|
+
* @summary Delete Analytics Rule
|
|
33838
|
+
* @param {string} authorization Bearer JWT token
|
|
33839
|
+
* @param {string} xstoreid Store ID (for store-specific routes)
|
|
33840
|
+
* @param {string} ruleId Rule ID
|
|
33841
|
+
* @param {*} [options] Override http request option.
|
|
33842
|
+
* @throws {RequiredError}
|
|
33843
|
+
*/
|
|
33844
|
+
async adminV1StoresXstoreidAnalyticsRulesRuleIdDelete(authorization: string, xstoreid: string, ruleId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{ [key: string]: any; }>> {
|
|
33845
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.adminV1StoresXstoreidAnalyticsRulesRuleIdDelete(authorization, xstoreid, ruleId, options);
|
|
33846
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
33847
|
+
const localVarOperationServerBasePath = operationServerMap['AnalyticsRulesApi.adminV1StoresXstoreidAnalyticsRulesRuleIdDelete']?.[localVarOperationServerIndex]?.url;
|
|
33848
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
33849
|
+
},
|
|
33731
33850
|
/**
|
|
33732
33851
|
* Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
|
|
33733
33852
|
* @summary Get Analytics Rule
|
|
@@ -33815,6 +33934,17 @@ export const AnalyticsRulesApiFactory = function (configuration?: Configuration,
|
|
|
33815
33934
|
adminV1AnalyticsRulesPost(authorization: string, dataTypesCreateAnalyticsRuleRequest: DataTypesCreateAnalyticsRuleRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesAnalyticsRuleResponse> {
|
|
33816
33935
|
return localVarFp.adminV1AnalyticsRulesPost(authorization, dataTypesCreateAnalyticsRuleRequest, options).then((request) => request(axios, basePath));
|
|
33817
33936
|
},
|
|
33937
|
+
/**
|
|
33938
|
+
* Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
|
|
33939
|
+
* @summary Delete Analytics Rule
|
|
33940
|
+
* @param {string} authorization Bearer JWT token
|
|
33941
|
+
* @param {string} ruleId Rule ID
|
|
33942
|
+
* @param {*} [options] Override http request option.
|
|
33943
|
+
* @throws {RequiredError}
|
|
33944
|
+
*/
|
|
33945
|
+
adminV1AnalyticsRulesRuleIdDelete(authorization: string, ruleId: string, options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: any; }> {
|
|
33946
|
+
return localVarFp.adminV1AnalyticsRulesRuleIdDelete(authorization, ruleId, options).then((request) => request(axios, basePath));
|
|
33947
|
+
},
|
|
33818
33948
|
/**
|
|
33819
33949
|
* Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
|
|
33820
33950
|
* @summary Get Analytics Rule
|
|
@@ -33906,6 +34036,18 @@ export const AnalyticsRulesApiFactory = function (configuration?: Configuration,
|
|
|
33906
34036
|
adminV1StoresXstoreidAnalyticsRulesPost(authorization: string, xstoreid: string, dataTypesCreateAnalyticsRuleRequest: DataTypesCreateAnalyticsRuleRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesAnalyticsRuleResponse> {
|
|
33907
34037
|
return localVarFp.adminV1StoresXstoreidAnalyticsRulesPost(authorization, xstoreid, dataTypesCreateAnalyticsRuleRequest, options).then((request) => request(axios, basePath));
|
|
33908
34038
|
},
|
|
34039
|
+
/**
|
|
34040
|
+
* Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
|
|
34041
|
+
* @summary Delete Analytics Rule
|
|
34042
|
+
* @param {string} authorization Bearer JWT token
|
|
34043
|
+
* @param {string} xstoreid Store ID (for store-specific routes)
|
|
34044
|
+
* @param {string} ruleId Rule ID
|
|
34045
|
+
* @param {*} [options] Override http request option.
|
|
34046
|
+
* @throws {RequiredError}
|
|
34047
|
+
*/
|
|
34048
|
+
adminV1StoresXstoreidAnalyticsRulesRuleIdDelete(authorization: string, xstoreid: string, ruleId: string, options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: any; }> {
|
|
34049
|
+
return localVarFp.adminV1StoresXstoreidAnalyticsRulesRuleIdDelete(authorization, xstoreid, ruleId, options).then((request) => request(axios, basePath));
|
|
34050
|
+
},
|
|
33909
34051
|
/**
|
|
33910
34052
|
* Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
|
|
33911
34053
|
* @summary Get Analytics Rule
|
|
@@ -33988,6 +34130,19 @@ export class AnalyticsRulesApi extends BaseAPI {
|
|
|
33988
34130
|
return AnalyticsRulesApiFp(this.configuration).adminV1AnalyticsRulesPost(authorization, dataTypesCreateAnalyticsRuleRequest, options).then((request) => request(this.axios, this.basePath));
|
|
33989
34131
|
}
|
|
33990
34132
|
|
|
34133
|
+
/**
|
|
34134
|
+
* Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
|
|
34135
|
+
* @summary Delete Analytics Rule
|
|
34136
|
+
* @param {string} authorization Bearer JWT token
|
|
34137
|
+
* @param {string} ruleId Rule ID
|
|
34138
|
+
* @param {*} [options] Override http request option.
|
|
34139
|
+
* @throws {RequiredError}
|
|
34140
|
+
* @memberof AnalyticsRulesApi
|
|
34141
|
+
*/
|
|
34142
|
+
public adminV1AnalyticsRulesRuleIdDelete(authorization: string, ruleId: string, options?: RawAxiosRequestConfig) {
|
|
34143
|
+
return AnalyticsRulesApiFp(this.configuration).adminV1AnalyticsRulesRuleIdDelete(authorization, ruleId, options).then((request) => request(this.axios, this.basePath));
|
|
34144
|
+
}
|
|
34145
|
+
|
|
33991
34146
|
/**
|
|
33992
34147
|
* Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
|
|
33993
34148
|
* @summary Get Analytics Rule
|
|
@@ -34093,6 +34248,20 @@ export class AnalyticsRulesApi extends BaseAPI {
|
|
|
34093
34248
|
return AnalyticsRulesApiFp(this.configuration).adminV1StoresXstoreidAnalyticsRulesPost(authorization, xstoreid, dataTypesCreateAnalyticsRuleRequest, options).then((request) => request(this.axios, this.basePath));
|
|
34094
34249
|
}
|
|
34095
34250
|
|
|
34251
|
+
/**
|
|
34252
|
+
* Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
|
|
34253
|
+
* @summary Delete Analytics Rule
|
|
34254
|
+
* @param {string} authorization Bearer JWT token
|
|
34255
|
+
* @param {string} xstoreid Store ID (for store-specific routes)
|
|
34256
|
+
* @param {string} ruleId Rule ID
|
|
34257
|
+
* @param {*} [options] Override http request option.
|
|
34258
|
+
* @throws {RequiredError}
|
|
34259
|
+
* @memberof AnalyticsRulesApi
|
|
34260
|
+
*/
|
|
34261
|
+
public adminV1StoresXstoreidAnalyticsRulesRuleIdDelete(authorization: string, xstoreid: string, ruleId: string, options?: RawAxiosRequestConfig) {
|
|
34262
|
+
return AnalyticsRulesApiFp(this.configuration).adminV1StoresXstoreidAnalyticsRulesRuleIdDelete(authorization, xstoreid, ruleId, options).then((request) => request(this.axios, this.basePath));
|
|
34263
|
+
}
|
|
34264
|
+
|
|
34096
34265
|
/**
|
|
34097
34266
|
* Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
|
|
34098
34267
|
* @summary Get Analytics Rule
|
package/dist/api.d.ts
CHANGED
|
@@ -29430,6 +29430,15 @@ export declare const AnalyticsRulesApiAxiosParamCreator: (configuration?: Config
|
|
|
29430
29430
|
* @throws {RequiredError}
|
|
29431
29431
|
*/
|
|
29432
29432
|
adminV1AnalyticsRulesPost: (authorization: string, dataTypesCreateAnalyticsRuleRequest: DataTypesCreateAnalyticsRuleRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
29433
|
+
/**
|
|
29434
|
+
* Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
|
|
29435
|
+
* @summary Delete Analytics Rule
|
|
29436
|
+
* @param {string} authorization Bearer JWT token
|
|
29437
|
+
* @param {string} ruleId Rule ID
|
|
29438
|
+
* @param {*} [options] Override http request option.
|
|
29439
|
+
* @throws {RequiredError}
|
|
29440
|
+
*/
|
|
29441
|
+
adminV1AnalyticsRulesRuleIdDelete: (authorization: string, ruleId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
29433
29442
|
/**
|
|
29434
29443
|
* Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
|
|
29435
29444
|
* @summary Get Analytics Rule
|
|
@@ -29507,6 +29516,16 @@ export declare const AnalyticsRulesApiAxiosParamCreator: (configuration?: Config
|
|
|
29507
29516
|
* @throws {RequiredError}
|
|
29508
29517
|
*/
|
|
29509
29518
|
adminV1StoresXstoreidAnalyticsRulesPost: (authorization: string, xstoreid: string, dataTypesCreateAnalyticsRuleRequest: DataTypesCreateAnalyticsRuleRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
29519
|
+
/**
|
|
29520
|
+
* Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
|
|
29521
|
+
* @summary Delete Analytics Rule
|
|
29522
|
+
* @param {string} authorization Bearer JWT token
|
|
29523
|
+
* @param {string} xstoreid Store ID (for store-specific routes)
|
|
29524
|
+
* @param {string} ruleId Rule ID
|
|
29525
|
+
* @param {*} [options] Override http request option.
|
|
29526
|
+
* @throws {RequiredError}
|
|
29527
|
+
*/
|
|
29528
|
+
adminV1StoresXstoreidAnalyticsRulesRuleIdDelete: (authorization: string, xstoreid: string, ruleId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
29510
29529
|
/**
|
|
29511
29530
|
* Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
|
|
29512
29531
|
* @summary Get Analytics Rule
|
|
@@ -29571,6 +29590,17 @@ export declare const AnalyticsRulesApiFp: (configuration?: Configuration) => {
|
|
|
29571
29590
|
* @throws {RequiredError}
|
|
29572
29591
|
*/
|
|
29573
29592
|
adminV1AnalyticsRulesPost(authorization: string, dataTypesCreateAnalyticsRuleRequest: DataTypesCreateAnalyticsRuleRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesAnalyticsRuleResponse>>;
|
|
29593
|
+
/**
|
|
29594
|
+
* Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
|
|
29595
|
+
* @summary Delete Analytics Rule
|
|
29596
|
+
* @param {string} authorization Bearer JWT token
|
|
29597
|
+
* @param {string} ruleId Rule ID
|
|
29598
|
+
* @param {*} [options] Override http request option.
|
|
29599
|
+
* @throws {RequiredError}
|
|
29600
|
+
*/
|
|
29601
|
+
adminV1AnalyticsRulesRuleIdDelete(authorization: string, ruleId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
|
|
29602
|
+
[key: string]: any;
|
|
29603
|
+
}>>;
|
|
29574
29604
|
/**
|
|
29575
29605
|
* Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
|
|
29576
29606
|
* @summary Get Analytics Rule
|
|
@@ -29648,6 +29678,18 @@ export declare const AnalyticsRulesApiFp: (configuration?: Configuration) => {
|
|
|
29648
29678
|
* @throws {RequiredError}
|
|
29649
29679
|
*/
|
|
29650
29680
|
adminV1StoresXstoreidAnalyticsRulesPost(authorization: string, xstoreid: string, dataTypesCreateAnalyticsRuleRequest: DataTypesCreateAnalyticsRuleRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesAnalyticsRuleResponse>>;
|
|
29681
|
+
/**
|
|
29682
|
+
* Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
|
|
29683
|
+
* @summary Delete Analytics Rule
|
|
29684
|
+
* @param {string} authorization Bearer JWT token
|
|
29685
|
+
* @param {string} xstoreid Store ID (for store-specific routes)
|
|
29686
|
+
* @param {string} ruleId Rule ID
|
|
29687
|
+
* @param {*} [options] Override http request option.
|
|
29688
|
+
* @throws {RequiredError}
|
|
29689
|
+
*/
|
|
29690
|
+
adminV1StoresXstoreidAnalyticsRulesRuleIdDelete(authorization: string, xstoreid: string, ruleId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
|
|
29691
|
+
[key: string]: any;
|
|
29692
|
+
}>>;
|
|
29651
29693
|
/**
|
|
29652
29694
|
* Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
|
|
29653
29695
|
* @summary Get Analytics Rule
|
|
@@ -29712,6 +29754,17 @@ export declare const AnalyticsRulesApiFactory: (configuration?: Configuration, b
|
|
|
29712
29754
|
* @throws {RequiredError}
|
|
29713
29755
|
*/
|
|
29714
29756
|
adminV1AnalyticsRulesPost(authorization: string, dataTypesCreateAnalyticsRuleRequest: DataTypesCreateAnalyticsRuleRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesAnalyticsRuleResponse>;
|
|
29757
|
+
/**
|
|
29758
|
+
* Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
|
|
29759
|
+
* @summary Delete Analytics Rule
|
|
29760
|
+
* @param {string} authorization Bearer JWT token
|
|
29761
|
+
* @param {string} ruleId Rule ID
|
|
29762
|
+
* @param {*} [options] Override http request option.
|
|
29763
|
+
* @throws {RequiredError}
|
|
29764
|
+
*/
|
|
29765
|
+
adminV1AnalyticsRulesRuleIdDelete(authorization: string, ruleId: string, options?: RawAxiosRequestConfig): AxiosPromise<{
|
|
29766
|
+
[key: string]: any;
|
|
29767
|
+
}>;
|
|
29715
29768
|
/**
|
|
29716
29769
|
* Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
|
|
29717
29770
|
* @summary Get Analytics Rule
|
|
@@ -29789,6 +29842,18 @@ export declare const AnalyticsRulesApiFactory: (configuration?: Configuration, b
|
|
|
29789
29842
|
* @throws {RequiredError}
|
|
29790
29843
|
*/
|
|
29791
29844
|
adminV1StoresXstoreidAnalyticsRulesPost(authorization: string, xstoreid: string, dataTypesCreateAnalyticsRuleRequest: DataTypesCreateAnalyticsRuleRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesAnalyticsRuleResponse>;
|
|
29845
|
+
/**
|
|
29846
|
+
* Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
|
|
29847
|
+
* @summary Delete Analytics Rule
|
|
29848
|
+
* @param {string} authorization Bearer JWT token
|
|
29849
|
+
* @param {string} xstoreid Store ID (for store-specific routes)
|
|
29850
|
+
* @param {string} ruleId Rule ID
|
|
29851
|
+
* @param {*} [options] Override http request option.
|
|
29852
|
+
* @throws {RequiredError}
|
|
29853
|
+
*/
|
|
29854
|
+
adminV1StoresXstoreidAnalyticsRulesRuleIdDelete(authorization: string, xstoreid: string, ruleId: string, options?: RawAxiosRequestConfig): AxiosPromise<{
|
|
29855
|
+
[key: string]: any;
|
|
29856
|
+
}>;
|
|
29792
29857
|
/**
|
|
29793
29858
|
* Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
|
|
29794
29859
|
* @summary Get Analytics Rule
|
|
@@ -29857,6 +29922,18 @@ export declare class AnalyticsRulesApi extends BaseAPI {
|
|
|
29857
29922
|
* @memberof AnalyticsRulesApi
|
|
29858
29923
|
*/
|
|
29859
29924
|
adminV1AnalyticsRulesPost(authorization: string, dataTypesCreateAnalyticsRuleRequest: DataTypesCreateAnalyticsRuleRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesAnalyticsRuleResponse, any, {}>>;
|
|
29925
|
+
/**
|
|
29926
|
+
* Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
|
|
29927
|
+
* @summary Delete Analytics Rule
|
|
29928
|
+
* @param {string} authorization Bearer JWT token
|
|
29929
|
+
* @param {string} ruleId Rule ID
|
|
29930
|
+
* @param {*} [options] Override http request option.
|
|
29931
|
+
* @throws {RequiredError}
|
|
29932
|
+
* @memberof AnalyticsRulesApi
|
|
29933
|
+
*/
|
|
29934
|
+
adminV1AnalyticsRulesRuleIdDelete(authorization: string, ruleId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
|
|
29935
|
+
[key: string]: any;
|
|
29936
|
+
}, any, {}>>;
|
|
29860
29937
|
/**
|
|
29861
29938
|
* Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
|
|
29862
29939
|
* @summary Get Analytics Rule
|
|
@@ -29941,6 +30018,19 @@ export declare class AnalyticsRulesApi extends BaseAPI {
|
|
|
29941
30018
|
* @memberof AnalyticsRulesApi
|
|
29942
30019
|
*/
|
|
29943
30020
|
adminV1StoresXstoreidAnalyticsRulesPost(authorization: string, xstoreid: string, dataTypesCreateAnalyticsRuleRequest: DataTypesCreateAnalyticsRuleRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesAnalyticsRuleResponse, any, {}>>;
|
|
30021
|
+
/**
|
|
30022
|
+
* Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
|
|
30023
|
+
* @summary Delete Analytics Rule
|
|
30024
|
+
* @param {string} authorization Bearer JWT token
|
|
30025
|
+
* @param {string} xstoreid Store ID (for store-specific routes)
|
|
30026
|
+
* @param {string} ruleId Rule ID
|
|
30027
|
+
* @param {*} [options] Override http request option.
|
|
30028
|
+
* @throws {RequiredError}
|
|
30029
|
+
* @memberof AnalyticsRulesApi
|
|
30030
|
+
*/
|
|
30031
|
+
adminV1StoresXstoreidAnalyticsRulesRuleIdDelete(authorization: string, xstoreid: string, ruleId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
|
|
30032
|
+
[key: string]: any;
|
|
30033
|
+
}, any, {}>>;
|
|
29944
30034
|
/**
|
|
29945
30035
|
* Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
|
|
29946
30036
|
* @summary Get Analytics Rule
|
package/dist/api.js
CHANGED
|
@@ -7024,6 +7024,43 @@ const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
7024
7024
|
options: localVarRequestOptions,
|
|
7025
7025
|
};
|
|
7026
7026
|
}),
|
|
7027
|
+
/**
|
|
7028
|
+
* Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
|
|
7029
|
+
* @summary Delete Analytics Rule
|
|
7030
|
+
* @param {string} authorization Bearer JWT token
|
|
7031
|
+
* @param {string} ruleId Rule ID
|
|
7032
|
+
* @param {*} [options] Override http request option.
|
|
7033
|
+
* @throws {RequiredError}
|
|
7034
|
+
*/
|
|
7035
|
+
adminV1AnalyticsRulesRuleIdDelete: (authorization_1, ruleId_1, ...args_1) => __awaiter(this, [authorization_1, ruleId_1, ...args_1], void 0, function* (authorization, ruleId, options = {}) {
|
|
7036
|
+
// verify required parameter 'authorization' is not null or undefined
|
|
7037
|
+
(0, common_1.assertParamExists)('adminV1AnalyticsRulesRuleIdDelete', 'authorization', authorization);
|
|
7038
|
+
// verify required parameter 'ruleId' is not null or undefined
|
|
7039
|
+
(0, common_1.assertParamExists)('adminV1AnalyticsRulesRuleIdDelete', 'ruleId', ruleId);
|
|
7040
|
+
const localVarPath = `/admin/v1/analytics/rules/{ruleId}`
|
|
7041
|
+
.replace(`{${"ruleId"}}`, encodeURIComponent(String(ruleId)));
|
|
7042
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7043
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7044
|
+
let baseOptions;
|
|
7045
|
+
if (configuration) {
|
|
7046
|
+
baseOptions = configuration.baseOptions;
|
|
7047
|
+
}
|
|
7048
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
7049
|
+
const localVarHeaderParameter = {};
|
|
7050
|
+
const localVarQueryParameter = {};
|
|
7051
|
+
// authentication BearerAuth required
|
|
7052
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
7053
|
+
if (authorization != null) {
|
|
7054
|
+
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
7055
|
+
}
|
|
7056
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7057
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7058
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7059
|
+
return {
|
|
7060
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7061
|
+
options: localVarRequestOptions,
|
|
7062
|
+
};
|
|
7063
|
+
}),
|
|
7027
7064
|
/**
|
|
7028
7065
|
* Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
|
|
7029
7066
|
* @summary Get Analytics Rule
|
|
@@ -7343,6 +7380,47 @@ const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
7343
7380
|
options: localVarRequestOptions,
|
|
7344
7381
|
};
|
|
7345
7382
|
}),
|
|
7383
|
+
/**
|
|
7384
|
+
* Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
|
|
7385
|
+
* @summary Delete Analytics Rule
|
|
7386
|
+
* @param {string} authorization Bearer JWT token
|
|
7387
|
+
* @param {string} xstoreid Store ID (for store-specific routes)
|
|
7388
|
+
* @param {string} ruleId Rule ID
|
|
7389
|
+
* @param {*} [options] Override http request option.
|
|
7390
|
+
* @throws {RequiredError}
|
|
7391
|
+
*/
|
|
7392
|
+
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 = {}) {
|
|
7393
|
+
// verify required parameter 'authorization' is not null or undefined
|
|
7394
|
+
(0, common_1.assertParamExists)('adminV1StoresXstoreidAnalyticsRulesRuleIdDelete', 'authorization', authorization);
|
|
7395
|
+
// verify required parameter 'xstoreid' is not null or undefined
|
|
7396
|
+
(0, common_1.assertParamExists)('adminV1StoresXstoreidAnalyticsRulesRuleIdDelete', 'xstoreid', xstoreid);
|
|
7397
|
+
// verify required parameter 'ruleId' is not null or undefined
|
|
7398
|
+
(0, common_1.assertParamExists)('adminV1StoresXstoreidAnalyticsRulesRuleIdDelete', 'ruleId', ruleId);
|
|
7399
|
+
const localVarPath = `/admin/v1/stores/{xstoreid}/analytics/rules/{ruleId}`
|
|
7400
|
+
.replace(`{${"xstoreid"}}`, encodeURIComponent(String(xstoreid)))
|
|
7401
|
+
.replace(`{${"ruleId"}}`, encodeURIComponent(String(ruleId)));
|
|
7402
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7403
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7404
|
+
let baseOptions;
|
|
7405
|
+
if (configuration) {
|
|
7406
|
+
baseOptions = configuration.baseOptions;
|
|
7407
|
+
}
|
|
7408
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
7409
|
+
const localVarHeaderParameter = {};
|
|
7410
|
+
const localVarQueryParameter = {};
|
|
7411
|
+
// authentication BearerAuth required
|
|
7412
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
7413
|
+
if (authorization != null) {
|
|
7414
|
+
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
7415
|
+
}
|
|
7416
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7417
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7418
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7419
|
+
return {
|
|
7420
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7421
|
+
options: localVarRequestOptions,
|
|
7422
|
+
};
|
|
7423
|
+
}),
|
|
7346
7424
|
/**
|
|
7347
7425
|
* Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
|
|
7348
7426
|
* @summary Get Analytics Rule
|
|
@@ -7525,6 +7603,23 @@ const AnalyticsRulesApiFp = function (configuration) {
|
|
|
7525
7603
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7526
7604
|
});
|
|
7527
7605
|
},
|
|
7606
|
+
/**
|
|
7607
|
+
* Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
|
|
7608
|
+
* @summary Delete Analytics Rule
|
|
7609
|
+
* @param {string} authorization Bearer JWT token
|
|
7610
|
+
* @param {string} ruleId Rule ID
|
|
7611
|
+
* @param {*} [options] Override http request option.
|
|
7612
|
+
* @throws {RequiredError}
|
|
7613
|
+
*/
|
|
7614
|
+
adminV1AnalyticsRulesRuleIdDelete(authorization, ruleId, options) {
|
|
7615
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7616
|
+
var _a, _b, _c;
|
|
7617
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1AnalyticsRulesRuleIdDelete(authorization, ruleId, options);
|
|
7618
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
7619
|
+
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;
|
|
7620
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7621
|
+
});
|
|
7622
|
+
},
|
|
7528
7623
|
/**
|
|
7529
7624
|
* Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
|
|
7530
7625
|
* @summary Get Analytics Rule
|
|
@@ -7658,6 +7753,24 @@ const AnalyticsRulesApiFp = function (configuration) {
|
|
|
7658
7753
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7659
7754
|
});
|
|
7660
7755
|
},
|
|
7756
|
+
/**
|
|
7757
|
+
* Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
|
|
7758
|
+
* @summary Delete Analytics Rule
|
|
7759
|
+
* @param {string} authorization Bearer JWT token
|
|
7760
|
+
* @param {string} xstoreid Store ID (for store-specific routes)
|
|
7761
|
+
* @param {string} ruleId Rule ID
|
|
7762
|
+
* @param {*} [options] Override http request option.
|
|
7763
|
+
* @throws {RequiredError}
|
|
7764
|
+
*/
|
|
7765
|
+
adminV1StoresXstoreidAnalyticsRulesRuleIdDelete(authorization, xstoreid, ruleId, options) {
|
|
7766
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7767
|
+
var _a, _b, _c;
|
|
7768
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1StoresXstoreidAnalyticsRulesRuleIdDelete(authorization, xstoreid, ruleId, options);
|
|
7769
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
7770
|
+
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;
|
|
7771
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7772
|
+
});
|
|
7773
|
+
},
|
|
7661
7774
|
/**
|
|
7662
7775
|
* Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
|
|
7663
7776
|
* @summary Get Analytics Rule
|
|
@@ -7754,6 +7867,17 @@ const AnalyticsRulesApiFactory = function (configuration, basePath, axios) {
|
|
|
7754
7867
|
adminV1AnalyticsRulesPost(authorization, dataTypesCreateAnalyticsRuleRequest, options) {
|
|
7755
7868
|
return localVarFp.adminV1AnalyticsRulesPost(authorization, dataTypesCreateAnalyticsRuleRequest, options).then((request) => request(axios, basePath));
|
|
7756
7869
|
},
|
|
7870
|
+
/**
|
|
7871
|
+
* Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
|
|
7872
|
+
* @summary Delete Analytics Rule
|
|
7873
|
+
* @param {string} authorization Bearer JWT token
|
|
7874
|
+
* @param {string} ruleId Rule ID
|
|
7875
|
+
* @param {*} [options] Override http request option.
|
|
7876
|
+
* @throws {RequiredError}
|
|
7877
|
+
*/
|
|
7878
|
+
adminV1AnalyticsRulesRuleIdDelete(authorization, ruleId, options) {
|
|
7879
|
+
return localVarFp.adminV1AnalyticsRulesRuleIdDelete(authorization, ruleId, options).then((request) => request(axios, basePath));
|
|
7880
|
+
},
|
|
7757
7881
|
/**
|
|
7758
7882
|
* Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
|
|
7759
7883
|
* @summary Get Analytics Rule
|
|
@@ -7845,6 +7969,18 @@ const AnalyticsRulesApiFactory = function (configuration, basePath, axios) {
|
|
|
7845
7969
|
adminV1StoresXstoreidAnalyticsRulesPost(authorization, xstoreid, dataTypesCreateAnalyticsRuleRequest, options) {
|
|
7846
7970
|
return localVarFp.adminV1StoresXstoreidAnalyticsRulesPost(authorization, xstoreid, dataTypesCreateAnalyticsRuleRequest, options).then((request) => request(axios, basePath));
|
|
7847
7971
|
},
|
|
7972
|
+
/**
|
|
7973
|
+
* Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
|
|
7974
|
+
* @summary Delete Analytics Rule
|
|
7975
|
+
* @param {string} authorization Bearer JWT token
|
|
7976
|
+
* @param {string} xstoreid Store ID (for store-specific routes)
|
|
7977
|
+
* @param {string} ruleId Rule ID
|
|
7978
|
+
* @param {*} [options] Override http request option.
|
|
7979
|
+
* @throws {RequiredError}
|
|
7980
|
+
*/
|
|
7981
|
+
adminV1StoresXstoreidAnalyticsRulesRuleIdDelete(authorization, xstoreid, ruleId, options) {
|
|
7982
|
+
return localVarFp.adminV1StoresXstoreidAnalyticsRulesRuleIdDelete(authorization, xstoreid, ruleId, options).then((request) => request(axios, basePath));
|
|
7983
|
+
},
|
|
7848
7984
|
/**
|
|
7849
7985
|
* Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
|
|
7850
7986
|
* @summary Get Analytics Rule
|
|
@@ -7925,6 +8061,18 @@ class AnalyticsRulesApi extends base_1.BaseAPI {
|
|
|
7925
8061
|
adminV1AnalyticsRulesPost(authorization, dataTypesCreateAnalyticsRuleRequest, options) {
|
|
7926
8062
|
return (0, exports.AnalyticsRulesApiFp)(this.configuration).adminV1AnalyticsRulesPost(authorization, dataTypesCreateAnalyticsRuleRequest, options).then((request) => request(this.axios, this.basePath));
|
|
7927
8063
|
}
|
|
8064
|
+
/**
|
|
8065
|
+
* Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
|
|
8066
|
+
* @summary Delete Analytics Rule
|
|
8067
|
+
* @param {string} authorization Bearer JWT token
|
|
8068
|
+
* @param {string} ruleId Rule ID
|
|
8069
|
+
* @param {*} [options] Override http request option.
|
|
8070
|
+
* @throws {RequiredError}
|
|
8071
|
+
* @memberof AnalyticsRulesApi
|
|
8072
|
+
*/
|
|
8073
|
+
adminV1AnalyticsRulesRuleIdDelete(authorization, ruleId, options) {
|
|
8074
|
+
return (0, exports.AnalyticsRulesApiFp)(this.configuration).adminV1AnalyticsRulesRuleIdDelete(authorization, ruleId, options).then((request) => request(this.axios, this.basePath));
|
|
8075
|
+
}
|
|
7928
8076
|
/**
|
|
7929
8077
|
* Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
|
|
7930
8078
|
* @summary Get Analytics Rule
|
|
@@ -8023,6 +8171,19 @@ class AnalyticsRulesApi extends base_1.BaseAPI {
|
|
|
8023
8171
|
adminV1StoresXstoreidAnalyticsRulesPost(authorization, xstoreid, dataTypesCreateAnalyticsRuleRequest, options) {
|
|
8024
8172
|
return (0, exports.AnalyticsRulesApiFp)(this.configuration).adminV1StoresXstoreidAnalyticsRulesPost(authorization, xstoreid, dataTypesCreateAnalyticsRuleRequest, options).then((request) => request(this.axios, this.basePath));
|
|
8025
8173
|
}
|
|
8174
|
+
/**
|
|
8175
|
+
* Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
|
|
8176
|
+
* @summary Delete Analytics Rule
|
|
8177
|
+
* @param {string} authorization Bearer JWT token
|
|
8178
|
+
* @param {string} xstoreid Store ID (for store-specific routes)
|
|
8179
|
+
* @param {string} ruleId Rule ID
|
|
8180
|
+
* @param {*} [options] Override http request option.
|
|
8181
|
+
* @throws {RequiredError}
|
|
8182
|
+
* @memberof AnalyticsRulesApi
|
|
8183
|
+
*/
|
|
8184
|
+
adminV1StoresXstoreidAnalyticsRulesRuleIdDelete(authorization, xstoreid, ruleId, options) {
|
|
8185
|
+
return (0, exports.AnalyticsRulesApiFp)(this.configuration).adminV1StoresXstoreidAnalyticsRulesRuleIdDelete(authorization, xstoreid, ruleId, options).then((request) => request(this.axios, this.basePath));
|
|
8186
|
+
}
|
|
8026
8187
|
/**
|
|
8027
8188
|
* Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
|
|
8028
8189
|
* @summary Get Analytics Rule
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -29430,6 +29430,15 @@ export declare const AnalyticsRulesApiAxiosParamCreator: (configuration?: Config
|
|
|
29430
29430
|
* @throws {RequiredError}
|
|
29431
29431
|
*/
|
|
29432
29432
|
adminV1AnalyticsRulesPost: (authorization: string, dataTypesCreateAnalyticsRuleRequest: DataTypesCreateAnalyticsRuleRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
29433
|
+
/**
|
|
29434
|
+
* Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
|
|
29435
|
+
* @summary Delete Analytics Rule
|
|
29436
|
+
* @param {string} authorization Bearer JWT token
|
|
29437
|
+
* @param {string} ruleId Rule ID
|
|
29438
|
+
* @param {*} [options] Override http request option.
|
|
29439
|
+
* @throws {RequiredError}
|
|
29440
|
+
*/
|
|
29441
|
+
adminV1AnalyticsRulesRuleIdDelete: (authorization: string, ruleId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
29433
29442
|
/**
|
|
29434
29443
|
* Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
|
|
29435
29444
|
* @summary Get Analytics Rule
|
|
@@ -29507,6 +29516,16 @@ export declare const AnalyticsRulesApiAxiosParamCreator: (configuration?: Config
|
|
|
29507
29516
|
* @throws {RequiredError}
|
|
29508
29517
|
*/
|
|
29509
29518
|
adminV1StoresXstoreidAnalyticsRulesPost: (authorization: string, xstoreid: string, dataTypesCreateAnalyticsRuleRequest: DataTypesCreateAnalyticsRuleRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
29519
|
+
/**
|
|
29520
|
+
* Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
|
|
29521
|
+
* @summary Delete Analytics Rule
|
|
29522
|
+
* @param {string} authorization Bearer JWT token
|
|
29523
|
+
* @param {string} xstoreid Store ID (for store-specific routes)
|
|
29524
|
+
* @param {string} ruleId Rule ID
|
|
29525
|
+
* @param {*} [options] Override http request option.
|
|
29526
|
+
* @throws {RequiredError}
|
|
29527
|
+
*/
|
|
29528
|
+
adminV1StoresXstoreidAnalyticsRulesRuleIdDelete: (authorization: string, xstoreid: string, ruleId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
29510
29529
|
/**
|
|
29511
29530
|
* Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
|
|
29512
29531
|
* @summary Get Analytics Rule
|
|
@@ -29571,6 +29590,17 @@ export declare const AnalyticsRulesApiFp: (configuration?: Configuration) => {
|
|
|
29571
29590
|
* @throws {RequiredError}
|
|
29572
29591
|
*/
|
|
29573
29592
|
adminV1AnalyticsRulesPost(authorization: string, dataTypesCreateAnalyticsRuleRequest: DataTypesCreateAnalyticsRuleRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesAnalyticsRuleResponse>>;
|
|
29593
|
+
/**
|
|
29594
|
+
* Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
|
|
29595
|
+
* @summary Delete Analytics Rule
|
|
29596
|
+
* @param {string} authorization Bearer JWT token
|
|
29597
|
+
* @param {string} ruleId Rule ID
|
|
29598
|
+
* @param {*} [options] Override http request option.
|
|
29599
|
+
* @throws {RequiredError}
|
|
29600
|
+
*/
|
|
29601
|
+
adminV1AnalyticsRulesRuleIdDelete(authorization: string, ruleId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
|
|
29602
|
+
[key: string]: any;
|
|
29603
|
+
}>>;
|
|
29574
29604
|
/**
|
|
29575
29605
|
* Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
|
|
29576
29606
|
* @summary Get Analytics Rule
|
|
@@ -29648,6 +29678,18 @@ export declare const AnalyticsRulesApiFp: (configuration?: Configuration) => {
|
|
|
29648
29678
|
* @throws {RequiredError}
|
|
29649
29679
|
*/
|
|
29650
29680
|
adminV1StoresXstoreidAnalyticsRulesPost(authorization: string, xstoreid: string, dataTypesCreateAnalyticsRuleRequest: DataTypesCreateAnalyticsRuleRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesAnalyticsRuleResponse>>;
|
|
29681
|
+
/**
|
|
29682
|
+
* Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
|
|
29683
|
+
* @summary Delete Analytics Rule
|
|
29684
|
+
* @param {string} authorization Bearer JWT token
|
|
29685
|
+
* @param {string} xstoreid Store ID (for store-specific routes)
|
|
29686
|
+
* @param {string} ruleId Rule ID
|
|
29687
|
+
* @param {*} [options] Override http request option.
|
|
29688
|
+
* @throws {RequiredError}
|
|
29689
|
+
*/
|
|
29690
|
+
adminV1StoresXstoreidAnalyticsRulesRuleIdDelete(authorization: string, xstoreid: string, ruleId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
|
|
29691
|
+
[key: string]: any;
|
|
29692
|
+
}>>;
|
|
29651
29693
|
/**
|
|
29652
29694
|
* Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
|
|
29653
29695
|
* @summary Get Analytics Rule
|
|
@@ -29712,6 +29754,17 @@ export declare const AnalyticsRulesApiFactory: (configuration?: Configuration, b
|
|
|
29712
29754
|
* @throws {RequiredError}
|
|
29713
29755
|
*/
|
|
29714
29756
|
adminV1AnalyticsRulesPost(authorization: string, dataTypesCreateAnalyticsRuleRequest: DataTypesCreateAnalyticsRuleRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesAnalyticsRuleResponse>;
|
|
29757
|
+
/**
|
|
29758
|
+
* Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
|
|
29759
|
+
* @summary Delete Analytics Rule
|
|
29760
|
+
* @param {string} authorization Bearer JWT token
|
|
29761
|
+
* @param {string} ruleId Rule ID
|
|
29762
|
+
* @param {*} [options] Override http request option.
|
|
29763
|
+
* @throws {RequiredError}
|
|
29764
|
+
*/
|
|
29765
|
+
adminV1AnalyticsRulesRuleIdDelete(authorization: string, ruleId: string, options?: RawAxiosRequestConfig): AxiosPromise<{
|
|
29766
|
+
[key: string]: any;
|
|
29767
|
+
}>;
|
|
29715
29768
|
/**
|
|
29716
29769
|
* Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
|
|
29717
29770
|
* @summary Get Analytics Rule
|
|
@@ -29789,6 +29842,18 @@ export declare const AnalyticsRulesApiFactory: (configuration?: Configuration, b
|
|
|
29789
29842
|
* @throws {RequiredError}
|
|
29790
29843
|
*/
|
|
29791
29844
|
adminV1StoresXstoreidAnalyticsRulesPost(authorization: string, xstoreid: string, dataTypesCreateAnalyticsRuleRequest: DataTypesCreateAnalyticsRuleRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesAnalyticsRuleResponse>;
|
|
29845
|
+
/**
|
|
29846
|
+
* Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
|
|
29847
|
+
* @summary Delete Analytics Rule
|
|
29848
|
+
* @param {string} authorization Bearer JWT token
|
|
29849
|
+
* @param {string} xstoreid Store ID (for store-specific routes)
|
|
29850
|
+
* @param {string} ruleId Rule ID
|
|
29851
|
+
* @param {*} [options] Override http request option.
|
|
29852
|
+
* @throws {RequiredError}
|
|
29853
|
+
*/
|
|
29854
|
+
adminV1StoresXstoreidAnalyticsRulesRuleIdDelete(authorization: string, xstoreid: string, ruleId: string, options?: RawAxiosRequestConfig): AxiosPromise<{
|
|
29855
|
+
[key: string]: any;
|
|
29856
|
+
}>;
|
|
29792
29857
|
/**
|
|
29793
29858
|
* Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
|
|
29794
29859
|
* @summary Get Analytics Rule
|
|
@@ -29857,6 +29922,18 @@ export declare class AnalyticsRulesApi extends BaseAPI {
|
|
|
29857
29922
|
* @memberof AnalyticsRulesApi
|
|
29858
29923
|
*/
|
|
29859
29924
|
adminV1AnalyticsRulesPost(authorization: string, dataTypesCreateAnalyticsRuleRequest: DataTypesCreateAnalyticsRuleRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesAnalyticsRuleResponse, any, {}>>;
|
|
29925
|
+
/**
|
|
29926
|
+
* Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
|
|
29927
|
+
* @summary Delete Analytics Rule
|
|
29928
|
+
* @param {string} authorization Bearer JWT token
|
|
29929
|
+
* @param {string} ruleId Rule ID
|
|
29930
|
+
* @param {*} [options] Override http request option.
|
|
29931
|
+
* @throws {RequiredError}
|
|
29932
|
+
* @memberof AnalyticsRulesApi
|
|
29933
|
+
*/
|
|
29934
|
+
adminV1AnalyticsRulesRuleIdDelete(authorization: string, ruleId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
|
|
29935
|
+
[key: string]: any;
|
|
29936
|
+
}, any, {}>>;
|
|
29860
29937
|
/**
|
|
29861
29938
|
* Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
|
|
29862
29939
|
* @summary Get Analytics Rule
|
|
@@ -29941,6 +30018,19 @@ export declare class AnalyticsRulesApi extends BaseAPI {
|
|
|
29941
30018
|
* @memberof AnalyticsRulesApi
|
|
29942
30019
|
*/
|
|
29943
30020
|
adminV1StoresXstoreidAnalyticsRulesPost(authorization: string, xstoreid: string, dataTypesCreateAnalyticsRuleRequest: DataTypesCreateAnalyticsRuleRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesAnalyticsRuleResponse, any, {}>>;
|
|
30021
|
+
/**
|
|
30022
|
+
* Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
|
|
30023
|
+
* @summary Delete Analytics Rule
|
|
30024
|
+
* @param {string} authorization Bearer JWT token
|
|
30025
|
+
* @param {string} xstoreid Store ID (for store-specific routes)
|
|
30026
|
+
* @param {string} ruleId Rule ID
|
|
30027
|
+
* @param {*} [options] Override http request option.
|
|
30028
|
+
* @throws {RequiredError}
|
|
30029
|
+
* @memberof AnalyticsRulesApi
|
|
30030
|
+
*/
|
|
30031
|
+
adminV1StoresXstoreidAnalyticsRulesRuleIdDelete(authorization: string, xstoreid: string, ruleId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
|
|
30032
|
+
[key: string]: any;
|
|
30033
|
+
}, any, {}>>;
|
|
29944
30034
|
/**
|
|
29945
30035
|
* Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
|
|
29946
30036
|
* @summary Get Analytics Rule
|
package/dist/esm/api.js
CHANGED
|
@@ -6983,6 +6983,43 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
6983
6983
|
options: localVarRequestOptions,
|
|
6984
6984
|
};
|
|
6985
6985
|
}),
|
|
6986
|
+
/**
|
|
6987
|
+
* Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
|
|
6988
|
+
* @summary Delete Analytics Rule
|
|
6989
|
+
* @param {string} authorization Bearer JWT token
|
|
6990
|
+
* @param {string} ruleId Rule ID
|
|
6991
|
+
* @param {*} [options] Override http request option.
|
|
6992
|
+
* @throws {RequiredError}
|
|
6993
|
+
*/
|
|
6994
|
+
adminV1AnalyticsRulesRuleIdDelete: (authorization_1, ruleId_1, ...args_1) => __awaiter(this, [authorization_1, ruleId_1, ...args_1], void 0, function* (authorization, ruleId, options = {}) {
|
|
6995
|
+
// verify required parameter 'authorization' is not null or undefined
|
|
6996
|
+
assertParamExists('adminV1AnalyticsRulesRuleIdDelete', 'authorization', authorization);
|
|
6997
|
+
// verify required parameter 'ruleId' is not null or undefined
|
|
6998
|
+
assertParamExists('adminV1AnalyticsRulesRuleIdDelete', 'ruleId', ruleId);
|
|
6999
|
+
const localVarPath = `/admin/v1/analytics/rules/{ruleId}`
|
|
7000
|
+
.replace(`{${"ruleId"}}`, encodeURIComponent(String(ruleId)));
|
|
7001
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7002
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7003
|
+
let baseOptions;
|
|
7004
|
+
if (configuration) {
|
|
7005
|
+
baseOptions = configuration.baseOptions;
|
|
7006
|
+
}
|
|
7007
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
7008
|
+
const localVarHeaderParameter = {};
|
|
7009
|
+
const localVarQueryParameter = {};
|
|
7010
|
+
// authentication BearerAuth required
|
|
7011
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
7012
|
+
if (authorization != null) {
|
|
7013
|
+
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
7014
|
+
}
|
|
7015
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7016
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7017
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7018
|
+
return {
|
|
7019
|
+
url: toPathString(localVarUrlObj),
|
|
7020
|
+
options: localVarRequestOptions,
|
|
7021
|
+
};
|
|
7022
|
+
}),
|
|
6986
7023
|
/**
|
|
6987
7024
|
* Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
|
|
6988
7025
|
* @summary Get Analytics Rule
|
|
@@ -7302,6 +7339,47 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
7302
7339
|
options: localVarRequestOptions,
|
|
7303
7340
|
};
|
|
7304
7341
|
}),
|
|
7342
|
+
/**
|
|
7343
|
+
* Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
|
|
7344
|
+
* @summary Delete Analytics Rule
|
|
7345
|
+
* @param {string} authorization Bearer JWT token
|
|
7346
|
+
* @param {string} xstoreid Store ID (for store-specific routes)
|
|
7347
|
+
* @param {string} ruleId Rule ID
|
|
7348
|
+
* @param {*} [options] Override http request option.
|
|
7349
|
+
* @throws {RequiredError}
|
|
7350
|
+
*/
|
|
7351
|
+
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 = {}) {
|
|
7352
|
+
// verify required parameter 'authorization' is not null or undefined
|
|
7353
|
+
assertParamExists('adminV1StoresXstoreidAnalyticsRulesRuleIdDelete', 'authorization', authorization);
|
|
7354
|
+
// verify required parameter 'xstoreid' is not null or undefined
|
|
7355
|
+
assertParamExists('adminV1StoresXstoreidAnalyticsRulesRuleIdDelete', 'xstoreid', xstoreid);
|
|
7356
|
+
// verify required parameter 'ruleId' is not null or undefined
|
|
7357
|
+
assertParamExists('adminV1StoresXstoreidAnalyticsRulesRuleIdDelete', 'ruleId', ruleId);
|
|
7358
|
+
const localVarPath = `/admin/v1/stores/{xstoreid}/analytics/rules/{ruleId}`
|
|
7359
|
+
.replace(`{${"xstoreid"}}`, encodeURIComponent(String(xstoreid)))
|
|
7360
|
+
.replace(`{${"ruleId"}}`, encodeURIComponent(String(ruleId)));
|
|
7361
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7362
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7363
|
+
let baseOptions;
|
|
7364
|
+
if (configuration) {
|
|
7365
|
+
baseOptions = configuration.baseOptions;
|
|
7366
|
+
}
|
|
7367
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
7368
|
+
const localVarHeaderParameter = {};
|
|
7369
|
+
const localVarQueryParameter = {};
|
|
7370
|
+
// authentication BearerAuth required
|
|
7371
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
7372
|
+
if (authorization != null) {
|
|
7373
|
+
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
7374
|
+
}
|
|
7375
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7376
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7377
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7378
|
+
return {
|
|
7379
|
+
url: toPathString(localVarUrlObj),
|
|
7380
|
+
options: localVarRequestOptions,
|
|
7381
|
+
};
|
|
7382
|
+
}),
|
|
7305
7383
|
/**
|
|
7306
7384
|
* Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
|
|
7307
7385
|
* @summary Get Analytics Rule
|
|
@@ -7483,6 +7561,23 @@ export const AnalyticsRulesApiFp = function (configuration) {
|
|
|
7483
7561
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7484
7562
|
});
|
|
7485
7563
|
},
|
|
7564
|
+
/**
|
|
7565
|
+
* Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
|
|
7566
|
+
* @summary Delete Analytics Rule
|
|
7567
|
+
* @param {string} authorization Bearer JWT token
|
|
7568
|
+
* @param {string} ruleId Rule ID
|
|
7569
|
+
* @param {*} [options] Override http request option.
|
|
7570
|
+
* @throws {RequiredError}
|
|
7571
|
+
*/
|
|
7572
|
+
adminV1AnalyticsRulesRuleIdDelete(authorization, ruleId, options) {
|
|
7573
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7574
|
+
var _a, _b, _c;
|
|
7575
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1AnalyticsRulesRuleIdDelete(authorization, ruleId, options);
|
|
7576
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
7577
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnalyticsRulesApi.adminV1AnalyticsRulesRuleIdDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
7578
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7579
|
+
});
|
|
7580
|
+
},
|
|
7486
7581
|
/**
|
|
7487
7582
|
* Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
|
|
7488
7583
|
* @summary Get Analytics Rule
|
|
@@ -7616,6 +7711,24 @@ export const AnalyticsRulesApiFp = function (configuration) {
|
|
|
7616
7711
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7617
7712
|
});
|
|
7618
7713
|
},
|
|
7714
|
+
/**
|
|
7715
|
+
* Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
|
|
7716
|
+
* @summary Delete Analytics Rule
|
|
7717
|
+
* @param {string} authorization Bearer JWT token
|
|
7718
|
+
* @param {string} xstoreid Store ID (for store-specific routes)
|
|
7719
|
+
* @param {string} ruleId Rule ID
|
|
7720
|
+
* @param {*} [options] Override http request option.
|
|
7721
|
+
* @throws {RequiredError}
|
|
7722
|
+
*/
|
|
7723
|
+
adminV1StoresXstoreidAnalyticsRulesRuleIdDelete(authorization, xstoreid, ruleId, options) {
|
|
7724
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7725
|
+
var _a, _b, _c;
|
|
7726
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1StoresXstoreidAnalyticsRulesRuleIdDelete(authorization, xstoreid, ruleId, options);
|
|
7727
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
7728
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnalyticsRulesApi.adminV1StoresXstoreidAnalyticsRulesRuleIdDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
7729
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7730
|
+
});
|
|
7731
|
+
},
|
|
7619
7732
|
/**
|
|
7620
7733
|
* Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
|
|
7621
7734
|
* @summary Get Analytics Rule
|
|
@@ -7711,6 +7824,17 @@ export const AnalyticsRulesApiFactory = function (configuration, basePath, axios
|
|
|
7711
7824
|
adminV1AnalyticsRulesPost(authorization, dataTypesCreateAnalyticsRuleRequest, options) {
|
|
7712
7825
|
return localVarFp.adminV1AnalyticsRulesPost(authorization, dataTypesCreateAnalyticsRuleRequest, options).then((request) => request(axios, basePath));
|
|
7713
7826
|
},
|
|
7827
|
+
/**
|
|
7828
|
+
* Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
|
|
7829
|
+
* @summary Delete Analytics Rule
|
|
7830
|
+
* @param {string} authorization Bearer JWT token
|
|
7831
|
+
* @param {string} ruleId Rule ID
|
|
7832
|
+
* @param {*} [options] Override http request option.
|
|
7833
|
+
* @throws {RequiredError}
|
|
7834
|
+
*/
|
|
7835
|
+
adminV1AnalyticsRulesRuleIdDelete(authorization, ruleId, options) {
|
|
7836
|
+
return localVarFp.adminV1AnalyticsRulesRuleIdDelete(authorization, ruleId, options).then((request) => request(axios, basePath));
|
|
7837
|
+
},
|
|
7714
7838
|
/**
|
|
7715
7839
|
* Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
|
|
7716
7840
|
* @summary Get Analytics Rule
|
|
@@ -7802,6 +7926,18 @@ export const AnalyticsRulesApiFactory = function (configuration, basePath, axios
|
|
|
7802
7926
|
adminV1StoresXstoreidAnalyticsRulesPost(authorization, xstoreid, dataTypesCreateAnalyticsRuleRequest, options) {
|
|
7803
7927
|
return localVarFp.adminV1StoresXstoreidAnalyticsRulesPost(authorization, xstoreid, dataTypesCreateAnalyticsRuleRequest, options).then((request) => request(axios, basePath));
|
|
7804
7928
|
},
|
|
7929
|
+
/**
|
|
7930
|
+
* Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
|
|
7931
|
+
* @summary Delete Analytics Rule
|
|
7932
|
+
* @param {string} authorization Bearer JWT token
|
|
7933
|
+
* @param {string} xstoreid Store ID (for store-specific routes)
|
|
7934
|
+
* @param {string} ruleId Rule ID
|
|
7935
|
+
* @param {*} [options] Override http request option.
|
|
7936
|
+
* @throws {RequiredError}
|
|
7937
|
+
*/
|
|
7938
|
+
adminV1StoresXstoreidAnalyticsRulesRuleIdDelete(authorization, xstoreid, ruleId, options) {
|
|
7939
|
+
return localVarFp.adminV1StoresXstoreidAnalyticsRulesRuleIdDelete(authorization, xstoreid, ruleId, options).then((request) => request(axios, basePath));
|
|
7940
|
+
},
|
|
7805
7941
|
/**
|
|
7806
7942
|
* Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
|
|
7807
7943
|
* @summary Get Analytics Rule
|
|
@@ -7881,6 +8017,18 @@ export class AnalyticsRulesApi extends BaseAPI {
|
|
|
7881
8017
|
adminV1AnalyticsRulesPost(authorization, dataTypesCreateAnalyticsRuleRequest, options) {
|
|
7882
8018
|
return AnalyticsRulesApiFp(this.configuration).adminV1AnalyticsRulesPost(authorization, dataTypesCreateAnalyticsRuleRequest, options).then((request) => request(this.axios, this.basePath));
|
|
7883
8019
|
}
|
|
8020
|
+
/**
|
|
8021
|
+
* Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
|
|
8022
|
+
* @summary Delete Analytics Rule
|
|
8023
|
+
* @param {string} authorization Bearer JWT token
|
|
8024
|
+
* @param {string} ruleId Rule ID
|
|
8025
|
+
* @param {*} [options] Override http request option.
|
|
8026
|
+
* @throws {RequiredError}
|
|
8027
|
+
* @memberof AnalyticsRulesApi
|
|
8028
|
+
*/
|
|
8029
|
+
adminV1AnalyticsRulesRuleIdDelete(authorization, ruleId, options) {
|
|
8030
|
+
return AnalyticsRulesApiFp(this.configuration).adminV1AnalyticsRulesRuleIdDelete(authorization, ruleId, options).then((request) => request(this.axios, this.basePath));
|
|
8031
|
+
}
|
|
7884
8032
|
/**
|
|
7885
8033
|
* Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
|
|
7886
8034
|
* @summary Get Analytics Rule
|
|
@@ -7979,6 +8127,19 @@ export class AnalyticsRulesApi extends BaseAPI {
|
|
|
7979
8127
|
adminV1StoresXstoreidAnalyticsRulesPost(authorization, xstoreid, dataTypesCreateAnalyticsRuleRequest, options) {
|
|
7980
8128
|
return AnalyticsRulesApiFp(this.configuration).adminV1StoresXstoreidAnalyticsRulesPost(authorization, xstoreid, dataTypesCreateAnalyticsRuleRequest, options).then((request) => request(this.axios, this.basePath));
|
|
7981
8129
|
}
|
|
8130
|
+
/**
|
|
8131
|
+
* Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
|
|
8132
|
+
* @summary Delete Analytics Rule
|
|
8133
|
+
* @param {string} authorization Bearer JWT token
|
|
8134
|
+
* @param {string} xstoreid Store ID (for store-specific routes)
|
|
8135
|
+
* @param {string} ruleId Rule ID
|
|
8136
|
+
* @param {*} [options] Override http request option.
|
|
8137
|
+
* @throws {RequiredError}
|
|
8138
|
+
* @memberof AnalyticsRulesApi
|
|
8139
|
+
*/
|
|
8140
|
+
adminV1StoresXstoreidAnalyticsRulesRuleIdDelete(authorization, xstoreid, ruleId, options) {
|
|
8141
|
+
return AnalyticsRulesApiFp(this.configuration).adminV1StoresXstoreidAnalyticsRulesRuleIdDelete(authorization, xstoreid, ruleId, options).then((request) => request(this.axios, this.basePath));
|
|
8142
|
+
}
|
|
7982
8143
|
/**
|
|
7983
8144
|
* Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
|
|
7984
8145
|
* @summary Get Analytics Rule
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|