@seekora-ai/admin-api 1.0.84 → 1.0.85

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
@@ -7002,6 +7002,131 @@ export interface AnalyticsWidgetData {
7002
7002
  */
7003
7003
  'tertiary_text'?: string;
7004
7004
  }
7005
+ /**
7006
+ *
7007
+ * @export
7008
+ * @interface ApiAdminFeatureLimitsViolationsGet200Response
7009
+ */
7010
+ export interface ApiAdminFeatureLimitsViolationsGet200Response {
7011
+ /**
7012
+ *
7013
+ * @type {Array<DataTypesFeatureLimitViolation>}
7014
+ * @memberof ApiAdminFeatureLimitsViolationsGet200Response
7015
+ */
7016
+ 'data'?: Array<DataTypesFeatureLimitViolation>;
7017
+ /**
7018
+ *
7019
+ * @type {string}
7020
+ * @memberof ApiAdminFeatureLimitsViolationsGet200Response
7021
+ */
7022
+ 'message'?: string;
7023
+ /**
7024
+ *
7025
+ * @type {number}
7026
+ * @memberof ApiAdminFeatureLimitsViolationsGet200Response
7027
+ */
7028
+ 'status'?: number;
7029
+ }
7030
+ /**
7031
+ *
7032
+ * @export
7033
+ * @interface ApiFeatureLimitsCheckGet200Response
7034
+ */
7035
+ export interface ApiFeatureLimitsCheckGet200Response {
7036
+ /**
7037
+ *
7038
+ * @type {DataTypesFeatureCheckResult}
7039
+ * @memberof ApiFeatureLimitsCheckGet200Response
7040
+ */
7041
+ 'data'?: DataTypesFeatureCheckResult;
7042
+ /**
7043
+ *
7044
+ * @type {string}
7045
+ * @memberof ApiFeatureLimitsCheckGet200Response
7046
+ */
7047
+ 'message'?: string;
7048
+ /**
7049
+ *
7050
+ * @type {number}
7051
+ * @memberof ApiFeatureLimitsCheckGet200Response
7052
+ */
7053
+ 'status'?: number;
7054
+ }
7055
+ /**
7056
+ *
7057
+ * @export
7058
+ * @interface ApiFeatureLimitsHistoryGet200Response
7059
+ */
7060
+ export interface ApiFeatureLimitsHistoryGet200Response {
7061
+ /**
7062
+ *
7063
+ * @type {Array<DataTypesFeatureUsageHistory>}
7064
+ * @memberof ApiFeatureLimitsHistoryGet200Response
7065
+ */
7066
+ 'data'?: Array<DataTypesFeatureUsageHistory>;
7067
+ /**
7068
+ *
7069
+ * @type {string}
7070
+ * @memberof ApiFeatureLimitsHistoryGet200Response
7071
+ */
7072
+ 'message'?: string;
7073
+ /**
7074
+ *
7075
+ * @type {number}
7076
+ * @memberof ApiFeatureLimitsHistoryGet200Response
7077
+ */
7078
+ 'status'?: number;
7079
+ }
7080
+ /**
7081
+ *
7082
+ * @export
7083
+ * @interface ApiFeatureLimitsPlanGet200Response
7084
+ */
7085
+ export interface ApiFeatureLimitsPlanGet200Response {
7086
+ /**
7087
+ *
7088
+ * @type {DataTypesPlanFeatures}
7089
+ * @memberof ApiFeatureLimitsPlanGet200Response
7090
+ */
7091
+ 'data'?: DataTypesPlanFeatures;
7092
+ /**
7093
+ *
7094
+ * @type {string}
7095
+ * @memberof ApiFeatureLimitsPlanGet200Response
7096
+ */
7097
+ 'message'?: string;
7098
+ /**
7099
+ *
7100
+ * @type {number}
7101
+ * @memberof ApiFeatureLimitsPlanGet200Response
7102
+ */
7103
+ 'status'?: number;
7104
+ }
7105
+ /**
7106
+ *
7107
+ * @export
7108
+ * @interface ApiFeatureLimitsUsageGet200Response
7109
+ */
7110
+ export interface ApiFeatureLimitsUsageGet200Response {
7111
+ /**
7112
+ *
7113
+ * @type {Array<DataTypesFeatureUsageStats>}
7114
+ * @memberof ApiFeatureLimitsUsageGet200Response
7115
+ */
7116
+ 'data'?: Array<DataTypesFeatureUsageStats>;
7117
+ /**
7118
+ *
7119
+ * @type {string}
7120
+ * @memberof ApiFeatureLimitsUsageGet200Response
7121
+ */
7122
+ 'message'?: string;
7123
+ /**
7124
+ *
7125
+ * @type {number}
7126
+ * @memberof ApiFeatureLimitsUsageGet200Response
7127
+ */
7128
+ 'status'?: number;
7129
+ }
7005
7130
  /**
7006
7131
  *
7007
7132
  * @export
@@ -10816,23 +10941,23 @@ export interface DataTypesCustomerInfoDto {
10816
10941
  */
10817
10942
  'address'?: string;
10818
10943
  /**
10819
- *
10944
+ * Optional - will be fetched from DB if empty
10820
10945
  * @type {string}
10821
10946
  * @memberof DataTypesCustomerInfoDto
10822
10947
  */
10823
- 'email': string;
10948
+ 'email'?: string;
10824
10949
  /**
10825
- *
10950
+ * Optional - will be fetched from DB if empty
10826
10951
  * @type {string}
10827
10952
  * @memberof DataTypesCustomerInfoDto
10828
10953
  */
10829
- 'name': string;
10954
+ 'name'?: string;
10830
10955
  /**
10831
- *
10956
+ * Optional - will be fetched from DB if empty
10832
10957
  * @type {string}
10833
10958
  * @memberof DataTypesCustomerInfoDto
10834
10959
  */
10835
- 'phone': string;
10960
+ 'phone'?: string;
10836
10961
  }
10837
10962
  /**
10838
10963
  *
@@ -11502,1342 +11627,1665 @@ export interface DataTypesFacetRangeConfig {
11502
11627
  /**
11503
11628
  *
11504
11629
  * @export
11505
- * @interface DataTypesFieldMetadata
11630
+ * @interface DataTypesFeatureCheckResult
11506
11631
  */
11507
- export interface DataTypesFieldMetadata {
11632
+ export interface DataTypesFeatureCheckResult {
11508
11633
  /**
11509
11634
  *
11510
- * @type {any}
11511
- * @memberof DataTypesFieldMetadata
11635
+ * @type {boolean}
11636
+ * @memberof DataTypesFeatureCheckResult
11512
11637
  */
11513
- 'default'?: any;
11638
+ 'allowed'?: boolean;
11514
11639
  /**
11515
11640
  *
11516
- * @type {string}
11517
- * @memberof DataTypesFieldMetadata
11518
- */
11519
- 'description'?: string;
11520
- /**
11521
- * Available fields from index schema
11522
- * @type {Array<string>}
11523
- * @memberof DataTypesFieldMetadata
11641
+ * @type {number}
11642
+ * @memberof DataTypesFeatureCheckResult
11524
11643
  */
11525
- 'field_options'?: Array<string>;
11644
+ 'current_usage'?: number;
11526
11645
  /**
11527
- * Field grouping for UI
11646
+ *
11528
11647
  * @type {string}
11529
- * @memberof DataTypesFieldMetadata
11648
+ * @memberof DataTypesFeatureCheckResult
11530
11649
  */
11531
- 'group'?: string;
11650
+ 'feature_name'?: string;
11532
11651
  /**
11533
- * For int fields
11534
- * @type {number}
11535
- * @memberof DataTypesFieldMetadata
11652
+ *
11653
+ * @type {boolean}
11654
+ * @memberof DataTypesFeatureCheckResult
11536
11655
  */
11537
- 'max'?: number;
11656
+ 'is_expired'?: boolean;
11538
11657
  /**
11539
- * For int fields
11540
- * @type {number}
11541
- * @memberof DataTypesFieldMetadata
11658
+ *
11659
+ * @type {any}
11660
+ * @memberof DataTypesFeatureCheckResult
11542
11661
  */
11543
- 'min'?: number;
11662
+ 'limit'?: any;
11544
11663
  /**
11545
11664
  *
11546
11665
  * @type {string}
11547
- * @memberof DataTypesFieldMetadata
11666
+ * @memberof DataTypesFeatureCheckResult
11548
11667
  */
11549
- 'name'?: string;
11668
+ 'message'?: string;
11550
11669
  /**
11551
- * For select/multi-select fields
11552
- * @type {Array<string>}
11553
- * @memberof DataTypesFieldMetadata
11670
+ *
11671
+ * @type {string}
11672
+ * @memberof DataTypesFeatureCheckResult
11554
11673
  */
11555
- 'options'?: Array<string>;
11674
+ 'recommended_plan'?: string;
11556
11675
  /**
11557
11676
  *
11558
- * @type {boolean}
11559
- * @memberof DataTypesFieldMetadata
11677
+ * @type {any}
11678
+ * @memberof DataTypesFeatureCheckResult
11560
11679
  */
11561
- 'required'?: boolean;
11680
+ 'remaining'?: any;
11562
11681
  /**
11563
- * \"string\", \"int\", \"bool\", \"select\", \"multi-select\"
11682
+ *
11564
11683
  * @type {string}
11565
- * @memberof DataTypesFieldMetadata
11684
+ * @memberof DataTypesFeatureCheckResult
11566
11685
  */
11567
- 'type'?: string;
11686
+ 'reset_at'?: string;
11687
+ /**
11688
+ *
11689
+ * @type {boolean}
11690
+ * @memberof DataTypesFeatureCheckResult
11691
+ */
11692
+ 'upgrade_required'?: boolean;
11568
11693
  }
11569
11694
  /**
11570
11695
  *
11571
11696
  * @export
11572
- * @interface DataTypesFulfillmentInfo
11697
+ * @interface DataTypesFeatureLimit
11573
11698
  */
11574
- export interface DataTypesFulfillmentInfo {
11699
+ export interface DataTypesFeatureLimit {
11575
11700
  /**
11576
11701
  *
11577
- * @type {DataTypesFulfillmentInfoCredits}
11578
- * @memberof DataTypesFulfillmentInfo
11702
+ * @type {string}
11703
+ * @memberof DataTypesFeatureLimit
11579
11704
  */
11580
- 'credits'?: DataTypesFulfillmentInfoCredits;
11705
+ 'description'?: string;
11581
11706
  /**
11582
11707
  *
11583
- * @type {DataTypesFulfillmentInfoSubscription}
11584
- * @memberof DataTypesFulfillmentInfo
11708
+ * @type {string}
11709
+ * @memberof DataTypesFeatureLimit
11585
11710
  */
11586
- 'subscription'?: DataTypesFulfillmentInfoSubscription;
11711
+ 'display_label'?: string;
11587
11712
  /**
11588
- * \"subscription\", \"credit_topup\", \"generic\"
11713
+ *
11589
11714
  * @type {string}
11590
- * @memberof DataTypesFulfillmentInfo
11715
+ * @memberof DataTypesFeatureLimit
11591
11716
  */
11592
- 'type'?: string;
11717
+ 'feature_name'?: string;
11718
+ /**
11719
+ * count, size, boolean
11720
+ * @type {string}
11721
+ * @memberof DataTypesFeatureLimit
11722
+ */
11723
+ 'limit_type'?: string;
11724
+ /**
11725
+ * Can be int, string, or complex value
11726
+ * @type {any}
11727
+ * @memberof DataTypesFeatureLimit
11728
+ */
11729
+ 'limit_value'?: any;
11730
+ /**
11731
+ * monthly, daily, never
11732
+ * @type {string}
11733
+ * @memberof DataTypesFeatureLimit
11734
+ */
11735
+ 'reset_period'?: string;
11593
11736
  }
11594
11737
  /**
11595
11738
  *
11596
11739
  * @export
11597
- * @interface DataTypesFulfillmentInfoCredits
11740
+ * @interface DataTypesFeatureLimitViolation
11598
11741
  */
11599
- export interface DataTypesFulfillmentInfoCredits {
11742
+ export interface DataTypesFeatureLimitViolation {
11600
11743
  /**
11601
11744
  *
11602
- * @type {number}
11603
- * @memberof DataTypesFulfillmentInfoCredits
11745
+ * @type {string}
11746
+ * @memberof DataTypesFeatureLimitViolation
11604
11747
  */
11605
- 'amount'?: number;
11748
+ 'api_endpoint'?: string;
11606
11749
  /**
11607
11750
  *
11608
11751
  * @type {number}
11609
- * @memberof DataTypesFulfillmentInfoCredits
11752
+ * @memberof DataTypesFeatureLimitViolation
11610
11753
  */
11611
- 'new_total'?: number;
11612
- }
11613
- /**
11614
- *
11615
- * @export
11616
- * @interface DataTypesFulfillmentInfoSubscription
11617
- */
11618
- export interface DataTypesFulfillmentInfoSubscription {
11754
+ 'attempted_usage'?: number;
11619
11755
  /**
11620
11756
  *
11621
- * @type {boolean}
11622
- * @memberof DataTypesFulfillmentInfoSubscription
11757
+ * @type {string}
11758
+ * @memberof DataTypesFeatureLimitViolation
11623
11759
  */
11624
- 'auto_renewal'?: boolean;
11760
+ 'created_at'?: string;
11625
11761
  /**
11626
11762
  *
11627
11763
  * @type {number}
11628
- * @memberof DataTypesFulfillmentInfoSubscription
11764
+ * @memberof DataTypesFeatureLimitViolation
11629
11765
  */
11630
- 'credits_allocated'?: number;
11766
+ 'current_usage'?: number;
11631
11767
  /**
11632
11768
  *
11633
- * @type {number}
11634
- * @memberof DataTypesFulfillmentInfoSubscription
11769
+ * @type {string}
11770
+ * @memberof DataTypesFeatureLimitViolation
11635
11771
  */
11636
- 'id'?: number;
11772
+ 'feature_name'?: string;
11637
11773
  /**
11638
11774
  *
11639
11775
  * @type {string}
11640
- * @memberof DataTypesFulfillmentInfoSubscription
11776
+ * @memberof DataTypesFeatureLimitViolation
11641
11777
  */
11642
- 'next_billing'?: string;
11778
+ 'ip_address'?: string;
11643
11779
  /**
11644
11780
  *
11645
- * @type {string}
11646
- * @memberof DataTypesFulfillmentInfoSubscription
11781
+ * @type {number}
11782
+ * @memberof DataTypesFeatureLimitViolation
11647
11783
  */
11648
- 'plan_name'?: string;
11649
- }
11650
- /**
11651
- *
11652
- * @export
11653
- * @interface DataTypesGatewayInfo
11654
- */
11655
- export interface DataTypesGatewayInfo {
11784
+ 'limit_value'?: number;
11656
11785
  /**
11657
11786
  *
11658
- * @type {Array<string>}
11659
- * @memberof DataTypesGatewayInfo
11787
+ * @type {{ [key: string]: any; }}
11788
+ * @memberof DataTypesFeatureLimitViolation
11660
11789
  */
11661
- 'features'?: Array<string>;
11790
+ 'metadata'?: { [key: string]: any; };
11662
11791
  /**
11663
11792
  *
11664
- * @type {boolean}
11665
- * @memberof DataTypesGatewayInfo
11793
+ * @type {number}
11794
+ * @memberof DataTypesFeatureLimitViolation
11666
11795
  */
11667
- 'is_active'?: boolean;
11796
+ 'org_id'?: number;
11668
11797
  /**
11669
11798
  *
11670
- * @type {boolean}
11671
- * @memberof DataTypesGatewayInfo
11799
+ * @type {string}
11800
+ * @memberof DataTypesFeatureLimitViolation
11672
11801
  */
11673
- 'is_default'?: boolean;
11802
+ 'request_id'?: string;
11674
11803
  /**
11675
11804
  *
11676
11805
  * @type {string}
11677
- * @memberof DataTypesGatewayInfo
11806
+ * @memberof DataTypesFeatureLimitViolation
11678
11807
  */
11679
- 'name'?: string;
11680
- }
11681
- /**
11682
- *
11683
- * @export
11684
- * @interface DataTypesGatewayListResponse
11685
- */
11686
- export interface DataTypesGatewayListResponse {
11808
+ 'user_agent'?: string;
11687
11809
  /**
11688
11810
  *
11689
- * @type {Array<DataTypesGatewayInfo>}
11690
- * @memberof DataTypesGatewayListResponse
11811
+ * @type {number}
11812
+ * @memberof DataTypesFeatureLimitViolation
11691
11813
  */
11692
- 'gateways'?: Array<DataTypesGatewayInfo>;
11814
+ 'user_id'?: number;
11815
+ /**
11816
+ *
11817
+ * @type {number}
11818
+ * @memberof DataTypesFeatureLimitViolation
11819
+ */
11820
+ 'violation_id'?: number;
11693
11821
  }
11694
11822
  /**
11695
11823
  *
11696
11824
  * @export
11697
- * @interface DataTypesGenericResponseAny
11825
+ * @interface DataTypesFeatureUsageHistory
11698
11826
  */
11699
- export interface DataTypesGenericResponseAny {
11827
+ export interface DataTypesFeatureUsageHistory {
11700
11828
  /**
11701
- *
11702
- * @type {any}
11703
- * @memberof DataTypesGenericResponseAny
11829
+ * increment, decrement, reset
11830
+ * @type {string}
11831
+ * @memberof DataTypesFeatureUsageHistory
11704
11832
  */
11705
- 'data'?: any;
11833
+ 'action'?: string;
11706
11834
  /**
11707
11835
  *
11708
11836
  * @type {string}
11709
- * @memberof DataTypesGenericResponseAny
11837
+ * @memberof DataTypesFeatureUsageHistory
11710
11838
  */
11711
- 'message'?: string;
11839
+ 'api_endpoint'?: string;
11712
11840
  /**
11713
11841
  *
11714
- * @type {number}
11715
- * @memberof DataTypesGenericResponseAny
11842
+ * @type {string}
11843
+ * @memberof DataTypesFeatureUsageHistory
11716
11844
  */
11717
- 'status'?: number;
11718
- }
11719
- /**
11720
- *
11721
- * @export
11722
- * @interface DataTypesGenericResponseArrayBillingServiceCreditConsumptionSummary
11723
- */
11724
- export interface DataTypesGenericResponseArrayBillingServiceCreditConsumptionSummary {
11845
+ 'created_at'?: string;
11725
11846
  /**
11726
11847
  *
11727
- * @type {Array<BillingServiceCreditConsumptionSummary>}
11728
- * @memberof DataTypesGenericResponseArrayBillingServiceCreditConsumptionSummary
11848
+ * @type {string}
11849
+ * @memberof DataTypesFeatureUsageHistory
11729
11850
  */
11730
- 'data'?: Array<BillingServiceCreditConsumptionSummary>;
11851
+ 'feature_name'?: string;
11731
11852
  /**
11732
11853
  *
11733
- * @type {string}
11734
- * @memberof DataTypesGenericResponseArrayBillingServiceCreditConsumptionSummary
11854
+ * @type {number}
11855
+ * @memberof DataTypesFeatureUsageHistory
11735
11856
  */
11736
- 'message'?: string;
11857
+ 'history_id'?: number;
11737
11858
  /**
11738
11859
  *
11739
- * @type {number}
11740
- * @memberof DataTypesGenericResponseArrayBillingServiceCreditConsumptionSummary
11860
+ * @type {{ [key: string]: any; }}
11861
+ * @memberof DataTypesFeatureUsageHistory
11741
11862
  */
11742
- 'status'?: number;
11743
- }
11744
- /**
11745
- *
11746
- * @export
11747
- * @interface DataTypesGenericResponseArrayBillingServiceCreditLedgerSummary
11748
- */
11749
- export interface DataTypesGenericResponseArrayBillingServiceCreditLedgerSummary {
11863
+ 'metadata'?: { [key: string]: any; };
11750
11864
  /**
11751
11865
  *
11752
- * @type {Array<BillingServiceCreditLedgerSummary>}
11753
- * @memberof DataTypesGenericResponseArrayBillingServiceCreditLedgerSummary
11866
+ * @type {number}
11867
+ * @memberof DataTypesFeatureUsageHistory
11754
11868
  */
11755
- 'data'?: Array<BillingServiceCreditLedgerSummary>;
11869
+ 'org_id'?: number;
11756
11870
  /**
11757
11871
  *
11758
11872
  * @type {string}
11759
- * @memberof DataTypesGenericResponseArrayBillingServiceCreditLedgerSummary
11873
+ * @memberof DataTypesFeatureUsageHistory
11760
11874
  */
11761
- 'message'?: string;
11875
+ 'request_id'?: string;
11762
11876
  /**
11763
11877
  *
11764
11878
  * @type {number}
11765
- * @memberof DataTypesGenericResponseArrayBillingServiceCreditLedgerSummary
11879
+ * @memberof DataTypesFeatureUsageHistory
11766
11880
  */
11767
- 'status'?: number;
11881
+ 'usage_count'?: number;
11882
+ /**
11883
+ *
11884
+ * @type {number}
11885
+ * @memberof DataTypesFeatureUsageHistory
11886
+ */
11887
+ 'user_id'?: number;
11768
11888
  }
11769
11889
  /**
11770
11890
  *
11771
11891
  * @export
11772
- * @interface DataTypesGenericResponseArrayBillingServiceCreditPurchaseSummary
11892
+ * @interface DataTypesFeatureUsageStats
11773
11893
  */
11774
- export interface DataTypesGenericResponseArrayBillingServiceCreditPurchaseSummary {
11775
- /**
11776
- *
11777
- * @type {Array<BillingServiceCreditPurchaseSummary>}
11778
- * @memberof DataTypesGenericResponseArrayBillingServiceCreditPurchaseSummary
11779
- */
11780
- 'data'?: Array<BillingServiceCreditPurchaseSummary>;
11894
+ export interface DataTypesFeatureUsageStats {
11781
11895
  /**
11782
11896
  *
11783
- * @type {string}
11784
- * @memberof DataTypesGenericResponseArrayBillingServiceCreditPurchaseSummary
11897
+ * @type {number}
11898
+ * @memberof DataTypesFeatureUsageStats
11785
11899
  */
11786
- 'message'?: string;
11900
+ 'current_usage'?: number;
11787
11901
  /**
11788
11902
  *
11789
11903
  * @type {number}
11790
- * @memberof DataTypesGenericResponseArrayBillingServiceCreditPurchaseSummary
11904
+ * @memberof DataTypesFeatureUsageStats
11791
11905
  */
11792
- 'status'?: number;
11793
- }
11794
- /**
11795
- *
11796
- * @export
11797
- * @interface DataTypesGenericResponseArrayBillingServiceCreditTransactionSummary
11798
- */
11799
- export interface DataTypesGenericResponseArrayBillingServiceCreditTransactionSummary {
11906
+ 'days_until_reset'?: number;
11800
11907
  /**
11801
11908
  *
11802
- * @type {Array<BillingServiceCreditTransactionSummary>}
11803
- * @memberof DataTypesGenericResponseArrayBillingServiceCreditTransactionSummary
11909
+ * @type {string}
11910
+ * @memberof DataTypesFeatureUsageStats
11804
11911
  */
11805
- 'data'?: Array<BillingServiceCreditTransactionSummary>;
11912
+ 'feature_name'?: string;
11806
11913
  /**
11807
11914
  *
11808
11915
  * @type {string}
11809
- * @memberof DataTypesGenericResponseArrayBillingServiceCreditTransactionSummary
11916
+ * @memberof DataTypesFeatureUsageStats
11810
11917
  */
11811
- 'message'?: string;
11918
+ 'last_used_at'?: string;
11812
11919
  /**
11813
11920
  *
11814
- * @type {number}
11815
- * @memberof DataTypesGenericResponseArrayBillingServiceCreditTransactionSummary
11921
+ * @type {any}
11922
+ * @memberof DataTypesFeatureUsageStats
11816
11923
  */
11817
- 'status'?: number;
11818
- }
11819
- /**
11820
- *
11821
- * @export
11822
- * @interface DataTypesGenericResponseArrayBillingServiceOrderSummary
11823
- */
11824
- export interface DataTypesGenericResponseArrayBillingServiceOrderSummary {
11924
+ 'limit'?: any;
11825
11925
  /**
11826
11926
  *
11827
- * @type {Array<BillingServiceOrderSummary>}
11828
- * @memberof DataTypesGenericResponseArrayBillingServiceOrderSummary
11927
+ * @type {string}
11928
+ * @memberof DataTypesFeatureUsageStats
11829
11929
  */
11830
- 'data'?: Array<BillingServiceOrderSummary>;
11930
+ 'period_end'?: string;
11831
11931
  /**
11832
11932
  *
11833
11933
  * @type {string}
11834
- * @memberof DataTypesGenericResponseArrayBillingServiceOrderSummary
11934
+ * @memberof DataTypesFeatureUsageStats
11835
11935
  */
11836
- 'message'?: string;
11936
+ 'period_start'?: string;
11937
+ /**
11938
+ * Based on current trend
11939
+ * @type {number}
11940
+ * @memberof DataTypesFeatureUsageStats
11941
+ */
11942
+ 'projected_usage'?: number;
11837
11943
  /**
11838
11944
  *
11839
11945
  * @type {number}
11840
- * @memberof DataTypesGenericResponseArrayBillingServiceOrderSummary
11946
+ * @memberof DataTypesFeatureUsageStats
11841
11947
  */
11842
- 'status'?: number;
11948
+ 'usage_percentage'?: number;
11843
11949
  }
11844
11950
  /**
11845
11951
  *
11846
11952
  * @export
11847
- * @interface DataTypesGenericResponseArrayBillingServiceOrganizationBillingSummary
11953
+ * @interface DataTypesFieldMetadata
11848
11954
  */
11849
- export interface DataTypesGenericResponseArrayBillingServiceOrganizationBillingSummary {
11955
+ export interface DataTypesFieldMetadata {
11850
11956
  /**
11851
11957
  *
11852
- * @type {Array<BillingServiceOrganizationBillingSummary>}
11853
- * @memberof DataTypesGenericResponseArrayBillingServiceOrganizationBillingSummary
11958
+ * @type {any}
11959
+ * @memberof DataTypesFieldMetadata
11854
11960
  */
11855
- 'data'?: Array<BillingServiceOrganizationBillingSummary>;
11961
+ 'default'?: any;
11856
11962
  /**
11857
11963
  *
11858
11964
  * @type {string}
11859
- * @memberof DataTypesGenericResponseArrayBillingServiceOrganizationBillingSummary
11965
+ * @memberof DataTypesFieldMetadata
11860
11966
  */
11861
- 'message'?: string;
11967
+ 'description'?: string;
11862
11968
  /**
11863
- *
11969
+ * Available fields from index schema
11970
+ * @type {Array<string>}
11971
+ * @memberof DataTypesFieldMetadata
11972
+ */
11973
+ 'field_options'?: Array<string>;
11974
+ /**
11975
+ * Field grouping for UI
11976
+ * @type {string}
11977
+ * @memberof DataTypesFieldMetadata
11978
+ */
11979
+ 'group'?: string;
11980
+ /**
11981
+ * For int fields
11864
11982
  * @type {number}
11865
- * @memberof DataTypesGenericResponseArrayBillingServiceOrganizationBillingSummary
11983
+ * @memberof DataTypesFieldMetadata
11866
11984
  */
11867
- 'status'?: number;
11868
- }
11869
- /**
11870
- *
11871
- * @export
11872
- * @interface DataTypesGenericResponseArrayBillingServicePaymentTransactionSummary
11873
- */
11874
- export interface DataTypesGenericResponseArrayBillingServicePaymentTransactionSummary {
11985
+ 'max'?: number;
11875
11986
  /**
11876
- *
11877
- * @type {Array<BillingServicePaymentTransactionSummary>}
11878
- * @memberof DataTypesGenericResponseArrayBillingServicePaymentTransactionSummary
11987
+ * For int fields
11988
+ * @type {number}
11989
+ * @memberof DataTypesFieldMetadata
11879
11990
  */
11880
- 'data'?: Array<BillingServicePaymentTransactionSummary>;
11991
+ 'min'?: number;
11881
11992
  /**
11882
11993
  *
11883
11994
  * @type {string}
11884
- * @memberof DataTypesGenericResponseArrayBillingServicePaymentTransactionSummary
11995
+ * @memberof DataTypesFieldMetadata
11885
11996
  */
11886
- 'message'?: string;
11997
+ 'name'?: string;
11998
+ /**
11999
+ * For select/multi-select fields
12000
+ * @type {Array<string>}
12001
+ * @memberof DataTypesFieldMetadata
12002
+ */
12003
+ 'options'?: Array<string>;
11887
12004
  /**
11888
12005
  *
11889
- * @type {number}
11890
- * @memberof DataTypesGenericResponseArrayBillingServicePaymentTransactionSummary
12006
+ * @type {boolean}
12007
+ * @memberof DataTypesFieldMetadata
11891
12008
  */
11892
- 'status'?: number;
12009
+ 'required'?: boolean;
12010
+ /**
12011
+ * \"string\", \"int\", \"bool\", \"select\", \"multi-select\"
12012
+ * @type {string}
12013
+ * @memberof DataTypesFieldMetadata
12014
+ */
12015
+ 'type'?: string;
11893
12016
  }
11894
12017
  /**
11895
12018
  *
11896
12019
  * @export
11897
- * @interface DataTypesGenericResponseArrayDataTypesCreditPlan
12020
+ * @interface DataTypesFulfillmentInfo
11898
12021
  */
11899
- export interface DataTypesGenericResponseArrayDataTypesCreditPlan {
12022
+ export interface DataTypesFulfillmentInfo {
11900
12023
  /**
11901
12024
  *
11902
- * @type {Array<DataTypesCreditPlan>}
11903
- * @memberof DataTypesGenericResponseArrayDataTypesCreditPlan
12025
+ * @type {DataTypesFulfillmentInfoCredits}
12026
+ * @memberof DataTypesFulfillmentInfo
11904
12027
  */
11905
- 'data'?: Array<DataTypesCreditPlan>;
12028
+ 'credits'?: DataTypesFulfillmentInfoCredits;
11906
12029
  /**
11907
12030
  *
11908
- * @type {string}
11909
- * @memberof DataTypesGenericResponseArrayDataTypesCreditPlan
12031
+ * @type {DataTypesFulfillmentInfoSubscription}
12032
+ * @memberof DataTypesFulfillmentInfo
11910
12033
  */
11911
- 'message'?: string;
12034
+ 'subscription'?: DataTypesFulfillmentInfoSubscription;
11912
12035
  /**
11913
- *
11914
- * @type {number}
11915
- * @memberof DataTypesGenericResponseArrayDataTypesCreditPlan
12036
+ * \"subscription\", \"credit_topup\", \"generic\"
12037
+ * @type {string}
12038
+ * @memberof DataTypesFulfillmentInfo
11916
12039
  */
11917
- 'status'?: number;
12040
+ 'type'?: string;
11918
12041
  }
11919
12042
  /**
11920
12043
  *
11921
12044
  * @export
11922
- * @interface DataTypesGenericResponseArrayString
12045
+ * @interface DataTypesFulfillmentInfoCredits
11923
12046
  */
11924
- export interface DataTypesGenericResponseArrayString {
11925
- /**
11926
- *
11927
- * @type {Array<string>}
11928
- * @memberof DataTypesGenericResponseArrayString
11929
- */
11930
- 'data'?: Array<string>;
12047
+ export interface DataTypesFulfillmentInfoCredits {
11931
12048
  /**
11932
12049
  *
11933
- * @type {string}
11934
- * @memberof DataTypesGenericResponseArrayString
12050
+ * @type {number}
12051
+ * @memberof DataTypesFulfillmentInfoCredits
11935
12052
  */
11936
- 'message'?: string;
12053
+ 'amount'?: number;
11937
12054
  /**
11938
12055
  *
11939
12056
  * @type {number}
11940
- * @memberof DataTypesGenericResponseArrayString
12057
+ * @memberof DataTypesFulfillmentInfoCredits
11941
12058
  */
11942
- 'status'?: number;
12059
+ 'new_total'?: number;
11943
12060
  }
11944
12061
  /**
11945
12062
  *
11946
12063
  * @export
11947
- * @interface DataTypesGenericResponseBillingServiceBillingOverview
12064
+ * @interface DataTypesFulfillmentInfoSubscription
11948
12065
  */
11949
- export interface DataTypesGenericResponseBillingServiceBillingOverview {
12066
+ export interface DataTypesFulfillmentInfoSubscription {
11950
12067
  /**
11951
12068
  *
11952
- * @type {BillingServiceBillingOverview}
11953
- * @memberof DataTypesGenericResponseBillingServiceBillingOverview
12069
+ * @type {boolean}
12070
+ * @memberof DataTypesFulfillmentInfoSubscription
11954
12071
  */
11955
- 'data'?: BillingServiceBillingOverview;
12072
+ 'auto_renewal'?: boolean;
11956
12073
  /**
11957
12074
  *
11958
- * @type {string}
11959
- * @memberof DataTypesGenericResponseBillingServiceBillingOverview
12075
+ * @type {number}
12076
+ * @memberof DataTypesFulfillmentInfoSubscription
11960
12077
  */
11961
- 'message'?: string;
12078
+ 'credits_allocated'?: number;
11962
12079
  /**
11963
12080
  *
11964
12081
  * @type {number}
11965
- * @memberof DataTypesGenericResponseBillingServiceBillingOverview
12082
+ * @memberof DataTypesFulfillmentInfoSubscription
11966
12083
  */
11967
- 'status'?: number;
12084
+ 'id'?: number;
12085
+ /**
12086
+ *
12087
+ * @type {string}
12088
+ * @memberof DataTypesFulfillmentInfoSubscription
12089
+ */
12090
+ 'next_billing'?: string;
12091
+ /**
12092
+ *
12093
+ * @type {string}
12094
+ * @memberof DataTypesFulfillmentInfoSubscription
12095
+ */
12096
+ 'plan_name'?: string;
11968
12097
  }
11969
12098
  /**
11970
12099
  *
11971
12100
  * @export
11972
- * @interface DataTypesGenericResponseDataTypesBillingAlert
12101
+ * @interface DataTypesGatewayInfo
11973
12102
  */
11974
- export interface DataTypesGenericResponseDataTypesBillingAlert {
12103
+ export interface DataTypesGatewayInfo {
11975
12104
  /**
11976
12105
  *
11977
- * @type {DataTypesBillingAlert}
11978
- * @memberof DataTypesGenericResponseDataTypesBillingAlert
12106
+ * @type {Array<string>}
12107
+ * @memberof DataTypesGatewayInfo
11979
12108
  */
11980
- 'data'?: DataTypesBillingAlert;
12109
+ 'features'?: Array<string>;
12110
+ /**
12111
+ *
12112
+ * @type {boolean}
12113
+ * @memberof DataTypesGatewayInfo
12114
+ */
12115
+ 'is_active'?: boolean;
12116
+ /**
12117
+ *
12118
+ * @type {boolean}
12119
+ * @memberof DataTypesGatewayInfo
12120
+ */
12121
+ 'is_default'?: boolean;
11981
12122
  /**
11982
12123
  *
11983
12124
  * @type {string}
11984
- * @memberof DataTypesGenericResponseDataTypesBillingAlert
12125
+ * @memberof DataTypesGatewayInfo
11985
12126
  */
11986
- 'message'?: string;
12127
+ 'name'?: string;
12128
+ }
12129
+ /**
12130
+ *
12131
+ * @export
12132
+ * @interface DataTypesGatewayListResponse
12133
+ */
12134
+ export interface DataTypesGatewayListResponse {
11987
12135
  /**
11988
12136
  *
11989
- * @type {number}
11990
- * @memberof DataTypesGenericResponseDataTypesBillingAlert
12137
+ * @type {Array<DataTypesGatewayInfo>}
12138
+ * @memberof DataTypesGatewayListResponse
11991
12139
  */
11992
- 'status'?: number;
12140
+ 'gateways'?: Array<DataTypesGatewayInfo>;
11993
12141
  }
11994
12142
  /**
11995
12143
  *
11996
12144
  * @export
11997
- * @interface DataTypesGenericResponseDataTypesBillingAlertsResponse
12145
+ * @interface DataTypesGenericResponseAny
11998
12146
  */
11999
- export interface DataTypesGenericResponseDataTypesBillingAlertsResponse {
12147
+ export interface DataTypesGenericResponseAny {
12000
12148
  /**
12001
12149
  *
12002
- * @type {DataTypesBillingAlertsResponse}
12003
- * @memberof DataTypesGenericResponseDataTypesBillingAlertsResponse
12150
+ * @type {any}
12151
+ * @memberof DataTypesGenericResponseAny
12004
12152
  */
12005
- 'data'?: DataTypesBillingAlertsResponse;
12153
+ 'data'?: any;
12006
12154
  /**
12007
12155
  *
12008
12156
  * @type {string}
12009
- * @memberof DataTypesGenericResponseDataTypesBillingAlertsResponse
12157
+ * @memberof DataTypesGenericResponseAny
12010
12158
  */
12011
12159
  'message'?: string;
12012
12160
  /**
12013
12161
  *
12014
12162
  * @type {number}
12015
- * @memberof DataTypesGenericResponseDataTypesBillingAlertsResponse
12163
+ * @memberof DataTypesGenericResponseAny
12016
12164
  */
12017
12165
  'status'?: number;
12018
12166
  }
12019
12167
  /**
12020
12168
  *
12021
12169
  * @export
12022
- * @interface DataTypesGenericResponseDataTypesBillingOverviewResponse
12170
+ * @interface DataTypesGenericResponseArrayBillingServiceCreditConsumptionSummary
12023
12171
  */
12024
- export interface DataTypesGenericResponseDataTypesBillingOverviewResponse {
12172
+ export interface DataTypesGenericResponseArrayBillingServiceCreditConsumptionSummary {
12025
12173
  /**
12026
12174
  *
12027
- * @type {DataTypesBillingOverviewResponse}
12028
- * @memberof DataTypesGenericResponseDataTypesBillingOverviewResponse
12175
+ * @type {Array<BillingServiceCreditConsumptionSummary>}
12176
+ * @memberof DataTypesGenericResponseArrayBillingServiceCreditConsumptionSummary
12029
12177
  */
12030
- 'data'?: DataTypesBillingOverviewResponse;
12178
+ 'data'?: Array<BillingServiceCreditConsumptionSummary>;
12031
12179
  /**
12032
12180
  *
12033
12181
  * @type {string}
12034
- * @memberof DataTypesGenericResponseDataTypesBillingOverviewResponse
12182
+ * @memberof DataTypesGenericResponseArrayBillingServiceCreditConsumptionSummary
12035
12183
  */
12036
12184
  'message'?: string;
12037
12185
  /**
12038
12186
  *
12039
12187
  * @type {number}
12040
- * @memberof DataTypesGenericResponseDataTypesBillingOverviewResponse
12188
+ * @memberof DataTypesGenericResponseArrayBillingServiceCreditConsumptionSummary
12041
12189
  */
12042
12190
  'status'?: number;
12043
12191
  }
12044
12192
  /**
12045
12193
  *
12046
12194
  * @export
12047
- * @interface DataTypesGenericResponseDataTypesConsumptionHistoryResponse
12195
+ * @interface DataTypesGenericResponseArrayBillingServiceCreditLedgerSummary
12048
12196
  */
12049
- export interface DataTypesGenericResponseDataTypesConsumptionHistoryResponse {
12197
+ export interface DataTypesGenericResponseArrayBillingServiceCreditLedgerSummary {
12050
12198
  /**
12051
12199
  *
12052
- * @type {DataTypesConsumptionHistoryResponse}
12053
- * @memberof DataTypesGenericResponseDataTypesConsumptionHistoryResponse
12200
+ * @type {Array<BillingServiceCreditLedgerSummary>}
12201
+ * @memberof DataTypesGenericResponseArrayBillingServiceCreditLedgerSummary
12054
12202
  */
12055
- 'data'?: DataTypesConsumptionHistoryResponse;
12203
+ 'data'?: Array<BillingServiceCreditLedgerSummary>;
12056
12204
  /**
12057
12205
  *
12058
12206
  * @type {string}
12059
- * @memberof DataTypesGenericResponseDataTypesConsumptionHistoryResponse
12207
+ * @memberof DataTypesGenericResponseArrayBillingServiceCreditLedgerSummary
12060
12208
  */
12061
12209
  'message'?: string;
12062
12210
  /**
12063
12211
  *
12064
12212
  * @type {number}
12065
- * @memberof DataTypesGenericResponseDataTypesConsumptionHistoryResponse
12213
+ * @memberof DataTypesGenericResponseArrayBillingServiceCreditLedgerSummary
12066
12214
  */
12067
12215
  'status'?: number;
12068
12216
  }
12069
12217
  /**
12070
12218
  *
12071
12219
  * @export
12072
- * @interface DataTypesGenericResponseDataTypesCreditAdjustmentResponse
12220
+ * @interface DataTypesGenericResponseArrayBillingServiceCreditPurchaseSummary
12073
12221
  */
12074
- export interface DataTypesGenericResponseDataTypesCreditAdjustmentResponse {
12222
+ export interface DataTypesGenericResponseArrayBillingServiceCreditPurchaseSummary {
12075
12223
  /**
12076
12224
  *
12077
- * @type {DataTypesCreditAdjustmentResponse}
12078
- * @memberof DataTypesGenericResponseDataTypesCreditAdjustmentResponse
12225
+ * @type {Array<BillingServiceCreditPurchaseSummary>}
12226
+ * @memberof DataTypesGenericResponseArrayBillingServiceCreditPurchaseSummary
12079
12227
  */
12080
- 'data'?: DataTypesCreditAdjustmentResponse;
12228
+ 'data'?: Array<BillingServiceCreditPurchaseSummary>;
12081
12229
  /**
12082
12230
  *
12083
12231
  * @type {string}
12084
- * @memberof DataTypesGenericResponseDataTypesCreditAdjustmentResponse
12232
+ * @memberof DataTypesGenericResponseArrayBillingServiceCreditPurchaseSummary
12085
12233
  */
12086
12234
  'message'?: string;
12087
12235
  /**
12088
12236
  *
12089
12237
  * @type {number}
12090
- * @memberof DataTypesGenericResponseDataTypesCreditAdjustmentResponse
12238
+ * @memberof DataTypesGenericResponseArrayBillingServiceCreditPurchaseSummary
12091
12239
  */
12092
12240
  'status'?: number;
12093
12241
  }
12094
12242
  /**
12095
12243
  *
12096
12244
  * @export
12097
- * @interface DataTypesGenericResponseDataTypesCreditBalance
12245
+ * @interface DataTypesGenericResponseArrayBillingServiceCreditTransactionSummary
12098
12246
  */
12099
- export interface DataTypesGenericResponseDataTypesCreditBalance {
12247
+ export interface DataTypesGenericResponseArrayBillingServiceCreditTransactionSummary {
12100
12248
  /**
12101
12249
  *
12102
- * @type {DataTypesCreditBalance}
12103
- * @memberof DataTypesGenericResponseDataTypesCreditBalance
12250
+ * @type {Array<BillingServiceCreditTransactionSummary>}
12251
+ * @memberof DataTypesGenericResponseArrayBillingServiceCreditTransactionSummary
12104
12252
  */
12105
- 'data'?: DataTypesCreditBalance;
12253
+ 'data'?: Array<BillingServiceCreditTransactionSummary>;
12106
12254
  /**
12107
12255
  *
12108
12256
  * @type {string}
12109
- * @memberof DataTypesGenericResponseDataTypesCreditBalance
12257
+ * @memberof DataTypesGenericResponseArrayBillingServiceCreditTransactionSummary
12110
12258
  */
12111
12259
  'message'?: string;
12112
12260
  /**
12113
12261
  *
12114
12262
  * @type {number}
12115
- * @memberof DataTypesGenericResponseDataTypesCreditBalance
12263
+ * @memberof DataTypesGenericResponseArrayBillingServiceCreditTransactionSummary
12116
12264
  */
12117
12265
  'status'?: number;
12118
12266
  }
12119
12267
  /**
12120
12268
  *
12121
12269
  * @export
12122
- * @interface DataTypesGenericResponseDataTypesCreditConsumptionResult
12270
+ * @interface DataTypesGenericResponseArrayBillingServiceOrderSummary
12123
12271
  */
12124
- export interface DataTypesGenericResponseDataTypesCreditConsumptionResult {
12272
+ export interface DataTypesGenericResponseArrayBillingServiceOrderSummary {
12125
12273
  /**
12126
12274
  *
12127
- * @type {DataTypesCreditConsumptionResult}
12128
- * @memberof DataTypesGenericResponseDataTypesCreditConsumptionResult
12275
+ * @type {Array<BillingServiceOrderSummary>}
12276
+ * @memberof DataTypesGenericResponseArrayBillingServiceOrderSummary
12129
12277
  */
12130
- 'data'?: DataTypesCreditConsumptionResult;
12278
+ 'data'?: Array<BillingServiceOrderSummary>;
12131
12279
  /**
12132
12280
  *
12133
12281
  * @type {string}
12134
- * @memberof DataTypesGenericResponseDataTypesCreditConsumptionResult
12282
+ * @memberof DataTypesGenericResponseArrayBillingServiceOrderSummary
12135
12283
  */
12136
12284
  'message'?: string;
12137
12285
  /**
12138
12286
  *
12139
12287
  * @type {number}
12140
- * @memberof DataTypesGenericResponseDataTypesCreditConsumptionResult
12288
+ * @memberof DataTypesGenericResponseArrayBillingServiceOrderSummary
12141
12289
  */
12142
12290
  'status'?: number;
12143
12291
  }
12144
12292
  /**
12145
12293
  *
12146
12294
  * @export
12147
- * @interface DataTypesGenericResponseDataTypesDetailedCreditBalanceResponse
12295
+ * @interface DataTypesGenericResponseArrayBillingServiceOrganizationBillingSummary
12148
12296
  */
12149
- export interface DataTypesGenericResponseDataTypesDetailedCreditBalanceResponse {
12297
+ export interface DataTypesGenericResponseArrayBillingServiceOrganizationBillingSummary {
12150
12298
  /**
12151
12299
  *
12152
- * @type {DataTypesDetailedCreditBalanceResponse}
12153
- * @memberof DataTypesGenericResponseDataTypesDetailedCreditBalanceResponse
12300
+ * @type {Array<BillingServiceOrganizationBillingSummary>}
12301
+ * @memberof DataTypesGenericResponseArrayBillingServiceOrganizationBillingSummary
12154
12302
  */
12155
- 'data'?: DataTypesDetailedCreditBalanceResponse;
12303
+ 'data'?: Array<BillingServiceOrganizationBillingSummary>;
12156
12304
  /**
12157
12305
  *
12158
12306
  * @type {string}
12159
- * @memberof DataTypesGenericResponseDataTypesDetailedCreditBalanceResponse
12307
+ * @memberof DataTypesGenericResponseArrayBillingServiceOrganizationBillingSummary
12160
12308
  */
12161
12309
  'message'?: string;
12162
12310
  /**
12163
12311
  *
12164
12312
  * @type {number}
12165
- * @memberof DataTypesGenericResponseDataTypesDetailedCreditBalanceResponse
12313
+ * @memberof DataTypesGenericResponseArrayBillingServiceOrganizationBillingSummary
12166
12314
  */
12167
12315
  'status'?: number;
12168
12316
  }
12169
12317
  /**
12170
12318
  *
12171
12319
  * @export
12172
- * @interface DataTypesGenericResponseDataTypesGetRefundHistoryResponseDto
12320
+ * @interface DataTypesGenericResponseArrayBillingServicePaymentTransactionSummary
12173
12321
  */
12174
- export interface DataTypesGenericResponseDataTypesGetRefundHistoryResponseDto {
12322
+ export interface DataTypesGenericResponseArrayBillingServicePaymentTransactionSummary {
12175
12323
  /**
12176
12324
  *
12177
- * @type {DataTypesGetRefundHistoryResponseDto}
12178
- * @memberof DataTypesGenericResponseDataTypesGetRefundHistoryResponseDto
12325
+ * @type {Array<BillingServicePaymentTransactionSummary>}
12326
+ * @memberof DataTypesGenericResponseArrayBillingServicePaymentTransactionSummary
12179
12327
  */
12180
- 'data'?: DataTypesGetRefundHistoryResponseDto;
12328
+ 'data'?: Array<BillingServicePaymentTransactionSummary>;
12181
12329
  /**
12182
12330
  *
12183
12331
  * @type {string}
12184
- * @memberof DataTypesGenericResponseDataTypesGetRefundHistoryResponseDto
12332
+ * @memberof DataTypesGenericResponseArrayBillingServicePaymentTransactionSummary
12185
12333
  */
12186
12334
  'message'?: string;
12187
12335
  /**
12188
12336
  *
12189
12337
  * @type {number}
12190
- * @memberof DataTypesGenericResponseDataTypesGetRefundHistoryResponseDto
12338
+ * @memberof DataTypesGenericResponseArrayBillingServicePaymentTransactionSummary
12191
12339
  */
12192
12340
  'status'?: number;
12193
12341
  }
12194
12342
  /**
12195
12343
  *
12196
12344
  * @export
12197
- * @interface DataTypesGenericResponseDataTypesPaginatedTransactionsResponse
12345
+ * @interface DataTypesGenericResponseArrayDataTypesCreditPlan
12198
12346
  */
12199
- export interface DataTypesGenericResponseDataTypesPaginatedTransactionsResponse {
12347
+ export interface DataTypesGenericResponseArrayDataTypesCreditPlan {
12200
12348
  /**
12201
12349
  *
12202
- * @type {DataTypesPaginatedTransactionsResponse}
12203
- * @memberof DataTypesGenericResponseDataTypesPaginatedTransactionsResponse
12350
+ * @type {Array<DataTypesCreditPlan>}
12351
+ * @memberof DataTypesGenericResponseArrayDataTypesCreditPlan
12204
12352
  */
12205
- 'data'?: DataTypesPaginatedTransactionsResponse;
12353
+ 'data'?: Array<DataTypesCreditPlan>;
12206
12354
  /**
12207
12355
  *
12208
12356
  * @type {string}
12209
- * @memberof DataTypesGenericResponseDataTypesPaginatedTransactionsResponse
12357
+ * @memberof DataTypesGenericResponseArrayDataTypesCreditPlan
12210
12358
  */
12211
12359
  'message'?: string;
12212
12360
  /**
12213
12361
  *
12214
12362
  * @type {number}
12215
- * @memberof DataTypesGenericResponseDataTypesPaginatedTransactionsResponse
12363
+ * @memberof DataTypesGenericResponseArrayDataTypesCreditPlan
12216
12364
  */
12217
12365
  'status'?: number;
12218
12366
  }
12219
12367
  /**
12220
12368
  *
12221
12369
  * @export
12222
- * @interface DataTypesGenericResponseDataTypesProcessRefundResponseDto
12370
+ * @interface DataTypesGenericResponseArrayString
12223
12371
  */
12224
- export interface DataTypesGenericResponseDataTypesProcessRefundResponseDto {
12372
+ export interface DataTypesGenericResponseArrayString {
12225
12373
  /**
12226
12374
  *
12227
- * @type {DataTypesProcessRefundResponseDto}
12228
- * @memberof DataTypesGenericResponseDataTypesProcessRefundResponseDto
12375
+ * @type {Array<string>}
12376
+ * @memberof DataTypesGenericResponseArrayString
12229
12377
  */
12230
- 'data'?: DataTypesProcessRefundResponseDto;
12378
+ 'data'?: Array<string>;
12231
12379
  /**
12232
12380
  *
12233
12381
  * @type {string}
12234
- * @memberof DataTypesGenericResponseDataTypesProcessRefundResponseDto
12382
+ * @memberof DataTypesGenericResponseArrayString
12235
12383
  */
12236
12384
  'message'?: string;
12237
12385
  /**
12238
12386
  *
12239
12387
  * @type {number}
12240
- * @memberof DataTypesGenericResponseDataTypesProcessRefundResponseDto
12388
+ * @memberof DataTypesGenericResponseArrayString
12241
12389
  */
12242
12390
  'status'?: number;
12243
12391
  }
12244
12392
  /**
12245
12393
  *
12246
12394
  * @export
12247
- * @interface DataTypesGenericResponseDataTypesPurchaseCreditsResponse
12395
+ * @interface DataTypesGenericResponseBillingServiceBillingOverview
12248
12396
  */
12249
- export interface DataTypesGenericResponseDataTypesPurchaseCreditsResponse {
12397
+ export interface DataTypesGenericResponseBillingServiceBillingOverview {
12250
12398
  /**
12251
12399
  *
12252
- * @type {DataTypesPurchaseCreditsResponse}
12253
- * @memberof DataTypesGenericResponseDataTypesPurchaseCreditsResponse
12400
+ * @type {BillingServiceBillingOverview}
12401
+ * @memberof DataTypesGenericResponseBillingServiceBillingOverview
12254
12402
  */
12255
- 'data'?: DataTypesPurchaseCreditsResponse;
12403
+ 'data'?: BillingServiceBillingOverview;
12256
12404
  /**
12257
12405
  *
12258
12406
  * @type {string}
12259
- * @memberof DataTypesGenericResponseDataTypesPurchaseCreditsResponse
12407
+ * @memberof DataTypesGenericResponseBillingServiceBillingOverview
12260
12408
  */
12261
12409
  'message'?: string;
12262
12410
  /**
12263
12411
  *
12264
12412
  * @type {number}
12265
- * @memberof DataTypesGenericResponseDataTypesPurchaseCreditsResponse
12413
+ * @memberof DataTypesGenericResponseBillingServiceBillingOverview
12266
12414
  */
12267
12415
  'status'?: number;
12268
12416
  }
12269
12417
  /**
12270
12418
  *
12271
12419
  * @export
12272
- * @interface DataTypesGenericResponseDataTypesRefundCalculationResponseDto
12420
+ * @interface DataTypesGenericResponseDataTypesBillingAlert
12273
12421
  */
12274
- export interface DataTypesGenericResponseDataTypesRefundCalculationResponseDto {
12422
+ export interface DataTypesGenericResponseDataTypesBillingAlert {
12275
12423
  /**
12276
12424
  *
12277
- * @type {DataTypesRefundCalculationResponseDto}
12278
- * @memberof DataTypesGenericResponseDataTypesRefundCalculationResponseDto
12425
+ * @type {DataTypesBillingAlert}
12426
+ * @memberof DataTypesGenericResponseDataTypesBillingAlert
12279
12427
  */
12280
- 'data'?: DataTypesRefundCalculationResponseDto;
12428
+ 'data'?: DataTypesBillingAlert;
12281
12429
  /**
12282
12430
  *
12283
12431
  * @type {string}
12284
- * @memberof DataTypesGenericResponseDataTypesRefundCalculationResponseDto
12432
+ * @memberof DataTypesGenericResponseDataTypesBillingAlert
12285
12433
  */
12286
12434
  'message'?: string;
12287
12435
  /**
12288
12436
  *
12289
12437
  * @type {number}
12290
- * @memberof DataTypesGenericResponseDataTypesRefundCalculationResponseDto
12438
+ * @memberof DataTypesGenericResponseDataTypesBillingAlert
12291
12439
  */
12292
12440
  'status'?: number;
12293
12441
  }
12294
12442
  /**
12295
12443
  *
12296
12444
  * @export
12297
- * @interface DataTypesGenericResponseDataTypesRefundEligibilityDto
12445
+ * @interface DataTypesGenericResponseDataTypesBillingAlertsResponse
12298
12446
  */
12299
- export interface DataTypesGenericResponseDataTypesRefundEligibilityDto {
12447
+ export interface DataTypesGenericResponseDataTypesBillingAlertsResponse {
12300
12448
  /**
12301
12449
  *
12302
- * @type {DataTypesRefundEligibilityDto}
12303
- * @memberof DataTypesGenericResponseDataTypesRefundEligibilityDto
12450
+ * @type {DataTypesBillingAlertsResponse}
12451
+ * @memberof DataTypesGenericResponseDataTypesBillingAlertsResponse
12304
12452
  */
12305
- 'data'?: DataTypesRefundEligibilityDto;
12453
+ 'data'?: DataTypesBillingAlertsResponse;
12306
12454
  /**
12307
12455
  *
12308
12456
  * @type {string}
12309
- * @memberof DataTypesGenericResponseDataTypesRefundEligibilityDto
12457
+ * @memberof DataTypesGenericResponseDataTypesBillingAlertsResponse
12310
12458
  */
12311
12459
  'message'?: string;
12312
12460
  /**
12313
12461
  *
12314
12462
  * @type {number}
12315
- * @memberof DataTypesGenericResponseDataTypesRefundEligibilityDto
12463
+ * @memberof DataTypesGenericResponseDataTypesBillingAlertsResponse
12316
12464
  */
12317
12465
  'status'?: number;
12318
12466
  }
12319
12467
  /**
12320
12468
  *
12321
12469
  * @export
12322
- * @interface DataTypesGenericResponseDataTypesRegenerateXStoreSecretResponse
12470
+ * @interface DataTypesGenericResponseDataTypesBillingOverviewResponse
12323
12471
  */
12324
- export interface DataTypesGenericResponseDataTypesRegenerateXStoreSecretResponse {
12472
+ export interface DataTypesGenericResponseDataTypesBillingOverviewResponse {
12325
12473
  /**
12326
12474
  *
12327
- * @type {DataTypesRegenerateXStoreSecretResponse}
12328
- * @memberof DataTypesGenericResponseDataTypesRegenerateXStoreSecretResponse
12475
+ * @type {DataTypesBillingOverviewResponse}
12476
+ * @memberof DataTypesGenericResponseDataTypesBillingOverviewResponse
12329
12477
  */
12330
- 'data'?: DataTypesRegenerateXStoreSecretResponse;
12478
+ 'data'?: DataTypesBillingOverviewResponse;
12331
12479
  /**
12332
12480
  *
12333
12481
  * @type {string}
12334
- * @memberof DataTypesGenericResponseDataTypesRegenerateXStoreSecretResponse
12482
+ * @memberof DataTypesGenericResponseDataTypesBillingOverviewResponse
12335
12483
  */
12336
12484
  'message'?: string;
12337
12485
  /**
12338
12486
  *
12339
12487
  * @type {number}
12340
- * @memberof DataTypesGenericResponseDataTypesRegenerateXStoreSecretResponse
12488
+ * @memberof DataTypesGenericResponseDataTypesBillingOverviewResponse
12341
12489
  */
12342
12490
  'status'?: number;
12343
12491
  }
12344
12492
  /**
12345
12493
  *
12346
12494
  * @export
12347
- * @interface DataTypesGenericResponseDataTypesSavedCardsResponse
12495
+ * @interface DataTypesGenericResponseDataTypesConsumptionHistoryResponse
12348
12496
  */
12349
- export interface DataTypesGenericResponseDataTypesSavedCardsResponse {
12497
+ export interface DataTypesGenericResponseDataTypesConsumptionHistoryResponse {
12350
12498
  /**
12351
12499
  *
12352
- * @type {DataTypesSavedCardsResponse}
12353
- * @memberof DataTypesGenericResponseDataTypesSavedCardsResponse
12500
+ * @type {DataTypesConsumptionHistoryResponse}
12501
+ * @memberof DataTypesGenericResponseDataTypesConsumptionHistoryResponse
12354
12502
  */
12355
- 'data'?: DataTypesSavedCardsResponse;
12503
+ 'data'?: DataTypesConsumptionHistoryResponse;
12356
12504
  /**
12357
12505
  *
12358
12506
  * @type {string}
12359
- * @memberof DataTypesGenericResponseDataTypesSavedCardsResponse
12507
+ * @memberof DataTypesGenericResponseDataTypesConsumptionHistoryResponse
12360
12508
  */
12361
12509
  'message'?: string;
12362
12510
  /**
12363
12511
  *
12364
12512
  * @type {number}
12365
- * @memberof DataTypesGenericResponseDataTypesSavedCardsResponse
12513
+ * @memberof DataTypesGenericResponseDataTypesConsumptionHistoryResponse
12366
12514
  */
12367
12515
  'status'?: number;
12368
12516
  }
12369
12517
  /**
12370
12518
  *
12371
12519
  * @export
12372
- * @interface DataTypesGenericResponseRefundRefundPreviewResponseDto
12520
+ * @interface DataTypesGenericResponseDataTypesCreditAdjustmentResponse
12373
12521
  */
12374
- export interface DataTypesGenericResponseRefundRefundPreviewResponseDto {
12522
+ export interface DataTypesGenericResponseDataTypesCreditAdjustmentResponse {
12375
12523
  /**
12376
12524
  *
12377
- * @type {RefundRefundPreviewResponseDto}
12378
- * @memberof DataTypesGenericResponseRefundRefundPreviewResponseDto
12525
+ * @type {DataTypesCreditAdjustmentResponse}
12526
+ * @memberof DataTypesGenericResponseDataTypesCreditAdjustmentResponse
12379
12527
  */
12380
- 'data'?: RefundRefundPreviewResponseDto;
12528
+ 'data'?: DataTypesCreditAdjustmentResponse;
12381
12529
  /**
12382
12530
  *
12383
12531
  * @type {string}
12384
- * @memberof DataTypesGenericResponseRefundRefundPreviewResponseDto
12532
+ * @memberof DataTypesGenericResponseDataTypesCreditAdjustmentResponse
12385
12533
  */
12386
12534
  'message'?: string;
12387
12535
  /**
12388
12536
  *
12389
12537
  * @type {number}
12390
- * @memberof DataTypesGenericResponseRefundRefundPreviewResponseDto
12538
+ * @memberof DataTypesGenericResponseDataTypesCreditAdjustmentResponse
12391
12539
  */
12392
12540
  'status'?: number;
12393
12541
  }
12394
12542
  /**
12395
12543
  *
12396
12544
  * @export
12397
- * @interface DataTypesGenericStringArrayResponse
12545
+ * @interface DataTypesGenericResponseDataTypesCreditBalance
12398
12546
  */
12399
- export interface DataTypesGenericStringArrayResponse {
12547
+ export interface DataTypesGenericResponseDataTypesCreditBalance {
12400
12548
  /**
12401
12549
  *
12402
- * @type {Array<string>}
12403
- * @memberof DataTypesGenericStringArrayResponse
12550
+ * @type {DataTypesCreditBalance}
12551
+ * @memberof DataTypesGenericResponseDataTypesCreditBalance
12404
12552
  */
12405
- 'data'?: Array<string>;
12553
+ 'data'?: DataTypesCreditBalance;
12406
12554
  /**
12407
12555
  *
12408
12556
  * @type {string}
12409
- * @memberof DataTypesGenericStringArrayResponse
12557
+ * @memberof DataTypesGenericResponseDataTypesCreditBalance
12410
12558
  */
12411
12559
  'message'?: string;
12412
12560
  /**
12413
12561
  *
12414
12562
  * @type {number}
12415
- * @memberof DataTypesGenericStringArrayResponse
12563
+ * @memberof DataTypesGenericResponseDataTypesCreditBalance
12416
12564
  */
12417
12565
  'status'?: number;
12418
12566
  }
12419
12567
  /**
12420
12568
  *
12421
12569
  * @export
12422
- * @interface DataTypesGetRefundHistoryResponseDto
12570
+ * @interface DataTypesGenericResponseDataTypesCreditConsumptionResult
12423
12571
  */
12424
- export interface DataTypesGetRefundHistoryResponseDto {
12425
- /**
12426
- *
12427
- * @type {boolean}
12428
- * @memberof DataTypesGetRefundHistoryResponseDto
12429
- */
12430
- 'has_more'?: boolean;
12572
+ export interface DataTypesGenericResponseDataTypesCreditConsumptionResult {
12431
12573
  /**
12432
12574
  *
12433
- * @type {number}
12434
- * @memberof DataTypesGetRefundHistoryResponseDto
12575
+ * @type {DataTypesCreditConsumptionResult}
12576
+ * @memberof DataTypesGenericResponseDataTypesCreditConsumptionResult
12435
12577
  */
12436
- 'next_offset'?: number;
12578
+ 'data'?: DataTypesCreditConsumptionResult;
12437
12579
  /**
12438
12580
  *
12439
- * @type {Array<DataTypesRefundHistoryDto>}
12440
- * @memberof DataTypesGetRefundHistoryResponseDto
12581
+ * @type {string}
12582
+ * @memberof DataTypesGenericResponseDataTypesCreditConsumptionResult
12441
12583
  */
12442
- 'refunds'?: Array<DataTypesRefundHistoryDto>;
12584
+ 'message'?: string;
12443
12585
  /**
12444
12586
  *
12445
12587
  * @type {number}
12446
- * @memberof DataTypesGetRefundHistoryResponseDto
12588
+ * @memberof DataTypesGenericResponseDataTypesCreditConsumptionResult
12447
12589
  */
12448
- 'total_count'?: number;
12590
+ 'status'?: number;
12449
12591
  }
12450
12592
  /**
12451
12593
  *
12452
12594
  * @export
12453
- * @interface DataTypesGetStoreResult
12595
+ * @interface DataTypesGenericResponseDataTypesDetailedCreditBalanceResponse
12454
12596
  */
12455
- export interface DataTypesGetStoreResult {
12456
- /**
12457
- * Timestamp for when the store was created
12458
- * @type {string}
12459
- * @memberof DataTypesGetStoreResult
12460
- */
12461
- 'CreatedAt'?: string;
12462
- /**
12463
- * User ID of the creator, nullable
12464
- * @type {number}
12465
- * @memberof DataTypesGetStoreResult
12466
- */
12467
- 'CreatedBy'?: number;
12468
- /**
12469
- * Store active status
12470
- * @type {boolean}
12471
- * @memberof DataTypesGetStoreResult
12472
- */
12473
- 'IsActive'?: boolean;
12597
+ export interface DataTypesGenericResponseDataTypesDetailedCreditBalanceResponse {
12474
12598
  /**
12475
- * Store location
12476
- * @type {string}
12477
- * @memberof DataTypesGetStoreResult
12599
+ *
12600
+ * @type {DataTypesDetailedCreditBalanceResponse}
12601
+ * @memberof DataTypesGenericResponseDataTypesDetailedCreditBalanceResponse
12478
12602
  */
12479
- 'Location'?: string;
12603
+ 'data'?: DataTypesDetailedCreditBalanceResponse;
12480
12604
  /**
12481
- * Timestamp for when the store was last modified
12605
+ *
12482
12606
  * @type {string}
12483
- * @memberof DataTypesGetStoreResult
12607
+ * @memberof DataTypesGenericResponseDataTypesDetailedCreditBalanceResponse
12484
12608
  */
12485
- 'ModifiedAt'?: string;
12609
+ 'message'?: string;
12486
12610
  /**
12487
- * User ID of the last modifier, nullable
12611
+ *
12488
12612
  * @type {number}
12489
- * @memberof DataTypesGetStoreResult
12613
+ * @memberof DataTypesGenericResponseDataTypesDetailedCreditBalanceResponse
12490
12614
  */
12491
- 'ModifiedBy'?: number;
12615
+ 'status'?: number;
12616
+ }
12617
+ /**
12618
+ *
12619
+ * @export
12620
+ * @interface DataTypesGenericResponseDataTypesGetRefundHistoryResponseDto
12621
+ */
12622
+ export interface DataTypesGenericResponseDataTypesGetRefundHistoryResponseDto {
12492
12623
  /**
12493
- * Foreign key to mOrganizations
12494
- * @type {number}
12495
- * @memberof DataTypesGetStoreResult
12624
+ *
12625
+ * @type {DataTypesGetRefundHistoryResponseDto}
12626
+ * @memberof DataTypesGenericResponseDataTypesGetRefundHistoryResponseDto
12496
12627
  */
12497
- 'OrgID'?: number;
12628
+ 'data'?: DataTypesGetRefundHistoryResponseDto;
12498
12629
  /**
12499
- * Primary key
12500
- * @type {number}
12501
- * @memberof DataTypesGetStoreResult
12630
+ *
12631
+ * @type {string}
12632
+ * @memberof DataTypesGenericResponseDataTypesGetRefundHistoryResponseDto
12502
12633
  */
12503
- 'StoreID'?: number;
12634
+ 'message'?: string;
12504
12635
  /**
12505
- * Store name
12506
- * @type {string}
12507
- * @memberof DataTypesGetStoreResult
12636
+ *
12637
+ * @type {number}
12638
+ * @memberof DataTypesGenericResponseDataTypesGetRefundHistoryResponseDto
12508
12639
  */
12509
- 'StoreName'?: string;
12640
+ 'status'?: number;
12641
+ }
12642
+ /**
12643
+ *
12644
+ * @export
12645
+ * @interface DataTypesGenericResponseDataTypesPaginatedTransactionsResponse
12646
+ */
12647
+ export interface DataTypesGenericResponseDataTypesPaginatedTransactionsResponse {
12510
12648
  /**
12511
- * Store alias
12512
- * @type {string}
12513
- * @memberof DataTypesGetStoreResult
12649
+ *
12650
+ * @type {DataTypesPaginatedTransactionsResponse}
12651
+ * @memberof DataTypesGenericResponseDataTypesPaginatedTransactionsResponse
12514
12652
  */
12515
- 'alias'?: string;
12653
+ 'data'?: DataTypesPaginatedTransactionsResponse;
12516
12654
  /**
12517
12655
  *
12518
12656
  * @type {string}
12519
- * @memberof DataTypesGetStoreResult
12657
+ * @memberof DataTypesGenericResponseDataTypesPaginatedTransactionsResponse
12520
12658
  */
12521
- 'index_name'?: string;
12659
+ 'message'?: string;
12522
12660
  /**
12523
12661
  *
12524
- * @type {DataTypesIndexConfig}
12525
- * @memberof DataTypesGetStoreResult
12662
+ * @type {number}
12663
+ * @memberof DataTypesGenericResponseDataTypesPaginatedTransactionsResponse
12526
12664
  */
12527
- 'search_config'?: DataTypesIndexConfig;
12665
+ 'status'?: number;
12666
+ }
12667
+ /**
12668
+ *
12669
+ * @export
12670
+ * @interface DataTypesGenericResponseDataTypesProcessRefundResponseDto
12671
+ */
12672
+ export interface DataTypesGenericResponseDataTypesProcessRefundResponseDto {
12528
12673
  /**
12529
- * Include in API responses
12530
- * @type {string}
12531
- * @memberof DataTypesGetStoreResult
12674
+ *
12675
+ * @type {DataTypesProcessRefundResponseDto}
12676
+ * @memberof DataTypesGenericResponseDataTypesProcessRefundResponseDto
12532
12677
  */
12533
- 'xStoreID'?: string;
12678
+ 'data'?: DataTypesProcessRefundResponseDto;
12534
12679
  /**
12535
- * Include in API responses
12680
+ *
12536
12681
  * @type {string}
12537
- * @memberof DataTypesGetStoreResult
12682
+ * @memberof DataTypesGenericResponseDataTypesProcessRefundResponseDto
12538
12683
  */
12539
- 'xStoreSecret'?: string;
12684
+ 'message'?: string;
12540
12685
  /**
12541
- * Include in API responses
12542
- * @type {string}
12543
- * @memberof DataTypesGetStoreResult
12686
+ *
12687
+ * @type {number}
12688
+ * @memberof DataTypesGenericResponseDataTypesProcessRefundResponseDto
12544
12689
  */
12545
- 'xStoreWriteSecret'?: string;
12690
+ 'status'?: number;
12546
12691
  }
12547
12692
  /**
12548
12693
  *
12549
12694
  * @export
12550
- * @interface DataTypesIndexConfig
12695
+ * @interface DataTypesGenericResponseDataTypesPurchaseCreditsResponse
12551
12696
  */
12552
- export interface DataTypesIndexConfig {
12697
+ export interface DataTypesGenericResponseDataTypesPurchaseCreditsResponse {
12553
12698
  /**
12554
12699
  *
12555
- * @type {string}
12556
- * @memberof DataTypesIndexConfig
12700
+ * @type {DataTypesPurchaseCreditsResponse}
12701
+ * @memberof DataTypesGenericResponseDataTypesPurchaseCreditsResponse
12557
12702
  */
12558
- 'collection_alias'?: string;
12703
+ 'data'?: DataTypesPurchaseCreditsResponse;
12559
12704
  /**
12560
12705
  *
12561
12706
  * @type {string}
12562
- * @memberof DataTypesIndexConfig
12707
+ * @memberof DataTypesGenericResponseDataTypesPurchaseCreditsResponse
12563
12708
  */
12564
- 'collection_name'?: string;
12709
+ 'message'?: string;
12565
12710
  /**
12566
12711
  *
12567
- * @type {string}
12568
- * @memberof DataTypesIndexConfig
12569
- */
12570
- 'default_sorting_field'?: string;
12571
- /**
12572
- * Default stopwords set ID to use in searches
12573
- * @type {string}
12574
- * @memberof DataTypesIndexConfig
12712
+ * @type {number}
12713
+ * @memberof DataTypesGenericResponseDataTypesPurchaseCreditsResponse
12575
12714
  */
12576
- 'default_stopwords_set'?: string;
12715
+ 'status'?: number;
12716
+ }
12717
+ /**
12718
+ *
12719
+ * @export
12720
+ * @interface DataTypesGenericResponseDataTypesRefundCalculationResponseDto
12721
+ */
12722
+ export interface DataTypesGenericResponseDataTypesRefundCalculationResponseDto {
12577
12723
  /**
12578
12724
  *
12579
- * @type {number}
12580
- * @memberof DataTypesIndexConfig
12725
+ * @type {DataTypesRefundCalculationResponseDto}
12726
+ * @memberof DataTypesGenericResponseDataTypesRefundCalculationResponseDto
12581
12727
  */
12582
- 'drop_tokens_threshold'?: number;
12728
+ 'data'?: DataTypesRefundCalculationResponseDto;
12583
12729
  /**
12584
12730
  *
12585
12731
  * @type {string}
12586
- * @memberof DataTypesIndexConfig
12732
+ * @memberof DataTypesGenericResponseDataTypesRefundCalculationResponseDto
12587
12733
  */
12588
- 'embed'?: string;
12734
+ 'message'?: string;
12589
12735
  /**
12590
12736
  *
12591
- * @type {boolean}
12592
- * @memberof DataTypesIndexConfig
12737
+ * @type {number}
12738
+ * @memberof DataTypesGenericResponseDataTypesRefundCalculationResponseDto
12593
12739
  */
12594
- 'enable_autocomplete'?: boolean;
12740
+ 'status'?: number;
12741
+ }
12742
+ /**
12743
+ *
12744
+ * @export
12745
+ * @interface DataTypesGenericResponseDataTypesRefundEligibilityDto
12746
+ */
12747
+ export interface DataTypesGenericResponseDataTypesRefundEligibilityDto {
12595
12748
  /**
12596
12749
  *
12597
- * @type {boolean}
12598
- * @memberof DataTypesIndexConfig
12750
+ * @type {DataTypesRefundEligibilityDto}
12751
+ * @memberof DataTypesGenericResponseDataTypesRefundEligibilityDto
12599
12752
  */
12600
- 'enable_highlight'?: boolean;
12753
+ 'data'?: DataTypesRefundEligibilityDto;
12601
12754
  /**
12602
12755
  *
12603
- * @type {boolean}
12604
- * @memberof DataTypesIndexConfig
12756
+ * @type {string}
12757
+ * @memberof DataTypesGenericResponseDataTypesRefundEligibilityDto
12605
12758
  */
12606
- 'enable_overrides'?: boolean;
12759
+ 'message'?: string;
12607
12760
  /**
12608
12761
  *
12609
- * @type {boolean}
12610
- * @memberof DataTypesIndexConfig
12762
+ * @type {number}
12763
+ * @memberof DataTypesGenericResponseDataTypesRefundEligibilityDto
12611
12764
  */
12612
- 'enable_smart_autocomplete'?: boolean;
12765
+ 'status'?: number;
12766
+ }
12767
+ /**
12768
+ *
12769
+ * @export
12770
+ * @interface DataTypesGenericResponseDataTypesRegenerateXStoreSecretResponse
12771
+ */
12772
+ export interface DataTypesGenericResponseDataTypesRegenerateXStoreSecretResponse {
12613
12773
  /**
12614
12774
  *
12615
- * @type {boolean}
12616
- * @memberof DataTypesIndexConfig
12775
+ * @type {DataTypesRegenerateXStoreSecretResponse}
12776
+ * @memberof DataTypesGenericResponseDataTypesRegenerateXStoreSecretResponse
12617
12777
  */
12618
- 'enable_typo_highlight'?: boolean;
12778
+ 'data'?: DataTypesRegenerateXStoreSecretResponse;
12619
12779
  /**
12620
12780
  *
12621
- * @type {boolean}
12622
- * @memberof DataTypesIndexConfig
12781
+ * @type {string}
12782
+ * @memberof DataTypesGenericResponseDataTypesRegenerateXStoreSecretResponse
12623
12783
  */
12624
- 'enable_typo_tolerance'?: boolean;
12625
- /**
12626
- *
12627
- * @type {Array<string>}
12628
- * @memberof DataTypesIndexConfig
12629
- */
12630
- 'exclude_fields'?: Array<string>;
12784
+ 'message'?: string;
12631
12785
  /**
12632
12786
  *
12633
- * @type {boolean}
12634
- * @memberof DataTypesIndexConfig
12787
+ * @type {number}
12788
+ * @memberof DataTypesGenericResponseDataTypesRegenerateXStoreSecretResponse
12635
12789
  */
12636
- 'exhaustive_search'?: boolean;
12790
+ 'status'?: number;
12791
+ }
12792
+ /**
12793
+ *
12794
+ * @export
12795
+ * @interface DataTypesGenericResponseDataTypesSavedCardsResponse
12796
+ */
12797
+ export interface DataTypesGenericResponseDataTypesSavedCardsResponse {
12637
12798
  /**
12638
12799
  *
12639
- * @type {Array<string>}
12640
- * @memberof DataTypesIndexConfig
12800
+ * @type {DataTypesSavedCardsResponse}
12801
+ * @memberof DataTypesGenericResponseDataTypesSavedCardsResponse
12641
12802
  */
12642
- 'facet_by'?: Array<string>;
12803
+ 'data'?: DataTypesSavedCardsResponse;
12643
12804
  /**
12644
12805
  *
12645
12806
  * @type {string}
12646
- * @memberof DataTypesIndexConfig
12807
+ * @memberof DataTypesGenericResponseDataTypesSavedCardsResponse
12647
12808
  */
12648
- 'facet_query'?: string;
12809
+ 'message'?: string;
12649
12810
  /**
12650
12811
  *
12651
- * @type {Array<DataTypesFacetRangeConfig>}
12652
- * @memberof DataTypesIndexConfig
12812
+ * @type {number}
12813
+ * @memberof DataTypesGenericResponseDataTypesSavedCardsResponse
12653
12814
  */
12654
- 'facet_ranges'?: Array<DataTypesFacetRangeConfig>;
12815
+ 'status'?: number;
12816
+ }
12817
+ /**
12818
+ *
12819
+ * @export
12820
+ * @interface DataTypesGenericResponseRefundRefundPreviewResponseDto
12821
+ */
12822
+ export interface DataTypesGenericResponseRefundRefundPreviewResponseDto {
12655
12823
  /**
12656
12824
  *
12657
- * @type {string}
12658
- * @memberof DataTypesIndexConfig
12825
+ * @type {RefundRefundPreviewResponseDto}
12826
+ * @memberof DataTypesGenericResponseRefundRefundPreviewResponseDto
12659
12827
  */
12660
- 'filter_by'?: string;
12828
+ 'data'?: RefundRefundPreviewResponseDto;
12661
12829
  /**
12662
12830
  *
12663
12831
  * @type {string}
12664
- * @memberof DataTypesIndexConfig
12832
+ * @memberof DataTypesGenericResponseRefundRefundPreviewResponseDto
12665
12833
  */
12666
- 'group_by'?: string;
12834
+ 'message'?: string;
12667
12835
  /**
12668
12836
  *
12669
12837
  * @type {number}
12670
- * @memberof DataTypesIndexConfig
12838
+ * @memberof DataTypesGenericResponseRefundRefundPreviewResponseDto
12671
12839
  */
12672
- 'group_limit'?: number;
12840
+ 'status'?: number;
12841
+ }
12842
+ /**
12843
+ *
12844
+ * @export
12845
+ * @interface DataTypesGenericStringArrayResponse
12846
+ */
12847
+ export interface DataTypesGenericStringArrayResponse {
12673
12848
  /**
12674
12849
  *
12675
12850
  * @type {Array<string>}
12676
- * @memberof DataTypesIndexConfig
12851
+ * @memberof DataTypesGenericStringArrayResponse
12677
12852
  */
12678
- 'hidden_facet_fields'?: Array<string>;
12853
+ 'data'?: Array<string>;
12679
12854
  /**
12680
12855
  *
12681
- * @type {Array<string>}
12682
- * @memberof DataTypesIndexConfig
12856
+ * @type {string}
12857
+ * @memberof DataTypesGenericStringArrayResponse
12683
12858
  */
12684
- 'hidden_fields'?: Array<string>;
12859
+ 'message'?: string;
12685
12860
  /**
12686
12861
  *
12687
- * @type {Array<string>}
12688
- * @memberof DataTypesIndexConfig
12862
+ * @type {number}
12863
+ * @memberof DataTypesGenericStringArrayResponse
12689
12864
  */
12690
- 'hidden_filter_fields'?: Array<string>;
12865
+ 'status'?: number;
12866
+ }
12867
+ /**
12868
+ *
12869
+ * @export
12870
+ * @interface DataTypesGetRefundHistoryResponseDto
12871
+ */
12872
+ export interface DataTypesGetRefundHistoryResponseDto {
12691
12873
  /**
12692
12874
  *
12693
- * @type {number}
12694
- * @memberof DataTypesIndexConfig
12875
+ * @type {boolean}
12876
+ * @memberof DataTypesGetRefundHistoryResponseDto
12695
12877
  */
12696
- 'highlight_affix_num_tokens'?: number;
12878
+ 'has_more'?: boolean;
12697
12879
  /**
12698
12880
  *
12699
- * @type {string}
12700
- * @memberof DataTypesIndexConfig
12881
+ * @type {number}
12882
+ * @memberof DataTypesGetRefundHistoryResponseDto
12701
12883
  */
12702
- 'highlight_end_tag'?: string;
12884
+ 'next_offset'?: number;
12703
12885
  /**
12704
12886
  *
12705
- * @type {Array<string>}
12706
- * @memberof DataTypesIndexConfig
12887
+ * @type {Array<DataTypesRefundHistoryDto>}
12888
+ * @memberof DataTypesGetRefundHistoryResponseDto
12707
12889
  */
12708
- 'highlight_fields'?: Array<string>;
12890
+ 'refunds'?: Array<DataTypesRefundHistoryDto>;
12709
12891
  /**
12710
12892
  *
12711
- * @type {Array<string>}
12712
- * @memberof DataTypesIndexConfig
12893
+ * @type {number}
12894
+ * @memberof DataTypesGetRefundHistoryResponseDto
12713
12895
  */
12714
- 'highlight_full_fields'?: Array<string>;
12896
+ 'total_count'?: number;
12897
+ }
12898
+ /**
12899
+ *
12900
+ * @export
12901
+ * @interface DataTypesGetStoreResult
12902
+ */
12903
+ export interface DataTypesGetStoreResult {
12715
12904
  /**
12716
- *
12905
+ * Timestamp for when the store was created
12717
12906
  * @type {string}
12718
- * @memberof DataTypesIndexConfig
12907
+ * @memberof DataTypesGetStoreResult
12719
12908
  */
12720
- 'highlight_start_tag'?: string;
12909
+ 'CreatedAt'?: string;
12721
12910
  /**
12722
- *
12723
- * @type {string}
12724
- * @memberof DataTypesIndexConfig
12911
+ * User ID of the creator, nullable
12912
+ * @type {number}
12913
+ * @memberof DataTypesGetStoreResult
12725
12914
  */
12726
- 'image_url'?: string;
12915
+ 'CreatedBy'?: number;
12727
12916
  /**
12728
- *
12729
- * @type {Array<string>}
12730
- * @memberof DataTypesIndexConfig
12917
+ * Store active status
12918
+ * @type {boolean}
12919
+ * @memberof DataTypesGetStoreResult
12731
12920
  */
12732
- 'include_fields'?: Array<string>;
12921
+ 'IsActive'?: boolean;
12733
12922
  /**
12734
- *
12923
+ * Store location
12735
12924
  * @type {string}
12736
- * @memberof DataTypesIndexConfig
12925
+ * @memberof DataTypesGetStoreResult
12737
12926
  */
12738
- 'locale'?: string;
12927
+ 'Location'?: string;
12739
12928
  /**
12740
- *
12741
- * @type {number}
12742
- * @memberof DataTypesIndexConfig
12929
+ * Timestamp for when the store was last modified
12930
+ * @type {string}
12931
+ * @memberof DataTypesGetStoreResult
12743
12932
  */
12744
- 'max_candidates'?: number;
12933
+ 'ModifiedAt'?: string;
12745
12934
  /**
12746
- *
12935
+ * User ID of the last modifier, nullable
12747
12936
  * @type {number}
12748
- * @memberof DataTypesIndexConfig
12937
+ * @memberof DataTypesGetStoreResult
12749
12938
  */
12750
- 'max_facet_values'?: number;
12939
+ 'ModifiedBy'?: number;
12751
12940
  /**
12752
- *
12941
+ * Foreign key to mOrganizations
12753
12942
  * @type {number}
12754
- * @memberof DataTypesIndexConfig
12943
+ * @memberof DataTypesGetStoreResult
12755
12944
  */
12756
- 'min_len_1typo'?: number;
12945
+ 'OrgID'?: number;
12757
12946
  /**
12758
- *
12947
+ * Primary key
12759
12948
  * @type {number}
12760
- * @memberof DataTypesIndexConfig
12949
+ * @memberof DataTypesGetStoreResult
12761
12950
  */
12762
- 'min_len_2typo'?: number;
12951
+ 'StoreID'?: number;
12763
12952
  /**
12764
- *
12765
- * @type {number}
12766
- * @memberof DataTypesIndexConfig
12953
+ * Store name
12954
+ * @type {string}
12955
+ * @memberof DataTypesGetStoreResult
12767
12956
  */
12768
- 'num_typos'?: number;
12957
+ 'StoreName'?: string;
12769
12958
  /**
12770
- *
12771
- * @type {number}
12772
- * @memberof DataTypesIndexConfig
12959
+ * Store alias
12960
+ * @type {string}
12961
+ * @memberof DataTypesGetStoreResult
12773
12962
  */
12774
- 'page'?: number;
12963
+ 'alias'?: string;
12775
12964
  /**
12776
12965
  *
12777
- * @type {number}
12778
- * @memberof DataTypesIndexConfig
12966
+ * @type {string}
12967
+ * @memberof DataTypesGetStoreResult
12779
12968
  */
12780
- 'per_page'?: number;
12969
+ 'index_name'?: string;
12781
12970
  /**
12782
12971
  *
12972
+ * @type {DataTypesIndexConfig}
12973
+ * @memberof DataTypesGetStoreResult
12974
+ */
12975
+ 'search_config'?: DataTypesIndexConfig;
12976
+ /**
12977
+ * Include in API responses
12783
12978
  * @type {string}
12784
- * @memberof DataTypesIndexConfig
12979
+ * @memberof DataTypesGetStoreResult
12785
12980
  */
12786
- 'prefix'?: string;
12981
+ 'xStoreID'?: string;
12787
12982
  /**
12788
- *
12983
+ * Include in API responses
12789
12984
  * @type {string}
12790
- * @memberof DataTypesIndexConfig
12985
+ * @memberof DataTypesGetStoreResult
12791
12986
  */
12792
- 'preset'?: string;
12987
+ 'xStoreSecret'?: string;
12988
+ /**
12989
+ * Include in API responses
12990
+ * @type {string}
12991
+ * @memberof DataTypesGetStoreResult
12992
+ */
12993
+ 'xStoreWriteSecret'?: string;
12994
+ }
12995
+ /**
12996
+ *
12997
+ * @export
12998
+ * @interface DataTypesIndexConfig
12999
+ */
13000
+ export interface DataTypesIndexConfig {
12793
13001
  /**
12794
13002
  *
12795
13003
  * @type {string}
12796
13004
  * @memberof DataTypesIndexConfig
12797
13005
  */
12798
- 'primary_text'?: string;
13006
+ 'collection_alias'?: string;
12799
13007
  /**
12800
13008
  *
12801
- * @type {boolean}
13009
+ * @type {string}
12802
13010
  * @memberof DataTypesIndexConfig
12803
13011
  */
12804
- 'prioritize_exact_match'?: boolean;
13012
+ 'collection_name'?: string;
12805
13013
  /**
12806
- * Required: Query string
13014
+ *
12807
13015
  * @type {string}
12808
13016
  * @memberof DataTypesIndexConfig
12809
13017
  */
12810
- 'q'?: string;
13018
+ 'default_sorting_field'?: string;
12811
13019
  /**
12812
- * Required: Array of search fields
12813
- * @type {Array<string>}
13020
+ * Default stopwords set ID to use in searches
13021
+ * @type {string}
12814
13022
  * @memberof DataTypesIndexConfig
12815
13023
  */
12816
- 'query_by'?: Array<string>;
13024
+ 'default_stopwords_set'?: string;
12817
13025
  /**
12818
- * Optional: Relative field weights as array
12819
- * @type {Array<number>}
13026
+ *
13027
+ * @type {number}
12820
13028
  * @memberof DataTypesIndexConfig
12821
13029
  */
12822
- 'query_by_weights'?: Array<number>;
13030
+ 'drop_tokens_threshold'?: number;
12823
13031
  /**
12824
- * Query suggestions configuration
12825
- * @type {DataTypesQuerySuggestionsConfig}
13032
+ *
13033
+ * @type {string}
12826
13034
  * @memberof DataTypesIndexConfig
12827
13035
  */
12828
- 'query_suggestions_config'?: DataTypesQuerySuggestionsConfig;
13036
+ 'embed'?: string;
12829
13037
  /**
12830
13038
  *
12831
13039
  * @type {boolean}
12832
13040
  * @memberof DataTypesIndexConfig
12833
13041
  */
12834
- 'query_syntax'?: boolean;
13042
+ 'enable_autocomplete'?: boolean;
12835
13043
  /**
12836
13044
  *
12837
- * @type {number}
13045
+ * @type {boolean}
12838
13046
  * @memberof DataTypesIndexConfig
12839
13047
  */
12840
- 'search_cutoff_ms'?: number;
13048
+ 'enable_highlight'?: boolean;
13049
+ /**
13050
+ *
13051
+ * @type {boolean}
13052
+ * @memberof DataTypesIndexConfig
13053
+ */
13054
+ 'enable_overrides'?: boolean;
13055
+ /**
13056
+ *
13057
+ * @type {boolean}
13058
+ * @memberof DataTypesIndexConfig
13059
+ */
13060
+ 'enable_smart_autocomplete'?: boolean;
13061
+ /**
13062
+ *
13063
+ * @type {boolean}
13064
+ * @memberof DataTypesIndexConfig
13065
+ */
13066
+ 'enable_typo_highlight'?: boolean;
13067
+ /**
13068
+ *
13069
+ * @type {boolean}
13070
+ * @memberof DataTypesIndexConfig
13071
+ */
13072
+ 'enable_typo_tolerance'?: boolean;
13073
+ /**
13074
+ *
13075
+ * @type {Array<string>}
13076
+ * @memberof DataTypesIndexConfig
13077
+ */
13078
+ 'exclude_fields'?: Array<string>;
13079
+ /**
13080
+ *
13081
+ * @type {boolean}
13082
+ * @memberof DataTypesIndexConfig
13083
+ */
13084
+ 'exhaustive_search'?: boolean;
13085
+ /**
13086
+ *
13087
+ * @type {Array<string>}
13088
+ * @memberof DataTypesIndexConfig
13089
+ */
13090
+ 'facet_by'?: Array<string>;
13091
+ /**
13092
+ *
13093
+ * @type {string}
13094
+ * @memberof DataTypesIndexConfig
13095
+ */
13096
+ 'facet_query'?: string;
13097
+ /**
13098
+ *
13099
+ * @type {Array<DataTypesFacetRangeConfig>}
13100
+ * @memberof DataTypesIndexConfig
13101
+ */
13102
+ 'facet_ranges'?: Array<DataTypesFacetRangeConfig>;
13103
+ /**
13104
+ *
13105
+ * @type {string}
13106
+ * @memberof DataTypesIndexConfig
13107
+ */
13108
+ 'filter_by'?: string;
13109
+ /**
13110
+ *
13111
+ * @type {string}
13112
+ * @memberof DataTypesIndexConfig
13113
+ */
13114
+ 'group_by'?: string;
13115
+ /**
13116
+ *
13117
+ * @type {number}
13118
+ * @memberof DataTypesIndexConfig
13119
+ */
13120
+ 'group_limit'?: number;
13121
+ /**
13122
+ *
13123
+ * @type {Array<string>}
13124
+ * @memberof DataTypesIndexConfig
13125
+ */
13126
+ 'hidden_facet_fields'?: Array<string>;
13127
+ /**
13128
+ *
13129
+ * @type {Array<string>}
13130
+ * @memberof DataTypesIndexConfig
13131
+ */
13132
+ 'hidden_fields'?: Array<string>;
13133
+ /**
13134
+ *
13135
+ * @type {Array<string>}
13136
+ * @memberof DataTypesIndexConfig
13137
+ */
13138
+ 'hidden_filter_fields'?: Array<string>;
13139
+ /**
13140
+ *
13141
+ * @type {number}
13142
+ * @memberof DataTypesIndexConfig
13143
+ */
13144
+ 'highlight_affix_num_tokens'?: number;
13145
+ /**
13146
+ *
13147
+ * @type {string}
13148
+ * @memberof DataTypesIndexConfig
13149
+ */
13150
+ 'highlight_end_tag'?: string;
13151
+ /**
13152
+ *
13153
+ * @type {Array<string>}
13154
+ * @memberof DataTypesIndexConfig
13155
+ */
13156
+ 'highlight_fields'?: Array<string>;
13157
+ /**
13158
+ *
13159
+ * @type {Array<string>}
13160
+ * @memberof DataTypesIndexConfig
13161
+ */
13162
+ 'highlight_full_fields'?: Array<string>;
13163
+ /**
13164
+ *
13165
+ * @type {string}
13166
+ * @memberof DataTypesIndexConfig
13167
+ */
13168
+ 'highlight_start_tag'?: string;
13169
+ /**
13170
+ *
13171
+ * @type {string}
13172
+ * @memberof DataTypesIndexConfig
13173
+ */
13174
+ 'image_url'?: string;
13175
+ /**
13176
+ *
13177
+ * @type {Array<string>}
13178
+ * @memberof DataTypesIndexConfig
13179
+ */
13180
+ 'include_fields'?: Array<string>;
13181
+ /**
13182
+ *
13183
+ * @type {string}
13184
+ * @memberof DataTypesIndexConfig
13185
+ */
13186
+ 'locale'?: string;
13187
+ /**
13188
+ *
13189
+ * @type {number}
13190
+ * @memberof DataTypesIndexConfig
13191
+ */
13192
+ 'max_candidates'?: number;
13193
+ /**
13194
+ *
13195
+ * @type {number}
13196
+ * @memberof DataTypesIndexConfig
13197
+ */
13198
+ 'max_facet_values'?: number;
13199
+ /**
13200
+ *
13201
+ * @type {number}
13202
+ * @memberof DataTypesIndexConfig
13203
+ */
13204
+ 'min_len_1typo'?: number;
13205
+ /**
13206
+ *
13207
+ * @type {number}
13208
+ * @memberof DataTypesIndexConfig
13209
+ */
13210
+ 'min_len_2typo'?: number;
13211
+ /**
13212
+ *
13213
+ * @type {number}
13214
+ * @memberof DataTypesIndexConfig
13215
+ */
13216
+ 'num_typos'?: number;
13217
+ /**
13218
+ *
13219
+ * @type {number}
13220
+ * @memberof DataTypesIndexConfig
13221
+ */
13222
+ 'page'?: number;
13223
+ /**
13224
+ *
13225
+ * @type {number}
13226
+ * @memberof DataTypesIndexConfig
13227
+ */
13228
+ 'per_page'?: number;
13229
+ /**
13230
+ *
13231
+ * @type {string}
13232
+ * @memberof DataTypesIndexConfig
13233
+ */
13234
+ 'prefix'?: string;
13235
+ /**
13236
+ *
13237
+ * @type {string}
13238
+ * @memberof DataTypesIndexConfig
13239
+ */
13240
+ 'preset'?: string;
13241
+ /**
13242
+ *
13243
+ * @type {string}
13244
+ * @memberof DataTypesIndexConfig
13245
+ */
13246
+ 'primary_text'?: string;
13247
+ /**
13248
+ *
13249
+ * @type {boolean}
13250
+ * @memberof DataTypesIndexConfig
13251
+ */
13252
+ 'prioritize_exact_match'?: boolean;
13253
+ /**
13254
+ * Required: Query string
13255
+ * @type {string}
13256
+ * @memberof DataTypesIndexConfig
13257
+ */
13258
+ 'q'?: string;
13259
+ /**
13260
+ * Required: Array of search fields
13261
+ * @type {Array<string>}
13262
+ * @memberof DataTypesIndexConfig
13263
+ */
13264
+ 'query_by'?: Array<string>;
13265
+ /**
13266
+ * Optional: Relative field weights as array
13267
+ * @type {Array<number>}
13268
+ * @memberof DataTypesIndexConfig
13269
+ */
13270
+ 'query_by_weights'?: Array<number>;
13271
+ /**
13272
+ * Query suggestions configuration
13273
+ * @type {DataTypesQuerySuggestionsConfig}
13274
+ * @memberof DataTypesIndexConfig
13275
+ */
13276
+ 'query_suggestions_config'?: DataTypesQuerySuggestionsConfig;
13277
+ /**
13278
+ *
13279
+ * @type {boolean}
13280
+ * @memberof DataTypesIndexConfig
13281
+ */
13282
+ 'query_syntax'?: boolean;
13283
+ /**
13284
+ *
13285
+ * @type {number}
13286
+ * @memberof DataTypesIndexConfig
13287
+ */
13288
+ 'search_cutoff_ms'?: number;
12841
13289
  /**
12842
13290
  * \"text\", \"vector\", \"hybrid\"
12843
13291
  * @type {string}
@@ -15082,92 +15530,25 @@ export interface DataTypesPaymentStatusPollResponse {
15082
15530
  /**
15083
15531
  *
15084
15532
  * @export
15085
- * @interface DataTypesPaymentStatusResponse
15533
+ * @interface DataTypesPaymentsListResponse
15086
15534
  */
15087
- export interface DataTypesPaymentStatusResponse {
15535
+ export interface DataTypesPaymentsListResponse {
15088
15536
  /**
15089
15537
  *
15090
- * @type {number}
15091
- * @memberof DataTypesPaymentStatusResponse
15538
+ * @type {Array<DataTypesPayment>}
15539
+ * @memberof DataTypesPaymentsListResponse
15092
15540
  */
15093
- 'amount'?: number;
15541
+ 'data'?: Array<DataTypesPayment>;
15094
15542
  /**
15095
15543
  *
15096
15544
  * @type {string}
15097
- * @memberof DataTypesPaymentStatusResponse
15545
+ * @memberof DataTypesPaymentsListResponse
15098
15546
  */
15099
- 'currency'?: string;
15547
+ 'message'?: string;
15100
15548
  /**
15101
15549
  *
15102
- * @type {string}
15103
- * @memberof DataTypesPaymentStatusResponse
15104
- */
15105
- 'failure_reason'?: string;
15106
- /**
15107
- * Fulfillment information for frontend
15108
- * @type {DataTypesFulfillmentInfo}
15109
- * @memberof DataTypesPaymentStatusResponse
15110
- */
15111
- 'fulfillment'?: DataTypesFulfillmentInfo;
15112
- /**
15113
- *
15114
- * @type {string}
15115
- * @memberof DataTypesPaymentStatusResponse
15116
- */
15117
- 'gateway'?: string;
15118
- /**
15119
- *
15120
- * @type {{ [key: string]: any; }}
15121
- * @memberof DataTypesPaymentStatusResponse
15122
- */
15123
- 'gateway_data'?: { [key: string]: any; };
15124
- /**
15125
- *
15126
- * @type {string}
15127
- * @memberof DataTypesPaymentStatusResponse
15128
- */
15129
- 'order_id'?: string;
15130
- /**
15131
- *
15132
- * @type {string}
15133
- * @memberof DataTypesPaymentStatusResponse
15134
- */
15135
- 'payment_id'?: string;
15136
- /**
15137
- *
15138
- * @type {string}
15139
- * @memberof DataTypesPaymentStatusResponse
15140
- */
15141
- 'status'?: string;
15142
- /**
15143
- *
15144
- * @type {string}
15145
- * @memberof DataTypesPaymentStatusResponse
15146
- */
15147
- 'updated_at'?: string;
15148
- }
15149
- /**
15150
- *
15151
- * @export
15152
- * @interface DataTypesPaymentsListResponse
15153
- */
15154
- export interface DataTypesPaymentsListResponse {
15155
- /**
15156
- *
15157
- * @type {Array<DataTypesPayment>}
15158
- * @memberof DataTypesPaymentsListResponse
15159
- */
15160
- 'data'?: Array<DataTypesPayment>;
15161
- /**
15162
- *
15163
- * @type {string}
15164
- * @memberof DataTypesPaymentsListResponse
15165
- */
15166
- 'message'?: string;
15167
- /**
15168
- *
15169
- * @type {number}
15170
- * @memberof DataTypesPaymentsListResponse
15550
+ * @type {number}
15551
+ * @memberof DataTypesPaymentsListResponse
15171
15552
  */
15172
15553
  'status'?: number;
15173
15554
  }
@@ -15232,6 +15613,37 @@ export interface DataTypesPlan {
15232
15613
  */
15233
15614
  'Price'?: number;
15234
15615
  }
15616
+ /**
15617
+ *
15618
+ * @export
15619
+ * @interface DataTypesPlanFeatures
15620
+ */
15621
+ export interface DataTypesPlanFeatures {
15622
+ /**
15623
+ *
15624
+ * @type {{ [key: string]: DataTypesFeatureLimit; }}
15625
+ * @memberof DataTypesPlanFeatures
15626
+ */
15627
+ 'features'?: { [key: string]: DataTypesFeatureLimit; };
15628
+ /**
15629
+ *
15630
+ * @type {number}
15631
+ * @memberof DataTypesPlanFeatures
15632
+ */
15633
+ 'plan_id'?: number;
15634
+ /**
15635
+ *
15636
+ * @type {string}
15637
+ * @memberof DataTypesPlanFeatures
15638
+ */
15639
+ 'plan_name'?: string;
15640
+ /**
15641
+ * Original features JSON
15642
+ * @type {{ [key: string]: any; }}
15643
+ * @memberof DataTypesPlanFeatures
15644
+ */
15645
+ 'raw_data'?: { [key: string]: any; };
15646
+ }
15235
15647
  /**
15236
15648
  *
15237
15649
  * @export
@@ -19447,6 +19859,18 @@ export interface DataTypesVerifyOTPResponse {
19447
19859
  * @memberof DataTypesVerifyOTPResponse
19448
19860
  */
19449
19861
  'email'?: string;
19862
+ /**
19863
+ *
19864
+ * @type {string}
19865
+ * @memberof DataTypesVerifyOTPResponse
19866
+ */
19867
+ 'firstName'?: string;
19868
+ /**
19869
+ *
19870
+ * @type {string}
19871
+ * @memberof DataTypesVerifyOTPResponse
19872
+ */
19873
+ 'lastName'?: string;
19450
19874
  /**
19451
19875
  *
19452
19876
  * @type {string}
@@ -19459,6 +19883,12 @@ export interface DataTypesVerifyOTPResponse {
19459
19883
  * @memberof DataTypesVerifyOTPResponse
19460
19884
  */
19461
19885
  'nextStepUrl'?: string;
19886
+ /**
19887
+ *
19888
+ * @type {string}
19889
+ * @memberof DataTypesVerifyOTPResponse
19890
+ */
19891
+ 'profileImage'?: string;
19462
19892
  /**
19463
19893
  *
19464
19894
  * @type {number}
@@ -30789,39 +31219,719 @@ export const CustomStopwordsApiAxiosParamCreator = function (configuration?: Con
30789
31219
  const localVarHeaderParameter = {} as any;
30790
31220
  const localVarQueryParameter = {} as any;
30791
31221
 
30792
- // authentication BearerAuth required
30793
- await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
31222
+ // authentication BearerAuth required
31223
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
31224
+
31225
+
31226
+
31227
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
31228
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
31229
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
31230
+
31231
+ return {
31232
+ url: toPathString(localVarUrlObj),
31233
+ options: localVarRequestOptions,
31234
+ };
31235
+ },
31236
+ /**
31237
+ * Updates a custom word list
31238
+ * @summary Update custom word list
31239
+ * @param {string} xStoreID X-Store ID
31240
+ * @param {number} customWordListID Custom Word List ID
31241
+ * @param {DataTypesUpdateCustomWordListRequest} dataTypesUpdateCustomWordListRequest Update request
31242
+ * @param {*} [options] Override http request option.
31243
+ * @throws {RequiredError}
31244
+ */
31245
+ adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDPut: async (xStoreID: string, customWordListID: number, dataTypesUpdateCustomWordListRequest: DataTypesUpdateCustomWordListRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
31246
+ // verify required parameter 'xStoreID' is not null or undefined
31247
+ assertParamExists('adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDPut', 'xStoreID', xStoreID)
31248
+ // verify required parameter 'customWordListID' is not null or undefined
31249
+ assertParamExists('adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDPut', 'customWordListID', customWordListID)
31250
+ // verify required parameter 'dataTypesUpdateCustomWordListRequest' is not null or undefined
31251
+ assertParamExists('adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDPut', 'dataTypesUpdateCustomWordListRequest', dataTypesUpdateCustomWordListRequest)
31252
+ const localVarPath = `/admin/Stores/{xStoreID}/stopwords/custom-wordlists/{customWordListID}`
31253
+ .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)))
31254
+ .replace(`{${"customWordListID"}}`, encodeURIComponent(String(customWordListID)));
31255
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
31256
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
31257
+ let baseOptions;
31258
+ if (configuration) {
31259
+ baseOptions = configuration.baseOptions;
31260
+ }
31261
+
31262
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
31263
+ const localVarHeaderParameter = {} as any;
31264
+ const localVarQueryParameter = {} as any;
31265
+
31266
+ // authentication BearerAuth required
31267
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
31268
+
31269
+
31270
+
31271
+ localVarHeaderParameter['Content-Type'] = 'application/json';
31272
+
31273
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
31274
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
31275
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
31276
+ localVarRequestOptions.data = serializeDataIfNeeded(dataTypesUpdateCustomWordListRequest, localVarRequestOptions, configuration)
31277
+
31278
+ return {
31279
+ url: toPathString(localVarUrlObj),
31280
+ options: localVarRequestOptions,
31281
+ };
31282
+ },
31283
+ /**
31284
+ * Removes words from a custom word list
31285
+ * @summary Remove words from custom word list
31286
+ * @param {string} xStoreID X-Store ID
31287
+ * @param {number} customWordListID Custom Word List ID
31288
+ * @param {DataTypesRemoveWordsFromCustomListRequest} dataTypesRemoveWordsFromCustomListRequest Remove words request
31289
+ * @param {*} [options] Override http request option.
31290
+ * @throws {RequiredError}
31291
+ */
31292
+ adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsDelete: async (xStoreID: string, customWordListID: number, dataTypesRemoveWordsFromCustomListRequest: DataTypesRemoveWordsFromCustomListRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
31293
+ // verify required parameter 'xStoreID' is not null or undefined
31294
+ assertParamExists('adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsDelete', 'xStoreID', xStoreID)
31295
+ // verify required parameter 'customWordListID' is not null or undefined
31296
+ assertParamExists('adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsDelete', 'customWordListID', customWordListID)
31297
+ // verify required parameter 'dataTypesRemoveWordsFromCustomListRequest' is not null or undefined
31298
+ assertParamExists('adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsDelete', 'dataTypesRemoveWordsFromCustomListRequest', dataTypesRemoveWordsFromCustomListRequest)
31299
+ const localVarPath = `/admin/Stores/{xStoreID}/stopwords/custom-wordlists/{customWordListID}/words`
31300
+ .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)))
31301
+ .replace(`{${"customWordListID"}}`, encodeURIComponent(String(customWordListID)));
31302
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
31303
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
31304
+ let baseOptions;
31305
+ if (configuration) {
31306
+ baseOptions = configuration.baseOptions;
31307
+ }
31308
+
31309
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
31310
+ const localVarHeaderParameter = {} as any;
31311
+ const localVarQueryParameter = {} as any;
31312
+
31313
+ // authentication BearerAuth required
31314
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
31315
+
31316
+
31317
+
31318
+ localVarHeaderParameter['Content-Type'] = 'application/json';
31319
+
31320
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
31321
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
31322
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
31323
+ localVarRequestOptions.data = serializeDataIfNeeded(dataTypesRemoveWordsFromCustomListRequest, localVarRequestOptions, configuration)
31324
+
31325
+ return {
31326
+ url: toPathString(localVarUrlObj),
31327
+ options: localVarRequestOptions,
31328
+ };
31329
+ },
31330
+ /**
31331
+ * Adds words to an existing custom word list
31332
+ * @summary Add words to custom word list
31333
+ * @param {string} xStoreID X-Store ID
31334
+ * @param {number} customWordListID Custom Word List ID
31335
+ * @param {DataTypesAddWordsToCustomListRequest} dataTypesAddWordsToCustomListRequest Add words request
31336
+ * @param {*} [options] Override http request option.
31337
+ * @throws {RequiredError}
31338
+ */
31339
+ adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsPost: async (xStoreID: string, customWordListID: number, dataTypesAddWordsToCustomListRequest: DataTypesAddWordsToCustomListRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
31340
+ // verify required parameter 'xStoreID' is not null or undefined
31341
+ assertParamExists('adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsPost', 'xStoreID', xStoreID)
31342
+ // verify required parameter 'customWordListID' is not null or undefined
31343
+ assertParamExists('adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsPost', 'customWordListID', customWordListID)
31344
+ // verify required parameter 'dataTypesAddWordsToCustomListRequest' is not null or undefined
31345
+ assertParamExists('adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsPost', 'dataTypesAddWordsToCustomListRequest', dataTypesAddWordsToCustomListRequest)
31346
+ const localVarPath = `/admin/Stores/{xStoreID}/stopwords/custom-wordlists/{customWordListID}/words`
31347
+ .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)))
31348
+ .replace(`{${"customWordListID"}}`, encodeURIComponent(String(customWordListID)));
31349
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
31350
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
31351
+ let baseOptions;
31352
+ if (configuration) {
31353
+ baseOptions = configuration.baseOptions;
31354
+ }
31355
+
31356
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
31357
+ const localVarHeaderParameter = {} as any;
31358
+ const localVarQueryParameter = {} as any;
31359
+
31360
+ // authentication BearerAuth required
31361
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
31362
+
31363
+
31364
+
31365
+ localVarHeaderParameter['Content-Type'] = 'application/json';
31366
+
31367
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
31368
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
31369
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
31370
+ localVarRequestOptions.data = serializeDataIfNeeded(dataTypesAddWordsToCustomListRequest, localVarRequestOptions, configuration)
31371
+
31372
+ return {
31373
+ url: toPathString(localVarUrlObj),
31374
+ options: localVarRequestOptions,
31375
+ };
31376
+ },
31377
+ /**
31378
+ * Fetches custom word lists for a store with pagination
31379
+ * @summary Get custom word lists
31380
+ * @param {string} xStoreID X-Store ID
31381
+ * @param {string} [lang] Language locale filter (e.g. \&#39;en\&#39;, \&#39;ar\&#39;)
31382
+ * @param {string} [type] Type filter (stopwords, synonyms)
31383
+ * @param {number} [page] Page number (default: 1)
31384
+ * @param {number} [limit] Items per page (default: 10)
31385
+ * @param {*} [options] Override http request option.
31386
+ * @throws {RequiredError}
31387
+ */
31388
+ adminStoresXStoreIDStopwordsCustomWordlistsGet: async (xStoreID: string, lang?: string, type?: string, page?: number, limit?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
31389
+ // verify required parameter 'xStoreID' is not null or undefined
31390
+ assertParamExists('adminStoresXStoreIDStopwordsCustomWordlistsGet', 'xStoreID', xStoreID)
31391
+ const localVarPath = `/admin/Stores/{xStoreID}/stopwords/custom-wordlists`
31392
+ .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
31393
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
31394
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
31395
+ let baseOptions;
31396
+ if (configuration) {
31397
+ baseOptions = configuration.baseOptions;
31398
+ }
31399
+
31400
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
31401
+ const localVarHeaderParameter = {} as any;
31402
+ const localVarQueryParameter = {} as any;
31403
+
31404
+ // authentication BearerAuth required
31405
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
31406
+
31407
+ if (lang !== undefined) {
31408
+ localVarQueryParameter['lang'] = lang;
31409
+ }
31410
+
31411
+ if (type !== undefined) {
31412
+ localVarQueryParameter['type'] = type;
31413
+ }
31414
+
31415
+ if (page !== undefined) {
31416
+ localVarQueryParameter['page'] = page;
31417
+ }
31418
+
31419
+ if (limit !== undefined) {
31420
+ localVarQueryParameter['limit'] = limit;
31421
+ }
31422
+
31423
+
31424
+
31425
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
31426
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
31427
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
31428
+
31429
+ return {
31430
+ url: toPathString(localVarUrlObj),
31431
+ options: localVarRequestOptions,
31432
+ };
31433
+ },
31434
+ /**
31435
+ * Creates a new custom word list for a store
31436
+ * @summary Create custom word list
31437
+ * @param {string} xStoreID X-Store ID
31438
+ * @param {DataTypesCreateCustomWordListRequest} dataTypesCreateCustomWordListRequest Custom word list creation request
31439
+ * @param {*} [options] Override http request option.
31440
+ * @throws {RequiredError}
31441
+ */
31442
+ adminStoresXStoreIDStopwordsCustomWordlistsPost: async (xStoreID: string, dataTypesCreateCustomWordListRequest: DataTypesCreateCustomWordListRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
31443
+ // verify required parameter 'xStoreID' is not null or undefined
31444
+ assertParamExists('adminStoresXStoreIDStopwordsCustomWordlistsPost', 'xStoreID', xStoreID)
31445
+ // verify required parameter 'dataTypesCreateCustomWordListRequest' is not null or undefined
31446
+ assertParamExists('adminStoresXStoreIDStopwordsCustomWordlistsPost', 'dataTypesCreateCustomWordListRequest', dataTypesCreateCustomWordListRequest)
31447
+ const localVarPath = `/admin/Stores/{xStoreID}/stopwords/custom-wordlists`
31448
+ .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
31449
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
31450
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
31451
+ let baseOptions;
31452
+ if (configuration) {
31453
+ baseOptions = configuration.baseOptions;
31454
+ }
31455
+
31456
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
31457
+ const localVarHeaderParameter = {} as any;
31458
+ const localVarQueryParameter = {} as any;
31459
+
31460
+ // authentication BearerAuth required
31461
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
31462
+
31463
+
31464
+
31465
+ localVarHeaderParameter['Content-Type'] = 'application/json';
31466
+
31467
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
31468
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
31469
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
31470
+ localVarRequestOptions.data = serializeDataIfNeeded(dataTypesCreateCustomWordListRequest, localVarRequestOptions, configuration)
31471
+
31472
+ return {
31473
+ url: toPathString(localVarUrlObj),
31474
+ options: localVarRequestOptions,
31475
+ };
31476
+ },
31477
+ }
31478
+ };
31479
+
31480
+ /**
31481
+ * CustomStopwordsApi - functional programming interface
31482
+ * @export
31483
+ */
31484
+ export const CustomStopwordsApiFp = function(configuration?: Configuration) {
31485
+ const localVarAxiosParamCreator = CustomStopwordsApiAxiosParamCreator(configuration)
31486
+ return {
31487
+ /**
31488
+ * Deletes a custom word list (soft delete)
31489
+ * @summary Delete custom word list
31490
+ * @param {string} xStoreID X-Store ID
31491
+ * @param {number} customWordListID Custom Word List ID
31492
+ * @param {*} [options] Override http request option.
31493
+ * @throws {RequiredError}
31494
+ */
31495
+ async adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDDelete(xStoreID: string, customWordListID: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesUpdateWordStatusResponseWrapper>> {
31496
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDDelete(xStoreID, customWordListID, options);
31497
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
31498
+ const localVarOperationServerBasePath = operationServerMap['CustomStopwordsApi.adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDDelete']?.[localVarOperationServerIndex]?.url;
31499
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
31500
+ },
31501
+ /**
31502
+ * Fetches a specific custom word list by ID
31503
+ * @summary Get custom word list by ID
31504
+ * @param {string} xStoreID X-Store ID
31505
+ * @param {number} customWordListID Custom Word List ID
31506
+ * @param {*} [options] Override http request option.
31507
+ * @throws {RequiredError}
31508
+ */
31509
+ async adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDGet(xStoreID: string, customWordListID: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesCustomWordListResponseWrapper>> {
31510
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDGet(xStoreID, customWordListID, options);
31511
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
31512
+ const localVarOperationServerBasePath = operationServerMap['CustomStopwordsApi.adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDGet']?.[localVarOperationServerIndex]?.url;
31513
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
31514
+ },
31515
+ /**
31516
+ * Updates a custom word list
31517
+ * @summary Update custom word list
31518
+ * @param {string} xStoreID X-Store ID
31519
+ * @param {number} customWordListID Custom Word List ID
31520
+ * @param {DataTypesUpdateCustomWordListRequest} dataTypesUpdateCustomWordListRequest Update request
31521
+ * @param {*} [options] Override http request option.
31522
+ * @throws {RequiredError}
31523
+ */
31524
+ async adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDPut(xStoreID: string, customWordListID: number, dataTypesUpdateCustomWordListRequest: DataTypesUpdateCustomWordListRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesUpdateWordStatusResponseWrapper>> {
31525
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDPut(xStoreID, customWordListID, dataTypesUpdateCustomWordListRequest, options);
31526
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
31527
+ const localVarOperationServerBasePath = operationServerMap['CustomStopwordsApi.adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDPut']?.[localVarOperationServerIndex]?.url;
31528
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
31529
+ },
31530
+ /**
31531
+ * Removes words from a custom word list
31532
+ * @summary Remove words from custom word list
31533
+ * @param {string} xStoreID X-Store ID
31534
+ * @param {number} customWordListID Custom Word List ID
31535
+ * @param {DataTypesRemoveWordsFromCustomListRequest} dataTypesRemoveWordsFromCustomListRequest Remove words request
31536
+ * @param {*} [options] Override http request option.
31537
+ * @throws {RequiredError}
31538
+ */
31539
+ async adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsDelete(xStoreID: string, customWordListID: number, dataTypesRemoveWordsFromCustomListRequest: DataTypesRemoveWordsFromCustomListRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesUpdateWordStatusResponseWrapper>> {
31540
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsDelete(xStoreID, customWordListID, dataTypesRemoveWordsFromCustomListRequest, options);
31541
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
31542
+ const localVarOperationServerBasePath = operationServerMap['CustomStopwordsApi.adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsDelete']?.[localVarOperationServerIndex]?.url;
31543
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
31544
+ },
31545
+ /**
31546
+ * Adds words to an existing custom word list
31547
+ * @summary Add words to custom word list
31548
+ * @param {string} xStoreID X-Store ID
31549
+ * @param {number} customWordListID Custom Word List ID
31550
+ * @param {DataTypesAddWordsToCustomListRequest} dataTypesAddWordsToCustomListRequest Add words request
31551
+ * @param {*} [options] Override http request option.
31552
+ * @throws {RequiredError}
31553
+ */
31554
+ async adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsPost(xStoreID: string, customWordListID: number, dataTypesAddWordsToCustomListRequest: DataTypesAddWordsToCustomListRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesUpdateWordStatusResponseWrapper>> {
31555
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsPost(xStoreID, customWordListID, dataTypesAddWordsToCustomListRequest, options);
31556
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
31557
+ const localVarOperationServerBasePath = operationServerMap['CustomStopwordsApi.adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsPost']?.[localVarOperationServerIndex]?.url;
31558
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
31559
+ },
31560
+ /**
31561
+ * Fetches custom word lists for a store with pagination
31562
+ * @summary Get custom word lists
31563
+ * @param {string} xStoreID X-Store ID
31564
+ * @param {string} [lang] Language locale filter (e.g. \&#39;en\&#39;, \&#39;ar\&#39;)
31565
+ * @param {string} [type] Type filter (stopwords, synonyms)
31566
+ * @param {number} [page] Page number (default: 1)
31567
+ * @param {number} [limit] Items per page (default: 10)
31568
+ * @param {*} [options] Override http request option.
31569
+ * @throws {RequiredError}
31570
+ */
31571
+ async adminStoresXStoreIDStopwordsCustomWordlistsGet(xStoreID: string, lang?: string, type?: string, page?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesCustomWordListsResponseWrapper>> {
31572
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminStoresXStoreIDStopwordsCustomWordlistsGet(xStoreID, lang, type, page, limit, options);
31573
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
31574
+ const localVarOperationServerBasePath = operationServerMap['CustomStopwordsApi.adminStoresXStoreIDStopwordsCustomWordlistsGet']?.[localVarOperationServerIndex]?.url;
31575
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
31576
+ },
31577
+ /**
31578
+ * Creates a new custom word list for a store
31579
+ * @summary Create custom word list
31580
+ * @param {string} xStoreID X-Store ID
31581
+ * @param {DataTypesCreateCustomWordListRequest} dataTypesCreateCustomWordListRequest Custom word list creation request
31582
+ * @param {*} [options] Override http request option.
31583
+ * @throws {RequiredError}
31584
+ */
31585
+ async adminStoresXStoreIDStopwordsCustomWordlistsPost(xStoreID: string, dataTypesCreateCustomWordListRequest: DataTypesCreateCustomWordListRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesCustomWordListResponseWrapper>> {
31586
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminStoresXStoreIDStopwordsCustomWordlistsPost(xStoreID, dataTypesCreateCustomWordListRequest, options);
31587
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
31588
+ const localVarOperationServerBasePath = operationServerMap['CustomStopwordsApi.adminStoresXStoreIDStopwordsCustomWordlistsPost']?.[localVarOperationServerIndex]?.url;
31589
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
31590
+ },
31591
+ }
31592
+ };
31593
+
31594
+ /**
31595
+ * CustomStopwordsApi - factory interface
31596
+ * @export
31597
+ */
31598
+ export const CustomStopwordsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
31599
+ const localVarFp = CustomStopwordsApiFp(configuration)
31600
+ return {
31601
+ /**
31602
+ * Deletes a custom word list (soft delete)
31603
+ * @summary Delete custom word list
31604
+ * @param {string} xStoreID X-Store ID
31605
+ * @param {number} customWordListID Custom Word List ID
31606
+ * @param {*} [options] Override http request option.
31607
+ * @throws {RequiredError}
31608
+ */
31609
+ adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDDelete(xStoreID: string, customWordListID: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesUpdateWordStatusResponseWrapper> {
31610
+ return localVarFp.adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDDelete(xStoreID, customWordListID, options).then((request) => request(axios, basePath));
31611
+ },
31612
+ /**
31613
+ * Fetches a specific custom word list by ID
31614
+ * @summary Get custom word list by ID
31615
+ * @param {string} xStoreID X-Store ID
31616
+ * @param {number} customWordListID Custom Word List ID
31617
+ * @param {*} [options] Override http request option.
31618
+ * @throws {RequiredError}
31619
+ */
31620
+ adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDGet(xStoreID: string, customWordListID: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesCustomWordListResponseWrapper> {
31621
+ return localVarFp.adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDGet(xStoreID, customWordListID, options).then((request) => request(axios, basePath));
31622
+ },
31623
+ /**
31624
+ * Updates a custom word list
31625
+ * @summary Update custom word list
31626
+ * @param {string} xStoreID X-Store ID
31627
+ * @param {number} customWordListID Custom Word List ID
31628
+ * @param {DataTypesUpdateCustomWordListRequest} dataTypesUpdateCustomWordListRequest Update request
31629
+ * @param {*} [options] Override http request option.
31630
+ * @throws {RequiredError}
31631
+ */
31632
+ adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDPut(xStoreID: string, customWordListID: number, dataTypesUpdateCustomWordListRequest: DataTypesUpdateCustomWordListRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesUpdateWordStatusResponseWrapper> {
31633
+ return localVarFp.adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDPut(xStoreID, customWordListID, dataTypesUpdateCustomWordListRequest, options).then((request) => request(axios, basePath));
31634
+ },
31635
+ /**
31636
+ * Removes words from a custom word list
31637
+ * @summary Remove words from custom word list
31638
+ * @param {string} xStoreID X-Store ID
31639
+ * @param {number} customWordListID Custom Word List ID
31640
+ * @param {DataTypesRemoveWordsFromCustomListRequest} dataTypesRemoveWordsFromCustomListRequest Remove words request
31641
+ * @param {*} [options] Override http request option.
31642
+ * @throws {RequiredError}
31643
+ */
31644
+ adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsDelete(xStoreID: string, customWordListID: number, dataTypesRemoveWordsFromCustomListRequest: DataTypesRemoveWordsFromCustomListRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesUpdateWordStatusResponseWrapper> {
31645
+ return localVarFp.adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsDelete(xStoreID, customWordListID, dataTypesRemoveWordsFromCustomListRequest, options).then((request) => request(axios, basePath));
31646
+ },
31647
+ /**
31648
+ * Adds words to an existing custom word list
31649
+ * @summary Add words to custom word list
31650
+ * @param {string} xStoreID X-Store ID
31651
+ * @param {number} customWordListID Custom Word List ID
31652
+ * @param {DataTypesAddWordsToCustomListRequest} dataTypesAddWordsToCustomListRequest Add words request
31653
+ * @param {*} [options] Override http request option.
31654
+ * @throws {RequiredError}
31655
+ */
31656
+ adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsPost(xStoreID: string, customWordListID: number, dataTypesAddWordsToCustomListRequest: DataTypesAddWordsToCustomListRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesUpdateWordStatusResponseWrapper> {
31657
+ return localVarFp.adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsPost(xStoreID, customWordListID, dataTypesAddWordsToCustomListRequest, options).then((request) => request(axios, basePath));
31658
+ },
31659
+ /**
31660
+ * Fetches custom word lists for a store with pagination
31661
+ * @summary Get custom word lists
31662
+ * @param {string} xStoreID X-Store ID
31663
+ * @param {string} [lang] Language locale filter (e.g. \&#39;en\&#39;, \&#39;ar\&#39;)
31664
+ * @param {string} [type] Type filter (stopwords, synonyms)
31665
+ * @param {number} [page] Page number (default: 1)
31666
+ * @param {number} [limit] Items per page (default: 10)
31667
+ * @param {*} [options] Override http request option.
31668
+ * @throws {RequiredError}
31669
+ */
31670
+ adminStoresXStoreIDStopwordsCustomWordlistsGet(xStoreID: string, lang?: string, type?: string, page?: number, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesCustomWordListsResponseWrapper> {
31671
+ return localVarFp.adminStoresXStoreIDStopwordsCustomWordlistsGet(xStoreID, lang, type, page, limit, options).then((request) => request(axios, basePath));
31672
+ },
31673
+ /**
31674
+ * Creates a new custom word list for a store
31675
+ * @summary Create custom word list
31676
+ * @param {string} xStoreID X-Store ID
31677
+ * @param {DataTypesCreateCustomWordListRequest} dataTypesCreateCustomWordListRequest Custom word list creation request
31678
+ * @param {*} [options] Override http request option.
31679
+ * @throws {RequiredError}
31680
+ */
31681
+ adminStoresXStoreIDStopwordsCustomWordlistsPost(xStoreID: string, dataTypesCreateCustomWordListRequest: DataTypesCreateCustomWordListRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesCustomWordListResponseWrapper> {
31682
+ return localVarFp.adminStoresXStoreIDStopwordsCustomWordlistsPost(xStoreID, dataTypesCreateCustomWordListRequest, options).then((request) => request(axios, basePath));
31683
+ },
31684
+ };
31685
+ };
31686
+
31687
+ /**
31688
+ * CustomStopwordsApi - object-oriented interface
31689
+ * @export
31690
+ * @class CustomStopwordsApi
31691
+ * @extends {BaseAPI}
31692
+ */
31693
+ export class CustomStopwordsApi extends BaseAPI {
31694
+ /**
31695
+ * Deletes a custom word list (soft delete)
31696
+ * @summary Delete custom word list
31697
+ * @param {string} xStoreID X-Store ID
31698
+ * @param {number} customWordListID Custom Word List ID
31699
+ * @param {*} [options] Override http request option.
31700
+ * @throws {RequiredError}
31701
+ * @memberof CustomStopwordsApi
31702
+ */
31703
+ public adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDDelete(xStoreID: string, customWordListID: number, options?: RawAxiosRequestConfig) {
31704
+ return CustomStopwordsApiFp(this.configuration).adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDDelete(xStoreID, customWordListID, options).then((request) => request(this.axios, this.basePath));
31705
+ }
31706
+
31707
+ /**
31708
+ * Fetches a specific custom word list by ID
31709
+ * @summary Get custom word list by ID
31710
+ * @param {string} xStoreID X-Store ID
31711
+ * @param {number} customWordListID Custom Word List ID
31712
+ * @param {*} [options] Override http request option.
31713
+ * @throws {RequiredError}
31714
+ * @memberof CustomStopwordsApi
31715
+ */
31716
+ public adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDGet(xStoreID: string, customWordListID: number, options?: RawAxiosRequestConfig) {
31717
+ return CustomStopwordsApiFp(this.configuration).adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDGet(xStoreID, customWordListID, options).then((request) => request(this.axios, this.basePath));
31718
+ }
31719
+
31720
+ /**
31721
+ * Updates a custom word list
31722
+ * @summary Update custom word list
31723
+ * @param {string} xStoreID X-Store ID
31724
+ * @param {number} customWordListID Custom Word List ID
31725
+ * @param {DataTypesUpdateCustomWordListRequest} dataTypesUpdateCustomWordListRequest Update request
31726
+ * @param {*} [options] Override http request option.
31727
+ * @throws {RequiredError}
31728
+ * @memberof CustomStopwordsApi
31729
+ */
31730
+ public adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDPut(xStoreID: string, customWordListID: number, dataTypesUpdateCustomWordListRequest: DataTypesUpdateCustomWordListRequest, options?: RawAxiosRequestConfig) {
31731
+ return CustomStopwordsApiFp(this.configuration).adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDPut(xStoreID, customWordListID, dataTypesUpdateCustomWordListRequest, options).then((request) => request(this.axios, this.basePath));
31732
+ }
31733
+
31734
+ /**
31735
+ * Removes words from a custom word list
31736
+ * @summary Remove words from custom word list
31737
+ * @param {string} xStoreID X-Store ID
31738
+ * @param {number} customWordListID Custom Word List ID
31739
+ * @param {DataTypesRemoveWordsFromCustomListRequest} dataTypesRemoveWordsFromCustomListRequest Remove words request
31740
+ * @param {*} [options] Override http request option.
31741
+ * @throws {RequiredError}
31742
+ * @memberof CustomStopwordsApi
31743
+ */
31744
+ public adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsDelete(xStoreID: string, customWordListID: number, dataTypesRemoveWordsFromCustomListRequest: DataTypesRemoveWordsFromCustomListRequest, options?: RawAxiosRequestConfig) {
31745
+ return CustomStopwordsApiFp(this.configuration).adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsDelete(xStoreID, customWordListID, dataTypesRemoveWordsFromCustomListRequest, options).then((request) => request(this.axios, this.basePath));
31746
+ }
31747
+
31748
+ /**
31749
+ * Adds words to an existing custom word list
31750
+ * @summary Add words to custom word list
31751
+ * @param {string} xStoreID X-Store ID
31752
+ * @param {number} customWordListID Custom Word List ID
31753
+ * @param {DataTypesAddWordsToCustomListRequest} dataTypesAddWordsToCustomListRequest Add words request
31754
+ * @param {*} [options] Override http request option.
31755
+ * @throws {RequiredError}
31756
+ * @memberof CustomStopwordsApi
31757
+ */
31758
+ public adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsPost(xStoreID: string, customWordListID: number, dataTypesAddWordsToCustomListRequest: DataTypesAddWordsToCustomListRequest, options?: RawAxiosRequestConfig) {
31759
+ return CustomStopwordsApiFp(this.configuration).adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsPost(xStoreID, customWordListID, dataTypesAddWordsToCustomListRequest, options).then((request) => request(this.axios, this.basePath));
31760
+ }
31761
+
31762
+ /**
31763
+ * Fetches custom word lists for a store with pagination
31764
+ * @summary Get custom word lists
31765
+ * @param {string} xStoreID X-Store ID
31766
+ * @param {string} [lang] Language locale filter (e.g. \&#39;en\&#39;, \&#39;ar\&#39;)
31767
+ * @param {string} [type] Type filter (stopwords, synonyms)
31768
+ * @param {number} [page] Page number (default: 1)
31769
+ * @param {number} [limit] Items per page (default: 10)
31770
+ * @param {*} [options] Override http request option.
31771
+ * @throws {RequiredError}
31772
+ * @memberof CustomStopwordsApi
31773
+ */
31774
+ public adminStoresXStoreIDStopwordsCustomWordlistsGet(xStoreID: string, lang?: string, type?: string, page?: number, limit?: number, options?: RawAxiosRequestConfig) {
31775
+ return CustomStopwordsApiFp(this.configuration).adminStoresXStoreIDStopwordsCustomWordlistsGet(xStoreID, lang, type, page, limit, options).then((request) => request(this.axios, this.basePath));
31776
+ }
31777
+
31778
+ /**
31779
+ * Creates a new custom word list for a store
31780
+ * @summary Create custom word list
31781
+ * @param {string} xStoreID X-Store ID
31782
+ * @param {DataTypesCreateCustomWordListRequest} dataTypesCreateCustomWordListRequest Custom word list creation request
31783
+ * @param {*} [options] Override http request option.
31784
+ * @throws {RequiredError}
31785
+ * @memberof CustomStopwordsApi
31786
+ */
31787
+ public adminStoresXStoreIDStopwordsCustomWordlistsPost(xStoreID: string, dataTypesCreateCustomWordListRequest: DataTypesCreateCustomWordListRequest, options?: RawAxiosRequestConfig) {
31788
+ return CustomStopwordsApiFp(this.configuration).adminStoresXStoreIDStopwordsCustomWordlistsPost(xStoreID, dataTypesCreateCustomWordListRequest, options).then((request) => request(this.axios, this.basePath));
31789
+ }
31790
+ }
31791
+
31792
+
31793
+
31794
+ /**
31795
+ * DocumentsApi - axios parameter creator
31796
+ * @export
31797
+ */
31798
+ export const DocumentsApiAxiosParamCreator = function (configuration?: Configuration) {
31799
+ return {
31800
+ /**
31801
+ * Uploads a document to the specified store
31802
+ * @summary Upload a document
31803
+ * @param {string} xStoreID X-Store ID
31804
+ * @param {File} file Document file
31805
+ * @param {*} [options] Override http request option.
31806
+ * @throws {RequiredError}
31807
+ */
31808
+ adminStoresXStoreIDUploadPost: async (xStoreID: string, file: File, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
31809
+ // verify required parameter 'xStoreID' is not null or undefined
31810
+ assertParamExists('adminStoresXStoreIDUploadPost', 'xStoreID', xStoreID)
31811
+ // verify required parameter 'file' is not null or undefined
31812
+ assertParamExists('adminStoresXStoreIDUploadPost', 'file', file)
31813
+ const localVarPath = `/admin/Stores/{xStoreID}/upload`
31814
+ .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
31815
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
31816
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
31817
+ let baseOptions;
31818
+ if (configuration) {
31819
+ baseOptions = configuration.baseOptions;
31820
+ }
31821
+
31822
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
31823
+ const localVarHeaderParameter = {} as any;
31824
+ const localVarQueryParameter = {} as any;
31825
+ const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
31826
+
31827
+ // authentication BearerAuth required
31828
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
31829
+
31830
+
31831
+ if (file !== undefined) {
31832
+ localVarFormParams.append('file', file as any);
31833
+ }
31834
+
31835
+
31836
+ localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
31837
+
31838
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
31839
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
31840
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
31841
+ localVarRequestOptions.data = localVarFormParams;
31842
+
31843
+ return {
31844
+ url: toPathString(localVarUrlObj),
31845
+ options: localVarRequestOptions,
31846
+ };
31847
+ },
31848
+ }
31849
+ };
31850
+
31851
+ /**
31852
+ * DocumentsApi - functional programming interface
31853
+ * @export
31854
+ */
31855
+ export const DocumentsApiFp = function(configuration?: Configuration) {
31856
+ const localVarAxiosParamCreator = DocumentsApiAxiosParamCreator(configuration)
31857
+ return {
31858
+ /**
31859
+ * Uploads a document to the specified store
31860
+ * @summary Upload a document
31861
+ * @param {string} xStoreID X-Store ID
31862
+ * @param {File} file Document file
31863
+ * @param {*} [options] Override http request option.
31864
+ * @throws {RequiredError}
31865
+ */
31866
+ async adminStoresXStoreIDUploadPost(xStoreID: string, file: File, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
31867
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminStoresXStoreIDUploadPost(xStoreID, file, options);
31868
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
31869
+ const localVarOperationServerBasePath = operationServerMap['DocumentsApi.adminStoresXStoreIDUploadPost']?.[localVarOperationServerIndex]?.url;
31870
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
31871
+ },
31872
+ }
31873
+ };
31874
+
31875
+ /**
31876
+ * DocumentsApi - factory interface
31877
+ * @export
31878
+ */
31879
+ export const DocumentsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
31880
+ const localVarFp = DocumentsApiFp(configuration)
31881
+ return {
31882
+ /**
31883
+ * Uploads a document to the specified store
31884
+ * @summary Upload a document
31885
+ * @param {string} xStoreID X-Store ID
31886
+ * @param {File} file Document file
31887
+ * @param {*} [options] Override http request option.
31888
+ * @throws {RequiredError}
31889
+ */
31890
+ adminStoresXStoreIDUploadPost(xStoreID: string, file: File, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
31891
+ return localVarFp.adminStoresXStoreIDUploadPost(xStoreID, file, options).then((request) => request(axios, basePath));
31892
+ },
31893
+ };
31894
+ };
31895
+
31896
+ /**
31897
+ * DocumentsApi - object-oriented interface
31898
+ * @export
31899
+ * @class DocumentsApi
31900
+ * @extends {BaseAPI}
31901
+ */
31902
+ export class DocumentsApi extends BaseAPI {
31903
+ /**
31904
+ * Uploads a document to the specified store
31905
+ * @summary Upload a document
31906
+ * @param {string} xStoreID X-Store ID
31907
+ * @param {File} file Document file
31908
+ * @param {*} [options] Override http request option.
31909
+ * @throws {RequiredError}
31910
+ * @memberof DocumentsApi
31911
+ */
31912
+ public adminStoresXStoreIDUploadPost(xStoreID: string, file: File, options?: RawAxiosRequestConfig) {
31913
+ return DocumentsApiFp(this.configuration).adminStoresXStoreIDUploadPost(xStoreID, file, options).then((request) => request(this.axios, this.basePath));
31914
+ }
31915
+ }
30794
31916
 
30795
31917
 
30796
-
30797
- setSearchParams(localVarUrlObj, localVarQueryParameter);
30798
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
30799
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
30800
31918
 
30801
- return {
30802
- url: toPathString(localVarUrlObj),
30803
- options: localVarRequestOptions,
30804
- };
30805
- },
31919
+ /**
31920
+ * FeatureLimitsApi - axios parameter creator
31921
+ * @export
31922
+ */
31923
+ export const FeatureLimitsApiAxiosParamCreator = function (configuration?: Configuration) {
31924
+ return {
30806
31925
  /**
30807
- * Updates a custom word list
30808
- * @summary Update custom word list
30809
- * @param {string} xStoreID X-Store ID
30810
- * @param {number} customWordListID Custom Word List ID
30811
- * @param {DataTypesUpdateCustomWordListRequest} dataTypesUpdateCustomWordListRequest Update request
31926
+ * Retrieves log of feature limit violations for monitoring
31927
+ * @summary Get feature limit violations
31928
+ * @param {string} [featureName] Filter by feature name
31929
+ * @param {number} [limit] Number of records to return (default: 50)
30812
31930
  * @param {*} [options] Override http request option.
30813
31931
  * @throws {RequiredError}
30814
31932
  */
30815
- adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDPut: async (xStoreID: string, customWordListID: number, dataTypesUpdateCustomWordListRequest: DataTypesUpdateCustomWordListRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
30816
- // verify required parameter 'xStoreID' is not null or undefined
30817
- assertParamExists('adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDPut', 'xStoreID', xStoreID)
30818
- // verify required parameter 'customWordListID' is not null or undefined
30819
- assertParamExists('adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDPut', 'customWordListID', customWordListID)
30820
- // verify required parameter 'dataTypesUpdateCustomWordListRequest' is not null or undefined
30821
- assertParamExists('adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDPut', 'dataTypesUpdateCustomWordListRequest', dataTypesUpdateCustomWordListRequest)
30822
- const localVarPath = `/admin/Stores/{xStoreID}/stopwords/custom-wordlists/{customWordListID}`
30823
- .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)))
30824
- .replace(`{${"customWordListID"}}`, encodeURIComponent(String(customWordListID)));
31933
+ apiAdminFeatureLimitsViolationsGet: async (featureName?: string, limit?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
31934
+ const localVarPath = `/api/admin/feature-limits/violations`;
30825
31935
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
30826
31936
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
30827
31937
  let baseOptions;
@@ -30829,21 +31939,26 @@ export const CustomStopwordsApiAxiosParamCreator = function (configuration?: Con
30829
31939
  baseOptions = configuration.baseOptions;
30830
31940
  }
30831
31941
 
30832
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
31942
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
30833
31943
  const localVarHeaderParameter = {} as any;
30834
31944
  const localVarQueryParameter = {} as any;
30835
31945
 
30836
31946
  // authentication BearerAuth required
30837
31947
  await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
30838
31948
 
31949
+ if (featureName !== undefined) {
31950
+ localVarQueryParameter['feature_name'] = featureName;
31951
+ }
31952
+
31953
+ if (limit !== undefined) {
31954
+ localVarQueryParameter['limit'] = limit;
31955
+ }
30839
31956
 
30840
-
30841
- localVarHeaderParameter['Content-Type'] = 'application/json';
30842
31957
 
31958
+
30843
31959
  setSearchParams(localVarUrlObj, localVarQueryParameter);
30844
31960
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
30845
31961
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
30846
- localVarRequestOptions.data = serializeDataIfNeeded(dataTypesUpdateCustomWordListRequest, localVarRequestOptions, configuration)
30847
31962
 
30848
31963
  return {
30849
31964
  url: toPathString(localVarUrlObj),
@@ -30851,24 +31966,17 @@ export const CustomStopwordsApiAxiosParamCreator = function (configuration?: Con
30851
31966
  };
30852
31967
  },
30853
31968
  /**
30854
- * Removes words from a custom word list
30855
- * @summary Remove words from custom word list
30856
- * @param {string} xStoreID X-Store ID
30857
- * @param {number} customWordListID Custom Word List ID
30858
- * @param {DataTypesRemoveWordsFromCustomListRequest} dataTypesRemoveWordsFromCustomListRequest Remove words request
31969
+ * Checks if a specific feature is within limits without incrementing usage
31970
+ * @summary Check if a feature can be used
31971
+ * @param {string} featureName Feature name to check
31972
+ * @param {number} [amount] Amount to check (default: 1)
30859
31973
  * @param {*} [options] Override http request option.
30860
31974
  * @throws {RequiredError}
30861
31975
  */
30862
- adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsDelete: async (xStoreID: string, customWordListID: number, dataTypesRemoveWordsFromCustomListRequest: DataTypesRemoveWordsFromCustomListRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
30863
- // verify required parameter 'xStoreID' is not null or undefined
30864
- assertParamExists('adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsDelete', 'xStoreID', xStoreID)
30865
- // verify required parameter 'customWordListID' is not null or undefined
30866
- assertParamExists('adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsDelete', 'customWordListID', customWordListID)
30867
- // verify required parameter 'dataTypesRemoveWordsFromCustomListRequest' is not null or undefined
30868
- assertParamExists('adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsDelete', 'dataTypesRemoveWordsFromCustomListRequest', dataTypesRemoveWordsFromCustomListRequest)
30869
- const localVarPath = `/admin/Stores/{xStoreID}/stopwords/custom-wordlists/{customWordListID}/words`
30870
- .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)))
30871
- .replace(`{${"customWordListID"}}`, encodeURIComponent(String(customWordListID)));
31976
+ apiFeatureLimitsCheckGet: async (featureName: string, amount?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
31977
+ // verify required parameter 'featureName' is not null or undefined
31978
+ assertParamExists('apiFeatureLimitsCheckGet', 'featureName', featureName)
31979
+ const localVarPath = `/api/feature-limits/check`;
30872
31980
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
30873
31981
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
30874
31982
  let baseOptions;
@@ -30876,21 +31984,26 @@ export const CustomStopwordsApiAxiosParamCreator = function (configuration?: Con
30876
31984
  baseOptions = configuration.baseOptions;
30877
31985
  }
30878
31986
 
30879
- const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
31987
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
30880
31988
  const localVarHeaderParameter = {} as any;
30881
31989
  const localVarQueryParameter = {} as any;
30882
31990
 
30883
31991
  // authentication BearerAuth required
30884
31992
  await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
30885
31993
 
31994
+ if (featureName !== undefined) {
31995
+ localVarQueryParameter['feature_name'] = featureName;
31996
+ }
31997
+
31998
+ if (amount !== undefined) {
31999
+ localVarQueryParameter['amount'] = amount;
32000
+ }
30886
32001
 
30887
-
30888
- localVarHeaderParameter['Content-Type'] = 'application/json';
30889
32002
 
32003
+
30890
32004
  setSearchParams(localVarUrlObj, localVarQueryParameter);
30891
32005
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
30892
32006
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
30893
- localVarRequestOptions.data = serializeDataIfNeeded(dataTypesRemoveWordsFromCustomListRequest, localVarRequestOptions, configuration)
30894
32007
 
30895
32008
  return {
30896
32009
  url: toPathString(localVarUrlObj),
@@ -30898,24 +32011,15 @@ export const CustomStopwordsApiAxiosParamCreator = function (configuration?: Con
30898
32011
  };
30899
32012
  },
30900
32013
  /**
30901
- * Adds words to an existing custom word list
30902
- * @summary Add words to custom word list
30903
- * @param {string} xStoreID X-Store ID
30904
- * @param {number} customWordListID Custom Word List ID
30905
- * @param {DataTypesAddWordsToCustomListRequest} dataTypesAddWordsToCustomListRequest Add words request
32014
+ * Retrieves historical feature usage events for the organization
32015
+ * @summary Get feature usage history
32016
+ * @param {string} [featureName] Filter by feature name
32017
+ * @param {number} [limit] Number of records to return (default: 100)
30906
32018
  * @param {*} [options] Override http request option.
30907
32019
  * @throws {RequiredError}
30908
32020
  */
30909
- adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsPost: async (xStoreID: string, customWordListID: number, dataTypesAddWordsToCustomListRequest: DataTypesAddWordsToCustomListRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
30910
- // verify required parameter 'xStoreID' is not null or undefined
30911
- assertParamExists('adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsPost', 'xStoreID', xStoreID)
30912
- // verify required parameter 'customWordListID' is not null or undefined
30913
- assertParamExists('adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsPost', 'customWordListID', customWordListID)
30914
- // verify required parameter 'dataTypesAddWordsToCustomListRequest' is not null or undefined
30915
- assertParamExists('adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsPost', 'dataTypesAddWordsToCustomListRequest', dataTypesAddWordsToCustomListRequest)
30916
- const localVarPath = `/admin/Stores/{xStoreID}/stopwords/custom-wordlists/{customWordListID}/words`
30917
- .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)))
30918
- .replace(`{${"customWordListID"}}`, encodeURIComponent(String(customWordListID)));
32021
+ apiFeatureLimitsHistoryGet: async (featureName?: string, limit?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
32022
+ const localVarPath = `/api/feature-limits/history`;
30919
32023
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
30920
32024
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
30921
32025
  let baseOptions;
@@ -30923,21 +32027,26 @@ export const CustomStopwordsApiAxiosParamCreator = function (configuration?: Con
30923
32027
  baseOptions = configuration.baseOptions;
30924
32028
  }
30925
32029
 
30926
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
32030
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
30927
32031
  const localVarHeaderParameter = {} as any;
30928
32032
  const localVarQueryParameter = {} as any;
30929
32033
 
30930
32034
  // authentication BearerAuth required
30931
32035
  await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
30932
32036
 
32037
+ if (featureName !== undefined) {
32038
+ localVarQueryParameter['feature_name'] = featureName;
32039
+ }
32040
+
32041
+ if (limit !== undefined) {
32042
+ localVarQueryParameter['limit'] = limit;
32043
+ }
32044
+
30933
32045
 
30934
32046
 
30935
- localVarHeaderParameter['Content-Type'] = 'application/json';
30936
-
30937
32047
  setSearchParams(localVarUrlObj, localVarQueryParameter);
30938
32048
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
30939
32049
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
30940
- localVarRequestOptions.data = serializeDataIfNeeded(dataTypesAddWordsToCustomListRequest, localVarRequestOptions, configuration)
30941
32050
 
30942
32051
  return {
30943
32052
  url: toPathString(localVarUrlObj),
@@ -30945,21 +32054,13 @@ export const CustomStopwordsApiAxiosParamCreator = function (configuration?: Con
30945
32054
  };
30946
32055
  },
30947
32056
  /**
30948
- * Fetches custom word lists for a store with pagination
30949
- * @summary Get custom word lists
30950
- * @param {string} xStoreID X-Store ID
30951
- * @param {string} [lang] Language locale filter (e.g. \&#39;en\&#39;, \&#39;ar\&#39;)
30952
- * @param {string} [type] Type filter (stopwords, synonyms)
30953
- * @param {number} [page] Page number (default: 1)
30954
- * @param {number} [limit] Items per page (default: 10)
32057
+ * Retrieves the organization\'s current plan with all feature limits
32058
+ * @summary Get organization plan features
30955
32059
  * @param {*} [options] Override http request option.
30956
32060
  * @throws {RequiredError}
30957
32061
  */
30958
- adminStoresXStoreIDStopwordsCustomWordlistsGet: async (xStoreID: string, lang?: string, type?: string, page?: number, limit?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
30959
- // verify required parameter 'xStoreID' is not null or undefined
30960
- assertParamExists('adminStoresXStoreIDStopwordsCustomWordlistsGet', 'xStoreID', xStoreID)
30961
- const localVarPath = `/admin/Stores/{xStoreID}/stopwords/custom-wordlists`
30962
- .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
32062
+ apiFeatureLimitsPlanGet: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
32063
+ const localVarPath = `/api/feature-limits/plan`;
30963
32064
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
30964
32065
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
30965
32066
  let baseOptions;
@@ -30974,22 +32075,6 @@ export const CustomStopwordsApiAxiosParamCreator = function (configuration?: Con
30974
32075
  // authentication BearerAuth required
30975
32076
  await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
30976
32077
 
30977
- if (lang !== undefined) {
30978
- localVarQueryParameter['lang'] = lang;
30979
- }
30980
-
30981
- if (type !== undefined) {
30982
- localVarQueryParameter['type'] = type;
30983
- }
30984
-
30985
- if (page !== undefined) {
30986
- localVarQueryParameter['page'] = page;
30987
- }
30988
-
30989
- if (limit !== undefined) {
30990
- localVarQueryParameter['limit'] = limit;
30991
- }
30992
-
30993
32078
 
30994
32079
 
30995
32080
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -31002,20 +32087,13 @@ export const CustomStopwordsApiAxiosParamCreator = function (configuration?: Con
31002
32087
  };
31003
32088
  },
31004
32089
  /**
31005
- * Creates a new custom word list for a store
31006
- * @summary Create custom word list
31007
- * @param {string} xStoreID X-Store ID
31008
- * @param {DataTypesCreateCustomWordListRequest} dataTypesCreateCustomWordListRequest Custom word list creation request
32090
+ * Retrieves current feature usage statistics for the organization
32091
+ * @summary Get feature usage statistics
31009
32092
  * @param {*} [options] Override http request option.
31010
32093
  * @throws {RequiredError}
31011
32094
  */
31012
- adminStoresXStoreIDStopwordsCustomWordlistsPost: async (xStoreID: string, dataTypesCreateCustomWordListRequest: DataTypesCreateCustomWordListRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
31013
- // verify required parameter 'xStoreID' is not null or undefined
31014
- assertParamExists('adminStoresXStoreIDStopwordsCustomWordlistsPost', 'xStoreID', xStoreID)
31015
- // verify required parameter 'dataTypesCreateCustomWordListRequest' is not null or undefined
31016
- assertParamExists('adminStoresXStoreIDStopwordsCustomWordlistsPost', 'dataTypesCreateCustomWordListRequest', dataTypesCreateCustomWordListRequest)
31017
- const localVarPath = `/admin/Stores/{xStoreID}/stopwords/custom-wordlists`
31018
- .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
32095
+ apiFeatureLimitsUsageGet: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
32096
+ const localVarPath = `/api/feature-limits/usage`;
31019
32097
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
31020
32098
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
31021
32099
  let baseOptions;
@@ -31023,7 +32101,7 @@ export const CustomStopwordsApiAxiosParamCreator = function (configuration?: Con
31023
32101
  baseOptions = configuration.baseOptions;
31024
32102
  }
31025
32103
 
31026
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
32104
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
31027
32105
  const localVarHeaderParameter = {} as any;
31028
32106
  const localVarQueryParameter = {} as any;
31029
32107
 
@@ -31032,12 +32110,9 @@ export const CustomStopwordsApiAxiosParamCreator = function (configuration?: Con
31032
32110
 
31033
32111
 
31034
32112
 
31035
- localVarHeaderParameter['Content-Type'] = 'application/json';
31036
-
31037
32113
  setSearchParams(localVarUrlObj, localVarQueryParameter);
31038
32114
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
31039
32115
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
31040
- localVarRequestOptions.data = serializeDataIfNeeded(dataTypesCreateCustomWordListRequest, localVarRequestOptions, configuration)
31041
32116
 
31042
32117
  return {
31043
32118
  url: toPathString(localVarUrlObj),
@@ -31048,340 +32123,227 @@ export const CustomStopwordsApiAxiosParamCreator = function (configuration?: Con
31048
32123
  };
31049
32124
 
31050
32125
  /**
31051
- * CustomStopwordsApi - functional programming interface
32126
+ * FeatureLimitsApi - functional programming interface
31052
32127
  * @export
31053
32128
  */
31054
- export const CustomStopwordsApiFp = function(configuration?: Configuration) {
31055
- const localVarAxiosParamCreator = CustomStopwordsApiAxiosParamCreator(configuration)
32129
+ export const FeatureLimitsApiFp = function(configuration?: Configuration) {
32130
+ const localVarAxiosParamCreator = FeatureLimitsApiAxiosParamCreator(configuration)
31056
32131
  return {
31057
32132
  /**
31058
- * Deletes a custom word list (soft delete)
31059
- * @summary Delete custom word list
31060
- * @param {string} xStoreID X-Store ID
31061
- * @param {number} customWordListID Custom Word List ID
31062
- * @param {*} [options] Override http request option.
31063
- * @throws {RequiredError}
31064
- */
31065
- async adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDDelete(xStoreID: string, customWordListID: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesUpdateWordStatusResponseWrapper>> {
31066
- const localVarAxiosArgs = await localVarAxiosParamCreator.adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDDelete(xStoreID, customWordListID, options);
31067
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
31068
- const localVarOperationServerBasePath = operationServerMap['CustomStopwordsApi.adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDDelete']?.[localVarOperationServerIndex]?.url;
31069
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
31070
- },
31071
- /**
31072
- * Fetches a specific custom word list by ID
31073
- * @summary Get custom word list by ID
31074
- * @param {string} xStoreID X-Store ID
31075
- * @param {number} customWordListID Custom Word List ID
31076
- * @param {*} [options] Override http request option.
31077
- * @throws {RequiredError}
31078
- */
31079
- async adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDGet(xStoreID: string, customWordListID: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesCustomWordListResponseWrapper>> {
31080
- const localVarAxiosArgs = await localVarAxiosParamCreator.adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDGet(xStoreID, customWordListID, options);
31081
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
31082
- const localVarOperationServerBasePath = operationServerMap['CustomStopwordsApi.adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDGet']?.[localVarOperationServerIndex]?.url;
31083
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
31084
- },
31085
- /**
31086
- * Updates a custom word list
31087
- * @summary Update custom word list
31088
- * @param {string} xStoreID X-Store ID
31089
- * @param {number} customWordListID Custom Word List ID
31090
- * @param {DataTypesUpdateCustomWordListRequest} dataTypesUpdateCustomWordListRequest Update request
32133
+ * Retrieves log of feature limit violations for monitoring
32134
+ * @summary Get feature limit violations
32135
+ * @param {string} [featureName] Filter by feature name
32136
+ * @param {number} [limit] Number of records to return (default: 50)
31091
32137
  * @param {*} [options] Override http request option.
31092
32138
  * @throws {RequiredError}
31093
32139
  */
31094
- async adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDPut(xStoreID: string, customWordListID: number, dataTypesUpdateCustomWordListRequest: DataTypesUpdateCustomWordListRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesUpdateWordStatusResponseWrapper>> {
31095
- const localVarAxiosArgs = await localVarAxiosParamCreator.adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDPut(xStoreID, customWordListID, dataTypesUpdateCustomWordListRequest, options);
32140
+ async apiAdminFeatureLimitsViolationsGet(featureName?: string, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApiAdminFeatureLimitsViolationsGet200Response>> {
32141
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiAdminFeatureLimitsViolationsGet(featureName, limit, options);
31096
32142
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
31097
- const localVarOperationServerBasePath = operationServerMap['CustomStopwordsApi.adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDPut']?.[localVarOperationServerIndex]?.url;
32143
+ const localVarOperationServerBasePath = operationServerMap['FeatureLimitsApi.apiAdminFeatureLimitsViolationsGet']?.[localVarOperationServerIndex]?.url;
31098
32144
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
31099
32145
  },
31100
32146
  /**
31101
- * Removes words from a custom word list
31102
- * @summary Remove words from custom word list
31103
- * @param {string} xStoreID X-Store ID
31104
- * @param {number} customWordListID Custom Word List ID
31105
- * @param {DataTypesRemoveWordsFromCustomListRequest} dataTypesRemoveWordsFromCustomListRequest Remove words request
32147
+ * Checks if a specific feature is within limits without incrementing usage
32148
+ * @summary Check if a feature can be used
32149
+ * @param {string} featureName Feature name to check
32150
+ * @param {number} [amount] Amount to check (default: 1)
31106
32151
  * @param {*} [options] Override http request option.
31107
32152
  * @throws {RequiredError}
31108
32153
  */
31109
- async adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsDelete(xStoreID: string, customWordListID: number, dataTypesRemoveWordsFromCustomListRequest: DataTypesRemoveWordsFromCustomListRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesUpdateWordStatusResponseWrapper>> {
31110
- const localVarAxiosArgs = await localVarAxiosParamCreator.adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsDelete(xStoreID, customWordListID, dataTypesRemoveWordsFromCustomListRequest, options);
32154
+ async apiFeatureLimitsCheckGet(featureName: string, amount?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApiFeatureLimitsCheckGet200Response>> {
32155
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiFeatureLimitsCheckGet(featureName, amount, options);
31111
32156
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
31112
- const localVarOperationServerBasePath = operationServerMap['CustomStopwordsApi.adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsDelete']?.[localVarOperationServerIndex]?.url;
32157
+ const localVarOperationServerBasePath = operationServerMap['FeatureLimitsApi.apiFeatureLimitsCheckGet']?.[localVarOperationServerIndex]?.url;
31113
32158
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
31114
32159
  },
31115
32160
  /**
31116
- * Adds words to an existing custom word list
31117
- * @summary Add words to custom word list
31118
- * @param {string} xStoreID X-Store ID
31119
- * @param {number} customWordListID Custom Word List ID
31120
- * @param {DataTypesAddWordsToCustomListRequest} dataTypesAddWordsToCustomListRequest Add words request
32161
+ * Retrieves historical feature usage events for the organization
32162
+ * @summary Get feature usage history
32163
+ * @param {string} [featureName] Filter by feature name
32164
+ * @param {number} [limit] Number of records to return (default: 100)
31121
32165
  * @param {*} [options] Override http request option.
31122
32166
  * @throws {RequiredError}
31123
32167
  */
31124
- async adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsPost(xStoreID: string, customWordListID: number, dataTypesAddWordsToCustomListRequest: DataTypesAddWordsToCustomListRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesUpdateWordStatusResponseWrapper>> {
31125
- const localVarAxiosArgs = await localVarAxiosParamCreator.adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsPost(xStoreID, customWordListID, dataTypesAddWordsToCustomListRequest, options);
32168
+ async apiFeatureLimitsHistoryGet(featureName?: string, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApiFeatureLimitsHistoryGet200Response>> {
32169
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiFeatureLimitsHistoryGet(featureName, limit, options);
31126
32170
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
31127
- const localVarOperationServerBasePath = operationServerMap['CustomStopwordsApi.adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsPost']?.[localVarOperationServerIndex]?.url;
32171
+ const localVarOperationServerBasePath = operationServerMap['FeatureLimitsApi.apiFeatureLimitsHistoryGet']?.[localVarOperationServerIndex]?.url;
31128
32172
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
31129
32173
  },
31130
32174
  /**
31131
- * Fetches custom word lists for a store with pagination
31132
- * @summary Get custom word lists
31133
- * @param {string} xStoreID X-Store ID
31134
- * @param {string} [lang] Language locale filter (e.g. \&#39;en\&#39;, \&#39;ar\&#39;)
31135
- * @param {string} [type] Type filter (stopwords, synonyms)
31136
- * @param {number} [page] Page number (default: 1)
31137
- * @param {number} [limit] Items per page (default: 10)
32175
+ * Retrieves the organization\'s current plan with all feature limits
32176
+ * @summary Get organization plan features
31138
32177
  * @param {*} [options] Override http request option.
31139
32178
  * @throws {RequiredError}
31140
32179
  */
31141
- async adminStoresXStoreIDStopwordsCustomWordlistsGet(xStoreID: string, lang?: string, type?: string, page?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesCustomWordListsResponseWrapper>> {
31142
- const localVarAxiosArgs = await localVarAxiosParamCreator.adminStoresXStoreIDStopwordsCustomWordlistsGet(xStoreID, lang, type, page, limit, options);
32180
+ async apiFeatureLimitsPlanGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApiFeatureLimitsPlanGet200Response>> {
32181
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiFeatureLimitsPlanGet(options);
31143
32182
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
31144
- const localVarOperationServerBasePath = operationServerMap['CustomStopwordsApi.adminStoresXStoreIDStopwordsCustomWordlistsGet']?.[localVarOperationServerIndex]?.url;
32183
+ const localVarOperationServerBasePath = operationServerMap['FeatureLimitsApi.apiFeatureLimitsPlanGet']?.[localVarOperationServerIndex]?.url;
31145
32184
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
31146
32185
  },
31147
32186
  /**
31148
- * Creates a new custom word list for a store
31149
- * @summary Create custom word list
31150
- * @param {string} xStoreID X-Store ID
31151
- * @param {DataTypesCreateCustomWordListRequest} dataTypesCreateCustomWordListRequest Custom word list creation request
32187
+ * Retrieves current feature usage statistics for the organization
32188
+ * @summary Get feature usage statistics
31152
32189
  * @param {*} [options] Override http request option.
31153
32190
  * @throws {RequiredError}
31154
32191
  */
31155
- async adminStoresXStoreIDStopwordsCustomWordlistsPost(xStoreID: string, dataTypesCreateCustomWordListRequest: DataTypesCreateCustomWordListRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesCustomWordListResponseWrapper>> {
31156
- const localVarAxiosArgs = await localVarAxiosParamCreator.adminStoresXStoreIDStopwordsCustomWordlistsPost(xStoreID, dataTypesCreateCustomWordListRequest, options);
32192
+ async apiFeatureLimitsUsageGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApiFeatureLimitsUsageGet200Response>> {
32193
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiFeatureLimitsUsageGet(options);
31157
32194
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
31158
- const localVarOperationServerBasePath = operationServerMap['CustomStopwordsApi.adminStoresXStoreIDStopwordsCustomWordlistsPost']?.[localVarOperationServerIndex]?.url;
32195
+ const localVarOperationServerBasePath = operationServerMap['FeatureLimitsApi.apiFeatureLimitsUsageGet']?.[localVarOperationServerIndex]?.url;
31159
32196
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
31160
32197
  },
31161
32198
  }
31162
32199
  };
31163
32200
 
31164
32201
  /**
31165
- * CustomStopwordsApi - factory interface
31166
- * @export
31167
- */
31168
- export const CustomStopwordsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
31169
- const localVarFp = CustomStopwordsApiFp(configuration)
31170
- return {
31171
- /**
31172
- * Deletes a custom word list (soft delete)
31173
- * @summary Delete custom word list
31174
- * @param {string} xStoreID X-Store ID
31175
- * @param {number} customWordListID Custom Word List ID
31176
- * @param {*} [options] Override http request option.
31177
- * @throws {RequiredError}
31178
- */
31179
- adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDDelete(xStoreID: string, customWordListID: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesUpdateWordStatusResponseWrapper> {
31180
- return localVarFp.adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDDelete(xStoreID, customWordListID, options).then((request) => request(axios, basePath));
31181
- },
31182
- /**
31183
- * Fetches a specific custom word list by ID
31184
- * @summary Get custom word list by ID
31185
- * @param {string} xStoreID X-Store ID
31186
- * @param {number} customWordListID Custom Word List ID
31187
- * @param {*} [options] Override http request option.
31188
- * @throws {RequiredError}
31189
- */
31190
- adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDGet(xStoreID: string, customWordListID: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesCustomWordListResponseWrapper> {
31191
- return localVarFp.adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDGet(xStoreID, customWordListID, options).then((request) => request(axios, basePath));
31192
- },
32202
+ * FeatureLimitsApi - factory interface
32203
+ * @export
32204
+ */
32205
+ export const FeatureLimitsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
32206
+ const localVarFp = FeatureLimitsApiFp(configuration)
32207
+ return {
31193
32208
  /**
31194
- * Updates a custom word list
31195
- * @summary Update custom word list
31196
- * @param {string} xStoreID X-Store ID
31197
- * @param {number} customWordListID Custom Word List ID
31198
- * @param {DataTypesUpdateCustomWordListRequest} dataTypesUpdateCustomWordListRequest Update request
32209
+ * Retrieves log of feature limit violations for monitoring
32210
+ * @summary Get feature limit violations
32211
+ * @param {string} [featureName] Filter by feature name
32212
+ * @param {number} [limit] Number of records to return (default: 50)
31199
32213
  * @param {*} [options] Override http request option.
31200
32214
  * @throws {RequiredError}
31201
32215
  */
31202
- adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDPut(xStoreID: string, customWordListID: number, dataTypesUpdateCustomWordListRequest: DataTypesUpdateCustomWordListRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesUpdateWordStatusResponseWrapper> {
31203
- return localVarFp.adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDPut(xStoreID, customWordListID, dataTypesUpdateCustomWordListRequest, options).then((request) => request(axios, basePath));
32216
+ apiAdminFeatureLimitsViolationsGet(featureName?: string, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<ApiAdminFeatureLimitsViolationsGet200Response> {
32217
+ return localVarFp.apiAdminFeatureLimitsViolationsGet(featureName, limit, options).then((request) => request(axios, basePath));
31204
32218
  },
31205
32219
  /**
31206
- * Removes words from a custom word list
31207
- * @summary Remove words from custom word list
31208
- * @param {string} xStoreID X-Store ID
31209
- * @param {number} customWordListID Custom Word List ID
31210
- * @param {DataTypesRemoveWordsFromCustomListRequest} dataTypesRemoveWordsFromCustomListRequest Remove words request
32220
+ * Checks if a specific feature is within limits without incrementing usage
32221
+ * @summary Check if a feature can be used
32222
+ * @param {string} featureName Feature name to check
32223
+ * @param {number} [amount] Amount to check (default: 1)
31211
32224
  * @param {*} [options] Override http request option.
31212
32225
  * @throws {RequiredError}
31213
32226
  */
31214
- adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsDelete(xStoreID: string, customWordListID: number, dataTypesRemoveWordsFromCustomListRequest: DataTypesRemoveWordsFromCustomListRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesUpdateWordStatusResponseWrapper> {
31215
- return localVarFp.adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsDelete(xStoreID, customWordListID, dataTypesRemoveWordsFromCustomListRequest, options).then((request) => request(axios, basePath));
32227
+ apiFeatureLimitsCheckGet(featureName: string, amount?: number, options?: RawAxiosRequestConfig): AxiosPromise<ApiFeatureLimitsCheckGet200Response> {
32228
+ return localVarFp.apiFeatureLimitsCheckGet(featureName, amount, options).then((request) => request(axios, basePath));
31216
32229
  },
31217
32230
  /**
31218
- * Adds words to an existing custom word list
31219
- * @summary Add words to custom word list
31220
- * @param {string} xStoreID X-Store ID
31221
- * @param {number} customWordListID Custom Word List ID
31222
- * @param {DataTypesAddWordsToCustomListRequest} dataTypesAddWordsToCustomListRequest Add words request
32231
+ * Retrieves historical feature usage events for the organization
32232
+ * @summary Get feature usage history
32233
+ * @param {string} [featureName] Filter by feature name
32234
+ * @param {number} [limit] Number of records to return (default: 100)
31223
32235
  * @param {*} [options] Override http request option.
31224
32236
  * @throws {RequiredError}
31225
32237
  */
31226
- adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsPost(xStoreID: string, customWordListID: number, dataTypesAddWordsToCustomListRequest: DataTypesAddWordsToCustomListRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesUpdateWordStatusResponseWrapper> {
31227
- return localVarFp.adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsPost(xStoreID, customWordListID, dataTypesAddWordsToCustomListRequest, options).then((request) => request(axios, basePath));
32238
+ apiFeatureLimitsHistoryGet(featureName?: string, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<ApiFeatureLimitsHistoryGet200Response> {
32239
+ return localVarFp.apiFeatureLimitsHistoryGet(featureName, limit, options).then((request) => request(axios, basePath));
31228
32240
  },
31229
32241
  /**
31230
- * Fetches custom word lists for a store with pagination
31231
- * @summary Get custom word lists
31232
- * @param {string} xStoreID X-Store ID
31233
- * @param {string} [lang] Language locale filter (e.g. \&#39;en\&#39;, \&#39;ar\&#39;)
31234
- * @param {string} [type] Type filter (stopwords, synonyms)
31235
- * @param {number} [page] Page number (default: 1)
31236
- * @param {number} [limit] Items per page (default: 10)
32242
+ * Retrieves the organization\'s current plan with all feature limits
32243
+ * @summary Get organization plan features
31237
32244
  * @param {*} [options] Override http request option.
31238
32245
  * @throws {RequiredError}
31239
32246
  */
31240
- adminStoresXStoreIDStopwordsCustomWordlistsGet(xStoreID: string, lang?: string, type?: string, page?: number, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesCustomWordListsResponseWrapper> {
31241
- return localVarFp.adminStoresXStoreIDStopwordsCustomWordlistsGet(xStoreID, lang, type, page, limit, options).then((request) => request(axios, basePath));
32247
+ apiFeatureLimitsPlanGet(options?: RawAxiosRequestConfig): AxiosPromise<ApiFeatureLimitsPlanGet200Response> {
32248
+ return localVarFp.apiFeatureLimitsPlanGet(options).then((request) => request(axios, basePath));
31242
32249
  },
31243
32250
  /**
31244
- * Creates a new custom word list for a store
31245
- * @summary Create custom word list
31246
- * @param {string} xStoreID X-Store ID
31247
- * @param {DataTypesCreateCustomWordListRequest} dataTypesCreateCustomWordListRequest Custom word list creation request
32251
+ * Retrieves current feature usage statistics for the organization
32252
+ * @summary Get feature usage statistics
31248
32253
  * @param {*} [options] Override http request option.
31249
32254
  * @throws {RequiredError}
31250
32255
  */
31251
- adminStoresXStoreIDStopwordsCustomWordlistsPost(xStoreID: string, dataTypesCreateCustomWordListRequest: DataTypesCreateCustomWordListRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesCustomWordListResponseWrapper> {
31252
- return localVarFp.adminStoresXStoreIDStopwordsCustomWordlistsPost(xStoreID, dataTypesCreateCustomWordListRequest, options).then((request) => request(axios, basePath));
32256
+ apiFeatureLimitsUsageGet(options?: RawAxiosRequestConfig): AxiosPromise<ApiFeatureLimitsUsageGet200Response> {
32257
+ return localVarFp.apiFeatureLimitsUsageGet(options).then((request) => request(axios, basePath));
31253
32258
  },
31254
32259
  };
31255
32260
  };
31256
32261
 
31257
32262
  /**
31258
- * CustomStopwordsApi - object-oriented interface
32263
+ * FeatureLimitsApi - object-oriented interface
31259
32264
  * @export
31260
- * @class CustomStopwordsApi
32265
+ * @class FeatureLimitsApi
31261
32266
  * @extends {BaseAPI}
31262
32267
  */
31263
- export class CustomStopwordsApi extends BaseAPI {
31264
- /**
31265
- * Deletes a custom word list (soft delete)
31266
- * @summary Delete custom word list
31267
- * @param {string} xStoreID X-Store ID
31268
- * @param {number} customWordListID Custom Word List ID
31269
- * @param {*} [options] Override http request option.
31270
- * @throws {RequiredError}
31271
- * @memberof CustomStopwordsApi
31272
- */
31273
- public adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDDelete(xStoreID: string, customWordListID: number, options?: RawAxiosRequestConfig) {
31274
- return CustomStopwordsApiFp(this.configuration).adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDDelete(xStoreID, customWordListID, options).then((request) => request(this.axios, this.basePath));
31275
- }
31276
-
31277
- /**
31278
- * Fetches a specific custom word list by ID
31279
- * @summary Get custom word list by ID
31280
- * @param {string} xStoreID X-Store ID
31281
- * @param {number} customWordListID Custom Word List ID
31282
- * @param {*} [options] Override http request option.
31283
- * @throws {RequiredError}
31284
- * @memberof CustomStopwordsApi
31285
- */
31286
- public adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDGet(xStoreID: string, customWordListID: number, options?: RawAxiosRequestConfig) {
31287
- return CustomStopwordsApiFp(this.configuration).adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDGet(xStoreID, customWordListID, options).then((request) => request(this.axios, this.basePath));
31288
- }
31289
-
32268
+ export class FeatureLimitsApi extends BaseAPI {
31290
32269
  /**
31291
- * Updates a custom word list
31292
- * @summary Update custom word list
31293
- * @param {string} xStoreID X-Store ID
31294
- * @param {number} customWordListID Custom Word List ID
31295
- * @param {DataTypesUpdateCustomWordListRequest} dataTypesUpdateCustomWordListRequest Update request
32270
+ * Retrieves log of feature limit violations for monitoring
32271
+ * @summary Get feature limit violations
32272
+ * @param {string} [featureName] Filter by feature name
32273
+ * @param {number} [limit] Number of records to return (default: 50)
31296
32274
  * @param {*} [options] Override http request option.
31297
32275
  * @throws {RequiredError}
31298
- * @memberof CustomStopwordsApi
32276
+ * @memberof FeatureLimitsApi
31299
32277
  */
31300
- public adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDPut(xStoreID: string, customWordListID: number, dataTypesUpdateCustomWordListRequest: DataTypesUpdateCustomWordListRequest, options?: RawAxiosRequestConfig) {
31301
- return CustomStopwordsApiFp(this.configuration).adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDPut(xStoreID, customWordListID, dataTypesUpdateCustomWordListRequest, options).then((request) => request(this.axios, this.basePath));
32278
+ public apiAdminFeatureLimitsViolationsGet(featureName?: string, limit?: number, options?: RawAxiosRequestConfig) {
32279
+ return FeatureLimitsApiFp(this.configuration).apiAdminFeatureLimitsViolationsGet(featureName, limit, options).then((request) => request(this.axios, this.basePath));
31302
32280
  }
31303
32281
 
31304
32282
  /**
31305
- * Removes words from a custom word list
31306
- * @summary Remove words from custom word list
31307
- * @param {string} xStoreID X-Store ID
31308
- * @param {number} customWordListID Custom Word List ID
31309
- * @param {DataTypesRemoveWordsFromCustomListRequest} dataTypesRemoveWordsFromCustomListRequest Remove words request
32283
+ * Checks if a specific feature is within limits without incrementing usage
32284
+ * @summary Check if a feature can be used
32285
+ * @param {string} featureName Feature name to check
32286
+ * @param {number} [amount] Amount to check (default: 1)
31310
32287
  * @param {*} [options] Override http request option.
31311
32288
  * @throws {RequiredError}
31312
- * @memberof CustomStopwordsApi
32289
+ * @memberof FeatureLimitsApi
31313
32290
  */
31314
- public adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsDelete(xStoreID: string, customWordListID: number, dataTypesRemoveWordsFromCustomListRequest: DataTypesRemoveWordsFromCustomListRequest, options?: RawAxiosRequestConfig) {
31315
- return CustomStopwordsApiFp(this.configuration).adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsDelete(xStoreID, customWordListID, dataTypesRemoveWordsFromCustomListRequest, options).then((request) => request(this.axios, this.basePath));
32291
+ public apiFeatureLimitsCheckGet(featureName: string, amount?: number, options?: RawAxiosRequestConfig) {
32292
+ return FeatureLimitsApiFp(this.configuration).apiFeatureLimitsCheckGet(featureName, amount, options).then((request) => request(this.axios, this.basePath));
31316
32293
  }
31317
32294
 
31318
32295
  /**
31319
- * Adds words to an existing custom word list
31320
- * @summary Add words to custom word list
31321
- * @param {string} xStoreID X-Store ID
31322
- * @param {number} customWordListID Custom Word List ID
31323
- * @param {DataTypesAddWordsToCustomListRequest} dataTypesAddWordsToCustomListRequest Add words request
32296
+ * Retrieves historical feature usage events for the organization
32297
+ * @summary Get feature usage history
32298
+ * @param {string} [featureName] Filter by feature name
32299
+ * @param {number} [limit] Number of records to return (default: 100)
31324
32300
  * @param {*} [options] Override http request option.
31325
32301
  * @throws {RequiredError}
31326
- * @memberof CustomStopwordsApi
32302
+ * @memberof FeatureLimitsApi
31327
32303
  */
31328
- public adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsPost(xStoreID: string, customWordListID: number, dataTypesAddWordsToCustomListRequest: DataTypesAddWordsToCustomListRequest, options?: RawAxiosRequestConfig) {
31329
- return CustomStopwordsApiFp(this.configuration).adminStoresXStoreIDStopwordsCustomWordlistsCustomWordListIDWordsPost(xStoreID, customWordListID, dataTypesAddWordsToCustomListRequest, options).then((request) => request(this.axios, this.basePath));
32304
+ public apiFeatureLimitsHistoryGet(featureName?: string, limit?: number, options?: RawAxiosRequestConfig) {
32305
+ return FeatureLimitsApiFp(this.configuration).apiFeatureLimitsHistoryGet(featureName, limit, options).then((request) => request(this.axios, this.basePath));
31330
32306
  }
31331
32307
 
31332
32308
  /**
31333
- * Fetches custom word lists for a store with pagination
31334
- * @summary Get custom word lists
31335
- * @param {string} xStoreID X-Store ID
31336
- * @param {string} [lang] Language locale filter (e.g. \&#39;en\&#39;, \&#39;ar\&#39;)
31337
- * @param {string} [type] Type filter (stopwords, synonyms)
31338
- * @param {number} [page] Page number (default: 1)
31339
- * @param {number} [limit] Items per page (default: 10)
32309
+ * Retrieves the organization\'s current plan with all feature limits
32310
+ * @summary Get organization plan features
31340
32311
  * @param {*} [options] Override http request option.
31341
32312
  * @throws {RequiredError}
31342
- * @memberof CustomStopwordsApi
32313
+ * @memberof FeatureLimitsApi
31343
32314
  */
31344
- public adminStoresXStoreIDStopwordsCustomWordlistsGet(xStoreID: string, lang?: string, type?: string, page?: number, limit?: number, options?: RawAxiosRequestConfig) {
31345
- return CustomStopwordsApiFp(this.configuration).adminStoresXStoreIDStopwordsCustomWordlistsGet(xStoreID, lang, type, page, limit, options).then((request) => request(this.axios, this.basePath));
32315
+ public apiFeatureLimitsPlanGet(options?: RawAxiosRequestConfig) {
32316
+ return FeatureLimitsApiFp(this.configuration).apiFeatureLimitsPlanGet(options).then((request) => request(this.axios, this.basePath));
31346
32317
  }
31347
32318
 
31348
32319
  /**
31349
- * Creates a new custom word list for a store
31350
- * @summary Create custom word list
31351
- * @param {string} xStoreID X-Store ID
31352
- * @param {DataTypesCreateCustomWordListRequest} dataTypesCreateCustomWordListRequest Custom word list creation request
32320
+ * Retrieves current feature usage statistics for the organization
32321
+ * @summary Get feature usage statistics
31353
32322
  * @param {*} [options] Override http request option.
31354
32323
  * @throws {RequiredError}
31355
- * @memberof CustomStopwordsApi
32324
+ * @memberof FeatureLimitsApi
31356
32325
  */
31357
- public adminStoresXStoreIDStopwordsCustomWordlistsPost(xStoreID: string, dataTypesCreateCustomWordListRequest: DataTypesCreateCustomWordListRequest, options?: RawAxiosRequestConfig) {
31358
- return CustomStopwordsApiFp(this.configuration).adminStoresXStoreIDStopwordsCustomWordlistsPost(xStoreID, dataTypesCreateCustomWordListRequest, options).then((request) => request(this.axios, this.basePath));
32326
+ public apiFeatureLimitsUsageGet(options?: RawAxiosRequestConfig) {
32327
+ return FeatureLimitsApiFp(this.configuration).apiFeatureLimitsUsageGet(options).then((request) => request(this.axios, this.basePath));
31359
32328
  }
31360
32329
  }
31361
32330
 
31362
32331
 
31363
32332
 
31364
32333
  /**
31365
- * DocumentsApi - axios parameter creator
32334
+ * FeatureLimitsAdminApi - axios parameter creator
31366
32335
  * @export
31367
32336
  */
31368
- export const DocumentsApiAxiosParamCreator = function (configuration?: Configuration) {
32337
+ export const FeatureLimitsAdminApiAxiosParamCreator = function (configuration?: Configuration) {
31369
32338
  return {
31370
32339
  /**
31371
- * Uploads a document to the specified store
31372
- * @summary Upload a document
31373
- * @param {string} xStoreID X-Store ID
31374
- * @param {File} file Document file
32340
+ * Invalidates the cached plan data for an organization
32341
+ * @summary Invalidate plan cache (Admin)
31375
32342
  * @param {*} [options] Override http request option.
31376
32343
  * @throws {RequiredError}
31377
32344
  */
31378
- adminStoresXStoreIDUploadPost: async (xStoreID: string, file: File, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
31379
- // verify required parameter 'xStoreID' is not null or undefined
31380
- assertParamExists('adminStoresXStoreIDUploadPost', 'xStoreID', xStoreID)
31381
- // verify required parameter 'file' is not null or undefined
31382
- assertParamExists('adminStoresXStoreIDUploadPost', 'file', file)
31383
- const localVarPath = `/admin/Stores/{xStoreID}/upload`
31384
- .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
32345
+ apiAdminFeatureLimitsCacheInvalidatePost: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
32346
+ const localVarPath = `/api/admin/feature-limits/cache/invalidate`;
31385
32347
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
31386
32348
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
31387
32349
  let baseOptions;
@@ -31392,23 +32354,55 @@ export const DocumentsApiAxiosParamCreator = function (configuration?: Configura
31392
32354
  const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
31393
32355
  const localVarHeaderParameter = {} as any;
31394
32356
  const localVarQueryParameter = {} as any;
31395
- const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
31396
32357
 
31397
32358
  // authentication BearerAuth required
31398
32359
  await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
31399
32360
 
31400
32361
 
31401
- if (file !== undefined) {
31402
- localVarFormParams.append('file', file as any);
31403
- }
31404
32362
 
31405
-
31406
- localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
32363
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
32364
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
32365
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
32366
+
32367
+ return {
32368
+ url: toPathString(localVarUrlObj),
32369
+ options: localVarRequestOptions,
32370
+ };
32371
+ },
32372
+ /**
32373
+ * Resets usage counter for a specific feature (admin only)
32374
+ * @summary Reset feature usage (Admin)
32375
+ * @param {string} featureName Feature name to reset
32376
+ * @param {*} [options] Override http request option.
32377
+ * @throws {RequiredError}
32378
+ */
32379
+ apiAdminFeatureLimitsResetPost: async (featureName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
32380
+ // verify required parameter 'featureName' is not null or undefined
32381
+ assertParamExists('apiAdminFeatureLimitsResetPost', 'featureName', featureName)
32382
+ const localVarPath = `/api/admin/feature-limits/reset`;
32383
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
32384
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
32385
+ let baseOptions;
32386
+ if (configuration) {
32387
+ baseOptions = configuration.baseOptions;
32388
+ }
32389
+
32390
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
32391
+ const localVarHeaderParameter = {} as any;
32392
+ const localVarQueryParameter = {} as any;
32393
+
32394
+ // authentication BearerAuth required
32395
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
32396
+
32397
+ if (featureName !== undefined) {
32398
+ localVarQueryParameter['feature_name'] = featureName;
32399
+ }
32400
+
32401
+
31407
32402
 
31408
32403
  setSearchParams(localVarUrlObj, localVarQueryParameter);
31409
32404
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
31410
32405
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
31411
- localVarRequestOptions.data = localVarFormParams;
31412
32406
 
31413
32407
  return {
31414
32408
  url: toPathString(localVarUrlObj),
@@ -31419,68 +32413,97 @@ export const DocumentsApiAxiosParamCreator = function (configuration?: Configura
31419
32413
  };
31420
32414
 
31421
32415
  /**
31422
- * DocumentsApi - functional programming interface
32416
+ * FeatureLimitsAdminApi - functional programming interface
31423
32417
  * @export
31424
32418
  */
31425
- export const DocumentsApiFp = function(configuration?: Configuration) {
31426
- const localVarAxiosParamCreator = DocumentsApiAxiosParamCreator(configuration)
32419
+ export const FeatureLimitsAdminApiFp = function(configuration?: Configuration) {
32420
+ const localVarAxiosParamCreator = FeatureLimitsAdminApiAxiosParamCreator(configuration)
31427
32421
  return {
31428
32422
  /**
31429
- * Uploads a document to the specified store
31430
- * @summary Upload a document
31431
- * @param {string} xStoreID X-Store ID
31432
- * @param {File} file Document file
32423
+ * Invalidates the cached plan data for an organization
32424
+ * @summary Invalidate plan cache (Admin)
31433
32425
  * @param {*} [options] Override http request option.
31434
32426
  * @throws {RequiredError}
31435
32427
  */
31436
- async adminStoresXStoreIDUploadPost(xStoreID: string, file: File, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
31437
- const localVarAxiosArgs = await localVarAxiosParamCreator.adminStoresXStoreIDUploadPost(xStoreID, file, options);
32428
+ async apiAdminFeatureLimitsCacheInvalidatePost(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
32429
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiAdminFeatureLimitsCacheInvalidatePost(options);
31438
32430
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
31439
- const localVarOperationServerBasePath = operationServerMap['DocumentsApi.adminStoresXStoreIDUploadPost']?.[localVarOperationServerIndex]?.url;
32431
+ const localVarOperationServerBasePath = operationServerMap['FeatureLimitsAdminApi.apiAdminFeatureLimitsCacheInvalidatePost']?.[localVarOperationServerIndex]?.url;
32432
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
32433
+ },
32434
+ /**
32435
+ * Resets usage counter for a specific feature (admin only)
32436
+ * @summary Reset feature usage (Admin)
32437
+ * @param {string} featureName Feature name to reset
32438
+ * @param {*} [options] Override http request option.
32439
+ * @throws {RequiredError}
32440
+ */
32441
+ async apiAdminFeatureLimitsResetPost(featureName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
32442
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiAdminFeatureLimitsResetPost(featureName, options);
32443
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
32444
+ const localVarOperationServerBasePath = operationServerMap['FeatureLimitsAdminApi.apiAdminFeatureLimitsResetPost']?.[localVarOperationServerIndex]?.url;
31440
32445
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
31441
32446
  },
31442
32447
  }
31443
32448
  };
31444
32449
 
31445
32450
  /**
31446
- * DocumentsApi - factory interface
32451
+ * FeatureLimitsAdminApi - factory interface
31447
32452
  * @export
31448
32453
  */
31449
- export const DocumentsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
31450
- const localVarFp = DocumentsApiFp(configuration)
32454
+ export const FeatureLimitsAdminApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
32455
+ const localVarFp = FeatureLimitsAdminApiFp(configuration)
31451
32456
  return {
31452
32457
  /**
31453
- * Uploads a document to the specified store
31454
- * @summary Upload a document
31455
- * @param {string} xStoreID X-Store ID
31456
- * @param {File} file Document file
32458
+ * Invalidates the cached plan data for an organization
32459
+ * @summary Invalidate plan cache (Admin)
31457
32460
  * @param {*} [options] Override http request option.
31458
32461
  * @throws {RequiredError}
31459
32462
  */
31460
- adminStoresXStoreIDUploadPost(xStoreID: string, file: File, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
31461
- return localVarFp.adminStoresXStoreIDUploadPost(xStoreID, file, options).then((request) => request(axios, basePath));
32463
+ apiAdminFeatureLimitsCacheInvalidatePost(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
32464
+ return localVarFp.apiAdminFeatureLimitsCacheInvalidatePost(options).then((request) => request(axios, basePath));
32465
+ },
32466
+ /**
32467
+ * Resets usage counter for a specific feature (admin only)
32468
+ * @summary Reset feature usage (Admin)
32469
+ * @param {string} featureName Feature name to reset
32470
+ * @param {*} [options] Override http request option.
32471
+ * @throws {RequiredError}
32472
+ */
32473
+ apiAdminFeatureLimitsResetPost(featureName: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
32474
+ return localVarFp.apiAdminFeatureLimitsResetPost(featureName, options).then((request) => request(axios, basePath));
31462
32475
  },
31463
32476
  };
31464
32477
  };
31465
32478
 
31466
32479
  /**
31467
- * DocumentsApi - object-oriented interface
32480
+ * FeatureLimitsAdminApi - object-oriented interface
31468
32481
  * @export
31469
- * @class DocumentsApi
32482
+ * @class FeatureLimitsAdminApi
31470
32483
  * @extends {BaseAPI}
31471
32484
  */
31472
- export class DocumentsApi extends BaseAPI {
32485
+ export class FeatureLimitsAdminApi extends BaseAPI {
31473
32486
  /**
31474
- * Uploads a document to the specified store
31475
- * @summary Upload a document
31476
- * @param {string} xStoreID X-Store ID
31477
- * @param {File} file Document file
32487
+ * Invalidates the cached plan data for an organization
32488
+ * @summary Invalidate plan cache (Admin)
31478
32489
  * @param {*} [options] Override http request option.
31479
32490
  * @throws {RequiredError}
31480
- * @memberof DocumentsApi
32491
+ * @memberof FeatureLimitsAdminApi
31481
32492
  */
31482
- public adminStoresXStoreIDUploadPost(xStoreID: string, file: File, options?: RawAxiosRequestConfig) {
31483
- return DocumentsApiFp(this.configuration).adminStoresXStoreIDUploadPost(xStoreID, file, options).then((request) => request(this.axios, this.basePath));
32493
+ public apiAdminFeatureLimitsCacheInvalidatePost(options?: RawAxiosRequestConfig) {
32494
+ return FeatureLimitsAdminApiFp(this.configuration).apiAdminFeatureLimitsCacheInvalidatePost(options).then((request) => request(this.axios, this.basePath));
32495
+ }
32496
+
32497
+ /**
32498
+ * Resets usage counter for a specific feature (admin only)
32499
+ * @summary Reset feature usage (Admin)
32500
+ * @param {string} featureName Feature name to reset
32501
+ * @param {*} [options] Override http request option.
32502
+ * @throws {RequiredError}
32503
+ * @memberof FeatureLimitsAdminApi
32504
+ */
32505
+ public apiAdminFeatureLimitsResetPost(featureName: string, options?: RawAxiosRequestConfig) {
32506
+ return FeatureLimitsAdminApiFp(this.configuration).apiAdminFeatureLimitsResetPost(featureName, options).then((request) => request(this.axios, this.basePath));
31484
32507
  }
31485
32508
  }
31486
32509
 
@@ -37468,9 +38491,46 @@ export const PaymentGatewayApiAxiosParamCreator = function (configuration?: Conf
37468
38491
  };
37469
38492
  },
37470
38493
  /**
37471
- * Verifies the current status of a payment
38494
+ * Verifies the current status of a payment using only the order ID. Returns frontend-friendly status (\"success\", \"pending\", or \"error\"). This is a simplified endpoint that can be used for polling instead of payment-status endpoint for immediate verification.
38495
+ * @summary Verify payment status by order ID
38496
+ * @param {string} orderId Order ID (internal order ID like ORD_xxx or sub_xxx)
38497
+ * @param {*} [options] Override http request option.
38498
+ * @throws {RequiredError}
38499
+ */
38500
+ adminPaymentGatewayVerifyOrderIdGet: async (orderId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
38501
+ // verify required parameter 'orderId' is not null or undefined
38502
+ assertParamExists('adminPaymentGatewayVerifyOrderIdGet', 'orderId', orderId)
38503
+ const localVarPath = `/admin/payment-gateway/verify/{order_id}`
38504
+ .replace(`{${"order_id"}}`, encodeURIComponent(String(orderId)));
38505
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
38506
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
38507
+ let baseOptions;
38508
+ if (configuration) {
38509
+ baseOptions = configuration.baseOptions;
38510
+ }
38511
+
38512
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
38513
+ const localVarHeaderParameter = {} as any;
38514
+ const localVarQueryParameter = {} as any;
38515
+
38516
+ // authentication BearerAuth required
38517
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
38518
+
38519
+
38520
+
38521
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
38522
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
38523
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
38524
+
38525
+ return {
38526
+ url: toPathString(localVarUrlObj),
38527
+ options: localVarRequestOptions,
38528
+ };
38529
+ },
38530
+ /**
38531
+ * Verifies the current status of a payment and returns frontend-friendly status (\"success\", \"pending\", or \"error\"). Accepts internal order ID (e.g., ORD_xxx) which is mapped to gateway order ID internally. This endpoint can be used for polling instead of payment-status endpoint for immediate verification.
37472
38532
  * @summary Verify payment status
37473
- * @param {DataTypesVerifyPaymentRequest} dataTypesVerifyPaymentRequest Payment verification details
38533
+ * @param {DataTypesVerifyPaymentRequest} dataTypesVerifyPaymentRequest Payment verification details (gateway_order_id can be internal order ID)
37474
38534
  * @param {*} [options] Override http request option.
37475
38535
  * @throws {RequiredError}
37476
38536
  */
@@ -37684,13 +38744,26 @@ export const PaymentGatewayApiFp = function(configuration?: Configuration) {
37684
38744
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
37685
38745
  },
37686
38746
  /**
37687
- * Verifies the current status of a payment
38747
+ * Verifies the current status of a payment using only the order ID. Returns frontend-friendly status (\"success\", \"pending\", or \"error\"). This is a simplified endpoint that can be used for polling instead of payment-status endpoint for immediate verification.
38748
+ * @summary Verify payment status by order ID
38749
+ * @param {string} orderId Order ID (internal order ID like ORD_xxx or sub_xxx)
38750
+ * @param {*} [options] Override http request option.
38751
+ * @throws {RequiredError}
38752
+ */
38753
+ async adminPaymentGatewayVerifyOrderIdGet(orderId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesPaymentStatusPollResponse>> {
38754
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminPaymentGatewayVerifyOrderIdGet(orderId, options);
38755
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
38756
+ const localVarOperationServerBasePath = operationServerMap['PaymentGatewayApi.adminPaymentGatewayVerifyOrderIdGet']?.[localVarOperationServerIndex]?.url;
38757
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
38758
+ },
38759
+ /**
38760
+ * Verifies the current status of a payment and returns frontend-friendly status (\"success\", \"pending\", or \"error\"). Accepts internal order ID (e.g., ORD_xxx) which is mapped to gateway order ID internally. This endpoint can be used for polling instead of payment-status endpoint for immediate verification.
37688
38761
  * @summary Verify payment status
37689
- * @param {DataTypesVerifyPaymentRequest} dataTypesVerifyPaymentRequest Payment verification details
38762
+ * @param {DataTypesVerifyPaymentRequest} dataTypesVerifyPaymentRequest Payment verification details (gateway_order_id can be internal order ID)
37690
38763
  * @param {*} [options] Override http request option.
37691
38764
  * @throws {RequiredError}
37692
38765
  */
37693
- async adminPaymentGatewayVerifyPost(dataTypesVerifyPaymentRequest: DataTypesVerifyPaymentRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesPaymentStatusResponse>> {
38766
+ async adminPaymentGatewayVerifyPost(dataTypesVerifyPaymentRequest: DataTypesVerifyPaymentRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesPaymentStatusPollResponse>> {
37694
38767
  const localVarAxiosArgs = await localVarAxiosParamCreator.adminPaymentGatewayVerifyPost(dataTypesVerifyPaymentRequest, options);
37695
38768
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
37696
38769
  const localVarOperationServerBasePath = operationServerMap['PaymentGatewayApi.adminPaymentGatewayVerifyPost']?.[localVarOperationServerIndex]?.url;
@@ -37794,13 +38867,23 @@ export const PaymentGatewayApiFactory = function (configuration?: Configuration,
37794
38867
  return localVarFp.adminPaymentGatewayRefundPost(dataTypesRefundRequestDto, options).then((request) => request(axios, basePath));
37795
38868
  },
37796
38869
  /**
37797
- * Verifies the current status of a payment
38870
+ * Verifies the current status of a payment using only the order ID. Returns frontend-friendly status (\"success\", \"pending\", or \"error\"). This is a simplified endpoint that can be used for polling instead of payment-status endpoint for immediate verification.
38871
+ * @summary Verify payment status by order ID
38872
+ * @param {string} orderId Order ID (internal order ID like ORD_xxx or sub_xxx)
38873
+ * @param {*} [options] Override http request option.
38874
+ * @throws {RequiredError}
38875
+ */
38876
+ adminPaymentGatewayVerifyOrderIdGet(orderId: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesPaymentStatusPollResponse> {
38877
+ return localVarFp.adminPaymentGatewayVerifyOrderIdGet(orderId, options).then((request) => request(axios, basePath));
38878
+ },
38879
+ /**
38880
+ * Verifies the current status of a payment and returns frontend-friendly status (\"success\", \"pending\", or \"error\"). Accepts internal order ID (e.g., ORD_xxx) which is mapped to gateway order ID internally. This endpoint can be used for polling instead of payment-status endpoint for immediate verification.
37798
38881
  * @summary Verify payment status
37799
- * @param {DataTypesVerifyPaymentRequest} dataTypesVerifyPaymentRequest Payment verification details
38882
+ * @param {DataTypesVerifyPaymentRequest} dataTypesVerifyPaymentRequest Payment verification details (gateway_order_id can be internal order ID)
37800
38883
  * @param {*} [options] Override http request option.
37801
38884
  * @throws {RequiredError}
37802
38885
  */
37803
- adminPaymentGatewayVerifyPost(dataTypesVerifyPaymentRequest: DataTypesVerifyPaymentRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesPaymentStatusResponse> {
38886
+ adminPaymentGatewayVerifyPost(dataTypesVerifyPaymentRequest: DataTypesVerifyPaymentRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesPaymentStatusPollResponse> {
37804
38887
  return localVarFp.adminPaymentGatewayVerifyPost(dataTypesVerifyPaymentRequest, options).then((request) => request(axios, basePath));
37805
38888
  },
37806
38889
  /**
@@ -37902,9 +38985,21 @@ export class PaymentGatewayApi extends BaseAPI {
37902
38985
  }
37903
38986
 
37904
38987
  /**
37905
- * Verifies the current status of a payment
38988
+ * Verifies the current status of a payment using only the order ID. Returns frontend-friendly status (\"success\", \"pending\", or \"error\"). This is a simplified endpoint that can be used for polling instead of payment-status endpoint for immediate verification.
38989
+ * @summary Verify payment status by order ID
38990
+ * @param {string} orderId Order ID (internal order ID like ORD_xxx or sub_xxx)
38991
+ * @param {*} [options] Override http request option.
38992
+ * @throws {RequiredError}
38993
+ * @memberof PaymentGatewayApi
38994
+ */
38995
+ public adminPaymentGatewayVerifyOrderIdGet(orderId: string, options?: RawAxiosRequestConfig) {
38996
+ return PaymentGatewayApiFp(this.configuration).adminPaymentGatewayVerifyOrderIdGet(orderId, options).then((request) => request(this.axios, this.basePath));
38997
+ }
38998
+
38999
+ /**
39000
+ * Verifies the current status of a payment and returns frontend-friendly status (\"success\", \"pending\", or \"error\"). Accepts internal order ID (e.g., ORD_xxx) which is mapped to gateway order ID internally. This endpoint can be used for polling instead of payment-status endpoint for immediate verification.
37906
39001
  * @summary Verify payment status
37907
- * @param {DataTypesVerifyPaymentRequest} dataTypesVerifyPaymentRequest Payment verification details
39002
+ * @param {DataTypesVerifyPaymentRequest} dataTypesVerifyPaymentRequest Payment verification details (gateway_order_id can be internal order ID)
37908
39003
  * @param {*} [options] Override http request option.
37909
39004
  * @throws {RequiredError}
37910
39005
  * @memberof PaymentGatewayApi