@seekora-ai/admin-api 1.1.40 → 1.1.42

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 CHANGED
@@ -1,4 +1,4 @@
1
- ## @seekora-ai/admin-api@1.1.40
1
+ ## @seekora-ai/admin-api@1.1.42
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.40 --save
39
+ npm install @seekora-ai/admin-api@1.1.42 --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
@@ -18225,6 +18225,12 @@ export interface DataTypesSchemaOptionsResponse {
18225
18225
  * @memberof DataTypesSchemaOptionsResponse
18226
18226
  */
18227
18227
  'displayAttributesOptions'?: Array<string>;
18228
+ /**
18229
+ * NestedPaths contains all possible field paths including nested objects and arrays Examples: [\"title\", \"images[0]\", \"product.variants[0].price\"]
18230
+ * @type {Array<string>}
18231
+ * @memberof DataTypesSchemaOptionsResponse
18232
+ */
18233
+ 'nestedPaths'?: Array<string>;
18228
18234
  /**
18229
18235
  *
18230
18236
  * @type {Array<string>}
@@ -33045,6 +33051,49 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration?: Conf
33045
33051
  options: localVarRequestOptions,
33046
33052
  };
33047
33053
  },
33054
+ /**
33055
+ * Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
33056
+ * @summary Delete Analytics Rule
33057
+ * @param {string} authorization Bearer JWT token
33058
+ * @param {string} ruleId Rule ID
33059
+ * @param {*} [options] Override http request option.
33060
+ * @throws {RequiredError}
33061
+ */
33062
+ adminV1AnalyticsRulesRuleIdDelete: async (authorization: string, ruleId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
33063
+ // verify required parameter 'authorization' is not null or undefined
33064
+ assertParamExists('adminV1AnalyticsRulesRuleIdDelete', 'authorization', authorization)
33065
+ // verify required parameter 'ruleId' is not null or undefined
33066
+ assertParamExists('adminV1AnalyticsRulesRuleIdDelete', 'ruleId', ruleId)
33067
+ const localVarPath = `/admin/v1/analytics/rules/{ruleId}`
33068
+ .replace(`{${"ruleId"}}`, encodeURIComponent(String(ruleId)));
33069
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
33070
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
33071
+ let baseOptions;
33072
+ if (configuration) {
33073
+ baseOptions = configuration.baseOptions;
33074
+ }
33075
+
33076
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
33077
+ const localVarHeaderParameter = {} as any;
33078
+ const localVarQueryParameter = {} as any;
33079
+
33080
+ // authentication BearerAuth required
33081
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
33082
+
33083
+
33084
+
33085
+ if (authorization != null) {
33086
+ localVarHeaderParameter['Authorization'] = String(authorization);
33087
+ }
33088
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
33089
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
33090
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
33091
+
33092
+ return {
33093
+ url: toPathString(localVarUrlObj),
33094
+ options: localVarRequestOptions,
33095
+ };
33096
+ },
33048
33097
  /**
33049
33098
  * Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
33050
33099
  * @summary Get Analytics Rule
@@ -33420,6 +33469,53 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration?: Conf
33420
33469
  options: localVarRequestOptions,
33421
33470
  };
33422
33471
  },
33472
+ /**
33473
+ * Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
33474
+ * @summary Delete Analytics Rule
33475
+ * @param {string} authorization Bearer JWT token
33476
+ * @param {string} xstoreid Store ID (for store-specific routes)
33477
+ * @param {string} ruleId Rule ID
33478
+ * @param {*} [options] Override http request option.
33479
+ * @throws {RequiredError}
33480
+ */
33481
+ adminV1StoresXstoreidAnalyticsRulesRuleIdDelete: async (authorization: string, xstoreid: string, ruleId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
33482
+ // verify required parameter 'authorization' is not null or undefined
33483
+ assertParamExists('adminV1StoresXstoreidAnalyticsRulesRuleIdDelete', 'authorization', authorization)
33484
+ // verify required parameter 'xstoreid' is not null or undefined
33485
+ assertParamExists('adminV1StoresXstoreidAnalyticsRulesRuleIdDelete', 'xstoreid', xstoreid)
33486
+ // verify required parameter 'ruleId' is not null or undefined
33487
+ assertParamExists('adminV1StoresXstoreidAnalyticsRulesRuleIdDelete', 'ruleId', ruleId)
33488
+ const localVarPath = `/admin/v1/stores/{xstoreid}/analytics/rules/{ruleId}`
33489
+ .replace(`{${"xstoreid"}}`, encodeURIComponent(String(xstoreid)))
33490
+ .replace(`{${"ruleId"}}`, encodeURIComponent(String(ruleId)));
33491
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
33492
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
33493
+ let baseOptions;
33494
+ if (configuration) {
33495
+ baseOptions = configuration.baseOptions;
33496
+ }
33497
+
33498
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
33499
+ const localVarHeaderParameter = {} as any;
33500
+ const localVarQueryParameter = {} as any;
33501
+
33502
+ // authentication BearerAuth required
33503
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
33504
+
33505
+
33506
+
33507
+ if (authorization != null) {
33508
+ localVarHeaderParameter['Authorization'] = String(authorization);
33509
+ }
33510
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
33511
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
33512
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
33513
+
33514
+ return {
33515
+ url: toPathString(localVarUrlObj),
33516
+ options: localVarRequestOptions,
33517
+ };
33518
+ },
33423
33519
  /**
33424
33520
  * Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
33425
33521
  * @summary Get Analytics Rule
@@ -33616,6 +33712,20 @@ export const AnalyticsRulesApiFp = function(configuration?: Configuration) {
33616
33712
  const localVarOperationServerBasePath = operationServerMap['AnalyticsRulesApi.adminV1AnalyticsRulesPost']?.[localVarOperationServerIndex]?.url;
33617
33713
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
33618
33714
  },
33715
+ /**
33716
+ * Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
33717
+ * @summary Delete Analytics Rule
33718
+ * @param {string} authorization Bearer JWT token
33719
+ * @param {string} ruleId Rule ID
33720
+ * @param {*} [options] Override http request option.
33721
+ * @throws {RequiredError}
33722
+ */
33723
+ async adminV1AnalyticsRulesRuleIdDelete(authorization: string, ruleId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{ [key: string]: any; }>> {
33724
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminV1AnalyticsRulesRuleIdDelete(authorization, ruleId, options);
33725
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
33726
+ const localVarOperationServerBasePath = operationServerMap['AnalyticsRulesApi.adminV1AnalyticsRulesRuleIdDelete']?.[localVarOperationServerIndex]?.url;
33727
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
33728
+ },
33619
33729
  /**
33620
33730
  * Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
33621
33731
  * @summary Get Analytics Rule
@@ -33728,6 +33838,21 @@ export const AnalyticsRulesApiFp = function(configuration?: Configuration) {
33728
33838
  const localVarOperationServerBasePath = operationServerMap['AnalyticsRulesApi.adminV1StoresXstoreidAnalyticsRulesPost']?.[localVarOperationServerIndex]?.url;
33729
33839
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
33730
33840
  },
33841
+ /**
33842
+ * Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
33843
+ * @summary Delete Analytics Rule
33844
+ * @param {string} authorization Bearer JWT token
33845
+ * @param {string} xstoreid Store ID (for store-specific routes)
33846
+ * @param {string} ruleId Rule ID
33847
+ * @param {*} [options] Override http request option.
33848
+ * @throws {RequiredError}
33849
+ */
33850
+ async adminV1StoresXstoreidAnalyticsRulesRuleIdDelete(authorization: string, xstoreid: string, ruleId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{ [key: string]: any; }>> {
33851
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminV1StoresXstoreidAnalyticsRulesRuleIdDelete(authorization, xstoreid, ruleId, options);
33852
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
33853
+ const localVarOperationServerBasePath = operationServerMap['AnalyticsRulesApi.adminV1StoresXstoreidAnalyticsRulesRuleIdDelete']?.[localVarOperationServerIndex]?.url;
33854
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
33855
+ },
33731
33856
  /**
33732
33857
  * Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
33733
33858
  * @summary Get Analytics Rule
@@ -33815,6 +33940,17 @@ export const AnalyticsRulesApiFactory = function (configuration?: Configuration,
33815
33940
  adminV1AnalyticsRulesPost(authorization: string, dataTypesCreateAnalyticsRuleRequest: DataTypesCreateAnalyticsRuleRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesAnalyticsRuleResponse> {
33816
33941
  return localVarFp.adminV1AnalyticsRulesPost(authorization, dataTypesCreateAnalyticsRuleRequest, options).then((request) => request(axios, basePath));
33817
33942
  },
33943
+ /**
33944
+ * Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
33945
+ * @summary Delete Analytics Rule
33946
+ * @param {string} authorization Bearer JWT token
33947
+ * @param {string} ruleId Rule ID
33948
+ * @param {*} [options] Override http request option.
33949
+ * @throws {RequiredError}
33950
+ */
33951
+ adminV1AnalyticsRulesRuleIdDelete(authorization: string, ruleId: string, options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: any; }> {
33952
+ return localVarFp.adminV1AnalyticsRulesRuleIdDelete(authorization, ruleId, options).then((request) => request(axios, basePath));
33953
+ },
33818
33954
  /**
33819
33955
  * Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
33820
33956
  * @summary Get Analytics Rule
@@ -33906,6 +34042,18 @@ export const AnalyticsRulesApiFactory = function (configuration?: Configuration,
33906
34042
  adminV1StoresXstoreidAnalyticsRulesPost(authorization: string, xstoreid: string, dataTypesCreateAnalyticsRuleRequest: DataTypesCreateAnalyticsRuleRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesAnalyticsRuleResponse> {
33907
34043
  return localVarFp.adminV1StoresXstoreidAnalyticsRulesPost(authorization, xstoreid, dataTypesCreateAnalyticsRuleRequest, options).then((request) => request(axios, basePath));
33908
34044
  },
34045
+ /**
34046
+ * Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
34047
+ * @summary Delete Analytics Rule
34048
+ * @param {string} authorization Bearer JWT token
34049
+ * @param {string} xstoreid Store ID (for store-specific routes)
34050
+ * @param {string} ruleId Rule ID
34051
+ * @param {*} [options] Override http request option.
34052
+ * @throws {RequiredError}
34053
+ */
34054
+ adminV1StoresXstoreidAnalyticsRulesRuleIdDelete(authorization: string, xstoreid: string, ruleId: string, options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: any; }> {
34055
+ return localVarFp.adminV1StoresXstoreidAnalyticsRulesRuleIdDelete(authorization, xstoreid, ruleId, options).then((request) => request(axios, basePath));
34056
+ },
33909
34057
  /**
33910
34058
  * Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
33911
34059
  * @summary Get Analytics Rule
@@ -33988,6 +34136,19 @@ export class AnalyticsRulesApi extends BaseAPI {
33988
34136
  return AnalyticsRulesApiFp(this.configuration).adminV1AnalyticsRulesPost(authorization, dataTypesCreateAnalyticsRuleRequest, options).then((request) => request(this.axios, this.basePath));
33989
34137
  }
33990
34138
 
34139
+ /**
34140
+ * Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
34141
+ * @summary Delete Analytics Rule
34142
+ * @param {string} authorization Bearer JWT token
34143
+ * @param {string} ruleId Rule ID
34144
+ * @param {*} [options] Override http request option.
34145
+ * @throws {RequiredError}
34146
+ * @memberof AnalyticsRulesApi
34147
+ */
34148
+ public adminV1AnalyticsRulesRuleIdDelete(authorization: string, ruleId: string, options?: RawAxiosRequestConfig) {
34149
+ return AnalyticsRulesApiFp(this.configuration).adminV1AnalyticsRulesRuleIdDelete(authorization, ruleId, options).then((request) => request(this.axios, this.basePath));
34150
+ }
34151
+
33991
34152
  /**
33992
34153
  * Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
33993
34154
  * @summary Get Analytics Rule
@@ -34093,6 +34254,20 @@ export class AnalyticsRulesApi extends BaseAPI {
34093
34254
  return AnalyticsRulesApiFp(this.configuration).adminV1StoresXstoreidAnalyticsRulesPost(authorization, xstoreid, dataTypesCreateAnalyticsRuleRequest, options).then((request) => request(this.axios, this.basePath));
34094
34255
  }
34095
34256
 
34257
+ /**
34258
+ * Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
34259
+ * @summary Delete Analytics Rule
34260
+ * @param {string} authorization Bearer JWT token
34261
+ * @param {string} xstoreid Store ID (for store-specific routes)
34262
+ * @param {string} ruleId Rule ID
34263
+ * @param {*} [options] Override http request option.
34264
+ * @throws {RequiredError}
34265
+ * @memberof AnalyticsRulesApi
34266
+ */
34267
+ public adminV1StoresXstoreidAnalyticsRulesRuleIdDelete(authorization: string, xstoreid: string, ruleId: string, options?: RawAxiosRequestConfig) {
34268
+ return AnalyticsRulesApiFp(this.configuration).adminV1StoresXstoreidAnalyticsRulesRuleIdDelete(authorization, xstoreid, ruleId, options).then((request) => request(this.axios, this.basePath));
34269
+ }
34270
+
34096
34271
  /**
34097
34272
  * Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
34098
34273
  * @summary Get Analytics Rule
package/dist/api.d.ts CHANGED
@@ -18287,6 +18287,12 @@ export interface DataTypesSchemaOptionsResponse {
18287
18287
  * @memberof DataTypesSchemaOptionsResponse
18288
18288
  */
18289
18289
  'displayAttributesOptions'?: Array<string>;
18290
+ /**
18291
+ * NestedPaths contains all possible field paths including nested objects and arrays Examples: [\"title\", \"images[0]\", \"product.variants[0].price\"]
18292
+ * @type {Array<string>}
18293
+ * @memberof DataTypesSchemaOptionsResponse
18294
+ */
18295
+ 'nestedPaths'?: Array<string>;
18290
18296
  /**
18291
18297
  *
18292
18298
  * @type {Array<string>}
@@ -29430,6 +29436,15 @@ export declare const AnalyticsRulesApiAxiosParamCreator: (configuration?: Config
29430
29436
  * @throws {RequiredError}
29431
29437
  */
29432
29438
  adminV1AnalyticsRulesPost: (authorization: string, dataTypesCreateAnalyticsRuleRequest: DataTypesCreateAnalyticsRuleRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
29439
+ /**
29440
+ * Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
29441
+ * @summary Delete Analytics Rule
29442
+ * @param {string} authorization Bearer JWT token
29443
+ * @param {string} ruleId Rule ID
29444
+ * @param {*} [options] Override http request option.
29445
+ * @throws {RequiredError}
29446
+ */
29447
+ adminV1AnalyticsRulesRuleIdDelete: (authorization: string, ruleId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
29433
29448
  /**
29434
29449
  * Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
29435
29450
  * @summary Get Analytics Rule
@@ -29507,6 +29522,16 @@ export declare const AnalyticsRulesApiAxiosParamCreator: (configuration?: Config
29507
29522
  * @throws {RequiredError}
29508
29523
  */
29509
29524
  adminV1StoresXstoreidAnalyticsRulesPost: (authorization: string, xstoreid: string, dataTypesCreateAnalyticsRuleRequest: DataTypesCreateAnalyticsRuleRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
29525
+ /**
29526
+ * Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
29527
+ * @summary Delete Analytics Rule
29528
+ * @param {string} authorization Bearer JWT token
29529
+ * @param {string} xstoreid Store ID (for store-specific routes)
29530
+ * @param {string} ruleId Rule ID
29531
+ * @param {*} [options] Override http request option.
29532
+ * @throws {RequiredError}
29533
+ */
29534
+ adminV1StoresXstoreidAnalyticsRulesRuleIdDelete: (authorization: string, xstoreid: string, ruleId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
29510
29535
  /**
29511
29536
  * Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
29512
29537
  * @summary Get Analytics Rule
@@ -29571,6 +29596,17 @@ export declare const AnalyticsRulesApiFp: (configuration?: Configuration) => {
29571
29596
  * @throws {RequiredError}
29572
29597
  */
29573
29598
  adminV1AnalyticsRulesPost(authorization: string, dataTypesCreateAnalyticsRuleRequest: DataTypesCreateAnalyticsRuleRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesAnalyticsRuleResponse>>;
29599
+ /**
29600
+ * Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
29601
+ * @summary Delete Analytics Rule
29602
+ * @param {string} authorization Bearer JWT token
29603
+ * @param {string} ruleId Rule ID
29604
+ * @param {*} [options] Override http request option.
29605
+ * @throws {RequiredError}
29606
+ */
29607
+ adminV1AnalyticsRulesRuleIdDelete(authorization: string, ruleId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
29608
+ [key: string]: any;
29609
+ }>>;
29574
29610
  /**
29575
29611
  * Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
29576
29612
  * @summary Get Analytics Rule
@@ -29648,6 +29684,18 @@ export declare const AnalyticsRulesApiFp: (configuration?: Configuration) => {
29648
29684
  * @throws {RequiredError}
29649
29685
  */
29650
29686
  adminV1StoresXstoreidAnalyticsRulesPost(authorization: string, xstoreid: string, dataTypesCreateAnalyticsRuleRequest: DataTypesCreateAnalyticsRuleRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesAnalyticsRuleResponse>>;
29687
+ /**
29688
+ * Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
29689
+ * @summary Delete Analytics Rule
29690
+ * @param {string} authorization Bearer JWT token
29691
+ * @param {string} xstoreid Store ID (for store-specific routes)
29692
+ * @param {string} ruleId Rule ID
29693
+ * @param {*} [options] Override http request option.
29694
+ * @throws {RequiredError}
29695
+ */
29696
+ adminV1StoresXstoreidAnalyticsRulesRuleIdDelete(authorization: string, xstoreid: string, ruleId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
29697
+ [key: string]: any;
29698
+ }>>;
29651
29699
  /**
29652
29700
  * Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
29653
29701
  * @summary Get Analytics Rule
@@ -29712,6 +29760,17 @@ export declare const AnalyticsRulesApiFactory: (configuration?: Configuration, b
29712
29760
  * @throws {RequiredError}
29713
29761
  */
29714
29762
  adminV1AnalyticsRulesPost(authorization: string, dataTypesCreateAnalyticsRuleRequest: DataTypesCreateAnalyticsRuleRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesAnalyticsRuleResponse>;
29763
+ /**
29764
+ * Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
29765
+ * @summary Delete Analytics Rule
29766
+ * @param {string} authorization Bearer JWT token
29767
+ * @param {string} ruleId Rule ID
29768
+ * @param {*} [options] Override http request option.
29769
+ * @throws {RequiredError}
29770
+ */
29771
+ adminV1AnalyticsRulesRuleIdDelete(authorization: string, ruleId: string, options?: RawAxiosRequestConfig): AxiosPromise<{
29772
+ [key: string]: any;
29773
+ }>;
29715
29774
  /**
29716
29775
  * Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
29717
29776
  * @summary Get Analytics Rule
@@ -29789,6 +29848,18 @@ export declare const AnalyticsRulesApiFactory: (configuration?: Configuration, b
29789
29848
  * @throws {RequiredError}
29790
29849
  */
29791
29850
  adminV1StoresXstoreidAnalyticsRulesPost(authorization: string, xstoreid: string, dataTypesCreateAnalyticsRuleRequest: DataTypesCreateAnalyticsRuleRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesAnalyticsRuleResponse>;
29851
+ /**
29852
+ * Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
29853
+ * @summary Delete Analytics Rule
29854
+ * @param {string} authorization Bearer JWT token
29855
+ * @param {string} xstoreid Store ID (for store-specific routes)
29856
+ * @param {string} ruleId Rule ID
29857
+ * @param {*} [options] Override http request option.
29858
+ * @throws {RequiredError}
29859
+ */
29860
+ adminV1StoresXstoreidAnalyticsRulesRuleIdDelete(authorization: string, xstoreid: string, ruleId: string, options?: RawAxiosRequestConfig): AxiosPromise<{
29861
+ [key: string]: any;
29862
+ }>;
29792
29863
  /**
29793
29864
  * Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
29794
29865
  * @summary Get Analytics Rule
@@ -29857,6 +29928,18 @@ export declare class AnalyticsRulesApi extends BaseAPI {
29857
29928
  * @memberof AnalyticsRulesApi
29858
29929
  */
29859
29930
  adminV1AnalyticsRulesPost(authorization: string, dataTypesCreateAnalyticsRuleRequest: DataTypesCreateAnalyticsRuleRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesAnalyticsRuleResponse, any, {}>>;
29931
+ /**
29932
+ * Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
29933
+ * @summary Delete Analytics Rule
29934
+ * @param {string} authorization Bearer JWT token
29935
+ * @param {string} ruleId Rule ID
29936
+ * @param {*} [options] Override http request option.
29937
+ * @throws {RequiredError}
29938
+ * @memberof AnalyticsRulesApi
29939
+ */
29940
+ adminV1AnalyticsRulesRuleIdDelete(authorization: string, ruleId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
29941
+ [key: string]: any;
29942
+ }, any, {}>>;
29860
29943
  /**
29861
29944
  * Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
29862
29945
  * @summary Get Analytics Rule
@@ -29941,6 +30024,19 @@ export declare class AnalyticsRulesApi extends BaseAPI {
29941
30024
  * @memberof AnalyticsRulesApi
29942
30025
  */
29943
30026
  adminV1StoresXstoreidAnalyticsRulesPost(authorization: string, xstoreid: string, dataTypesCreateAnalyticsRuleRequest: DataTypesCreateAnalyticsRuleRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesAnalyticsRuleResponse, any, {}>>;
30027
+ /**
30028
+ * Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
30029
+ * @summary Delete Analytics Rule
30030
+ * @param {string} authorization Bearer JWT token
30031
+ * @param {string} xstoreid Store ID (for store-specific routes)
30032
+ * @param {string} ruleId Rule ID
30033
+ * @param {*} [options] Override http request option.
30034
+ * @throws {RequiredError}
30035
+ * @memberof AnalyticsRulesApi
30036
+ */
30037
+ adminV1StoresXstoreidAnalyticsRulesRuleIdDelete(authorization: string, xstoreid: string, ruleId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
30038
+ [key: string]: any;
30039
+ }, any, {}>>;
29944
30040
  /**
29945
30041
  * Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
29946
30042
  * @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
@@ -18287,6 +18287,12 @@ export interface DataTypesSchemaOptionsResponse {
18287
18287
  * @memberof DataTypesSchemaOptionsResponse
18288
18288
  */
18289
18289
  'displayAttributesOptions'?: Array<string>;
18290
+ /**
18291
+ * NestedPaths contains all possible field paths including nested objects and arrays Examples: [\"title\", \"images[0]\", \"product.variants[0].price\"]
18292
+ * @type {Array<string>}
18293
+ * @memberof DataTypesSchemaOptionsResponse
18294
+ */
18295
+ 'nestedPaths'?: Array<string>;
18290
18296
  /**
18291
18297
  *
18292
18298
  * @type {Array<string>}
@@ -29430,6 +29436,15 @@ export declare const AnalyticsRulesApiAxiosParamCreator: (configuration?: Config
29430
29436
  * @throws {RequiredError}
29431
29437
  */
29432
29438
  adminV1AnalyticsRulesPost: (authorization: string, dataTypesCreateAnalyticsRuleRequest: DataTypesCreateAnalyticsRuleRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
29439
+ /**
29440
+ * Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
29441
+ * @summary Delete Analytics Rule
29442
+ * @param {string} authorization Bearer JWT token
29443
+ * @param {string} ruleId Rule ID
29444
+ * @param {*} [options] Override http request option.
29445
+ * @throws {RequiredError}
29446
+ */
29447
+ adminV1AnalyticsRulesRuleIdDelete: (authorization: string, ruleId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
29433
29448
  /**
29434
29449
  * Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
29435
29450
  * @summary Get Analytics Rule
@@ -29507,6 +29522,16 @@ export declare const AnalyticsRulesApiAxiosParamCreator: (configuration?: Config
29507
29522
  * @throws {RequiredError}
29508
29523
  */
29509
29524
  adminV1StoresXstoreidAnalyticsRulesPost: (authorization: string, xstoreid: string, dataTypesCreateAnalyticsRuleRequest: DataTypesCreateAnalyticsRuleRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
29525
+ /**
29526
+ * Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
29527
+ * @summary Delete Analytics Rule
29528
+ * @param {string} authorization Bearer JWT token
29529
+ * @param {string} xstoreid Store ID (for store-specific routes)
29530
+ * @param {string} ruleId Rule ID
29531
+ * @param {*} [options] Override http request option.
29532
+ * @throws {RequiredError}
29533
+ */
29534
+ adminV1StoresXstoreidAnalyticsRulesRuleIdDelete: (authorization: string, xstoreid: string, ruleId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
29510
29535
  /**
29511
29536
  * Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
29512
29537
  * @summary Get Analytics Rule
@@ -29571,6 +29596,17 @@ export declare const AnalyticsRulesApiFp: (configuration?: Configuration) => {
29571
29596
  * @throws {RequiredError}
29572
29597
  */
29573
29598
  adminV1AnalyticsRulesPost(authorization: string, dataTypesCreateAnalyticsRuleRequest: DataTypesCreateAnalyticsRuleRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesAnalyticsRuleResponse>>;
29599
+ /**
29600
+ * Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
29601
+ * @summary Delete Analytics Rule
29602
+ * @param {string} authorization Bearer JWT token
29603
+ * @param {string} ruleId Rule ID
29604
+ * @param {*} [options] Override http request option.
29605
+ * @throws {RequiredError}
29606
+ */
29607
+ adminV1AnalyticsRulesRuleIdDelete(authorization: string, ruleId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
29608
+ [key: string]: any;
29609
+ }>>;
29574
29610
  /**
29575
29611
  * Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
29576
29612
  * @summary Get Analytics Rule
@@ -29648,6 +29684,18 @@ export declare const AnalyticsRulesApiFp: (configuration?: Configuration) => {
29648
29684
  * @throws {RequiredError}
29649
29685
  */
29650
29686
  adminV1StoresXstoreidAnalyticsRulesPost(authorization: string, xstoreid: string, dataTypesCreateAnalyticsRuleRequest: DataTypesCreateAnalyticsRuleRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesAnalyticsRuleResponse>>;
29687
+ /**
29688
+ * Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
29689
+ * @summary Delete Analytics Rule
29690
+ * @param {string} authorization Bearer JWT token
29691
+ * @param {string} xstoreid Store ID (for store-specific routes)
29692
+ * @param {string} ruleId Rule ID
29693
+ * @param {*} [options] Override http request option.
29694
+ * @throws {RequiredError}
29695
+ */
29696
+ adminV1StoresXstoreidAnalyticsRulesRuleIdDelete(authorization: string, xstoreid: string, ruleId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
29697
+ [key: string]: any;
29698
+ }>>;
29651
29699
  /**
29652
29700
  * Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
29653
29701
  * @summary Get Analytics Rule
@@ -29712,6 +29760,17 @@ export declare const AnalyticsRulesApiFactory: (configuration?: Configuration, b
29712
29760
  * @throws {RequiredError}
29713
29761
  */
29714
29762
  adminV1AnalyticsRulesPost(authorization: string, dataTypesCreateAnalyticsRuleRequest: DataTypesCreateAnalyticsRuleRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesAnalyticsRuleResponse>;
29763
+ /**
29764
+ * Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
29765
+ * @summary Delete Analytics Rule
29766
+ * @param {string} authorization Bearer JWT token
29767
+ * @param {string} ruleId Rule ID
29768
+ * @param {*} [options] Override http request option.
29769
+ * @throws {RequiredError}
29770
+ */
29771
+ adminV1AnalyticsRulesRuleIdDelete(authorization: string, ruleId: string, options?: RawAxiosRequestConfig): AxiosPromise<{
29772
+ [key: string]: any;
29773
+ }>;
29715
29774
  /**
29716
29775
  * Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
29717
29776
  * @summary Get Analytics Rule
@@ -29789,6 +29848,18 @@ export declare const AnalyticsRulesApiFactory: (configuration?: Configuration, b
29789
29848
  * @throws {RequiredError}
29790
29849
  */
29791
29850
  adminV1StoresXstoreidAnalyticsRulesPost(authorization: string, xstoreid: string, dataTypesCreateAnalyticsRuleRequest: DataTypesCreateAnalyticsRuleRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesAnalyticsRuleResponse>;
29851
+ /**
29852
+ * Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
29853
+ * @summary Delete Analytics Rule
29854
+ * @param {string} authorization Bearer JWT token
29855
+ * @param {string} xstoreid Store ID (for store-specific routes)
29856
+ * @param {string} ruleId Rule ID
29857
+ * @param {*} [options] Override http request option.
29858
+ * @throws {RequiredError}
29859
+ */
29860
+ adminV1StoresXstoreidAnalyticsRulesRuleIdDelete(authorization: string, xstoreid: string, ruleId: string, options?: RawAxiosRequestConfig): AxiosPromise<{
29861
+ [key: string]: any;
29862
+ }>;
29792
29863
  /**
29793
29864
  * Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
29794
29865
  * @summary Get Analytics Rule
@@ -29857,6 +29928,18 @@ export declare class AnalyticsRulesApi extends BaseAPI {
29857
29928
  * @memberof AnalyticsRulesApi
29858
29929
  */
29859
29930
  adminV1AnalyticsRulesPost(authorization: string, dataTypesCreateAnalyticsRuleRequest: DataTypesCreateAnalyticsRuleRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesAnalyticsRuleResponse, any, {}>>;
29931
+ /**
29932
+ * Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
29933
+ * @summary Delete Analytics Rule
29934
+ * @param {string} authorization Bearer JWT token
29935
+ * @param {string} ruleId Rule ID
29936
+ * @param {*} [options] Override http request option.
29937
+ * @throws {RequiredError}
29938
+ * @memberof AnalyticsRulesApi
29939
+ */
29940
+ adminV1AnalyticsRulesRuleIdDelete(authorization: string, ruleId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
29941
+ [key: string]: any;
29942
+ }, any, {}>>;
29860
29943
  /**
29861
29944
  * Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
29862
29945
  * @summary Get Analytics Rule
@@ -29941,6 +30024,19 @@ export declare class AnalyticsRulesApi extends BaseAPI {
29941
30024
  * @memberof AnalyticsRulesApi
29942
30025
  */
29943
30026
  adminV1StoresXstoreidAnalyticsRulesPost(authorization: string, xstoreid: string, dataTypesCreateAnalyticsRuleRequest: DataTypesCreateAnalyticsRuleRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesAnalyticsRuleResponse, any, {}>>;
30027
+ /**
30028
+ * Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
30029
+ * @summary Delete Analytics Rule
30030
+ * @param {string} authorization Bearer JWT token
30031
+ * @param {string} xstoreid Store ID (for store-specific routes)
30032
+ * @param {string} ruleId Rule ID
30033
+ * @param {*} [options] Override http request option.
30034
+ * @throws {RequiredError}
30035
+ * @memberof AnalyticsRulesApi
30036
+ */
30037
+ adminV1StoresXstoreidAnalyticsRulesRuleIdDelete(authorization: string, xstoreid: string, ruleId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
30038
+ [key: string]: any;
30039
+ }, any, {}>>;
29944
30040
  /**
29945
30041
  * Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
29946
30042
  * @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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seekora-ai/admin-api",
3
- "version": "1.1.40",
3
+ "version": "1.1.42",
4
4
  "description": "OpenAPI client for @seekora-ai/admin-api",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
Binary file
Binary file