@seekora-ai/admin-api 1.1.0 → 1.1.2
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 +54 -14
- package/api.ts +2392 -207
- package/dist/api.d.ts +1938 -160
- package/dist/api.js +802 -71
- package/dist/esm/api.d.ts +1938 -160
- package/dist/esm/api.js +796 -69
- package/package.json +1 -1
- package/seekora-ai-admin-api-1.1.2.tgz +0 -0
- package/seekora-ai-admin-api-1.1.0.tgz +0 -0
package/api.ts
CHANGED
|
@@ -754,6 +754,44 @@ export interface AdminAnalyticsStoreXStoreIDQueriesQueryInsightsGet200Response {
|
|
|
754
754
|
*/
|
|
755
755
|
'total'?: number;
|
|
756
756
|
}
|
|
757
|
+
/**
|
|
758
|
+
*
|
|
759
|
+
* @export
|
|
760
|
+
* @interface AdminFeatureLimitsViolationsGet200Response
|
|
761
|
+
*/
|
|
762
|
+
export interface AdminFeatureLimitsViolationsGet200Response {
|
|
763
|
+
/**
|
|
764
|
+
*
|
|
765
|
+
* @type {Array<DataTypesFeatureLimitViolation>}
|
|
766
|
+
* @memberof AdminFeatureLimitsViolationsGet200Response
|
|
767
|
+
*/
|
|
768
|
+
'data'?: Array<DataTypesFeatureLimitViolation>;
|
|
769
|
+
/**
|
|
770
|
+
*
|
|
771
|
+
* @type {string}
|
|
772
|
+
* @memberof AdminFeatureLimitsViolationsGet200Response
|
|
773
|
+
*/
|
|
774
|
+
'message'?: string;
|
|
775
|
+
/**
|
|
776
|
+
*
|
|
777
|
+
* @type {number}
|
|
778
|
+
* @memberof AdminFeatureLimitsViolationsGet200Response
|
|
779
|
+
*/
|
|
780
|
+
'status'?: number;
|
|
781
|
+
}
|
|
782
|
+
/**
|
|
783
|
+
*
|
|
784
|
+
* @export
|
|
785
|
+
* @interface AdminPaymentGatewayVerifyInvoicePostRequest
|
|
786
|
+
*/
|
|
787
|
+
export interface AdminPaymentGatewayVerifyInvoicePostRequest {
|
|
788
|
+
/**
|
|
789
|
+
*
|
|
790
|
+
* @type {string}
|
|
791
|
+
* @memberof AdminPaymentGatewayVerifyInvoicePostRequest
|
|
792
|
+
*/
|
|
793
|
+
'gateway_order_id'?: string;
|
|
794
|
+
}
|
|
757
795
|
/**
|
|
758
796
|
*
|
|
759
797
|
* @export
|
|
@@ -7075,131 +7113,6 @@ export interface AnalyticsWidgetData {
|
|
|
7075
7113
|
*/
|
|
7076
7114
|
'tertiary_text'?: string;
|
|
7077
7115
|
}
|
|
7078
|
-
/**
|
|
7079
|
-
*
|
|
7080
|
-
* @export
|
|
7081
|
-
* @interface ApiAdminFeatureLimitsViolationsGet200Response
|
|
7082
|
-
*/
|
|
7083
|
-
export interface ApiAdminFeatureLimitsViolationsGet200Response {
|
|
7084
|
-
/**
|
|
7085
|
-
*
|
|
7086
|
-
* @type {Array<DataTypesFeatureLimitViolation>}
|
|
7087
|
-
* @memberof ApiAdminFeatureLimitsViolationsGet200Response
|
|
7088
|
-
*/
|
|
7089
|
-
'data'?: Array<DataTypesFeatureLimitViolation>;
|
|
7090
|
-
/**
|
|
7091
|
-
*
|
|
7092
|
-
* @type {string}
|
|
7093
|
-
* @memberof ApiAdminFeatureLimitsViolationsGet200Response
|
|
7094
|
-
*/
|
|
7095
|
-
'message'?: string;
|
|
7096
|
-
/**
|
|
7097
|
-
*
|
|
7098
|
-
* @type {number}
|
|
7099
|
-
* @memberof ApiAdminFeatureLimitsViolationsGet200Response
|
|
7100
|
-
*/
|
|
7101
|
-
'status'?: number;
|
|
7102
|
-
}
|
|
7103
|
-
/**
|
|
7104
|
-
*
|
|
7105
|
-
* @export
|
|
7106
|
-
* @interface ApiFeatureLimitsCheckGet200Response
|
|
7107
|
-
*/
|
|
7108
|
-
export interface ApiFeatureLimitsCheckGet200Response {
|
|
7109
|
-
/**
|
|
7110
|
-
*
|
|
7111
|
-
* @type {DataTypesFeatureCheckResult}
|
|
7112
|
-
* @memberof ApiFeatureLimitsCheckGet200Response
|
|
7113
|
-
*/
|
|
7114
|
-
'data'?: DataTypesFeatureCheckResult;
|
|
7115
|
-
/**
|
|
7116
|
-
*
|
|
7117
|
-
* @type {string}
|
|
7118
|
-
* @memberof ApiFeatureLimitsCheckGet200Response
|
|
7119
|
-
*/
|
|
7120
|
-
'message'?: string;
|
|
7121
|
-
/**
|
|
7122
|
-
*
|
|
7123
|
-
* @type {number}
|
|
7124
|
-
* @memberof ApiFeatureLimitsCheckGet200Response
|
|
7125
|
-
*/
|
|
7126
|
-
'status'?: number;
|
|
7127
|
-
}
|
|
7128
|
-
/**
|
|
7129
|
-
*
|
|
7130
|
-
* @export
|
|
7131
|
-
* @interface ApiFeatureLimitsHistoryGet200Response
|
|
7132
|
-
*/
|
|
7133
|
-
export interface ApiFeatureLimitsHistoryGet200Response {
|
|
7134
|
-
/**
|
|
7135
|
-
*
|
|
7136
|
-
* @type {Array<DataTypesFeatureUsageHistory>}
|
|
7137
|
-
* @memberof ApiFeatureLimitsHistoryGet200Response
|
|
7138
|
-
*/
|
|
7139
|
-
'data'?: Array<DataTypesFeatureUsageHistory>;
|
|
7140
|
-
/**
|
|
7141
|
-
*
|
|
7142
|
-
* @type {string}
|
|
7143
|
-
* @memberof ApiFeatureLimitsHistoryGet200Response
|
|
7144
|
-
*/
|
|
7145
|
-
'message'?: string;
|
|
7146
|
-
/**
|
|
7147
|
-
*
|
|
7148
|
-
* @type {number}
|
|
7149
|
-
* @memberof ApiFeatureLimitsHistoryGet200Response
|
|
7150
|
-
*/
|
|
7151
|
-
'status'?: number;
|
|
7152
|
-
}
|
|
7153
|
-
/**
|
|
7154
|
-
*
|
|
7155
|
-
* @export
|
|
7156
|
-
* @interface ApiFeatureLimitsPlanGet200Response
|
|
7157
|
-
*/
|
|
7158
|
-
export interface ApiFeatureLimitsPlanGet200Response {
|
|
7159
|
-
/**
|
|
7160
|
-
*
|
|
7161
|
-
* @type {DataTypesPlanFeatures}
|
|
7162
|
-
* @memberof ApiFeatureLimitsPlanGet200Response
|
|
7163
|
-
*/
|
|
7164
|
-
'data'?: DataTypesPlanFeatures;
|
|
7165
|
-
/**
|
|
7166
|
-
*
|
|
7167
|
-
* @type {string}
|
|
7168
|
-
* @memberof ApiFeatureLimitsPlanGet200Response
|
|
7169
|
-
*/
|
|
7170
|
-
'message'?: string;
|
|
7171
|
-
/**
|
|
7172
|
-
*
|
|
7173
|
-
* @type {number}
|
|
7174
|
-
* @memberof ApiFeatureLimitsPlanGet200Response
|
|
7175
|
-
*/
|
|
7176
|
-
'status'?: number;
|
|
7177
|
-
}
|
|
7178
|
-
/**
|
|
7179
|
-
*
|
|
7180
|
-
* @export
|
|
7181
|
-
* @interface ApiFeatureLimitsUsageGet200Response
|
|
7182
|
-
*/
|
|
7183
|
-
export interface ApiFeatureLimitsUsageGet200Response {
|
|
7184
|
-
/**
|
|
7185
|
-
*
|
|
7186
|
-
* @type {Array<DataTypesFeatureUsageStats>}
|
|
7187
|
-
* @memberof ApiFeatureLimitsUsageGet200Response
|
|
7188
|
-
*/
|
|
7189
|
-
'data'?: Array<DataTypesFeatureUsageStats>;
|
|
7190
|
-
/**
|
|
7191
|
-
*
|
|
7192
|
-
* @type {string}
|
|
7193
|
-
* @memberof ApiFeatureLimitsUsageGet200Response
|
|
7194
|
-
*/
|
|
7195
|
-
'message'?: string;
|
|
7196
|
-
/**
|
|
7197
|
-
*
|
|
7198
|
-
* @type {number}
|
|
7199
|
-
* @memberof ApiFeatureLimitsUsageGet200Response
|
|
7200
|
-
*/
|
|
7201
|
-
'status'?: number;
|
|
7202
|
-
}
|
|
7203
7116
|
/**
|
|
7204
7117
|
*
|
|
7205
7118
|
* @export
|
|
@@ -10747,6 +10660,92 @@ export interface DataTypesFulfillmentInfoSubscription {
|
|
|
10747
10660
|
*/
|
|
10748
10661
|
'plan_name'?: string;
|
|
10749
10662
|
}
|
|
10663
|
+
/**
|
|
10664
|
+
*
|
|
10665
|
+
* @export
|
|
10666
|
+
* @interface DataTypesGSTVerificationRequest
|
|
10667
|
+
*/
|
|
10668
|
+
export interface DataTypesGSTVerificationRequest {
|
|
10669
|
+
/**
|
|
10670
|
+
*
|
|
10671
|
+
* @type {string}
|
|
10672
|
+
* @memberof DataTypesGSTVerificationRequest
|
|
10673
|
+
*/
|
|
10674
|
+
'gstin': string;
|
|
10675
|
+
}
|
|
10676
|
+
/**
|
|
10677
|
+
*
|
|
10678
|
+
* @export
|
|
10679
|
+
* @interface DataTypesGSTVerificationResponse
|
|
10680
|
+
*/
|
|
10681
|
+
export interface DataTypesGSTVerificationResponse {
|
|
10682
|
+
/**
|
|
10683
|
+
*
|
|
10684
|
+
* @type {string}
|
|
10685
|
+
* @memberof DataTypesGSTVerificationResponse
|
|
10686
|
+
*/
|
|
10687
|
+
'address'?: string;
|
|
10688
|
+
/**
|
|
10689
|
+
*
|
|
10690
|
+
* @type {string}
|
|
10691
|
+
* @memberof DataTypesGSTVerificationResponse
|
|
10692
|
+
*/
|
|
10693
|
+
'business_name'?: string;
|
|
10694
|
+
/**
|
|
10695
|
+
*
|
|
10696
|
+
* @type {string}
|
|
10697
|
+
* @memberof DataTypesGSTVerificationResponse
|
|
10698
|
+
*/
|
|
10699
|
+
'gstin'?: string;
|
|
10700
|
+
/**
|
|
10701
|
+
*
|
|
10702
|
+
* @type {boolean}
|
|
10703
|
+
* @memberof DataTypesGSTVerificationResponse
|
|
10704
|
+
*/
|
|
10705
|
+
'is_valid'?: boolean;
|
|
10706
|
+
/**
|
|
10707
|
+
*
|
|
10708
|
+
* @type {string}
|
|
10709
|
+
* @memberof DataTypesGSTVerificationResponse
|
|
10710
|
+
*/
|
|
10711
|
+
'last_updated'?: string;
|
|
10712
|
+
/**
|
|
10713
|
+
*
|
|
10714
|
+
* @type {string}
|
|
10715
|
+
* @memberof DataTypesGSTVerificationResponse
|
|
10716
|
+
*/
|
|
10717
|
+
'registration_date'?: string;
|
|
10718
|
+
/**
|
|
10719
|
+
* \'api\', \'cache\', \'manual\'
|
|
10720
|
+
* @type {string}
|
|
10721
|
+
* @memberof DataTypesGSTVerificationResponse
|
|
10722
|
+
*/
|
|
10723
|
+
'source'?: string;
|
|
10724
|
+
/**
|
|
10725
|
+
*
|
|
10726
|
+
* @type {string}
|
|
10727
|
+
* @memberof DataTypesGSTVerificationResponse
|
|
10728
|
+
*/
|
|
10729
|
+
'state_code'?: string;
|
|
10730
|
+
/**
|
|
10731
|
+
* \'Active\', \'Cancelled\', \'Suspended\'
|
|
10732
|
+
* @type {string}
|
|
10733
|
+
* @memberof DataTypesGSTVerificationResponse
|
|
10734
|
+
*/
|
|
10735
|
+
'status'?: string;
|
|
10736
|
+
/**
|
|
10737
|
+
*
|
|
10738
|
+
* @type {string}
|
|
10739
|
+
* @memberof DataTypesGSTVerificationResponse
|
|
10740
|
+
*/
|
|
10741
|
+
'taxpayer_type'?: string;
|
|
10742
|
+
/**
|
|
10743
|
+
*
|
|
10744
|
+
* @type {string}
|
|
10745
|
+
* @memberof DataTypesGSTVerificationResponse
|
|
10746
|
+
*/
|
|
10747
|
+
'trade_name'?: string;
|
|
10748
|
+
}
|
|
10750
10749
|
/**
|
|
10751
10750
|
*
|
|
10752
10751
|
* @export
|
|
@@ -10841,6 +10840,56 @@ export interface DataTypesGenericResponseDataTypesBillingOrderDetailsResponse {
|
|
|
10841
10840
|
*/
|
|
10842
10841
|
'status'?: number;
|
|
10843
10842
|
}
|
|
10843
|
+
/**
|
|
10844
|
+
*
|
|
10845
|
+
* @export
|
|
10846
|
+
* @interface DataTypesGenericResponseDataTypesGSTVerificationResponse
|
|
10847
|
+
*/
|
|
10848
|
+
export interface DataTypesGenericResponseDataTypesGSTVerificationResponse {
|
|
10849
|
+
/**
|
|
10850
|
+
*
|
|
10851
|
+
* @type {DataTypesGSTVerificationResponse}
|
|
10852
|
+
* @memberof DataTypesGenericResponseDataTypesGSTVerificationResponse
|
|
10853
|
+
*/
|
|
10854
|
+
'data'?: DataTypesGSTVerificationResponse;
|
|
10855
|
+
/**
|
|
10856
|
+
*
|
|
10857
|
+
* @type {string}
|
|
10858
|
+
* @memberof DataTypesGenericResponseDataTypesGSTVerificationResponse
|
|
10859
|
+
*/
|
|
10860
|
+
'message'?: string;
|
|
10861
|
+
/**
|
|
10862
|
+
*
|
|
10863
|
+
* @type {number}
|
|
10864
|
+
* @memberof DataTypesGenericResponseDataTypesGSTVerificationResponse
|
|
10865
|
+
*/
|
|
10866
|
+
'status'?: number;
|
|
10867
|
+
}
|
|
10868
|
+
/**
|
|
10869
|
+
*
|
|
10870
|
+
* @export
|
|
10871
|
+
* @interface DataTypesGenericResponseDataTypesOrganizationTaxDetails
|
|
10872
|
+
*/
|
|
10873
|
+
export interface DataTypesGenericResponseDataTypesOrganizationTaxDetails {
|
|
10874
|
+
/**
|
|
10875
|
+
*
|
|
10876
|
+
* @type {DataTypesOrganizationTaxDetails}
|
|
10877
|
+
* @memberof DataTypesGenericResponseDataTypesOrganizationTaxDetails
|
|
10878
|
+
*/
|
|
10879
|
+
'data'?: DataTypesOrganizationTaxDetails;
|
|
10880
|
+
/**
|
|
10881
|
+
*
|
|
10882
|
+
* @type {string}
|
|
10883
|
+
* @memberof DataTypesGenericResponseDataTypesOrganizationTaxDetails
|
|
10884
|
+
*/
|
|
10885
|
+
'message'?: string;
|
|
10886
|
+
/**
|
|
10887
|
+
*
|
|
10888
|
+
* @type {number}
|
|
10889
|
+
* @memberof DataTypesGenericResponseDataTypesOrganizationTaxDetails
|
|
10890
|
+
*/
|
|
10891
|
+
'status'?: number;
|
|
10892
|
+
}
|
|
10844
10893
|
/**
|
|
10845
10894
|
*
|
|
10846
10895
|
* @export
|
|
@@ -10866,6 +10915,56 @@ export interface DataTypesGenericResponseDataTypesPayInvoiceResponse {
|
|
|
10866
10915
|
*/
|
|
10867
10916
|
'status'?: number;
|
|
10868
10917
|
}
|
|
10918
|
+
/**
|
|
10919
|
+
*
|
|
10920
|
+
* @export
|
|
10921
|
+
* @interface DataTypesGenericResponseDataTypesTaxCalculationResponse
|
|
10922
|
+
*/
|
|
10923
|
+
export interface DataTypesGenericResponseDataTypesTaxCalculationResponse {
|
|
10924
|
+
/**
|
|
10925
|
+
*
|
|
10926
|
+
* @type {DataTypesTaxCalculationResponse}
|
|
10927
|
+
* @memberof DataTypesGenericResponseDataTypesTaxCalculationResponse
|
|
10928
|
+
*/
|
|
10929
|
+
'data'?: DataTypesTaxCalculationResponse;
|
|
10930
|
+
/**
|
|
10931
|
+
*
|
|
10932
|
+
* @type {string}
|
|
10933
|
+
* @memberof DataTypesGenericResponseDataTypesTaxCalculationResponse
|
|
10934
|
+
*/
|
|
10935
|
+
'message'?: string;
|
|
10936
|
+
/**
|
|
10937
|
+
*
|
|
10938
|
+
* @type {number}
|
|
10939
|
+
* @memberof DataTypesGenericResponseDataTypesTaxCalculationResponse
|
|
10940
|
+
*/
|
|
10941
|
+
'status'?: number;
|
|
10942
|
+
}
|
|
10943
|
+
/**
|
|
10944
|
+
*
|
|
10945
|
+
* @export
|
|
10946
|
+
* @interface DataTypesGenericResponseFeatureLimitServiceLimitStatus
|
|
10947
|
+
*/
|
|
10948
|
+
export interface DataTypesGenericResponseFeatureLimitServiceLimitStatus {
|
|
10949
|
+
/**
|
|
10950
|
+
*
|
|
10951
|
+
* @type {FeatureLimitServiceLimitStatus}
|
|
10952
|
+
* @memberof DataTypesGenericResponseFeatureLimitServiceLimitStatus
|
|
10953
|
+
*/
|
|
10954
|
+
'data'?: FeatureLimitServiceLimitStatus;
|
|
10955
|
+
/**
|
|
10956
|
+
*
|
|
10957
|
+
* @type {string}
|
|
10958
|
+
* @memberof DataTypesGenericResponseFeatureLimitServiceLimitStatus
|
|
10959
|
+
*/
|
|
10960
|
+
'message'?: string;
|
|
10961
|
+
/**
|
|
10962
|
+
*
|
|
10963
|
+
* @type {number}
|
|
10964
|
+
* @memberof DataTypesGenericResponseFeatureLimitServiceLimitStatus
|
|
10965
|
+
*/
|
|
10966
|
+
'status'?: number;
|
|
10967
|
+
}
|
|
10869
10968
|
/**
|
|
10870
10969
|
*
|
|
10871
10970
|
* @export
|
|
@@ -11543,6 +11642,12 @@ export interface DataTypesInvoice {
|
|
|
11543
11642
|
* @memberof DataTypesInvoice
|
|
11544
11643
|
*/
|
|
11545
11644
|
'tax_amount'?: number;
|
|
11645
|
+
/**
|
|
11646
|
+
* Tax and GST details (comprehensive)
|
|
11647
|
+
* @type {DataTypesInvoiceTaxDetails}
|
|
11648
|
+
* @memberof DataTypesInvoice
|
|
11649
|
+
*/
|
|
11650
|
+
'tax_details'?: DataTypesInvoiceTaxDetails;
|
|
11546
11651
|
/**
|
|
11547
11652
|
*
|
|
11548
11653
|
* @type {number}
|
|
@@ -11568,6 +11673,24 @@ export interface DataTypesInvoiceItem {
|
|
|
11568
11673
|
* @memberof DataTypesInvoiceItem
|
|
11569
11674
|
*/
|
|
11570
11675
|
'description'?: string;
|
|
11676
|
+
/**
|
|
11677
|
+
*
|
|
11678
|
+
* @type {string}
|
|
11679
|
+
* @memberof DataTypesInvoiceItem
|
|
11680
|
+
*/
|
|
11681
|
+
'exemption_reason'?: string;
|
|
11682
|
+
/**
|
|
11683
|
+
* Enhanced tax details for GST compliance
|
|
11684
|
+
* @type {string}
|
|
11685
|
+
* @memberof DataTypesInvoiceItem
|
|
11686
|
+
*/
|
|
11687
|
+
'hsn_sac_code'?: string;
|
|
11688
|
+
/**
|
|
11689
|
+
*
|
|
11690
|
+
* @type {boolean}
|
|
11691
|
+
* @memberof DataTypesInvoiceItem
|
|
11692
|
+
*/
|
|
11693
|
+
'is_tax_exempt'?: boolean;
|
|
11571
11694
|
/**
|
|
11572
11695
|
*
|
|
11573
11696
|
* @type {string}
|
|
@@ -11586,6 +11709,12 @@ export interface DataTypesInvoiceItem {
|
|
|
11586
11709
|
* @memberof DataTypesInvoiceItem
|
|
11587
11710
|
*/
|
|
11588
11711
|
'tax_amount'?: number;
|
|
11712
|
+
/**
|
|
11713
|
+
* Detailed tax breakdown
|
|
11714
|
+
* @type {DataTypesTaxBreakdown}
|
|
11715
|
+
* @memberof DataTypesInvoiceItem
|
|
11716
|
+
*/
|
|
11717
|
+
'tax_breakdown'?: DataTypesTaxBreakdown;
|
|
11589
11718
|
/**
|
|
11590
11719
|
*
|
|
11591
11720
|
* @type {number}
|
|
@@ -11605,6 +11734,212 @@ export interface DataTypesInvoiceItem {
|
|
|
11605
11734
|
*/
|
|
11606
11735
|
'unit_price'?: number;
|
|
11607
11736
|
}
|
|
11737
|
+
/**
|
|
11738
|
+
*
|
|
11739
|
+
* @export
|
|
11740
|
+
* @interface DataTypesInvoiceTaxDetails
|
|
11741
|
+
*/
|
|
11742
|
+
export interface DataTypesInvoiceTaxDetails {
|
|
11743
|
+
/**
|
|
11744
|
+
* Acknowledgment date
|
|
11745
|
+
* @type {string}
|
|
11746
|
+
* @memberof DataTypesInvoiceTaxDetails
|
|
11747
|
+
*/
|
|
11748
|
+
'ack_date'?: string;
|
|
11749
|
+
/**
|
|
11750
|
+
* Acknowledgment number
|
|
11751
|
+
* @type {string}
|
|
11752
|
+
* @memberof DataTypesInvoiceTaxDetails
|
|
11753
|
+
*/
|
|
11754
|
+
'ack_no'?: string;
|
|
11755
|
+
/**
|
|
11756
|
+
*
|
|
11757
|
+
* @type {{ [key: string]: any; }}
|
|
11758
|
+
* @memberof DataTypesInvoiceTaxDetails
|
|
11759
|
+
*/
|
|
11760
|
+
'compliance_metadata'?: { [key: string]: any; };
|
|
11761
|
+
/**
|
|
11762
|
+
*
|
|
11763
|
+
* @type {string}
|
|
11764
|
+
* @memberof DataTypesInvoiceTaxDetails
|
|
11765
|
+
*/
|
|
11766
|
+
'customer_address'?: string;
|
|
11767
|
+
/**
|
|
11768
|
+
* Customer details
|
|
11769
|
+
* @type {string}
|
|
11770
|
+
* @memberof DataTypesInvoiceTaxDetails
|
|
11771
|
+
*/
|
|
11772
|
+
'customer_gstin'?: string;
|
|
11773
|
+
/**
|
|
11774
|
+
*
|
|
11775
|
+
* @type {string}
|
|
11776
|
+
* @memberof DataTypesInvoiceTaxDetails
|
|
11777
|
+
*/
|
|
11778
|
+
'customer_legal_name'?: string;
|
|
11779
|
+
/**
|
|
11780
|
+
*
|
|
11781
|
+
* @type {string}
|
|
11782
|
+
* @memberof DataTypesInvoiceTaxDetails
|
|
11783
|
+
*/
|
|
11784
|
+
'customer_pan'?: string;
|
|
11785
|
+
/**
|
|
11786
|
+
*
|
|
11787
|
+
* @type {string}
|
|
11788
|
+
* @memberof DataTypesInvoiceTaxDetails
|
|
11789
|
+
*/
|
|
11790
|
+
'customer_place_of_supply'?: string;
|
|
11791
|
+
/**
|
|
11792
|
+
* \'pending\', \'filed\', \'accepted\'
|
|
11793
|
+
* @type {string}
|
|
11794
|
+
* @memberof DataTypesInvoiceTaxDetails
|
|
11795
|
+
*/
|
|
11796
|
+
'filing_status'?: string;
|
|
11797
|
+
/**
|
|
11798
|
+
* Compliance
|
|
11799
|
+
* @type {string}
|
|
11800
|
+
* @memberof DataTypesInvoiceTaxDetails
|
|
11801
|
+
*/
|
|
11802
|
+
'fiscal_year'?: string;
|
|
11803
|
+
/**
|
|
11804
|
+
* e.g., \'Nov-2024\'
|
|
11805
|
+
* @type {string}
|
|
11806
|
+
* @memberof DataTypesInvoiceTaxDetails
|
|
11807
|
+
*/
|
|
11808
|
+
'gst_filing_period'?: string;
|
|
11809
|
+
/**
|
|
11810
|
+
* \'tax_invoice\', \'bill_of_supply\', \'export_invoice\', etc.
|
|
11811
|
+
* @type {string}
|
|
11812
|
+
* @memberof DataTypesInvoiceTaxDetails
|
|
11813
|
+
*/
|
|
11814
|
+
'invoice_type'?: string;
|
|
11815
|
+
/**
|
|
11816
|
+
* E-invoicing details (India)
|
|
11817
|
+
* @type {string}
|
|
11818
|
+
* @memberof DataTypesInvoiceTaxDetails
|
|
11819
|
+
*/
|
|
11820
|
+
'irn'?: string;
|
|
11821
|
+
/**
|
|
11822
|
+
* IRN generation date
|
|
11823
|
+
* @type {string}
|
|
11824
|
+
* @memberof DataTypesInvoiceTaxDetails
|
|
11825
|
+
*/
|
|
11826
|
+
'irn_date'?: string;
|
|
11827
|
+
/**
|
|
11828
|
+
* QR code for invoice
|
|
11829
|
+
* @type {string}
|
|
11830
|
+
* @memberof DataTypesInvoiceTaxDetails
|
|
11831
|
+
*/
|
|
11832
|
+
'qr_code_data'?: string;
|
|
11833
|
+
/**
|
|
11834
|
+
*
|
|
11835
|
+
* @type {boolean}
|
|
11836
|
+
* @memberof DataTypesInvoiceTaxDetails
|
|
11837
|
+
*/
|
|
11838
|
+
'reverse_charge'?: boolean;
|
|
11839
|
+
/**
|
|
11840
|
+
*
|
|
11841
|
+
* @type {string}
|
|
11842
|
+
* @memberof DataTypesInvoiceTaxDetails
|
|
11843
|
+
*/
|
|
11844
|
+
'supplier_address'?: string;
|
|
11845
|
+
/**
|
|
11846
|
+
* Supplier details (our organization)
|
|
11847
|
+
* @type {string}
|
|
11848
|
+
* @memberof DataTypesInvoiceTaxDetails
|
|
11849
|
+
*/
|
|
11850
|
+
'supplier_gstin'?: string;
|
|
11851
|
+
/**
|
|
11852
|
+
*
|
|
11853
|
+
* @type {string}
|
|
11854
|
+
* @memberof DataTypesInvoiceTaxDetails
|
|
11855
|
+
*/
|
|
11856
|
+
'supplier_legal_name'?: string;
|
|
11857
|
+
/**
|
|
11858
|
+
*
|
|
11859
|
+
* @type {string}
|
|
11860
|
+
* @memberof DataTypesInvoiceTaxDetails
|
|
11861
|
+
*/
|
|
11862
|
+
'supplier_pan'?: string;
|
|
11863
|
+
/**
|
|
11864
|
+
*
|
|
11865
|
+
* @type {string}
|
|
11866
|
+
* @memberof DataTypesInvoiceTaxDetails
|
|
11867
|
+
*/
|
|
11868
|
+
'supplier_place_of_supply'?: string;
|
|
11869
|
+
/**
|
|
11870
|
+
* \'intrastate\', \'interstate\', \'export\', \'import\'
|
|
11871
|
+
* @type {string}
|
|
11872
|
+
* @memberof DataTypesInvoiceTaxDetails
|
|
11873
|
+
*/
|
|
11874
|
+
'supply_type'?: string;
|
|
11875
|
+
/**
|
|
11876
|
+
*
|
|
11877
|
+
* @type {DataTypesTaxBreakdown}
|
|
11878
|
+
* @memberof DataTypesInvoiceTaxDetails
|
|
11879
|
+
*/
|
|
11880
|
+
'tax_breakdown'?: DataTypesTaxBreakdown;
|
|
11881
|
+
/**
|
|
11882
|
+
* Tax breakdown
|
|
11883
|
+
* @type {string}
|
|
11884
|
+
* @memberof DataTypesInvoiceTaxDetails
|
|
11885
|
+
*/
|
|
11886
|
+
'tax_type'?: string;
|
|
11887
|
+
/**
|
|
11888
|
+
* Transaction details
|
|
11889
|
+
* @type {string}
|
|
11890
|
+
* @memberof DataTypesInvoiceTaxDetails
|
|
11891
|
+
*/
|
|
11892
|
+
'transaction_type'?: string;
|
|
11893
|
+
}
|
|
11894
|
+
/**
|
|
11895
|
+
*
|
|
11896
|
+
* @export
|
|
11897
|
+
* @interface DataTypesItemTaxDetails
|
|
11898
|
+
*/
|
|
11899
|
+
export interface DataTypesItemTaxDetails {
|
|
11900
|
+
/**
|
|
11901
|
+
*
|
|
11902
|
+
* @type {number}
|
|
11903
|
+
* @memberof DataTypesItemTaxDetails
|
|
11904
|
+
*/
|
|
11905
|
+
'amount'?: number;
|
|
11906
|
+
/**
|
|
11907
|
+
*
|
|
11908
|
+
* @type {string}
|
|
11909
|
+
* @memberof DataTypesItemTaxDetails
|
|
11910
|
+
*/
|
|
11911
|
+
'description'?: string;
|
|
11912
|
+
/**
|
|
11913
|
+
*
|
|
11914
|
+
* @type {string}
|
|
11915
|
+
* @memberof DataTypesItemTaxDetails
|
|
11916
|
+
*/
|
|
11917
|
+
'hsn_sac_code'?: string;
|
|
11918
|
+
/**
|
|
11919
|
+
*
|
|
11920
|
+
* @type {boolean}
|
|
11921
|
+
* @memberof DataTypesItemTaxDetails
|
|
11922
|
+
*/
|
|
11923
|
+
'is_tax_exempt'?: boolean;
|
|
11924
|
+
/**
|
|
11925
|
+
*
|
|
11926
|
+
* @type {DataTypesTaxBreakdown}
|
|
11927
|
+
* @memberof DataTypesItemTaxDetails
|
|
11928
|
+
*/
|
|
11929
|
+
'tax_breakdown'?: DataTypesTaxBreakdown;
|
|
11930
|
+
/**
|
|
11931
|
+
*
|
|
11932
|
+
* @type {number}
|
|
11933
|
+
* @memberof DataTypesItemTaxDetails
|
|
11934
|
+
*/
|
|
11935
|
+
'taxable_amount'?: number;
|
|
11936
|
+
/**
|
|
11937
|
+
*
|
|
11938
|
+
* @type {number}
|
|
11939
|
+
* @memberof DataTypesItemTaxDetails
|
|
11940
|
+
*/
|
|
11941
|
+
'total_tax'?: number;
|
|
11942
|
+
}
|
|
11608
11943
|
/**
|
|
11609
11944
|
*
|
|
11610
11945
|
* @export
|
|
@@ -13414,6 +13749,97 @@ export interface DataTypesOrganizationResponse {
|
|
|
13414
13749
|
*/
|
|
13415
13750
|
'status'?: number;
|
|
13416
13751
|
}
|
|
13752
|
+
/**
|
|
13753
|
+
*
|
|
13754
|
+
* @export
|
|
13755
|
+
* @interface DataTypesOrganizationTaxDetails
|
|
13756
|
+
*/
|
|
13757
|
+
export interface DataTypesOrganizationTaxDetails {
|
|
13758
|
+
/**
|
|
13759
|
+
* Billing address
|
|
13760
|
+
* @type {DataTypesTaxBillingAddress}
|
|
13761
|
+
* @memberof DataTypesOrganizationTaxDetails
|
|
13762
|
+
*/
|
|
13763
|
+
'billing_address'?: DataTypesTaxBillingAddress;
|
|
13764
|
+
/**
|
|
13765
|
+
* Legal business name
|
|
13766
|
+
* @type {string}
|
|
13767
|
+
* @memberof DataTypesOrganizationTaxDetails
|
|
13768
|
+
*/
|
|
13769
|
+
'business_legal_name'?: string;
|
|
13770
|
+
/**
|
|
13771
|
+
* Business entity type
|
|
13772
|
+
* @type {string}
|
|
13773
|
+
* @memberof DataTypesOrganizationTaxDetails
|
|
13774
|
+
*/
|
|
13775
|
+
'business_type'?: string;
|
|
13776
|
+
/**
|
|
13777
|
+
* GST Identification Number (India)
|
|
13778
|
+
* @type {string}
|
|
13779
|
+
* @memberof DataTypesOrganizationTaxDetails
|
|
13780
|
+
*/
|
|
13781
|
+
'gstin'?: string;
|
|
13782
|
+
/**
|
|
13783
|
+
* HSN/SAC code
|
|
13784
|
+
* @type {string}
|
|
13785
|
+
* @memberof DataTypesOrganizationTaxDetails
|
|
13786
|
+
*/
|
|
13787
|
+
'hsn_sac_code'?: string;
|
|
13788
|
+
/**
|
|
13789
|
+
*
|
|
13790
|
+
* @type {number}
|
|
13791
|
+
* @memberof DataTypesOrganizationTaxDetails
|
|
13792
|
+
*/
|
|
13793
|
+
'org_id'?: number;
|
|
13794
|
+
/**
|
|
13795
|
+
* Permanent Account Number (India)
|
|
13796
|
+
* @type {string}
|
|
13797
|
+
* @memberof DataTypesOrganizationTaxDetails
|
|
13798
|
+
*/
|
|
13799
|
+
'pan'?: string;
|
|
13800
|
+
/**
|
|
13801
|
+
* State/Province for tax
|
|
13802
|
+
* @type {string}
|
|
13803
|
+
* @memberof DataTypesOrganizationTaxDetails
|
|
13804
|
+
*/
|
|
13805
|
+
'place_of_supply'?: string;
|
|
13806
|
+
/**
|
|
13807
|
+
* Certificate number
|
|
13808
|
+
* @type {string}
|
|
13809
|
+
* @memberof DataTypesOrganizationTaxDetails
|
|
13810
|
+
*/
|
|
13811
|
+
'tax_exemption_certificate'?: string;
|
|
13812
|
+
/**
|
|
13813
|
+
* Tax exemption flag
|
|
13814
|
+
* @type {boolean}
|
|
13815
|
+
* @memberof DataTypesOrganizationTaxDetails
|
|
13816
|
+
*/
|
|
13817
|
+
'tax_exemption_status'?: boolean;
|
|
13818
|
+
/**
|
|
13819
|
+
* Validity date
|
|
13820
|
+
* @type {string}
|
|
13821
|
+
* @memberof DataTypesOrganizationTaxDetails
|
|
13822
|
+
*/
|
|
13823
|
+
'tax_exemption_valid_until'?: string;
|
|
13824
|
+
/**
|
|
13825
|
+
* ISO country code
|
|
13826
|
+
* @type {string}
|
|
13827
|
+
* @memberof DataTypesOrganizationTaxDetails
|
|
13828
|
+
*/
|
|
13829
|
+
'tax_registration_country'?: string;
|
|
13830
|
+
/**
|
|
13831
|
+
* Generic tax registration
|
|
13832
|
+
* @type {string}
|
|
13833
|
+
* @memberof DataTypesOrganizationTaxDetails
|
|
13834
|
+
*/
|
|
13835
|
+
'tax_registration_number'?: string;
|
|
13836
|
+
/**
|
|
13837
|
+
* Flexible tax config
|
|
13838
|
+
* @type {{ [key: string]: any; }}
|
|
13839
|
+
* @memberof DataTypesOrganizationTaxDetails
|
|
13840
|
+
*/
|
|
13841
|
+
'tax_settings'?: { [key: string]: any; };
|
|
13842
|
+
}
|
|
13417
13843
|
/**
|
|
13418
13844
|
*
|
|
13419
13845
|
* @export
|
|
@@ -16906,6 +17332,276 @@ export interface DataTypesTaskRun {
|
|
|
16906
17332
|
*/
|
|
16907
17333
|
'task_run_id'?: number;
|
|
16908
17334
|
}
|
|
17335
|
+
/**
|
|
17336
|
+
*
|
|
17337
|
+
* @export
|
|
17338
|
+
* @interface DataTypesTaxBillingAddress
|
|
17339
|
+
*/
|
|
17340
|
+
export interface DataTypesTaxBillingAddress {
|
|
17341
|
+
/**
|
|
17342
|
+
*
|
|
17343
|
+
* @type {string}
|
|
17344
|
+
* @memberof DataTypesTaxBillingAddress
|
|
17345
|
+
*/
|
|
17346
|
+
'address_line1'?: string;
|
|
17347
|
+
/**
|
|
17348
|
+
*
|
|
17349
|
+
* @type {string}
|
|
17350
|
+
* @memberof DataTypesTaxBillingAddress
|
|
17351
|
+
*/
|
|
17352
|
+
'address_line2'?: string;
|
|
17353
|
+
/**
|
|
17354
|
+
*
|
|
17355
|
+
* @type {string}
|
|
17356
|
+
* @memberof DataTypesTaxBillingAddress
|
|
17357
|
+
*/
|
|
17358
|
+
'city'?: string;
|
|
17359
|
+
/**
|
|
17360
|
+
* ISO country code
|
|
17361
|
+
* @type {string}
|
|
17362
|
+
* @memberof DataTypesTaxBillingAddress
|
|
17363
|
+
*/
|
|
17364
|
+
'country'?: string;
|
|
17365
|
+
/**
|
|
17366
|
+
* Required for GST
|
|
17367
|
+
* @type {string}
|
|
17368
|
+
* @memberof DataTypesTaxBillingAddress
|
|
17369
|
+
*/
|
|
17370
|
+
'postal_code'?: string;
|
|
17371
|
+
/**
|
|
17372
|
+
* Required for GST
|
|
17373
|
+
* @type {string}
|
|
17374
|
+
* @memberof DataTypesTaxBillingAddress
|
|
17375
|
+
*/
|
|
17376
|
+
'state'?: string;
|
|
17377
|
+
}
|
|
17378
|
+
/**
|
|
17379
|
+
*
|
|
17380
|
+
* @export
|
|
17381
|
+
* @interface DataTypesTaxBreakdown
|
|
17382
|
+
*/
|
|
17383
|
+
export interface DataTypesTaxBreakdown {
|
|
17384
|
+
/**
|
|
17385
|
+
* Cess
|
|
17386
|
+
* @type {DataTypesTaxComponent}
|
|
17387
|
+
* @memberof DataTypesTaxBreakdown
|
|
17388
|
+
*/
|
|
17389
|
+
'cess'?: DataTypesTaxComponent;
|
|
17390
|
+
/**
|
|
17391
|
+
* GST components (India)
|
|
17392
|
+
* @type {DataTypesTaxComponent}
|
|
17393
|
+
* @memberof DataTypesTaxBreakdown
|
|
17394
|
+
*/
|
|
17395
|
+
'cgst'?: DataTypesTaxComponent;
|
|
17396
|
+
/**
|
|
17397
|
+
* Integrated GST
|
|
17398
|
+
* @type {DataTypesTaxComponent}
|
|
17399
|
+
* @memberof DataTypesTaxBreakdown
|
|
17400
|
+
*/
|
|
17401
|
+
'igst'?: DataTypesTaxComponent;
|
|
17402
|
+
/**
|
|
17403
|
+
* Generic tax components (for other countries)
|
|
17404
|
+
* @type {Array<DataTypesTaxComponent>}
|
|
17405
|
+
* @memberof DataTypesTaxBreakdown
|
|
17406
|
+
*/
|
|
17407
|
+
'other_taxes'?: Array<DataTypesTaxComponent>;
|
|
17408
|
+
/**
|
|
17409
|
+
* State GST
|
|
17410
|
+
* @type {DataTypesTaxComponent}
|
|
17411
|
+
* @memberof DataTypesTaxBreakdown
|
|
17412
|
+
*/
|
|
17413
|
+
'sgst'?: DataTypesTaxComponent;
|
|
17414
|
+
}
|
|
17415
|
+
/**
|
|
17416
|
+
*
|
|
17417
|
+
* @export
|
|
17418
|
+
* @interface DataTypesTaxCalculationItem
|
|
17419
|
+
*/
|
|
17420
|
+
export interface DataTypesTaxCalculationItem {
|
|
17421
|
+
/**
|
|
17422
|
+
*
|
|
17423
|
+
* @type {number}
|
|
17424
|
+
* @memberof DataTypesTaxCalculationItem
|
|
17425
|
+
*/
|
|
17426
|
+
'amount': number;
|
|
17427
|
+
/**
|
|
17428
|
+
*
|
|
17429
|
+
* @type {string}
|
|
17430
|
+
* @memberof DataTypesTaxCalculationItem
|
|
17431
|
+
*/
|
|
17432
|
+
'description': string;
|
|
17433
|
+
/**
|
|
17434
|
+
*
|
|
17435
|
+
* @type {string}
|
|
17436
|
+
* @memberof DataTypesTaxCalculationItem
|
|
17437
|
+
*/
|
|
17438
|
+
'exemption_reason'?: string;
|
|
17439
|
+
/**
|
|
17440
|
+
*
|
|
17441
|
+
* @type {string}
|
|
17442
|
+
* @memberof DataTypesTaxCalculationItem
|
|
17443
|
+
*/
|
|
17444
|
+
'hsn_sac_code'?: string;
|
|
17445
|
+
/**
|
|
17446
|
+
*
|
|
17447
|
+
* @type {boolean}
|
|
17448
|
+
* @memberof DataTypesTaxCalculationItem
|
|
17449
|
+
*/
|
|
17450
|
+
'is_tax_exempt'?: boolean;
|
|
17451
|
+
/**
|
|
17452
|
+
*
|
|
17453
|
+
* @type {number}
|
|
17454
|
+
* @memberof DataTypesTaxCalculationItem
|
|
17455
|
+
*/
|
|
17456
|
+
'quantity': number;
|
|
17457
|
+
}
|
|
17458
|
+
/**
|
|
17459
|
+
*
|
|
17460
|
+
* @export
|
|
17461
|
+
* @interface DataTypesTaxCalculationRequest
|
|
17462
|
+
*/
|
|
17463
|
+
export interface DataTypesTaxCalculationRequest {
|
|
17464
|
+
/**
|
|
17465
|
+
*
|
|
17466
|
+
* @type {number}
|
|
17467
|
+
* @memberof DataTypesTaxCalculationRequest
|
|
17468
|
+
*/
|
|
17469
|
+
'amount': number;
|
|
17470
|
+
/**
|
|
17471
|
+
*
|
|
17472
|
+
* @type {string}
|
|
17473
|
+
* @memberof DataTypesTaxCalculationRequest
|
|
17474
|
+
*/
|
|
17475
|
+
'currency': string;
|
|
17476
|
+
/**
|
|
17477
|
+
* null for B2C
|
|
17478
|
+
* @type {number}
|
|
17479
|
+
* @memberof DataTypesTaxCalculationRequest
|
|
17480
|
+
*/
|
|
17481
|
+
'customer_org_id'?: number;
|
|
17482
|
+
/**
|
|
17483
|
+
*
|
|
17484
|
+
* @type {Array<DataTypesTaxCalculationItem>}
|
|
17485
|
+
* @memberof DataTypesTaxCalculationRequest
|
|
17486
|
+
*/
|
|
17487
|
+
'items': Array<DataTypesTaxCalculationItem>;
|
|
17488
|
+
/**
|
|
17489
|
+
* Override if different from customer
|
|
17490
|
+
* @type {string}
|
|
17491
|
+
* @memberof DataTypesTaxCalculationRequest
|
|
17492
|
+
*/
|
|
17493
|
+
'place_of_supply'?: string;
|
|
17494
|
+
/**
|
|
17495
|
+
*
|
|
17496
|
+
* @type {number}
|
|
17497
|
+
* @memberof DataTypesTaxCalculationRequest
|
|
17498
|
+
*/
|
|
17499
|
+
'supplier_org_id': number;
|
|
17500
|
+
/**
|
|
17501
|
+
*
|
|
17502
|
+
* @type {string}
|
|
17503
|
+
* @memberof DataTypesTaxCalculationRequest
|
|
17504
|
+
*/
|
|
17505
|
+
'transaction_date'?: string;
|
|
17506
|
+
}
|
|
17507
|
+
/**
|
|
17508
|
+
*
|
|
17509
|
+
* @export
|
|
17510
|
+
* @interface DataTypesTaxCalculationResponse
|
|
17511
|
+
*/
|
|
17512
|
+
export interface DataTypesTaxCalculationResponse {
|
|
17513
|
+
/**
|
|
17514
|
+
*
|
|
17515
|
+
* @type {Array<DataTypesItemTaxDetails>}
|
|
17516
|
+
* @memberof DataTypesTaxCalculationResponse
|
|
17517
|
+
*/
|
|
17518
|
+
'item_tax_details'?: Array<DataTypesItemTaxDetails>;
|
|
17519
|
+
/**
|
|
17520
|
+
*
|
|
17521
|
+
* @type {boolean}
|
|
17522
|
+
* @memberof DataTypesTaxCalculationResponse
|
|
17523
|
+
*/
|
|
17524
|
+
'reverse_charge'?: boolean;
|
|
17525
|
+
/**
|
|
17526
|
+
*
|
|
17527
|
+
* @type {number}
|
|
17528
|
+
* @memberof DataTypesTaxCalculationResponse
|
|
17529
|
+
*/
|
|
17530
|
+
'subtotal'?: number;
|
|
17531
|
+
/**
|
|
17532
|
+
* \'intrastate\', \'interstate\', \'export\'
|
|
17533
|
+
* @type {string}
|
|
17534
|
+
* @memberof DataTypesTaxCalculationResponse
|
|
17535
|
+
*/
|
|
17536
|
+
'supply_type'?: string;
|
|
17537
|
+
/**
|
|
17538
|
+
*
|
|
17539
|
+
* @type {DataTypesTaxBreakdown}
|
|
17540
|
+
* @memberof DataTypesTaxCalculationResponse
|
|
17541
|
+
*/
|
|
17542
|
+
'tax_breakdown'?: DataTypesTaxBreakdown;
|
|
17543
|
+
/**
|
|
17544
|
+
* \'GST\', \'VAT\', \'Sales Tax\', etc.
|
|
17545
|
+
* @type {string}
|
|
17546
|
+
* @memberof DataTypesTaxCalculationResponse
|
|
17547
|
+
*/
|
|
17548
|
+
'tax_type'?: string;
|
|
17549
|
+
/**
|
|
17550
|
+
*
|
|
17551
|
+
* @type {number}
|
|
17552
|
+
* @memberof DataTypesTaxCalculationResponse
|
|
17553
|
+
*/
|
|
17554
|
+
'total_amount'?: number;
|
|
17555
|
+
/**
|
|
17556
|
+
*
|
|
17557
|
+
* @type {number}
|
|
17558
|
+
* @memberof DataTypesTaxCalculationResponse
|
|
17559
|
+
*/
|
|
17560
|
+
'total_tax'?: number;
|
|
17561
|
+
/**
|
|
17562
|
+
* \'B2B\', \'B2C\', \'B2G\'
|
|
17563
|
+
* @type {string}
|
|
17564
|
+
* @memberof DataTypesTaxCalculationResponse
|
|
17565
|
+
*/
|
|
17566
|
+
'transaction_type'?: string;
|
|
17567
|
+
/**
|
|
17568
|
+
*
|
|
17569
|
+
* @type {Array<string>}
|
|
17570
|
+
* @memberof DataTypesTaxCalculationResponse
|
|
17571
|
+
*/
|
|
17572
|
+
'warnings'?: Array<string>;
|
|
17573
|
+
}
|
|
17574
|
+
/**
|
|
17575
|
+
*
|
|
17576
|
+
* @export
|
|
17577
|
+
* @interface DataTypesTaxComponent
|
|
17578
|
+
*/
|
|
17579
|
+
export interface DataTypesTaxComponent {
|
|
17580
|
+
/**
|
|
17581
|
+
* Calculated amount
|
|
17582
|
+
* @type {number}
|
|
17583
|
+
* @memberof DataTypesTaxComponent
|
|
17584
|
+
*/
|
|
17585
|
+
'tax_amount'?: number;
|
|
17586
|
+
/**
|
|
17587
|
+
* \'CGST\', \'SGST\', \'IGST\', \'VAT\', \'Sales Tax\', etc.
|
|
17588
|
+
* @type {string}
|
|
17589
|
+
* @memberof DataTypesTaxComponent
|
|
17590
|
+
*/
|
|
17591
|
+
'tax_name'?: string;
|
|
17592
|
+
/**
|
|
17593
|
+
* Percentage
|
|
17594
|
+
* @type {number}
|
|
17595
|
+
* @memberof DataTypesTaxComponent
|
|
17596
|
+
*/
|
|
17597
|
+
'tax_rate'?: number;
|
|
17598
|
+
/**
|
|
17599
|
+
* Amount on which tax is calculated
|
|
17600
|
+
* @type {number}
|
|
17601
|
+
* @memberof DataTypesTaxComponent
|
|
17602
|
+
*/
|
|
17603
|
+
'taxable_amount'?: number;
|
|
17604
|
+
}
|
|
16909
17605
|
/**
|
|
16910
17606
|
*
|
|
16911
17607
|
* @export
|
|
@@ -17171,6 +17867,91 @@ export interface DataTypesUpdateOrganizationRequest {
|
|
|
17171
17867
|
*/
|
|
17172
17868
|
'ZipCode'?: string;
|
|
17173
17869
|
}
|
|
17870
|
+
/**
|
|
17871
|
+
*
|
|
17872
|
+
* @export
|
|
17873
|
+
* @interface DataTypesUpdateOrganizationTaxDetailsRequest
|
|
17874
|
+
*/
|
|
17875
|
+
export interface DataTypesUpdateOrganizationTaxDetailsRequest {
|
|
17876
|
+
/**
|
|
17877
|
+
*
|
|
17878
|
+
* @type {DataTypesTaxBillingAddress}
|
|
17879
|
+
* @memberof DataTypesUpdateOrganizationTaxDetailsRequest
|
|
17880
|
+
*/
|
|
17881
|
+
'billing_address'?: DataTypesTaxBillingAddress;
|
|
17882
|
+
/**
|
|
17883
|
+
*
|
|
17884
|
+
* @type {string}
|
|
17885
|
+
* @memberof DataTypesUpdateOrganizationTaxDetailsRequest
|
|
17886
|
+
*/
|
|
17887
|
+
'business_legal_name'?: string;
|
|
17888
|
+
/**
|
|
17889
|
+
*
|
|
17890
|
+
* @type {string}
|
|
17891
|
+
* @memberof DataTypesUpdateOrganizationTaxDetailsRequest
|
|
17892
|
+
*/
|
|
17893
|
+
'business_type'?: string;
|
|
17894
|
+
/**
|
|
17895
|
+
*
|
|
17896
|
+
* @type {string}
|
|
17897
|
+
* @memberof DataTypesUpdateOrganizationTaxDetailsRequest
|
|
17898
|
+
*/
|
|
17899
|
+
'gstin'?: string;
|
|
17900
|
+
/**
|
|
17901
|
+
*
|
|
17902
|
+
* @type {string}
|
|
17903
|
+
* @memberof DataTypesUpdateOrganizationTaxDetailsRequest
|
|
17904
|
+
*/
|
|
17905
|
+
'hsn_sac_code'?: string;
|
|
17906
|
+
/**
|
|
17907
|
+
*
|
|
17908
|
+
* @type {string}
|
|
17909
|
+
* @memberof DataTypesUpdateOrganizationTaxDetailsRequest
|
|
17910
|
+
*/
|
|
17911
|
+
'pan'?: string;
|
|
17912
|
+
/**
|
|
17913
|
+
*
|
|
17914
|
+
* @type {string}
|
|
17915
|
+
* @memberof DataTypesUpdateOrganizationTaxDetailsRequest
|
|
17916
|
+
*/
|
|
17917
|
+
'place_of_supply'?: string;
|
|
17918
|
+
/**
|
|
17919
|
+
*
|
|
17920
|
+
* @type {string}
|
|
17921
|
+
* @memberof DataTypesUpdateOrganizationTaxDetailsRequest
|
|
17922
|
+
*/
|
|
17923
|
+
'tax_exemption_certificate'?: string;
|
|
17924
|
+
/**
|
|
17925
|
+
*
|
|
17926
|
+
* @type {boolean}
|
|
17927
|
+
* @memberof DataTypesUpdateOrganizationTaxDetailsRequest
|
|
17928
|
+
*/
|
|
17929
|
+
'tax_exemption_status'?: boolean;
|
|
17930
|
+
/**
|
|
17931
|
+
*
|
|
17932
|
+
* @type {string}
|
|
17933
|
+
* @memberof DataTypesUpdateOrganizationTaxDetailsRequest
|
|
17934
|
+
*/
|
|
17935
|
+
'tax_exemption_valid_until'?: string;
|
|
17936
|
+
/**
|
|
17937
|
+
*
|
|
17938
|
+
* @type {string}
|
|
17939
|
+
* @memberof DataTypesUpdateOrganizationTaxDetailsRequest
|
|
17940
|
+
*/
|
|
17941
|
+
'tax_registration_country'?: string;
|
|
17942
|
+
/**
|
|
17943
|
+
*
|
|
17944
|
+
* @type {string}
|
|
17945
|
+
* @memberof DataTypesUpdateOrganizationTaxDetailsRequest
|
|
17946
|
+
*/
|
|
17947
|
+
'tax_registration_number'?: string;
|
|
17948
|
+
/**
|
|
17949
|
+
*
|
|
17950
|
+
* @type {{ [key: string]: any; }}
|
|
17951
|
+
* @memberof DataTypesUpdateOrganizationTaxDetailsRequest
|
|
17952
|
+
*/
|
|
17953
|
+
'tax_settings'?: { [key: string]: any; };
|
|
17954
|
+
}
|
|
17174
17955
|
/**
|
|
17175
17956
|
*
|
|
17176
17957
|
* @export
|
|
@@ -18162,6 +18943,326 @@ export interface DataTypesWordWithStatusEnhanced {
|
|
|
18162
18943
|
*/
|
|
18163
18944
|
'wordid'?: number;
|
|
18164
18945
|
}
|
|
18946
|
+
/**
|
|
18947
|
+
*
|
|
18948
|
+
* @export
|
|
18949
|
+
* @interface FeatureLimitServiceAPICallStatus
|
|
18950
|
+
*/
|
|
18951
|
+
export interface FeatureLimitServiceAPICallStatus {
|
|
18952
|
+
/**
|
|
18953
|
+
*
|
|
18954
|
+
* @type {number}
|
|
18955
|
+
* @memberof FeatureLimitServiceAPICallStatus
|
|
18956
|
+
*/
|
|
18957
|
+
'calls_made'?: number;
|
|
18958
|
+
/**
|
|
18959
|
+
*
|
|
18960
|
+
* @type {string}
|
|
18961
|
+
* @memberof FeatureLimitServiceAPICallStatus
|
|
18962
|
+
*/
|
|
18963
|
+
'current_period'?: string;
|
|
18964
|
+
/**
|
|
18965
|
+
*
|
|
18966
|
+
* @type {boolean}
|
|
18967
|
+
* @memberof FeatureLimitServiceAPICallStatus
|
|
18968
|
+
*/
|
|
18969
|
+
'is_exhausted'?: boolean;
|
|
18970
|
+
/**
|
|
18971
|
+
*
|
|
18972
|
+
* @type {number}
|
|
18973
|
+
* @memberof FeatureLimitServiceAPICallStatus
|
|
18974
|
+
*/
|
|
18975
|
+
'limit'?: number;
|
|
18976
|
+
/**
|
|
18977
|
+
*
|
|
18978
|
+
* @type {string}
|
|
18979
|
+
* @memberof FeatureLimitServiceAPICallStatus
|
|
18980
|
+
*/
|
|
18981
|
+
'period_ends_at'?: string;
|
|
18982
|
+
/**
|
|
18983
|
+
*
|
|
18984
|
+
* @type {string}
|
|
18985
|
+
* @memberof FeatureLimitServiceAPICallStatus
|
|
18986
|
+
*/
|
|
18987
|
+
'period_starts_at'?: string;
|
|
18988
|
+
/**
|
|
18989
|
+
*
|
|
18990
|
+
* @type {number}
|
|
18991
|
+
* @memberof FeatureLimitServiceAPICallStatus
|
|
18992
|
+
*/
|
|
18993
|
+
'remaining'?: number;
|
|
18994
|
+
/**
|
|
18995
|
+
*
|
|
18996
|
+
* @type {number}
|
|
18997
|
+
* @memberof FeatureLimitServiceAPICallStatus
|
|
18998
|
+
*/
|
|
18999
|
+
'usage_percent'?: number;
|
|
19000
|
+
}
|
|
19001
|
+
/**
|
|
19002
|
+
*
|
|
19003
|
+
* @export
|
|
19004
|
+
* @interface FeatureLimitServiceCreditStatus
|
|
19005
|
+
*/
|
|
19006
|
+
export interface FeatureLimitServiceCreditStatus {
|
|
19007
|
+
/**
|
|
19008
|
+
*
|
|
19009
|
+
* @type {number}
|
|
19010
|
+
* @memberof FeatureLimitServiceCreditStatus
|
|
19011
|
+
*/
|
|
19012
|
+
'available'?: number;
|
|
19013
|
+
/**
|
|
19014
|
+
*
|
|
19015
|
+
* @type {number}
|
|
19016
|
+
* @memberof FeatureLimitServiceCreditStatus
|
|
19017
|
+
*/
|
|
19018
|
+
'consumed'?: number;
|
|
19019
|
+
/**
|
|
19020
|
+
*
|
|
19021
|
+
* @type {number}
|
|
19022
|
+
* @memberof FeatureLimitServiceCreditStatus
|
|
19023
|
+
*/
|
|
19024
|
+
'expiring_credits'?: number;
|
|
19025
|
+
/**
|
|
19026
|
+
*
|
|
19027
|
+
* @type {string}
|
|
19028
|
+
* @memberof FeatureLimitServiceCreditStatus
|
|
19029
|
+
*/
|
|
19030
|
+
'expiry_date'?: string;
|
|
19031
|
+
/**
|
|
19032
|
+
*
|
|
19033
|
+
* @type {boolean}
|
|
19034
|
+
* @memberof FeatureLimitServiceCreditStatus
|
|
19035
|
+
*/
|
|
19036
|
+
'is_exhausted'?: boolean;
|
|
19037
|
+
/**
|
|
19038
|
+
*
|
|
19039
|
+
* @type {number}
|
|
19040
|
+
* @memberof FeatureLimitServiceCreditStatus
|
|
19041
|
+
*/
|
|
19042
|
+
'total'?: number;
|
|
19043
|
+
/**
|
|
19044
|
+
*
|
|
19045
|
+
* @type {number}
|
|
19046
|
+
* @memberof FeatureLimitServiceCreditStatus
|
|
19047
|
+
*/
|
|
19048
|
+
'usage_percent'?: number;
|
|
19049
|
+
}
|
|
19050
|
+
/**
|
|
19051
|
+
*
|
|
19052
|
+
* @export
|
|
19053
|
+
* @interface FeatureLimitServiceFeatureStatus
|
|
19054
|
+
*/
|
|
19055
|
+
export interface FeatureLimitServiceFeatureStatus {
|
|
19056
|
+
/**
|
|
19057
|
+
*
|
|
19058
|
+
* @type {number}
|
|
19059
|
+
* @memberof FeatureLimitServiceFeatureStatus
|
|
19060
|
+
*/
|
|
19061
|
+
'current_usage'?: number;
|
|
19062
|
+
/**
|
|
19063
|
+
*
|
|
19064
|
+
* @type {string}
|
|
19065
|
+
* @memberof FeatureLimitServiceFeatureStatus
|
|
19066
|
+
*/
|
|
19067
|
+
'feature_name'?: string;
|
|
19068
|
+
/**
|
|
19069
|
+
*
|
|
19070
|
+
* @type {boolean}
|
|
19071
|
+
* @memberof FeatureLimitServiceFeatureStatus
|
|
19072
|
+
*/
|
|
19073
|
+
'is_exhausted'?: boolean;
|
|
19074
|
+
/**
|
|
19075
|
+
*
|
|
19076
|
+
* @type {any}
|
|
19077
|
+
* @memberof FeatureLimitServiceFeatureStatus
|
|
19078
|
+
*/
|
|
19079
|
+
'limit'?: any;
|
|
19080
|
+
/**
|
|
19081
|
+
*
|
|
19082
|
+
* @type {any}
|
|
19083
|
+
* @memberof FeatureLimitServiceFeatureStatus
|
|
19084
|
+
*/
|
|
19085
|
+
'remaining'?: any;
|
|
19086
|
+
/**
|
|
19087
|
+
*
|
|
19088
|
+
* @type {number}
|
|
19089
|
+
* @memberof FeatureLimitServiceFeatureStatus
|
|
19090
|
+
*/
|
|
19091
|
+
'usage_percent'?: number;
|
|
19092
|
+
/**
|
|
19093
|
+
*
|
|
19094
|
+
* @type {string}
|
|
19095
|
+
* @memberof FeatureLimitServiceFeatureStatus
|
|
19096
|
+
*/
|
|
19097
|
+
'will_reset_at'?: string;
|
|
19098
|
+
}
|
|
19099
|
+
/**
|
|
19100
|
+
*
|
|
19101
|
+
* @export
|
|
19102
|
+
* @interface FeatureLimitServiceLimitStatus
|
|
19103
|
+
*/
|
|
19104
|
+
export interface FeatureLimitServiceLimitStatus {
|
|
19105
|
+
/**
|
|
19106
|
+
*
|
|
19107
|
+
* @type {FeatureLimitServiceAPICallStatus}
|
|
19108
|
+
* @memberof FeatureLimitServiceLimitStatus
|
|
19109
|
+
*/
|
|
19110
|
+
'api_calls'?: FeatureLimitServiceAPICallStatus;
|
|
19111
|
+
/**
|
|
19112
|
+
*
|
|
19113
|
+
* @type {string}
|
|
19114
|
+
* @memberof FeatureLimitServiceLimitStatus
|
|
19115
|
+
*/
|
|
19116
|
+
'block_reason'?: string;
|
|
19117
|
+
/**
|
|
19118
|
+
*
|
|
19119
|
+
* @type {FeatureLimitServiceCreditStatus}
|
|
19120
|
+
* @memberof FeatureLimitServiceLimitStatus
|
|
19121
|
+
*/
|
|
19122
|
+
'credits'?: FeatureLimitServiceCreditStatus;
|
|
19123
|
+
/**
|
|
19124
|
+
*
|
|
19125
|
+
* @type {{ [key: string]: FeatureLimitServiceFeatureStatus; }}
|
|
19126
|
+
* @memberof FeatureLimitServiceLimitStatus
|
|
19127
|
+
*/
|
|
19128
|
+
'features'?: { [key: string]: FeatureLimitServiceFeatureStatus; };
|
|
19129
|
+
/**
|
|
19130
|
+
*
|
|
19131
|
+
* @type {boolean}
|
|
19132
|
+
* @memberof FeatureLimitServiceLimitStatus
|
|
19133
|
+
*/
|
|
19134
|
+
'is_blocked'?: boolean;
|
|
19135
|
+
/**
|
|
19136
|
+
*
|
|
19137
|
+
* @type {string}
|
|
19138
|
+
* @memberof FeatureLimitServiceLimitStatus
|
|
19139
|
+
*/
|
|
19140
|
+
'last_updated'?: string;
|
|
19141
|
+
/**
|
|
19142
|
+
*
|
|
19143
|
+
* @type {string}
|
|
19144
|
+
* @memberof FeatureLimitServiceLimitStatus
|
|
19145
|
+
*/
|
|
19146
|
+
'next_reset'?: string;
|
|
19147
|
+
/**
|
|
19148
|
+
*
|
|
19149
|
+
* @type {number}
|
|
19150
|
+
* @memberof FeatureLimitServiceLimitStatus
|
|
19151
|
+
*/
|
|
19152
|
+
'org_id'?: number;
|
|
19153
|
+
/**
|
|
19154
|
+
*
|
|
19155
|
+
* @type {number}
|
|
19156
|
+
* @memberof FeatureLimitServiceLimitStatus
|
|
19157
|
+
*/
|
|
19158
|
+
'plan_id'?: number;
|
|
19159
|
+
/**
|
|
19160
|
+
*
|
|
19161
|
+
* @type {string}
|
|
19162
|
+
* @memberof FeatureLimitServiceLimitStatus
|
|
19163
|
+
*/
|
|
19164
|
+
'plan_name'?: string;
|
|
19165
|
+
}
|
|
19166
|
+
/**
|
|
19167
|
+
*
|
|
19168
|
+
* @export
|
|
19169
|
+
* @interface FeatureLimitsCheckGet200Response
|
|
19170
|
+
*/
|
|
19171
|
+
export interface FeatureLimitsCheckGet200Response {
|
|
19172
|
+
/**
|
|
19173
|
+
*
|
|
19174
|
+
* @type {DataTypesFeatureCheckResult}
|
|
19175
|
+
* @memberof FeatureLimitsCheckGet200Response
|
|
19176
|
+
*/
|
|
19177
|
+
'data'?: DataTypesFeatureCheckResult;
|
|
19178
|
+
/**
|
|
19179
|
+
*
|
|
19180
|
+
* @type {string}
|
|
19181
|
+
* @memberof FeatureLimitsCheckGet200Response
|
|
19182
|
+
*/
|
|
19183
|
+
'message'?: string;
|
|
19184
|
+
/**
|
|
19185
|
+
*
|
|
19186
|
+
* @type {number}
|
|
19187
|
+
* @memberof FeatureLimitsCheckGet200Response
|
|
19188
|
+
*/
|
|
19189
|
+
'status'?: number;
|
|
19190
|
+
}
|
|
19191
|
+
/**
|
|
19192
|
+
*
|
|
19193
|
+
* @export
|
|
19194
|
+
* @interface FeatureLimitsHistoryGet200Response
|
|
19195
|
+
*/
|
|
19196
|
+
export interface FeatureLimitsHistoryGet200Response {
|
|
19197
|
+
/**
|
|
19198
|
+
*
|
|
19199
|
+
* @type {Array<DataTypesFeatureUsageHistory>}
|
|
19200
|
+
* @memberof FeatureLimitsHistoryGet200Response
|
|
19201
|
+
*/
|
|
19202
|
+
'data'?: Array<DataTypesFeatureUsageHistory>;
|
|
19203
|
+
/**
|
|
19204
|
+
*
|
|
19205
|
+
* @type {string}
|
|
19206
|
+
* @memberof FeatureLimitsHistoryGet200Response
|
|
19207
|
+
*/
|
|
19208
|
+
'message'?: string;
|
|
19209
|
+
/**
|
|
19210
|
+
*
|
|
19211
|
+
* @type {number}
|
|
19212
|
+
* @memberof FeatureLimitsHistoryGet200Response
|
|
19213
|
+
*/
|
|
19214
|
+
'status'?: number;
|
|
19215
|
+
}
|
|
19216
|
+
/**
|
|
19217
|
+
*
|
|
19218
|
+
* @export
|
|
19219
|
+
* @interface FeatureLimitsPlanGet200Response
|
|
19220
|
+
*/
|
|
19221
|
+
export interface FeatureLimitsPlanGet200Response {
|
|
19222
|
+
/**
|
|
19223
|
+
*
|
|
19224
|
+
* @type {DataTypesPlanFeatures}
|
|
19225
|
+
* @memberof FeatureLimitsPlanGet200Response
|
|
19226
|
+
*/
|
|
19227
|
+
'data'?: DataTypesPlanFeatures;
|
|
19228
|
+
/**
|
|
19229
|
+
*
|
|
19230
|
+
* @type {string}
|
|
19231
|
+
* @memberof FeatureLimitsPlanGet200Response
|
|
19232
|
+
*/
|
|
19233
|
+
'message'?: string;
|
|
19234
|
+
/**
|
|
19235
|
+
*
|
|
19236
|
+
* @type {number}
|
|
19237
|
+
* @memberof FeatureLimitsPlanGet200Response
|
|
19238
|
+
*/
|
|
19239
|
+
'status'?: number;
|
|
19240
|
+
}
|
|
19241
|
+
/**
|
|
19242
|
+
*
|
|
19243
|
+
* @export
|
|
19244
|
+
* @interface FeatureLimitsUsageGet200Response
|
|
19245
|
+
*/
|
|
19246
|
+
export interface FeatureLimitsUsageGet200Response {
|
|
19247
|
+
/**
|
|
19248
|
+
*
|
|
19249
|
+
* @type {Array<DataTypesFeatureUsageStats>}
|
|
19250
|
+
* @memberof FeatureLimitsUsageGet200Response
|
|
19251
|
+
*/
|
|
19252
|
+
'data'?: Array<DataTypesFeatureUsageStats>;
|
|
19253
|
+
/**
|
|
19254
|
+
*
|
|
19255
|
+
* @type {string}
|
|
19256
|
+
* @memberof FeatureLimitsUsageGet200Response
|
|
19257
|
+
*/
|
|
19258
|
+
'message'?: string;
|
|
19259
|
+
/**
|
|
19260
|
+
*
|
|
19261
|
+
* @type {number}
|
|
19262
|
+
* @memberof FeatureLimitsUsageGet200Response
|
|
19263
|
+
*/
|
|
19264
|
+
'status'?: number;
|
|
19265
|
+
}
|
|
18165
19266
|
/**
|
|
18166
19267
|
*
|
|
18167
19268
|
* @export
|
|
@@ -18527,6 +19628,154 @@ export interface StoreRouteAPIUsageLogEntry {
|
|
|
18527
19628
|
*/
|
|
18528
19629
|
'url'?: string;
|
|
18529
19630
|
}
|
|
19631
|
+
/**
|
|
19632
|
+
*
|
|
19633
|
+
* @export
|
|
19634
|
+
* @interface StoreRouteDailyStats
|
|
19635
|
+
*/
|
|
19636
|
+
export interface StoreRouteDailyStats {
|
|
19637
|
+
/**
|
|
19638
|
+
*
|
|
19639
|
+
* @type {string}
|
|
19640
|
+
* @memberof StoreRouteDailyStats
|
|
19641
|
+
*/
|
|
19642
|
+
'date'?: string;
|
|
19643
|
+
/**
|
|
19644
|
+
*
|
|
19645
|
+
* @type {StoreRouteOperationsStats}
|
|
19646
|
+
* @memberof StoreRouteDailyStats
|
|
19647
|
+
*/
|
|
19648
|
+
'operations'?: StoreRouteOperationsStats;
|
|
19649
|
+
/**
|
|
19650
|
+
*
|
|
19651
|
+
* @type {StoreRouteRecordsStats}
|
|
19652
|
+
* @memberof StoreRouteDailyStats
|
|
19653
|
+
*/
|
|
19654
|
+
'records'?: StoreRouteRecordsStats;
|
|
19655
|
+
/**
|
|
19656
|
+
*
|
|
19657
|
+
* @type {number}
|
|
19658
|
+
* @memberof StoreRouteDailyStats
|
|
19659
|
+
*/
|
|
19660
|
+
'search_requests'?: number;
|
|
19661
|
+
/**
|
|
19662
|
+
*
|
|
19663
|
+
* @type {StoreRouteResponseTimeStats}
|
|
19664
|
+
* @memberof StoreRouteDailyStats
|
|
19665
|
+
*/
|
|
19666
|
+
'search_response_time'?: StoreRouteResponseTimeStats;
|
|
19667
|
+
}
|
|
19668
|
+
/**
|
|
19669
|
+
*
|
|
19670
|
+
* @export
|
|
19671
|
+
* @interface StoreRouteDailyStatsResponse
|
|
19672
|
+
*/
|
|
19673
|
+
export interface StoreRouteDailyStatsResponse {
|
|
19674
|
+
/**
|
|
19675
|
+
*
|
|
19676
|
+
* @type {Array<StoreRouteDailyStats>}
|
|
19677
|
+
* @memberof StoreRouteDailyStatsResponse
|
|
19678
|
+
*/
|
|
19679
|
+
'data'?: Array<StoreRouteDailyStats>;
|
|
19680
|
+
/**
|
|
19681
|
+
*
|
|
19682
|
+
* @type {string}
|
|
19683
|
+
* @memberof StoreRouteDailyStatsResponse
|
|
19684
|
+
*/
|
|
19685
|
+
'message'?: string;
|
|
19686
|
+
/**
|
|
19687
|
+
*
|
|
19688
|
+
* @type {StoreRouteDailyStatsResponseMeta}
|
|
19689
|
+
* @memberof StoreRouteDailyStatsResponse
|
|
19690
|
+
*/
|
|
19691
|
+
'meta'?: StoreRouteDailyStatsResponseMeta;
|
|
19692
|
+
/**
|
|
19693
|
+
*
|
|
19694
|
+
* @type {number}
|
|
19695
|
+
* @memberof StoreRouteDailyStatsResponse
|
|
19696
|
+
*/
|
|
19697
|
+
'status'?: number;
|
|
19698
|
+
}
|
|
19699
|
+
/**
|
|
19700
|
+
*
|
|
19701
|
+
* @export
|
|
19702
|
+
* @interface StoreRouteDailyStatsResponseMeta
|
|
19703
|
+
*/
|
|
19704
|
+
export interface StoreRouteDailyStatsResponseMeta {
|
|
19705
|
+
/**
|
|
19706
|
+
*
|
|
19707
|
+
* @type {string}
|
|
19708
|
+
* @memberof StoreRouteDailyStatsResponseMeta
|
|
19709
|
+
*/
|
|
19710
|
+
'end_date'?: string;
|
|
19711
|
+
/**
|
|
19712
|
+
*
|
|
19713
|
+
* @type {string}
|
|
19714
|
+
* @memberof StoreRouteDailyStatsResponseMeta
|
|
19715
|
+
*/
|
|
19716
|
+
'start_date'?: string;
|
|
19717
|
+
/**
|
|
19718
|
+
*
|
|
19719
|
+
* @type {number}
|
|
19720
|
+
* @memberof StoreRouteDailyStatsResponseMeta
|
|
19721
|
+
*/
|
|
19722
|
+
'total_days'?: number;
|
|
19723
|
+
}
|
|
19724
|
+
/**
|
|
19725
|
+
*
|
|
19726
|
+
* @export
|
|
19727
|
+
* @interface StoreRouteOperationsStats
|
|
19728
|
+
*/
|
|
19729
|
+
export interface StoreRouteOperationsStats {
|
|
19730
|
+
/**
|
|
19731
|
+
*
|
|
19732
|
+
* @type {number}
|
|
19733
|
+
* @memberof StoreRouteOperationsStats
|
|
19734
|
+
*/
|
|
19735
|
+
'acl_operations'?: number;
|
|
19736
|
+
/**
|
|
19737
|
+
*
|
|
19738
|
+
* @type {number}
|
|
19739
|
+
* @memberof StoreRouteOperationsStats
|
|
19740
|
+
*/
|
|
19741
|
+
'index_operations'?: number;
|
|
19742
|
+
/**
|
|
19743
|
+
*
|
|
19744
|
+
* @type {number}
|
|
19745
|
+
* @memberof StoreRouteOperationsStats
|
|
19746
|
+
*/
|
|
19747
|
+
'recommend_requests'?: number;
|
|
19748
|
+
/**
|
|
19749
|
+
*
|
|
19750
|
+
* @type {number}
|
|
19751
|
+
* @memberof StoreRouteOperationsStats
|
|
19752
|
+
*/
|
|
19753
|
+
'record_operations'?: number;
|
|
19754
|
+
/**
|
|
19755
|
+
*
|
|
19756
|
+
* @type {number}
|
|
19757
|
+
* @memberof StoreRouteOperationsStats
|
|
19758
|
+
*/
|
|
19759
|
+
'rules_operations'?: number;
|
|
19760
|
+
/**
|
|
19761
|
+
*
|
|
19762
|
+
* @type {StoreRouteSearchOperationsBreakdown}
|
|
19763
|
+
* @memberof StoreRouteOperationsStats
|
|
19764
|
+
*/
|
|
19765
|
+
'search_operations'?: StoreRouteSearchOperationsBreakdown;
|
|
19766
|
+
/**
|
|
19767
|
+
*
|
|
19768
|
+
* @type {number}
|
|
19769
|
+
* @memberof StoreRouteOperationsStats
|
|
19770
|
+
*/
|
|
19771
|
+
'synonym_operations'?: number;
|
|
19772
|
+
/**
|
|
19773
|
+
*
|
|
19774
|
+
* @type {number}
|
|
19775
|
+
* @memberof StoreRouteOperationsStats
|
|
19776
|
+
*/
|
|
19777
|
+
'total_operations'?: number;
|
|
19778
|
+
}
|
|
18530
19779
|
/**
|
|
18531
19780
|
*
|
|
18532
19781
|
* @export
|
|
@@ -18558,6 +19807,161 @@ export interface StoreRoutePaginationMeta {
|
|
|
18558
19807
|
*/
|
|
18559
19808
|
'total_pages'?: number;
|
|
18560
19809
|
}
|
|
19810
|
+
/**
|
|
19811
|
+
*
|
|
19812
|
+
* @export
|
|
19813
|
+
* @interface StoreRouteRecordsStats
|
|
19814
|
+
*/
|
|
19815
|
+
export interface StoreRouteRecordsStats {
|
|
19816
|
+
/**
|
|
19817
|
+
*
|
|
19818
|
+
* @type {number}
|
|
19819
|
+
* @memberof StoreRouteRecordsStats
|
|
19820
|
+
*/
|
|
19821
|
+
'included_in_plan'?: number;
|
|
19822
|
+
/**
|
|
19823
|
+
*
|
|
19824
|
+
* @type {number}
|
|
19825
|
+
* @memberof StoreRouteRecordsStats
|
|
19826
|
+
*/
|
|
19827
|
+
'percentage_used'?: number;
|
|
19828
|
+
/**
|
|
19829
|
+
*
|
|
19830
|
+
* @type {number}
|
|
19831
|
+
* @memberof StoreRouteRecordsStats
|
|
19832
|
+
*/
|
|
19833
|
+
'used'?: number;
|
|
19834
|
+
}
|
|
19835
|
+
/**
|
|
19836
|
+
*
|
|
19837
|
+
* @export
|
|
19838
|
+
* @interface StoreRouteResponseTimeStats
|
|
19839
|
+
*/
|
|
19840
|
+
export interface StoreRouteResponseTimeStats {
|
|
19841
|
+
/**
|
|
19842
|
+
*
|
|
19843
|
+
* @type {number}
|
|
19844
|
+
* @memberof StoreRouteResponseTimeStats
|
|
19845
|
+
*/
|
|
19846
|
+
'average_ms'?: number;
|
|
19847
|
+
/**
|
|
19848
|
+
*
|
|
19849
|
+
* @type {number}
|
|
19850
|
+
* @memberof StoreRouteResponseTimeStats
|
|
19851
|
+
*/
|
|
19852
|
+
'max_ms'?: number;
|
|
19853
|
+
/**
|
|
19854
|
+
*
|
|
19855
|
+
* @type {number}
|
|
19856
|
+
* @memberof StoreRouteResponseTimeStats
|
|
19857
|
+
*/
|
|
19858
|
+
'min_ms'?: number;
|
|
19859
|
+
/**
|
|
19860
|
+
*
|
|
19861
|
+
* @type {number}
|
|
19862
|
+
* @memberof StoreRouteResponseTimeStats
|
|
19863
|
+
*/
|
|
19864
|
+
'percentile_90_ms'?: number;
|
|
19865
|
+
/**
|
|
19866
|
+
*
|
|
19867
|
+
* @type {number}
|
|
19868
|
+
* @memberof StoreRouteResponseTimeStats
|
|
19869
|
+
*/
|
|
19870
|
+
'percentile_99_ms'?: number;
|
|
19871
|
+
}
|
|
19872
|
+
/**
|
|
19873
|
+
*
|
|
19874
|
+
* @export
|
|
19875
|
+
* @interface StoreRouteSearchOperationsBreakdown
|
|
19876
|
+
*/
|
|
19877
|
+
export interface StoreRouteSearchOperationsBreakdown {
|
|
19878
|
+
/**
|
|
19879
|
+
*
|
|
19880
|
+
* @type {number}
|
|
19881
|
+
* @memberof StoreRouteSearchOperationsBreakdown
|
|
19882
|
+
*/
|
|
19883
|
+
'multi_queries'?: number;
|
|
19884
|
+
/**
|
|
19885
|
+
*
|
|
19886
|
+
* @type {number}
|
|
19887
|
+
* @memberof StoreRouteSearchOperationsBreakdown
|
|
19888
|
+
*/
|
|
19889
|
+
'single_queries'?: number;
|
|
19890
|
+
/**
|
|
19891
|
+
*
|
|
19892
|
+
* @type {number}
|
|
19893
|
+
* @memberof StoreRouteSearchOperationsBreakdown
|
|
19894
|
+
*/
|
|
19895
|
+
'total'?: number;
|
|
19896
|
+
}
|
|
19897
|
+
/**
|
|
19898
|
+
*
|
|
19899
|
+
* @export
|
|
19900
|
+
* @interface StoreRouteTimeSeriesMeta
|
|
19901
|
+
*/
|
|
19902
|
+
export interface StoreRouteTimeSeriesMeta {
|
|
19903
|
+
/**
|
|
19904
|
+
*
|
|
19905
|
+
* @type {number}
|
|
19906
|
+
* @memberof StoreRouteTimeSeriesMeta
|
|
19907
|
+
*/
|
|
19908
|
+
'data_points'?: number;
|
|
19909
|
+
/**
|
|
19910
|
+
*
|
|
19911
|
+
* @type {string}
|
|
19912
|
+
* @memberof StoreRouteTimeSeriesMeta
|
|
19913
|
+
*/
|
|
19914
|
+
'end_date'?: string;
|
|
19915
|
+
/**
|
|
19916
|
+
*
|
|
19917
|
+
* @type {string}
|
|
19918
|
+
* @memberof StoreRouteTimeSeriesMeta
|
|
19919
|
+
*/
|
|
19920
|
+
'start_date'?: string;
|
|
19921
|
+
/**
|
|
19922
|
+
*
|
|
19923
|
+
* @type {number}
|
|
19924
|
+
* @memberof StoreRouteTimeSeriesMeta
|
|
19925
|
+
*/
|
|
19926
|
+
'total_days'?: number;
|
|
19927
|
+
}
|
|
19928
|
+
/**
|
|
19929
|
+
*
|
|
19930
|
+
* @export
|
|
19931
|
+
* @interface StoreRouteTimeSeriesResponse
|
|
19932
|
+
*/
|
|
19933
|
+
export interface StoreRouteTimeSeriesResponse {
|
|
19934
|
+
/**
|
|
19935
|
+
* Can be []TimeSeriesDataPoint or AllMetricsData
|
|
19936
|
+
* @type {any}
|
|
19937
|
+
* @memberof StoreRouteTimeSeriesResponse
|
|
19938
|
+
*/
|
|
19939
|
+
'data'?: any;
|
|
19940
|
+
/**
|
|
19941
|
+
*
|
|
19942
|
+
* @type {string}
|
|
19943
|
+
* @memberof StoreRouteTimeSeriesResponse
|
|
19944
|
+
*/
|
|
19945
|
+
'message'?: string;
|
|
19946
|
+
/**
|
|
19947
|
+
*
|
|
19948
|
+
* @type {StoreRouteTimeSeriesMeta}
|
|
19949
|
+
* @memberof StoreRouteTimeSeriesResponse
|
|
19950
|
+
*/
|
|
19951
|
+
'meta'?: StoreRouteTimeSeriesMeta;
|
|
19952
|
+
/**
|
|
19953
|
+
*
|
|
19954
|
+
* @type {string}
|
|
19955
|
+
* @memberof StoreRouteTimeSeriesResponse
|
|
19956
|
+
*/
|
|
19957
|
+
'metric'?: string;
|
|
19958
|
+
/**
|
|
19959
|
+
*
|
|
19960
|
+
* @type {number}
|
|
19961
|
+
* @memberof StoreRouteTimeSeriesResponse
|
|
19962
|
+
*/
|
|
19963
|
+
'status'?: number;
|
|
19964
|
+
}
|
|
18561
19965
|
/**
|
|
18562
19966
|
*
|
|
18563
19967
|
* @export
|
|
@@ -26576,16 +27980,52 @@ export const BillingDashboardApiAxiosParamCreator = function (configuration?: Co
|
|
|
26576
27980
|
};
|
|
26577
27981
|
},
|
|
26578
27982
|
/**
|
|
26579
|
-
* Creates a new billing alert configuration for the organization
|
|
26580
|
-
* @summary Create billing alert
|
|
26581
|
-
* @param {DataTypesBillingAlertRequest} dataTypesBillingAlertRequest Alert configuration
|
|
27983
|
+
* Creates a new billing alert configuration for the organization
|
|
27984
|
+
* @summary Create billing alert
|
|
27985
|
+
* @param {DataTypesBillingAlertRequest} dataTypesBillingAlertRequest Alert configuration
|
|
27986
|
+
* @param {*} [options] Override http request option.
|
|
27987
|
+
* @throws {RequiredError}
|
|
27988
|
+
*/
|
|
27989
|
+
adminBillingAlertsPost: async (dataTypesBillingAlertRequest: DataTypesBillingAlertRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
27990
|
+
// verify required parameter 'dataTypesBillingAlertRequest' is not null or undefined
|
|
27991
|
+
assertParamExists('adminBillingAlertsPost', 'dataTypesBillingAlertRequest', dataTypesBillingAlertRequest)
|
|
27992
|
+
const localVarPath = `/admin/billing/alerts`;
|
|
27993
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
27994
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
27995
|
+
let baseOptions;
|
|
27996
|
+
if (configuration) {
|
|
27997
|
+
baseOptions = configuration.baseOptions;
|
|
27998
|
+
}
|
|
27999
|
+
|
|
28000
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
28001
|
+
const localVarHeaderParameter = {} as any;
|
|
28002
|
+
const localVarQueryParameter = {} as any;
|
|
28003
|
+
|
|
28004
|
+
// authentication BearerAuth required
|
|
28005
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
28006
|
+
|
|
28007
|
+
|
|
28008
|
+
|
|
28009
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
28010
|
+
|
|
28011
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
28012
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
28013
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
28014
|
+
localVarRequestOptions.data = serializeDataIfNeeded(dataTypesBillingAlertRequest, localVarRequestOptions, configuration)
|
|
28015
|
+
|
|
28016
|
+
return {
|
|
28017
|
+
url: toPathString(localVarUrlObj),
|
|
28018
|
+
options: localVarRequestOptions,
|
|
28019
|
+
};
|
|
28020
|
+
},
|
|
28021
|
+
/**
|
|
28022
|
+
* Returns available alert types and their configurations for the frontend
|
|
28023
|
+
* @summary Get billing alert types
|
|
26582
28024
|
* @param {*} [options] Override http request option.
|
|
26583
28025
|
* @throws {RequiredError}
|
|
26584
28026
|
*/
|
|
26585
|
-
|
|
26586
|
-
|
|
26587
|
-
assertParamExists('adminBillingAlertsPost', 'dataTypesBillingAlertRequest', dataTypesBillingAlertRequest)
|
|
26588
|
-
const localVarPath = `/admin/billing/alerts`;
|
|
28027
|
+
adminBillingAlertsTypesGet: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
28028
|
+
const localVarPath = `/admin/billing/alerts/types`;
|
|
26589
28029
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26590
28030
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
26591
28031
|
let baseOptions;
|
|
@@ -26593,7 +28033,7 @@ export const BillingDashboardApiAxiosParamCreator = function (configuration?: Co
|
|
|
26593
28033
|
baseOptions = configuration.baseOptions;
|
|
26594
28034
|
}
|
|
26595
28035
|
|
|
26596
|
-
const localVarRequestOptions = { method: '
|
|
28036
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
26597
28037
|
const localVarHeaderParameter = {} as any;
|
|
26598
28038
|
const localVarQueryParameter = {} as any;
|
|
26599
28039
|
|
|
@@ -26602,12 +28042,9 @@ export const BillingDashboardApiAxiosParamCreator = function (configuration?: Co
|
|
|
26602
28042
|
|
|
26603
28043
|
|
|
26604
28044
|
|
|
26605
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
26606
|
-
|
|
26607
28045
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26608
28046
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26609
28047
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
26610
|
-
localVarRequestOptions.data = serializeDataIfNeeded(dataTypesBillingAlertRequest, localVarRequestOptions, configuration)
|
|
26611
28048
|
|
|
26612
28049
|
return {
|
|
26613
28050
|
url: toPathString(localVarUrlObj),
|
|
@@ -27064,7 +28501,7 @@ export const BillingDashboardApiAxiosParamCreator = function (configuration?: Co
|
|
|
27064
28501
|
};
|
|
27065
28502
|
},
|
|
27066
28503
|
/**
|
|
27067
|
-
*
|
|
28504
|
+
* Returns an invoice as a base64-encoded PDF blob for frontend download. PDFs are cached in S3 for performance.
|
|
27068
28505
|
* @summary Download invoice
|
|
27069
28506
|
* @param {string} id Invoice ID
|
|
27070
28507
|
* @param {*} [options] Override http request option.
|
|
@@ -27724,6 +29161,18 @@ export const BillingDashboardApiFp = function(configuration?: Configuration) {
|
|
|
27724
29161
|
const localVarOperationServerBasePath = operationServerMap['BillingDashboardApi.adminBillingAlertsPost']?.[localVarOperationServerIndex]?.url;
|
|
27725
29162
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
27726
29163
|
},
|
|
29164
|
+
/**
|
|
29165
|
+
* Returns available alert types and their configurations for the frontend
|
|
29166
|
+
* @summary Get billing alert types
|
|
29167
|
+
* @param {*} [options] Override http request option.
|
|
29168
|
+
* @throws {RequiredError}
|
|
29169
|
+
*/
|
|
29170
|
+
async adminBillingAlertsTypesGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
|
|
29171
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.adminBillingAlertsTypesGet(options);
|
|
29172
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
29173
|
+
const localVarOperationServerBasePath = operationServerMap['BillingDashboardApi.adminBillingAlertsTypesGet']?.[localVarOperationServerIndex]?.url;
|
|
29174
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
29175
|
+
},
|
|
27727
29176
|
/**
|
|
27728
29177
|
* Retrieves paginated list of credit consumption records with filtering options for the authenticated user\'s organization
|
|
27729
29178
|
* @summary Get credit consumption
|
|
@@ -27864,13 +29313,13 @@ export const BillingDashboardApiFp = function(configuration?: Configuration) {
|
|
|
27864
29313
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
27865
29314
|
},
|
|
27866
29315
|
/**
|
|
27867
|
-
*
|
|
29316
|
+
* Returns an invoice as a base64-encoded PDF blob for frontend download. PDFs are cached in S3 for performance.
|
|
27868
29317
|
* @summary Download invoice
|
|
27869
29318
|
* @param {string} id Invoice ID
|
|
27870
29319
|
* @param {*} [options] Override http request option.
|
|
27871
29320
|
* @throws {RequiredError}
|
|
27872
29321
|
*/
|
|
27873
|
-
async adminBillingInvoicesIdDownloadGet(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
29322
|
+
async adminBillingInvoicesIdDownloadGet(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
|
|
27874
29323
|
const localVarAxiosArgs = await localVarAxiosParamCreator.adminBillingInvoicesIdDownloadGet(id, options);
|
|
27875
29324
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
27876
29325
|
const localVarOperationServerBasePath = operationServerMap['BillingDashboardApi.adminBillingInvoicesIdDownloadGet']?.[localVarOperationServerIndex]?.url;
|
|
@@ -28104,6 +29553,15 @@ export const BillingDashboardApiFactory = function (configuration?: Configuratio
|
|
|
28104
29553
|
adminBillingAlertsPost(dataTypesBillingAlertRequest: DataTypesBillingAlertRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
|
|
28105
29554
|
return localVarFp.adminBillingAlertsPost(dataTypesBillingAlertRequest, options).then((request) => request(axios, basePath));
|
|
28106
29555
|
},
|
|
29556
|
+
/**
|
|
29557
|
+
* Returns available alert types and their configurations for the frontend
|
|
29558
|
+
* @summary Get billing alert types
|
|
29559
|
+
* @param {*} [options] Override http request option.
|
|
29560
|
+
* @throws {RequiredError}
|
|
29561
|
+
*/
|
|
29562
|
+
adminBillingAlertsTypesGet(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
|
|
29563
|
+
return localVarFp.adminBillingAlertsTypesGet(options).then((request) => request(axios, basePath));
|
|
29564
|
+
},
|
|
28107
29565
|
/**
|
|
28108
29566
|
* Retrieves paginated list of credit consumption records with filtering options for the authenticated user\'s organization
|
|
28109
29567
|
* @summary Get credit consumption
|
|
@@ -28217,13 +29675,13 @@ export const BillingDashboardApiFactory = function (configuration?: Configuratio
|
|
|
28217
29675
|
return localVarFp.adminBillingInvoicesIdDelete(id, options).then((request) => request(axios, basePath));
|
|
28218
29676
|
},
|
|
28219
29677
|
/**
|
|
28220
|
-
*
|
|
29678
|
+
* Returns an invoice as a base64-encoded PDF blob for frontend download. PDFs are cached in S3 for performance.
|
|
28221
29679
|
* @summary Download invoice
|
|
28222
29680
|
* @param {string} id Invoice ID
|
|
28223
29681
|
* @param {*} [options] Override http request option.
|
|
28224
29682
|
* @throws {RequiredError}
|
|
28225
29683
|
*/
|
|
28226
|
-
adminBillingInvoicesIdDownloadGet(id: string, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
29684
|
+
adminBillingInvoicesIdDownloadGet(id: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
|
|
28227
29685
|
return localVarFp.adminBillingInvoicesIdDownloadGet(id, options).then((request) => request(axios, basePath));
|
|
28228
29686
|
},
|
|
28229
29687
|
/**
|
|
@@ -28426,6 +29884,17 @@ export class BillingDashboardApi extends BaseAPI {
|
|
|
28426
29884
|
return BillingDashboardApiFp(this.configuration).adminBillingAlertsPost(dataTypesBillingAlertRequest, options).then((request) => request(this.axios, this.basePath));
|
|
28427
29885
|
}
|
|
28428
29886
|
|
|
29887
|
+
/**
|
|
29888
|
+
* Returns available alert types and their configurations for the frontend
|
|
29889
|
+
* @summary Get billing alert types
|
|
29890
|
+
* @param {*} [options] Override http request option.
|
|
29891
|
+
* @throws {RequiredError}
|
|
29892
|
+
* @memberof BillingDashboardApi
|
|
29893
|
+
*/
|
|
29894
|
+
public adminBillingAlertsTypesGet(options?: RawAxiosRequestConfig) {
|
|
29895
|
+
return BillingDashboardApiFp(this.configuration).adminBillingAlertsTypesGet(options).then((request) => request(this.axios, this.basePath));
|
|
29896
|
+
}
|
|
29897
|
+
|
|
28429
29898
|
/**
|
|
28430
29899
|
* Retrieves paginated list of credit consumption records with filtering options for the authenticated user\'s organization
|
|
28431
29900
|
* @summary Get credit consumption
|
|
@@ -28557,7 +30026,7 @@ export class BillingDashboardApi extends BaseAPI {
|
|
|
28557
30026
|
}
|
|
28558
30027
|
|
|
28559
30028
|
/**
|
|
28560
|
-
*
|
|
30029
|
+
* Returns an invoice as a base64-encoded PDF blob for frontend download. PDFs are cached in S3 for performance.
|
|
28561
30030
|
* @summary Download invoice
|
|
28562
30031
|
* @param {string} id Invoice ID
|
|
28563
30032
|
* @param {*} [options] Override http request option.
|
|
@@ -31083,8 +32552,8 @@ export const FeatureLimitsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
31083
32552
|
* @param {*} [options] Override http request option.
|
|
31084
32553
|
* @throws {RequiredError}
|
|
31085
32554
|
*/
|
|
31086
|
-
|
|
31087
|
-
const localVarPath = `/
|
|
32555
|
+
adminFeatureLimitsViolationsGet: async (featureName?: string, limit?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32556
|
+
const localVarPath = `/admin/feature-limits/violations`;
|
|
31088
32557
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
31089
32558
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
31090
32559
|
let baseOptions;
|
|
@@ -31126,10 +32595,10 @@ export const FeatureLimitsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
31126
32595
|
* @param {*} [options] Override http request option.
|
|
31127
32596
|
* @throws {RequiredError}
|
|
31128
32597
|
*/
|
|
31129
|
-
|
|
32598
|
+
featureLimitsCheckGet: async (featureName: string, amount?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
31130
32599
|
// verify required parameter 'featureName' is not null or undefined
|
|
31131
|
-
assertParamExists('
|
|
31132
|
-
const localVarPath = `/
|
|
32600
|
+
assertParamExists('featureLimitsCheckGet', 'featureName', featureName)
|
|
32601
|
+
const localVarPath = `/feature-limits/check`;
|
|
31133
32602
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
31134
32603
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
31135
32604
|
let baseOptions;
|
|
@@ -31171,8 +32640,8 @@ export const FeatureLimitsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
31171
32640
|
* @param {*} [options] Override http request option.
|
|
31172
32641
|
* @throws {RequiredError}
|
|
31173
32642
|
*/
|
|
31174
|
-
|
|
31175
|
-
const localVarPath = `/
|
|
32643
|
+
featureLimitsHistoryGet: async (featureName?: string, limit?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32644
|
+
const localVarPath = `/feature-limits/history`;
|
|
31176
32645
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
31177
32646
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
31178
32647
|
let baseOptions;
|
|
@@ -31212,8 +32681,74 @@ export const FeatureLimitsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
31212
32681
|
* @param {*} [options] Override http request option.
|
|
31213
32682
|
* @throws {RequiredError}
|
|
31214
32683
|
*/
|
|
31215
|
-
|
|
31216
|
-
const localVarPath = `/
|
|
32684
|
+
featureLimitsPlanGet: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32685
|
+
const localVarPath = `/feature-limits/plan`;
|
|
32686
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32687
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
32688
|
+
let baseOptions;
|
|
32689
|
+
if (configuration) {
|
|
32690
|
+
baseOptions = configuration.baseOptions;
|
|
32691
|
+
}
|
|
32692
|
+
|
|
32693
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
32694
|
+
const localVarHeaderParameter = {} as any;
|
|
32695
|
+
const localVarQueryParameter = {} as any;
|
|
32696
|
+
|
|
32697
|
+
// authentication BearerAuth required
|
|
32698
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
32699
|
+
|
|
32700
|
+
|
|
32701
|
+
|
|
32702
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
32703
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
32704
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
32705
|
+
|
|
32706
|
+
return {
|
|
32707
|
+
url: toPathString(localVarUrlObj),
|
|
32708
|
+
options: localVarRequestOptions,
|
|
32709
|
+
};
|
|
32710
|
+
},
|
|
32711
|
+
/**
|
|
32712
|
+
* Returns plan details and feature availability map for UI rendering
|
|
32713
|
+
* @summary Get plan information for frontend
|
|
32714
|
+
* @param {*} [options] Override http request option.
|
|
32715
|
+
* @throws {RequiredError}
|
|
32716
|
+
*/
|
|
32717
|
+
featureLimitsPlanInfoGet: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32718
|
+
const localVarPath = `/feature-limits/plan/info`;
|
|
32719
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32720
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
32721
|
+
let baseOptions;
|
|
32722
|
+
if (configuration) {
|
|
32723
|
+
baseOptions = configuration.baseOptions;
|
|
32724
|
+
}
|
|
32725
|
+
|
|
32726
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
32727
|
+
const localVarHeaderParameter = {} as any;
|
|
32728
|
+
const localVarQueryParameter = {} as any;
|
|
32729
|
+
|
|
32730
|
+
// authentication BearerAuth required
|
|
32731
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
32732
|
+
|
|
32733
|
+
|
|
32734
|
+
|
|
32735
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
32736
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
32737
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
32738
|
+
|
|
32739
|
+
return {
|
|
32740
|
+
url: toPathString(localVarUrlObj),
|
|
32741
|
+
options: localVarRequestOptions,
|
|
32742
|
+
};
|
|
32743
|
+
},
|
|
32744
|
+
/**
|
|
32745
|
+
* Retrieves comprehensive real-time limit status for the organization including all features, credits, and API calls
|
|
32746
|
+
* @summary Get real-time limit status
|
|
32747
|
+
* @param {*} [options] Override http request option.
|
|
32748
|
+
* @throws {RequiredError}
|
|
32749
|
+
*/
|
|
32750
|
+
featureLimitsStatusGet: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32751
|
+
const localVarPath = `/feature-limits/status`;
|
|
31217
32752
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
31218
32753
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
31219
32754
|
let baseOptions;
|
|
@@ -31245,8 +32780,8 @@ export const FeatureLimitsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
31245
32780
|
* @param {*} [options] Override http request option.
|
|
31246
32781
|
* @throws {RequiredError}
|
|
31247
32782
|
*/
|
|
31248
|
-
|
|
31249
|
-
const localVarPath = `/
|
|
32783
|
+
featureLimitsUsageGet: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32784
|
+
const localVarPath = `/feature-limits/usage`;
|
|
31250
32785
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
31251
32786
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
31252
32787
|
let baseOptions;
|
|
@@ -31290,10 +32825,10 @@ export const FeatureLimitsApiFp = function(configuration?: Configuration) {
|
|
|
31290
32825
|
* @param {*} [options] Override http request option.
|
|
31291
32826
|
* @throws {RequiredError}
|
|
31292
32827
|
*/
|
|
31293
|
-
async
|
|
31294
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
32828
|
+
async adminFeatureLimitsViolationsGet(featureName?: string, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminFeatureLimitsViolationsGet200Response>> {
|
|
32829
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.adminFeatureLimitsViolationsGet(featureName, limit, options);
|
|
31295
32830
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
31296
|
-
const localVarOperationServerBasePath = operationServerMap['FeatureLimitsApi.
|
|
32831
|
+
const localVarOperationServerBasePath = operationServerMap['FeatureLimitsApi.adminFeatureLimitsViolationsGet']?.[localVarOperationServerIndex]?.url;
|
|
31297
32832
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
31298
32833
|
},
|
|
31299
32834
|
/**
|
|
@@ -31304,10 +32839,10 @@ export const FeatureLimitsApiFp = function(configuration?: Configuration) {
|
|
|
31304
32839
|
* @param {*} [options] Override http request option.
|
|
31305
32840
|
* @throws {RequiredError}
|
|
31306
32841
|
*/
|
|
31307
|
-
async
|
|
31308
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
32842
|
+
async featureLimitsCheckGet(featureName: string, amount?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FeatureLimitsCheckGet200Response>> {
|
|
32843
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.featureLimitsCheckGet(featureName, amount, options);
|
|
31309
32844
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
31310
|
-
const localVarOperationServerBasePath = operationServerMap['FeatureLimitsApi.
|
|
32845
|
+
const localVarOperationServerBasePath = operationServerMap['FeatureLimitsApi.featureLimitsCheckGet']?.[localVarOperationServerIndex]?.url;
|
|
31311
32846
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
31312
32847
|
},
|
|
31313
32848
|
/**
|
|
@@ -31318,10 +32853,10 @@ export const FeatureLimitsApiFp = function(configuration?: Configuration) {
|
|
|
31318
32853
|
* @param {*} [options] Override http request option.
|
|
31319
32854
|
* @throws {RequiredError}
|
|
31320
32855
|
*/
|
|
31321
|
-
async
|
|
31322
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
32856
|
+
async featureLimitsHistoryGet(featureName?: string, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FeatureLimitsHistoryGet200Response>> {
|
|
32857
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.featureLimitsHistoryGet(featureName, limit, options);
|
|
31323
32858
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
31324
|
-
const localVarOperationServerBasePath = operationServerMap['FeatureLimitsApi.
|
|
32859
|
+
const localVarOperationServerBasePath = operationServerMap['FeatureLimitsApi.featureLimitsHistoryGet']?.[localVarOperationServerIndex]?.url;
|
|
31325
32860
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
31326
32861
|
},
|
|
31327
32862
|
/**
|
|
@@ -31330,10 +32865,34 @@ export const FeatureLimitsApiFp = function(configuration?: Configuration) {
|
|
|
31330
32865
|
* @param {*} [options] Override http request option.
|
|
31331
32866
|
* @throws {RequiredError}
|
|
31332
32867
|
*/
|
|
31333
|
-
async
|
|
31334
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
32868
|
+
async featureLimitsPlanGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FeatureLimitsPlanGet200Response>> {
|
|
32869
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.featureLimitsPlanGet(options);
|
|
32870
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
32871
|
+
const localVarOperationServerBasePath = operationServerMap['FeatureLimitsApi.featureLimitsPlanGet']?.[localVarOperationServerIndex]?.url;
|
|
32872
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
32873
|
+
},
|
|
32874
|
+
/**
|
|
32875
|
+
* Returns plan details and feature availability map for UI rendering
|
|
32876
|
+
* @summary Get plan information for frontend
|
|
32877
|
+
* @param {*} [options] Override http request option.
|
|
32878
|
+
* @throws {RequiredError}
|
|
32879
|
+
*/
|
|
32880
|
+
async featureLimitsPlanInfoGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{ [key: string]: any; }>> {
|
|
32881
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.featureLimitsPlanInfoGet(options);
|
|
31335
32882
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
31336
|
-
const localVarOperationServerBasePath = operationServerMap['FeatureLimitsApi.
|
|
32883
|
+
const localVarOperationServerBasePath = operationServerMap['FeatureLimitsApi.featureLimitsPlanInfoGet']?.[localVarOperationServerIndex]?.url;
|
|
32884
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
32885
|
+
},
|
|
32886
|
+
/**
|
|
32887
|
+
* Retrieves comprehensive real-time limit status for the organization including all features, credits, and API calls
|
|
32888
|
+
* @summary Get real-time limit status
|
|
32889
|
+
* @param {*} [options] Override http request option.
|
|
32890
|
+
* @throws {RequiredError}
|
|
32891
|
+
*/
|
|
32892
|
+
async featureLimitsStatusGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseFeatureLimitServiceLimitStatus>> {
|
|
32893
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.featureLimitsStatusGet(options);
|
|
32894
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
32895
|
+
const localVarOperationServerBasePath = operationServerMap['FeatureLimitsApi.featureLimitsStatusGet']?.[localVarOperationServerIndex]?.url;
|
|
31337
32896
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
31338
32897
|
},
|
|
31339
32898
|
/**
|
|
@@ -31342,10 +32901,10 @@ export const FeatureLimitsApiFp = function(configuration?: Configuration) {
|
|
|
31342
32901
|
* @param {*} [options] Override http request option.
|
|
31343
32902
|
* @throws {RequiredError}
|
|
31344
32903
|
*/
|
|
31345
|
-
async
|
|
31346
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
32904
|
+
async featureLimitsUsageGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FeatureLimitsUsageGet200Response>> {
|
|
32905
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.featureLimitsUsageGet(options);
|
|
31347
32906
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
31348
|
-
const localVarOperationServerBasePath = operationServerMap['FeatureLimitsApi.
|
|
32907
|
+
const localVarOperationServerBasePath = operationServerMap['FeatureLimitsApi.featureLimitsUsageGet']?.[localVarOperationServerIndex]?.url;
|
|
31349
32908
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
31350
32909
|
},
|
|
31351
32910
|
}
|
|
@@ -31366,8 +32925,8 @@ export const FeatureLimitsApiFactory = function (configuration?: Configuration,
|
|
|
31366
32925
|
* @param {*} [options] Override http request option.
|
|
31367
32926
|
* @throws {RequiredError}
|
|
31368
32927
|
*/
|
|
31369
|
-
|
|
31370
|
-
return localVarFp.
|
|
32928
|
+
adminFeatureLimitsViolationsGet(featureName?: string, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<AdminFeatureLimitsViolationsGet200Response> {
|
|
32929
|
+
return localVarFp.adminFeatureLimitsViolationsGet(featureName, limit, options).then((request) => request(axios, basePath));
|
|
31371
32930
|
},
|
|
31372
32931
|
/**
|
|
31373
32932
|
* Checks if a specific feature is within limits without incrementing usage
|
|
@@ -31377,8 +32936,8 @@ export const FeatureLimitsApiFactory = function (configuration?: Configuration,
|
|
|
31377
32936
|
* @param {*} [options] Override http request option.
|
|
31378
32937
|
* @throws {RequiredError}
|
|
31379
32938
|
*/
|
|
31380
|
-
|
|
31381
|
-
return localVarFp.
|
|
32939
|
+
featureLimitsCheckGet(featureName: string, amount?: number, options?: RawAxiosRequestConfig): AxiosPromise<FeatureLimitsCheckGet200Response> {
|
|
32940
|
+
return localVarFp.featureLimitsCheckGet(featureName, amount, options).then((request) => request(axios, basePath));
|
|
31382
32941
|
},
|
|
31383
32942
|
/**
|
|
31384
32943
|
* Retrieves historical feature usage events for the organization
|
|
@@ -31388,8 +32947,8 @@ export const FeatureLimitsApiFactory = function (configuration?: Configuration,
|
|
|
31388
32947
|
* @param {*} [options] Override http request option.
|
|
31389
32948
|
* @throws {RequiredError}
|
|
31390
32949
|
*/
|
|
31391
|
-
|
|
31392
|
-
return localVarFp.
|
|
32950
|
+
featureLimitsHistoryGet(featureName?: string, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<FeatureLimitsHistoryGet200Response> {
|
|
32951
|
+
return localVarFp.featureLimitsHistoryGet(featureName, limit, options).then((request) => request(axios, basePath));
|
|
31393
32952
|
},
|
|
31394
32953
|
/**
|
|
31395
32954
|
* Retrieves the organization\'s current plan with all feature limits
|
|
@@ -31397,8 +32956,26 @@ export const FeatureLimitsApiFactory = function (configuration?: Configuration,
|
|
|
31397
32956
|
* @param {*} [options] Override http request option.
|
|
31398
32957
|
* @throws {RequiredError}
|
|
31399
32958
|
*/
|
|
31400
|
-
|
|
31401
|
-
return localVarFp.
|
|
32959
|
+
featureLimitsPlanGet(options?: RawAxiosRequestConfig): AxiosPromise<FeatureLimitsPlanGet200Response> {
|
|
32960
|
+
return localVarFp.featureLimitsPlanGet(options).then((request) => request(axios, basePath));
|
|
32961
|
+
},
|
|
32962
|
+
/**
|
|
32963
|
+
* Returns plan details and feature availability map for UI rendering
|
|
32964
|
+
* @summary Get plan information for frontend
|
|
32965
|
+
* @param {*} [options] Override http request option.
|
|
32966
|
+
* @throws {RequiredError}
|
|
32967
|
+
*/
|
|
32968
|
+
featureLimitsPlanInfoGet(options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: any; }> {
|
|
32969
|
+
return localVarFp.featureLimitsPlanInfoGet(options).then((request) => request(axios, basePath));
|
|
32970
|
+
},
|
|
32971
|
+
/**
|
|
32972
|
+
* Retrieves comprehensive real-time limit status for the organization including all features, credits, and API calls
|
|
32973
|
+
* @summary Get real-time limit status
|
|
32974
|
+
* @param {*} [options] Override http request option.
|
|
32975
|
+
* @throws {RequiredError}
|
|
32976
|
+
*/
|
|
32977
|
+
featureLimitsStatusGet(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseFeatureLimitServiceLimitStatus> {
|
|
32978
|
+
return localVarFp.featureLimitsStatusGet(options).then((request) => request(axios, basePath));
|
|
31402
32979
|
},
|
|
31403
32980
|
/**
|
|
31404
32981
|
* Retrieves current feature usage statistics for the organization
|
|
@@ -31406,8 +32983,8 @@ export const FeatureLimitsApiFactory = function (configuration?: Configuration,
|
|
|
31406
32983
|
* @param {*} [options] Override http request option.
|
|
31407
32984
|
* @throws {RequiredError}
|
|
31408
32985
|
*/
|
|
31409
|
-
|
|
31410
|
-
return localVarFp.
|
|
32986
|
+
featureLimitsUsageGet(options?: RawAxiosRequestConfig): AxiosPromise<FeatureLimitsUsageGet200Response> {
|
|
32987
|
+
return localVarFp.featureLimitsUsageGet(options).then((request) => request(axios, basePath));
|
|
31411
32988
|
},
|
|
31412
32989
|
};
|
|
31413
32990
|
};
|
|
@@ -31428,8 +33005,8 @@ export class FeatureLimitsApi extends BaseAPI {
|
|
|
31428
33005
|
* @throws {RequiredError}
|
|
31429
33006
|
* @memberof FeatureLimitsApi
|
|
31430
33007
|
*/
|
|
31431
|
-
public
|
|
31432
|
-
return FeatureLimitsApiFp(this.configuration).
|
|
33008
|
+
public adminFeatureLimitsViolationsGet(featureName?: string, limit?: number, options?: RawAxiosRequestConfig) {
|
|
33009
|
+
return FeatureLimitsApiFp(this.configuration).adminFeatureLimitsViolationsGet(featureName, limit, options).then((request) => request(this.axios, this.basePath));
|
|
31433
33010
|
}
|
|
31434
33011
|
|
|
31435
33012
|
/**
|
|
@@ -31441,8 +33018,8 @@ export class FeatureLimitsApi extends BaseAPI {
|
|
|
31441
33018
|
* @throws {RequiredError}
|
|
31442
33019
|
* @memberof FeatureLimitsApi
|
|
31443
33020
|
*/
|
|
31444
|
-
public
|
|
31445
|
-
return FeatureLimitsApiFp(this.configuration).
|
|
33021
|
+
public featureLimitsCheckGet(featureName: string, amount?: number, options?: RawAxiosRequestConfig) {
|
|
33022
|
+
return FeatureLimitsApiFp(this.configuration).featureLimitsCheckGet(featureName, amount, options).then((request) => request(this.axios, this.basePath));
|
|
31446
33023
|
}
|
|
31447
33024
|
|
|
31448
33025
|
/**
|
|
@@ -31454,8 +33031,8 @@ export class FeatureLimitsApi extends BaseAPI {
|
|
|
31454
33031
|
* @throws {RequiredError}
|
|
31455
33032
|
* @memberof FeatureLimitsApi
|
|
31456
33033
|
*/
|
|
31457
|
-
public
|
|
31458
|
-
return FeatureLimitsApiFp(this.configuration).
|
|
33034
|
+
public featureLimitsHistoryGet(featureName?: string, limit?: number, options?: RawAxiosRequestConfig) {
|
|
33035
|
+
return FeatureLimitsApiFp(this.configuration).featureLimitsHistoryGet(featureName, limit, options).then((request) => request(this.axios, this.basePath));
|
|
31459
33036
|
}
|
|
31460
33037
|
|
|
31461
33038
|
/**
|
|
@@ -31465,8 +33042,30 @@ export class FeatureLimitsApi extends BaseAPI {
|
|
|
31465
33042
|
* @throws {RequiredError}
|
|
31466
33043
|
* @memberof FeatureLimitsApi
|
|
31467
33044
|
*/
|
|
31468
|
-
public
|
|
31469
|
-
return FeatureLimitsApiFp(this.configuration).
|
|
33045
|
+
public featureLimitsPlanGet(options?: RawAxiosRequestConfig) {
|
|
33046
|
+
return FeatureLimitsApiFp(this.configuration).featureLimitsPlanGet(options).then((request) => request(this.axios, this.basePath));
|
|
33047
|
+
}
|
|
33048
|
+
|
|
33049
|
+
/**
|
|
33050
|
+
* Returns plan details and feature availability map for UI rendering
|
|
33051
|
+
* @summary Get plan information for frontend
|
|
33052
|
+
* @param {*} [options] Override http request option.
|
|
33053
|
+
* @throws {RequiredError}
|
|
33054
|
+
* @memberof FeatureLimitsApi
|
|
33055
|
+
*/
|
|
33056
|
+
public featureLimitsPlanInfoGet(options?: RawAxiosRequestConfig) {
|
|
33057
|
+
return FeatureLimitsApiFp(this.configuration).featureLimitsPlanInfoGet(options).then((request) => request(this.axios, this.basePath));
|
|
33058
|
+
}
|
|
33059
|
+
|
|
33060
|
+
/**
|
|
33061
|
+
* Retrieves comprehensive real-time limit status for the organization including all features, credits, and API calls
|
|
33062
|
+
* @summary Get real-time limit status
|
|
33063
|
+
* @param {*} [options] Override http request option.
|
|
33064
|
+
* @throws {RequiredError}
|
|
33065
|
+
* @memberof FeatureLimitsApi
|
|
33066
|
+
*/
|
|
33067
|
+
public featureLimitsStatusGet(options?: RawAxiosRequestConfig) {
|
|
33068
|
+
return FeatureLimitsApiFp(this.configuration).featureLimitsStatusGet(options).then((request) => request(this.axios, this.basePath));
|
|
31470
33069
|
}
|
|
31471
33070
|
|
|
31472
33071
|
/**
|
|
@@ -31476,8 +33075,8 @@ export class FeatureLimitsApi extends BaseAPI {
|
|
|
31476
33075
|
* @throws {RequiredError}
|
|
31477
33076
|
* @memberof FeatureLimitsApi
|
|
31478
33077
|
*/
|
|
31479
|
-
public
|
|
31480
|
-
return FeatureLimitsApiFp(this.configuration).
|
|
33078
|
+
public featureLimitsUsageGet(options?: RawAxiosRequestConfig) {
|
|
33079
|
+
return FeatureLimitsApiFp(this.configuration).featureLimitsUsageGet(options).then((request) => request(this.axios, this.basePath));
|
|
31481
33080
|
}
|
|
31482
33081
|
}
|
|
31483
33082
|
|
|
@@ -31495,8 +33094,8 @@ export const FeatureLimitsAdminApiAxiosParamCreator = function (configuration?:
|
|
|
31495
33094
|
* @param {*} [options] Override http request option.
|
|
31496
33095
|
* @throws {RequiredError}
|
|
31497
33096
|
*/
|
|
31498
|
-
|
|
31499
|
-
const localVarPath = `/
|
|
33097
|
+
adminFeatureLimitsCacheInvalidatePost: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
33098
|
+
const localVarPath = `/admin/feature-limits/cache/invalidate`;
|
|
31500
33099
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
31501
33100
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
31502
33101
|
let baseOptions;
|
|
@@ -31529,10 +33128,10 @@ export const FeatureLimitsAdminApiAxiosParamCreator = function (configuration?:
|
|
|
31529
33128
|
* @param {*} [options] Override http request option.
|
|
31530
33129
|
* @throws {RequiredError}
|
|
31531
33130
|
*/
|
|
31532
|
-
|
|
33131
|
+
adminFeatureLimitsResetPost: async (featureName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
31533
33132
|
// verify required parameter 'featureName' is not null or undefined
|
|
31534
|
-
assertParamExists('
|
|
31535
|
-
const localVarPath = `/
|
|
33133
|
+
assertParamExists('adminFeatureLimitsResetPost', 'featureName', featureName)
|
|
33134
|
+
const localVarPath = `/admin/feature-limits/reset`;
|
|
31536
33135
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
31537
33136
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
31538
33137
|
let baseOptions;
|
|
@@ -31578,10 +33177,10 @@ export const FeatureLimitsAdminApiFp = function(configuration?: Configuration) {
|
|
|
31578
33177
|
* @param {*} [options] Override http request option.
|
|
31579
33178
|
* @throws {RequiredError}
|
|
31580
33179
|
*/
|
|
31581
|
-
async
|
|
31582
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
33180
|
+
async adminFeatureLimitsCacheInvalidatePost(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
|
|
33181
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.adminFeatureLimitsCacheInvalidatePost(options);
|
|
31583
33182
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
31584
|
-
const localVarOperationServerBasePath = operationServerMap['FeatureLimitsAdminApi.
|
|
33183
|
+
const localVarOperationServerBasePath = operationServerMap['FeatureLimitsAdminApi.adminFeatureLimitsCacheInvalidatePost']?.[localVarOperationServerIndex]?.url;
|
|
31585
33184
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
31586
33185
|
},
|
|
31587
33186
|
/**
|
|
@@ -31591,10 +33190,10 @@ export const FeatureLimitsAdminApiFp = function(configuration?: Configuration) {
|
|
|
31591
33190
|
* @param {*} [options] Override http request option.
|
|
31592
33191
|
* @throws {RequiredError}
|
|
31593
33192
|
*/
|
|
31594
|
-
async
|
|
31595
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
33193
|
+
async adminFeatureLimitsResetPost(featureName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
|
|
33194
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.adminFeatureLimitsResetPost(featureName, options);
|
|
31596
33195
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
31597
|
-
const localVarOperationServerBasePath = operationServerMap['FeatureLimitsAdminApi.
|
|
33196
|
+
const localVarOperationServerBasePath = operationServerMap['FeatureLimitsAdminApi.adminFeatureLimitsResetPost']?.[localVarOperationServerIndex]?.url;
|
|
31598
33197
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
31599
33198
|
},
|
|
31600
33199
|
}
|
|
@@ -31613,8 +33212,8 @@ export const FeatureLimitsAdminApiFactory = function (configuration?: Configurat
|
|
|
31613
33212
|
* @param {*} [options] Override http request option.
|
|
31614
33213
|
* @throws {RequiredError}
|
|
31615
33214
|
*/
|
|
31616
|
-
|
|
31617
|
-
return localVarFp.
|
|
33215
|
+
adminFeatureLimitsCacheInvalidatePost(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
|
|
33216
|
+
return localVarFp.adminFeatureLimitsCacheInvalidatePost(options).then((request) => request(axios, basePath));
|
|
31618
33217
|
},
|
|
31619
33218
|
/**
|
|
31620
33219
|
* Resets usage counter for a specific feature (admin only)
|
|
@@ -31623,8 +33222,8 @@ export const FeatureLimitsAdminApiFactory = function (configuration?: Configurat
|
|
|
31623
33222
|
* @param {*} [options] Override http request option.
|
|
31624
33223
|
* @throws {RequiredError}
|
|
31625
33224
|
*/
|
|
31626
|
-
|
|
31627
|
-
return localVarFp.
|
|
33225
|
+
adminFeatureLimitsResetPost(featureName: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
|
|
33226
|
+
return localVarFp.adminFeatureLimitsResetPost(featureName, options).then((request) => request(axios, basePath));
|
|
31628
33227
|
},
|
|
31629
33228
|
};
|
|
31630
33229
|
};
|
|
@@ -31643,8 +33242,8 @@ export class FeatureLimitsAdminApi extends BaseAPI {
|
|
|
31643
33242
|
* @throws {RequiredError}
|
|
31644
33243
|
* @memberof FeatureLimitsAdminApi
|
|
31645
33244
|
*/
|
|
31646
|
-
public
|
|
31647
|
-
return FeatureLimitsAdminApiFp(this.configuration).
|
|
33245
|
+
public adminFeatureLimitsCacheInvalidatePost(options?: RawAxiosRequestConfig) {
|
|
33246
|
+
return FeatureLimitsAdminApiFp(this.configuration).adminFeatureLimitsCacheInvalidatePost(options).then((request) => request(this.axios, this.basePath));
|
|
31648
33247
|
}
|
|
31649
33248
|
|
|
31650
33249
|
/**
|
|
@@ -31655,8 +33254,8 @@ export class FeatureLimitsAdminApi extends BaseAPI {
|
|
|
31655
33254
|
* @throws {RequiredError}
|
|
31656
33255
|
* @memberof FeatureLimitsAdminApi
|
|
31657
33256
|
*/
|
|
31658
|
-
public
|
|
31659
|
-
return FeatureLimitsAdminApiFp(this.configuration).
|
|
33257
|
+
public adminFeatureLimitsResetPost(featureName: string, options?: RawAxiosRequestConfig) {
|
|
33258
|
+
return FeatureLimitsAdminApiFp(this.configuration).adminFeatureLimitsResetPost(featureName, options).then((request) => request(this.axios, this.basePath));
|
|
31660
33259
|
}
|
|
31661
33260
|
}
|
|
31662
33261
|
|
|
@@ -37723,6 +39322,45 @@ export const PaymentGatewayApiAxiosParamCreator = function (configuration?: Conf
|
|
|
37723
39322
|
options: localVarRequestOptions,
|
|
37724
39323
|
};
|
|
37725
39324
|
},
|
|
39325
|
+
/**
|
|
39326
|
+
* Verifies an invoice payment using only the gateway order ID. Fetches payment details from the gateway automatically. Ideal for testing without webhook access.
|
|
39327
|
+
* @summary Verify invoice payment (simplified)
|
|
39328
|
+
* @param {AdminPaymentGatewayVerifyInvoicePostRequest} adminPaymentGatewayVerifyInvoicePostRequest Gateway Order ID
|
|
39329
|
+
* @param {*} [options] Override http request option.
|
|
39330
|
+
* @throws {RequiredError}
|
|
39331
|
+
*/
|
|
39332
|
+
adminPaymentGatewayVerifyInvoicePost: async (adminPaymentGatewayVerifyInvoicePostRequest: AdminPaymentGatewayVerifyInvoicePostRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
39333
|
+
// verify required parameter 'adminPaymentGatewayVerifyInvoicePostRequest' is not null or undefined
|
|
39334
|
+
assertParamExists('adminPaymentGatewayVerifyInvoicePost', 'adminPaymentGatewayVerifyInvoicePostRequest', adminPaymentGatewayVerifyInvoicePostRequest)
|
|
39335
|
+
const localVarPath = `/admin/payment-gateway/verify-invoice`;
|
|
39336
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
39337
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
39338
|
+
let baseOptions;
|
|
39339
|
+
if (configuration) {
|
|
39340
|
+
baseOptions = configuration.baseOptions;
|
|
39341
|
+
}
|
|
39342
|
+
|
|
39343
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
39344
|
+
const localVarHeaderParameter = {} as any;
|
|
39345
|
+
const localVarQueryParameter = {} as any;
|
|
39346
|
+
|
|
39347
|
+
// authentication BearerAuth required
|
|
39348
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
39349
|
+
|
|
39350
|
+
|
|
39351
|
+
|
|
39352
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
39353
|
+
|
|
39354
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
39355
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
39356
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
39357
|
+
localVarRequestOptions.data = serializeDataIfNeeded(adminPaymentGatewayVerifyInvoicePostRequest, localVarRequestOptions, configuration)
|
|
39358
|
+
|
|
39359
|
+
return {
|
|
39360
|
+
url: toPathString(localVarUrlObj),
|
|
39361
|
+
options: localVarRequestOptions,
|
|
39362
|
+
};
|
|
39363
|
+
},
|
|
37726
39364
|
/**
|
|
37727
39365
|
* 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.
|
|
37728
39366
|
* @summary Verify payment status by order ID
|
|
@@ -38003,6 +39641,19 @@ export const PaymentGatewayApiFp = function(configuration?: Configuration) {
|
|
|
38003
39641
|
const localVarOperationServerBasePath = operationServerMap['PaymentGatewayApi.adminPaymentGatewayRefundPost']?.[localVarOperationServerIndex]?.url;
|
|
38004
39642
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
38005
39643
|
},
|
|
39644
|
+
/**
|
|
39645
|
+
* Verifies an invoice payment using only the gateway order ID. Fetches payment details from the gateway automatically. Ideal for testing without webhook access.
|
|
39646
|
+
* @summary Verify invoice payment (simplified)
|
|
39647
|
+
* @param {AdminPaymentGatewayVerifyInvoicePostRequest} adminPaymentGatewayVerifyInvoicePostRequest Gateway Order ID
|
|
39648
|
+
* @param {*} [options] Override http request option.
|
|
39649
|
+
* @throws {RequiredError}
|
|
39650
|
+
*/
|
|
39651
|
+
async adminPaymentGatewayVerifyInvoicePost(adminPaymentGatewayVerifyInvoicePostRequest: AdminPaymentGatewayVerifyInvoicePostRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesPaymentStatusPollResponse>> {
|
|
39652
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.adminPaymentGatewayVerifyInvoicePost(adminPaymentGatewayVerifyInvoicePostRequest, options);
|
|
39653
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
39654
|
+
const localVarOperationServerBasePath = operationServerMap['PaymentGatewayApi.adminPaymentGatewayVerifyInvoicePost']?.[localVarOperationServerIndex]?.url;
|
|
39655
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
39656
|
+
},
|
|
38006
39657
|
/**
|
|
38007
39658
|
* 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.
|
|
38008
39659
|
* @summary Verify payment status by order ID
|
|
@@ -38147,6 +39798,16 @@ export const PaymentGatewayApiFactory = function (configuration?: Configuration,
|
|
|
38147
39798
|
adminPaymentGatewayRefundPost(dataTypesRefundRequestDto: DataTypesRefundRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesRefundResponseDto> {
|
|
38148
39799
|
return localVarFp.adminPaymentGatewayRefundPost(dataTypesRefundRequestDto, options).then((request) => request(axios, basePath));
|
|
38149
39800
|
},
|
|
39801
|
+
/**
|
|
39802
|
+
* Verifies an invoice payment using only the gateway order ID. Fetches payment details from the gateway automatically. Ideal for testing without webhook access.
|
|
39803
|
+
* @summary Verify invoice payment (simplified)
|
|
39804
|
+
* @param {AdminPaymentGatewayVerifyInvoicePostRequest} adminPaymentGatewayVerifyInvoicePostRequest Gateway Order ID
|
|
39805
|
+
* @param {*} [options] Override http request option.
|
|
39806
|
+
* @throws {RequiredError}
|
|
39807
|
+
*/
|
|
39808
|
+
adminPaymentGatewayVerifyInvoicePost(adminPaymentGatewayVerifyInvoicePostRequest: AdminPaymentGatewayVerifyInvoicePostRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesPaymentStatusPollResponse> {
|
|
39809
|
+
return localVarFp.adminPaymentGatewayVerifyInvoicePost(adminPaymentGatewayVerifyInvoicePostRequest, options).then((request) => request(axios, basePath));
|
|
39810
|
+
},
|
|
38150
39811
|
/**
|
|
38151
39812
|
* 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.
|
|
38152
39813
|
* @summary Verify payment status by order ID
|
|
@@ -38290,6 +39951,18 @@ export class PaymentGatewayApi extends BaseAPI {
|
|
|
38290
39951
|
return PaymentGatewayApiFp(this.configuration).adminPaymentGatewayRefundPost(dataTypesRefundRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
38291
39952
|
}
|
|
38292
39953
|
|
|
39954
|
+
/**
|
|
39955
|
+
* Verifies an invoice payment using only the gateway order ID. Fetches payment details from the gateway automatically. Ideal for testing without webhook access.
|
|
39956
|
+
* @summary Verify invoice payment (simplified)
|
|
39957
|
+
* @param {AdminPaymentGatewayVerifyInvoicePostRequest} adminPaymentGatewayVerifyInvoicePostRequest Gateway Order ID
|
|
39958
|
+
* @param {*} [options] Override http request option.
|
|
39959
|
+
* @throws {RequiredError}
|
|
39960
|
+
* @memberof PaymentGatewayApi
|
|
39961
|
+
*/
|
|
39962
|
+
public adminPaymentGatewayVerifyInvoicePost(adminPaymentGatewayVerifyInvoicePostRequest: AdminPaymentGatewayVerifyInvoicePostRequest, options?: RawAxiosRequestConfig) {
|
|
39963
|
+
return PaymentGatewayApiFp(this.configuration).adminPaymentGatewayVerifyInvoicePost(adminPaymentGatewayVerifyInvoicePostRequest, options).then((request) => request(this.axios, this.basePath));
|
|
39964
|
+
}
|
|
39965
|
+
|
|
38293
39966
|
/**
|
|
38294
39967
|
* 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.
|
|
38295
39968
|
* @summary Verify payment status by order ID
|
|
@@ -48104,6 +49777,107 @@ export const StoresApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
48104
49777
|
|
|
48105
49778
|
|
|
48106
49779
|
|
|
49780
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
49781
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
49782
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
49783
|
+
|
|
49784
|
+
return {
|
|
49785
|
+
url: toPathString(localVarUrlObj),
|
|
49786
|
+
options: localVarRequestOptions,
|
|
49787
|
+
};
|
|
49788
|
+
},
|
|
49789
|
+
/**
|
|
49790
|
+
* Retrieves aggregated daily statistics for a specific store including records usage, response times, and operation counts.
|
|
49791
|
+
* @summary Get Daily Statistics for a Store
|
|
49792
|
+
* @param {string} xStoreID Store ID
|
|
49793
|
+
* @param {string} [startDate] Start date (YYYY-MM-DD)
|
|
49794
|
+
* @param {string} [endDate] End date (YYYY-MM-DD)
|
|
49795
|
+
* @param {*} [options] Override http request option.
|
|
49796
|
+
* @throws {RequiredError}
|
|
49797
|
+
*/
|
|
49798
|
+
adminStoresXStoreIDAnalyticsDailyStatsGet: async (xStoreID: string, startDate?: string, endDate?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
49799
|
+
// verify required parameter 'xStoreID' is not null or undefined
|
|
49800
|
+
assertParamExists('adminStoresXStoreIDAnalyticsDailyStatsGet', 'xStoreID', xStoreID)
|
|
49801
|
+
const localVarPath = `/admin/Stores/{xStoreID}/analytics/daily-stats`
|
|
49802
|
+
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
|
|
49803
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
49804
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
49805
|
+
let baseOptions;
|
|
49806
|
+
if (configuration) {
|
|
49807
|
+
baseOptions = configuration.baseOptions;
|
|
49808
|
+
}
|
|
49809
|
+
|
|
49810
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
49811
|
+
const localVarHeaderParameter = {} as any;
|
|
49812
|
+
const localVarQueryParameter = {} as any;
|
|
49813
|
+
|
|
49814
|
+
// authentication BearerAuth required
|
|
49815
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
49816
|
+
|
|
49817
|
+
if (startDate !== undefined) {
|
|
49818
|
+
localVarQueryParameter['start_date'] = startDate;
|
|
49819
|
+
}
|
|
49820
|
+
|
|
49821
|
+
if (endDate !== undefined) {
|
|
49822
|
+
localVarQueryParameter['end_date'] = endDate;
|
|
49823
|
+
}
|
|
49824
|
+
|
|
49825
|
+
|
|
49826
|
+
|
|
49827
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
49828
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
49829
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
49830
|
+
|
|
49831
|
+
return {
|
|
49832
|
+
url: toPathString(localVarUrlObj),
|
|
49833
|
+
options: localVarRequestOptions,
|
|
49834
|
+
};
|
|
49835
|
+
},
|
|
49836
|
+
/**
|
|
49837
|
+
* Retrieves time series data for a specific metric (records, search_response_time, operations, or search_requests) with date filtering for graphing.
|
|
49838
|
+
* @summary Get Time Series Data for Store Metrics
|
|
49839
|
+
* @param {string} xStoreID Store ID
|
|
49840
|
+
* @param {string} metric Metric type: records, search_response_time, operations, search_requests
|
|
49841
|
+
* @param {string} [startDate] Start date (YYYY-MM-DD)
|
|
49842
|
+
* @param {string} [endDate] End date (YYYY-MM-DD)
|
|
49843
|
+
* @param {*} [options] Override http request option.
|
|
49844
|
+
* @throws {RequiredError}
|
|
49845
|
+
*/
|
|
49846
|
+
adminStoresXStoreIDAnalyticsTimeseriesGet: async (xStoreID: string, metric: string, startDate?: string, endDate?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
49847
|
+
// verify required parameter 'xStoreID' is not null or undefined
|
|
49848
|
+
assertParamExists('adminStoresXStoreIDAnalyticsTimeseriesGet', 'xStoreID', xStoreID)
|
|
49849
|
+
// verify required parameter 'metric' is not null or undefined
|
|
49850
|
+
assertParamExists('adminStoresXStoreIDAnalyticsTimeseriesGet', 'metric', metric)
|
|
49851
|
+
const localVarPath = `/admin/Stores/{xStoreID}/analytics/timeseries`
|
|
49852
|
+
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
|
|
49853
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
49854
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
49855
|
+
let baseOptions;
|
|
49856
|
+
if (configuration) {
|
|
49857
|
+
baseOptions = configuration.baseOptions;
|
|
49858
|
+
}
|
|
49859
|
+
|
|
49860
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
49861
|
+
const localVarHeaderParameter = {} as any;
|
|
49862
|
+
const localVarQueryParameter = {} as any;
|
|
49863
|
+
|
|
49864
|
+
// authentication BearerAuth required
|
|
49865
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
49866
|
+
|
|
49867
|
+
if (metric !== undefined) {
|
|
49868
|
+
localVarQueryParameter['metric'] = metric;
|
|
49869
|
+
}
|
|
49870
|
+
|
|
49871
|
+
if (startDate !== undefined) {
|
|
49872
|
+
localVarQueryParameter['start_date'] = startDate;
|
|
49873
|
+
}
|
|
49874
|
+
|
|
49875
|
+
if (endDate !== undefined) {
|
|
49876
|
+
localVarQueryParameter['end_date'] = endDate;
|
|
49877
|
+
}
|
|
49878
|
+
|
|
49879
|
+
|
|
49880
|
+
|
|
48107
49881
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
48108
49882
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
48109
49883
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -48661,6 +50435,37 @@ export const StoresApiFp = function(configuration?: Configuration) {
|
|
|
48661
50435
|
const localVarOperationServerBasePath = operationServerMap['StoresApi.adminStoresUpdateStatusIdStatusPut']?.[localVarOperationServerIndex]?.url;
|
|
48662
50436
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
48663
50437
|
},
|
|
50438
|
+
/**
|
|
50439
|
+
* Retrieves aggregated daily statistics for a specific store including records usage, response times, and operation counts.
|
|
50440
|
+
* @summary Get Daily Statistics for a Store
|
|
50441
|
+
* @param {string} xStoreID Store ID
|
|
50442
|
+
* @param {string} [startDate] Start date (YYYY-MM-DD)
|
|
50443
|
+
* @param {string} [endDate] End date (YYYY-MM-DD)
|
|
50444
|
+
* @param {*} [options] Override http request option.
|
|
50445
|
+
* @throws {RequiredError}
|
|
50446
|
+
*/
|
|
50447
|
+
async adminStoresXStoreIDAnalyticsDailyStatsGet(xStoreID: string, startDate?: string, endDate?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StoreRouteDailyStatsResponse>> {
|
|
50448
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.adminStoresXStoreIDAnalyticsDailyStatsGet(xStoreID, startDate, endDate, options);
|
|
50449
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
50450
|
+
const localVarOperationServerBasePath = operationServerMap['StoresApi.adminStoresXStoreIDAnalyticsDailyStatsGet']?.[localVarOperationServerIndex]?.url;
|
|
50451
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
50452
|
+
},
|
|
50453
|
+
/**
|
|
50454
|
+
* Retrieves time series data for a specific metric (records, search_response_time, operations, or search_requests) with date filtering for graphing.
|
|
50455
|
+
* @summary Get Time Series Data for Store Metrics
|
|
50456
|
+
* @param {string} xStoreID Store ID
|
|
50457
|
+
* @param {string} metric Metric type: records, search_response_time, operations, search_requests
|
|
50458
|
+
* @param {string} [startDate] Start date (YYYY-MM-DD)
|
|
50459
|
+
* @param {string} [endDate] End date (YYYY-MM-DD)
|
|
50460
|
+
* @param {*} [options] Override http request option.
|
|
50461
|
+
* @throws {RequiredError}
|
|
50462
|
+
*/
|
|
50463
|
+
async adminStoresXStoreIDAnalyticsTimeseriesGet(xStoreID: string, metric: string, startDate?: string, endDate?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StoreRouteTimeSeriesResponse>> {
|
|
50464
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.adminStoresXStoreIDAnalyticsTimeseriesGet(xStoreID, metric, startDate, endDate, options);
|
|
50465
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
50466
|
+
const localVarOperationServerBasePath = operationServerMap['StoresApi.adminStoresXStoreIDAnalyticsTimeseriesGet']?.[localVarOperationServerIndex]?.url;
|
|
50467
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
50468
|
+
},
|
|
48664
50469
|
/**
|
|
48665
50470
|
* Retrieve detailed information for a specific API usage event including headers, request body, and response body
|
|
48666
50471
|
* @summary Get Specific API Usage Event
|
|
@@ -48878,6 +50683,31 @@ export const StoresApiFactory = function (configuration?: Configuration, basePat
|
|
|
48878
50683
|
adminStoresUpdateStatusIdStatusPut(id: number, status: boolean, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
|
|
48879
50684
|
return localVarFp.adminStoresUpdateStatusIdStatusPut(id, status, options).then((request) => request(axios, basePath));
|
|
48880
50685
|
},
|
|
50686
|
+
/**
|
|
50687
|
+
* Retrieves aggregated daily statistics for a specific store including records usage, response times, and operation counts.
|
|
50688
|
+
* @summary Get Daily Statistics for a Store
|
|
50689
|
+
* @param {string} xStoreID Store ID
|
|
50690
|
+
* @param {string} [startDate] Start date (YYYY-MM-DD)
|
|
50691
|
+
* @param {string} [endDate] End date (YYYY-MM-DD)
|
|
50692
|
+
* @param {*} [options] Override http request option.
|
|
50693
|
+
* @throws {RequiredError}
|
|
50694
|
+
*/
|
|
50695
|
+
adminStoresXStoreIDAnalyticsDailyStatsGet(xStoreID: string, startDate?: string, endDate?: string, options?: RawAxiosRequestConfig): AxiosPromise<StoreRouteDailyStatsResponse> {
|
|
50696
|
+
return localVarFp.adminStoresXStoreIDAnalyticsDailyStatsGet(xStoreID, startDate, endDate, options).then((request) => request(axios, basePath));
|
|
50697
|
+
},
|
|
50698
|
+
/**
|
|
50699
|
+
* Retrieves time series data for a specific metric (records, search_response_time, operations, or search_requests) with date filtering for graphing.
|
|
50700
|
+
* @summary Get Time Series Data for Store Metrics
|
|
50701
|
+
* @param {string} xStoreID Store ID
|
|
50702
|
+
* @param {string} metric Metric type: records, search_response_time, operations, search_requests
|
|
50703
|
+
* @param {string} [startDate] Start date (YYYY-MM-DD)
|
|
50704
|
+
* @param {string} [endDate] End date (YYYY-MM-DD)
|
|
50705
|
+
* @param {*} [options] Override http request option.
|
|
50706
|
+
* @throws {RequiredError}
|
|
50707
|
+
*/
|
|
50708
|
+
adminStoresXStoreIDAnalyticsTimeseriesGet(xStoreID: string, metric: string, startDate?: string, endDate?: string, options?: RawAxiosRequestConfig): AxiosPromise<StoreRouteTimeSeriesResponse> {
|
|
50709
|
+
return localVarFp.adminStoresXStoreIDAnalyticsTimeseriesGet(xStoreID, metric, startDate, endDate, options).then((request) => request(axios, basePath));
|
|
50710
|
+
},
|
|
48881
50711
|
/**
|
|
48882
50712
|
* Retrieve detailed information for a specific API usage event including headers, request body, and response body
|
|
48883
50713
|
* @summary Get Specific API Usage Event
|
|
@@ -49072,6 +50902,35 @@ export class StoresApi extends BaseAPI {
|
|
|
49072
50902
|
return StoresApiFp(this.configuration).adminStoresUpdateStatusIdStatusPut(id, status, options).then((request) => request(this.axios, this.basePath));
|
|
49073
50903
|
}
|
|
49074
50904
|
|
|
50905
|
+
/**
|
|
50906
|
+
* Retrieves aggregated daily statistics for a specific store including records usage, response times, and operation counts.
|
|
50907
|
+
* @summary Get Daily Statistics for a Store
|
|
50908
|
+
* @param {string} xStoreID Store ID
|
|
50909
|
+
* @param {string} [startDate] Start date (YYYY-MM-DD)
|
|
50910
|
+
* @param {string} [endDate] End date (YYYY-MM-DD)
|
|
50911
|
+
* @param {*} [options] Override http request option.
|
|
50912
|
+
* @throws {RequiredError}
|
|
50913
|
+
* @memberof StoresApi
|
|
50914
|
+
*/
|
|
50915
|
+
public adminStoresXStoreIDAnalyticsDailyStatsGet(xStoreID: string, startDate?: string, endDate?: string, options?: RawAxiosRequestConfig) {
|
|
50916
|
+
return StoresApiFp(this.configuration).adminStoresXStoreIDAnalyticsDailyStatsGet(xStoreID, startDate, endDate, options).then((request) => request(this.axios, this.basePath));
|
|
50917
|
+
}
|
|
50918
|
+
|
|
50919
|
+
/**
|
|
50920
|
+
* Retrieves time series data for a specific metric (records, search_response_time, operations, or search_requests) with date filtering for graphing.
|
|
50921
|
+
* @summary Get Time Series Data for Store Metrics
|
|
50922
|
+
* @param {string} xStoreID Store ID
|
|
50923
|
+
* @param {string} metric Metric type: records, search_response_time, operations, search_requests
|
|
50924
|
+
* @param {string} [startDate] Start date (YYYY-MM-DD)
|
|
50925
|
+
* @param {string} [endDate] End date (YYYY-MM-DD)
|
|
50926
|
+
* @param {*} [options] Override http request option.
|
|
50927
|
+
* @throws {RequiredError}
|
|
50928
|
+
* @memberof StoresApi
|
|
50929
|
+
*/
|
|
50930
|
+
public adminStoresXStoreIDAnalyticsTimeseriesGet(xStoreID: string, metric: string, startDate?: string, endDate?: string, options?: RawAxiosRequestConfig) {
|
|
50931
|
+
return StoresApiFp(this.configuration).adminStoresXStoreIDAnalyticsTimeseriesGet(xStoreID, metric, startDate, endDate, options).then((request) => request(this.axios, this.basePath));
|
|
50932
|
+
}
|
|
50933
|
+
|
|
49075
50934
|
/**
|
|
49076
50935
|
* Retrieve detailed information for a specific API usage event including headers, request body, and response body
|
|
49077
50936
|
* @summary Get Specific API Usage Event
|
|
@@ -49778,6 +51637,332 @@ export class SubscriptionsApi extends BaseAPI {
|
|
|
49778
51637
|
|
|
49779
51638
|
|
|
49780
51639
|
|
|
51640
|
+
/**
|
|
51641
|
+
* TaxManagementApi - axios parameter creator
|
|
51642
|
+
* @export
|
|
51643
|
+
*/
|
|
51644
|
+
export const TaxManagementApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
51645
|
+
return {
|
|
51646
|
+
/**
|
|
51647
|
+
* Calculates GST/VAT for a transaction in a payment gateway agnostic way
|
|
51648
|
+
* @summary Calculate tax for a transaction
|
|
51649
|
+
* @param {DataTypesTaxCalculationRequest} dataTypesTaxCalculationRequest Tax calculation request
|
|
51650
|
+
* @param {*} [options] Override http request option.
|
|
51651
|
+
* @throws {RequiredError}
|
|
51652
|
+
*/
|
|
51653
|
+
adminTaxCalculatePost: async (dataTypesTaxCalculationRequest: DataTypesTaxCalculationRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
51654
|
+
// verify required parameter 'dataTypesTaxCalculationRequest' is not null or undefined
|
|
51655
|
+
assertParamExists('adminTaxCalculatePost', 'dataTypesTaxCalculationRequest', dataTypesTaxCalculationRequest)
|
|
51656
|
+
const localVarPath = `/admin/tax/calculate`;
|
|
51657
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
51658
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
51659
|
+
let baseOptions;
|
|
51660
|
+
if (configuration) {
|
|
51661
|
+
baseOptions = configuration.baseOptions;
|
|
51662
|
+
}
|
|
51663
|
+
|
|
51664
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
51665
|
+
const localVarHeaderParameter = {} as any;
|
|
51666
|
+
const localVarQueryParameter = {} as any;
|
|
51667
|
+
|
|
51668
|
+
// authentication BearerAuth required
|
|
51669
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
51670
|
+
|
|
51671
|
+
|
|
51672
|
+
|
|
51673
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
51674
|
+
|
|
51675
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
51676
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
51677
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
51678
|
+
localVarRequestOptions.data = serializeDataIfNeeded(dataTypesTaxCalculationRequest, localVarRequestOptions, configuration)
|
|
51679
|
+
|
|
51680
|
+
return {
|
|
51681
|
+
url: toPathString(localVarUrlObj),
|
|
51682
|
+
options: localVarRequestOptions,
|
|
51683
|
+
};
|
|
51684
|
+
},
|
|
51685
|
+
/**
|
|
51686
|
+
* Retrieves GST and taxation details for an organization
|
|
51687
|
+
* @summary Get organization tax details
|
|
51688
|
+
* @param {*} [options] Override http request option.
|
|
51689
|
+
* @throws {RequiredError}
|
|
51690
|
+
*/
|
|
51691
|
+
adminTaxOrganizationGet: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
51692
|
+
const localVarPath = `/admin/tax/organization`;
|
|
51693
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
51694
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
51695
|
+
let baseOptions;
|
|
51696
|
+
if (configuration) {
|
|
51697
|
+
baseOptions = configuration.baseOptions;
|
|
51698
|
+
}
|
|
51699
|
+
|
|
51700
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
51701
|
+
const localVarHeaderParameter = {} as any;
|
|
51702
|
+
const localVarQueryParameter = {} as any;
|
|
51703
|
+
|
|
51704
|
+
// authentication BearerAuth required
|
|
51705
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
51706
|
+
|
|
51707
|
+
|
|
51708
|
+
|
|
51709
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
51710
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
51711
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
51712
|
+
|
|
51713
|
+
return {
|
|
51714
|
+
url: toPathString(localVarUrlObj),
|
|
51715
|
+
options: localVarRequestOptions,
|
|
51716
|
+
};
|
|
51717
|
+
},
|
|
51718
|
+
/**
|
|
51719
|
+
* Updates GST and taxation details for an organization
|
|
51720
|
+
* @summary Update organization tax details
|
|
51721
|
+
* @param {DataTypesUpdateOrganizationTaxDetailsRequest} dataTypesUpdateOrganizationTaxDetailsRequest Tax details to update
|
|
51722
|
+
* @param {*} [options] Override http request option.
|
|
51723
|
+
* @throws {RequiredError}
|
|
51724
|
+
*/
|
|
51725
|
+
adminTaxOrganizationPut: async (dataTypesUpdateOrganizationTaxDetailsRequest: DataTypesUpdateOrganizationTaxDetailsRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
51726
|
+
// verify required parameter 'dataTypesUpdateOrganizationTaxDetailsRequest' is not null or undefined
|
|
51727
|
+
assertParamExists('adminTaxOrganizationPut', 'dataTypesUpdateOrganizationTaxDetailsRequest', dataTypesUpdateOrganizationTaxDetailsRequest)
|
|
51728
|
+
const localVarPath = `/admin/tax/organization`;
|
|
51729
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
51730
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
51731
|
+
let baseOptions;
|
|
51732
|
+
if (configuration) {
|
|
51733
|
+
baseOptions = configuration.baseOptions;
|
|
51734
|
+
}
|
|
51735
|
+
|
|
51736
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
51737
|
+
const localVarHeaderParameter = {} as any;
|
|
51738
|
+
const localVarQueryParameter = {} as any;
|
|
51739
|
+
|
|
51740
|
+
// authentication BearerAuth required
|
|
51741
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
51742
|
+
|
|
51743
|
+
|
|
51744
|
+
|
|
51745
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
51746
|
+
|
|
51747
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
51748
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
51749
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
51750
|
+
localVarRequestOptions.data = serializeDataIfNeeded(dataTypesUpdateOrganizationTaxDetailsRequest, localVarRequestOptions, configuration)
|
|
51751
|
+
|
|
51752
|
+
return {
|
|
51753
|
+
url: toPathString(localVarUrlObj),
|
|
51754
|
+
options: localVarRequestOptions,
|
|
51755
|
+
};
|
|
51756
|
+
},
|
|
51757
|
+
/**
|
|
51758
|
+
* Validates GSTIN format and optionally verifies with GST portal
|
|
51759
|
+
* @summary Validate GSTIN
|
|
51760
|
+
* @param {DataTypesGSTVerificationRequest} dataTypesGSTVerificationRequest GSTIN to validate
|
|
51761
|
+
* @param {*} [options] Override http request option.
|
|
51762
|
+
* @throws {RequiredError}
|
|
51763
|
+
*/
|
|
51764
|
+
adminTaxValidateGstinPost: async (dataTypesGSTVerificationRequest: DataTypesGSTVerificationRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
51765
|
+
// verify required parameter 'dataTypesGSTVerificationRequest' is not null or undefined
|
|
51766
|
+
assertParamExists('adminTaxValidateGstinPost', 'dataTypesGSTVerificationRequest', dataTypesGSTVerificationRequest)
|
|
51767
|
+
const localVarPath = `/admin/tax/validate-gstin`;
|
|
51768
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
51769
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
51770
|
+
let baseOptions;
|
|
51771
|
+
if (configuration) {
|
|
51772
|
+
baseOptions = configuration.baseOptions;
|
|
51773
|
+
}
|
|
51774
|
+
|
|
51775
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
51776
|
+
const localVarHeaderParameter = {} as any;
|
|
51777
|
+
const localVarQueryParameter = {} as any;
|
|
51778
|
+
|
|
51779
|
+
// authentication BearerAuth required
|
|
51780
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
51781
|
+
|
|
51782
|
+
|
|
51783
|
+
|
|
51784
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
51785
|
+
|
|
51786
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
51787
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
51788
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
51789
|
+
localVarRequestOptions.data = serializeDataIfNeeded(dataTypesGSTVerificationRequest, localVarRequestOptions, configuration)
|
|
51790
|
+
|
|
51791
|
+
return {
|
|
51792
|
+
url: toPathString(localVarUrlObj),
|
|
51793
|
+
options: localVarRequestOptions,
|
|
51794
|
+
};
|
|
51795
|
+
},
|
|
51796
|
+
}
|
|
51797
|
+
};
|
|
51798
|
+
|
|
51799
|
+
/**
|
|
51800
|
+
* TaxManagementApi - functional programming interface
|
|
51801
|
+
* @export
|
|
51802
|
+
*/
|
|
51803
|
+
export const TaxManagementApiFp = function(configuration?: Configuration) {
|
|
51804
|
+
const localVarAxiosParamCreator = TaxManagementApiAxiosParamCreator(configuration)
|
|
51805
|
+
return {
|
|
51806
|
+
/**
|
|
51807
|
+
* Calculates GST/VAT for a transaction in a payment gateway agnostic way
|
|
51808
|
+
* @summary Calculate tax for a transaction
|
|
51809
|
+
* @param {DataTypesTaxCalculationRequest} dataTypesTaxCalculationRequest Tax calculation request
|
|
51810
|
+
* @param {*} [options] Override http request option.
|
|
51811
|
+
* @throws {RequiredError}
|
|
51812
|
+
*/
|
|
51813
|
+
async adminTaxCalculatePost(dataTypesTaxCalculationRequest: DataTypesTaxCalculationRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesTaxCalculationResponse>> {
|
|
51814
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.adminTaxCalculatePost(dataTypesTaxCalculationRequest, options);
|
|
51815
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
51816
|
+
const localVarOperationServerBasePath = operationServerMap['TaxManagementApi.adminTaxCalculatePost']?.[localVarOperationServerIndex]?.url;
|
|
51817
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
51818
|
+
},
|
|
51819
|
+
/**
|
|
51820
|
+
* Retrieves GST and taxation details for an organization
|
|
51821
|
+
* @summary Get organization tax details
|
|
51822
|
+
* @param {*} [options] Override http request option.
|
|
51823
|
+
* @throws {RequiredError}
|
|
51824
|
+
*/
|
|
51825
|
+
async adminTaxOrganizationGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesOrganizationTaxDetails>> {
|
|
51826
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.adminTaxOrganizationGet(options);
|
|
51827
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
51828
|
+
const localVarOperationServerBasePath = operationServerMap['TaxManagementApi.adminTaxOrganizationGet']?.[localVarOperationServerIndex]?.url;
|
|
51829
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
51830
|
+
},
|
|
51831
|
+
/**
|
|
51832
|
+
* Updates GST and taxation details for an organization
|
|
51833
|
+
* @summary Update organization tax details
|
|
51834
|
+
* @param {DataTypesUpdateOrganizationTaxDetailsRequest} dataTypesUpdateOrganizationTaxDetailsRequest Tax details to update
|
|
51835
|
+
* @param {*} [options] Override http request option.
|
|
51836
|
+
* @throws {RequiredError}
|
|
51837
|
+
*/
|
|
51838
|
+
async adminTaxOrganizationPut(dataTypesUpdateOrganizationTaxDetailsRequest: DataTypesUpdateOrganizationTaxDetailsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
|
|
51839
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.adminTaxOrganizationPut(dataTypesUpdateOrganizationTaxDetailsRequest, options);
|
|
51840
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
51841
|
+
const localVarOperationServerBasePath = operationServerMap['TaxManagementApi.adminTaxOrganizationPut']?.[localVarOperationServerIndex]?.url;
|
|
51842
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
51843
|
+
},
|
|
51844
|
+
/**
|
|
51845
|
+
* Validates GSTIN format and optionally verifies with GST portal
|
|
51846
|
+
* @summary Validate GSTIN
|
|
51847
|
+
* @param {DataTypesGSTVerificationRequest} dataTypesGSTVerificationRequest GSTIN to validate
|
|
51848
|
+
* @param {*} [options] Override http request option.
|
|
51849
|
+
* @throws {RequiredError}
|
|
51850
|
+
*/
|
|
51851
|
+
async adminTaxValidateGstinPost(dataTypesGSTVerificationRequest: DataTypesGSTVerificationRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesGSTVerificationResponse>> {
|
|
51852
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.adminTaxValidateGstinPost(dataTypesGSTVerificationRequest, options);
|
|
51853
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
51854
|
+
const localVarOperationServerBasePath = operationServerMap['TaxManagementApi.adminTaxValidateGstinPost']?.[localVarOperationServerIndex]?.url;
|
|
51855
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
51856
|
+
},
|
|
51857
|
+
}
|
|
51858
|
+
};
|
|
51859
|
+
|
|
51860
|
+
/**
|
|
51861
|
+
* TaxManagementApi - factory interface
|
|
51862
|
+
* @export
|
|
51863
|
+
*/
|
|
51864
|
+
export const TaxManagementApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
51865
|
+
const localVarFp = TaxManagementApiFp(configuration)
|
|
51866
|
+
return {
|
|
51867
|
+
/**
|
|
51868
|
+
* Calculates GST/VAT for a transaction in a payment gateway agnostic way
|
|
51869
|
+
* @summary Calculate tax for a transaction
|
|
51870
|
+
* @param {DataTypesTaxCalculationRequest} dataTypesTaxCalculationRequest Tax calculation request
|
|
51871
|
+
* @param {*} [options] Override http request option.
|
|
51872
|
+
* @throws {RequiredError}
|
|
51873
|
+
*/
|
|
51874
|
+
adminTaxCalculatePost(dataTypesTaxCalculationRequest: DataTypesTaxCalculationRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesTaxCalculationResponse> {
|
|
51875
|
+
return localVarFp.adminTaxCalculatePost(dataTypesTaxCalculationRequest, options).then((request) => request(axios, basePath));
|
|
51876
|
+
},
|
|
51877
|
+
/**
|
|
51878
|
+
* Retrieves GST and taxation details for an organization
|
|
51879
|
+
* @summary Get organization tax details
|
|
51880
|
+
* @param {*} [options] Override http request option.
|
|
51881
|
+
* @throws {RequiredError}
|
|
51882
|
+
*/
|
|
51883
|
+
adminTaxOrganizationGet(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesOrganizationTaxDetails> {
|
|
51884
|
+
return localVarFp.adminTaxOrganizationGet(options).then((request) => request(axios, basePath));
|
|
51885
|
+
},
|
|
51886
|
+
/**
|
|
51887
|
+
* Updates GST and taxation details for an organization
|
|
51888
|
+
* @summary Update organization tax details
|
|
51889
|
+
* @param {DataTypesUpdateOrganizationTaxDetailsRequest} dataTypesUpdateOrganizationTaxDetailsRequest Tax details to update
|
|
51890
|
+
* @param {*} [options] Override http request option.
|
|
51891
|
+
* @throws {RequiredError}
|
|
51892
|
+
*/
|
|
51893
|
+
adminTaxOrganizationPut(dataTypesUpdateOrganizationTaxDetailsRequest: DataTypesUpdateOrganizationTaxDetailsRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
|
|
51894
|
+
return localVarFp.adminTaxOrganizationPut(dataTypesUpdateOrganizationTaxDetailsRequest, options).then((request) => request(axios, basePath));
|
|
51895
|
+
},
|
|
51896
|
+
/**
|
|
51897
|
+
* Validates GSTIN format and optionally verifies with GST portal
|
|
51898
|
+
* @summary Validate GSTIN
|
|
51899
|
+
* @param {DataTypesGSTVerificationRequest} dataTypesGSTVerificationRequest GSTIN to validate
|
|
51900
|
+
* @param {*} [options] Override http request option.
|
|
51901
|
+
* @throws {RequiredError}
|
|
51902
|
+
*/
|
|
51903
|
+
adminTaxValidateGstinPost(dataTypesGSTVerificationRequest: DataTypesGSTVerificationRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesGSTVerificationResponse> {
|
|
51904
|
+
return localVarFp.adminTaxValidateGstinPost(dataTypesGSTVerificationRequest, options).then((request) => request(axios, basePath));
|
|
51905
|
+
},
|
|
51906
|
+
};
|
|
51907
|
+
};
|
|
51908
|
+
|
|
51909
|
+
/**
|
|
51910
|
+
* TaxManagementApi - object-oriented interface
|
|
51911
|
+
* @export
|
|
51912
|
+
* @class TaxManagementApi
|
|
51913
|
+
* @extends {BaseAPI}
|
|
51914
|
+
*/
|
|
51915
|
+
export class TaxManagementApi extends BaseAPI {
|
|
51916
|
+
/**
|
|
51917
|
+
* Calculates GST/VAT for a transaction in a payment gateway agnostic way
|
|
51918
|
+
* @summary Calculate tax for a transaction
|
|
51919
|
+
* @param {DataTypesTaxCalculationRequest} dataTypesTaxCalculationRequest Tax calculation request
|
|
51920
|
+
* @param {*} [options] Override http request option.
|
|
51921
|
+
* @throws {RequiredError}
|
|
51922
|
+
* @memberof TaxManagementApi
|
|
51923
|
+
*/
|
|
51924
|
+
public adminTaxCalculatePost(dataTypesTaxCalculationRequest: DataTypesTaxCalculationRequest, options?: RawAxiosRequestConfig) {
|
|
51925
|
+
return TaxManagementApiFp(this.configuration).adminTaxCalculatePost(dataTypesTaxCalculationRequest, options).then((request) => request(this.axios, this.basePath));
|
|
51926
|
+
}
|
|
51927
|
+
|
|
51928
|
+
/**
|
|
51929
|
+
* Retrieves GST and taxation details for an organization
|
|
51930
|
+
* @summary Get organization tax details
|
|
51931
|
+
* @param {*} [options] Override http request option.
|
|
51932
|
+
* @throws {RequiredError}
|
|
51933
|
+
* @memberof TaxManagementApi
|
|
51934
|
+
*/
|
|
51935
|
+
public adminTaxOrganizationGet(options?: RawAxiosRequestConfig) {
|
|
51936
|
+
return TaxManagementApiFp(this.configuration).adminTaxOrganizationGet(options).then((request) => request(this.axios, this.basePath));
|
|
51937
|
+
}
|
|
51938
|
+
|
|
51939
|
+
/**
|
|
51940
|
+
* Updates GST and taxation details for an organization
|
|
51941
|
+
* @summary Update organization tax details
|
|
51942
|
+
* @param {DataTypesUpdateOrganizationTaxDetailsRequest} dataTypesUpdateOrganizationTaxDetailsRequest Tax details to update
|
|
51943
|
+
* @param {*} [options] Override http request option.
|
|
51944
|
+
* @throws {RequiredError}
|
|
51945
|
+
* @memberof TaxManagementApi
|
|
51946
|
+
*/
|
|
51947
|
+
public adminTaxOrganizationPut(dataTypesUpdateOrganizationTaxDetailsRequest: DataTypesUpdateOrganizationTaxDetailsRequest, options?: RawAxiosRequestConfig) {
|
|
51948
|
+
return TaxManagementApiFp(this.configuration).adminTaxOrganizationPut(dataTypesUpdateOrganizationTaxDetailsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
51949
|
+
}
|
|
51950
|
+
|
|
51951
|
+
/**
|
|
51952
|
+
* Validates GSTIN format and optionally verifies with GST portal
|
|
51953
|
+
* @summary Validate GSTIN
|
|
51954
|
+
* @param {DataTypesGSTVerificationRequest} dataTypesGSTVerificationRequest GSTIN to validate
|
|
51955
|
+
* @param {*} [options] Override http request option.
|
|
51956
|
+
* @throws {RequiredError}
|
|
51957
|
+
* @memberof TaxManagementApi
|
|
51958
|
+
*/
|
|
51959
|
+
public adminTaxValidateGstinPost(dataTypesGSTVerificationRequest: DataTypesGSTVerificationRequest, options?: RawAxiosRequestConfig) {
|
|
51960
|
+
return TaxManagementApiFp(this.configuration).adminTaxValidateGstinPost(dataTypesGSTVerificationRequest, options).then((request) => request(this.axios, this.basePath));
|
|
51961
|
+
}
|
|
51962
|
+
}
|
|
51963
|
+
|
|
51964
|
+
|
|
51965
|
+
|
|
49781
51966
|
/**
|
|
49782
51967
|
* UserApi - axios parameter creator
|
|
49783
51968
|
* @export
|