@seekora-ai/admin-api 1.1.1 → 1.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/api.ts CHANGED
@@ -754,6 +754,31 @@ 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
+ }
757
782
  /**
758
783
  *
759
784
  * @export
@@ -7088,131 +7113,6 @@ export interface AnalyticsWidgetData {
7088
7113
  */
7089
7114
  'tertiary_text'?: string;
7090
7115
  }
7091
- /**
7092
- *
7093
- * @export
7094
- * @interface ApiAdminFeatureLimitsViolationsGet200Response
7095
- */
7096
- export interface ApiAdminFeatureLimitsViolationsGet200Response {
7097
- /**
7098
- *
7099
- * @type {Array<DataTypesFeatureLimitViolation>}
7100
- * @memberof ApiAdminFeatureLimitsViolationsGet200Response
7101
- */
7102
- 'data'?: Array<DataTypesFeatureLimitViolation>;
7103
- /**
7104
- *
7105
- * @type {string}
7106
- * @memberof ApiAdminFeatureLimitsViolationsGet200Response
7107
- */
7108
- 'message'?: string;
7109
- /**
7110
- *
7111
- * @type {number}
7112
- * @memberof ApiAdminFeatureLimitsViolationsGet200Response
7113
- */
7114
- 'status'?: number;
7115
- }
7116
- /**
7117
- *
7118
- * @export
7119
- * @interface ApiFeatureLimitsCheckGet200Response
7120
- */
7121
- export interface ApiFeatureLimitsCheckGet200Response {
7122
- /**
7123
- *
7124
- * @type {DataTypesFeatureCheckResult}
7125
- * @memberof ApiFeatureLimitsCheckGet200Response
7126
- */
7127
- 'data'?: DataTypesFeatureCheckResult;
7128
- /**
7129
- *
7130
- * @type {string}
7131
- * @memberof ApiFeatureLimitsCheckGet200Response
7132
- */
7133
- 'message'?: string;
7134
- /**
7135
- *
7136
- * @type {number}
7137
- * @memberof ApiFeatureLimitsCheckGet200Response
7138
- */
7139
- 'status'?: number;
7140
- }
7141
- /**
7142
- *
7143
- * @export
7144
- * @interface ApiFeatureLimitsHistoryGet200Response
7145
- */
7146
- export interface ApiFeatureLimitsHistoryGet200Response {
7147
- /**
7148
- *
7149
- * @type {Array<DataTypesFeatureUsageHistory>}
7150
- * @memberof ApiFeatureLimitsHistoryGet200Response
7151
- */
7152
- 'data'?: Array<DataTypesFeatureUsageHistory>;
7153
- /**
7154
- *
7155
- * @type {string}
7156
- * @memberof ApiFeatureLimitsHistoryGet200Response
7157
- */
7158
- 'message'?: string;
7159
- /**
7160
- *
7161
- * @type {number}
7162
- * @memberof ApiFeatureLimitsHistoryGet200Response
7163
- */
7164
- 'status'?: number;
7165
- }
7166
- /**
7167
- *
7168
- * @export
7169
- * @interface ApiFeatureLimitsPlanGet200Response
7170
- */
7171
- export interface ApiFeatureLimitsPlanGet200Response {
7172
- /**
7173
- *
7174
- * @type {DataTypesPlanFeatures}
7175
- * @memberof ApiFeatureLimitsPlanGet200Response
7176
- */
7177
- 'data'?: DataTypesPlanFeatures;
7178
- /**
7179
- *
7180
- * @type {string}
7181
- * @memberof ApiFeatureLimitsPlanGet200Response
7182
- */
7183
- 'message'?: string;
7184
- /**
7185
- *
7186
- * @type {number}
7187
- * @memberof ApiFeatureLimitsPlanGet200Response
7188
- */
7189
- 'status'?: number;
7190
- }
7191
- /**
7192
- *
7193
- * @export
7194
- * @interface ApiFeatureLimitsUsageGet200Response
7195
- */
7196
- export interface ApiFeatureLimitsUsageGet200Response {
7197
- /**
7198
- *
7199
- * @type {Array<DataTypesFeatureUsageStats>}
7200
- * @memberof ApiFeatureLimitsUsageGet200Response
7201
- */
7202
- 'data'?: Array<DataTypesFeatureUsageStats>;
7203
- /**
7204
- *
7205
- * @type {string}
7206
- * @memberof ApiFeatureLimitsUsageGet200Response
7207
- */
7208
- 'message'?: string;
7209
- /**
7210
- *
7211
- * @type {number}
7212
- * @memberof ApiFeatureLimitsUsageGet200Response
7213
- */
7214
- 'status'?: number;
7215
- }
7216
7116
  /**
7217
7117
  *
7218
7118
  * @export
@@ -10760,6 +10660,92 @@ export interface DataTypesFulfillmentInfoSubscription {
10760
10660
  */
10761
10661
  'plan_name'?: string;
10762
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
+ }
10763
10749
  /**
10764
10750
  *
10765
10751
  * @export
@@ -10854,6 +10840,56 @@ export interface DataTypesGenericResponseDataTypesBillingOrderDetailsResponse {
10854
10840
  */
10855
10841
  'status'?: number;
10856
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
+ }
10857
10893
  /**
10858
10894
  *
10859
10895
  * @export
@@ -10879,6 +10915,31 @@ export interface DataTypesGenericResponseDataTypesPayInvoiceResponse {
10879
10915
  */
10880
10916
  'status'?: number;
10881
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
+ }
10882
10943
  /**
10883
10944
  *
10884
10945
  * @export
@@ -11581,6 +11642,12 @@ export interface DataTypesInvoice {
11581
11642
  * @memberof DataTypesInvoice
11582
11643
  */
11583
11644
  'tax_amount'?: number;
11645
+ /**
11646
+ * Tax and GST details (comprehensive)
11647
+ * @type {DataTypesInvoiceTaxDetails}
11648
+ * @memberof DataTypesInvoice
11649
+ */
11650
+ 'tax_details'?: DataTypesInvoiceTaxDetails;
11584
11651
  /**
11585
11652
  *
11586
11653
  * @type {number}
@@ -11606,6 +11673,24 @@ export interface DataTypesInvoiceItem {
11606
11673
  * @memberof DataTypesInvoiceItem
11607
11674
  */
11608
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;
11609
11694
  /**
11610
11695
  *
11611
11696
  * @type {string}
@@ -11624,6 +11709,12 @@ export interface DataTypesInvoiceItem {
11624
11709
  * @memberof DataTypesInvoiceItem
11625
11710
  */
11626
11711
  'tax_amount'?: number;
11712
+ /**
11713
+ * Detailed tax breakdown
11714
+ * @type {DataTypesTaxBreakdown}
11715
+ * @memberof DataTypesInvoiceItem
11716
+ */
11717
+ 'tax_breakdown'?: DataTypesTaxBreakdown;
11627
11718
  /**
11628
11719
  *
11629
11720
  * @type {number}
@@ -11643,6 +11734,212 @@ export interface DataTypesInvoiceItem {
11643
11734
  */
11644
11735
  'unit_price'?: number;
11645
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
+ }
11646
11943
  /**
11647
11944
  *
11648
11945
  * @export
@@ -13452,6 +13749,97 @@ export interface DataTypesOrganizationResponse {
13452
13749
  */
13453
13750
  'status'?: number;
13454
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
+ }
13455
13843
  /**
13456
13844
  *
13457
13845
  * @export
@@ -13651,17 +14039,29 @@ export interface DataTypesPayInvoiceRequest {
13651
14039
  */
13652
14040
  export interface DataTypesPayInvoiceResponse {
13653
14041
  /**
13654
- *
14042
+ * Amount in currency units
13655
14043
  * @type {number}
13656
14044
  * @memberof DataTypesPayInvoiceResponse
13657
14045
  */
13658
14046
  'amount'?: number;
14047
+ /**
14048
+ *
14049
+ * @type {string}
14050
+ * @memberof DataTypesPayInvoiceResponse
14051
+ */
14052
+ 'created_at'?: string;
13659
14053
  /**
13660
14054
  *
13661
14055
  * @type {string}
13662
14056
  * @memberof DataTypesPayInvoiceResponse
13663
14057
  */
13664
14058
  'currency'?: string;
14059
+ /**
14060
+ * Razorpay customer ID for tokenization
14061
+ * @type {string}
14062
+ * @memberof DataTypesPayInvoiceResponse
14063
+ */
14064
+ 'customer_id'?: string;
13665
14065
  /**
13666
14066
  * Customer details for prefill
13667
14067
  * @type {{ [key: string]: any; }}
@@ -13673,13 +14073,13 @@ export interface DataTypesPayInvoiceResponse {
13673
14073
  * @type {string}
13674
14074
  * @memberof DataTypesPayInvoiceResponse
13675
14075
  */
13676
- 'gateway'?: string;
14076
+ 'expires_at'?: string;
13677
14077
  /**
13678
14078
  *
13679
14079
  * @type {string}
13680
14080
  * @memberof DataTypesPayInvoiceResponse
13681
14081
  */
13682
- 'gateway_order_id'?: string;
14082
+ 'gateway'?: string;
13683
14083
  /**
13684
14084
  *
13685
14085
  * @type {{ [key: string]: any; }}
@@ -13687,11 +14087,17 @@ export interface DataTypesPayInvoiceResponse {
13687
14087
  */
13688
14088
  'gateway_response'?: { [key: string]: any; };
13689
14089
  /**
13690
- *
14090
+ * Internal order ID
13691
14091
  * @type {string}
13692
14092
  * @memberof DataTypesPayInvoiceResponse
13693
14093
  */
13694
- 'payment_order_id'?: string;
14094
+ 'order_id'?: string;
14095
+ /**
14096
+ * Gateway payment/order ID (razorpay_order_id)
14097
+ * @type {string}
14098
+ * @memberof DataTypesPayInvoiceResponse
14099
+ */
14100
+ 'payment_id'?: string;
13695
14101
  /**
13696
14102
  *
13697
14103
  * @type {string}
@@ -13699,11 +14105,11 @@ export interface DataTypesPayInvoiceResponse {
13699
14105
  */
13700
14106
  'payment_url'?: string;
13701
14107
  /**
13702
- * Razorpay public key for frontend
14108
+ * Gateway public key for frontend
13703
14109
  * @type {string}
13704
14110
  * @memberof DataTypesPayInvoiceResponse
13705
14111
  */
13706
- 'razorpay_key'?: string;
14112
+ 'public_key'?: string;
13707
14113
  /**
13708
14114
  *
13709
14115
  * @type {string}
@@ -16944,6 +17350,276 @@ export interface DataTypesTaskRun {
16944
17350
  */
16945
17351
  'task_run_id'?: number;
16946
17352
  }
17353
+ /**
17354
+ *
17355
+ * @export
17356
+ * @interface DataTypesTaxBillingAddress
17357
+ */
17358
+ export interface DataTypesTaxBillingAddress {
17359
+ /**
17360
+ *
17361
+ * @type {string}
17362
+ * @memberof DataTypesTaxBillingAddress
17363
+ */
17364
+ 'address_line1'?: string;
17365
+ /**
17366
+ *
17367
+ * @type {string}
17368
+ * @memberof DataTypesTaxBillingAddress
17369
+ */
17370
+ 'address_line2'?: string;
17371
+ /**
17372
+ *
17373
+ * @type {string}
17374
+ * @memberof DataTypesTaxBillingAddress
17375
+ */
17376
+ 'city'?: string;
17377
+ /**
17378
+ * ISO country code
17379
+ * @type {string}
17380
+ * @memberof DataTypesTaxBillingAddress
17381
+ */
17382
+ 'country'?: string;
17383
+ /**
17384
+ * Required for GST
17385
+ * @type {string}
17386
+ * @memberof DataTypesTaxBillingAddress
17387
+ */
17388
+ 'postal_code'?: string;
17389
+ /**
17390
+ * Required for GST
17391
+ * @type {string}
17392
+ * @memberof DataTypesTaxBillingAddress
17393
+ */
17394
+ 'state'?: string;
17395
+ }
17396
+ /**
17397
+ *
17398
+ * @export
17399
+ * @interface DataTypesTaxBreakdown
17400
+ */
17401
+ export interface DataTypesTaxBreakdown {
17402
+ /**
17403
+ * Cess
17404
+ * @type {DataTypesTaxComponent}
17405
+ * @memberof DataTypesTaxBreakdown
17406
+ */
17407
+ 'cess'?: DataTypesTaxComponent;
17408
+ /**
17409
+ * GST components (India)
17410
+ * @type {DataTypesTaxComponent}
17411
+ * @memberof DataTypesTaxBreakdown
17412
+ */
17413
+ 'cgst'?: DataTypesTaxComponent;
17414
+ /**
17415
+ * Integrated GST
17416
+ * @type {DataTypesTaxComponent}
17417
+ * @memberof DataTypesTaxBreakdown
17418
+ */
17419
+ 'igst'?: DataTypesTaxComponent;
17420
+ /**
17421
+ * Generic tax components (for other countries)
17422
+ * @type {Array<DataTypesTaxComponent>}
17423
+ * @memberof DataTypesTaxBreakdown
17424
+ */
17425
+ 'other_taxes'?: Array<DataTypesTaxComponent>;
17426
+ /**
17427
+ * State GST
17428
+ * @type {DataTypesTaxComponent}
17429
+ * @memberof DataTypesTaxBreakdown
17430
+ */
17431
+ 'sgst'?: DataTypesTaxComponent;
17432
+ }
17433
+ /**
17434
+ *
17435
+ * @export
17436
+ * @interface DataTypesTaxCalculationItem
17437
+ */
17438
+ export interface DataTypesTaxCalculationItem {
17439
+ /**
17440
+ *
17441
+ * @type {number}
17442
+ * @memberof DataTypesTaxCalculationItem
17443
+ */
17444
+ 'amount': number;
17445
+ /**
17446
+ *
17447
+ * @type {string}
17448
+ * @memberof DataTypesTaxCalculationItem
17449
+ */
17450
+ 'description': string;
17451
+ /**
17452
+ *
17453
+ * @type {string}
17454
+ * @memberof DataTypesTaxCalculationItem
17455
+ */
17456
+ 'exemption_reason'?: string;
17457
+ /**
17458
+ *
17459
+ * @type {string}
17460
+ * @memberof DataTypesTaxCalculationItem
17461
+ */
17462
+ 'hsn_sac_code'?: string;
17463
+ /**
17464
+ *
17465
+ * @type {boolean}
17466
+ * @memberof DataTypesTaxCalculationItem
17467
+ */
17468
+ 'is_tax_exempt'?: boolean;
17469
+ /**
17470
+ *
17471
+ * @type {number}
17472
+ * @memberof DataTypesTaxCalculationItem
17473
+ */
17474
+ 'quantity': number;
17475
+ }
17476
+ /**
17477
+ *
17478
+ * @export
17479
+ * @interface DataTypesTaxCalculationRequest
17480
+ */
17481
+ export interface DataTypesTaxCalculationRequest {
17482
+ /**
17483
+ *
17484
+ * @type {number}
17485
+ * @memberof DataTypesTaxCalculationRequest
17486
+ */
17487
+ 'amount': number;
17488
+ /**
17489
+ *
17490
+ * @type {string}
17491
+ * @memberof DataTypesTaxCalculationRequest
17492
+ */
17493
+ 'currency': string;
17494
+ /**
17495
+ * null for B2C
17496
+ * @type {number}
17497
+ * @memberof DataTypesTaxCalculationRequest
17498
+ */
17499
+ 'customer_org_id'?: number;
17500
+ /**
17501
+ *
17502
+ * @type {Array<DataTypesTaxCalculationItem>}
17503
+ * @memberof DataTypesTaxCalculationRequest
17504
+ */
17505
+ 'items': Array<DataTypesTaxCalculationItem>;
17506
+ /**
17507
+ * Override if different from customer
17508
+ * @type {string}
17509
+ * @memberof DataTypesTaxCalculationRequest
17510
+ */
17511
+ 'place_of_supply'?: string;
17512
+ /**
17513
+ *
17514
+ * @type {number}
17515
+ * @memberof DataTypesTaxCalculationRequest
17516
+ */
17517
+ 'supplier_org_id': number;
17518
+ /**
17519
+ *
17520
+ * @type {string}
17521
+ * @memberof DataTypesTaxCalculationRequest
17522
+ */
17523
+ 'transaction_date'?: string;
17524
+ }
17525
+ /**
17526
+ *
17527
+ * @export
17528
+ * @interface DataTypesTaxCalculationResponse
17529
+ */
17530
+ export interface DataTypesTaxCalculationResponse {
17531
+ /**
17532
+ *
17533
+ * @type {Array<DataTypesItemTaxDetails>}
17534
+ * @memberof DataTypesTaxCalculationResponse
17535
+ */
17536
+ 'item_tax_details'?: Array<DataTypesItemTaxDetails>;
17537
+ /**
17538
+ *
17539
+ * @type {boolean}
17540
+ * @memberof DataTypesTaxCalculationResponse
17541
+ */
17542
+ 'reverse_charge'?: boolean;
17543
+ /**
17544
+ *
17545
+ * @type {number}
17546
+ * @memberof DataTypesTaxCalculationResponse
17547
+ */
17548
+ 'subtotal'?: number;
17549
+ /**
17550
+ * \'intrastate\', \'interstate\', \'export\'
17551
+ * @type {string}
17552
+ * @memberof DataTypesTaxCalculationResponse
17553
+ */
17554
+ 'supply_type'?: string;
17555
+ /**
17556
+ *
17557
+ * @type {DataTypesTaxBreakdown}
17558
+ * @memberof DataTypesTaxCalculationResponse
17559
+ */
17560
+ 'tax_breakdown'?: DataTypesTaxBreakdown;
17561
+ /**
17562
+ * \'GST\', \'VAT\', \'Sales Tax\', etc.
17563
+ * @type {string}
17564
+ * @memberof DataTypesTaxCalculationResponse
17565
+ */
17566
+ 'tax_type'?: string;
17567
+ /**
17568
+ *
17569
+ * @type {number}
17570
+ * @memberof DataTypesTaxCalculationResponse
17571
+ */
17572
+ 'total_amount'?: number;
17573
+ /**
17574
+ *
17575
+ * @type {number}
17576
+ * @memberof DataTypesTaxCalculationResponse
17577
+ */
17578
+ 'total_tax'?: number;
17579
+ /**
17580
+ * \'B2B\', \'B2C\', \'B2G\'
17581
+ * @type {string}
17582
+ * @memberof DataTypesTaxCalculationResponse
17583
+ */
17584
+ 'transaction_type'?: string;
17585
+ /**
17586
+ *
17587
+ * @type {Array<string>}
17588
+ * @memberof DataTypesTaxCalculationResponse
17589
+ */
17590
+ 'warnings'?: Array<string>;
17591
+ }
17592
+ /**
17593
+ *
17594
+ * @export
17595
+ * @interface DataTypesTaxComponent
17596
+ */
17597
+ export interface DataTypesTaxComponent {
17598
+ /**
17599
+ * Calculated amount
17600
+ * @type {number}
17601
+ * @memberof DataTypesTaxComponent
17602
+ */
17603
+ 'tax_amount'?: number;
17604
+ /**
17605
+ * \'CGST\', \'SGST\', \'IGST\', \'VAT\', \'Sales Tax\', etc.
17606
+ * @type {string}
17607
+ * @memberof DataTypesTaxComponent
17608
+ */
17609
+ 'tax_name'?: string;
17610
+ /**
17611
+ * Percentage
17612
+ * @type {number}
17613
+ * @memberof DataTypesTaxComponent
17614
+ */
17615
+ 'tax_rate'?: number;
17616
+ /**
17617
+ * Amount on which tax is calculated
17618
+ * @type {number}
17619
+ * @memberof DataTypesTaxComponent
17620
+ */
17621
+ 'taxable_amount'?: number;
17622
+ }
16947
17623
  /**
16948
17624
  *
16949
17625
  * @export
@@ -17209,6 +17885,91 @@ export interface DataTypesUpdateOrganizationRequest {
17209
17885
  */
17210
17886
  'ZipCode'?: string;
17211
17887
  }
17888
+ /**
17889
+ *
17890
+ * @export
17891
+ * @interface DataTypesUpdateOrganizationTaxDetailsRequest
17892
+ */
17893
+ export interface DataTypesUpdateOrganizationTaxDetailsRequest {
17894
+ /**
17895
+ *
17896
+ * @type {DataTypesTaxBillingAddress}
17897
+ * @memberof DataTypesUpdateOrganizationTaxDetailsRequest
17898
+ */
17899
+ 'billing_address'?: DataTypesTaxBillingAddress;
17900
+ /**
17901
+ *
17902
+ * @type {string}
17903
+ * @memberof DataTypesUpdateOrganizationTaxDetailsRequest
17904
+ */
17905
+ 'business_legal_name'?: string;
17906
+ /**
17907
+ *
17908
+ * @type {string}
17909
+ * @memberof DataTypesUpdateOrganizationTaxDetailsRequest
17910
+ */
17911
+ 'business_type'?: string;
17912
+ /**
17913
+ *
17914
+ * @type {string}
17915
+ * @memberof DataTypesUpdateOrganizationTaxDetailsRequest
17916
+ */
17917
+ 'gstin'?: string;
17918
+ /**
17919
+ *
17920
+ * @type {string}
17921
+ * @memberof DataTypesUpdateOrganizationTaxDetailsRequest
17922
+ */
17923
+ 'hsn_sac_code'?: string;
17924
+ /**
17925
+ *
17926
+ * @type {string}
17927
+ * @memberof DataTypesUpdateOrganizationTaxDetailsRequest
17928
+ */
17929
+ 'pan'?: string;
17930
+ /**
17931
+ *
17932
+ * @type {string}
17933
+ * @memberof DataTypesUpdateOrganizationTaxDetailsRequest
17934
+ */
17935
+ 'place_of_supply'?: string;
17936
+ /**
17937
+ *
17938
+ * @type {string}
17939
+ * @memberof DataTypesUpdateOrganizationTaxDetailsRequest
17940
+ */
17941
+ 'tax_exemption_certificate'?: string;
17942
+ /**
17943
+ *
17944
+ * @type {boolean}
17945
+ * @memberof DataTypesUpdateOrganizationTaxDetailsRequest
17946
+ */
17947
+ 'tax_exemption_status'?: boolean;
17948
+ /**
17949
+ *
17950
+ * @type {string}
17951
+ * @memberof DataTypesUpdateOrganizationTaxDetailsRequest
17952
+ */
17953
+ 'tax_exemption_valid_until'?: string;
17954
+ /**
17955
+ *
17956
+ * @type {string}
17957
+ * @memberof DataTypesUpdateOrganizationTaxDetailsRequest
17958
+ */
17959
+ 'tax_registration_country'?: string;
17960
+ /**
17961
+ *
17962
+ * @type {string}
17963
+ * @memberof DataTypesUpdateOrganizationTaxDetailsRequest
17964
+ */
17965
+ 'tax_registration_number'?: string;
17966
+ /**
17967
+ *
17968
+ * @type {{ [key: string]: any; }}
17969
+ * @memberof DataTypesUpdateOrganizationTaxDetailsRequest
17970
+ */
17971
+ 'tax_settings'?: { [key: string]: any; };
17972
+ }
17212
17973
  /**
17213
17974
  *
17214
17975
  * @export
@@ -18420,6 +19181,106 @@ export interface FeatureLimitServiceLimitStatus {
18420
19181
  */
18421
19182
  'plan_name'?: string;
18422
19183
  }
19184
+ /**
19185
+ *
19186
+ * @export
19187
+ * @interface FeatureLimitsCheckGet200Response
19188
+ */
19189
+ export interface FeatureLimitsCheckGet200Response {
19190
+ /**
19191
+ *
19192
+ * @type {DataTypesFeatureCheckResult}
19193
+ * @memberof FeatureLimitsCheckGet200Response
19194
+ */
19195
+ 'data'?: DataTypesFeatureCheckResult;
19196
+ /**
19197
+ *
19198
+ * @type {string}
19199
+ * @memberof FeatureLimitsCheckGet200Response
19200
+ */
19201
+ 'message'?: string;
19202
+ /**
19203
+ *
19204
+ * @type {number}
19205
+ * @memberof FeatureLimitsCheckGet200Response
19206
+ */
19207
+ 'status'?: number;
19208
+ }
19209
+ /**
19210
+ *
19211
+ * @export
19212
+ * @interface FeatureLimitsHistoryGet200Response
19213
+ */
19214
+ export interface FeatureLimitsHistoryGet200Response {
19215
+ /**
19216
+ *
19217
+ * @type {Array<DataTypesFeatureUsageHistory>}
19218
+ * @memberof FeatureLimitsHistoryGet200Response
19219
+ */
19220
+ 'data'?: Array<DataTypesFeatureUsageHistory>;
19221
+ /**
19222
+ *
19223
+ * @type {string}
19224
+ * @memberof FeatureLimitsHistoryGet200Response
19225
+ */
19226
+ 'message'?: string;
19227
+ /**
19228
+ *
19229
+ * @type {number}
19230
+ * @memberof FeatureLimitsHistoryGet200Response
19231
+ */
19232
+ 'status'?: number;
19233
+ }
19234
+ /**
19235
+ *
19236
+ * @export
19237
+ * @interface FeatureLimitsPlanGet200Response
19238
+ */
19239
+ export interface FeatureLimitsPlanGet200Response {
19240
+ /**
19241
+ *
19242
+ * @type {DataTypesPlanFeatures}
19243
+ * @memberof FeatureLimitsPlanGet200Response
19244
+ */
19245
+ 'data'?: DataTypesPlanFeatures;
19246
+ /**
19247
+ *
19248
+ * @type {string}
19249
+ * @memberof FeatureLimitsPlanGet200Response
19250
+ */
19251
+ 'message'?: string;
19252
+ /**
19253
+ *
19254
+ * @type {number}
19255
+ * @memberof FeatureLimitsPlanGet200Response
19256
+ */
19257
+ 'status'?: number;
19258
+ }
19259
+ /**
19260
+ *
19261
+ * @export
19262
+ * @interface FeatureLimitsUsageGet200Response
19263
+ */
19264
+ export interface FeatureLimitsUsageGet200Response {
19265
+ /**
19266
+ *
19267
+ * @type {Array<DataTypesFeatureUsageStats>}
19268
+ * @memberof FeatureLimitsUsageGet200Response
19269
+ */
19270
+ 'data'?: Array<DataTypesFeatureUsageStats>;
19271
+ /**
19272
+ *
19273
+ * @type {string}
19274
+ * @memberof FeatureLimitsUsageGet200Response
19275
+ */
19276
+ 'message'?: string;
19277
+ /**
19278
+ *
19279
+ * @type {number}
19280
+ * @memberof FeatureLimitsUsageGet200Response
19281
+ */
19282
+ 'status'?: number;
19283
+ }
18423
19284
  /**
18424
19285
  *
18425
19286
  * @export
@@ -27658,7 +28519,7 @@ export const BillingDashboardApiAxiosParamCreator = function (configuration?: Co
27658
28519
  };
27659
28520
  },
27660
28521
  /**
27661
- * Downloads an invoice as a PDF file
28522
+ * Returns an invoice as a base64-encoded PDF blob for frontend download. PDFs are cached in S3 for performance.
27662
28523
  * @summary Download invoice
27663
28524
  * @param {string} id Invoice ID
27664
28525
  * @param {*} [options] Override http request option.
@@ -28470,13 +29331,13 @@ export const BillingDashboardApiFp = function(configuration?: Configuration) {
28470
29331
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
28471
29332
  },
28472
29333
  /**
28473
- * Downloads an invoice as a PDF file
29334
+ * Returns an invoice as a base64-encoded PDF blob for frontend download. PDFs are cached in S3 for performance.
28474
29335
  * @summary Download invoice
28475
29336
  * @param {string} id Invoice ID
28476
29337
  * @param {*} [options] Override http request option.
28477
29338
  * @throws {RequiredError}
28478
29339
  */
28479
- async adminBillingInvoicesIdDownloadGet(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
29340
+ async adminBillingInvoicesIdDownloadGet(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
28480
29341
  const localVarAxiosArgs = await localVarAxiosParamCreator.adminBillingInvoicesIdDownloadGet(id, options);
28481
29342
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
28482
29343
  const localVarOperationServerBasePath = operationServerMap['BillingDashboardApi.adminBillingInvoicesIdDownloadGet']?.[localVarOperationServerIndex]?.url;
@@ -28832,13 +29693,13 @@ export const BillingDashboardApiFactory = function (configuration?: Configuratio
28832
29693
  return localVarFp.adminBillingInvoicesIdDelete(id, options).then((request) => request(axios, basePath));
28833
29694
  },
28834
29695
  /**
28835
- * Downloads an invoice as a PDF file
29696
+ * Returns an invoice as a base64-encoded PDF blob for frontend download. PDFs are cached in S3 for performance.
28836
29697
  * @summary Download invoice
28837
29698
  * @param {string} id Invoice ID
28838
29699
  * @param {*} [options] Override http request option.
28839
29700
  * @throws {RequiredError}
28840
29701
  */
28841
- adminBillingInvoicesIdDownloadGet(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
29702
+ adminBillingInvoicesIdDownloadGet(id: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
28842
29703
  return localVarFp.adminBillingInvoicesIdDownloadGet(id, options).then((request) => request(axios, basePath));
28843
29704
  },
28844
29705
  /**
@@ -29183,7 +30044,7 @@ export class BillingDashboardApi extends BaseAPI {
29183
30044
  }
29184
30045
 
29185
30046
  /**
29186
- * Downloads an invoice as a PDF file
30047
+ * Returns an invoice as a base64-encoded PDF blob for frontend download. PDFs are cached in S3 for performance.
29187
30048
  * @summary Download invoice
29188
30049
  * @param {string} id Invoice ID
29189
30050
  * @param {*} [options] Override http request option.
@@ -31709,8 +32570,8 @@ export const FeatureLimitsApiAxiosParamCreator = function (configuration?: Confi
31709
32570
  * @param {*} [options] Override http request option.
31710
32571
  * @throws {RequiredError}
31711
32572
  */
31712
- apiAdminFeatureLimitsViolationsGet: async (featureName?: string, limit?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
31713
- const localVarPath = `/api/admin/feature-limits/violations`;
32573
+ adminFeatureLimitsViolationsGet: async (featureName?: string, limit?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
32574
+ const localVarPath = `/admin/feature-limits/violations`;
31714
32575
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
31715
32576
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
31716
32577
  let baseOptions;
@@ -31752,10 +32613,10 @@ export const FeatureLimitsApiAxiosParamCreator = function (configuration?: Confi
31752
32613
  * @param {*} [options] Override http request option.
31753
32614
  * @throws {RequiredError}
31754
32615
  */
31755
- apiFeatureLimitsCheckGet: async (featureName: string, amount?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
32616
+ featureLimitsCheckGet: async (featureName: string, amount?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
31756
32617
  // verify required parameter 'featureName' is not null or undefined
31757
- assertParamExists('apiFeatureLimitsCheckGet', 'featureName', featureName)
31758
- const localVarPath = `/api/feature-limits/check`;
32618
+ assertParamExists('featureLimitsCheckGet', 'featureName', featureName)
32619
+ const localVarPath = `/feature-limits/check`;
31759
32620
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
31760
32621
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
31761
32622
  let baseOptions;
@@ -31797,8 +32658,8 @@ export const FeatureLimitsApiAxiosParamCreator = function (configuration?: Confi
31797
32658
  * @param {*} [options] Override http request option.
31798
32659
  * @throws {RequiredError}
31799
32660
  */
31800
- apiFeatureLimitsHistoryGet: async (featureName?: string, limit?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
31801
- const localVarPath = `/api/feature-limits/history`;
32661
+ featureLimitsHistoryGet: async (featureName?: string, limit?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
32662
+ const localVarPath = `/feature-limits/history`;
31802
32663
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
31803
32664
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
31804
32665
  let baseOptions;
@@ -31838,8 +32699,8 @@ export const FeatureLimitsApiAxiosParamCreator = function (configuration?: Confi
31838
32699
  * @param {*} [options] Override http request option.
31839
32700
  * @throws {RequiredError}
31840
32701
  */
31841
- apiFeatureLimitsPlanGet: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
31842
- const localVarPath = `/api/feature-limits/plan`;
32702
+ featureLimitsPlanGet: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
32703
+ const localVarPath = `/feature-limits/plan`;
31843
32704
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
31844
32705
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
31845
32706
  let baseOptions;
@@ -31871,8 +32732,8 @@ export const FeatureLimitsApiAxiosParamCreator = function (configuration?: Confi
31871
32732
  * @param {*} [options] Override http request option.
31872
32733
  * @throws {RequiredError}
31873
32734
  */
31874
- apiFeatureLimitsPlanInfoGet: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
31875
- const localVarPath = `/api/feature-limits/plan/info`;
32735
+ featureLimitsPlanInfoGet: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
32736
+ const localVarPath = `/feature-limits/plan/info`;
31876
32737
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
31877
32738
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
31878
32739
  let baseOptions;
@@ -31904,8 +32765,8 @@ export const FeatureLimitsApiAxiosParamCreator = function (configuration?: Confi
31904
32765
  * @param {*} [options] Override http request option.
31905
32766
  * @throws {RequiredError}
31906
32767
  */
31907
- apiFeatureLimitsStatusGet: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
31908
- const localVarPath = `/api/feature-limits/status`;
32768
+ featureLimitsStatusGet: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
32769
+ const localVarPath = `/feature-limits/status`;
31909
32770
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
31910
32771
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
31911
32772
  let baseOptions;
@@ -31937,8 +32798,8 @@ export const FeatureLimitsApiAxiosParamCreator = function (configuration?: Confi
31937
32798
  * @param {*} [options] Override http request option.
31938
32799
  * @throws {RequiredError}
31939
32800
  */
31940
- apiFeatureLimitsUsageGet: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
31941
- const localVarPath = `/api/feature-limits/usage`;
32801
+ featureLimitsUsageGet: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
32802
+ const localVarPath = `/feature-limits/usage`;
31942
32803
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
31943
32804
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
31944
32805
  let baseOptions;
@@ -31982,10 +32843,10 @@ export const FeatureLimitsApiFp = function(configuration?: Configuration) {
31982
32843
  * @param {*} [options] Override http request option.
31983
32844
  * @throws {RequiredError}
31984
32845
  */
31985
- async apiAdminFeatureLimitsViolationsGet(featureName?: string, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApiAdminFeatureLimitsViolationsGet200Response>> {
31986
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiAdminFeatureLimitsViolationsGet(featureName, limit, options);
32846
+ async adminFeatureLimitsViolationsGet(featureName?: string, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminFeatureLimitsViolationsGet200Response>> {
32847
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminFeatureLimitsViolationsGet(featureName, limit, options);
31987
32848
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
31988
- const localVarOperationServerBasePath = operationServerMap['FeatureLimitsApi.apiAdminFeatureLimitsViolationsGet']?.[localVarOperationServerIndex]?.url;
32849
+ const localVarOperationServerBasePath = operationServerMap['FeatureLimitsApi.adminFeatureLimitsViolationsGet']?.[localVarOperationServerIndex]?.url;
31989
32850
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
31990
32851
  },
31991
32852
  /**
@@ -31996,10 +32857,10 @@ export const FeatureLimitsApiFp = function(configuration?: Configuration) {
31996
32857
  * @param {*} [options] Override http request option.
31997
32858
  * @throws {RequiredError}
31998
32859
  */
31999
- async apiFeatureLimitsCheckGet(featureName: string, amount?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApiFeatureLimitsCheckGet200Response>> {
32000
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiFeatureLimitsCheckGet(featureName, amount, options);
32860
+ async featureLimitsCheckGet(featureName: string, amount?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FeatureLimitsCheckGet200Response>> {
32861
+ const localVarAxiosArgs = await localVarAxiosParamCreator.featureLimitsCheckGet(featureName, amount, options);
32001
32862
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
32002
- const localVarOperationServerBasePath = operationServerMap['FeatureLimitsApi.apiFeatureLimitsCheckGet']?.[localVarOperationServerIndex]?.url;
32863
+ const localVarOperationServerBasePath = operationServerMap['FeatureLimitsApi.featureLimitsCheckGet']?.[localVarOperationServerIndex]?.url;
32003
32864
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
32004
32865
  },
32005
32866
  /**
@@ -32010,10 +32871,10 @@ export const FeatureLimitsApiFp = function(configuration?: Configuration) {
32010
32871
  * @param {*} [options] Override http request option.
32011
32872
  * @throws {RequiredError}
32012
32873
  */
32013
- async apiFeatureLimitsHistoryGet(featureName?: string, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApiFeatureLimitsHistoryGet200Response>> {
32014
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiFeatureLimitsHistoryGet(featureName, limit, options);
32874
+ async featureLimitsHistoryGet(featureName?: string, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FeatureLimitsHistoryGet200Response>> {
32875
+ const localVarAxiosArgs = await localVarAxiosParamCreator.featureLimitsHistoryGet(featureName, limit, options);
32015
32876
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
32016
- const localVarOperationServerBasePath = operationServerMap['FeatureLimitsApi.apiFeatureLimitsHistoryGet']?.[localVarOperationServerIndex]?.url;
32877
+ const localVarOperationServerBasePath = operationServerMap['FeatureLimitsApi.featureLimitsHistoryGet']?.[localVarOperationServerIndex]?.url;
32017
32878
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
32018
32879
  },
32019
32880
  /**
@@ -32022,10 +32883,10 @@ export const FeatureLimitsApiFp = function(configuration?: Configuration) {
32022
32883
  * @param {*} [options] Override http request option.
32023
32884
  * @throws {RequiredError}
32024
32885
  */
32025
- async apiFeatureLimitsPlanGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApiFeatureLimitsPlanGet200Response>> {
32026
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiFeatureLimitsPlanGet(options);
32886
+ async featureLimitsPlanGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FeatureLimitsPlanGet200Response>> {
32887
+ const localVarAxiosArgs = await localVarAxiosParamCreator.featureLimitsPlanGet(options);
32027
32888
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
32028
- const localVarOperationServerBasePath = operationServerMap['FeatureLimitsApi.apiFeatureLimitsPlanGet']?.[localVarOperationServerIndex]?.url;
32889
+ const localVarOperationServerBasePath = operationServerMap['FeatureLimitsApi.featureLimitsPlanGet']?.[localVarOperationServerIndex]?.url;
32029
32890
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
32030
32891
  },
32031
32892
  /**
@@ -32034,10 +32895,10 @@ export const FeatureLimitsApiFp = function(configuration?: Configuration) {
32034
32895
  * @param {*} [options] Override http request option.
32035
32896
  * @throws {RequiredError}
32036
32897
  */
32037
- async apiFeatureLimitsPlanInfoGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{ [key: string]: any; }>> {
32038
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiFeatureLimitsPlanInfoGet(options);
32898
+ async featureLimitsPlanInfoGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{ [key: string]: any; }>> {
32899
+ const localVarAxiosArgs = await localVarAxiosParamCreator.featureLimitsPlanInfoGet(options);
32039
32900
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
32040
- const localVarOperationServerBasePath = operationServerMap['FeatureLimitsApi.apiFeatureLimitsPlanInfoGet']?.[localVarOperationServerIndex]?.url;
32901
+ const localVarOperationServerBasePath = operationServerMap['FeatureLimitsApi.featureLimitsPlanInfoGet']?.[localVarOperationServerIndex]?.url;
32041
32902
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
32042
32903
  },
32043
32904
  /**
@@ -32046,10 +32907,10 @@ export const FeatureLimitsApiFp = function(configuration?: Configuration) {
32046
32907
  * @param {*} [options] Override http request option.
32047
32908
  * @throws {RequiredError}
32048
32909
  */
32049
- async apiFeatureLimitsStatusGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseFeatureLimitServiceLimitStatus>> {
32050
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiFeatureLimitsStatusGet(options);
32910
+ async featureLimitsStatusGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseFeatureLimitServiceLimitStatus>> {
32911
+ const localVarAxiosArgs = await localVarAxiosParamCreator.featureLimitsStatusGet(options);
32051
32912
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
32052
- const localVarOperationServerBasePath = operationServerMap['FeatureLimitsApi.apiFeatureLimitsStatusGet']?.[localVarOperationServerIndex]?.url;
32913
+ const localVarOperationServerBasePath = operationServerMap['FeatureLimitsApi.featureLimitsStatusGet']?.[localVarOperationServerIndex]?.url;
32053
32914
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
32054
32915
  },
32055
32916
  /**
@@ -32058,10 +32919,10 @@ export const FeatureLimitsApiFp = function(configuration?: Configuration) {
32058
32919
  * @param {*} [options] Override http request option.
32059
32920
  * @throws {RequiredError}
32060
32921
  */
32061
- async apiFeatureLimitsUsageGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApiFeatureLimitsUsageGet200Response>> {
32062
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiFeatureLimitsUsageGet(options);
32922
+ async featureLimitsUsageGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FeatureLimitsUsageGet200Response>> {
32923
+ const localVarAxiosArgs = await localVarAxiosParamCreator.featureLimitsUsageGet(options);
32063
32924
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
32064
- const localVarOperationServerBasePath = operationServerMap['FeatureLimitsApi.apiFeatureLimitsUsageGet']?.[localVarOperationServerIndex]?.url;
32925
+ const localVarOperationServerBasePath = operationServerMap['FeatureLimitsApi.featureLimitsUsageGet']?.[localVarOperationServerIndex]?.url;
32065
32926
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
32066
32927
  },
32067
32928
  }
@@ -32082,8 +32943,8 @@ export const FeatureLimitsApiFactory = function (configuration?: Configuration,
32082
32943
  * @param {*} [options] Override http request option.
32083
32944
  * @throws {RequiredError}
32084
32945
  */
32085
- apiAdminFeatureLimitsViolationsGet(featureName?: string, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<ApiAdminFeatureLimitsViolationsGet200Response> {
32086
- return localVarFp.apiAdminFeatureLimitsViolationsGet(featureName, limit, options).then((request) => request(axios, basePath));
32946
+ adminFeatureLimitsViolationsGet(featureName?: string, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<AdminFeatureLimitsViolationsGet200Response> {
32947
+ return localVarFp.adminFeatureLimitsViolationsGet(featureName, limit, options).then((request) => request(axios, basePath));
32087
32948
  },
32088
32949
  /**
32089
32950
  * Checks if a specific feature is within limits without incrementing usage
@@ -32093,8 +32954,8 @@ export const FeatureLimitsApiFactory = function (configuration?: Configuration,
32093
32954
  * @param {*} [options] Override http request option.
32094
32955
  * @throws {RequiredError}
32095
32956
  */
32096
- apiFeatureLimitsCheckGet(featureName: string, amount?: number, options?: RawAxiosRequestConfig): AxiosPromise<ApiFeatureLimitsCheckGet200Response> {
32097
- return localVarFp.apiFeatureLimitsCheckGet(featureName, amount, options).then((request) => request(axios, basePath));
32957
+ featureLimitsCheckGet(featureName: string, amount?: number, options?: RawAxiosRequestConfig): AxiosPromise<FeatureLimitsCheckGet200Response> {
32958
+ return localVarFp.featureLimitsCheckGet(featureName, amount, options).then((request) => request(axios, basePath));
32098
32959
  },
32099
32960
  /**
32100
32961
  * Retrieves historical feature usage events for the organization
@@ -32104,8 +32965,8 @@ export const FeatureLimitsApiFactory = function (configuration?: Configuration,
32104
32965
  * @param {*} [options] Override http request option.
32105
32966
  * @throws {RequiredError}
32106
32967
  */
32107
- apiFeatureLimitsHistoryGet(featureName?: string, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<ApiFeatureLimitsHistoryGet200Response> {
32108
- return localVarFp.apiFeatureLimitsHistoryGet(featureName, limit, options).then((request) => request(axios, basePath));
32968
+ featureLimitsHistoryGet(featureName?: string, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<FeatureLimitsHistoryGet200Response> {
32969
+ return localVarFp.featureLimitsHistoryGet(featureName, limit, options).then((request) => request(axios, basePath));
32109
32970
  },
32110
32971
  /**
32111
32972
  * Retrieves the organization\'s current plan with all feature limits
@@ -32113,8 +32974,8 @@ export const FeatureLimitsApiFactory = function (configuration?: Configuration,
32113
32974
  * @param {*} [options] Override http request option.
32114
32975
  * @throws {RequiredError}
32115
32976
  */
32116
- apiFeatureLimitsPlanGet(options?: RawAxiosRequestConfig): AxiosPromise<ApiFeatureLimitsPlanGet200Response> {
32117
- return localVarFp.apiFeatureLimitsPlanGet(options).then((request) => request(axios, basePath));
32977
+ featureLimitsPlanGet(options?: RawAxiosRequestConfig): AxiosPromise<FeatureLimitsPlanGet200Response> {
32978
+ return localVarFp.featureLimitsPlanGet(options).then((request) => request(axios, basePath));
32118
32979
  },
32119
32980
  /**
32120
32981
  * Returns plan details and feature availability map for UI rendering
@@ -32122,8 +32983,8 @@ export const FeatureLimitsApiFactory = function (configuration?: Configuration,
32122
32983
  * @param {*} [options] Override http request option.
32123
32984
  * @throws {RequiredError}
32124
32985
  */
32125
- apiFeatureLimitsPlanInfoGet(options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: any; }> {
32126
- return localVarFp.apiFeatureLimitsPlanInfoGet(options).then((request) => request(axios, basePath));
32986
+ featureLimitsPlanInfoGet(options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: any; }> {
32987
+ return localVarFp.featureLimitsPlanInfoGet(options).then((request) => request(axios, basePath));
32127
32988
  },
32128
32989
  /**
32129
32990
  * Retrieves comprehensive real-time limit status for the organization including all features, credits, and API calls
@@ -32131,8 +32992,8 @@ export const FeatureLimitsApiFactory = function (configuration?: Configuration,
32131
32992
  * @param {*} [options] Override http request option.
32132
32993
  * @throws {RequiredError}
32133
32994
  */
32134
- apiFeatureLimitsStatusGet(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseFeatureLimitServiceLimitStatus> {
32135
- return localVarFp.apiFeatureLimitsStatusGet(options).then((request) => request(axios, basePath));
32995
+ featureLimitsStatusGet(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseFeatureLimitServiceLimitStatus> {
32996
+ return localVarFp.featureLimitsStatusGet(options).then((request) => request(axios, basePath));
32136
32997
  },
32137
32998
  /**
32138
32999
  * Retrieves current feature usage statistics for the organization
@@ -32140,8 +33001,8 @@ export const FeatureLimitsApiFactory = function (configuration?: Configuration,
32140
33001
  * @param {*} [options] Override http request option.
32141
33002
  * @throws {RequiredError}
32142
33003
  */
32143
- apiFeatureLimitsUsageGet(options?: RawAxiosRequestConfig): AxiosPromise<ApiFeatureLimitsUsageGet200Response> {
32144
- return localVarFp.apiFeatureLimitsUsageGet(options).then((request) => request(axios, basePath));
33004
+ featureLimitsUsageGet(options?: RawAxiosRequestConfig): AxiosPromise<FeatureLimitsUsageGet200Response> {
33005
+ return localVarFp.featureLimitsUsageGet(options).then((request) => request(axios, basePath));
32145
33006
  },
32146
33007
  };
32147
33008
  };
@@ -32162,8 +33023,8 @@ export class FeatureLimitsApi extends BaseAPI {
32162
33023
  * @throws {RequiredError}
32163
33024
  * @memberof FeatureLimitsApi
32164
33025
  */
32165
- public apiAdminFeatureLimitsViolationsGet(featureName?: string, limit?: number, options?: RawAxiosRequestConfig) {
32166
- return FeatureLimitsApiFp(this.configuration).apiAdminFeatureLimitsViolationsGet(featureName, limit, options).then((request) => request(this.axios, this.basePath));
33026
+ public adminFeatureLimitsViolationsGet(featureName?: string, limit?: number, options?: RawAxiosRequestConfig) {
33027
+ return FeatureLimitsApiFp(this.configuration).adminFeatureLimitsViolationsGet(featureName, limit, options).then((request) => request(this.axios, this.basePath));
32167
33028
  }
32168
33029
 
32169
33030
  /**
@@ -32175,8 +33036,8 @@ export class FeatureLimitsApi extends BaseAPI {
32175
33036
  * @throws {RequiredError}
32176
33037
  * @memberof FeatureLimitsApi
32177
33038
  */
32178
- public apiFeatureLimitsCheckGet(featureName: string, amount?: number, options?: RawAxiosRequestConfig) {
32179
- return FeatureLimitsApiFp(this.configuration).apiFeatureLimitsCheckGet(featureName, amount, options).then((request) => request(this.axios, this.basePath));
33039
+ public featureLimitsCheckGet(featureName: string, amount?: number, options?: RawAxiosRequestConfig) {
33040
+ return FeatureLimitsApiFp(this.configuration).featureLimitsCheckGet(featureName, amount, options).then((request) => request(this.axios, this.basePath));
32180
33041
  }
32181
33042
 
32182
33043
  /**
@@ -32188,8 +33049,8 @@ export class FeatureLimitsApi extends BaseAPI {
32188
33049
  * @throws {RequiredError}
32189
33050
  * @memberof FeatureLimitsApi
32190
33051
  */
32191
- public apiFeatureLimitsHistoryGet(featureName?: string, limit?: number, options?: RawAxiosRequestConfig) {
32192
- return FeatureLimitsApiFp(this.configuration).apiFeatureLimitsHistoryGet(featureName, limit, options).then((request) => request(this.axios, this.basePath));
33052
+ public featureLimitsHistoryGet(featureName?: string, limit?: number, options?: RawAxiosRequestConfig) {
33053
+ return FeatureLimitsApiFp(this.configuration).featureLimitsHistoryGet(featureName, limit, options).then((request) => request(this.axios, this.basePath));
32193
33054
  }
32194
33055
 
32195
33056
  /**
@@ -32199,8 +33060,8 @@ export class FeatureLimitsApi extends BaseAPI {
32199
33060
  * @throws {RequiredError}
32200
33061
  * @memberof FeatureLimitsApi
32201
33062
  */
32202
- public apiFeatureLimitsPlanGet(options?: RawAxiosRequestConfig) {
32203
- return FeatureLimitsApiFp(this.configuration).apiFeatureLimitsPlanGet(options).then((request) => request(this.axios, this.basePath));
33063
+ public featureLimitsPlanGet(options?: RawAxiosRequestConfig) {
33064
+ return FeatureLimitsApiFp(this.configuration).featureLimitsPlanGet(options).then((request) => request(this.axios, this.basePath));
32204
33065
  }
32205
33066
 
32206
33067
  /**
@@ -32210,8 +33071,8 @@ export class FeatureLimitsApi extends BaseAPI {
32210
33071
  * @throws {RequiredError}
32211
33072
  * @memberof FeatureLimitsApi
32212
33073
  */
32213
- public apiFeatureLimitsPlanInfoGet(options?: RawAxiosRequestConfig) {
32214
- return FeatureLimitsApiFp(this.configuration).apiFeatureLimitsPlanInfoGet(options).then((request) => request(this.axios, this.basePath));
33074
+ public featureLimitsPlanInfoGet(options?: RawAxiosRequestConfig) {
33075
+ return FeatureLimitsApiFp(this.configuration).featureLimitsPlanInfoGet(options).then((request) => request(this.axios, this.basePath));
32215
33076
  }
32216
33077
 
32217
33078
  /**
@@ -32221,8 +33082,8 @@ export class FeatureLimitsApi extends BaseAPI {
32221
33082
  * @throws {RequiredError}
32222
33083
  * @memberof FeatureLimitsApi
32223
33084
  */
32224
- public apiFeatureLimitsStatusGet(options?: RawAxiosRequestConfig) {
32225
- return FeatureLimitsApiFp(this.configuration).apiFeatureLimitsStatusGet(options).then((request) => request(this.axios, this.basePath));
33085
+ public featureLimitsStatusGet(options?: RawAxiosRequestConfig) {
33086
+ return FeatureLimitsApiFp(this.configuration).featureLimitsStatusGet(options).then((request) => request(this.axios, this.basePath));
32226
33087
  }
32227
33088
 
32228
33089
  /**
@@ -32232,8 +33093,8 @@ export class FeatureLimitsApi extends BaseAPI {
32232
33093
  * @throws {RequiredError}
32233
33094
  * @memberof FeatureLimitsApi
32234
33095
  */
32235
- public apiFeatureLimitsUsageGet(options?: RawAxiosRequestConfig) {
32236
- return FeatureLimitsApiFp(this.configuration).apiFeatureLimitsUsageGet(options).then((request) => request(this.axios, this.basePath));
33096
+ public featureLimitsUsageGet(options?: RawAxiosRequestConfig) {
33097
+ return FeatureLimitsApiFp(this.configuration).featureLimitsUsageGet(options).then((request) => request(this.axios, this.basePath));
32237
33098
  }
32238
33099
  }
32239
33100
 
@@ -32251,8 +33112,8 @@ export const FeatureLimitsAdminApiAxiosParamCreator = function (configuration?:
32251
33112
  * @param {*} [options] Override http request option.
32252
33113
  * @throws {RequiredError}
32253
33114
  */
32254
- apiAdminFeatureLimitsCacheInvalidatePost: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
32255
- const localVarPath = `/api/admin/feature-limits/cache/invalidate`;
33115
+ adminFeatureLimitsCacheInvalidatePost: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
33116
+ const localVarPath = `/admin/feature-limits/cache/invalidate`;
32256
33117
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
32257
33118
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
32258
33119
  let baseOptions;
@@ -32285,10 +33146,10 @@ export const FeatureLimitsAdminApiAxiosParamCreator = function (configuration?:
32285
33146
  * @param {*} [options] Override http request option.
32286
33147
  * @throws {RequiredError}
32287
33148
  */
32288
- apiAdminFeatureLimitsResetPost: async (featureName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
33149
+ adminFeatureLimitsResetPost: async (featureName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
32289
33150
  // verify required parameter 'featureName' is not null or undefined
32290
- assertParamExists('apiAdminFeatureLimitsResetPost', 'featureName', featureName)
32291
- const localVarPath = `/api/admin/feature-limits/reset`;
33151
+ assertParamExists('adminFeatureLimitsResetPost', 'featureName', featureName)
33152
+ const localVarPath = `/admin/feature-limits/reset`;
32292
33153
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
32293
33154
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
32294
33155
  let baseOptions;
@@ -32334,10 +33195,10 @@ export const FeatureLimitsAdminApiFp = function(configuration?: Configuration) {
32334
33195
  * @param {*} [options] Override http request option.
32335
33196
  * @throws {RequiredError}
32336
33197
  */
32337
- async apiAdminFeatureLimitsCacheInvalidatePost(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
32338
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiAdminFeatureLimitsCacheInvalidatePost(options);
33198
+ async adminFeatureLimitsCacheInvalidatePost(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
33199
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminFeatureLimitsCacheInvalidatePost(options);
32339
33200
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
32340
- const localVarOperationServerBasePath = operationServerMap['FeatureLimitsAdminApi.apiAdminFeatureLimitsCacheInvalidatePost']?.[localVarOperationServerIndex]?.url;
33201
+ const localVarOperationServerBasePath = operationServerMap['FeatureLimitsAdminApi.adminFeatureLimitsCacheInvalidatePost']?.[localVarOperationServerIndex]?.url;
32341
33202
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
32342
33203
  },
32343
33204
  /**
@@ -32347,10 +33208,10 @@ export const FeatureLimitsAdminApiFp = function(configuration?: Configuration) {
32347
33208
  * @param {*} [options] Override http request option.
32348
33209
  * @throws {RequiredError}
32349
33210
  */
32350
- async apiAdminFeatureLimitsResetPost(featureName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
32351
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiAdminFeatureLimitsResetPost(featureName, options);
33211
+ async adminFeatureLimitsResetPost(featureName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
33212
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminFeatureLimitsResetPost(featureName, options);
32352
33213
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
32353
- const localVarOperationServerBasePath = operationServerMap['FeatureLimitsAdminApi.apiAdminFeatureLimitsResetPost']?.[localVarOperationServerIndex]?.url;
33214
+ const localVarOperationServerBasePath = operationServerMap['FeatureLimitsAdminApi.adminFeatureLimitsResetPost']?.[localVarOperationServerIndex]?.url;
32354
33215
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
32355
33216
  },
32356
33217
  }
@@ -32369,8 +33230,8 @@ export const FeatureLimitsAdminApiFactory = function (configuration?: Configurat
32369
33230
  * @param {*} [options] Override http request option.
32370
33231
  * @throws {RequiredError}
32371
33232
  */
32372
- apiAdminFeatureLimitsCacheInvalidatePost(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
32373
- return localVarFp.apiAdminFeatureLimitsCacheInvalidatePost(options).then((request) => request(axios, basePath));
33233
+ adminFeatureLimitsCacheInvalidatePost(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
33234
+ return localVarFp.adminFeatureLimitsCacheInvalidatePost(options).then((request) => request(axios, basePath));
32374
33235
  },
32375
33236
  /**
32376
33237
  * Resets usage counter for a specific feature (admin only)
@@ -32379,8 +33240,8 @@ export const FeatureLimitsAdminApiFactory = function (configuration?: Configurat
32379
33240
  * @param {*} [options] Override http request option.
32380
33241
  * @throws {RequiredError}
32381
33242
  */
32382
- apiAdminFeatureLimitsResetPost(featureName: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
32383
- return localVarFp.apiAdminFeatureLimitsResetPost(featureName, options).then((request) => request(axios, basePath));
33243
+ adminFeatureLimitsResetPost(featureName: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
33244
+ return localVarFp.adminFeatureLimitsResetPost(featureName, options).then((request) => request(axios, basePath));
32384
33245
  },
32385
33246
  };
32386
33247
  };
@@ -32399,8 +33260,8 @@ export class FeatureLimitsAdminApi extends BaseAPI {
32399
33260
  * @throws {RequiredError}
32400
33261
  * @memberof FeatureLimitsAdminApi
32401
33262
  */
32402
- public apiAdminFeatureLimitsCacheInvalidatePost(options?: RawAxiosRequestConfig) {
32403
- return FeatureLimitsAdminApiFp(this.configuration).apiAdminFeatureLimitsCacheInvalidatePost(options).then((request) => request(this.axios, this.basePath));
33263
+ public adminFeatureLimitsCacheInvalidatePost(options?: RawAxiosRequestConfig) {
33264
+ return FeatureLimitsAdminApiFp(this.configuration).adminFeatureLimitsCacheInvalidatePost(options).then((request) => request(this.axios, this.basePath));
32404
33265
  }
32405
33266
 
32406
33267
  /**
@@ -32411,8 +33272,8 @@ export class FeatureLimitsAdminApi extends BaseAPI {
32411
33272
  * @throws {RequiredError}
32412
33273
  * @memberof FeatureLimitsAdminApi
32413
33274
  */
32414
- public apiAdminFeatureLimitsResetPost(featureName: string, options?: RawAxiosRequestConfig) {
32415
- return FeatureLimitsAdminApiFp(this.configuration).apiAdminFeatureLimitsResetPost(featureName, options).then((request) => request(this.axios, this.basePath));
33275
+ public adminFeatureLimitsResetPost(featureName: string, options?: RawAxiosRequestConfig) {
33276
+ return FeatureLimitsAdminApiFp(this.configuration).adminFeatureLimitsResetPost(featureName, options).then((request) => request(this.axios, this.basePath));
32416
33277
  }
32417
33278
  }
32418
33279
 
@@ -50794,6 +51655,332 @@ export class SubscriptionsApi extends BaseAPI {
50794
51655
 
50795
51656
 
50796
51657
 
51658
+ /**
51659
+ * TaxManagementApi - axios parameter creator
51660
+ * @export
51661
+ */
51662
+ export const TaxManagementApiAxiosParamCreator = function (configuration?: Configuration) {
51663
+ return {
51664
+ /**
51665
+ * Calculates GST/VAT for a transaction in a payment gateway agnostic way
51666
+ * @summary Calculate tax for a transaction
51667
+ * @param {DataTypesTaxCalculationRequest} dataTypesTaxCalculationRequest Tax calculation request
51668
+ * @param {*} [options] Override http request option.
51669
+ * @throws {RequiredError}
51670
+ */
51671
+ adminTaxCalculatePost: async (dataTypesTaxCalculationRequest: DataTypesTaxCalculationRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
51672
+ // verify required parameter 'dataTypesTaxCalculationRequest' is not null or undefined
51673
+ assertParamExists('adminTaxCalculatePost', 'dataTypesTaxCalculationRequest', dataTypesTaxCalculationRequest)
51674
+ const localVarPath = `/admin/tax/calculate`;
51675
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
51676
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
51677
+ let baseOptions;
51678
+ if (configuration) {
51679
+ baseOptions = configuration.baseOptions;
51680
+ }
51681
+
51682
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
51683
+ const localVarHeaderParameter = {} as any;
51684
+ const localVarQueryParameter = {} as any;
51685
+
51686
+ // authentication BearerAuth required
51687
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
51688
+
51689
+
51690
+
51691
+ localVarHeaderParameter['Content-Type'] = 'application/json';
51692
+
51693
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
51694
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
51695
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
51696
+ localVarRequestOptions.data = serializeDataIfNeeded(dataTypesTaxCalculationRequest, localVarRequestOptions, configuration)
51697
+
51698
+ return {
51699
+ url: toPathString(localVarUrlObj),
51700
+ options: localVarRequestOptions,
51701
+ };
51702
+ },
51703
+ /**
51704
+ * Retrieves GST and taxation details for an organization
51705
+ * @summary Get organization tax details
51706
+ * @param {*} [options] Override http request option.
51707
+ * @throws {RequiredError}
51708
+ */
51709
+ adminTaxOrganizationGet: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
51710
+ const localVarPath = `/admin/tax/organization`;
51711
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
51712
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
51713
+ let baseOptions;
51714
+ if (configuration) {
51715
+ baseOptions = configuration.baseOptions;
51716
+ }
51717
+
51718
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
51719
+ const localVarHeaderParameter = {} as any;
51720
+ const localVarQueryParameter = {} as any;
51721
+
51722
+ // authentication BearerAuth required
51723
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
51724
+
51725
+
51726
+
51727
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
51728
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
51729
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
51730
+
51731
+ return {
51732
+ url: toPathString(localVarUrlObj),
51733
+ options: localVarRequestOptions,
51734
+ };
51735
+ },
51736
+ /**
51737
+ * Updates GST and taxation details for an organization
51738
+ * @summary Update organization tax details
51739
+ * @param {DataTypesUpdateOrganizationTaxDetailsRequest} dataTypesUpdateOrganizationTaxDetailsRequest Tax details to update
51740
+ * @param {*} [options] Override http request option.
51741
+ * @throws {RequiredError}
51742
+ */
51743
+ adminTaxOrganizationPut: async (dataTypesUpdateOrganizationTaxDetailsRequest: DataTypesUpdateOrganizationTaxDetailsRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
51744
+ // verify required parameter 'dataTypesUpdateOrganizationTaxDetailsRequest' is not null or undefined
51745
+ assertParamExists('adminTaxOrganizationPut', 'dataTypesUpdateOrganizationTaxDetailsRequest', dataTypesUpdateOrganizationTaxDetailsRequest)
51746
+ const localVarPath = `/admin/tax/organization`;
51747
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
51748
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
51749
+ let baseOptions;
51750
+ if (configuration) {
51751
+ baseOptions = configuration.baseOptions;
51752
+ }
51753
+
51754
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
51755
+ const localVarHeaderParameter = {} as any;
51756
+ const localVarQueryParameter = {} as any;
51757
+
51758
+ // authentication BearerAuth required
51759
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
51760
+
51761
+
51762
+
51763
+ localVarHeaderParameter['Content-Type'] = 'application/json';
51764
+
51765
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
51766
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
51767
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
51768
+ localVarRequestOptions.data = serializeDataIfNeeded(dataTypesUpdateOrganizationTaxDetailsRequest, localVarRequestOptions, configuration)
51769
+
51770
+ return {
51771
+ url: toPathString(localVarUrlObj),
51772
+ options: localVarRequestOptions,
51773
+ };
51774
+ },
51775
+ /**
51776
+ * Validates GSTIN format and optionally verifies with GST portal
51777
+ * @summary Validate GSTIN
51778
+ * @param {DataTypesGSTVerificationRequest} dataTypesGSTVerificationRequest GSTIN to validate
51779
+ * @param {*} [options] Override http request option.
51780
+ * @throws {RequiredError}
51781
+ */
51782
+ adminTaxValidateGstinPost: async (dataTypesGSTVerificationRequest: DataTypesGSTVerificationRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
51783
+ // verify required parameter 'dataTypesGSTVerificationRequest' is not null or undefined
51784
+ assertParamExists('adminTaxValidateGstinPost', 'dataTypesGSTVerificationRequest', dataTypesGSTVerificationRequest)
51785
+ const localVarPath = `/admin/tax/validate-gstin`;
51786
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
51787
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
51788
+ let baseOptions;
51789
+ if (configuration) {
51790
+ baseOptions = configuration.baseOptions;
51791
+ }
51792
+
51793
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
51794
+ const localVarHeaderParameter = {} as any;
51795
+ const localVarQueryParameter = {} as any;
51796
+
51797
+ // authentication BearerAuth required
51798
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
51799
+
51800
+
51801
+
51802
+ localVarHeaderParameter['Content-Type'] = 'application/json';
51803
+
51804
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
51805
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
51806
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
51807
+ localVarRequestOptions.data = serializeDataIfNeeded(dataTypesGSTVerificationRequest, localVarRequestOptions, configuration)
51808
+
51809
+ return {
51810
+ url: toPathString(localVarUrlObj),
51811
+ options: localVarRequestOptions,
51812
+ };
51813
+ },
51814
+ }
51815
+ };
51816
+
51817
+ /**
51818
+ * TaxManagementApi - functional programming interface
51819
+ * @export
51820
+ */
51821
+ export const TaxManagementApiFp = function(configuration?: Configuration) {
51822
+ const localVarAxiosParamCreator = TaxManagementApiAxiosParamCreator(configuration)
51823
+ return {
51824
+ /**
51825
+ * Calculates GST/VAT for a transaction in a payment gateway agnostic way
51826
+ * @summary Calculate tax for a transaction
51827
+ * @param {DataTypesTaxCalculationRequest} dataTypesTaxCalculationRequest Tax calculation request
51828
+ * @param {*} [options] Override http request option.
51829
+ * @throws {RequiredError}
51830
+ */
51831
+ async adminTaxCalculatePost(dataTypesTaxCalculationRequest: DataTypesTaxCalculationRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesTaxCalculationResponse>> {
51832
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminTaxCalculatePost(dataTypesTaxCalculationRequest, options);
51833
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
51834
+ const localVarOperationServerBasePath = operationServerMap['TaxManagementApi.adminTaxCalculatePost']?.[localVarOperationServerIndex]?.url;
51835
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
51836
+ },
51837
+ /**
51838
+ * Retrieves GST and taxation details for an organization
51839
+ * @summary Get organization tax details
51840
+ * @param {*} [options] Override http request option.
51841
+ * @throws {RequiredError}
51842
+ */
51843
+ async adminTaxOrganizationGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesOrganizationTaxDetails>> {
51844
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminTaxOrganizationGet(options);
51845
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
51846
+ const localVarOperationServerBasePath = operationServerMap['TaxManagementApi.adminTaxOrganizationGet']?.[localVarOperationServerIndex]?.url;
51847
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
51848
+ },
51849
+ /**
51850
+ * Updates GST and taxation details for an organization
51851
+ * @summary Update organization tax details
51852
+ * @param {DataTypesUpdateOrganizationTaxDetailsRequest} dataTypesUpdateOrganizationTaxDetailsRequest Tax details to update
51853
+ * @param {*} [options] Override http request option.
51854
+ * @throws {RequiredError}
51855
+ */
51856
+ async adminTaxOrganizationPut(dataTypesUpdateOrganizationTaxDetailsRequest: DataTypesUpdateOrganizationTaxDetailsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
51857
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminTaxOrganizationPut(dataTypesUpdateOrganizationTaxDetailsRequest, options);
51858
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
51859
+ const localVarOperationServerBasePath = operationServerMap['TaxManagementApi.adminTaxOrganizationPut']?.[localVarOperationServerIndex]?.url;
51860
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
51861
+ },
51862
+ /**
51863
+ * Validates GSTIN format and optionally verifies with GST portal
51864
+ * @summary Validate GSTIN
51865
+ * @param {DataTypesGSTVerificationRequest} dataTypesGSTVerificationRequest GSTIN to validate
51866
+ * @param {*} [options] Override http request option.
51867
+ * @throws {RequiredError}
51868
+ */
51869
+ async adminTaxValidateGstinPost(dataTypesGSTVerificationRequest: DataTypesGSTVerificationRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesGSTVerificationResponse>> {
51870
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminTaxValidateGstinPost(dataTypesGSTVerificationRequest, options);
51871
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
51872
+ const localVarOperationServerBasePath = operationServerMap['TaxManagementApi.adminTaxValidateGstinPost']?.[localVarOperationServerIndex]?.url;
51873
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
51874
+ },
51875
+ }
51876
+ };
51877
+
51878
+ /**
51879
+ * TaxManagementApi - factory interface
51880
+ * @export
51881
+ */
51882
+ export const TaxManagementApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
51883
+ const localVarFp = TaxManagementApiFp(configuration)
51884
+ return {
51885
+ /**
51886
+ * Calculates GST/VAT for a transaction in a payment gateway agnostic way
51887
+ * @summary Calculate tax for a transaction
51888
+ * @param {DataTypesTaxCalculationRequest} dataTypesTaxCalculationRequest Tax calculation request
51889
+ * @param {*} [options] Override http request option.
51890
+ * @throws {RequiredError}
51891
+ */
51892
+ adminTaxCalculatePost(dataTypesTaxCalculationRequest: DataTypesTaxCalculationRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesTaxCalculationResponse> {
51893
+ return localVarFp.adminTaxCalculatePost(dataTypesTaxCalculationRequest, options).then((request) => request(axios, basePath));
51894
+ },
51895
+ /**
51896
+ * Retrieves GST and taxation details for an organization
51897
+ * @summary Get organization tax details
51898
+ * @param {*} [options] Override http request option.
51899
+ * @throws {RequiredError}
51900
+ */
51901
+ adminTaxOrganizationGet(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesOrganizationTaxDetails> {
51902
+ return localVarFp.adminTaxOrganizationGet(options).then((request) => request(axios, basePath));
51903
+ },
51904
+ /**
51905
+ * Updates GST and taxation details for an organization
51906
+ * @summary Update organization tax details
51907
+ * @param {DataTypesUpdateOrganizationTaxDetailsRequest} dataTypesUpdateOrganizationTaxDetailsRequest Tax details to update
51908
+ * @param {*} [options] Override http request option.
51909
+ * @throws {RequiredError}
51910
+ */
51911
+ adminTaxOrganizationPut(dataTypesUpdateOrganizationTaxDetailsRequest: DataTypesUpdateOrganizationTaxDetailsRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
51912
+ return localVarFp.adminTaxOrganizationPut(dataTypesUpdateOrganizationTaxDetailsRequest, options).then((request) => request(axios, basePath));
51913
+ },
51914
+ /**
51915
+ * Validates GSTIN format and optionally verifies with GST portal
51916
+ * @summary Validate GSTIN
51917
+ * @param {DataTypesGSTVerificationRequest} dataTypesGSTVerificationRequest GSTIN to validate
51918
+ * @param {*} [options] Override http request option.
51919
+ * @throws {RequiredError}
51920
+ */
51921
+ adminTaxValidateGstinPost(dataTypesGSTVerificationRequest: DataTypesGSTVerificationRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesGSTVerificationResponse> {
51922
+ return localVarFp.adminTaxValidateGstinPost(dataTypesGSTVerificationRequest, options).then((request) => request(axios, basePath));
51923
+ },
51924
+ };
51925
+ };
51926
+
51927
+ /**
51928
+ * TaxManagementApi - object-oriented interface
51929
+ * @export
51930
+ * @class TaxManagementApi
51931
+ * @extends {BaseAPI}
51932
+ */
51933
+ export class TaxManagementApi extends BaseAPI {
51934
+ /**
51935
+ * Calculates GST/VAT for a transaction in a payment gateway agnostic way
51936
+ * @summary Calculate tax for a transaction
51937
+ * @param {DataTypesTaxCalculationRequest} dataTypesTaxCalculationRequest Tax calculation request
51938
+ * @param {*} [options] Override http request option.
51939
+ * @throws {RequiredError}
51940
+ * @memberof TaxManagementApi
51941
+ */
51942
+ public adminTaxCalculatePost(dataTypesTaxCalculationRequest: DataTypesTaxCalculationRequest, options?: RawAxiosRequestConfig) {
51943
+ return TaxManagementApiFp(this.configuration).adminTaxCalculatePost(dataTypesTaxCalculationRequest, options).then((request) => request(this.axios, this.basePath));
51944
+ }
51945
+
51946
+ /**
51947
+ * Retrieves GST and taxation details for an organization
51948
+ * @summary Get organization tax details
51949
+ * @param {*} [options] Override http request option.
51950
+ * @throws {RequiredError}
51951
+ * @memberof TaxManagementApi
51952
+ */
51953
+ public adminTaxOrganizationGet(options?: RawAxiosRequestConfig) {
51954
+ return TaxManagementApiFp(this.configuration).adminTaxOrganizationGet(options).then((request) => request(this.axios, this.basePath));
51955
+ }
51956
+
51957
+ /**
51958
+ * Updates GST and taxation details for an organization
51959
+ * @summary Update organization tax details
51960
+ * @param {DataTypesUpdateOrganizationTaxDetailsRequest} dataTypesUpdateOrganizationTaxDetailsRequest Tax details to update
51961
+ * @param {*} [options] Override http request option.
51962
+ * @throws {RequiredError}
51963
+ * @memberof TaxManagementApi
51964
+ */
51965
+ public adminTaxOrganizationPut(dataTypesUpdateOrganizationTaxDetailsRequest: DataTypesUpdateOrganizationTaxDetailsRequest, options?: RawAxiosRequestConfig) {
51966
+ return TaxManagementApiFp(this.configuration).adminTaxOrganizationPut(dataTypesUpdateOrganizationTaxDetailsRequest, options).then((request) => request(this.axios, this.basePath));
51967
+ }
51968
+
51969
+ /**
51970
+ * Validates GSTIN format and optionally verifies with GST portal
51971
+ * @summary Validate GSTIN
51972
+ * @param {DataTypesGSTVerificationRequest} dataTypesGSTVerificationRequest GSTIN to validate
51973
+ * @param {*} [options] Override http request option.
51974
+ * @throws {RequiredError}
51975
+ * @memberof TaxManagementApi
51976
+ */
51977
+ public adminTaxValidateGstinPost(dataTypesGSTVerificationRequest: DataTypesGSTVerificationRequest, options?: RawAxiosRequestConfig) {
51978
+ return TaxManagementApiFp(this.configuration).adminTaxValidateGstinPost(dataTypesGSTVerificationRequest, options).then((request) => request(this.axios, this.basePath));
51979
+ }
51980
+ }
51981
+
51982
+
51983
+
50797
51984
  /**
50798
51985
  * UserApi - axios parameter creator
50799
51986
  * @export