@seekora-ai/admin-api 1.0.83 → 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/README.md +21 -3
- package/api.ts +2150 -1055
- package/dist/api.d.ts +885 -133
- package/dist/api.js +636 -11
- package/dist/esm/api.d.ts +885 -133
- package/dist/esm/api.js +624 -8
- package/package.json +1 -1
- package/seekora-ai-admin-api-1.0.85.tgz +0 -0
- package/seekora-ai-admin-api-1.0.83.tgz +0 -0
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'
|
|
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'
|
|
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'
|
|
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
|
|
11630
|
+
* @interface DataTypesFeatureCheckResult
|
|
11506
11631
|
*/
|
|
11507
|
-
export interface
|
|
11632
|
+
export interface DataTypesFeatureCheckResult {
|
|
11508
11633
|
/**
|
|
11509
11634
|
*
|
|
11510
|
-
* @type {
|
|
11511
|
-
* @memberof
|
|
11635
|
+
* @type {boolean}
|
|
11636
|
+
* @memberof DataTypesFeatureCheckResult
|
|
11512
11637
|
*/
|
|
11513
|
-
'
|
|
11638
|
+
'allowed'?: boolean;
|
|
11514
11639
|
/**
|
|
11515
11640
|
*
|
|
11516
|
-
* @type {
|
|
11517
|
-
* @memberof
|
|
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
|
-
'
|
|
11644
|
+
'current_usage'?: number;
|
|
11526
11645
|
/**
|
|
11527
|
-
*
|
|
11646
|
+
*
|
|
11528
11647
|
* @type {string}
|
|
11529
|
-
* @memberof
|
|
11648
|
+
* @memberof DataTypesFeatureCheckResult
|
|
11530
11649
|
*/
|
|
11531
|
-
'
|
|
11650
|
+
'feature_name'?: string;
|
|
11532
11651
|
/**
|
|
11533
|
-
*
|
|
11534
|
-
* @type {
|
|
11535
|
-
* @memberof
|
|
11652
|
+
*
|
|
11653
|
+
* @type {boolean}
|
|
11654
|
+
* @memberof DataTypesFeatureCheckResult
|
|
11536
11655
|
*/
|
|
11537
|
-
'
|
|
11656
|
+
'is_expired'?: boolean;
|
|
11538
11657
|
/**
|
|
11539
|
-
*
|
|
11540
|
-
* @type {
|
|
11541
|
-
* @memberof
|
|
11658
|
+
*
|
|
11659
|
+
* @type {any}
|
|
11660
|
+
* @memberof DataTypesFeatureCheckResult
|
|
11542
11661
|
*/
|
|
11543
|
-
'
|
|
11662
|
+
'limit'?: any;
|
|
11544
11663
|
/**
|
|
11545
11664
|
*
|
|
11546
11665
|
* @type {string}
|
|
11547
|
-
* @memberof
|
|
11666
|
+
* @memberof DataTypesFeatureCheckResult
|
|
11548
11667
|
*/
|
|
11549
|
-
'
|
|
11668
|
+
'message'?: string;
|
|
11550
11669
|
/**
|
|
11551
|
-
*
|
|
11552
|
-
* @type {
|
|
11553
|
-
* @memberof
|
|
11670
|
+
*
|
|
11671
|
+
* @type {string}
|
|
11672
|
+
* @memberof DataTypesFeatureCheckResult
|
|
11554
11673
|
*/
|
|
11555
|
-
'
|
|
11674
|
+
'recommended_plan'?: string;
|
|
11556
11675
|
/**
|
|
11557
11676
|
*
|
|
11558
|
-
* @type {
|
|
11559
|
-
* @memberof
|
|
11677
|
+
* @type {any}
|
|
11678
|
+
* @memberof DataTypesFeatureCheckResult
|
|
11560
11679
|
*/
|
|
11561
|
-
'
|
|
11680
|
+
'remaining'?: any;
|
|
11562
11681
|
/**
|
|
11563
|
-
*
|
|
11682
|
+
*
|
|
11564
11683
|
* @type {string}
|
|
11565
|
-
* @memberof
|
|
11684
|
+
* @memberof DataTypesFeatureCheckResult
|
|
11566
11685
|
*/
|
|
11567
|
-
'
|
|
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
|
|
11697
|
+
* @interface DataTypesFeatureLimit
|
|
11573
11698
|
*/
|
|
11574
|
-
export interface
|
|
11699
|
+
export interface DataTypesFeatureLimit {
|
|
11575
11700
|
/**
|
|
11576
11701
|
*
|
|
11577
|
-
* @type {
|
|
11578
|
-
* @memberof
|
|
11702
|
+
* @type {string}
|
|
11703
|
+
* @memberof DataTypesFeatureLimit
|
|
11579
11704
|
*/
|
|
11580
|
-
'
|
|
11705
|
+
'description'?: string;
|
|
11581
11706
|
/**
|
|
11582
11707
|
*
|
|
11583
|
-
* @type {
|
|
11584
|
-
* @memberof
|
|
11708
|
+
* @type {string}
|
|
11709
|
+
* @memberof DataTypesFeatureLimit
|
|
11585
11710
|
*/
|
|
11586
|
-
'
|
|
11711
|
+
'display_label'?: string;
|
|
11587
11712
|
/**
|
|
11588
|
-
*
|
|
11713
|
+
*
|
|
11589
11714
|
* @type {string}
|
|
11590
|
-
* @memberof
|
|
11715
|
+
* @memberof DataTypesFeatureLimit
|
|
11591
11716
|
*/
|
|
11592
|
-
'
|
|
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
|
|
11740
|
+
* @interface DataTypesFeatureLimitViolation
|
|
11598
11741
|
*/
|
|
11599
|
-
export interface
|
|
11742
|
+
export interface DataTypesFeatureLimitViolation {
|
|
11600
11743
|
/**
|
|
11601
11744
|
*
|
|
11602
|
-
* @type {
|
|
11603
|
-
* @memberof
|
|
11745
|
+
* @type {string}
|
|
11746
|
+
* @memberof DataTypesFeatureLimitViolation
|
|
11604
11747
|
*/
|
|
11605
|
-
'
|
|
11748
|
+
'api_endpoint'?: string;
|
|
11606
11749
|
/**
|
|
11607
11750
|
*
|
|
11608
11751
|
* @type {number}
|
|
11609
|
-
* @memberof
|
|
11752
|
+
* @memberof DataTypesFeatureLimitViolation
|
|
11610
11753
|
*/
|
|
11611
|
-
'
|
|
11612
|
-
}
|
|
11613
|
-
/**
|
|
11614
|
-
*
|
|
11615
|
-
* @export
|
|
11616
|
-
* @interface DataTypesFulfillmentInfoSubscription
|
|
11617
|
-
*/
|
|
11618
|
-
export interface DataTypesFulfillmentInfoSubscription {
|
|
11754
|
+
'attempted_usage'?: number;
|
|
11619
11755
|
/**
|
|
11620
11756
|
*
|
|
11621
|
-
* @type {
|
|
11622
|
-
* @memberof
|
|
11757
|
+
* @type {string}
|
|
11758
|
+
* @memberof DataTypesFeatureLimitViolation
|
|
11623
11759
|
*/
|
|
11624
|
-
'
|
|
11760
|
+
'created_at'?: string;
|
|
11625
11761
|
/**
|
|
11626
11762
|
*
|
|
11627
11763
|
* @type {number}
|
|
11628
|
-
* @memberof
|
|
11764
|
+
* @memberof DataTypesFeatureLimitViolation
|
|
11629
11765
|
*/
|
|
11630
|
-
'
|
|
11766
|
+
'current_usage'?: number;
|
|
11631
11767
|
/**
|
|
11632
11768
|
*
|
|
11633
|
-
* @type {
|
|
11634
|
-
* @memberof
|
|
11769
|
+
* @type {string}
|
|
11770
|
+
* @memberof DataTypesFeatureLimitViolation
|
|
11635
11771
|
*/
|
|
11636
|
-
'
|
|
11772
|
+
'feature_name'?: string;
|
|
11637
11773
|
/**
|
|
11638
11774
|
*
|
|
11639
11775
|
* @type {string}
|
|
11640
|
-
* @memberof
|
|
11776
|
+
* @memberof DataTypesFeatureLimitViolation
|
|
11641
11777
|
*/
|
|
11642
|
-
'
|
|
11778
|
+
'ip_address'?: string;
|
|
11643
11779
|
/**
|
|
11644
11780
|
*
|
|
11645
|
-
* @type {
|
|
11646
|
-
* @memberof
|
|
11781
|
+
* @type {number}
|
|
11782
|
+
* @memberof DataTypesFeatureLimitViolation
|
|
11647
11783
|
*/
|
|
11648
|
-
'
|
|
11649
|
-
}
|
|
11650
|
-
/**
|
|
11651
|
-
*
|
|
11652
|
-
* @export
|
|
11653
|
-
* @interface DataTypesGatewayInfo
|
|
11654
|
-
*/
|
|
11655
|
-
export interface DataTypesGatewayInfo {
|
|
11784
|
+
'limit_value'?: number;
|
|
11656
11785
|
/**
|
|
11657
11786
|
*
|
|
11658
|
-
* @type {
|
|
11659
|
-
* @memberof
|
|
11787
|
+
* @type {{ [key: string]: any; }}
|
|
11788
|
+
* @memberof DataTypesFeatureLimitViolation
|
|
11660
11789
|
*/
|
|
11661
|
-
'
|
|
11790
|
+
'metadata'?: { [key: string]: any; };
|
|
11662
11791
|
/**
|
|
11663
11792
|
*
|
|
11664
|
-
* @type {
|
|
11665
|
-
* @memberof
|
|
11793
|
+
* @type {number}
|
|
11794
|
+
* @memberof DataTypesFeatureLimitViolation
|
|
11666
11795
|
*/
|
|
11667
|
-
'
|
|
11796
|
+
'org_id'?: number;
|
|
11668
11797
|
/**
|
|
11669
11798
|
*
|
|
11670
|
-
* @type {
|
|
11671
|
-
* @memberof
|
|
11799
|
+
* @type {string}
|
|
11800
|
+
* @memberof DataTypesFeatureLimitViolation
|
|
11672
11801
|
*/
|
|
11673
|
-
'
|
|
11802
|
+
'request_id'?: string;
|
|
11674
11803
|
/**
|
|
11675
11804
|
*
|
|
11676
11805
|
* @type {string}
|
|
11677
|
-
* @memberof
|
|
11806
|
+
* @memberof DataTypesFeatureLimitViolation
|
|
11678
11807
|
*/
|
|
11679
|
-
'
|
|
11680
|
-
}
|
|
11681
|
-
/**
|
|
11682
|
-
*
|
|
11683
|
-
* @export
|
|
11684
|
-
* @interface DataTypesGatewayListResponse
|
|
11685
|
-
*/
|
|
11686
|
-
export interface DataTypesGatewayListResponse {
|
|
11808
|
+
'user_agent'?: string;
|
|
11687
11809
|
/**
|
|
11688
11810
|
*
|
|
11689
|
-
* @type {
|
|
11690
|
-
* @memberof
|
|
11811
|
+
* @type {number}
|
|
11812
|
+
* @memberof DataTypesFeatureLimitViolation
|
|
11691
11813
|
*/
|
|
11692
|
-
'
|
|
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
|
|
11825
|
+
* @interface DataTypesFeatureUsageHistory
|
|
11698
11826
|
*/
|
|
11699
|
-
export interface
|
|
11827
|
+
export interface DataTypesFeatureUsageHistory {
|
|
11700
11828
|
/**
|
|
11701
|
-
*
|
|
11702
|
-
* @type {
|
|
11703
|
-
* @memberof
|
|
11829
|
+
* increment, decrement, reset
|
|
11830
|
+
* @type {string}
|
|
11831
|
+
* @memberof DataTypesFeatureUsageHistory
|
|
11704
11832
|
*/
|
|
11705
|
-
'
|
|
11833
|
+
'action'?: string;
|
|
11706
11834
|
/**
|
|
11707
11835
|
*
|
|
11708
11836
|
* @type {string}
|
|
11709
|
-
* @memberof
|
|
11837
|
+
* @memberof DataTypesFeatureUsageHistory
|
|
11710
11838
|
*/
|
|
11711
|
-
'
|
|
11839
|
+
'api_endpoint'?: string;
|
|
11712
11840
|
/**
|
|
11713
11841
|
*
|
|
11714
|
-
* @type {
|
|
11715
|
-
* @memberof
|
|
11842
|
+
* @type {string}
|
|
11843
|
+
* @memberof DataTypesFeatureUsageHistory
|
|
11716
11844
|
*/
|
|
11717
|
-
'
|
|
11718
|
-
}
|
|
11719
|
-
/**
|
|
11720
|
-
*
|
|
11721
|
-
* @export
|
|
11722
|
-
* @interface DataTypesGenericResponseArrayBillingServiceCreditConsumptionSummary
|
|
11723
|
-
*/
|
|
11724
|
-
export interface DataTypesGenericResponseArrayBillingServiceCreditConsumptionSummary {
|
|
11845
|
+
'created_at'?: string;
|
|
11725
11846
|
/**
|
|
11726
11847
|
*
|
|
11727
|
-
* @type {
|
|
11728
|
-
* @memberof
|
|
11848
|
+
* @type {string}
|
|
11849
|
+
* @memberof DataTypesFeatureUsageHistory
|
|
11729
11850
|
*/
|
|
11730
|
-
'
|
|
11851
|
+
'feature_name'?: string;
|
|
11731
11852
|
/**
|
|
11732
11853
|
*
|
|
11733
|
-
* @type {
|
|
11734
|
-
* @memberof
|
|
11854
|
+
* @type {number}
|
|
11855
|
+
* @memberof DataTypesFeatureUsageHistory
|
|
11735
11856
|
*/
|
|
11736
|
-
'
|
|
11857
|
+
'history_id'?: number;
|
|
11737
11858
|
/**
|
|
11738
11859
|
*
|
|
11739
|
-
* @type {
|
|
11740
|
-
* @memberof
|
|
11860
|
+
* @type {{ [key: string]: any; }}
|
|
11861
|
+
* @memberof DataTypesFeatureUsageHistory
|
|
11741
11862
|
*/
|
|
11742
|
-
'
|
|
11743
|
-
}
|
|
11744
|
-
/**
|
|
11745
|
-
*
|
|
11746
|
-
* @export
|
|
11747
|
-
* @interface DataTypesGenericResponseArrayBillingServiceCreditLedgerSummary
|
|
11748
|
-
*/
|
|
11749
|
-
export interface DataTypesGenericResponseArrayBillingServiceCreditLedgerSummary {
|
|
11863
|
+
'metadata'?: { [key: string]: any; };
|
|
11750
11864
|
/**
|
|
11751
11865
|
*
|
|
11752
|
-
* @type {
|
|
11753
|
-
* @memberof
|
|
11866
|
+
* @type {number}
|
|
11867
|
+
* @memberof DataTypesFeatureUsageHistory
|
|
11754
11868
|
*/
|
|
11755
|
-
'
|
|
11869
|
+
'org_id'?: number;
|
|
11756
11870
|
/**
|
|
11757
11871
|
*
|
|
11758
11872
|
* @type {string}
|
|
11759
|
-
* @memberof
|
|
11873
|
+
* @memberof DataTypesFeatureUsageHistory
|
|
11760
11874
|
*/
|
|
11761
|
-
'
|
|
11875
|
+
'request_id'?: string;
|
|
11762
11876
|
/**
|
|
11763
11877
|
*
|
|
11764
11878
|
* @type {number}
|
|
11765
|
-
* @memberof
|
|
11879
|
+
* @memberof DataTypesFeatureUsageHistory
|
|
11766
11880
|
*/
|
|
11767
|
-
'
|
|
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
|
|
11892
|
+
* @interface DataTypesFeatureUsageStats
|
|
11773
11893
|
*/
|
|
11774
|
-
export interface
|
|
11775
|
-
/**
|
|
11776
|
-
*
|
|
11777
|
-
* @type {Array<BillingServiceCreditPurchaseSummary>}
|
|
11778
|
-
* @memberof DataTypesGenericResponseArrayBillingServiceCreditPurchaseSummary
|
|
11779
|
-
*/
|
|
11780
|
-
'data'?: Array<BillingServiceCreditPurchaseSummary>;
|
|
11894
|
+
export interface DataTypesFeatureUsageStats {
|
|
11781
11895
|
/**
|
|
11782
11896
|
*
|
|
11783
|
-
* @type {
|
|
11784
|
-
* @memberof
|
|
11897
|
+
* @type {number}
|
|
11898
|
+
* @memberof DataTypesFeatureUsageStats
|
|
11785
11899
|
*/
|
|
11786
|
-
'
|
|
11900
|
+
'current_usage'?: number;
|
|
11787
11901
|
/**
|
|
11788
11902
|
*
|
|
11789
11903
|
* @type {number}
|
|
11790
|
-
* @memberof
|
|
11904
|
+
* @memberof DataTypesFeatureUsageStats
|
|
11791
11905
|
*/
|
|
11792
|
-
'
|
|
11793
|
-
}
|
|
11794
|
-
/**
|
|
11795
|
-
*
|
|
11796
|
-
* @export
|
|
11797
|
-
* @interface DataTypesGenericResponseArrayBillingServiceCreditTransactionSummary
|
|
11798
|
-
*/
|
|
11799
|
-
export interface DataTypesGenericResponseArrayBillingServiceCreditTransactionSummary {
|
|
11906
|
+
'days_until_reset'?: number;
|
|
11800
11907
|
/**
|
|
11801
11908
|
*
|
|
11802
|
-
* @type {
|
|
11803
|
-
* @memberof
|
|
11909
|
+
* @type {string}
|
|
11910
|
+
* @memberof DataTypesFeatureUsageStats
|
|
11804
11911
|
*/
|
|
11805
|
-
'
|
|
11912
|
+
'feature_name'?: string;
|
|
11806
11913
|
/**
|
|
11807
11914
|
*
|
|
11808
11915
|
* @type {string}
|
|
11809
|
-
* @memberof
|
|
11916
|
+
* @memberof DataTypesFeatureUsageStats
|
|
11810
11917
|
*/
|
|
11811
|
-
'
|
|
11918
|
+
'last_used_at'?: string;
|
|
11812
11919
|
/**
|
|
11813
11920
|
*
|
|
11814
|
-
* @type {
|
|
11815
|
-
* @memberof
|
|
11921
|
+
* @type {any}
|
|
11922
|
+
* @memberof DataTypesFeatureUsageStats
|
|
11816
11923
|
*/
|
|
11817
|
-
'
|
|
11818
|
-
}
|
|
11819
|
-
/**
|
|
11820
|
-
*
|
|
11821
|
-
* @export
|
|
11822
|
-
* @interface DataTypesGenericResponseArrayBillingServiceOrderSummary
|
|
11823
|
-
*/
|
|
11824
|
-
export interface DataTypesGenericResponseArrayBillingServiceOrderSummary {
|
|
11924
|
+
'limit'?: any;
|
|
11825
11925
|
/**
|
|
11826
11926
|
*
|
|
11827
|
-
* @type {
|
|
11828
|
-
* @memberof
|
|
11927
|
+
* @type {string}
|
|
11928
|
+
* @memberof DataTypesFeatureUsageStats
|
|
11829
11929
|
*/
|
|
11830
|
-
'
|
|
11930
|
+
'period_end'?: string;
|
|
11831
11931
|
/**
|
|
11832
11932
|
*
|
|
11833
11933
|
* @type {string}
|
|
11834
|
-
* @memberof
|
|
11934
|
+
* @memberof DataTypesFeatureUsageStats
|
|
11835
11935
|
*/
|
|
11836
|
-
'
|
|
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
|
|
11946
|
+
* @memberof DataTypesFeatureUsageStats
|
|
11841
11947
|
*/
|
|
11842
|
-
'
|
|
11948
|
+
'usage_percentage'?: number;
|
|
11843
11949
|
}
|
|
11844
11950
|
/**
|
|
11845
11951
|
*
|
|
11846
11952
|
* @export
|
|
11847
|
-
* @interface
|
|
11953
|
+
* @interface DataTypesFieldMetadata
|
|
11848
11954
|
*/
|
|
11849
|
-
export interface
|
|
11955
|
+
export interface DataTypesFieldMetadata {
|
|
11850
11956
|
/**
|
|
11851
11957
|
*
|
|
11852
|
-
* @type {
|
|
11853
|
-
* @memberof
|
|
11958
|
+
* @type {any}
|
|
11959
|
+
* @memberof DataTypesFieldMetadata
|
|
11854
11960
|
*/
|
|
11855
|
-
'
|
|
11961
|
+
'default'?: any;
|
|
11856
11962
|
/**
|
|
11857
11963
|
*
|
|
11858
11964
|
* @type {string}
|
|
11859
|
-
* @memberof
|
|
11965
|
+
* @memberof DataTypesFieldMetadata
|
|
11860
11966
|
*/
|
|
11861
|
-
'
|
|
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
|
|
11983
|
+
* @memberof DataTypesFieldMetadata
|
|
11866
11984
|
*/
|
|
11867
|
-
'
|
|
11868
|
-
}
|
|
11869
|
-
/**
|
|
11870
|
-
*
|
|
11871
|
-
* @export
|
|
11872
|
-
* @interface DataTypesGenericResponseArrayBillingServicePaymentTransactionSummary
|
|
11873
|
-
*/
|
|
11874
|
-
export interface DataTypesGenericResponseArrayBillingServicePaymentTransactionSummary {
|
|
11985
|
+
'max'?: number;
|
|
11875
11986
|
/**
|
|
11876
|
-
*
|
|
11877
|
-
* @type {
|
|
11878
|
-
* @memberof
|
|
11987
|
+
* For int fields
|
|
11988
|
+
* @type {number}
|
|
11989
|
+
* @memberof DataTypesFieldMetadata
|
|
11879
11990
|
*/
|
|
11880
|
-
'
|
|
11991
|
+
'min'?: number;
|
|
11881
11992
|
/**
|
|
11882
11993
|
*
|
|
11883
11994
|
* @type {string}
|
|
11884
|
-
* @memberof
|
|
11995
|
+
* @memberof DataTypesFieldMetadata
|
|
11885
11996
|
*/
|
|
11886
|
-
'
|
|
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 {
|
|
11890
|
-
* @memberof
|
|
12006
|
+
* @type {boolean}
|
|
12007
|
+
* @memberof DataTypesFieldMetadata
|
|
11891
12008
|
*/
|
|
11892
|
-
'
|
|
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
|
|
12020
|
+
* @interface DataTypesFulfillmentInfo
|
|
11898
12021
|
*/
|
|
11899
|
-
export interface
|
|
12022
|
+
export interface DataTypesFulfillmentInfo {
|
|
11900
12023
|
/**
|
|
11901
12024
|
*
|
|
11902
|
-
* @type {
|
|
11903
|
-
* @memberof
|
|
12025
|
+
* @type {DataTypesFulfillmentInfoCredits}
|
|
12026
|
+
* @memberof DataTypesFulfillmentInfo
|
|
11904
12027
|
*/
|
|
11905
|
-
'
|
|
12028
|
+
'credits'?: DataTypesFulfillmentInfoCredits;
|
|
11906
12029
|
/**
|
|
11907
12030
|
*
|
|
11908
|
-
* @type {
|
|
11909
|
-
* @memberof
|
|
12031
|
+
* @type {DataTypesFulfillmentInfoSubscription}
|
|
12032
|
+
* @memberof DataTypesFulfillmentInfo
|
|
11910
12033
|
*/
|
|
11911
|
-
'
|
|
12034
|
+
'subscription'?: DataTypesFulfillmentInfoSubscription;
|
|
11912
12035
|
/**
|
|
11913
|
-
*
|
|
11914
|
-
* @type {
|
|
11915
|
-
* @memberof
|
|
12036
|
+
* \"subscription\", \"credit_topup\", \"generic\"
|
|
12037
|
+
* @type {string}
|
|
12038
|
+
* @memberof DataTypesFulfillmentInfo
|
|
11916
12039
|
*/
|
|
11917
|
-
'
|
|
12040
|
+
'type'?: string;
|
|
11918
12041
|
}
|
|
11919
12042
|
/**
|
|
11920
12043
|
*
|
|
11921
12044
|
* @export
|
|
11922
|
-
* @interface
|
|
12045
|
+
* @interface DataTypesFulfillmentInfoCredits
|
|
11923
12046
|
*/
|
|
11924
|
-
export interface
|
|
11925
|
-
/**
|
|
11926
|
-
*
|
|
11927
|
-
* @type {Array<string>}
|
|
11928
|
-
* @memberof DataTypesGenericResponseArrayString
|
|
11929
|
-
*/
|
|
11930
|
-
'data'?: Array<string>;
|
|
12047
|
+
export interface DataTypesFulfillmentInfoCredits {
|
|
11931
12048
|
/**
|
|
11932
12049
|
*
|
|
11933
|
-
* @type {
|
|
11934
|
-
* @memberof
|
|
12050
|
+
* @type {number}
|
|
12051
|
+
* @memberof DataTypesFulfillmentInfoCredits
|
|
11935
12052
|
*/
|
|
11936
|
-
'
|
|
12053
|
+
'amount'?: number;
|
|
11937
12054
|
/**
|
|
11938
12055
|
*
|
|
11939
12056
|
* @type {number}
|
|
11940
|
-
* @memberof
|
|
12057
|
+
* @memberof DataTypesFulfillmentInfoCredits
|
|
11941
12058
|
*/
|
|
11942
|
-
'
|
|
12059
|
+
'new_total'?: number;
|
|
11943
12060
|
}
|
|
11944
12061
|
/**
|
|
11945
12062
|
*
|
|
11946
12063
|
* @export
|
|
11947
|
-
* @interface
|
|
12064
|
+
* @interface DataTypesFulfillmentInfoSubscription
|
|
11948
12065
|
*/
|
|
11949
|
-
export interface
|
|
12066
|
+
export interface DataTypesFulfillmentInfoSubscription {
|
|
11950
12067
|
/**
|
|
11951
12068
|
*
|
|
11952
|
-
* @type {
|
|
11953
|
-
* @memberof
|
|
12069
|
+
* @type {boolean}
|
|
12070
|
+
* @memberof DataTypesFulfillmentInfoSubscription
|
|
11954
12071
|
*/
|
|
11955
|
-
'
|
|
12072
|
+
'auto_renewal'?: boolean;
|
|
11956
12073
|
/**
|
|
11957
12074
|
*
|
|
11958
|
-
* @type {
|
|
11959
|
-
* @memberof
|
|
12075
|
+
* @type {number}
|
|
12076
|
+
* @memberof DataTypesFulfillmentInfoSubscription
|
|
11960
12077
|
*/
|
|
11961
|
-
'
|
|
12078
|
+
'credits_allocated'?: number;
|
|
11962
12079
|
/**
|
|
11963
12080
|
*
|
|
11964
12081
|
* @type {number}
|
|
11965
|
-
* @memberof
|
|
12082
|
+
* @memberof DataTypesFulfillmentInfoSubscription
|
|
11966
12083
|
*/
|
|
11967
|
-
'
|
|
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
|
|
12101
|
+
* @interface DataTypesGatewayInfo
|
|
11973
12102
|
*/
|
|
11974
|
-
export interface
|
|
12103
|
+
export interface DataTypesGatewayInfo {
|
|
11975
12104
|
/**
|
|
11976
12105
|
*
|
|
11977
|
-
* @type {
|
|
11978
|
-
* @memberof
|
|
12106
|
+
* @type {Array<string>}
|
|
12107
|
+
* @memberof DataTypesGatewayInfo
|
|
11979
12108
|
*/
|
|
11980
|
-
'
|
|
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
|
|
12125
|
+
* @memberof DataTypesGatewayInfo
|
|
11985
12126
|
*/
|
|
11986
|
-
'
|
|
12127
|
+
'name'?: string;
|
|
12128
|
+
}
|
|
12129
|
+
/**
|
|
12130
|
+
*
|
|
12131
|
+
* @export
|
|
12132
|
+
* @interface DataTypesGatewayListResponse
|
|
12133
|
+
*/
|
|
12134
|
+
export interface DataTypesGatewayListResponse {
|
|
11987
12135
|
/**
|
|
11988
12136
|
*
|
|
11989
|
-
* @type {
|
|
11990
|
-
* @memberof
|
|
12137
|
+
* @type {Array<DataTypesGatewayInfo>}
|
|
12138
|
+
* @memberof DataTypesGatewayListResponse
|
|
11991
12139
|
*/
|
|
11992
|
-
'
|
|
12140
|
+
'gateways'?: Array<DataTypesGatewayInfo>;
|
|
11993
12141
|
}
|
|
11994
12142
|
/**
|
|
11995
12143
|
*
|
|
11996
12144
|
* @export
|
|
11997
|
-
* @interface
|
|
12145
|
+
* @interface DataTypesGenericResponseAny
|
|
11998
12146
|
*/
|
|
11999
|
-
export interface
|
|
12147
|
+
export interface DataTypesGenericResponseAny {
|
|
12000
12148
|
/**
|
|
12001
12149
|
*
|
|
12002
|
-
* @type {
|
|
12003
|
-
* @memberof
|
|
12150
|
+
* @type {any}
|
|
12151
|
+
* @memberof DataTypesGenericResponseAny
|
|
12004
12152
|
*/
|
|
12005
|
-
'data'?:
|
|
12153
|
+
'data'?: any;
|
|
12006
12154
|
/**
|
|
12007
12155
|
*
|
|
12008
12156
|
* @type {string}
|
|
12009
|
-
* @memberof
|
|
12157
|
+
* @memberof DataTypesGenericResponseAny
|
|
12010
12158
|
*/
|
|
12011
12159
|
'message'?: string;
|
|
12012
12160
|
/**
|
|
12013
12161
|
*
|
|
12014
12162
|
* @type {number}
|
|
12015
|
-
* @memberof
|
|
12163
|
+
* @memberof DataTypesGenericResponseAny
|
|
12016
12164
|
*/
|
|
12017
12165
|
'status'?: number;
|
|
12018
12166
|
}
|
|
12019
12167
|
/**
|
|
12020
12168
|
*
|
|
12021
12169
|
* @export
|
|
12022
|
-
* @interface
|
|
12170
|
+
* @interface DataTypesGenericResponseArrayBillingServiceCreditConsumptionSummary
|
|
12023
12171
|
*/
|
|
12024
|
-
export interface
|
|
12172
|
+
export interface DataTypesGenericResponseArrayBillingServiceCreditConsumptionSummary {
|
|
12025
12173
|
/**
|
|
12026
12174
|
*
|
|
12027
|
-
* @type {
|
|
12028
|
-
* @memberof
|
|
12175
|
+
* @type {Array<BillingServiceCreditConsumptionSummary>}
|
|
12176
|
+
* @memberof DataTypesGenericResponseArrayBillingServiceCreditConsumptionSummary
|
|
12029
12177
|
*/
|
|
12030
|
-
'data'?:
|
|
12178
|
+
'data'?: Array<BillingServiceCreditConsumptionSummary>;
|
|
12031
12179
|
/**
|
|
12032
12180
|
*
|
|
12033
12181
|
* @type {string}
|
|
12034
|
-
* @memberof
|
|
12182
|
+
* @memberof DataTypesGenericResponseArrayBillingServiceCreditConsumptionSummary
|
|
12035
12183
|
*/
|
|
12036
12184
|
'message'?: string;
|
|
12037
12185
|
/**
|
|
12038
12186
|
*
|
|
12039
12187
|
* @type {number}
|
|
12040
|
-
* @memberof
|
|
12188
|
+
* @memberof DataTypesGenericResponseArrayBillingServiceCreditConsumptionSummary
|
|
12041
12189
|
*/
|
|
12042
12190
|
'status'?: number;
|
|
12043
12191
|
}
|
|
12044
12192
|
/**
|
|
12045
12193
|
*
|
|
12046
12194
|
* @export
|
|
12047
|
-
* @interface
|
|
12195
|
+
* @interface DataTypesGenericResponseArrayBillingServiceCreditLedgerSummary
|
|
12048
12196
|
*/
|
|
12049
|
-
export interface
|
|
12197
|
+
export interface DataTypesGenericResponseArrayBillingServiceCreditLedgerSummary {
|
|
12050
12198
|
/**
|
|
12051
12199
|
*
|
|
12052
|
-
* @type {
|
|
12053
|
-
* @memberof
|
|
12200
|
+
* @type {Array<BillingServiceCreditLedgerSummary>}
|
|
12201
|
+
* @memberof DataTypesGenericResponseArrayBillingServiceCreditLedgerSummary
|
|
12054
12202
|
*/
|
|
12055
|
-
'data'?:
|
|
12203
|
+
'data'?: Array<BillingServiceCreditLedgerSummary>;
|
|
12056
12204
|
/**
|
|
12057
12205
|
*
|
|
12058
12206
|
* @type {string}
|
|
12059
|
-
* @memberof
|
|
12207
|
+
* @memberof DataTypesGenericResponseArrayBillingServiceCreditLedgerSummary
|
|
12060
12208
|
*/
|
|
12061
12209
|
'message'?: string;
|
|
12062
12210
|
/**
|
|
12063
12211
|
*
|
|
12064
12212
|
* @type {number}
|
|
12065
|
-
* @memberof
|
|
12213
|
+
* @memberof DataTypesGenericResponseArrayBillingServiceCreditLedgerSummary
|
|
12066
12214
|
*/
|
|
12067
12215
|
'status'?: number;
|
|
12068
12216
|
}
|
|
12069
12217
|
/**
|
|
12070
12218
|
*
|
|
12071
12219
|
* @export
|
|
12072
|
-
* @interface
|
|
12220
|
+
* @interface DataTypesGenericResponseArrayBillingServiceCreditPurchaseSummary
|
|
12073
12221
|
*/
|
|
12074
|
-
export interface
|
|
12222
|
+
export interface DataTypesGenericResponseArrayBillingServiceCreditPurchaseSummary {
|
|
12075
12223
|
/**
|
|
12076
12224
|
*
|
|
12077
|
-
* @type {
|
|
12078
|
-
* @memberof
|
|
12225
|
+
* @type {Array<BillingServiceCreditPurchaseSummary>}
|
|
12226
|
+
* @memberof DataTypesGenericResponseArrayBillingServiceCreditPurchaseSummary
|
|
12079
12227
|
*/
|
|
12080
|
-
'data'?:
|
|
12228
|
+
'data'?: Array<BillingServiceCreditPurchaseSummary>;
|
|
12081
12229
|
/**
|
|
12082
12230
|
*
|
|
12083
12231
|
* @type {string}
|
|
12084
|
-
* @memberof
|
|
12232
|
+
* @memberof DataTypesGenericResponseArrayBillingServiceCreditPurchaseSummary
|
|
12085
12233
|
*/
|
|
12086
12234
|
'message'?: string;
|
|
12087
12235
|
/**
|
|
12088
12236
|
*
|
|
12089
12237
|
* @type {number}
|
|
12090
|
-
* @memberof
|
|
12238
|
+
* @memberof DataTypesGenericResponseArrayBillingServiceCreditPurchaseSummary
|
|
12091
12239
|
*/
|
|
12092
12240
|
'status'?: number;
|
|
12093
12241
|
}
|
|
12094
12242
|
/**
|
|
12095
12243
|
*
|
|
12096
12244
|
* @export
|
|
12097
|
-
* @interface
|
|
12245
|
+
* @interface DataTypesGenericResponseArrayBillingServiceCreditTransactionSummary
|
|
12098
12246
|
*/
|
|
12099
|
-
export interface
|
|
12247
|
+
export interface DataTypesGenericResponseArrayBillingServiceCreditTransactionSummary {
|
|
12100
12248
|
/**
|
|
12101
12249
|
*
|
|
12102
|
-
* @type {
|
|
12103
|
-
* @memberof
|
|
12250
|
+
* @type {Array<BillingServiceCreditTransactionSummary>}
|
|
12251
|
+
* @memberof DataTypesGenericResponseArrayBillingServiceCreditTransactionSummary
|
|
12104
12252
|
*/
|
|
12105
|
-
'data'?:
|
|
12253
|
+
'data'?: Array<BillingServiceCreditTransactionSummary>;
|
|
12106
12254
|
/**
|
|
12107
12255
|
*
|
|
12108
12256
|
* @type {string}
|
|
12109
|
-
* @memberof
|
|
12257
|
+
* @memberof DataTypesGenericResponseArrayBillingServiceCreditTransactionSummary
|
|
12110
12258
|
*/
|
|
12111
12259
|
'message'?: string;
|
|
12112
12260
|
/**
|
|
12113
12261
|
*
|
|
12114
12262
|
* @type {number}
|
|
12115
|
-
* @memberof
|
|
12263
|
+
* @memberof DataTypesGenericResponseArrayBillingServiceCreditTransactionSummary
|
|
12116
12264
|
*/
|
|
12117
12265
|
'status'?: number;
|
|
12118
12266
|
}
|
|
12119
12267
|
/**
|
|
12120
12268
|
*
|
|
12121
12269
|
* @export
|
|
12122
|
-
* @interface
|
|
12270
|
+
* @interface DataTypesGenericResponseArrayBillingServiceOrderSummary
|
|
12123
12271
|
*/
|
|
12124
|
-
export interface
|
|
12272
|
+
export interface DataTypesGenericResponseArrayBillingServiceOrderSummary {
|
|
12125
12273
|
/**
|
|
12126
12274
|
*
|
|
12127
|
-
* @type {
|
|
12128
|
-
* @memberof
|
|
12275
|
+
* @type {Array<BillingServiceOrderSummary>}
|
|
12276
|
+
* @memberof DataTypesGenericResponseArrayBillingServiceOrderSummary
|
|
12129
12277
|
*/
|
|
12130
|
-
'data'?:
|
|
12278
|
+
'data'?: Array<BillingServiceOrderSummary>;
|
|
12131
12279
|
/**
|
|
12132
12280
|
*
|
|
12133
12281
|
* @type {string}
|
|
12134
|
-
* @memberof
|
|
12282
|
+
* @memberof DataTypesGenericResponseArrayBillingServiceOrderSummary
|
|
12135
12283
|
*/
|
|
12136
12284
|
'message'?: string;
|
|
12137
12285
|
/**
|
|
12138
12286
|
*
|
|
12139
12287
|
* @type {number}
|
|
12140
|
-
* @memberof
|
|
12288
|
+
* @memberof DataTypesGenericResponseArrayBillingServiceOrderSummary
|
|
12141
12289
|
*/
|
|
12142
12290
|
'status'?: number;
|
|
12143
12291
|
}
|
|
12144
12292
|
/**
|
|
12145
12293
|
*
|
|
12146
12294
|
* @export
|
|
12147
|
-
* @interface
|
|
12295
|
+
* @interface DataTypesGenericResponseArrayBillingServiceOrganizationBillingSummary
|
|
12148
12296
|
*/
|
|
12149
|
-
export interface
|
|
12297
|
+
export interface DataTypesGenericResponseArrayBillingServiceOrganizationBillingSummary {
|
|
12150
12298
|
/**
|
|
12151
12299
|
*
|
|
12152
|
-
* @type {
|
|
12153
|
-
* @memberof
|
|
12300
|
+
* @type {Array<BillingServiceOrganizationBillingSummary>}
|
|
12301
|
+
* @memberof DataTypesGenericResponseArrayBillingServiceOrganizationBillingSummary
|
|
12154
12302
|
*/
|
|
12155
|
-
'data'?:
|
|
12303
|
+
'data'?: Array<BillingServiceOrganizationBillingSummary>;
|
|
12156
12304
|
/**
|
|
12157
12305
|
*
|
|
12158
12306
|
* @type {string}
|
|
12159
|
-
* @memberof
|
|
12307
|
+
* @memberof DataTypesGenericResponseArrayBillingServiceOrganizationBillingSummary
|
|
12160
12308
|
*/
|
|
12161
12309
|
'message'?: string;
|
|
12162
12310
|
/**
|
|
12163
12311
|
*
|
|
12164
12312
|
* @type {number}
|
|
12165
|
-
* @memberof
|
|
12313
|
+
* @memberof DataTypesGenericResponseArrayBillingServiceOrganizationBillingSummary
|
|
12166
12314
|
*/
|
|
12167
12315
|
'status'?: number;
|
|
12168
12316
|
}
|
|
12169
12317
|
/**
|
|
12170
12318
|
*
|
|
12171
12319
|
* @export
|
|
12172
|
-
* @interface
|
|
12320
|
+
* @interface DataTypesGenericResponseArrayBillingServicePaymentTransactionSummary
|
|
12173
12321
|
*/
|
|
12174
|
-
export interface
|
|
12322
|
+
export interface DataTypesGenericResponseArrayBillingServicePaymentTransactionSummary {
|
|
12175
12323
|
/**
|
|
12176
12324
|
*
|
|
12177
|
-
* @type {
|
|
12178
|
-
* @memberof
|
|
12325
|
+
* @type {Array<BillingServicePaymentTransactionSummary>}
|
|
12326
|
+
* @memberof DataTypesGenericResponseArrayBillingServicePaymentTransactionSummary
|
|
12179
12327
|
*/
|
|
12180
|
-
'data'?:
|
|
12328
|
+
'data'?: Array<BillingServicePaymentTransactionSummary>;
|
|
12181
12329
|
/**
|
|
12182
12330
|
*
|
|
12183
12331
|
* @type {string}
|
|
12184
|
-
* @memberof
|
|
12332
|
+
* @memberof DataTypesGenericResponseArrayBillingServicePaymentTransactionSummary
|
|
12185
12333
|
*/
|
|
12186
12334
|
'message'?: string;
|
|
12187
12335
|
/**
|
|
12188
12336
|
*
|
|
12189
12337
|
* @type {number}
|
|
12190
|
-
* @memberof
|
|
12338
|
+
* @memberof DataTypesGenericResponseArrayBillingServicePaymentTransactionSummary
|
|
12191
12339
|
*/
|
|
12192
12340
|
'status'?: number;
|
|
12193
12341
|
}
|
|
12194
12342
|
/**
|
|
12195
12343
|
*
|
|
12196
12344
|
* @export
|
|
12197
|
-
* @interface
|
|
12345
|
+
* @interface DataTypesGenericResponseArrayDataTypesCreditPlan
|
|
12198
12346
|
*/
|
|
12199
|
-
export interface
|
|
12347
|
+
export interface DataTypesGenericResponseArrayDataTypesCreditPlan {
|
|
12200
12348
|
/**
|
|
12201
12349
|
*
|
|
12202
|
-
* @type {
|
|
12203
|
-
* @memberof
|
|
12350
|
+
* @type {Array<DataTypesCreditPlan>}
|
|
12351
|
+
* @memberof DataTypesGenericResponseArrayDataTypesCreditPlan
|
|
12204
12352
|
*/
|
|
12205
|
-
'data'?:
|
|
12353
|
+
'data'?: Array<DataTypesCreditPlan>;
|
|
12206
12354
|
/**
|
|
12207
12355
|
*
|
|
12208
12356
|
* @type {string}
|
|
12209
|
-
* @memberof
|
|
12357
|
+
* @memberof DataTypesGenericResponseArrayDataTypesCreditPlan
|
|
12210
12358
|
*/
|
|
12211
12359
|
'message'?: string;
|
|
12212
12360
|
/**
|
|
12213
12361
|
*
|
|
12214
12362
|
* @type {number}
|
|
12215
|
-
* @memberof
|
|
12363
|
+
* @memberof DataTypesGenericResponseArrayDataTypesCreditPlan
|
|
12216
12364
|
*/
|
|
12217
12365
|
'status'?: number;
|
|
12218
12366
|
}
|
|
12219
12367
|
/**
|
|
12220
12368
|
*
|
|
12221
12369
|
* @export
|
|
12222
|
-
* @interface
|
|
12370
|
+
* @interface DataTypesGenericResponseArrayString
|
|
12223
12371
|
*/
|
|
12224
|
-
export interface
|
|
12372
|
+
export interface DataTypesGenericResponseArrayString {
|
|
12225
12373
|
/**
|
|
12226
12374
|
*
|
|
12227
|
-
* @type {
|
|
12228
|
-
* @memberof
|
|
12375
|
+
* @type {Array<string>}
|
|
12376
|
+
* @memberof DataTypesGenericResponseArrayString
|
|
12229
12377
|
*/
|
|
12230
|
-
'data'?:
|
|
12378
|
+
'data'?: Array<string>;
|
|
12231
12379
|
/**
|
|
12232
12380
|
*
|
|
12233
12381
|
* @type {string}
|
|
12234
|
-
* @memberof
|
|
12382
|
+
* @memberof DataTypesGenericResponseArrayString
|
|
12235
12383
|
*/
|
|
12236
12384
|
'message'?: string;
|
|
12237
12385
|
/**
|
|
12238
12386
|
*
|
|
12239
12387
|
* @type {number}
|
|
12240
|
-
* @memberof
|
|
12388
|
+
* @memberof DataTypesGenericResponseArrayString
|
|
12241
12389
|
*/
|
|
12242
12390
|
'status'?: number;
|
|
12243
12391
|
}
|
|
12244
12392
|
/**
|
|
12245
12393
|
*
|
|
12246
12394
|
* @export
|
|
12247
|
-
* @interface
|
|
12395
|
+
* @interface DataTypesGenericResponseBillingServiceBillingOverview
|
|
12248
12396
|
*/
|
|
12249
|
-
export interface
|
|
12397
|
+
export interface DataTypesGenericResponseBillingServiceBillingOverview {
|
|
12250
12398
|
/**
|
|
12251
12399
|
*
|
|
12252
|
-
* @type {
|
|
12253
|
-
* @memberof
|
|
12400
|
+
* @type {BillingServiceBillingOverview}
|
|
12401
|
+
* @memberof DataTypesGenericResponseBillingServiceBillingOverview
|
|
12254
12402
|
*/
|
|
12255
|
-
'data'?:
|
|
12403
|
+
'data'?: BillingServiceBillingOverview;
|
|
12256
12404
|
/**
|
|
12257
12405
|
*
|
|
12258
12406
|
* @type {string}
|
|
12259
|
-
* @memberof
|
|
12407
|
+
* @memberof DataTypesGenericResponseBillingServiceBillingOverview
|
|
12260
12408
|
*/
|
|
12261
12409
|
'message'?: string;
|
|
12262
12410
|
/**
|
|
12263
12411
|
*
|
|
12264
12412
|
* @type {number}
|
|
12265
|
-
* @memberof
|
|
12413
|
+
* @memberof DataTypesGenericResponseBillingServiceBillingOverview
|
|
12266
12414
|
*/
|
|
12267
12415
|
'status'?: number;
|
|
12268
12416
|
}
|
|
12269
12417
|
/**
|
|
12270
12418
|
*
|
|
12271
12419
|
* @export
|
|
12272
|
-
* @interface
|
|
12420
|
+
* @interface DataTypesGenericResponseDataTypesBillingAlert
|
|
12273
12421
|
*/
|
|
12274
|
-
export interface
|
|
12422
|
+
export interface DataTypesGenericResponseDataTypesBillingAlert {
|
|
12275
12423
|
/**
|
|
12276
12424
|
*
|
|
12277
|
-
* @type {
|
|
12278
|
-
* @memberof
|
|
12425
|
+
* @type {DataTypesBillingAlert}
|
|
12426
|
+
* @memberof DataTypesGenericResponseDataTypesBillingAlert
|
|
12279
12427
|
*/
|
|
12280
|
-
'data'?:
|
|
12428
|
+
'data'?: DataTypesBillingAlert;
|
|
12281
12429
|
/**
|
|
12282
12430
|
*
|
|
12283
12431
|
* @type {string}
|
|
12284
|
-
* @memberof
|
|
12432
|
+
* @memberof DataTypesGenericResponseDataTypesBillingAlert
|
|
12285
12433
|
*/
|
|
12286
12434
|
'message'?: string;
|
|
12287
12435
|
/**
|
|
12288
12436
|
*
|
|
12289
12437
|
* @type {number}
|
|
12290
|
-
* @memberof
|
|
12438
|
+
* @memberof DataTypesGenericResponseDataTypesBillingAlert
|
|
12291
12439
|
*/
|
|
12292
12440
|
'status'?: number;
|
|
12293
12441
|
}
|
|
12294
12442
|
/**
|
|
12295
12443
|
*
|
|
12296
12444
|
* @export
|
|
12297
|
-
* @interface
|
|
12445
|
+
* @interface DataTypesGenericResponseDataTypesBillingAlertsResponse
|
|
12298
12446
|
*/
|
|
12299
|
-
export interface
|
|
12447
|
+
export interface DataTypesGenericResponseDataTypesBillingAlertsResponse {
|
|
12300
12448
|
/**
|
|
12301
12449
|
*
|
|
12302
|
-
* @type {
|
|
12303
|
-
* @memberof
|
|
12450
|
+
* @type {DataTypesBillingAlertsResponse}
|
|
12451
|
+
* @memberof DataTypesGenericResponseDataTypesBillingAlertsResponse
|
|
12304
12452
|
*/
|
|
12305
|
-
'data'?:
|
|
12453
|
+
'data'?: DataTypesBillingAlertsResponse;
|
|
12306
12454
|
/**
|
|
12307
12455
|
*
|
|
12308
12456
|
* @type {string}
|
|
12309
|
-
* @memberof
|
|
12457
|
+
* @memberof DataTypesGenericResponseDataTypesBillingAlertsResponse
|
|
12310
12458
|
*/
|
|
12311
12459
|
'message'?: string;
|
|
12312
12460
|
/**
|
|
12313
12461
|
*
|
|
12314
12462
|
* @type {number}
|
|
12315
|
-
* @memberof
|
|
12463
|
+
* @memberof DataTypesGenericResponseDataTypesBillingAlertsResponse
|
|
12316
12464
|
*/
|
|
12317
12465
|
'status'?: number;
|
|
12318
12466
|
}
|
|
12319
12467
|
/**
|
|
12320
12468
|
*
|
|
12321
12469
|
* @export
|
|
12322
|
-
* @interface
|
|
12470
|
+
* @interface DataTypesGenericResponseDataTypesBillingOverviewResponse
|
|
12323
12471
|
*/
|
|
12324
|
-
export interface
|
|
12472
|
+
export interface DataTypesGenericResponseDataTypesBillingOverviewResponse {
|
|
12325
12473
|
/**
|
|
12326
12474
|
*
|
|
12327
|
-
* @type {
|
|
12328
|
-
* @memberof
|
|
12475
|
+
* @type {DataTypesBillingOverviewResponse}
|
|
12476
|
+
* @memberof DataTypesGenericResponseDataTypesBillingOverviewResponse
|
|
12329
12477
|
*/
|
|
12330
|
-
'data'?:
|
|
12478
|
+
'data'?: DataTypesBillingOverviewResponse;
|
|
12331
12479
|
/**
|
|
12332
12480
|
*
|
|
12333
12481
|
* @type {string}
|
|
12334
|
-
* @memberof
|
|
12482
|
+
* @memberof DataTypesGenericResponseDataTypesBillingOverviewResponse
|
|
12335
12483
|
*/
|
|
12336
12484
|
'message'?: string;
|
|
12337
12485
|
/**
|
|
12338
12486
|
*
|
|
12339
12487
|
* @type {number}
|
|
12340
|
-
* @memberof
|
|
12488
|
+
* @memberof DataTypesGenericResponseDataTypesBillingOverviewResponse
|
|
12341
12489
|
*/
|
|
12342
12490
|
'status'?: number;
|
|
12343
12491
|
}
|
|
12344
12492
|
/**
|
|
12345
12493
|
*
|
|
12346
12494
|
* @export
|
|
12347
|
-
* @interface
|
|
12495
|
+
* @interface DataTypesGenericResponseDataTypesConsumptionHistoryResponse
|
|
12348
12496
|
*/
|
|
12349
|
-
export interface
|
|
12497
|
+
export interface DataTypesGenericResponseDataTypesConsumptionHistoryResponse {
|
|
12350
12498
|
/**
|
|
12351
12499
|
*
|
|
12352
|
-
* @type {
|
|
12353
|
-
* @memberof
|
|
12500
|
+
* @type {DataTypesConsumptionHistoryResponse}
|
|
12501
|
+
* @memberof DataTypesGenericResponseDataTypesConsumptionHistoryResponse
|
|
12354
12502
|
*/
|
|
12355
|
-
'data'?:
|
|
12503
|
+
'data'?: DataTypesConsumptionHistoryResponse;
|
|
12356
12504
|
/**
|
|
12357
12505
|
*
|
|
12358
12506
|
* @type {string}
|
|
12359
|
-
* @memberof
|
|
12507
|
+
* @memberof DataTypesGenericResponseDataTypesConsumptionHistoryResponse
|
|
12360
12508
|
*/
|
|
12361
12509
|
'message'?: string;
|
|
12362
12510
|
/**
|
|
12363
12511
|
*
|
|
12364
12512
|
* @type {number}
|
|
12365
|
-
* @memberof
|
|
12513
|
+
* @memberof DataTypesGenericResponseDataTypesConsumptionHistoryResponse
|
|
12366
12514
|
*/
|
|
12367
12515
|
'status'?: number;
|
|
12368
12516
|
}
|
|
12369
12517
|
/**
|
|
12370
12518
|
*
|
|
12371
12519
|
* @export
|
|
12372
|
-
* @interface
|
|
12520
|
+
* @interface DataTypesGenericResponseDataTypesCreditAdjustmentResponse
|
|
12373
12521
|
*/
|
|
12374
|
-
export interface
|
|
12522
|
+
export interface DataTypesGenericResponseDataTypesCreditAdjustmentResponse {
|
|
12375
12523
|
/**
|
|
12376
12524
|
*
|
|
12377
|
-
* @type {
|
|
12378
|
-
* @memberof
|
|
12525
|
+
* @type {DataTypesCreditAdjustmentResponse}
|
|
12526
|
+
* @memberof DataTypesGenericResponseDataTypesCreditAdjustmentResponse
|
|
12379
12527
|
*/
|
|
12380
|
-
'data'?:
|
|
12528
|
+
'data'?: DataTypesCreditAdjustmentResponse;
|
|
12381
12529
|
/**
|
|
12382
12530
|
*
|
|
12383
12531
|
* @type {string}
|
|
12384
|
-
* @memberof
|
|
12532
|
+
* @memberof DataTypesGenericResponseDataTypesCreditAdjustmentResponse
|
|
12385
12533
|
*/
|
|
12386
12534
|
'message'?: string;
|
|
12387
12535
|
/**
|
|
12388
12536
|
*
|
|
12389
12537
|
* @type {number}
|
|
12390
|
-
* @memberof
|
|
12538
|
+
* @memberof DataTypesGenericResponseDataTypesCreditAdjustmentResponse
|
|
12391
12539
|
*/
|
|
12392
12540
|
'status'?: number;
|
|
12393
12541
|
}
|
|
12394
12542
|
/**
|
|
12395
12543
|
*
|
|
12396
12544
|
* @export
|
|
12397
|
-
* @interface
|
|
12545
|
+
* @interface DataTypesGenericResponseDataTypesCreditBalance
|
|
12398
12546
|
*/
|
|
12399
|
-
export interface
|
|
12547
|
+
export interface DataTypesGenericResponseDataTypesCreditBalance {
|
|
12400
12548
|
/**
|
|
12401
12549
|
*
|
|
12402
|
-
* @type {
|
|
12403
|
-
* @memberof
|
|
12550
|
+
* @type {DataTypesCreditBalance}
|
|
12551
|
+
* @memberof DataTypesGenericResponseDataTypesCreditBalance
|
|
12404
12552
|
*/
|
|
12405
|
-
'data'?:
|
|
12553
|
+
'data'?: DataTypesCreditBalance;
|
|
12406
12554
|
/**
|
|
12407
12555
|
*
|
|
12408
12556
|
* @type {string}
|
|
12409
|
-
* @memberof
|
|
12557
|
+
* @memberof DataTypesGenericResponseDataTypesCreditBalance
|
|
12410
12558
|
*/
|
|
12411
12559
|
'message'?: string;
|
|
12412
12560
|
/**
|
|
12413
12561
|
*
|
|
12414
12562
|
* @type {number}
|
|
12415
|
-
* @memberof
|
|
12563
|
+
* @memberof DataTypesGenericResponseDataTypesCreditBalance
|
|
12416
12564
|
*/
|
|
12417
12565
|
'status'?: number;
|
|
12418
12566
|
}
|
|
12419
12567
|
/**
|
|
12420
12568
|
*
|
|
12421
12569
|
* @export
|
|
12422
|
-
* @interface
|
|
12570
|
+
* @interface DataTypesGenericResponseDataTypesCreditConsumptionResult
|
|
12423
12571
|
*/
|
|
12424
|
-
export interface
|
|
12425
|
-
/**
|
|
12426
|
-
*
|
|
12427
|
-
* @type {boolean}
|
|
12428
|
-
* @memberof DataTypesGetRefundHistoryResponseDto
|
|
12429
|
-
*/
|
|
12430
|
-
'has_more'?: boolean;
|
|
12572
|
+
export interface DataTypesGenericResponseDataTypesCreditConsumptionResult {
|
|
12431
12573
|
/**
|
|
12432
12574
|
*
|
|
12433
|
-
* @type {
|
|
12434
|
-
* @memberof
|
|
12575
|
+
* @type {DataTypesCreditConsumptionResult}
|
|
12576
|
+
* @memberof DataTypesGenericResponseDataTypesCreditConsumptionResult
|
|
12435
12577
|
*/
|
|
12436
|
-
'
|
|
12578
|
+
'data'?: DataTypesCreditConsumptionResult;
|
|
12437
12579
|
/**
|
|
12438
12580
|
*
|
|
12439
|
-
* @type {
|
|
12440
|
-
* @memberof
|
|
12581
|
+
* @type {string}
|
|
12582
|
+
* @memberof DataTypesGenericResponseDataTypesCreditConsumptionResult
|
|
12441
12583
|
*/
|
|
12442
|
-
'
|
|
12584
|
+
'message'?: string;
|
|
12443
12585
|
/**
|
|
12444
12586
|
*
|
|
12445
12587
|
* @type {number}
|
|
12446
|
-
* @memberof
|
|
12588
|
+
* @memberof DataTypesGenericResponseDataTypesCreditConsumptionResult
|
|
12447
12589
|
*/
|
|
12448
|
-
'
|
|
12590
|
+
'status'?: number;
|
|
12449
12591
|
}
|
|
12450
12592
|
/**
|
|
12451
12593
|
*
|
|
12452
12594
|
* @export
|
|
12453
|
-
* @interface
|
|
12595
|
+
* @interface DataTypesGenericResponseDataTypesDetailedCreditBalanceResponse
|
|
12454
12596
|
*/
|
|
12455
|
-
export interface
|
|
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
|
-
*
|
|
12476
|
-
* @type {
|
|
12477
|
-
* @memberof
|
|
12599
|
+
*
|
|
12600
|
+
* @type {DataTypesDetailedCreditBalanceResponse}
|
|
12601
|
+
* @memberof DataTypesGenericResponseDataTypesDetailedCreditBalanceResponse
|
|
12478
12602
|
*/
|
|
12479
|
-
'
|
|
12603
|
+
'data'?: DataTypesDetailedCreditBalanceResponse;
|
|
12480
12604
|
/**
|
|
12481
|
-
*
|
|
12605
|
+
*
|
|
12482
12606
|
* @type {string}
|
|
12483
|
-
* @memberof
|
|
12607
|
+
* @memberof DataTypesGenericResponseDataTypesDetailedCreditBalanceResponse
|
|
12484
12608
|
*/
|
|
12485
|
-
'
|
|
12609
|
+
'message'?: string;
|
|
12486
12610
|
/**
|
|
12487
|
-
*
|
|
12611
|
+
*
|
|
12488
12612
|
* @type {number}
|
|
12489
|
-
* @memberof
|
|
12613
|
+
* @memberof DataTypesGenericResponseDataTypesDetailedCreditBalanceResponse
|
|
12490
12614
|
*/
|
|
12491
|
-
'
|
|
12615
|
+
'status'?: number;
|
|
12616
|
+
}
|
|
12617
|
+
/**
|
|
12618
|
+
*
|
|
12619
|
+
* @export
|
|
12620
|
+
* @interface DataTypesGenericResponseDataTypesGetRefundHistoryResponseDto
|
|
12621
|
+
*/
|
|
12622
|
+
export interface DataTypesGenericResponseDataTypesGetRefundHistoryResponseDto {
|
|
12492
12623
|
/**
|
|
12493
|
-
*
|
|
12494
|
-
* @type {
|
|
12495
|
-
* @memberof
|
|
12624
|
+
*
|
|
12625
|
+
* @type {DataTypesGetRefundHistoryResponseDto}
|
|
12626
|
+
* @memberof DataTypesGenericResponseDataTypesGetRefundHistoryResponseDto
|
|
12496
12627
|
*/
|
|
12497
|
-
'
|
|
12628
|
+
'data'?: DataTypesGetRefundHistoryResponseDto;
|
|
12498
12629
|
/**
|
|
12499
|
-
*
|
|
12500
|
-
* @type {
|
|
12501
|
-
* @memberof
|
|
12630
|
+
*
|
|
12631
|
+
* @type {string}
|
|
12632
|
+
* @memberof DataTypesGenericResponseDataTypesGetRefundHistoryResponseDto
|
|
12502
12633
|
*/
|
|
12503
|
-
'
|
|
12634
|
+
'message'?: string;
|
|
12504
12635
|
/**
|
|
12505
|
-
*
|
|
12506
|
-
* @type {
|
|
12507
|
-
* @memberof
|
|
12636
|
+
*
|
|
12637
|
+
* @type {number}
|
|
12638
|
+
* @memberof DataTypesGenericResponseDataTypesGetRefundHistoryResponseDto
|
|
12508
12639
|
*/
|
|
12509
|
-
'
|
|
12640
|
+
'status'?: number;
|
|
12641
|
+
}
|
|
12642
|
+
/**
|
|
12643
|
+
*
|
|
12644
|
+
* @export
|
|
12645
|
+
* @interface DataTypesGenericResponseDataTypesPaginatedTransactionsResponse
|
|
12646
|
+
*/
|
|
12647
|
+
export interface DataTypesGenericResponseDataTypesPaginatedTransactionsResponse {
|
|
12510
12648
|
/**
|
|
12511
|
-
*
|
|
12512
|
-
* @type {
|
|
12513
|
-
* @memberof
|
|
12649
|
+
*
|
|
12650
|
+
* @type {DataTypesPaginatedTransactionsResponse}
|
|
12651
|
+
* @memberof DataTypesGenericResponseDataTypesPaginatedTransactionsResponse
|
|
12514
12652
|
*/
|
|
12515
|
-
'
|
|
12653
|
+
'data'?: DataTypesPaginatedTransactionsResponse;
|
|
12516
12654
|
/**
|
|
12517
12655
|
*
|
|
12518
12656
|
* @type {string}
|
|
12519
|
-
* @memberof
|
|
12657
|
+
* @memberof DataTypesGenericResponseDataTypesPaginatedTransactionsResponse
|
|
12520
12658
|
*/
|
|
12521
|
-
'
|
|
12659
|
+
'message'?: string;
|
|
12522
12660
|
/**
|
|
12523
12661
|
*
|
|
12524
|
-
* @type {
|
|
12525
|
-
* @memberof
|
|
12662
|
+
* @type {number}
|
|
12663
|
+
* @memberof DataTypesGenericResponseDataTypesPaginatedTransactionsResponse
|
|
12526
12664
|
*/
|
|
12527
|
-
'
|
|
12665
|
+
'status'?: number;
|
|
12666
|
+
}
|
|
12667
|
+
/**
|
|
12668
|
+
*
|
|
12669
|
+
* @export
|
|
12670
|
+
* @interface DataTypesGenericResponseDataTypesProcessRefundResponseDto
|
|
12671
|
+
*/
|
|
12672
|
+
export interface DataTypesGenericResponseDataTypesProcessRefundResponseDto {
|
|
12528
12673
|
/**
|
|
12529
|
-
*
|
|
12530
|
-
* @type {
|
|
12531
|
-
* @memberof
|
|
12674
|
+
*
|
|
12675
|
+
* @type {DataTypesProcessRefundResponseDto}
|
|
12676
|
+
* @memberof DataTypesGenericResponseDataTypesProcessRefundResponseDto
|
|
12532
12677
|
*/
|
|
12533
|
-
'
|
|
12678
|
+
'data'?: DataTypesProcessRefundResponseDto;
|
|
12534
12679
|
/**
|
|
12535
|
-
*
|
|
12680
|
+
*
|
|
12536
12681
|
* @type {string}
|
|
12537
|
-
* @memberof
|
|
12682
|
+
* @memberof DataTypesGenericResponseDataTypesProcessRefundResponseDto
|
|
12538
12683
|
*/
|
|
12539
|
-
'
|
|
12684
|
+
'message'?: string;
|
|
12540
12685
|
/**
|
|
12541
|
-
*
|
|
12542
|
-
* @type {
|
|
12543
|
-
* @memberof
|
|
12686
|
+
*
|
|
12687
|
+
* @type {number}
|
|
12688
|
+
* @memberof DataTypesGenericResponseDataTypesProcessRefundResponseDto
|
|
12544
12689
|
*/
|
|
12545
|
-
'
|
|
12690
|
+
'status'?: number;
|
|
12546
12691
|
}
|
|
12547
12692
|
/**
|
|
12548
12693
|
*
|
|
12549
12694
|
* @export
|
|
12550
|
-
* @interface
|
|
12695
|
+
* @interface DataTypesGenericResponseDataTypesPurchaseCreditsResponse
|
|
12551
12696
|
*/
|
|
12552
|
-
export interface
|
|
12697
|
+
export interface DataTypesGenericResponseDataTypesPurchaseCreditsResponse {
|
|
12553
12698
|
/**
|
|
12554
12699
|
*
|
|
12555
|
-
* @type {
|
|
12556
|
-
* @memberof
|
|
12700
|
+
* @type {DataTypesPurchaseCreditsResponse}
|
|
12701
|
+
* @memberof DataTypesGenericResponseDataTypesPurchaseCreditsResponse
|
|
12557
12702
|
*/
|
|
12558
|
-
'
|
|
12703
|
+
'data'?: DataTypesPurchaseCreditsResponse;
|
|
12559
12704
|
/**
|
|
12560
12705
|
*
|
|
12561
12706
|
* @type {string}
|
|
12562
|
-
* @memberof
|
|
12707
|
+
* @memberof DataTypesGenericResponseDataTypesPurchaseCreditsResponse
|
|
12563
12708
|
*/
|
|
12564
|
-
'
|
|
12709
|
+
'message'?: string;
|
|
12565
12710
|
/**
|
|
12566
12711
|
*
|
|
12567
|
-
* @type {
|
|
12568
|
-
* @memberof
|
|
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
|
-
'
|
|
12715
|
+
'status'?: number;
|
|
12716
|
+
}
|
|
12717
|
+
/**
|
|
12718
|
+
*
|
|
12719
|
+
* @export
|
|
12720
|
+
* @interface DataTypesGenericResponseDataTypesRefundCalculationResponseDto
|
|
12721
|
+
*/
|
|
12722
|
+
export interface DataTypesGenericResponseDataTypesRefundCalculationResponseDto {
|
|
12577
12723
|
/**
|
|
12578
12724
|
*
|
|
12579
|
-
* @type {
|
|
12580
|
-
* @memberof
|
|
12725
|
+
* @type {DataTypesRefundCalculationResponseDto}
|
|
12726
|
+
* @memberof DataTypesGenericResponseDataTypesRefundCalculationResponseDto
|
|
12581
12727
|
*/
|
|
12582
|
-
'
|
|
12728
|
+
'data'?: DataTypesRefundCalculationResponseDto;
|
|
12583
12729
|
/**
|
|
12584
12730
|
*
|
|
12585
12731
|
* @type {string}
|
|
12586
|
-
* @memberof
|
|
12732
|
+
* @memberof DataTypesGenericResponseDataTypesRefundCalculationResponseDto
|
|
12587
12733
|
*/
|
|
12588
|
-
'
|
|
12734
|
+
'message'?: string;
|
|
12589
12735
|
/**
|
|
12590
12736
|
*
|
|
12591
|
-
* @type {
|
|
12592
|
-
* @memberof
|
|
12737
|
+
* @type {number}
|
|
12738
|
+
* @memberof DataTypesGenericResponseDataTypesRefundCalculationResponseDto
|
|
12593
12739
|
*/
|
|
12594
|
-
'
|
|
12740
|
+
'status'?: number;
|
|
12741
|
+
}
|
|
12742
|
+
/**
|
|
12743
|
+
*
|
|
12744
|
+
* @export
|
|
12745
|
+
* @interface DataTypesGenericResponseDataTypesRefundEligibilityDto
|
|
12746
|
+
*/
|
|
12747
|
+
export interface DataTypesGenericResponseDataTypesRefundEligibilityDto {
|
|
12595
12748
|
/**
|
|
12596
12749
|
*
|
|
12597
|
-
* @type {
|
|
12598
|
-
* @memberof
|
|
12750
|
+
* @type {DataTypesRefundEligibilityDto}
|
|
12751
|
+
* @memberof DataTypesGenericResponseDataTypesRefundEligibilityDto
|
|
12599
12752
|
*/
|
|
12600
|
-
'
|
|
12753
|
+
'data'?: DataTypesRefundEligibilityDto;
|
|
12601
12754
|
/**
|
|
12602
12755
|
*
|
|
12603
|
-
* @type {
|
|
12604
|
-
* @memberof
|
|
12756
|
+
* @type {string}
|
|
12757
|
+
* @memberof DataTypesGenericResponseDataTypesRefundEligibilityDto
|
|
12605
12758
|
*/
|
|
12606
|
-
'
|
|
12759
|
+
'message'?: string;
|
|
12607
12760
|
/**
|
|
12608
12761
|
*
|
|
12609
|
-
* @type {
|
|
12610
|
-
* @memberof
|
|
12762
|
+
* @type {number}
|
|
12763
|
+
* @memberof DataTypesGenericResponseDataTypesRefundEligibilityDto
|
|
12611
12764
|
*/
|
|
12612
|
-
'
|
|
12765
|
+
'status'?: number;
|
|
12766
|
+
}
|
|
12767
|
+
/**
|
|
12768
|
+
*
|
|
12769
|
+
* @export
|
|
12770
|
+
* @interface DataTypesGenericResponseDataTypesRegenerateXStoreSecretResponse
|
|
12771
|
+
*/
|
|
12772
|
+
export interface DataTypesGenericResponseDataTypesRegenerateXStoreSecretResponse {
|
|
12613
12773
|
/**
|
|
12614
12774
|
*
|
|
12615
|
-
* @type {
|
|
12616
|
-
* @memberof
|
|
12775
|
+
* @type {DataTypesRegenerateXStoreSecretResponse}
|
|
12776
|
+
* @memberof DataTypesGenericResponseDataTypesRegenerateXStoreSecretResponse
|
|
12617
12777
|
*/
|
|
12618
|
-
'
|
|
12778
|
+
'data'?: DataTypesRegenerateXStoreSecretResponse;
|
|
12619
12779
|
/**
|
|
12620
12780
|
*
|
|
12621
|
-
* @type {
|
|
12622
|
-
* @memberof
|
|
12781
|
+
* @type {string}
|
|
12782
|
+
* @memberof DataTypesGenericResponseDataTypesRegenerateXStoreSecretResponse
|
|
12623
12783
|
*/
|
|
12624
|
-
'
|
|
12625
|
-
/**
|
|
12626
|
-
*
|
|
12627
|
-
* @type {Array<string>}
|
|
12628
|
-
* @memberof DataTypesIndexConfig
|
|
12629
|
-
*/
|
|
12630
|
-
'exclude_fields'?: Array<string>;
|
|
12784
|
+
'message'?: string;
|
|
12631
12785
|
/**
|
|
12632
12786
|
*
|
|
12633
|
-
* @type {
|
|
12634
|
-
* @memberof
|
|
12787
|
+
* @type {number}
|
|
12788
|
+
* @memberof DataTypesGenericResponseDataTypesRegenerateXStoreSecretResponse
|
|
12635
12789
|
*/
|
|
12636
|
-
'
|
|
12790
|
+
'status'?: number;
|
|
12791
|
+
}
|
|
12792
|
+
/**
|
|
12793
|
+
*
|
|
12794
|
+
* @export
|
|
12795
|
+
* @interface DataTypesGenericResponseDataTypesSavedCardsResponse
|
|
12796
|
+
*/
|
|
12797
|
+
export interface DataTypesGenericResponseDataTypesSavedCardsResponse {
|
|
12637
12798
|
/**
|
|
12638
12799
|
*
|
|
12639
|
-
* @type {
|
|
12640
|
-
* @memberof
|
|
12800
|
+
* @type {DataTypesSavedCardsResponse}
|
|
12801
|
+
* @memberof DataTypesGenericResponseDataTypesSavedCardsResponse
|
|
12641
12802
|
*/
|
|
12642
|
-
'
|
|
12803
|
+
'data'?: DataTypesSavedCardsResponse;
|
|
12643
12804
|
/**
|
|
12644
12805
|
*
|
|
12645
12806
|
* @type {string}
|
|
12646
|
-
* @memberof
|
|
12807
|
+
* @memberof DataTypesGenericResponseDataTypesSavedCardsResponse
|
|
12647
12808
|
*/
|
|
12648
|
-
'
|
|
12809
|
+
'message'?: string;
|
|
12649
12810
|
/**
|
|
12650
12811
|
*
|
|
12651
|
-
* @type {
|
|
12652
|
-
* @memberof
|
|
12812
|
+
* @type {number}
|
|
12813
|
+
* @memberof DataTypesGenericResponseDataTypesSavedCardsResponse
|
|
12653
12814
|
*/
|
|
12654
|
-
'
|
|
12815
|
+
'status'?: number;
|
|
12816
|
+
}
|
|
12817
|
+
/**
|
|
12818
|
+
*
|
|
12819
|
+
* @export
|
|
12820
|
+
* @interface DataTypesGenericResponseRefundRefundPreviewResponseDto
|
|
12821
|
+
*/
|
|
12822
|
+
export interface DataTypesGenericResponseRefundRefundPreviewResponseDto {
|
|
12655
12823
|
/**
|
|
12656
12824
|
*
|
|
12657
|
-
* @type {
|
|
12658
|
-
* @memberof
|
|
12825
|
+
* @type {RefundRefundPreviewResponseDto}
|
|
12826
|
+
* @memberof DataTypesGenericResponseRefundRefundPreviewResponseDto
|
|
12659
12827
|
*/
|
|
12660
|
-
'
|
|
12828
|
+
'data'?: RefundRefundPreviewResponseDto;
|
|
12661
12829
|
/**
|
|
12662
12830
|
*
|
|
12663
12831
|
* @type {string}
|
|
12664
|
-
* @memberof
|
|
12832
|
+
* @memberof DataTypesGenericResponseRefundRefundPreviewResponseDto
|
|
12665
12833
|
*/
|
|
12666
|
-
'
|
|
12834
|
+
'message'?: string;
|
|
12667
12835
|
/**
|
|
12668
12836
|
*
|
|
12669
12837
|
* @type {number}
|
|
12670
|
-
* @memberof
|
|
12838
|
+
* @memberof DataTypesGenericResponseRefundRefundPreviewResponseDto
|
|
12671
12839
|
*/
|
|
12672
|
-
'
|
|
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
|
|
12851
|
+
* @memberof DataTypesGenericStringArrayResponse
|
|
12677
12852
|
*/
|
|
12678
|
-
'
|
|
12853
|
+
'data'?: Array<string>;
|
|
12679
12854
|
/**
|
|
12680
12855
|
*
|
|
12681
|
-
* @type {
|
|
12682
|
-
* @memberof
|
|
12856
|
+
* @type {string}
|
|
12857
|
+
* @memberof DataTypesGenericStringArrayResponse
|
|
12683
12858
|
*/
|
|
12684
|
-
'
|
|
12859
|
+
'message'?: string;
|
|
12685
12860
|
/**
|
|
12686
12861
|
*
|
|
12687
|
-
* @type {
|
|
12688
|
-
* @memberof
|
|
12862
|
+
* @type {number}
|
|
12863
|
+
* @memberof DataTypesGenericStringArrayResponse
|
|
12689
12864
|
*/
|
|
12690
|
-
'
|
|
12865
|
+
'status'?: number;
|
|
12866
|
+
}
|
|
12867
|
+
/**
|
|
12868
|
+
*
|
|
12869
|
+
* @export
|
|
12870
|
+
* @interface DataTypesGetRefundHistoryResponseDto
|
|
12871
|
+
*/
|
|
12872
|
+
export interface DataTypesGetRefundHistoryResponseDto {
|
|
12691
12873
|
/**
|
|
12692
12874
|
*
|
|
12693
|
-
* @type {
|
|
12694
|
-
* @memberof
|
|
12875
|
+
* @type {boolean}
|
|
12876
|
+
* @memberof DataTypesGetRefundHistoryResponseDto
|
|
12695
12877
|
*/
|
|
12696
|
-
'
|
|
12878
|
+
'has_more'?: boolean;
|
|
12697
12879
|
/**
|
|
12698
12880
|
*
|
|
12699
|
-
* @type {
|
|
12700
|
-
* @memberof
|
|
12881
|
+
* @type {number}
|
|
12882
|
+
* @memberof DataTypesGetRefundHistoryResponseDto
|
|
12701
12883
|
*/
|
|
12702
|
-
'
|
|
12884
|
+
'next_offset'?: number;
|
|
12703
12885
|
/**
|
|
12704
12886
|
*
|
|
12705
|
-
* @type {Array<
|
|
12706
|
-
* @memberof
|
|
12887
|
+
* @type {Array<DataTypesRefundHistoryDto>}
|
|
12888
|
+
* @memberof DataTypesGetRefundHistoryResponseDto
|
|
12707
12889
|
*/
|
|
12708
|
-
'
|
|
12890
|
+
'refunds'?: Array<DataTypesRefundHistoryDto>;
|
|
12709
12891
|
/**
|
|
12710
12892
|
*
|
|
12711
|
-
* @type {
|
|
12712
|
-
* @memberof
|
|
12893
|
+
* @type {number}
|
|
12894
|
+
* @memberof DataTypesGetRefundHistoryResponseDto
|
|
12713
12895
|
*/
|
|
12714
|
-
'
|
|
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
|
|
12907
|
+
* @memberof DataTypesGetStoreResult
|
|
12719
12908
|
*/
|
|
12720
|
-
'
|
|
12909
|
+
'CreatedAt'?: string;
|
|
12721
12910
|
/**
|
|
12722
|
-
*
|
|
12723
|
-
* @type {
|
|
12724
|
-
* @memberof
|
|
12911
|
+
* User ID of the creator, nullable
|
|
12912
|
+
* @type {number}
|
|
12913
|
+
* @memberof DataTypesGetStoreResult
|
|
12725
12914
|
*/
|
|
12726
|
-
'
|
|
12915
|
+
'CreatedBy'?: number;
|
|
12727
12916
|
/**
|
|
12728
|
-
*
|
|
12729
|
-
* @type {
|
|
12730
|
-
* @memberof
|
|
12917
|
+
* Store active status
|
|
12918
|
+
* @type {boolean}
|
|
12919
|
+
* @memberof DataTypesGetStoreResult
|
|
12731
12920
|
*/
|
|
12732
|
-
'
|
|
12921
|
+
'IsActive'?: boolean;
|
|
12733
12922
|
/**
|
|
12734
|
-
*
|
|
12923
|
+
* Store location
|
|
12735
12924
|
* @type {string}
|
|
12736
|
-
* @memberof
|
|
12925
|
+
* @memberof DataTypesGetStoreResult
|
|
12737
12926
|
*/
|
|
12738
|
-
'
|
|
12927
|
+
'Location'?: string;
|
|
12739
12928
|
/**
|
|
12740
|
-
*
|
|
12741
|
-
* @type {
|
|
12742
|
-
* @memberof
|
|
12929
|
+
* Timestamp for when the store was last modified
|
|
12930
|
+
* @type {string}
|
|
12931
|
+
* @memberof DataTypesGetStoreResult
|
|
12743
12932
|
*/
|
|
12744
|
-
'
|
|
12933
|
+
'ModifiedAt'?: string;
|
|
12745
12934
|
/**
|
|
12746
|
-
*
|
|
12935
|
+
* User ID of the last modifier, nullable
|
|
12747
12936
|
* @type {number}
|
|
12748
|
-
* @memberof
|
|
12937
|
+
* @memberof DataTypesGetStoreResult
|
|
12749
12938
|
*/
|
|
12750
|
-
'
|
|
12939
|
+
'ModifiedBy'?: number;
|
|
12751
12940
|
/**
|
|
12752
|
-
*
|
|
12941
|
+
* Foreign key to mOrganizations
|
|
12753
12942
|
* @type {number}
|
|
12754
|
-
* @memberof
|
|
12943
|
+
* @memberof DataTypesGetStoreResult
|
|
12755
12944
|
*/
|
|
12756
|
-
'
|
|
12945
|
+
'OrgID'?: number;
|
|
12757
12946
|
/**
|
|
12758
|
-
*
|
|
12947
|
+
* Primary key
|
|
12759
12948
|
* @type {number}
|
|
12760
|
-
* @memberof
|
|
12949
|
+
* @memberof DataTypesGetStoreResult
|
|
12761
12950
|
*/
|
|
12762
|
-
'
|
|
12951
|
+
'StoreID'?: number;
|
|
12763
12952
|
/**
|
|
12764
|
-
*
|
|
12765
|
-
* @type {
|
|
12766
|
-
* @memberof
|
|
12953
|
+
* Store name
|
|
12954
|
+
* @type {string}
|
|
12955
|
+
* @memberof DataTypesGetStoreResult
|
|
12767
12956
|
*/
|
|
12768
|
-
'
|
|
12957
|
+
'StoreName'?: string;
|
|
12769
12958
|
/**
|
|
12770
|
-
*
|
|
12771
|
-
* @type {
|
|
12772
|
-
* @memberof
|
|
12959
|
+
* Store alias
|
|
12960
|
+
* @type {string}
|
|
12961
|
+
* @memberof DataTypesGetStoreResult
|
|
12773
12962
|
*/
|
|
12774
|
-
'
|
|
12963
|
+
'alias'?: string;
|
|
12775
12964
|
/**
|
|
12776
12965
|
*
|
|
12777
|
-
* @type {
|
|
12778
|
-
* @memberof
|
|
12966
|
+
* @type {string}
|
|
12967
|
+
* @memberof DataTypesGetStoreResult
|
|
12779
12968
|
*/
|
|
12780
|
-
'
|
|
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
|
|
12979
|
+
* @memberof DataTypesGetStoreResult
|
|
12785
12980
|
*/
|
|
12786
|
-
'
|
|
12981
|
+
'xStoreID'?: string;
|
|
12787
12982
|
/**
|
|
12788
|
-
*
|
|
12983
|
+
* Include in API responses
|
|
12789
12984
|
* @type {string}
|
|
12790
|
-
* @memberof
|
|
12985
|
+
* @memberof DataTypesGetStoreResult
|
|
12791
12986
|
*/
|
|
12792
|
-
'
|
|
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
|
-
'
|
|
13006
|
+
'collection_alias'?: string;
|
|
12799
13007
|
/**
|
|
12800
13008
|
*
|
|
12801
|
-
* @type {
|
|
13009
|
+
* @type {string}
|
|
12802
13010
|
* @memberof DataTypesIndexConfig
|
|
12803
13011
|
*/
|
|
12804
|
-
'
|
|
13012
|
+
'collection_name'?: string;
|
|
12805
13013
|
/**
|
|
12806
|
-
*
|
|
13014
|
+
*
|
|
12807
13015
|
* @type {string}
|
|
12808
13016
|
* @memberof DataTypesIndexConfig
|
|
12809
13017
|
*/
|
|
12810
|
-
'
|
|
13018
|
+
'default_sorting_field'?: string;
|
|
12811
13019
|
/**
|
|
12812
|
-
*
|
|
12813
|
-
* @type {
|
|
13020
|
+
* Default stopwords set ID to use in searches
|
|
13021
|
+
* @type {string}
|
|
12814
13022
|
* @memberof DataTypesIndexConfig
|
|
12815
13023
|
*/
|
|
12816
|
-
'
|
|
13024
|
+
'default_stopwords_set'?: string;
|
|
12817
13025
|
/**
|
|
12818
|
-
*
|
|
12819
|
-
* @type {
|
|
13026
|
+
*
|
|
13027
|
+
* @type {number}
|
|
12820
13028
|
* @memberof DataTypesIndexConfig
|
|
12821
13029
|
*/
|
|
12822
|
-
'
|
|
13030
|
+
'drop_tokens_threshold'?: number;
|
|
12823
13031
|
/**
|
|
12824
|
-
*
|
|
12825
|
-
* @type {
|
|
13032
|
+
*
|
|
13033
|
+
* @type {string}
|
|
12826
13034
|
* @memberof DataTypesIndexConfig
|
|
12827
13035
|
*/
|
|
12828
|
-
'
|
|
13036
|
+
'embed'?: string;
|
|
12829
13037
|
/**
|
|
12830
13038
|
*
|
|
12831
13039
|
* @type {boolean}
|
|
12832
13040
|
* @memberof DataTypesIndexConfig
|
|
12833
13041
|
*/
|
|
12834
|
-
'
|
|
13042
|
+
'enable_autocomplete'?: boolean;
|
|
12835
13043
|
/**
|
|
12836
13044
|
*
|
|
12837
|
-
* @type {
|
|
13045
|
+
* @type {boolean}
|
|
12838
13046
|
* @memberof DataTypesIndexConfig
|
|
12839
13047
|
*/
|
|
12840
|
-
'
|
|
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
|
|
15533
|
+
* @interface DataTypesPaymentsListResponse
|
|
15086
15534
|
*/
|
|
15087
|
-
export interface
|
|
15535
|
+
export interface DataTypesPaymentsListResponse {
|
|
15088
15536
|
/**
|
|
15089
15537
|
*
|
|
15090
|
-
* @type {
|
|
15091
|
-
* @memberof
|
|
15538
|
+
* @type {Array<DataTypesPayment>}
|
|
15539
|
+
* @memberof DataTypesPaymentsListResponse
|
|
15092
15540
|
*/
|
|
15093
|
-
'
|
|
15541
|
+
'data'?: Array<DataTypesPayment>;
|
|
15094
15542
|
/**
|
|
15095
15543
|
*
|
|
15096
15544
|
* @type {string}
|
|
15097
|
-
* @memberof
|
|
15545
|
+
* @memberof DataTypesPaymentsListResponse
|
|
15098
15546
|
*/
|
|
15099
|
-
'
|
|
15547
|
+
'message'?: string;
|
|
15100
15548
|
/**
|
|
15101
15549
|
*
|
|
15102
|
-
* @type {
|
|
15103
|
-
* @memberof
|
|
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. \'en\', \'ar\')
|
|
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. \'en\', \'ar\')
|
|
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. \'en\', \'ar\')
|
|
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. \'en\', \'ar\')
|
|
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
|
-
|
|
30802
|
-
|
|
30803
|
-
|
|
30804
|
-
|
|
30805
|
-
|
|
31919
|
+
/**
|
|
31920
|
+
* FeatureLimitsApi - axios parameter creator
|
|
31921
|
+
* @export
|
|
31922
|
+
*/
|
|
31923
|
+
export const FeatureLimitsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
31924
|
+
return {
|
|
30806
31925
|
/**
|
|
30807
|
-
*
|
|
30808
|
-
* @summary
|
|
30809
|
-
* @param {string}
|
|
30810
|
-
* @param {number}
|
|
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
|
-
|
|
30816
|
-
|
|
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: '
|
|
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
|
-
*
|
|
30855
|
-
* @summary
|
|
30856
|
-
* @param {string}
|
|
30857
|
-
* @param {number}
|
|
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
|
-
|
|
30863
|
-
// verify required parameter '
|
|
30864
|
-
assertParamExists('
|
|
30865
|
-
|
|
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: '
|
|
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
|
-
*
|
|
30902
|
-
* @summary
|
|
30903
|
-
* @param {string}
|
|
30904
|
-
* @param {number}
|
|
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
|
-
|
|
30910
|
-
|
|
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: '
|
|
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
|
-
*
|
|
30949
|
-
* @summary Get
|
|
30950
|
-
* @param {string} xStoreID X-Store ID
|
|
30951
|
-
* @param {string} [lang] Language locale filter (e.g. \'en\', \'ar\')
|
|
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
|
-
|
|
30959
|
-
|
|
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
|
-
*
|
|
31006
|
-
* @summary
|
|
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
|
-
|
|
31013
|
-
|
|
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: '
|
|
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
|
-
*
|
|
32126
|
+
* FeatureLimitsApi - functional programming interface
|
|
31052
32127
|
* @export
|
|
31053
32128
|
*/
|
|
31054
|
-
export const
|
|
31055
|
-
const localVarAxiosParamCreator =
|
|
32129
|
+
export const FeatureLimitsApiFp = function(configuration?: Configuration) {
|
|
32130
|
+
const localVarAxiosParamCreator = FeatureLimitsApiAxiosParamCreator(configuration)
|
|
31056
32131
|
return {
|
|
31057
32132
|
/**
|
|
31058
|
-
*
|
|
31059
|
-
* @summary
|
|
31060
|
-
* @param {string}
|
|
31061
|
-
* @param {number}
|
|
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
|
|
31095
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
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['
|
|
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
|
-
*
|
|
31102
|
-
* @summary
|
|
31103
|
-
* @param {string}
|
|
31104
|
-
* @param {number}
|
|
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
|
|
31110
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
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['
|
|
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
|
-
*
|
|
31117
|
-
* @summary
|
|
31118
|
-
* @param {string}
|
|
31119
|
-
* @param {number}
|
|
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
|
|
31125
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
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['
|
|
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
|
-
*
|
|
31132
|
-
* @summary Get
|
|
31133
|
-
* @param {string} xStoreID X-Store ID
|
|
31134
|
-
* @param {string} [lang] Language locale filter (e.g. \'en\', \'ar\')
|
|
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
|
|
31142
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
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['
|
|
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
|
-
*
|
|
31149
|
-
* @summary
|
|
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
|
|
31156
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
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['
|
|
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
|
-
*
|
|
31166
|
-
* @export
|
|
31167
|
-
*/
|
|
31168
|
-
export const
|
|
31169
|
-
const localVarFp =
|
|
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
|
-
*
|
|
31195
|
-
* @summary
|
|
31196
|
-
* @param {string}
|
|
31197
|
-
* @param {number}
|
|
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
|
-
|
|
31203
|
-
return localVarFp.
|
|
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
|
-
*
|
|
31207
|
-
* @summary
|
|
31208
|
-
* @param {string}
|
|
31209
|
-
* @param {number}
|
|
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
|
-
|
|
31215
|
-
return localVarFp.
|
|
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
|
-
*
|
|
31219
|
-
* @summary
|
|
31220
|
-
* @param {string}
|
|
31221
|
-
* @param {number}
|
|
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
|
-
|
|
31227
|
-
return localVarFp.
|
|
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
|
-
*
|
|
31231
|
-
* @summary Get
|
|
31232
|
-
* @param {string} xStoreID X-Store ID
|
|
31233
|
-
* @param {string} [lang] Language locale filter (e.g. \'en\', \'ar\')
|
|
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
|
-
|
|
31241
|
-
return localVarFp.
|
|
32247
|
+
apiFeatureLimitsPlanGet(options?: RawAxiosRequestConfig): AxiosPromise<ApiFeatureLimitsPlanGet200Response> {
|
|
32248
|
+
return localVarFp.apiFeatureLimitsPlanGet(options).then((request) => request(axios, basePath));
|
|
31242
32249
|
},
|
|
31243
32250
|
/**
|
|
31244
|
-
*
|
|
31245
|
-
* @summary
|
|
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
|
-
|
|
31252
|
-
return localVarFp.
|
|
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
|
-
*
|
|
32263
|
+
* FeatureLimitsApi - object-oriented interface
|
|
31259
32264
|
* @export
|
|
31260
|
-
* @class
|
|
32265
|
+
* @class FeatureLimitsApi
|
|
31261
32266
|
* @extends {BaseAPI}
|
|
31262
32267
|
*/
|
|
31263
|
-
export class
|
|
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
|
-
*
|
|
31292
|
-
* @summary
|
|
31293
|
-
* @param {string}
|
|
31294
|
-
* @param {number}
|
|
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
|
|
32276
|
+
* @memberof FeatureLimitsApi
|
|
31299
32277
|
*/
|
|
31300
|
-
public
|
|
31301
|
-
return
|
|
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
|
-
*
|
|
31306
|
-
* @summary
|
|
31307
|
-
* @param {string}
|
|
31308
|
-
* @param {number}
|
|
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
|
|
32289
|
+
* @memberof FeatureLimitsApi
|
|
31313
32290
|
*/
|
|
31314
|
-
public
|
|
31315
|
-
return
|
|
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
|
-
*
|
|
31320
|
-
* @summary
|
|
31321
|
-
* @param {string}
|
|
31322
|
-
* @param {number}
|
|
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
|
|
32302
|
+
* @memberof FeatureLimitsApi
|
|
31327
32303
|
*/
|
|
31328
|
-
public
|
|
31329
|
-
return
|
|
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
|
-
*
|
|
31334
|
-
* @summary Get
|
|
31335
|
-
* @param {string} xStoreID X-Store ID
|
|
31336
|
-
* @param {string} [lang] Language locale filter (e.g. \'en\', \'ar\')
|
|
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
|
|
32313
|
+
* @memberof FeatureLimitsApi
|
|
31343
32314
|
*/
|
|
31344
|
-
public
|
|
31345
|
-
return
|
|
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
|
-
*
|
|
31350
|
-
* @summary
|
|
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
|
|
32324
|
+
* @memberof FeatureLimitsApi
|
|
31356
32325
|
*/
|
|
31357
|
-
public
|
|
31358
|
-
return
|
|
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
|
-
*
|
|
32334
|
+
* FeatureLimitsAdminApi - axios parameter creator
|
|
31366
32335
|
* @export
|
|
31367
32336
|
*/
|
|
31368
|
-
export const
|
|
32337
|
+
export const FeatureLimitsAdminApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
31369
32338
|
return {
|
|
31370
32339
|
/**
|
|
31371
|
-
*
|
|
31372
|
-
* @summary
|
|
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
|
-
|
|
31379
|
-
|
|
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
|
-
|
|
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
|
-
*
|
|
32416
|
+
* FeatureLimitsAdminApi - functional programming interface
|
|
31423
32417
|
* @export
|
|
31424
32418
|
*/
|
|
31425
|
-
export const
|
|
31426
|
-
const localVarAxiosParamCreator =
|
|
32419
|
+
export const FeatureLimitsAdminApiFp = function(configuration?: Configuration) {
|
|
32420
|
+
const localVarAxiosParamCreator = FeatureLimitsAdminApiAxiosParamCreator(configuration)
|
|
31427
32421
|
return {
|
|
31428
32422
|
/**
|
|
31429
|
-
*
|
|
31430
|
-
* @summary
|
|
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
|
|
31437
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
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['
|
|
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
|
-
*
|
|
32451
|
+
* FeatureLimitsAdminApi - factory interface
|
|
31447
32452
|
* @export
|
|
31448
32453
|
*/
|
|
31449
|
-
export const
|
|
31450
|
-
const localVarFp =
|
|
32454
|
+
export const FeatureLimitsAdminApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
32455
|
+
const localVarFp = FeatureLimitsAdminApiFp(configuration)
|
|
31451
32456
|
return {
|
|
31452
32457
|
/**
|
|
31453
|
-
*
|
|
31454
|
-
* @summary
|
|
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
|
-
|
|
31461
|
-
return localVarFp.
|
|
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
|
-
*
|
|
32480
|
+
* FeatureLimitsAdminApi - object-oriented interface
|
|
31468
32481
|
* @export
|
|
31469
|
-
* @class
|
|
32482
|
+
* @class FeatureLimitsAdminApi
|
|
31470
32483
|
* @extends {BaseAPI}
|
|
31471
32484
|
*/
|
|
31472
|
-
export class
|
|
32485
|
+
export class FeatureLimitsAdminApi extends BaseAPI {
|
|
31473
32486
|
/**
|
|
31474
|
-
*
|
|
31475
|
-
* @summary
|
|
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
|
|
32491
|
+
* @memberof FeatureLimitsAdminApi
|
|
31481
32492
|
*/
|
|
31482
|
-
public
|
|
31483
|
-
return
|
|
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<
|
|
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<
|
|
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
|