@seekora-ai/admin-api 1.1.20 → 1.1.21

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
@@ -13840,6 +14008,12 @@ export interface DataTypesNotification {
13840
14008
  * @memberof DataTypesNotification
13841
14009
  */
13842
14010
  'group_id'?: string;
14011
+ /**
14012
+ *
14013
+ * @type {string}
14014
+ * @memberof DataTypesNotification
14015
+ */
14016
+ 'html_content'?: string;
13843
14017
  /**
13844
14018
  *
13845
14019
  * @type {string}
@@ -16540,6 +16714,37 @@ export interface DataTypesPaymentsListResponse {
16540
16714
  */
16541
16715
  'status'?: number;
16542
16716
  }
16717
+ /**
16718
+ *
16719
+ * @export
16720
+ * @interface DataTypesPeriodInfo
16721
+ */
16722
+ export interface DataTypesPeriodInfo {
16723
+ /**
16724
+ *
16725
+ * @type {string}
16726
+ * @memberof DataTypesPeriodInfo
16727
+ */
16728
+ 'end_date'?: string;
16729
+ /**
16730
+ * \"minute\", \"hour\", \"day\", \"week\", \"month\"
16731
+ * @type {string}
16732
+ * @memberof DataTypesPeriodInfo
16733
+ */
16734
+ 'granularity'?: string;
16735
+ /**
16736
+ * \"October 2025\"
16737
+ * @type {string}
16738
+ * @memberof DataTypesPeriodInfo
16739
+ */
16740
+ 'label'?: string;
16741
+ /**
16742
+ *
16743
+ * @type {string}
16744
+ * @memberof DataTypesPeriodInfo
16745
+ */
16746
+ 'start_date'?: string;
16747
+ }
16543
16748
  /**
16544
16749
  *
16545
16750
  * @export
@@ -18432,6 +18637,49 @@ export interface DataTypesSchemaOptionsResponseWrapper {
18432
18637
  */
18433
18638
  'status'?: number;
18434
18639
  }
18640
+ /**
18641
+ *
18642
+ * @export
18643
+ * @interface DataTypesSearchRequestsGraphResponse
18644
+ */
18645
+ export interface DataTypesSearchRequestsGraphResponse {
18646
+ /**
18647
+ *
18648
+ * @type {Array<DataTypesTimeSeriesDataPoint>}
18649
+ * @memberof DataTypesSearchRequestsGraphResponse
18650
+ */
18651
+ 'data_points'?: Array<DataTypesTimeSeriesDataPoint>;
18652
+ /**
18653
+ *
18654
+ * @type {string}
18655
+ * @memberof DataTypesSearchRequestsGraphResponse
18656
+ */
18657
+ 'granularity'?: string;
18658
+ /**
18659
+ *
18660
+ * @type {DataTypesPeriodInfo}
18661
+ * @memberof DataTypesSearchRequestsGraphResponse
18662
+ */
18663
+ 'period'?: DataTypesPeriodInfo;
18664
+ /**
18665
+ * XStoreID if filtered
18666
+ * @type {string}
18667
+ * @memberof DataTypesSearchRequestsGraphResponse
18668
+ */
18669
+ 'store_filter'?: string;
18670
+ /**
18671
+ *
18672
+ * @type {number}
18673
+ * @memberof DataTypesSearchRequestsGraphResponse
18674
+ */
18675
+ 'store_id'?: number;
18676
+ /**
18677
+ *
18678
+ * @type {number}
18679
+ * @memberof DataTypesSearchRequestsGraphResponse
18680
+ */
18681
+ 'total_requests'?: number;
18682
+ }
18435
18683
  /**
18436
18684
  *
18437
18685
  * @export
@@ -19804,13 +20052,13 @@ export interface DataTypesSynonymEntry {
19804
20052
  */
19805
20053
  'locale'?: string;
19806
20054
  /**
19807
- * Optional root word
20055
+ * Optional root word - if provided and non-empty, creates one-way synonym (root expands to synonyms)
19808
20056
  * @type {string}
19809
20057
  * @memberof DataTypesSynonymEntry
19810
20058
  */
19811
20059
  'root'?: string;
19812
20060
  /**
19813
- * Array of synonyms
20061
+ * Array of synonyms (min 2 for bidirectional/default, min 1 for one-way)
19814
20062
  * @type {Array<string>}
19815
20063
  * @memberof DataTypesSynonymEntry
19816
20064
  */
@@ -20381,133 +20629,275 @@ export interface DataTypesTeamInvitationsResponse {
20381
20629
  /**
20382
20630
  *
20383
20631
  * @export
20384
- * @interface DataTypesTriggerTaskRunResponse
20632
+ * @interface DataTypesTimeSeriesConsumption
20385
20633
  */
20386
- export interface DataTypesTriggerTaskRunResponse {
20634
+ export interface DataTypesTimeSeriesConsumption {
20387
20635
  /**
20388
20636
  *
20389
- * @type {DataTypesTaskRun}
20390
- * @memberof DataTypesTriggerTaskRunResponse
20637
+ * @type {number}
20638
+ * @memberof DataTypesTimeSeriesConsumption
20391
20639
  */
20392
- 'data'?: DataTypesTaskRun;
20640
+ 'credits_used'?: number;
20393
20641
  /**
20394
20642
  *
20395
20643
  * @type {string}
20396
- * @memberof DataTypesTriggerTaskRunResponse
20644
+ * @memberof DataTypesTimeSeriesConsumption
20397
20645
  */
20398
- 'message'?: string;
20646
+ 'date'?: string;
20399
20647
  /**
20400
20648
  *
20401
20649
  * @type {number}
20402
- * @memberof DataTypesTriggerTaskRunResponse
20650
+ * @memberof DataTypesTimeSeriesConsumption
20403
20651
  */
20404
- 'status'?: number;
20405
- }
20406
- /**
20407
- *
20408
- * @export
20409
- * @interface DataTypesUnreadCountData
20410
- */
20411
- export interface DataTypesUnreadCountData {
20652
+ 'record_count'?: number;
20412
20653
  /**
20413
20654
  *
20414
20655
  * @type {number}
20415
- * @memberof DataTypesUnreadCountData
20656
+ * @memberof DataTypesTimeSeriesConsumption
20416
20657
  */
20417
- 'unread_count'?: number;
20658
+ 'search_count'?: number;
20418
20659
  }
20419
20660
  /**
20420
20661
  *
20421
20662
  * @export
20422
- * @interface DataTypesUnreadCountResponse
20663
+ * @interface DataTypesTimeSeriesConsumptionGraphResponse
20423
20664
  */
20424
- export interface DataTypesUnreadCountResponse {
20665
+ export interface DataTypesTimeSeriesConsumptionGraphResponse {
20425
20666
  /**
20426
20667
  *
20427
- * @type {DataTypesUnreadCountData}
20428
- * @memberof DataTypesUnreadCountResponse
20668
+ * @type {Array<DataTypesTimeSeriesConsumption>}
20669
+ * @memberof DataTypesTimeSeriesConsumptionGraphResponse
20429
20670
  */
20430
- 'data'?: DataTypesUnreadCountData;
20671
+ 'consumption'?: Array<DataTypesTimeSeriesConsumption>;
20431
20672
  /**
20432
20673
  *
20433
20674
  * @type {string}
20434
- * @memberof DataTypesUnreadCountResponse
20675
+ * @memberof DataTypesTimeSeriesConsumptionGraphResponse
20435
20676
  */
20436
- 'message'?: string;
20677
+ 'granularity'?: string;
20678
+ /**
20679
+ *
20680
+ * @type {DataTypesPeriodInfo}
20681
+ * @memberof DataTypesTimeSeriesConsumptionGraphResponse
20682
+ */
20683
+ 'period'?: DataTypesPeriodInfo;
20684
+ /**
20685
+ * XStoreID if filtered
20686
+ * @type {string}
20687
+ * @memberof DataTypesTimeSeriesConsumptionGraphResponse
20688
+ */
20689
+ 'store_filter'?: string;
20437
20690
  /**
20438
20691
  *
20439
20692
  * @type {number}
20440
- * @memberof DataTypesUnreadCountResponse
20693
+ * @memberof DataTypesTimeSeriesConsumptionGraphResponse
20441
20694
  */
20442
- 'status'?: number;
20695
+ 'store_id'?: number;
20696
+ /**
20697
+ *
20698
+ * @type {DataTypesTimeSeriesConsumptionSummary}
20699
+ * @memberof DataTypesTimeSeriesConsumptionGraphResponse
20700
+ */
20701
+ 'summary'?: DataTypesTimeSeriesConsumptionSummary;
20443
20702
  }
20444
20703
  /**
20445
- * Request payload for updating an existing analytics rule (supports partial updates)
20704
+ *
20446
20705
  * @export
20447
- * @interface DataTypesUpdateAnalyticsRuleRequest
20706
+ * @interface DataTypesTimeSeriesConsumptionSummary
20448
20707
  */
20449
- export interface DataTypesUpdateAnalyticsRuleRequest {
20450
- /**
20451
- *
20452
- * @type {string}
20453
- * @memberof DataTypesUpdateAnalyticsRuleRequest
20454
- */
20455
- 'description'?: string;
20708
+ export interface DataTypesTimeSeriesConsumptionSummary {
20456
20709
  /**
20457
20710
  *
20458
20711
  * @type {number}
20459
- * @memberof DataTypesUpdateAnalyticsRuleRequest
20712
+ * @memberof DataTypesTimeSeriesConsumptionSummary
20460
20713
  */
20461
- 'effective_from_ts'?: number;
20714
+ 'average_daily_credits'?: number;
20462
20715
  /**
20463
20716
  *
20464
20717
  * @type {number}
20465
- * @memberof DataTypesUpdateAnalyticsRuleRequest
20718
+ * @memberof DataTypesTimeSeriesConsumptionSummary
20466
20719
  */
20467
- 'effective_to_ts'?: number;
20720
+ 'peak_credits_per_day'?: number;
20468
20721
  /**
20469
20722
  *
20470
- * @type {boolean}
20471
- * @memberof DataTypesUpdateAnalyticsRuleRequest
20723
+ * @type {string}
20724
+ * @memberof DataTypesTimeSeriesConsumptionSummary
20472
20725
  */
20473
- 'is_active'?: boolean;
20726
+ 'peak_date'?: string;
20474
20727
  /**
20475
20728
  *
20476
- * @type {string}
20477
- * @memberof DataTypesUpdateAnalyticsRuleRequest
20729
+ * @type {number}
20730
+ * @memberof DataTypesTimeSeriesConsumptionSummary
20478
20731
  */
20479
- 'name'?: string;
20732
+ 'total_credits'?: number;
20480
20733
  /**
20481
20734
  *
20482
- * @type {DataTypesOverrideActions}
20483
- * @memberof DataTypesUpdateAnalyticsRuleRequest
20735
+ * @type {number}
20736
+ * @memberof DataTypesTimeSeriesConsumptionSummary
20484
20737
  */
20485
- 'override_actions'?: DataTypesOverrideActions;
20738
+ 'total_record_operations'?: number;
20486
20739
  /**
20487
20740
  *
20488
- * @type {DataTypesRuleConfig}
20489
- * @memberof DataTypesUpdateAnalyticsRuleRequest
20741
+ * @type {number}
20742
+ * @memberof DataTypesTimeSeriesConsumptionSummary
20490
20743
  */
20491
- 'rule_config'?: DataTypesRuleConfig;
20744
+ 'total_search_requests'?: number;
20492
20745
  }
20493
20746
  /**
20494
20747
  *
20495
20748
  * @export
20496
- * @interface DataTypesUpdateCustomWordListRequest
20749
+ * @interface DataTypesTimeSeriesDataPoint
20497
20750
  */
20498
- export interface DataTypesUpdateCustomWordListRequest {
20751
+ export interface DataTypesTimeSeriesDataPoint {
20499
20752
  /**
20500
- *
20753
+ * Formatted label for display
20501
20754
  * @type {string}
20502
- * @memberof DataTypesUpdateCustomWordListRequest
20755
+ * @memberof DataTypesTimeSeriesDataPoint
20503
20756
  */
20504
- 'description'?: string;
20757
+ 'label'?: string;
20505
20758
  /**
20506
20759
  *
20507
20760
  * @type {string}
20508
- * @memberof DataTypesUpdateCustomWordListRequest
20761
+ * @memberof DataTypesTimeSeriesDataPoint
20509
20762
  */
20510
- 'name'?: string;
20763
+ 'timestamp'?: string;
20764
+ /**
20765
+ *
20766
+ * @type {number}
20767
+ * @memberof DataTypesTimeSeriesDataPoint
20768
+ */
20769
+ 'value'?: number;
20770
+ }
20771
+ /**
20772
+ *
20773
+ * @export
20774
+ * @interface DataTypesTriggerTaskRunResponse
20775
+ */
20776
+ export interface DataTypesTriggerTaskRunResponse {
20777
+ /**
20778
+ *
20779
+ * @type {DataTypesTaskRun}
20780
+ * @memberof DataTypesTriggerTaskRunResponse
20781
+ */
20782
+ 'data'?: DataTypesTaskRun;
20783
+ /**
20784
+ *
20785
+ * @type {string}
20786
+ * @memberof DataTypesTriggerTaskRunResponse
20787
+ */
20788
+ 'message'?: string;
20789
+ /**
20790
+ *
20791
+ * @type {number}
20792
+ * @memberof DataTypesTriggerTaskRunResponse
20793
+ */
20794
+ 'status'?: number;
20795
+ }
20796
+ /**
20797
+ *
20798
+ * @export
20799
+ * @interface DataTypesUnreadCountData
20800
+ */
20801
+ export interface DataTypesUnreadCountData {
20802
+ /**
20803
+ *
20804
+ * @type {number}
20805
+ * @memberof DataTypesUnreadCountData
20806
+ */
20807
+ 'unread_count'?: number;
20808
+ }
20809
+ /**
20810
+ *
20811
+ * @export
20812
+ * @interface DataTypesUnreadCountResponse
20813
+ */
20814
+ export interface DataTypesUnreadCountResponse {
20815
+ /**
20816
+ *
20817
+ * @type {DataTypesUnreadCountData}
20818
+ * @memberof DataTypesUnreadCountResponse
20819
+ */
20820
+ 'data'?: DataTypesUnreadCountData;
20821
+ /**
20822
+ *
20823
+ * @type {string}
20824
+ * @memberof DataTypesUnreadCountResponse
20825
+ */
20826
+ 'message'?: string;
20827
+ /**
20828
+ *
20829
+ * @type {number}
20830
+ * @memberof DataTypesUnreadCountResponse
20831
+ */
20832
+ 'status'?: number;
20833
+ }
20834
+ /**
20835
+ * Request payload for updating an existing analytics rule (supports partial updates)
20836
+ * @export
20837
+ * @interface DataTypesUpdateAnalyticsRuleRequest
20838
+ */
20839
+ export interface DataTypesUpdateAnalyticsRuleRequest {
20840
+ /**
20841
+ *
20842
+ * @type {string}
20843
+ * @memberof DataTypesUpdateAnalyticsRuleRequest
20844
+ */
20845
+ 'description'?: string;
20846
+ /**
20847
+ *
20848
+ * @type {number}
20849
+ * @memberof DataTypesUpdateAnalyticsRuleRequest
20850
+ */
20851
+ 'effective_from_ts'?: number;
20852
+ /**
20853
+ *
20854
+ * @type {number}
20855
+ * @memberof DataTypesUpdateAnalyticsRuleRequest
20856
+ */
20857
+ 'effective_to_ts'?: number;
20858
+ /**
20859
+ *
20860
+ * @type {boolean}
20861
+ * @memberof DataTypesUpdateAnalyticsRuleRequest
20862
+ */
20863
+ 'is_active'?: boolean;
20864
+ /**
20865
+ *
20866
+ * @type {string}
20867
+ * @memberof DataTypesUpdateAnalyticsRuleRequest
20868
+ */
20869
+ 'name'?: string;
20870
+ /**
20871
+ *
20872
+ * @type {DataTypesOverrideActions}
20873
+ * @memberof DataTypesUpdateAnalyticsRuleRequest
20874
+ */
20875
+ 'override_actions'?: DataTypesOverrideActions;
20876
+ /**
20877
+ *
20878
+ * @type {DataTypesRuleConfig}
20879
+ * @memberof DataTypesUpdateAnalyticsRuleRequest
20880
+ */
20881
+ 'rule_config'?: DataTypesRuleConfig;
20882
+ }
20883
+ /**
20884
+ *
20885
+ * @export
20886
+ * @interface DataTypesUpdateCustomWordListRequest
20887
+ */
20888
+ export interface DataTypesUpdateCustomWordListRequest {
20889
+ /**
20890
+ *
20891
+ * @type {string}
20892
+ * @memberof DataTypesUpdateCustomWordListRequest
20893
+ */
20894
+ 'description'?: string;
20895
+ /**
20896
+ *
20897
+ * @type {string}
20898
+ * @memberof DataTypesUpdateCustomWordListRequest
20899
+ */
20900
+ 'name'?: string;
20511
20901
  /**
20512
20902
  *
20513
20903
  * @type {Array<string>}
@@ -21166,6 +21556,98 @@ export interface DataTypesUploadsourceDataResponse {
21166
21556
  */
21167
21557
  'Source'?: DataTypesSource;
21168
21558
  }
21559
+ /**
21560
+ *
21561
+ * @export
21562
+ * @interface DataTypesUsageBreakdownGraphResponse
21563
+ */
21564
+ export interface DataTypesUsageBreakdownGraphResponse {
21565
+ /**
21566
+ *
21567
+ * @type {string}
21568
+ * @memberof DataTypesUsageBreakdownGraphResponse
21569
+ */
21570
+ 'granularity'?: string;
21571
+ /**
21572
+ *
21573
+ * @type {DataTypesPeriodInfo}
21574
+ * @memberof DataTypesUsageBreakdownGraphResponse
21575
+ */
21576
+ 'period'?: DataTypesPeriodInfo;
21577
+ /**
21578
+ *
21579
+ * @type {Array<DataTypesUsageBreakdownRow>}
21580
+ * @memberof DataTypesUsageBreakdownGraphResponse
21581
+ */
21582
+ 'rows'?: Array<DataTypesUsageBreakdownRow>;
21583
+ /**
21584
+ * XStoreID if filtered
21585
+ * @type {string}
21586
+ * @memberof DataTypesUsageBreakdownGraphResponse
21587
+ */
21588
+ 'store_filter'?: string;
21589
+ /**
21590
+ *
21591
+ * @type {number}
21592
+ * @memberof DataTypesUsageBreakdownGraphResponse
21593
+ */
21594
+ 'store_id'?: number;
21595
+ /**
21596
+ *
21597
+ * @type {number}
21598
+ * @memberof DataTypesUsageBreakdownGraphResponse
21599
+ */
21600
+ 'total_credits'?: number;
21601
+ /**
21602
+ *
21603
+ * @type {number}
21604
+ * @memberof DataTypesUsageBreakdownGraphResponse
21605
+ */
21606
+ 'total_record_operations'?: number;
21607
+ /**
21608
+ *
21609
+ * @type {number}
21610
+ * @memberof DataTypesUsageBreakdownGraphResponse
21611
+ */
21612
+ 'total_requests'?: number;
21613
+ }
21614
+ /**
21615
+ *
21616
+ * @export
21617
+ * @interface DataTypesUsageBreakdownRow
21618
+ */
21619
+ export interface DataTypesUsageBreakdownRow {
21620
+ /**
21621
+ *
21622
+ * @type {number}
21623
+ * @memberof DataTypesUsageBreakdownRow
21624
+ */
21625
+ 'credits_consumed'?: number;
21626
+ /**
21627
+ * Formatted date label
21628
+ * @type {string}
21629
+ * @memberof DataTypesUsageBreakdownRow
21630
+ */
21631
+ 'label'?: string;
21632
+ /**
21633
+ *
21634
+ * @type {number}
21635
+ * @memberof DataTypesUsageBreakdownRow
21636
+ */
21637
+ 'record_operations'?: number;
21638
+ /**
21639
+ *
21640
+ * @type {number}
21641
+ * @memberof DataTypesUsageBreakdownRow
21642
+ */
21643
+ 'search_requests'?: number;
21644
+ /**
21645
+ *
21646
+ * @type {string}
21647
+ * @memberof DataTypesUsageBreakdownRow
21648
+ */
21649
+ 'timestamp'?: string;
21650
+ }
21169
21651
  /**
21170
21652
  *
21171
21653
  * @export
@@ -35369,6 +35851,509 @@ export const AdminBillingUsageDetailsGetGranularityEnum = {
35369
35851
  export type AdminBillingUsageDetailsGetGranularityEnum = typeof AdminBillingUsageDetailsGetGranularityEnum[keyof typeof AdminBillingUsageDetailsGetGranularityEnum];
35370
35852
 
35371
35853
 
35854
+ /**
35855
+ * BillingDashboardGraphsApi - axios parameter creator
35856
+ * @export
35857
+ */
35858
+ export const BillingDashboardGraphsApiAxiosParamCreator = function (configuration?: Configuration) {
35859
+ return {
35860
+ /**
35861
+ * Returns credits consumed over time with store-level filtering and zero-filling
35862
+ * @summary Get credits consumed graph
35863
+ * @param {string} [xstoreid] Filter by specific store ID
35864
+ * @param {string} [startDate] Start date (YYYY-MM-DD or RFC3339)
35865
+ * @param {string} [endDate] End date (YYYY-MM-DD or RFC3339)
35866
+ * @param {AdminBillingGraphsCreditsConsumedGetGranularityEnum} [granularity] Time granularity
35867
+ * @param {boolean} [fillZeros] Fill empty buckets with zeros
35868
+ * @param {*} [options] Override http request option.
35869
+ * @throws {RequiredError}
35870
+ */
35871
+ adminBillingGraphsCreditsConsumedGet: async (xstoreid?: string, startDate?: string, endDate?: string, granularity?: AdminBillingGraphsCreditsConsumedGetGranularityEnum, fillZeros?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
35872
+ const localVarPath = `/admin/billing/graphs/credits-consumed`;
35873
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
35874
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
35875
+ let baseOptions;
35876
+ if (configuration) {
35877
+ baseOptions = configuration.baseOptions;
35878
+ }
35879
+
35880
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
35881
+ const localVarHeaderParameter = {} as any;
35882
+ const localVarQueryParameter = {} as any;
35883
+
35884
+ // authentication BearerAuth required
35885
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
35886
+
35887
+ if (xstoreid !== undefined) {
35888
+ localVarQueryParameter['xstoreid'] = xstoreid;
35889
+ }
35890
+
35891
+ if (startDate !== undefined) {
35892
+ localVarQueryParameter['start_date'] = startDate;
35893
+ }
35894
+
35895
+ if (endDate !== undefined) {
35896
+ localVarQueryParameter['end_date'] = endDate;
35897
+ }
35898
+
35899
+ if (granularity !== undefined) {
35900
+ localVarQueryParameter['granularity'] = granularity;
35901
+ }
35902
+
35903
+ if (fillZeros !== undefined) {
35904
+ localVarQueryParameter['fill_zeros'] = fillZeros;
35905
+ }
35906
+
35907
+
35908
+
35909
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
35910
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
35911
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
35912
+
35913
+ return {
35914
+ url: toPathString(localVarUrlObj),
35915
+ options: localVarRequestOptions,
35916
+ };
35917
+ },
35918
+ /**
35919
+ * Returns search requests over time with store-level filtering and zero-filling
35920
+ * @summary Get search requests graph
35921
+ * @param {string} [xstoreid] Filter by specific store ID
35922
+ * @param {string} [startDate] Start date (YYYY-MM-DD or RFC3339)
35923
+ * @param {string} [endDate] End date (YYYY-MM-DD or RFC3339)
35924
+ * @param {AdminBillingGraphsSearchRequestsGetGranularityEnum} [granularity] Time granularity
35925
+ * @param {boolean} [fillZeros] Fill empty buckets with zeros
35926
+ * @param {*} [options] Override http request option.
35927
+ * @throws {RequiredError}
35928
+ */
35929
+ adminBillingGraphsSearchRequestsGet: async (xstoreid?: string, startDate?: string, endDate?: string, granularity?: AdminBillingGraphsSearchRequestsGetGranularityEnum, fillZeros?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
35930
+ const localVarPath = `/admin/billing/graphs/search-requests`;
35931
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
35932
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
35933
+ let baseOptions;
35934
+ if (configuration) {
35935
+ baseOptions = configuration.baseOptions;
35936
+ }
35937
+
35938
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
35939
+ const localVarHeaderParameter = {} as any;
35940
+ const localVarQueryParameter = {} as any;
35941
+
35942
+ // authentication BearerAuth required
35943
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
35944
+
35945
+ if (xstoreid !== undefined) {
35946
+ localVarQueryParameter['xstoreid'] = xstoreid;
35947
+ }
35948
+
35949
+ if (startDate !== undefined) {
35950
+ localVarQueryParameter['start_date'] = startDate;
35951
+ }
35952
+
35953
+ if (endDate !== undefined) {
35954
+ localVarQueryParameter['end_date'] = endDate;
35955
+ }
35956
+
35957
+ if (granularity !== undefined) {
35958
+ localVarQueryParameter['granularity'] = granularity;
35959
+ }
35960
+
35961
+ if (fillZeros !== undefined) {
35962
+ localVarQueryParameter['fill_zeros'] = fillZeros;
35963
+ }
35964
+
35965
+
35966
+
35967
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
35968
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
35969
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
35970
+
35971
+ return {
35972
+ url: toPathString(localVarUrlObj),
35973
+ options: localVarRequestOptions,
35974
+ };
35975
+ },
35976
+ /**
35977
+ * Returns detailed timeseries consumption with summary statistics
35978
+ * @summary Get timeseries consumption graph
35979
+ * @param {string} [xstoreid] Filter by specific store ID
35980
+ * @param {string} [startDate] Start date (YYYY-MM-DD or RFC3339)
35981
+ * @param {string} [endDate] End date (YYYY-MM-DD or RFC3339)
35982
+ * @param {AdminBillingGraphsTimeseriesConsumptionGetGranularityEnum} [granularity] Time granularity
35983
+ * @param {boolean} [fillZeros] Fill empty buckets with zeros
35984
+ * @param {*} [options] Override http request option.
35985
+ * @throws {RequiredError}
35986
+ */
35987
+ adminBillingGraphsTimeseriesConsumptionGet: async (xstoreid?: string, startDate?: string, endDate?: string, granularity?: AdminBillingGraphsTimeseriesConsumptionGetGranularityEnum, fillZeros?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
35988
+ const localVarPath = `/admin/billing/graphs/timeseries-consumption`;
35989
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
35990
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
35991
+ let baseOptions;
35992
+ if (configuration) {
35993
+ baseOptions = configuration.baseOptions;
35994
+ }
35995
+
35996
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
35997
+ const localVarHeaderParameter = {} as any;
35998
+ const localVarQueryParameter = {} as any;
35999
+
36000
+ // authentication BearerAuth required
36001
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
36002
+
36003
+ if (xstoreid !== undefined) {
36004
+ localVarQueryParameter['xstoreid'] = xstoreid;
36005
+ }
36006
+
36007
+ if (startDate !== undefined) {
36008
+ localVarQueryParameter['start_date'] = startDate;
36009
+ }
36010
+
36011
+ if (endDate !== undefined) {
36012
+ localVarQueryParameter['end_date'] = endDate;
36013
+ }
36014
+
36015
+ if (granularity !== undefined) {
36016
+ localVarQueryParameter['granularity'] = granularity;
36017
+ }
36018
+
36019
+ if (fillZeros !== undefined) {
36020
+ localVarQueryParameter['fill_zeros'] = fillZeros;
36021
+ }
36022
+
36023
+
36024
+
36025
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
36026
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
36027
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
36028
+
36029
+ return {
36030
+ url: toPathString(localVarUrlObj),
36031
+ options: localVarRequestOptions,
36032
+ };
36033
+ },
36034
+ /**
36035
+ * Returns usage breakdown table with credits, requests, and record operations
36036
+ * @summary Get usage breakdown graph
36037
+ * @param {string} [xstoreid] Filter by specific store ID
36038
+ * @param {string} [startDate] Start date (YYYY-MM-DD or RFC3339)
36039
+ * @param {string} [endDate] End date (YYYY-MM-DD or RFC3339)
36040
+ * @param {AdminBillingGraphsUsageBreakdownGetGranularityEnum} [granularity] Time granularity
36041
+ * @param {boolean} [fillZeros] Fill empty buckets with zeros
36042
+ * @param {*} [options] Override http request option.
36043
+ * @throws {RequiredError}
36044
+ */
36045
+ adminBillingGraphsUsageBreakdownGet: async (xstoreid?: string, startDate?: string, endDate?: string, granularity?: AdminBillingGraphsUsageBreakdownGetGranularityEnum, fillZeros?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
36046
+ const localVarPath = `/admin/billing/graphs/usage-breakdown`;
36047
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
36048
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
36049
+ let baseOptions;
36050
+ if (configuration) {
36051
+ baseOptions = configuration.baseOptions;
36052
+ }
36053
+
36054
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
36055
+ const localVarHeaderParameter = {} as any;
36056
+ const localVarQueryParameter = {} as any;
36057
+
36058
+ // authentication BearerAuth required
36059
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
36060
+
36061
+ if (xstoreid !== undefined) {
36062
+ localVarQueryParameter['xstoreid'] = xstoreid;
36063
+ }
36064
+
36065
+ if (startDate !== undefined) {
36066
+ localVarQueryParameter['start_date'] = startDate;
36067
+ }
36068
+
36069
+ if (endDate !== undefined) {
36070
+ localVarQueryParameter['end_date'] = endDate;
36071
+ }
36072
+
36073
+ if (granularity !== undefined) {
36074
+ localVarQueryParameter['granularity'] = granularity;
36075
+ }
36076
+
36077
+ if (fillZeros !== undefined) {
36078
+ localVarQueryParameter['fill_zeros'] = fillZeros;
36079
+ }
36080
+
36081
+
36082
+
36083
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
36084
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
36085
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
36086
+
36087
+ return {
36088
+ url: toPathString(localVarUrlObj),
36089
+ options: localVarRequestOptions,
36090
+ };
36091
+ },
36092
+ }
36093
+ };
36094
+
36095
+ /**
36096
+ * BillingDashboardGraphsApi - functional programming interface
36097
+ * @export
36098
+ */
36099
+ export const BillingDashboardGraphsApiFp = function(configuration?: Configuration) {
36100
+ const localVarAxiosParamCreator = BillingDashboardGraphsApiAxiosParamCreator(configuration)
36101
+ return {
36102
+ /**
36103
+ * Returns credits consumed over time with store-level filtering and zero-filling
36104
+ * @summary Get credits consumed graph
36105
+ * @param {string} [xstoreid] Filter by specific store ID
36106
+ * @param {string} [startDate] Start date (YYYY-MM-DD or RFC3339)
36107
+ * @param {string} [endDate] End date (YYYY-MM-DD or RFC3339)
36108
+ * @param {AdminBillingGraphsCreditsConsumedGetGranularityEnum} [granularity] Time granularity
36109
+ * @param {boolean} [fillZeros] Fill empty buckets with zeros
36110
+ * @param {*} [options] Override http request option.
36111
+ * @throws {RequiredError}
36112
+ */
36113
+ async adminBillingGraphsCreditsConsumedGet(xstoreid?: string, startDate?: string, endDate?: string, granularity?: AdminBillingGraphsCreditsConsumedGetGranularityEnum, fillZeros?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesCreditsConsumedGraphResponse>> {
36114
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminBillingGraphsCreditsConsumedGet(xstoreid, startDate, endDate, granularity, fillZeros, options);
36115
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
36116
+ const localVarOperationServerBasePath = operationServerMap['BillingDashboardGraphsApi.adminBillingGraphsCreditsConsumedGet']?.[localVarOperationServerIndex]?.url;
36117
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
36118
+ },
36119
+ /**
36120
+ * Returns search requests over time with store-level filtering and zero-filling
36121
+ * @summary Get search requests graph
36122
+ * @param {string} [xstoreid] Filter by specific store ID
36123
+ * @param {string} [startDate] Start date (YYYY-MM-DD or RFC3339)
36124
+ * @param {string} [endDate] End date (YYYY-MM-DD or RFC3339)
36125
+ * @param {AdminBillingGraphsSearchRequestsGetGranularityEnum} [granularity] Time granularity
36126
+ * @param {boolean} [fillZeros] Fill empty buckets with zeros
36127
+ * @param {*} [options] Override http request option.
36128
+ * @throws {RequiredError}
36129
+ */
36130
+ async adminBillingGraphsSearchRequestsGet(xstoreid?: string, startDate?: string, endDate?: string, granularity?: AdminBillingGraphsSearchRequestsGetGranularityEnum, fillZeros?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesSearchRequestsGraphResponse>> {
36131
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminBillingGraphsSearchRequestsGet(xstoreid, startDate, endDate, granularity, fillZeros, options);
36132
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
36133
+ const localVarOperationServerBasePath = operationServerMap['BillingDashboardGraphsApi.adminBillingGraphsSearchRequestsGet']?.[localVarOperationServerIndex]?.url;
36134
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
36135
+ },
36136
+ /**
36137
+ * Returns detailed timeseries consumption with summary statistics
36138
+ * @summary Get timeseries consumption graph
36139
+ * @param {string} [xstoreid] Filter by specific store ID
36140
+ * @param {string} [startDate] Start date (YYYY-MM-DD or RFC3339)
36141
+ * @param {string} [endDate] End date (YYYY-MM-DD or RFC3339)
36142
+ * @param {AdminBillingGraphsTimeseriesConsumptionGetGranularityEnum} [granularity] Time granularity
36143
+ * @param {boolean} [fillZeros] Fill empty buckets with zeros
36144
+ * @param {*} [options] Override http request option.
36145
+ * @throws {RequiredError}
36146
+ */
36147
+ async adminBillingGraphsTimeseriesConsumptionGet(xstoreid?: string, startDate?: string, endDate?: string, granularity?: AdminBillingGraphsTimeseriesConsumptionGetGranularityEnum, fillZeros?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesTimeSeriesConsumptionGraphResponse>> {
36148
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminBillingGraphsTimeseriesConsumptionGet(xstoreid, startDate, endDate, granularity, fillZeros, options);
36149
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
36150
+ const localVarOperationServerBasePath = operationServerMap['BillingDashboardGraphsApi.adminBillingGraphsTimeseriesConsumptionGet']?.[localVarOperationServerIndex]?.url;
36151
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
36152
+ },
36153
+ /**
36154
+ * Returns usage breakdown table with credits, requests, and record operations
36155
+ * @summary Get usage breakdown graph
36156
+ * @param {string} [xstoreid] Filter by specific store ID
36157
+ * @param {string} [startDate] Start date (YYYY-MM-DD or RFC3339)
36158
+ * @param {string} [endDate] End date (YYYY-MM-DD or RFC3339)
36159
+ * @param {AdminBillingGraphsUsageBreakdownGetGranularityEnum} [granularity] Time granularity
36160
+ * @param {boolean} [fillZeros] Fill empty buckets with zeros
36161
+ * @param {*} [options] Override http request option.
36162
+ * @throws {RequiredError}
36163
+ */
36164
+ async adminBillingGraphsUsageBreakdownGet(xstoreid?: string, startDate?: string, endDate?: string, granularity?: AdminBillingGraphsUsageBreakdownGetGranularityEnum, fillZeros?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesUsageBreakdownGraphResponse>> {
36165
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminBillingGraphsUsageBreakdownGet(xstoreid, startDate, endDate, granularity, fillZeros, options);
36166
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
36167
+ const localVarOperationServerBasePath = operationServerMap['BillingDashboardGraphsApi.adminBillingGraphsUsageBreakdownGet']?.[localVarOperationServerIndex]?.url;
36168
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
36169
+ },
36170
+ }
36171
+ };
36172
+
36173
+ /**
36174
+ * BillingDashboardGraphsApi - factory interface
36175
+ * @export
36176
+ */
36177
+ export const BillingDashboardGraphsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
36178
+ const localVarFp = BillingDashboardGraphsApiFp(configuration)
36179
+ return {
36180
+ /**
36181
+ * Returns credits consumed over time with store-level filtering and zero-filling
36182
+ * @summary Get credits consumed graph
36183
+ * @param {string} [xstoreid] Filter by specific store ID
36184
+ * @param {string} [startDate] Start date (YYYY-MM-DD or RFC3339)
36185
+ * @param {string} [endDate] End date (YYYY-MM-DD or RFC3339)
36186
+ * @param {AdminBillingGraphsCreditsConsumedGetGranularityEnum} [granularity] Time granularity
36187
+ * @param {boolean} [fillZeros] Fill empty buckets with zeros
36188
+ * @param {*} [options] Override http request option.
36189
+ * @throws {RequiredError}
36190
+ */
36191
+ adminBillingGraphsCreditsConsumedGet(xstoreid?: string, startDate?: string, endDate?: string, granularity?: AdminBillingGraphsCreditsConsumedGetGranularityEnum, fillZeros?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesCreditsConsumedGraphResponse> {
36192
+ return localVarFp.adminBillingGraphsCreditsConsumedGet(xstoreid, startDate, endDate, granularity, fillZeros, options).then((request) => request(axios, basePath));
36193
+ },
36194
+ /**
36195
+ * Returns search requests over time with store-level filtering and zero-filling
36196
+ * @summary Get search requests graph
36197
+ * @param {string} [xstoreid] Filter by specific store ID
36198
+ * @param {string} [startDate] Start date (YYYY-MM-DD or RFC3339)
36199
+ * @param {string} [endDate] End date (YYYY-MM-DD or RFC3339)
36200
+ * @param {AdminBillingGraphsSearchRequestsGetGranularityEnum} [granularity] Time granularity
36201
+ * @param {boolean} [fillZeros] Fill empty buckets with zeros
36202
+ * @param {*} [options] Override http request option.
36203
+ * @throws {RequiredError}
36204
+ */
36205
+ adminBillingGraphsSearchRequestsGet(xstoreid?: string, startDate?: string, endDate?: string, granularity?: AdminBillingGraphsSearchRequestsGetGranularityEnum, fillZeros?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesSearchRequestsGraphResponse> {
36206
+ return localVarFp.adminBillingGraphsSearchRequestsGet(xstoreid, startDate, endDate, granularity, fillZeros, options).then((request) => request(axios, basePath));
36207
+ },
36208
+ /**
36209
+ * Returns detailed timeseries consumption with summary statistics
36210
+ * @summary Get timeseries consumption graph
36211
+ * @param {string} [xstoreid] Filter by specific store ID
36212
+ * @param {string} [startDate] Start date (YYYY-MM-DD or RFC3339)
36213
+ * @param {string} [endDate] End date (YYYY-MM-DD or RFC3339)
36214
+ * @param {AdminBillingGraphsTimeseriesConsumptionGetGranularityEnum} [granularity] Time granularity
36215
+ * @param {boolean} [fillZeros] Fill empty buckets with zeros
36216
+ * @param {*} [options] Override http request option.
36217
+ * @throws {RequiredError}
36218
+ */
36219
+ adminBillingGraphsTimeseriesConsumptionGet(xstoreid?: string, startDate?: string, endDate?: string, granularity?: AdminBillingGraphsTimeseriesConsumptionGetGranularityEnum, fillZeros?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesTimeSeriesConsumptionGraphResponse> {
36220
+ return localVarFp.adminBillingGraphsTimeseriesConsumptionGet(xstoreid, startDate, endDate, granularity, fillZeros, options).then((request) => request(axios, basePath));
36221
+ },
36222
+ /**
36223
+ * Returns usage breakdown table with credits, requests, and record operations
36224
+ * @summary Get usage breakdown graph
36225
+ * @param {string} [xstoreid] Filter by specific store ID
36226
+ * @param {string} [startDate] Start date (YYYY-MM-DD or RFC3339)
36227
+ * @param {string} [endDate] End date (YYYY-MM-DD or RFC3339)
36228
+ * @param {AdminBillingGraphsUsageBreakdownGetGranularityEnum} [granularity] Time granularity
36229
+ * @param {boolean} [fillZeros] Fill empty buckets with zeros
36230
+ * @param {*} [options] Override http request option.
36231
+ * @throws {RequiredError}
36232
+ */
36233
+ adminBillingGraphsUsageBreakdownGet(xstoreid?: string, startDate?: string, endDate?: string, granularity?: AdminBillingGraphsUsageBreakdownGetGranularityEnum, fillZeros?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesUsageBreakdownGraphResponse> {
36234
+ return localVarFp.adminBillingGraphsUsageBreakdownGet(xstoreid, startDate, endDate, granularity, fillZeros, options).then((request) => request(axios, basePath));
36235
+ },
36236
+ };
36237
+ };
36238
+
36239
+ /**
36240
+ * BillingDashboardGraphsApi - object-oriented interface
36241
+ * @export
36242
+ * @class BillingDashboardGraphsApi
36243
+ * @extends {BaseAPI}
36244
+ */
36245
+ export class BillingDashboardGraphsApi extends BaseAPI {
36246
+ /**
36247
+ * Returns credits consumed over time with store-level filtering and zero-filling
36248
+ * @summary Get credits consumed graph
36249
+ * @param {string} [xstoreid] Filter by specific store ID
36250
+ * @param {string} [startDate] Start date (YYYY-MM-DD or RFC3339)
36251
+ * @param {string} [endDate] End date (YYYY-MM-DD or RFC3339)
36252
+ * @param {AdminBillingGraphsCreditsConsumedGetGranularityEnum} [granularity] Time granularity
36253
+ * @param {boolean} [fillZeros] Fill empty buckets with zeros
36254
+ * @param {*} [options] Override http request option.
36255
+ * @throws {RequiredError}
36256
+ * @memberof BillingDashboardGraphsApi
36257
+ */
36258
+ public adminBillingGraphsCreditsConsumedGet(xstoreid?: string, startDate?: string, endDate?: string, granularity?: AdminBillingGraphsCreditsConsumedGetGranularityEnum, fillZeros?: boolean, options?: RawAxiosRequestConfig) {
36259
+ return BillingDashboardGraphsApiFp(this.configuration).adminBillingGraphsCreditsConsumedGet(xstoreid, startDate, endDate, granularity, fillZeros, options).then((request) => request(this.axios, this.basePath));
36260
+ }
36261
+
36262
+ /**
36263
+ * Returns search requests over time with store-level filtering and zero-filling
36264
+ * @summary Get search requests graph
36265
+ * @param {string} [xstoreid] Filter by specific store ID
36266
+ * @param {string} [startDate] Start date (YYYY-MM-DD or RFC3339)
36267
+ * @param {string} [endDate] End date (YYYY-MM-DD or RFC3339)
36268
+ * @param {AdminBillingGraphsSearchRequestsGetGranularityEnum} [granularity] Time granularity
36269
+ * @param {boolean} [fillZeros] Fill empty buckets with zeros
36270
+ * @param {*} [options] Override http request option.
36271
+ * @throws {RequiredError}
36272
+ * @memberof BillingDashboardGraphsApi
36273
+ */
36274
+ public adminBillingGraphsSearchRequestsGet(xstoreid?: string, startDate?: string, endDate?: string, granularity?: AdminBillingGraphsSearchRequestsGetGranularityEnum, fillZeros?: boolean, options?: RawAxiosRequestConfig) {
36275
+ return BillingDashboardGraphsApiFp(this.configuration).adminBillingGraphsSearchRequestsGet(xstoreid, startDate, endDate, granularity, fillZeros, options).then((request) => request(this.axios, this.basePath));
36276
+ }
36277
+
36278
+ /**
36279
+ * Returns detailed timeseries consumption with summary statistics
36280
+ * @summary Get timeseries consumption graph
36281
+ * @param {string} [xstoreid] Filter by specific store ID
36282
+ * @param {string} [startDate] Start date (YYYY-MM-DD or RFC3339)
36283
+ * @param {string} [endDate] End date (YYYY-MM-DD or RFC3339)
36284
+ * @param {AdminBillingGraphsTimeseriesConsumptionGetGranularityEnum} [granularity] Time granularity
36285
+ * @param {boolean} [fillZeros] Fill empty buckets with zeros
36286
+ * @param {*} [options] Override http request option.
36287
+ * @throws {RequiredError}
36288
+ * @memberof BillingDashboardGraphsApi
36289
+ */
36290
+ public adminBillingGraphsTimeseriesConsumptionGet(xstoreid?: string, startDate?: string, endDate?: string, granularity?: AdminBillingGraphsTimeseriesConsumptionGetGranularityEnum, fillZeros?: boolean, options?: RawAxiosRequestConfig) {
36291
+ return BillingDashboardGraphsApiFp(this.configuration).adminBillingGraphsTimeseriesConsumptionGet(xstoreid, startDate, endDate, granularity, fillZeros, options).then((request) => request(this.axios, this.basePath));
36292
+ }
36293
+
36294
+ /**
36295
+ * Returns usage breakdown table with credits, requests, and record operations
36296
+ * @summary Get usage breakdown graph
36297
+ * @param {string} [xstoreid] Filter by specific store ID
36298
+ * @param {string} [startDate] Start date (YYYY-MM-DD or RFC3339)
36299
+ * @param {string} [endDate] End date (YYYY-MM-DD or RFC3339)
36300
+ * @param {AdminBillingGraphsUsageBreakdownGetGranularityEnum} [granularity] Time granularity
36301
+ * @param {boolean} [fillZeros] Fill empty buckets with zeros
36302
+ * @param {*} [options] Override http request option.
36303
+ * @throws {RequiredError}
36304
+ * @memberof BillingDashboardGraphsApi
36305
+ */
36306
+ public adminBillingGraphsUsageBreakdownGet(xstoreid?: string, startDate?: string, endDate?: string, granularity?: AdminBillingGraphsUsageBreakdownGetGranularityEnum, fillZeros?: boolean, options?: RawAxiosRequestConfig) {
36307
+ return BillingDashboardGraphsApiFp(this.configuration).adminBillingGraphsUsageBreakdownGet(xstoreid, startDate, endDate, granularity, fillZeros, options).then((request) => request(this.axios, this.basePath));
36308
+ }
36309
+ }
36310
+
36311
+ /**
36312
+ * @export
36313
+ */
36314
+ export const AdminBillingGraphsCreditsConsumedGetGranularityEnum = {
36315
+ Minute: 'minute',
36316
+ Hour: 'hour',
36317
+ Day: 'day',
36318
+ Week: 'week',
36319
+ Month: 'month'
36320
+ } as const;
36321
+ export type AdminBillingGraphsCreditsConsumedGetGranularityEnum = typeof AdminBillingGraphsCreditsConsumedGetGranularityEnum[keyof typeof AdminBillingGraphsCreditsConsumedGetGranularityEnum];
36322
+ /**
36323
+ * @export
36324
+ */
36325
+ export const AdminBillingGraphsSearchRequestsGetGranularityEnum = {
36326
+ Minute: 'minute',
36327
+ Hour: 'hour',
36328
+ Day: 'day',
36329
+ Week: 'week',
36330
+ Month: 'month'
36331
+ } as const;
36332
+ export type AdminBillingGraphsSearchRequestsGetGranularityEnum = typeof AdminBillingGraphsSearchRequestsGetGranularityEnum[keyof typeof AdminBillingGraphsSearchRequestsGetGranularityEnum];
36333
+ /**
36334
+ * @export
36335
+ */
36336
+ export const AdminBillingGraphsTimeseriesConsumptionGetGranularityEnum = {
36337
+ Minute: 'minute',
36338
+ Hour: 'hour',
36339
+ Day: 'day',
36340
+ Week: 'week',
36341
+ Month: 'month'
36342
+ } as const;
36343
+ export type AdminBillingGraphsTimeseriesConsumptionGetGranularityEnum = typeof AdminBillingGraphsTimeseriesConsumptionGetGranularityEnum[keyof typeof AdminBillingGraphsTimeseriesConsumptionGetGranularityEnum];
36344
+ /**
36345
+ * @export
36346
+ */
36347
+ export const AdminBillingGraphsUsageBreakdownGetGranularityEnum = {
36348
+ Minute: 'minute',
36349
+ Hour: 'hour',
36350
+ Day: 'day',
36351
+ Week: 'week',
36352
+ Month: 'month'
36353
+ } as const;
36354
+ export type AdminBillingGraphsUsageBreakdownGetGranularityEnum = typeof AdminBillingGraphsUsageBreakdownGetGranularityEnum[keyof typeof AdminBillingGraphsUsageBreakdownGetGranularityEnum];
36355
+
36356
+
35372
36357
  /**
35373
36358
  * CommonApi - axios parameter creator
35374
36359
  * @export