@seekora-ai/admin-api 1.1.1 → 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/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
@@ -16944,6 +17332,276 @@ export interface DataTypesTaskRun {
16944
17332
  */
16945
17333
  'task_run_id'?: number;
16946
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
+ }
16947
17605
  /**
16948
17606
  *
16949
17607
  * @export
@@ -17209,6 +17867,91 @@ export interface DataTypesUpdateOrganizationRequest {
17209
17867
  */
17210
17868
  'ZipCode'?: string;
17211
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
+ }
17212
17955
  /**
17213
17956
  *
17214
17957
  * @export
@@ -18420,6 +19163,106 @@ export interface FeatureLimitServiceLimitStatus {
18420
19163
  */
18421
19164
  'plan_name'?: string;
18422
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
+ }
18423
19266
  /**
18424
19267
  *
18425
19268
  * @export
@@ -27658,7 +28501,7 @@ export const BillingDashboardApiAxiosParamCreator = function (configuration?: Co
27658
28501
  };
27659
28502
  },
27660
28503
  /**
27661
- * Downloads an invoice as a PDF file
28504
+ * Returns an invoice as a base64-encoded PDF blob for frontend download. PDFs are cached in S3 for performance.
27662
28505
  * @summary Download invoice
27663
28506
  * @param {string} id Invoice ID
27664
28507
  * @param {*} [options] Override http request option.
@@ -28470,13 +29313,13 @@ export const BillingDashboardApiFp = function(configuration?: Configuration) {
28470
29313
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
28471
29314
  },
28472
29315
  /**
28473
- * Downloads an invoice as a PDF file
29316
+ * Returns an invoice as a base64-encoded PDF blob for frontend download. PDFs are cached in S3 for performance.
28474
29317
  * @summary Download invoice
28475
29318
  * @param {string} id Invoice ID
28476
29319
  * @param {*} [options] Override http request option.
28477
29320
  * @throws {RequiredError}
28478
29321
  */
28479
- async adminBillingInvoicesIdDownloadGet(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
29322
+ async adminBillingInvoicesIdDownloadGet(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
28480
29323
  const localVarAxiosArgs = await localVarAxiosParamCreator.adminBillingInvoicesIdDownloadGet(id, options);
28481
29324
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
28482
29325
  const localVarOperationServerBasePath = operationServerMap['BillingDashboardApi.adminBillingInvoicesIdDownloadGet']?.[localVarOperationServerIndex]?.url;
@@ -28832,13 +29675,13 @@ export const BillingDashboardApiFactory = function (configuration?: Configuratio
28832
29675
  return localVarFp.adminBillingInvoicesIdDelete(id, options).then((request) => request(axios, basePath));
28833
29676
  },
28834
29677
  /**
28835
- * Downloads an invoice as a PDF file
29678
+ * Returns an invoice as a base64-encoded PDF blob for frontend download. PDFs are cached in S3 for performance.
28836
29679
  * @summary Download invoice
28837
29680
  * @param {string} id Invoice ID
28838
29681
  * @param {*} [options] Override http request option.
28839
29682
  * @throws {RequiredError}
28840
29683
  */
28841
- adminBillingInvoicesIdDownloadGet(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
29684
+ adminBillingInvoicesIdDownloadGet(id: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
28842
29685
  return localVarFp.adminBillingInvoicesIdDownloadGet(id, options).then((request) => request(axios, basePath));
28843
29686
  },
28844
29687
  /**
@@ -29183,7 +30026,7 @@ export class BillingDashboardApi extends BaseAPI {
29183
30026
  }
29184
30027
 
29185
30028
  /**
29186
- * Downloads an invoice as a PDF file
30029
+ * Returns an invoice as a base64-encoded PDF blob for frontend download. PDFs are cached in S3 for performance.
29187
30030
  * @summary Download invoice
29188
30031
  * @param {string} id Invoice ID
29189
30032
  * @param {*} [options] Override http request option.
@@ -31709,8 +32552,8 @@ export const FeatureLimitsApiAxiosParamCreator = function (configuration?: Confi
31709
32552
  * @param {*} [options] Override http request option.
31710
32553
  * @throws {RequiredError}
31711
32554
  */
31712
- apiAdminFeatureLimitsViolationsGet: async (featureName?: string, limit?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
31713
- const localVarPath = `/api/admin/feature-limits/violations`;
32555
+ adminFeatureLimitsViolationsGet: async (featureName?: string, limit?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
32556
+ const localVarPath = `/admin/feature-limits/violations`;
31714
32557
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
31715
32558
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
31716
32559
  let baseOptions;
@@ -31752,10 +32595,10 @@ export const FeatureLimitsApiAxiosParamCreator = function (configuration?: Confi
31752
32595
  * @param {*} [options] Override http request option.
31753
32596
  * @throws {RequiredError}
31754
32597
  */
31755
- apiFeatureLimitsCheckGet: async (featureName: string, amount?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
32598
+ featureLimitsCheckGet: async (featureName: string, amount?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
31756
32599
  // verify required parameter 'featureName' is not null or undefined
31757
- assertParamExists('apiFeatureLimitsCheckGet', 'featureName', featureName)
31758
- const localVarPath = `/api/feature-limits/check`;
32600
+ assertParamExists('featureLimitsCheckGet', 'featureName', featureName)
32601
+ const localVarPath = `/feature-limits/check`;
31759
32602
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
31760
32603
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
31761
32604
  let baseOptions;
@@ -31797,8 +32640,8 @@ export const FeatureLimitsApiAxiosParamCreator = function (configuration?: Confi
31797
32640
  * @param {*} [options] Override http request option.
31798
32641
  * @throws {RequiredError}
31799
32642
  */
31800
- apiFeatureLimitsHistoryGet: async (featureName?: string, limit?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
31801
- const localVarPath = `/api/feature-limits/history`;
32643
+ featureLimitsHistoryGet: async (featureName?: string, limit?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
32644
+ const localVarPath = `/feature-limits/history`;
31802
32645
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
31803
32646
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
31804
32647
  let baseOptions;
@@ -31838,8 +32681,8 @@ export const FeatureLimitsApiAxiosParamCreator = function (configuration?: Confi
31838
32681
  * @param {*} [options] Override http request option.
31839
32682
  * @throws {RequiredError}
31840
32683
  */
31841
- apiFeatureLimitsPlanGet: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
31842
- const localVarPath = `/api/feature-limits/plan`;
32684
+ featureLimitsPlanGet: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
32685
+ const localVarPath = `/feature-limits/plan`;
31843
32686
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
31844
32687
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
31845
32688
  let baseOptions;
@@ -31871,8 +32714,8 @@ export const FeatureLimitsApiAxiosParamCreator = function (configuration?: Confi
31871
32714
  * @param {*} [options] Override http request option.
31872
32715
  * @throws {RequiredError}
31873
32716
  */
31874
- apiFeatureLimitsPlanInfoGet: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
31875
- const localVarPath = `/api/feature-limits/plan/info`;
32717
+ featureLimitsPlanInfoGet: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
32718
+ const localVarPath = `/feature-limits/plan/info`;
31876
32719
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
31877
32720
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
31878
32721
  let baseOptions;
@@ -31904,8 +32747,8 @@ export const FeatureLimitsApiAxiosParamCreator = function (configuration?: Confi
31904
32747
  * @param {*} [options] Override http request option.
31905
32748
  * @throws {RequiredError}
31906
32749
  */
31907
- apiFeatureLimitsStatusGet: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
31908
- const localVarPath = `/api/feature-limits/status`;
32750
+ featureLimitsStatusGet: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
32751
+ const localVarPath = `/feature-limits/status`;
31909
32752
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
31910
32753
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
31911
32754
  let baseOptions;
@@ -31937,8 +32780,8 @@ export const FeatureLimitsApiAxiosParamCreator = function (configuration?: Confi
31937
32780
  * @param {*} [options] Override http request option.
31938
32781
  * @throws {RequiredError}
31939
32782
  */
31940
- apiFeatureLimitsUsageGet: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
31941
- const localVarPath = `/api/feature-limits/usage`;
32783
+ featureLimitsUsageGet: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
32784
+ const localVarPath = `/feature-limits/usage`;
31942
32785
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
31943
32786
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
31944
32787
  let baseOptions;
@@ -31982,10 +32825,10 @@ export const FeatureLimitsApiFp = function(configuration?: Configuration) {
31982
32825
  * @param {*} [options] Override http request option.
31983
32826
  * @throws {RequiredError}
31984
32827
  */
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);
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);
31987
32830
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
31988
- const localVarOperationServerBasePath = operationServerMap['FeatureLimitsApi.apiAdminFeatureLimitsViolationsGet']?.[localVarOperationServerIndex]?.url;
32831
+ const localVarOperationServerBasePath = operationServerMap['FeatureLimitsApi.adminFeatureLimitsViolationsGet']?.[localVarOperationServerIndex]?.url;
31989
32832
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
31990
32833
  },
31991
32834
  /**
@@ -31996,10 +32839,10 @@ export const FeatureLimitsApiFp = function(configuration?: Configuration) {
31996
32839
  * @param {*} [options] Override http request option.
31997
32840
  * @throws {RequiredError}
31998
32841
  */
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);
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);
32001
32844
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
32002
- const localVarOperationServerBasePath = operationServerMap['FeatureLimitsApi.apiFeatureLimitsCheckGet']?.[localVarOperationServerIndex]?.url;
32845
+ const localVarOperationServerBasePath = operationServerMap['FeatureLimitsApi.featureLimitsCheckGet']?.[localVarOperationServerIndex]?.url;
32003
32846
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
32004
32847
  },
32005
32848
  /**
@@ -32010,10 +32853,10 @@ export const FeatureLimitsApiFp = function(configuration?: Configuration) {
32010
32853
  * @param {*} [options] Override http request option.
32011
32854
  * @throws {RequiredError}
32012
32855
  */
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);
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);
32015
32858
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
32016
- const localVarOperationServerBasePath = operationServerMap['FeatureLimitsApi.apiFeatureLimitsHistoryGet']?.[localVarOperationServerIndex]?.url;
32859
+ const localVarOperationServerBasePath = operationServerMap['FeatureLimitsApi.featureLimitsHistoryGet']?.[localVarOperationServerIndex]?.url;
32017
32860
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
32018
32861
  },
32019
32862
  /**
@@ -32022,10 +32865,10 @@ export const FeatureLimitsApiFp = function(configuration?: Configuration) {
32022
32865
  * @param {*} [options] Override http request option.
32023
32866
  * @throws {RequiredError}
32024
32867
  */
32025
- async apiFeatureLimitsPlanGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApiFeatureLimitsPlanGet200Response>> {
32026
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiFeatureLimitsPlanGet(options);
32868
+ async featureLimitsPlanGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FeatureLimitsPlanGet200Response>> {
32869
+ const localVarAxiosArgs = await localVarAxiosParamCreator.featureLimitsPlanGet(options);
32027
32870
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
32028
- const localVarOperationServerBasePath = operationServerMap['FeatureLimitsApi.apiFeatureLimitsPlanGet']?.[localVarOperationServerIndex]?.url;
32871
+ const localVarOperationServerBasePath = operationServerMap['FeatureLimitsApi.featureLimitsPlanGet']?.[localVarOperationServerIndex]?.url;
32029
32872
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
32030
32873
  },
32031
32874
  /**
@@ -32034,10 +32877,10 @@ export const FeatureLimitsApiFp = function(configuration?: Configuration) {
32034
32877
  * @param {*} [options] Override http request option.
32035
32878
  * @throws {RequiredError}
32036
32879
  */
32037
- async apiFeatureLimitsPlanInfoGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{ [key: string]: any; }>> {
32038
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiFeatureLimitsPlanInfoGet(options);
32880
+ async featureLimitsPlanInfoGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{ [key: string]: any; }>> {
32881
+ const localVarAxiosArgs = await localVarAxiosParamCreator.featureLimitsPlanInfoGet(options);
32039
32882
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
32040
- const localVarOperationServerBasePath = operationServerMap['FeatureLimitsApi.apiFeatureLimitsPlanInfoGet']?.[localVarOperationServerIndex]?.url;
32883
+ const localVarOperationServerBasePath = operationServerMap['FeatureLimitsApi.featureLimitsPlanInfoGet']?.[localVarOperationServerIndex]?.url;
32041
32884
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
32042
32885
  },
32043
32886
  /**
@@ -32046,10 +32889,10 @@ export const FeatureLimitsApiFp = function(configuration?: Configuration) {
32046
32889
  * @param {*} [options] Override http request option.
32047
32890
  * @throws {RequiredError}
32048
32891
  */
32049
- async apiFeatureLimitsStatusGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseFeatureLimitServiceLimitStatus>> {
32050
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiFeatureLimitsStatusGet(options);
32892
+ async featureLimitsStatusGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseFeatureLimitServiceLimitStatus>> {
32893
+ const localVarAxiosArgs = await localVarAxiosParamCreator.featureLimitsStatusGet(options);
32051
32894
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
32052
- const localVarOperationServerBasePath = operationServerMap['FeatureLimitsApi.apiFeatureLimitsStatusGet']?.[localVarOperationServerIndex]?.url;
32895
+ const localVarOperationServerBasePath = operationServerMap['FeatureLimitsApi.featureLimitsStatusGet']?.[localVarOperationServerIndex]?.url;
32053
32896
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
32054
32897
  },
32055
32898
  /**
@@ -32058,10 +32901,10 @@ export const FeatureLimitsApiFp = function(configuration?: Configuration) {
32058
32901
  * @param {*} [options] Override http request option.
32059
32902
  * @throws {RequiredError}
32060
32903
  */
32061
- async apiFeatureLimitsUsageGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApiFeatureLimitsUsageGet200Response>> {
32062
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiFeatureLimitsUsageGet(options);
32904
+ async featureLimitsUsageGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FeatureLimitsUsageGet200Response>> {
32905
+ const localVarAxiosArgs = await localVarAxiosParamCreator.featureLimitsUsageGet(options);
32063
32906
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
32064
- const localVarOperationServerBasePath = operationServerMap['FeatureLimitsApi.apiFeatureLimitsUsageGet']?.[localVarOperationServerIndex]?.url;
32907
+ const localVarOperationServerBasePath = operationServerMap['FeatureLimitsApi.featureLimitsUsageGet']?.[localVarOperationServerIndex]?.url;
32065
32908
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
32066
32909
  },
32067
32910
  }
@@ -32082,8 +32925,8 @@ export const FeatureLimitsApiFactory = function (configuration?: Configuration,
32082
32925
  * @param {*} [options] Override http request option.
32083
32926
  * @throws {RequiredError}
32084
32927
  */
32085
- apiAdminFeatureLimitsViolationsGet(featureName?: string, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<ApiAdminFeatureLimitsViolationsGet200Response> {
32086
- return localVarFp.apiAdminFeatureLimitsViolationsGet(featureName, limit, options).then((request) => request(axios, basePath));
32928
+ adminFeatureLimitsViolationsGet(featureName?: string, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<AdminFeatureLimitsViolationsGet200Response> {
32929
+ return localVarFp.adminFeatureLimitsViolationsGet(featureName, limit, options).then((request) => request(axios, basePath));
32087
32930
  },
32088
32931
  /**
32089
32932
  * Checks if a specific feature is within limits without incrementing usage
@@ -32093,8 +32936,8 @@ export const FeatureLimitsApiFactory = function (configuration?: Configuration,
32093
32936
  * @param {*} [options] Override http request option.
32094
32937
  * @throws {RequiredError}
32095
32938
  */
32096
- apiFeatureLimitsCheckGet(featureName: string, amount?: number, options?: RawAxiosRequestConfig): AxiosPromise<ApiFeatureLimitsCheckGet200Response> {
32097
- return localVarFp.apiFeatureLimitsCheckGet(featureName, amount, options).then((request) => request(axios, basePath));
32939
+ featureLimitsCheckGet(featureName: string, amount?: number, options?: RawAxiosRequestConfig): AxiosPromise<FeatureLimitsCheckGet200Response> {
32940
+ return localVarFp.featureLimitsCheckGet(featureName, amount, options).then((request) => request(axios, basePath));
32098
32941
  },
32099
32942
  /**
32100
32943
  * Retrieves historical feature usage events for the organization
@@ -32104,8 +32947,8 @@ export const FeatureLimitsApiFactory = function (configuration?: Configuration,
32104
32947
  * @param {*} [options] Override http request option.
32105
32948
  * @throws {RequiredError}
32106
32949
  */
32107
- apiFeatureLimitsHistoryGet(featureName?: string, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<ApiFeatureLimitsHistoryGet200Response> {
32108
- return localVarFp.apiFeatureLimitsHistoryGet(featureName, limit, options).then((request) => request(axios, basePath));
32950
+ featureLimitsHistoryGet(featureName?: string, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<FeatureLimitsHistoryGet200Response> {
32951
+ return localVarFp.featureLimitsHistoryGet(featureName, limit, options).then((request) => request(axios, basePath));
32109
32952
  },
32110
32953
  /**
32111
32954
  * Retrieves the organization\'s current plan with all feature limits
@@ -32113,8 +32956,8 @@ export const FeatureLimitsApiFactory = function (configuration?: Configuration,
32113
32956
  * @param {*} [options] Override http request option.
32114
32957
  * @throws {RequiredError}
32115
32958
  */
32116
- apiFeatureLimitsPlanGet(options?: RawAxiosRequestConfig): AxiosPromise<ApiFeatureLimitsPlanGet200Response> {
32117
- return localVarFp.apiFeatureLimitsPlanGet(options).then((request) => request(axios, basePath));
32959
+ featureLimitsPlanGet(options?: RawAxiosRequestConfig): AxiosPromise<FeatureLimitsPlanGet200Response> {
32960
+ return localVarFp.featureLimitsPlanGet(options).then((request) => request(axios, basePath));
32118
32961
  },
32119
32962
  /**
32120
32963
  * Returns plan details and feature availability map for UI rendering
@@ -32122,8 +32965,8 @@ export const FeatureLimitsApiFactory = function (configuration?: Configuration,
32122
32965
  * @param {*} [options] Override http request option.
32123
32966
  * @throws {RequiredError}
32124
32967
  */
32125
- apiFeatureLimitsPlanInfoGet(options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: any; }> {
32126
- return localVarFp.apiFeatureLimitsPlanInfoGet(options).then((request) => request(axios, basePath));
32968
+ featureLimitsPlanInfoGet(options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: any; }> {
32969
+ return localVarFp.featureLimitsPlanInfoGet(options).then((request) => request(axios, basePath));
32127
32970
  },
32128
32971
  /**
32129
32972
  * Retrieves comprehensive real-time limit status for the organization including all features, credits, and API calls
@@ -32131,8 +32974,8 @@ export const FeatureLimitsApiFactory = function (configuration?: Configuration,
32131
32974
  * @param {*} [options] Override http request option.
32132
32975
  * @throws {RequiredError}
32133
32976
  */
32134
- apiFeatureLimitsStatusGet(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseFeatureLimitServiceLimitStatus> {
32135
- return localVarFp.apiFeatureLimitsStatusGet(options).then((request) => request(axios, basePath));
32977
+ featureLimitsStatusGet(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseFeatureLimitServiceLimitStatus> {
32978
+ return localVarFp.featureLimitsStatusGet(options).then((request) => request(axios, basePath));
32136
32979
  },
32137
32980
  /**
32138
32981
  * Retrieves current feature usage statistics for the organization
@@ -32140,8 +32983,8 @@ export const FeatureLimitsApiFactory = function (configuration?: Configuration,
32140
32983
  * @param {*} [options] Override http request option.
32141
32984
  * @throws {RequiredError}
32142
32985
  */
32143
- apiFeatureLimitsUsageGet(options?: RawAxiosRequestConfig): AxiosPromise<ApiFeatureLimitsUsageGet200Response> {
32144
- return localVarFp.apiFeatureLimitsUsageGet(options).then((request) => request(axios, basePath));
32986
+ featureLimitsUsageGet(options?: RawAxiosRequestConfig): AxiosPromise<FeatureLimitsUsageGet200Response> {
32987
+ return localVarFp.featureLimitsUsageGet(options).then((request) => request(axios, basePath));
32145
32988
  },
32146
32989
  };
32147
32990
  };
@@ -32162,8 +33005,8 @@ export class FeatureLimitsApi extends BaseAPI {
32162
33005
  * @throws {RequiredError}
32163
33006
  * @memberof FeatureLimitsApi
32164
33007
  */
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));
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));
32167
33010
  }
32168
33011
 
32169
33012
  /**
@@ -32175,8 +33018,8 @@ export class FeatureLimitsApi extends BaseAPI {
32175
33018
  * @throws {RequiredError}
32176
33019
  * @memberof FeatureLimitsApi
32177
33020
  */
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));
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));
32180
33023
  }
32181
33024
 
32182
33025
  /**
@@ -32188,8 +33031,8 @@ export class FeatureLimitsApi extends BaseAPI {
32188
33031
  * @throws {RequiredError}
32189
33032
  * @memberof FeatureLimitsApi
32190
33033
  */
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));
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));
32193
33036
  }
32194
33037
 
32195
33038
  /**
@@ -32199,8 +33042,8 @@ export class FeatureLimitsApi extends BaseAPI {
32199
33042
  * @throws {RequiredError}
32200
33043
  * @memberof FeatureLimitsApi
32201
33044
  */
32202
- public apiFeatureLimitsPlanGet(options?: RawAxiosRequestConfig) {
32203
- return FeatureLimitsApiFp(this.configuration).apiFeatureLimitsPlanGet(options).then((request) => request(this.axios, this.basePath));
33045
+ public featureLimitsPlanGet(options?: RawAxiosRequestConfig) {
33046
+ return FeatureLimitsApiFp(this.configuration).featureLimitsPlanGet(options).then((request) => request(this.axios, this.basePath));
32204
33047
  }
32205
33048
 
32206
33049
  /**
@@ -32210,8 +33053,8 @@ export class FeatureLimitsApi extends BaseAPI {
32210
33053
  * @throws {RequiredError}
32211
33054
  * @memberof FeatureLimitsApi
32212
33055
  */
32213
- public apiFeatureLimitsPlanInfoGet(options?: RawAxiosRequestConfig) {
32214
- return FeatureLimitsApiFp(this.configuration).apiFeatureLimitsPlanInfoGet(options).then((request) => request(this.axios, this.basePath));
33056
+ public featureLimitsPlanInfoGet(options?: RawAxiosRequestConfig) {
33057
+ return FeatureLimitsApiFp(this.configuration).featureLimitsPlanInfoGet(options).then((request) => request(this.axios, this.basePath));
32215
33058
  }
32216
33059
 
32217
33060
  /**
@@ -32221,8 +33064,8 @@ export class FeatureLimitsApi extends BaseAPI {
32221
33064
  * @throws {RequiredError}
32222
33065
  * @memberof FeatureLimitsApi
32223
33066
  */
32224
- public apiFeatureLimitsStatusGet(options?: RawAxiosRequestConfig) {
32225
- return FeatureLimitsApiFp(this.configuration).apiFeatureLimitsStatusGet(options).then((request) => request(this.axios, this.basePath));
33067
+ public featureLimitsStatusGet(options?: RawAxiosRequestConfig) {
33068
+ return FeatureLimitsApiFp(this.configuration).featureLimitsStatusGet(options).then((request) => request(this.axios, this.basePath));
32226
33069
  }
32227
33070
 
32228
33071
  /**
@@ -32232,8 +33075,8 @@ export class FeatureLimitsApi extends BaseAPI {
32232
33075
  * @throws {RequiredError}
32233
33076
  * @memberof FeatureLimitsApi
32234
33077
  */
32235
- public apiFeatureLimitsUsageGet(options?: RawAxiosRequestConfig) {
32236
- return FeatureLimitsApiFp(this.configuration).apiFeatureLimitsUsageGet(options).then((request) => request(this.axios, this.basePath));
33078
+ public featureLimitsUsageGet(options?: RawAxiosRequestConfig) {
33079
+ return FeatureLimitsApiFp(this.configuration).featureLimitsUsageGet(options).then((request) => request(this.axios, this.basePath));
32237
33080
  }
32238
33081
  }
32239
33082
 
@@ -32251,8 +33094,8 @@ export const FeatureLimitsAdminApiAxiosParamCreator = function (configuration?:
32251
33094
  * @param {*} [options] Override http request option.
32252
33095
  * @throws {RequiredError}
32253
33096
  */
32254
- apiAdminFeatureLimitsCacheInvalidatePost: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
32255
- const localVarPath = `/api/admin/feature-limits/cache/invalidate`;
33097
+ adminFeatureLimitsCacheInvalidatePost: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
33098
+ const localVarPath = `/admin/feature-limits/cache/invalidate`;
32256
33099
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
32257
33100
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
32258
33101
  let baseOptions;
@@ -32285,10 +33128,10 @@ export const FeatureLimitsAdminApiAxiosParamCreator = function (configuration?:
32285
33128
  * @param {*} [options] Override http request option.
32286
33129
  * @throws {RequiredError}
32287
33130
  */
32288
- apiAdminFeatureLimitsResetPost: async (featureName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
33131
+ adminFeatureLimitsResetPost: async (featureName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
32289
33132
  // verify required parameter 'featureName' is not null or undefined
32290
- assertParamExists('apiAdminFeatureLimitsResetPost', 'featureName', featureName)
32291
- const localVarPath = `/api/admin/feature-limits/reset`;
33133
+ assertParamExists('adminFeatureLimitsResetPost', 'featureName', featureName)
33134
+ const localVarPath = `/admin/feature-limits/reset`;
32292
33135
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
32293
33136
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
32294
33137
  let baseOptions;
@@ -32334,10 +33177,10 @@ export const FeatureLimitsAdminApiFp = function(configuration?: Configuration) {
32334
33177
  * @param {*} [options] Override http request option.
32335
33178
  * @throws {RequiredError}
32336
33179
  */
32337
- async apiAdminFeatureLimitsCacheInvalidatePost(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
32338
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiAdminFeatureLimitsCacheInvalidatePost(options);
33180
+ async adminFeatureLimitsCacheInvalidatePost(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
33181
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminFeatureLimitsCacheInvalidatePost(options);
32339
33182
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
32340
- const localVarOperationServerBasePath = operationServerMap['FeatureLimitsAdminApi.apiAdminFeatureLimitsCacheInvalidatePost']?.[localVarOperationServerIndex]?.url;
33183
+ const localVarOperationServerBasePath = operationServerMap['FeatureLimitsAdminApi.adminFeatureLimitsCacheInvalidatePost']?.[localVarOperationServerIndex]?.url;
32341
33184
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
32342
33185
  },
32343
33186
  /**
@@ -32347,10 +33190,10 @@ export const FeatureLimitsAdminApiFp = function(configuration?: Configuration) {
32347
33190
  * @param {*} [options] Override http request option.
32348
33191
  * @throws {RequiredError}
32349
33192
  */
32350
- async apiAdminFeatureLimitsResetPost(featureName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
32351
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiAdminFeatureLimitsResetPost(featureName, options);
33193
+ async adminFeatureLimitsResetPost(featureName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
33194
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminFeatureLimitsResetPost(featureName, options);
32352
33195
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
32353
- const localVarOperationServerBasePath = operationServerMap['FeatureLimitsAdminApi.apiAdminFeatureLimitsResetPost']?.[localVarOperationServerIndex]?.url;
33196
+ const localVarOperationServerBasePath = operationServerMap['FeatureLimitsAdminApi.adminFeatureLimitsResetPost']?.[localVarOperationServerIndex]?.url;
32354
33197
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
32355
33198
  },
32356
33199
  }
@@ -32369,8 +33212,8 @@ export const FeatureLimitsAdminApiFactory = function (configuration?: Configurat
32369
33212
  * @param {*} [options] Override http request option.
32370
33213
  * @throws {RequiredError}
32371
33214
  */
32372
- apiAdminFeatureLimitsCacheInvalidatePost(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
32373
- return localVarFp.apiAdminFeatureLimitsCacheInvalidatePost(options).then((request) => request(axios, basePath));
33215
+ adminFeatureLimitsCacheInvalidatePost(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
33216
+ return localVarFp.adminFeatureLimitsCacheInvalidatePost(options).then((request) => request(axios, basePath));
32374
33217
  },
32375
33218
  /**
32376
33219
  * Resets usage counter for a specific feature (admin only)
@@ -32379,8 +33222,8 @@ export const FeatureLimitsAdminApiFactory = function (configuration?: Configurat
32379
33222
  * @param {*} [options] Override http request option.
32380
33223
  * @throws {RequiredError}
32381
33224
  */
32382
- apiAdminFeatureLimitsResetPost(featureName: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
32383
- return localVarFp.apiAdminFeatureLimitsResetPost(featureName, options).then((request) => request(axios, basePath));
33225
+ adminFeatureLimitsResetPost(featureName: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
33226
+ return localVarFp.adminFeatureLimitsResetPost(featureName, options).then((request) => request(axios, basePath));
32384
33227
  },
32385
33228
  };
32386
33229
  };
@@ -32399,8 +33242,8 @@ export class FeatureLimitsAdminApi extends BaseAPI {
32399
33242
  * @throws {RequiredError}
32400
33243
  * @memberof FeatureLimitsAdminApi
32401
33244
  */
32402
- public apiAdminFeatureLimitsCacheInvalidatePost(options?: RawAxiosRequestConfig) {
32403
- return FeatureLimitsAdminApiFp(this.configuration).apiAdminFeatureLimitsCacheInvalidatePost(options).then((request) => request(this.axios, this.basePath));
33245
+ public adminFeatureLimitsCacheInvalidatePost(options?: RawAxiosRequestConfig) {
33246
+ return FeatureLimitsAdminApiFp(this.configuration).adminFeatureLimitsCacheInvalidatePost(options).then((request) => request(this.axios, this.basePath));
32404
33247
  }
32405
33248
 
32406
33249
  /**
@@ -32411,8 +33254,8 @@ export class FeatureLimitsAdminApi extends BaseAPI {
32411
33254
  * @throws {RequiredError}
32412
33255
  * @memberof FeatureLimitsAdminApi
32413
33256
  */
32414
- public apiAdminFeatureLimitsResetPost(featureName: string, options?: RawAxiosRequestConfig) {
32415
- return FeatureLimitsAdminApiFp(this.configuration).apiAdminFeatureLimitsResetPost(featureName, options).then((request) => request(this.axios, this.basePath));
33257
+ public adminFeatureLimitsResetPost(featureName: string, options?: RawAxiosRequestConfig) {
33258
+ return FeatureLimitsAdminApiFp(this.configuration).adminFeatureLimitsResetPost(featureName, options).then((request) => request(this.axios, this.basePath));
32416
33259
  }
32417
33260
  }
32418
33261
 
@@ -50794,6 +51637,332 @@ export class SubscriptionsApi extends BaseAPI {
50794
51637
 
50795
51638
 
50796
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
+
50797
51966
  /**
50798
51967
  * UserApi - axios parameter creator
50799
51968
  * @export