@seekora-ai/admin-api 1.1.20 → 1.1.22

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
@@ -9924,6 +9924,49 @@ export interface DataTypesCreditPlanDetails {
9924
9924
  */
9925
9925
  'validity_days'?: number;
9926
9926
  }
9927
+ /**
9928
+ *
9929
+ * @export
9930
+ * @interface DataTypesCreditsConsumedGraphResponse
9931
+ */
9932
+ export interface DataTypesCreditsConsumedGraphResponse {
9933
+ /**
9934
+ *
9935
+ * @type {Array<DataTypesTimeSeriesDataPoint>}
9936
+ * @memberof DataTypesCreditsConsumedGraphResponse
9937
+ */
9938
+ 'data_points'?: Array<DataTypesTimeSeriesDataPoint>;
9939
+ /**
9940
+ *
9941
+ * @type {string}
9942
+ * @memberof DataTypesCreditsConsumedGraphResponse
9943
+ */
9944
+ 'granularity'?: string;
9945
+ /**
9946
+ *
9947
+ * @type {DataTypesPeriodInfo}
9948
+ * @memberof DataTypesCreditsConsumedGraphResponse
9949
+ */
9950
+ 'period'?: DataTypesPeriodInfo;
9951
+ /**
9952
+ * XStoreID if filtered
9953
+ * @type {string}
9954
+ * @memberof DataTypesCreditsConsumedGraphResponse
9955
+ */
9956
+ 'store_filter'?: string;
9957
+ /**
9958
+ *
9959
+ * @type {number}
9960
+ * @memberof DataTypesCreditsConsumedGraphResponse
9961
+ */
9962
+ 'store_id'?: number;
9963
+ /**
9964
+ *
9965
+ * @type {number}
9966
+ * @memberof DataTypesCreditsConsumedGraphResponse
9967
+ */
9968
+ 'total_credits'?: number;
9969
+ }
9927
9970
  /**
9928
9971
  *
9929
9972
  * @export
@@ -11314,6 +11357,31 @@ export interface DataTypesGatewayListResponse {
11314
11357
  */
11315
11358
  'gateways'?: Array<DataTypesGatewayInfo>;
11316
11359
  }
11360
+ /**
11361
+ *
11362
+ * @export
11363
+ * @interface DataTypesGenericResponseAny
11364
+ */
11365
+ export interface DataTypesGenericResponseAny {
11366
+ /**
11367
+ *
11368
+ * @type {any}
11369
+ * @memberof DataTypesGenericResponseAny
11370
+ */
11371
+ 'data'?: any;
11372
+ /**
11373
+ *
11374
+ * @type {string}
11375
+ * @memberof DataTypesGenericResponseAny
11376
+ */
11377
+ 'message'?: string;
11378
+ /**
11379
+ *
11380
+ * @type {number}
11381
+ * @memberof DataTypesGenericResponseAny
11382
+ */
11383
+ 'status'?: number;
11384
+ }
11317
11385
  /**
11318
11386
  *
11319
11387
  * @export
@@ -11339,6 +11407,31 @@ export interface DataTypesGenericResponseDataTypesBillingOrderDetailsResponse {
11339
11407
  */
11340
11408
  'status'?: number;
11341
11409
  }
11410
+ /**
11411
+ *
11412
+ * @export
11413
+ * @interface DataTypesGenericResponseDataTypesCreditsConsumedGraphResponse
11414
+ */
11415
+ export interface DataTypesGenericResponseDataTypesCreditsConsumedGraphResponse {
11416
+ /**
11417
+ *
11418
+ * @type {DataTypesCreditsConsumedGraphResponse}
11419
+ * @memberof DataTypesGenericResponseDataTypesCreditsConsumedGraphResponse
11420
+ */
11421
+ 'data'?: DataTypesCreditsConsumedGraphResponse;
11422
+ /**
11423
+ *
11424
+ * @type {string}
11425
+ * @memberof DataTypesGenericResponseDataTypesCreditsConsumedGraphResponse
11426
+ */
11427
+ 'message'?: string;
11428
+ /**
11429
+ *
11430
+ * @type {number}
11431
+ * @memberof DataTypesGenericResponseDataTypesCreditsConsumedGraphResponse
11432
+ */
11433
+ 'status'?: number;
11434
+ }
11342
11435
  /**
11343
11436
  *
11344
11437
  * @export
@@ -11489,6 +11582,31 @@ export interface DataTypesGenericResponseDataTypesReceipt {
11489
11582
  */
11490
11583
  'status'?: number;
11491
11584
  }
11585
+ /**
11586
+ *
11587
+ * @export
11588
+ * @interface DataTypesGenericResponseDataTypesSearchRequestsGraphResponse
11589
+ */
11590
+ export interface DataTypesGenericResponseDataTypesSearchRequestsGraphResponse {
11591
+ /**
11592
+ *
11593
+ * @type {DataTypesSearchRequestsGraphResponse}
11594
+ * @memberof DataTypesGenericResponseDataTypesSearchRequestsGraphResponse
11595
+ */
11596
+ 'data'?: DataTypesSearchRequestsGraphResponse;
11597
+ /**
11598
+ *
11599
+ * @type {string}
11600
+ * @memberof DataTypesGenericResponseDataTypesSearchRequestsGraphResponse
11601
+ */
11602
+ 'message'?: string;
11603
+ /**
11604
+ *
11605
+ * @type {number}
11606
+ * @memberof DataTypesGenericResponseDataTypesSearchRequestsGraphResponse
11607
+ */
11608
+ 'status'?: number;
11609
+ }
11492
11610
  /**
11493
11611
  *
11494
11612
  * @export
@@ -11514,6 +11632,56 @@ export interface DataTypesGenericResponseDataTypesTaxCalculationResponse {
11514
11632
  */
11515
11633
  'status'?: number;
11516
11634
  }
11635
+ /**
11636
+ *
11637
+ * @export
11638
+ * @interface DataTypesGenericResponseDataTypesTimeSeriesConsumptionGraphResponse
11639
+ */
11640
+ export interface DataTypesGenericResponseDataTypesTimeSeriesConsumptionGraphResponse {
11641
+ /**
11642
+ *
11643
+ * @type {DataTypesTimeSeriesConsumptionGraphResponse}
11644
+ * @memberof DataTypesGenericResponseDataTypesTimeSeriesConsumptionGraphResponse
11645
+ */
11646
+ 'data'?: DataTypesTimeSeriesConsumptionGraphResponse;
11647
+ /**
11648
+ *
11649
+ * @type {string}
11650
+ * @memberof DataTypesGenericResponseDataTypesTimeSeriesConsumptionGraphResponse
11651
+ */
11652
+ 'message'?: string;
11653
+ /**
11654
+ *
11655
+ * @type {number}
11656
+ * @memberof DataTypesGenericResponseDataTypesTimeSeriesConsumptionGraphResponse
11657
+ */
11658
+ 'status'?: number;
11659
+ }
11660
+ /**
11661
+ *
11662
+ * @export
11663
+ * @interface DataTypesGenericResponseDataTypesUsageBreakdownGraphResponse
11664
+ */
11665
+ export interface DataTypesGenericResponseDataTypesUsageBreakdownGraphResponse {
11666
+ /**
11667
+ *
11668
+ * @type {DataTypesUsageBreakdownGraphResponse}
11669
+ * @memberof DataTypesGenericResponseDataTypesUsageBreakdownGraphResponse
11670
+ */
11671
+ 'data'?: DataTypesUsageBreakdownGraphResponse;
11672
+ /**
11673
+ *
11674
+ * @type {string}
11675
+ * @memberof DataTypesGenericResponseDataTypesUsageBreakdownGraphResponse
11676
+ */
11677
+ 'message'?: string;
11678
+ /**
11679
+ *
11680
+ * @type {number}
11681
+ * @memberof DataTypesGenericResponseDataTypesUsageBreakdownGraphResponse
11682
+ */
11683
+ 'status'?: number;
11684
+ }
11517
11685
  /**
11518
11686
  *
11519
11687
  * @export
@@ -11875,6 +12043,12 @@ export interface DataTypesIndexConfig {
11875
12043
  * @memberof DataTypesIndexConfig
11876
12044
  */
11877
12045
  'include_fields'?: Array<string>;
12046
+ /**
12047
+ * \"always\", \"fallback\", or \"off\"
12048
+ * @type {string}
12049
+ * @memberof DataTypesIndexConfig
12050
+ */
12051
+ 'infix'?: string;
11878
12052
  /**
11879
12053
  *
11880
12054
  * @type {string}
@@ -13840,6 +14014,12 @@ export interface DataTypesNotification {
13840
14014
  * @memberof DataTypesNotification
13841
14015
  */
13842
14016
  'group_id'?: string;
14017
+ /**
14018
+ *
14019
+ * @type {string}
14020
+ * @memberof DataTypesNotification
14021
+ */
14022
+ 'html_content'?: string;
13843
14023
  /**
13844
14024
  *
13845
14025
  * @type {string}
@@ -16540,6 +16720,37 @@ export interface DataTypesPaymentsListResponse {
16540
16720
  */
16541
16721
  'status'?: number;
16542
16722
  }
16723
+ /**
16724
+ *
16725
+ * @export
16726
+ * @interface DataTypesPeriodInfo
16727
+ */
16728
+ export interface DataTypesPeriodInfo {
16729
+ /**
16730
+ *
16731
+ * @type {string}
16732
+ * @memberof DataTypesPeriodInfo
16733
+ */
16734
+ 'end_date'?: string;
16735
+ /**
16736
+ * \"minute\", \"hour\", \"day\", \"week\", \"month\"
16737
+ * @type {string}
16738
+ * @memberof DataTypesPeriodInfo
16739
+ */
16740
+ 'granularity'?: string;
16741
+ /**
16742
+ * \"October 2025\"
16743
+ * @type {string}
16744
+ * @memberof DataTypesPeriodInfo
16745
+ */
16746
+ 'label'?: string;
16747
+ /**
16748
+ *
16749
+ * @type {string}
16750
+ * @memberof DataTypesPeriodInfo
16751
+ */
16752
+ 'start_date'?: string;
16753
+ }
16543
16754
  /**
16544
16755
  *
16545
16756
  * @export
@@ -18432,6 +18643,49 @@ export interface DataTypesSchemaOptionsResponseWrapper {
18432
18643
  */
18433
18644
  'status'?: number;
18434
18645
  }
18646
+ /**
18647
+ *
18648
+ * @export
18649
+ * @interface DataTypesSearchRequestsGraphResponse
18650
+ */
18651
+ export interface DataTypesSearchRequestsGraphResponse {
18652
+ /**
18653
+ *
18654
+ * @type {Array<DataTypesTimeSeriesDataPoint>}
18655
+ * @memberof DataTypesSearchRequestsGraphResponse
18656
+ */
18657
+ 'data_points'?: Array<DataTypesTimeSeriesDataPoint>;
18658
+ /**
18659
+ *
18660
+ * @type {string}
18661
+ * @memberof DataTypesSearchRequestsGraphResponse
18662
+ */
18663
+ 'granularity'?: string;
18664
+ /**
18665
+ *
18666
+ * @type {DataTypesPeriodInfo}
18667
+ * @memberof DataTypesSearchRequestsGraphResponse
18668
+ */
18669
+ 'period'?: DataTypesPeriodInfo;
18670
+ /**
18671
+ * XStoreID if filtered
18672
+ * @type {string}
18673
+ * @memberof DataTypesSearchRequestsGraphResponse
18674
+ */
18675
+ 'store_filter'?: string;
18676
+ /**
18677
+ *
18678
+ * @type {number}
18679
+ * @memberof DataTypesSearchRequestsGraphResponse
18680
+ */
18681
+ 'store_id'?: number;
18682
+ /**
18683
+ *
18684
+ * @type {number}
18685
+ * @memberof DataTypesSearchRequestsGraphResponse
18686
+ */
18687
+ 'total_requests'?: number;
18688
+ }
18435
18689
  /**
18436
18690
  *
18437
18691
  * @export
@@ -19804,13 +20058,13 @@ export interface DataTypesSynonymEntry {
19804
20058
  */
19805
20059
  'locale'?: string;
19806
20060
  /**
19807
- * Optional root word
20061
+ * Optional root word - if provided and non-empty, creates one-way synonym (root expands to synonyms)
19808
20062
  * @type {string}
19809
20063
  * @memberof DataTypesSynonymEntry
19810
20064
  */
19811
20065
  'root'?: string;
19812
20066
  /**
19813
- * Array of synonyms
20067
+ * Array of synonyms (min 2 for bidirectional/default, min 1 for one-way)
19814
20068
  * @type {Array<string>}
19815
20069
  * @memberof DataTypesSynonymEntry
19816
20070
  */
@@ -20381,127 +20635,269 @@ export interface DataTypesTeamInvitationsResponse {
20381
20635
  /**
20382
20636
  *
20383
20637
  * @export
20384
- * @interface DataTypesTriggerTaskRunResponse
20638
+ * @interface DataTypesTimeSeriesConsumption
20385
20639
  */
20386
- export interface DataTypesTriggerTaskRunResponse {
20640
+ export interface DataTypesTimeSeriesConsumption {
20387
20641
  /**
20388
20642
  *
20389
- * @type {DataTypesTaskRun}
20390
- * @memberof DataTypesTriggerTaskRunResponse
20643
+ * @type {number}
20644
+ * @memberof DataTypesTimeSeriesConsumption
20391
20645
  */
20392
- 'data'?: DataTypesTaskRun;
20646
+ 'credits_used'?: number;
20393
20647
  /**
20394
20648
  *
20395
20649
  * @type {string}
20396
- * @memberof DataTypesTriggerTaskRunResponse
20650
+ * @memberof DataTypesTimeSeriesConsumption
20397
20651
  */
20398
- 'message'?: string;
20652
+ 'date'?: string;
20399
20653
  /**
20400
20654
  *
20401
20655
  * @type {number}
20402
- * @memberof DataTypesTriggerTaskRunResponse
20656
+ * @memberof DataTypesTimeSeriesConsumption
20403
20657
  */
20404
- 'status'?: number;
20405
- }
20406
- /**
20407
- *
20408
- * @export
20409
- * @interface DataTypesUnreadCountData
20410
- */
20411
- export interface DataTypesUnreadCountData {
20658
+ 'record_count'?: number;
20412
20659
  /**
20413
20660
  *
20414
20661
  * @type {number}
20415
- * @memberof DataTypesUnreadCountData
20662
+ * @memberof DataTypesTimeSeriesConsumption
20416
20663
  */
20417
- 'unread_count'?: number;
20664
+ 'search_count'?: number;
20418
20665
  }
20419
20666
  /**
20420
20667
  *
20421
20668
  * @export
20422
- * @interface DataTypesUnreadCountResponse
20669
+ * @interface DataTypesTimeSeriesConsumptionGraphResponse
20423
20670
  */
20424
- export interface DataTypesUnreadCountResponse {
20671
+ export interface DataTypesTimeSeriesConsumptionGraphResponse {
20425
20672
  /**
20426
20673
  *
20427
- * @type {DataTypesUnreadCountData}
20428
- * @memberof DataTypesUnreadCountResponse
20674
+ * @type {Array<DataTypesTimeSeriesConsumption>}
20675
+ * @memberof DataTypesTimeSeriesConsumptionGraphResponse
20429
20676
  */
20430
- 'data'?: DataTypesUnreadCountData;
20677
+ 'consumption'?: Array<DataTypesTimeSeriesConsumption>;
20431
20678
  /**
20432
20679
  *
20433
20680
  * @type {string}
20434
- * @memberof DataTypesUnreadCountResponse
20681
+ * @memberof DataTypesTimeSeriesConsumptionGraphResponse
20435
20682
  */
20436
- 'message'?: string;
20683
+ 'granularity'?: string;
20684
+ /**
20685
+ *
20686
+ * @type {DataTypesPeriodInfo}
20687
+ * @memberof DataTypesTimeSeriesConsumptionGraphResponse
20688
+ */
20689
+ 'period'?: DataTypesPeriodInfo;
20690
+ /**
20691
+ * XStoreID if filtered
20692
+ * @type {string}
20693
+ * @memberof DataTypesTimeSeriesConsumptionGraphResponse
20694
+ */
20695
+ 'store_filter'?: string;
20437
20696
  /**
20438
20697
  *
20439
20698
  * @type {number}
20440
- * @memberof DataTypesUnreadCountResponse
20699
+ * @memberof DataTypesTimeSeriesConsumptionGraphResponse
20441
20700
  */
20442
- 'status'?: number;
20701
+ 'store_id'?: number;
20702
+ /**
20703
+ *
20704
+ * @type {DataTypesTimeSeriesConsumptionSummary}
20705
+ * @memberof DataTypesTimeSeriesConsumptionGraphResponse
20706
+ */
20707
+ 'summary'?: DataTypesTimeSeriesConsumptionSummary;
20443
20708
  }
20444
20709
  /**
20445
- * Request payload for updating an existing analytics rule (supports partial updates)
20710
+ *
20446
20711
  * @export
20447
- * @interface DataTypesUpdateAnalyticsRuleRequest
20712
+ * @interface DataTypesTimeSeriesConsumptionSummary
20448
20713
  */
20449
- export interface DataTypesUpdateAnalyticsRuleRequest {
20450
- /**
20451
- *
20452
- * @type {string}
20453
- * @memberof DataTypesUpdateAnalyticsRuleRequest
20454
- */
20455
- 'description'?: string;
20714
+ export interface DataTypesTimeSeriesConsumptionSummary {
20456
20715
  /**
20457
20716
  *
20458
20717
  * @type {number}
20459
- * @memberof DataTypesUpdateAnalyticsRuleRequest
20718
+ * @memberof DataTypesTimeSeriesConsumptionSummary
20460
20719
  */
20461
- 'effective_from_ts'?: number;
20720
+ 'average_daily_credits'?: number;
20462
20721
  /**
20463
20722
  *
20464
20723
  * @type {number}
20465
- * @memberof DataTypesUpdateAnalyticsRuleRequest
20724
+ * @memberof DataTypesTimeSeriesConsumptionSummary
20466
20725
  */
20467
- 'effective_to_ts'?: number;
20726
+ 'peak_credits_per_day'?: number;
20468
20727
  /**
20469
20728
  *
20470
- * @type {boolean}
20471
- * @memberof DataTypesUpdateAnalyticsRuleRequest
20729
+ * @type {string}
20730
+ * @memberof DataTypesTimeSeriesConsumptionSummary
20472
20731
  */
20473
- 'is_active'?: boolean;
20732
+ 'peak_date'?: string;
20474
20733
  /**
20475
20734
  *
20476
- * @type {string}
20477
- * @memberof DataTypesUpdateAnalyticsRuleRequest
20735
+ * @type {number}
20736
+ * @memberof DataTypesTimeSeriesConsumptionSummary
20478
20737
  */
20479
- 'name'?: string;
20738
+ 'total_credits'?: number;
20480
20739
  /**
20481
20740
  *
20482
- * @type {DataTypesOverrideActions}
20483
- * @memberof DataTypesUpdateAnalyticsRuleRequest
20741
+ * @type {number}
20742
+ * @memberof DataTypesTimeSeriesConsumptionSummary
20484
20743
  */
20485
- 'override_actions'?: DataTypesOverrideActions;
20744
+ 'total_record_operations'?: number;
20486
20745
  /**
20487
20746
  *
20488
- * @type {DataTypesRuleConfig}
20489
- * @memberof DataTypesUpdateAnalyticsRuleRequest
20747
+ * @type {number}
20748
+ * @memberof DataTypesTimeSeriesConsumptionSummary
20490
20749
  */
20491
- 'rule_config'?: DataTypesRuleConfig;
20750
+ 'total_search_requests'?: number;
20492
20751
  }
20493
20752
  /**
20494
20753
  *
20495
20754
  * @export
20496
- * @interface DataTypesUpdateCustomWordListRequest
20755
+ * @interface DataTypesTimeSeriesDataPoint
20497
20756
  */
20498
- export interface DataTypesUpdateCustomWordListRequest {
20757
+ export interface DataTypesTimeSeriesDataPoint {
20499
20758
  /**
20500
- *
20759
+ * Formatted label for display
20501
20760
  * @type {string}
20502
- * @memberof DataTypesUpdateCustomWordListRequest
20761
+ * @memberof DataTypesTimeSeriesDataPoint
20503
20762
  */
20504
- 'description'?: string;
20763
+ 'label'?: string;
20764
+ /**
20765
+ *
20766
+ * @type {string}
20767
+ * @memberof DataTypesTimeSeriesDataPoint
20768
+ */
20769
+ 'timestamp'?: string;
20770
+ /**
20771
+ *
20772
+ * @type {number}
20773
+ * @memberof DataTypesTimeSeriesDataPoint
20774
+ */
20775
+ 'value'?: number;
20776
+ }
20777
+ /**
20778
+ *
20779
+ * @export
20780
+ * @interface DataTypesTriggerTaskRunResponse
20781
+ */
20782
+ export interface DataTypesTriggerTaskRunResponse {
20783
+ /**
20784
+ *
20785
+ * @type {DataTypesTaskRun}
20786
+ * @memberof DataTypesTriggerTaskRunResponse
20787
+ */
20788
+ 'data'?: DataTypesTaskRun;
20789
+ /**
20790
+ *
20791
+ * @type {string}
20792
+ * @memberof DataTypesTriggerTaskRunResponse
20793
+ */
20794
+ 'message'?: string;
20795
+ /**
20796
+ *
20797
+ * @type {number}
20798
+ * @memberof DataTypesTriggerTaskRunResponse
20799
+ */
20800
+ 'status'?: number;
20801
+ }
20802
+ /**
20803
+ *
20804
+ * @export
20805
+ * @interface DataTypesUnreadCountData
20806
+ */
20807
+ export interface DataTypesUnreadCountData {
20808
+ /**
20809
+ *
20810
+ * @type {number}
20811
+ * @memberof DataTypesUnreadCountData
20812
+ */
20813
+ 'unread_count'?: number;
20814
+ }
20815
+ /**
20816
+ *
20817
+ * @export
20818
+ * @interface DataTypesUnreadCountResponse
20819
+ */
20820
+ export interface DataTypesUnreadCountResponse {
20821
+ /**
20822
+ *
20823
+ * @type {DataTypesUnreadCountData}
20824
+ * @memberof DataTypesUnreadCountResponse
20825
+ */
20826
+ 'data'?: DataTypesUnreadCountData;
20827
+ /**
20828
+ *
20829
+ * @type {string}
20830
+ * @memberof DataTypesUnreadCountResponse
20831
+ */
20832
+ 'message'?: string;
20833
+ /**
20834
+ *
20835
+ * @type {number}
20836
+ * @memberof DataTypesUnreadCountResponse
20837
+ */
20838
+ 'status'?: number;
20839
+ }
20840
+ /**
20841
+ * Request payload for updating an existing analytics rule (supports partial updates)
20842
+ * @export
20843
+ * @interface DataTypesUpdateAnalyticsRuleRequest
20844
+ */
20845
+ export interface DataTypesUpdateAnalyticsRuleRequest {
20846
+ /**
20847
+ *
20848
+ * @type {string}
20849
+ * @memberof DataTypesUpdateAnalyticsRuleRequest
20850
+ */
20851
+ 'description'?: string;
20852
+ /**
20853
+ *
20854
+ * @type {number}
20855
+ * @memberof DataTypesUpdateAnalyticsRuleRequest
20856
+ */
20857
+ 'effective_from_ts'?: number;
20858
+ /**
20859
+ *
20860
+ * @type {number}
20861
+ * @memberof DataTypesUpdateAnalyticsRuleRequest
20862
+ */
20863
+ 'effective_to_ts'?: number;
20864
+ /**
20865
+ *
20866
+ * @type {boolean}
20867
+ * @memberof DataTypesUpdateAnalyticsRuleRequest
20868
+ */
20869
+ 'is_active'?: boolean;
20870
+ /**
20871
+ *
20872
+ * @type {string}
20873
+ * @memberof DataTypesUpdateAnalyticsRuleRequest
20874
+ */
20875
+ 'name'?: string;
20876
+ /**
20877
+ *
20878
+ * @type {DataTypesOverrideActions}
20879
+ * @memberof DataTypesUpdateAnalyticsRuleRequest
20880
+ */
20881
+ 'override_actions'?: DataTypesOverrideActions;
20882
+ /**
20883
+ *
20884
+ * @type {DataTypesRuleConfig}
20885
+ * @memberof DataTypesUpdateAnalyticsRuleRequest
20886
+ */
20887
+ 'rule_config'?: DataTypesRuleConfig;
20888
+ }
20889
+ /**
20890
+ *
20891
+ * @export
20892
+ * @interface DataTypesUpdateCustomWordListRequest
20893
+ */
20894
+ export interface DataTypesUpdateCustomWordListRequest {
20895
+ /**
20896
+ *
20897
+ * @type {string}
20898
+ * @memberof DataTypesUpdateCustomWordListRequest
20899
+ */
20900
+ 'description'?: string;
20505
20901
  /**
20506
20902
  *
20507
20903
  * @type {string}
@@ -21166,6 +21562,98 @@ export interface DataTypesUploadsourceDataResponse {
21166
21562
  */
21167
21563
  'Source'?: DataTypesSource;
21168
21564
  }
21565
+ /**
21566
+ *
21567
+ * @export
21568
+ * @interface DataTypesUsageBreakdownGraphResponse
21569
+ */
21570
+ export interface DataTypesUsageBreakdownGraphResponse {
21571
+ /**
21572
+ *
21573
+ * @type {string}
21574
+ * @memberof DataTypesUsageBreakdownGraphResponse
21575
+ */
21576
+ 'granularity'?: string;
21577
+ /**
21578
+ *
21579
+ * @type {DataTypesPeriodInfo}
21580
+ * @memberof DataTypesUsageBreakdownGraphResponse
21581
+ */
21582
+ 'period'?: DataTypesPeriodInfo;
21583
+ /**
21584
+ *
21585
+ * @type {Array<DataTypesUsageBreakdownRow>}
21586
+ * @memberof DataTypesUsageBreakdownGraphResponse
21587
+ */
21588
+ 'rows'?: Array<DataTypesUsageBreakdownRow>;
21589
+ /**
21590
+ * XStoreID if filtered
21591
+ * @type {string}
21592
+ * @memberof DataTypesUsageBreakdownGraphResponse
21593
+ */
21594
+ 'store_filter'?: string;
21595
+ /**
21596
+ *
21597
+ * @type {number}
21598
+ * @memberof DataTypesUsageBreakdownGraphResponse
21599
+ */
21600
+ 'store_id'?: number;
21601
+ /**
21602
+ *
21603
+ * @type {number}
21604
+ * @memberof DataTypesUsageBreakdownGraphResponse
21605
+ */
21606
+ 'total_credits'?: number;
21607
+ /**
21608
+ *
21609
+ * @type {number}
21610
+ * @memberof DataTypesUsageBreakdownGraphResponse
21611
+ */
21612
+ 'total_record_operations'?: number;
21613
+ /**
21614
+ *
21615
+ * @type {number}
21616
+ * @memberof DataTypesUsageBreakdownGraphResponse
21617
+ */
21618
+ 'total_requests'?: number;
21619
+ }
21620
+ /**
21621
+ *
21622
+ * @export
21623
+ * @interface DataTypesUsageBreakdownRow
21624
+ */
21625
+ export interface DataTypesUsageBreakdownRow {
21626
+ /**
21627
+ *
21628
+ * @type {number}
21629
+ * @memberof DataTypesUsageBreakdownRow
21630
+ */
21631
+ 'credits_consumed'?: number;
21632
+ /**
21633
+ * Formatted date label
21634
+ * @type {string}
21635
+ * @memberof DataTypesUsageBreakdownRow
21636
+ */
21637
+ 'label'?: string;
21638
+ /**
21639
+ *
21640
+ * @type {number}
21641
+ * @memberof DataTypesUsageBreakdownRow
21642
+ */
21643
+ 'record_operations'?: number;
21644
+ /**
21645
+ *
21646
+ * @type {number}
21647
+ * @memberof DataTypesUsageBreakdownRow
21648
+ */
21649
+ 'search_requests'?: number;
21650
+ /**
21651
+ *
21652
+ * @type {string}
21653
+ * @memberof DataTypesUsageBreakdownRow
21654
+ */
21655
+ 'timestamp'?: string;
21656
+ }
21169
21657
  /**
21170
21658
  *
21171
21659
  * @export
@@ -33424,7 +33912,7 @@ export const BillingDashboardApiAxiosParamCreator = function (configuration?: Co
33424
33912
  };
33425
33913
  },
33426
33914
  /**
33427
- * Returns comprehensive billing overview with credit balance, plan info, and usage summary
33915
+ * Returns comprehensive billing overview with credit balance, plan info, and all usage metrics
33428
33916
  * @summary Get billing overview (new)
33429
33917
  * @param {*} [options] Override http request option.
33430
33918
  * @throws {RequiredError}
@@ -34216,7 +34704,7 @@ export const BillingDashboardApiFp = function(configuration?: Configuration) {
34216
34704
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
34217
34705
  },
34218
34706
  /**
34219
- * Returns comprehensive billing overview with credit balance, plan info, and usage summary
34707
+ * Returns comprehensive billing overview with credit balance, plan info, and all usage metrics
34220
34708
  * @summary Get billing overview (new)
34221
34709
  * @param {*} [options] Override http request option.
34222
34710
  * @throws {RequiredError}
@@ -34649,7 +35137,7 @@ export const BillingDashboardApiFactory = function (configuration?: Configuratio
34649
35137
  return localVarFp.adminBillingOverviewGet(orgId, startDate, endDate, options).then((request) => request(axios, basePath));
34650
35138
  },
34651
35139
  /**
34652
- * Returns comprehensive billing overview with credit balance, plan info, and usage summary
35140
+ * Returns comprehensive billing overview with credit balance, plan info, and all usage metrics
34653
35141
  * @summary Get billing overview (new)
34654
35142
  * @param {*} [options] Override http request option.
34655
35143
  * @throws {RequiredError}
@@ -35101,7 +35589,7 @@ export class BillingDashboardApi extends BaseAPI {
35101
35589
  }
35102
35590
 
35103
35591
  /**
35104
- * Returns comprehensive billing overview with credit balance, plan info, and usage summary
35592
+ * Returns comprehensive billing overview with credit balance, plan info, and all usage metrics
35105
35593
  * @summary Get billing overview (new)
35106
35594
  * @param {*} [options] Override http request option.
35107
35595
  * @throws {RequiredError}
@@ -35369,6 +35857,509 @@ export const AdminBillingUsageDetailsGetGranularityEnum = {
35369
35857
  export type AdminBillingUsageDetailsGetGranularityEnum = typeof AdminBillingUsageDetailsGetGranularityEnum[keyof typeof AdminBillingUsageDetailsGetGranularityEnum];
35370
35858
 
35371
35859
 
35860
+ /**
35861
+ * BillingDashboardGraphsApi - axios parameter creator
35862
+ * @export
35863
+ */
35864
+ export const BillingDashboardGraphsApiAxiosParamCreator = function (configuration?: Configuration) {
35865
+ return {
35866
+ /**
35867
+ * Returns credits consumed over time with store-level filtering and zero-filling
35868
+ * @summary Get credits consumed graph
35869
+ * @param {string} [xstoreid] Filter by specific store ID
35870
+ * @param {string} [startDate] Start date (YYYY-MM-DD or RFC3339)
35871
+ * @param {string} [endDate] End date (YYYY-MM-DD or RFC3339)
35872
+ * @param {AdminBillingGraphsCreditsConsumedGetGranularityEnum} [granularity] Time granularity
35873
+ * @param {boolean} [fillZeros] Fill empty buckets with zeros
35874
+ * @param {*} [options] Override http request option.
35875
+ * @throws {RequiredError}
35876
+ */
35877
+ adminBillingGraphsCreditsConsumedGet: async (xstoreid?: string, startDate?: string, endDate?: string, granularity?: AdminBillingGraphsCreditsConsumedGetGranularityEnum, fillZeros?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
35878
+ const localVarPath = `/admin/billing/graphs/credits-consumed`;
35879
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
35880
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
35881
+ let baseOptions;
35882
+ if (configuration) {
35883
+ baseOptions = configuration.baseOptions;
35884
+ }
35885
+
35886
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
35887
+ const localVarHeaderParameter = {} as any;
35888
+ const localVarQueryParameter = {} as any;
35889
+
35890
+ // authentication BearerAuth required
35891
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
35892
+
35893
+ if (xstoreid !== undefined) {
35894
+ localVarQueryParameter['xstoreid'] = xstoreid;
35895
+ }
35896
+
35897
+ if (startDate !== undefined) {
35898
+ localVarQueryParameter['start_date'] = startDate;
35899
+ }
35900
+
35901
+ if (endDate !== undefined) {
35902
+ localVarQueryParameter['end_date'] = endDate;
35903
+ }
35904
+
35905
+ if (granularity !== undefined) {
35906
+ localVarQueryParameter['granularity'] = granularity;
35907
+ }
35908
+
35909
+ if (fillZeros !== undefined) {
35910
+ localVarQueryParameter['fill_zeros'] = fillZeros;
35911
+ }
35912
+
35913
+
35914
+
35915
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
35916
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
35917
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
35918
+
35919
+ return {
35920
+ url: toPathString(localVarUrlObj),
35921
+ options: localVarRequestOptions,
35922
+ };
35923
+ },
35924
+ /**
35925
+ * Returns search requests over time with store-level filtering and zero-filling
35926
+ * @summary Get search requests graph
35927
+ * @param {string} [xstoreid] Filter by specific store ID
35928
+ * @param {string} [startDate] Start date (YYYY-MM-DD or RFC3339)
35929
+ * @param {string} [endDate] End date (YYYY-MM-DD or RFC3339)
35930
+ * @param {AdminBillingGraphsSearchRequestsGetGranularityEnum} [granularity] Time granularity
35931
+ * @param {boolean} [fillZeros] Fill empty buckets with zeros
35932
+ * @param {*} [options] Override http request option.
35933
+ * @throws {RequiredError}
35934
+ */
35935
+ adminBillingGraphsSearchRequestsGet: async (xstoreid?: string, startDate?: string, endDate?: string, granularity?: AdminBillingGraphsSearchRequestsGetGranularityEnum, fillZeros?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
35936
+ const localVarPath = `/admin/billing/graphs/search-requests`;
35937
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
35938
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
35939
+ let baseOptions;
35940
+ if (configuration) {
35941
+ baseOptions = configuration.baseOptions;
35942
+ }
35943
+
35944
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
35945
+ const localVarHeaderParameter = {} as any;
35946
+ const localVarQueryParameter = {} as any;
35947
+
35948
+ // authentication BearerAuth required
35949
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
35950
+
35951
+ if (xstoreid !== undefined) {
35952
+ localVarQueryParameter['xstoreid'] = xstoreid;
35953
+ }
35954
+
35955
+ if (startDate !== undefined) {
35956
+ localVarQueryParameter['start_date'] = startDate;
35957
+ }
35958
+
35959
+ if (endDate !== undefined) {
35960
+ localVarQueryParameter['end_date'] = endDate;
35961
+ }
35962
+
35963
+ if (granularity !== undefined) {
35964
+ localVarQueryParameter['granularity'] = granularity;
35965
+ }
35966
+
35967
+ if (fillZeros !== undefined) {
35968
+ localVarQueryParameter['fill_zeros'] = fillZeros;
35969
+ }
35970
+
35971
+
35972
+
35973
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
35974
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
35975
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
35976
+
35977
+ return {
35978
+ url: toPathString(localVarUrlObj),
35979
+ options: localVarRequestOptions,
35980
+ };
35981
+ },
35982
+ /**
35983
+ * Returns detailed timeseries consumption with summary statistics
35984
+ * @summary Get timeseries consumption graph
35985
+ * @param {string} [xstoreid] Filter by specific store ID
35986
+ * @param {string} [startDate] Start date (YYYY-MM-DD or RFC3339)
35987
+ * @param {string} [endDate] End date (YYYY-MM-DD or RFC3339)
35988
+ * @param {AdminBillingGraphsTimeseriesConsumptionGetGranularityEnum} [granularity] Time granularity
35989
+ * @param {boolean} [fillZeros] Fill empty buckets with zeros
35990
+ * @param {*} [options] Override http request option.
35991
+ * @throws {RequiredError}
35992
+ */
35993
+ adminBillingGraphsTimeseriesConsumptionGet: async (xstoreid?: string, startDate?: string, endDate?: string, granularity?: AdminBillingGraphsTimeseriesConsumptionGetGranularityEnum, fillZeros?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
35994
+ const localVarPath = `/admin/billing/graphs/timeseries-consumption`;
35995
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
35996
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
35997
+ let baseOptions;
35998
+ if (configuration) {
35999
+ baseOptions = configuration.baseOptions;
36000
+ }
36001
+
36002
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
36003
+ const localVarHeaderParameter = {} as any;
36004
+ const localVarQueryParameter = {} as any;
36005
+
36006
+ // authentication BearerAuth required
36007
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
36008
+
36009
+ if (xstoreid !== undefined) {
36010
+ localVarQueryParameter['xstoreid'] = xstoreid;
36011
+ }
36012
+
36013
+ if (startDate !== undefined) {
36014
+ localVarQueryParameter['start_date'] = startDate;
36015
+ }
36016
+
36017
+ if (endDate !== undefined) {
36018
+ localVarQueryParameter['end_date'] = endDate;
36019
+ }
36020
+
36021
+ if (granularity !== undefined) {
36022
+ localVarQueryParameter['granularity'] = granularity;
36023
+ }
36024
+
36025
+ if (fillZeros !== undefined) {
36026
+ localVarQueryParameter['fill_zeros'] = fillZeros;
36027
+ }
36028
+
36029
+
36030
+
36031
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
36032
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
36033
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
36034
+
36035
+ return {
36036
+ url: toPathString(localVarUrlObj),
36037
+ options: localVarRequestOptions,
36038
+ };
36039
+ },
36040
+ /**
36041
+ * Returns usage breakdown table with credits, requests, and record operations
36042
+ * @summary Get usage breakdown graph
36043
+ * @param {string} [xstoreid] Filter by specific store ID
36044
+ * @param {string} [startDate] Start date (YYYY-MM-DD or RFC3339)
36045
+ * @param {string} [endDate] End date (YYYY-MM-DD or RFC3339)
36046
+ * @param {AdminBillingGraphsUsageBreakdownGetGranularityEnum} [granularity] Time granularity
36047
+ * @param {boolean} [fillZeros] Fill empty buckets with zeros
36048
+ * @param {*} [options] Override http request option.
36049
+ * @throws {RequiredError}
36050
+ */
36051
+ adminBillingGraphsUsageBreakdownGet: async (xstoreid?: string, startDate?: string, endDate?: string, granularity?: AdminBillingGraphsUsageBreakdownGetGranularityEnum, fillZeros?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
36052
+ const localVarPath = `/admin/billing/graphs/usage-breakdown`;
36053
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
36054
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
36055
+ let baseOptions;
36056
+ if (configuration) {
36057
+ baseOptions = configuration.baseOptions;
36058
+ }
36059
+
36060
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
36061
+ const localVarHeaderParameter = {} as any;
36062
+ const localVarQueryParameter = {} as any;
36063
+
36064
+ // authentication BearerAuth required
36065
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
36066
+
36067
+ if (xstoreid !== undefined) {
36068
+ localVarQueryParameter['xstoreid'] = xstoreid;
36069
+ }
36070
+
36071
+ if (startDate !== undefined) {
36072
+ localVarQueryParameter['start_date'] = startDate;
36073
+ }
36074
+
36075
+ if (endDate !== undefined) {
36076
+ localVarQueryParameter['end_date'] = endDate;
36077
+ }
36078
+
36079
+ if (granularity !== undefined) {
36080
+ localVarQueryParameter['granularity'] = granularity;
36081
+ }
36082
+
36083
+ if (fillZeros !== undefined) {
36084
+ localVarQueryParameter['fill_zeros'] = fillZeros;
36085
+ }
36086
+
36087
+
36088
+
36089
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
36090
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
36091
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
36092
+
36093
+ return {
36094
+ url: toPathString(localVarUrlObj),
36095
+ options: localVarRequestOptions,
36096
+ };
36097
+ },
36098
+ }
36099
+ };
36100
+
36101
+ /**
36102
+ * BillingDashboardGraphsApi - functional programming interface
36103
+ * @export
36104
+ */
36105
+ export const BillingDashboardGraphsApiFp = function(configuration?: Configuration) {
36106
+ const localVarAxiosParamCreator = BillingDashboardGraphsApiAxiosParamCreator(configuration)
36107
+ return {
36108
+ /**
36109
+ * Returns credits consumed over time with store-level filtering and zero-filling
36110
+ * @summary Get credits consumed graph
36111
+ * @param {string} [xstoreid] Filter by specific store ID
36112
+ * @param {string} [startDate] Start date (YYYY-MM-DD or RFC3339)
36113
+ * @param {string} [endDate] End date (YYYY-MM-DD or RFC3339)
36114
+ * @param {AdminBillingGraphsCreditsConsumedGetGranularityEnum} [granularity] Time granularity
36115
+ * @param {boolean} [fillZeros] Fill empty buckets with zeros
36116
+ * @param {*} [options] Override http request option.
36117
+ * @throws {RequiredError}
36118
+ */
36119
+ async adminBillingGraphsCreditsConsumedGet(xstoreid?: string, startDate?: string, endDate?: string, granularity?: AdminBillingGraphsCreditsConsumedGetGranularityEnum, fillZeros?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesCreditsConsumedGraphResponse>> {
36120
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminBillingGraphsCreditsConsumedGet(xstoreid, startDate, endDate, granularity, fillZeros, options);
36121
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
36122
+ const localVarOperationServerBasePath = operationServerMap['BillingDashboardGraphsApi.adminBillingGraphsCreditsConsumedGet']?.[localVarOperationServerIndex]?.url;
36123
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
36124
+ },
36125
+ /**
36126
+ * Returns search requests over time with store-level filtering and zero-filling
36127
+ * @summary Get search requests graph
36128
+ * @param {string} [xstoreid] Filter by specific store ID
36129
+ * @param {string} [startDate] Start date (YYYY-MM-DD or RFC3339)
36130
+ * @param {string} [endDate] End date (YYYY-MM-DD or RFC3339)
36131
+ * @param {AdminBillingGraphsSearchRequestsGetGranularityEnum} [granularity] Time granularity
36132
+ * @param {boolean} [fillZeros] Fill empty buckets with zeros
36133
+ * @param {*} [options] Override http request option.
36134
+ * @throws {RequiredError}
36135
+ */
36136
+ async adminBillingGraphsSearchRequestsGet(xstoreid?: string, startDate?: string, endDate?: string, granularity?: AdminBillingGraphsSearchRequestsGetGranularityEnum, fillZeros?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesSearchRequestsGraphResponse>> {
36137
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminBillingGraphsSearchRequestsGet(xstoreid, startDate, endDate, granularity, fillZeros, options);
36138
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
36139
+ const localVarOperationServerBasePath = operationServerMap['BillingDashboardGraphsApi.adminBillingGraphsSearchRequestsGet']?.[localVarOperationServerIndex]?.url;
36140
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
36141
+ },
36142
+ /**
36143
+ * Returns detailed timeseries consumption with summary statistics
36144
+ * @summary Get timeseries consumption graph
36145
+ * @param {string} [xstoreid] Filter by specific store ID
36146
+ * @param {string} [startDate] Start date (YYYY-MM-DD or RFC3339)
36147
+ * @param {string} [endDate] End date (YYYY-MM-DD or RFC3339)
36148
+ * @param {AdminBillingGraphsTimeseriesConsumptionGetGranularityEnum} [granularity] Time granularity
36149
+ * @param {boolean} [fillZeros] Fill empty buckets with zeros
36150
+ * @param {*} [options] Override http request option.
36151
+ * @throws {RequiredError}
36152
+ */
36153
+ async adminBillingGraphsTimeseriesConsumptionGet(xstoreid?: string, startDate?: string, endDate?: string, granularity?: AdminBillingGraphsTimeseriesConsumptionGetGranularityEnum, fillZeros?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesTimeSeriesConsumptionGraphResponse>> {
36154
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminBillingGraphsTimeseriesConsumptionGet(xstoreid, startDate, endDate, granularity, fillZeros, options);
36155
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
36156
+ const localVarOperationServerBasePath = operationServerMap['BillingDashboardGraphsApi.adminBillingGraphsTimeseriesConsumptionGet']?.[localVarOperationServerIndex]?.url;
36157
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
36158
+ },
36159
+ /**
36160
+ * Returns usage breakdown table with credits, requests, and record operations
36161
+ * @summary Get usage breakdown graph
36162
+ * @param {string} [xstoreid] Filter by specific store ID
36163
+ * @param {string} [startDate] Start date (YYYY-MM-DD or RFC3339)
36164
+ * @param {string} [endDate] End date (YYYY-MM-DD or RFC3339)
36165
+ * @param {AdminBillingGraphsUsageBreakdownGetGranularityEnum} [granularity] Time granularity
36166
+ * @param {boolean} [fillZeros] Fill empty buckets with zeros
36167
+ * @param {*} [options] Override http request option.
36168
+ * @throws {RequiredError}
36169
+ */
36170
+ async adminBillingGraphsUsageBreakdownGet(xstoreid?: string, startDate?: string, endDate?: string, granularity?: AdminBillingGraphsUsageBreakdownGetGranularityEnum, fillZeros?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesUsageBreakdownGraphResponse>> {
36171
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminBillingGraphsUsageBreakdownGet(xstoreid, startDate, endDate, granularity, fillZeros, options);
36172
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
36173
+ const localVarOperationServerBasePath = operationServerMap['BillingDashboardGraphsApi.adminBillingGraphsUsageBreakdownGet']?.[localVarOperationServerIndex]?.url;
36174
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
36175
+ },
36176
+ }
36177
+ };
36178
+
36179
+ /**
36180
+ * BillingDashboardGraphsApi - factory interface
36181
+ * @export
36182
+ */
36183
+ export const BillingDashboardGraphsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
36184
+ const localVarFp = BillingDashboardGraphsApiFp(configuration)
36185
+ return {
36186
+ /**
36187
+ * Returns credits consumed over time with store-level filtering and zero-filling
36188
+ * @summary Get credits consumed graph
36189
+ * @param {string} [xstoreid] Filter by specific store ID
36190
+ * @param {string} [startDate] Start date (YYYY-MM-DD or RFC3339)
36191
+ * @param {string} [endDate] End date (YYYY-MM-DD or RFC3339)
36192
+ * @param {AdminBillingGraphsCreditsConsumedGetGranularityEnum} [granularity] Time granularity
36193
+ * @param {boolean} [fillZeros] Fill empty buckets with zeros
36194
+ * @param {*} [options] Override http request option.
36195
+ * @throws {RequiredError}
36196
+ */
36197
+ adminBillingGraphsCreditsConsumedGet(xstoreid?: string, startDate?: string, endDate?: string, granularity?: AdminBillingGraphsCreditsConsumedGetGranularityEnum, fillZeros?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesCreditsConsumedGraphResponse> {
36198
+ return localVarFp.adminBillingGraphsCreditsConsumedGet(xstoreid, startDate, endDate, granularity, fillZeros, options).then((request) => request(axios, basePath));
36199
+ },
36200
+ /**
36201
+ * Returns search requests over time with store-level filtering and zero-filling
36202
+ * @summary Get search requests graph
36203
+ * @param {string} [xstoreid] Filter by specific store ID
36204
+ * @param {string} [startDate] Start date (YYYY-MM-DD or RFC3339)
36205
+ * @param {string} [endDate] End date (YYYY-MM-DD or RFC3339)
36206
+ * @param {AdminBillingGraphsSearchRequestsGetGranularityEnum} [granularity] Time granularity
36207
+ * @param {boolean} [fillZeros] Fill empty buckets with zeros
36208
+ * @param {*} [options] Override http request option.
36209
+ * @throws {RequiredError}
36210
+ */
36211
+ adminBillingGraphsSearchRequestsGet(xstoreid?: string, startDate?: string, endDate?: string, granularity?: AdminBillingGraphsSearchRequestsGetGranularityEnum, fillZeros?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesSearchRequestsGraphResponse> {
36212
+ return localVarFp.adminBillingGraphsSearchRequestsGet(xstoreid, startDate, endDate, granularity, fillZeros, options).then((request) => request(axios, basePath));
36213
+ },
36214
+ /**
36215
+ * Returns detailed timeseries consumption with summary statistics
36216
+ * @summary Get timeseries consumption graph
36217
+ * @param {string} [xstoreid] Filter by specific store ID
36218
+ * @param {string} [startDate] Start date (YYYY-MM-DD or RFC3339)
36219
+ * @param {string} [endDate] End date (YYYY-MM-DD or RFC3339)
36220
+ * @param {AdminBillingGraphsTimeseriesConsumptionGetGranularityEnum} [granularity] Time granularity
36221
+ * @param {boolean} [fillZeros] Fill empty buckets with zeros
36222
+ * @param {*} [options] Override http request option.
36223
+ * @throws {RequiredError}
36224
+ */
36225
+ adminBillingGraphsTimeseriesConsumptionGet(xstoreid?: string, startDate?: string, endDate?: string, granularity?: AdminBillingGraphsTimeseriesConsumptionGetGranularityEnum, fillZeros?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesTimeSeriesConsumptionGraphResponse> {
36226
+ return localVarFp.adminBillingGraphsTimeseriesConsumptionGet(xstoreid, startDate, endDate, granularity, fillZeros, options).then((request) => request(axios, basePath));
36227
+ },
36228
+ /**
36229
+ * Returns usage breakdown table with credits, requests, and record operations
36230
+ * @summary Get usage breakdown graph
36231
+ * @param {string} [xstoreid] Filter by specific store ID
36232
+ * @param {string} [startDate] Start date (YYYY-MM-DD or RFC3339)
36233
+ * @param {string} [endDate] End date (YYYY-MM-DD or RFC3339)
36234
+ * @param {AdminBillingGraphsUsageBreakdownGetGranularityEnum} [granularity] Time granularity
36235
+ * @param {boolean} [fillZeros] Fill empty buckets with zeros
36236
+ * @param {*} [options] Override http request option.
36237
+ * @throws {RequiredError}
36238
+ */
36239
+ adminBillingGraphsUsageBreakdownGet(xstoreid?: string, startDate?: string, endDate?: string, granularity?: AdminBillingGraphsUsageBreakdownGetGranularityEnum, fillZeros?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesUsageBreakdownGraphResponse> {
36240
+ return localVarFp.adminBillingGraphsUsageBreakdownGet(xstoreid, startDate, endDate, granularity, fillZeros, options).then((request) => request(axios, basePath));
36241
+ },
36242
+ };
36243
+ };
36244
+
36245
+ /**
36246
+ * BillingDashboardGraphsApi - object-oriented interface
36247
+ * @export
36248
+ * @class BillingDashboardGraphsApi
36249
+ * @extends {BaseAPI}
36250
+ */
36251
+ export class BillingDashboardGraphsApi extends BaseAPI {
36252
+ /**
36253
+ * Returns credits consumed over time with store-level filtering and zero-filling
36254
+ * @summary Get credits consumed graph
36255
+ * @param {string} [xstoreid] Filter by specific store ID
36256
+ * @param {string} [startDate] Start date (YYYY-MM-DD or RFC3339)
36257
+ * @param {string} [endDate] End date (YYYY-MM-DD or RFC3339)
36258
+ * @param {AdminBillingGraphsCreditsConsumedGetGranularityEnum} [granularity] Time granularity
36259
+ * @param {boolean} [fillZeros] Fill empty buckets with zeros
36260
+ * @param {*} [options] Override http request option.
36261
+ * @throws {RequiredError}
36262
+ * @memberof BillingDashboardGraphsApi
36263
+ */
36264
+ public adminBillingGraphsCreditsConsumedGet(xstoreid?: string, startDate?: string, endDate?: string, granularity?: AdminBillingGraphsCreditsConsumedGetGranularityEnum, fillZeros?: boolean, options?: RawAxiosRequestConfig) {
36265
+ return BillingDashboardGraphsApiFp(this.configuration).adminBillingGraphsCreditsConsumedGet(xstoreid, startDate, endDate, granularity, fillZeros, options).then((request) => request(this.axios, this.basePath));
36266
+ }
36267
+
36268
+ /**
36269
+ * Returns search requests over time with store-level filtering and zero-filling
36270
+ * @summary Get search requests graph
36271
+ * @param {string} [xstoreid] Filter by specific store ID
36272
+ * @param {string} [startDate] Start date (YYYY-MM-DD or RFC3339)
36273
+ * @param {string} [endDate] End date (YYYY-MM-DD or RFC3339)
36274
+ * @param {AdminBillingGraphsSearchRequestsGetGranularityEnum} [granularity] Time granularity
36275
+ * @param {boolean} [fillZeros] Fill empty buckets with zeros
36276
+ * @param {*} [options] Override http request option.
36277
+ * @throws {RequiredError}
36278
+ * @memberof BillingDashboardGraphsApi
36279
+ */
36280
+ public adminBillingGraphsSearchRequestsGet(xstoreid?: string, startDate?: string, endDate?: string, granularity?: AdminBillingGraphsSearchRequestsGetGranularityEnum, fillZeros?: boolean, options?: RawAxiosRequestConfig) {
36281
+ return BillingDashboardGraphsApiFp(this.configuration).adminBillingGraphsSearchRequestsGet(xstoreid, startDate, endDate, granularity, fillZeros, options).then((request) => request(this.axios, this.basePath));
36282
+ }
36283
+
36284
+ /**
36285
+ * Returns detailed timeseries consumption with summary statistics
36286
+ * @summary Get timeseries consumption graph
36287
+ * @param {string} [xstoreid] Filter by specific store ID
36288
+ * @param {string} [startDate] Start date (YYYY-MM-DD or RFC3339)
36289
+ * @param {string} [endDate] End date (YYYY-MM-DD or RFC3339)
36290
+ * @param {AdminBillingGraphsTimeseriesConsumptionGetGranularityEnum} [granularity] Time granularity
36291
+ * @param {boolean} [fillZeros] Fill empty buckets with zeros
36292
+ * @param {*} [options] Override http request option.
36293
+ * @throws {RequiredError}
36294
+ * @memberof BillingDashboardGraphsApi
36295
+ */
36296
+ public adminBillingGraphsTimeseriesConsumptionGet(xstoreid?: string, startDate?: string, endDate?: string, granularity?: AdminBillingGraphsTimeseriesConsumptionGetGranularityEnum, fillZeros?: boolean, options?: RawAxiosRequestConfig) {
36297
+ return BillingDashboardGraphsApiFp(this.configuration).adminBillingGraphsTimeseriesConsumptionGet(xstoreid, startDate, endDate, granularity, fillZeros, options).then((request) => request(this.axios, this.basePath));
36298
+ }
36299
+
36300
+ /**
36301
+ * Returns usage breakdown table with credits, requests, and record operations
36302
+ * @summary Get usage breakdown graph
36303
+ * @param {string} [xstoreid] Filter by specific store ID
36304
+ * @param {string} [startDate] Start date (YYYY-MM-DD or RFC3339)
36305
+ * @param {string} [endDate] End date (YYYY-MM-DD or RFC3339)
36306
+ * @param {AdminBillingGraphsUsageBreakdownGetGranularityEnum} [granularity] Time granularity
36307
+ * @param {boolean} [fillZeros] Fill empty buckets with zeros
36308
+ * @param {*} [options] Override http request option.
36309
+ * @throws {RequiredError}
36310
+ * @memberof BillingDashboardGraphsApi
36311
+ */
36312
+ public adminBillingGraphsUsageBreakdownGet(xstoreid?: string, startDate?: string, endDate?: string, granularity?: AdminBillingGraphsUsageBreakdownGetGranularityEnum, fillZeros?: boolean, options?: RawAxiosRequestConfig) {
36313
+ return BillingDashboardGraphsApiFp(this.configuration).adminBillingGraphsUsageBreakdownGet(xstoreid, startDate, endDate, granularity, fillZeros, options).then((request) => request(this.axios, this.basePath));
36314
+ }
36315
+ }
36316
+
36317
+ /**
36318
+ * @export
36319
+ */
36320
+ export const AdminBillingGraphsCreditsConsumedGetGranularityEnum = {
36321
+ Minute: 'minute',
36322
+ Hour: 'hour',
36323
+ Day: 'day',
36324
+ Week: 'week',
36325
+ Month: 'month'
36326
+ } as const;
36327
+ export type AdminBillingGraphsCreditsConsumedGetGranularityEnum = typeof AdminBillingGraphsCreditsConsumedGetGranularityEnum[keyof typeof AdminBillingGraphsCreditsConsumedGetGranularityEnum];
36328
+ /**
36329
+ * @export
36330
+ */
36331
+ export const AdminBillingGraphsSearchRequestsGetGranularityEnum = {
36332
+ Minute: 'minute',
36333
+ Hour: 'hour',
36334
+ Day: 'day',
36335
+ Week: 'week',
36336
+ Month: 'month'
36337
+ } as const;
36338
+ export type AdminBillingGraphsSearchRequestsGetGranularityEnum = typeof AdminBillingGraphsSearchRequestsGetGranularityEnum[keyof typeof AdminBillingGraphsSearchRequestsGetGranularityEnum];
36339
+ /**
36340
+ * @export
36341
+ */
36342
+ export const AdminBillingGraphsTimeseriesConsumptionGetGranularityEnum = {
36343
+ Minute: 'minute',
36344
+ Hour: 'hour',
36345
+ Day: 'day',
36346
+ Week: 'week',
36347
+ Month: 'month'
36348
+ } as const;
36349
+ export type AdminBillingGraphsTimeseriesConsumptionGetGranularityEnum = typeof AdminBillingGraphsTimeseriesConsumptionGetGranularityEnum[keyof typeof AdminBillingGraphsTimeseriesConsumptionGetGranularityEnum];
36350
+ /**
36351
+ * @export
36352
+ */
36353
+ export const AdminBillingGraphsUsageBreakdownGetGranularityEnum = {
36354
+ Minute: 'minute',
36355
+ Hour: 'hour',
36356
+ Day: 'day',
36357
+ Week: 'week',
36358
+ Month: 'month'
36359
+ } as const;
36360
+ export type AdminBillingGraphsUsageBreakdownGetGranularityEnum = typeof AdminBillingGraphsUsageBreakdownGetGranularityEnum[keyof typeof AdminBillingGraphsUsageBreakdownGetGranularityEnum];
36361
+
36362
+
35372
36363
  /**
35373
36364
  * CommonApi - axios parameter creator
35374
36365
  * @export