@seekora-ai/admin-api 1.1.5 → 1.1.7

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/dist/api.d.ts CHANGED
@@ -7727,18 +7727,44 @@ export interface DataTypesAutocompleteSuggestion {
7727
7727
  * @interface DataTypesBillingAlertRequest
7728
7728
  */
7729
7729
  export interface DataTypesBillingAlertRequest {
7730
+ /**
7731
+ * Custom email recipients (overrides org defaults)
7732
+ * @type {Array<string>}
7733
+ * @memberof DataTypesBillingAlertRequest
7734
+ */
7735
+ 'alert_emails'?: Array<string>;
7736
+ /**
7737
+ * Custom name for the alert
7738
+ * @type {string}
7739
+ * @memberof DataTypesBillingAlertRequest
7740
+ */
7741
+ 'alert_name'?: string;
7730
7742
  /**
7731
7743
  *
7732
7744
  * @type {string}
7733
7745
  * @memberof DataTypesBillingAlertRequest
7734
7746
  */
7735
7747
  'alert_type': DataTypesBillingAlertRequestAlertTypeEnum;
7748
+ /**
7749
+ * Minutes between alerts (default: 60)
7750
+ * @type {number}
7751
+ * @memberof DataTypesBillingAlertRequest
7752
+ */
7753
+ 'cooldown_period'?: number;
7736
7754
  /**
7737
7755
  *
7738
7756
  * @type {boolean}
7739
7757
  * @memberof DataTypesBillingAlertRequest
7740
7758
  */
7741
7759
  'is_enabled'?: boolean;
7760
+ /**
7761
+ *
7762
+ * @type {{ [key: string]: any; }}
7763
+ * @memberof DataTypesBillingAlertRequest
7764
+ */
7765
+ 'metadata'?: {
7766
+ [key: string]: any;
7767
+ };
7742
7768
  /**
7743
7769
  *
7744
7770
  * @type {{ [key: string]: any; }}
@@ -7747,12 +7773,30 @@ export interface DataTypesBillingAlertRequest {
7747
7773
  'notification_channels'?: {
7748
7774
  [key: string]: any;
7749
7775
  };
7776
+ /**
7777
+ * NULL = org-level, value = store-level
7778
+ * @type {number}
7779
+ * @memberof DataTypesBillingAlertRequest
7780
+ */
7781
+ 'store_id'?: number;
7782
+ /**
7783
+ * Percentage threshold 0-100 (exclusive with threshold_value)
7784
+ * @type {number}
7785
+ * @memberof DataTypesBillingAlertRequest
7786
+ */
7787
+ 'threshold_percentage'?: number;
7750
7788
  /**
7751
7789
  *
7790
+ * @type {string}
7791
+ * @memberof DataTypesBillingAlertRequest
7792
+ */
7793
+ 'threshold_unit': DataTypesBillingAlertRequestThresholdUnitEnum;
7794
+ /**
7795
+ * Absolute threshold value (exclusive with threshold_percentage)
7752
7796
  * @type {number}
7753
7797
  * @memberof DataTypesBillingAlertRequest
7754
7798
  */
7755
- 'threshold_value': number;
7799
+ 'threshold_value'?: number;
7756
7800
  }
7757
7801
  export declare const DataTypesBillingAlertRequestAlertTypeEnum: {
7758
7802
  readonly LowBalance: "low_balance";
@@ -7760,6 +7804,12 @@ export declare const DataTypesBillingAlertRequestAlertTypeEnum: {
7760
7804
  readonly DaysRemaining: "days_remaining";
7761
7805
  };
7762
7806
  export type DataTypesBillingAlertRequestAlertTypeEnum = typeof DataTypesBillingAlertRequestAlertTypeEnum[keyof typeof DataTypesBillingAlertRequestAlertTypeEnum];
7807
+ export declare const DataTypesBillingAlertRequestThresholdUnitEnum: {
7808
+ readonly Credits: "credits";
7809
+ readonly Days: "days";
7810
+ readonly Percentage: "percentage";
7811
+ };
7812
+ export type DataTypesBillingAlertRequestThresholdUnitEnum = typeof DataTypesBillingAlertRequestThresholdUnitEnum[keyof typeof DataTypesBillingAlertRequestThresholdUnitEnum];
7763
7813
  /**
7764
7814
  *
7765
7815
  * @export
@@ -7796,6 +7846,12 @@ export interface DataTypesBillingOrderDetailsResponse {
7796
7846
  * @memberof DataTypesBillingOrderDetailsResponse
7797
7847
  */
7798
7848
  'plan_details'?: DataTypesCreditPlanDetails;
7849
+ /**
7850
+ * Payment receipts for completed payments
7851
+ * @type {Array<DataTypesReceipt>}
7852
+ * @memberof DataTypesBillingOrderDetailsResponse
7853
+ */
7854
+ 'receipts'?: Array<DataTypesReceipt>;
7799
7855
  /**
7800
7856
  *
7801
7857
  * @type {Array<DataTypesOrderTransactionDisplay>}
@@ -8019,6 +8075,248 @@ export interface DataTypesCombinedSearchResult {
8019
8075
  */
8020
8076
  'widget'?: DataTypesWidgetSearchResult;
8021
8077
  }
8078
+ /**
8079
+ *
8080
+ * @export
8081
+ * @interface DataTypesCompanyConfig
8082
+ */
8083
+ export interface DataTypesCompanyConfig {
8084
+ /**
8085
+ *
8086
+ * @type {string}
8087
+ * @memberof DataTypesCompanyConfig
8088
+ */
8089
+ 'account_number'?: string;
8090
+ /**
8091
+ *
8092
+ * @type {string}
8093
+ * @memberof DataTypesCompanyConfig
8094
+ */
8095
+ 'address_line1'?: string;
8096
+ /**
8097
+ *
8098
+ * @type {string}
8099
+ * @memberof DataTypesCompanyConfig
8100
+ */
8101
+ 'address_line2'?: string;
8102
+ /**
8103
+ *
8104
+ * @type {string}
8105
+ * @memberof DataTypesCompanyConfig
8106
+ */
8107
+ 'bank_name'?: string;
8108
+ /**
8109
+ *
8110
+ * @type {string}
8111
+ * @memberof DataTypesCompanyConfig
8112
+ */
8113
+ 'billing_email'?: string;
8114
+ /**
8115
+ *
8116
+ * @type {string}
8117
+ * @memberof DataTypesCompanyConfig
8118
+ */
8119
+ 'city'?: string;
8120
+ /**
8121
+ *
8122
+ * @type {string}
8123
+ * @memberof DataTypesCompanyConfig
8124
+ */
8125
+ 'company_name'?: string;
8126
+ /**
8127
+ *
8128
+ * @type {string}
8129
+ * @memberof DataTypesCompanyConfig
8130
+ */
8131
+ 'country'?: string;
8132
+ /**
8133
+ *
8134
+ * @type {string}
8135
+ * @memberof DataTypesCompanyConfig
8136
+ */
8137
+ 'email'?: string;
8138
+ /**
8139
+ *
8140
+ * @type {string}
8141
+ * @memberof DataTypesCompanyConfig
8142
+ */
8143
+ 'gstin'?: string;
8144
+ /**
8145
+ *
8146
+ * @type {string}
8147
+ * @memberof DataTypesCompanyConfig
8148
+ */
8149
+ 'ifsc_code'?: string;
8150
+ /**
8151
+ *
8152
+ * @type {string}
8153
+ * @memberof DataTypesCompanyConfig
8154
+ */
8155
+ 'logo_url'?: string;
8156
+ /**
8157
+ *
8158
+ * @type {string}
8159
+ * @memberof DataTypesCompanyConfig
8160
+ */
8161
+ 'pan'?: string;
8162
+ /**
8163
+ *
8164
+ * @type {string}
8165
+ * @memberof DataTypesCompanyConfig
8166
+ */
8167
+ 'phone_number'?: string;
8168
+ /**
8169
+ *
8170
+ * @type {string}
8171
+ * @memberof DataTypesCompanyConfig
8172
+ */
8173
+ 'postal_code'?: string;
8174
+ /**
8175
+ *
8176
+ * @type {string}
8177
+ * @memberof DataTypesCompanyConfig
8178
+ */
8179
+ 'state'?: string;
8180
+ /**
8181
+ *
8182
+ * @type {string}
8183
+ * @memberof DataTypesCompanyConfig
8184
+ */
8185
+ 'support_email'?: string;
8186
+ /**
8187
+ *
8188
+ * @type {string}
8189
+ * @memberof DataTypesCompanyConfig
8190
+ */
8191
+ 'tax_registration'?: string;
8192
+ /**
8193
+ *
8194
+ * @type {string}
8195
+ * @memberof DataTypesCompanyConfig
8196
+ */
8197
+ 'website'?: string;
8198
+ }
8199
+ /**
8200
+ *
8201
+ * @export
8202
+ * @interface DataTypesCompanyConfigRequest
8203
+ */
8204
+ export interface DataTypesCompanyConfigRequest {
8205
+ /**
8206
+ *
8207
+ * @type {string}
8208
+ * @memberof DataTypesCompanyConfigRequest
8209
+ */
8210
+ 'account_number'?: string;
8211
+ /**
8212
+ *
8213
+ * @type {string}
8214
+ * @memberof DataTypesCompanyConfigRequest
8215
+ */
8216
+ 'address_line1': string;
8217
+ /**
8218
+ *
8219
+ * @type {string}
8220
+ * @memberof DataTypesCompanyConfigRequest
8221
+ */
8222
+ 'address_line2'?: string;
8223
+ /**
8224
+ *
8225
+ * @type {string}
8226
+ * @memberof DataTypesCompanyConfigRequest
8227
+ */
8228
+ 'bank_name'?: string;
8229
+ /**
8230
+ *
8231
+ * @type {string}
8232
+ * @memberof DataTypesCompanyConfigRequest
8233
+ */
8234
+ 'billing_email'?: string;
8235
+ /**
8236
+ *
8237
+ * @type {string}
8238
+ * @memberof DataTypesCompanyConfigRequest
8239
+ */
8240
+ 'city': string;
8241
+ /**
8242
+ *
8243
+ * @type {string}
8244
+ * @memberof DataTypesCompanyConfigRequest
8245
+ */
8246
+ 'company_name': string;
8247
+ /**
8248
+ *
8249
+ * @type {string}
8250
+ * @memberof DataTypesCompanyConfigRequest
8251
+ */
8252
+ 'country': string;
8253
+ /**
8254
+ *
8255
+ * @type {string}
8256
+ * @memberof DataTypesCompanyConfigRequest
8257
+ */
8258
+ 'email': string;
8259
+ /**
8260
+ *
8261
+ * @type {string}
8262
+ * @memberof DataTypesCompanyConfigRequest
8263
+ */
8264
+ 'gstin'?: string;
8265
+ /**
8266
+ *
8267
+ * @type {string}
8268
+ * @memberof DataTypesCompanyConfigRequest
8269
+ */
8270
+ 'ifsc_code'?: string;
8271
+ /**
8272
+ *
8273
+ * @type {string}
8274
+ * @memberof DataTypesCompanyConfigRequest
8275
+ */
8276
+ 'logo_url'?: string;
8277
+ /**
8278
+ *
8279
+ * @type {string}
8280
+ * @memberof DataTypesCompanyConfigRequest
8281
+ */
8282
+ 'pan'?: string;
8283
+ /**
8284
+ *
8285
+ * @type {string}
8286
+ * @memberof DataTypesCompanyConfigRequest
8287
+ */
8288
+ 'phone_number': string;
8289
+ /**
8290
+ *
8291
+ * @type {string}
8292
+ * @memberof DataTypesCompanyConfigRequest
8293
+ */
8294
+ 'postal_code': string;
8295
+ /**
8296
+ *
8297
+ * @type {string}
8298
+ * @memberof DataTypesCompanyConfigRequest
8299
+ */
8300
+ 'state': string;
8301
+ /**
8302
+ *
8303
+ * @type {string}
8304
+ * @memberof DataTypesCompanyConfigRequest
8305
+ */
8306
+ 'support_email'?: string;
8307
+ /**
8308
+ *
8309
+ * @type {string}
8310
+ * @memberof DataTypesCompanyConfigRequest
8311
+ */
8312
+ 'tax_registration'?: string;
8313
+ /**
8314
+ *
8315
+ * @type {string}
8316
+ * @memberof DataTypesCompanyConfigRequest
8317
+ */
8318
+ 'website'?: string;
8319
+ }
8022
8320
  /**
8023
8321
  *
8024
8322
  * @export
@@ -8313,6 +8611,54 @@ export interface DataTypesCreateOrganizationRequest {
8313
8611
  * @memberof DataTypesCreateOrganizationRequest
8314
8612
  */
8315
8613
  'Address'?: string;
8614
+ /**
8615
+ *
8616
+ * @type {string}
8617
+ * @memberof DataTypesCreateOrganizationRequest
8618
+ */
8619
+ 'BillingAddressLine1'?: string;
8620
+ /**
8621
+ *
8622
+ * @type {string}
8623
+ * @memberof DataTypesCreateOrganizationRequest
8624
+ */
8625
+ 'BillingAddressLine2'?: string;
8626
+ /**
8627
+ *
8628
+ * @type {string}
8629
+ * @memberof DataTypesCreateOrganizationRequest
8630
+ */
8631
+ 'BillingCity'?: string;
8632
+ /**
8633
+ *
8634
+ * @type {string}
8635
+ * @memberof DataTypesCreateOrganizationRequest
8636
+ */
8637
+ 'BillingCountry'?: string;
8638
+ /**
8639
+ *
8640
+ * @type {string}
8641
+ * @memberof DataTypesCreateOrganizationRequest
8642
+ */
8643
+ 'BillingPostalCode'?: string;
8644
+ /**
8645
+ *
8646
+ * @type {string}
8647
+ * @memberof DataTypesCreateOrganizationRequest
8648
+ */
8649
+ 'BillingState'?: string;
8650
+ /**
8651
+ *
8652
+ * @type {string}
8653
+ * @memberof DataTypesCreateOrganizationRequest
8654
+ */
8655
+ 'BusinessLegalName'?: string;
8656
+ /**
8657
+ *
8658
+ * @type {string}
8659
+ * @memberof DataTypesCreateOrganizationRequest
8660
+ */
8661
+ 'BusinessType'?: string;
8316
8662
  /**
8317
8663
  *
8318
8664
  * @type {string}
@@ -8337,6 +8683,18 @@ export interface DataTypesCreateOrganizationRequest {
8337
8683
  * @memberof DataTypesCreateOrganizationRequest
8338
8684
  */
8339
8685
  'Footer'?: string;
8686
+ /**
8687
+ * Tax and Billing Details
8688
+ * @type {string}
8689
+ * @memberof DataTypesCreateOrganizationRequest
8690
+ */
8691
+ 'GSTIN'?: string;
8692
+ /**
8693
+ *
8694
+ * @type {string}
8695
+ * @memberof DataTypesCreateOrganizationRequest
8696
+ */
8697
+ 'HSNSACCode'?: string;
8340
8698
  /**
8341
8699
  *
8342
8700
  * @type {Array<number>}
@@ -8361,12 +8719,24 @@ export interface DataTypesCreateOrganizationRequest {
8361
8719
  * @memberof DataTypesCreateOrganizationRequest
8362
8720
  */
8363
8721
  'OrgName'?: string;
8722
+ /**
8723
+ *
8724
+ * @type {string}
8725
+ * @memberof DataTypesCreateOrganizationRequest
8726
+ */
8727
+ 'PAN'?: string;
8364
8728
  /**
8365
8729
  *
8366
8730
  * @type {string}
8367
8731
  * @memberof DataTypesCreateOrganizationRequest
8368
8732
  */
8369
8733
  'PhoneNo'?: string;
8734
+ /**
8735
+ *
8736
+ * @type {string}
8737
+ * @memberof DataTypesCreateOrganizationRequest
8738
+ */
8739
+ 'PlaceOfSupply'?: string;
8370
8740
  /**
8371
8741
  *
8372
8742
  * @type {string}
@@ -8379,6 +8749,36 @@ export interface DataTypesCreateOrganizationRequest {
8379
8749
  * @memberof DataTypesCreateOrganizationRequest
8380
8750
  */
8381
8751
  'TIN'?: string;
8752
+ /**
8753
+ *
8754
+ * @type {string}
8755
+ * @memberof DataTypesCreateOrganizationRequest
8756
+ */
8757
+ 'TaxExemptionCertificate'?: string;
8758
+ /**
8759
+ *
8760
+ * @type {boolean}
8761
+ * @memberof DataTypesCreateOrganizationRequest
8762
+ */
8763
+ 'TaxExemptionStatus'?: boolean;
8764
+ /**
8765
+ *
8766
+ * @type {string}
8767
+ * @memberof DataTypesCreateOrganizationRequest
8768
+ */
8769
+ 'TaxExemptionValidUntil'?: string;
8770
+ /**
8771
+ *
8772
+ * @type {string}
8773
+ * @memberof DataTypesCreateOrganizationRequest
8774
+ */
8775
+ 'TaxRegistrationCountry'?: string;
8776
+ /**
8777
+ *
8778
+ * @type {string}
8779
+ * @memberof DataTypesCreateOrganizationRequest
8780
+ */
8781
+ 'TaxRegistrationNumber'?: string;
8382
8782
  /**
8383
8783
  *
8384
8784
  * @type {string}
@@ -10802,31 +11202,6 @@ export interface DataTypesGatewayListResponse {
10802
11202
  */
10803
11203
  'gateways'?: Array<DataTypesGatewayInfo>;
10804
11204
  }
10805
- /**
10806
- *
10807
- * @export
10808
- * @interface DataTypesGenericResponseArrayDataTypesInvoice
10809
- */
10810
- export interface DataTypesGenericResponseArrayDataTypesInvoice {
10811
- /**
10812
- *
10813
- * @type {Array<DataTypesInvoice>}
10814
- * @memberof DataTypesGenericResponseArrayDataTypesInvoice
10815
- */
10816
- 'data'?: Array<DataTypesInvoice>;
10817
- /**
10818
- *
10819
- * @type {string}
10820
- * @memberof DataTypesGenericResponseArrayDataTypesInvoice
10821
- */
10822
- 'message'?: string;
10823
- /**
10824
- *
10825
- * @type {number}
10826
- * @memberof DataTypesGenericResponseArrayDataTypesInvoice
10827
- */
10828
- 'status'?: number;
10829
- }
10830
11205
  /**
10831
11206
  *
10832
11207
  * @export
@@ -10927,6 +11302,31 @@ export interface DataTypesGenericResponseDataTypesPayInvoiceResponse {
10927
11302
  */
10928
11303
  'status'?: number;
10929
11304
  }
11305
+ /**
11306
+ *
11307
+ * @export
11308
+ * @interface DataTypesGenericResponseDataTypesReceipt
11309
+ */
11310
+ export interface DataTypesGenericResponseDataTypesReceipt {
11311
+ /**
11312
+ *
11313
+ * @type {DataTypesReceipt}
11314
+ * @memberof DataTypesGenericResponseDataTypesReceipt
11315
+ */
11316
+ 'data'?: DataTypesReceipt;
11317
+ /**
11318
+ *
11319
+ * @type {string}
11320
+ * @memberof DataTypesGenericResponseDataTypesReceipt
11321
+ */
11322
+ 'message'?: string;
11323
+ /**
11324
+ *
11325
+ * @type {number}
11326
+ * @memberof DataTypesGenericResponseDataTypesReceipt
11327
+ */
11328
+ 'status'?: number;
11329
+ }
10930
11330
  /**
10931
11331
  *
10932
11332
  * @export
@@ -11569,25 +11969,37 @@ export interface DataTypesInvoice {
11569
11969
  * @type {string}
11570
11970
  * @memberof DataTypesInvoice
11571
11971
  */
11572
- 'currency'?: string;
11972
+ 'currency'?: string;
11973
+ /**
11974
+ *
11975
+ * @type {string}
11976
+ * @memberof DataTypesInvoice
11977
+ */
11978
+ 'due_date'?: string;
11979
+ /**
11980
+ * Download helpers
11981
+ * @type {string}
11982
+ * @memberof DataTypesInvoice
11983
+ */
11984
+ 'invoice_download_path'?: string;
11573
11985
  /**
11574
11986
  *
11575
11987
  * @type {string}
11576
11988
  * @memberof DataTypesInvoice
11577
11989
  */
11578
- 'due_date'?: string;
11990
+ 'invoice_id'?: string;
11579
11991
  /**
11580
11992
  *
11581
11993
  * @type {string}
11582
11994
  * @memberof DataTypesInvoice
11583
11995
  */
11584
- 'invoice_id'?: string;
11996
+ 'invoice_number'?: string;
11585
11997
  /**
11586
11998
  *
11587
11999
  * @type {string}
11588
12000
  * @memberof DataTypesInvoice
11589
12001
  */
11590
- 'invoice_number'?: string;
12002
+ 'invoice_pdf_url'?: string;
11591
12003
  /**
11592
12004
  *
11593
12005
  * @type {string}
@@ -11600,6 +12012,22 @@ export interface DataTypesInvoice {
11600
12012
  * @memberof DataTypesInvoice
11601
12013
  */
11602
12014
  'items'?: Array<DataTypesInvoiceItem>;
12015
+ /**
12016
+ * Complete invoice data as JSON
12017
+ * @type {{ [key: string]: any; }}
12018
+ * @memberof DataTypesInvoice
12019
+ */
12020
+ 'json_data'?: {
12021
+ [key: string]: any;
12022
+ };
12023
+ /**
12024
+ * Additional metadata
12025
+ * @type {{ [key: string]: any; }}
12026
+ * @memberof DataTypesInvoice
12027
+ */
12028
+ 'metadata'?: {
12029
+ [key: string]: any;
12030
+ };
11603
12031
  /**
11604
12032
  *
11605
12033
  * @type {string}
@@ -11636,6 +12064,42 @@ export interface DataTypesInvoice {
11636
12064
  * @memberof DataTypesInvoice
11637
12065
  */
11638
12066
  'payment_method'?: string;
12067
+ /**
12068
+ * When PDF was generated
12069
+ * @type {string}
12070
+ * @memberof DataTypesInvoice
12071
+ */
12072
+ 'pdf_generated_at'?: string;
12073
+ /**
12074
+ * S3 key for PDF storage
12075
+ * @type {string}
12076
+ * @memberof DataTypesInvoice
12077
+ */
12078
+ 'pdf_s3_key'?: string;
12079
+ /**
12080
+ *
12081
+ * @type {string}
12082
+ * @memberof DataTypesInvoice
12083
+ */
12084
+ 'receipt_download_path'?: string;
12085
+ /**
12086
+ * Linked receipt metadata
12087
+ * @type {number}
12088
+ * @memberof DataTypesInvoice
12089
+ */
12090
+ 'receipt_id'?: number;
12091
+ /**
12092
+ *
12093
+ * @type {string}
12094
+ * @memberof DataTypesInvoice
12095
+ */
12096
+ 'receipt_number'?: string;
12097
+ /**
12098
+ *
12099
+ * @type {string}
12100
+ * @memberof DataTypesInvoice
12101
+ */
12102
+ 'receipt_pdf_url'?: string;
11639
12103
  /**
11640
12104
  * \"draft\", \"sent\", \"paid\", \"overdue\", \"cancelled\"
11641
12105
  * @type {string}
@@ -12293,6 +12757,12 @@ export interface DataTypesLoginAudit {
12293
12757
  * @interface DataTypesLoginRequest
12294
12758
  */
12295
12759
  export interface DataTypesLoginRequest {
12760
+ /**
12761
+ * \"link\" or \"unlink\"
12762
+ * @type {string}
12763
+ * @memberof DataTypesLoginRequest
12764
+ */
12765
+ 'action'?: string;
12296
12766
  /**
12297
12767
  *
12298
12768
  * @type {string}
@@ -13561,6 +14031,12 @@ export interface DataTypesOrderDetailsResponse {
13561
14031
  * @memberof DataTypesOrderDetailsResponse
13562
14032
  */
13563
14033
  'order'?: DataTypesOrder;
14034
+ /**
14035
+ * Payment receipts for this order
14036
+ * @type {Array<DataTypesReceipt>}
14037
+ * @memberof DataTypesOrderDetailsResponse
14038
+ */
14039
+ 'receipts'?: Array<DataTypesReceipt>;
13564
14040
  /**
13565
14041
  *
13566
14042
  * @type {Array<DataTypesOrderTransactionDisplay>}
@@ -13726,6 +14202,54 @@ export interface DataTypesOrganization {
13726
14202
  * @memberof DataTypesOrganization
13727
14203
  */
13728
14204
  'Address'?: string;
14205
+ /**
14206
+ * Billing address line 1
14207
+ * @type {string}
14208
+ * @memberof DataTypesOrganization
14209
+ */
14210
+ 'BillingAddressLine1'?: string;
14211
+ /**
14212
+ * Billing address line 2
14213
+ * @type {string}
14214
+ * @memberof DataTypesOrganization
14215
+ */
14216
+ 'BillingAddressLine2'?: string;
14217
+ /**
14218
+ * Billing city
14219
+ * @type {string}
14220
+ * @memberof DataTypesOrganization
14221
+ */
14222
+ 'BillingCity'?: string;
14223
+ /**
14224
+ * Billing country (ISO code)
14225
+ * @type {string}
14226
+ * @memberof DataTypesOrganization
14227
+ */
14228
+ 'BillingCountry'?: string;
14229
+ /**
14230
+ * Billing postal/zip code
14231
+ * @type {string}
14232
+ * @memberof DataTypesOrganization
14233
+ */
14234
+ 'BillingPostalCode'?: string;
14235
+ /**
14236
+ * Billing state/province
14237
+ * @type {string}
14238
+ * @memberof DataTypesOrganization
14239
+ */
14240
+ 'BillingState'?: string;
14241
+ /**
14242
+ * Legal business name
14243
+ * @type {string}
14244
+ * @memberof DataTypesOrganization
14245
+ */
14246
+ 'BusinessLegalName'?: string;
14247
+ /**
14248
+ * Business entity type
14249
+ * @type {string}
14250
+ * @memberof DataTypesOrganization
14251
+ */
14252
+ 'BusinessType'?: string;
13729
14253
  /**
13730
14254
  * Nullable field
13731
14255
  * @type {string}
@@ -13762,6 +14286,18 @@ export interface DataTypesOrganization {
13762
14286
  * @memberof DataTypesOrganization
13763
14287
  */
13764
14288
  'Footer'?: string;
14289
+ /**
14290
+ * Tax and Billing Details
14291
+ * @type {string}
14292
+ * @memberof DataTypesOrganization
14293
+ */
14294
+ 'GSTIN'?: string;
14295
+ /**
14296
+ * HSN/SAC code
14297
+ * @type {string}
14298
+ * @memberof DataTypesOrganization
14299
+ */
14300
+ 'HSNSACCode'?: string;
13765
14301
  /**
13766
14302
  * Nullable BOOLEAN field
13767
14303
  * @type {boolean}
@@ -13810,12 +14346,36 @@ export interface DataTypesOrganization {
13810
14346
  * @memberof DataTypesOrganization
13811
14347
  */
13812
14348
  'OrgName'?: string;
14349
+ /**
14350
+ * Permanent Account Number (India)
14351
+ * @type {string}
14352
+ * @memberof DataTypesOrganization
14353
+ */
14354
+ 'PAN'?: string;
13813
14355
  /**
13814
14356
  * Nullable field
13815
14357
  * @type {string}
13816
14358
  * @memberof DataTypesOrganization
13817
14359
  */
13818
14360
  'PhoneNo'?: string;
14361
+ /**
14362
+ * State/Province for tax
14363
+ * @type {string}
14364
+ * @memberof DataTypesOrganization
14365
+ */
14366
+ 'PlaceOfSupply'?: string;
14367
+ /**
14368
+ * Razorpay customer creation time
14369
+ * @type {string}
14370
+ * @memberof DataTypesOrganization
14371
+ */
14372
+ 'RazorpayCustomerCreatedAt'?: string;
14373
+ /**
14374
+ * Razorpay Integration
14375
+ * @type {string}
14376
+ * @memberof DataTypesOrganization
14377
+ */
14378
+ 'RazorpayCustomerID'?: string;
13819
14379
  /**
13820
14380
  * Nullable field
13821
14381
  * @type {string}
@@ -13828,6 +14388,42 @@ export interface DataTypesOrganization {
13828
14388
  * @memberof DataTypesOrganization
13829
14389
  */
13830
14390
  'TIN'?: string;
14391
+ /**
14392
+ * Certificate number
14393
+ * @type {string}
14394
+ * @memberof DataTypesOrganization
14395
+ */
14396
+ 'TaxExemptionCertificate'?: string;
14397
+ /**
14398
+ * Tax exemption flag
14399
+ * @type {boolean}
14400
+ * @memberof DataTypesOrganization
14401
+ */
14402
+ 'TaxExemptionStatus'?: boolean;
14403
+ /**
14404
+ * Validity date
14405
+ * @type {string}
14406
+ * @memberof DataTypesOrganization
14407
+ */
14408
+ 'TaxExemptionValidUntil'?: string;
14409
+ /**
14410
+ * ISO country code for tax
14411
+ * @type {string}
14412
+ * @memberof DataTypesOrganization
14413
+ */
14414
+ 'TaxRegistrationCountry'?: string;
14415
+ /**
14416
+ * Generic tax registration number
14417
+ * @type {string}
14418
+ * @memberof DataTypesOrganization
14419
+ */
14420
+ 'TaxRegistrationNumber'?: string;
14421
+ /**
14422
+ * Flexible tax config (JSONB)
14423
+ * @type {string}
14424
+ * @memberof DataTypesOrganization
14425
+ */
14426
+ 'TaxSettings'?: string;
13831
14427
  /**
13832
14428
  * Nullable field
13833
14429
  * @type {string}
@@ -15157,17 +15753,172 @@ export interface DataTypesQuerySuggestionsConfig {
15157
15753
  */
15158
15754
  'use_auto_generated'?: boolean;
15159
15755
  /**
15160
- * Include imported suggestions
15161
- * @type {boolean}
15162
- * @memberof DataTypesQuerySuggestionsConfig
15756
+ * Include imported suggestions
15757
+ * @type {boolean}
15758
+ * @memberof DataTypesQuerySuggestionsConfig
15759
+ */
15760
+ 'use_imported'?: boolean;
15761
+ /**
15762
+ * Include manually added suggestions
15763
+ * @type {boolean}
15764
+ * @memberof DataTypesQuerySuggestionsConfig
15765
+ */
15766
+ 'use_manual'?: boolean;
15767
+ }
15768
+ /**
15769
+ *
15770
+ * @export
15771
+ * @interface DataTypesReceipt
15772
+ */
15773
+ export interface DataTypesReceipt {
15774
+ /**
15775
+ *
15776
+ * @type {number}
15777
+ * @memberof DataTypesReceipt
15778
+ */
15779
+ 'amount'?: number;
15780
+ /**
15781
+ *
15782
+ * @type {string}
15783
+ * @memberof DataTypesReceipt
15784
+ */
15785
+ 'created_at'?: string;
15786
+ /**
15787
+ *
15788
+ * @type {string}
15789
+ * @memberof DataTypesReceipt
15790
+ */
15791
+ 'currency'?: string;
15792
+ /**
15793
+ *
15794
+ * @type {string}
15795
+ * @memberof DataTypesReceipt
15796
+ */
15797
+ 'customer_email'?: string;
15798
+ /**
15799
+ *
15800
+ * @type {string}
15801
+ * @memberof DataTypesReceipt
15802
+ */
15803
+ 'customer_name'?: string;
15804
+ /**
15805
+ *
15806
+ * @type {string}
15807
+ * @memberof DataTypesReceipt
15808
+ */
15809
+ 'deleted_at'?: string;
15810
+ /**
15811
+ *
15812
+ * @type {string}
15813
+ * @memberof DataTypesReceipt
15814
+ */
15815
+ 'description'?: string;
15816
+ /**
15817
+ * Link to invoice if exists (UUID as string)
15818
+ * @type {string}
15819
+ * @memberof DataTypesReceipt
15820
+ */
15821
+ 'invoice_id'?: string;
15822
+ /**
15823
+ *
15824
+ * @type {boolean}
15825
+ * @memberof DataTypesReceipt
15826
+ */
15827
+ 'is_deleted'?: boolean;
15828
+ /**
15829
+ * Complete receipt data as JSON
15830
+ * @type {{ [key: string]: any; }}
15831
+ * @memberof DataTypesReceipt
15832
+ */
15833
+ 'json_data'?: {
15834
+ [key: string]: any;
15835
+ };
15836
+ /**
15837
+ *
15838
+ * @type {{ [key: string]: any; }}
15839
+ * @memberof DataTypesReceipt
15840
+ */
15841
+ 'metadata'?: {
15842
+ [key: string]: any;
15843
+ };
15844
+ /**
15845
+ *
15846
+ * @type {string}
15847
+ * @memberof DataTypesReceipt
15848
+ */
15849
+ 'notes'?: string;
15850
+ /**
15851
+ *
15852
+ * @type {number}
15853
+ * @memberof DataTypesReceipt
15854
+ */
15855
+ 'org_id'?: number;
15856
+ /**
15857
+ *
15858
+ * @type {string}
15859
+ * @memberof DataTypesReceipt
15860
+ */
15861
+ 'payment_date'?: string;
15862
+ /**
15863
+ * razorpay, stripe, etc.
15864
+ * @type {string}
15865
+ * @memberof DataTypesReceipt
15866
+ */
15867
+ 'payment_gateway'?: string;
15868
+ /**
15869
+ *
15870
+ * @type {number}
15871
+ * @memberof DataTypesReceipt
15872
+ */
15873
+ 'payment_id'?: number;
15874
+ /**
15875
+ * card, upi, netbanking, etc.
15876
+ * @type {string}
15877
+ * @memberof DataTypesReceipt
15878
+ */
15879
+ 'payment_method'?: string;
15880
+ /**
15881
+ * When PDF was generated
15882
+ * @type {string}
15883
+ * @memberof DataTypesReceipt
15884
+ */
15885
+ 'pdf_generated_at'?: string;
15886
+ /**
15887
+ * S3 key for PDF storage
15888
+ * @type {string}
15889
+ * @memberof DataTypesReceipt
15890
+ */
15891
+ 'pdf_s3_key'?: string;
15892
+ /**
15893
+ *
15894
+ * @type {number}
15895
+ * @memberof DataTypesReceipt
15896
+ */
15897
+ 'receipt_id'?: number;
15898
+ /**
15899
+ *
15900
+ * @type {string}
15901
+ * @memberof DataTypesReceipt
15902
+ */
15903
+ 'receipt_number'?: string;
15904
+ /**
15905
+ * generated, sent, viewed
15906
+ * @type {string}
15907
+ * @memberof DataTypesReceipt
15908
+ */
15909
+ 'status'?: string;
15910
+ /**
15911
+ * Gateway transaction ID
15912
+ * @type {string}
15913
+ * @memberof DataTypesReceipt
15163
15914
  */
15164
- 'use_imported'?: boolean;
15915
+ 'transaction_id'?: string;
15165
15916
  /**
15166
- * Include manually added suggestions
15167
- * @type {boolean}
15168
- * @memberof DataTypesQuerySuggestionsConfig
15917
+ *
15918
+ * @type {string}
15919
+ * @memberof DataTypesReceipt
15169
15920
  */
15170
- 'use_manual'?: boolean;
15921
+ 'updated_at'?: string;
15171
15922
  }
15172
15923
  /**
15173
15924
  *
@@ -17960,6 +18711,54 @@ export interface DataTypesUpdateOrganizationRequest {
17960
18711
  * @memberof DataTypesUpdateOrganizationRequest
17961
18712
  */
17962
18713
  'Address'?: string;
18714
+ /**
18715
+ *
18716
+ * @type {string}
18717
+ * @memberof DataTypesUpdateOrganizationRequest
18718
+ */
18719
+ 'BillingAddressLine1'?: string;
18720
+ /**
18721
+ *
18722
+ * @type {string}
18723
+ * @memberof DataTypesUpdateOrganizationRequest
18724
+ */
18725
+ 'BillingAddressLine2'?: string;
18726
+ /**
18727
+ *
18728
+ * @type {string}
18729
+ * @memberof DataTypesUpdateOrganizationRequest
18730
+ */
18731
+ 'BillingCity'?: string;
18732
+ /**
18733
+ *
18734
+ * @type {string}
18735
+ * @memberof DataTypesUpdateOrganizationRequest
18736
+ */
18737
+ 'BillingCountry'?: string;
18738
+ /**
18739
+ *
18740
+ * @type {string}
18741
+ * @memberof DataTypesUpdateOrganizationRequest
18742
+ */
18743
+ 'BillingPostalCode'?: string;
18744
+ /**
18745
+ *
18746
+ * @type {string}
18747
+ * @memberof DataTypesUpdateOrganizationRequest
18748
+ */
18749
+ 'BillingState'?: string;
18750
+ /**
18751
+ *
18752
+ * @type {string}
18753
+ * @memberof DataTypesUpdateOrganizationRequest
18754
+ */
18755
+ 'BusinessLegalName'?: string;
18756
+ /**
18757
+ *
18758
+ * @type {string}
18759
+ * @memberof DataTypesUpdateOrganizationRequest
18760
+ */
18761
+ 'BusinessType'?: string;
17963
18762
  /**
17964
18763
  *
17965
18764
  * @type {string}
@@ -17984,6 +18783,18 @@ export interface DataTypesUpdateOrganizationRequest {
17984
18783
  * @memberof DataTypesUpdateOrganizationRequest
17985
18784
  */
17986
18785
  'Footer'?: string;
18786
+ /**
18787
+ * Tax and Billing Details
18788
+ * @type {string}
18789
+ * @memberof DataTypesUpdateOrganizationRequest
18790
+ */
18791
+ 'GSTIN'?: string;
18792
+ /**
18793
+ *
18794
+ * @type {string}
18795
+ * @memberof DataTypesUpdateOrganizationRequest
18796
+ */
18797
+ 'HSNSACCode'?: string;
17987
18798
  /**
17988
18799
  *
17989
18800
  * @type {string}
@@ -17996,12 +18807,24 @@ export interface DataTypesUpdateOrganizationRequest {
17996
18807
  * @memberof DataTypesUpdateOrganizationRequest
17997
18808
  */
17998
18809
  'OrgName': string;
18810
+ /**
18811
+ *
18812
+ * @type {string}
18813
+ * @memberof DataTypesUpdateOrganizationRequest
18814
+ */
18815
+ 'PAN'?: string;
17999
18816
  /**
18000
18817
  *
18001
18818
  * @type {string}
18002
18819
  * @memberof DataTypesUpdateOrganizationRequest
18003
18820
  */
18004
18821
  'PhoneNo'?: string;
18822
+ /**
18823
+ *
18824
+ * @type {string}
18825
+ * @memberof DataTypesUpdateOrganizationRequest
18826
+ */
18827
+ 'PlaceOfSupply'?: string;
18005
18828
  /**
18006
18829
  *
18007
18830
  * @type {string}
@@ -18014,6 +18837,36 @@ export interface DataTypesUpdateOrganizationRequest {
18014
18837
  * @memberof DataTypesUpdateOrganizationRequest
18015
18838
  */
18016
18839
  'TIN'?: string;
18840
+ /**
18841
+ *
18842
+ * @type {string}
18843
+ * @memberof DataTypesUpdateOrganizationRequest
18844
+ */
18845
+ 'TaxExemptionCertificate'?: string;
18846
+ /**
18847
+ *
18848
+ * @type {boolean}
18849
+ * @memberof DataTypesUpdateOrganizationRequest
18850
+ */
18851
+ 'TaxExemptionStatus'?: boolean;
18852
+ /**
18853
+ *
18854
+ * @type {string}
18855
+ * @memberof DataTypesUpdateOrganizationRequest
18856
+ */
18857
+ 'TaxExemptionValidUntil'?: string;
18858
+ /**
18859
+ *
18860
+ * @type {string}
18861
+ * @memberof DataTypesUpdateOrganizationRequest
18862
+ */
18863
+ 'TaxRegistrationCountry'?: string;
18864
+ /**
18865
+ *
18866
+ * @type {string}
18867
+ * @memberof DataTypesUpdateOrganizationRequest
18868
+ */
18869
+ 'TaxRegistrationNumber'?: string;
18017
18870
  /**
18018
18871
  *
18019
18872
  * @type {string}
@@ -24006,6 +24859,15 @@ export declare const AuthApiAxiosParamCreator: (configuration?: Configuration) =
24006
24859
  * @throws {RequiredError}
24007
24860
  */
24008
24861
  authSessionGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
24862
+ /**
24863
+ * Allows the authenticated user to link or unlink a social login provider (Google, GitHub, etc.)
24864
+ * @summary Link or Unlink an SSO provider
24865
+ * @param {string} authorization Bearer &lt;access_token&gt;
24866
+ * @param {DataTypesLoginRequest} dataTypesLoginRequest SSO link/unlink request payload
24867
+ * @param {*} [options] Override http request option.
24868
+ * @throws {RequiredError}
24869
+ */
24870
+ authUpdateSsoPost: (authorization: string, dataTypesLoginRequest: DataTypesLoginRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
24009
24871
  };
24010
24872
  /**
24011
24873
  * AuthApi - functional programming interface
@@ -24034,6 +24896,15 @@ export declare const AuthApiFp: (configuration?: Configuration) => {
24034
24896
  * @throws {RequiredError}
24035
24897
  */
24036
24898
  authSessionGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesLoginResponseWrapper>>;
24899
+ /**
24900
+ * Allows the authenticated user to link or unlink a social login provider (Google, GitHub, etc.)
24901
+ * @summary Link or Unlink an SSO provider
24902
+ * @param {string} authorization Bearer &lt;access_token&gt;
24903
+ * @param {DataTypesLoginRequest} dataTypesLoginRequest SSO link/unlink request payload
24904
+ * @param {*} [options] Override http request option.
24905
+ * @throws {RequiredError}
24906
+ */
24907
+ authUpdateSsoPost(authorization: string, dataTypesLoginRequest: DataTypesLoginRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
24037
24908
  };
24038
24909
  /**
24039
24910
  * AuthApi - factory interface
@@ -24062,6 +24933,15 @@ export declare const AuthApiFactory: (configuration?: Configuration, basePath?:
24062
24933
  * @throws {RequiredError}
24063
24934
  */
24064
24935
  authSessionGet(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesLoginResponseWrapper>;
24936
+ /**
24937
+ * Allows the authenticated user to link or unlink a social login provider (Google, GitHub, etc.)
24938
+ * @summary Link or Unlink an SSO provider
24939
+ * @param {string} authorization Bearer &lt;access_token&gt;
24940
+ * @param {DataTypesLoginRequest} dataTypesLoginRequest SSO link/unlink request payload
24941
+ * @param {*} [options] Override http request option.
24942
+ * @throws {RequiredError}
24943
+ */
24944
+ authUpdateSsoPost(authorization: string, dataTypesLoginRequest: DataTypesLoginRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
24065
24945
  };
24066
24946
  /**
24067
24947
  * AuthApi - object-oriented interface
@@ -24095,6 +24975,16 @@ export declare class AuthApi extends BaseAPI {
24095
24975
  * @memberof AuthApi
24096
24976
  */
24097
24977
  authSessionGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesLoginResponseWrapper, any, {}>>;
24978
+ /**
24979
+ * Allows the authenticated user to link or unlink a social login provider (Google, GitHub, etc.)
24980
+ * @summary Link or Unlink an SSO provider
24981
+ * @param {string} authorization Bearer &lt;access_token&gt;
24982
+ * @param {DataTypesLoginRequest} dataTypesLoginRequest SSO link/unlink request payload
24983
+ * @param {*} [options] Override http request option.
24984
+ * @throws {RequiredError}
24985
+ * @memberof AuthApi
24986
+ */
24987
+ authUpdateSsoPost(authorization: string, dataTypesLoginRequest: DataTypesLoginRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
24098
24988
  }
24099
24989
  /**
24100
24990
  * AutomatedRefundManagementApi - axios parameter creator
@@ -24432,6 +25322,46 @@ export declare const BillingDashboardApiAxiosParamCreator: (configuration?: Conf
24432
25322
  * @throws {RequiredError}
24433
25323
  */
24434
25324
  adminBillingPaymentTransactionsGet: (orgId?: number, startDate?: string, endDate?: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
25325
+ /**
25326
+ * Generates receipts for all completed payments without receipts in the organization
25327
+ * @summary Auto-generate receipts for organization
25328
+ * @param {*} [options] Override http request option.
25329
+ * @throws {RequiredError}
25330
+ */
25331
+ adminBillingReceiptsAutoGeneratePost: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
25332
+ /**
25333
+ * Generates a receipt for a completed payment
25334
+ * @summary Generate receipt from payment
25335
+ * @param {number} paymentId Payment ID
25336
+ * @param {*} [options] Override http request option.
25337
+ * @throws {RequiredError}
25338
+ */
25339
+ adminBillingReceiptsGeneratePaymentIdPost: (paymentId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
25340
+ /**
25341
+ * Retrieves a paginated list of receipts for the organization
25342
+ * @summary List receipts
25343
+ * @param {number} [page] Page number (default: 1)
25344
+ * @param {number} [pageSize] Page size (default: 20, max: 100)
25345
+ * @param {*} [options] Override http request option.
25346
+ * @throws {RequiredError}
25347
+ */
25348
+ adminBillingReceiptsGet: (page?: number, pageSize?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
25349
+ /**
25350
+ * Returns a receipt as a base64-encoded PDF blob for frontend download. PDFs are cached in S3 for performance.
25351
+ * @summary Download receipt PDF
25352
+ * @param {number} id Receipt ID
25353
+ * @param {*} [options] Override http request option.
25354
+ * @throws {RequiredError}
25355
+ */
25356
+ adminBillingReceiptsIdDownloadGet: (id: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
25357
+ /**
25358
+ * Retrieves a single receipt by its ID
25359
+ * @summary Get receipt by ID
25360
+ * @param {number} id Receipt ID
25361
+ * @param {*} [options] Override http request option.
25362
+ * @throws {RequiredError}
25363
+ */
25364
+ adminBillingReceiptsIdGet: (id: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
24435
25365
  /**
24436
25366
  * Returns saved payment cards from Razorpay for the organization
24437
25367
  * @summary Get saved payment cards
@@ -24569,7 +25499,7 @@ export declare const BillingDashboardApiFp: (configuration?: Configuration) => {
24569
25499
  * @param {*} [options] Override http request option.
24570
25500
  * @throws {RequiredError}
24571
25501
  */
24572
- adminBillingInvoicesGenerateForOrderOrderIdPost(orderId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseArrayDataTypesInvoice>>;
25502
+ adminBillingInvoicesGenerateForOrderOrderIdPost(orderId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
24573
25503
  /**
24574
25504
  * Generates an invoice automatically from a completed payment
24575
25505
  * @summary Generate invoice from payment
@@ -24701,6 +25631,46 @@ export declare const BillingDashboardApiFp: (configuration?: Configuration) => {
24701
25631
  * @throws {RequiredError}
24702
25632
  */
24703
25633
  adminBillingPaymentTransactionsGet(orgId?: number, startDate?: string, endDate?: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
25634
+ /**
25635
+ * Generates receipts for all completed payments without receipts in the organization
25636
+ * @summary Auto-generate receipts for organization
25637
+ * @param {*} [options] Override http request option.
25638
+ * @throws {RequiredError}
25639
+ */
25640
+ adminBillingReceiptsAutoGeneratePost(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
25641
+ /**
25642
+ * Generates a receipt for a completed payment
25643
+ * @summary Generate receipt from payment
25644
+ * @param {number} paymentId Payment ID
25645
+ * @param {*} [options] Override http request option.
25646
+ * @throws {RequiredError}
25647
+ */
25648
+ adminBillingReceiptsGeneratePaymentIdPost(paymentId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesReceipt>>;
25649
+ /**
25650
+ * Retrieves a paginated list of receipts for the organization
25651
+ * @summary List receipts
25652
+ * @param {number} [page] Page number (default: 1)
25653
+ * @param {number} [pageSize] Page size (default: 20, max: 100)
25654
+ * @param {*} [options] Override http request option.
25655
+ * @throws {RequiredError}
25656
+ */
25657
+ adminBillingReceiptsGet(page?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
25658
+ /**
25659
+ * Returns a receipt as a base64-encoded PDF blob for frontend download. PDFs are cached in S3 for performance.
25660
+ * @summary Download receipt PDF
25661
+ * @param {number} id Receipt ID
25662
+ * @param {*} [options] Override http request option.
25663
+ * @throws {RequiredError}
25664
+ */
25665
+ adminBillingReceiptsIdDownloadGet(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
25666
+ /**
25667
+ * Retrieves a single receipt by its ID
25668
+ * @summary Get receipt by ID
25669
+ * @param {number} id Receipt ID
25670
+ * @param {*} [options] Override http request option.
25671
+ * @throws {RequiredError}
25672
+ */
25673
+ adminBillingReceiptsIdGet(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesReceipt>>;
24704
25674
  /**
24705
25675
  * Returns saved payment cards from Razorpay for the organization
24706
25676
  * @summary Get saved payment cards
@@ -24838,7 +25808,7 @@ export declare const BillingDashboardApiFactory: (configuration?: Configuration,
24838
25808
  * @param {*} [options] Override http request option.
24839
25809
  * @throws {RequiredError}
24840
25810
  */
24841
- adminBillingInvoicesGenerateForOrderOrderIdPost(orderId: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseArrayDataTypesInvoice>;
25811
+ adminBillingInvoicesGenerateForOrderOrderIdPost(orderId: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
24842
25812
  /**
24843
25813
  * Generates an invoice automatically from a completed payment
24844
25814
  * @summary Generate invoice from payment
@@ -24970,6 +25940,46 @@ export declare const BillingDashboardApiFactory: (configuration?: Configuration,
24970
25940
  * @throws {RequiredError}
24971
25941
  */
24972
25942
  adminBillingPaymentTransactionsGet(orgId?: number, startDate?: string, endDate?: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
25943
+ /**
25944
+ * Generates receipts for all completed payments without receipts in the organization
25945
+ * @summary Auto-generate receipts for organization
25946
+ * @param {*} [options] Override http request option.
25947
+ * @throws {RequiredError}
25948
+ */
25949
+ adminBillingReceiptsAutoGeneratePost(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
25950
+ /**
25951
+ * Generates a receipt for a completed payment
25952
+ * @summary Generate receipt from payment
25953
+ * @param {number} paymentId Payment ID
25954
+ * @param {*} [options] Override http request option.
25955
+ * @throws {RequiredError}
25956
+ */
25957
+ adminBillingReceiptsGeneratePaymentIdPost(paymentId: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesReceipt>;
25958
+ /**
25959
+ * Retrieves a paginated list of receipts for the organization
25960
+ * @summary List receipts
25961
+ * @param {number} [page] Page number (default: 1)
25962
+ * @param {number} [pageSize] Page size (default: 20, max: 100)
25963
+ * @param {*} [options] Override http request option.
25964
+ * @throws {RequiredError}
25965
+ */
25966
+ adminBillingReceiptsGet(page?: number, pageSize?: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
25967
+ /**
25968
+ * Returns a receipt as a base64-encoded PDF blob for frontend download. PDFs are cached in S3 for performance.
25969
+ * @summary Download receipt PDF
25970
+ * @param {number} id Receipt ID
25971
+ * @param {*} [options] Override http request option.
25972
+ * @throws {RequiredError}
25973
+ */
25974
+ adminBillingReceiptsIdDownloadGet(id: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
25975
+ /**
25976
+ * Retrieves a single receipt by its ID
25977
+ * @summary Get receipt by ID
25978
+ * @param {number} id Receipt ID
25979
+ * @param {*} [options] Override http request option.
25980
+ * @throws {RequiredError}
25981
+ */
25982
+ adminBillingReceiptsIdGet(id: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesReceipt>;
24973
25983
  /**
24974
25984
  * Returns saved payment cards from Razorpay for the organization
24975
25985
  * @summary Get saved payment cards
@@ -25120,7 +26130,7 @@ export declare class BillingDashboardApi extends BaseAPI {
25120
26130
  * @throws {RequiredError}
25121
26131
  * @memberof BillingDashboardApi
25122
26132
  */
25123
- adminBillingInvoicesGenerateForOrderOrderIdPost(orderId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesGenericResponseArrayDataTypesInvoice, any, {}>>;
26133
+ adminBillingInvoicesGenerateForOrderOrderIdPost(orderId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
25124
26134
  /**
25125
26135
  * Generates an invoice automatically from a completed payment
25126
26136
  * @summary Generate invoice from payment
@@ -25266,6 +26276,51 @@ export declare class BillingDashboardApi extends BaseAPI {
25266
26276
  * @memberof BillingDashboardApi
25267
26277
  */
25268
26278
  adminBillingPaymentTransactionsGet(orgId?: number, startDate?: string, endDate?: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
26279
+ /**
26280
+ * Generates receipts for all completed payments without receipts in the organization
26281
+ * @summary Auto-generate receipts for organization
26282
+ * @param {*} [options] Override http request option.
26283
+ * @throws {RequiredError}
26284
+ * @memberof BillingDashboardApi
26285
+ */
26286
+ adminBillingReceiptsAutoGeneratePost(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
26287
+ /**
26288
+ * Generates a receipt for a completed payment
26289
+ * @summary Generate receipt from payment
26290
+ * @param {number} paymentId Payment ID
26291
+ * @param {*} [options] Override http request option.
26292
+ * @throws {RequiredError}
26293
+ * @memberof BillingDashboardApi
26294
+ */
26295
+ adminBillingReceiptsGeneratePaymentIdPost(paymentId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesGenericResponseDataTypesReceipt, any, {}>>;
26296
+ /**
26297
+ * Retrieves a paginated list of receipts for the organization
26298
+ * @summary List receipts
26299
+ * @param {number} [page] Page number (default: 1)
26300
+ * @param {number} [pageSize] Page size (default: 20, max: 100)
26301
+ * @param {*} [options] Override http request option.
26302
+ * @throws {RequiredError}
26303
+ * @memberof BillingDashboardApi
26304
+ */
26305
+ adminBillingReceiptsGet(page?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
26306
+ /**
26307
+ * Returns a receipt as a base64-encoded PDF blob for frontend download. PDFs are cached in S3 for performance.
26308
+ * @summary Download receipt PDF
26309
+ * @param {number} id Receipt ID
26310
+ * @param {*} [options] Override http request option.
26311
+ * @throws {RequiredError}
26312
+ * @memberof BillingDashboardApi
26313
+ */
26314
+ adminBillingReceiptsIdDownloadGet(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
26315
+ /**
26316
+ * Retrieves a single receipt by its ID
26317
+ * @summary Get receipt by ID
26318
+ * @param {number} id Receipt ID
26319
+ * @param {*} [options] Override http request option.
26320
+ * @throws {RequiredError}
26321
+ * @memberof BillingDashboardApi
26322
+ */
26323
+ adminBillingReceiptsIdGet(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesGenericResponseDataTypesReceipt, any, {}>>;
25269
26324
  /**
25270
26325
  * Returns saved payment cards from Razorpay for the organization
25271
26326
  * @summary Get saved payment cards
@@ -25365,6 +26420,94 @@ export declare class CommonApi extends BaseAPI {
25365
26420
  [key: string]: any;
25366
26421
  }, any, {}>>;
25367
26422
  }
26423
+ /**
26424
+ * CompanyConfigApi - axios parameter creator
26425
+ * @export
26426
+ */
26427
+ export declare const CompanyConfigApiAxiosParamCreator: (configuration?: Configuration) => {
26428
+ /**
26429
+ * Retrieves company information used on invoices and receipts
26430
+ * @summary Get company configuration
26431
+ * @param {*} [options] Override http request option.
26432
+ * @throws {RequiredError}
26433
+ */
26434
+ adminV1ConfigCompanyGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
26435
+ /**
26436
+ * Updates company information used on invoices and receipts
26437
+ * @summary Update company configuration
26438
+ * @param {DataTypesCompanyConfigRequest} dataTypesCompanyConfigRequest Company config
26439
+ * @param {*} [options] Override http request option.
26440
+ * @throws {RequiredError}
26441
+ */
26442
+ adminV1ConfigCompanyPut: (dataTypesCompanyConfigRequest: DataTypesCompanyConfigRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
26443
+ };
26444
+ /**
26445
+ * CompanyConfigApi - functional programming interface
26446
+ * @export
26447
+ */
26448
+ export declare const CompanyConfigApiFp: (configuration?: Configuration) => {
26449
+ /**
26450
+ * Retrieves company information used on invoices and receipts
26451
+ * @summary Get company configuration
26452
+ * @param {*} [options] Override http request option.
26453
+ * @throws {RequiredError}
26454
+ */
26455
+ adminV1ConfigCompanyGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesCompanyConfig>>;
26456
+ /**
26457
+ * Updates company information used on invoices and receipts
26458
+ * @summary Update company configuration
26459
+ * @param {DataTypesCompanyConfigRequest} dataTypesCompanyConfigRequest Company config
26460
+ * @param {*} [options] Override http request option.
26461
+ * @throws {RequiredError}
26462
+ */
26463
+ adminV1ConfigCompanyPut(dataTypesCompanyConfigRequest: DataTypesCompanyConfigRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>>;
26464
+ };
26465
+ /**
26466
+ * CompanyConfigApi - factory interface
26467
+ * @export
26468
+ */
26469
+ export declare const CompanyConfigApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
26470
+ /**
26471
+ * Retrieves company information used on invoices and receipts
26472
+ * @summary Get company configuration
26473
+ * @param {*} [options] Override http request option.
26474
+ * @throws {RequiredError}
26475
+ */
26476
+ adminV1ConfigCompanyGet(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesCompanyConfig>;
26477
+ /**
26478
+ * Updates company information used on invoices and receipts
26479
+ * @summary Update company configuration
26480
+ * @param {DataTypesCompanyConfigRequest} dataTypesCompanyConfigRequest Company config
26481
+ * @param {*} [options] Override http request option.
26482
+ * @throws {RequiredError}
26483
+ */
26484
+ adminV1ConfigCompanyPut(dataTypesCompanyConfigRequest: DataTypesCompanyConfigRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse>;
26485
+ };
26486
+ /**
26487
+ * CompanyConfigApi - object-oriented interface
26488
+ * @export
26489
+ * @class CompanyConfigApi
26490
+ * @extends {BaseAPI}
26491
+ */
26492
+ export declare class CompanyConfigApi extends BaseAPI {
26493
+ /**
26494
+ * Retrieves company information used on invoices and receipts
26495
+ * @summary Get company configuration
26496
+ * @param {*} [options] Override http request option.
26497
+ * @throws {RequiredError}
26498
+ * @memberof CompanyConfigApi
26499
+ */
26500
+ adminV1ConfigCompanyGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesCompanyConfig, any, {}>>;
26501
+ /**
26502
+ * Updates company information used on invoices and receipts
26503
+ * @summary Update company configuration
26504
+ * @param {DataTypesCompanyConfigRequest} dataTypesCompanyConfigRequest Company config
26505
+ * @param {*} [options] Override http request option.
26506
+ * @throws {RequiredError}
26507
+ * @memberof CompanyConfigApi
26508
+ */
26509
+ adminV1ConfigCompanyPut(dataTypesCompanyConfigRequest: DataTypesCompanyConfigRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
26510
+ }
25368
26511
  /**
25369
26512
  * ConnectorsApi - axios parameter creator
25370
26513
  * @export
@@ -29638,10 +30781,22 @@ export declare const PaymentGatewayApiAxiosParamCreator: (configuration?: Config
29638
30781
  * @summary List orders (paginated)
29639
30782
  * @param {number} [page] Page number (default 1)
29640
30783
  * @param {number} [pageSize] Page size (default 20, max 100)
30784
+ * @param {string} [search] Search by order ID, gateway references, amount, or customer details
30785
+ * @param {string} [statuses] Comma-separated statuses to include
30786
+ * @param {string} [paymentTypes] Comma-separated payment types to include
30787
+ * @param {string} [gateways] Comma-separated gateways to include
30788
+ * @param {string} [currencies] Comma-separated currencies to include
30789
+ * @param {string} [createdFrom] Created_at filter (RFC3339 or YYYY-MM-DD)
30790
+ * @param {string} [createdTo] Created_at upper bound (inclusive, RFC3339 or YYYY-MM-DD)
30791
+ * @param {number} [amountMin] Minimum order amount
30792
+ * @param {number} [amountMax] Maximum order amount
30793
+ * @param {string} [sort] Multi-field sort (e.g. created_at:desc,amount:asc or -created_at,+amount)
30794
+ * @param {string} [sortBy] Legacy single-field sort
30795
+ * @param {string} [sortOrder] Sort direction for sort_by (asc or desc)
29641
30796
  * @param {*} [options] Override http request option.
29642
30797
  * @throws {RequiredError}
29643
30798
  */
29644
- adminPaymentGatewayOrdersGet: (page?: number, pageSize?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
30799
+ adminPaymentGatewayOrdersGet: (page?: number, pageSize?: number, search?: string, statuses?: string, paymentTypes?: string, gateways?: string, currencies?: string, createdFrom?: string, createdTo?: string, amountMin?: number, amountMax?: number, sort?: string, sortBy?: string, sortOrder?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
29645
30800
  /**
29646
30801
  * Returns order details, list of payment transactions for that order, and the latest invoice if available. Does not expose raw gateway secrets.
29647
30802
  * @summary Get single order details with transactions and invoice
@@ -29747,10 +30902,22 @@ export declare const PaymentGatewayApiFp: (configuration?: Configuration) => {
29747
30902
  * @summary List orders (paginated)
29748
30903
  * @param {number} [page] Page number (default 1)
29749
30904
  * @param {number} [pageSize] Page size (default 20, max 100)
30905
+ * @param {string} [search] Search by order ID, gateway references, amount, or customer details
30906
+ * @param {string} [statuses] Comma-separated statuses to include
30907
+ * @param {string} [paymentTypes] Comma-separated payment types to include
30908
+ * @param {string} [gateways] Comma-separated gateways to include
30909
+ * @param {string} [currencies] Comma-separated currencies to include
30910
+ * @param {string} [createdFrom] Created_at filter (RFC3339 or YYYY-MM-DD)
30911
+ * @param {string} [createdTo] Created_at upper bound (inclusive, RFC3339 or YYYY-MM-DD)
30912
+ * @param {number} [amountMin] Minimum order amount
30913
+ * @param {number} [amountMax] Maximum order amount
30914
+ * @param {string} [sort] Multi-field sort (e.g. created_at:desc,amount:asc or -created_at,+amount)
30915
+ * @param {string} [sortBy] Legacy single-field sort
30916
+ * @param {string} [sortOrder] Sort direction for sort_by (asc or desc)
29750
30917
  * @param {*} [options] Override http request option.
29751
30918
  * @throws {RequiredError}
29752
30919
  */
29753
- adminPaymentGatewayOrdersGet(page?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesOrdersListResponse>>;
30920
+ adminPaymentGatewayOrdersGet(page?: number, pageSize?: number, search?: string, statuses?: string, paymentTypes?: string, gateways?: string, currencies?: string, createdFrom?: string, createdTo?: string, amountMin?: number, amountMax?: number, sort?: string, sortBy?: string, sortOrder?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesOrdersListResponse>>;
29754
30921
  /**
29755
30922
  * Returns order details, list of payment transactions for that order, and the latest invoice if available. Does not expose raw gateway secrets.
29756
30923
  * @summary Get single order details with transactions and invoice
@@ -29860,10 +31027,22 @@ export declare const PaymentGatewayApiFactory: (configuration?: Configuration, b
29860
31027
  * @summary List orders (paginated)
29861
31028
  * @param {number} [page] Page number (default 1)
29862
31029
  * @param {number} [pageSize] Page size (default 20, max 100)
31030
+ * @param {string} [search] Search by order ID, gateway references, amount, or customer details
31031
+ * @param {string} [statuses] Comma-separated statuses to include
31032
+ * @param {string} [paymentTypes] Comma-separated payment types to include
31033
+ * @param {string} [gateways] Comma-separated gateways to include
31034
+ * @param {string} [currencies] Comma-separated currencies to include
31035
+ * @param {string} [createdFrom] Created_at filter (RFC3339 or YYYY-MM-DD)
31036
+ * @param {string} [createdTo] Created_at upper bound (inclusive, RFC3339 or YYYY-MM-DD)
31037
+ * @param {number} [amountMin] Minimum order amount
31038
+ * @param {number} [amountMax] Maximum order amount
31039
+ * @param {string} [sort] Multi-field sort (e.g. created_at:desc,amount:asc or -created_at,+amount)
31040
+ * @param {string} [sortBy] Legacy single-field sort
31041
+ * @param {string} [sortOrder] Sort direction for sort_by (asc or desc)
29863
31042
  * @param {*} [options] Override http request option.
29864
31043
  * @throws {RequiredError}
29865
31044
  */
29866
- adminPaymentGatewayOrdersGet(page?: number, pageSize?: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesOrdersListResponse>;
31045
+ adminPaymentGatewayOrdersGet(page?: number, pageSize?: number, search?: string, statuses?: string, paymentTypes?: string, gateways?: string, currencies?: string, createdFrom?: string, createdTo?: string, amountMin?: number, amountMax?: number, sort?: string, sortBy?: string, sortOrder?: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesOrdersListResponse>;
29867
31046
  /**
29868
31047
  * Returns order details, list of payment transactions for that order, and the latest invoice if available. Does not expose raw gateway secrets.
29869
31048
  * @summary Get single order details with transactions and invoice
@@ -29978,11 +31157,23 @@ export declare class PaymentGatewayApi extends BaseAPI {
29978
31157
  * @summary List orders (paginated)
29979
31158
  * @param {number} [page] Page number (default 1)
29980
31159
  * @param {number} [pageSize] Page size (default 20, max 100)
31160
+ * @param {string} [search] Search by order ID, gateway references, amount, or customer details
31161
+ * @param {string} [statuses] Comma-separated statuses to include
31162
+ * @param {string} [paymentTypes] Comma-separated payment types to include
31163
+ * @param {string} [gateways] Comma-separated gateways to include
31164
+ * @param {string} [currencies] Comma-separated currencies to include
31165
+ * @param {string} [createdFrom] Created_at filter (RFC3339 or YYYY-MM-DD)
31166
+ * @param {string} [createdTo] Created_at upper bound (inclusive, RFC3339 or YYYY-MM-DD)
31167
+ * @param {number} [amountMin] Minimum order amount
31168
+ * @param {number} [amountMax] Maximum order amount
31169
+ * @param {string} [sort] Multi-field sort (e.g. created_at:desc,amount:asc or -created_at,+amount)
31170
+ * @param {string} [sortBy] Legacy single-field sort
31171
+ * @param {string} [sortOrder] Sort direction for sort_by (asc or desc)
29981
31172
  * @param {*} [options] Override http request option.
29982
31173
  * @throws {RequiredError}
29983
31174
  * @memberof PaymentGatewayApi
29984
31175
  */
29985
- adminPaymentGatewayOrdersGet(page?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesOrdersListResponse, any, {}>>;
31176
+ adminPaymentGatewayOrdersGet(page?: number, pageSize?: number, search?: string, statuses?: string, paymentTypes?: string, gateways?: string, currencies?: string, createdFrom?: string, createdTo?: string, amountMin?: number, amountMax?: number, sort?: string, sortBy?: string, sortOrder?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesOrdersListResponse, any, {}>>;
29986
31177
  /**
29987
31178
  * Returns order details, list of payment transactions for that order, and the latest invoice if available. Does not expose raw gateway secrets.
29988
31179
  * @summary Get single order details with transactions and invoice