@gofynd/fdk-client-javascript 1.3.11-beta.8 → 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/FileStorage/FileStoragePartnerModel.d.ts +3 -15
- package/sdk/partner/FileStorage/FileStoragePartnerModel.js +2 -14
- 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/Content/ContentPlatformApplicationClient.d.ts +1 -1
- package/sdk/platform/Content/ContentPlatformApplicationClient.js +14 -3
- package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +14 -5
- package/sdk/platform/Content/ContentPlatformApplicationValidator.js +13 -4
- package/sdk/platform/Content/ContentPlatformClient.d.ts +1 -1
- package/sdk/platform/Content/ContentPlatformClient.js +14 -3
- package/sdk/platform/Content/ContentPlatformModel.d.ts +6 -0
- package/sdk/platform/Content/ContentPlatformModel.js +6 -0
- package/sdk/platform/Content/ContentPlatformValidator.d.ts +12 -3
- package/sdk/platform/Content/ContentPlatformValidator.js +11 -2
- package/sdk/platform/Discount/DiscountPlatformModel.d.ts +2 -0
- package/sdk/platform/Discount/DiscountPlatformModel.js +2 -0
- package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +118 -58
- package/sdk/platform/FileStorage/FileStoragePlatformModel.js +122 -68
- 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,21 +285,22 @@ 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]
|
|
263
292
|
* @property {SignedQrcodeGenerator} [signed_qrcode_generator]
|
|
264
293
|
* @property {UpiQrcodeGenerator} [upi_qrcode_generator]
|
|
265
294
|
*/
|
|
266
|
-
/**
|
|
267
|
-
* @typedef Params
|
|
268
|
-
* @property {string} [subpath] - The subpath for the file.
|
|
269
|
-
*/
|
|
270
295
|
/**
|
|
271
296
|
* @typedef PaymentData
|
|
272
297
|
* @property {number} [amount]
|
|
273
298
|
* @property {string} [date]
|
|
299
|
+
* @property {Object} [meta]
|
|
300
|
+
* @property {string} [mode]
|
|
301
|
+
* @property {string} [name]
|
|
274
302
|
* @property {string} [payment_type]
|
|
303
|
+
* @property {string} [time]
|
|
275
304
|
* @property {string} [transaction_id]
|
|
276
305
|
*/
|
|
277
306
|
/**
|
|
@@ -384,18 +413,22 @@ export = FileStoragePlatformModel;
|
|
|
384
413
|
/**
|
|
385
414
|
* @typedef ProductTable
|
|
386
415
|
* @property {number} [cod_charges]
|
|
416
|
+
* @property {number} [coupon]
|
|
387
417
|
* @property {string} [delivery_charge_text]
|
|
388
418
|
* @property {number} [delivery_charges]
|
|
419
|
+
* @property {number} [discount]
|
|
389
420
|
* @property {number} [fynd_discounts]
|
|
421
|
+
* @property {number} [gift_price]
|
|
390
422
|
* @property {number} [grand_total]
|
|
391
423
|
* @property {ItemsProductTable[]} [products]
|
|
424
|
+
* @property {number} [promotion]
|
|
425
|
+
* @property {number} [reward]
|
|
426
|
+
* @property {number} [round_off]
|
|
427
|
+
* @property {number} [sub_total]
|
|
392
428
|
* @property {string} [total_in_words]
|
|
393
429
|
* @property {number} [total_items]
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
* @typedef Rates
|
|
397
|
-
* @property {Inr} [inr]
|
|
398
|
-
* @property {Usd} [usd]
|
|
430
|
+
* @property {number} [total_quantity]
|
|
431
|
+
* @property {number} [total_value_of_goods]
|
|
399
432
|
*/
|
|
400
433
|
/**
|
|
401
434
|
* @typedef RegisteredCompanyDetail
|
|
@@ -403,6 +436,8 @@ export = FileStoragePlatformModel;
|
|
|
403
436
|
* @property {string} [city]
|
|
404
437
|
* @property {string} [country]
|
|
405
438
|
* @property {string} [country_code]
|
|
439
|
+
* @property {string} [display_address]
|
|
440
|
+
* @property {string} [sector]
|
|
406
441
|
* @property {string} [state]
|
|
407
442
|
* @property {string} [state_code]
|
|
408
443
|
* @property {number} [zip_code]
|
|
@@ -413,7 +448,9 @@ export = FileStoragePlatformModel;
|
|
|
413
448
|
* @property {string} [city]
|
|
414
449
|
* @property {string} [country]
|
|
415
450
|
* @property {string} [country_code]
|
|
451
|
+
* @property {string} [display_address]
|
|
416
452
|
* @property {string} [gstin]
|
|
453
|
+
* @property {string} [sector]
|
|
417
454
|
* @property {string} [state]
|
|
418
455
|
* @property {string} [state_code]
|
|
419
456
|
* @property {string} [zip_code]
|
|
@@ -446,7 +483,7 @@ export = FileStoragePlatformModel;
|
|
|
446
483
|
* @typedef StartRequest
|
|
447
484
|
* @property {string} content_type
|
|
448
485
|
* @property {string} file_name
|
|
449
|
-
* @property {
|
|
486
|
+
* @property {Object} [params]
|
|
450
487
|
* @property {number} size
|
|
451
488
|
* @property {string[]} [tags]
|
|
452
489
|
*/
|
|
@@ -469,9 +506,12 @@ export = FileStoragePlatformModel;
|
|
|
469
506
|
* @property {string} [city]
|
|
470
507
|
* @property {string} [country]
|
|
471
508
|
* @property {string} [country_code]
|
|
509
|
+
* @property {string} [display_address]
|
|
472
510
|
* @property {string} [gstin]
|
|
511
|
+
* @property {string} [sector]
|
|
473
512
|
* @property {string} [state]
|
|
474
513
|
* @property {string} [state_code]
|
|
514
|
+
* @property {string} [store_id]
|
|
475
515
|
* @property {string} [store_name]
|
|
476
516
|
* @property {string} [zip_code]
|
|
477
517
|
*/
|
|
@@ -509,18 +549,17 @@ export = FileStoragePlatformModel;
|
|
|
509
549
|
* @property {string} signed_url
|
|
510
550
|
* @property {string} url
|
|
511
551
|
*/
|
|
512
|
-
/**
|
|
513
|
-
* @typedef Usd
|
|
514
|
-
* @property {string} [name]
|
|
515
|
-
* @property {string} [sub_unit]
|
|
516
|
-
* @property {string} [symbol]
|
|
517
|
-
* @property {number} [value]
|
|
518
|
-
*/
|
|
519
552
|
declare class FileStoragePlatformModel {
|
|
520
553
|
}
|
|
521
554
|
declare namespace FileStoragePlatformModel {
|
|
522
|
-
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 };
|
|
523
556
|
}
|
|
557
|
+
/** @returns {AwbNumberBarcodeGenerator} */
|
|
558
|
+
declare function AwbNumberBarcodeGenerator(): AwbNumberBarcodeGenerator;
|
|
559
|
+
type AwbNumberBarcodeGenerator = {
|
|
560
|
+
kwargs?: Kwargs;
|
|
561
|
+
method?: string;
|
|
562
|
+
};
|
|
524
563
|
/** @returns {AwbNumberLabelBarcodeGenerator} */
|
|
525
564
|
declare function AwbNumberLabelBarcodeGenerator(): AwbNumberLabelBarcodeGenerator;
|
|
526
565
|
type AwbNumberLabelBarcodeGenerator = {
|
|
@@ -550,17 +589,24 @@ type Cgst = {
|
|
|
550
589
|
declare function CompanyDetail(): CompanyDetail;
|
|
551
590
|
type CompanyDetail = {
|
|
552
591
|
address?: string;
|
|
592
|
+
business_country_currency?: any;
|
|
593
|
+
business_country_timezone?: string;
|
|
553
594
|
cin?: string;
|
|
554
595
|
city?: string;
|
|
555
596
|
country?: string;
|
|
556
597
|
country_code?: string;
|
|
598
|
+
display_address?: string;
|
|
557
599
|
email?: string;
|
|
558
600
|
gstin?: string;
|
|
559
601
|
name?: string;
|
|
560
602
|
pan?: string;
|
|
603
|
+
phone?: any;
|
|
561
604
|
phone_no?: string;
|
|
605
|
+
sector?: string;
|
|
562
606
|
state?: string;
|
|
563
607
|
state_code?: string;
|
|
608
|
+
trn?: string;
|
|
609
|
+
vat?: string;
|
|
564
610
|
website_url?: string;
|
|
565
611
|
zip_code?: number;
|
|
566
612
|
};
|
|
@@ -587,7 +633,7 @@ type CompleteResponse = {
|
|
|
587
633
|
declare function ConversionRate(): ConversionRate;
|
|
588
634
|
type ConversionRate = {
|
|
589
635
|
base?: string;
|
|
590
|
-
rates?:
|
|
636
|
+
rates?: any;
|
|
591
637
|
timestamp?: number;
|
|
592
638
|
};
|
|
593
639
|
/** @returns {CopyFiles} */
|
|
@@ -608,9 +654,12 @@ type CustomerBillingDetail = {
|
|
|
608
654
|
city?: string;
|
|
609
655
|
country?: string;
|
|
610
656
|
country_code?: string;
|
|
657
|
+
display_address?: string;
|
|
658
|
+
email?: string;
|
|
611
659
|
gstin?: string;
|
|
612
660
|
name?: string;
|
|
613
661
|
phone_no?: string;
|
|
662
|
+
sector?: string;
|
|
614
663
|
state?: string;
|
|
615
664
|
state_code?: string;
|
|
616
665
|
zip_code?: string;
|
|
@@ -622,9 +671,11 @@ type CustomerShippingDetail = {
|
|
|
622
671
|
city?: string;
|
|
623
672
|
country?: string;
|
|
624
673
|
country_code?: string;
|
|
674
|
+
display_address?: string;
|
|
625
675
|
gstin?: string;
|
|
626
676
|
name?: string;
|
|
627
677
|
phone_no?: string;
|
|
678
|
+
sector?: string;
|
|
628
679
|
state?: string;
|
|
629
680
|
state_code?: string;
|
|
630
681
|
zip_code?: string;
|
|
@@ -634,8 +685,10 @@ declare function DeliveryPartnerDetail(): DeliveryPartnerDetail;
|
|
|
634
685
|
type DeliveryPartnerDetail = {
|
|
635
686
|
awb_number?: string;
|
|
636
687
|
awb_number_barcode?: string;
|
|
688
|
+
destination?: string;
|
|
637
689
|
eway_bill_number?: string;
|
|
638
690
|
name?: string;
|
|
691
|
+
origin?: string;
|
|
639
692
|
};
|
|
640
693
|
/** @returns {DestinationNamespace} */
|
|
641
694
|
declare function DestinationNamespace(): DestinationNamespace;
|
|
@@ -680,10 +733,13 @@ type DummyTemplateDataPayload = {
|
|
|
680
733
|
amount_to_be_collected?: number;
|
|
681
734
|
app_domain_name?: string;
|
|
682
735
|
awb_number_barcode?: string;
|
|
736
|
+
b2b_buyer_details?: any;
|
|
683
737
|
brand_logo?: string;
|
|
684
738
|
company_detail?: CompanyDetail;
|
|
685
739
|
conversion_rate?: ConversionRate;
|
|
740
|
+
credit_note_id?: string;
|
|
686
741
|
currency_code?: string;
|
|
742
|
+
current_date?: string;
|
|
687
743
|
customer_billing_detail?: CustomerBillingDetail;
|
|
688
744
|
customer_shipping_detail?: CustomerShippingDetail;
|
|
689
745
|
declaration_texts?: string[];
|
|
@@ -693,12 +749,16 @@ type DummyTemplateDataPayload = {
|
|
|
693
749
|
image?: Image;
|
|
694
750
|
invoice_detail?: InvoiceDetail;
|
|
695
751
|
is_export?: boolean;
|
|
752
|
+
is_export_shipment?: boolean;
|
|
753
|
+
is_qwik?: any;
|
|
696
754
|
is_self_pickup?: boolean;
|
|
697
755
|
is_self_ship?: boolean;
|
|
698
756
|
meta?: Meta;
|
|
699
757
|
mode?: string;
|
|
758
|
+
order_type?: string;
|
|
700
759
|
payments?: PaymentData[];
|
|
701
760
|
platform_name?: string;
|
|
761
|
+
po_number?: string;
|
|
702
762
|
product_table?: ProductTable;
|
|
703
763
|
registered_company_detail?: RegisteredCompanyDetail;
|
|
704
764
|
return_detail?: ReturnDetail;
|
|
@@ -708,8 +768,11 @@ type DummyTemplateDataPayload = {
|
|
|
708
768
|
store_detail?: StoreDetail;
|
|
709
769
|
tax_table?: TaxTable;
|
|
710
770
|
total_items?: number;
|
|
771
|
+
total_value_of_goods?: number;
|
|
772
|
+
txn_id?: string;
|
|
711
773
|
uid?: string;
|
|
712
774
|
upi_qrcode?: string;
|
|
775
|
+
utr?: string;
|
|
713
776
|
waybills?: any[];
|
|
714
777
|
};
|
|
715
778
|
/** @returns {ExtensionSlug} */
|
|
@@ -733,21 +796,17 @@ declare function Image(): Image;
|
|
|
733
796
|
type Image = {
|
|
734
797
|
sales_channel_logo?: string;
|
|
735
798
|
};
|
|
736
|
-
/** @returns {Inr} */
|
|
737
|
-
declare function Inr(): Inr;
|
|
738
|
-
type Inr = {
|
|
739
|
-
name?: string;
|
|
740
|
-
sub_unit?: string;
|
|
741
|
-
symbol?: string;
|
|
742
|
-
value?: number;
|
|
743
|
-
};
|
|
744
799
|
/** @returns {InvoiceDetail} */
|
|
745
800
|
declare function InvoiceDetail(): InvoiceDetail;
|
|
746
801
|
type InvoiceDetail = {
|
|
802
|
+
channel_order_id?: string;
|
|
803
|
+
device_id?: string;
|
|
747
804
|
external_order_id?: string;
|
|
748
805
|
invoice_date?: string;
|
|
749
806
|
invoice_id?: string;
|
|
750
807
|
irn?: string;
|
|
808
|
+
marketplace_invoice_id?: string;
|
|
809
|
+
marketplace_shipment_id?: string;
|
|
751
810
|
shipment_id?: string;
|
|
752
811
|
signed_qrcode?: string;
|
|
753
812
|
upi_qrcode?: string;
|
|
@@ -774,9 +833,11 @@ type InvoiceTypesResponse = {
|
|
|
774
833
|
declare function ItemsProductTable(): ItemsProductTable;
|
|
775
834
|
type ItemsProductTable = {
|
|
776
835
|
brand?: Brand;
|
|
836
|
+
country_of_origin?: string;
|
|
777
837
|
discount?: number;
|
|
778
838
|
hsn_code?: string;
|
|
779
839
|
item_code?: string;
|
|
840
|
+
meta?: any;
|
|
780
841
|
mrp?: number;
|
|
781
842
|
name?: string;
|
|
782
843
|
seller_identifier?: string;
|
|
@@ -811,26 +872,23 @@ type Meta = {
|
|
|
811
872
|
/** @returns {MetaProperty} */
|
|
812
873
|
declare function MetaProperty(): MetaProperty;
|
|
813
874
|
type MetaProperty = {
|
|
875
|
+
awb_number_barcode_generator?: AwbNumberBarcodeGenerator;
|
|
814
876
|
awb_number_label_barcode_generator?: AwbNumberLabelBarcodeGenerator;
|
|
815
877
|
digitalsignature_generator?: DigitalsignatureGenerator;
|
|
816
878
|
shipment_id_barcode_generator?: ShipmentIdBarcodeGenerator;
|
|
817
879
|
signed_qrcode_generator?: SignedQrcodeGenerator;
|
|
818
880
|
upi_qrcode_generator?: UpiQrcodeGenerator;
|
|
819
881
|
};
|
|
820
|
-
/** @returns {Params} */
|
|
821
|
-
declare function Params(): Params;
|
|
822
|
-
type Params = {
|
|
823
|
-
/**
|
|
824
|
-
* - The subpath for the file.
|
|
825
|
-
*/
|
|
826
|
-
subpath?: string;
|
|
827
|
-
};
|
|
828
882
|
/** @returns {PaymentData} */
|
|
829
883
|
declare function PaymentData(): PaymentData;
|
|
830
884
|
type PaymentData = {
|
|
831
885
|
amount?: number;
|
|
832
886
|
date?: string;
|
|
887
|
+
meta?: any;
|
|
888
|
+
mode?: string;
|
|
889
|
+
name?: string;
|
|
833
890
|
payment_type?: string;
|
|
891
|
+
time?: string;
|
|
834
892
|
transaction_id?: string;
|
|
835
893
|
};
|
|
836
894
|
/** @returns {PaymentReceiptCustomerDetails} */
|
|
@@ -968,19 +1026,22 @@ type PdfDefaultTemplateSuccess = {
|
|
|
968
1026
|
declare function ProductTable(): ProductTable;
|
|
969
1027
|
type ProductTable = {
|
|
970
1028
|
cod_charges?: number;
|
|
1029
|
+
coupon?: number;
|
|
971
1030
|
delivery_charge_text?: string;
|
|
972
1031
|
delivery_charges?: number;
|
|
1032
|
+
discount?: number;
|
|
973
1033
|
fynd_discounts?: number;
|
|
1034
|
+
gift_price?: number;
|
|
974
1035
|
grand_total?: number;
|
|
975
1036
|
products?: ItemsProductTable[];
|
|
1037
|
+
promotion?: number;
|
|
1038
|
+
reward?: number;
|
|
1039
|
+
round_off?: number;
|
|
1040
|
+
sub_total?: number;
|
|
976
1041
|
total_in_words?: string;
|
|
977
1042
|
total_items?: number;
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
declare function Rates(): Rates;
|
|
981
|
-
type Rates = {
|
|
982
|
-
inr?: Inr;
|
|
983
|
-
usd?: Usd;
|
|
1043
|
+
total_quantity?: number;
|
|
1044
|
+
total_value_of_goods?: number;
|
|
984
1045
|
};
|
|
985
1046
|
/** @returns {RegisteredCompanyDetail} */
|
|
986
1047
|
declare function RegisteredCompanyDetail(): RegisteredCompanyDetail;
|
|
@@ -989,6 +1050,8 @@ type RegisteredCompanyDetail = {
|
|
|
989
1050
|
city?: string;
|
|
990
1051
|
country?: string;
|
|
991
1052
|
country_code?: string;
|
|
1053
|
+
display_address?: string;
|
|
1054
|
+
sector?: string;
|
|
992
1055
|
state?: string;
|
|
993
1056
|
state_code?: string;
|
|
994
1057
|
zip_code?: number;
|
|
@@ -1000,7 +1063,9 @@ type ReturnDetail = {
|
|
|
1000
1063
|
city?: string;
|
|
1001
1064
|
country?: string;
|
|
1002
1065
|
country_code?: string;
|
|
1066
|
+
display_address?: string;
|
|
1003
1067
|
gstin?: string;
|
|
1068
|
+
sector?: string;
|
|
1004
1069
|
state?: string;
|
|
1005
1070
|
state_code?: string;
|
|
1006
1071
|
zip_code?: string;
|
|
@@ -1039,7 +1104,7 @@ declare function StartRequest(): StartRequest;
|
|
|
1039
1104
|
type StartRequest = {
|
|
1040
1105
|
content_type: string;
|
|
1041
1106
|
file_name: string;
|
|
1042
|
-
params?:
|
|
1107
|
+
params?: any;
|
|
1043
1108
|
size: number;
|
|
1044
1109
|
tags?: string[];
|
|
1045
1110
|
};
|
|
@@ -1064,9 +1129,12 @@ type StoreDetail = {
|
|
|
1064
1129
|
city?: string;
|
|
1065
1130
|
country?: string;
|
|
1066
1131
|
country_code?: string;
|
|
1132
|
+
display_address?: string;
|
|
1067
1133
|
gstin?: string;
|
|
1134
|
+
sector?: string;
|
|
1068
1135
|
state?: string;
|
|
1069
1136
|
state_code?: string;
|
|
1137
|
+
store_id?: string;
|
|
1070
1138
|
store_name?: string;
|
|
1071
1139
|
zip_code?: string;
|
|
1072
1140
|
};
|
|
@@ -1110,11 +1178,3 @@ type Urls = {
|
|
|
1110
1178
|
signed_url: string;
|
|
1111
1179
|
url: string;
|
|
1112
1180
|
};
|
|
1113
|
-
/** @returns {Usd} */
|
|
1114
|
-
declare function Usd(): Usd;
|
|
1115
|
-
type Usd = {
|
|
1116
|
-
name?: string;
|
|
1117
|
-
sub_unit?: string;
|
|
1118
|
-
symbol?: string;
|
|
1119
|
-
value?: number;
|
|
1120
|
-
};
|