@seekora-ai/admin-api 1.1.85 → 1.1.86

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
@@ -3448,6 +3448,381 @@ export interface AnalyticsCreateFunnelRequestBody {
3448
3448
  */
3449
3449
  'store_id'?: number;
3450
3450
  }
3451
+ /**
3452
+ *
3453
+ * @export
3454
+ * @interface AnalyticsCustomEventFieldBreakdown
3455
+ */
3456
+ export interface AnalyticsCustomEventFieldBreakdown {
3457
+ /**
3458
+ *
3459
+ * @type {string}
3460
+ * @memberof AnalyticsCustomEventFieldBreakdown
3461
+ */
3462
+ 'event_name'?: string;
3463
+ /**
3464
+ *
3465
+ * @type {string}
3466
+ * @memberof AnalyticsCustomEventFieldBreakdown
3467
+ */
3468
+ 'field_name'?: string;
3469
+ /**
3470
+ *
3471
+ * @type {string}
3472
+ * @memberof AnalyticsCustomEventFieldBreakdown
3473
+ */
3474
+ 'field_slot'?: string;
3475
+ /**
3476
+ *
3477
+ * @type {Array<AnalyticsFieldBreakdownEntry>}
3478
+ * @memberof AnalyticsCustomEventFieldBreakdown
3479
+ */
3480
+ 'values'?: Array<AnalyticsFieldBreakdownEntry>;
3481
+ }
3482
+ /**
3483
+ *
3484
+ * @export
3485
+ * @interface AnalyticsCustomEventFieldBreakdownRequestBody
3486
+ */
3487
+ export interface AnalyticsCustomEventFieldBreakdownRequestBody {
3488
+ /**
3489
+ *
3490
+ * @type {string}
3491
+ * @memberof AnalyticsCustomEventFieldBreakdownRequestBody
3492
+ */
3493
+ 'end_date': string;
3494
+ /**
3495
+ *
3496
+ * @type {string}
3497
+ * @memberof AnalyticsCustomEventFieldBreakdownRequestBody
3498
+ */
3499
+ 'event_name': string;
3500
+ /**
3501
+ *
3502
+ * @type {string}
3503
+ * @memberof AnalyticsCustomEventFieldBreakdownRequestBody
3504
+ */
3505
+ 'field_slot': string;
3506
+ /**
3507
+ * hour, day, week, month
3508
+ * @type {string}
3509
+ * @memberof AnalyticsCustomEventFieldBreakdownRequestBody
3510
+ */
3511
+ 'granularity'?: string;
3512
+ /**
3513
+ *
3514
+ * @type {number}
3515
+ * @memberof AnalyticsCustomEventFieldBreakdownRequestBody
3516
+ */
3517
+ 'limit'?: number;
3518
+ /**
3519
+ *
3520
+ * @type {number}
3521
+ * @memberof AnalyticsCustomEventFieldBreakdownRequestBody
3522
+ */
3523
+ 'page'?: number;
3524
+ /**
3525
+ *
3526
+ * @type {number}
3527
+ * @memberof AnalyticsCustomEventFieldBreakdownRequestBody
3528
+ */
3529
+ 'page_size'?: number;
3530
+ /**
3531
+ *
3532
+ * @type {string}
3533
+ * @memberof AnalyticsCustomEventFieldBreakdownRequestBody
3534
+ */
3535
+ 'start_date': string;
3536
+ /**
3537
+ *
3538
+ * @type {string}
3539
+ * @memberof AnalyticsCustomEventFieldBreakdownRequestBody
3540
+ */
3541
+ 'xstoreid'?: string;
3542
+ }
3543
+ /**
3544
+ *
3545
+ * @export
3546
+ * @interface AnalyticsCustomEventMetrics
3547
+ */
3548
+ export interface AnalyticsCustomEventMetrics {
3549
+ /**
3550
+ *
3551
+ * @type {Array<SeekoraGoSrcServicesAnalyticsTimeSeriesPoint>}
3552
+ * @memberof AnalyticsCustomEventMetrics
3553
+ */
3554
+ 'time_series'?: Array<SeekoraGoSrcServicesAnalyticsTimeSeriesPoint>;
3555
+ /**
3556
+ *
3557
+ * @type {number}
3558
+ * @memberof AnalyticsCustomEventMetrics
3559
+ */
3560
+ 'total_events'?: number;
3561
+ /**
3562
+ *
3563
+ * @type {number}
3564
+ * @memberof AnalyticsCustomEventMetrics
3565
+ */
3566
+ 'unique_event_types'?: number;
3567
+ /**
3568
+ *
3569
+ * @type {number}
3570
+ * @memberof AnalyticsCustomEventMetrics
3571
+ */
3572
+ 'unique_sessions'?: number;
3573
+ /**
3574
+ *
3575
+ * @type {number}
3576
+ * @memberof AnalyticsCustomEventMetrics
3577
+ */
3578
+ 'unique_users'?: number;
3579
+ }
3580
+ /**
3581
+ *
3582
+ * @export
3583
+ * @interface AnalyticsCustomEventMetricsRequestBody
3584
+ */
3585
+ export interface AnalyticsCustomEventMetricsRequestBody {
3586
+ /**
3587
+ *
3588
+ * @type {string}
3589
+ * @memberof AnalyticsCustomEventMetricsRequestBody
3590
+ */
3591
+ 'end_date': string;
3592
+ /**
3593
+ *
3594
+ * @type {string}
3595
+ * @memberof AnalyticsCustomEventMetricsRequestBody
3596
+ */
3597
+ 'event_name'?: string;
3598
+ /**
3599
+ * hour, day, week, month
3600
+ * @type {string}
3601
+ * @memberof AnalyticsCustomEventMetricsRequestBody
3602
+ */
3603
+ 'granularity'?: string;
3604
+ /**
3605
+ *
3606
+ * @type {number}
3607
+ * @memberof AnalyticsCustomEventMetricsRequestBody
3608
+ */
3609
+ 'page'?: number;
3610
+ /**
3611
+ *
3612
+ * @type {number}
3613
+ * @memberof AnalyticsCustomEventMetricsRequestBody
3614
+ */
3615
+ 'page_size'?: number;
3616
+ /**
3617
+ *
3618
+ * @type {string}
3619
+ * @memberof AnalyticsCustomEventMetricsRequestBody
3620
+ */
3621
+ 'start_date': string;
3622
+ /**
3623
+ *
3624
+ * @type {string}
3625
+ * @memberof AnalyticsCustomEventMetricsRequestBody
3626
+ */
3627
+ 'xstoreid'?: string;
3628
+ }
3629
+ /**
3630
+ *
3631
+ * @export
3632
+ * @interface AnalyticsCustomEventRow
3633
+ */
3634
+ export interface AnalyticsCustomEventRow {
3635
+ /**
3636
+ *
3637
+ * @type {string}
3638
+ * @memberof AnalyticsCustomEventRow
3639
+ */
3640
+ 'event_id'?: string;
3641
+ /**
3642
+ *
3643
+ * @type {string}
3644
+ * @memberof AnalyticsCustomEventRow
3645
+ */
3646
+ 'event_name'?: string;
3647
+ /**
3648
+ *
3649
+ * @type {string}
3650
+ * @memberof AnalyticsCustomEventRow
3651
+ */
3652
+ 'event_ts'?: string;
3653
+ /**
3654
+ *
3655
+ * @type {{ [key: string]: any; }}
3656
+ * @memberof AnalyticsCustomEventRow
3657
+ */
3658
+ 'fields'?: { [key: string]: any; };
3659
+ /**
3660
+ *
3661
+ * @type {string}
3662
+ * @memberof AnalyticsCustomEventRow
3663
+ */
3664
+ 'session_id'?: string;
3665
+ /**
3666
+ *
3667
+ * @type {string}
3668
+ * @memberof AnalyticsCustomEventRow
3669
+ */
3670
+ 'user_key'?: string;
3671
+ }
3672
+ /**
3673
+ *
3674
+ * @export
3675
+ * @interface AnalyticsCustomEventStreamRequestBody
3676
+ */
3677
+ export interface AnalyticsCustomEventStreamRequestBody {
3678
+ /**
3679
+ *
3680
+ * @type {string}
3681
+ * @memberof AnalyticsCustomEventStreamRequestBody
3682
+ */
3683
+ 'end_date': string;
3684
+ /**
3685
+ *
3686
+ * @type {string}
3687
+ * @memberof AnalyticsCustomEventStreamRequestBody
3688
+ */
3689
+ 'event_name'?: string;
3690
+ /**
3691
+ * hour, day, week, month
3692
+ * @type {string}
3693
+ * @memberof AnalyticsCustomEventStreamRequestBody
3694
+ */
3695
+ 'granularity'?: string;
3696
+ /**
3697
+ *
3698
+ * @type {number}
3699
+ * @memberof AnalyticsCustomEventStreamRequestBody
3700
+ */
3701
+ 'page'?: number;
3702
+ /**
3703
+ *
3704
+ * @type {number}
3705
+ * @memberof AnalyticsCustomEventStreamRequestBody
3706
+ */
3707
+ 'page_size'?: number;
3708
+ /**
3709
+ *
3710
+ * @type {string}
3711
+ * @memberof AnalyticsCustomEventStreamRequestBody
3712
+ */
3713
+ 'start_date': string;
3714
+ /**
3715
+ *
3716
+ * @type {string}
3717
+ * @memberof AnalyticsCustomEventStreamRequestBody
3718
+ */
3719
+ 'xstoreid'?: string;
3720
+ }
3721
+ /**
3722
+ *
3723
+ * @export
3724
+ * @interface AnalyticsCustomEventSummary
3725
+ */
3726
+ export interface AnalyticsCustomEventSummary {
3727
+ /**
3728
+ *
3729
+ * @type {number}
3730
+ * @memberof AnalyticsCustomEventSummary
3731
+ */
3732
+ 'event_count'?: number;
3733
+ /**
3734
+ *
3735
+ * @type {string}
3736
+ * @memberof AnalyticsCustomEventSummary
3737
+ */
3738
+ 'event_name'?: string;
3739
+ /**
3740
+ *
3741
+ * @type {string}
3742
+ * @memberof AnalyticsCustomEventSummary
3743
+ */
3744
+ 'last_seen'?: string;
3745
+ /**
3746
+ *
3747
+ * @type {number}
3748
+ * @memberof AnalyticsCustomEventSummary
3749
+ */
3750
+ 'unique_users'?: number;
3751
+ }
3752
+ /**
3753
+ *
3754
+ * @export
3755
+ * @interface AnalyticsCustomEventTimeSeriesPoint
3756
+ */
3757
+ export interface AnalyticsCustomEventTimeSeriesPoint {
3758
+ /**
3759
+ *
3760
+ * @type {number}
3761
+ * @memberof AnalyticsCustomEventTimeSeriesPoint
3762
+ */
3763
+ 'count'?: number;
3764
+ /**
3765
+ *
3766
+ * @type {string}
3767
+ * @memberof AnalyticsCustomEventTimeSeriesPoint
3768
+ */
3769
+ 'event_name'?: string;
3770
+ /**
3771
+ *
3772
+ * @type {string}
3773
+ * @memberof AnalyticsCustomEventTimeSeriesPoint
3774
+ */
3775
+ 'timestamp'?: string;
3776
+ }
3777
+ /**
3778
+ *
3779
+ * @export
3780
+ * @interface AnalyticsCustomEventTimeSeriesRequestBody
3781
+ */
3782
+ export interface AnalyticsCustomEventTimeSeriesRequestBody {
3783
+ /**
3784
+ *
3785
+ * @type {string}
3786
+ * @memberof AnalyticsCustomEventTimeSeriesRequestBody
3787
+ */
3788
+ 'end_date': string;
3789
+ /**
3790
+ *
3791
+ * @type {string}
3792
+ * @memberof AnalyticsCustomEventTimeSeriesRequestBody
3793
+ */
3794
+ 'event_name'?: string;
3795
+ /**
3796
+ * hour, day, week, month
3797
+ * @type {string}
3798
+ * @memberof AnalyticsCustomEventTimeSeriesRequestBody
3799
+ */
3800
+ 'granularity'?: string;
3801
+ /**
3802
+ *
3803
+ * @type {number}
3804
+ * @memberof AnalyticsCustomEventTimeSeriesRequestBody
3805
+ */
3806
+ 'page'?: number;
3807
+ /**
3808
+ *
3809
+ * @type {number}
3810
+ * @memberof AnalyticsCustomEventTimeSeriesRequestBody
3811
+ */
3812
+ 'page_size'?: number;
3813
+ /**
3814
+ *
3815
+ * @type {string}
3816
+ * @memberof AnalyticsCustomEventTimeSeriesRequestBody
3817
+ */
3818
+ 'start_date': string;
3819
+ /**
3820
+ *
3821
+ * @type {string}
3822
+ * @memberof AnalyticsCustomEventTimeSeriesRequestBody
3823
+ */
3824
+ 'xstoreid'?: string;
3825
+ }
3451
3826
  /**
3452
3827
  *
3453
3828
  * @export
@@ -3746,6 +4121,25 @@ export interface AnalyticsExtendedKPIResponse {
3746
4121
  */
3747
4122
  'xstoreid'?: string;
3748
4123
  }
4124
+ /**
4125
+ *
4126
+ * @export
4127
+ * @interface AnalyticsFieldBreakdownEntry
4128
+ */
4129
+ export interface AnalyticsFieldBreakdownEntry {
4130
+ /**
4131
+ *
4132
+ * @type {number}
4133
+ * @memberof AnalyticsFieldBreakdownEntry
4134
+ */
4135
+ 'count'?: number;
4136
+ /**
4137
+ *
4138
+ * @type {string}
4139
+ * @memberof AnalyticsFieldBreakdownEntry
4140
+ */
4141
+ 'value'?: string;
4142
+ }
3749
4143
  /**
3750
4144
  *
3751
4145
  * @export
@@ -6819,6 +7213,12 @@ export interface AnalyticsKPIMetrics {
6819
7213
  * @memberof AnalyticsKPIMetrics
6820
7214
  */
6821
7215
  'revenue_currency'?: string;
7216
+ /**
7217
+ *
7218
+ * @type {number}
7219
+ * @memberof AnalyticsKPIMetrics
7220
+ */
7221
+ 'total_custom_events'?: number;
6822
7222
  /**
6823
7223
  *
6824
7224
  * @type {number}
@@ -6874,6 +7274,12 @@ export interface AnalyticsKPIPointExtended {
6874
7274
  * @memberof AnalyticsKPIPointExtended
6875
7275
  */
6876
7276
  'ctr'?: number;
7277
+ /**
7278
+ *
7279
+ * @type {number}
7280
+ * @memberof AnalyticsKPIPointExtended
7281
+ */
7282
+ 'custom_events'?: number;
6877
7283
  /**
6878
7284
  *
6879
7285
  * @type {number}
@@ -7120,6 +7526,43 @@ export interface AnalyticsOverviewComparison {
7120
7526
  */
7121
7527
  'revenue'?: AnalyticsPeriodComparison;
7122
7528
  }
7529
+ /**
7530
+ *
7531
+ * @export
7532
+ * @interface AnalyticsPaginatedResponseAnalyticsCustomEventRow
7533
+ */
7534
+ export interface AnalyticsPaginatedResponseAnalyticsCustomEventRow {
7535
+ /**
7536
+ *
7537
+ * @type {Array<AnalyticsCustomEventRow>}
7538
+ * @memberof AnalyticsPaginatedResponseAnalyticsCustomEventRow
7539
+ */
7540
+ 'data'?: Array<AnalyticsCustomEventRow>;
7541
+ /**
7542
+ *
7543
+ * @type {number}
7544
+ * @memberof AnalyticsPaginatedResponseAnalyticsCustomEventRow
7545
+ */
7546
+ 'page'?: number;
7547
+ /**
7548
+ *
7549
+ * @type {number}
7550
+ * @memberof AnalyticsPaginatedResponseAnalyticsCustomEventRow
7551
+ */
7552
+ 'page_size'?: number;
7553
+ /**
7554
+ *
7555
+ * @type {number}
7556
+ * @memberof AnalyticsPaginatedResponseAnalyticsCustomEventRow
7557
+ */
7558
+ 'total'?: number;
7559
+ /**
7560
+ *
7561
+ * @type {number}
7562
+ * @memberof AnalyticsPaginatedResponseAnalyticsCustomEventRow
7563
+ */
7564
+ 'total_pages'?: number;
7565
+ }
7123
7566
  /**
7124
7567
  *
7125
7568
  * @export
@@ -10650,6 +11093,61 @@ export interface AnalyticsTimeWindow {
10650
11093
  */
10651
11094
  'start_date'?: string;
10652
11095
  }
11096
+ /**
11097
+ *
11098
+ * @export
11099
+ * @interface AnalyticsTopCustomEventsRequestBody
11100
+ */
11101
+ export interface AnalyticsTopCustomEventsRequestBody {
11102
+ /**
11103
+ *
11104
+ * @type {string}
11105
+ * @memberof AnalyticsTopCustomEventsRequestBody
11106
+ */
11107
+ 'end_date': string;
11108
+ /**
11109
+ * hour, day, week, month
11110
+ * @type {string}
11111
+ * @memberof AnalyticsTopCustomEventsRequestBody
11112
+ */
11113
+ 'granularity'?: string;
11114
+ /**
11115
+ *
11116
+ * @type {number}
11117
+ * @memberof AnalyticsTopCustomEventsRequestBody
11118
+ */
11119
+ 'limit'?: number;
11120
+ /**
11121
+ *
11122
+ * @type {number}
11123
+ * @memberof AnalyticsTopCustomEventsRequestBody
11124
+ */
11125
+ 'page'?: number;
11126
+ /**
11127
+ *
11128
+ * @type {number}
11129
+ * @memberof AnalyticsTopCustomEventsRequestBody
11130
+ */
11131
+ 'page_size'?: number;
11132
+ /**
11133
+ *
11134
+ * @type {string}
11135
+ * @memberof AnalyticsTopCustomEventsRequestBody
11136
+ */
11137
+ 'sort_by'?: string;
11138
+ /**
11139
+ *
11140
+ * @type {string}
11141
+ * @memberof AnalyticsTopCustomEventsRequestBody
11142
+ */
11143
+ 'start_date': string;
11144
+ /**
11145
+ *
11146
+ * @type {string}
11147
+ * @memberof AnalyticsTopCustomEventsRequestBody
11148
+ */
11149
+ 'xstoreid'?: string;
11150
+ }
10653
11151
  /**
10654
11152
  *
10655
11153
  * @export
@@ -17143,6 +17641,19 @@ export interface DataTypesExperimentAssignment {
17143
17641
  */
17144
17642
  'variant_id'?: string;
17145
17643
  }
17644
+ /**
17645
+ *
17646
+ * @export
17647
+ * @interface DataTypesExperimentAssignmentResponse
17648
+ */
17649
+ export interface DataTypesExperimentAssignmentResponse {
17650
+ /**
17651
+ *
17652
+ * @type {Array<DataTypesExperimentAssignment>}
17653
+ * @memberof DataTypesExperimentAssignmentResponse
17654
+ */
17655
+ 'assignments'?: Array<DataTypesExperimentAssignment>;
17656
+ }
17146
17657
  /**
17147
17658
  *
17148
17659
  * @export
@@ -17414,6 +17925,81 @@ export interface DataTypesFacetRangeConfig {
17414
17925
  */
17415
17926
  'ranges'?: Array<DataTypesFacetRange>;
17416
17927
  }
17928
+ /**
17929
+ *
17930
+ * @export
17931
+ * @interface DataTypesFacetValuesSearchRequest
17932
+ */
17933
+ export interface DataTypesFacetValuesSearchRequest {
17934
+ /**
17935
+ *
17936
+ * @type {string}
17937
+ * @memberof DataTypesFacetValuesSearchRequest
17938
+ */
17939
+ 'facet_query': string;
17940
+ /**
17941
+ *
17942
+ * @type {string}
17943
+ * @memberof DataTypesFacetValuesSearchRequest
17944
+ */
17945
+ 'filter'?: string;
17946
+ /**
17947
+ *
17948
+ * @type {number}
17949
+ * @memberof DataTypesFacetValuesSearchRequest
17950
+ */
17951
+ 'max_values'?: number;
17952
+ /**
17953
+ *
17954
+ * @type {string}
17955
+ * @memberof DataTypesFacetValuesSearchRequest
17956
+ */
17957
+ 'q'?: string;
17958
+ }
17959
+ /**
17960
+ *
17961
+ * @export
17962
+ * @interface DataTypesFacetValuesSearchResponse
17963
+ */
17964
+ export interface DataTypesFacetValuesSearchResponse {
17965
+ /**
17966
+ *
17967
+ * @type {string}
17968
+ * @memberof DataTypesFacetValuesSearchResponse
17969
+ */
17970
+ 'facet_name'?: string;
17971
+ /**
17972
+ *
17973
+ * @type {Array<DataTypesFilterValue>}
17974
+ * @memberof DataTypesFacetValuesSearchResponse
17975
+ */
17976
+ 'values'?: Array<DataTypesFilterValue>;
17977
+ }
17978
+ /**
17979
+ *
17980
+ * @export
17981
+ * @interface DataTypesFacetValuesSearchResponseWrapper
17982
+ */
17983
+ export interface DataTypesFacetValuesSearchResponseWrapper {
17984
+ /**
17985
+ *
17986
+ * @type {DataTypesFacetValuesSearchResponse}
17987
+ * @memberof DataTypesFacetValuesSearchResponseWrapper
17988
+ */
17989
+ 'data'?: DataTypesFacetValuesSearchResponse;
17990
+ /**
17991
+ *
17992
+ * @type {string}
17993
+ * @memberof DataTypesFacetValuesSearchResponseWrapper
17994
+ */
17995
+ 'message'?: string;
17996
+ /**
17997
+ *
17998
+ * @type {number}
17999
+ * @memberof DataTypesFacetValuesSearchResponseWrapper
18000
+ */
18001
+ 'status'?: number;
18002
+ }
17417
18003
  /**
17418
18004
  *
17419
18005
  * @export
@@ -17804,6 +18390,142 @@ export interface DataTypesFieldMetadata {
17804
18390
  */
17805
18391
  'type'?: string;
17806
18392
  }
18393
+ /**
18394
+ *
18395
+ * @export
18396
+ * @interface DataTypesFilterField
18397
+ */
18398
+ export interface DataTypesFilterField {
18399
+ /**
18400
+ *
18401
+ * @type {string}
18402
+ * @memberof DataTypesFilterField
18403
+ */
18404
+ 'field'?: string;
18405
+ /**
18406
+ *
18407
+ * @type {DataTypesFilterStats}
18408
+ * @memberof DataTypesFilterField
18409
+ */
18410
+ 'stats'?: DataTypesFilterStats;
18411
+ /**
18412
+ *
18413
+ * @type {number}
18414
+ * @memberof DataTypesFilterField
18415
+ */
18416
+ 'total_values'?: number;
18417
+ /**
18418
+ * \"categorical\", \"numeric\", \"boolean\"
18419
+ * @type {string}
18420
+ * @memberof DataTypesFilterField
18421
+ */
18422
+ 'type'?: string;
18423
+ /**
18424
+ *
18425
+ * @type {Array<DataTypesFilterValue>}
18426
+ * @memberof DataTypesFilterField
18427
+ */
18428
+ 'values'?: Array<DataTypesFilterValue>;
18429
+ }
18430
+ /**
18431
+ *
18432
+ * @export
18433
+ * @interface DataTypesFilterSchemaField
18434
+ */
18435
+ export interface DataTypesFilterSchemaField {
18436
+ /**
18437
+ *
18438
+ * @type {boolean}
18439
+ * @memberof DataTypesFilterSchemaField
18440
+ */
18441
+ 'facetable'?: boolean;
18442
+ /**
18443
+ * \"categorical\", \"numeric\", \"boolean\"
18444
+ * @type {string}
18445
+ * @memberof DataTypesFilterSchemaField
18446
+ */
18447
+ 'filter_type'?: string;
18448
+ /**
18449
+ *
18450
+ * @type {string}
18451
+ * @memberof DataTypesFilterSchemaField
18452
+ */
18453
+ 'name'?: string;
18454
+ /**
18455
+ *
18456
+ * @type {Array<DataTypesFacetRange>}
18457
+ * @memberof DataTypesFilterSchemaField
18458
+ */
18459
+ 'ranges'?: Array<DataTypesFacetRange>;
18460
+ /**
18461
+ *
18462
+ * @type {boolean}
18463
+ * @memberof DataTypesFilterSchemaField
18464
+ */
18465
+ 'sortable'?: boolean;
18466
+ /**
18467
+ *
18468
+ * @type {string}
18469
+ * @memberof DataTypesFilterSchemaField
18470
+ */
18471
+ 'type'?: string;
18472
+ }
18473
+ /**
18474
+ *
18475
+ * @export
18476
+ * @interface DataTypesFilterStats
18477
+ */
18478
+ export interface DataTypesFilterStats {
18479
+ /**
18480
+ *
18481
+ * @type {number}
18482
+ * @memberof DataTypesFilterStats
18483
+ */
18484
+ 'avg'?: number;
18485
+ /**
18486
+ *
18487
+ * @type {number}
18488
+ * @memberof DataTypesFilterStats
18489
+ */
18490
+ 'max'?: number;
18491
+ /**
18492
+ *
18493
+ * @type {number}
18494
+ * @memberof DataTypesFilterStats
18495
+ */
18496
+ 'min'?: number;
18497
+ /**
18498
+ *
18499
+ * @type {number}
18500
+ * @memberof DataTypesFilterStats
18501
+ */
18502
+ 'sum'?: number;
18503
+ }
18504
+ /**
18505
+ *
18506
+ * @export
18507
+ * @interface DataTypesFilterValue
18508
+ */
18509
+ export interface DataTypesFilterValue {
18510
+ /**
18511
+ *
18512
+ * @type {number}
18513
+ * @memberof DataTypesFilterValue
18514
+ */
18515
+ 'count'?: number;
18516
+ /**
18517
+ *
18518
+ * @type {string}
18519
+ * @memberof DataTypesFilterValue
18520
+ */
18521
+ 'highlighted'?: string;
18522
+ /**
18523
+ *
18524
+ * @type {string}
18525
+ * @memberof DataTypesFilterValue
18526
+ */
18527
+ 'value'?: string;
18528
+ }
17807
18529
  /**
17808
18530
  *
17809
18531
  * @export
@@ -17859,6 +18581,137 @@ export interface DataTypesFilteredTabConfig {
17859
18581
  */
17860
18582
  'sort_by'?: string;
17861
18583
  }
18584
+ /**
18585
+ *
18586
+ * @export
18587
+ * @interface DataTypesFiltersRequest
18588
+ */
18589
+ export interface DataTypesFiltersRequest {
18590
+ /**
18591
+ *
18592
+ * @type {Array<string>}
18593
+ * @memberof DataTypesFiltersRequest
18594
+ */
18595
+ 'disjunctive_facets'?: Array<string>;
18596
+ /**
18597
+ *
18598
+ * @type {string}
18599
+ * @memberof DataTypesFiltersRequest
18600
+ */
18601
+ 'facet_by'?: string;
18602
+ /**
18603
+ *
18604
+ * @type {string}
18605
+ * @memberof DataTypesFiltersRequest
18606
+ */
18607
+ 'filter'?: string;
18608
+ /**
18609
+ *
18610
+ * @type {number}
18611
+ * @memberof DataTypesFiltersRequest
18612
+ */
18613
+ 'max_facet_values'?: number;
18614
+ /**
18615
+ *
18616
+ * @type {string}
18617
+ * @memberof DataTypesFiltersRequest
18618
+ */
18619
+ 'q'?: string;
18620
+ }
18621
+ /**
18622
+ *
18623
+ * @export
18624
+ * @interface DataTypesFiltersResponse
18625
+ */
18626
+ export interface DataTypesFiltersResponse {
18627
+ /**
18628
+ *
18629
+ * @type {Array<DataTypesFilterField>}
18630
+ * @memberof DataTypesFiltersResponse
18631
+ */
18632
+ 'filters'?: Array<DataTypesFilterField>;
18633
+ /**
18634
+ *
18635
+ * @type {number}
18636
+ * @memberof DataTypesFiltersResponse
18637
+ */
18638
+ 'total_results'?: number;
18639
+ }
18640
+ /**
18641
+ *
18642
+ * @export
18643
+ * @interface DataTypesFiltersResponseWrapper
18644
+ */
18645
+ export interface DataTypesFiltersResponseWrapper {
18646
+ /**
18647
+ *
18648
+ * @type {DataTypesFiltersResponse}
18649
+ * @memberof DataTypesFiltersResponseWrapper
18650
+ */
18651
+ 'data'?: DataTypesFiltersResponse;
18652
+ /**
18653
+ *
18654
+ * @type {string}
18655
+ * @memberof DataTypesFiltersResponseWrapper
18656
+ */
18657
+ 'message'?: string;
18658
+ /**
18659
+ *
18660
+ * @type {number}
18661
+ * @memberof DataTypesFiltersResponseWrapper
18662
+ */
18663
+ 'status'?: number;
18664
+ }
18665
+ /**
18666
+ *
18667
+ * @export
18668
+ * @interface DataTypesFiltersSchemaResponse
18669
+ */
18670
+ export interface DataTypesFiltersSchemaResponse {
18671
+ /**
18672
+ *
18673
+ * @type {Array<string>}
18674
+ * @memberof DataTypesFiltersSchemaResponse
18675
+ */
18676
+ 'default_facets'?: Array<string>;
18677
+ /**
18678
+ *
18679
+ * @type {Array<DataTypesFilterSchemaField>}
18680
+ * @memberof DataTypesFiltersSchemaResponse
18681
+ */
18682
+ 'fields'?: Array<DataTypesFilterSchemaField>;
18683
+ /**
18684
+ *
18685
+ * @type {number}
18686
+ * @memberof DataTypesFiltersSchemaResponse
18687
+ */
18688
+ 'max_facet_values'?: number;
18689
+ }
18690
+ /**
18691
+ *
18692
+ * @export
18693
+ * @interface DataTypesFiltersSchemaResponseWrapper
18694
+ */
18695
+ export interface DataTypesFiltersSchemaResponseWrapper {
18696
+ /**
18697
+ *
18698
+ * @type {DataTypesFiltersSchemaResponse}
18699
+ * @memberof DataTypesFiltersSchemaResponseWrapper
18700
+ */
18701
+ 'data'?: DataTypesFiltersSchemaResponse;
18702
+ /**
18703
+ *
18704
+ * @type {string}
18705
+ * @memberof DataTypesFiltersSchemaResponseWrapper
18706
+ */
18707
+ 'message'?: string;
18708
+ /**
18709
+ *
18710
+ * @type {number}
18711
+ * @memberof DataTypesFiltersSchemaResponseWrapper
18712
+ */
18713
+ 'status'?: number;
18714
+ }
17862
18715
  /**
17863
18716
  *
17864
18717
  * @export
@@ -18289,6 +19142,56 @@ export interface DataTypesGenericResponseAnalyticsConversionMetrics {
18289
19142
  */
18290
19143
  'status'?: number;
18291
19144
  }
19145
+ /**
19146
+ *
19147
+ * @export
19148
+ * @interface DataTypesGenericResponseAnalyticsCustomEventFieldBreakdown
19149
+ */
19150
+ export interface DataTypesGenericResponseAnalyticsCustomEventFieldBreakdown {
19151
+ /**
19152
+ *
19153
+ * @type {AnalyticsCustomEventFieldBreakdown}
19154
+ * @memberof DataTypesGenericResponseAnalyticsCustomEventFieldBreakdown
19155
+ */
19156
+ 'data'?: AnalyticsCustomEventFieldBreakdown;
19157
+ /**
19158
+ *
19159
+ * @type {string}
19160
+ * @memberof DataTypesGenericResponseAnalyticsCustomEventFieldBreakdown
19161
+ */
19162
+ 'message'?: string;
19163
+ /**
19164
+ *
19165
+ * @type {number}
19166
+ * @memberof DataTypesGenericResponseAnalyticsCustomEventFieldBreakdown
19167
+ */
19168
+ 'status'?: number;
19169
+ }
19170
+ /**
19171
+ *
19172
+ * @export
19173
+ * @interface DataTypesGenericResponseAnalyticsCustomEventMetrics
19174
+ */
19175
+ export interface DataTypesGenericResponseAnalyticsCustomEventMetrics {
19176
+ /**
19177
+ *
19178
+ * @type {AnalyticsCustomEventMetrics}
19179
+ * @memberof DataTypesGenericResponseAnalyticsCustomEventMetrics
19180
+ */
19181
+ 'data'?: AnalyticsCustomEventMetrics;
19182
+ /**
19183
+ *
19184
+ * @type {string}
19185
+ * @memberof DataTypesGenericResponseAnalyticsCustomEventMetrics
19186
+ */
19187
+ 'message'?: string;
19188
+ /**
19189
+ *
19190
+ * @type {number}
19191
+ * @memberof DataTypesGenericResponseAnalyticsCustomEventMetrics
19192
+ */
19193
+ 'status'?: number;
19194
+ }
18292
19195
  /**
18293
19196
  *
18294
19197
  * @export
@@ -18439,6 +19342,31 @@ export interface DataTypesGenericResponseAnalyticsModelComparisonResponse {
18439
19342
  */
18440
19343
  'status'?: number;
18441
19344
  }
19345
+ /**
19346
+ *
19347
+ * @export
19348
+ * @interface DataTypesGenericResponseAnalyticsPaginatedResponseAnalyticsCustomEventRow
19349
+ */
19350
+ export interface DataTypesGenericResponseAnalyticsPaginatedResponseAnalyticsCustomEventRow {
19351
+ /**
19352
+ *
19353
+ * @type {AnalyticsPaginatedResponseAnalyticsCustomEventRow}
19354
+ * @memberof DataTypesGenericResponseAnalyticsPaginatedResponseAnalyticsCustomEventRow
19355
+ */
19356
+ 'data'?: AnalyticsPaginatedResponseAnalyticsCustomEventRow;
19357
+ /**
19358
+ *
19359
+ * @type {string}
19360
+ * @memberof DataTypesGenericResponseAnalyticsPaginatedResponseAnalyticsCustomEventRow
19361
+ */
19362
+ 'message'?: string;
19363
+ /**
19364
+ *
19365
+ * @type {number}
19366
+ * @memberof DataTypesGenericResponseAnalyticsPaginatedResponseAnalyticsCustomEventRow
19367
+ */
19368
+ 'status'?: number;
19369
+ }
18442
19370
  /**
18443
19371
  *
18444
19372
  * @export
@@ -18664,6 +19592,56 @@ export interface DataTypesGenericResponseAny {
18664
19592
  */
18665
19593
  'status'?: number;
18666
19594
  }
19595
+ /**
19596
+ *
19597
+ * @export
19598
+ * @interface DataTypesGenericResponseArrayAnalyticsCustomEventSummary
19599
+ */
19600
+ export interface DataTypesGenericResponseArrayAnalyticsCustomEventSummary {
19601
+ /**
19602
+ *
19603
+ * @type {Array<AnalyticsCustomEventSummary>}
19604
+ * @memberof DataTypesGenericResponseArrayAnalyticsCustomEventSummary
19605
+ */
19606
+ 'data'?: Array<AnalyticsCustomEventSummary>;
19607
+ /**
19608
+ *
19609
+ * @type {string}
19610
+ * @memberof DataTypesGenericResponseArrayAnalyticsCustomEventSummary
19611
+ */
19612
+ 'message'?: string;
19613
+ /**
19614
+ *
19615
+ * @type {number}
19616
+ * @memberof DataTypesGenericResponseArrayAnalyticsCustomEventSummary
19617
+ */
19618
+ 'status'?: number;
19619
+ }
19620
+ /**
19621
+ *
19622
+ * @export
19623
+ * @interface DataTypesGenericResponseArrayAnalyticsCustomEventTimeSeriesPoint
19624
+ */
19625
+ export interface DataTypesGenericResponseArrayAnalyticsCustomEventTimeSeriesPoint {
19626
+ /**
19627
+ *
19628
+ * @type {Array<AnalyticsCustomEventTimeSeriesPoint>}
19629
+ * @memberof DataTypesGenericResponseArrayAnalyticsCustomEventTimeSeriesPoint
19630
+ */
19631
+ 'data'?: Array<AnalyticsCustomEventTimeSeriesPoint>;
19632
+ /**
19633
+ *
19634
+ * @type {string}
19635
+ * @memberof DataTypesGenericResponseArrayAnalyticsCustomEventTimeSeriesPoint
19636
+ */
19637
+ 'message'?: string;
19638
+ /**
19639
+ *
19640
+ * @type {number}
19641
+ * @memberof DataTypesGenericResponseArrayAnalyticsCustomEventTimeSeriesPoint
19642
+ */
19643
+ 'status'?: number;
19644
+ }
18667
19645
  /**
18668
19646
  *
18669
19647
  * @export
@@ -20214,6 +21192,12 @@ export interface DataTypesIndexConfig {
20214
21192
  * @memberof DataTypesIndexConfig
20215
21193
  */
20216
21194
  'enable_smart_autocomplete'?: boolean;
21195
+ /**
21196
+ * Enable stemming on search collections
21197
+ * @type {boolean}
21198
+ * @memberof DataTypesIndexConfig
21199
+ */
21200
+ 'enable_stemming'?: boolean;
20217
21201
  /**
20218
21202
  *
20219
21203
  * @type {boolean}
@@ -20478,6 +21462,12 @@ export interface DataTypesIndexConfig {
20478
21462
  * @memberof DataTypesIndexConfig
20479
21463
  */
20480
21464
  'sort_by'?: Array<DataTypesSortField>;
21465
+ /**
21466
+ * Locale for stemming (e.g., \"en\", \"fr\", \"de\")
21467
+ * @type {string}
21468
+ * @memberof DataTypesIndexConfig
21469
+ */
21470
+ 'stemming_locale'?: string;
20481
21471
  /**
20482
21472
  * Flattened stopwords and synonyms fields
20483
21473
  * @type {Array<DataTypesStopwordEntry>}
@@ -28194,6 +29184,12 @@ export interface DataTypesSchemaBasedDefaults {
28194
29184
  * @memberof DataTypesSchemaBasedDefaults
28195
29185
  */
28196
29186
  'include_fields'?: Array<string>;
29187
+ /**
29188
+ *
29189
+ * @type {Array<string>}
29190
+ * @memberof DataTypesSchemaBasedDefaults
29191
+ */
29192
+ 'numeric_facetable_fields'?: Array<string>;
28197
29193
  /**
28198
29194
  *
28199
29195
  * @type {Array<string>}
@@ -34729,6 +35725,12 @@ export interface ModelsCreateCustomEventFieldRequest {
34729
35725
  * @memberof ModelsCreateCustomEventFieldRequest
34730
35726
  */
34731
35727
  'allowed_values'?: Array<string>;
35728
+ /**
35729
+ * for array type: string, number, boolean, datetime, object, mixed
35730
+ * @type {string}
35731
+ * @memberof ModelsCreateCustomEventFieldRequest
35732
+ */
35733
+ 'array_item_type'?: string;
34732
35734
  /**
34733
35735
  *
34734
35736
  * @type {string}
@@ -34912,12 +35914,66 @@ export interface ModelsMergeProfilesResponse {
34912
35914
  * @interface ModelsNestedPropertyDefinition
34913
35915
  */
34914
35916
  export interface ModelsNestedPropertyDefinition {
35917
+ /**
35918
+ *
35919
+ * @type {Array<any>}
35920
+ * @memberof ModelsNestedPropertyDefinition
35921
+ */
35922
+ 'allowed_values'?: Array<any>;
35923
+ /**
35924
+ * if array_item_type is object
35925
+ * @type {ModelsNestedPropertyDefinition}
35926
+ * @memberof ModelsNestedPropertyDefinition
35927
+ */
35928
+ 'array_item_schema'?: ModelsNestedPropertyDefinition;
35929
+ /**
35930
+ * For array type: define the type of array items
35931
+ * @type {string}
35932
+ * @memberof ModelsNestedPropertyDefinition
35933
+ */
35934
+ 'array_item_type'?: string;
35935
+ /**
35936
+ *
35937
+ * @type {string}
35938
+ * @memberof ModelsNestedPropertyDefinition
35939
+ */
35940
+ 'description'?: string;
35941
+ /**
35942
+ * string max length / array max items
35943
+ * @type {number}
35944
+ * @memberof ModelsNestedPropertyDefinition
35945
+ */
35946
+ 'max_length'?: number;
35947
+ /**
35948
+ *
35949
+ * @type {number}
35950
+ * @memberof ModelsNestedPropertyDefinition
35951
+ */
35952
+ 'max_value'?: number;
35953
+ /**
35954
+ * string min length / array min items
35955
+ * @type {number}
35956
+ * @memberof ModelsNestedPropertyDefinition
35957
+ */
35958
+ 'min_length'?: number;
35959
+ /**
35960
+ *
35961
+ * @type {number}
35962
+ * @memberof ModelsNestedPropertyDefinition
35963
+ */
35964
+ 'min_value'?: number;
34915
35965
  /**
34916
35966
  *
34917
35967
  * @type {string}
34918
35968
  * @memberof ModelsNestedPropertyDefinition
34919
35969
  */
34920
35970
  'name'?: string;
35971
+ /**
35972
+ * For object type: nested properties (recursive)
35973
+ * @type {Array<ModelsNestedPropertyDefinition>}
35974
+ * @memberof ModelsNestedPropertyDefinition
35975
+ */
35976
+ 'properties'?: Array<ModelsNestedPropertyDefinition>;
34921
35977
  /**
34922
35978
  *
34923
35979
  * @type {boolean}
@@ -34930,6 +35986,12 @@ export interface ModelsNestedPropertyDefinition {
34930
35986
  * @memberof ModelsNestedPropertyDefinition
34931
35987
  */
34932
35988
  'type'?: string;
35989
+ /**
35990
+ * Validation for string/number/array types
35991
+ * @type {string}
35992
+ * @memberof ModelsNestedPropertyDefinition
35993
+ */
35994
+ 'validation_regex'?: string;
34933
35995
  }
34934
35996
  /**
34935
35997
  *
@@ -35083,6 +36145,12 @@ export interface ModelsUpdateCustomEventFieldRequest {
35083
36145
  * @memberof ModelsUpdateCustomEventFieldRequest
35084
36146
  */
35085
36147
  'allowed_values'?: Array<string>;
36148
+ /**
36149
+ * for array type: string, number, boolean, datetime, object, mixed
36150
+ * @type {string}
36151
+ * @memberof ModelsUpdateCustomEventFieldRequest
36152
+ */
36153
+ 'array_item_type'?: string;
35086
36154
  /**
35087
36155
  *
35088
36156
  * @type {string}
@@ -36394,6 +37462,12 @@ export interface QuerySuggestionsServiceQuerySuggestionConfig {
36394
37462
  * @memberof QuerySuggestionsServiceQuerySuggestionConfig
36395
37463
  */
36396
37464
  'enable_rules'?: boolean;
37465
+ /**
37466
+ * Stemming configuration
37467
+ * @type {boolean}
37468
+ * @memberof QuerySuggestionsServiceQuerySuggestionConfig
37469
+ */
37470
+ 'enable_stemming'?: boolean;
36397
37471
  /**
36398
37472
  * Whether query suggestions are enabled for the store
36399
37473
  * @type {boolean}
@@ -36466,6 +37540,12 @@ export interface QuerySuggestionsServiceQuerySuggestionConfig {
36466
37540
  * @memberof QuerySuggestionsServiceQuerySuggestionConfig
36467
37541
  */
36468
37542
  'special_chars'?: boolean;
37543
+ /**
37544
+ * Locale for stemming (derived from Languages[0], fallback \"en\")
37545
+ * @type {string}
37546
+ * @memberof QuerySuggestionsServiceQuerySuggestionConfig
37547
+ */
37548
+ 'stemming_locale'?: string;
36469
37549
  /**
36470
37550
  * Whether to sync enabled suggestions to Typesense
36471
37551
  * @type {boolean}
@@ -37434,6 +38514,12 @@ export interface QuerySuggestionsServiceUpdateSuggestionConfigRequest {
37434
38514
  * @memberof QuerySuggestionsServiceUpdateSuggestionConfigRequest
37435
38515
  */
37436
38516
  'enable_rules'?: boolean;
38517
+ /**
38518
+ * Enable stemming on query suggestions collection
38519
+ * @type {boolean}
38520
+ * @memberof QuerySuggestionsServiceUpdateSuggestionConfigRequest
38521
+ */
38522
+ 'enable_stemming'?: boolean;
37437
38523
  /**
37438
38524
  * Enable/disable query suggestions for the store
37439
38525
  * @type {boolean}
@@ -37488,6 +38574,12 @@ export interface QuerySuggestionsServiceUpdateSuggestionConfigRequest {
37488
38574
  * @memberof QuerySuggestionsServiceUpdateSuggestionConfigRequest
37489
38575
  */
37490
38576
  'special_chars'?: boolean;
38577
+ /**
38578
+ * Locale for stemming
38579
+ * @type {string}
38580
+ * @memberof QuerySuggestionsServiceUpdateSuggestionConfigRequest
38581
+ */
38582
+ 'stemming_locale'?: string;
37491
38583
  /**
37492
38584
  * Enable/disable syncing suggestions to Typesense
37493
38585
  * @type {boolean}
@@ -60799,27 +61891,29 @@ export class CustomEventsApi extends BaseAPI {
60799
61891
 
60800
61892
 
60801
61893
  /**
60802
- * CustomStopwordsApi - axios parameter creator
61894
+ * CustomEventsAnalyticsApi - axios parameter creator
60803
61895
  * @export
60804
61896
  */
60805
- export const CustomStopwordsApiAxiosParamCreator = function (configuration?: Configuration) {
61897
+ export const CustomEventsAnalyticsApiAxiosParamCreator = function (configuration?: Configuration) {
60806
61898
  return {
60807
61899
  /**
60808
- * Deletes a custom word list (soft delete)
60809
- * @summary Delete custom word list
60810
- * @param {string} xStoreID X-Store ID
60811
- * @param {number} customWordListID Custom Word List ID
61900
+ * Returns a breakdown of values for a specific field slot of a custom event
61901
+ * @summary Get Custom Event Field Breakdown
61902
+ * @param {string} xStoreID Store ID
61903
+ * @param {string} authorization Bearer JWT token
61904
+ * @param {AnalyticsCustomEventFieldBreakdownRequestBody} analyticsCustomEventFieldBreakdownRequestBody Field breakdown request
60812
61905
  * @param {*} [options] Override http request option.
60813
61906
  * @throws {RequiredError}
60814
61907
  */
60815
- adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDDelete: async (xStoreID: string, customWordListID: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
61908
+ adminAnalyticsStoreXStoreIDCustomEventsAnalyticsFieldBreakdownPost: async (xStoreID: string, authorization: string, analyticsCustomEventFieldBreakdownRequestBody: AnalyticsCustomEventFieldBreakdownRequestBody, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
60816
61909
  // verify required parameter 'xStoreID' is not null or undefined
60817
- assertParamExists('adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDDelete', 'xStoreID', xStoreID)
60818
- // verify required parameter 'customWordListID' is not null or undefined
60819
- assertParamExists('adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDDelete', 'customWordListID', customWordListID)
60820
- const localVarPath = `/admin/Stores/{xStoreID}/stopwords/custom-wordlists/{customWordListID}`
60821
- .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)))
60822
- .replace(`{${"customWordListID"}}`, encodeURIComponent(String(customWordListID)));
61910
+ assertParamExists('adminAnalyticsStoreXStoreIDCustomEventsAnalyticsFieldBreakdownPost', 'xStoreID', xStoreID)
61911
+ // verify required parameter 'authorization' is not null or undefined
61912
+ assertParamExists('adminAnalyticsStoreXStoreIDCustomEventsAnalyticsFieldBreakdownPost', 'authorization', authorization)
61913
+ // verify required parameter 'analyticsCustomEventFieldBreakdownRequestBody' is not null or undefined
61914
+ assertParamExists('adminAnalyticsStoreXStoreIDCustomEventsAnalyticsFieldBreakdownPost', 'analyticsCustomEventFieldBreakdownRequestBody', analyticsCustomEventFieldBreakdownRequestBody)
61915
+ const localVarPath = `/admin/analytics/store/{xStoreID}/custom-events/analytics/field-breakdown`
61916
+ .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
60823
61917
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
60824
61918
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
60825
61919
  let baseOptions;
@@ -60827,7 +61921,7 @@ export const CustomStopwordsApiAxiosParamCreator = function (configuration?: Con
60827
61921
  baseOptions = configuration.baseOptions;
60828
61922
  }
60829
61923
 
60830
- const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
61924
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
60831
61925
  const localVarHeaderParameter = {} as any;
60832
61926
  const localVarQueryParameter = {} as any;
60833
61927
 
@@ -60836,50 +61930,15 @@ export const CustomStopwordsApiAxiosParamCreator = function (configuration?: Con
60836
61930
 
60837
61931
 
60838
61932
 
60839
- setSearchParams(localVarUrlObj, localVarQueryParameter);
60840
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
60841
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
61933
+ localVarHeaderParameter['Content-Type'] = 'application/json';
60842
61934
 
60843
- return {
60844
- url: toPathString(localVarUrlObj),
60845
- options: localVarRequestOptions,
60846
- };
60847
- },
60848
- /**
60849
- * Fetches a specific custom word list by ID
60850
- * @summary Get custom word list by ID
60851
- * @param {string} xStoreID X-Store ID
60852
- * @param {number} customWordListID Custom Word List ID
60853
- * @param {*} [options] Override http request option.
60854
- * @throws {RequiredError}
60855
- */
60856
- adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDGet: async (xStoreID: string, customWordListID: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
60857
- // verify required parameter 'xStoreID' is not null or undefined
60858
- assertParamExists('adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDGet', 'xStoreID', xStoreID)
60859
- // verify required parameter 'customWordListID' is not null or undefined
60860
- assertParamExists('adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDGet', 'customWordListID', customWordListID)
60861
- const localVarPath = `/admin/Stores/{xStoreID}/stopwords/custom-wordlists/{customWordListID}`
60862
- .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)))
60863
- .replace(`{${"customWordListID"}}`, encodeURIComponent(String(customWordListID)));
60864
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
60865
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
60866
- let baseOptions;
60867
- if (configuration) {
60868
- baseOptions = configuration.baseOptions;
61935
+ if (authorization != null) {
61936
+ localVarHeaderParameter['Authorization'] = String(authorization);
60869
61937
  }
60870
-
60871
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
60872
- const localVarHeaderParameter = {} as any;
60873
- const localVarQueryParameter = {} as any;
60874
-
60875
- // authentication BearerAuth required
60876
- await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
60877
-
60878
-
60879
-
60880
61938
  setSearchParams(localVarUrlObj, localVarQueryParameter);
60881
61939
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
60882
61940
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
61941
+ localVarRequestOptions.data = serializeDataIfNeeded(analyticsCustomEventFieldBreakdownRequestBody, localVarRequestOptions, configuration)
60883
61942
 
60884
61943
  return {
60885
61944
  url: toPathString(localVarUrlObj),
@@ -60887,24 +61946,23 @@ export const CustomStopwordsApiAxiosParamCreator = function (configuration?: Con
60887
61946
  };
60888
61947
  },
60889
61948
  /**
60890
- *
60891
- * @summary Update custom word list
60892
- * @param {string} xStoreID X-Store ID
60893
- * @param {number} customWordListID Custom Word List ID
60894
- * @param {DataTypesUpdateCustomWordListRequest} dataTypesUpdateCustomWordListRequest Update request
61949
+ * Returns aggregated custom event metrics including total events, unique users, unique sessions, and unique event types
61950
+ * @summary Get Custom Event Metrics
61951
+ * @param {string} xStoreID Store ID
61952
+ * @param {string} authorization Bearer JWT token
61953
+ * @param {AnalyticsCustomEventMetricsRequestBody} analyticsCustomEventMetricsRequestBody Custom event metrics request
60895
61954
  * @param {*} [options] Override http request option.
60896
61955
  * @throws {RequiredError}
60897
61956
  */
60898
- adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDPut: async (xStoreID: string, customWordListID: number, dataTypesUpdateCustomWordListRequest: DataTypesUpdateCustomWordListRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
61957
+ adminAnalyticsStoreXStoreIDCustomEventsAnalyticsMetricsPost: async (xStoreID: string, authorization: string, analyticsCustomEventMetricsRequestBody: AnalyticsCustomEventMetricsRequestBody, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
60899
61958
  // verify required parameter 'xStoreID' is not null or undefined
60900
- assertParamExists('adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDPut', 'xStoreID', xStoreID)
60901
- // verify required parameter 'customWordListID' is not null or undefined
60902
- assertParamExists('adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDPut', 'customWordListID', customWordListID)
60903
- // verify required parameter 'dataTypesUpdateCustomWordListRequest' is not null or undefined
60904
- assertParamExists('adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDPut', 'dataTypesUpdateCustomWordListRequest', dataTypesUpdateCustomWordListRequest)
60905
- const localVarPath = `/admin/Stores/{xStoreID}/stopwords/custom-wordlists/{customWordListID}`
60906
- .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)))
60907
- .replace(`{${"customWordListID"}}`, encodeURIComponent(String(customWordListID)));
61959
+ assertParamExists('adminAnalyticsStoreXStoreIDCustomEventsAnalyticsMetricsPost', 'xStoreID', xStoreID)
61960
+ // verify required parameter 'authorization' is not null or undefined
61961
+ assertParamExists('adminAnalyticsStoreXStoreIDCustomEventsAnalyticsMetricsPost', 'authorization', authorization)
61962
+ // verify required parameter 'analyticsCustomEventMetricsRequestBody' is not null or undefined
61963
+ assertParamExists('adminAnalyticsStoreXStoreIDCustomEventsAnalyticsMetricsPost', 'analyticsCustomEventMetricsRequestBody', analyticsCustomEventMetricsRequestBody)
61964
+ const localVarPath = `/admin/analytics/store/{xStoreID}/custom-events/analytics/metrics`
61965
+ .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
60908
61966
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
60909
61967
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
60910
61968
  let baseOptions;
@@ -60912,7 +61970,7 @@ export const CustomStopwordsApiAxiosParamCreator = function (configuration?: Con
60912
61970
  baseOptions = configuration.baseOptions;
60913
61971
  }
60914
61972
 
60915
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
61973
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
60916
61974
  const localVarHeaderParameter = {} as any;
60917
61975
  const localVarQueryParameter = {} as any;
60918
61976
 
@@ -60923,57 +61981,13 @@ export const CustomStopwordsApiAxiosParamCreator = function (configuration?: Con
60923
61981
 
60924
61982
  localVarHeaderParameter['Content-Type'] = 'application/json';
60925
61983
 
60926
- setSearchParams(localVarUrlObj, localVarQueryParameter);
60927
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
60928
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
60929
- localVarRequestOptions.data = serializeDataIfNeeded(dataTypesUpdateCustomWordListRequest, localVarRequestOptions, configuration)
60930
-
60931
- return {
60932
- url: toPathString(localVarUrlObj),
60933
- options: localVarRequestOptions,
60934
- };
60935
- },
60936
- /**
60937
- * Removes words from a custom word list
60938
- * @summary Remove words from custom word list
60939
- * @param {string} xStoreID X-Store ID
60940
- * @param {number} customWordListID Custom Word List ID
60941
- * @param {DataTypesRemoveWordsFromCustomListRequest} dataTypesRemoveWordsFromCustomListRequest Remove words request
60942
- * @param {*} [options] Override http request option.
60943
- * @throws {RequiredError}
60944
- */
60945
- adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsDelete: async (xStoreID: string, customWordListID: number, dataTypesRemoveWordsFromCustomListRequest: DataTypesRemoveWordsFromCustomListRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
60946
- // verify required parameter 'xStoreID' is not null or undefined
60947
- assertParamExists('adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsDelete', 'xStoreID', xStoreID)
60948
- // verify required parameter 'customWordListID' is not null or undefined
60949
- assertParamExists('adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsDelete', 'customWordListID', customWordListID)
60950
- // verify required parameter 'dataTypesRemoveWordsFromCustomListRequest' is not null or undefined
60951
- assertParamExists('adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsDelete', 'dataTypesRemoveWordsFromCustomListRequest', dataTypesRemoveWordsFromCustomListRequest)
60952
- const localVarPath = `/admin/Stores/{xStoreID}/stopwords/custom-wordlists/{customWordListID}/words`
60953
- .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)))
60954
- .replace(`{${"customWordListID"}}`, encodeURIComponent(String(customWordListID)));
60955
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
60956
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
60957
- let baseOptions;
60958
- if (configuration) {
60959
- baseOptions = configuration.baseOptions;
61984
+ if (authorization != null) {
61985
+ localVarHeaderParameter['Authorization'] = String(authorization);
60960
61986
  }
60961
-
60962
- const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
60963
- const localVarHeaderParameter = {} as any;
60964
- const localVarQueryParameter = {} as any;
60965
-
60966
- // authentication BearerAuth required
60967
- await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
60968
-
60969
-
60970
-
60971
- localVarHeaderParameter['Content-Type'] = 'application/json';
60972
-
60973
61987
  setSearchParams(localVarUrlObj, localVarQueryParameter);
60974
61988
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
60975
61989
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
60976
- localVarRequestOptions.data = serializeDataIfNeeded(dataTypesRemoveWordsFromCustomListRequest, localVarRequestOptions, configuration)
61990
+ localVarRequestOptions.data = serializeDataIfNeeded(analyticsCustomEventMetricsRequestBody, localVarRequestOptions, configuration)
60977
61991
 
60978
61992
  return {
60979
61993
  url: toPathString(localVarUrlObj),
@@ -60981,24 +61995,23 @@ export const CustomStopwordsApiAxiosParamCreator = function (configuration?: Con
60981
61995
  };
60982
61996
  },
60983
61997
  /**
60984
- * Adds words to an existing custom word list
60985
- * @summary Add words to custom word list
60986
- * @param {string} xStoreID X-Store ID
60987
- * @param {number} customWordListID Custom Word List ID
60988
- * @param {DataTypesAddWordsToCustomListRequest} dataTypesAddWordsToCustomListRequest Add words request
61998
+ * Returns paginated raw custom events with field data
61999
+ * @summary Get Custom Event Stream
62000
+ * @param {string} xStoreID Store ID
62001
+ * @param {string} authorization Bearer JWT token
62002
+ * @param {AnalyticsCustomEventStreamRequestBody} analyticsCustomEventStreamRequestBody Event stream request
60989
62003
  * @param {*} [options] Override http request option.
60990
62004
  * @throws {RequiredError}
60991
62005
  */
60992
- adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsPost: async (xStoreID: string, customWordListID: number, dataTypesAddWordsToCustomListRequest: DataTypesAddWordsToCustomListRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
62006
+ adminAnalyticsStoreXStoreIDCustomEventsAnalyticsStreamPost: async (xStoreID: string, authorization: string, analyticsCustomEventStreamRequestBody: AnalyticsCustomEventStreamRequestBody, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
60993
62007
  // verify required parameter 'xStoreID' is not null or undefined
60994
- assertParamExists('adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsPost', 'xStoreID', xStoreID)
60995
- // verify required parameter 'customWordListID' is not null or undefined
60996
- assertParamExists('adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsPost', 'customWordListID', customWordListID)
60997
- // verify required parameter 'dataTypesAddWordsToCustomListRequest' is not null or undefined
60998
- assertParamExists('adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsPost', 'dataTypesAddWordsToCustomListRequest', dataTypesAddWordsToCustomListRequest)
60999
- const localVarPath = `/admin/Stores/{xStoreID}/stopwords/custom-wordlists/{customWordListID}/words`
61000
- .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)))
61001
- .replace(`{${"customWordListID"}}`, encodeURIComponent(String(customWordListID)));
62008
+ assertParamExists('adminAnalyticsStoreXStoreIDCustomEventsAnalyticsStreamPost', 'xStoreID', xStoreID)
62009
+ // verify required parameter 'authorization' is not null or undefined
62010
+ assertParamExists('adminAnalyticsStoreXStoreIDCustomEventsAnalyticsStreamPost', 'authorization', authorization)
62011
+ // verify required parameter 'analyticsCustomEventStreamRequestBody' is not null or undefined
62012
+ assertParamExists('adminAnalyticsStoreXStoreIDCustomEventsAnalyticsStreamPost', 'analyticsCustomEventStreamRequestBody', analyticsCustomEventStreamRequestBody)
62013
+ const localVarPath = `/admin/analytics/store/{xStoreID}/custom-events/analytics/stream`
62014
+ .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
61002
62015
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
61003
62016
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
61004
62017
  let baseOptions;
@@ -61017,10 +62030,13 @@ export const CustomStopwordsApiAxiosParamCreator = function (configuration?: Con
61017
62030
 
61018
62031
  localVarHeaderParameter['Content-Type'] = 'application/json';
61019
62032
 
62033
+ if (authorization != null) {
62034
+ localVarHeaderParameter['Authorization'] = String(authorization);
62035
+ }
61020
62036
  setSearchParams(localVarUrlObj, localVarQueryParameter);
61021
62037
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
61022
62038
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
61023
- localVarRequestOptions.data = serializeDataIfNeeded(dataTypesAddWordsToCustomListRequest, localVarRequestOptions, configuration)
62039
+ localVarRequestOptions.data = serializeDataIfNeeded(analyticsCustomEventStreamRequestBody, localVarRequestOptions, configuration)
61024
62040
 
61025
62041
  return {
61026
62042
  url: toPathString(localVarUrlObj),
@@ -61028,20 +62044,22 @@ export const CustomStopwordsApiAxiosParamCreator = function (configuration?: Con
61028
62044
  };
61029
62045
  },
61030
62046
  /**
61031
- * Fetches custom word lists for a store with pagination
61032
- * @summary Get custom word lists
61033
- * @param {string} xStoreID X-Store ID
61034
- * @param {string} [lang] Language locale filter (e.g. \&#39;en\&#39;, \&#39;ar\&#39;)
61035
- * @param {string} [type] Type filter (stopwords, synonyms)
61036
- * @param {number} [page] Page number (default: 1)
61037
- * @param {number} [limit] Items per page (default: 10)
62047
+ * Returns time series data for custom events grouped by event name and time bucket
62048
+ * @summary Get Custom Event Time Series
62049
+ * @param {string} xStoreID Store ID
62050
+ * @param {string} authorization Bearer JWT token
62051
+ * @param {AnalyticsCustomEventTimeSeriesRequestBody} analyticsCustomEventTimeSeriesRequestBody Time series request
61038
62052
  * @param {*} [options] Override http request option.
61039
62053
  * @throws {RequiredError}
61040
62054
  */
61041
- adminStoresXStoreIDStopwordsCustomWordlistsGet: async (xStoreID: string, lang?: string, type?: string, page?: number, limit?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
62055
+ adminAnalyticsStoreXStoreIDCustomEventsAnalyticsTimeSeriesPost: async (xStoreID: string, authorization: string, analyticsCustomEventTimeSeriesRequestBody: AnalyticsCustomEventTimeSeriesRequestBody, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
61042
62056
  // verify required parameter 'xStoreID' is not null or undefined
61043
- assertParamExists('adminStoresXStoreIDStopwordsCustomWordlistsGet', 'xStoreID', xStoreID)
61044
- const localVarPath = `/admin/Stores/{xStoreID}/stopwords/custom-wordlists`
62057
+ assertParamExists('adminAnalyticsStoreXStoreIDCustomEventsAnalyticsTimeSeriesPost', 'xStoreID', xStoreID)
62058
+ // verify required parameter 'authorization' is not null or undefined
62059
+ assertParamExists('adminAnalyticsStoreXStoreIDCustomEventsAnalyticsTimeSeriesPost', 'authorization', authorization)
62060
+ // verify required parameter 'analyticsCustomEventTimeSeriesRequestBody' is not null or undefined
62061
+ assertParamExists('adminAnalyticsStoreXStoreIDCustomEventsAnalyticsTimeSeriesPost', 'analyticsCustomEventTimeSeriesRequestBody', analyticsCustomEventTimeSeriesRequestBody)
62062
+ const localVarPath = `/admin/analytics/store/{xStoreID}/custom-events/analytics/time-series`
61045
62063
  .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
61046
62064
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
61047
62065
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -61050,34 +62068,24 @@ export const CustomStopwordsApiAxiosParamCreator = function (configuration?: Con
61050
62068
  baseOptions = configuration.baseOptions;
61051
62069
  }
61052
62070
 
61053
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
62071
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
61054
62072
  const localVarHeaderParameter = {} as any;
61055
62073
  const localVarQueryParameter = {} as any;
61056
62074
 
61057
62075
  // authentication BearerAuth required
61058
62076
  await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
61059
62077
 
61060
- if (lang !== undefined) {
61061
- localVarQueryParameter['lang'] = lang;
61062
- }
61063
-
61064
- if (type !== undefined) {
61065
- localVarQueryParameter['type'] = type;
61066
- }
61067
62078
 
61068
- if (page !== undefined) {
61069
- localVarQueryParameter['page'] = page;
61070
- }
62079
+
62080
+ localVarHeaderParameter['Content-Type'] = 'application/json';
61071
62081
 
61072
- if (limit !== undefined) {
61073
- localVarQueryParameter['limit'] = limit;
62082
+ if (authorization != null) {
62083
+ localVarHeaderParameter['Authorization'] = String(authorization);
61074
62084
  }
61075
-
61076
-
61077
-
61078
62085
  setSearchParams(localVarUrlObj, localVarQueryParameter);
61079
62086
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
61080
62087
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
62088
+ localVarRequestOptions.data = serializeDataIfNeeded(analyticsCustomEventTimeSeriesRequestBody, localVarRequestOptions, configuration)
61081
62089
 
61082
62090
  return {
61083
62091
  url: toPathString(localVarUrlObj),
@@ -61085,19 +62093,22 @@ export const CustomStopwordsApiAxiosParamCreator = function (configuration?: Con
61085
62093
  };
61086
62094
  },
61087
62095
  /**
61088
- * Creates a new custom word list for a store
61089
- * @summary Create custom word list
61090
- * @param {string} xStoreID X-Store ID
61091
- * @param {DataTypesCreateCustomWordListRequest} dataTypesCreateCustomWordListRequest Custom word list creation request
62096
+ * Returns the top custom events by count or unique users
62097
+ * @summary Get Top Custom Events
62098
+ * @param {string} xStoreID Store ID
62099
+ * @param {string} authorization Bearer JWT token
62100
+ * @param {AnalyticsTopCustomEventsRequestBody} analyticsTopCustomEventsRequestBody Top events request
61092
62101
  * @param {*} [options] Override http request option.
61093
62102
  * @throws {RequiredError}
61094
62103
  */
61095
- adminStoresXStoreIDStopwordsCustomWordlistsPost: async (xStoreID: string, dataTypesCreateCustomWordListRequest: DataTypesCreateCustomWordListRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
62104
+ adminAnalyticsStoreXStoreIDCustomEventsAnalyticsTopEventsPost: async (xStoreID: string, authorization: string, analyticsTopCustomEventsRequestBody: AnalyticsTopCustomEventsRequestBody, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
61096
62105
  // verify required parameter 'xStoreID' is not null or undefined
61097
- assertParamExists('adminStoresXStoreIDStopwordsCustomWordlistsPost', 'xStoreID', xStoreID)
61098
- // verify required parameter 'dataTypesCreateCustomWordListRequest' is not null or undefined
61099
- assertParamExists('adminStoresXStoreIDStopwordsCustomWordlistsPost', 'dataTypesCreateCustomWordListRequest', dataTypesCreateCustomWordListRequest)
61100
- const localVarPath = `/admin/Stores/{xStoreID}/stopwords/custom-wordlists`
62106
+ assertParamExists('adminAnalyticsStoreXStoreIDCustomEventsAnalyticsTopEventsPost', 'xStoreID', xStoreID)
62107
+ // verify required parameter 'authorization' is not null or undefined
62108
+ assertParamExists('adminAnalyticsStoreXStoreIDCustomEventsAnalyticsTopEventsPost', 'authorization', authorization)
62109
+ // verify required parameter 'analyticsTopCustomEventsRequestBody' is not null or undefined
62110
+ assertParamExists('adminAnalyticsStoreXStoreIDCustomEventsAnalyticsTopEventsPost', 'analyticsTopCustomEventsRequestBody', analyticsTopCustomEventsRequestBody)
62111
+ const localVarPath = `/admin/analytics/store/{xStoreID}/custom-events/analytics/top-events`
61101
62112
  .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
61102
62113
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
61103
62114
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -61117,10 +62128,13 @@ export const CustomStopwordsApiAxiosParamCreator = function (configuration?: Con
61117
62128
 
61118
62129
  localVarHeaderParameter['Content-Type'] = 'application/json';
61119
62130
 
62131
+ if (authorization != null) {
62132
+ localVarHeaderParameter['Authorization'] = String(authorization);
62133
+ }
61120
62134
  setSearchParams(localVarUrlObj, localVarQueryParameter);
61121
62135
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
61122
62136
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
61123
- localVarRequestOptions.data = serializeDataIfNeeded(dataTypesCreateCustomWordListRequest, localVarRequestOptions, configuration)
62137
+ localVarRequestOptions.data = serializeDataIfNeeded(analyticsTopCustomEventsRequestBody, localVarRequestOptions, configuration)
61124
62138
 
61125
62139
  return {
61126
62140
  url: toPathString(localVarUrlObj),
@@ -61131,191 +62145,758 @@ export const CustomStopwordsApiAxiosParamCreator = function (configuration?: Con
61131
62145
  };
61132
62146
 
61133
62147
  /**
61134
- * CustomStopwordsApi - functional programming interface
62148
+ * CustomEventsAnalyticsApi - functional programming interface
61135
62149
  * @export
61136
62150
  */
61137
- export const CustomStopwordsApiFp = function(configuration?: Configuration) {
61138
- const localVarAxiosParamCreator = CustomStopwordsApiAxiosParamCreator(configuration)
62151
+ export const CustomEventsAnalyticsApiFp = function(configuration?: Configuration) {
62152
+ const localVarAxiosParamCreator = CustomEventsAnalyticsApiAxiosParamCreator(configuration)
61139
62153
  return {
61140
62154
  /**
61141
- * Deletes a custom word list (soft delete)
61142
- * @summary Delete custom word list
61143
- * @param {string} xStoreID X-Store ID
61144
- * @param {number} customWordListID Custom Word List ID
61145
- * @param {*} [options] Override http request option.
61146
- * @throws {RequiredError}
61147
- */
61148
- async adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDDelete(xStoreID: string, customWordListID: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesUpdateWordStatusResponseWrapper>> {
61149
- const localVarAxiosArgs = await localVarAxiosParamCreator.adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDDelete(xStoreID, customWordListID, options);
61150
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
61151
- const localVarOperationServerBasePath = operationServerMap['CustomStopwordsApi.adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDDelete']?.[localVarOperationServerIndex]?.url;
61152
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
61153
- },
61154
- /**
61155
- * Fetches a specific custom word list by ID
61156
- * @summary Get custom word list by ID
61157
- * @param {string} xStoreID X-Store ID
61158
- * @param {number} customWordListID Custom Word List ID
61159
- * @param {*} [options] Override http request option.
61160
- * @throws {RequiredError}
61161
- */
61162
- async adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDGet(xStoreID: string, customWordListID: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesCustomWordListResponseWrapper>> {
61163
- const localVarAxiosArgs = await localVarAxiosParamCreator.adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDGet(xStoreID, customWordListID, options);
61164
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
61165
- const localVarOperationServerBasePath = operationServerMap['CustomStopwordsApi.adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDGet']?.[localVarOperationServerIndex]?.url;
61166
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
61167
- },
61168
- /**
61169
- *
61170
- * @summary Update custom word list
61171
- * @param {string} xStoreID X-Store ID
61172
- * @param {number} customWordListID Custom Word List ID
61173
- * @param {DataTypesUpdateCustomWordListRequest} dataTypesUpdateCustomWordListRequest Update request
62155
+ * Returns a breakdown of values for a specific field slot of a custom event
62156
+ * @summary Get Custom Event Field Breakdown
62157
+ * @param {string} xStoreID Store ID
62158
+ * @param {string} authorization Bearer JWT token
62159
+ * @param {AnalyticsCustomEventFieldBreakdownRequestBody} analyticsCustomEventFieldBreakdownRequestBody Field breakdown request
61174
62160
  * @param {*} [options] Override http request option.
61175
62161
  * @throws {RequiredError}
61176
62162
  */
61177
- async adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDPut(xStoreID: string, customWordListID: number, dataTypesUpdateCustomWordListRequest: DataTypesUpdateCustomWordListRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesUpdateWordStatusResponseWrapper>> {
61178
- const localVarAxiosArgs = await localVarAxiosParamCreator.adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDPut(xStoreID, customWordListID, dataTypesUpdateCustomWordListRequest, options);
62163
+ async adminAnalyticsStoreXStoreIDCustomEventsAnalyticsFieldBreakdownPost(xStoreID: string, authorization: string, analyticsCustomEventFieldBreakdownRequestBody: AnalyticsCustomEventFieldBreakdownRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseAnalyticsCustomEventFieldBreakdown>> {
62164
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminAnalyticsStoreXStoreIDCustomEventsAnalyticsFieldBreakdownPost(xStoreID, authorization, analyticsCustomEventFieldBreakdownRequestBody, options);
61179
62165
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
61180
- const localVarOperationServerBasePath = operationServerMap['CustomStopwordsApi.adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDPut']?.[localVarOperationServerIndex]?.url;
62166
+ const localVarOperationServerBasePath = operationServerMap['CustomEventsAnalyticsApi.adminAnalyticsStoreXStoreIDCustomEventsAnalyticsFieldBreakdownPost']?.[localVarOperationServerIndex]?.url;
61181
62167
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
61182
62168
  },
61183
62169
  /**
61184
- * Removes words from a custom word list
61185
- * @summary Remove words from custom word list
61186
- * @param {string} xStoreID X-Store ID
61187
- * @param {number} customWordListID Custom Word List ID
61188
- * @param {DataTypesRemoveWordsFromCustomListRequest} dataTypesRemoveWordsFromCustomListRequest Remove words request
62170
+ * Returns aggregated custom event metrics including total events, unique users, unique sessions, and unique event types
62171
+ * @summary Get Custom Event Metrics
62172
+ * @param {string} xStoreID Store ID
62173
+ * @param {string} authorization Bearer JWT token
62174
+ * @param {AnalyticsCustomEventMetricsRequestBody} analyticsCustomEventMetricsRequestBody Custom event metrics request
61189
62175
  * @param {*} [options] Override http request option.
61190
62176
  * @throws {RequiredError}
61191
62177
  */
61192
- async adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsDelete(xStoreID: string, customWordListID: number, dataTypesRemoveWordsFromCustomListRequest: DataTypesRemoveWordsFromCustomListRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesUpdateWordStatusResponseWrapper>> {
61193
- const localVarAxiosArgs = await localVarAxiosParamCreator.adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsDelete(xStoreID, customWordListID, dataTypesRemoveWordsFromCustomListRequest, options);
62178
+ async adminAnalyticsStoreXStoreIDCustomEventsAnalyticsMetricsPost(xStoreID: string, authorization: string, analyticsCustomEventMetricsRequestBody: AnalyticsCustomEventMetricsRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseAnalyticsCustomEventMetrics>> {
62179
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminAnalyticsStoreXStoreIDCustomEventsAnalyticsMetricsPost(xStoreID, authorization, analyticsCustomEventMetricsRequestBody, options);
61194
62180
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
61195
- const localVarOperationServerBasePath = operationServerMap['CustomStopwordsApi.adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsDelete']?.[localVarOperationServerIndex]?.url;
62181
+ const localVarOperationServerBasePath = operationServerMap['CustomEventsAnalyticsApi.adminAnalyticsStoreXStoreIDCustomEventsAnalyticsMetricsPost']?.[localVarOperationServerIndex]?.url;
61196
62182
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
61197
62183
  },
61198
62184
  /**
61199
- * Adds words to an existing custom word list
61200
- * @summary Add words to custom word list
61201
- * @param {string} xStoreID X-Store ID
61202
- * @param {number} customWordListID Custom Word List ID
61203
- * @param {DataTypesAddWordsToCustomListRequest} dataTypesAddWordsToCustomListRequest Add words request
62185
+ * Returns paginated raw custom events with field data
62186
+ * @summary Get Custom Event Stream
62187
+ * @param {string} xStoreID Store ID
62188
+ * @param {string} authorization Bearer JWT token
62189
+ * @param {AnalyticsCustomEventStreamRequestBody} analyticsCustomEventStreamRequestBody Event stream request
61204
62190
  * @param {*} [options] Override http request option.
61205
62191
  * @throws {RequiredError}
61206
62192
  */
61207
- async adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsPost(xStoreID: string, customWordListID: number, dataTypesAddWordsToCustomListRequest: DataTypesAddWordsToCustomListRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesUpdateWordStatusResponseWrapper>> {
61208
- const localVarAxiosArgs = await localVarAxiosParamCreator.adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsPost(xStoreID, customWordListID, dataTypesAddWordsToCustomListRequest, options);
62193
+ async adminAnalyticsStoreXStoreIDCustomEventsAnalyticsStreamPost(xStoreID: string, authorization: string, analyticsCustomEventStreamRequestBody: AnalyticsCustomEventStreamRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseAnalyticsPaginatedResponseAnalyticsCustomEventRow>> {
62194
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminAnalyticsStoreXStoreIDCustomEventsAnalyticsStreamPost(xStoreID, authorization, analyticsCustomEventStreamRequestBody, options);
61209
62195
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
61210
- const localVarOperationServerBasePath = operationServerMap['CustomStopwordsApi.adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsPost']?.[localVarOperationServerIndex]?.url;
62196
+ const localVarOperationServerBasePath = operationServerMap['CustomEventsAnalyticsApi.adminAnalyticsStoreXStoreIDCustomEventsAnalyticsStreamPost']?.[localVarOperationServerIndex]?.url;
61211
62197
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
61212
62198
  },
61213
62199
  /**
61214
- * Fetches custom word lists for a store with pagination
61215
- * @summary Get custom word lists
61216
- * @param {string} xStoreID X-Store ID
61217
- * @param {string} [lang] Language locale filter (e.g. \&#39;en\&#39;, \&#39;ar\&#39;)
61218
- * @param {string} [type] Type filter (stopwords, synonyms)
61219
- * @param {number} [page] Page number (default: 1)
61220
- * @param {number} [limit] Items per page (default: 10)
62200
+ * Returns time series data for custom events grouped by event name and time bucket
62201
+ * @summary Get Custom Event Time Series
62202
+ * @param {string} xStoreID Store ID
62203
+ * @param {string} authorization Bearer JWT token
62204
+ * @param {AnalyticsCustomEventTimeSeriesRequestBody} analyticsCustomEventTimeSeriesRequestBody Time series request
61221
62205
  * @param {*} [options] Override http request option.
61222
62206
  * @throws {RequiredError}
61223
62207
  */
61224
- async adminStoresXStoreIDStopwordsCustomWordlistsGet(xStoreID: string, lang?: string, type?: string, page?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesCustomWordListsResponseWrapper>> {
61225
- const localVarAxiosArgs = await localVarAxiosParamCreator.adminStoresXStoreIDStopwordsCustomWordlistsGet(xStoreID, lang, type, page, limit, options);
62208
+ async adminAnalyticsStoreXStoreIDCustomEventsAnalyticsTimeSeriesPost(xStoreID: string, authorization: string, analyticsCustomEventTimeSeriesRequestBody: AnalyticsCustomEventTimeSeriesRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseArrayAnalyticsCustomEventTimeSeriesPoint>> {
62209
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminAnalyticsStoreXStoreIDCustomEventsAnalyticsTimeSeriesPost(xStoreID, authorization, analyticsCustomEventTimeSeriesRequestBody, options);
61226
62210
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
61227
- const localVarOperationServerBasePath = operationServerMap['CustomStopwordsApi.adminStoresXStoreIDStopwordsCustomWordlistsGet']?.[localVarOperationServerIndex]?.url;
62211
+ const localVarOperationServerBasePath = operationServerMap['CustomEventsAnalyticsApi.adminAnalyticsStoreXStoreIDCustomEventsAnalyticsTimeSeriesPost']?.[localVarOperationServerIndex]?.url;
61228
62212
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
61229
62213
  },
61230
62214
  /**
61231
- * Creates a new custom word list for a store
61232
- * @summary Create custom word list
61233
- * @param {string} xStoreID X-Store ID
61234
- * @param {DataTypesCreateCustomWordListRequest} dataTypesCreateCustomWordListRequest Custom word list creation request
62215
+ * Returns the top custom events by count or unique users
62216
+ * @summary Get Top Custom Events
62217
+ * @param {string} xStoreID Store ID
62218
+ * @param {string} authorization Bearer JWT token
62219
+ * @param {AnalyticsTopCustomEventsRequestBody} analyticsTopCustomEventsRequestBody Top events request
61235
62220
  * @param {*} [options] Override http request option.
61236
62221
  * @throws {RequiredError}
61237
62222
  */
61238
- async adminStoresXStoreIDStopwordsCustomWordlistsPost(xStoreID: string, dataTypesCreateCustomWordListRequest: DataTypesCreateCustomWordListRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesCustomWordListResponseWrapper>> {
61239
- const localVarAxiosArgs = await localVarAxiosParamCreator.adminStoresXStoreIDStopwordsCustomWordlistsPost(xStoreID, dataTypesCreateCustomWordListRequest, options);
62223
+ async adminAnalyticsStoreXStoreIDCustomEventsAnalyticsTopEventsPost(xStoreID: string, authorization: string, analyticsTopCustomEventsRequestBody: AnalyticsTopCustomEventsRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseArrayAnalyticsCustomEventSummary>> {
62224
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminAnalyticsStoreXStoreIDCustomEventsAnalyticsTopEventsPost(xStoreID, authorization, analyticsTopCustomEventsRequestBody, options);
61240
62225
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
61241
- const localVarOperationServerBasePath = operationServerMap['CustomStopwordsApi.adminStoresXStoreIDStopwordsCustomWordlistsPost']?.[localVarOperationServerIndex]?.url;
62226
+ const localVarOperationServerBasePath = operationServerMap['CustomEventsAnalyticsApi.adminAnalyticsStoreXStoreIDCustomEventsAnalyticsTopEventsPost']?.[localVarOperationServerIndex]?.url;
61242
62227
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
61243
62228
  },
61244
62229
  }
61245
62230
  };
61246
62231
 
61247
62232
  /**
61248
- * CustomStopwordsApi - factory interface
62233
+ * CustomEventsAnalyticsApi - factory interface
61249
62234
  * @export
61250
62235
  */
61251
- export const CustomStopwordsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
61252
- const localVarFp = CustomStopwordsApiFp(configuration)
62236
+ export const CustomEventsAnalyticsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
62237
+ const localVarFp = CustomEventsAnalyticsApiFp(configuration)
61253
62238
  return {
61254
62239
  /**
61255
- * Deletes a custom word list (soft delete)
61256
- * @summary Delete custom word list
61257
- * @param {string} xStoreID X-Store ID
61258
- * @param {number} customWordListID Custom Word List ID
62240
+ * Returns a breakdown of values for a specific field slot of a custom event
62241
+ * @summary Get Custom Event Field Breakdown
62242
+ * @param {string} xStoreID Store ID
62243
+ * @param {string} authorization Bearer JWT token
62244
+ * @param {AnalyticsCustomEventFieldBreakdownRequestBody} analyticsCustomEventFieldBreakdownRequestBody Field breakdown request
61259
62245
  * @param {*} [options] Override http request option.
61260
62246
  * @throws {RequiredError}
61261
62247
  */
61262
- adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDDelete(xStoreID: string, customWordListID: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesUpdateWordStatusResponseWrapper> {
61263
- return localVarFp.adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDDelete(xStoreID, customWordListID, options).then((request) => request(axios, basePath));
62248
+ adminAnalyticsStoreXStoreIDCustomEventsAnalyticsFieldBreakdownPost(xStoreID: string, authorization: string, analyticsCustomEventFieldBreakdownRequestBody: AnalyticsCustomEventFieldBreakdownRequestBody, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseAnalyticsCustomEventFieldBreakdown> {
62249
+ return localVarFp.adminAnalyticsStoreXStoreIDCustomEventsAnalyticsFieldBreakdownPost(xStoreID, authorization, analyticsCustomEventFieldBreakdownRequestBody, options).then((request) => request(axios, basePath));
61264
62250
  },
61265
62251
  /**
61266
- * Fetches a specific custom word list by ID
61267
- * @summary Get custom word list by ID
61268
- * @param {string} xStoreID X-Store ID
61269
- * @param {number} customWordListID Custom Word List ID
62252
+ * Returns aggregated custom event metrics including total events, unique users, unique sessions, and unique event types
62253
+ * @summary Get Custom Event Metrics
62254
+ * @param {string} xStoreID Store ID
62255
+ * @param {string} authorization Bearer JWT token
62256
+ * @param {AnalyticsCustomEventMetricsRequestBody} analyticsCustomEventMetricsRequestBody Custom event metrics request
61270
62257
  * @param {*} [options] Override http request option.
61271
62258
  * @throws {RequiredError}
61272
62259
  */
61273
- adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDGet(xStoreID: string, customWordListID: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesCustomWordListResponseWrapper> {
61274
- return localVarFp.adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDGet(xStoreID, customWordListID, options).then((request) => request(axios, basePath));
62260
+ adminAnalyticsStoreXStoreIDCustomEventsAnalyticsMetricsPost(xStoreID: string, authorization: string, analyticsCustomEventMetricsRequestBody: AnalyticsCustomEventMetricsRequestBody, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseAnalyticsCustomEventMetrics> {
62261
+ return localVarFp.adminAnalyticsStoreXStoreIDCustomEventsAnalyticsMetricsPost(xStoreID, authorization, analyticsCustomEventMetricsRequestBody, options).then((request) => request(axios, basePath));
61275
62262
  },
61276
62263
  /**
61277
- *
61278
- * @summary Update custom word list
61279
- * @param {string} xStoreID X-Store ID
61280
- * @param {number} customWordListID Custom Word List ID
61281
- * @param {DataTypesUpdateCustomWordListRequest} dataTypesUpdateCustomWordListRequest Update request
62264
+ * Returns paginated raw custom events with field data
62265
+ * @summary Get Custom Event Stream
62266
+ * @param {string} xStoreID Store ID
62267
+ * @param {string} authorization Bearer JWT token
62268
+ * @param {AnalyticsCustomEventStreamRequestBody} analyticsCustomEventStreamRequestBody Event stream request
61282
62269
  * @param {*} [options] Override http request option.
61283
62270
  * @throws {RequiredError}
61284
62271
  */
61285
- adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDPut(xStoreID: string, customWordListID: number, dataTypesUpdateCustomWordListRequest: DataTypesUpdateCustomWordListRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesUpdateWordStatusResponseWrapper> {
61286
- return localVarFp.adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDPut(xStoreID, customWordListID, dataTypesUpdateCustomWordListRequest, options).then((request) => request(axios, basePath));
62272
+ adminAnalyticsStoreXStoreIDCustomEventsAnalyticsStreamPost(xStoreID: string, authorization: string, analyticsCustomEventStreamRequestBody: AnalyticsCustomEventStreamRequestBody, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseAnalyticsPaginatedResponseAnalyticsCustomEventRow> {
62273
+ return localVarFp.adminAnalyticsStoreXStoreIDCustomEventsAnalyticsStreamPost(xStoreID, authorization, analyticsCustomEventStreamRequestBody, options).then((request) => request(axios, basePath));
61287
62274
  },
61288
62275
  /**
61289
- * Removes words from a custom word list
61290
- * @summary Remove words from custom word list
61291
- * @param {string} xStoreID X-Store ID
61292
- * @param {number} customWordListID Custom Word List ID
61293
- * @param {DataTypesRemoveWordsFromCustomListRequest} dataTypesRemoveWordsFromCustomListRequest Remove words request
62276
+ * Returns time series data for custom events grouped by event name and time bucket
62277
+ * @summary Get Custom Event Time Series
62278
+ * @param {string} xStoreID Store ID
62279
+ * @param {string} authorization Bearer JWT token
62280
+ * @param {AnalyticsCustomEventTimeSeriesRequestBody} analyticsCustomEventTimeSeriesRequestBody Time series request
61294
62281
  * @param {*} [options] Override http request option.
61295
62282
  * @throws {RequiredError}
61296
62283
  */
61297
- adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsDelete(xStoreID: string, customWordListID: number, dataTypesRemoveWordsFromCustomListRequest: DataTypesRemoveWordsFromCustomListRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesUpdateWordStatusResponseWrapper> {
61298
- return localVarFp.adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsDelete(xStoreID, customWordListID, dataTypesRemoveWordsFromCustomListRequest, options).then((request) => request(axios, basePath));
62284
+ adminAnalyticsStoreXStoreIDCustomEventsAnalyticsTimeSeriesPost(xStoreID: string, authorization: string, analyticsCustomEventTimeSeriesRequestBody: AnalyticsCustomEventTimeSeriesRequestBody, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseArrayAnalyticsCustomEventTimeSeriesPoint> {
62285
+ return localVarFp.adminAnalyticsStoreXStoreIDCustomEventsAnalyticsTimeSeriesPost(xStoreID, authorization, analyticsCustomEventTimeSeriesRequestBody, options).then((request) => request(axios, basePath));
61299
62286
  },
61300
62287
  /**
61301
- * Adds words to an existing custom word list
61302
- * @summary Add words to custom word list
61303
- * @param {string} xStoreID X-Store ID
61304
- * @param {number} customWordListID Custom Word List ID
61305
- * @param {DataTypesAddWordsToCustomListRequest} dataTypesAddWordsToCustomListRequest Add words request
62288
+ * Returns the top custom events by count or unique users
62289
+ * @summary Get Top Custom Events
62290
+ * @param {string} xStoreID Store ID
62291
+ * @param {string} authorization Bearer JWT token
62292
+ * @param {AnalyticsTopCustomEventsRequestBody} analyticsTopCustomEventsRequestBody Top events request
61306
62293
  * @param {*} [options] Override http request option.
61307
62294
  * @throws {RequiredError}
61308
62295
  */
61309
- adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsPost(xStoreID: string, customWordListID: number, dataTypesAddWordsToCustomListRequest: DataTypesAddWordsToCustomListRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesUpdateWordStatusResponseWrapper> {
61310
- return localVarFp.adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsPost(xStoreID, customWordListID, dataTypesAddWordsToCustomListRequest, options).then((request) => request(axios, basePath));
62296
+ adminAnalyticsStoreXStoreIDCustomEventsAnalyticsTopEventsPost(xStoreID: string, authorization: string, analyticsTopCustomEventsRequestBody: AnalyticsTopCustomEventsRequestBody, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseArrayAnalyticsCustomEventSummary> {
62297
+ return localVarFp.adminAnalyticsStoreXStoreIDCustomEventsAnalyticsTopEventsPost(xStoreID, authorization, analyticsTopCustomEventsRequestBody, options).then((request) => request(axios, basePath));
61311
62298
  },
61312
- /**
61313
- * Fetches custom word lists for a store with pagination
61314
- * @summary Get custom word lists
61315
- * @param {string} xStoreID X-Store ID
61316
- * @param {string} [lang] Language locale filter (e.g. \&#39;en\&#39;, \&#39;ar\&#39;)
61317
- * @param {string} [type] Type filter (stopwords, synonyms)
61318
- * @param {number} [page] Page number (default: 1)
62299
+ };
62300
+ };
62301
+
62302
+ /**
62303
+ * CustomEventsAnalyticsApi - object-oriented interface
62304
+ * @export
62305
+ * @class CustomEventsAnalyticsApi
62306
+ * @extends {BaseAPI}
62307
+ */
62308
+ export class CustomEventsAnalyticsApi extends BaseAPI {
62309
+ /**
62310
+ * Returns a breakdown of values for a specific field slot of a custom event
62311
+ * @summary Get Custom Event Field Breakdown
62312
+ * @param {string} xStoreID Store ID
62313
+ * @param {string} authorization Bearer JWT token
62314
+ * @param {AnalyticsCustomEventFieldBreakdownRequestBody} analyticsCustomEventFieldBreakdownRequestBody Field breakdown request
62315
+ * @param {*} [options] Override http request option.
62316
+ * @throws {RequiredError}
62317
+ * @memberof CustomEventsAnalyticsApi
62318
+ */
62319
+ public adminAnalyticsStoreXStoreIDCustomEventsAnalyticsFieldBreakdownPost(xStoreID: string, authorization: string, analyticsCustomEventFieldBreakdownRequestBody: AnalyticsCustomEventFieldBreakdownRequestBody, options?: RawAxiosRequestConfig) {
62320
+ return CustomEventsAnalyticsApiFp(this.configuration).adminAnalyticsStoreXStoreIDCustomEventsAnalyticsFieldBreakdownPost(xStoreID, authorization, analyticsCustomEventFieldBreakdownRequestBody, options).then((request) => request(this.axios, this.basePath));
62321
+ }
62322
+
62323
+ /**
62324
+ * Returns aggregated custom event metrics including total events, unique users, unique sessions, and unique event types
62325
+ * @summary Get Custom Event Metrics
62326
+ * @param {string} xStoreID Store ID
62327
+ * @param {string} authorization Bearer JWT token
62328
+ * @param {AnalyticsCustomEventMetricsRequestBody} analyticsCustomEventMetricsRequestBody Custom event metrics request
62329
+ * @param {*} [options] Override http request option.
62330
+ * @throws {RequiredError}
62331
+ * @memberof CustomEventsAnalyticsApi
62332
+ */
62333
+ public adminAnalyticsStoreXStoreIDCustomEventsAnalyticsMetricsPost(xStoreID: string, authorization: string, analyticsCustomEventMetricsRequestBody: AnalyticsCustomEventMetricsRequestBody, options?: RawAxiosRequestConfig) {
62334
+ return CustomEventsAnalyticsApiFp(this.configuration).adminAnalyticsStoreXStoreIDCustomEventsAnalyticsMetricsPost(xStoreID, authorization, analyticsCustomEventMetricsRequestBody, options).then((request) => request(this.axios, this.basePath));
62335
+ }
62336
+
62337
+ /**
62338
+ * Returns paginated raw custom events with field data
62339
+ * @summary Get Custom Event Stream
62340
+ * @param {string} xStoreID Store ID
62341
+ * @param {string} authorization Bearer JWT token
62342
+ * @param {AnalyticsCustomEventStreamRequestBody} analyticsCustomEventStreamRequestBody Event stream request
62343
+ * @param {*} [options] Override http request option.
62344
+ * @throws {RequiredError}
62345
+ * @memberof CustomEventsAnalyticsApi
62346
+ */
62347
+ public adminAnalyticsStoreXStoreIDCustomEventsAnalyticsStreamPost(xStoreID: string, authorization: string, analyticsCustomEventStreamRequestBody: AnalyticsCustomEventStreamRequestBody, options?: RawAxiosRequestConfig) {
62348
+ return CustomEventsAnalyticsApiFp(this.configuration).adminAnalyticsStoreXStoreIDCustomEventsAnalyticsStreamPost(xStoreID, authorization, analyticsCustomEventStreamRequestBody, options).then((request) => request(this.axios, this.basePath));
62349
+ }
62350
+
62351
+ /**
62352
+ * Returns time series data for custom events grouped by event name and time bucket
62353
+ * @summary Get Custom Event Time Series
62354
+ * @param {string} xStoreID Store ID
62355
+ * @param {string} authorization Bearer JWT token
62356
+ * @param {AnalyticsCustomEventTimeSeriesRequestBody} analyticsCustomEventTimeSeriesRequestBody Time series request
62357
+ * @param {*} [options] Override http request option.
62358
+ * @throws {RequiredError}
62359
+ * @memberof CustomEventsAnalyticsApi
62360
+ */
62361
+ public adminAnalyticsStoreXStoreIDCustomEventsAnalyticsTimeSeriesPost(xStoreID: string, authorization: string, analyticsCustomEventTimeSeriesRequestBody: AnalyticsCustomEventTimeSeriesRequestBody, options?: RawAxiosRequestConfig) {
62362
+ return CustomEventsAnalyticsApiFp(this.configuration).adminAnalyticsStoreXStoreIDCustomEventsAnalyticsTimeSeriesPost(xStoreID, authorization, analyticsCustomEventTimeSeriesRequestBody, options).then((request) => request(this.axios, this.basePath));
62363
+ }
62364
+
62365
+ /**
62366
+ * Returns the top custom events by count or unique users
62367
+ * @summary Get Top Custom Events
62368
+ * @param {string} xStoreID Store ID
62369
+ * @param {string} authorization Bearer JWT token
62370
+ * @param {AnalyticsTopCustomEventsRequestBody} analyticsTopCustomEventsRequestBody Top events request
62371
+ * @param {*} [options] Override http request option.
62372
+ * @throws {RequiredError}
62373
+ * @memberof CustomEventsAnalyticsApi
62374
+ */
62375
+ public adminAnalyticsStoreXStoreIDCustomEventsAnalyticsTopEventsPost(xStoreID: string, authorization: string, analyticsTopCustomEventsRequestBody: AnalyticsTopCustomEventsRequestBody, options?: RawAxiosRequestConfig) {
62376
+ return CustomEventsAnalyticsApiFp(this.configuration).adminAnalyticsStoreXStoreIDCustomEventsAnalyticsTopEventsPost(xStoreID, authorization, analyticsTopCustomEventsRequestBody, options).then((request) => request(this.axios, this.basePath));
62377
+ }
62378
+ }
62379
+
62380
+
62381
+
62382
+ /**
62383
+ * CustomStopwordsApi - axios parameter creator
62384
+ * @export
62385
+ */
62386
+ export const CustomStopwordsApiAxiosParamCreator = function (configuration?: Configuration) {
62387
+ return {
62388
+ /**
62389
+ * Deletes a custom word list (soft delete)
62390
+ * @summary Delete custom word list
62391
+ * @param {string} xStoreID X-Store ID
62392
+ * @param {number} customWordListID Custom Word List ID
62393
+ * @param {*} [options] Override http request option.
62394
+ * @throws {RequiredError}
62395
+ */
62396
+ adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDDelete: async (xStoreID: string, customWordListID: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
62397
+ // verify required parameter 'xStoreID' is not null or undefined
62398
+ assertParamExists('adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDDelete', 'xStoreID', xStoreID)
62399
+ // verify required parameter 'customWordListID' is not null or undefined
62400
+ assertParamExists('adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDDelete', 'customWordListID', customWordListID)
62401
+ const localVarPath = `/admin/Stores/{xStoreID}/stopwords/custom-wordlists/{customWordListID}`
62402
+ .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)))
62403
+ .replace(`{${"customWordListID"}}`, encodeURIComponent(String(customWordListID)));
62404
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
62405
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
62406
+ let baseOptions;
62407
+ if (configuration) {
62408
+ baseOptions = configuration.baseOptions;
62409
+ }
62410
+
62411
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
62412
+ const localVarHeaderParameter = {} as any;
62413
+ const localVarQueryParameter = {} as any;
62414
+
62415
+ // authentication BearerAuth required
62416
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
62417
+
62418
+
62419
+
62420
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
62421
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
62422
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
62423
+
62424
+ return {
62425
+ url: toPathString(localVarUrlObj),
62426
+ options: localVarRequestOptions,
62427
+ };
62428
+ },
62429
+ /**
62430
+ * Fetches a specific custom word list by ID
62431
+ * @summary Get custom word list by ID
62432
+ * @param {string} xStoreID X-Store ID
62433
+ * @param {number} customWordListID Custom Word List ID
62434
+ * @param {*} [options] Override http request option.
62435
+ * @throws {RequiredError}
62436
+ */
62437
+ adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDGet: async (xStoreID: string, customWordListID: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
62438
+ // verify required parameter 'xStoreID' is not null or undefined
62439
+ assertParamExists('adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDGet', 'xStoreID', xStoreID)
62440
+ // verify required parameter 'customWordListID' is not null or undefined
62441
+ assertParamExists('adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDGet', 'customWordListID', customWordListID)
62442
+ const localVarPath = `/admin/Stores/{xStoreID}/stopwords/custom-wordlists/{customWordListID}`
62443
+ .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)))
62444
+ .replace(`{${"customWordListID"}}`, encodeURIComponent(String(customWordListID)));
62445
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
62446
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
62447
+ let baseOptions;
62448
+ if (configuration) {
62449
+ baseOptions = configuration.baseOptions;
62450
+ }
62451
+
62452
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
62453
+ const localVarHeaderParameter = {} as any;
62454
+ const localVarQueryParameter = {} as any;
62455
+
62456
+ // authentication BearerAuth required
62457
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
62458
+
62459
+
62460
+
62461
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
62462
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
62463
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
62464
+
62465
+ return {
62466
+ url: toPathString(localVarUrlObj),
62467
+ options: localVarRequestOptions,
62468
+ };
62469
+ },
62470
+ /**
62471
+ *
62472
+ * @summary Update custom word list
62473
+ * @param {string} xStoreID X-Store ID
62474
+ * @param {number} customWordListID Custom Word List ID
62475
+ * @param {DataTypesUpdateCustomWordListRequest} dataTypesUpdateCustomWordListRequest Update request
62476
+ * @param {*} [options] Override http request option.
62477
+ * @throws {RequiredError}
62478
+ */
62479
+ adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDPut: async (xStoreID: string, customWordListID: number, dataTypesUpdateCustomWordListRequest: DataTypesUpdateCustomWordListRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
62480
+ // verify required parameter 'xStoreID' is not null or undefined
62481
+ assertParamExists('adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDPut', 'xStoreID', xStoreID)
62482
+ // verify required parameter 'customWordListID' is not null or undefined
62483
+ assertParamExists('adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDPut', 'customWordListID', customWordListID)
62484
+ // verify required parameter 'dataTypesUpdateCustomWordListRequest' is not null or undefined
62485
+ assertParamExists('adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDPut', 'dataTypesUpdateCustomWordListRequest', dataTypesUpdateCustomWordListRequest)
62486
+ const localVarPath = `/admin/Stores/{xStoreID}/stopwords/custom-wordlists/{customWordListID}`
62487
+ .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)))
62488
+ .replace(`{${"customWordListID"}}`, encodeURIComponent(String(customWordListID)));
62489
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
62490
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
62491
+ let baseOptions;
62492
+ if (configuration) {
62493
+ baseOptions = configuration.baseOptions;
62494
+ }
62495
+
62496
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
62497
+ const localVarHeaderParameter = {} as any;
62498
+ const localVarQueryParameter = {} as any;
62499
+
62500
+ // authentication BearerAuth required
62501
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
62502
+
62503
+
62504
+
62505
+ localVarHeaderParameter['Content-Type'] = 'application/json';
62506
+
62507
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
62508
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
62509
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
62510
+ localVarRequestOptions.data = serializeDataIfNeeded(dataTypesUpdateCustomWordListRequest, localVarRequestOptions, configuration)
62511
+
62512
+ return {
62513
+ url: toPathString(localVarUrlObj),
62514
+ options: localVarRequestOptions,
62515
+ };
62516
+ },
62517
+ /**
62518
+ * Removes words from a custom word list
62519
+ * @summary Remove words from custom word list
62520
+ * @param {string} xStoreID X-Store ID
62521
+ * @param {number} customWordListID Custom Word List ID
62522
+ * @param {DataTypesRemoveWordsFromCustomListRequest} dataTypesRemoveWordsFromCustomListRequest Remove words request
62523
+ * @param {*} [options] Override http request option.
62524
+ * @throws {RequiredError}
62525
+ */
62526
+ adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsDelete: async (xStoreID: string, customWordListID: number, dataTypesRemoveWordsFromCustomListRequest: DataTypesRemoveWordsFromCustomListRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
62527
+ // verify required parameter 'xStoreID' is not null or undefined
62528
+ assertParamExists('adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsDelete', 'xStoreID', xStoreID)
62529
+ // verify required parameter 'customWordListID' is not null or undefined
62530
+ assertParamExists('adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsDelete', 'customWordListID', customWordListID)
62531
+ // verify required parameter 'dataTypesRemoveWordsFromCustomListRequest' is not null or undefined
62532
+ assertParamExists('adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsDelete', 'dataTypesRemoveWordsFromCustomListRequest', dataTypesRemoveWordsFromCustomListRequest)
62533
+ const localVarPath = `/admin/Stores/{xStoreID}/stopwords/custom-wordlists/{customWordListID}/words`
62534
+ .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)))
62535
+ .replace(`{${"customWordListID"}}`, encodeURIComponent(String(customWordListID)));
62536
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
62537
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
62538
+ let baseOptions;
62539
+ if (configuration) {
62540
+ baseOptions = configuration.baseOptions;
62541
+ }
62542
+
62543
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
62544
+ const localVarHeaderParameter = {} as any;
62545
+ const localVarQueryParameter = {} as any;
62546
+
62547
+ // authentication BearerAuth required
62548
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
62549
+
62550
+
62551
+
62552
+ localVarHeaderParameter['Content-Type'] = 'application/json';
62553
+
62554
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
62555
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
62556
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
62557
+ localVarRequestOptions.data = serializeDataIfNeeded(dataTypesRemoveWordsFromCustomListRequest, localVarRequestOptions, configuration)
62558
+
62559
+ return {
62560
+ url: toPathString(localVarUrlObj),
62561
+ options: localVarRequestOptions,
62562
+ };
62563
+ },
62564
+ /**
62565
+ * Adds words to an existing custom word list
62566
+ * @summary Add words to custom word list
62567
+ * @param {string} xStoreID X-Store ID
62568
+ * @param {number} customWordListID Custom Word List ID
62569
+ * @param {DataTypesAddWordsToCustomListRequest} dataTypesAddWordsToCustomListRequest Add words request
62570
+ * @param {*} [options] Override http request option.
62571
+ * @throws {RequiredError}
62572
+ */
62573
+ adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsPost: async (xStoreID: string, customWordListID: number, dataTypesAddWordsToCustomListRequest: DataTypesAddWordsToCustomListRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
62574
+ // verify required parameter 'xStoreID' is not null or undefined
62575
+ assertParamExists('adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsPost', 'xStoreID', xStoreID)
62576
+ // verify required parameter 'customWordListID' is not null or undefined
62577
+ assertParamExists('adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsPost', 'customWordListID', customWordListID)
62578
+ // verify required parameter 'dataTypesAddWordsToCustomListRequest' is not null or undefined
62579
+ assertParamExists('adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsPost', 'dataTypesAddWordsToCustomListRequest', dataTypesAddWordsToCustomListRequest)
62580
+ const localVarPath = `/admin/Stores/{xStoreID}/stopwords/custom-wordlists/{customWordListID}/words`
62581
+ .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)))
62582
+ .replace(`{${"customWordListID"}}`, encodeURIComponent(String(customWordListID)));
62583
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
62584
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
62585
+ let baseOptions;
62586
+ if (configuration) {
62587
+ baseOptions = configuration.baseOptions;
62588
+ }
62589
+
62590
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
62591
+ const localVarHeaderParameter = {} as any;
62592
+ const localVarQueryParameter = {} as any;
62593
+
62594
+ // authentication BearerAuth required
62595
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
62596
+
62597
+
62598
+
62599
+ localVarHeaderParameter['Content-Type'] = 'application/json';
62600
+
62601
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
62602
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
62603
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
62604
+ localVarRequestOptions.data = serializeDataIfNeeded(dataTypesAddWordsToCustomListRequest, localVarRequestOptions, configuration)
62605
+
62606
+ return {
62607
+ url: toPathString(localVarUrlObj),
62608
+ options: localVarRequestOptions,
62609
+ };
62610
+ },
62611
+ /**
62612
+ * Fetches custom word lists for a store with pagination
62613
+ * @summary Get custom word lists
62614
+ * @param {string} xStoreID X-Store ID
62615
+ * @param {string} [lang] Language locale filter (e.g. \&#39;en\&#39;, \&#39;ar\&#39;)
62616
+ * @param {string} [type] Type filter (stopwords, synonyms)
62617
+ * @param {number} [page] Page number (default: 1)
62618
+ * @param {number} [limit] Items per page (default: 10)
62619
+ * @param {*} [options] Override http request option.
62620
+ * @throws {RequiredError}
62621
+ */
62622
+ adminStoresXStoreIDStopwordsCustomWordlistsGet: async (xStoreID: string, lang?: string, type?: string, page?: number, limit?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
62623
+ // verify required parameter 'xStoreID' is not null or undefined
62624
+ assertParamExists('adminStoresXStoreIDStopwordsCustomWordlistsGet', 'xStoreID', xStoreID)
62625
+ const localVarPath = `/admin/Stores/{xStoreID}/stopwords/custom-wordlists`
62626
+ .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
62627
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
62628
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
62629
+ let baseOptions;
62630
+ if (configuration) {
62631
+ baseOptions = configuration.baseOptions;
62632
+ }
62633
+
62634
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
62635
+ const localVarHeaderParameter = {} as any;
62636
+ const localVarQueryParameter = {} as any;
62637
+
62638
+ // authentication BearerAuth required
62639
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
62640
+
62641
+ if (lang !== undefined) {
62642
+ localVarQueryParameter['lang'] = lang;
62643
+ }
62644
+
62645
+ if (type !== undefined) {
62646
+ localVarQueryParameter['type'] = type;
62647
+ }
62648
+
62649
+ if (page !== undefined) {
62650
+ localVarQueryParameter['page'] = page;
62651
+ }
62652
+
62653
+ if (limit !== undefined) {
62654
+ localVarQueryParameter['limit'] = limit;
62655
+ }
62656
+
62657
+
62658
+
62659
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
62660
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
62661
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
62662
+
62663
+ return {
62664
+ url: toPathString(localVarUrlObj),
62665
+ options: localVarRequestOptions,
62666
+ };
62667
+ },
62668
+ /**
62669
+ * Creates a new custom word list for a store
62670
+ * @summary Create custom word list
62671
+ * @param {string} xStoreID X-Store ID
62672
+ * @param {DataTypesCreateCustomWordListRequest} dataTypesCreateCustomWordListRequest Custom word list creation request
62673
+ * @param {*} [options] Override http request option.
62674
+ * @throws {RequiredError}
62675
+ */
62676
+ adminStoresXStoreIDStopwordsCustomWordlistsPost: async (xStoreID: string, dataTypesCreateCustomWordListRequest: DataTypesCreateCustomWordListRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
62677
+ // verify required parameter 'xStoreID' is not null or undefined
62678
+ assertParamExists('adminStoresXStoreIDStopwordsCustomWordlistsPost', 'xStoreID', xStoreID)
62679
+ // verify required parameter 'dataTypesCreateCustomWordListRequest' is not null or undefined
62680
+ assertParamExists('adminStoresXStoreIDStopwordsCustomWordlistsPost', 'dataTypesCreateCustomWordListRequest', dataTypesCreateCustomWordListRequest)
62681
+ const localVarPath = `/admin/Stores/{xStoreID}/stopwords/custom-wordlists`
62682
+ .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
62683
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
62684
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
62685
+ let baseOptions;
62686
+ if (configuration) {
62687
+ baseOptions = configuration.baseOptions;
62688
+ }
62689
+
62690
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
62691
+ const localVarHeaderParameter = {} as any;
62692
+ const localVarQueryParameter = {} as any;
62693
+
62694
+ // authentication BearerAuth required
62695
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
62696
+
62697
+
62698
+
62699
+ localVarHeaderParameter['Content-Type'] = 'application/json';
62700
+
62701
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
62702
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
62703
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
62704
+ localVarRequestOptions.data = serializeDataIfNeeded(dataTypesCreateCustomWordListRequest, localVarRequestOptions, configuration)
62705
+
62706
+ return {
62707
+ url: toPathString(localVarUrlObj),
62708
+ options: localVarRequestOptions,
62709
+ };
62710
+ },
62711
+ }
62712
+ };
62713
+
62714
+ /**
62715
+ * CustomStopwordsApi - functional programming interface
62716
+ * @export
62717
+ */
62718
+ export const CustomStopwordsApiFp = function(configuration?: Configuration) {
62719
+ const localVarAxiosParamCreator = CustomStopwordsApiAxiosParamCreator(configuration)
62720
+ return {
62721
+ /**
62722
+ * Deletes a custom word list (soft delete)
62723
+ * @summary Delete custom word list
62724
+ * @param {string} xStoreID X-Store ID
62725
+ * @param {number} customWordListID Custom Word List ID
62726
+ * @param {*} [options] Override http request option.
62727
+ * @throws {RequiredError}
62728
+ */
62729
+ async adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDDelete(xStoreID: string, customWordListID: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesUpdateWordStatusResponseWrapper>> {
62730
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDDelete(xStoreID, customWordListID, options);
62731
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
62732
+ const localVarOperationServerBasePath = operationServerMap['CustomStopwordsApi.adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDDelete']?.[localVarOperationServerIndex]?.url;
62733
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
62734
+ },
62735
+ /**
62736
+ * Fetches a specific custom word list by ID
62737
+ * @summary Get custom word list by ID
62738
+ * @param {string} xStoreID X-Store ID
62739
+ * @param {number} customWordListID Custom Word List ID
62740
+ * @param {*} [options] Override http request option.
62741
+ * @throws {RequiredError}
62742
+ */
62743
+ async adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDGet(xStoreID: string, customWordListID: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesCustomWordListResponseWrapper>> {
62744
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDGet(xStoreID, customWordListID, options);
62745
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
62746
+ const localVarOperationServerBasePath = operationServerMap['CustomStopwordsApi.adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDGet']?.[localVarOperationServerIndex]?.url;
62747
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
62748
+ },
62749
+ /**
62750
+ *
62751
+ * @summary Update custom word list
62752
+ * @param {string} xStoreID X-Store ID
62753
+ * @param {number} customWordListID Custom Word List ID
62754
+ * @param {DataTypesUpdateCustomWordListRequest} dataTypesUpdateCustomWordListRequest Update request
62755
+ * @param {*} [options] Override http request option.
62756
+ * @throws {RequiredError}
62757
+ */
62758
+ async adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDPut(xStoreID: string, customWordListID: number, dataTypesUpdateCustomWordListRequest: DataTypesUpdateCustomWordListRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesUpdateWordStatusResponseWrapper>> {
62759
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDPut(xStoreID, customWordListID, dataTypesUpdateCustomWordListRequest, options);
62760
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
62761
+ const localVarOperationServerBasePath = operationServerMap['CustomStopwordsApi.adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDPut']?.[localVarOperationServerIndex]?.url;
62762
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
62763
+ },
62764
+ /**
62765
+ * Removes words from a custom word list
62766
+ * @summary Remove words from custom word list
62767
+ * @param {string} xStoreID X-Store ID
62768
+ * @param {number} customWordListID Custom Word List ID
62769
+ * @param {DataTypesRemoveWordsFromCustomListRequest} dataTypesRemoveWordsFromCustomListRequest Remove words request
62770
+ * @param {*} [options] Override http request option.
62771
+ * @throws {RequiredError}
62772
+ */
62773
+ async adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsDelete(xStoreID: string, customWordListID: number, dataTypesRemoveWordsFromCustomListRequest: DataTypesRemoveWordsFromCustomListRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesUpdateWordStatusResponseWrapper>> {
62774
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsDelete(xStoreID, customWordListID, dataTypesRemoveWordsFromCustomListRequest, options);
62775
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
62776
+ const localVarOperationServerBasePath = operationServerMap['CustomStopwordsApi.adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsDelete']?.[localVarOperationServerIndex]?.url;
62777
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
62778
+ },
62779
+ /**
62780
+ * Adds words to an existing custom word list
62781
+ * @summary Add words to custom word list
62782
+ * @param {string} xStoreID X-Store ID
62783
+ * @param {number} customWordListID Custom Word List ID
62784
+ * @param {DataTypesAddWordsToCustomListRequest} dataTypesAddWordsToCustomListRequest Add words request
62785
+ * @param {*} [options] Override http request option.
62786
+ * @throws {RequiredError}
62787
+ */
62788
+ async adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsPost(xStoreID: string, customWordListID: number, dataTypesAddWordsToCustomListRequest: DataTypesAddWordsToCustomListRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesUpdateWordStatusResponseWrapper>> {
62789
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsPost(xStoreID, customWordListID, dataTypesAddWordsToCustomListRequest, options);
62790
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
62791
+ const localVarOperationServerBasePath = operationServerMap['CustomStopwordsApi.adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsPost']?.[localVarOperationServerIndex]?.url;
62792
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
62793
+ },
62794
+ /**
62795
+ * Fetches custom word lists for a store with pagination
62796
+ * @summary Get custom word lists
62797
+ * @param {string} xStoreID X-Store ID
62798
+ * @param {string} [lang] Language locale filter (e.g. \&#39;en\&#39;, \&#39;ar\&#39;)
62799
+ * @param {string} [type] Type filter (stopwords, synonyms)
62800
+ * @param {number} [page] Page number (default: 1)
62801
+ * @param {number} [limit] Items per page (default: 10)
62802
+ * @param {*} [options] Override http request option.
62803
+ * @throws {RequiredError}
62804
+ */
62805
+ async adminStoresXStoreIDStopwordsCustomWordlistsGet(xStoreID: string, lang?: string, type?: string, page?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesCustomWordListsResponseWrapper>> {
62806
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminStoresXStoreIDStopwordsCustomWordlistsGet(xStoreID, lang, type, page, limit, options);
62807
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
62808
+ const localVarOperationServerBasePath = operationServerMap['CustomStopwordsApi.adminStoresXStoreIDStopwordsCustomWordlistsGet']?.[localVarOperationServerIndex]?.url;
62809
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
62810
+ },
62811
+ /**
62812
+ * Creates a new custom word list for a store
62813
+ * @summary Create custom word list
62814
+ * @param {string} xStoreID X-Store ID
62815
+ * @param {DataTypesCreateCustomWordListRequest} dataTypesCreateCustomWordListRequest Custom word list creation request
62816
+ * @param {*} [options] Override http request option.
62817
+ * @throws {RequiredError}
62818
+ */
62819
+ async adminStoresXStoreIDStopwordsCustomWordlistsPost(xStoreID: string, dataTypesCreateCustomWordListRequest: DataTypesCreateCustomWordListRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesCustomWordListResponseWrapper>> {
62820
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminStoresXStoreIDStopwordsCustomWordlistsPost(xStoreID, dataTypesCreateCustomWordListRequest, options);
62821
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
62822
+ const localVarOperationServerBasePath = operationServerMap['CustomStopwordsApi.adminStoresXStoreIDStopwordsCustomWordlistsPost']?.[localVarOperationServerIndex]?.url;
62823
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
62824
+ },
62825
+ }
62826
+ };
62827
+
62828
+ /**
62829
+ * CustomStopwordsApi - factory interface
62830
+ * @export
62831
+ */
62832
+ export const CustomStopwordsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
62833
+ const localVarFp = CustomStopwordsApiFp(configuration)
62834
+ return {
62835
+ /**
62836
+ * Deletes a custom word list (soft delete)
62837
+ * @summary Delete custom word list
62838
+ * @param {string} xStoreID X-Store ID
62839
+ * @param {number} customWordListID Custom Word List ID
62840
+ * @param {*} [options] Override http request option.
62841
+ * @throws {RequiredError}
62842
+ */
62843
+ adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDDelete(xStoreID: string, customWordListID: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesUpdateWordStatusResponseWrapper> {
62844
+ return localVarFp.adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDDelete(xStoreID, customWordListID, options).then((request) => request(axios, basePath));
62845
+ },
62846
+ /**
62847
+ * Fetches a specific custom word list by ID
62848
+ * @summary Get custom word list by ID
62849
+ * @param {string} xStoreID X-Store ID
62850
+ * @param {number} customWordListID Custom Word List ID
62851
+ * @param {*} [options] Override http request option.
62852
+ * @throws {RequiredError}
62853
+ */
62854
+ adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDGet(xStoreID: string, customWordListID: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesCustomWordListResponseWrapper> {
62855
+ return localVarFp.adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDGet(xStoreID, customWordListID, options).then((request) => request(axios, basePath));
62856
+ },
62857
+ /**
62858
+ *
62859
+ * @summary Update custom word list
62860
+ * @param {string} xStoreID X-Store ID
62861
+ * @param {number} customWordListID Custom Word List ID
62862
+ * @param {DataTypesUpdateCustomWordListRequest} dataTypesUpdateCustomWordListRequest Update request
62863
+ * @param {*} [options] Override http request option.
62864
+ * @throws {RequiredError}
62865
+ */
62866
+ adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDPut(xStoreID: string, customWordListID: number, dataTypesUpdateCustomWordListRequest: DataTypesUpdateCustomWordListRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesUpdateWordStatusResponseWrapper> {
62867
+ return localVarFp.adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDPut(xStoreID, customWordListID, dataTypesUpdateCustomWordListRequest, options).then((request) => request(axios, basePath));
62868
+ },
62869
+ /**
62870
+ * Removes words from a custom word list
62871
+ * @summary Remove words from custom word list
62872
+ * @param {string} xStoreID X-Store ID
62873
+ * @param {number} customWordListID Custom Word List ID
62874
+ * @param {DataTypesRemoveWordsFromCustomListRequest} dataTypesRemoveWordsFromCustomListRequest Remove words request
62875
+ * @param {*} [options] Override http request option.
62876
+ * @throws {RequiredError}
62877
+ */
62878
+ adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsDelete(xStoreID: string, customWordListID: number, dataTypesRemoveWordsFromCustomListRequest: DataTypesRemoveWordsFromCustomListRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesUpdateWordStatusResponseWrapper> {
62879
+ return localVarFp.adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsDelete(xStoreID, customWordListID, dataTypesRemoveWordsFromCustomListRequest, options).then((request) => request(axios, basePath));
62880
+ },
62881
+ /**
62882
+ * Adds words to an existing custom word list
62883
+ * @summary Add words to custom word list
62884
+ * @param {string} xStoreID X-Store ID
62885
+ * @param {number} customWordListID Custom Word List ID
62886
+ * @param {DataTypesAddWordsToCustomListRequest} dataTypesAddWordsToCustomListRequest Add words request
62887
+ * @param {*} [options] Override http request option.
62888
+ * @throws {RequiredError}
62889
+ */
62890
+ adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsPost(xStoreID: string, customWordListID: number, dataTypesAddWordsToCustomListRequest: DataTypesAddWordsToCustomListRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesUpdateWordStatusResponseWrapper> {
62891
+ return localVarFp.adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsPost(xStoreID, customWordListID, dataTypesAddWordsToCustomListRequest, options).then((request) => request(axios, basePath));
62892
+ },
62893
+ /**
62894
+ * Fetches custom word lists for a store with pagination
62895
+ * @summary Get custom word lists
62896
+ * @param {string} xStoreID X-Store ID
62897
+ * @param {string} [lang] Language locale filter (e.g. \&#39;en\&#39;, \&#39;ar\&#39;)
62898
+ * @param {string} [type] Type filter (stopwords, synonyms)
62899
+ * @param {number} [page] Page number (default: 1)
61319
62900
  * @param {number} [limit] Items per page (default: 10)
61320
62901
  * @param {*} [options] Override http request option.
61321
62902
  * @throws {RequiredError}
@@ -63794,53 +65375,6 @@ export const ExperimentsApiAxiosParamCreator = function (configuration?: Configu
63794
65375
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
63795
65376
  localVarRequestOptions.data = serializeDataIfNeeded(dataTypesCreateExperimentRequest, localVarRequestOptions, configuration)
63796
65377
 
63797
- return {
63798
- url: toPathString(localVarUrlObj),
63799
- options: localVarRequestOptions,
63800
- };
63801
- },
63802
- /**
63803
- * Returns variant assignments for all running experiments for the requesting user. Uses hash-based consistent assignment.
63804
- * @summary Get experiment assignments for a user
63805
- * @param {string} xStoreid Store ID
63806
- * @param {string} [xUserId] User ID (provide either x-user-id or x-anon-id)
63807
- * @param {string} [xAnonId] Anonymous ID (provide either x-user-id or x-anon-id)
63808
- * @param {*} [options] Override http request option.
63809
- * @throws {RequiredError}
63810
- */
63811
- v1ExperimentsAssignmentGet: async (xStoreid: string, xUserId?: string, xAnonId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
63812
- // verify required parameter 'xStoreid' is not null or undefined
63813
- assertParamExists('v1ExperimentsAssignmentGet', 'xStoreid', xStoreid)
63814
- const localVarPath = `/v1/experiments/assignment`;
63815
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
63816
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
63817
- let baseOptions;
63818
- if (configuration) {
63819
- baseOptions = configuration.baseOptions;
63820
- }
63821
-
63822
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
63823
- const localVarHeaderParameter = {} as any;
63824
- const localVarQueryParameter = {} as any;
63825
-
63826
- // authentication ApiKeyAuth required
63827
- await setApiKeyToObject(localVarHeaderParameter, "x-storesecret", configuration)
63828
-
63829
-
63830
-
63831
- if (xStoreid != null) {
63832
- localVarHeaderParameter['x-storeid'] = String(xStoreid);
63833
- }
63834
- if (xUserId != null) {
63835
- localVarHeaderParameter['x-user-id'] = String(xUserId);
63836
- }
63837
- if (xAnonId != null) {
63838
- localVarHeaderParameter['x-anon-id'] = String(xAnonId);
63839
- }
63840
- setSearchParams(localVarUrlObj, localVarQueryParameter);
63841
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
63842
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
63843
-
63844
65378
  return {
63845
65379
  url: toPathString(localVarUrlObj),
63846
65380
  options: localVarRequestOptions,
@@ -63974,21 +65508,6 @@ export const ExperimentsApiFp = function(configuration?: Configuration) {
63974
65508
  const localVarOperationServerBasePath = operationServerMap['ExperimentsApi.v1AdminExperimentsPost']?.[localVarOperationServerIndex]?.url;
63975
65509
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
63976
65510
  },
63977
- /**
63978
- * Returns variant assignments for all running experiments for the requesting user. Uses hash-based consistent assignment.
63979
- * @summary Get experiment assignments for a user
63980
- * @param {string} xStoreid Store ID
63981
- * @param {string} [xUserId] User ID (provide either x-user-id or x-anon-id)
63982
- * @param {string} [xAnonId] Anonymous ID (provide either x-user-id or x-anon-id)
63983
- * @param {*} [options] Override http request option.
63984
- * @throws {RequiredError}
63985
- */
63986
- async v1ExperimentsAssignmentGet(xStoreid: string, xUserId?: string, xAnonId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{ [key: string]: Array<DataTypesExperimentAssignment>; }>> {
63987
- const localVarAxiosArgs = await localVarAxiosParamCreator.v1ExperimentsAssignmentGet(xStoreid, xUserId, xAnonId, options);
63988
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
63989
- const localVarOperationServerBasePath = operationServerMap['ExperimentsApi.v1ExperimentsAssignmentGet']?.[localVarOperationServerIndex]?.url;
63990
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
63991
- },
63992
65511
  }
63993
65512
  };
63994
65513
 
@@ -64090,18 +65609,6 @@ export const ExperimentsApiFactory = function (configuration?: Configuration, ba
64090
65609
  v1AdminExperimentsPost(dataTypesCreateExperimentRequest: DataTypesCreateExperimentRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesExperiment> {
64091
65610
  return localVarFp.v1AdminExperimentsPost(dataTypesCreateExperimentRequest, options).then((request) => request(axios, basePath));
64092
65611
  },
64093
- /**
64094
- * Returns variant assignments for all running experiments for the requesting user. Uses hash-based consistent assignment.
64095
- * @summary Get experiment assignments for a user
64096
- * @param {string} xStoreid Store ID
64097
- * @param {string} [xUserId] User ID (provide either x-user-id or x-anon-id)
64098
- * @param {string} [xAnonId] Anonymous ID (provide either x-user-id or x-anon-id)
64099
- * @param {*} [options] Override http request option.
64100
- * @throws {RequiredError}
64101
- */
64102
- v1ExperimentsAssignmentGet(xStoreid: string, xUserId?: string, xAnonId?: string, options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: Array<DataTypesExperimentAssignment>; }> {
64103
- return localVarFp.v1ExperimentsAssignmentGet(xStoreid, xUserId, xAnonId, options).then((request) => request(axios, basePath));
64104
- },
64105
65612
  };
64106
65613
  };
64107
65614
 
@@ -64220,20 +65727,6 @@ export class ExperimentsApi extends BaseAPI {
64220
65727
  public v1AdminExperimentsPost(dataTypesCreateExperimentRequest: DataTypesCreateExperimentRequest, options?: RawAxiosRequestConfig) {
64221
65728
  return ExperimentsApiFp(this.configuration).v1AdminExperimentsPost(dataTypesCreateExperimentRequest, options).then((request) => request(this.axios, this.basePath));
64222
65729
  }
64223
-
64224
- /**
64225
- * Returns variant assignments for all running experiments for the requesting user. Uses hash-based consistent assignment.
64226
- * @summary Get experiment assignments for a user
64227
- * @param {string} xStoreid Store ID
64228
- * @param {string} [xUserId] User ID (provide either x-user-id or x-anon-id)
64229
- * @param {string} [xAnonId] Anonymous ID (provide either x-user-id or x-anon-id)
64230
- * @param {*} [options] Override http request option.
64231
- * @throws {RequiredError}
64232
- * @memberof ExperimentsApi
64233
- */
64234
- public v1ExperimentsAssignmentGet(xStoreid: string, xUserId?: string, xAnonId?: string, options?: RawAxiosRequestConfig) {
64235
- return ExperimentsApiFp(this.configuration).v1ExperimentsAssignmentGet(xStoreid, xUserId, xAnonId, options).then((request) => request(this.axios, this.basePath));
64236
- }
64237
65730
  }
64238
65731
 
64239
65732
 
@@ -64997,57 +66490,320 @@ export class FeatureLimitsApi extends BaseAPI {
64997
66490
  }
64998
66491
 
64999
66492
  /**
65000
- * Retrieves comprehensive real-time limit status for the organization including all features, credits, and API calls
65001
- * @summary Get real-time limit status
66493
+ * Retrieves comprehensive real-time limit status for the organization including all features, credits, and API calls
66494
+ * @summary Get real-time limit status
66495
+ * @param {*} [options] Override http request option.
66496
+ * @throws {RequiredError}
66497
+ * @memberof FeatureLimitsApi
66498
+ */
66499
+ public adminV1FeatureLimitsStatusGet(options?: RawAxiosRequestConfig) {
66500
+ return FeatureLimitsApiFp(this.configuration).adminV1FeatureLimitsStatusGet(options).then((request) => request(this.axios, this.basePath));
66501
+ }
66502
+
66503
+ /**
66504
+ * Retrieves current feature usage statistics for the organization
66505
+ * @summary Get feature usage statistics
66506
+ * @param {*} [options] Override http request option.
66507
+ * @throws {RequiredError}
66508
+ * @memberof FeatureLimitsApi
66509
+ */
66510
+ public adminV1FeatureLimitsUsageGet(options?: RawAxiosRequestConfig) {
66511
+ return FeatureLimitsApiFp(this.configuration).adminV1FeatureLimitsUsageGet(options).then((request) => request(this.axios, this.basePath));
66512
+ }
66513
+
66514
+ /**
66515
+ * Retrieves log of feature limit violations for monitoring
66516
+ * @summary Get feature limit violations
66517
+ * @param {string} [featureName] Filter by feature name
66518
+ * @param {number} [limit] Number of records to return (default: 50)
66519
+ * @param {*} [options] Override http request option.
66520
+ * @throws {RequiredError}
66521
+ * @memberof FeatureLimitsApi
66522
+ */
66523
+ public adminV1FeatureLimitsViolationsGet(featureName?: string, limit?: number, options?: RawAxiosRequestConfig) {
66524
+ return FeatureLimitsApiFp(this.configuration).adminV1FeatureLimitsViolationsGet(featureName, limit, options).then((request) => request(this.axios, this.basePath));
66525
+ }
66526
+ }
66527
+
66528
+
66529
+
66530
+ /**
66531
+ * FeatureLimitsAdminApi - axios parameter creator
66532
+ * @export
66533
+ */
66534
+ export const FeatureLimitsAdminApiAxiosParamCreator = function (configuration?: Configuration) {
66535
+ return {
66536
+ /**
66537
+ * Invalidates the cached plan data for an organization
66538
+ * @summary Invalidate plan cache (Admin)
66539
+ * @param {*} [options] Override http request option.
66540
+ * @throws {RequiredError}
66541
+ */
66542
+ adminV1FeatureLimitsCacheInvalidatePost: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
66543
+ const localVarPath = `/admin/v1/feature-limits/cache/invalidate`;
66544
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
66545
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
66546
+ let baseOptions;
66547
+ if (configuration) {
66548
+ baseOptions = configuration.baseOptions;
66549
+ }
66550
+
66551
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
66552
+ const localVarHeaderParameter = {} as any;
66553
+ const localVarQueryParameter = {} as any;
66554
+
66555
+ // authentication BearerAuth required
66556
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
66557
+
66558
+
66559
+
66560
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
66561
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
66562
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
66563
+
66564
+ return {
66565
+ url: toPathString(localVarUrlObj),
66566
+ options: localVarRequestOptions,
66567
+ };
66568
+ },
66569
+ /**
66570
+ * Recalculates and syncs all metrics for the organization from source tables to database and Redis. For increment-based metrics (api_calls, analytics_events), only syncs if Redis is empty unless force=true
66571
+ * @summary Sync all metrics (Admin)
66572
+ * @param {boolean} [force] Force sync increment-based metrics even if Redis has values
66573
+ * @param {*} [options] Override http request option.
66574
+ * @throws {RequiredError}
66575
+ */
66576
+ adminV1FeatureLimitsMetricsSyncPost: async (force?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
66577
+ const localVarPath = `/admin/v1/feature-limits/metrics/sync`;
66578
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
66579
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
66580
+ let baseOptions;
66581
+ if (configuration) {
66582
+ baseOptions = configuration.baseOptions;
66583
+ }
66584
+
66585
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
66586
+ const localVarHeaderParameter = {} as any;
66587
+ const localVarQueryParameter = {} as any;
66588
+
66589
+ // authentication BearerAuth required
66590
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
66591
+
66592
+ if (force !== undefined) {
66593
+ localVarQueryParameter['force'] = force;
66594
+ }
66595
+
66596
+
66597
+
66598
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
66599
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
66600
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
66601
+
66602
+ return {
66603
+ url: toPathString(localVarUrlObj),
66604
+ options: localVarRequestOptions,
66605
+ };
66606
+ },
66607
+ /**
66608
+ * Resets usage counter for a specific feature (admin only)
66609
+ * @summary Reset feature usage (Admin)
66610
+ * @param {string} featureName Feature name to reset
66611
+ * @param {*} [options] Override http request option.
66612
+ * @throws {RequiredError}
66613
+ */
66614
+ adminV1FeatureLimitsResetPost: async (featureName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
66615
+ // verify required parameter 'featureName' is not null or undefined
66616
+ assertParamExists('adminV1FeatureLimitsResetPost', 'featureName', featureName)
66617
+ const localVarPath = `/admin/v1/feature-limits/reset`;
66618
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
66619
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
66620
+ let baseOptions;
66621
+ if (configuration) {
66622
+ baseOptions = configuration.baseOptions;
66623
+ }
66624
+
66625
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
66626
+ const localVarHeaderParameter = {} as any;
66627
+ const localVarQueryParameter = {} as any;
66628
+
66629
+ // authentication BearerAuth required
66630
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
66631
+
66632
+ if (featureName !== undefined) {
66633
+ localVarQueryParameter['feature_name'] = featureName;
66634
+ }
66635
+
66636
+
66637
+
66638
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
66639
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
66640
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
66641
+
66642
+ return {
66643
+ url: toPathString(localVarUrlObj),
66644
+ options: localVarRequestOptions,
66645
+ };
66646
+ },
66647
+ }
66648
+ };
66649
+
66650
+ /**
66651
+ * FeatureLimitsAdminApi - functional programming interface
66652
+ * @export
66653
+ */
66654
+ export const FeatureLimitsAdminApiFp = function(configuration?: Configuration) {
66655
+ const localVarAxiosParamCreator = FeatureLimitsAdminApiAxiosParamCreator(configuration)
66656
+ return {
66657
+ /**
66658
+ * Invalidates the cached plan data for an organization
66659
+ * @summary Invalidate plan cache (Admin)
66660
+ * @param {*} [options] Override http request option.
66661
+ * @throws {RequiredError}
66662
+ */
66663
+ async adminV1FeatureLimitsCacheInvalidatePost(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
66664
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminV1FeatureLimitsCacheInvalidatePost(options);
66665
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
66666
+ const localVarOperationServerBasePath = operationServerMap['FeatureLimitsAdminApi.adminV1FeatureLimitsCacheInvalidatePost']?.[localVarOperationServerIndex]?.url;
66667
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
66668
+ },
66669
+ /**
66670
+ * Recalculates and syncs all metrics for the organization from source tables to database and Redis. For increment-based metrics (api_calls, analytics_events), only syncs if Redis is empty unless force=true
66671
+ * @summary Sync all metrics (Admin)
66672
+ * @param {boolean} [force] Force sync increment-based metrics even if Redis has values
66673
+ * @param {*} [options] Override http request option.
66674
+ * @throws {RequiredError}
66675
+ */
66676
+ async adminV1FeatureLimitsMetricsSyncPost(force?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
66677
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminV1FeatureLimitsMetricsSyncPost(force, options);
66678
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
66679
+ const localVarOperationServerBasePath = operationServerMap['FeatureLimitsAdminApi.adminV1FeatureLimitsMetricsSyncPost']?.[localVarOperationServerIndex]?.url;
66680
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
66681
+ },
66682
+ /**
66683
+ * Resets usage counter for a specific feature (admin only)
66684
+ * @summary Reset feature usage (Admin)
66685
+ * @param {string} featureName Feature name to reset
66686
+ * @param {*} [options] Override http request option.
66687
+ * @throws {RequiredError}
66688
+ */
66689
+ async adminV1FeatureLimitsResetPost(featureName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
66690
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminV1FeatureLimitsResetPost(featureName, options);
66691
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
66692
+ const localVarOperationServerBasePath = operationServerMap['FeatureLimitsAdminApi.adminV1FeatureLimitsResetPost']?.[localVarOperationServerIndex]?.url;
66693
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
66694
+ },
66695
+ }
66696
+ };
66697
+
66698
+ /**
66699
+ * FeatureLimitsAdminApi - factory interface
66700
+ * @export
66701
+ */
66702
+ export const FeatureLimitsAdminApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
66703
+ const localVarFp = FeatureLimitsAdminApiFp(configuration)
66704
+ return {
66705
+ /**
66706
+ * Invalidates the cached plan data for an organization
66707
+ * @summary Invalidate plan cache (Admin)
66708
+ * @param {*} [options] Override http request option.
66709
+ * @throws {RequiredError}
66710
+ */
66711
+ adminV1FeatureLimitsCacheInvalidatePost(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
66712
+ return localVarFp.adminV1FeatureLimitsCacheInvalidatePost(options).then((request) => request(axios, basePath));
66713
+ },
66714
+ /**
66715
+ * Recalculates and syncs all metrics for the organization from source tables to database and Redis. For increment-based metrics (api_calls, analytics_events), only syncs if Redis is empty unless force=true
66716
+ * @summary Sync all metrics (Admin)
66717
+ * @param {boolean} [force] Force sync increment-based metrics even if Redis has values
66718
+ * @param {*} [options] Override http request option.
66719
+ * @throws {RequiredError}
66720
+ */
66721
+ adminV1FeatureLimitsMetricsSyncPost(force?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
66722
+ return localVarFp.adminV1FeatureLimitsMetricsSyncPost(force, options).then((request) => request(axios, basePath));
66723
+ },
66724
+ /**
66725
+ * Resets usage counter for a specific feature (admin only)
66726
+ * @summary Reset feature usage (Admin)
66727
+ * @param {string} featureName Feature name to reset
66728
+ * @param {*} [options] Override http request option.
66729
+ * @throws {RequiredError}
66730
+ */
66731
+ adminV1FeatureLimitsResetPost(featureName: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
66732
+ return localVarFp.adminV1FeatureLimitsResetPost(featureName, options).then((request) => request(axios, basePath));
66733
+ },
66734
+ };
66735
+ };
66736
+
66737
+ /**
66738
+ * FeatureLimitsAdminApi - object-oriented interface
66739
+ * @export
66740
+ * @class FeatureLimitsAdminApi
66741
+ * @extends {BaseAPI}
66742
+ */
66743
+ export class FeatureLimitsAdminApi extends BaseAPI {
66744
+ /**
66745
+ * Invalidates the cached plan data for an organization
66746
+ * @summary Invalidate plan cache (Admin)
65002
66747
  * @param {*} [options] Override http request option.
65003
66748
  * @throws {RequiredError}
65004
- * @memberof FeatureLimitsApi
66749
+ * @memberof FeatureLimitsAdminApi
65005
66750
  */
65006
- public adminV1FeatureLimitsStatusGet(options?: RawAxiosRequestConfig) {
65007
- return FeatureLimitsApiFp(this.configuration).adminV1FeatureLimitsStatusGet(options).then((request) => request(this.axios, this.basePath));
66751
+ public adminV1FeatureLimitsCacheInvalidatePost(options?: RawAxiosRequestConfig) {
66752
+ return FeatureLimitsAdminApiFp(this.configuration).adminV1FeatureLimitsCacheInvalidatePost(options).then((request) => request(this.axios, this.basePath));
65008
66753
  }
65009
66754
 
65010
66755
  /**
65011
- * Retrieves current feature usage statistics for the organization
65012
- * @summary Get feature usage statistics
66756
+ * Recalculates and syncs all metrics for the organization from source tables to database and Redis. For increment-based metrics (api_calls, analytics_events), only syncs if Redis is empty unless force=true
66757
+ * @summary Sync all metrics (Admin)
66758
+ * @param {boolean} [force] Force sync increment-based metrics even if Redis has values
65013
66759
  * @param {*} [options] Override http request option.
65014
66760
  * @throws {RequiredError}
65015
- * @memberof FeatureLimitsApi
66761
+ * @memberof FeatureLimitsAdminApi
65016
66762
  */
65017
- public adminV1FeatureLimitsUsageGet(options?: RawAxiosRequestConfig) {
65018
- return FeatureLimitsApiFp(this.configuration).adminV1FeatureLimitsUsageGet(options).then((request) => request(this.axios, this.basePath));
66763
+ public adminV1FeatureLimitsMetricsSyncPost(force?: boolean, options?: RawAxiosRequestConfig) {
66764
+ return FeatureLimitsAdminApiFp(this.configuration).adminV1FeatureLimitsMetricsSyncPost(force, options).then((request) => request(this.axios, this.basePath));
65019
66765
  }
65020
66766
 
65021
66767
  /**
65022
- * Retrieves log of feature limit violations for monitoring
65023
- * @summary Get feature limit violations
65024
- * @param {string} [featureName] Filter by feature name
65025
- * @param {number} [limit] Number of records to return (default: 50)
66768
+ * Resets usage counter for a specific feature (admin only)
66769
+ * @summary Reset feature usage (Admin)
66770
+ * @param {string} featureName Feature name to reset
65026
66771
  * @param {*} [options] Override http request option.
65027
66772
  * @throws {RequiredError}
65028
- * @memberof FeatureLimitsApi
66773
+ * @memberof FeatureLimitsAdminApi
65029
66774
  */
65030
- public adminV1FeatureLimitsViolationsGet(featureName?: string, limit?: number, options?: RawAxiosRequestConfig) {
65031
- return FeatureLimitsApiFp(this.configuration).adminV1FeatureLimitsViolationsGet(featureName, limit, options).then((request) => request(this.axios, this.basePath));
66775
+ public adminV1FeatureLimitsResetPost(featureName: string, options?: RawAxiosRequestConfig) {
66776
+ return FeatureLimitsAdminApiFp(this.configuration).adminV1FeatureLimitsResetPost(featureName, options).then((request) => request(this.axios, this.basePath));
65032
66777
  }
65033
66778
  }
65034
66779
 
65035
66780
 
65036
66781
 
65037
66782
  /**
65038
- * FeatureLimitsAdminApi - axios parameter creator
66783
+ * FiltersApi - axios parameter creator
65039
66784
  * @export
65040
66785
  */
65041
- export const FeatureLimitsAdminApiAxiosParamCreator = function (configuration?: Configuration) {
66786
+ export const FiltersApiAxiosParamCreator = function (configuration?: Configuration) {
65042
66787
  return {
65043
66788
  /**
65044
- * Invalidates the cached plan data for an organization
65045
- * @summary Invalidate plan cache (Admin)
66789
+ * Search within a facet\'s values (admin-authenticated version)
66790
+ * @summary Admin Search Facet Values
66791
+ * @param {string} xStoreID X-Store ID
66792
+ * @param {string} facetName Facet field name
66793
+ * @param {DataTypesFacetValuesSearchRequest} dataTypesFacetValuesSearchRequest Facet search query
65046
66794
  * @param {*} [options] Override http request option.
65047
66795
  * @throws {RequiredError}
65048
66796
  */
65049
- adminV1FeatureLimitsCacheInvalidatePost: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
65050
- const localVarPath = `/admin/v1/feature-limits/cache/invalidate`;
66797
+ adminV1FiltersXStoreIDFacetNameValuesPost: async (xStoreID: string, facetName: string, dataTypesFacetValuesSearchRequest: DataTypesFacetValuesSearchRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
66798
+ // verify required parameter 'xStoreID' is not null or undefined
66799
+ assertParamExists('adminV1FiltersXStoreIDFacetNameValuesPost', 'xStoreID', xStoreID)
66800
+ // verify required parameter 'facetName' is not null or undefined
66801
+ assertParamExists('adminV1FiltersXStoreIDFacetNameValuesPost', 'facetName', facetName)
66802
+ // verify required parameter 'dataTypesFacetValuesSearchRequest' is not null or undefined
66803
+ assertParamExists('adminV1FiltersXStoreIDFacetNameValuesPost', 'dataTypesFacetValuesSearchRequest', dataTypesFacetValuesSearchRequest)
66804
+ const localVarPath = `/admin/v1/filters/{xStoreID}/{facetName}/values`
66805
+ .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)))
66806
+ .replace(`{${"facetName"}}`, encodeURIComponent(String(facetName)));
65051
66807
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
65052
66808
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
65053
66809
  let baseOptions;
@@ -65064,9 +66820,12 @@ export const FeatureLimitsAdminApiAxiosParamCreator = function (configuration?:
65064
66820
 
65065
66821
 
65066
66822
 
66823
+ localVarHeaderParameter['Content-Type'] = 'application/json';
66824
+
65067
66825
  setSearchParams(localVarUrlObj, localVarQueryParameter);
65068
66826
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
65069
66827
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
66828
+ localVarRequestOptions.data = serializeDataIfNeeded(dataTypesFacetValuesSearchRequest, localVarRequestOptions, configuration)
65070
66829
 
65071
66830
  return {
65072
66831
  url: toPathString(localVarUrlObj),
@@ -65074,14 +66833,18 @@ export const FeatureLimitsAdminApiAxiosParamCreator = function (configuration?:
65074
66833
  };
65075
66834
  },
65076
66835
  /**
65077
- * Recalculates and syncs all metrics for the organization from source tables to database and Redis. For increment-based metrics (api_calls, analytics_events), only syncs if Redis is empty unless force=true
65078
- * @summary Sync all metrics (Admin)
65079
- * @param {boolean} [force] Force sync increment-based metrics even if Redis has values
66836
+ * Get filter values and counts (admin-authenticated version)
66837
+ * @summary Admin Get Filters
66838
+ * @param {string} xStoreID X-Store ID
66839
+ * @param {DataTypesFiltersRequest} [dataTypesFiltersRequest] Filter options
65080
66840
  * @param {*} [options] Override http request option.
65081
66841
  * @throws {RequiredError}
65082
66842
  */
65083
- adminV1FeatureLimitsMetricsSyncPost: async (force?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
65084
- const localVarPath = `/admin/v1/feature-limits/metrics/sync`;
66843
+ adminV1FiltersXStoreIDPost: async (xStoreID: string, dataTypesFiltersRequest?: DataTypesFiltersRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
66844
+ // verify required parameter 'xStoreID' is not null or undefined
66845
+ assertParamExists('adminV1FiltersXStoreIDPost', 'xStoreID', xStoreID)
66846
+ const localVarPath = `/admin/v1/filters/{xStoreID}`
66847
+ .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
65085
66848
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
65086
66849
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
65087
66850
  let baseOptions;
@@ -65096,10 +66859,46 @@ export const FeatureLimitsAdminApiAxiosParamCreator = function (configuration?:
65096
66859
  // authentication BearerAuth required
65097
66860
  await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
65098
66861
 
65099
- if (force !== undefined) {
65100
- localVarQueryParameter['force'] = force;
66862
+
66863
+
66864
+ localVarHeaderParameter['Content-Type'] = 'application/json';
66865
+
66866
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
66867
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
66868
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
66869
+ localVarRequestOptions.data = serializeDataIfNeeded(dataTypesFiltersRequest, localVarRequestOptions, configuration)
66870
+
66871
+ return {
66872
+ url: toPathString(localVarUrlObj),
66873
+ options: localVarRequestOptions,
66874
+ };
66875
+ },
66876
+ /**
66877
+ * Get filter field metadata (admin-authenticated version)
66878
+ * @summary Admin Get Filters Schema
66879
+ * @param {string} xStoreID X-Store ID
66880
+ * @param {*} [options] Override http request option.
66881
+ * @throws {RequiredError}
66882
+ */
66883
+ adminV1FiltersXStoreIDSchemaGet: async (xStoreID: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
66884
+ // verify required parameter 'xStoreID' is not null or undefined
66885
+ assertParamExists('adminV1FiltersXStoreIDSchemaGet', 'xStoreID', xStoreID)
66886
+ const localVarPath = `/admin/v1/filters/{xStoreID}/schema`
66887
+ .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
66888
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
66889
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
66890
+ let baseOptions;
66891
+ if (configuration) {
66892
+ baseOptions = configuration.baseOptions;
65101
66893
  }
65102
66894
 
66895
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
66896
+ const localVarHeaderParameter = {} as any;
66897
+ const localVarQueryParameter = {} as any;
66898
+
66899
+ // authentication BearerAuth required
66900
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
66901
+
65103
66902
 
65104
66903
 
65105
66904
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -65112,16 +66911,26 @@ export const FeatureLimitsAdminApiAxiosParamCreator = function (configuration?:
65112
66911
  };
65113
66912
  },
65114
66913
  /**
65115
- * Resets usage counter for a specific feature (admin only)
65116
- * @summary Reset feature usage (Admin)
65117
- * @param {string} featureName Feature name to reset
66914
+ * Search or autocomplete within a single facet\'s values. Useful for facets with many values (e.g., brands) where you need typeahead search.
66915
+ * @summary Search Facet Values
66916
+ * @param {string} xStoreid Store ID (from dashboard)
66917
+ * @param {string} xStoresecret Store read secret (from dashboard)
66918
+ * @param {string} facetName Facet field name (e.g., brand, category)
66919
+ * @param {DataTypesFacetValuesSearchRequest} dataTypesFacetValuesSearchRequest Facet search query
65118
66920
  * @param {*} [options] Override http request option.
65119
66921
  * @throws {RequiredError}
65120
66922
  */
65121
- adminV1FeatureLimitsResetPost: async (featureName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
65122
- // verify required parameter 'featureName' is not null or undefined
65123
- assertParamExists('adminV1FeatureLimitsResetPost', 'featureName', featureName)
65124
- const localVarPath = `/admin/v1/feature-limits/reset`;
66923
+ v1FiltersFacetNameValuesPost: async (xStoreid: string, xStoresecret: string, facetName: string, dataTypesFacetValuesSearchRequest: DataTypesFacetValuesSearchRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
66924
+ // verify required parameter 'xStoreid' is not null or undefined
66925
+ assertParamExists('v1FiltersFacetNameValuesPost', 'xStoreid', xStoreid)
66926
+ // verify required parameter 'xStoresecret' is not null or undefined
66927
+ assertParamExists('v1FiltersFacetNameValuesPost', 'xStoresecret', xStoresecret)
66928
+ // verify required parameter 'facetName' is not null or undefined
66929
+ assertParamExists('v1FiltersFacetNameValuesPost', 'facetName', facetName)
66930
+ // verify required parameter 'dataTypesFacetValuesSearchRequest' is not null or undefined
66931
+ assertParamExists('v1FiltersFacetNameValuesPost', 'dataTypesFacetValuesSearchRequest', dataTypesFacetValuesSearchRequest)
66932
+ const localVarPath = `/v1/filters/{facetName}/values`
66933
+ .replace(`{${"facetName"}}`, encodeURIComponent(String(facetName)));
65125
66934
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
65126
66935
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
65127
66936
  let baseOptions;
@@ -65133,15 +66942,105 @@ export const FeatureLimitsAdminApiAxiosParamCreator = function (configuration?:
65133
66942
  const localVarHeaderParameter = {} as any;
65134
66943
  const localVarQueryParameter = {} as any;
65135
66944
 
65136
- // authentication BearerAuth required
65137
- await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
65138
66945
 
65139
- if (featureName !== undefined) {
65140
- localVarQueryParameter['feature_name'] = featureName;
66946
+
66947
+ localVarHeaderParameter['Content-Type'] = 'application/json';
66948
+
66949
+ if (xStoreid != null) {
66950
+ localVarHeaderParameter['x-storeid'] = String(xStoreid);
66951
+ }
66952
+ if (xStoresecret != null) {
66953
+ localVarHeaderParameter['x-storesecret'] = String(xStoresecret);
66954
+ }
66955
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
66956
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
66957
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
66958
+ localVarRequestOptions.data = serializeDataIfNeeded(dataTypesFacetValuesSearchRequest, localVarRequestOptions, configuration)
66959
+
66960
+ return {
66961
+ url: toPathString(localVarUrlObj),
66962
+ options: localVarRequestOptions,
66963
+ };
66964
+ },
66965
+ /**
66966
+ * Get filter values and counts for configured facets. Use this to build faceted navigation UIs. Supports disjunctive faceting for OR-based filter combinations.
66967
+ * @summary Get Filters
66968
+ * @param {string} xStoreid Store ID (from dashboard)
66969
+ * @param {string} xStoresecret Store read secret (from dashboard)
66970
+ * @param {DataTypesFiltersRequest} [dataTypesFiltersRequest] Filter options
66971
+ * @param {*} [options] Override http request option.
66972
+ * @throws {RequiredError}
66973
+ */
66974
+ v1FiltersPost: async (xStoreid: string, xStoresecret: string, dataTypesFiltersRequest?: DataTypesFiltersRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
66975
+ // verify required parameter 'xStoreid' is not null or undefined
66976
+ assertParamExists('v1FiltersPost', 'xStoreid', xStoreid)
66977
+ // verify required parameter 'xStoresecret' is not null or undefined
66978
+ assertParamExists('v1FiltersPost', 'xStoresecret', xStoresecret)
66979
+ const localVarPath = `/v1/filters`;
66980
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
66981
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
66982
+ let baseOptions;
66983
+ if (configuration) {
66984
+ baseOptions = configuration.baseOptions;
66985
+ }
66986
+
66987
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
66988
+ const localVarHeaderParameter = {} as any;
66989
+ const localVarQueryParameter = {} as any;
66990
+
66991
+
66992
+
66993
+ localVarHeaderParameter['Content-Type'] = 'application/json';
66994
+
66995
+ if (xStoreid != null) {
66996
+ localVarHeaderParameter['x-storeid'] = String(xStoreid);
66997
+ }
66998
+ if (xStoresecret != null) {
66999
+ localVarHeaderParameter['x-storesecret'] = String(xStoresecret);
67000
+ }
67001
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
67002
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
67003
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
67004
+ localVarRequestOptions.data = serializeDataIfNeeded(dataTypesFiltersRequest, localVarRequestOptions, configuration)
67005
+
67006
+ return {
67007
+ url: toPathString(localVarUrlObj),
67008
+ options: localVarRequestOptions,
67009
+ };
67010
+ },
67011
+ /**
67012
+ * Get available filter field metadata including types, sortability, and configured ranges. Useful for dynamically building filter UIs.
67013
+ * @summary Get Filters Schema
67014
+ * @param {string} xStoreid Store ID (from dashboard)
67015
+ * @param {string} xStoresecret Store read secret (from dashboard)
67016
+ * @param {*} [options] Override http request option.
67017
+ * @throws {RequiredError}
67018
+ */
67019
+ v1FiltersSchemaGet: async (xStoreid: string, xStoresecret: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
67020
+ // verify required parameter 'xStoreid' is not null or undefined
67021
+ assertParamExists('v1FiltersSchemaGet', 'xStoreid', xStoreid)
67022
+ // verify required parameter 'xStoresecret' is not null or undefined
67023
+ assertParamExists('v1FiltersSchemaGet', 'xStoresecret', xStoresecret)
67024
+ const localVarPath = `/v1/filters/schema`;
67025
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
67026
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
67027
+ let baseOptions;
67028
+ if (configuration) {
67029
+ baseOptions = configuration.baseOptions;
65141
67030
  }
65142
67031
 
67032
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
67033
+ const localVarHeaderParameter = {} as any;
67034
+ const localVarQueryParameter = {} as any;
67035
+
65143
67036
 
65144
67037
 
67038
+ if (xStoreid != null) {
67039
+ localVarHeaderParameter['x-storeid'] = String(xStoreid);
67040
+ }
67041
+ if (xStoresecret != null) {
67042
+ localVarHeaderParameter['x-storesecret'] = String(xStoresecret);
67043
+ }
65145
67044
  setSearchParams(localVarUrlObj, localVarQueryParameter);
65146
67045
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
65147
67046
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -65155,132 +67054,267 @@ export const FeatureLimitsAdminApiAxiosParamCreator = function (configuration?:
65155
67054
  };
65156
67055
 
65157
67056
  /**
65158
- * FeatureLimitsAdminApi - functional programming interface
67057
+ * FiltersApi - functional programming interface
65159
67058
  * @export
65160
67059
  */
65161
- export const FeatureLimitsAdminApiFp = function(configuration?: Configuration) {
65162
- const localVarAxiosParamCreator = FeatureLimitsAdminApiAxiosParamCreator(configuration)
67060
+ export const FiltersApiFp = function(configuration?: Configuration) {
67061
+ const localVarAxiosParamCreator = FiltersApiAxiosParamCreator(configuration)
65163
67062
  return {
65164
67063
  /**
65165
- * Invalidates the cached plan data for an organization
65166
- * @summary Invalidate plan cache (Admin)
67064
+ * Search within a facet\'s values (admin-authenticated version)
67065
+ * @summary Admin Search Facet Values
67066
+ * @param {string} xStoreID X-Store ID
67067
+ * @param {string} facetName Facet field name
67068
+ * @param {DataTypesFacetValuesSearchRequest} dataTypesFacetValuesSearchRequest Facet search query
65167
67069
  * @param {*} [options] Override http request option.
65168
67070
  * @throws {RequiredError}
65169
67071
  */
65170
- async adminV1FeatureLimitsCacheInvalidatePost(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
65171
- const localVarAxiosArgs = await localVarAxiosParamCreator.adminV1FeatureLimitsCacheInvalidatePost(options);
67072
+ async adminV1FiltersXStoreIDFacetNameValuesPost(xStoreID: string, facetName: string, dataTypesFacetValuesSearchRequest: DataTypesFacetValuesSearchRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesFacetValuesSearchResponseWrapper>> {
67073
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminV1FiltersXStoreIDFacetNameValuesPost(xStoreID, facetName, dataTypesFacetValuesSearchRequest, options);
65172
67074
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
65173
- const localVarOperationServerBasePath = operationServerMap['FeatureLimitsAdminApi.adminV1FeatureLimitsCacheInvalidatePost']?.[localVarOperationServerIndex]?.url;
67075
+ const localVarOperationServerBasePath = operationServerMap['FiltersApi.adminV1FiltersXStoreIDFacetNameValuesPost']?.[localVarOperationServerIndex]?.url;
65174
67076
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
65175
67077
  },
65176
67078
  /**
65177
- * Recalculates and syncs all metrics for the organization from source tables to database and Redis. For increment-based metrics (api_calls, analytics_events), only syncs if Redis is empty unless force=true
65178
- * @summary Sync all metrics (Admin)
65179
- * @param {boolean} [force] Force sync increment-based metrics even if Redis has values
67079
+ * Get filter values and counts (admin-authenticated version)
67080
+ * @summary Admin Get Filters
67081
+ * @param {string} xStoreID X-Store ID
67082
+ * @param {DataTypesFiltersRequest} [dataTypesFiltersRequest] Filter options
65180
67083
  * @param {*} [options] Override http request option.
65181
67084
  * @throws {RequiredError}
65182
67085
  */
65183
- async adminV1FeatureLimitsMetricsSyncPost(force?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
65184
- const localVarAxiosArgs = await localVarAxiosParamCreator.adminV1FeatureLimitsMetricsSyncPost(force, options);
67086
+ async adminV1FiltersXStoreIDPost(xStoreID: string, dataTypesFiltersRequest?: DataTypesFiltersRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesFiltersResponseWrapper>> {
67087
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminV1FiltersXStoreIDPost(xStoreID, dataTypesFiltersRequest, options);
65185
67088
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
65186
- const localVarOperationServerBasePath = operationServerMap['FeatureLimitsAdminApi.adminV1FeatureLimitsMetricsSyncPost']?.[localVarOperationServerIndex]?.url;
67089
+ const localVarOperationServerBasePath = operationServerMap['FiltersApi.adminV1FiltersXStoreIDPost']?.[localVarOperationServerIndex]?.url;
65187
67090
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
65188
67091
  },
65189
67092
  /**
65190
- * Resets usage counter for a specific feature (admin only)
65191
- * @summary Reset feature usage (Admin)
65192
- * @param {string} featureName Feature name to reset
67093
+ * Get filter field metadata (admin-authenticated version)
67094
+ * @summary Admin Get Filters Schema
67095
+ * @param {string} xStoreID X-Store ID
65193
67096
  * @param {*} [options] Override http request option.
65194
67097
  * @throws {RequiredError}
65195
67098
  */
65196
- async adminV1FeatureLimitsResetPost(featureName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
65197
- const localVarAxiosArgs = await localVarAxiosParamCreator.adminV1FeatureLimitsResetPost(featureName, options);
67099
+ async adminV1FiltersXStoreIDSchemaGet(xStoreID: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesFiltersSchemaResponseWrapper>> {
67100
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminV1FiltersXStoreIDSchemaGet(xStoreID, options);
65198
67101
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
65199
- const localVarOperationServerBasePath = operationServerMap['FeatureLimitsAdminApi.adminV1FeatureLimitsResetPost']?.[localVarOperationServerIndex]?.url;
67102
+ const localVarOperationServerBasePath = operationServerMap['FiltersApi.adminV1FiltersXStoreIDSchemaGet']?.[localVarOperationServerIndex]?.url;
67103
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
67104
+ },
67105
+ /**
67106
+ * Search or autocomplete within a single facet\'s values. Useful for facets with many values (e.g., brands) where you need typeahead search.
67107
+ * @summary Search Facet Values
67108
+ * @param {string} xStoreid Store ID (from dashboard)
67109
+ * @param {string} xStoresecret Store read secret (from dashboard)
67110
+ * @param {string} facetName Facet field name (e.g., brand, category)
67111
+ * @param {DataTypesFacetValuesSearchRequest} dataTypesFacetValuesSearchRequest Facet search query
67112
+ * @param {*} [options] Override http request option.
67113
+ * @throws {RequiredError}
67114
+ */
67115
+ async v1FiltersFacetNameValuesPost(xStoreid: string, xStoresecret: string, facetName: string, dataTypesFacetValuesSearchRequest: DataTypesFacetValuesSearchRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesFacetValuesSearchResponseWrapper>> {
67116
+ const localVarAxiosArgs = await localVarAxiosParamCreator.v1FiltersFacetNameValuesPost(xStoreid, xStoresecret, facetName, dataTypesFacetValuesSearchRequest, options);
67117
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
67118
+ const localVarOperationServerBasePath = operationServerMap['FiltersApi.v1FiltersFacetNameValuesPost']?.[localVarOperationServerIndex]?.url;
67119
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
67120
+ },
67121
+ /**
67122
+ * Get filter values and counts for configured facets. Use this to build faceted navigation UIs. Supports disjunctive faceting for OR-based filter combinations.
67123
+ * @summary Get Filters
67124
+ * @param {string} xStoreid Store ID (from dashboard)
67125
+ * @param {string} xStoresecret Store read secret (from dashboard)
67126
+ * @param {DataTypesFiltersRequest} [dataTypesFiltersRequest] Filter options
67127
+ * @param {*} [options] Override http request option.
67128
+ * @throws {RequiredError}
67129
+ */
67130
+ async v1FiltersPost(xStoreid: string, xStoresecret: string, dataTypesFiltersRequest?: DataTypesFiltersRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesFiltersResponseWrapper>> {
67131
+ const localVarAxiosArgs = await localVarAxiosParamCreator.v1FiltersPost(xStoreid, xStoresecret, dataTypesFiltersRequest, options);
67132
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
67133
+ const localVarOperationServerBasePath = operationServerMap['FiltersApi.v1FiltersPost']?.[localVarOperationServerIndex]?.url;
67134
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
67135
+ },
67136
+ /**
67137
+ * Get available filter field metadata including types, sortability, and configured ranges. Useful for dynamically building filter UIs.
67138
+ * @summary Get Filters Schema
67139
+ * @param {string} xStoreid Store ID (from dashboard)
67140
+ * @param {string} xStoresecret Store read secret (from dashboard)
67141
+ * @param {*} [options] Override http request option.
67142
+ * @throws {RequiredError}
67143
+ */
67144
+ async v1FiltersSchemaGet(xStoreid: string, xStoresecret: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesFiltersSchemaResponseWrapper>> {
67145
+ const localVarAxiosArgs = await localVarAxiosParamCreator.v1FiltersSchemaGet(xStoreid, xStoresecret, options);
67146
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
67147
+ const localVarOperationServerBasePath = operationServerMap['FiltersApi.v1FiltersSchemaGet']?.[localVarOperationServerIndex]?.url;
65200
67148
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
65201
67149
  },
65202
67150
  }
65203
67151
  };
65204
67152
 
65205
67153
  /**
65206
- * FeatureLimitsAdminApi - factory interface
67154
+ * FiltersApi - factory interface
65207
67155
  * @export
65208
67156
  */
65209
- export const FeatureLimitsAdminApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
65210
- const localVarFp = FeatureLimitsAdminApiFp(configuration)
67157
+ export const FiltersApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
67158
+ const localVarFp = FiltersApiFp(configuration)
65211
67159
  return {
65212
67160
  /**
65213
- * Invalidates the cached plan data for an organization
65214
- * @summary Invalidate plan cache (Admin)
67161
+ * Search within a facet\'s values (admin-authenticated version)
67162
+ * @summary Admin Search Facet Values
67163
+ * @param {string} xStoreID X-Store ID
67164
+ * @param {string} facetName Facet field name
67165
+ * @param {DataTypesFacetValuesSearchRequest} dataTypesFacetValuesSearchRequest Facet search query
65215
67166
  * @param {*} [options] Override http request option.
65216
67167
  * @throws {RequiredError}
65217
67168
  */
65218
- adminV1FeatureLimitsCacheInvalidatePost(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
65219
- return localVarFp.adminV1FeatureLimitsCacheInvalidatePost(options).then((request) => request(axios, basePath));
67169
+ adminV1FiltersXStoreIDFacetNameValuesPost(xStoreID: string, facetName: string, dataTypesFacetValuesSearchRequest: DataTypesFacetValuesSearchRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesFacetValuesSearchResponseWrapper> {
67170
+ return localVarFp.adminV1FiltersXStoreIDFacetNameValuesPost(xStoreID, facetName, dataTypesFacetValuesSearchRequest, options).then((request) => request(axios, basePath));
65220
67171
  },
65221
67172
  /**
65222
- * Recalculates and syncs all metrics for the organization from source tables to database and Redis. For increment-based metrics (api_calls, analytics_events), only syncs if Redis is empty unless force=true
65223
- * @summary Sync all metrics (Admin)
65224
- * @param {boolean} [force] Force sync increment-based metrics even if Redis has values
67173
+ * Get filter values and counts (admin-authenticated version)
67174
+ * @summary Admin Get Filters
67175
+ * @param {string} xStoreID X-Store ID
67176
+ * @param {DataTypesFiltersRequest} [dataTypesFiltersRequest] Filter options
65225
67177
  * @param {*} [options] Override http request option.
65226
67178
  * @throws {RequiredError}
65227
67179
  */
65228
- adminV1FeatureLimitsMetricsSyncPost(force?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
65229
- return localVarFp.adminV1FeatureLimitsMetricsSyncPost(force, options).then((request) => request(axios, basePath));
67180
+ adminV1FiltersXStoreIDPost(xStoreID: string, dataTypesFiltersRequest?: DataTypesFiltersRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesFiltersResponseWrapper> {
67181
+ return localVarFp.adminV1FiltersXStoreIDPost(xStoreID, dataTypesFiltersRequest, options).then((request) => request(axios, basePath));
65230
67182
  },
65231
67183
  /**
65232
- * Resets usage counter for a specific feature (admin only)
65233
- * @summary Reset feature usage (Admin)
65234
- * @param {string} featureName Feature name to reset
67184
+ * Get filter field metadata (admin-authenticated version)
67185
+ * @summary Admin Get Filters Schema
67186
+ * @param {string} xStoreID X-Store ID
65235
67187
  * @param {*} [options] Override http request option.
65236
67188
  * @throws {RequiredError}
65237
67189
  */
65238
- adminV1FeatureLimitsResetPost(featureName: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
65239
- return localVarFp.adminV1FeatureLimitsResetPost(featureName, options).then((request) => request(axios, basePath));
67190
+ adminV1FiltersXStoreIDSchemaGet(xStoreID: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesFiltersSchemaResponseWrapper> {
67191
+ return localVarFp.adminV1FiltersXStoreIDSchemaGet(xStoreID, options).then((request) => request(axios, basePath));
67192
+ },
67193
+ /**
67194
+ * Search or autocomplete within a single facet\'s values. Useful for facets with many values (e.g., brands) where you need typeahead search.
67195
+ * @summary Search Facet Values
67196
+ * @param {string} xStoreid Store ID (from dashboard)
67197
+ * @param {string} xStoresecret Store read secret (from dashboard)
67198
+ * @param {string} facetName Facet field name (e.g., brand, category)
67199
+ * @param {DataTypesFacetValuesSearchRequest} dataTypesFacetValuesSearchRequest Facet search query
67200
+ * @param {*} [options] Override http request option.
67201
+ * @throws {RequiredError}
67202
+ */
67203
+ v1FiltersFacetNameValuesPost(xStoreid: string, xStoresecret: string, facetName: string, dataTypesFacetValuesSearchRequest: DataTypesFacetValuesSearchRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesFacetValuesSearchResponseWrapper> {
67204
+ return localVarFp.v1FiltersFacetNameValuesPost(xStoreid, xStoresecret, facetName, dataTypesFacetValuesSearchRequest, options).then((request) => request(axios, basePath));
67205
+ },
67206
+ /**
67207
+ * Get filter values and counts for configured facets. Use this to build faceted navigation UIs. Supports disjunctive faceting for OR-based filter combinations.
67208
+ * @summary Get Filters
67209
+ * @param {string} xStoreid Store ID (from dashboard)
67210
+ * @param {string} xStoresecret Store read secret (from dashboard)
67211
+ * @param {DataTypesFiltersRequest} [dataTypesFiltersRequest] Filter options
67212
+ * @param {*} [options] Override http request option.
67213
+ * @throws {RequiredError}
67214
+ */
67215
+ v1FiltersPost(xStoreid: string, xStoresecret: string, dataTypesFiltersRequest?: DataTypesFiltersRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesFiltersResponseWrapper> {
67216
+ return localVarFp.v1FiltersPost(xStoreid, xStoresecret, dataTypesFiltersRequest, options).then((request) => request(axios, basePath));
67217
+ },
67218
+ /**
67219
+ * Get available filter field metadata including types, sortability, and configured ranges. Useful for dynamically building filter UIs.
67220
+ * @summary Get Filters Schema
67221
+ * @param {string} xStoreid Store ID (from dashboard)
67222
+ * @param {string} xStoresecret Store read secret (from dashboard)
67223
+ * @param {*} [options] Override http request option.
67224
+ * @throws {RequiredError}
67225
+ */
67226
+ v1FiltersSchemaGet(xStoreid: string, xStoresecret: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesFiltersSchemaResponseWrapper> {
67227
+ return localVarFp.v1FiltersSchemaGet(xStoreid, xStoresecret, options).then((request) => request(axios, basePath));
65240
67228
  },
65241
67229
  };
65242
67230
  };
65243
67231
 
65244
67232
  /**
65245
- * FeatureLimitsAdminApi - object-oriented interface
67233
+ * FiltersApi - object-oriented interface
65246
67234
  * @export
65247
- * @class FeatureLimitsAdminApi
67235
+ * @class FiltersApi
65248
67236
  * @extends {BaseAPI}
65249
67237
  */
65250
- export class FeatureLimitsAdminApi extends BaseAPI {
67238
+ export class FiltersApi extends BaseAPI {
65251
67239
  /**
65252
- * Invalidates the cached plan data for an organization
65253
- * @summary Invalidate plan cache (Admin)
67240
+ * Search within a facet\'s values (admin-authenticated version)
67241
+ * @summary Admin Search Facet Values
67242
+ * @param {string} xStoreID X-Store ID
67243
+ * @param {string} facetName Facet field name
67244
+ * @param {DataTypesFacetValuesSearchRequest} dataTypesFacetValuesSearchRequest Facet search query
65254
67245
  * @param {*} [options] Override http request option.
65255
67246
  * @throws {RequiredError}
65256
- * @memberof FeatureLimitsAdminApi
67247
+ * @memberof FiltersApi
65257
67248
  */
65258
- public adminV1FeatureLimitsCacheInvalidatePost(options?: RawAxiosRequestConfig) {
65259
- return FeatureLimitsAdminApiFp(this.configuration).adminV1FeatureLimitsCacheInvalidatePost(options).then((request) => request(this.axios, this.basePath));
67249
+ public adminV1FiltersXStoreIDFacetNameValuesPost(xStoreID: string, facetName: string, dataTypesFacetValuesSearchRequest: DataTypesFacetValuesSearchRequest, options?: RawAxiosRequestConfig) {
67250
+ return FiltersApiFp(this.configuration).adminV1FiltersXStoreIDFacetNameValuesPost(xStoreID, facetName, dataTypesFacetValuesSearchRequest, options).then((request) => request(this.axios, this.basePath));
65260
67251
  }
65261
67252
 
65262
67253
  /**
65263
- * Recalculates and syncs all metrics for the organization from source tables to database and Redis. For increment-based metrics (api_calls, analytics_events), only syncs if Redis is empty unless force=true
65264
- * @summary Sync all metrics (Admin)
65265
- * @param {boolean} [force] Force sync increment-based metrics even if Redis has values
67254
+ * Get filter values and counts (admin-authenticated version)
67255
+ * @summary Admin Get Filters
67256
+ * @param {string} xStoreID X-Store ID
67257
+ * @param {DataTypesFiltersRequest} [dataTypesFiltersRequest] Filter options
65266
67258
  * @param {*} [options] Override http request option.
65267
67259
  * @throws {RequiredError}
65268
- * @memberof FeatureLimitsAdminApi
67260
+ * @memberof FiltersApi
65269
67261
  */
65270
- public adminV1FeatureLimitsMetricsSyncPost(force?: boolean, options?: RawAxiosRequestConfig) {
65271
- return FeatureLimitsAdminApiFp(this.configuration).adminV1FeatureLimitsMetricsSyncPost(force, options).then((request) => request(this.axios, this.basePath));
67262
+ public adminV1FiltersXStoreIDPost(xStoreID: string, dataTypesFiltersRequest?: DataTypesFiltersRequest, options?: RawAxiosRequestConfig) {
67263
+ return FiltersApiFp(this.configuration).adminV1FiltersXStoreIDPost(xStoreID, dataTypesFiltersRequest, options).then((request) => request(this.axios, this.basePath));
65272
67264
  }
65273
67265
 
65274
67266
  /**
65275
- * Resets usage counter for a specific feature (admin only)
65276
- * @summary Reset feature usage (Admin)
65277
- * @param {string} featureName Feature name to reset
67267
+ * Get filter field metadata (admin-authenticated version)
67268
+ * @summary Admin Get Filters Schema
67269
+ * @param {string} xStoreID X-Store ID
65278
67270
  * @param {*} [options] Override http request option.
65279
67271
  * @throws {RequiredError}
65280
- * @memberof FeatureLimitsAdminApi
67272
+ * @memberof FiltersApi
65281
67273
  */
65282
- public adminV1FeatureLimitsResetPost(featureName: string, options?: RawAxiosRequestConfig) {
65283
- return FeatureLimitsAdminApiFp(this.configuration).adminV1FeatureLimitsResetPost(featureName, options).then((request) => request(this.axios, this.basePath));
67274
+ public adminV1FiltersXStoreIDSchemaGet(xStoreID: string, options?: RawAxiosRequestConfig) {
67275
+ return FiltersApiFp(this.configuration).adminV1FiltersXStoreIDSchemaGet(xStoreID, options).then((request) => request(this.axios, this.basePath));
67276
+ }
67277
+
67278
+ /**
67279
+ * Search or autocomplete within a single facet\'s values. Useful for facets with many values (e.g., brands) where you need typeahead search.
67280
+ * @summary Search Facet Values
67281
+ * @param {string} xStoreid Store ID (from dashboard)
67282
+ * @param {string} xStoresecret Store read secret (from dashboard)
67283
+ * @param {string} facetName Facet field name (e.g., brand, category)
67284
+ * @param {DataTypesFacetValuesSearchRequest} dataTypesFacetValuesSearchRequest Facet search query
67285
+ * @param {*} [options] Override http request option.
67286
+ * @throws {RequiredError}
67287
+ * @memberof FiltersApi
67288
+ */
67289
+ public v1FiltersFacetNameValuesPost(xStoreid: string, xStoresecret: string, facetName: string, dataTypesFacetValuesSearchRequest: DataTypesFacetValuesSearchRequest, options?: RawAxiosRequestConfig) {
67290
+ return FiltersApiFp(this.configuration).v1FiltersFacetNameValuesPost(xStoreid, xStoresecret, facetName, dataTypesFacetValuesSearchRequest, options).then((request) => request(this.axios, this.basePath));
67291
+ }
67292
+
67293
+ /**
67294
+ * Get filter values and counts for configured facets. Use this to build faceted navigation UIs. Supports disjunctive faceting for OR-based filter combinations.
67295
+ * @summary Get Filters
67296
+ * @param {string} xStoreid Store ID (from dashboard)
67297
+ * @param {string} xStoresecret Store read secret (from dashboard)
67298
+ * @param {DataTypesFiltersRequest} [dataTypesFiltersRequest] Filter options
67299
+ * @param {*} [options] Override http request option.
67300
+ * @throws {RequiredError}
67301
+ * @memberof FiltersApi
67302
+ */
67303
+ public v1FiltersPost(xStoreid: string, xStoresecret: string, dataTypesFiltersRequest?: DataTypesFiltersRequest, options?: RawAxiosRequestConfig) {
67304
+ return FiltersApiFp(this.configuration).v1FiltersPost(xStoreid, xStoresecret, dataTypesFiltersRequest, options).then((request) => request(this.axios, this.basePath));
67305
+ }
67306
+
67307
+ /**
67308
+ * Get available filter field metadata including types, sortability, and configured ranges. Useful for dynamically building filter UIs.
67309
+ * @summary Get Filters Schema
67310
+ * @param {string} xStoreid Store ID (from dashboard)
67311
+ * @param {string} xStoresecret Store read secret (from dashboard)
67312
+ * @param {*} [options] Override http request option.
67313
+ * @throws {RequiredError}
67314
+ * @memberof FiltersApi
67315
+ */
67316
+ public v1FiltersSchemaGet(xStoreid: string, xStoresecret: string, options?: RawAxiosRequestConfig) {
67317
+ return FiltersApiFp(this.configuration).v1FiltersSchemaGet(xStoreid, xStoresecret, options).then((request) => request(this.axios, this.basePath));
65284
67318
  }
65285
67319
  }
65286
67320
 
@@ -82890,6 +84924,59 @@ export const SDKDocumentsApiAxiosParamCreator = function (configuration?: Config
82890
84924
  options: localVarRequestOptions,
82891
84925
  };
82892
84926
  },
84927
+ /**
84928
+ * Retrieve a single document from the store\'s search index by ID. **Auth:** `x-storeid` and `x-storesecret` (read secret). Path `xStoreID` must match the `x-storeid` header. Used by product pages and PDP.
84929
+ * @summary Get a document by ID
84930
+ * @param {string} xStoreid Store ID (from dashboard)
84931
+ * @param {string} xStoresecret Store read secret
84932
+ * @param {string} xStoreID Store ID (must match x-storeid header)
84933
+ * @param {string} documentID Document ID to retrieve
84934
+ * @param {*} [options] Override http request option.
84935
+ * @throws {RequiredError}
84936
+ */
84937
+ apiV1StoresXStoreIDDocumentsDocumentIDGet: async (xStoreid: string, xStoresecret: string, xStoreID: string, documentID: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
84938
+ // verify required parameter 'xStoreid' is not null or undefined
84939
+ assertParamExists('apiV1StoresXStoreIDDocumentsDocumentIDGet', 'xStoreid', xStoreid)
84940
+ // verify required parameter 'xStoresecret' is not null or undefined
84941
+ assertParamExists('apiV1StoresXStoreIDDocumentsDocumentIDGet', 'xStoresecret', xStoresecret)
84942
+ // verify required parameter 'xStoreID' is not null or undefined
84943
+ assertParamExists('apiV1StoresXStoreIDDocumentsDocumentIDGet', 'xStoreID', xStoreID)
84944
+ // verify required parameter 'documentID' is not null or undefined
84945
+ assertParamExists('apiV1StoresXStoreIDDocumentsDocumentIDGet', 'documentID', documentID)
84946
+ const localVarPath = `/api/v1/stores/{xStoreID}/documents/{documentID}`
84947
+ .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)))
84948
+ .replace(`{${"documentID"}}`, encodeURIComponent(String(documentID)));
84949
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
84950
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
84951
+ let baseOptions;
84952
+ if (configuration) {
84953
+ baseOptions = configuration.baseOptions;
84954
+ }
84955
+
84956
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
84957
+ const localVarHeaderParameter = {} as any;
84958
+ const localVarQueryParameter = {} as any;
84959
+
84960
+ // authentication ApiKeyAuth required
84961
+ await setApiKeyToObject(localVarHeaderParameter, "x-storesecret", configuration)
84962
+
84963
+
84964
+
84965
+ if (xStoreid != null) {
84966
+ localVarHeaderParameter['x-storeid'] = String(xStoreid);
84967
+ }
84968
+ if (xStoresecret != null) {
84969
+ localVarHeaderParameter['x-storesecret'] = String(xStoresecret);
84970
+ }
84971
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
84972
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
84973
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
84974
+
84975
+ return {
84976
+ url: toPathString(localVarUrlObj),
84977
+ options: localVarRequestOptions,
84978
+ };
84979
+ },
82893
84980
  /**
82894
84981
  * Add or update one document in the store\'s search index. **Auth:** `x-storeid` and `x-store-write-secret`. Path `xStoreID` must match the `x-storeid` header. If you omit document ID, one is generated; existing documents with the same ID are updated.
82895
84982
  * @summary Index a single document
@@ -82987,6 +85074,22 @@ export const SDKDocumentsApiFp = function(configuration?: Configuration) {
82987
85074
  const localVarOperationServerBasePath = operationServerMap['SDKDocumentsApi.apiV1StoresXStoreIDDocumentsDocumentIDDelete']?.[localVarOperationServerIndex]?.url;
82988
85075
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
82989
85076
  },
85077
+ /**
85078
+ * Retrieve a single document from the store\'s search index by ID. **Auth:** `x-storeid` and `x-storesecret` (read secret). Path `xStoreID` must match the `x-storeid` header. Used by product pages and PDP.
85079
+ * @summary Get a document by ID
85080
+ * @param {string} xStoreid Store ID (from dashboard)
85081
+ * @param {string} xStoresecret Store read secret
85082
+ * @param {string} xStoreID Store ID (must match x-storeid header)
85083
+ * @param {string} documentID Document ID to retrieve
85084
+ * @param {*} [options] Override http request option.
85085
+ * @throws {RequiredError}
85086
+ */
85087
+ async apiV1StoresXStoreIDDocumentsDocumentIDGet(xStoreid: string, xStoresecret: string, xStoreID: string, documentID: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesDocumentResponseWrapper>> {
85088
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1StoresXStoreIDDocumentsDocumentIDGet(xStoreid, xStoresecret, xStoreID, documentID, options);
85089
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
85090
+ const localVarOperationServerBasePath = operationServerMap['SDKDocumentsApi.apiV1StoresXStoreIDDocumentsDocumentIDGet']?.[localVarOperationServerIndex]?.url;
85091
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
85092
+ },
82990
85093
  /**
82991
85094
  * Add or update one document in the store\'s search index. **Auth:** `x-storeid` and `x-store-write-secret`. Path `xStoreID` must match the `x-storeid` header. If you omit document ID, one is generated; existing documents with the same ID are updated.
82992
85095
  * @summary Index a single document
@@ -83039,6 +85142,19 @@ export const SDKDocumentsApiFactory = function (configuration?: Configuration, b
83039
85142
  apiV1StoresXStoreIDDocumentsDocumentIDDelete(xStoreid: string, xStoreWriteSecret: string, xStoreID: string, documentID: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesDocumentResponseWrapper> {
83040
85143
  return localVarFp.apiV1StoresXStoreIDDocumentsDocumentIDDelete(xStoreid, xStoreWriteSecret, xStoreID, documentID, options).then((request) => request(axios, basePath));
83041
85144
  },
85145
+ /**
85146
+ * Retrieve a single document from the store\'s search index by ID. **Auth:** `x-storeid` and `x-storesecret` (read secret). Path `xStoreID` must match the `x-storeid` header. Used by product pages and PDP.
85147
+ * @summary Get a document by ID
85148
+ * @param {string} xStoreid Store ID (from dashboard)
85149
+ * @param {string} xStoresecret Store read secret
85150
+ * @param {string} xStoreID Store ID (must match x-storeid header)
85151
+ * @param {string} documentID Document ID to retrieve
85152
+ * @param {*} [options] Override http request option.
85153
+ * @throws {RequiredError}
85154
+ */
85155
+ apiV1StoresXStoreIDDocumentsDocumentIDGet(xStoreid: string, xStoresecret: string, xStoreID: string, documentID: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesDocumentResponseWrapper> {
85156
+ return localVarFp.apiV1StoresXStoreIDDocumentsDocumentIDGet(xStoreid, xStoresecret, xStoreID, documentID, options).then((request) => request(axios, basePath));
85157
+ },
83042
85158
  /**
83043
85159
  * Add or update one document in the store\'s search index. **Auth:** `x-storeid` and `x-store-write-secret`. Path `xStoreID` must match the `x-storeid` header. If you omit document ID, one is generated; existing documents with the same ID are updated.
83044
85160
  * @summary Index a single document
@@ -83092,6 +85208,21 @@ export class SDKDocumentsApi extends BaseAPI {
83092
85208
  return SDKDocumentsApiFp(this.configuration).apiV1StoresXStoreIDDocumentsDocumentIDDelete(xStoreid, xStoreWriteSecret, xStoreID, documentID, options).then((request) => request(this.axios, this.basePath));
83093
85209
  }
83094
85210
 
85211
+ /**
85212
+ * Retrieve a single document from the store\'s search index by ID. **Auth:** `x-storeid` and `x-storesecret` (read secret). Path `xStoreID` must match the `x-storeid` header. Used by product pages and PDP.
85213
+ * @summary Get a document by ID
85214
+ * @param {string} xStoreid Store ID (from dashboard)
85215
+ * @param {string} xStoresecret Store read secret
85216
+ * @param {string} xStoreID Store ID (must match x-storeid header)
85217
+ * @param {string} documentID Document ID to retrieve
85218
+ * @param {*} [options] Override http request option.
85219
+ * @throws {RequiredError}
85220
+ * @memberof SDKDocumentsApi
85221
+ */
85222
+ public apiV1StoresXStoreIDDocumentsDocumentIDGet(xStoreid: string, xStoresecret: string, xStoreID: string, documentID: string, options?: RawAxiosRequestConfig) {
85223
+ return SDKDocumentsApiFp(this.configuration).apiV1StoresXStoreIDDocumentsDocumentIDGet(xStoreid, xStoresecret, xStoreID, documentID, options).then((request) => request(this.axios, this.basePath));
85224
+ }
85225
+
83095
85226
  /**
83096
85227
  * Add or update one document in the store\'s search index. **Auth:** `x-storeid` and `x-store-write-secret`. Path `xStoreID` must match the `x-storeid` header. If you omit document ID, one is generated; existing documents with the same ID are updated.
83097
85228
  * @summary Index a single document
@@ -83110,6 +85241,142 @@ export class SDKDocumentsApi extends BaseAPI {
83110
85241
 
83111
85242
 
83112
85243
 
85244
+ /**
85245
+ * SDKExperimentsApi - axios parameter creator
85246
+ * @export
85247
+ */
85248
+ export const SDKExperimentsApiAxiosParamCreator = function (configuration?: Configuration) {
85249
+ return {
85250
+ /**
85251
+ * Returns variant assignments for all running experiments for the requesting user. Uses hash-based consistent assignment.
85252
+ * @summary Get experiment assignments for a user
85253
+ * @param {string} xStoreid Store ID
85254
+ * @param {string} xStoresecret Store read secret
85255
+ * @param {string} [xUserId] User ID (provide either x-user-id or x-anon-id)
85256
+ * @param {string} [xAnonId] Anonymous ID (provide either x-user-id or x-anon-id)
85257
+ * @param {*} [options] Override http request option.
85258
+ * @throws {RequiredError}
85259
+ */
85260
+ v1ExperimentsAssignmentGet: async (xStoreid: string, xStoresecret: string, xUserId?: string, xAnonId?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
85261
+ // verify required parameter 'xStoreid' is not null or undefined
85262
+ assertParamExists('v1ExperimentsAssignmentGet', 'xStoreid', xStoreid)
85263
+ // verify required parameter 'xStoresecret' is not null or undefined
85264
+ assertParamExists('v1ExperimentsAssignmentGet', 'xStoresecret', xStoresecret)
85265
+ const localVarPath = `/v1/experiments/assignment`;
85266
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
85267
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
85268
+ let baseOptions;
85269
+ if (configuration) {
85270
+ baseOptions = configuration.baseOptions;
85271
+ }
85272
+
85273
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
85274
+ const localVarHeaderParameter = {} as any;
85275
+ const localVarQueryParameter = {} as any;
85276
+
85277
+ // authentication ApiKeyAuth required
85278
+ await setApiKeyToObject(localVarHeaderParameter, "x-storesecret", configuration)
85279
+
85280
+
85281
+
85282
+ if (xStoreid != null) {
85283
+ localVarHeaderParameter['x-storeid'] = String(xStoreid);
85284
+ }
85285
+ if (xStoresecret != null) {
85286
+ localVarHeaderParameter['x-storesecret'] = String(xStoresecret);
85287
+ }
85288
+ if (xUserId != null) {
85289
+ localVarHeaderParameter['x-user-id'] = String(xUserId);
85290
+ }
85291
+ if (xAnonId != null) {
85292
+ localVarHeaderParameter['x-anon-id'] = String(xAnonId);
85293
+ }
85294
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
85295
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
85296
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
85297
+
85298
+ return {
85299
+ url: toPathString(localVarUrlObj),
85300
+ options: localVarRequestOptions,
85301
+ };
85302
+ },
85303
+ }
85304
+ };
85305
+
85306
+ /**
85307
+ * SDKExperimentsApi - functional programming interface
85308
+ * @export
85309
+ */
85310
+ export const SDKExperimentsApiFp = function(configuration?: Configuration) {
85311
+ const localVarAxiosParamCreator = SDKExperimentsApiAxiosParamCreator(configuration)
85312
+ return {
85313
+ /**
85314
+ * Returns variant assignments for all running experiments for the requesting user. Uses hash-based consistent assignment.
85315
+ * @summary Get experiment assignments for a user
85316
+ * @param {string} xStoreid Store ID
85317
+ * @param {string} xStoresecret Store read secret
85318
+ * @param {string} [xUserId] User ID (provide either x-user-id or x-anon-id)
85319
+ * @param {string} [xAnonId] Anonymous ID (provide either x-user-id or x-anon-id)
85320
+ * @param {*} [options] Override http request option.
85321
+ * @throws {RequiredError}
85322
+ */
85323
+ async v1ExperimentsAssignmentGet(xStoreid: string, xStoresecret: string, xUserId?: string, xAnonId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesExperimentAssignmentResponse>> {
85324
+ const localVarAxiosArgs = await localVarAxiosParamCreator.v1ExperimentsAssignmentGet(xStoreid, xStoresecret, xUserId, xAnonId, options);
85325
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
85326
+ const localVarOperationServerBasePath = operationServerMap['SDKExperimentsApi.v1ExperimentsAssignmentGet']?.[localVarOperationServerIndex]?.url;
85327
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
85328
+ },
85329
+ }
85330
+ };
85331
+
85332
+ /**
85333
+ * SDKExperimentsApi - factory interface
85334
+ * @export
85335
+ */
85336
+ export const SDKExperimentsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
85337
+ const localVarFp = SDKExperimentsApiFp(configuration)
85338
+ return {
85339
+ /**
85340
+ * Returns variant assignments for all running experiments for the requesting user. Uses hash-based consistent assignment.
85341
+ * @summary Get experiment assignments for a user
85342
+ * @param {string} xStoreid Store ID
85343
+ * @param {string} xStoresecret Store read secret
85344
+ * @param {string} [xUserId] User ID (provide either x-user-id or x-anon-id)
85345
+ * @param {string} [xAnonId] Anonymous ID (provide either x-user-id or x-anon-id)
85346
+ * @param {*} [options] Override http request option.
85347
+ * @throws {RequiredError}
85348
+ */
85349
+ v1ExperimentsAssignmentGet(xStoreid: string, xStoresecret: string, xUserId?: string, xAnonId?: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesExperimentAssignmentResponse> {
85350
+ return localVarFp.v1ExperimentsAssignmentGet(xStoreid, xStoresecret, xUserId, xAnonId, options).then((request) => request(axios, basePath));
85351
+ },
85352
+ };
85353
+ };
85354
+
85355
+ /**
85356
+ * SDKExperimentsApi - object-oriented interface
85357
+ * @export
85358
+ * @class SDKExperimentsApi
85359
+ * @extends {BaseAPI}
85360
+ */
85361
+ export class SDKExperimentsApi extends BaseAPI {
85362
+ /**
85363
+ * Returns variant assignments for all running experiments for the requesting user. Uses hash-based consistent assignment.
85364
+ * @summary Get experiment assignments for a user
85365
+ * @param {string} xStoreid Store ID
85366
+ * @param {string} xStoresecret Store read secret
85367
+ * @param {string} [xUserId] User ID (provide either x-user-id or x-anon-id)
85368
+ * @param {string} [xAnonId] Anonymous ID (provide either x-user-id or x-anon-id)
85369
+ * @param {*} [options] Override http request option.
85370
+ * @throws {RequiredError}
85371
+ * @memberof SDKExperimentsApi
85372
+ */
85373
+ public v1ExperimentsAssignmentGet(xStoreid: string, xStoresecret: string, xUserId?: string, xAnonId?: string, options?: RawAxiosRequestConfig) {
85374
+ return SDKExperimentsApiFp(this.configuration).v1ExperimentsAssignmentGet(xStoreid, xStoresecret, xUserId, xAnonId, options).then((request) => request(this.axios, this.basePath));
85375
+ }
85376
+ }
85377
+
85378
+
85379
+
83113
85380
  /**
83114
85381
  * SDKQuerySuggestionsConfigApi - axios parameter creator
83115
85382
  * @export
@@ -87792,7 +90059,7 @@ export const StoresApiAxiosParamCreator = function (configuration?: Configuratio
87792
90059
  };
87793
90060
  },
87794
90061
  /**
87795
- * Retrieve detailed information for a specific API usage event including headers, request body, and response body
90062
+ * Retrieve detailed information for a specific API usage event including headers, request body, and response body.
87796
90063
  * @summary Get Specific API Usage Event
87797
90064
  * @param {string} xStoreID Store ID
87798
90065
  * @param {string} eventID Event ID (UUID)
@@ -88546,7 +90813,7 @@ export const StoresApiFp = function(configuration?: Configuration) {
88546
90813
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
88547
90814
  },
88548
90815
  /**
88549
- * Retrieve detailed information for a specific API usage event including headers, request body, and response body
90816
+ * Retrieve detailed information for a specific API usage event including headers, request body, and response body.
88550
90817
  * @summary Get Specific API Usage Event
88551
90818
  * @param {string} xStoreID Store ID
88552
90819
  * @param {string} eventID Event ID (UUID)
@@ -88865,7 +91132,7 @@ export const StoresApiFactory = function (configuration?: Configuration, basePat
88865
91132
  return localVarFp.adminStoresXStoreIDAnalyticsTimeseriesGet(xStoreID, metric, startDate, endDate, options).then((request) => request(axios, basePath));
88866
91133
  },
88867
91134
  /**
88868
- * Retrieve detailed information for a specific API usage event including headers, request body, and response body
91135
+ * Retrieve detailed information for a specific API usage event including headers, request body, and response body.
88869
91136
  * @summary Get Specific API Usage Event
88870
91137
  * @param {string} xStoreID Store ID
88871
91138
  * @param {string} eventID Event ID (UUID)
@@ -89167,7 +91434,7 @@ export class StoresApi extends BaseAPI {
89167
91434
  }
89168
91435
 
89169
91436
  /**
89170
- * Retrieve detailed information for a specific API usage event including headers, request body, and response body
91437
+ * Retrieve detailed information for a specific API usage event including headers, request body, and response body.
89171
91438
  * @summary Get Specific API Usage Event
89172
91439
  * @param {string} xStoreID Store ID
89173
91440
  * @param {string} eventID Event ID (UUID)