@gofynd/fdk-client-javascript 1.4.7 → 1.4.8-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.
Files changed (110) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. package/sdk/application/Cart/CartApplicationClient.d.ts +16 -3
  4. package/sdk/application/Cart/CartApplicationClient.js +118 -13
  5. package/sdk/application/Cart/CartApplicationModel.d.ts +121 -45
  6. package/sdk/application/Cart/CartApplicationModel.js +98 -26
  7. package/sdk/application/Cart/CartApplicationValidator.d.ts +45 -1
  8. package/sdk/application/Cart/CartApplicationValidator.js +26 -0
  9. package/sdk/application/Catalog/CatalogApplicationModel.d.ts +4 -2
  10. package/sdk/application/Catalog/CatalogApplicationModel.js +4 -2
  11. package/sdk/application/Content/ContentApplicationClient.d.ts +1 -1
  12. package/sdk/application/Content/ContentApplicationClient.js +5 -3
  13. package/sdk/application/Content/ContentApplicationModel.d.ts +5 -18
  14. package/sdk/application/Content/ContentApplicationModel.js +4 -20
  15. package/sdk/application/Content/ContentApplicationValidator.d.ts +10 -0
  16. package/sdk/application/Content/ContentApplicationValidator.js +4 -0
  17. package/sdk/application/Lead/LeadApplicationClient.d.ts +0 -27
  18. package/sdk/application/Lead/LeadApplicationClient.js +0 -167
  19. package/sdk/application/Lead/LeadApplicationModel.d.ts +1 -146
  20. package/sdk/application/Lead/LeadApplicationModel.js +0 -126
  21. package/sdk/application/Lead/LeadApplicationValidator.d.ts +1 -25
  22. package/sdk/application/Lead/LeadApplicationValidator.js +0 -24
  23. package/sdk/application/Logistic/LogisticApplicationClient.js +1 -1
  24. package/sdk/application/Logistic/LogisticApplicationModel.d.ts +2 -0
  25. package/sdk/application/Logistic/LogisticApplicationModel.js +2 -0
  26. package/sdk/application/Order/OrderApplicationModel.d.ts +2 -0
  27. package/sdk/application/Order/OrderApplicationModel.js +2 -0
  28. package/sdk/application/Payment/PaymentApplicationModel.d.ts +9 -2
  29. package/sdk/application/Payment/PaymentApplicationModel.js +5 -2
  30. package/sdk/application/Theme/ThemeApplicationModel.d.ts +2 -0
  31. package/sdk/application/Theme/ThemeApplicationModel.js +2 -0
  32. package/sdk/partner/Lead/LeadPartnerClient.d.ts +0 -23
  33. package/sdk/partner/Lead/LeadPartnerClient.js +0 -157
  34. package/sdk/partner/Lead/LeadPartnerModel.d.ts +12 -581
  35. package/sdk/partner/Lead/LeadPartnerModel.js +14 -403
  36. package/sdk/partner/Lead/LeadPartnerValidator.d.ts +0 -2
  37. package/sdk/partner/Lead/LeadPartnerValidator.js +0 -12
  38. package/sdk/partner/Logistics/LogisticsPartnerClient.js +1 -1
  39. package/sdk/partner/Logistics/LogisticsPartnerModel.js +4 -4
  40. package/sdk/partner/Theme/ThemePartnerClient.d.ts +22 -0
  41. package/sdk/partner/Theme/ThemePartnerClient.js +162 -0
  42. package/sdk/partner/Theme/ThemePartnerModel.d.ts +119 -1
  43. package/sdk/partner/Theme/ThemePartnerModel.js +142 -0
  44. package/sdk/partner/Theme/ThemePartnerValidator.d.ts +2 -0
  45. package/sdk/partner/Theme/ThemePartnerValidator.js +14 -0
  46. package/sdk/platform/Billing/BillingPlatformClient.d.ts +304 -43
  47. package/sdk/platform/Billing/BillingPlatformClient.js +2218 -118
  48. package/sdk/platform/Billing/BillingPlatformModel.d.ts +1330 -282
  49. package/sdk/platform/Billing/BillingPlatformModel.js +1808 -590
  50. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +324 -16
  51. package/sdk/platform/Billing/BillingPlatformValidator.js +340 -12
  52. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +28 -5
  53. package/sdk/platform/Cart/CartPlatformApplicationClient.js +198 -5
  54. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +81 -1
  55. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +48 -0
  56. package/sdk/platform/Cart/CartPlatformModel.d.ts +214 -40
  57. package/sdk/platform/Cart/CartPlatformModel.js +164 -24
  58. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +2 -2
  59. package/sdk/platform/Catalog/CatalogPlatformClient.js +18 -2
  60. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +4 -0
  61. package/sdk/platform/Catalog/CatalogPlatformModel.js +4 -0
  62. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +28 -0
  63. package/sdk/platform/Catalog/CatalogPlatformValidator.js +12 -0
  64. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +1 -1
  65. package/sdk/platform/Content/ContentPlatformApplicationClient.js +18 -1
  66. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +25 -0
  67. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +10 -0
  68. package/sdk/platform/Content/ContentPlatformModel.d.ts +6 -4
  69. package/sdk/platform/Content/ContentPlatformModel.js +6 -4
  70. package/sdk/platform/Finance/FinancePlatformClient.d.ts +49 -28
  71. package/sdk/platform/Finance/FinancePlatformClient.js +181 -28
  72. package/sdk/platform/Finance/FinancePlatformModel.d.ts +350 -127
  73. package/sdk/platform/Finance/FinancePlatformModel.js +378 -108
  74. package/sdk/platform/Finance/FinancePlatformValidator.d.ts +56 -43
  75. package/sdk/platform/Finance/FinancePlatformValidator.js +61 -42
  76. package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +0 -47
  77. package/sdk/platform/Lead/LeadPlatformApplicationClient.js +0 -321
  78. package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +1 -46
  79. package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +0 -48
  80. package/sdk/platform/Lead/LeadPlatformClient.d.ts +2 -25
  81. package/sdk/platform/Lead/LeadPlatformClient.js +2 -167
  82. package/sdk/platform/Lead/LeadPlatformModel.d.ts +82 -204
  83. package/sdk/platform/Lead/LeadPlatformModel.js +98 -178
  84. package/sdk/platform/Lead/LeadPlatformValidator.d.ts +1 -25
  85. package/sdk/platform/Lead/LeadPlatformValidator.js +0 -24
  86. package/sdk/platform/Order/OrderPlatformModel.d.ts +108 -15
  87. package/sdk/platform/Order/OrderPlatformModel.js +47 -14
  88. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +12 -0
  89. package/sdk/platform/Payment/PaymentPlatformModel.js +5 -0
  90. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +4 -4
  91. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +12 -0
  92. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +82 -0
  93. package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +18 -1
  94. package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +14 -0
  95. package/sdk/platform/Theme/ThemePlatformModel.d.ts +67 -1
  96. package/sdk/platform/Theme/ThemePlatformModel.js +78 -0
  97. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +0 -40
  98. package/sdk/platform/Webhook/WebhookPlatformClient.js +0 -307
  99. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +112 -164
  100. package/sdk/platform/Webhook/WebhookPlatformModel.js +118 -169
  101. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +9 -35
  102. package/sdk/platform/Webhook/WebhookPlatformValidator.js +8 -46
  103. package/sdk/public/Billing/BillingPublicClient.d.ts +24 -2
  104. package/sdk/public/Billing/BillingPublicClient.js +156 -3
  105. package/sdk/public/Billing/BillingPublicModel.d.ts +368 -26
  106. package/sdk/public/Billing/BillingPublicModel.js +317 -18
  107. package/sdk/public/Billing/BillingPublicValidator.d.ts +19 -3
  108. package/sdk/public/Billing/BillingPublicValidator.js +22 -3
  109. package/sdk/public/Webhook/WebhookPublicModel.d.ts +22 -22
  110. package/sdk/public/Webhook/WebhookPublicModel.js +22 -22
@@ -1,4 +1,10 @@
1
1
  export = FinancePlatformModel;
2
+ /**
3
+ * @typedef OrederFreezeResponse
4
+ * @property {boolean} [success]
5
+ * @property {boolean} [oms_freeze]
6
+ * @property {string} [source]
7
+ */
2
8
  /**
3
9
  * @typedef GenerateReportMeta
4
10
  * @property {string} [brand]
@@ -20,7 +26,7 @@ export = FinancePlatformModel;
20
26
  * @property {GenerateReportFilters} [filters]
21
27
  */
22
28
  /**
23
- * @typedef GenerateReportRequest
29
+ * @typedef GenerateReportReq
24
30
  * @property {GenerateReportPlatform} [data]
25
31
  */
26
32
  /**
@@ -41,22 +47,44 @@ export = FinancePlatformModel;
41
47
  */
42
48
  /**
43
49
  * @typedef GenerateReportJson
44
- * @property {string[][]} [items]
50
+ * @property {Object} [data]
51
+ * @property {number} [item_count]
45
52
  * @property {Page} [page]
46
53
  * @property {string} [end_date]
47
- * @property {string[]} [headers]
48
54
  * @property {string} [start_date]
49
- * @property {number} [item_count]
55
+ * @property {string[][]} [items]
56
+ * @property {string[]} [headers]
50
57
  */
51
58
  /**
52
59
  * @typedef Error
60
+ * @property {number} [status]
53
61
  * @property {string} [reason]
54
62
  * @property {boolean} [success]
63
+ * @property {string} [message]
64
+ * @property {string} [code]
65
+ * @property {string} [exception]
66
+ * @property {string} [info]
67
+ * @property {string} [request_id]
68
+ * @property {string} [stack_trace]
69
+ * @property {ErrorMeta} [meta]
70
+ */
71
+ /**
72
+ * @typedef ErrorMeta
73
+ * @property {ErrorMetaItems[]} [columns_errors]
74
+ */
75
+ /**
76
+ * @typedef ErrorMetaItems
77
+ * @property {number} [code]
78
+ * @property {string} [message]
55
79
  */
56
80
  /**
57
81
  * @typedef DownloadReport
82
+ * @property {DownloadReportData} [data]
83
+ */
84
+ /**
85
+ * @typedef DownloadReportData
58
86
  * @property {number} [page]
59
- * @property {number} [pagesize]
87
+ * @property {number} [page_size]
60
88
  * @property {string} [start_date]
61
89
  * @property {string} [end_date]
62
90
  */
@@ -75,14 +103,26 @@ export = FinancePlatformModel;
75
103
  * @property {Page} [page]
76
104
  * @property {number} [item_count]
77
105
  */
106
+ /**
107
+ * @typedef GetEngineFilters
108
+ * @property {string} [config_field]
109
+ * @property {string} [status]
110
+ * @property {boolean} [is_active]
111
+ * @property {string} [seller_id]
112
+ */
78
113
  /**
79
114
  * @typedef GetEngineData
80
- * @property {string} [table_name]
115
+ * @property {string} [status]
116
+ * @property {GetEngineFilters} [filters]
81
117
  * @property {string[]} [project]
82
- * @property {Object} [filters]
118
+ * @property {string} [table_name]
119
+ * @property {Object} [search]
120
+ * @property {number} [page]
121
+ * @property {number} [page_size]
122
+ * @property {string} [order_by]
83
123
  */
84
124
  /**
85
- * @typedef GetEngineRequest
125
+ * @typedef GetEngineReq
86
126
  * @property {GetEngineData} [data]
87
127
  */
88
128
  /**
@@ -97,7 +137,7 @@ export = FinancePlatformModel;
97
137
  * @property {string} [reason_type]
98
138
  */
99
139
  /**
100
- * @typedef GetReasonRequest
140
+ * @typedef GetReasonReq
101
141
  * @property {GetReason} [data]
102
142
  */
103
143
  /**
@@ -119,7 +159,7 @@ export = FinancePlatformModel;
119
159
  * @property {boolean} [listing_enabled]
120
160
  */
121
161
  /**
122
- * @typedef GetReportListRequest
162
+ * @typedef GetReportListReq
123
163
  * @property {GetReportListData} [data]
124
164
  */
125
165
  /**
@@ -145,6 +185,7 @@ export = FinancePlatformModel;
145
185
  */
146
186
  /**
147
187
  * @typedef GetAffiliateResponse
188
+ * @property {string} [reason]
148
189
  * @property {boolean} [success]
149
190
  * @property {Object[]} [docs]
150
191
  */
@@ -153,7 +194,7 @@ export = FinancePlatformModel;
153
194
  * @property {string[]} [note_id]
154
195
  */
155
196
  /**
156
- * @typedef DownloadCreditDebitNoteRequest
197
+ * @typedef DownloadCreditDebitNoteReq
157
198
  * @property {DownloadCreditDebitNote} [data]
158
199
  */
159
200
  /**
@@ -169,10 +210,10 @@ export = FinancePlatformModel;
169
210
  /**
170
211
  * @typedef PaymentProcessPayload
171
212
  * @property {string} [platform]
172
- * @property {string} [amount]
213
+ * @property {number} [amount]
173
214
  * @property {string} [transaction_type]
174
215
  * @property {string} [source_reference]
175
- * @property {string} [total_amount]
216
+ * @property {number} [total_amount]
176
217
  * @property {Object} [meta]
177
218
  * @property {string} [currency]
178
219
  * @property {string} [seller_id]
@@ -180,7 +221,7 @@ export = FinancePlatformModel;
180
221
  * @property {string} [invoice_number]
181
222
  */
182
223
  /**
183
- * @typedef PaymentProcessRequest
224
+ * @typedef PaymentProcessReq
184
225
  * @property {PaymentProcessPayload} [data]
185
226
  */
186
227
  /**
@@ -195,12 +236,12 @@ export = FinancePlatformModel;
195
236
  * @typedef CreditlineDataPlatformPayload
196
237
  * @property {number} [page]
197
238
  * @property {string} [seller_id]
198
- * @property {string} [end_end]
199
- * @property {string} [start_end]
200
- * @property {number} [pagesize]
239
+ * @property {string} [end_date]
240
+ * @property {string} [start_date]
241
+ * @property {number} [page_size]
201
242
  */
202
243
  /**
203
- * @typedef CreditlineDataPlatformRequest
244
+ * @typedef CreditlineDataPlatformReq
204
245
  * @property {CreditlineDataPlatformPayload} [data]
205
246
  */
206
247
  /**
@@ -218,7 +259,7 @@ export = FinancePlatformModel;
218
259
  * @property {string} [seller_id]
219
260
  */
220
261
  /**
221
- * @typedef IsCreditlinePlatformRequest
262
+ * @typedef IsCreditlinePlatformReq
222
263
  * @property {IsCreditlinePayload} [data]
223
264
  */
224
265
  /**
@@ -231,7 +272,7 @@ export = FinancePlatformModel;
231
272
  * @property {boolean} [is_active]
232
273
  */
233
274
  /**
234
- * @typedef InvoiceTypeRequest
275
+ * @typedef InvoiceTypeReq
235
276
  * @property {InvoiceTypePayloadData} [data]
236
277
  */
237
278
  /**
@@ -261,7 +302,7 @@ export = FinancePlatformModel;
261
302
  * @property {InoviceListingPayloadDataFilters} [filters]
262
303
  */
263
304
  /**
264
- * @typedef InvoiceListingRequest
305
+ * @typedef InvoiceListingReq
265
306
  * @property {InvoiceListingPayloadData} [data]
266
307
  */
267
308
  /**
@@ -272,7 +313,7 @@ export = FinancePlatformModel;
272
313
  */
273
314
  /**
274
315
  * @typedef InvoiceListingResponseItems
275
- * @property {string} [amount]
316
+ * @property {number} [amount]
276
317
  * @property {string} [company]
277
318
  * @property {string} [status]
278
319
  * @property {string} [due_date]
@@ -286,6 +327,8 @@ export = FinancePlatformModel;
286
327
  */
287
328
  /**
288
329
  * @typedef InvoiceListingResponse
330
+ * @property {boolean} [success]
331
+ * @property {string[]} [headers]
289
332
  * @property {UnpaidInvoiceDataItems} [unpaid_invoice_data]
290
333
  * @property {InvoiceListingResponseItems[]} [items]
291
334
  * @property {Page} [page]
@@ -296,7 +339,7 @@ export = FinancePlatformModel;
296
339
  * @property {string[]} [invoice_number]
297
340
  */
298
341
  /**
299
- * @typedef InvoicePdfRequest
342
+ * @typedef InvoicePdfReq
300
343
  * @property {InvoicePdfPayloadData} [data]
301
344
  */
302
345
  /**
@@ -312,7 +355,7 @@ export = FinancePlatformModel;
312
355
  * @property {number} [seller_id]
313
356
  */
314
357
  /**
315
- * @typedef IsCnRefundMethodRequest
358
+ * @typedef IsCnRefundMethodReq
316
359
  * @property {IsCnRefundMethodData} [data]
317
360
  */
318
361
  /**
@@ -342,7 +385,7 @@ export = FinancePlatformModel;
342
385
  * @property {string[]} [slug_values]
343
386
  */
344
387
  /**
345
- * @typedef CreateSellerCreditNoteConfigRequest
388
+ * @typedef CreateSellerCreditNoteConfigReq
346
389
  * @property {CreateSellerCreditNoteConfig} [data]
347
390
  */
348
391
  /**
@@ -357,7 +400,7 @@ export = FinancePlatformModel;
357
400
  * @property {number} [seller_id]
358
401
  */
359
402
  /**
360
- * @typedef DeleteConfigRequest
403
+ * @typedef DeleteConfigReq
361
404
  * @property {DeleteConfig} [data]
362
405
  */
363
406
  /**
@@ -366,20 +409,21 @@ export = FinancePlatformModel;
366
409
  * @property {string} [message]
367
410
  */
368
411
  /**
369
- * @typedef ChannelDisplayName
370
- * @property {string} [platform_pos]
412
+ * @typedef ChannelDisplayNameItems
413
+ * @property {string} [key]
414
+ * @property {string} [value]
371
415
  */
372
416
  /**
373
417
  * @typedef ChannelDisplayNameResponse
374
418
  * @property {boolean} [success]
375
- * @property {ChannelDisplayName} [data]
419
+ * @property {ChannelDisplayNameItems[]} [items]
376
420
  */
377
421
  /**
378
422
  * @typedef CnReferenceNumber
379
423
  * @property {string} [cn_reference_number]
380
424
  */
381
425
  /**
382
- * @typedef GetPdfUrlViewRequest
426
+ * @typedef GetPdfUrlViewReq
383
427
  * @property {CnReferenceNumber} [data]
384
428
  */
385
429
  /**
@@ -393,7 +437,7 @@ export = FinancePlatformModel;
393
437
  * @property {GetPdfUrlViewResponseData} [data]
394
438
  */
395
439
  /**
396
- * @typedef CreditNoteDetailsRequest
440
+ * @typedef CreditNoteDetailsReq
397
441
  * @property {CnReferenceNumber} [data]
398
442
  */
399
443
  /**
@@ -410,6 +454,7 @@ export = FinancePlatformModel;
410
454
  */
411
455
  /**
412
456
  * @typedef RedemptionDetails
457
+ * @property {Object} [meta]
413
458
  * @property {string} [staff_id]
414
459
  * @property {string} [created_at]
415
460
  * @property {string} [order_id]
@@ -421,6 +466,8 @@ export = FinancePlatformModel;
421
466
  */
422
467
  /**
423
468
  * @typedef CreditNoteDetails
469
+ * @property {string} [currency]
470
+ * @property {number} [current_amount_used]
424
471
  * @property {string} [cn_status]
425
472
  * @property {string} [customer_mobile_number]
426
473
  * @property {string} [cn_reference_number]
@@ -442,7 +489,7 @@ export = FinancePlatformModel;
442
489
  * @property {string} [customer_mobile_number]
443
490
  */
444
491
  /**
445
- * @typedef GetCustomerCreditBalanceRequest
492
+ * @typedef GetCustomerCreditBalanceReq
446
493
  * @property {GetCustomerCreditBalance} [data]
447
494
  */
448
495
  /**
@@ -456,7 +503,7 @@ export = FinancePlatformModel;
456
503
  * @property {GetCustomerCreditBalanceResponseData} [data]
457
504
  */
458
505
  /**
459
- * @typedef GetCnConfigRequest
506
+ * @typedef GetCnConfigReq
460
507
  * @property {DeleteConfig} [data]
461
508
  */
462
509
  /**
@@ -468,7 +515,7 @@ export = FinancePlatformModel;
468
515
  * @typedef GetCnConfigResponseData
469
516
  * @property {boolean} [is_cn_as_refund_method]
470
517
  * @property {string} [affiliate_id]
471
- * @property {GetCnConfigResponseMeta} [meta]
518
+ * @property {Object} [meta]
472
519
  * @property {number} [seller_id]
473
520
  * @property {CreditNoteConfigNotificationEvents} [notification_events]
474
521
  * @property {number} [validity]
@@ -487,13 +534,14 @@ export = FinancePlatformModel;
487
534
  * @property {string[]} [utilisation]
488
535
  * @property {string[]} [ordering_channel]
489
536
  * @property {number[]} [store_id]
490
- * @property {string[]} [types_of_transaction]
537
+ * @property {string[]} [type_of_transaction]
538
+ * @property {string[]} [issuance_channel]
491
539
  */
492
540
  /**
493
541
  * @typedef CnGenerateReport
494
542
  * @property {number} [page]
495
543
  * @property {string} [end_date]
496
- * @property {number} [pagesize]
544
+ * @property {number} [page_size]
497
545
  * @property {CnGenerateReportFilters} [filters]
498
546
  * @property {string} [affiliate_id]
499
547
  * @property {GenerateReportFilters} [meta]
@@ -503,7 +551,7 @@ export = FinancePlatformModel;
503
551
  * @property {string} [start_date]
504
552
  */
505
553
  /**
506
- * @typedef GenerateReportCustomerCnRequest
554
+ * @typedef GenerateReportCustomerCnReq
507
555
  * @property {CnGenerateReport} [data]
508
556
  */
509
557
  /**
@@ -519,6 +567,8 @@ export = FinancePlatformModel;
519
567
  */
520
568
  /**
521
569
  * @typedef GenerateReportCustomerCnResponseData
570
+ * @property {boolean} [success]
571
+ * @property {string} [message]
522
572
  * @property {CnGenerateReportItems[]} [items]
523
573
  * @property {Object} [row_header_display_order]
524
574
  * @property {string} [end_date]
@@ -540,12 +590,12 @@ export = FinancePlatformModel;
540
590
  * @property {string} [end_date]
541
591
  * @property {string} [affiliate_id]
542
592
  * @property {string} [search]
543
- * @property {string[]} [status]
593
+ * @property {string} [status]
544
594
  * @property {string} [search_type]
545
- * @property {number} [pagesize]
595
+ * @property {number} [page_size]
546
596
  */
547
597
  /**
548
- * @typedef DownloadReportCustomerCnRequest
598
+ * @typedef DownloadReportCustomerCnReq
549
599
  * @property {CnDownloadReport} [data]
550
600
  */
551
601
  /**
@@ -567,7 +617,10 @@ export = FinancePlatformModel;
567
617
  */
568
618
  /**
569
619
  * @typedef DownloadReportCustomerCnResponse
620
+ * @property {DownloadReportResponseData[]} [items]
570
621
  * @property {DownloadReportResponseData[]} [data]
622
+ * @property {number} [item_count]
623
+ * @property {Page} [page]
571
624
  */
572
625
  /**
573
626
  * @typedef GetReportingFilters
@@ -585,12 +638,63 @@ export = FinancePlatformModel;
585
638
  * @property {string} [type]
586
639
  * @property {string} [value]
587
640
  */
641
+ /**
642
+ * @typedef GetReportingFiltersReasonOptions
643
+ * @property {string} [text]
644
+ * @property {string} [value]
645
+ * @property {string} [placeholder_text]
646
+ */
647
+ /**
648
+ * @typedef GetReportingFiltersReason
649
+ * @property {string} [text]
650
+ * @property {string} [type]
651
+ * @property {string} [value]
652
+ * @property {GetReportingFiltersReasonOptions[]} [options]
653
+ */
588
654
  /**
589
655
  * @typedef GetReportingFiltersResponse
656
+ * @property {GetReportingFiltersReason} [reason]
590
657
  * @property {GetReportingFilters} [search]
591
658
  * @property {GetReportingNestedFilters[]} [filters]
592
659
  * @property {GetReportingFilters} [status]
593
660
  */
661
+ /**
662
+ * @typedef InvoicePaymentOptionsPayloadData
663
+ * @property {string} [invoice_number]
664
+ */
665
+ /**
666
+ * @typedef InvoicePaymentOptionsReq
667
+ * @property {InvoicePaymentOptionsPayloadData} [data]
668
+ */
669
+ /**
670
+ * @typedef InvoicePaymentOptionsResponsePayableAmounts
671
+ * @property {number} [amount]
672
+ * @property {string} [amount_key]
673
+ * @property {string} [header]
674
+ */
675
+ /**
676
+ * @typedef InvoicePaymentOptionsResponseDeductedAmounts
677
+ * @property {number} [amount]
678
+ * @property {string} [header]
679
+ * @property {string} [amount_key]
680
+ * @property {boolean} [is_payable]
681
+ * @property {string} [symbol]
682
+ */
683
+ /**
684
+ * @typedef InvoicePaymentOptionsResponseData
685
+ * @property {Currency} [currency]
686
+ * @property {string} [invoice_type]
687
+ * @property {InvoicePaymentOptionsResponsePayableAmounts[]} [display_amounts]
688
+ * @property {Object} [total_amount]
689
+ * @property {Object} [deducted_amounts]
690
+ * @property {InvoicePaymentOptionsResponsePayableAmounts[]} [payable_amounts]
691
+ */
692
+ /**
693
+ * @typedef InvoicePaymentOptionsResponse
694
+ * @property {string} [reason]
695
+ * @property {InvoicePaymentOptionsResponseData} [data]
696
+ * @property {boolean} [success]
697
+ */
594
698
  /**
595
699
  * @typedef PaymentDetail
596
700
  * @property {string} [display_name]
@@ -609,6 +713,7 @@ export = FinancePlatformModel;
609
713
  */
610
714
  /**
611
715
  * @typedef InvoicePaymentDetailsResponse
716
+ * @property {string} [reason]
612
717
  * @property {InvoicePaymentDetailsResponseData} [data]
613
718
  * @property {boolean} [success]
614
719
  * @property {boolean} [payment_details_visible]
@@ -638,7 +743,7 @@ export = FinancePlatformModel;
638
743
  * @property {string} [description]
639
744
  */
640
745
  /**
641
- * @typedef UnlockCreditNoteRequest
746
+ * @typedef UnlockCreditNoteReq
642
747
  * @property {UnlockCreditNoteRequestData} [data]
643
748
  */
644
749
  /**
@@ -654,8 +759,15 @@ export = FinancePlatformModel;
654
759
  declare class FinancePlatformModel {
655
760
  }
656
761
  declare namespace FinancePlatformModel {
657
- export { GenerateReportMeta, GenerateReportFilters, GenerateReportPlatform, GenerateReportRequest, Page, Currency, GenerateReportJson, Error, DownloadReport, DownloadReportItems, DownloadReportList, GetEngineData, GetEngineRequest, GetEngineResponse, GetReason, GetReasonRequest, ReasonItem, GetReasonResponse, GetReportListData, GetReportListRequest, GetAffiliate, GetReportListResponse, ReportItem, GetAffiliateResponse, DownloadCreditDebitNote, DownloadCreditDebitNoteRequest, DownloadCreditDebitNoteResponseData, DownloadCreditDebitNoteResponse, PaymentProcessPayload, PaymentProcessRequest, PaymentProcessResponse, CreditlineDataPlatformPayload, CreditlineDataPlatformRequest, CreditlineDataPlatformResponse, IsCreditlinePayload, IsCreditlinePlatformRequest, IsCreditlinePlatformResponse, InvoiceTypePayloadData, InvoiceTypeRequest, InvoiceTypeResponseItems, InvoiceTypeResponse, InoviceListingPayloadDataFilters, InvoiceListingPayloadData, InvoiceListingRequest, UnpaidInvoiceDataItems, InvoiceListingResponseItems, InvoiceListingResponse, InvoicePdfPayloadData, InvoicePdfRequest, InvoicePdfResponse, IsCnRefundMethodData, IsCnRefundMethodRequest, IsCnRefundMethodResponseData, IsCnRefundMethodResponse, CreditNoteConfigNotificationEvents, CreateSellerCreditNoteConfig, CreateSellerCreditNoteConfigRequest, CreateSellerCreditNoteConfigResponse, DeleteConfig, DeleteConfigRequest, DeleteConfigResponse, ChannelDisplayName, ChannelDisplayNameResponse, CnReferenceNumber, GetPdfUrlViewRequest, GetPdfUrlViewResponseData, GetPdfUrlViewResponse, CreditNoteDetailsRequest, CnDetails, RedemptionDetails, CreditNoteDetails, CreditNoteDetailsResponse, GetCustomerCreditBalance, GetCustomerCreditBalanceRequest, GetCustomerCreditBalanceResponseData, GetCustomerCreditBalanceResponse, GetCnConfigRequest, GetCnConfigResponseMeta, GetCnConfigResponseData, GetCnConfigResponse, CnGenerateReportFilters, CnGenerateReport, GenerateReportCustomerCnRequest, CnGenerateReportItems, GenerateReportCustomerCnResponseData, GenerateReportCustomerCnResponse, CnDownloadReport, DownloadReportCustomerCnRequest, DownloadReportResponseData, DownloadReportCustomerCnResponse, GetReportingFilters, GetReportingNestedFilters, GetReportingFiltersResponse, PaymentDetail, PaidInvoicePaymentDetail, InvoicePaymentDetailsResponseData, InvoicePaymentDetailsResponse, InvoiceActivityLogsResponseData, InvoiceActivityLogsResponse, InvoiceActivityLogError, UnlockCreditNoteRequestData, UnlockCreditNoteRequest, UnlockCreditNoteResponseData, UnlockCreditNoteResponse };
762
+ export { OrederFreezeResponse, GenerateReportMeta, GenerateReportFilters, GenerateReportPlatform, GenerateReportReq, Page, Currency, GenerateReportJson, Error, ErrorMeta, ErrorMetaItems, DownloadReport, DownloadReportData, DownloadReportItems, DownloadReportList, GetEngineFilters, GetEngineData, GetEngineReq, GetEngineResponse, GetReason, GetReasonReq, ReasonItem, GetReasonResponse, GetReportListData, GetReportListReq, GetAffiliate, GetReportListResponse, ReportItem, GetAffiliateResponse, DownloadCreditDebitNote, DownloadCreditDebitNoteReq, DownloadCreditDebitNoteResponseData, DownloadCreditDebitNoteResponse, PaymentProcessPayload, PaymentProcessReq, PaymentProcessResponse, CreditlineDataPlatformPayload, CreditlineDataPlatformReq, CreditlineDataPlatformResponse, IsCreditlinePayload, IsCreditlinePlatformReq, IsCreditlinePlatformResponse, InvoiceTypePayloadData, InvoiceTypeReq, InvoiceTypeResponseItems, InvoiceTypeResponse, InoviceListingPayloadDataFilters, InvoiceListingPayloadData, InvoiceListingReq, UnpaidInvoiceDataItems, InvoiceListingResponseItems, InvoiceListingResponse, InvoicePdfPayloadData, InvoicePdfReq, InvoicePdfResponse, IsCnRefundMethodData, IsCnRefundMethodReq, IsCnRefundMethodResponseData, IsCnRefundMethodResponse, CreditNoteConfigNotificationEvents, CreateSellerCreditNoteConfig, CreateSellerCreditNoteConfigReq, CreateSellerCreditNoteConfigResponse, DeleteConfig, DeleteConfigReq, DeleteConfigResponse, ChannelDisplayNameItems, ChannelDisplayNameResponse, CnReferenceNumber, GetPdfUrlViewReq, GetPdfUrlViewResponseData, GetPdfUrlViewResponse, CreditNoteDetailsReq, CnDetails, RedemptionDetails, CreditNoteDetails, CreditNoteDetailsResponse, GetCustomerCreditBalance, GetCustomerCreditBalanceReq, GetCustomerCreditBalanceResponseData, GetCustomerCreditBalanceResponse, GetCnConfigReq, GetCnConfigResponseMeta, GetCnConfigResponseData, GetCnConfigResponse, CnGenerateReportFilters, CnGenerateReport, GenerateReportCustomerCnReq, CnGenerateReportItems, GenerateReportCustomerCnResponseData, GenerateReportCustomerCnResponse, CnDownloadReport, DownloadReportCustomerCnReq, DownloadReportResponseData, DownloadReportCustomerCnResponse, GetReportingFilters, GetReportingNestedFilters, GetReportingFiltersReasonOptions, GetReportingFiltersReason, GetReportingFiltersResponse, InvoicePaymentOptionsPayloadData, InvoicePaymentOptionsReq, InvoicePaymentOptionsResponsePayableAmounts, InvoicePaymentOptionsResponseDeductedAmounts, InvoicePaymentOptionsResponseData, InvoicePaymentOptionsResponse, PaymentDetail, PaidInvoicePaymentDetail, InvoicePaymentDetailsResponseData, InvoicePaymentDetailsResponse, InvoiceActivityLogsResponseData, InvoiceActivityLogsResponse, InvoiceActivityLogError, UnlockCreditNoteRequestData, UnlockCreditNoteReq, UnlockCreditNoteResponseData, UnlockCreditNoteResponse };
658
763
  }
764
+ /** @returns {OrederFreezeResponse} */
765
+ declare function OrederFreezeResponse(): OrederFreezeResponse;
766
+ type OrederFreezeResponse = {
767
+ success?: boolean;
768
+ oms_freeze?: boolean;
769
+ source?: string;
770
+ };
659
771
  /** @returns {GenerateReportMeta} */
660
772
  declare function GenerateReportMeta(): GenerateReportMeta;
661
773
  type GenerateReportMeta = {
@@ -679,9 +791,9 @@ type GenerateReportPlatform = {
679
791
  report_id?: string;
680
792
  filters?: GenerateReportFilters;
681
793
  };
682
- /** @returns {GenerateReportRequest} */
683
- declare function GenerateReportRequest(): GenerateReportRequest;
684
- type GenerateReportRequest = {
794
+ /** @returns {GenerateReportReq} */
795
+ declare function GenerateReportReq(): GenerateReportReq;
796
+ type GenerateReportReq = {
685
797
  data?: GenerateReportPlatform;
686
798
  };
687
799
  /** @returns {Page} */
@@ -705,24 +817,49 @@ type Currency = {
705
817
  /** @returns {GenerateReportJson} */
706
818
  declare function GenerateReportJson(): GenerateReportJson;
707
819
  type GenerateReportJson = {
708
- items?: string[][];
820
+ data?: any;
821
+ item_count?: number;
709
822
  page?: Page;
710
823
  end_date?: string;
711
- headers?: string[];
712
824
  start_date?: string;
713
- item_count?: number;
825
+ items?: string[][];
826
+ headers?: string[];
714
827
  };
715
828
  /** @returns {Error} */
716
829
  declare function Error(): Error;
717
830
  type Error = {
831
+ status?: number;
718
832
  reason?: string;
719
833
  success?: boolean;
834
+ message?: string;
835
+ code?: string;
836
+ exception?: string;
837
+ info?: string;
838
+ request_id?: string;
839
+ stack_trace?: string;
840
+ meta?: ErrorMeta;
841
+ };
842
+ /** @returns {ErrorMeta} */
843
+ declare function ErrorMeta(): ErrorMeta;
844
+ type ErrorMeta = {
845
+ columns_errors?: ErrorMetaItems[];
846
+ };
847
+ /** @returns {ErrorMetaItems} */
848
+ declare function ErrorMetaItems(): ErrorMetaItems;
849
+ type ErrorMetaItems = {
850
+ code?: number;
851
+ message?: string;
720
852
  };
721
853
  /** @returns {DownloadReport} */
722
854
  declare function DownloadReport(): DownloadReport;
723
855
  type DownloadReport = {
856
+ data?: DownloadReportData;
857
+ };
858
+ /** @returns {DownloadReportData} */
859
+ declare function DownloadReportData(): DownloadReportData;
860
+ type DownloadReportData = {
724
861
  page?: number;
725
- pagesize?: number;
862
+ page_size?: number;
726
863
  start_date?: string;
727
864
  end_date?: string;
728
865
  };
@@ -743,16 +880,29 @@ type DownloadReportList = {
743
880
  page?: Page;
744
881
  item_count?: number;
745
882
  };
883
+ /** @returns {GetEngineFilters} */
884
+ declare function GetEngineFilters(): GetEngineFilters;
885
+ type GetEngineFilters = {
886
+ config_field?: string;
887
+ status?: string;
888
+ is_active?: boolean;
889
+ seller_id?: string;
890
+ };
746
891
  /** @returns {GetEngineData} */
747
892
  declare function GetEngineData(): GetEngineData;
748
893
  type GetEngineData = {
749
- table_name?: string;
894
+ status?: string;
895
+ filters?: GetEngineFilters;
750
896
  project?: string[];
751
- filters?: any;
897
+ table_name?: string;
898
+ search?: any;
899
+ page?: number;
900
+ page_size?: number;
901
+ order_by?: string;
752
902
  };
753
- /** @returns {GetEngineRequest} */
754
- declare function GetEngineRequest(): GetEngineRequest;
755
- type GetEngineRequest = {
903
+ /** @returns {GetEngineReq} */
904
+ declare function GetEngineReq(): GetEngineReq;
905
+ type GetEngineReq = {
756
906
  data?: GetEngineData;
757
907
  };
758
908
  /** @returns {GetEngineResponse} */
@@ -768,9 +918,9 @@ declare function GetReason(): GetReason;
768
918
  type GetReason = {
769
919
  reason_type?: string;
770
920
  };
771
- /** @returns {GetReasonRequest} */
772
- declare function GetReasonRequest(): GetReasonRequest;
773
- type GetReasonRequest = {
921
+ /** @returns {GetReasonReq} */
922
+ declare function GetReasonReq(): GetReasonReq;
923
+ type GetReasonReq = {
774
924
  data?: GetReason;
775
925
  };
776
926
  /** @returns {ReasonItem} */
@@ -794,9 +944,9 @@ type GetReportListData = {
794
944
  role_name?: string;
795
945
  listing_enabled?: boolean;
796
946
  };
797
- /** @returns {GetReportListRequest} */
798
- declare function GetReportListRequest(): GetReportListRequest;
799
- type GetReportListRequest = {
947
+ /** @returns {GetReportListReq} */
948
+ declare function GetReportListReq(): GetReportListReq;
949
+ type GetReportListReq = {
800
950
  data?: GetReportListData;
801
951
  };
802
952
  /** @returns {GetAffiliate} */
@@ -826,6 +976,7 @@ type ReportItem = {
826
976
  /** @returns {GetAffiliateResponse} */
827
977
  declare function GetAffiliateResponse(): GetAffiliateResponse;
828
978
  type GetAffiliateResponse = {
979
+ reason?: string;
829
980
  success?: boolean;
830
981
  docs?: any[];
831
982
  };
@@ -834,9 +985,9 @@ declare function DownloadCreditDebitNote(): DownloadCreditDebitNote;
834
985
  type DownloadCreditDebitNote = {
835
986
  note_id?: string[];
836
987
  };
837
- /** @returns {DownloadCreditDebitNoteRequest} */
838
- declare function DownloadCreditDebitNoteRequest(): DownloadCreditDebitNoteRequest;
839
- type DownloadCreditDebitNoteRequest = {
988
+ /** @returns {DownloadCreditDebitNoteReq} */
989
+ declare function DownloadCreditDebitNoteReq(): DownloadCreditDebitNoteReq;
990
+ type DownloadCreditDebitNoteReq = {
840
991
  data?: DownloadCreditDebitNote;
841
992
  };
842
993
  /** @returns {DownloadCreditDebitNoteResponseData} */
@@ -855,19 +1006,19 @@ type DownloadCreditDebitNoteResponse = {
855
1006
  declare function PaymentProcessPayload(): PaymentProcessPayload;
856
1007
  type PaymentProcessPayload = {
857
1008
  platform?: string;
858
- amount?: string;
1009
+ amount?: number;
859
1010
  transaction_type?: string;
860
1011
  source_reference?: string;
861
- total_amount?: string;
1012
+ total_amount?: number;
862
1013
  meta?: any;
863
1014
  currency?: string;
864
1015
  seller_id?: string;
865
1016
  mode_of_payment?: string;
866
1017
  invoice_number?: string;
867
1018
  };
868
- /** @returns {PaymentProcessRequest} */
869
- declare function PaymentProcessRequest(): PaymentProcessRequest;
870
- type PaymentProcessRequest = {
1019
+ /** @returns {PaymentProcessReq} */
1020
+ declare function PaymentProcessReq(): PaymentProcessReq;
1021
+ type PaymentProcessReq = {
871
1022
  data?: PaymentProcessPayload;
872
1023
  };
873
1024
  /** @returns {PaymentProcessResponse} */
@@ -884,13 +1035,13 @@ declare function CreditlineDataPlatformPayload(): CreditlineDataPlatformPayload;
884
1035
  type CreditlineDataPlatformPayload = {
885
1036
  page?: number;
886
1037
  seller_id?: string;
887
- end_end?: string;
888
- start_end?: string;
889
- pagesize?: number;
1038
+ end_date?: string;
1039
+ start_date?: string;
1040
+ page_size?: number;
890
1041
  };
891
- /** @returns {CreditlineDataPlatformRequest} */
892
- declare function CreditlineDataPlatformRequest(): CreditlineDataPlatformRequest;
893
- type CreditlineDataPlatformRequest = {
1042
+ /** @returns {CreditlineDataPlatformReq} */
1043
+ declare function CreditlineDataPlatformReq(): CreditlineDataPlatformReq;
1044
+ type CreditlineDataPlatformReq = {
894
1045
  data?: CreditlineDataPlatformPayload;
895
1046
  };
896
1047
  /** @returns {CreditlineDataPlatformResponse} */
@@ -909,9 +1060,9 @@ declare function IsCreditlinePayload(): IsCreditlinePayload;
909
1060
  type IsCreditlinePayload = {
910
1061
  seller_id?: string;
911
1062
  };
912
- /** @returns {IsCreditlinePlatformRequest} */
913
- declare function IsCreditlinePlatformRequest(): IsCreditlinePlatformRequest;
914
- type IsCreditlinePlatformRequest = {
1063
+ /** @returns {IsCreditlinePlatformReq} */
1064
+ declare function IsCreditlinePlatformReq(): IsCreditlinePlatformReq;
1065
+ type IsCreditlinePlatformReq = {
915
1066
  data?: IsCreditlinePayload;
916
1067
  };
917
1068
  /** @returns {IsCreditlinePlatformResponse} */
@@ -925,9 +1076,9 @@ declare function InvoiceTypePayloadData(): InvoiceTypePayloadData;
925
1076
  type InvoiceTypePayloadData = {
926
1077
  is_active?: boolean;
927
1078
  };
928
- /** @returns {InvoiceTypeRequest} */
929
- declare function InvoiceTypeRequest(): InvoiceTypeRequest;
930
- type InvoiceTypeRequest = {
1079
+ /** @returns {InvoiceTypeReq} */
1080
+ declare function InvoiceTypeReq(): InvoiceTypeReq;
1081
+ type InvoiceTypeReq = {
931
1082
  data?: InvoiceTypePayloadData;
932
1083
  };
933
1084
  /** @returns {InvoiceTypeResponseItems} */
@@ -960,9 +1111,9 @@ type InvoiceListingPayloadData = {
960
1111
  search?: string;
961
1112
  filters?: InoviceListingPayloadDataFilters;
962
1113
  };
963
- /** @returns {InvoiceListingRequest} */
964
- declare function InvoiceListingRequest(): InvoiceListingRequest;
965
- type InvoiceListingRequest = {
1114
+ /** @returns {InvoiceListingReq} */
1115
+ declare function InvoiceListingReq(): InvoiceListingReq;
1116
+ type InvoiceListingReq = {
966
1117
  data?: InvoiceListingPayloadData;
967
1118
  };
968
1119
  /** @returns {UnpaidInvoiceDataItems} */
@@ -975,7 +1126,7 @@ type UnpaidInvoiceDataItems = {
975
1126
  /** @returns {InvoiceListingResponseItems} */
976
1127
  declare function InvoiceListingResponseItems(): InvoiceListingResponseItems;
977
1128
  type InvoiceListingResponseItems = {
978
- amount?: string;
1129
+ amount?: number;
979
1130
  company?: string;
980
1131
  status?: string;
981
1132
  due_date?: string;
@@ -990,6 +1141,8 @@ type InvoiceListingResponseItems = {
990
1141
  /** @returns {InvoiceListingResponse} */
991
1142
  declare function InvoiceListingResponse(): InvoiceListingResponse;
992
1143
  type InvoiceListingResponse = {
1144
+ success?: boolean;
1145
+ headers?: string[];
993
1146
  unpaid_invoice_data?: UnpaidInvoiceDataItems;
994
1147
  items?: InvoiceListingResponseItems[];
995
1148
  page?: Page;
@@ -1000,9 +1153,9 @@ declare function InvoicePdfPayloadData(): InvoicePdfPayloadData;
1000
1153
  type InvoicePdfPayloadData = {
1001
1154
  invoice_number?: string[];
1002
1155
  };
1003
- /** @returns {InvoicePdfRequest} */
1004
- declare function InvoicePdfRequest(): InvoicePdfRequest;
1005
- type InvoicePdfRequest = {
1156
+ /** @returns {InvoicePdfReq} */
1157
+ declare function InvoicePdfReq(): InvoicePdfReq;
1158
+ type InvoicePdfReq = {
1006
1159
  data?: InvoicePdfPayloadData;
1007
1160
  };
1008
1161
  /** @returns {InvoicePdfResponse} */
@@ -1019,9 +1172,9 @@ type IsCnRefundMethodData = {
1019
1172
  toggle_edit_required?: boolean;
1020
1173
  seller_id?: number;
1021
1174
  };
1022
- /** @returns {IsCnRefundMethodRequest} */
1023
- declare function IsCnRefundMethodRequest(): IsCnRefundMethodRequest;
1024
- type IsCnRefundMethodRequest = {
1175
+ /** @returns {IsCnRefundMethodReq} */
1176
+ declare function IsCnRefundMethodReq(): IsCnRefundMethodReq;
1177
+ type IsCnRefundMethodReq = {
1025
1178
  data?: IsCnRefundMethodData;
1026
1179
  };
1027
1180
  /** @returns {IsCnRefundMethodResponseData} */
@@ -1054,9 +1207,9 @@ type CreateSellerCreditNoteConfig = {
1054
1207
  currency_type?: string;
1055
1208
  slug_values?: string[];
1056
1209
  };
1057
- /** @returns {CreateSellerCreditNoteConfigRequest} */
1058
- declare function CreateSellerCreditNoteConfigRequest(): CreateSellerCreditNoteConfigRequest;
1059
- type CreateSellerCreditNoteConfigRequest = {
1210
+ /** @returns {CreateSellerCreditNoteConfigReq} */
1211
+ declare function CreateSellerCreditNoteConfigReq(): CreateSellerCreditNoteConfigReq;
1212
+ type CreateSellerCreditNoteConfigReq = {
1060
1213
  data?: CreateSellerCreditNoteConfig;
1061
1214
  };
1062
1215
  /** @returns {CreateSellerCreditNoteConfigResponse} */
@@ -1072,9 +1225,9 @@ type DeleteConfig = {
1072
1225
  slug_values?: string[];
1073
1226
  seller_id?: number;
1074
1227
  };
1075
- /** @returns {DeleteConfigRequest} */
1076
- declare function DeleteConfigRequest(): DeleteConfigRequest;
1077
- type DeleteConfigRequest = {
1228
+ /** @returns {DeleteConfigReq} */
1229
+ declare function DeleteConfigReq(): DeleteConfigReq;
1230
+ type DeleteConfigReq = {
1078
1231
  data?: DeleteConfig;
1079
1232
  };
1080
1233
  /** @returns {DeleteConfigResponse} */
@@ -1083,25 +1236,26 @@ type DeleteConfigResponse = {
1083
1236
  success?: boolean;
1084
1237
  message?: string;
1085
1238
  };
1086
- /** @returns {ChannelDisplayName} */
1087
- declare function ChannelDisplayName(): ChannelDisplayName;
1088
- type ChannelDisplayName = {
1089
- platform_pos?: string;
1239
+ /** @returns {ChannelDisplayNameItems} */
1240
+ declare function ChannelDisplayNameItems(): ChannelDisplayNameItems;
1241
+ type ChannelDisplayNameItems = {
1242
+ key?: string;
1243
+ value?: string;
1090
1244
  };
1091
1245
  /** @returns {ChannelDisplayNameResponse} */
1092
1246
  declare function ChannelDisplayNameResponse(): ChannelDisplayNameResponse;
1093
1247
  type ChannelDisplayNameResponse = {
1094
1248
  success?: boolean;
1095
- data?: ChannelDisplayName;
1249
+ items?: ChannelDisplayNameItems[];
1096
1250
  };
1097
1251
  /** @returns {CnReferenceNumber} */
1098
1252
  declare function CnReferenceNumber(): CnReferenceNumber;
1099
1253
  type CnReferenceNumber = {
1100
1254
  cn_reference_number?: string;
1101
1255
  };
1102
- /** @returns {GetPdfUrlViewRequest} */
1103
- declare function GetPdfUrlViewRequest(): GetPdfUrlViewRequest;
1104
- type GetPdfUrlViewRequest = {
1256
+ /** @returns {GetPdfUrlViewReq} */
1257
+ declare function GetPdfUrlViewReq(): GetPdfUrlViewReq;
1258
+ type GetPdfUrlViewReq = {
1105
1259
  data?: CnReferenceNumber;
1106
1260
  };
1107
1261
  /** @returns {GetPdfUrlViewResponseData} */
@@ -1116,9 +1270,9 @@ type GetPdfUrlViewResponse = {
1116
1270
  success?: boolean;
1117
1271
  data?: GetPdfUrlViewResponseData;
1118
1272
  };
1119
- /** @returns {CreditNoteDetailsRequest} */
1120
- declare function CreditNoteDetailsRequest(): CreditNoteDetailsRequest;
1121
- type CreditNoteDetailsRequest = {
1273
+ /** @returns {CreditNoteDetailsReq} */
1274
+ declare function CreditNoteDetailsReq(): CreditNoteDetailsReq;
1275
+ type CreditNoteDetailsReq = {
1122
1276
  data?: CnReferenceNumber;
1123
1277
  };
1124
1278
  /** @returns {CnDetails} */
@@ -1137,6 +1291,7 @@ type CnDetails = {
1137
1291
  /** @returns {RedemptionDetails} */
1138
1292
  declare function RedemptionDetails(): RedemptionDetails;
1139
1293
  type RedemptionDetails = {
1294
+ meta?: any;
1140
1295
  staff_id?: string;
1141
1296
  created_at?: string;
1142
1297
  order_id?: string;
@@ -1149,6 +1304,8 @@ type RedemptionDetails = {
1149
1304
  /** @returns {CreditNoteDetails} */
1150
1305
  declare function CreditNoteDetails(): CreditNoteDetails;
1151
1306
  type CreditNoteDetails = {
1307
+ currency?: string;
1308
+ current_amount_used?: number;
1152
1309
  cn_status?: string;
1153
1310
  customer_mobile_number?: string;
1154
1311
  cn_reference_number?: string;
@@ -1171,9 +1328,9 @@ type GetCustomerCreditBalance = {
1171
1328
  seller_id?: number;
1172
1329
  customer_mobile_number?: string;
1173
1330
  };
1174
- /** @returns {GetCustomerCreditBalanceRequest} */
1175
- declare function GetCustomerCreditBalanceRequest(): GetCustomerCreditBalanceRequest;
1176
- type GetCustomerCreditBalanceRequest = {
1331
+ /** @returns {GetCustomerCreditBalanceReq} */
1332
+ declare function GetCustomerCreditBalanceReq(): GetCustomerCreditBalanceReq;
1333
+ type GetCustomerCreditBalanceReq = {
1177
1334
  data?: GetCustomerCreditBalance;
1178
1335
  };
1179
1336
  /** @returns {GetCustomerCreditBalanceResponseData} */
@@ -1188,9 +1345,9 @@ type GetCustomerCreditBalanceResponse = {
1188
1345
  success?: boolean;
1189
1346
  data?: GetCustomerCreditBalanceResponseData;
1190
1347
  };
1191
- /** @returns {GetCnConfigRequest} */
1192
- declare function GetCnConfigRequest(): GetCnConfigRequest;
1193
- type GetCnConfigRequest = {
1348
+ /** @returns {GetCnConfigReq} */
1349
+ declare function GetCnConfigReq(): GetCnConfigReq;
1350
+ type GetCnConfigReq = {
1194
1351
  data?: DeleteConfig;
1195
1352
  };
1196
1353
  /** @returns {GetCnConfigResponseMeta} */
@@ -1204,7 +1361,7 @@ declare function GetCnConfigResponseData(): GetCnConfigResponseData;
1204
1361
  type GetCnConfigResponseData = {
1205
1362
  is_cn_as_refund_method?: boolean;
1206
1363
  affiliate_id?: string;
1207
- meta?: GetCnConfigResponseMeta;
1364
+ meta?: any;
1208
1365
  seller_id?: number;
1209
1366
  notification_events?: CreditNoteConfigNotificationEvents;
1210
1367
  validity?: number;
@@ -1225,14 +1382,15 @@ type CnGenerateReportFilters = {
1225
1382
  utilisation?: string[];
1226
1383
  ordering_channel?: string[];
1227
1384
  store_id?: number[];
1228
- types_of_transaction?: string[];
1385
+ type_of_transaction?: string[];
1386
+ issuance_channel?: string[];
1229
1387
  };
1230
1388
  /** @returns {CnGenerateReport} */
1231
1389
  declare function CnGenerateReport(): CnGenerateReport;
1232
1390
  type CnGenerateReport = {
1233
1391
  page?: number;
1234
1392
  end_date?: string;
1235
- pagesize?: number;
1393
+ page_size?: number;
1236
1394
  filters?: CnGenerateReportFilters;
1237
1395
  affiliate_id?: string;
1238
1396
  meta?: GenerateReportFilters;
@@ -1241,9 +1399,9 @@ type CnGenerateReport = {
1241
1399
  search_type?: string;
1242
1400
  start_date?: string;
1243
1401
  };
1244
- /** @returns {GenerateReportCustomerCnRequest} */
1245
- declare function GenerateReportCustomerCnRequest(): GenerateReportCustomerCnRequest;
1246
- type GenerateReportCustomerCnRequest = {
1402
+ /** @returns {GenerateReportCustomerCnReq} */
1403
+ declare function GenerateReportCustomerCnReq(): GenerateReportCustomerCnReq;
1404
+ type GenerateReportCustomerCnReq = {
1247
1405
  data?: CnGenerateReport;
1248
1406
  };
1249
1407
  /** @returns {CnGenerateReportItems} */
@@ -1261,6 +1419,8 @@ type CnGenerateReportItems = {
1261
1419
  /** @returns {GenerateReportCustomerCnResponseData} */
1262
1420
  declare function GenerateReportCustomerCnResponseData(): GenerateReportCustomerCnResponseData;
1263
1421
  type GenerateReportCustomerCnResponseData = {
1422
+ success?: boolean;
1423
+ message?: string;
1264
1424
  items?: CnGenerateReportItems[];
1265
1425
  row_header_display_order?: any;
1266
1426
  end_date?: string;
@@ -1284,13 +1444,13 @@ type CnDownloadReport = {
1284
1444
  end_date?: string;
1285
1445
  affiliate_id?: string;
1286
1446
  search?: string;
1287
- status?: string[];
1447
+ status?: string;
1288
1448
  search_type?: string;
1289
- pagesize?: number;
1449
+ page_size?: number;
1290
1450
  };
1291
- /** @returns {DownloadReportCustomerCnRequest} */
1292
- declare function DownloadReportCustomerCnRequest(): DownloadReportCustomerCnRequest;
1293
- type DownloadReportCustomerCnRequest = {
1451
+ /** @returns {DownloadReportCustomerCnReq} */
1452
+ declare function DownloadReportCustomerCnReq(): DownloadReportCustomerCnReq;
1453
+ type DownloadReportCustomerCnReq = {
1294
1454
  data?: CnDownloadReport;
1295
1455
  };
1296
1456
  /** @returns {DownloadReportResponseData} */
@@ -1314,7 +1474,10 @@ type DownloadReportResponseData = {
1314
1474
  /** @returns {DownloadReportCustomerCnResponse} */
1315
1475
  declare function DownloadReportCustomerCnResponse(): DownloadReportCustomerCnResponse;
1316
1476
  type DownloadReportCustomerCnResponse = {
1477
+ items?: DownloadReportResponseData[];
1317
1478
  data?: DownloadReportResponseData[];
1479
+ item_count?: number;
1480
+ page?: Page;
1318
1481
  };
1319
1482
  /** @returns {GetReportingFilters} */
1320
1483
  declare function GetReportingFilters(): GetReportingFilters;
@@ -1334,13 +1497,72 @@ type GetReportingNestedFilters = {
1334
1497
  type?: string;
1335
1498
  value?: string;
1336
1499
  };
1500
+ /** @returns {GetReportingFiltersReasonOptions} */
1501
+ declare function GetReportingFiltersReasonOptions(): GetReportingFiltersReasonOptions;
1502
+ type GetReportingFiltersReasonOptions = {
1503
+ text?: string;
1504
+ value?: string;
1505
+ placeholder_text?: string;
1506
+ };
1507
+ /** @returns {GetReportingFiltersReason} */
1508
+ declare function GetReportingFiltersReason(): GetReportingFiltersReason;
1509
+ type GetReportingFiltersReason = {
1510
+ text?: string;
1511
+ type?: string;
1512
+ value?: string;
1513
+ options?: GetReportingFiltersReasonOptions[];
1514
+ };
1337
1515
  /** @returns {GetReportingFiltersResponse} */
1338
1516
  declare function GetReportingFiltersResponse(): GetReportingFiltersResponse;
1339
1517
  type GetReportingFiltersResponse = {
1518
+ reason?: GetReportingFiltersReason;
1340
1519
  search?: GetReportingFilters;
1341
1520
  filters?: GetReportingNestedFilters[];
1342
1521
  status?: GetReportingFilters;
1343
1522
  };
1523
+ /** @returns {InvoicePaymentOptionsPayloadData} */
1524
+ declare function InvoicePaymentOptionsPayloadData(): InvoicePaymentOptionsPayloadData;
1525
+ type InvoicePaymentOptionsPayloadData = {
1526
+ invoice_number?: string;
1527
+ };
1528
+ /** @returns {InvoicePaymentOptionsReq} */
1529
+ declare function InvoicePaymentOptionsReq(): InvoicePaymentOptionsReq;
1530
+ type InvoicePaymentOptionsReq = {
1531
+ data?: InvoicePaymentOptionsPayloadData;
1532
+ };
1533
+ /** @returns {InvoicePaymentOptionsResponsePayableAmounts} */
1534
+ declare function InvoicePaymentOptionsResponsePayableAmounts(): InvoicePaymentOptionsResponsePayableAmounts;
1535
+ type InvoicePaymentOptionsResponsePayableAmounts = {
1536
+ amount?: number;
1537
+ amount_key?: string;
1538
+ header?: string;
1539
+ };
1540
+ /** @returns {InvoicePaymentOptionsResponseDeductedAmounts} */
1541
+ declare function InvoicePaymentOptionsResponseDeductedAmounts(): InvoicePaymentOptionsResponseDeductedAmounts;
1542
+ type InvoicePaymentOptionsResponseDeductedAmounts = {
1543
+ amount?: number;
1544
+ header?: string;
1545
+ amount_key?: string;
1546
+ is_payable?: boolean;
1547
+ symbol?: string;
1548
+ };
1549
+ /** @returns {InvoicePaymentOptionsResponseData} */
1550
+ declare function InvoicePaymentOptionsResponseData(): InvoicePaymentOptionsResponseData;
1551
+ type InvoicePaymentOptionsResponseData = {
1552
+ currency?: Currency;
1553
+ invoice_type?: string;
1554
+ display_amounts?: InvoicePaymentOptionsResponsePayableAmounts[];
1555
+ total_amount?: any;
1556
+ deducted_amounts?: any;
1557
+ payable_amounts?: InvoicePaymentOptionsResponsePayableAmounts[];
1558
+ };
1559
+ /** @returns {InvoicePaymentOptionsResponse} */
1560
+ declare function InvoicePaymentOptionsResponse(): InvoicePaymentOptionsResponse;
1561
+ type InvoicePaymentOptionsResponse = {
1562
+ reason?: string;
1563
+ data?: InvoicePaymentOptionsResponseData;
1564
+ success?: boolean;
1565
+ };
1344
1566
  /** @returns {PaymentDetail} */
1345
1567
  declare function PaymentDetail(): PaymentDetail;
1346
1568
  type PaymentDetail = {
@@ -1363,6 +1585,7 @@ type InvoicePaymentDetailsResponseData = {
1363
1585
  /** @returns {InvoicePaymentDetailsResponse} */
1364
1586
  declare function InvoicePaymentDetailsResponse(): InvoicePaymentDetailsResponse;
1365
1587
  type InvoicePaymentDetailsResponse = {
1588
+ reason?: string;
1366
1589
  data?: InvoicePaymentDetailsResponseData;
1367
1590
  success?: boolean;
1368
1591
  payment_details_visible?: boolean;
@@ -1395,9 +1618,9 @@ type UnlockCreditNoteRequestData = {
1395
1618
  unlock_reason?: string;
1396
1619
  description?: string;
1397
1620
  };
1398
- /** @returns {UnlockCreditNoteRequest} */
1399
- declare function UnlockCreditNoteRequest(): UnlockCreditNoteRequest;
1400
- type UnlockCreditNoteRequest = {
1621
+ /** @returns {UnlockCreditNoteReq} */
1622
+ declare function UnlockCreditNoteReq(): UnlockCreditNoteReq;
1623
+ type UnlockCreditNoteReq = {
1401
1624
  data?: UnlockCreditNoteRequestData;
1402
1625
  };
1403
1626
  /** @returns {UnlockCreditNoteResponseData} */