@seekora-ai/admin-api 1.1.39 → 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/dist/api.d.ts CHANGED
@@ -1430,16 +1430,22 @@ export interface AnalyticsActivityLogEvent {
1430
1430
  'action_type'?: string;
1431
1431
  /**
1432
1432
  *
1433
- * @type {string}
1433
+ * @type {Array<string>}
1434
1434
  * @memberof AnalyticsActivityLogEvent
1435
1435
  */
1436
- 'changed_fields'?: string;
1436
+ 'changed_fields'?: Array<string>;
1437
1437
  /**
1438
1438
  *
1439
1439
  * @type {string}
1440
1440
  * @memberof AnalyticsActivityLogEvent
1441
1441
  */
1442
1442
  'description'?: string;
1443
+ /**
1444
+ *
1445
+ * @type {string}
1446
+ * @memberof AnalyticsActivityLogEvent
1447
+ */
1448
+ 'email'?: string;
1443
1449
  /**
1444
1450
  *
1445
1451
  * @type {string}
@@ -1466,16 +1472,20 @@ export interface AnalyticsActivityLogEvent {
1466
1472
  'resource_type'?: string;
1467
1473
  /**
1468
1474
  *
1469
- * @type {string}
1475
+ * @type {{ [key: string]: any; }}
1470
1476
  * @memberof AnalyticsActivityLogEvent
1471
1477
  */
1472
- 'state_after'?: string;
1478
+ 'state_after'?: {
1479
+ [key: string]: any;
1480
+ };
1473
1481
  /**
1474
1482
  *
1475
- * @type {string}
1483
+ * @type {{ [key: string]: any; }}
1476
1484
  * @memberof AnalyticsActivityLogEvent
1477
1485
  */
1478
- 'state_before'?: string;
1486
+ 'state_before'?: {
1487
+ [key: string]: any;
1488
+ };
1479
1489
  /**
1480
1490
  *
1481
1491
  * @type {string}
@@ -1488,6 +1498,12 @@ export interface AnalyticsActivityLogEvent {
1488
1498
  * @memberof AnalyticsActivityLogEvent
1489
1499
  */
1490
1500
  'user_agent'?: string;
1501
+ /**
1502
+ * NEW: User identity extracted from event payload
1503
+ * @type {string}
1504
+ * @memberof AnalyticsActivityLogEvent
1505
+ */
1506
+ 'username'?: string;
1491
1507
  }
1492
1508
  /**
1493
1509
  *
@@ -26184,16 +26200,19 @@ export declare class AccountSettingsApi extends BaseAPI {
26184
26200
  */
26185
26201
  export declare const ActivityLogsApiAxiosParamCreator: (configuration?: Configuration) => {
26186
26202
  /**
26187
- * Retrieve user activity logs from ClickHouse system_events table with filtering and pagination.
26203
+ * Retrieve user activity logs from ClickHouse system_events table with full filtering, search, and pagination.
26188
26204
  * @summary Get Activity Logs
26189
26205
  * @param {string} [startDate] Start date (ISO 8601 format)
26190
26206
  * @param {string} [endDate] End date (ISO 8601 format)
26207
+ * @param {string} [search] Search text (matches description, username, email, resource_type, resource_id)
26208
+ * @param {AnalyticsActivityLogsGetActionEnum} [action] Action filter
26209
+ * @param {string} [entity] Entity type filter
26191
26210
  * @param {number} [page] Page number (default: 1)
26192
26211
  * @param {number} [perPage] Results per page (default: 50, max: 1000)
26193
26212
  * @param {*} [options] Override http request option.
26194
26213
  * @throws {RequiredError}
26195
26214
  */
26196
- analyticsActivityLogsGet: (startDate?: string, endDate?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
26215
+ analyticsActivityLogsGet: (startDate?: string, endDate?: string, search?: string, action?: AnalyticsActivityLogsGetActionEnum, entity?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
26197
26216
  };
26198
26217
  /**
26199
26218
  * ActivityLogsApi - functional programming interface
@@ -26201,16 +26220,19 @@ export declare const ActivityLogsApiAxiosParamCreator: (configuration?: Configur
26201
26220
  */
26202
26221
  export declare const ActivityLogsApiFp: (configuration?: Configuration) => {
26203
26222
  /**
26204
- * Retrieve user activity logs from ClickHouse system_events table with filtering and pagination.
26223
+ * Retrieve user activity logs from ClickHouse system_events table with full filtering, search, and pagination.
26205
26224
  * @summary Get Activity Logs
26206
26225
  * @param {string} [startDate] Start date (ISO 8601 format)
26207
26226
  * @param {string} [endDate] End date (ISO 8601 format)
26227
+ * @param {string} [search] Search text (matches description, username, email, resource_type, resource_id)
26228
+ * @param {AnalyticsActivityLogsGetActionEnum} [action] Action filter
26229
+ * @param {string} [entity] Entity type filter
26208
26230
  * @param {number} [page] Page number (default: 1)
26209
26231
  * @param {number} [perPage] Results per page (default: 50, max: 1000)
26210
26232
  * @param {*} [options] Override http request option.
26211
26233
  * @throws {RequiredError}
26212
26234
  */
26213
- analyticsActivityLogsGet(startDate?: string, endDate?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AnalyticsActivityLogResponse>>;
26235
+ analyticsActivityLogsGet(startDate?: string, endDate?: string, search?: string, action?: AnalyticsActivityLogsGetActionEnum, entity?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AnalyticsActivityLogResponse>>;
26214
26236
  };
26215
26237
  /**
26216
26238
  * ActivityLogsApi - factory interface
@@ -26218,16 +26240,19 @@ export declare const ActivityLogsApiFp: (configuration?: Configuration) => {
26218
26240
  */
26219
26241
  export declare const ActivityLogsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
26220
26242
  /**
26221
- * Retrieve user activity logs from ClickHouse system_events table with filtering and pagination.
26243
+ * Retrieve user activity logs from ClickHouse system_events table with full filtering, search, and pagination.
26222
26244
  * @summary Get Activity Logs
26223
26245
  * @param {string} [startDate] Start date (ISO 8601 format)
26224
26246
  * @param {string} [endDate] End date (ISO 8601 format)
26247
+ * @param {string} [search] Search text (matches description, username, email, resource_type, resource_id)
26248
+ * @param {AnalyticsActivityLogsGetActionEnum} [action] Action filter
26249
+ * @param {string} [entity] Entity type filter
26225
26250
  * @param {number} [page] Page number (default: 1)
26226
26251
  * @param {number} [perPage] Results per page (default: 50, max: 1000)
26227
26252
  * @param {*} [options] Override http request option.
26228
26253
  * @throws {RequiredError}
26229
26254
  */
26230
- analyticsActivityLogsGet(startDate?: string, endDate?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): AxiosPromise<AnalyticsActivityLogResponse>;
26255
+ analyticsActivityLogsGet(startDate?: string, endDate?: string, search?: string, action?: AnalyticsActivityLogsGetActionEnum, entity?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): AxiosPromise<AnalyticsActivityLogResponse>;
26231
26256
  };
26232
26257
  /**
26233
26258
  * ActivityLogsApi - object-oriented interface
@@ -26237,18 +26262,31 @@ export declare const ActivityLogsApiFactory: (configuration?: Configuration, bas
26237
26262
  */
26238
26263
  export declare class ActivityLogsApi extends BaseAPI {
26239
26264
  /**
26240
- * Retrieve user activity logs from ClickHouse system_events table with filtering and pagination.
26265
+ * Retrieve user activity logs from ClickHouse system_events table with full filtering, search, and pagination.
26241
26266
  * @summary Get Activity Logs
26242
26267
  * @param {string} [startDate] Start date (ISO 8601 format)
26243
26268
  * @param {string} [endDate] End date (ISO 8601 format)
26269
+ * @param {string} [search] Search text (matches description, username, email, resource_type, resource_id)
26270
+ * @param {AnalyticsActivityLogsGetActionEnum} [action] Action filter
26271
+ * @param {string} [entity] Entity type filter
26244
26272
  * @param {number} [page] Page number (default: 1)
26245
26273
  * @param {number} [perPage] Results per page (default: 50, max: 1000)
26246
26274
  * @param {*} [options] Override http request option.
26247
26275
  * @throws {RequiredError}
26248
26276
  * @memberof ActivityLogsApi
26249
26277
  */
26250
- analyticsActivityLogsGet(startDate?: string, endDate?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AnalyticsActivityLogResponse, any, {}>>;
26278
+ analyticsActivityLogsGet(startDate?: string, endDate?: string, search?: string, action?: AnalyticsActivityLogsGetActionEnum, entity?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AnalyticsActivityLogResponse, any, {}>>;
26251
26279
  }
26280
+ /**
26281
+ * @export
26282
+ */
26283
+ export declare const AnalyticsActivityLogsGetActionEnum: {
26284
+ readonly Create: "create";
26285
+ readonly Update: "update";
26286
+ readonly Delete: "delete";
26287
+ readonly Upload: "upload";
26288
+ };
26289
+ export type AnalyticsActivityLogsGetActionEnum = typeof AnalyticsActivityLogsGetActionEnum[keyof typeof AnalyticsActivityLogsGetActionEnum];
26252
26290
  /**
26253
26291
  * AdminAnalyticsApi - axios parameter creator
26254
26292
  * @export
@@ -29392,6 +29430,15 @@ export declare const AnalyticsRulesApiAxiosParamCreator: (configuration?: Config
29392
29430
  * @throws {RequiredError}
29393
29431
  */
29394
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>;
29395
29442
  /**
29396
29443
  * Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
29397
29444
  * @summary Get Analytics Rule
@@ -29469,6 +29516,16 @@ export declare const AnalyticsRulesApiAxiosParamCreator: (configuration?: Config
29469
29516
  * @throws {RequiredError}
29470
29517
  */
29471
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>;
29472
29529
  /**
29473
29530
  * Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
29474
29531
  * @summary Get Analytics Rule
@@ -29533,6 +29590,17 @@ export declare const AnalyticsRulesApiFp: (configuration?: Configuration) => {
29533
29590
  * @throws {RequiredError}
29534
29591
  */
29535
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
+ }>>;
29536
29604
  /**
29537
29605
  * Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
29538
29606
  * @summary Get Analytics Rule
@@ -29610,6 +29678,18 @@ export declare const AnalyticsRulesApiFp: (configuration?: Configuration) => {
29610
29678
  * @throws {RequiredError}
29611
29679
  */
29612
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
+ }>>;
29613
29693
  /**
29614
29694
  * Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
29615
29695
  * @summary Get Analytics Rule
@@ -29674,6 +29754,17 @@ export declare const AnalyticsRulesApiFactory: (configuration?: Configuration, b
29674
29754
  * @throws {RequiredError}
29675
29755
  */
29676
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
+ }>;
29677
29768
  /**
29678
29769
  * Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
29679
29770
  * @summary Get Analytics Rule
@@ -29751,6 +29842,18 @@ export declare const AnalyticsRulesApiFactory: (configuration?: Configuration, b
29751
29842
  * @throws {RequiredError}
29752
29843
  */
29753
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
+ }>;
29754
29857
  /**
29755
29858
  * Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
29756
29859
  * @summary Get Analytics Rule
@@ -29819,6 +29922,18 @@ export declare class AnalyticsRulesApi extends BaseAPI {
29819
29922
  * @memberof AnalyticsRulesApi
29820
29923
  */
29821
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, {}>>;
29822
29937
  /**
29823
29938
  * Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
29824
29939
  * @summary Get Analytics Rule
@@ -29903,6 +30018,19 @@ export declare class AnalyticsRulesApi extends BaseAPI {
29903
30018
  * @memberof AnalyticsRulesApi
29904
30019
  */
29905
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, {}>>;
29906
30034
  /**
29907
30035
  * Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
29908
30036
  * @summary Get Analytics Rule