@gofynd/fdk-client-javascript 1.4.0-beta.1 → 1.4.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +1 -1
- package/sdk/application/Cart/CartApplicationModel.d.ts +2 -0
- package/sdk/application/Cart/CartApplicationModel.js +2 -0
- package/sdk/application/Order/OrderApplicationModel.d.ts +2 -0
- package/sdk/application/Order/OrderApplicationModel.js +2 -0
- package/sdk/partner/Theme/ThemePartnerModel.d.ts +185 -315
- package/sdk/partner/Theme/ThemePartnerModel.js +182 -222
- package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +2 -12
- package/sdk/platform/Catalog/CatalogPlatformClient.js +17 -87
- package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +11 -25
- package/sdk/platform/Catalog/CatalogPlatformValidator.js +4 -17
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +1 -1
- package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +4 -1
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +5 -0
- package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +2 -0
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +2 -0
- package/sdk/platform/Discount/DiscountPlatformModel.js +2 -0
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +116 -44
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +120 -54
- package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +0 -12
- package/sdk/platform/Order/OrderPlatformApplicationClient.js +0 -85
- package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +1 -12
- package/sdk/platform/Order/OrderPlatformApplicationValidator.js +0 -14
- package/sdk/platform/Order/OrderPlatformClient.d.ts +11 -61
- package/sdk/platform/Order/OrderPlatformClient.js +87 -481
- package/sdk/platform/Order/OrderPlatformModel.d.ts +442 -171
- package/sdk/platform/Order/OrderPlatformModel.js +483 -169
- package/sdk/platform/Order/OrderPlatformValidator.d.ts +22 -69
- package/sdk/platform/Order/OrderPlatformValidator.js +17 -79
- package/sdk/platform/Theme/ThemePlatformModel.d.ts +103 -21
- package/sdk/platform/Theme/ThemePlatformModel.js +108 -20
- package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +2 -2
- package/sdk/platform/Webhook/WebhookPlatformClient.js +4 -2
- package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +21 -27
- package/sdk/platform/Webhook/WebhookPlatformModel.js +30 -27
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
export = FileStoragePlatformModel;
|
|
2
|
+
/**
|
|
3
|
+
* @typedef AwbNumberBarcodeGenerator
|
|
4
|
+
* @property {Kwargs} [kwargs]
|
|
5
|
+
* @property {string} [method]
|
|
6
|
+
*/
|
|
2
7
|
/**
|
|
3
8
|
* @typedef AwbNumberLabelBarcodeGenerator
|
|
4
9
|
* @property {KwargsAwbNumber} [kwargs]
|
|
@@ -23,17 +28,24 @@ export = FileStoragePlatformModel;
|
|
|
23
28
|
/**
|
|
24
29
|
* @typedef CompanyDetail
|
|
25
30
|
* @property {string} [address]
|
|
31
|
+
* @property {Object} [business_country_currency]
|
|
32
|
+
* @property {string} [business_country_timezone]
|
|
26
33
|
* @property {string} [cin]
|
|
27
34
|
* @property {string} [city]
|
|
28
35
|
* @property {string} [country]
|
|
29
36
|
* @property {string} [country_code]
|
|
37
|
+
* @property {string} [display_address]
|
|
30
38
|
* @property {string} [email]
|
|
31
39
|
* @property {string} [gstin]
|
|
32
40
|
* @property {string} [name]
|
|
33
41
|
* @property {string} [pan]
|
|
42
|
+
* @property {Object} [phone]
|
|
34
43
|
* @property {string} [phone_no]
|
|
44
|
+
* @property {string} [sector]
|
|
35
45
|
* @property {string} [state]
|
|
36
46
|
* @property {string} [state_code]
|
|
47
|
+
* @property {string} [trn]
|
|
48
|
+
* @property {string} [vat]
|
|
37
49
|
* @property {string} [website_url]
|
|
38
50
|
* @property {number} [zip_code]
|
|
39
51
|
*/
|
|
@@ -58,7 +70,7 @@ export = FileStoragePlatformModel;
|
|
|
58
70
|
/**
|
|
59
71
|
* @typedef ConversionRate
|
|
60
72
|
* @property {string} [base]
|
|
61
|
-
* @property {
|
|
73
|
+
* @property {Object} [rates]
|
|
62
74
|
* @property {number} [timestamp]
|
|
63
75
|
*/
|
|
64
76
|
/**
|
|
@@ -76,9 +88,12 @@ export = FileStoragePlatformModel;
|
|
|
76
88
|
* @property {string} [city]
|
|
77
89
|
* @property {string} [country]
|
|
78
90
|
* @property {string} [country_code]
|
|
91
|
+
* @property {string} [display_address]
|
|
92
|
+
* @property {string} [email]
|
|
79
93
|
* @property {string} [gstin]
|
|
80
94
|
* @property {string} [name]
|
|
81
95
|
* @property {string} [phone_no]
|
|
96
|
+
* @property {string} [sector]
|
|
82
97
|
* @property {string} [state]
|
|
83
98
|
* @property {string} [state_code]
|
|
84
99
|
* @property {string} [zip_code]
|
|
@@ -89,9 +104,11 @@ export = FileStoragePlatformModel;
|
|
|
89
104
|
* @property {string} [city]
|
|
90
105
|
* @property {string} [country]
|
|
91
106
|
* @property {string} [country_code]
|
|
107
|
+
* @property {string} [display_address]
|
|
92
108
|
* @property {string} [gstin]
|
|
93
109
|
* @property {string} [name]
|
|
94
110
|
* @property {string} [phone_no]
|
|
111
|
+
* @property {string} [sector]
|
|
95
112
|
* @property {string} [state]
|
|
96
113
|
* @property {string} [state_code]
|
|
97
114
|
* @property {string} [zip_code]
|
|
@@ -100,8 +117,10 @@ export = FileStoragePlatformModel;
|
|
|
100
117
|
* @typedef DeliveryPartnerDetail
|
|
101
118
|
* @property {string} [awb_number]
|
|
102
119
|
* @property {string} [awb_number_barcode]
|
|
120
|
+
* @property {string} [destination]
|
|
103
121
|
* @property {string} [eway_bill_number]
|
|
104
122
|
* @property {string} [name]
|
|
123
|
+
* @property {string} [origin]
|
|
105
124
|
*/
|
|
106
125
|
/**
|
|
107
126
|
* @typedef DestinationNamespace
|
|
@@ -140,10 +159,13 @@ export = FileStoragePlatformModel;
|
|
|
140
159
|
* @property {number} [amount_to_be_collected]
|
|
141
160
|
* @property {string} [app_domain_name]
|
|
142
161
|
* @property {string} [awb_number_barcode]
|
|
162
|
+
* @property {Object} [b2b_buyer_details]
|
|
143
163
|
* @property {string} [brand_logo]
|
|
144
164
|
* @property {CompanyDetail} [company_detail]
|
|
145
165
|
* @property {ConversionRate} [conversion_rate]
|
|
166
|
+
* @property {string} [credit_note_id]
|
|
146
167
|
* @property {string} [currency_code]
|
|
168
|
+
* @property {string} [current_date]
|
|
147
169
|
* @property {CustomerBillingDetail} [customer_billing_detail]
|
|
148
170
|
* @property {CustomerShippingDetail} [customer_shipping_detail]
|
|
149
171
|
* @property {string[]} [declaration_texts]
|
|
@@ -153,12 +175,16 @@ export = FileStoragePlatformModel;
|
|
|
153
175
|
* @property {Image} [image]
|
|
154
176
|
* @property {InvoiceDetail} [invoice_detail]
|
|
155
177
|
* @property {boolean} [is_export]
|
|
178
|
+
* @property {boolean} [is_export_shipment]
|
|
179
|
+
* @property {Object} [is_qwik]
|
|
156
180
|
* @property {boolean} [is_self_pickup]
|
|
157
181
|
* @property {boolean} [is_self_ship]
|
|
158
182
|
* @property {Meta} [meta]
|
|
159
183
|
* @property {string} [mode]
|
|
184
|
+
* @property {string} [order_type]
|
|
160
185
|
* @property {PaymentData[]} [payments]
|
|
161
186
|
* @property {string} [platform_name]
|
|
187
|
+
* @property {string} [po_number]
|
|
162
188
|
* @property {ProductTable} [product_table]
|
|
163
189
|
* @property {RegisteredCompanyDetail} [registered_company_detail]
|
|
164
190
|
* @property {ReturnDetail} [return_detail]
|
|
@@ -168,8 +194,11 @@ export = FileStoragePlatformModel;
|
|
|
168
194
|
* @property {StoreDetail} [store_detail]
|
|
169
195
|
* @property {TaxTable} [tax_table]
|
|
170
196
|
* @property {number} [total_items]
|
|
197
|
+
* @property {number} [total_value_of_goods]
|
|
198
|
+
* @property {string} [txn_id]
|
|
171
199
|
* @property {string} [uid]
|
|
172
200
|
* @property {string} [upi_qrcode]
|
|
201
|
+
* @property {string} [utr]
|
|
173
202
|
* @property {Object[]} [waybills]
|
|
174
203
|
*/
|
|
175
204
|
/**
|
|
@@ -189,19 +218,16 @@ export = FileStoragePlatformModel;
|
|
|
189
218
|
* @typedef Image
|
|
190
219
|
* @property {string} [sales_channel_logo]
|
|
191
220
|
*/
|
|
192
|
-
/**
|
|
193
|
-
* @typedef Inr
|
|
194
|
-
* @property {string} [name]
|
|
195
|
-
* @property {string} [sub_unit]
|
|
196
|
-
* @property {string} [symbol]
|
|
197
|
-
* @property {number} [value]
|
|
198
|
-
*/
|
|
199
221
|
/**
|
|
200
222
|
* @typedef InvoiceDetail
|
|
223
|
+
* @property {string} [channel_order_id]
|
|
224
|
+
* @property {string} [device_id]
|
|
201
225
|
* @property {string} [external_order_id]
|
|
202
226
|
* @property {string} [invoice_date]
|
|
203
227
|
* @property {string} [invoice_id]
|
|
204
228
|
* @property {string} [irn]
|
|
229
|
+
* @property {string} [marketplace_invoice_id]
|
|
230
|
+
* @property {string} [marketplace_shipment_id]
|
|
205
231
|
* @property {string} [shipment_id]
|
|
206
232
|
* @property {string} [signed_qrcode]
|
|
207
233
|
* @property {string} [upi_qrcode]
|
|
@@ -225,9 +251,11 @@ export = FileStoragePlatformModel;
|
|
|
225
251
|
/**
|
|
226
252
|
* @typedef ItemsProductTable
|
|
227
253
|
* @property {Brand} [brand]
|
|
254
|
+
* @property {string} [country_of_origin]
|
|
228
255
|
* @property {number} [discount]
|
|
229
256
|
* @property {string} [hsn_code]
|
|
230
257
|
* @property {string} [item_code]
|
|
258
|
+
* @property {Object} [meta]
|
|
231
259
|
* @property {number} [mrp]
|
|
232
260
|
* @property {string} [name]
|
|
233
261
|
* @property {string} [seller_identifier]
|
|
@@ -257,6 +285,7 @@ export = FileStoragePlatformModel;
|
|
|
257
285
|
*/
|
|
258
286
|
/**
|
|
259
287
|
* @typedef MetaProperty
|
|
288
|
+
* @property {AwbNumberBarcodeGenerator} [awb_number_barcode_generator]
|
|
260
289
|
* @property {AwbNumberLabelBarcodeGenerator} [awb_number_label_barcode_generator]
|
|
261
290
|
* @property {DigitalsignatureGenerator} [digitalsignature_generator]
|
|
262
291
|
* @property {ShipmentIdBarcodeGenerator} [shipment_id_barcode_generator]
|
|
@@ -267,7 +296,11 @@ export = FileStoragePlatformModel;
|
|
|
267
296
|
* @typedef PaymentData
|
|
268
297
|
* @property {number} [amount]
|
|
269
298
|
* @property {string} [date]
|
|
299
|
+
* @property {Object} [meta]
|
|
300
|
+
* @property {string} [mode]
|
|
301
|
+
* @property {string} [name]
|
|
270
302
|
* @property {string} [payment_type]
|
|
303
|
+
* @property {string} [time]
|
|
271
304
|
* @property {string} [transaction_id]
|
|
272
305
|
*/
|
|
273
306
|
/**
|
|
@@ -380,18 +413,22 @@ export = FileStoragePlatformModel;
|
|
|
380
413
|
/**
|
|
381
414
|
* @typedef ProductTable
|
|
382
415
|
* @property {number} [cod_charges]
|
|
416
|
+
* @property {number} [coupon]
|
|
383
417
|
* @property {string} [delivery_charge_text]
|
|
384
418
|
* @property {number} [delivery_charges]
|
|
419
|
+
* @property {number} [discount]
|
|
385
420
|
* @property {number} [fynd_discounts]
|
|
421
|
+
* @property {number} [gift_price]
|
|
386
422
|
* @property {number} [grand_total]
|
|
387
423
|
* @property {ItemsProductTable[]} [products]
|
|
424
|
+
* @property {number} [promotion]
|
|
425
|
+
* @property {number} [reward]
|
|
426
|
+
* @property {number} [round_off]
|
|
427
|
+
* @property {number} [sub_total]
|
|
388
428
|
* @property {string} [total_in_words]
|
|
389
429
|
* @property {number} [total_items]
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
* @typedef Rates
|
|
393
|
-
* @property {Inr} [inr]
|
|
394
|
-
* @property {Usd} [usd]
|
|
430
|
+
* @property {number} [total_quantity]
|
|
431
|
+
* @property {number} [total_value_of_goods]
|
|
395
432
|
*/
|
|
396
433
|
/**
|
|
397
434
|
* @typedef RegisteredCompanyDetail
|
|
@@ -399,6 +436,8 @@ export = FileStoragePlatformModel;
|
|
|
399
436
|
* @property {string} [city]
|
|
400
437
|
* @property {string} [country]
|
|
401
438
|
* @property {string} [country_code]
|
|
439
|
+
* @property {string} [display_address]
|
|
440
|
+
* @property {string} [sector]
|
|
402
441
|
* @property {string} [state]
|
|
403
442
|
* @property {string} [state_code]
|
|
404
443
|
* @property {number} [zip_code]
|
|
@@ -409,7 +448,9 @@ export = FileStoragePlatformModel;
|
|
|
409
448
|
* @property {string} [city]
|
|
410
449
|
* @property {string} [country]
|
|
411
450
|
* @property {string} [country_code]
|
|
451
|
+
* @property {string} [display_address]
|
|
412
452
|
* @property {string} [gstin]
|
|
453
|
+
* @property {string} [sector]
|
|
413
454
|
* @property {string} [state]
|
|
414
455
|
* @property {string} [state_code]
|
|
415
456
|
* @property {string} [zip_code]
|
|
@@ -465,9 +506,12 @@ export = FileStoragePlatformModel;
|
|
|
465
506
|
* @property {string} [city]
|
|
466
507
|
* @property {string} [country]
|
|
467
508
|
* @property {string} [country_code]
|
|
509
|
+
* @property {string} [display_address]
|
|
468
510
|
* @property {string} [gstin]
|
|
511
|
+
* @property {string} [sector]
|
|
469
512
|
* @property {string} [state]
|
|
470
513
|
* @property {string} [state_code]
|
|
514
|
+
* @property {string} [store_id]
|
|
471
515
|
* @property {string} [store_name]
|
|
472
516
|
* @property {string} [zip_code]
|
|
473
517
|
*/
|
|
@@ -505,18 +549,17 @@ export = FileStoragePlatformModel;
|
|
|
505
549
|
* @property {string} signed_url
|
|
506
550
|
* @property {string} url
|
|
507
551
|
*/
|
|
508
|
-
/**
|
|
509
|
-
* @typedef Usd
|
|
510
|
-
* @property {string} [name]
|
|
511
|
-
* @property {string} [sub_unit]
|
|
512
|
-
* @property {string} [symbol]
|
|
513
|
-
* @property {number} [value]
|
|
514
|
-
*/
|
|
515
552
|
declare class FileStoragePlatformModel {
|
|
516
553
|
}
|
|
517
554
|
declare namespace FileStoragePlatformModel {
|
|
518
|
-
export { AwbNumberLabelBarcodeGenerator, Brand, CDN, Cgst, CompanyDetail, CompleteResponse, ConversionRate, CopyFiles, CreatedBy, CustomerBillingDetail, CustomerShippingDetail, DeliveryPartnerDetail, DestinationNamespace, DigitalsignatureGenerator, Document, DummyTemplateData, DummyTemplateDataItems, DummyTemplateDataPayload, ExtensionSlug, FailedResponse, Igst, Image,
|
|
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 };
|
|
519
556
|
}
|
|
557
|
+
/** @returns {AwbNumberBarcodeGenerator} */
|
|
558
|
+
declare function AwbNumberBarcodeGenerator(): AwbNumberBarcodeGenerator;
|
|
559
|
+
type AwbNumberBarcodeGenerator = {
|
|
560
|
+
kwargs?: Kwargs;
|
|
561
|
+
method?: string;
|
|
562
|
+
};
|
|
520
563
|
/** @returns {AwbNumberLabelBarcodeGenerator} */
|
|
521
564
|
declare function AwbNumberLabelBarcodeGenerator(): AwbNumberLabelBarcodeGenerator;
|
|
522
565
|
type AwbNumberLabelBarcodeGenerator = {
|
|
@@ -546,17 +589,24 @@ type Cgst = {
|
|
|
546
589
|
declare function CompanyDetail(): CompanyDetail;
|
|
547
590
|
type CompanyDetail = {
|
|
548
591
|
address?: string;
|
|
592
|
+
business_country_currency?: any;
|
|
593
|
+
business_country_timezone?: string;
|
|
549
594
|
cin?: string;
|
|
550
595
|
city?: string;
|
|
551
596
|
country?: string;
|
|
552
597
|
country_code?: string;
|
|
598
|
+
display_address?: string;
|
|
553
599
|
email?: string;
|
|
554
600
|
gstin?: string;
|
|
555
601
|
name?: string;
|
|
556
602
|
pan?: string;
|
|
603
|
+
phone?: any;
|
|
557
604
|
phone_no?: string;
|
|
605
|
+
sector?: string;
|
|
558
606
|
state?: string;
|
|
559
607
|
state_code?: string;
|
|
608
|
+
trn?: string;
|
|
609
|
+
vat?: string;
|
|
560
610
|
website_url?: string;
|
|
561
611
|
zip_code?: number;
|
|
562
612
|
};
|
|
@@ -583,7 +633,7 @@ type CompleteResponse = {
|
|
|
583
633
|
declare function ConversionRate(): ConversionRate;
|
|
584
634
|
type ConversionRate = {
|
|
585
635
|
base?: string;
|
|
586
|
-
rates?:
|
|
636
|
+
rates?: any;
|
|
587
637
|
timestamp?: number;
|
|
588
638
|
};
|
|
589
639
|
/** @returns {CopyFiles} */
|
|
@@ -604,9 +654,12 @@ type CustomerBillingDetail = {
|
|
|
604
654
|
city?: string;
|
|
605
655
|
country?: string;
|
|
606
656
|
country_code?: string;
|
|
657
|
+
display_address?: string;
|
|
658
|
+
email?: string;
|
|
607
659
|
gstin?: string;
|
|
608
660
|
name?: string;
|
|
609
661
|
phone_no?: string;
|
|
662
|
+
sector?: string;
|
|
610
663
|
state?: string;
|
|
611
664
|
state_code?: string;
|
|
612
665
|
zip_code?: string;
|
|
@@ -618,9 +671,11 @@ type CustomerShippingDetail = {
|
|
|
618
671
|
city?: string;
|
|
619
672
|
country?: string;
|
|
620
673
|
country_code?: string;
|
|
674
|
+
display_address?: string;
|
|
621
675
|
gstin?: string;
|
|
622
676
|
name?: string;
|
|
623
677
|
phone_no?: string;
|
|
678
|
+
sector?: string;
|
|
624
679
|
state?: string;
|
|
625
680
|
state_code?: string;
|
|
626
681
|
zip_code?: string;
|
|
@@ -630,8 +685,10 @@ declare function DeliveryPartnerDetail(): DeliveryPartnerDetail;
|
|
|
630
685
|
type DeliveryPartnerDetail = {
|
|
631
686
|
awb_number?: string;
|
|
632
687
|
awb_number_barcode?: string;
|
|
688
|
+
destination?: string;
|
|
633
689
|
eway_bill_number?: string;
|
|
634
690
|
name?: string;
|
|
691
|
+
origin?: string;
|
|
635
692
|
};
|
|
636
693
|
/** @returns {DestinationNamespace} */
|
|
637
694
|
declare function DestinationNamespace(): DestinationNamespace;
|
|
@@ -676,10 +733,13 @@ type DummyTemplateDataPayload = {
|
|
|
676
733
|
amount_to_be_collected?: number;
|
|
677
734
|
app_domain_name?: string;
|
|
678
735
|
awb_number_barcode?: string;
|
|
736
|
+
b2b_buyer_details?: any;
|
|
679
737
|
brand_logo?: string;
|
|
680
738
|
company_detail?: CompanyDetail;
|
|
681
739
|
conversion_rate?: ConversionRate;
|
|
740
|
+
credit_note_id?: string;
|
|
682
741
|
currency_code?: string;
|
|
742
|
+
current_date?: string;
|
|
683
743
|
customer_billing_detail?: CustomerBillingDetail;
|
|
684
744
|
customer_shipping_detail?: CustomerShippingDetail;
|
|
685
745
|
declaration_texts?: string[];
|
|
@@ -689,12 +749,16 @@ type DummyTemplateDataPayload = {
|
|
|
689
749
|
image?: Image;
|
|
690
750
|
invoice_detail?: InvoiceDetail;
|
|
691
751
|
is_export?: boolean;
|
|
752
|
+
is_export_shipment?: boolean;
|
|
753
|
+
is_qwik?: any;
|
|
692
754
|
is_self_pickup?: boolean;
|
|
693
755
|
is_self_ship?: boolean;
|
|
694
756
|
meta?: Meta;
|
|
695
757
|
mode?: string;
|
|
758
|
+
order_type?: string;
|
|
696
759
|
payments?: PaymentData[];
|
|
697
760
|
platform_name?: string;
|
|
761
|
+
po_number?: string;
|
|
698
762
|
product_table?: ProductTable;
|
|
699
763
|
registered_company_detail?: RegisteredCompanyDetail;
|
|
700
764
|
return_detail?: ReturnDetail;
|
|
@@ -704,8 +768,11 @@ type DummyTemplateDataPayload = {
|
|
|
704
768
|
store_detail?: StoreDetail;
|
|
705
769
|
tax_table?: TaxTable;
|
|
706
770
|
total_items?: number;
|
|
771
|
+
total_value_of_goods?: number;
|
|
772
|
+
txn_id?: string;
|
|
707
773
|
uid?: string;
|
|
708
774
|
upi_qrcode?: string;
|
|
775
|
+
utr?: string;
|
|
709
776
|
waybills?: any[];
|
|
710
777
|
};
|
|
711
778
|
/** @returns {ExtensionSlug} */
|
|
@@ -729,21 +796,17 @@ declare function Image(): Image;
|
|
|
729
796
|
type Image = {
|
|
730
797
|
sales_channel_logo?: string;
|
|
731
798
|
};
|
|
732
|
-
/** @returns {Inr} */
|
|
733
|
-
declare function Inr(): Inr;
|
|
734
|
-
type Inr = {
|
|
735
|
-
name?: string;
|
|
736
|
-
sub_unit?: string;
|
|
737
|
-
symbol?: string;
|
|
738
|
-
value?: number;
|
|
739
|
-
};
|
|
740
799
|
/** @returns {InvoiceDetail} */
|
|
741
800
|
declare function InvoiceDetail(): InvoiceDetail;
|
|
742
801
|
type InvoiceDetail = {
|
|
802
|
+
channel_order_id?: string;
|
|
803
|
+
device_id?: string;
|
|
743
804
|
external_order_id?: string;
|
|
744
805
|
invoice_date?: string;
|
|
745
806
|
invoice_id?: string;
|
|
746
807
|
irn?: string;
|
|
808
|
+
marketplace_invoice_id?: string;
|
|
809
|
+
marketplace_shipment_id?: string;
|
|
747
810
|
shipment_id?: string;
|
|
748
811
|
signed_qrcode?: string;
|
|
749
812
|
upi_qrcode?: string;
|
|
@@ -770,9 +833,11 @@ type InvoiceTypesResponse = {
|
|
|
770
833
|
declare function ItemsProductTable(): ItemsProductTable;
|
|
771
834
|
type ItemsProductTable = {
|
|
772
835
|
brand?: Brand;
|
|
836
|
+
country_of_origin?: string;
|
|
773
837
|
discount?: number;
|
|
774
838
|
hsn_code?: string;
|
|
775
839
|
item_code?: string;
|
|
840
|
+
meta?: any;
|
|
776
841
|
mrp?: number;
|
|
777
842
|
name?: string;
|
|
778
843
|
seller_identifier?: string;
|
|
@@ -807,6 +872,7 @@ type Meta = {
|
|
|
807
872
|
/** @returns {MetaProperty} */
|
|
808
873
|
declare function MetaProperty(): MetaProperty;
|
|
809
874
|
type MetaProperty = {
|
|
875
|
+
awb_number_barcode_generator?: AwbNumberBarcodeGenerator;
|
|
810
876
|
awb_number_label_barcode_generator?: AwbNumberLabelBarcodeGenerator;
|
|
811
877
|
digitalsignature_generator?: DigitalsignatureGenerator;
|
|
812
878
|
shipment_id_barcode_generator?: ShipmentIdBarcodeGenerator;
|
|
@@ -818,7 +884,11 @@ declare function PaymentData(): PaymentData;
|
|
|
818
884
|
type PaymentData = {
|
|
819
885
|
amount?: number;
|
|
820
886
|
date?: string;
|
|
887
|
+
meta?: any;
|
|
888
|
+
mode?: string;
|
|
889
|
+
name?: string;
|
|
821
890
|
payment_type?: string;
|
|
891
|
+
time?: string;
|
|
822
892
|
transaction_id?: string;
|
|
823
893
|
};
|
|
824
894
|
/** @returns {PaymentReceiptCustomerDetails} */
|
|
@@ -956,19 +1026,22 @@ type PdfDefaultTemplateSuccess = {
|
|
|
956
1026
|
declare function ProductTable(): ProductTable;
|
|
957
1027
|
type ProductTable = {
|
|
958
1028
|
cod_charges?: number;
|
|
1029
|
+
coupon?: number;
|
|
959
1030
|
delivery_charge_text?: string;
|
|
960
1031
|
delivery_charges?: number;
|
|
1032
|
+
discount?: number;
|
|
961
1033
|
fynd_discounts?: number;
|
|
1034
|
+
gift_price?: number;
|
|
962
1035
|
grand_total?: number;
|
|
963
1036
|
products?: ItemsProductTable[];
|
|
1037
|
+
promotion?: number;
|
|
1038
|
+
reward?: number;
|
|
1039
|
+
round_off?: number;
|
|
1040
|
+
sub_total?: number;
|
|
964
1041
|
total_in_words?: string;
|
|
965
1042
|
total_items?: number;
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
declare function Rates(): Rates;
|
|
969
|
-
type Rates = {
|
|
970
|
-
inr?: Inr;
|
|
971
|
-
usd?: Usd;
|
|
1043
|
+
total_quantity?: number;
|
|
1044
|
+
total_value_of_goods?: number;
|
|
972
1045
|
};
|
|
973
1046
|
/** @returns {RegisteredCompanyDetail} */
|
|
974
1047
|
declare function RegisteredCompanyDetail(): RegisteredCompanyDetail;
|
|
@@ -977,6 +1050,8 @@ type RegisteredCompanyDetail = {
|
|
|
977
1050
|
city?: string;
|
|
978
1051
|
country?: string;
|
|
979
1052
|
country_code?: string;
|
|
1053
|
+
display_address?: string;
|
|
1054
|
+
sector?: string;
|
|
980
1055
|
state?: string;
|
|
981
1056
|
state_code?: string;
|
|
982
1057
|
zip_code?: number;
|
|
@@ -988,7 +1063,9 @@ type ReturnDetail = {
|
|
|
988
1063
|
city?: string;
|
|
989
1064
|
country?: string;
|
|
990
1065
|
country_code?: string;
|
|
1066
|
+
display_address?: string;
|
|
991
1067
|
gstin?: string;
|
|
1068
|
+
sector?: string;
|
|
992
1069
|
state?: string;
|
|
993
1070
|
state_code?: string;
|
|
994
1071
|
zip_code?: string;
|
|
@@ -1052,9 +1129,12 @@ type StoreDetail = {
|
|
|
1052
1129
|
city?: string;
|
|
1053
1130
|
country?: string;
|
|
1054
1131
|
country_code?: string;
|
|
1132
|
+
display_address?: string;
|
|
1055
1133
|
gstin?: string;
|
|
1134
|
+
sector?: string;
|
|
1056
1135
|
state?: string;
|
|
1057
1136
|
state_code?: string;
|
|
1137
|
+
store_id?: string;
|
|
1058
1138
|
store_name?: string;
|
|
1059
1139
|
zip_code?: string;
|
|
1060
1140
|
};
|
|
@@ -1098,11 +1178,3 @@ type Urls = {
|
|
|
1098
1178
|
signed_url: string;
|
|
1099
1179
|
url: string;
|
|
1100
1180
|
};
|
|
1101
|
-
/** @returns {Usd} */
|
|
1102
|
-
declare function Usd(): Usd;
|
|
1103
|
-
type Usd = {
|
|
1104
|
-
name?: string;
|
|
1105
|
-
sub_unit?: string;
|
|
1106
|
-
symbol?: string;
|
|
1107
|
-
value?: number;
|
|
1108
|
-
};
|