@gofynd/fdk-client-javascript 1.4.2-beta.1 → 1.4.2-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (106) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. package/sdk/application/Cart/CartApplicationModel.d.ts +1742 -1726
  4. package/sdk/application/Cart/CartApplicationModel.js +1497 -1481
  5. package/sdk/application/Catalog/CatalogApplicationModel.d.ts +1917 -1917
  6. package/sdk/application/Catalog/CatalogApplicationModel.js +1611 -1611
  7. package/sdk/application/Common/CommonApplicationModel.d.ts +235 -235
  8. package/sdk/application/Common/CommonApplicationModel.js +172 -172
  9. package/sdk/application/Communication/CommunicationApplicationModel.d.ts +72 -72
  10. package/sdk/application/Communication/CommunicationApplicationModel.js +64 -64
  11. package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +1614 -1614
  12. package/sdk/application/Configuration/ConfigurationApplicationModel.js +1151 -1151
  13. package/sdk/application/Content/ContentApplicationModel.d.ts +797 -797
  14. package/sdk/application/Content/ContentApplicationModel.js +757 -757
  15. package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +79 -79
  16. package/sdk/application/FileStorage/FileStorageApplicationModel.js +84 -84
  17. package/sdk/application/Lead/LeadApplicationModel.d.ts +417 -417
  18. package/sdk/application/Lead/LeadApplicationModel.js +301 -301
  19. package/sdk/application/Logistic/LogisticApplicationModel.d.ts +666 -666
  20. package/sdk/application/Logistic/LogisticApplicationModel.js +601 -601
  21. package/sdk/application/Order/OrderApplicationModel.d.ts +846 -846
  22. package/sdk/application/Order/OrderApplicationModel.js +822 -822
  23. package/sdk/application/Payment/PaymentApplicationClient.d.ts +5 -5
  24. package/sdk/application/Payment/PaymentApplicationClient.js +10 -10
  25. package/sdk/application/Payment/PaymentApplicationModel.d.ts +2155 -2150
  26. package/sdk/application/Payment/PaymentApplicationModel.js +1460 -1458
  27. package/sdk/application/Payment/PaymentApplicationValidator.d.ts +5 -5
  28. package/sdk/application/Payment/PaymentApplicationValidator.js +3 -3
  29. package/sdk/application/PosCart/PosCartApplicationModel.d.ts +1462 -1462
  30. package/sdk/application/PosCart/PosCartApplicationModel.js +1260 -1260
  31. package/sdk/application/Rewards/RewardsApplicationModel.d.ts +214 -214
  32. package/sdk/application/Rewards/RewardsApplicationModel.js +211 -211
  33. package/sdk/application/Share/ShareApplicationModel.d.ts +114 -114
  34. package/sdk/application/Share/ShareApplicationModel.js +121 -121
  35. package/sdk/application/Theme/ThemeApplicationModel.d.ts +895 -895
  36. package/sdk/application/Theme/ThemeApplicationModel.js +684 -684
  37. package/sdk/application/User/UserApplicationModel.d.ts +762 -762
  38. package/sdk/application/User/UserApplicationModel.js +738 -738
  39. package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +63 -63
  40. package/sdk/partner/FileStorage/FileStoragePartnerModel.js +65 -65
  41. package/sdk/partner/Lead/LeadPartnerModel.d.ts +661 -661
  42. package/sdk/partner/Lead/LeadPartnerModel.js +491 -491
  43. package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +223 -223
  44. package/sdk/partner/Logistics/LogisticsPartnerModel.js +235 -235
  45. package/sdk/partner/Theme/ThemePartnerModel.d.ts +1087 -1087
  46. package/sdk/partner/Theme/ThemePartnerModel.js +819 -819
  47. package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +386 -386
  48. package/sdk/partner/Webhook/WebhookPartnerModel.js +342 -342
  49. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +123 -123
  50. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +109 -109
  51. package/sdk/platform/Billing/BillingPlatformModel.d.ts +801 -801
  52. package/sdk/platform/Billing/BillingPlatformModel.js +783 -783
  53. package/sdk/platform/Cart/CartPlatformModel.d.ts +3333 -3317
  54. package/sdk/platform/Cart/CartPlatformModel.js +2936 -2920
  55. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +1013 -1013
  56. package/sdk/platform/Catalog/CatalogPlatformModel.js +923 -923
  57. package/sdk/platform/Common/CommonPlatformModel.d.ts +255 -255
  58. package/sdk/platform/Common/CommonPlatformModel.js +187 -187
  59. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +1238 -1238
  60. package/sdk/platform/Communication/CommunicationPlatformModel.js +1273 -1273
  61. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +661 -661
  62. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +692 -692
  63. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +3198 -3198
  64. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +2247 -2247
  65. package/sdk/platform/Content/ContentPlatformModel.d.ts +1833 -1833
  66. package/sdk/platform/Content/ContentPlatformModel.js +1837 -1837
  67. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +245 -245
  68. package/sdk/platform/Discount/DiscountPlatformModel.js +248 -248
  69. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +865 -865
  70. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +877 -877
  71. package/sdk/platform/Finance/FinancePlatformModel.d.ts +1044 -1044
  72. package/sdk/platform/Finance/FinancePlatformModel.js +974 -974
  73. package/sdk/platform/Inventory/InventoryPlatformModel.d.ts +942 -942
  74. package/sdk/platform/Inventory/InventoryPlatformModel.js +1003 -1003
  75. package/sdk/platform/Lead/LeadPlatformModel.d.ts +608 -608
  76. package/sdk/platform/Lead/LeadPlatformModel.js +465 -465
  77. package/sdk/platform/Order/OrderPlatformModel.d.ts +5180 -5176
  78. package/sdk/platform/Order/OrderPlatformModel.js +4740 -4736
  79. package/sdk/platform/Partner/PartnerPlatformModel.d.ts +22 -22
  80. package/sdk/platform/Partner/PartnerPlatformModel.js +22 -22
  81. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +2670 -2660
  82. package/sdk/platform/Payment/PaymentPlatformModel.js +1831 -1827
  83. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +204 -204
  84. package/sdk/platform/Rewards/RewardsPlatformModel.js +199 -199
  85. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +1505 -1507
  86. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +1532 -1536
  87. package/sdk/platform/Share/SharePlatformModel.d.ts +147 -147
  88. package/sdk/platform/Share/SharePlatformModel.js +139 -139
  89. package/sdk/platform/Theme/ThemePlatformModel.d.ts +1046 -1046
  90. package/sdk/platform/Theme/ThemePlatformModel.js +789 -789
  91. package/sdk/platform/User/UserPlatformModel.d.ts +758 -758
  92. package/sdk/platform/User/UserPlatformModel.js +643 -643
  93. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +439 -439
  94. package/sdk/platform/Webhook/WebhookPlatformModel.js +364 -364
  95. package/sdk/public/Billing/BillingPublicModel.d.ts +55 -55
  96. package/sdk/public/Billing/BillingPublicModel.js +51 -51
  97. package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +237 -237
  98. package/sdk/public/Configuration/ConfigurationPublicModel.js +174 -174
  99. package/sdk/public/Content/ContentPublicModel.d.ts +26 -26
  100. package/sdk/public/Content/ContentPublicModel.js +28 -28
  101. package/sdk/public/Inventory/InventoryPublicModel.d.ts +237 -237
  102. package/sdk/public/Inventory/InventoryPublicModel.js +257 -257
  103. package/sdk/public/Partner/PartnerPublicModel.d.ts +104 -104
  104. package/sdk/public/Partner/PartnerPublicModel.js +113 -113
  105. package/sdk/public/Webhook/WebhookPublicModel.d.ts +87 -87
  106. package/sdk/public/Webhook/WebhookPublicModel.js +93 -93
@@ -1,71 +1,101 @@
1
1
  export = FileStoragePlatformModel;
2
2
  /**
3
- * @typedef AwbNumberBarcodeGenerator
4
- * @property {Kwargs} [kwargs]
5
- * @property {string} [method]
6
- */
7
- /**
8
- * @typedef AwbNumberLabelBarcodeGenerator
9
- * @property {KwargsAwbNumber} [kwargs]
10
- * @property {string} [method]
11
- */
12
- /**
13
- * @typedef Brand
14
- * @property {string} [logo]
15
- * @property {string} [name]
3
+ * @typedef FailedResponse
4
+ * @property {string} message
16
5
  */
17
6
  /**
18
7
  * @typedef CDN
8
+ * @property {string} url
19
9
  * @property {string} absolute_url
20
10
  * @property {string} relative_url
11
+ */
12
+ /**
13
+ * @typedef Upload
14
+ * @property {number} expiry
21
15
  * @property {string} url
22
16
  */
23
17
  /**
24
- * @typedef Cgst
25
- * @property {number} [percent]
26
- * @property {number} [value]
18
+ * @typedef StartResponse
19
+ * @property {string} file_name
20
+ * @property {string} file_path
21
+ * @property {string} content_type
22
+ * @property {string} [method]
23
+ * @property {string} namespace
24
+ * @property {string} operation
25
+ * @property {number} size
26
+ * @property {Upload} upload
27
+ * @property {CDN} cdn
28
+ * @property {string[]} [tags]
27
29
  */
28
30
  /**
29
- * @typedef CompanyDetail
30
- * @property {string} [address]
31
- * @property {Object} [business_country_currency]
32
- * @property {string} [business_country_timezone]
33
- * @property {string} [cin]
34
- * @property {string} [city]
35
- * @property {string} [country]
36
- * @property {string} [country_code]
37
- * @property {string} [display_address]
38
- * @property {string} [email]
39
- * @property {string} [gstin]
40
- * @property {string} [name]
41
- * @property {string} [pan]
42
- * @property {Object} [phone]
43
- * @property {string} [phone_no]
44
- * @property {string} [sector]
45
- * @property {string} [state]
46
- * @property {string} [state_code]
47
- * @property {string} [trn]
48
- * @property {string} [vat]
49
- * @property {string} [website_url]
50
- * @property {number} [zip_code]
31
+ * @typedef StartRequest
32
+ * @property {string} file_name
33
+ * @property {string} content_type
34
+ * @property {number} size
35
+ * @property {string[]} [tags]
36
+ * @property {Object} [params]
37
+ */
38
+ /**
39
+ * @typedef CreatedBy
40
+ * @property {string} [username]
51
41
  */
52
42
  /**
53
43
  * @typedef CompleteResponse
54
44
  * @property {string} _id
55
- * @property {CDN} cdn
56
- * @property {number} company_id
57
- * @property {string} content_type
58
- * @property {CreatedBy} [created_by]
59
- * @property {string} created_on
60
45
  * @property {string} file_name
61
46
  * @property {string} file_path
62
- * @property {string} modified_on
47
+ * @property {string} content_type
63
48
  * @property {string} namespace
64
49
  * @property {string} operation
50
+ * @property {number} company_id
65
51
  * @property {number} size
52
+ * @property {Upload} upload
53
+ * @property {CDN} cdn
66
54
  * @property {boolean} success
67
55
  * @property {string[]} [tags]
68
- * @property {Upload} upload
56
+ * @property {string} created_on
57
+ * @property {string} modified_on
58
+ * @property {CreatedBy} [created_by]
59
+ */
60
+ /**
61
+ * @typedef DestinationNamespace
62
+ * @property {string} [namespace]
63
+ */
64
+ /**
65
+ * @typedef CopyFiles
66
+ * @property {string[]} [urls]
67
+ * @property {DestinationNamespace} destination
68
+ */
69
+ /**
70
+ * @typedef Urls
71
+ * @property {string} url
72
+ * @property {string} signed_url
73
+ * @property {number} expiry
74
+ */
75
+ /**
76
+ * @typedef SignUrlResponse
77
+ * @property {Urls[]} urls
78
+ */
79
+ /**
80
+ * @typedef SignUrlRequest
81
+ * @property {number} expiry
82
+ * @property {string[]} urls
83
+ */
84
+ /**
85
+ * @typedef InvoiceTypesDataResponse
86
+ * @property {boolean} [status]
87
+ * @property {string} _id
88
+ * @property {number} pdf_type_id
89
+ * @property {string} name
90
+ * @property {string[]} format
91
+ * @property {number} __v
92
+ * @property {boolean} visibility
93
+ * @property {string} country_code
94
+ */
95
+ /**
96
+ * @typedef InvoiceTypesResponse
97
+ * @property {InvoiceTypesDataResponse[]} data
98
+ * @property {boolean} success
69
99
  */
70
100
  /**
71
101
  * @typedef ConversionRate
@@ -74,320 +104,347 @@ export = FileStoragePlatformModel;
74
104
  * @property {number} [timestamp]
75
105
  */
76
106
  /**
77
- * @typedef CopyFiles
78
- * @property {DestinationNamespace} destination
79
- * @property {string[]} [urls]
107
+ * @typedef DeliveryPartnerDetail
108
+ * @property {string} [name]
109
+ * @property {string} [awb_number_barcode]
110
+ * @property {string} [awb_number]
111
+ * @property {string} [origin]
112
+ * @property {string} [destination]
113
+ * @property {string} [eway_bill_number]
80
114
  */
81
115
  /**
82
- * @typedef CreatedBy
83
- * @property {string} [username]
116
+ * @typedef Image
117
+ * @property {string} [sales_channel_logo]
84
118
  */
85
119
  /**
86
- * @typedef CustomerBillingDetail
120
+ * @typedef PaymentData
121
+ * @property {string} [payment_type]
122
+ * @property {number} [amount]
123
+ * @property {string} [date]
124
+ * @property {string} [transaction_id]
125
+ * @property {string} [time]
126
+ * @property {string} [mode]
127
+ * @property {string} [name]
128
+ * @property {Object} [meta]
129
+ */
130
+ /**
131
+ * @typedef InvoiceDetail
132
+ * @property {string} [invoice_id]
133
+ * @property {string} [invoice_date]
134
+ * @property {string} [irn]
135
+ * @property {string} [external_order_id]
136
+ * @property {string} [shipment_id]
137
+ * @property {string} [signed_qrcode]
138
+ * @property {string} [upi_qrcode]
139
+ * @property {string} [device_id]
140
+ * @property {string} [marketplace_invoice_id]
141
+ * @property {string} [marketplace_shipment_id]
142
+ * @property {string} [channel_order_id]
143
+ */
144
+ /**
145
+ * @typedef CompanyDetail
146
+ * @property {string} [name]
87
147
  * @property {string} [address]
88
148
  * @property {string} [city]
149
+ * @property {string} [state]
89
150
  * @property {string} [country]
151
+ * @property {number} [zip_code]
152
+ * @property {string} [state_code]
90
153
  * @property {string} [country_code]
91
- * @property {string} [display_address]
92
- * @property {string} [email]
93
154
  * @property {string} [gstin]
94
- * @property {string} [name]
155
+ * @property {string} [pan]
95
156
  * @property {string} [phone_no]
157
+ * @property {string} [cin]
158
+ * @property {string} [website_url]
159
+ * @property {string} [email]
160
+ * @property {string} [display_address]
96
161
  * @property {string} [sector]
162
+ * @property {Object} [phone]
163
+ * @property {string} [trn]
164
+ * @property {string} [vat]
165
+ * @property {string} [business_country_timezone]
166
+ * @property {Object} [business_country_currency]
167
+ */
168
+ /**
169
+ * @typedef StoreDetail
170
+ * @property {string} [store_name]
171
+ * @property {string} [address]
172
+ * @property {string} [city]
97
173
  * @property {string} [state]
98
- * @property {string} [state_code]
174
+ * @property {string} [country]
175
+ * @property {string} [country_code]
99
176
  * @property {string} [zip_code]
177
+ * @property {string} [state_code]
178
+ * @property {string} [gstin]
179
+ * @property {string} [display_address]
180
+ * @property {string} [sector]
181
+ * @property {string} [store_id]
100
182
  */
101
183
  /**
102
- * @typedef CustomerShippingDetail
184
+ * @typedef CustomerBillingDetail
185
+ * @property {string} [name]
186
+ * @property {string} [phone_no]
103
187
  * @property {string} [address]
104
188
  * @property {string} [city]
189
+ * @property {string} [state]
105
190
  * @property {string} [country]
106
191
  * @property {string} [country_code]
107
- * @property {string} [display_address]
192
+ * @property {string} [zip_code]
193
+ * @property {string} [state_code]
108
194
  * @property {string} [gstin]
195
+ * @property {string} [display_address]
196
+ * @property {string} [sector]
197
+ * @property {string} [email]
198
+ */
199
+ /**
200
+ * @typedef CustomerShippingDetail
109
201
  * @property {string} [name]
110
202
  * @property {string} [phone_no]
111
- * @property {string} [sector]
203
+ * @property {string} [address]
204
+ * @property {string} [city]
112
205
  * @property {string} [state]
206
+ * @property {string} [country]
207
+ * @property {string} [country_code]
208
+ * @property {string} [zip_code]
113
209
  * @property {string} [state_code]
210
+ * @property {string} [gstin]
211
+ * @property {string} [display_address]
212
+ * @property {string} [sector]
213
+ */
214
+ /**
215
+ * @typedef ReturnDetail
216
+ * @property {string} [address]
217
+ * @property {string} [city]
218
+ * @property {string} [state]
219
+ * @property {string} [country]
220
+ * @property {string} [country_code]
114
221
  * @property {string} [zip_code]
222
+ * @property {string} [state_code]
223
+ * @property {string} [gstin]
224
+ * @property {string} [display_address]
225
+ * @property {string} [sector]
115
226
  */
116
227
  /**
117
- * @typedef DeliveryPartnerDetail
118
- * @property {string} [awb_number]
119
- * @property {string} [awb_number_barcode]
120
- * @property {string} [destination]
121
- * @property {string} [eway_bill_number]
228
+ * @typedef Brand
229
+ * @property {string} [logo]
122
230
  * @property {string} [name]
123
- * @property {string} [origin]
124
231
  */
125
232
  /**
126
- * @typedef DestinationNamespace
127
- * @property {string} [namespace]
233
+ * @typedef Cgst
234
+ * @property {number} [value]
235
+ * @property {number} [percent]
128
236
  */
129
237
  /**
130
- * @typedef DigitalsignatureGenerator
131
- * @property {Kwargs} [kwargs]
132
- * @property {string} [method]
238
+ * @typedef Sgst
239
+ * @property {number} [value]
240
+ * @property {number} [percent]
133
241
  */
134
242
  /**
135
- * @typedef Document
136
- * @property {number} [__v]
137
- * @property {string} [_id]
138
- * @property {string} [country_code]
139
- * @property {string} [format]
140
- * @property {number} [pdf_type_id]
141
- * @property {string} [template]
243
+ * @typedef Igst
244
+ * @property {number} [value]
245
+ * @property {number} [percent]
142
246
  */
143
247
  /**
144
- * @typedef DummyTemplateData
145
- * @property {number} [__v]
146
- * @property {string} [_id]
147
- * @property {string} [country_code]
148
- * @property {DummyTemplateDataPayload} payload
149
- * @property {number} [pdf_type_id]
248
+ * @typedef Tax
249
+ * @property {Cgst} [cgst]
250
+ * @property {Sgst} [sgst]
251
+ * @property {Igst} [igst]
150
252
  */
151
253
  /**
152
- * @typedef DummyTemplateDataItems
153
- * @property {DummyTemplateData[]} data
154
- * @property {boolean} success
254
+ * @typedef ItemsProductTable
255
+ * @property {string} [name]
256
+ * @property {string} [seller_identifier]
257
+ * @property {number} [total]
258
+ * @property {Brand} [brand]
259
+ * @property {string} [hsn_code]
260
+ * @property {string} [item_code]
261
+ * @property {number} [total_units]
262
+ * @property {string} [size]
263
+ * @property {number} [mrp]
264
+ * @property {number} [discount]
265
+ * @property {number} [taxable_amount]
266
+ * @property {number} [total_taxable_amount]
267
+ * @property {Tax} [tax]
268
+ * @property {Object} [meta]
269
+ * @property {string} [country_of_origin]
155
270
  */
156
271
  /**
157
- * @typedef DummyTemplateDataPayload
158
- * @property {number} [amount_paid]
159
- * @property {number} [amount_to_be_collected]
160
- * @property {string} [app_domain_name]
161
- * @property {string} [awb_number_barcode]
162
- * @property {Object} [b2b_buyer_details]
163
- * @property {string} [brand_logo]
164
- * @property {CompanyDetail} [company_detail]
165
- * @property {ConversionRate} [conversion_rate]
166
- * @property {string} [credit_note_id]
167
- * @property {string} [currency_code]
168
- * @property {string} [current_date]
169
- * @property {CustomerBillingDetail} [customer_billing_detail]
170
- * @property {CustomerShippingDetail} [customer_shipping_detail]
171
- * @property {string[]} [declaration_texts]
172
- * @property {DeliveryPartnerDetail} [delivery_partner_detail]
173
- * @property {string} [digitalsignature]
174
- * @property {string} [disclaimer]
175
- * @property {Image} [image]
176
- * @property {InvoiceDetail} [invoice_detail]
177
- * @property {boolean} [is_export]
178
- * @property {boolean} [is_export_shipment]
179
- * @property {Object} [is_qwik]
180
- * @property {boolean} [is_self_pickup]
181
- * @property {boolean} [is_self_ship]
182
- * @property {Meta} [meta]
183
- * @property {string} [mode]
184
- * @property {string} [order_type]
185
- * @property {PaymentData[]} [payments]
186
- * @property {string} [platform_name]
187
- * @property {string} [po_number]
188
- * @property {ProductTable} [product_table]
189
- * @property {RegisteredCompanyDetail} [registered_company_detail]
190
- * @property {ReturnDetail} [return_detail]
191
- * @property {string} [shipment_id]
192
- * @property {string} [shipment_id_barcode]
193
- * @property {string} [signed_qrcode]
194
- * @property {StoreDetail} [store_detail]
195
- * @property {TaxTable} [tax_table]
272
+ * @typedef ProductTable
196
273
  * @property {number} [total_items]
274
+ * @property {ItemsProductTable[]} [products]
275
+ * @property {number} [grand_total]
276
+ * @property {number} [delivery_charges]
277
+ * @property {string} [delivery_charge_text]
278
+ * @property {number} [cod_charges]
279
+ * @property {number} [fynd_discounts]
280
+ * @property {string} [total_in_words]
281
+ * @property {number} [gift_price]
282
+ * @property {number} [total_quantity]
283
+ * @property {number} [sub_total]
284
+ * @property {number} [discount]
285
+ * @property {number} [promotion]
286
+ * @property {number} [coupon]
287
+ * @property {number} [reward]
288
+ * @property {number} [round_off]
197
289
  * @property {number} [total_value_of_goods]
198
- * @property {string} [txn_id]
199
- * @property {string} [uid]
200
- * @property {string} [upi_qrcode]
201
- * @property {string} [utr]
202
- * @property {Object[]} [waybills]
203
290
  */
204
291
  /**
205
- * @typedef ExtensionSlug
206
- * @property {string} [extension_slug]
292
+ * @typedef Taxes
293
+ * @property {string} [hsn_code]
294
+ * @property {Tax} [tax]
295
+ * @property {number} [total_tax_value]
207
296
  */
208
297
  /**
209
- * @typedef FailedResponse
210
- * @property {string} message
298
+ * @typedef TaxTable
299
+ * @property {Taxes[]} [taxes]
300
+ * @property {number} [total_tax]
301
+ * @property {string} [tax_in_words]
211
302
  */
212
303
  /**
213
- * @typedef Igst
214
- * @property {number} [percent]
215
- * @property {number} [value]
304
+ * @typedef RegisteredCompanyDetail
305
+ * @property {string} [address]
306
+ * @property {string} [city]
307
+ * @property {string} [state]
308
+ * @property {string} [country]
309
+ * @property {string} [country_code]
310
+ * @property {number} [zip_code]
311
+ * @property {string} [state_code]
312
+ * @property {string} [display_address]
313
+ * @property {string} [sector]
216
314
  */
217
315
  /**
218
- * @typedef Image
219
- * @property {string} [sales_channel_logo]
316
+ * @typedef Kwargs
317
+ * @property {string} [value]
220
318
  */
221
319
  /**
222
- * @typedef InvoiceDetail
223
- * @property {string} [channel_order_id]
224
- * @property {string} [device_id]
225
- * @property {string} [external_order_id]
226
- * @property {string} [invoice_date]
227
- * @property {string} [invoice_id]
228
- * @property {string} [irn]
229
- * @property {string} [marketplace_invoice_id]
230
- * @property {string} [marketplace_shipment_id]
231
- * @property {string} [shipment_id]
232
- * @property {string} [signed_qrcode]
233
- * @property {string} [upi_qrcode]
320
+ * @typedef ShipmentIdBarcodeGenerator
321
+ * @property {string} [method]
322
+ * @property {Kwargs} [kwargs]
234
323
  */
235
324
  /**
236
- * @typedef InvoiceTypesDataResponse
237
- * @property {number} __v
238
- * @property {string} _id
239
- * @property {string} country_code
240
- * @property {string[]} format
241
- * @property {string} name
242
- * @property {number} pdf_type_id
243
- * @property {boolean} [status]
244
- * @property {boolean} visibility
325
+ * @typedef SignedQrcodeGenerator
326
+ * @property {string} [method]
327
+ * @property {Kwargs} [kwargs]
245
328
  */
246
329
  /**
247
- * @typedef InvoiceTypesResponse
248
- * @property {InvoiceTypesDataResponse[]} data
249
- * @property {boolean} success
330
+ * @typedef KwargsUpiQrcode
331
+ * @property {string} [qr_data]
332
+ * @property {string} [qr_url]
250
333
  */
251
334
  /**
252
- * @typedef ItemsProductTable
253
- * @property {Brand} [brand]
254
- * @property {string} [country_of_origin]
255
- * @property {number} [discount]
256
- * @property {string} [hsn_code]
257
- * @property {string} [item_code]
258
- * @property {Object} [meta]
259
- * @property {number} [mrp]
260
- * @property {string} [name]
261
- * @property {string} [seller_identifier]
262
- * @property {string} [size]
263
- * @property {Tax} [tax]
264
- * @property {number} [taxable_amount]
265
- * @property {number} [total]
266
- * @property {number} [total_taxable_amount]
267
- * @property {number} [total_units]
335
+ * @typedef UpiQrcodeGenerator
336
+ * @property {string} [method]
337
+ * @property {KwargsUpiQrcode} [kwargs]
268
338
  */
269
339
  /**
270
- * @typedef Kwargs
271
- * @property {string} [value]
340
+ * @typedef DigitalsignatureGenerator
341
+ * @property {string} [method]
342
+ * @property {Kwargs} [kwargs]
272
343
  */
273
344
  /**
274
345
  * @typedef KwargsAwbNumber
275
346
  * @property {Object[]} [value]
276
347
  */
277
348
  /**
278
- * @typedef KwargsUpiQrcode
279
- * @property {string} [qr_data]
280
- * @property {string} [qr_url]
349
+ * @typedef AwbNumberLabelBarcodeGenerator
350
+ * @property {string} [method]
351
+ * @property {KwargsAwbNumber} [kwargs]
281
352
  */
282
353
  /**
283
- * @typedef Meta
284
- * @property {MetaProperty} [generator]
354
+ * @typedef AwbNumberBarcodeGenerator
355
+ * @property {string} [method]
356
+ * @property {Kwargs} [kwargs]
285
357
  */
286
358
  /**
287
359
  * @typedef MetaProperty
288
- * @property {AwbNumberBarcodeGenerator} [awb_number_barcode_generator]
289
- * @property {AwbNumberLabelBarcodeGenerator} [awb_number_label_barcode_generator]
290
- * @property {DigitalsignatureGenerator} [digitalsignature_generator]
291
360
  * @property {ShipmentIdBarcodeGenerator} [shipment_id_barcode_generator]
292
361
  * @property {SignedQrcodeGenerator} [signed_qrcode_generator]
293
362
  * @property {UpiQrcodeGenerator} [upi_qrcode_generator]
363
+ * @property {DigitalsignatureGenerator} [digitalsignature_generator]
364
+ * @property {AwbNumberLabelBarcodeGenerator} [awb_number_label_barcode_generator]
365
+ * @property {AwbNumberBarcodeGenerator} [awb_number_barcode_generator]
294
366
  */
295
367
  /**
296
- * @typedef PaymentData
297
- * @property {number} [amount]
298
- * @property {string} [date]
299
- * @property {Object} [meta]
300
- * @property {string} [mode]
301
- * @property {string} [name]
302
- * @property {string} [payment_type]
303
- * @property {string} [time]
304
- * @property {string} [transaction_id]
368
+ * @typedef Meta
369
+ * @property {MetaProperty} [generator]
305
370
  */
306
371
  /**
307
- * @typedef PaymentReceiptCustomerDetails
308
- * @property {string} [email_id]
309
- * @property {string} [first_name]
310
- * @property {string} [id]
311
- * @property {string} [last_name]
312
- * @property {string} [mobile_number]
372
+ * @typedef DummyTemplateDataPayload
373
+ * @property {boolean} [is_export]
374
+ * @property {boolean} [is_export_shipment]
375
+ * @property {string} [app_domain_name]
376
+ * @property {string} [txn_id]
377
+ * @property {string} [utr]
378
+ * @property {string} [po_number]
379
+ * @property {string} [credit_note_id]
380
+ * @property {string} [current_date]
381
+ * @property {number} [total_value_of_goods]
382
+ * @property {Object} [b2b_buyer_details]
383
+ * @property {Object} [is_qwik]
384
+ * @property {string} [order_type]
385
+ * @property {ConversionRate} [conversion_rate]
386
+ * @property {string} [currency_code]
387
+ * @property {string} [shipment_id]
388
+ * @property {DeliveryPartnerDetail} [delivery_partner_detail]
389
+ * @property {Image} [image]
390
+ * @property {PaymentData[]} [payments]
391
+ * @property {InvoiceDetail} [invoice_detail]
392
+ * @property {CompanyDetail} [company_detail]
393
+ * @property {StoreDetail} [store_detail]
394
+ * @property {CustomerBillingDetail} [customer_billing_detail]
395
+ * @property {CustomerShippingDetail} [customer_shipping_detail]
396
+ * @property {ReturnDetail} [return_detail]
397
+ * @property {ProductTable} [product_table]
398
+ * @property {TaxTable} [tax_table]
399
+ * @property {string[]} [declaration_texts]
400
+ * @property {RegisteredCompanyDetail} [registered_company_detail]
401
+ * @property {string} [disclaimer]
402
+ * @property {Meta} [meta]
403
+ * @property {boolean} [is_self_ship]
404
+ * @property {string} [mode]
405
+ * @property {boolean} [is_self_pickup]
406
+ * @property {string} [platform_name]
407
+ * @property {number} [amount_to_be_collected]
408
+ * @property {number} [amount_paid]
409
+ * @property {Object[]} [waybills]
410
+ * @property {number} [total_items]
411
+ * @property {string} [brand_logo]
412
+ * @property {string} [shipment_id_barcode]
413
+ * @property {string} [signed_qrcode]
414
+ * @property {string} [upi_qrcode]
415
+ * @property {string} [digitalsignature]
416
+ * @property {string} [awb_number_barcode]
417
+ * @property {string} [uid]
313
418
  */
314
419
  /**
315
- * @typedef PaymentReceiptFormat
316
- * @property {string[]} [payment_receipt]
317
- */
318
- /**
319
- * @typedef PaymentReceiptMeta
320
- * @property {string} [action]
321
- * @property {string[]} [application_id]
322
- * @property {number} [company_id]
323
- * @property {number} [created_timestamp]
324
- * @property {Object} [event]
325
- * @property {Object} [event_trace_info]
326
- * @property {PaymentReceiptFormat} [format]
327
- * @property {string} [job_type]
328
- * @property {string} [organizaton_id]
329
- * @property {PaymentReceiptService} [service]
330
- * @property {string} [trace]
331
- * @property {string[]} [trace_id]
332
- */
333
- /**
334
- * @typedef PaymentReceiptOrderDetails
335
- * @property {number} [final_amount]
336
- * @property {string} [final_amount_in_words]
337
- * @property {string} [jiomart_order_id]
338
- * @property {string} [order_created_date]
339
- * @property {string} [order_created_time]
340
- * @property {string} [prm_id]
341
- * @property {string} [receipt_no]
342
- * @property {PaymentReceiptTaxes} [taxes]
343
- * @property {number} [total_items]
344
- */
345
- /**
346
- * @typedef PaymentReceiptPayload
347
- * @property {PaymentReceiptCustomerDetails} [customer_detail]
348
- * @property {PaymentReceiptOrderDetails} [order_detail]
349
- * @property {PaymentReceiptPayments[]} [payments]
350
- * @property {string} [uid]
351
- */
352
- /**
353
- * @typedef PaymentReceiptPayments
354
- * @property {string} [payment_desc]
355
- * @property {string} [txn_date]
356
- */
357
- /**
358
- * @typedef PaymentReceiptRequestBody
359
- * @property {PaymentReceiptMeta} [meta]
360
- * @property {PaymentReceiptPayload} [payload]
361
- */
362
- /**
363
- * @typedef PaymentReceiptService
364
- * @property {string} [name]
420
+ * @typedef DummyTemplateData
421
+ * @property {string} [_id]
422
+ * @property {number} [pdf_type_id]
423
+ * @property {DummyTemplateDataPayload} payload
424
+ * @property {string} [country_code]
425
+ * @property {number} [__v]
365
426
  */
366
427
  /**
367
- * @typedef PaymentReceiptTaxes
368
- * @property {string} [gstin]
369
- * @property {string} [pancard]
428
+ * @typedef DummyTemplateDataItems
429
+ * @property {DummyTemplateData[]} data
430
+ * @property {boolean} success
370
431
  */
371
432
  /**
372
433
  * @typedef PdfConfig
373
434
  * @property {string} [format] - This is invoice document format such as A4, A6, POS
374
- * @property {number} [pdf_type_id]
375
435
  * @property {string} [template] - This is html template string
436
+ * @property {number} [pdf_type_id]
376
437
  */
377
438
  /**
378
- * @typedef PdfConfigSaveSuccess
379
- * @property {PdfConfigSaveSuccessData} [data]
380
- * @property {boolean} [success]
381
- */
382
- /**
383
- * @typedef PdfConfigSaveSuccessData
384
- * @property {number} [__v]
439
+ * @typedef PdfConfigSuccessData
385
440
  * @property {string} [_id]
386
- * @property {string} [application_id]
387
441
  * @property {number} [company_id]
388
- * @property {string} [format]
442
+ * @property {string} [application_id]
389
443
  * @property {number} [pdf_type_id]
444
+ * @property {string} [format]
390
445
  * @property {string} [template]
446
+ * @property {number} [__v]
447
+ * @property {string} [country_code]
391
448
  */
392
449
  /**
393
450
  * @typedef PdfConfigSuccess
@@ -395,15 +452,19 @@ export = FileStoragePlatformModel;
395
452
  * @property {boolean} [success]
396
453
  */
397
454
  /**
398
- * @typedef PdfConfigSuccessData
399
- * @property {number} [__v]
455
+ * @typedef PdfConfigSaveSuccessData
400
456
  * @property {string} [_id]
401
- * @property {string} [application_id]
402
457
  * @property {number} [company_id]
403
- * @property {string} [country_code]
404
- * @property {string} [format]
458
+ * @property {string} [application_id]
405
459
  * @property {number} [pdf_type_id]
460
+ * @property {string} [format]
406
461
  * @property {string} [template]
462
+ * @property {number} [__v]
463
+ */
464
+ /**
465
+ * @typedef PdfConfigSaveSuccess
466
+ * @property {PdfConfigSaveSuccessData} [data]
467
+ * @property {boolean} [success]
407
468
  */
408
469
  /**
409
470
  * @typedef PdfDefaultTemplateSuccess
@@ -411,223 +472,199 @@ export = FileStoragePlatformModel;
411
472
  * @property {boolean} [success] - Indicates if the request was successful.
412
473
  */
413
474
  /**
414
- * @typedef ProductTable
415
- * @property {number} [cod_charges]
416
- * @property {number} [coupon]
417
- * @property {string} [delivery_charge_text]
418
- * @property {number} [delivery_charges]
419
- * @property {number} [discount]
420
- * @property {number} [fynd_discounts]
421
- * @property {number} [gift_price]
422
- * @property {number} [grand_total]
423
- * @property {ItemsProductTable[]} [products]
424
- * @property {number} [promotion]
425
- * @property {number} [reward]
426
- * @property {number} [round_off]
427
- * @property {number} [sub_total]
428
- * @property {string} [total_in_words]
429
- * @property {number} [total_items]
430
- * @property {number} [total_quantity]
431
- * @property {number} [total_value_of_goods]
432
- */
433
- /**
434
- * @typedef RegisteredCompanyDetail
435
- * @property {string} [address]
436
- * @property {string} [city]
437
- * @property {string} [country]
438
- * @property {string} [country_code]
439
- * @property {string} [display_address]
440
- * @property {string} [sector]
441
- * @property {string} [state]
442
- * @property {string} [state_code]
443
- * @property {number} [zip_code]
444
- */
445
- /**
446
- * @typedef ReturnDetail
447
- * @property {string} [address]
448
- * @property {string} [city]
449
- * @property {string} [country]
475
+ * @typedef Document
476
+ * @property {string} [_id]
477
+ * @property {number} [pdf_type_id]
478
+ * @property {string} [format]
479
+ * @property {string} [template]
450
480
  * @property {string} [country_code]
451
- * @property {string} [display_address]
452
- * @property {string} [gstin]
453
- * @property {string} [sector]
454
- * @property {string} [state]
455
- * @property {string} [state_code]
456
- * @property {string} [zip_code]
457
- */
458
- /**
459
- * @typedef Sgst
460
- * @property {number} [percent]
461
- * @property {number} [value]
481
+ * @property {number} [__v]
462
482
  */
463
483
  /**
464
- * @typedef ShipmentIdBarcodeGenerator
465
- * @property {Kwargs} [kwargs]
466
- * @property {string} [method]
484
+ * @typedef PaymentReceiptRequestBody
485
+ * @property {PaymentReceiptPayload} [payload]
486
+ * @property {PaymentReceiptMeta} [meta]
467
487
  */
468
488
  /**
469
- * @typedef SignedQrcodeGenerator
470
- * @property {Kwargs} [kwargs]
471
- * @property {string} [method]
489
+ * @typedef PaymentReceiptOrderDetails
490
+ * @property {string} [jiomart_order_id]
491
+ * @property {number} [total_items]
492
+ * @property {number} [final_amount]
493
+ * @property {string} [final_amount_in_words]
494
+ * @property {string} [order_created_date]
495
+ * @property {string} [order_created_time]
496
+ * @property {string} [prm_id]
497
+ * @property {string} [receipt_no]
498
+ * @property {PaymentReceiptTaxes} [taxes]
472
499
  */
473
500
  /**
474
- * @typedef SignUrlRequest
475
- * @property {number} expiry
476
- * @property {string[]} urls
501
+ * @typedef PaymentReceiptCustomerDetails
502
+ * @property {string} [id]
503
+ * @property {string} [email_id]
504
+ * @property {string} [last_name]
505
+ * @property {string} [first_name]
506
+ * @property {string} [mobile_number]
477
507
  */
478
508
  /**
479
- * @typedef SignUrlResponse
480
- * @property {Urls[]} urls
509
+ * @typedef PaymentReceiptPayments
510
+ * @property {string} [payment_desc]
511
+ * @property {string} [txn_date]
481
512
  */
482
513
  /**
483
- * @typedef StartRequest
484
- * @property {string} content_type
485
- * @property {string} file_name
486
- * @property {Object} [params]
487
- * @property {number} size
488
- * @property {string[]} [tags]
514
+ * @typedef PaymentReceiptFormat
515
+ * @property {string[]} [payment_receipt]
489
516
  */
490
517
  /**
491
- * @typedef StartResponse
492
- * @property {CDN} cdn
493
- * @property {string} content_type
494
- * @property {string} file_name
495
- * @property {string} file_path
496
- * @property {string} [method]
497
- * @property {string} namespace
498
- * @property {string} operation
499
- * @property {number} size
500
- * @property {string[]} [tags]
501
- * @property {Upload} upload
518
+ * @typedef PaymentReceiptService
519
+ * @property {string} [name]
502
520
  */
503
521
  /**
504
- * @typedef StoreDetail
505
- * @property {string} [address]
506
- * @property {string} [city]
507
- * @property {string} [country]
508
- * @property {string} [country_code]
509
- * @property {string} [display_address]
522
+ * @typedef PaymentReceiptTaxes
510
523
  * @property {string} [gstin]
511
- * @property {string} [sector]
512
- * @property {string} [state]
513
- * @property {string} [state_code]
514
- * @property {string} [store_id]
515
- * @property {string} [store_name]
516
- * @property {string} [zip_code]
517
- */
518
- /**
519
- * @typedef Tax
520
- * @property {Cgst} [cgst]
521
- * @property {Igst} [igst]
522
- * @property {Sgst} [sgst]
523
- */
524
- /**
525
- * @typedef Taxes
526
- * @property {string} [hsn_code]
527
- * @property {Tax} [tax]
528
- * @property {number} [total_tax_value]
524
+ * @property {string} [pancard]
529
525
  */
530
526
  /**
531
- * @typedef TaxTable
532
- * @property {string} [tax_in_words]
533
- * @property {Taxes[]} [taxes]
534
- * @property {number} [total_tax]
527
+ * @typedef PaymentReceiptPayload
528
+ * @property {string} [uid]
529
+ * @property {PaymentReceiptOrderDetails} [order_detail]
530
+ * @property {PaymentReceiptCustomerDetails} [customer_detail]
531
+ * @property {PaymentReceiptPayments[]} [payments]
535
532
  */
536
533
  /**
537
- * @typedef UpiQrcodeGenerator
538
- * @property {KwargsUpiQrcode} [kwargs]
539
- * @property {string} [method]
534
+ * @typedef PaymentReceiptMeta
535
+ * @property {string} [job_type]
536
+ * @property {string} [action]
537
+ * @property {Object} [event]
538
+ * @property {string} [organizaton_id]
539
+ * @property {number} [company_id]
540
+ * @property {string[]} [application_id]
541
+ * @property {PaymentReceiptFormat} [format]
542
+ * @property {string[]} [trace_id]
543
+ * @property {number} [created_timestamp]
544
+ * @property {PaymentReceiptService} [service]
545
+ * @property {Object} [event_trace_info]
546
+ * @property {string} [trace]
540
547
  */
541
548
  /**
542
- * @typedef Upload
543
- * @property {number} expiry
544
- * @property {string} url
545
- */
546
- /**
547
- * @typedef Urls
548
- * @property {number} expiry
549
- * @property {string} signed_url
550
- * @property {string} url
549
+ * @typedef ExtensionSlug
550
+ * @property {string} [extension_slug]
551
551
  */
552
552
  declare class FileStoragePlatformModel {
553
553
  }
554
554
  declare namespace FileStoragePlatformModel {
555
- export { AwbNumberBarcodeGenerator, AwbNumberLabelBarcodeGenerator, Brand, CDN, Cgst, CompanyDetail, CompleteResponse, ConversionRate, CopyFiles, CreatedBy, CustomerBillingDetail, CustomerShippingDetail, DeliveryPartnerDetail, DestinationNamespace, DigitalsignatureGenerator, Document, DummyTemplateData, DummyTemplateDataItems, DummyTemplateDataPayload, ExtensionSlug, FailedResponse, Igst, Image, InvoiceDetail, InvoiceTypesDataResponse, InvoiceTypesResponse, ItemsProductTable, Kwargs, KwargsAwbNumber, KwargsUpiQrcode, Meta, MetaProperty, PaymentData, PaymentReceiptCustomerDetails, PaymentReceiptFormat, PaymentReceiptMeta, PaymentReceiptOrderDetails, PaymentReceiptPayload, PaymentReceiptPayments, PaymentReceiptRequestBody, PaymentReceiptService, PaymentReceiptTaxes, PdfConfig, PdfConfigSaveSuccess, PdfConfigSaveSuccessData, PdfConfigSuccess, PdfConfigSuccessData, PdfDefaultTemplateSuccess, ProductTable, RegisteredCompanyDetail, ReturnDetail, Sgst, ShipmentIdBarcodeGenerator, SignedQrcodeGenerator, SignUrlRequest, SignUrlResponse, StartRequest, StartResponse, StoreDetail, Tax, Taxes, TaxTable, UpiQrcodeGenerator, Upload, Urls };
555
+ export { FailedResponse, CDN, Upload, StartResponse, StartRequest, CreatedBy, CompleteResponse, DestinationNamespace, CopyFiles, Urls, SignUrlResponse, SignUrlRequest, InvoiceTypesDataResponse, InvoiceTypesResponse, ConversionRate, DeliveryPartnerDetail, Image, PaymentData, InvoiceDetail, CompanyDetail, StoreDetail, CustomerBillingDetail, CustomerShippingDetail, ReturnDetail, Brand, Cgst, Sgst, Igst, Tax, ItemsProductTable, ProductTable, Taxes, TaxTable, RegisteredCompanyDetail, Kwargs, ShipmentIdBarcodeGenerator, SignedQrcodeGenerator, KwargsUpiQrcode, UpiQrcodeGenerator, DigitalsignatureGenerator, KwargsAwbNumber, AwbNumberLabelBarcodeGenerator, AwbNumberBarcodeGenerator, MetaProperty, Meta, DummyTemplateDataPayload, DummyTemplateData, DummyTemplateDataItems, PdfConfig, PdfConfigSuccessData, PdfConfigSuccess, PdfConfigSaveSuccessData, PdfConfigSaveSuccess, PdfDefaultTemplateSuccess, Document, PaymentReceiptRequestBody, PaymentReceiptOrderDetails, PaymentReceiptCustomerDetails, PaymentReceiptPayments, PaymentReceiptFormat, PaymentReceiptService, PaymentReceiptTaxes, PaymentReceiptPayload, PaymentReceiptMeta, ExtensionSlug };
556
556
  }
557
- /** @returns {AwbNumberBarcodeGenerator} */
558
- declare function AwbNumberBarcodeGenerator(): AwbNumberBarcodeGenerator;
559
- type AwbNumberBarcodeGenerator = {
560
- kwargs?: Kwargs;
561
- method?: string;
562
- };
563
- /** @returns {AwbNumberLabelBarcodeGenerator} */
564
- declare function AwbNumberLabelBarcodeGenerator(): AwbNumberLabelBarcodeGenerator;
565
- type AwbNumberLabelBarcodeGenerator = {
566
- kwargs?: KwargsAwbNumber;
567
- method?: string;
568
- };
569
- /** @returns {Brand} */
570
- declare function Brand(): Brand;
571
- type Brand = {
572
- logo?: string;
573
- name?: string;
557
+ /** @returns {FailedResponse} */
558
+ declare function FailedResponse(): FailedResponse;
559
+ type FailedResponse = {
560
+ message: string;
574
561
  };
575
562
  /** @returns {CDN} */
576
563
  declare function CDN(): CDN;
577
564
  type CDN = {
565
+ url: string;
578
566
  absolute_url: string;
579
567
  relative_url: string;
568
+ };
569
+ /** @returns {Upload} */
570
+ declare function Upload(): Upload;
571
+ type Upload = {
572
+ expiry: number;
580
573
  url: string;
581
574
  };
582
- /** @returns {Cgst} */
583
- declare function Cgst(): Cgst;
584
- type Cgst = {
585
- percent?: number;
586
- value?: number;
575
+ /** @returns {StartResponse} */
576
+ declare function StartResponse(): StartResponse;
577
+ type StartResponse = {
578
+ file_name: string;
579
+ file_path: string;
580
+ content_type: string;
581
+ method?: string;
582
+ namespace: string;
583
+ operation: string;
584
+ size: number;
585
+ upload: Upload;
586
+ cdn: CDN;
587
+ tags?: string[];
587
588
  };
588
- /** @returns {CompanyDetail} */
589
- declare function CompanyDetail(): CompanyDetail;
590
- type CompanyDetail = {
591
- address?: string;
592
- business_country_currency?: any;
593
- business_country_timezone?: string;
594
- cin?: string;
595
- city?: string;
596
- country?: string;
597
- country_code?: string;
598
- display_address?: string;
599
- email?: string;
600
- gstin?: string;
601
- name?: string;
602
- pan?: string;
603
- phone?: any;
604
- phone_no?: string;
605
- sector?: string;
606
- state?: string;
607
- state_code?: string;
608
- trn?: string;
609
- vat?: string;
610
- website_url?: string;
611
- zip_code?: number;
589
+ /** @returns {StartRequest} */
590
+ declare function StartRequest(): StartRequest;
591
+ type StartRequest = {
592
+ file_name: string;
593
+ content_type: string;
594
+ size: number;
595
+ tags?: string[];
596
+ params?: any;
597
+ };
598
+ /** @returns {CreatedBy} */
599
+ declare function CreatedBy(): CreatedBy;
600
+ type CreatedBy = {
601
+ username?: string;
612
602
  };
613
603
  /** @returns {CompleteResponse} */
614
604
  declare function CompleteResponse(): CompleteResponse;
615
605
  type CompleteResponse = {
616
606
  _id: string;
617
- cdn: CDN;
618
- company_id: number;
619
- content_type: string;
620
- created_by?: CreatedBy;
621
- created_on: string;
622
607
  file_name: string;
623
608
  file_path: string;
624
- modified_on: string;
609
+ content_type: string;
625
610
  namespace: string;
626
611
  operation: string;
612
+ company_id: number;
627
613
  size: number;
614
+ upload: Upload;
615
+ cdn: CDN;
628
616
  success: boolean;
629
617
  tags?: string[];
630
- upload: Upload;
618
+ created_on: string;
619
+ modified_on: string;
620
+ created_by?: CreatedBy;
621
+ };
622
+ /** @returns {DestinationNamespace} */
623
+ declare function DestinationNamespace(): DestinationNamespace;
624
+ type DestinationNamespace = {
625
+ namespace?: string;
626
+ };
627
+ /** @returns {CopyFiles} */
628
+ declare function CopyFiles(): CopyFiles;
629
+ type CopyFiles = {
630
+ urls?: string[];
631
+ destination: DestinationNamespace;
632
+ };
633
+ /** @returns {Urls} */
634
+ declare function Urls(): Urls;
635
+ type Urls = {
636
+ url: string;
637
+ signed_url: string;
638
+ expiry: number;
639
+ };
640
+ /** @returns {SignUrlResponse} */
641
+ declare function SignUrlResponse(): SignUrlResponse;
642
+ type SignUrlResponse = {
643
+ urls: Urls[];
644
+ };
645
+ /** @returns {SignUrlRequest} */
646
+ declare function SignUrlRequest(): SignUrlRequest;
647
+ type SignUrlRequest = {
648
+ expiry: number;
649
+ urls: string[];
650
+ };
651
+ /** @returns {InvoiceTypesDataResponse} */
652
+ declare function InvoiceTypesDataResponse(): InvoiceTypesDataResponse;
653
+ type InvoiceTypesDataResponse = {
654
+ status?: boolean;
655
+ _id: string;
656
+ pdf_type_id: number;
657
+ name: string;
658
+ format: string[];
659
+ __v: number;
660
+ visibility: boolean;
661
+ country_code: string;
662
+ };
663
+ /** @returns {InvoiceTypesResponse} */
664
+ declare function InvoiceTypesResponse(): InvoiceTypesResponse;
665
+ type InvoiceTypesResponse = {
666
+ data: InvoiceTypesDataResponse[];
667
+ success: boolean;
631
668
  };
632
669
  /** @returns {ConversionRate} */
633
670
  declare function ConversionRate(): ConversionRate;
@@ -636,227 +673,250 @@ type ConversionRate = {
636
673
  rates?: any;
637
674
  timestamp?: number;
638
675
  };
639
- /** @returns {CopyFiles} */
640
- declare function CopyFiles(): CopyFiles;
641
- type CopyFiles = {
642
- destination: DestinationNamespace;
643
- urls?: string[];
676
+ /** @returns {DeliveryPartnerDetail} */
677
+ declare function DeliveryPartnerDetail(): DeliveryPartnerDetail;
678
+ type DeliveryPartnerDetail = {
679
+ name?: string;
680
+ awb_number_barcode?: string;
681
+ awb_number?: string;
682
+ origin?: string;
683
+ destination?: string;
684
+ eway_bill_number?: string;
644
685
  };
645
- /** @returns {CreatedBy} */
646
- declare function CreatedBy(): CreatedBy;
647
- type CreatedBy = {
648
- username?: string;
686
+ /** @returns {Image} */
687
+ declare function Image(): Image;
688
+ type Image = {
689
+ sales_channel_logo?: string;
649
690
  };
650
- /** @returns {CustomerBillingDetail} */
651
- declare function CustomerBillingDetail(): CustomerBillingDetail;
652
- type CustomerBillingDetail = {
691
+ /** @returns {PaymentData} */
692
+ declare function PaymentData(): PaymentData;
693
+ type PaymentData = {
694
+ payment_type?: string;
695
+ amount?: number;
696
+ date?: string;
697
+ transaction_id?: string;
698
+ time?: string;
699
+ mode?: string;
700
+ name?: string;
701
+ meta?: any;
702
+ };
703
+ /** @returns {InvoiceDetail} */
704
+ declare function InvoiceDetail(): InvoiceDetail;
705
+ type InvoiceDetail = {
706
+ invoice_id?: string;
707
+ invoice_date?: string;
708
+ irn?: string;
709
+ external_order_id?: string;
710
+ shipment_id?: string;
711
+ signed_qrcode?: string;
712
+ upi_qrcode?: string;
713
+ device_id?: string;
714
+ marketplace_invoice_id?: string;
715
+ marketplace_shipment_id?: string;
716
+ channel_order_id?: string;
717
+ };
718
+ /** @returns {CompanyDetail} */
719
+ declare function CompanyDetail(): CompanyDetail;
720
+ type CompanyDetail = {
721
+ name?: string;
653
722
  address?: string;
654
723
  city?: string;
724
+ state?: string;
655
725
  country?: string;
726
+ zip_code?: number;
727
+ state_code?: string;
656
728
  country_code?: string;
657
- display_address?: string;
658
- email?: string;
659
729
  gstin?: string;
660
- name?: string;
730
+ pan?: string;
661
731
  phone_no?: string;
732
+ cin?: string;
733
+ website_url?: string;
734
+ email?: string;
735
+ display_address?: string;
662
736
  sector?: string;
737
+ phone?: any;
738
+ trn?: string;
739
+ vat?: string;
740
+ business_country_timezone?: string;
741
+ business_country_currency?: any;
742
+ };
743
+ /** @returns {StoreDetail} */
744
+ declare function StoreDetail(): StoreDetail;
745
+ type StoreDetail = {
746
+ store_name?: string;
747
+ address?: string;
748
+ city?: string;
663
749
  state?: string;
750
+ country?: string;
751
+ country_code?: string;
752
+ zip_code?: string;
664
753
  state_code?: string;
754
+ gstin?: string;
755
+ display_address?: string;
756
+ sector?: string;
757
+ store_id?: string;
758
+ };
759
+ /** @returns {CustomerBillingDetail} */
760
+ declare function CustomerBillingDetail(): CustomerBillingDetail;
761
+ type CustomerBillingDetail = {
762
+ name?: string;
763
+ phone_no?: string;
764
+ address?: string;
765
+ city?: string;
766
+ state?: string;
767
+ country?: string;
768
+ country_code?: string;
665
769
  zip_code?: string;
770
+ state_code?: string;
771
+ gstin?: string;
772
+ display_address?: string;
773
+ sector?: string;
774
+ email?: string;
666
775
  };
667
776
  /** @returns {CustomerShippingDetail} */
668
777
  declare function CustomerShippingDetail(): CustomerShippingDetail;
669
778
  type CustomerShippingDetail = {
779
+ name?: string;
780
+ phone_no?: string;
670
781
  address?: string;
671
782
  city?: string;
783
+ state?: string;
672
784
  country?: string;
673
785
  country_code?: string;
674
- display_address?: string;
786
+ zip_code?: string;
787
+ state_code?: string;
675
788
  gstin?: string;
676
- name?: string;
677
- phone_no?: string;
789
+ display_address?: string;
678
790
  sector?: string;
791
+ };
792
+ /** @returns {ReturnDetail} */
793
+ declare function ReturnDetail(): ReturnDetail;
794
+ type ReturnDetail = {
795
+ address?: string;
796
+ city?: string;
679
797
  state?: string;
680
- state_code?: string;
798
+ country?: string;
799
+ country_code?: string;
681
800
  zip_code?: string;
801
+ state_code?: string;
802
+ gstin?: string;
803
+ display_address?: string;
804
+ sector?: string;
682
805
  };
683
- /** @returns {DeliveryPartnerDetail} */
684
- declare function DeliveryPartnerDetail(): DeliveryPartnerDetail;
685
- type DeliveryPartnerDetail = {
686
- awb_number?: string;
687
- awb_number_barcode?: string;
688
- destination?: string;
689
- eway_bill_number?: string;
806
+ /** @returns {Brand} */
807
+ declare function Brand(): Brand;
808
+ type Brand = {
809
+ logo?: string;
690
810
  name?: string;
691
- origin?: string;
692
- };
693
- /** @returns {DestinationNamespace} */
694
- declare function DestinationNamespace(): DestinationNamespace;
695
- type DestinationNamespace = {
696
- namespace?: string;
697
- };
698
- /** @returns {DigitalsignatureGenerator} */
699
- declare function DigitalsignatureGenerator(): DigitalsignatureGenerator;
700
- type DigitalsignatureGenerator = {
701
- kwargs?: Kwargs;
702
- method?: string;
703
- };
704
- /** @returns {Document} */
705
- declare function Document(): Document;
706
- type Document = {
707
- __v?: number;
708
- _id?: string;
709
- country_code?: string;
710
- format?: string;
711
- pdf_type_id?: number;
712
- template?: string;
713
- };
714
- /** @returns {DummyTemplateData} */
715
- declare function DummyTemplateData(): DummyTemplateData;
716
- type DummyTemplateData = {
717
- __v?: number;
718
- _id?: string;
719
- country_code?: string;
720
- payload: DummyTemplateDataPayload;
721
- pdf_type_id?: number;
722
- };
723
- /** @returns {DummyTemplateDataItems} */
724
- declare function DummyTemplateDataItems(): DummyTemplateDataItems;
725
- type DummyTemplateDataItems = {
726
- data: DummyTemplateData[];
727
- success: boolean;
728
- };
729
- /** @returns {DummyTemplateDataPayload} */
730
- declare function DummyTemplateDataPayload(): DummyTemplateDataPayload;
731
- type DummyTemplateDataPayload = {
732
- amount_paid?: number;
733
- amount_to_be_collected?: number;
734
- app_domain_name?: string;
735
- awb_number_barcode?: string;
736
- b2b_buyer_details?: any;
737
- brand_logo?: string;
738
- company_detail?: CompanyDetail;
739
- conversion_rate?: ConversionRate;
740
- credit_note_id?: string;
741
- currency_code?: string;
742
- current_date?: string;
743
- customer_billing_detail?: CustomerBillingDetail;
744
- customer_shipping_detail?: CustomerShippingDetail;
745
- declaration_texts?: string[];
746
- delivery_partner_detail?: DeliveryPartnerDetail;
747
- digitalsignature?: string;
748
- disclaimer?: string;
749
- image?: Image;
750
- invoice_detail?: InvoiceDetail;
751
- is_export?: boolean;
752
- is_export_shipment?: boolean;
753
- is_qwik?: any;
754
- is_self_pickup?: boolean;
755
- is_self_ship?: boolean;
756
- meta?: Meta;
757
- mode?: string;
758
- order_type?: string;
759
- payments?: PaymentData[];
760
- platform_name?: string;
761
- po_number?: string;
762
- product_table?: ProductTable;
763
- registered_company_detail?: RegisteredCompanyDetail;
764
- return_detail?: ReturnDetail;
765
- shipment_id?: string;
766
- shipment_id_barcode?: string;
767
- signed_qrcode?: string;
768
- store_detail?: StoreDetail;
769
- tax_table?: TaxTable;
770
- total_items?: number;
771
- total_value_of_goods?: number;
772
- txn_id?: string;
773
- uid?: string;
774
- upi_qrcode?: string;
775
- utr?: string;
776
- waybills?: any[];
777
811
  };
778
- /** @returns {ExtensionSlug} */
779
- declare function ExtensionSlug(): ExtensionSlug;
780
- type ExtensionSlug = {
781
- extension_slug?: string;
812
+ /** @returns {Cgst} */
813
+ declare function Cgst(): Cgst;
814
+ type Cgst = {
815
+ value?: number;
816
+ percent?: number;
782
817
  };
783
- /** @returns {FailedResponse} */
784
- declare function FailedResponse(): FailedResponse;
785
- type FailedResponse = {
786
- message: string;
818
+ /** @returns {Sgst} */
819
+ declare function Sgst(): Sgst;
820
+ type Sgst = {
821
+ value?: number;
822
+ percent?: number;
787
823
  };
788
824
  /** @returns {Igst} */
789
825
  declare function Igst(): Igst;
790
826
  type Igst = {
791
- percent?: number;
792
827
  value?: number;
828
+ percent?: number;
793
829
  };
794
- /** @returns {Image} */
795
- declare function Image(): Image;
796
- type Image = {
797
- sales_channel_logo?: string;
798
- };
799
- /** @returns {InvoiceDetail} */
800
- declare function InvoiceDetail(): InvoiceDetail;
801
- type InvoiceDetail = {
802
- channel_order_id?: string;
803
- device_id?: string;
804
- external_order_id?: string;
805
- invoice_date?: string;
806
- invoice_id?: string;
807
- irn?: string;
808
- marketplace_invoice_id?: string;
809
- marketplace_shipment_id?: string;
810
- shipment_id?: string;
811
- signed_qrcode?: string;
812
- upi_qrcode?: string;
813
- };
814
- /** @returns {InvoiceTypesDataResponse} */
815
- declare function InvoiceTypesDataResponse(): InvoiceTypesDataResponse;
816
- type InvoiceTypesDataResponse = {
817
- __v: number;
818
- _id: string;
819
- country_code: string;
820
- format: string[];
821
- name: string;
822
- pdf_type_id: number;
823
- status?: boolean;
824
- visibility: boolean;
825
- };
826
- /** @returns {InvoiceTypesResponse} */
827
- declare function InvoiceTypesResponse(): InvoiceTypesResponse;
828
- type InvoiceTypesResponse = {
829
- data: InvoiceTypesDataResponse[];
830
- success: boolean;
830
+ /** @returns {Tax} */
831
+ declare function Tax(): Tax;
832
+ type Tax = {
833
+ cgst?: Cgst;
834
+ sgst?: Sgst;
835
+ igst?: Igst;
831
836
  };
832
837
  /** @returns {ItemsProductTable} */
833
838
  declare function ItemsProductTable(): ItemsProductTable;
834
839
  type ItemsProductTable = {
840
+ name?: string;
841
+ seller_identifier?: string;
842
+ total?: number;
835
843
  brand?: Brand;
836
- country_of_origin?: string;
837
- discount?: number;
838
844
  hsn_code?: string;
839
845
  item_code?: string;
840
- meta?: any;
841
- mrp?: number;
842
- name?: string;
843
- seller_identifier?: string;
846
+ total_units?: number;
844
847
  size?: string;
845
- tax?: Tax;
848
+ mrp?: number;
849
+ discount?: number;
846
850
  taxable_amount?: number;
847
- total?: number;
848
851
  total_taxable_amount?: number;
849
- total_units?: number;
852
+ tax?: Tax;
853
+ meta?: any;
854
+ country_of_origin?: string;
855
+ };
856
+ /** @returns {ProductTable} */
857
+ declare function ProductTable(): ProductTable;
858
+ type ProductTable = {
859
+ total_items?: number;
860
+ products?: ItemsProductTable[];
861
+ grand_total?: number;
862
+ delivery_charges?: number;
863
+ delivery_charge_text?: string;
864
+ cod_charges?: number;
865
+ fynd_discounts?: number;
866
+ total_in_words?: string;
867
+ gift_price?: number;
868
+ total_quantity?: number;
869
+ sub_total?: number;
870
+ discount?: number;
871
+ promotion?: number;
872
+ coupon?: number;
873
+ reward?: number;
874
+ round_off?: number;
875
+ total_value_of_goods?: number;
876
+ };
877
+ /** @returns {Taxes} */
878
+ declare function Taxes(): Taxes;
879
+ type Taxes = {
880
+ hsn_code?: string;
881
+ tax?: Tax;
882
+ total_tax_value?: number;
883
+ };
884
+ /** @returns {TaxTable} */
885
+ declare function TaxTable(): TaxTable;
886
+ type TaxTable = {
887
+ taxes?: Taxes[];
888
+ total_tax?: number;
889
+ tax_in_words?: string;
890
+ };
891
+ /** @returns {RegisteredCompanyDetail} */
892
+ declare function RegisteredCompanyDetail(): RegisteredCompanyDetail;
893
+ type RegisteredCompanyDetail = {
894
+ address?: string;
895
+ city?: string;
896
+ state?: string;
897
+ country?: string;
898
+ country_code?: string;
899
+ zip_code?: number;
900
+ state_code?: string;
901
+ display_address?: string;
902
+ sector?: string;
850
903
  };
851
904
  /** @returns {Kwargs} */
852
905
  declare function Kwargs(): Kwargs;
853
906
  type Kwargs = {
854
907
  value?: string;
855
908
  };
856
- /** @returns {KwargsAwbNumber} */
857
- declare function KwargsAwbNumber(): KwargsAwbNumber;
858
- type KwargsAwbNumber = {
859
- value?: any[];
909
+ /** @returns {ShipmentIdBarcodeGenerator} */
910
+ declare function ShipmentIdBarcodeGenerator(): ShipmentIdBarcodeGenerator;
911
+ type ShipmentIdBarcodeGenerator = {
912
+ method?: string;
913
+ kwargs?: Kwargs;
914
+ };
915
+ /** @returns {SignedQrcodeGenerator} */
916
+ declare function SignedQrcodeGenerator(): SignedQrcodeGenerator;
917
+ type SignedQrcodeGenerator = {
918
+ method?: string;
919
+ kwargs?: Kwargs;
860
920
  };
861
921
  /** @returns {KwargsUpiQrcode} */
862
922
  declare function KwargsUpiQrcode(): KwargsUpiQrcode;
@@ -864,106 +924,113 @@ type KwargsUpiQrcode = {
864
924
  qr_data?: string;
865
925
  qr_url?: string;
866
926
  };
867
- /** @returns {Meta} */
868
- declare function Meta(): Meta;
869
- type Meta = {
870
- generator?: MetaProperty;
927
+ /** @returns {UpiQrcodeGenerator} */
928
+ declare function UpiQrcodeGenerator(): UpiQrcodeGenerator;
929
+ type UpiQrcodeGenerator = {
930
+ method?: string;
931
+ kwargs?: KwargsUpiQrcode;
932
+ };
933
+ /** @returns {DigitalsignatureGenerator} */
934
+ declare function DigitalsignatureGenerator(): DigitalsignatureGenerator;
935
+ type DigitalsignatureGenerator = {
936
+ method?: string;
937
+ kwargs?: Kwargs;
938
+ };
939
+ /** @returns {KwargsAwbNumber} */
940
+ declare function KwargsAwbNumber(): KwargsAwbNumber;
941
+ type KwargsAwbNumber = {
942
+ value?: any[];
943
+ };
944
+ /** @returns {AwbNumberLabelBarcodeGenerator} */
945
+ declare function AwbNumberLabelBarcodeGenerator(): AwbNumberLabelBarcodeGenerator;
946
+ type AwbNumberLabelBarcodeGenerator = {
947
+ method?: string;
948
+ kwargs?: KwargsAwbNumber;
949
+ };
950
+ /** @returns {AwbNumberBarcodeGenerator} */
951
+ declare function AwbNumberBarcodeGenerator(): AwbNumberBarcodeGenerator;
952
+ type AwbNumberBarcodeGenerator = {
953
+ method?: string;
954
+ kwargs?: Kwargs;
871
955
  };
872
956
  /** @returns {MetaProperty} */
873
957
  declare function MetaProperty(): MetaProperty;
874
958
  type MetaProperty = {
875
- awb_number_barcode_generator?: AwbNumberBarcodeGenerator;
876
- awb_number_label_barcode_generator?: AwbNumberLabelBarcodeGenerator;
877
- digitalsignature_generator?: DigitalsignatureGenerator;
878
959
  shipment_id_barcode_generator?: ShipmentIdBarcodeGenerator;
879
960
  signed_qrcode_generator?: SignedQrcodeGenerator;
880
961
  upi_qrcode_generator?: UpiQrcodeGenerator;
962
+ digitalsignature_generator?: DigitalsignatureGenerator;
963
+ awb_number_label_barcode_generator?: AwbNumberLabelBarcodeGenerator;
964
+ awb_number_barcode_generator?: AwbNumberBarcodeGenerator;
881
965
  };
882
- /** @returns {PaymentData} */
883
- declare function PaymentData(): PaymentData;
884
- type PaymentData = {
885
- amount?: number;
886
- date?: string;
887
- meta?: any;
888
- mode?: string;
889
- name?: string;
890
- payment_type?: string;
891
- time?: string;
892
- transaction_id?: string;
893
- };
894
- /** @returns {PaymentReceiptCustomerDetails} */
895
- declare function PaymentReceiptCustomerDetails(): PaymentReceiptCustomerDetails;
896
- type PaymentReceiptCustomerDetails = {
897
- email_id?: string;
898
- first_name?: string;
899
- id?: string;
900
- last_name?: string;
901
- mobile_number?: string;
902
- };
903
- /** @returns {PaymentReceiptFormat} */
904
- declare function PaymentReceiptFormat(): PaymentReceiptFormat;
905
- type PaymentReceiptFormat = {
906
- payment_receipt?: string[];
907
- };
908
- /** @returns {PaymentReceiptMeta} */
909
- declare function PaymentReceiptMeta(): PaymentReceiptMeta;
910
- type PaymentReceiptMeta = {
911
- action?: string;
912
- application_id?: string[];
913
- company_id?: number;
914
- created_timestamp?: number;
915
- event?: any;
916
- event_trace_info?: any;
917
- format?: PaymentReceiptFormat;
918
- job_type?: string;
919
- organizaton_id?: string;
920
- service?: PaymentReceiptService;
921
- trace?: string;
922
- trace_id?: string[];
966
+ /** @returns {Meta} */
967
+ declare function Meta(): Meta;
968
+ type Meta = {
969
+ generator?: MetaProperty;
923
970
  };
924
- /** @returns {PaymentReceiptOrderDetails} */
925
- declare function PaymentReceiptOrderDetails(): PaymentReceiptOrderDetails;
926
- type PaymentReceiptOrderDetails = {
927
- final_amount?: number;
928
- final_amount_in_words?: string;
929
- jiomart_order_id?: string;
930
- order_created_date?: string;
931
- order_created_time?: string;
932
- prm_id?: string;
933
- receipt_no?: string;
934
- taxes?: PaymentReceiptTaxes;
971
+ /** @returns {DummyTemplateDataPayload} */
972
+ declare function DummyTemplateDataPayload(): DummyTemplateDataPayload;
973
+ type DummyTemplateDataPayload = {
974
+ is_export?: boolean;
975
+ is_export_shipment?: boolean;
976
+ app_domain_name?: string;
977
+ txn_id?: string;
978
+ utr?: string;
979
+ po_number?: string;
980
+ credit_note_id?: string;
981
+ current_date?: string;
982
+ total_value_of_goods?: number;
983
+ b2b_buyer_details?: any;
984
+ is_qwik?: any;
985
+ order_type?: string;
986
+ conversion_rate?: ConversionRate;
987
+ currency_code?: string;
988
+ shipment_id?: string;
989
+ delivery_partner_detail?: DeliveryPartnerDetail;
990
+ image?: Image;
991
+ payments?: PaymentData[];
992
+ invoice_detail?: InvoiceDetail;
993
+ company_detail?: CompanyDetail;
994
+ store_detail?: StoreDetail;
995
+ customer_billing_detail?: CustomerBillingDetail;
996
+ customer_shipping_detail?: CustomerShippingDetail;
997
+ return_detail?: ReturnDetail;
998
+ product_table?: ProductTable;
999
+ tax_table?: TaxTable;
1000
+ declaration_texts?: string[];
1001
+ registered_company_detail?: RegisteredCompanyDetail;
1002
+ disclaimer?: string;
1003
+ meta?: Meta;
1004
+ is_self_ship?: boolean;
1005
+ mode?: string;
1006
+ is_self_pickup?: boolean;
1007
+ platform_name?: string;
1008
+ amount_to_be_collected?: number;
1009
+ amount_paid?: number;
1010
+ waybills?: any[];
935
1011
  total_items?: number;
936
- };
937
- /** @returns {PaymentReceiptPayload} */
938
- declare function PaymentReceiptPayload(): PaymentReceiptPayload;
939
- type PaymentReceiptPayload = {
940
- customer_detail?: PaymentReceiptCustomerDetails;
941
- order_detail?: PaymentReceiptOrderDetails;
942
- payments?: PaymentReceiptPayments[];
1012
+ brand_logo?: string;
1013
+ shipment_id_barcode?: string;
1014
+ signed_qrcode?: string;
1015
+ upi_qrcode?: string;
1016
+ digitalsignature?: string;
1017
+ awb_number_barcode?: string;
943
1018
  uid?: string;
944
1019
  };
945
- /** @returns {PaymentReceiptPayments} */
946
- declare function PaymentReceiptPayments(): PaymentReceiptPayments;
947
- type PaymentReceiptPayments = {
948
- payment_desc?: string;
949
- txn_date?: string;
950
- };
951
- /** @returns {PaymentReceiptRequestBody} */
952
- declare function PaymentReceiptRequestBody(): PaymentReceiptRequestBody;
953
- type PaymentReceiptRequestBody = {
954
- meta?: PaymentReceiptMeta;
955
- payload?: PaymentReceiptPayload;
956
- };
957
- /** @returns {PaymentReceiptService} */
958
- declare function PaymentReceiptService(): PaymentReceiptService;
959
- type PaymentReceiptService = {
960
- name?: string;
1020
+ /** @returns {DummyTemplateData} */
1021
+ declare function DummyTemplateData(): DummyTemplateData;
1022
+ type DummyTemplateData = {
1023
+ _id?: string;
1024
+ pdf_type_id?: number;
1025
+ payload: DummyTemplateDataPayload;
1026
+ country_code?: string;
1027
+ __v?: number;
961
1028
  };
962
- /** @returns {PaymentReceiptTaxes} */
963
- declare function PaymentReceiptTaxes(): PaymentReceiptTaxes;
964
- type PaymentReceiptTaxes = {
965
- gstin?: string;
966
- pancard?: string;
1029
+ /** @returns {DummyTemplateDataItems} */
1030
+ declare function DummyTemplateDataItems(): DummyTemplateDataItems;
1031
+ type DummyTemplateDataItems = {
1032
+ data: DummyTemplateData[];
1033
+ success: boolean;
967
1034
  };
968
1035
  /** @returns {PdfConfig} */
969
1036
  declare function PdfConfig(): PdfConfig;
@@ -972,28 +1039,23 @@ type PdfConfig = {
972
1039
  * - This is invoice document format such as A4, A6, POS
973
1040
  */
974
1041
  format?: string;
975
- pdf_type_id?: number;
976
- /**
977
- * - This is html template string
978
- */
979
- template?: string;
980
- };
981
- /** @returns {PdfConfigSaveSuccess} */
982
- declare function PdfConfigSaveSuccess(): PdfConfigSaveSuccess;
983
- type PdfConfigSaveSuccess = {
984
- data?: PdfConfigSaveSuccessData;
985
- success?: boolean;
1042
+ /**
1043
+ * - This is html template string
1044
+ */
1045
+ template?: string;
1046
+ pdf_type_id?: number;
986
1047
  };
987
- /** @returns {PdfConfigSaveSuccessData} */
988
- declare function PdfConfigSaveSuccessData(): PdfConfigSaveSuccessData;
989
- type PdfConfigSaveSuccessData = {
990
- __v?: number;
1048
+ /** @returns {PdfConfigSuccessData} */
1049
+ declare function PdfConfigSuccessData(): PdfConfigSuccessData;
1050
+ type PdfConfigSuccessData = {
991
1051
  _id?: string;
992
- application_id?: string;
993
1052
  company_id?: number;
994
- format?: string;
1053
+ application_id?: string;
995
1054
  pdf_type_id?: number;
1055
+ format?: string;
996
1056
  template?: string;
1057
+ __v?: number;
1058
+ country_code?: string;
997
1059
  };
998
1060
  /** @returns {PdfConfigSuccess} */
999
1061
  declare function PdfConfigSuccess(): PdfConfigSuccess;
@@ -1001,17 +1063,22 @@ type PdfConfigSuccess = {
1001
1063
  data?: PdfConfigSuccessData[];
1002
1064
  success?: boolean;
1003
1065
  };
1004
- /** @returns {PdfConfigSuccessData} */
1005
- declare function PdfConfigSuccessData(): PdfConfigSuccessData;
1006
- type PdfConfigSuccessData = {
1007
- __v?: number;
1066
+ /** @returns {PdfConfigSaveSuccessData} */
1067
+ declare function PdfConfigSaveSuccessData(): PdfConfigSaveSuccessData;
1068
+ type PdfConfigSaveSuccessData = {
1008
1069
  _id?: string;
1009
- application_id?: string;
1010
1070
  company_id?: number;
1011
- country_code?: string;
1012
- format?: string;
1071
+ application_id?: string;
1013
1072
  pdf_type_id?: number;
1073
+ format?: string;
1014
1074
  template?: string;
1075
+ __v?: number;
1076
+ };
1077
+ /** @returns {PdfConfigSaveSuccess} */
1078
+ declare function PdfConfigSaveSuccess(): PdfConfigSaveSuccess;
1079
+ type PdfConfigSaveSuccess = {
1080
+ data?: PdfConfigSaveSuccessData;
1081
+ success?: boolean;
1015
1082
  };
1016
1083
  /** @returns {PdfDefaultTemplateSuccess} */
1017
1084
  declare function PdfDefaultTemplateSuccess(): PdfDefaultTemplateSuccess;
@@ -1022,159 +1089,92 @@ type PdfDefaultTemplateSuccess = {
1022
1089
  */
1023
1090
  success?: boolean;
1024
1091
  };
1025
- /** @returns {ProductTable} */
1026
- declare function ProductTable(): ProductTable;
1027
- type ProductTable = {
1028
- cod_charges?: number;
1029
- coupon?: number;
1030
- delivery_charge_text?: string;
1031
- delivery_charges?: number;
1032
- discount?: number;
1033
- fynd_discounts?: number;
1034
- gift_price?: number;
1035
- grand_total?: number;
1036
- products?: ItemsProductTable[];
1037
- promotion?: number;
1038
- reward?: number;
1039
- round_off?: number;
1040
- sub_total?: number;
1041
- total_in_words?: string;
1042
- total_items?: number;
1043
- total_quantity?: number;
1044
- total_value_of_goods?: number;
1045
- };
1046
- /** @returns {RegisteredCompanyDetail} */
1047
- declare function RegisteredCompanyDetail(): RegisteredCompanyDetail;
1048
- type RegisteredCompanyDetail = {
1049
- address?: string;
1050
- city?: string;
1051
- country?: string;
1052
- country_code?: string;
1053
- display_address?: string;
1054
- sector?: string;
1055
- state?: string;
1056
- state_code?: string;
1057
- zip_code?: number;
1058
- };
1059
- /** @returns {ReturnDetail} */
1060
- declare function ReturnDetail(): ReturnDetail;
1061
- type ReturnDetail = {
1062
- address?: string;
1063
- city?: string;
1064
- country?: string;
1092
+ /** @returns {Document} */
1093
+ declare function Document(): Document;
1094
+ type Document = {
1095
+ _id?: string;
1096
+ pdf_type_id?: number;
1097
+ format?: string;
1098
+ template?: string;
1065
1099
  country_code?: string;
1066
- display_address?: string;
1067
- gstin?: string;
1068
- sector?: string;
1069
- state?: string;
1070
- state_code?: string;
1071
- zip_code?: string;
1072
- };
1073
- /** @returns {Sgst} */
1074
- declare function Sgst(): Sgst;
1075
- type Sgst = {
1076
- percent?: number;
1077
- value?: number;
1100
+ __v?: number;
1078
1101
  };
1079
- /** @returns {ShipmentIdBarcodeGenerator} */
1080
- declare function ShipmentIdBarcodeGenerator(): ShipmentIdBarcodeGenerator;
1081
- type ShipmentIdBarcodeGenerator = {
1082
- kwargs?: Kwargs;
1083
- method?: string;
1102
+ /** @returns {PaymentReceiptRequestBody} */
1103
+ declare function PaymentReceiptRequestBody(): PaymentReceiptRequestBody;
1104
+ type PaymentReceiptRequestBody = {
1105
+ payload?: PaymentReceiptPayload;
1106
+ meta?: PaymentReceiptMeta;
1084
1107
  };
1085
- /** @returns {SignedQrcodeGenerator} */
1086
- declare function SignedQrcodeGenerator(): SignedQrcodeGenerator;
1087
- type SignedQrcodeGenerator = {
1088
- kwargs?: Kwargs;
1089
- method?: string;
1108
+ /** @returns {PaymentReceiptOrderDetails} */
1109
+ declare function PaymentReceiptOrderDetails(): PaymentReceiptOrderDetails;
1110
+ type PaymentReceiptOrderDetails = {
1111
+ jiomart_order_id?: string;
1112
+ total_items?: number;
1113
+ final_amount?: number;
1114
+ final_amount_in_words?: string;
1115
+ order_created_date?: string;
1116
+ order_created_time?: string;
1117
+ prm_id?: string;
1118
+ receipt_no?: string;
1119
+ taxes?: PaymentReceiptTaxes;
1090
1120
  };
1091
- /** @returns {SignUrlRequest} */
1092
- declare function SignUrlRequest(): SignUrlRequest;
1093
- type SignUrlRequest = {
1094
- expiry: number;
1095
- urls: string[];
1121
+ /** @returns {PaymentReceiptCustomerDetails} */
1122
+ declare function PaymentReceiptCustomerDetails(): PaymentReceiptCustomerDetails;
1123
+ type PaymentReceiptCustomerDetails = {
1124
+ id?: string;
1125
+ email_id?: string;
1126
+ last_name?: string;
1127
+ first_name?: string;
1128
+ mobile_number?: string;
1096
1129
  };
1097
- /** @returns {SignUrlResponse} */
1098
- declare function SignUrlResponse(): SignUrlResponse;
1099
- type SignUrlResponse = {
1100
- urls: Urls[];
1130
+ /** @returns {PaymentReceiptPayments} */
1131
+ declare function PaymentReceiptPayments(): PaymentReceiptPayments;
1132
+ type PaymentReceiptPayments = {
1133
+ payment_desc?: string;
1134
+ txn_date?: string;
1101
1135
  };
1102
- /** @returns {StartRequest} */
1103
- declare function StartRequest(): StartRequest;
1104
- type StartRequest = {
1105
- content_type: string;
1106
- file_name: string;
1107
- params?: any;
1108
- size: number;
1109
- tags?: string[];
1136
+ /** @returns {PaymentReceiptFormat} */
1137
+ declare function PaymentReceiptFormat(): PaymentReceiptFormat;
1138
+ type PaymentReceiptFormat = {
1139
+ payment_receipt?: string[];
1110
1140
  };
1111
- /** @returns {StartResponse} */
1112
- declare function StartResponse(): StartResponse;
1113
- type StartResponse = {
1114
- cdn: CDN;
1115
- content_type: string;
1116
- file_name: string;
1117
- file_path: string;
1118
- method?: string;
1119
- namespace: string;
1120
- operation: string;
1121
- size: number;
1122
- tags?: string[];
1123
- upload: Upload;
1141
+ /** @returns {PaymentReceiptService} */
1142
+ declare function PaymentReceiptService(): PaymentReceiptService;
1143
+ type PaymentReceiptService = {
1144
+ name?: string;
1124
1145
  };
1125
- /** @returns {StoreDetail} */
1126
- declare function StoreDetail(): StoreDetail;
1127
- type StoreDetail = {
1128
- address?: string;
1129
- city?: string;
1130
- country?: string;
1131
- country_code?: string;
1132
- display_address?: string;
1146
+ /** @returns {PaymentReceiptTaxes} */
1147
+ declare function PaymentReceiptTaxes(): PaymentReceiptTaxes;
1148
+ type PaymentReceiptTaxes = {
1133
1149
  gstin?: string;
1134
- sector?: string;
1135
- state?: string;
1136
- state_code?: string;
1137
- store_id?: string;
1138
- store_name?: string;
1139
- zip_code?: string;
1140
- };
1141
- /** @returns {Tax} */
1142
- declare function Tax(): Tax;
1143
- type Tax = {
1144
- cgst?: Cgst;
1145
- igst?: Igst;
1146
- sgst?: Sgst;
1147
- };
1148
- /** @returns {Taxes} */
1149
- declare function Taxes(): Taxes;
1150
- type Taxes = {
1151
- hsn_code?: string;
1152
- tax?: Tax;
1153
- total_tax_value?: number;
1154
- };
1155
- /** @returns {TaxTable} */
1156
- declare function TaxTable(): TaxTable;
1157
- type TaxTable = {
1158
- tax_in_words?: string;
1159
- taxes?: Taxes[];
1160
- total_tax?: number;
1150
+ pancard?: string;
1161
1151
  };
1162
- /** @returns {UpiQrcodeGenerator} */
1163
- declare function UpiQrcodeGenerator(): UpiQrcodeGenerator;
1164
- type UpiQrcodeGenerator = {
1165
- kwargs?: KwargsUpiQrcode;
1166
- method?: string;
1152
+ /** @returns {PaymentReceiptPayload} */
1153
+ declare function PaymentReceiptPayload(): PaymentReceiptPayload;
1154
+ type PaymentReceiptPayload = {
1155
+ uid?: string;
1156
+ order_detail?: PaymentReceiptOrderDetails;
1157
+ customer_detail?: PaymentReceiptCustomerDetails;
1158
+ payments?: PaymentReceiptPayments[];
1167
1159
  };
1168
- /** @returns {Upload} */
1169
- declare function Upload(): Upload;
1170
- type Upload = {
1171
- expiry: number;
1172
- url: string;
1160
+ /** @returns {PaymentReceiptMeta} */
1161
+ declare function PaymentReceiptMeta(): PaymentReceiptMeta;
1162
+ type PaymentReceiptMeta = {
1163
+ job_type?: string;
1164
+ action?: string;
1165
+ event?: any;
1166
+ organizaton_id?: string;
1167
+ company_id?: number;
1168
+ application_id?: string[];
1169
+ format?: PaymentReceiptFormat;
1170
+ trace_id?: string[];
1171
+ created_timestamp?: number;
1172
+ service?: PaymentReceiptService;
1173
+ event_trace_info?: any;
1174
+ trace?: string;
1173
1175
  };
1174
- /** @returns {Urls} */
1175
- declare function Urls(): Urls;
1176
- type Urls = {
1177
- expiry: number;
1178
- signed_url: string;
1179
- url: string;
1176
+ /** @returns {ExtensionSlug} */
1177
+ declare function ExtensionSlug(): ExtensionSlug;
1178
+ type ExtensionSlug = {
1179
+ extension_slug?: string;
1180
1180
  };