@seekora-ai/admin-api 1.0.99 → 1.0.100

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/api.ts CHANGED
@@ -1270,6 +1270,122 @@ export interface AdminV1QuerySuggestionsXStoreIDTypesenseGet200Response {
1270
1270
  */
1271
1271
  'total'?: number;
1272
1272
  }
1273
+ /**
1274
+ *
1275
+ * @export
1276
+ * @interface AnalyticsAPIUsageEvent
1277
+ */
1278
+ export interface AnalyticsAPIUsageEvent {
1279
+ /**
1280
+ *
1281
+ * @type {string}
1282
+ * @memberof AnalyticsAPIUsageEvent
1283
+ */
1284
+ 'event_id'?: string;
1285
+ /**
1286
+ *
1287
+ * @type {string}
1288
+ * @memberof AnalyticsAPIUsageEvent
1289
+ */
1290
+ 'ip'?: string;
1291
+ /**
1292
+ *
1293
+ * @type {string}
1294
+ * @memberof AnalyticsAPIUsageEvent
1295
+ */
1296
+ 'method'?: string;
1297
+ /**
1298
+ *
1299
+ * @type {number}
1300
+ * @memberof AnalyticsAPIUsageEvent
1301
+ */
1302
+ 'nb_operations'?: number;
1303
+ /**
1304
+ *
1305
+ * @type {string}
1306
+ * @memberof AnalyticsAPIUsageEvent
1307
+ */
1308
+ 'org_id'?: string;
1309
+ /**
1310
+ *
1311
+ * @type {number}
1312
+ * @memberof AnalyticsAPIUsageEvent
1313
+ */
1314
+ 'processing_time_ms'?: number;
1315
+ /**
1316
+ *
1317
+ * @type {string}
1318
+ * @memberof AnalyticsAPIUsageEvent
1319
+ */
1320
+ 'request_body'?: string;
1321
+ /**
1322
+ *
1323
+ * @type {string}
1324
+ * @memberof AnalyticsAPIUsageEvent
1325
+ */
1326
+ 'request_headers'?: string;
1327
+ /**
1328
+ *
1329
+ * @type {string}
1330
+ * @memberof AnalyticsAPIUsageEvent
1331
+ */
1332
+ 'response_body'?: string;
1333
+ /**
1334
+ *
1335
+ * @type {number}
1336
+ * @memberof AnalyticsAPIUsageEvent
1337
+ */
1338
+ 'response_code'?: number;
1339
+ /**
1340
+ *
1341
+ * @type {string}
1342
+ * @memberof AnalyticsAPIUsageEvent
1343
+ */
1344
+ 'store_id'?: string;
1345
+ /**
1346
+ *
1347
+ * @type {string}
1348
+ * @memberof AnalyticsAPIUsageEvent
1349
+ */
1350
+ 'time'?: string;
1351
+ /**
1352
+ *
1353
+ * @type {string}
1354
+ * @memberof AnalyticsAPIUsageEvent
1355
+ */
1356
+ 'url'?: string;
1357
+ }
1358
+ /**
1359
+ *
1360
+ * @export
1361
+ * @interface AnalyticsAPIUsageResponse
1362
+ */
1363
+ export interface AnalyticsAPIUsageResponse {
1364
+ /**
1365
+ *
1366
+ * @type {Array<AnalyticsAPIUsageEvent>}
1367
+ * @memberof AnalyticsAPIUsageResponse
1368
+ */
1369
+ 'data'?: Array<AnalyticsAPIUsageEvent>;
1370
+ /**
1371
+ *
1372
+ * @type {string}
1373
+ * @memberof AnalyticsAPIUsageResponse
1374
+ */
1375
+ 'message'?: string;
1376
+ /**
1377
+ *
1378
+ * @type {SeekoraGoSrcRoutesAnalyticsPaginationMeta}
1379
+ * @memberof AnalyticsAPIUsageResponse
1380
+ */
1381
+ 'meta'?: SeekoraGoSrcRoutesAnalyticsPaginationMeta;
1382
+ /**
1383
+ *
1384
+ * @type {number}
1385
+ * @memberof AnalyticsAPIUsageResponse
1386
+ */
1387
+ 'status'?: number;
1388
+ }
1273
1389
  /**
1274
1390
  *
1275
1391
  * @export
@@ -3061,10 +3177,10 @@ export interface AnalyticsGeoPopularFiltersSection {
3061
3177
  'items'?: Array<AnalyticsGeoPopularFilter>;
3062
3178
  /**
3063
3179
  *
3064
- * @type {AnalyticsPaginationMeta}
3180
+ * @type {SeekoraGoSrcAnalyticsPaginationMeta}
3065
3181
  * @memberof AnalyticsGeoPopularFiltersSection
3066
3182
  */
3067
- 'meta'?: AnalyticsPaginationMeta;
3183
+ 'meta'?: SeekoraGoSrcAnalyticsPaginationMeta;
3068
3184
  }
3069
3185
  /**
3070
3186
  *
@@ -3080,10 +3196,10 @@ export interface AnalyticsGeoPopularQueriesSection {
3080
3196
  'items'?: Array<AnalyticsGeoPopularQuery>;
3081
3197
  /**
3082
3198
  *
3083
- * @type {AnalyticsPaginationMeta}
3199
+ * @type {SeekoraGoSrcAnalyticsPaginationMeta}
3084
3200
  * @memberof AnalyticsGeoPopularQueriesSection
3085
3201
  */
3086
- 'meta'?: AnalyticsPaginationMeta;
3202
+ 'meta'?: SeekoraGoSrcAnalyticsPaginationMeta;
3087
3203
  }
3088
3204
  /**
3089
3205
  *
@@ -3324,10 +3440,10 @@ export interface AnalyticsGeoTopResultsSection {
3324
3440
  'items'?: Array<AnalyticsGeoTopResult>;
3325
3441
  /**
3326
3442
  *
3327
- * @type {AnalyticsPaginationMeta}
3443
+ * @type {SeekoraGoSrcAnalyticsPaginationMeta}
3328
3444
  * @memberof AnalyticsGeoTopResultsSection
3329
3445
  */
3330
- 'meta'?: AnalyticsPaginationMeta;
3446
+ 'meta'?: SeekoraGoSrcAnalyticsPaginationMeta;
3331
3447
  }
3332
3448
  /**
3333
3449
  *
@@ -3760,10 +3876,10 @@ export interface AnalyticsItemGeoAnalyticsSection {
3760
3876
  'items'?: Array<AnalyticsItemGeoAnalytic>;
3761
3877
  /**
3762
3878
  *
3763
- * @type {AnalyticsPaginationMeta}
3879
+ * @type {SeekoraGoSrcAnalyticsPaginationMeta}
3764
3880
  * @memberof AnalyticsItemGeoAnalyticsSection
3765
3881
  */
3766
- 'meta'?: AnalyticsPaginationMeta;
3882
+ 'meta'?: SeekoraGoSrcAnalyticsPaginationMeta;
3767
3883
  }
3768
3884
  /**
3769
3885
  *
@@ -4324,10 +4440,10 @@ export interface AnalyticsItemPopularFiltersSection {
4324
4440
  'items'?: Array<AnalyticsItemPopularFilter>;
4325
4441
  /**
4326
4442
  *
4327
- * @type {AnalyticsPaginationMeta}
4443
+ * @type {SeekoraGoSrcAnalyticsPaginationMeta}
4328
4444
  * @memberof AnalyticsItemPopularFiltersSection
4329
4445
  */
4330
- 'meta'?: AnalyticsPaginationMeta;
4446
+ 'meta'?: SeekoraGoSrcAnalyticsPaginationMeta;
4331
4447
  }
4332
4448
  /**
4333
4449
  *
@@ -4343,10 +4459,10 @@ export interface AnalyticsItemPopularQueriesSection {
4343
4459
  'items'?: Array<AnalyticsItemPopularQuery>;
4344
4460
  /**
4345
4461
  *
4346
- * @type {AnalyticsPaginationMeta}
4462
+ * @type {SeekoraGoSrcAnalyticsPaginationMeta}
4347
4463
  * @memberof AnalyticsItemPopularQueriesSection
4348
4464
  */
4349
- 'meta'?: AnalyticsPaginationMeta;
4465
+ 'meta'?: SeekoraGoSrcAnalyticsPaginationMeta;
4350
4466
  }
4351
4467
  /**
4352
4468
  *
@@ -4848,49 +4964,6 @@ export interface AnalyticsManualQuerySuggestionRequest {
4848
4964
  */
4849
4965
  'tags'?: Array<string>;
4850
4966
  }
4851
- /**
4852
- *
4853
- * @export
4854
- * @interface AnalyticsPaginationMeta
4855
- */
4856
- export interface AnalyticsPaginationMeta {
4857
- /**
4858
- *
4859
- * @type {boolean}
4860
- * @memberof AnalyticsPaginationMeta
4861
- */
4862
- 'has_next'?: boolean;
4863
- /**
4864
- *
4865
- * @type {boolean}
4866
- * @memberof AnalyticsPaginationMeta
4867
- */
4868
- 'has_previous'?: boolean;
4869
- /**
4870
- *
4871
- * @type {number}
4872
- * @memberof AnalyticsPaginationMeta
4873
- */
4874
- 'page'?: number;
4875
- /**
4876
- *
4877
- * @type {number}
4878
- * @memberof AnalyticsPaginationMeta
4879
- */
4880
- 'page_size'?: number;
4881
- /**
4882
- *
4883
- * @type {number}
4884
- * @memberof AnalyticsPaginationMeta
4885
- */
4886
- 'total_items'?: number;
4887
- /**
4888
- *
4889
- * @type {number}
4890
- * @memberof AnalyticsPaginationMeta
4891
- */
4892
- 'total_pages'?: number;
4893
- }
4894
4967
  /**
4895
4968
  *
4896
4969
  * @export
@@ -5303,10 +5376,10 @@ export interface AnalyticsQueryGeoAnalyticsSection {
5303
5376
  'items'?: Array<AnalyticsQueryGeoAnalytic>;
5304
5377
  /**
5305
5378
  *
5306
- * @type {AnalyticsPaginationMeta}
5379
+ * @type {SeekoraGoSrcAnalyticsPaginationMeta}
5307
5380
  * @memberof AnalyticsQueryGeoAnalyticsSection
5308
5381
  */
5309
- 'meta'?: AnalyticsPaginationMeta;
5382
+ 'meta'?: SeekoraGoSrcAnalyticsPaginationMeta;
5310
5383
  }
5311
5384
  /**
5312
5385
  *
@@ -5637,10 +5710,10 @@ export interface AnalyticsQueryPopularFiltersSection {
5637
5710
  'items'?: Array<AnalyticsQueryPopularFilter>;
5638
5711
  /**
5639
5712
  *
5640
- * @type {AnalyticsPaginationMeta}
5713
+ * @type {SeekoraGoSrcAnalyticsPaginationMeta}
5641
5714
  * @memberof AnalyticsQueryPopularFiltersSection
5642
5715
  */
5643
- 'meta'?: AnalyticsPaginationMeta;
5716
+ 'meta'?: SeekoraGoSrcAnalyticsPaginationMeta;
5644
5717
  }
5645
5718
  /**
5646
5719
  *
@@ -5771,10 +5844,10 @@ export interface AnalyticsQueryPopularResultsSection {
5771
5844
  'items'?: Array<AnalyticsQueryPopularResultWithWidget>;
5772
5845
  /**
5773
5846
  *
5774
- * @type {AnalyticsPaginationMeta}
5847
+ * @type {SeekoraGoSrcAnalyticsPaginationMeta}
5775
5848
  * @memberof AnalyticsQueryPopularResultsSection
5776
5849
  */
5777
- 'meta'?: AnalyticsPaginationMeta;
5850
+ 'meta'?: SeekoraGoSrcAnalyticsPaginationMeta;
5778
5851
  }
5779
5852
  /**
5780
5853
  *
@@ -13551,6 +13624,12 @@ export interface DataTypesPayInvoiceResponse {
13551
13624
  * @memberof DataTypesPayInvoiceResponse
13552
13625
  */
13553
13626
  'currency'?: string;
13627
+ /**
13628
+ * Customer details for prefill
13629
+ * @type {{ [key: string]: any; }}
13630
+ * @memberof DataTypesPayInvoiceResponse
13631
+ */
13632
+ 'customer_prefill'?: { [key: string]: any; };
13554
13633
  /**
13555
13634
  *
13556
13635
  * @type {string}
@@ -13581,6 +13660,12 @@ export interface DataTypesPayInvoiceResponse {
13581
13660
  * @memberof DataTypesPayInvoiceResponse
13582
13661
  */
13583
13662
  'payment_url'?: string;
13663
+ /**
13664
+ * Razorpay public key for frontend
13665
+ * @type {string}
13666
+ * @memberof DataTypesPayInvoiceResponse
13667
+ */
13668
+ 'razorpay_key'?: string;
13584
13669
  /**
13585
13670
  *
13586
13671
  * @type {string}
@@ -14235,6 +14320,12 @@ export interface DataTypesProfileResponse {
14235
14320
  * @memberof DataTypesProfileResponse
14236
14321
  */
14237
14322
  'firstname'?: string;
14323
+ /**
14324
+ *
14325
+ * @type {boolean}
14326
+ * @memberof DataTypesProfileResponse
14327
+ */
14328
+ 'has_password'?: boolean;
14238
14329
  /**
14239
14330
  *
14240
14331
  * @type {string}
@@ -15856,6 +15947,19 @@ export interface DataTypesServiceRequestsListResponse {
15856
15947
  */
15857
15948
  'status'?: number;
15858
15949
  }
15950
+ /**
15951
+ *
15952
+ * @export
15953
+ * @interface DataTypesSetPasswordRequest
15954
+ */
15955
+ export interface DataTypesSetPasswordRequest {
15956
+ /**
15957
+ *
15958
+ * @type {string}
15959
+ * @memberof DataTypesSetPasswordRequest
15960
+ */
15961
+ 'password': string;
15962
+ }
15859
15963
  /**
15860
15964
  *
15861
15965
  * @export
@@ -17345,6 +17449,12 @@ export interface DataTypesUser {
17345
17449
  * @memberof DataTypesUser
17346
17450
  */
17347
17451
  'firstName'?: string;
17452
+ /**
17453
+ * ✅ ADD THIS
17454
+ * @type {boolean}
17455
+ * @memberof DataTypesUser
17456
+ */
17457
+ 'has_password'?: boolean;
17348
17458
  /**
17349
17459
  *
17350
17460
  * @type {boolean}
@@ -18202,6 +18312,252 @@ export const RefundRefundPreviewRequestDtoRefundTypeEnum = {
18202
18312
 
18203
18313
  export type RefundRefundPreviewRequestDtoRefundTypeEnum = typeof RefundRefundPreviewRequestDtoRefundTypeEnum[keyof typeof RefundRefundPreviewRequestDtoRefundTypeEnum];
18204
18314
 
18315
+ /**
18316
+ *
18317
+ * @export
18318
+ * @interface SeekoraGoSrcAnalyticsPaginationMeta
18319
+ */
18320
+ export interface SeekoraGoSrcAnalyticsPaginationMeta {
18321
+ /**
18322
+ *
18323
+ * @type {boolean}
18324
+ * @memberof SeekoraGoSrcAnalyticsPaginationMeta
18325
+ */
18326
+ 'has_next'?: boolean;
18327
+ /**
18328
+ *
18329
+ * @type {boolean}
18330
+ * @memberof SeekoraGoSrcAnalyticsPaginationMeta
18331
+ */
18332
+ 'has_previous'?: boolean;
18333
+ /**
18334
+ *
18335
+ * @type {number}
18336
+ * @memberof SeekoraGoSrcAnalyticsPaginationMeta
18337
+ */
18338
+ 'page'?: number;
18339
+ /**
18340
+ *
18341
+ * @type {number}
18342
+ * @memberof SeekoraGoSrcAnalyticsPaginationMeta
18343
+ */
18344
+ 'page_size'?: number;
18345
+ /**
18346
+ *
18347
+ * @type {number}
18348
+ * @memberof SeekoraGoSrcAnalyticsPaginationMeta
18349
+ */
18350
+ 'total_items'?: number;
18351
+ /**
18352
+ *
18353
+ * @type {number}
18354
+ * @memberof SeekoraGoSrcAnalyticsPaginationMeta
18355
+ */
18356
+ 'total_pages'?: number;
18357
+ }
18358
+ /**
18359
+ *
18360
+ * @export
18361
+ * @interface SeekoraGoSrcRoutesAnalyticsPaginationMeta
18362
+ */
18363
+ export interface SeekoraGoSrcRoutesAnalyticsPaginationMeta {
18364
+ /**
18365
+ *
18366
+ * @type {number}
18367
+ * @memberof SeekoraGoSrcRoutesAnalyticsPaginationMeta
18368
+ */
18369
+ 'page'?: number;
18370
+ /**
18371
+ *
18372
+ * @type {number}
18373
+ * @memberof SeekoraGoSrcRoutesAnalyticsPaginationMeta
18374
+ */
18375
+ 'per_page'?: number;
18376
+ /**
18377
+ *
18378
+ * @type {number}
18379
+ * @memberof SeekoraGoSrcRoutesAnalyticsPaginationMeta
18380
+ */
18381
+ 'total_count'?: number;
18382
+ /**
18383
+ *
18384
+ * @type {number}
18385
+ * @memberof SeekoraGoSrcRoutesAnalyticsPaginationMeta
18386
+ */
18387
+ 'total_pages'?: number;
18388
+ }
18389
+ /**
18390
+ *
18391
+ * @export
18392
+ * @interface StoreRouteAPIUsageDetailResponse
18393
+ */
18394
+ export interface StoreRouteAPIUsageDetailResponse {
18395
+ /**
18396
+ *
18397
+ * @type {StoreRouteAPIUsageLogEntry}
18398
+ * @memberof StoreRouteAPIUsageDetailResponse
18399
+ */
18400
+ 'data'?: StoreRouteAPIUsageLogEntry;
18401
+ /**
18402
+ *
18403
+ * @type {string}
18404
+ * @memberof StoreRouteAPIUsageDetailResponse
18405
+ */
18406
+ 'message'?: string;
18407
+ /**
18408
+ *
18409
+ * @type {number}
18410
+ * @memberof StoreRouteAPIUsageDetailResponse
18411
+ */
18412
+ 'status'?: number;
18413
+ }
18414
+ /**
18415
+ *
18416
+ * @export
18417
+ * @interface StoreRouteAPIUsageListResponse
18418
+ */
18419
+ export interface StoreRouteAPIUsageListResponse {
18420
+ /**
18421
+ *
18422
+ * @type {Array<StoreRouteAPIUsageLogEntry>}
18423
+ * @memberof StoreRouteAPIUsageListResponse
18424
+ */
18425
+ 'data'?: Array<StoreRouteAPIUsageLogEntry>;
18426
+ /**
18427
+ *
18428
+ * @type {string}
18429
+ * @memberof StoreRouteAPIUsageListResponse
18430
+ */
18431
+ 'message'?: string;
18432
+ /**
18433
+ *
18434
+ * @type {StoreRoutePaginationMeta}
18435
+ * @memberof StoreRouteAPIUsageListResponse
18436
+ */
18437
+ 'meta'?: StoreRoutePaginationMeta;
18438
+ /**
18439
+ *
18440
+ * @type {number}
18441
+ * @memberof StoreRouteAPIUsageListResponse
18442
+ */
18443
+ 'status'?: number;
18444
+ }
18445
+ /**
18446
+ *
18447
+ * @export
18448
+ * @interface StoreRouteAPIUsageLogEntry
18449
+ */
18450
+ export interface StoreRouteAPIUsageLogEntry {
18451
+ /**
18452
+ *
18453
+ * @type {string}
18454
+ * @memberof StoreRouteAPIUsageLogEntry
18455
+ */
18456
+ 'event_id'?: string;
18457
+ /**
18458
+ *
18459
+ * @type {string}
18460
+ * @memberof StoreRouteAPIUsageLogEntry
18461
+ */
18462
+ 'ip'?: string;
18463
+ /**
18464
+ *
18465
+ * @type {string}
18466
+ * @memberof StoreRouteAPIUsageLogEntry
18467
+ */
18468
+ 'method'?: string;
18469
+ /**
18470
+ *
18471
+ * @type {number}
18472
+ * @memberof StoreRouteAPIUsageLogEntry
18473
+ */
18474
+ 'nb_operations'?: number;
18475
+ /**
18476
+ *
18477
+ * @type {string}
18478
+ * @memberof StoreRouteAPIUsageLogEntry
18479
+ */
18480
+ 'org_code'?: string;
18481
+ /**
18482
+ *
18483
+ * @type {number}
18484
+ * @memberof StoreRouteAPIUsageLogEntry
18485
+ */
18486
+ 'processing_time_ms'?: number;
18487
+ /**
18488
+ *
18489
+ * @type {{ [key: string]: any; }}
18490
+ * @memberof StoreRouteAPIUsageLogEntry
18491
+ */
18492
+ 'request_body'?: { [key: string]: any; };
18493
+ /**
18494
+ *
18495
+ * @type {{ [key: string]: any; }}
18496
+ * @memberof StoreRouteAPIUsageLogEntry
18497
+ */
18498
+ 'request_headers'?: { [key: string]: any; };
18499
+ /**
18500
+ *
18501
+ * @type {any}
18502
+ * @memberof StoreRouteAPIUsageLogEntry
18503
+ */
18504
+ 'response_body'?: any;
18505
+ /**
18506
+ *
18507
+ * @type {number}
18508
+ * @memberof StoreRouteAPIUsageLogEntry
18509
+ */
18510
+ 'response_code'?: number;
18511
+ /**
18512
+ *
18513
+ * @type {string}
18514
+ * @memberof StoreRouteAPIUsageLogEntry
18515
+ */
18516
+ 'store_id'?: string;
18517
+ /**
18518
+ *
18519
+ * @type {string}
18520
+ * @memberof StoreRouteAPIUsageLogEntry
18521
+ */
18522
+ 'time'?: string;
18523
+ /**
18524
+ *
18525
+ * @type {string}
18526
+ * @memberof StoreRouteAPIUsageLogEntry
18527
+ */
18528
+ 'url'?: string;
18529
+ }
18530
+ /**
18531
+ *
18532
+ * @export
18533
+ * @interface StoreRoutePaginationMeta
18534
+ */
18535
+ export interface StoreRoutePaginationMeta {
18536
+ /**
18537
+ *
18538
+ * @type {number}
18539
+ * @memberof StoreRoutePaginationMeta
18540
+ */
18541
+ 'page'?: number;
18542
+ /**
18543
+ *
18544
+ * @type {number}
18545
+ * @memberof StoreRoutePaginationMeta
18546
+ */
18547
+ 'per_page'?: number;
18548
+ /**
18549
+ *
18550
+ * @type {number}
18551
+ * @memberof StoreRoutePaginationMeta
18552
+ */
18553
+ 'total_count'?: number;
18554
+ /**
18555
+ *
18556
+ * @type {number}
18557
+ * @memberof StoreRoutePaginationMeta
18558
+ */
18559
+ 'total_pages'?: number;
18560
+ }
18205
18561
  /**
18206
18562
  *
18207
18563
  * @export
@@ -18997,6 +19353,45 @@ export const AccountSettingsApiAxiosParamCreator = function (configuration?: Con
18997
19353
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
18998
19354
  localVarRequestOptions.data = serializeDataIfNeeded(dataTypesUpdateProfileRequest, localVarRequestOptions, configuration)
18999
19355
 
19356
+ return {
19357
+ url: toPathString(localVarUrlObj),
19358
+ options: localVarRequestOptions,
19359
+ };
19360
+ },
19361
+ /**
19362
+ * Allows user to set password only if not already set (Google/GitHub signup)
19363
+ * @summary Set password for OAuth/new user
19364
+ * @param {DataTypesSetPasswordRequest} dataTypesSetPasswordRequest Set password request
19365
+ * @param {*} [options] Override http request option.
19366
+ * @throws {RequiredError}
19367
+ */
19368
+ accountSettingsSetPasswordPut: async (dataTypesSetPasswordRequest: DataTypesSetPasswordRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
19369
+ // verify required parameter 'dataTypesSetPasswordRequest' is not null or undefined
19370
+ assertParamExists('accountSettingsSetPasswordPut', 'dataTypesSetPasswordRequest', dataTypesSetPasswordRequest)
19371
+ const localVarPath = `/account-settings/set-password`;
19372
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
19373
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
19374
+ let baseOptions;
19375
+ if (configuration) {
19376
+ baseOptions = configuration.baseOptions;
19377
+ }
19378
+
19379
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
19380
+ const localVarHeaderParameter = {} as any;
19381
+ const localVarQueryParameter = {} as any;
19382
+
19383
+ // authentication BearerAuth required
19384
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
19385
+
19386
+
19387
+
19388
+ localVarHeaderParameter['Content-Type'] = 'application/json';
19389
+
19390
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
19391
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
19392
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
19393
+ localVarRequestOptions.data = serializeDataIfNeeded(dataTypesSetPasswordRequest, localVarRequestOptions, configuration)
19394
+
19000
19395
  return {
19001
19396
  url: toPathString(localVarUrlObj),
19002
19397
  options: localVarRequestOptions,
@@ -19100,6 +19495,19 @@ export const AccountSettingsApiFp = function(configuration?: Configuration) {
19100
19495
  const localVarOperationServerBasePath = operationServerMap['AccountSettingsApi.accountSettingsProfilePut']?.[localVarOperationServerIndex]?.url;
19101
19496
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
19102
19497
  },
19498
+ /**
19499
+ * Allows user to set password only if not already set (Google/GitHub signup)
19500
+ * @summary Set password for OAuth/new user
19501
+ * @param {DataTypesSetPasswordRequest} dataTypesSetPasswordRequest Set password request
19502
+ * @param {*} [options] Override http request option.
19503
+ * @throws {RequiredError}
19504
+ */
19505
+ async accountSettingsSetPasswordPut(dataTypesSetPasswordRequest: DataTypesSetPasswordRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
19506
+ const localVarAxiosArgs = await localVarAxiosParamCreator.accountSettingsSetPasswordPut(dataTypesSetPasswordRequest, options);
19507
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
19508
+ const localVarOperationServerBasePath = operationServerMap['AccountSettingsApi.accountSettingsSetPasswordPut']?.[localVarOperationServerIndex]?.url;
19509
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
19510
+ },
19103
19511
  }
19104
19512
  };
19105
19513
 
@@ -19177,6 +19585,16 @@ export const AccountSettingsApiFactory = function (configuration?: Configuration
19177
19585
  accountSettingsProfilePut(dataTypesUpdateProfileRequest: DataTypesUpdateProfileRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesProfileResponseWrapper> {
19178
19586
  return localVarFp.accountSettingsProfilePut(dataTypesUpdateProfileRequest, options).then((request) => request(axios, basePath));
19179
19587
  },
19588
+ /**
19589
+ * Allows user to set password only if not already set (Google/GitHub signup)
19590
+ * @summary Set password for OAuth/new user
19591
+ * @param {DataTypesSetPasswordRequest} dataTypesSetPasswordRequest Set password request
19592
+ * @param {*} [options] Override http request option.
19593
+ * @throws {RequiredError}
19594
+ */
19595
+ accountSettingsSetPasswordPut(dataTypesSetPasswordRequest: DataTypesSetPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
19596
+ return localVarFp.accountSettingsSetPasswordPut(dataTypesSetPasswordRequest, options).then((request) => request(axios, basePath));
19597
+ },
19180
19598
  };
19181
19599
  };
19182
19600
 
@@ -19267,6 +19685,18 @@ export class AccountSettingsApi extends BaseAPI {
19267
19685
  public accountSettingsProfilePut(dataTypesUpdateProfileRequest: DataTypesUpdateProfileRequest, options?: RawAxiosRequestConfig) {
19268
19686
  return AccountSettingsApiFp(this.configuration).accountSettingsProfilePut(dataTypesUpdateProfileRequest, options).then((request) => request(this.axios, this.basePath));
19269
19687
  }
19688
+
19689
+ /**
19690
+ * Allows user to set password only if not already set (Google/GitHub signup)
19691
+ * @summary Set password for OAuth/new user
19692
+ * @param {DataTypesSetPasswordRequest} dataTypesSetPasswordRequest Set password request
19693
+ * @param {*} [options] Override http request option.
19694
+ * @throws {RequiredError}
19695
+ * @memberof AccountSettingsApi
19696
+ */
19697
+ public accountSettingsSetPasswordPut(dataTypesSetPasswordRequest: DataTypesSetPasswordRequest, options?: RawAxiosRequestConfig) {
19698
+ return AccountSettingsApiFp(this.configuration).accountSettingsSetPasswordPut(dataTypesSetPasswordRequest, options).then((request) => request(this.axios, this.basePath));
19699
+ }
19270
19700
  }
19271
19701
 
19272
19702
 
@@ -21174,26 +21604,99 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
21174
21604
  };
21175
21605
  },
21176
21606
  /**
21177
- * Retrieve high-level summary of analytics tags usage and statistics
21178
- * @summary Get Analytics Tags Summary
21179
- * @param {string} xStoreID Store ID
21180
- * @param {string} [startTime] Start time in RFC3339 format
21181
- * @param {string} [endTime] End time in RFC3339 format
21182
- * @param {number} [limit] Maximum number of results to return (legacy - use page_size instead)
21183
- * @param {number} [offset] Offset for pagination (legacy - use page instead)
21184
- * @param {number} [page] Page number for pagination
21185
- * @param {number} [pageSize] Number of results per page
21186
- * @param {AdminAnalyticsStoreXStoreIDTagsSummaryGetSortByEnum} [sortBy] Field to sort by
21187
- * @param {AdminAnalyticsStoreXStoreIDTagsSummaryGetSortOrderEnum} [sortOrder] Sort direction
21188
- * @param {string} [sort] Combined sort parameter in format \&#39;field:direction\&#39;
21607
+ * Retrieve high-level summary of analytics tags usage and statistics
21608
+ * @summary Get Analytics Tags Summary
21609
+ * @param {string} xStoreID Store ID
21610
+ * @param {string} [startTime] Start time in RFC3339 format
21611
+ * @param {string} [endTime] End time in RFC3339 format
21612
+ * @param {number} [limit] Maximum number of results to return (legacy - use page_size instead)
21613
+ * @param {number} [offset] Offset for pagination (legacy - use page instead)
21614
+ * @param {number} [page] Page number for pagination
21615
+ * @param {number} [pageSize] Number of results per page
21616
+ * @param {AdminAnalyticsStoreXStoreIDTagsSummaryGetSortByEnum} [sortBy] Field to sort by
21617
+ * @param {AdminAnalyticsStoreXStoreIDTagsSummaryGetSortOrderEnum} [sortOrder] Sort direction
21618
+ * @param {string} [sort] Combined sort parameter in format \&#39;field:direction\&#39;
21619
+ * @param {*} [options] Override http request option.
21620
+ * @throws {RequiredError}
21621
+ */
21622
+ adminAnalyticsStoreXStoreIDTagsSummaryGet: async (xStoreID: string, startTime?: string, endTime?: string, limit?: number, offset?: number, page?: number, pageSize?: number, sortBy?: AdminAnalyticsStoreXStoreIDTagsSummaryGetSortByEnum, sortOrder?: AdminAnalyticsStoreXStoreIDTagsSummaryGetSortOrderEnum, sort?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
21623
+ // verify required parameter 'xStoreID' is not null or undefined
21624
+ assertParamExists('adminAnalyticsStoreXStoreIDTagsSummaryGet', 'xStoreID', xStoreID)
21625
+ const localVarPath = `/admin/analytics/store/{xStoreID}/tags/summary`
21626
+ .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
21627
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
21628
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
21629
+ let baseOptions;
21630
+ if (configuration) {
21631
+ baseOptions = configuration.baseOptions;
21632
+ }
21633
+
21634
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
21635
+ const localVarHeaderParameter = {} as any;
21636
+ const localVarQueryParameter = {} as any;
21637
+
21638
+ if (startTime !== undefined) {
21639
+ localVarQueryParameter['start_time'] = startTime;
21640
+ }
21641
+
21642
+ if (endTime !== undefined) {
21643
+ localVarQueryParameter['end_time'] = endTime;
21644
+ }
21645
+
21646
+ if (limit !== undefined) {
21647
+ localVarQueryParameter['limit'] = limit;
21648
+ }
21649
+
21650
+ if (offset !== undefined) {
21651
+ localVarQueryParameter['offset'] = offset;
21652
+ }
21653
+
21654
+ if (page !== undefined) {
21655
+ localVarQueryParameter['page'] = page;
21656
+ }
21657
+
21658
+ if (pageSize !== undefined) {
21659
+ localVarQueryParameter['page_size'] = pageSize;
21660
+ }
21661
+
21662
+ if (sortBy !== undefined) {
21663
+ localVarQueryParameter['sort_by'] = sortBy;
21664
+ }
21665
+
21666
+ if (sortOrder !== undefined) {
21667
+ localVarQueryParameter['sort_order'] = sortOrder;
21668
+ }
21669
+
21670
+ if (sort !== undefined) {
21671
+ localVarQueryParameter['sort'] = sort;
21672
+ }
21673
+
21674
+
21675
+
21676
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
21677
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
21678
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
21679
+
21680
+ return {
21681
+ url: toPathString(localVarUrlObj),
21682
+ options: localVarRequestOptions,
21683
+ };
21684
+ },
21685
+ /**
21686
+ * Retrieve API usage logs from ClickHouse system_events table with filtering and pagination
21687
+ * @summary Get API Usage Logs
21688
+ * @param {string} [startDate] Start date (ISO 8601 format)
21689
+ * @param {string} [endDate] End date (ISO 8601 format)
21690
+ * @param {string} [method] HTTP method filter
21691
+ * @param {string} [path] Path filter (partial match)
21692
+ * @param {string} [storeId] Store ID filter
21693
+ * @param {number} [page] Page number (default: 1)
21694
+ * @param {number} [perPage] Results per page (default: 50, max: 1000)
21189
21695
  * @param {*} [options] Override http request option.
21190
21696
  * @throws {RequiredError}
21191
21697
  */
21192
- adminAnalyticsStoreXStoreIDTagsSummaryGet: async (xStoreID: string, startTime?: string, endTime?: string, limit?: number, offset?: number, page?: number, pageSize?: number, sortBy?: AdminAnalyticsStoreXStoreIDTagsSummaryGetSortByEnum, sortOrder?: AdminAnalyticsStoreXStoreIDTagsSummaryGetSortOrderEnum, sort?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
21193
- // verify required parameter 'xStoreID' is not null or undefined
21194
- assertParamExists('adminAnalyticsStoreXStoreIDTagsSummaryGet', 'xStoreID', xStoreID)
21195
- const localVarPath = `/admin/analytics/store/{xStoreID}/tags/summary`
21196
- .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
21698
+ analyticsApiUsageGet: async (startDate?: string, endDate?: string, method?: string, path?: string, storeId?: string, page?: number, perPage?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
21699
+ const localVarPath = `/analytics/api-usage`;
21197
21700
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
21198
21701
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
21199
21702
  let baseOptions;
@@ -21205,40 +21708,97 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
21205
21708
  const localVarHeaderParameter = {} as any;
21206
21709
  const localVarQueryParameter = {} as any;
21207
21710
 
21208
- if (startTime !== undefined) {
21209
- localVarQueryParameter['start_time'] = startTime;
21711
+ // authentication BearerAuth required
21712
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
21713
+
21714
+ if (startDate !== undefined) {
21715
+ localVarQueryParameter['start_date'] = startDate;
21210
21716
  }
21211
21717
 
21212
- if (endTime !== undefined) {
21213
- localVarQueryParameter['end_time'] = endTime;
21718
+ if (endDate !== undefined) {
21719
+ localVarQueryParameter['end_date'] = endDate;
21214
21720
  }
21215
21721
 
21216
- if (limit !== undefined) {
21217
- localVarQueryParameter['limit'] = limit;
21722
+ if (method !== undefined) {
21723
+ localVarQueryParameter['method'] = method;
21218
21724
  }
21219
21725
 
21220
- if (offset !== undefined) {
21221
- localVarQueryParameter['offset'] = offset;
21726
+ if (path !== undefined) {
21727
+ localVarQueryParameter['path'] = path;
21728
+ }
21729
+
21730
+ if (storeId !== undefined) {
21731
+ localVarQueryParameter['store_id'] = storeId;
21222
21732
  }
21223
21733
 
21224
21734
  if (page !== undefined) {
21225
21735
  localVarQueryParameter['page'] = page;
21226
21736
  }
21227
21737
 
21228
- if (pageSize !== undefined) {
21229
- localVarQueryParameter['page_size'] = pageSize;
21738
+ if (perPage !== undefined) {
21739
+ localVarQueryParameter['per_page'] = perPage;
21230
21740
  }
21231
21741
 
21232
- if (sortBy !== undefined) {
21233
- localVarQueryParameter['sort_by'] = sortBy;
21742
+
21743
+
21744
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
21745
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
21746
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
21747
+
21748
+ return {
21749
+ url: toPathString(localVarUrlObj),
21750
+ options: localVarRequestOptions,
21751
+ };
21752
+ },
21753
+ /**
21754
+ * Retrieve API usage logs for a specific store from ClickHouse
21755
+ * @summary Get Store API Usage Logs
21756
+ * @param {string} storeId Store ID
21757
+ * @param {string} [startDate] Start date (ISO 8601 format)
21758
+ * @param {string} [endDate] End date (ISO 8601 format)
21759
+ * @param {string} [method] HTTP method filter
21760
+ * @param {number} [page] Page number (default: 1)
21761
+ * @param {number} [perPage] Results per page (default: 50, max: 1000)
21762
+ * @param {*} [options] Override http request option.
21763
+ * @throws {RequiredError}
21764
+ */
21765
+ analyticsApiUsageStoreStoreIdGet: async (storeId: string, startDate?: string, endDate?: string, method?: string, page?: number, perPage?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
21766
+ // verify required parameter 'storeId' is not null or undefined
21767
+ assertParamExists('analyticsApiUsageStoreStoreIdGet', 'storeId', storeId)
21768
+ const localVarPath = `/analytics/api-usage/store/{storeId}`
21769
+ .replace(`{${"storeId"}}`, encodeURIComponent(String(storeId)));
21770
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
21771
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
21772
+ let baseOptions;
21773
+ if (configuration) {
21774
+ baseOptions = configuration.baseOptions;
21234
21775
  }
21235
21776
 
21236
- if (sortOrder !== undefined) {
21237
- localVarQueryParameter['sort_order'] = sortOrder;
21777
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
21778
+ const localVarHeaderParameter = {} as any;
21779
+ const localVarQueryParameter = {} as any;
21780
+
21781
+ // authentication BearerAuth required
21782
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
21783
+
21784
+ if (startDate !== undefined) {
21785
+ localVarQueryParameter['start_date'] = startDate;
21238
21786
  }
21239
21787
 
21240
- if (sort !== undefined) {
21241
- localVarQueryParameter['sort'] = sort;
21788
+ if (endDate !== undefined) {
21789
+ localVarQueryParameter['end_date'] = endDate;
21790
+ }
21791
+
21792
+ if (method !== undefined) {
21793
+ localVarQueryParameter['method'] = method;
21794
+ }
21795
+
21796
+ if (page !== undefined) {
21797
+ localVarQueryParameter['page'] = page;
21798
+ }
21799
+
21800
+ if (perPage !== undefined) {
21801
+ localVarQueryParameter['per_page'] = perPage;
21242
21802
  }
21243
21803
 
21244
21804
 
@@ -21759,6 +22319,43 @@ export const AnalyticsApiFp = function(configuration?: Configuration) {
21759
22319
  const localVarOperationServerBasePath = operationServerMap['AnalyticsApi.adminAnalyticsStoreXStoreIDTagsSummaryGet']?.[localVarOperationServerIndex]?.url;
21760
22320
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
21761
22321
  },
22322
+ /**
22323
+ * Retrieve API usage logs from ClickHouse system_events table with filtering and pagination
22324
+ * @summary Get API Usage Logs
22325
+ * @param {string} [startDate] Start date (ISO 8601 format)
22326
+ * @param {string} [endDate] End date (ISO 8601 format)
22327
+ * @param {string} [method] HTTP method filter
22328
+ * @param {string} [path] Path filter (partial match)
22329
+ * @param {string} [storeId] Store ID filter
22330
+ * @param {number} [page] Page number (default: 1)
22331
+ * @param {number} [perPage] Results per page (default: 50, max: 1000)
22332
+ * @param {*} [options] Override http request option.
22333
+ * @throws {RequiredError}
22334
+ */
22335
+ async analyticsApiUsageGet(startDate?: string, endDate?: string, method?: string, path?: string, storeId?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AnalyticsAPIUsageResponse>> {
22336
+ const localVarAxiosArgs = await localVarAxiosParamCreator.analyticsApiUsageGet(startDate, endDate, method, path, storeId, page, perPage, options);
22337
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
22338
+ const localVarOperationServerBasePath = operationServerMap['AnalyticsApi.analyticsApiUsageGet']?.[localVarOperationServerIndex]?.url;
22339
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
22340
+ },
22341
+ /**
22342
+ * Retrieve API usage logs for a specific store from ClickHouse
22343
+ * @summary Get Store API Usage Logs
22344
+ * @param {string} storeId Store ID
22345
+ * @param {string} [startDate] Start date (ISO 8601 format)
22346
+ * @param {string} [endDate] End date (ISO 8601 format)
22347
+ * @param {string} [method] HTTP method filter
22348
+ * @param {number} [page] Page number (default: 1)
22349
+ * @param {number} [perPage] Results per page (default: 50, max: 1000)
22350
+ * @param {*} [options] Override http request option.
22351
+ * @throws {RequiredError}
22352
+ */
22353
+ async analyticsApiUsageStoreStoreIdGet(storeId: string, startDate?: string, endDate?: string, method?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AnalyticsAPIUsageResponse>> {
22354
+ const localVarAxiosArgs = await localVarAxiosParamCreator.analyticsApiUsageStoreStoreIdGet(storeId, startDate, endDate, method, page, perPage, options);
22355
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
22356
+ const localVarOperationServerBasePath = operationServerMap['AnalyticsApi.analyticsApiUsageStoreStoreIdGet']?.[localVarOperationServerIndex]?.url;
22357
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
22358
+ },
21762
22359
  }
21763
22360
  };
21764
22361
 
@@ -22212,6 +22809,37 @@ export const AnalyticsApiFactory = function (configuration?: Configuration, base
22212
22809
  adminAnalyticsStoreXStoreIDTagsSummaryGet(xStoreID: string, startTime?: string, endTime?: string, limit?: number, offset?: number, page?: number, pageSize?: number, sortBy?: AdminAnalyticsStoreXStoreIDTagsSummaryGetSortByEnum, sortOrder?: AdminAnalyticsStoreXStoreIDTagsSummaryGetSortOrderEnum, sort?: string, options?: RawAxiosRequestConfig): AxiosPromise<AnalyticsAnalyticsAPIResponse> {
22213
22810
  return localVarFp.adminAnalyticsStoreXStoreIDTagsSummaryGet(xStoreID, startTime, endTime, limit, offset, page, pageSize, sortBy, sortOrder, sort, options).then((request) => request(axios, basePath));
22214
22811
  },
22812
+ /**
22813
+ * Retrieve API usage logs from ClickHouse system_events table with filtering and pagination
22814
+ * @summary Get API Usage Logs
22815
+ * @param {string} [startDate] Start date (ISO 8601 format)
22816
+ * @param {string} [endDate] End date (ISO 8601 format)
22817
+ * @param {string} [method] HTTP method filter
22818
+ * @param {string} [path] Path filter (partial match)
22819
+ * @param {string} [storeId] Store ID filter
22820
+ * @param {number} [page] Page number (default: 1)
22821
+ * @param {number} [perPage] Results per page (default: 50, max: 1000)
22822
+ * @param {*} [options] Override http request option.
22823
+ * @throws {RequiredError}
22824
+ */
22825
+ analyticsApiUsageGet(startDate?: string, endDate?: string, method?: string, path?: string, storeId?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): AxiosPromise<AnalyticsAPIUsageResponse> {
22826
+ return localVarFp.analyticsApiUsageGet(startDate, endDate, method, path, storeId, page, perPage, options).then((request) => request(axios, basePath));
22827
+ },
22828
+ /**
22829
+ * Retrieve API usage logs for a specific store from ClickHouse
22830
+ * @summary Get Store API Usage Logs
22831
+ * @param {string} storeId Store ID
22832
+ * @param {string} [startDate] Start date (ISO 8601 format)
22833
+ * @param {string} [endDate] End date (ISO 8601 format)
22834
+ * @param {string} [method] HTTP method filter
22835
+ * @param {number} [page] Page number (default: 1)
22836
+ * @param {number} [perPage] Results per page (default: 50, max: 1000)
22837
+ * @param {*} [options] Override http request option.
22838
+ * @throws {RequiredError}
22839
+ */
22840
+ analyticsApiUsageStoreStoreIdGet(storeId: string, startDate?: string, endDate?: string, method?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): AxiosPromise<AnalyticsAPIUsageResponse> {
22841
+ return localVarFp.analyticsApiUsageStoreStoreIdGet(storeId, startDate, endDate, method, page, perPage, options).then((request) => request(axios, basePath));
22842
+ },
22215
22843
  };
22216
22844
  };
22217
22845
 
@@ -22700,6 +23328,41 @@ export class AnalyticsApi extends BaseAPI {
22700
23328
  public adminAnalyticsStoreXStoreIDTagsSummaryGet(xStoreID: string, startTime?: string, endTime?: string, limit?: number, offset?: number, page?: number, pageSize?: number, sortBy?: AdminAnalyticsStoreXStoreIDTagsSummaryGetSortByEnum, sortOrder?: AdminAnalyticsStoreXStoreIDTagsSummaryGetSortOrderEnum, sort?: string, options?: RawAxiosRequestConfig) {
22701
23329
  return AnalyticsApiFp(this.configuration).adminAnalyticsStoreXStoreIDTagsSummaryGet(xStoreID, startTime, endTime, limit, offset, page, pageSize, sortBy, sortOrder, sort, options).then((request) => request(this.axios, this.basePath));
22702
23330
  }
23331
+
23332
+ /**
23333
+ * Retrieve API usage logs from ClickHouse system_events table with filtering and pagination
23334
+ * @summary Get API Usage Logs
23335
+ * @param {string} [startDate] Start date (ISO 8601 format)
23336
+ * @param {string} [endDate] End date (ISO 8601 format)
23337
+ * @param {string} [method] HTTP method filter
23338
+ * @param {string} [path] Path filter (partial match)
23339
+ * @param {string} [storeId] Store ID filter
23340
+ * @param {number} [page] Page number (default: 1)
23341
+ * @param {number} [perPage] Results per page (default: 50, max: 1000)
23342
+ * @param {*} [options] Override http request option.
23343
+ * @throws {RequiredError}
23344
+ * @memberof AnalyticsApi
23345
+ */
23346
+ public analyticsApiUsageGet(startDate?: string, endDate?: string, method?: string, path?: string, storeId?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig) {
23347
+ return AnalyticsApiFp(this.configuration).analyticsApiUsageGet(startDate, endDate, method, path, storeId, page, perPage, options).then((request) => request(this.axios, this.basePath));
23348
+ }
23349
+
23350
+ /**
23351
+ * Retrieve API usage logs for a specific store from ClickHouse
23352
+ * @summary Get Store API Usage Logs
23353
+ * @param {string} storeId Store ID
23354
+ * @param {string} [startDate] Start date (ISO 8601 format)
23355
+ * @param {string} [endDate] End date (ISO 8601 format)
23356
+ * @param {string} [method] HTTP method filter
23357
+ * @param {number} [page] Page number (default: 1)
23358
+ * @param {number} [perPage] Results per page (default: 50, max: 1000)
23359
+ * @param {*} [options] Override http request option.
23360
+ * @throws {RequiredError}
23361
+ * @memberof AnalyticsApi
23362
+ */
23363
+ public analyticsApiUsageStoreStoreIdGet(storeId: string, startDate?: string, endDate?: string, method?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig) {
23364
+ return AnalyticsApiFp(this.configuration).analyticsApiUsageStoreStoreIdGet(storeId, startDate, endDate, method, page, perPage, options).then((request) => request(this.axios, this.basePath));
23365
+ }
22703
23366
  }
22704
23367
 
22705
23368
  /**
@@ -26301,10 +26964,10 @@ export const BillingDashboardApiAxiosParamCreator = function (configuration?: Co
26301
26964
  };
26302
26965
  },
26303
26966
  /**
26304
- * Retrieves invoices with filtering options
26967
+ * Retrieves paginated list of invoices with filtering options for the authenticated user\'s organization. Returns analytics-compatible pagination object.
26305
26968
  * @summary Get invoices
26306
- * @param {number} [orgId] Organization ID
26307
- * @param {string} [status] Invoice status
26969
+ * @param {number} [orgId] Organization ID (defaults to user\&#39;s org)
26970
+ * @param {string} [status] Invoice status (draft, sent, paid, overdue, cancelled)
26308
26971
  * @param {string} [startDate] Start date (YYYY-MM-DD format)
26309
26972
  * @param {string} [endDate] End date (YYYY-MM-DD format)
26310
26973
  * @param {number} [page] Page number (default: 1)
@@ -27170,10 +27833,10 @@ export const BillingDashboardApiFp = function(configuration?: Configuration) {
27170
27833
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
27171
27834
  },
27172
27835
  /**
27173
- * Retrieves invoices with filtering options
27836
+ * Retrieves paginated list of invoices with filtering options for the authenticated user\'s organization. Returns analytics-compatible pagination object.
27174
27837
  * @summary Get invoices
27175
- * @param {number} [orgId] Organization ID
27176
- * @param {string} [status] Invoice status
27838
+ * @param {number} [orgId] Organization ID (defaults to user\&#39;s org)
27839
+ * @param {string} [status] Invoice status (draft, sent, paid, overdue, cancelled)
27177
27840
  * @param {string} [startDate] Start date (YYYY-MM-DD format)
27178
27841
  * @param {string} [endDate] End date (YYYY-MM-DD format)
27179
27842
  * @param {number} [page] Page number (default: 1)
@@ -27529,10 +28192,10 @@ export const BillingDashboardApiFactory = function (configuration?: Configuratio
27529
28192
  return localVarFp.adminBillingInvoicesGeneratePaymentIdPost(paymentId, options).then((request) => request(axios, basePath));
27530
28193
  },
27531
28194
  /**
27532
- * Retrieves invoices with filtering options
28195
+ * Retrieves paginated list of invoices with filtering options for the authenticated user\'s organization. Returns analytics-compatible pagination object.
27533
28196
  * @summary Get invoices
27534
- * @param {number} [orgId] Organization ID
27535
- * @param {string} [status] Invoice status
28197
+ * @param {number} [orgId] Organization ID (defaults to user\&#39;s org)
28198
+ * @param {string} [status] Invoice status (draft, sent, paid, overdue, cancelled)
27536
28199
  * @param {string} [startDate] Start date (YYYY-MM-DD format)
27537
28200
  * @param {string} [endDate] End date (YYYY-MM-DD format)
27538
28201
  * @param {number} [page] Page number (default: 1)
@@ -27865,10 +28528,10 @@ export class BillingDashboardApi extends BaseAPI {
27865
28528
  }
27866
28529
 
27867
28530
  /**
27868
- * Retrieves invoices with filtering options
28531
+ * Retrieves paginated list of invoices with filtering options for the authenticated user\'s organization. Returns analytics-compatible pagination object.
27869
28532
  * @summary Get invoices
27870
- * @param {number} [orgId] Organization ID
27871
- * @param {string} [status] Invoice status
28533
+ * @param {number} [orgId] Organization ID (defaults to user\&#39;s org)
28534
+ * @param {string} [status] Invoice status (draft, sent, paid, overdue, cancelled)
27872
28535
  * @param {string} [startDate] Start date (YYYY-MM-DD format)
27873
28536
  * @param {string} [endDate] End date (YYYY-MM-DD format)
27874
28537
  * @param {number} [page] Page number (default: 1)
@@ -47441,6 +48104,114 @@ export const StoresApiAxiosParamCreator = function (configuration?: Configuratio
47441
48104
 
47442
48105
 
47443
48106
 
48107
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
48108
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
48109
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
48110
+
48111
+ return {
48112
+ url: toPathString(localVarUrlObj),
48113
+ options: localVarRequestOptions,
48114
+ };
48115
+ },
48116
+ /**
48117
+ * Retrieve detailed information for a specific API usage event including headers, request body, and response body
48118
+ * @summary Get Specific API Usage Event
48119
+ * @param {string} xStoreID Store ID
48120
+ * @param {string} eventID Event ID (UUID)
48121
+ * @param {*} [options] Override http request option.
48122
+ * @throws {RequiredError}
48123
+ */
48124
+ adminStoresXStoreIDApiUsageEventIDGet: async (xStoreID: string, eventID: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
48125
+ // verify required parameter 'xStoreID' is not null or undefined
48126
+ assertParamExists('adminStoresXStoreIDApiUsageEventIDGet', 'xStoreID', xStoreID)
48127
+ // verify required parameter 'eventID' is not null or undefined
48128
+ assertParamExists('adminStoresXStoreIDApiUsageEventIDGet', 'eventID', eventID)
48129
+ const localVarPath = `/admin/Stores/{xStoreID}/api-usage/{eventID}`
48130
+ .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)))
48131
+ .replace(`{${"eventID"}}`, encodeURIComponent(String(eventID)));
48132
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
48133
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
48134
+ let baseOptions;
48135
+ if (configuration) {
48136
+ baseOptions = configuration.baseOptions;
48137
+ }
48138
+
48139
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
48140
+ const localVarHeaderParameter = {} as any;
48141
+ const localVarQueryParameter = {} as any;
48142
+
48143
+ // authentication BearerAuth required
48144
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
48145
+
48146
+
48147
+
48148
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
48149
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
48150
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
48151
+
48152
+ return {
48153
+ url: toPathString(localVarUrlObj),
48154
+ options: localVarRequestOptions,
48155
+ };
48156
+ },
48157
+ /**
48158
+ * Retrieve API usage logs for a specific store from ClickHouse with filtering and pagination
48159
+ * @summary Get API Usage Logs for Store
48160
+ * @param {string} xStoreID Store ID
48161
+ * @param {string} [startDate] Start date (ISO 8601 format)
48162
+ * @param {string} [endDate] End date (ISO 8601 format)
48163
+ * @param {string} [method] HTTP method filter
48164
+ * @param {string} [path] Path filter (partial match)
48165
+ * @param {number} [page] Page number (default: 1)
48166
+ * @param {number} [perPage] Results per page (default: 50, max: 1000)
48167
+ * @param {*} [options] Override http request option.
48168
+ * @throws {RequiredError}
48169
+ */
48170
+ adminStoresXStoreIDApiUsageGet: async (xStoreID: string, startDate?: string, endDate?: string, method?: string, path?: string, page?: number, perPage?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
48171
+ // verify required parameter 'xStoreID' is not null or undefined
48172
+ assertParamExists('adminStoresXStoreIDApiUsageGet', 'xStoreID', xStoreID)
48173
+ const localVarPath = `/admin/Stores/{xStoreID}/api-usage`
48174
+ .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
48175
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
48176
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
48177
+ let baseOptions;
48178
+ if (configuration) {
48179
+ baseOptions = configuration.baseOptions;
48180
+ }
48181
+
48182
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
48183
+ const localVarHeaderParameter = {} as any;
48184
+ const localVarQueryParameter = {} as any;
48185
+
48186
+ // authentication BearerAuth required
48187
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
48188
+
48189
+ if (startDate !== undefined) {
48190
+ localVarQueryParameter['start_date'] = startDate;
48191
+ }
48192
+
48193
+ if (endDate !== undefined) {
48194
+ localVarQueryParameter['end_date'] = endDate;
48195
+ }
48196
+
48197
+ if (method !== undefined) {
48198
+ localVarQueryParameter['method'] = method;
48199
+ }
48200
+
48201
+ if (path !== undefined) {
48202
+ localVarQueryParameter['path'] = path;
48203
+ }
48204
+
48205
+ if (page !== undefined) {
48206
+ localVarQueryParameter['page'] = page;
48207
+ }
48208
+
48209
+ if (perPage !== undefined) {
48210
+ localVarQueryParameter['per_page'] = perPage;
48211
+ }
48212
+
48213
+
48214
+
47444
48215
  setSearchParams(localVarUrlObj, localVarQueryParameter);
47445
48216
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
47446
48217
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -47679,20 +48450,18 @@ export const StoresApiAxiosParamCreator = function (configuration?: Configuratio
47679
48450
  };
47680
48451
  },
47681
48452
  /**
47682
- * Perform search on a specific store by xStoreID
48453
+ * Perform search on a specific store by xStoreID. Empty query string returns all results.
47683
48454
  * @summary Get store search results
47684
48455
  * @param {string} xStoreID X-Store ID
47685
- * @param {string} query Search query
48456
+ * @param {string} [query] Search query (empty returns all results)
47686
48457
  * @param {number} [page] Page number
47687
48458
  * @param {number} [pageSize] Page size
47688
48459
  * @param {*} [options] Override http request option.
47689
48460
  * @throws {RequiredError}
47690
48461
  */
47691
- adminStoresXStoreIDSearchGet: async (xStoreID: string, query: string, page?: number, pageSize?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
48462
+ adminStoresXStoreIDSearchGet: async (xStoreID: string, query?: string, page?: number, pageSize?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
47692
48463
  // verify required parameter 'xStoreID' is not null or undefined
47693
48464
  assertParamExists('adminStoresXStoreIDSearchGet', 'xStoreID', xStoreID)
47694
- // verify required parameter 'query' is not null or undefined
47695
- assertParamExists('adminStoresXStoreIDSearchGet', 'query', query)
47696
48465
  const localVarPath = `/admin/stores/{xStoreID}/search`
47697
48466
  .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
47698
48467
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -47892,6 +48661,39 @@ export const StoresApiFp = function(configuration?: Configuration) {
47892
48661
  const localVarOperationServerBasePath = operationServerMap['StoresApi.adminStoresUpdateStatusIdStatusPut']?.[localVarOperationServerIndex]?.url;
47893
48662
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
47894
48663
  },
48664
+ /**
48665
+ * Retrieve detailed information for a specific API usage event including headers, request body, and response body
48666
+ * @summary Get Specific API Usage Event
48667
+ * @param {string} xStoreID Store ID
48668
+ * @param {string} eventID Event ID (UUID)
48669
+ * @param {*} [options] Override http request option.
48670
+ * @throws {RequiredError}
48671
+ */
48672
+ async adminStoresXStoreIDApiUsageEventIDGet(xStoreID: string, eventID: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StoreRouteAPIUsageDetailResponse>> {
48673
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminStoresXStoreIDApiUsageEventIDGet(xStoreID, eventID, options);
48674
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
48675
+ const localVarOperationServerBasePath = operationServerMap['StoresApi.adminStoresXStoreIDApiUsageEventIDGet']?.[localVarOperationServerIndex]?.url;
48676
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
48677
+ },
48678
+ /**
48679
+ * Retrieve API usage logs for a specific store from ClickHouse with filtering and pagination
48680
+ * @summary Get API Usage Logs for Store
48681
+ * @param {string} xStoreID Store ID
48682
+ * @param {string} [startDate] Start date (ISO 8601 format)
48683
+ * @param {string} [endDate] End date (ISO 8601 format)
48684
+ * @param {string} [method] HTTP method filter
48685
+ * @param {string} [path] Path filter (partial match)
48686
+ * @param {number} [page] Page number (default: 1)
48687
+ * @param {number} [perPage] Results per page (default: 50, max: 1000)
48688
+ * @param {*} [options] Override http request option.
48689
+ * @throws {RequiredError}
48690
+ */
48691
+ async adminStoresXStoreIDApiUsageGet(xStoreID: string, startDate?: string, endDate?: string, method?: string, path?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StoreRouteAPIUsageListResponse>> {
48692
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminStoresXStoreIDApiUsageGet(xStoreID, startDate, endDate, method, path, page, perPage, options);
48693
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
48694
+ const localVarOperationServerBasePath = operationServerMap['StoresApi.adminStoresXStoreIDApiUsageGet']?.[localVarOperationServerIndex]?.url;
48695
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
48696
+ },
47895
48697
  /**
47896
48698
  * Retrieves the store configuration using x-store ID
47897
48699
  * @summary Get Store Config
@@ -47972,16 +48774,16 @@ export const StoresApiFp = function(configuration?: Configuration) {
47972
48774
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
47973
48775
  },
47974
48776
  /**
47975
- * Perform search on a specific store by xStoreID
48777
+ * Perform search on a specific store by xStoreID. Empty query string returns all results.
47976
48778
  * @summary Get store search results
47977
48779
  * @param {string} xStoreID X-Store ID
47978
- * @param {string} query Search query
48780
+ * @param {string} [query] Search query (empty returns all results)
47979
48781
  * @param {number} [page] Page number
47980
48782
  * @param {number} [pageSize] Page size
47981
48783
  * @param {*} [options] Override http request option.
47982
48784
  * @throws {RequiredError}
47983
48785
  */
47984
- async adminStoresXStoreIDSearchGet(xStoreID: string, query: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesOnboardingTestSearchResponseWrapper>> {
48786
+ async adminStoresXStoreIDSearchGet(xStoreID: string, query?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesOnboardingTestSearchResponseWrapper>> {
47985
48787
  const localVarAxiosArgs = await localVarAxiosParamCreator.adminStoresXStoreIDSearchGet(xStoreID, query, page, pageSize, options);
47986
48788
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
47987
48789
  const localVarOperationServerBasePath = operationServerMap['StoresApi.adminStoresXStoreIDSearchGet']?.[localVarOperationServerIndex]?.url;
@@ -48076,6 +48878,33 @@ export const StoresApiFactory = function (configuration?: Configuration, basePat
48076
48878
  adminStoresUpdateStatusIdStatusPut(id: number, status: boolean, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
48077
48879
  return localVarFp.adminStoresUpdateStatusIdStatusPut(id, status, options).then((request) => request(axios, basePath));
48078
48880
  },
48881
+ /**
48882
+ * Retrieve detailed information for a specific API usage event including headers, request body, and response body
48883
+ * @summary Get Specific API Usage Event
48884
+ * @param {string} xStoreID Store ID
48885
+ * @param {string} eventID Event ID (UUID)
48886
+ * @param {*} [options] Override http request option.
48887
+ * @throws {RequiredError}
48888
+ */
48889
+ adminStoresXStoreIDApiUsageEventIDGet(xStoreID: string, eventID: string, options?: RawAxiosRequestConfig): AxiosPromise<StoreRouteAPIUsageDetailResponse> {
48890
+ return localVarFp.adminStoresXStoreIDApiUsageEventIDGet(xStoreID, eventID, options).then((request) => request(axios, basePath));
48891
+ },
48892
+ /**
48893
+ * Retrieve API usage logs for a specific store from ClickHouse with filtering and pagination
48894
+ * @summary Get API Usage Logs for Store
48895
+ * @param {string} xStoreID Store ID
48896
+ * @param {string} [startDate] Start date (ISO 8601 format)
48897
+ * @param {string} [endDate] End date (ISO 8601 format)
48898
+ * @param {string} [method] HTTP method filter
48899
+ * @param {string} [path] Path filter (partial match)
48900
+ * @param {number} [page] Page number (default: 1)
48901
+ * @param {number} [perPage] Results per page (default: 50, max: 1000)
48902
+ * @param {*} [options] Override http request option.
48903
+ * @throws {RequiredError}
48904
+ */
48905
+ adminStoresXStoreIDApiUsageGet(xStoreID: string, startDate?: string, endDate?: string, method?: string, path?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): AxiosPromise<StoreRouteAPIUsageListResponse> {
48906
+ return localVarFp.adminStoresXStoreIDApiUsageGet(xStoreID, startDate, endDate, method, path, page, perPage, options).then((request) => request(axios, basePath));
48907
+ },
48079
48908
  /**
48080
48909
  * Retrieves the store configuration using x-store ID
48081
48910
  * @summary Get Store Config
@@ -48138,16 +48967,16 @@ export const StoresApiFactory = function (configuration?: Configuration, basePat
48138
48967
  return localVarFp.adminStoresXStoreIDSchemaOptionsGet(xStoreID, options).then((request) => request(axios, basePath));
48139
48968
  },
48140
48969
  /**
48141
- * Perform search on a specific store by xStoreID
48970
+ * Perform search on a specific store by xStoreID. Empty query string returns all results.
48142
48971
  * @summary Get store search results
48143
48972
  * @param {string} xStoreID X-Store ID
48144
- * @param {string} query Search query
48973
+ * @param {string} [query] Search query (empty returns all results)
48145
48974
  * @param {number} [page] Page number
48146
48975
  * @param {number} [pageSize] Page size
48147
48976
  * @param {*} [options] Override http request option.
48148
48977
  * @throws {RequiredError}
48149
48978
  */
48150
- adminStoresXStoreIDSearchGet(xStoreID: string, query: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesOnboardingTestSearchResponseWrapper> {
48979
+ adminStoresXStoreIDSearchGet(xStoreID: string, query?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesOnboardingTestSearchResponseWrapper> {
48151
48980
  return localVarFp.adminStoresXStoreIDSearchGet(xStoreID, query, page, pageSize, options).then((request) => request(axios, basePath));
48152
48981
  },
48153
48982
  /**
@@ -48243,6 +49072,37 @@ export class StoresApi extends BaseAPI {
48243
49072
  return StoresApiFp(this.configuration).adminStoresUpdateStatusIdStatusPut(id, status, options).then((request) => request(this.axios, this.basePath));
48244
49073
  }
48245
49074
 
49075
+ /**
49076
+ * Retrieve detailed information for a specific API usage event including headers, request body, and response body
49077
+ * @summary Get Specific API Usage Event
49078
+ * @param {string} xStoreID Store ID
49079
+ * @param {string} eventID Event ID (UUID)
49080
+ * @param {*} [options] Override http request option.
49081
+ * @throws {RequiredError}
49082
+ * @memberof StoresApi
49083
+ */
49084
+ public adminStoresXStoreIDApiUsageEventIDGet(xStoreID: string, eventID: string, options?: RawAxiosRequestConfig) {
49085
+ return StoresApiFp(this.configuration).adminStoresXStoreIDApiUsageEventIDGet(xStoreID, eventID, options).then((request) => request(this.axios, this.basePath));
49086
+ }
49087
+
49088
+ /**
49089
+ * Retrieve API usage logs for a specific store from ClickHouse with filtering and pagination
49090
+ * @summary Get API Usage Logs for Store
49091
+ * @param {string} xStoreID Store ID
49092
+ * @param {string} [startDate] Start date (ISO 8601 format)
49093
+ * @param {string} [endDate] End date (ISO 8601 format)
49094
+ * @param {string} [method] HTTP method filter
49095
+ * @param {string} [path] Path filter (partial match)
49096
+ * @param {number} [page] Page number (default: 1)
49097
+ * @param {number} [perPage] Results per page (default: 50, max: 1000)
49098
+ * @param {*} [options] Override http request option.
49099
+ * @throws {RequiredError}
49100
+ * @memberof StoresApi
49101
+ */
49102
+ public adminStoresXStoreIDApiUsageGet(xStoreID: string, startDate?: string, endDate?: string, method?: string, path?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig) {
49103
+ return StoresApiFp(this.configuration).adminStoresXStoreIDApiUsageGet(xStoreID, startDate, endDate, method, path, page, perPage, options).then((request) => request(this.axios, this.basePath));
49104
+ }
49105
+
48246
49106
  /**
48247
49107
  * Retrieves the store configuration using x-store ID
48248
49108
  * @summary Get Store Config
@@ -48317,17 +49177,17 @@ export class StoresApi extends BaseAPI {
48317
49177
  }
48318
49178
 
48319
49179
  /**
48320
- * Perform search on a specific store by xStoreID
49180
+ * Perform search on a specific store by xStoreID. Empty query string returns all results.
48321
49181
  * @summary Get store search results
48322
49182
  * @param {string} xStoreID X-Store ID
48323
- * @param {string} query Search query
49183
+ * @param {string} [query] Search query (empty returns all results)
48324
49184
  * @param {number} [page] Page number
48325
49185
  * @param {number} [pageSize] Page size
48326
49186
  * @param {*} [options] Override http request option.
48327
49187
  * @throws {RequiredError}
48328
49188
  * @memberof StoresApi
48329
49189
  */
48330
- public adminStoresXStoreIDSearchGet(xStoreID: string, query: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig) {
49190
+ public adminStoresXStoreIDSearchGet(xStoreID: string, query?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig) {
48331
49191
  return StoresApiFp(this.configuration).adminStoresXStoreIDSearchGet(xStoreID, query, page, pageSize, options).then((request) => request(this.axios, this.basePath));
48332
49192
  }
48333
49193