@gofynd/fdk-client-javascript 1.4.1 → 1.4.2-beta.10

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 (265) hide show
  1. package/README.md +1 -1
  2. package/package.json +3 -2
  3. package/sdk/application/ApplicationClient.js +20 -0
  4. package/sdk/application/Cart/CartApplicationClient.d.ts +1 -1
  5. package/sdk/application/Cart/CartApplicationClient.js +3 -5
  6. package/sdk/application/Cart/CartApplicationModel.d.ts +1634 -1742
  7. package/sdk/application/Cart/CartApplicationModel.js +1388 -1464
  8. package/sdk/application/Cart/CartApplicationValidator.d.ts +0 -4
  9. package/sdk/application/Cart/CartApplicationValidator.js +0 -4
  10. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +6 -3
  11. package/sdk/application/Catalog/CatalogApplicationClient.js +20 -7
  12. package/sdk/application/Catalog/CatalogApplicationModel.d.ts +1917 -1917
  13. package/sdk/application/Catalog/CatalogApplicationModel.js +1613 -1613
  14. package/sdk/application/Catalog/CatalogApplicationValidator.d.ts +14 -0
  15. package/sdk/application/Catalog/CatalogApplicationValidator.js +6 -0
  16. package/sdk/application/Common/CommonApplicationModel.d.ts +235 -235
  17. package/sdk/application/Common/CommonApplicationModel.js +172 -172
  18. package/sdk/application/Communication/CommunicationApplicationModel.d.ts +72 -72
  19. package/sdk/application/Communication/CommunicationApplicationModel.js +64 -64
  20. package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +1492 -1626
  21. package/sdk/application/Configuration/ConfigurationApplicationModel.js +1038 -1180
  22. package/sdk/application/Content/ContentApplicationClient.d.ts +0 -36
  23. package/sdk/application/Content/ContentApplicationClient.js +0 -246
  24. package/sdk/application/Content/ContentApplicationModel.d.ts +546 -753
  25. package/sdk/application/Content/ContentApplicationModel.js +565 -817
  26. package/sdk/application/Content/ContentApplicationValidator.d.ts +1 -40
  27. package/sdk/application/Content/ContentApplicationValidator.js +0 -41
  28. package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +79 -79
  29. package/sdk/application/FileStorage/FileStorageApplicationModel.js +84 -84
  30. package/sdk/application/Lead/LeadApplicationModel.d.ts +417 -417
  31. package/sdk/application/Lead/LeadApplicationModel.js +301 -301
  32. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +0 -67
  33. package/sdk/application/Logistic/LogisticApplicationClient.js +0 -547
  34. package/sdk/application/Logistic/LogisticApplicationModel.d.ts +257 -712
  35. package/sdk/application/Logistic/LogisticApplicationModel.js +267 -755
  36. package/sdk/application/Logistic/LogisticApplicationValidator.d.ts +1 -211
  37. package/sdk/application/Logistic/LogisticApplicationValidator.js +0 -131
  38. package/sdk/application/Order/OrderApplicationClient.d.ts +3 -3
  39. package/sdk/application/Order/OrderApplicationClient.js +8 -32
  40. package/sdk/application/Order/OrderApplicationModel.d.ts +845 -853
  41. package/sdk/application/Order/OrderApplicationModel.js +816 -824
  42. package/sdk/application/Order/OrderApplicationValidator.d.ts +0 -20
  43. package/sdk/application/Order/OrderApplicationValidator.js +0 -8
  44. package/sdk/application/Payment/PaymentApplicationClient.d.ts +2 -46
  45. package/sdk/application/Payment/PaymentApplicationClient.js +10 -341
  46. package/sdk/application/Payment/PaymentApplicationModel.d.ts +1892 -2199
  47. package/sdk/application/Payment/PaymentApplicationModel.js +1235 -1506
  48. package/sdk/application/Payment/PaymentApplicationValidator.d.ts +14 -59
  49. package/sdk/application/Payment/PaymentApplicationValidator.js +10 -64
  50. package/sdk/application/PosCart/PosCartApplicationModel.d.ts +1396 -1429
  51. package/sdk/application/PosCart/PosCartApplicationModel.js +1233 -1257
  52. package/sdk/application/Rewards/RewardsApplicationModel.d.ts +214 -214
  53. package/sdk/application/Rewards/RewardsApplicationModel.js +211 -211
  54. package/sdk/application/Share/ShareApplicationModel.d.ts +114 -114
  55. package/sdk/application/Share/ShareApplicationModel.js +121 -121
  56. package/sdk/application/Theme/ThemeApplicationClient.d.ts +1 -1
  57. package/sdk/application/Theme/ThemeApplicationClient.js +3 -7
  58. package/sdk/application/Theme/ThemeApplicationModel.d.ts +783 -969
  59. package/sdk/application/Theme/ThemeApplicationModel.js +571 -867
  60. package/sdk/application/Theme/ThemeApplicationValidator.d.ts +0 -10
  61. package/sdk/application/Theme/ThemeApplicationValidator.js +0 -4
  62. package/sdk/application/User/UserApplicationClient.d.ts +0 -33
  63. package/sdk/application/User/UserApplicationClient.js +0 -239
  64. package/sdk/application/User/UserApplicationModel.d.ts +753 -768
  65. package/sdk/application/User/UserApplicationModel.js +731 -755
  66. package/sdk/application/User/UserApplicationValidator.d.ts +1 -34
  67. package/sdk/application/User/UserApplicationValidator.js +0 -36
  68. package/sdk/common/Clickstream.d.ts +1 -0
  69. package/sdk/common/Clickstream.js +254 -0
  70. package/sdk/common/Utility.js +1 -4
  71. package/sdk/partner/FileStorage/FileStoragePartnerModel.d.ts +72 -60
  72. package/sdk/partner/FileStorage/FileStoragePartnerModel.js +70 -58
  73. package/sdk/partner/PartnerClient.d.ts +0 -6
  74. package/sdk/partner/PartnerClient.js +0 -9
  75. package/sdk/partner/Theme/ThemePartnerClient.d.ts +0 -10
  76. package/sdk/partner/Theme/ThemePartnerClient.js +0 -80
  77. package/sdk/partner/Theme/ThemePartnerModel.d.ts +1178 -1153
  78. package/sdk/partner/Theme/ThemePartnerModel.js +830 -974
  79. package/sdk/partner/Theme/ThemePartnerValidator.d.ts +0 -1
  80. package/sdk/partner/Theme/ThemePartnerValidator.js +0 -9
  81. package/sdk/partner/index.d.ts +0 -3
  82. package/sdk/partner/index.js +0 -6
  83. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +2 -2
  84. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +123 -123
  85. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +109 -109
  86. package/sdk/platform/Billing/BillingPlatformClient.d.ts +1 -11
  87. package/sdk/platform/Billing/BillingPlatformClient.js +3 -110
  88. package/sdk/platform/Billing/BillingPlatformModel.d.ts +734 -800
  89. package/sdk/platform/Billing/BillingPlatformModel.js +732 -810
  90. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +4 -43
  91. package/sdk/platform/Billing/BillingPlatformValidator.js +2 -29
  92. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +11 -1
  93. package/sdk/platform/Cart/CartPlatformApplicationClient.js +81 -7
  94. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +13 -5
  95. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +12 -4
  96. package/sdk/platform/Cart/CartPlatformModel.d.ts +3223 -3328
  97. package/sdk/platform/Cart/CartPlatformModel.js +2875 -2946
  98. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +11 -15
  99. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +21 -52
  100. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +0 -27
  101. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +0 -11
  102. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +15 -27
  103. package/sdk/platform/Catalog/CatalogPlatformClient.js +93 -189
  104. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +617 -920
  105. package/sdk/platform/Catalog/CatalogPlatformModel.js +584 -919
  106. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +27 -41
  107. package/sdk/platform/Catalog/CatalogPlatformValidator.js +19 -31
  108. package/sdk/platform/Common/CommonPlatformModel.d.ts +255 -255
  109. package/sdk/platform/Common/CommonPlatformModel.js +187 -187
  110. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +37 -139
  111. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +52 -737
  112. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +3 -133
  113. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +1 -113
  114. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +1079 -1228
  115. package/sdk/platform/Communication/CommunicationPlatformModel.js +1090 -1262
  116. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +2 -8
  117. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +4 -32
  118. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +629 -658
  119. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +641 -675
  120. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +0 -14
  121. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +0 -6
  122. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +8 -8
  123. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +4 -4
  124. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +2992 -3231
  125. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +2092 -2303
  126. package/sdk/platform/Configuration/ConfigurationPlatformValidator.d.ts +2 -2
  127. package/sdk/platform/Configuration/ConfigurationPlatformValidator.js +2 -2
  128. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +0 -391
  129. package/sdk/platform/Content/ContentPlatformApplicationClient.js +1074 -3656
  130. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +1 -351
  131. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +0 -410
  132. package/sdk/platform/Content/ContentPlatformModel.d.ts +972 -2071
  133. package/sdk/platform/Content/ContentPlatformModel.js +1039 -2355
  134. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +2 -2
  135. package/sdk/platform/Discount/DiscountPlatformClient.js +2 -2
  136. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +174 -259
  137. package/sdk/platform/Discount/DiscountPlatformModel.js +163 -257
  138. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +6 -16
  139. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +8 -117
  140. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +4 -55
  141. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +2 -39
  142. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +821 -892
  143. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +833 -901
  144. package/sdk/platform/Finance/FinancePlatformClient.d.ts +0 -33
  145. package/sdk/platform/Finance/FinancePlatformClient.js +0 -240
  146. package/sdk/platform/Finance/FinancePlatformModel.d.ts +910 -1056
  147. package/sdk/platform/Finance/FinancePlatformModel.js +884 -1070
  148. package/sdk/platform/Finance/FinancePlatformValidator.d.ts +1 -38
  149. package/sdk/platform/Finance/FinancePlatformValidator.js +0 -38
  150. package/sdk/platform/Inventory/InventoryPlatformModel.d.ts +942 -942
  151. package/sdk/platform/Inventory/InventoryPlatformModel.js +1003 -1003
  152. package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +28 -38
  153. package/sdk/platform/Lead/LeadPlatformApplicationClient.js +56 -137
  154. package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +29 -41
  155. package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +21 -33
  156. package/sdk/platform/Lead/LeadPlatformModel.d.ts +601 -610
  157. package/sdk/platform/Lead/LeadPlatformModel.js +457 -471
  158. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +1 -11
  159. package/sdk/platform/Order/OrderPlatformApplicationClient.js +1 -93
  160. package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +1 -28
  161. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +0 -18
  162. package/sdk/platform/Order/OrderPlatformClient.d.ts +22 -143
  163. package/sdk/platform/Order/OrderPlatformClient.js +160 -1190
  164. package/sdk/platform/Order/OrderPlatformModel.d.ts +4451 -5275
  165. package/sdk/platform/Order/OrderPlatformModel.js +4039 -4994
  166. package/sdk/platform/Order/OrderPlatformValidator.d.ts +21 -257
  167. package/sdk/platform/Order/OrderPlatformValidator.js +15 -216
  168. package/sdk/platform/Partner/PartnerPlatformModel.d.ts +22 -22
  169. package/sdk/platform/Partner/PartnerPlatformModel.js +22 -22
  170. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +13 -119
  171. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +40 -750
  172. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +7 -143
  173. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +6 -133
  174. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +1 -1
  175. package/sdk/platform/Payment/PaymentPlatformClient.js +1 -1
  176. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +2067 -2929
  177. package/sdk/platform/Payment/PaymentPlatformModel.js +1427 -2090
  178. package/sdk/platform/PlatformApplicationClient.d.ts +2 -2
  179. package/sdk/platform/PlatformApplicationClient.js +4 -4
  180. package/sdk/platform/PlatformClient.d.ts +2 -4
  181. package/sdk/platform/PlatformClient.js +4 -8
  182. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +204 -204
  183. package/sdk/platform/Rewards/RewardsPlatformModel.js +199 -199
  184. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +66 -142
  185. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +147 -645
  186. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +63 -131
  187. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +47 -126
  188. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +105 -217
  189. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +349 -1138
  190. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +990 -1589
  191. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +986 -1702
  192. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.d.ts +133 -382
  193. package/sdk/platform/Serviceability/ServiceabilityPlatformValidator.js +102 -266
  194. package/sdk/platform/Share/SharePlatformModel.d.ts +147 -147
  195. package/sdk/platform/Share/SharePlatformModel.js +139 -139
  196. package/sdk/platform/Theme/ThemePlatformClient.d.ts +1 -11
  197. package/sdk/platform/Theme/ThemePlatformClient.js +3 -87
  198. package/sdk/platform/Theme/ThemePlatformModel.d.ts +765 -1133
  199. package/sdk/platform/Theme/ThemePlatformModel.js +561 -1009
  200. package/sdk/platform/Theme/ThemePlatformValidator.d.ts +4 -28
  201. package/sdk/platform/Theme/ThemePlatformValidator.js +2 -21
  202. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +1 -116
  203. package/sdk/platform/User/UserPlatformApplicationClient.js +86 -932
  204. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +7 -224
  205. package/sdk/platform/User/UserPlatformApplicationValidator.js +5 -173
  206. package/sdk/platform/User/UserPlatformModel.d.ts +428 -765
  207. package/sdk/platform/User/UserPlatformModel.js +428 -679
  208. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +37 -45
  209. package/sdk/platform/Webhook/WebhookPlatformClient.js +57 -61
  210. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +403 -448
  211. package/sdk/platform/Webhook/WebhookPlatformModel.js +309 -369
  212. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +10 -7
  213. package/sdk/platform/Webhook/WebhookPlatformValidator.js +6 -6
  214. package/sdk/platform/index.d.ts +1 -1
  215. package/sdk/platform/index.js +2 -2
  216. package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +237 -237
  217. package/sdk/public/Configuration/ConfigurationPublicModel.js +174 -174
  218. package/sdk/public/Inventory/InventoryPublicModel.d.ts +237 -237
  219. package/sdk/public/Inventory/InventoryPublicModel.js +257 -257
  220. package/sdk/public/Partner/PartnerPublicModel.d.ts +104 -104
  221. package/sdk/public/Partner/PartnerPublicModel.js +113 -113
  222. package/sdk/public/PublicClient.d.ts +0 -4
  223. package/sdk/public/PublicClient.js +0 -8
  224. package/sdk/public/Webhook/WebhookPublicClient.d.ts +0 -33
  225. package/sdk/public/Webhook/WebhookPublicClient.js +0 -242
  226. package/sdk/public/Webhook/WebhookPublicModel.d.ts +15 -161
  227. package/sdk/public/Webhook/WebhookPublicModel.js +13 -189
  228. package/sdk/public/Webhook/WebhookPublicValidator.d.ts +1 -23
  229. package/sdk/public/Webhook/WebhookPublicValidator.js +0 -31
  230. package/sdk/public/index.d.ts +0 -2
  231. package/sdk/public/index.js +0 -4
  232. package/sdk/partner/Lead/LeadPartnerClient.d.ts +0 -125
  233. package/sdk/partner/Lead/LeadPartnerClient.js +0 -785
  234. package/sdk/partner/Lead/LeadPartnerModel.d.ts +0 -1127
  235. package/sdk/partner/Lead/LeadPartnerModel.js +0 -896
  236. package/sdk/partner/Lead/LeadPartnerValidator.d.ts +0 -12
  237. package/sdk/partner/Lead/LeadPartnerValidator.js +0 -67
  238. package/sdk/partner/Logistics/LogisticsPartnerClient.d.ts +0 -155
  239. package/sdk/partner/Logistics/LogisticsPartnerClient.js +0 -1195
  240. package/sdk/partner/Logistics/LogisticsPartnerModel.d.ts +0 -372
  241. package/sdk/partner/Logistics/LogisticsPartnerModel.js +0 -442
  242. package/sdk/partner/Logistics/LogisticsPartnerValidator.d.ts +0 -16
  243. package/sdk/partner/Logistics/LogisticsPartnerValidator.js +0 -123
  244. package/sdk/partner/Webhook/WebhookPartnerClient.d.ts +0 -99
  245. package/sdk/partner/Webhook/WebhookPartnerClient.js +0 -753
  246. package/sdk/partner/Webhook/WebhookPartnerModel.d.ts +0 -566
  247. package/sdk/partner/Webhook/WebhookPartnerModel.js +0 -583
  248. package/sdk/partner/Webhook/WebhookPartnerValidator.d.ts +0 -12
  249. package/sdk/partner/Webhook/WebhookPartnerValidator.js +0 -74
  250. package/sdk/platform/Content/ContentPlatformClient.d.ts +0 -277
  251. package/sdk/platform/Content/ContentPlatformClient.js +0 -2011
  252. package/sdk/platform/Content/ContentPlatformValidator.d.ts +0 -247
  253. package/sdk/platform/Content/ContentPlatformValidator.js +0 -319
  254. package/sdk/public/Billing/BillingPublicClient.d.ts +0 -23
  255. package/sdk/public/Billing/BillingPublicClient.js +0 -116
  256. package/sdk/public/Billing/BillingPublicModel.d.ts +0 -92
  257. package/sdk/public/Billing/BillingPublicModel.js +0 -96
  258. package/sdk/public/Billing/BillingPublicValidator.d.ts +0 -18
  259. package/sdk/public/Billing/BillingPublicValidator.js +0 -19
  260. package/sdk/public/Content/ContentPublicClient.d.ts +0 -22
  261. package/sdk/public/Content/ContentPublicClient.js +0 -114
  262. package/sdk/public/Content/ContentPublicModel.d.ts +0 -53
  263. package/sdk/public/Content/ContentPublicModel.js +0 -60
  264. package/sdk/public/Content/ContentPublicValidator.d.ts +0 -18
  265. package/sdk/public/Content/ContentPublicValidator.js +0 -19
@@ -1,161 +1,146 @@
1
1
  export = FinancePlatformModel;
2
2
  /**
3
- * @typedef ChannelDisplayName
4
- * @property {string} [platform_pos]
3
+ * @typedef GenerateReportMeta
4
+ * @property {string} [brand]
5
+ * @property {string} [company]
6
+ * @property {string} [channel]
5
7
  */
6
8
  /**
7
- * @typedef ChannelDisplayNameResponse
8
- * @property {ChannelDisplayName} [data]
9
- * @property {boolean} [success]
9
+ * @typedef GenerateReportFilters
10
+ * @property {string[]} [brand]
11
+ * @property {string[]} [company]
12
+ * @property {string[]} [channel]
10
13
  */
11
14
  /**
12
- * @typedef CnDetails
13
- * @property {string} [channel_of_issuance]
14
- * @property {string} [date_issued]
15
- * @property {string} [expiry_date]
16
- * @property {string} [invoice_number]
17
- * @property {string} [order_id]
18
- * @property {string} [ordering_channel]
19
- * @property {string} [shipment_id]
20
- * @property {string} [staff_id]
21
- * @property {string} [store_id]
15
+ * @typedef GenerateReportPlatform
16
+ * @property {string} [start_date]
17
+ * @property {string} [end_date]
18
+ * @property {GenerateReportMeta} [meta]
19
+ * @property {string} [report_id]
20
+ * @property {GenerateReportFilters} [filters]
22
21
  */
23
22
  /**
24
- * @typedef CnDownloadReport
25
- * @property {string} [affiliate_id]
23
+ * @typedef GenerateReportRequest
24
+ * @property {GenerateReportPlatform} [data]
25
+ */
26
+ /**
27
+ * @typedef Page
28
+ * @property {number} [item_total]
29
+ * @property {string} [next_id]
30
+ * @property {boolean} [has_previous]
31
+ * @property {boolean} [has_next]
32
+ * @property {number} [current]
33
+ * @property {string} type
34
+ * @property {number} [size]
35
+ */
36
+ /**
37
+ * @typedef GenerateReportJson
38
+ * @property {string[][]} [items]
39
+ * @property {Page} [page]
26
40
  * @property {string} [end_date]
27
- * @property {number} [page]
28
- * @property {number} [pagesize]
29
- * @property {string} [search]
30
- * @property {string} [search_type]
41
+ * @property {string[]} [headers]
31
42
  * @property {string} [start_date]
32
- * @property {string[]} [status]
43
+ * @property {number} [item_count]
33
44
  */
34
45
  /**
35
- * @typedef CnGenerateReport
36
- * @property {string} [affiliate_id]
37
- * @property {string} [end_date]
38
- * @property {CnGenerateReportFilters} [filters]
39
- * @property {GenerateReportFilters} [meta]
46
+ * @typedef Error
47
+ * @property {string} [reason]
48
+ * @property {boolean} [success]
49
+ */
50
+ /**
51
+ * @typedef DownloadReport
40
52
  * @property {number} [page]
41
53
  * @property {number} [pagesize]
42
- * @property {string} [report_id]
43
- * @property {string} [search]
44
- * @property {string} [search_type]
45
54
  * @property {string} [start_date]
55
+ * @property {string} [end_date]
46
56
  */
47
57
  /**
48
- * @typedef CnGenerateReportFilters
49
- * @property {string[]} [channel_of_issuance]
50
- * @property {string[]} [ordering_channel]
51
- * @property {string[]} [staff_id]
52
- * @property {number[]} [store_id]
53
- * @property {string[]} [types_of_transaction]
54
- * @property {string[]} [utilisation]
58
+ * @typedef DownloadReportItems
59
+ * @property {string} [start_date]
60
+ * @property {string} [end_date]
61
+ * @property {GenerateReportMeta} [meta]
62
+ * @property {string} [report_id]
63
+ * @property {GenerateReportFilters} [filters]
64
+ * @property {string} [type_of_request]
55
65
  */
56
66
  /**
57
- * @typedef CnGenerateReportItems
58
- * @property {string} [credit_note_number]
59
- * @property {string} [date_issued]
60
- * @property {string} [expiry_date]
61
- * @property {string} [invoice_number]
62
- * @property {string} [order_id]
63
- * @property {string} [shipment_id]
64
- * @property {string} [status]
65
- * @property {number} [total_amount]
67
+ * @typedef DownloadReportList
68
+ * @property {DownloadReportItems[]} [items]
69
+ * @property {Page} [page]
70
+ * @property {number} [item_count]
66
71
  */
67
72
  /**
68
- * @typedef CnReferenceNumber
69
- * @property {string} [cn_reference_number]
73
+ * @typedef GetEngineData
74
+ * @property {string} [table_name]
75
+ * @property {string[]} [project]
76
+ * @property {Object} [filters]
70
77
  */
71
78
  /**
72
- * @typedef CreateSellerCreditNoteConfig
73
- * @property {string} [affiliate_id]
74
- * @property {string} [currency_type]
75
- * @property {boolean} [is_cn_as_refund_method]
76
- * @property {CreditNoteConfigNotificationEvents} [notification_events]
77
- * @property {string[]} [ordering_channel]
78
- * @property {string} [sales_channel_name]
79
- * @property {number} [seller_id]
80
- * @property {string[]} [slug_values]
81
- * @property {string[]} [source_channel]
82
- * @property {number} [validity]
79
+ * @typedef GetEngineRequest
80
+ * @property {GetEngineData} [data]
83
81
  */
84
82
  /**
85
- * @typedef CreateSellerCreditNoteConfigRequest
86
- * @property {CreateSellerCreditNoteConfig} [data]
83
+ * @typedef GetEngineResponse
84
+ * @property {boolean} [success]
85
+ * @property {Object[]} [items]
86
+ * @property {Page} [page]
87
+ * @property {number} [item_count]
87
88
  */
88
89
  /**
89
- * @typedef CreateSellerCreditNoteConfigResponse
90
- * @property {string} [message]
91
- * @property {boolean} [success]
90
+ * @typedef GetReason
91
+ * @property {string} [reason_type]
92
92
  */
93
93
  /**
94
- * @typedef CreditlineDataPlatformPayload
95
- * @property {string} [end_end]
96
- * @property {number} [page]
97
- * @property {number} [pagesize]
98
- * @property {string} [seller_id]
99
- * @property {string} [start_end]
94
+ * @typedef GetReasonRequest
95
+ * @property {GetReason} [data]
100
96
  */
101
97
  /**
102
- * @typedef CreditlineDataPlatformRequest
103
- * @property {CreditlineDataPlatformPayload} [data]
98
+ * @typedef ReasonItem
99
+ * @property {string} [id]
100
+ * @property {string} [name]
101
+ * @property {string} [display_name]
104
102
  */
105
103
  /**
106
- * @typedef CreditlineDataPlatformResponse
107
- * @property {number} [code]
108
- * @property {string[]} [headers]
104
+ * @typedef GetReasonResponse
105
+ * @property {boolean} [success]
106
+ * @property {ReasonItem[]} [item_list]
109
107
  * @property {number} [item_count]
110
- * @property {Object[]} [items]
111
- * @property {string} [message]
112
108
  * @property {Page} [page]
113
- * @property {boolean} [show_mr]
114
109
  */
115
110
  /**
116
- * @typedef CreditNoteConfigNotificationEvents
117
- * @property {number} [expiration_reminder_to_customer]
111
+ * @typedef GetReportListData
112
+ * @property {string} [role_name]
113
+ * @property {boolean} [listing_enabled]
118
114
  */
119
115
  /**
120
- * @typedef CreditNoteDetails
121
- * @property {number} [available_cn_balance]
122
- * @property {number} [cn_amount]
123
- * @property {CnDetails} [cn_details]
124
- * @property {string} [cn_reference_number]
125
- * @property {string} [cn_status]
126
- * @property {string} [customer_mobile_number]
127
- * @property {RedemptionDetails[]} [redemption_details]
128
- * @property {number} [remaining_cn_amount]
116
+ * @typedef GetReportListRequest
117
+ * @property {GetReportListData} [data]
129
118
  */
130
119
  /**
131
- * @typedef CreditNoteDetailsRequest
132
- * @property {CnReferenceNumber} [data]
120
+ * @typedef GetAffiliate
121
+ * @property {number} [company_id]
133
122
  */
134
123
  /**
135
- * @typedef CreditNoteDetailsResponse
136
- * @property {CreditNoteDetails} [data]
124
+ * @typedef GetReportListResponse
137
125
  * @property {boolean} [success]
126
+ * @property {ReportItem[]} [items]
127
+ * @property {Page} [page]
128
+ * @property {number} [total_count]
138
129
  */
139
130
  /**
140
- * @typedef Currency
141
- * @property {string} [code]
131
+ * @typedef ReportItem
132
+ * @property {string} [id]
142
133
  * @property {string} [name]
143
- * @property {string} [symbol]
144
- */
145
- /**
146
- * @typedef DeleteConfig
147
- * @property {string} [affiliate_id]
148
- * @property {number} [seller_id]
149
- * @property {string[]} [slug_values]
150
- */
151
- /**
152
- * @typedef DeleteConfigRequest
153
- * @property {DeleteConfig} [data]
134
+ * @property {string} [description]
135
+ * @property {string[]} [allowed_filters]
136
+ * @property {Object} [config_meta]
137
+ * @property {string} [report_type]
138
+ * @property {string} [display_date]
154
139
  */
155
140
  /**
156
- * @typedef DeleteConfigResponse
157
- * @property {string} [message]
141
+ * @typedef GetAffiliateResponse
158
142
  * @property {boolean} [success]
143
+ * @property {Object[]} [docs]
159
144
  */
160
145
  /**
161
146
  * @typedef DownloadCreditDebitNote
@@ -165,676 +150,610 @@ export = FinancePlatformModel;
165
150
  * @typedef DownloadCreditDebitNoteRequest
166
151
  * @property {DownloadCreditDebitNote} [data]
167
152
  */
168
- /**
169
- * @typedef DownloadCreditDebitNoteResponse
170
- * @property {DownloadCreditDebitNoteResponseData[]} [data]
171
- * @property {boolean} [success]
172
- */
173
153
  /**
174
154
  * @typedef DownloadCreditDebitNoteResponseData
175
155
  * @property {string} [id]
176
156
  * @property {string} [pdf_s3_url]
177
157
  */
178
158
  /**
179
- * @typedef DownloadReport
180
- * @property {string} [end_date]
181
- * @property {number} [page]
182
- * @property {number} [pagesize]
183
- * @property {string} [start_date]
159
+ * @typedef DownloadCreditDebitNoteResponse
160
+ * @property {boolean} [success]
161
+ * @property {DownloadCreditDebitNoteResponseData[]} [data]
184
162
  */
185
163
  /**
186
- * @typedef DownloadReportCustomerCnRequest
187
- * @property {CnDownloadReport} [data]
164
+ * @typedef PaymentProcessPayload
165
+ * @property {string} [platform]
166
+ * @property {string} [amount]
167
+ * @property {string} [transaction_type]
168
+ * @property {string} [source_reference]
169
+ * @property {string} [total_amount]
170
+ * @property {Object} [meta]
171
+ * @property {string} [currency]
172
+ * @property {string} [seller_id]
173
+ * @property {string} [mode_of_payment]
174
+ * @property {string} [invoice_number]
188
175
  */
189
176
  /**
190
- * @typedef DownloadReportCustomerCnResponse
191
- * @property {DownloadReportResponseData[]} [data]
177
+ * @typedef PaymentProcessRequest
178
+ * @property {PaymentProcessPayload} [data]
192
179
  */
193
180
  /**
194
- * @typedef DownloadReportItems
195
- * @property {string} [end_date]
196
- * @property {GenerateReportFilters} [filters]
197
- * @property {GenerateReportMeta} [meta]
198
- * @property {string} [report_id]
199
- * @property {string} [start_date]
200
- * @property {string} [type_of_request]
181
+ * @typedef PaymentProcessResponse
182
+ * @property {number} [code]
183
+ * @property {string} [message]
184
+ * @property {Object} [meta]
185
+ * @property {string} [transaction_id]
186
+ * @property {string} [redirect_url]
201
187
  */
202
188
  /**
203
- * @typedef DownloadReportList
204
- * @property {number} [item_count]
205
- * @property {DownloadReportItems[]} [items]
206
- * @property {Page} [page]
189
+ * @typedef CreditlineDataPlatformPayload
190
+ * @property {number} [page]
191
+ * @property {string} [seller_id]
192
+ * @property {string} [end_end]
193
+ * @property {string} [start_end]
194
+ * @property {number} [pagesize]
207
195
  */
208
196
  /**
209
- * @typedef DownloadReportResponseData
210
- * @property {string} [created_at]
211
- * @property {string} [display_name]
212
- * @property {string} [download_link]
213
- * @property {string} [end_date]
214
- * @property {Object} [filters]
215
- * @property {string} [full_name]
216
- * @property {Object} [meta]
217
- * @property {string} [msg]
218
- * @property {string} [report_config_id]
219
- * @property {string} [report_name]
220
- * @property {Object} [request_dict]
221
- * @property {string} [requested_by]
222
- * @property {string} [start_date]
223
- * @property {string} [status]
224
- */
225
- /**
226
- * @typedef Error
227
- * @property {string} [reason]
228
- * @property {boolean} [success]
229
- */
230
- /**
231
- * @typedef GenerateReportCustomerCnRequest
232
- * @property {CnGenerateReport} [data]
233
- */
234
- /**
235
- * @typedef GenerateReportCustomerCnResponse
236
- * @property {GenerateReportCustomerCnResponseData} [data]
197
+ * @typedef CreditlineDataPlatformRequest
198
+ * @property {CreditlineDataPlatformPayload} [data]
237
199
  */
238
200
  /**
239
- * @typedef GenerateReportCustomerCnResponseData
240
- * @property {string[]} [allowed_filters]
241
- * @property {string} [end_date]
201
+ * @typedef CreditlineDataPlatformResponse
202
+ * @property {Object[]} [items]
203
+ * @property {number} [code]
204
+ * @property {boolean} [show_mr]
205
+ * @property {Object} [page]
206
+ * @property {string} [message]
242
207
  * @property {string[]} [headers]
243
208
  * @property {number} [item_count]
244
- * @property {CnGenerateReportItems[]} [items]
245
- * @property {Page} [page]
246
- * @property {string[]} [primary_headers]
247
- * @property {Object} [row_header_display_order]
248
- * @property {string} [start_date]
249
209
  */
250
210
  /**
251
- * @typedef GenerateReportFilters
252
- * @property {string[]} [brand]
253
- * @property {string[]} [channel]
254
- * @property {string[]} [company]
211
+ * @typedef IsCreditlinePayload
212
+ * @property {string} [seller_id]
255
213
  */
256
214
  /**
257
- * @typedef GenerateReportJson
258
- * @property {string} [end_date]
259
- * @property {string[]} [headers]
260
- * @property {number} [item_count]
261
- * @property {string[][]} [items]
262
- * @property {Page} [page]
263
- * @property {string} [start_date]
215
+ * @typedef IsCreditlinePlatformRequest
216
+ * @property {IsCreditlinePayload} [data]
264
217
  */
265
218
  /**
266
- * @typedef GenerateReportMeta
267
- * @property {string} [brand]
268
- * @property {string} [channel]
269
- * @property {string} [company]
219
+ * @typedef IsCreditlinePlatformResponse
220
+ * @property {boolean} [is_creditline_opted]
221
+ * @property {number} [code]
270
222
  */
271
223
  /**
272
- * @typedef GenerateReportPlatform
273
- * @property {string} [end_date]
274
- * @property {GenerateReportFilters} [filters]
275
- * @property {GenerateReportMeta} [meta]
276
- * @property {string} [report_id]
277
- * @property {string} [start_date]
224
+ * @typedef InvoiceTypePayloadData
225
+ * @property {boolean} [is_active]
278
226
  */
279
227
  /**
280
- * @typedef GenerateReportRequest
281
- * @property {GenerateReportPlatform} [data]
228
+ * @typedef InvoiceTypeRequest
229
+ * @property {InvoiceTypePayloadData} [data]
282
230
  */
283
231
  /**
284
- * @typedef GetAffiliate
285
- * @property {number} [company_id]
232
+ * @typedef InvoiceTypeResponseItems
233
+ * @property {string} [text]
234
+ * @property {string} [value]
286
235
  */
287
236
  /**
288
- * @typedef GetAffiliateResponse
289
- * @property {Object[]} [docs]
237
+ * @typedef InvoiceTypeResponse
290
238
  * @property {boolean} [success]
239
+ * @property {InvoiceTypeResponseItems[]} [invoice_type_list]
240
+ * @property {InvoiceTypeResponseItems[]} [payment_status_list]
291
241
  */
292
242
  /**
293
- * @typedef GetCnConfigRequest
294
- * @property {DeleteConfig} [data]
243
+ * @typedef InoviceListingPayloadDataFilters
244
+ * @property {string[]} [payment_status]
245
+ * @property {string[]} [invoice_type]
246
+ * @property {string[]} [company_id]
295
247
  */
296
248
  /**
297
- * @typedef GetCnConfigResponse
298
- * @property {GetCnConfigResponseData} [data]
299
- * @property {boolean} [success]
249
+ * @typedef InvoiceListingPayloadData
250
+ * @property {number} [page_size]
251
+ * @property {number} [page]
252
+ * @property {string} [start_date]
253
+ * @property {string} [end_date]
254
+ * @property {string} [search]
255
+ * @property {InoviceListingPayloadDataFilters} [filters]
300
256
  */
301
257
  /**
302
- * @typedef GetCnConfigResponseData
303
- * @property {string} [affiliate_id]
304
- * @property {string} [currency_type]
305
- * @property {boolean} [is_cn_as_refund_method]
306
- * @property {GetCnConfigResponseMeta} [meta]
307
- * @property {CreditNoteConfigNotificationEvents} [notification_events]
308
- * @property {string[]} [redemption_ordering_channel]
309
- * @property {number} [seller_id]
310
- * @property {number} [validity]
258
+ * @typedef InvoiceListingRequest
259
+ * @property {InvoiceListingPayloadData} [data]
311
260
  */
312
261
  /**
313
- * @typedef GetCnConfigResponseMeta
314
- * @property {string} [reason]
315
- * @property {string[]} [source_channel]
262
+ * @typedef UnpaidInvoiceDataItems
263
+ * @property {number} [total_unpaid_invoice_count]
264
+ * @property {string} [currency]
265
+ * @property {number} [total_unpaid_amount]
316
266
  */
317
267
  /**
318
- * @typedef GetCustomerCreditBalance
319
- * @property {string} [affiliate_id]
320
- * @property {string} [customer_mobile_number]
321
- * @property {number} [seller_id]
268
+ * @typedef InvoiceListingResponseItems
269
+ * @property {string} [amount]
270
+ * @property {string} [company]
271
+ * @property {string} [status]
272
+ * @property {string} [due_date]
273
+ * @property {string} [invoice_date]
274
+ * @property {string} [invoice_type]
275
+ * @property {string} [period]
276
+ * @property {string} [invoice_number]
277
+ * @property {boolean} [is_downloadable]
278
+ * @property {string} [invoice_id]
322
279
  */
323
280
  /**
324
- * @typedef GetCustomerCreditBalanceRequest
325
- * @property {GetCustomerCreditBalance} [data]
281
+ * @typedef InvoiceListingResponse
282
+ * @property {UnpaidInvoiceDataItems} [unpaid_invoice_data]
283
+ * @property {InvoiceListingResponseItems[]} [items]
284
+ * @property {Page} [page]
285
+ * @property {number} [item_count]
326
286
  */
327
287
  /**
328
- * @typedef GetCustomerCreditBalanceResponse
329
- * @property {GetCustomerCreditBalanceResponseData} [data]
330
- * @property {boolean} [success]
288
+ * @typedef InvoicePdfPayloadData
289
+ * @property {string[]} [invoice_number]
331
290
  */
332
291
  /**
333
- * @typedef GetCustomerCreditBalanceResponseData
334
- * @property {string} [customer_mobile_number]
335
- * @property {number} [total_credited_balance]
292
+ * @typedef InvoicePdfRequest
293
+ * @property {InvoicePdfPayloadData} [data]
336
294
  */
337
295
  /**
338
- * @typedef GetEngineData
339
- * @property {Object} [filters]
340
- * @property {string[]} [project]
341
- * @property {string} [table_name]
296
+ * @typedef InvoicePdfResponse
297
+ * @property {boolean} [success]
298
+ * @property {string[]} [data]
299
+ * @property {string[]} [error]
342
300
  */
343
301
  /**
344
- * @typedef GetEngineRequest
345
- * @property {GetEngineData} [data]
302
+ * @typedef IsCnRefundMethodData
303
+ * @property {string} [affiliate_id]
304
+ * @property {boolean} [toggle_edit_required]
305
+ * @property {number} [seller_id]
346
306
  */
347
307
  /**
348
- * @typedef GetEngineResponse
349
- * @property {number} [item_count]
350
- * @property {Object[]} [items]
351
- * @property {Page} [page]
352
- * @property {boolean} [success]
308
+ * @typedef IsCnRefundMethodRequest
309
+ * @property {IsCnRefundMethodData} [data]
353
310
  */
354
311
  /**
355
- * @typedef GetPdfUrlViewRequest
356
- * @property {CnReferenceNumber} [data]
312
+ * @typedef IsCnRefundMethodResponseData
313
+ * @property {boolean} [is_first_time_user]
357
314
  */
358
315
  /**
359
- * @typedef GetPdfUrlViewResponse
360
- * @property {GetPdfUrlViewResponseData} [data]
316
+ * @typedef IsCnRefundMethodResponse
361
317
  * @property {boolean} [success]
318
+ * @property {IsCnRefundMethodResponseData} [data]
362
319
  */
363
320
  /**
364
- * @typedef GetPdfUrlViewResponseData
365
- * @property {string} [cn_reference_number]
366
- * @property {string} [s3_pdf_link]
321
+ * @typedef CreditNoteConfigNotificationEvents
322
+ * @property {number} [expiration_reminder_to_customer]
367
323
  */
368
324
  /**
369
- * @typedef GetReason
370
- * @property {string} [reason_type]
325
+ * @typedef CreateSellerCreditNoteConfig
326
+ * @property {boolean} [is_cn_as_refund_method]
327
+ * @property {string} [affiliate_id]
328
+ * @property {string[]} [source_channel]
329
+ * @property {number} [seller_id]
330
+ * @property {CreditNoteConfigNotificationEvents} [notification_events]
331
+ * @property {string} [sales_channel_name]
332
+ * @property {string[]} [ordering_channel]
333
+ * @property {number} [validity]
334
+ * @property {string} [currency_type]
335
+ * @property {string[]} [slug_values]
371
336
  */
372
337
  /**
373
- * @typedef GetReasonRequest
374
- * @property {GetReason} [data]
338
+ * @typedef CreateSellerCreditNoteConfigRequest
339
+ * @property {CreateSellerCreditNoteConfig} [data]
375
340
  */
376
341
  /**
377
- * @typedef GetReasonResponse
378
- * @property {number} [item_count]
379
- * @property {ReasonItem[]} [item_list]
380
- * @property {Page} [page]
342
+ * @typedef CreateSellerCreditNoteConfigResponse
381
343
  * @property {boolean} [success]
344
+ * @property {string} [message]
382
345
  */
383
346
  /**
384
- * @typedef GetReportingFilters
385
- * @property {Object[]} [options]
386
- * @property {string} [text]
387
- * @property {string} [type]
388
- * @property {string} [value]
389
- */
390
- /**
391
- * @typedef GetReportingFiltersResponse
392
- * @property {GetReportingNestedFilters[]} [filters]
393
- * @property {GetReportingFilters} [search]
394
- * @property {GetReportingFilters} [status]
347
+ * @typedef DeleteConfig
348
+ * @property {string} [affiliate_id]
349
+ * @property {string[]} [slug_values]
350
+ * @property {number} [seller_id]
395
351
  */
396
352
  /**
397
- * @typedef GetReportingNestedFilters
398
- * @property {Object[]} [options]
399
- * @property {string} [placeholder_text]
400
- * @property {boolean} [required]
401
- * @property {string} [text]
402
- * @property {string} [type]
403
- * @property {string} [value]
353
+ * @typedef DeleteConfigRequest
354
+ * @property {DeleteConfig} [data]
404
355
  */
405
356
  /**
406
- * @typedef GetReportListData
407
- * @property {boolean} [listing_enabled]
408
- * @property {string} [role_name]
357
+ * @typedef DeleteConfigResponse
358
+ * @property {boolean} [success]
359
+ * @property {string} [message]
409
360
  */
410
361
  /**
411
- * @typedef GetReportListRequest
412
- * @property {GetReportListData} [data]
362
+ * @typedef ChannelDisplayName
363
+ * @property {string} [platform_pos]
413
364
  */
414
365
  /**
415
- * @typedef GetReportListResponse
416
- * @property {ReportItem[]} [items]
417
- * @property {Page} [page]
366
+ * @typedef ChannelDisplayNameResponse
418
367
  * @property {boolean} [success]
419
- * @property {number} [total_count]
368
+ * @property {ChannelDisplayName} [data]
420
369
  */
421
370
  /**
422
- * @typedef InoviceListingPayloadDataFilters
423
- * @property {string[]} [company_id]
424
- * @property {string[]} [invoice_type]
425
- * @property {string[]} [payment_status]
371
+ * @typedef CnReferenceNumber
372
+ * @property {string} [cn_reference_number]
426
373
  */
427
374
  /**
428
- * @typedef InvoiceActivityLogError
429
- * @property {string} [reason]
375
+ * @typedef GetPdfUrlViewRequest
376
+ * @property {CnReferenceNumber} [data]
430
377
  */
431
378
  /**
432
- * @typedef InvoiceActivityLogsResponse
433
- * @property {InvoiceActivityLogsResponseData[]} [data]
379
+ * @typedef GetPdfUrlViewResponseData
380
+ * @property {string} [s3_pdf_link]
381
+ * @property {string} [cn_reference_number]
434
382
  */
435
383
  /**
436
- * @typedef InvoiceActivityLogsResponseData
437
- * @property {boolean} [is_resolved]
438
- * @property {number} [max_retry_attempts]
439
- * @property {string} [performed_by]
440
- * @property {string} [reason]
441
- * @property {number} [retry_attempts]
442
- * @property {string} [status]
384
+ * @typedef GetPdfUrlViewResponse
385
+ * @property {boolean} [success]
386
+ * @property {GetPdfUrlViewResponseData} [data]
443
387
  */
444
388
  /**
445
- * @typedef InvoiceListingPayloadData
446
- * @property {string} [end_date]
447
- * @property {InoviceListingPayloadDataFilters} [filters]
448
- * @property {number} [page]
449
- * @property {number} [page_size]
450
- * @property {string} [search]
451
- * @property {string} [start_date]
389
+ * @typedef CreditNoteDetailsRequest
390
+ * @property {CnReferenceNumber} [data]
452
391
  */
453
392
  /**
454
- * @typedef InvoiceListingRequest
455
- * @property {InvoiceListingPayloadData} [data]
393
+ * @typedef CnDetails
394
+ * @property {string} [staff_id]
395
+ * @property {string} [expiry_date]
396
+ * @property {string} [channel_of_issuance]
397
+ * @property {string} [order_id]
398
+ * @property {string} [date_issued]
399
+ * @property {string} [ordering_channel]
400
+ * @property {string} [shipment_id]
401
+ * @property {string} [store_id]
402
+ * @property {string} [invoice_number]
456
403
  */
457
404
  /**
458
- * @typedef InvoiceListingResponse
459
- * @property {number} [item_count]
460
- * @property {InvoiceListingResponseItems[]} [items]
461
- * @property {Page} [page]
462
- * @property {UnpaidInvoiceDataItems} [unpaid_invoice_data]
405
+ * @typedef RedemptionDetails
406
+ * @property {string} [staff_id]
407
+ * @property {string} [created_at]
408
+ * @property {string} [order_id]
409
+ * @property {string} [store_id]
410
+ * @property {string} [shipment_id]
411
+ * @property {string} [ordering_channel]
412
+ * @property {number} [amount_debited]
413
+ * @property {string} [invoice_number]
463
414
  */
464
415
  /**
465
- * @typedef InvoiceListingResponseItems
466
- * @property {string} [amount]
467
- * @property {string} [company]
468
- * @property {Currency} [currency]
469
- * @property {string} [due_date]
470
- * @property {string} [invoice_date]
471
- * @property {string} [invoice_id]
472
- * @property {string} [invoice_number]
473
- * @property {string} [invoice_type]
474
- * @property {boolean} [is_downloadable]
475
- * @property {string} [period]
476
- * @property {string} [status]
416
+ * @typedef CreditNoteDetails
417
+ * @property {string} [cn_status]
418
+ * @property {string} [customer_mobile_number]
419
+ * @property {string} [cn_reference_number]
420
+ * @property {Object} [cn_details]
421
+ * @property {RedemptionDetails[]} [redemption_details]
422
+ * @property {number} [remaining_cn_amount]
423
+ * @property {number} [available_cn_balance]
424
+ * @property {number} [cn_amount]
477
425
  */
478
426
  /**
479
- * @typedef InvoicePaymentDetailsResponse
480
- * @property {InvoicePaymentDetailsResponseData} [data]
481
- * @property {boolean} [payment_details_visible]
427
+ * @typedef CreditNoteDetailsResponse
482
428
  * @property {boolean} [success]
429
+ * @property {CreditNoteDetails} [data]
483
430
  */
484
431
  /**
485
- * @typedef InvoicePaymentDetailsResponseData
486
- * @property {Object[]} [failed_attempts_details]
487
- * @property {PaidInvoicePaymentDetail[]} [paid_invoice_payment_details]
432
+ * @typedef GetCustomerCreditBalance
433
+ * @property {string} [affiliate_id]
434
+ * @property {number} [seller_id]
435
+ * @property {string} [customer_mobile_number]
488
436
  */
489
437
  /**
490
- * @typedef InvoicePdfPayloadData
491
- * @property {string[]} [invoice_number]
438
+ * @typedef GetCustomerCreditBalanceRequest
439
+ * @property {GetCustomerCreditBalance} [data]
492
440
  */
493
441
  /**
494
- * @typedef InvoicePdfRequest
495
- * @property {InvoicePdfPayloadData} [data]
442
+ * @typedef GetCustomerCreditBalanceResponseData
443
+ * @property {string} [customer_mobile_number]
444
+ * @property {number} [total_credited_balance]
496
445
  */
497
446
  /**
498
- * @typedef InvoicePdfResponse
499
- * @property {string[]} [data]
500
- * @property {string[]} [error]
447
+ * @typedef GetCustomerCreditBalanceResponse
501
448
  * @property {boolean} [success]
449
+ * @property {GetCustomerCreditBalanceResponseData} [data]
502
450
  */
503
451
  /**
504
- * @typedef InvoiceTypePayloadData
505
- * @property {boolean} [is_active]
506
- */
507
- /**
508
- * @typedef InvoiceTypeRequest
509
- * @property {InvoiceTypePayloadData} [data]
510
- */
511
- /**
512
- * @typedef InvoiceTypeResponse
513
- * @property {InvoiceTypeResponseItems[]} [invoice_type_list]
514
- * @property {InvoiceTypeResponseItems[]} [payment_status_list]
515
- * @property {boolean} [success]
452
+ * @typedef GetCnConfigRequest
453
+ * @property {DeleteConfig} [data]
516
454
  */
517
455
  /**
518
- * @typedef InvoiceTypeResponseItems
519
- * @property {string} [text]
520
- * @property {string} [value]
456
+ * @typedef GetCnConfigResponseMeta
457
+ * @property {string} [reason]
458
+ * @property {string[]} [source_channel]
521
459
  */
522
460
  /**
523
- * @typedef IsCnRefundMethodData
461
+ * @typedef GetCnConfigResponseData
462
+ * @property {boolean} [is_cn_as_refund_method]
524
463
  * @property {string} [affiliate_id]
464
+ * @property {GetCnConfigResponseMeta} [meta]
525
465
  * @property {number} [seller_id]
526
- * @property {boolean} [toggle_edit_required]
527
- */
528
- /**
529
- * @typedef IsCnRefundMethodRequest
530
- * @property {IsCnRefundMethodData} [data]
466
+ * @property {CreditNoteConfigNotificationEvents} [notification_events]
467
+ * @property {number} [validity]
468
+ * @property {string[]} [redemption_ordering_channel]
469
+ * @property {string} [currency_type]
531
470
  */
532
471
  /**
533
- * @typedef IsCnRefundMethodResponse
534
- * @property {IsCnRefundMethodResponseData} [data]
472
+ * @typedef GetCnConfigResponse
535
473
  * @property {boolean} [success]
474
+ * @property {GetCnConfigResponseData} [data]
536
475
  */
537
476
  /**
538
- * @typedef IsCnRefundMethodResponseData
539
- * @property {boolean} [is_first_time_user]
540
- */
541
- /**
542
- * @typedef IsCreditlinePayload
543
- * @property {string} [seller_id]
477
+ * @typedef CnGenerateReportFilters
478
+ * @property {string[]} [staff_id]
479
+ * @property {string[]} [channel_of_issuance]
480
+ * @property {string[]} [utilisation]
481
+ * @property {string[]} [ordering_channel]
482
+ * @property {number[]} [store_id]
483
+ * @property {string[]} [types_of_transaction]
544
484
  */
545
485
  /**
546
- * @typedef IsCreditlinePlatformRequest
547
- * @property {IsCreditlinePayload} [data]
486
+ * @typedef CnGenerateReport
487
+ * @property {number} [page]
488
+ * @property {string} [end_date]
489
+ * @property {number} [pagesize]
490
+ * @property {CnGenerateReportFilters} [filters]
491
+ * @property {string} [affiliate_id]
492
+ * @property {GenerateReportFilters} [meta]
493
+ * @property {string} [search]
494
+ * @property {string} [report_id]
495
+ * @property {string} [search_type]
496
+ * @property {string} [start_date]
548
497
  */
549
498
  /**
550
- * @typedef IsCreditlinePlatformResponse
551
- * @property {number} [code]
552
- * @property {boolean} [is_creditline_opted]
499
+ * @typedef GenerateReportCustomerCnRequest
500
+ * @property {CnGenerateReport} [data]
553
501
  */
554
502
  /**
555
- * @typedef Page
556
- * @property {number} [current]
557
- * @property {boolean} [has_next]
558
- * @property {boolean} [has_previous]
559
- * @property {number} [item_total]
560
- * @property {string} [next_id]
561
- * @property {number} [size]
562
- * @property {string} type
503
+ * @typedef CnGenerateReportItems
504
+ * @property {string} [expiry_date]
505
+ * @property {string} [status]
506
+ * @property {number} [total_amount]
507
+ * @property {string} [order_id]
508
+ * @property {string} [date_issued]
509
+ * @property {string} [shipment_id]
510
+ * @property {string} [invoice_number]
511
+ * @property {string} [credit_note_number]
563
512
  */
564
513
  /**
565
- * @typedef PaidInvoicePaymentDetail
566
- * @property {number} [amount]
567
- * @property {string} [date_of_payment]
568
- * @property {PaymentDetail[]} [payment_details]
514
+ * @typedef GenerateReportCustomerCnResponseData
515
+ * @property {CnGenerateReportItems[]} [items]
516
+ * @property {Object} [row_header_display_order]
517
+ * @property {string} [end_date]
518
+ * @property {Page} [page]
519
+ * @property {string[]} [headers]
520
+ * @property {string[]} [primary_headers]
521
+ * @property {string[]} [allowed_filters]
522
+ * @property {string} [start_date]
523
+ * @property {number} [item_count]
569
524
  */
570
525
  /**
571
- * @typedef PaymentDetail
572
- * @property {string} [display_name]
573
- * @property {string} [value]
526
+ * @typedef GenerateReportCustomerCnResponse
527
+ * @property {GenerateReportCustomerCnResponseData} [data]
574
528
  */
575
529
  /**
576
- * @typedef PaymentProcessPayload
577
- * @property {string} [amount]
578
- * @property {string} [currency]
579
- * @property {string} [invoice_number]
580
- * @property {Object} [meta]
581
- * @property {string} [mode_of_payment]
582
- * @property {string} [platform]
583
- * @property {string} [seller_id]
584
- * @property {string} [source_reference]
585
- * @property {string} [total_amount]
586
- * @property {string} [transaction_type]
530
+ * @typedef CnDownloadReport
531
+ * @property {number} [page]
532
+ * @property {string} [start_date]
533
+ * @property {string} [end_date]
534
+ * @property {string} [affiliate_id]
535
+ * @property {string} [search]
536
+ * @property {string[]} [status]
537
+ * @property {string} [search_type]
538
+ * @property {number} [pagesize]
587
539
  */
588
540
  /**
589
- * @typedef PaymentProcessRequest
590
- * @property {PaymentProcessPayload} [data]
541
+ * @typedef DownloadReportCustomerCnRequest
542
+ * @property {CnDownloadReport} [data]
591
543
  */
592
544
  /**
593
- * @typedef PaymentProcessResponse
594
- * @property {number} [code]
595
- * @property {string} [message]
545
+ * @typedef DownloadReportResponseData
546
+ * @property {string} [report_config_id]
547
+ * @property {string} [full_name]
548
+ * @property {string} [requested_by]
549
+ * @property {string} [start_date]
550
+ * @property {string} [end_date]
551
+ * @property {Object} [request_dict]
552
+ * @property {string} [download_link]
553
+ * @property {string} [created_at]
596
554
  * @property {Object} [meta]
597
- * @property {string} [redirect_url]
598
- * @property {string} [transaction_id]
599
- */
600
- /**
601
- * @typedef ReasonItem
555
+ * @property {string} [msg]
556
+ * @property {string} [report_name]
557
+ * @property {string} [status]
602
558
  * @property {string} [display_name]
603
- * @property {string} [id]
604
- * @property {string} [name]
559
+ * @property {Object} [filters]
605
560
  */
606
561
  /**
607
- * @typedef RedemptionDetails
608
- * @property {number} [amount_debited]
609
- * @property {string} [created_at]
610
- * @property {string} [invoice_number]
611
- * @property {string} [order_id]
612
- * @property {string} [ordering_channel]
613
- * @property {string} [shipment_id]
614
- * @property {string} [staff_id]
615
- * @property {string} [store_id]
562
+ * @typedef DownloadReportCustomerCnResponse
563
+ * @property {DownloadReportResponseData[]} [data]
616
564
  */
617
565
  /**
618
- * @typedef ReportItem
619
- * @property {string[]} [allowed_filters]
620
- * @property {Object} [config_meta]
621
- * @property {string} [description]
622
- * @property {string} [display_date]
623
- * @property {string} [id]
624
- * @property {string} [name]
625
- * @property {string} [report_type]
566
+ * @typedef GetReportingFilters
567
+ * @property {string} [text]
568
+ * @property {string} [type]
569
+ * @property {Object[]} [options]
570
+ * @property {string} [value]
626
571
  */
627
572
  /**
628
- * @typedef UnlockCreditNoteRequest
629
- * @property {UnlockCreditNoteRequestData} [data]
573
+ * @typedef GetReportingNestedFilters
574
+ * @property {string} [text]
575
+ * @property {Object[]} [options]
576
+ * @property {boolean} [required]
577
+ * @property {string} [placeholder_text]
578
+ * @property {string} [type]
579
+ * @property {string} [value]
630
580
  */
631
581
  /**
632
- * @typedef UnlockCreditNoteRequestData
633
- * @property {string} [description]
634
- * @property {string[]} [locked_credit_notes]
635
- * @property {string} [seller_id]
636
- * @property {string} [unlock_reason]
637
- */
638
- /**
639
- * @typedef UnlockCreditNoteResponse
640
- * @property {UnlockCreditNoteResponseData} [data]
641
- * @property {boolean} [success]
642
- */
643
- /**
644
- * @typedef UnlockCreditNoteResponseData
645
- * @property {boolean} [is_cn_unlocked]
646
- * @property {string} [status]
647
- */
648
- /**
649
- * @typedef UnpaidInvoiceDataItems
650
- * @property {string} [currency]
651
- * @property {number} [total_unpaid_amount]
652
- * @property {number} [total_unpaid_invoice_count]
582
+ * @typedef GetReportingFiltersResponse
583
+ * @property {GetReportingFilters} [search]
584
+ * @property {GetReportingNestedFilters[]} [filters]
585
+ * @property {GetReportingFilters} [status]
653
586
  */
654
587
  declare class FinancePlatformModel {
655
588
  }
656
589
  declare namespace FinancePlatformModel {
657
- export { ChannelDisplayName, ChannelDisplayNameResponse, CnDetails, CnDownloadReport, CnGenerateReport, CnGenerateReportFilters, CnGenerateReportItems, CnReferenceNumber, CreateSellerCreditNoteConfig, CreateSellerCreditNoteConfigRequest, CreateSellerCreditNoteConfigResponse, CreditlineDataPlatformPayload, CreditlineDataPlatformRequest, CreditlineDataPlatformResponse, CreditNoteConfigNotificationEvents, CreditNoteDetails, CreditNoteDetailsRequest, CreditNoteDetailsResponse, Currency, DeleteConfig, DeleteConfigRequest, DeleteConfigResponse, DownloadCreditDebitNote, DownloadCreditDebitNoteRequest, DownloadCreditDebitNoteResponse, DownloadCreditDebitNoteResponseData, DownloadReport, DownloadReportCustomerCnRequest, DownloadReportCustomerCnResponse, DownloadReportItems, DownloadReportList, DownloadReportResponseData, Error, GenerateReportCustomerCnRequest, GenerateReportCustomerCnResponse, GenerateReportCustomerCnResponseData, GenerateReportFilters, GenerateReportJson, GenerateReportMeta, GenerateReportPlatform, GenerateReportRequest, GetAffiliate, GetAffiliateResponse, GetCnConfigRequest, GetCnConfigResponse, GetCnConfigResponseData, GetCnConfigResponseMeta, GetCustomerCreditBalance, GetCustomerCreditBalanceRequest, GetCustomerCreditBalanceResponse, GetCustomerCreditBalanceResponseData, GetEngineData, GetEngineRequest, GetEngineResponse, GetPdfUrlViewRequest, GetPdfUrlViewResponse, GetPdfUrlViewResponseData, GetReason, GetReasonRequest, GetReasonResponse, GetReportingFilters, GetReportingFiltersResponse, GetReportingNestedFilters, GetReportListData, GetReportListRequest, GetReportListResponse, InoviceListingPayloadDataFilters, InvoiceActivityLogError, InvoiceActivityLogsResponse, InvoiceActivityLogsResponseData, InvoiceListingPayloadData, InvoiceListingRequest, InvoiceListingResponse, InvoiceListingResponseItems, InvoicePaymentDetailsResponse, InvoicePaymentDetailsResponseData, InvoicePdfPayloadData, InvoicePdfRequest, InvoicePdfResponse, InvoiceTypePayloadData, InvoiceTypeRequest, InvoiceTypeResponse, InvoiceTypeResponseItems, IsCnRefundMethodData, IsCnRefundMethodRequest, IsCnRefundMethodResponse, IsCnRefundMethodResponseData, IsCreditlinePayload, IsCreditlinePlatformRequest, IsCreditlinePlatformResponse, Page, PaidInvoicePaymentDetail, PaymentDetail, PaymentProcessPayload, PaymentProcessRequest, PaymentProcessResponse, ReasonItem, RedemptionDetails, ReportItem, UnlockCreditNoteRequest, UnlockCreditNoteRequestData, UnlockCreditNoteResponse, UnlockCreditNoteResponseData, UnpaidInvoiceDataItems };
590
+ export { GenerateReportMeta, GenerateReportFilters, GenerateReportPlatform, GenerateReportRequest, Page, 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 };
658
591
  }
659
- /** @returns {ChannelDisplayName} */
660
- declare function ChannelDisplayName(): ChannelDisplayName;
661
- type ChannelDisplayName = {
662
- platform_pos?: string;
663
- };
664
- /** @returns {ChannelDisplayNameResponse} */
665
- declare function ChannelDisplayNameResponse(): ChannelDisplayNameResponse;
666
- type ChannelDisplayNameResponse = {
667
- data?: ChannelDisplayName;
668
- success?: boolean;
592
+ /** @returns {GenerateReportMeta} */
593
+ declare function GenerateReportMeta(): GenerateReportMeta;
594
+ type GenerateReportMeta = {
595
+ brand?: string;
596
+ company?: string;
597
+ channel?: string;
669
598
  };
670
- /** @returns {CnDetails} */
671
- declare function CnDetails(): CnDetails;
672
- type CnDetails = {
673
- channel_of_issuance?: string;
674
- date_issued?: string;
675
- expiry_date?: string;
676
- invoice_number?: string;
677
- order_id?: string;
678
- ordering_channel?: string;
679
- shipment_id?: string;
680
- staff_id?: string;
681
- store_id?: string;
599
+ /** @returns {GenerateReportFilters} */
600
+ declare function GenerateReportFilters(): GenerateReportFilters;
601
+ type GenerateReportFilters = {
602
+ brand?: string[];
603
+ company?: string[];
604
+ channel?: string[];
682
605
  };
683
- /** @returns {CnDownloadReport} */
684
- declare function CnDownloadReport(): CnDownloadReport;
685
- type CnDownloadReport = {
686
- affiliate_id?: string;
687
- end_date?: string;
688
- page?: number;
689
- pagesize?: number;
690
- search?: string;
691
- search_type?: string;
606
+ /** @returns {GenerateReportPlatform} */
607
+ declare function GenerateReportPlatform(): GenerateReportPlatform;
608
+ type GenerateReportPlatform = {
692
609
  start_date?: string;
693
- status?: string[];
694
- };
695
- /** @returns {CnGenerateReport} */
696
- declare function CnGenerateReport(): CnGenerateReport;
697
- type CnGenerateReport = {
698
- affiliate_id?: string;
699
610
  end_date?: string;
700
- filters?: CnGenerateReportFilters;
701
- meta?: GenerateReportFilters;
702
- page?: number;
703
- pagesize?: number;
611
+ meta?: GenerateReportMeta;
704
612
  report_id?: string;
705
- search?: string;
706
- search_type?: string;
707
- start_date?: string;
708
- };
709
- /** @returns {CnGenerateReportFilters} */
710
- declare function CnGenerateReportFilters(): CnGenerateReportFilters;
711
- type CnGenerateReportFilters = {
712
- channel_of_issuance?: string[];
713
- ordering_channel?: string[];
714
- staff_id?: string[];
715
- store_id?: number[];
716
- types_of_transaction?: string[];
717
- utilisation?: string[];
718
- };
719
- /** @returns {CnGenerateReportItems} */
720
- declare function CnGenerateReportItems(): CnGenerateReportItems;
721
- type CnGenerateReportItems = {
722
- credit_note_number?: string;
723
- date_issued?: string;
724
- expiry_date?: string;
725
- invoice_number?: string;
726
- order_id?: string;
727
- shipment_id?: string;
728
- status?: string;
729
- total_amount?: number;
613
+ filters?: GenerateReportFilters;
730
614
  };
731
- /** @returns {CnReferenceNumber} */
732
- declare function CnReferenceNumber(): CnReferenceNumber;
733
- type CnReferenceNumber = {
734
- cn_reference_number?: string;
615
+ /** @returns {GenerateReportRequest} */
616
+ declare function GenerateReportRequest(): GenerateReportRequest;
617
+ type GenerateReportRequest = {
618
+ data?: GenerateReportPlatform;
735
619
  };
736
- /** @returns {CreateSellerCreditNoteConfig} */
737
- declare function CreateSellerCreditNoteConfig(): CreateSellerCreditNoteConfig;
738
- type CreateSellerCreditNoteConfig = {
739
- affiliate_id?: string;
740
- currency_type?: string;
741
- is_cn_as_refund_method?: boolean;
742
- notification_events?: CreditNoteConfigNotificationEvents;
743
- ordering_channel?: string[];
744
- sales_channel_name?: string;
745
- seller_id?: number;
746
- slug_values?: string[];
747
- source_channel?: string[];
748
- validity?: number;
620
+ /** @returns {Page} */
621
+ declare function Page(): Page;
622
+ type Page = {
623
+ item_total?: number;
624
+ next_id?: string;
625
+ has_previous?: boolean;
626
+ has_next?: boolean;
627
+ current?: number;
628
+ type: string;
629
+ size?: number;
749
630
  };
750
- /** @returns {CreateSellerCreditNoteConfigRequest} */
751
- declare function CreateSellerCreditNoteConfigRequest(): CreateSellerCreditNoteConfigRequest;
752
- type CreateSellerCreditNoteConfigRequest = {
753
- data?: CreateSellerCreditNoteConfig;
631
+ /** @returns {GenerateReportJson} */
632
+ declare function GenerateReportJson(): GenerateReportJson;
633
+ type GenerateReportJson = {
634
+ items?: string[][];
635
+ page?: Page;
636
+ end_date?: string;
637
+ headers?: string[];
638
+ start_date?: string;
639
+ item_count?: number;
754
640
  };
755
- /** @returns {CreateSellerCreditNoteConfigResponse} */
756
- declare function CreateSellerCreditNoteConfigResponse(): CreateSellerCreditNoteConfigResponse;
757
- type CreateSellerCreditNoteConfigResponse = {
758
- message?: string;
641
+ /** @returns {Error} */
642
+ declare function Error(): Error;
643
+ type Error = {
644
+ reason?: string;
759
645
  success?: boolean;
760
646
  };
761
- /** @returns {CreditlineDataPlatformPayload} */
762
- declare function CreditlineDataPlatformPayload(): CreditlineDataPlatformPayload;
763
- type CreditlineDataPlatformPayload = {
764
- end_end?: string;
647
+ /** @returns {DownloadReport} */
648
+ declare function DownloadReport(): DownloadReport;
649
+ type DownloadReport = {
765
650
  page?: number;
766
651
  pagesize?: number;
767
- seller_id?: string;
768
- start_end?: string;
652
+ start_date?: string;
653
+ end_date?: string;
769
654
  };
770
- /** @returns {CreditlineDataPlatformRequest} */
771
- declare function CreditlineDataPlatformRequest(): CreditlineDataPlatformRequest;
772
- type CreditlineDataPlatformRequest = {
773
- data?: CreditlineDataPlatformPayload;
655
+ /** @returns {DownloadReportItems} */
656
+ declare function DownloadReportItems(): DownloadReportItems;
657
+ type DownloadReportItems = {
658
+ start_date?: string;
659
+ end_date?: string;
660
+ meta?: GenerateReportMeta;
661
+ report_id?: string;
662
+ filters?: GenerateReportFilters;
663
+ type_of_request?: string;
774
664
  };
775
- /** @returns {CreditlineDataPlatformResponse} */
776
- declare function CreditlineDataPlatformResponse(): CreditlineDataPlatformResponse;
777
- type CreditlineDataPlatformResponse = {
778
- code?: number;
779
- headers?: string[];
665
+ /** @returns {DownloadReportList} */
666
+ declare function DownloadReportList(): DownloadReportList;
667
+ type DownloadReportList = {
668
+ items?: DownloadReportItems[];
669
+ page?: Page;
780
670
  item_count?: number;
671
+ };
672
+ /** @returns {GetEngineData} */
673
+ declare function GetEngineData(): GetEngineData;
674
+ type GetEngineData = {
675
+ table_name?: string;
676
+ project?: string[];
677
+ filters?: any;
678
+ };
679
+ /** @returns {GetEngineRequest} */
680
+ declare function GetEngineRequest(): GetEngineRequest;
681
+ type GetEngineRequest = {
682
+ data?: GetEngineData;
683
+ };
684
+ /** @returns {GetEngineResponse} */
685
+ declare function GetEngineResponse(): GetEngineResponse;
686
+ type GetEngineResponse = {
687
+ success?: boolean;
781
688
  items?: any[];
782
- message?: string;
783
689
  page?: Page;
784
- show_mr?: boolean;
690
+ item_count?: number;
785
691
  };
786
- /** @returns {CreditNoteConfigNotificationEvents} */
787
- declare function CreditNoteConfigNotificationEvents(): CreditNoteConfigNotificationEvents;
788
- type CreditNoteConfigNotificationEvents = {
789
- expiration_reminder_to_customer?: number;
692
+ /** @returns {GetReason} */
693
+ declare function GetReason(): GetReason;
694
+ type GetReason = {
695
+ reason_type?: string;
790
696
  };
791
- /** @returns {CreditNoteDetails} */
792
- declare function CreditNoteDetails(): CreditNoteDetails;
793
- type CreditNoteDetails = {
794
- available_cn_balance?: number;
795
- cn_amount?: number;
796
- cn_details?: CnDetails;
797
- cn_reference_number?: string;
798
- cn_status?: string;
799
- customer_mobile_number?: string;
800
- redemption_details?: RedemptionDetails[];
801
- remaining_cn_amount?: number;
697
+ /** @returns {GetReasonRequest} */
698
+ declare function GetReasonRequest(): GetReasonRequest;
699
+ type GetReasonRequest = {
700
+ data?: GetReason;
802
701
  };
803
- /** @returns {CreditNoteDetailsRequest} */
804
- declare function CreditNoteDetailsRequest(): CreditNoteDetailsRequest;
805
- type CreditNoteDetailsRequest = {
806
- data?: CnReferenceNumber;
702
+ /** @returns {ReasonItem} */
703
+ declare function ReasonItem(): ReasonItem;
704
+ type ReasonItem = {
705
+ id?: string;
706
+ name?: string;
707
+ display_name?: string;
807
708
  };
808
- /** @returns {CreditNoteDetailsResponse} */
809
- declare function CreditNoteDetailsResponse(): CreditNoteDetailsResponse;
810
- type CreditNoteDetailsResponse = {
811
- data?: CreditNoteDetails;
709
+ /** @returns {GetReasonResponse} */
710
+ declare function GetReasonResponse(): GetReasonResponse;
711
+ type GetReasonResponse = {
812
712
  success?: boolean;
713
+ item_list?: ReasonItem[];
714
+ item_count?: number;
715
+ page?: Page;
813
716
  };
814
- /** @returns {Currency} */
815
- declare function Currency(): Currency;
816
- type Currency = {
817
- code?: string;
818
- name?: string;
819
- symbol?: string;
717
+ /** @returns {GetReportListData} */
718
+ declare function GetReportListData(): GetReportListData;
719
+ type GetReportListData = {
720
+ role_name?: string;
721
+ listing_enabled?: boolean;
820
722
  };
821
- /** @returns {DeleteConfig} */
822
- declare function DeleteConfig(): DeleteConfig;
823
- type DeleteConfig = {
824
- affiliate_id?: string;
825
- seller_id?: number;
826
- slug_values?: string[];
723
+ /** @returns {GetReportListRequest} */
724
+ declare function GetReportListRequest(): GetReportListRequest;
725
+ type GetReportListRequest = {
726
+ data?: GetReportListData;
827
727
  };
828
- /** @returns {DeleteConfigRequest} */
829
- declare function DeleteConfigRequest(): DeleteConfigRequest;
830
- type DeleteConfigRequest = {
831
- data?: DeleteConfig;
728
+ /** @returns {GetAffiliate} */
729
+ declare function GetAffiliate(): GetAffiliate;
730
+ type GetAffiliate = {
731
+ company_id?: number;
832
732
  };
833
- /** @returns {DeleteConfigResponse} */
834
- declare function DeleteConfigResponse(): DeleteConfigResponse;
835
- type DeleteConfigResponse = {
836
- message?: string;
733
+ /** @returns {GetReportListResponse} */
734
+ declare function GetReportListResponse(): GetReportListResponse;
735
+ type GetReportListResponse = {
736
+ success?: boolean;
737
+ items?: ReportItem[];
738
+ page?: Page;
739
+ total_count?: number;
740
+ };
741
+ /** @returns {ReportItem} */
742
+ declare function ReportItem(): ReportItem;
743
+ type ReportItem = {
744
+ id?: string;
745
+ name?: string;
746
+ description?: string;
747
+ allowed_filters?: string[];
748
+ config_meta?: any;
749
+ report_type?: string;
750
+ display_date?: string;
751
+ };
752
+ /** @returns {GetAffiliateResponse} */
753
+ declare function GetAffiliateResponse(): GetAffiliateResponse;
754
+ type GetAffiliateResponse = {
837
755
  success?: boolean;
756
+ docs?: any[];
838
757
  };
839
758
  /** @returns {DownloadCreditDebitNote} */
840
759
  declare function DownloadCreditDebitNote(): DownloadCreditDebitNote;
@@ -846,378 +765,160 @@ declare function DownloadCreditDebitNoteRequest(): DownloadCreditDebitNoteReques
846
765
  type DownloadCreditDebitNoteRequest = {
847
766
  data?: DownloadCreditDebitNote;
848
767
  };
849
- /** @returns {DownloadCreditDebitNoteResponse} */
850
- declare function DownloadCreditDebitNoteResponse(): DownloadCreditDebitNoteResponse;
851
- type DownloadCreditDebitNoteResponse = {
852
- data?: DownloadCreditDebitNoteResponseData[];
853
- success?: boolean;
854
- };
855
768
  /** @returns {DownloadCreditDebitNoteResponseData} */
856
769
  declare function DownloadCreditDebitNoteResponseData(): DownloadCreditDebitNoteResponseData;
857
770
  type DownloadCreditDebitNoteResponseData = {
858
771
  id?: string;
859
772
  pdf_s3_url?: string;
860
773
  };
861
- /** @returns {DownloadReport} */
862
- declare function DownloadReport(): DownloadReport;
863
- type DownloadReport = {
864
- end_date?: string;
865
- page?: number;
866
- pagesize?: number;
867
- start_date?: string;
868
- };
869
- /** @returns {DownloadReportCustomerCnRequest} */
870
- declare function DownloadReportCustomerCnRequest(): DownloadReportCustomerCnRequest;
871
- type DownloadReportCustomerCnRequest = {
872
- data?: CnDownloadReport;
873
- };
874
- /** @returns {DownloadReportCustomerCnResponse} */
875
- declare function DownloadReportCustomerCnResponse(): DownloadReportCustomerCnResponse;
876
- type DownloadReportCustomerCnResponse = {
877
- data?: DownloadReportResponseData[];
774
+ /** @returns {DownloadCreditDebitNoteResponse} */
775
+ declare function DownloadCreditDebitNoteResponse(): DownloadCreditDebitNoteResponse;
776
+ type DownloadCreditDebitNoteResponse = {
777
+ success?: boolean;
778
+ data?: DownloadCreditDebitNoteResponseData[];
878
779
  };
879
- /** @returns {DownloadReportItems} */
880
- declare function DownloadReportItems(): DownloadReportItems;
881
- type DownloadReportItems = {
882
- end_date?: string;
883
- filters?: GenerateReportFilters;
884
- meta?: GenerateReportMeta;
885
- report_id?: string;
886
- start_date?: string;
887
- type_of_request?: string;
780
+ /** @returns {PaymentProcessPayload} */
781
+ declare function PaymentProcessPayload(): PaymentProcessPayload;
782
+ type PaymentProcessPayload = {
783
+ platform?: string;
784
+ amount?: string;
785
+ transaction_type?: string;
786
+ source_reference?: string;
787
+ total_amount?: string;
788
+ meta?: any;
789
+ currency?: string;
790
+ seller_id?: string;
791
+ mode_of_payment?: string;
792
+ invoice_number?: string;
888
793
  };
889
- /** @returns {DownloadReportList} */
890
- declare function DownloadReportList(): DownloadReportList;
891
- type DownloadReportList = {
892
- item_count?: number;
893
- items?: DownloadReportItems[];
894
- page?: Page;
794
+ /** @returns {PaymentProcessRequest} */
795
+ declare function PaymentProcessRequest(): PaymentProcessRequest;
796
+ type PaymentProcessRequest = {
797
+ data?: PaymentProcessPayload;
895
798
  };
896
- /** @returns {DownloadReportResponseData} */
897
- declare function DownloadReportResponseData(): DownloadReportResponseData;
898
- type DownloadReportResponseData = {
899
- created_at?: string;
900
- display_name?: string;
901
- download_link?: string;
902
- end_date?: string;
903
- filters?: any;
904
- full_name?: string;
799
+ /** @returns {PaymentProcessResponse} */
800
+ declare function PaymentProcessResponse(): PaymentProcessResponse;
801
+ type PaymentProcessResponse = {
802
+ code?: number;
803
+ message?: string;
905
804
  meta?: any;
906
- msg?: string;
907
- report_config_id?: string;
908
- report_name?: string;
909
- request_dict?: any;
910
- requested_by?: string;
911
- start_date?: string;
912
- status?: string;
913
- };
914
- /** @returns {Error} */
915
- declare function Error(): Error;
916
- type Error = {
917
- reason?: string;
918
- success?: boolean;
805
+ transaction_id?: string;
806
+ redirect_url?: string;
919
807
  };
920
- /** @returns {GenerateReportCustomerCnRequest} */
921
- declare function GenerateReportCustomerCnRequest(): GenerateReportCustomerCnRequest;
922
- type GenerateReportCustomerCnRequest = {
923
- data?: CnGenerateReport;
808
+ /** @returns {CreditlineDataPlatformPayload} */
809
+ declare function CreditlineDataPlatformPayload(): CreditlineDataPlatformPayload;
810
+ type CreditlineDataPlatformPayload = {
811
+ page?: number;
812
+ seller_id?: string;
813
+ end_end?: string;
814
+ start_end?: string;
815
+ pagesize?: number;
924
816
  };
925
- /** @returns {GenerateReportCustomerCnResponse} */
926
- declare function GenerateReportCustomerCnResponse(): GenerateReportCustomerCnResponse;
927
- type GenerateReportCustomerCnResponse = {
928
- data?: GenerateReportCustomerCnResponseData;
817
+ /** @returns {CreditlineDataPlatformRequest} */
818
+ declare function CreditlineDataPlatformRequest(): CreditlineDataPlatformRequest;
819
+ type CreditlineDataPlatformRequest = {
820
+ data?: CreditlineDataPlatformPayload;
929
821
  };
930
- /** @returns {GenerateReportCustomerCnResponseData} */
931
- declare function GenerateReportCustomerCnResponseData(): GenerateReportCustomerCnResponseData;
932
- type GenerateReportCustomerCnResponseData = {
933
- allowed_filters?: string[];
934
- end_date?: string;
822
+ /** @returns {CreditlineDataPlatformResponse} */
823
+ declare function CreditlineDataPlatformResponse(): CreditlineDataPlatformResponse;
824
+ type CreditlineDataPlatformResponse = {
825
+ items?: any[];
826
+ code?: number;
827
+ show_mr?: boolean;
828
+ page?: any;
829
+ message?: string;
935
830
  headers?: string[];
936
831
  item_count?: number;
937
- items?: CnGenerateReportItems[];
938
- page?: Page;
939
- primary_headers?: string[];
940
- row_header_display_order?: any;
941
- start_date?: string;
942
832
  };
943
- /** @returns {GenerateReportFilters} */
944
- declare function GenerateReportFilters(): GenerateReportFilters;
945
- type GenerateReportFilters = {
946
- brand?: string[];
947
- channel?: string[];
948
- company?: string[];
833
+ /** @returns {IsCreditlinePayload} */
834
+ declare function IsCreditlinePayload(): IsCreditlinePayload;
835
+ type IsCreditlinePayload = {
836
+ seller_id?: string;
949
837
  };
950
- /** @returns {GenerateReportJson} */
951
- declare function GenerateReportJson(): GenerateReportJson;
952
- type GenerateReportJson = {
953
- end_date?: string;
954
- headers?: string[];
955
- item_count?: number;
956
- items?: string[][];
957
- page?: Page;
958
- start_date?: string;
838
+ /** @returns {IsCreditlinePlatformRequest} */
839
+ declare function IsCreditlinePlatformRequest(): IsCreditlinePlatformRequest;
840
+ type IsCreditlinePlatformRequest = {
841
+ data?: IsCreditlinePayload;
959
842
  };
960
- /** @returns {GenerateReportMeta} */
961
- declare function GenerateReportMeta(): GenerateReportMeta;
962
- type GenerateReportMeta = {
963
- brand?: string;
964
- channel?: string;
965
- company?: string;
843
+ /** @returns {IsCreditlinePlatformResponse} */
844
+ declare function IsCreditlinePlatformResponse(): IsCreditlinePlatformResponse;
845
+ type IsCreditlinePlatformResponse = {
846
+ is_creditline_opted?: boolean;
847
+ code?: number;
966
848
  };
967
- /** @returns {GenerateReportPlatform} */
968
- declare function GenerateReportPlatform(): GenerateReportPlatform;
969
- type GenerateReportPlatform = {
970
- end_date?: string;
971
- filters?: GenerateReportFilters;
972
- meta?: GenerateReportMeta;
973
- report_id?: string;
974
- start_date?: string;
849
+ /** @returns {InvoiceTypePayloadData} */
850
+ declare function InvoiceTypePayloadData(): InvoiceTypePayloadData;
851
+ type InvoiceTypePayloadData = {
852
+ is_active?: boolean;
975
853
  };
976
- /** @returns {GenerateReportRequest} */
977
- declare function GenerateReportRequest(): GenerateReportRequest;
978
- type GenerateReportRequest = {
979
- data?: GenerateReportPlatform;
854
+ /** @returns {InvoiceTypeRequest} */
855
+ declare function InvoiceTypeRequest(): InvoiceTypeRequest;
856
+ type InvoiceTypeRequest = {
857
+ data?: InvoiceTypePayloadData;
980
858
  };
981
- /** @returns {GetAffiliate} */
982
- declare function GetAffiliate(): GetAffiliate;
983
- type GetAffiliate = {
984
- company_id?: number;
859
+ /** @returns {InvoiceTypeResponseItems} */
860
+ declare function InvoiceTypeResponseItems(): InvoiceTypeResponseItems;
861
+ type InvoiceTypeResponseItems = {
862
+ text?: string;
863
+ value?: string;
985
864
  };
986
- /** @returns {GetAffiliateResponse} */
987
- declare function GetAffiliateResponse(): GetAffiliateResponse;
988
- type GetAffiliateResponse = {
989
- docs?: any[];
865
+ /** @returns {InvoiceTypeResponse} */
866
+ declare function InvoiceTypeResponse(): InvoiceTypeResponse;
867
+ type InvoiceTypeResponse = {
990
868
  success?: boolean;
869
+ invoice_type_list?: InvoiceTypeResponseItems[];
870
+ payment_status_list?: InvoiceTypeResponseItems[];
991
871
  };
992
- /** @returns {GetCnConfigRequest} */
993
- declare function GetCnConfigRequest(): GetCnConfigRequest;
994
- type GetCnConfigRequest = {
995
- data?: DeleteConfig;
996
- };
997
- /** @returns {GetCnConfigResponse} */
998
- declare function GetCnConfigResponse(): GetCnConfigResponse;
999
- type GetCnConfigResponse = {
1000
- data?: GetCnConfigResponseData;
1001
- success?: boolean;
1002
- };
1003
- /** @returns {GetCnConfigResponseData} */
1004
- declare function GetCnConfigResponseData(): GetCnConfigResponseData;
1005
- type GetCnConfigResponseData = {
1006
- affiliate_id?: string;
1007
- currency_type?: string;
1008
- is_cn_as_refund_method?: boolean;
1009
- meta?: GetCnConfigResponseMeta;
1010
- notification_events?: CreditNoteConfigNotificationEvents;
1011
- redemption_ordering_channel?: string[];
1012
- seller_id?: number;
1013
- validity?: number;
1014
- };
1015
- /** @returns {GetCnConfigResponseMeta} */
1016
- declare function GetCnConfigResponseMeta(): GetCnConfigResponseMeta;
1017
- type GetCnConfigResponseMeta = {
1018
- reason?: string;
1019
- source_channel?: string[];
1020
- };
1021
- /** @returns {GetCustomerCreditBalance} */
1022
- declare function GetCustomerCreditBalance(): GetCustomerCreditBalance;
1023
- type GetCustomerCreditBalance = {
1024
- affiliate_id?: string;
1025
- customer_mobile_number?: string;
1026
- seller_id?: number;
1027
- };
1028
- /** @returns {GetCustomerCreditBalanceRequest} */
1029
- declare function GetCustomerCreditBalanceRequest(): GetCustomerCreditBalanceRequest;
1030
- type GetCustomerCreditBalanceRequest = {
1031
- data?: GetCustomerCreditBalance;
1032
- };
1033
- /** @returns {GetCustomerCreditBalanceResponse} */
1034
- declare function GetCustomerCreditBalanceResponse(): GetCustomerCreditBalanceResponse;
1035
- type GetCustomerCreditBalanceResponse = {
1036
- data?: GetCustomerCreditBalanceResponseData;
1037
- success?: boolean;
1038
- };
1039
- /** @returns {GetCustomerCreditBalanceResponseData} */
1040
- declare function GetCustomerCreditBalanceResponseData(): GetCustomerCreditBalanceResponseData;
1041
- type GetCustomerCreditBalanceResponseData = {
1042
- customer_mobile_number?: string;
1043
- total_credited_balance?: number;
1044
- };
1045
- /** @returns {GetEngineData} */
1046
- declare function GetEngineData(): GetEngineData;
1047
- type GetEngineData = {
1048
- filters?: any;
1049
- project?: string[];
1050
- table_name?: string;
1051
- };
1052
- /** @returns {GetEngineRequest} */
1053
- declare function GetEngineRequest(): GetEngineRequest;
1054
- type GetEngineRequest = {
1055
- data?: GetEngineData;
1056
- };
1057
- /** @returns {GetEngineResponse} */
1058
- declare function GetEngineResponse(): GetEngineResponse;
1059
- type GetEngineResponse = {
1060
- item_count?: number;
1061
- items?: any[];
1062
- page?: Page;
1063
- success?: boolean;
1064
- };
1065
- /** @returns {GetPdfUrlViewRequest} */
1066
- declare function GetPdfUrlViewRequest(): GetPdfUrlViewRequest;
1067
- type GetPdfUrlViewRequest = {
1068
- data?: CnReferenceNumber;
1069
- };
1070
- /** @returns {GetPdfUrlViewResponse} */
1071
- declare function GetPdfUrlViewResponse(): GetPdfUrlViewResponse;
1072
- type GetPdfUrlViewResponse = {
1073
- data?: GetPdfUrlViewResponseData;
1074
- success?: boolean;
1075
- };
1076
- /** @returns {GetPdfUrlViewResponseData} */
1077
- declare function GetPdfUrlViewResponseData(): GetPdfUrlViewResponseData;
1078
- type GetPdfUrlViewResponseData = {
1079
- cn_reference_number?: string;
1080
- s3_pdf_link?: string;
1081
- };
1082
- /** @returns {GetReason} */
1083
- declare function GetReason(): GetReason;
1084
- type GetReason = {
1085
- reason_type?: string;
1086
- };
1087
- /** @returns {GetReasonRequest} */
1088
- declare function GetReasonRequest(): GetReasonRequest;
1089
- type GetReasonRequest = {
1090
- data?: GetReason;
1091
- };
1092
- /** @returns {GetReasonResponse} */
1093
- declare function GetReasonResponse(): GetReasonResponse;
1094
- type GetReasonResponse = {
1095
- item_count?: number;
1096
- item_list?: ReasonItem[];
1097
- page?: Page;
1098
- success?: boolean;
1099
- };
1100
- /** @returns {GetReportingFilters} */
1101
- declare function GetReportingFilters(): GetReportingFilters;
1102
- type GetReportingFilters = {
1103
- options?: any[];
1104
- text?: string;
1105
- type?: string;
1106
- value?: string;
1107
- };
1108
- /** @returns {GetReportingFiltersResponse} */
1109
- declare function GetReportingFiltersResponse(): GetReportingFiltersResponse;
1110
- type GetReportingFiltersResponse = {
1111
- filters?: GetReportingNestedFilters[];
1112
- search?: GetReportingFilters;
1113
- status?: GetReportingFilters;
1114
- };
1115
- /** @returns {GetReportingNestedFilters} */
1116
- declare function GetReportingNestedFilters(): GetReportingNestedFilters;
1117
- type GetReportingNestedFilters = {
1118
- options?: any[];
1119
- placeholder_text?: string;
1120
- required?: boolean;
1121
- text?: string;
1122
- type?: string;
1123
- value?: string;
1124
- };
1125
- /** @returns {GetReportListData} */
1126
- declare function GetReportListData(): GetReportListData;
1127
- type GetReportListData = {
1128
- listing_enabled?: boolean;
1129
- role_name?: string;
1130
- };
1131
- /** @returns {GetReportListRequest} */
1132
- declare function GetReportListRequest(): GetReportListRequest;
1133
- type GetReportListRequest = {
1134
- data?: GetReportListData;
1135
- };
1136
- /** @returns {GetReportListResponse} */
1137
- declare function GetReportListResponse(): GetReportListResponse;
1138
- type GetReportListResponse = {
1139
- items?: ReportItem[];
1140
- page?: Page;
1141
- success?: boolean;
1142
- total_count?: number;
1143
- };
1144
- /** @returns {InoviceListingPayloadDataFilters} */
1145
- declare function InoviceListingPayloadDataFilters(): InoviceListingPayloadDataFilters;
1146
- type InoviceListingPayloadDataFilters = {
1147
- company_id?: string[];
1148
- invoice_type?: string[];
1149
- payment_status?: string[];
1150
- };
1151
- /** @returns {InvoiceActivityLogError} */
1152
- declare function InvoiceActivityLogError(): InvoiceActivityLogError;
1153
- type InvoiceActivityLogError = {
1154
- reason?: string;
1155
- };
1156
- /** @returns {InvoiceActivityLogsResponse} */
1157
- declare function InvoiceActivityLogsResponse(): InvoiceActivityLogsResponse;
1158
- type InvoiceActivityLogsResponse = {
1159
- data?: InvoiceActivityLogsResponseData[];
1160
- };
1161
- /** @returns {InvoiceActivityLogsResponseData} */
1162
- declare function InvoiceActivityLogsResponseData(): InvoiceActivityLogsResponseData;
1163
- type InvoiceActivityLogsResponseData = {
1164
- is_resolved?: boolean;
1165
- max_retry_attempts?: number;
1166
- performed_by?: string;
1167
- reason?: string;
1168
- retry_attempts?: number;
1169
- status?: string;
872
+ /** @returns {InoviceListingPayloadDataFilters} */
873
+ declare function InoviceListingPayloadDataFilters(): InoviceListingPayloadDataFilters;
874
+ type InoviceListingPayloadDataFilters = {
875
+ payment_status?: string[];
876
+ invoice_type?: string[];
877
+ company_id?: string[];
1170
878
  };
1171
879
  /** @returns {InvoiceListingPayloadData} */
1172
880
  declare function InvoiceListingPayloadData(): InvoiceListingPayloadData;
1173
881
  type InvoiceListingPayloadData = {
1174
- end_date?: string;
1175
- filters?: InoviceListingPayloadDataFilters;
1176
- page?: number;
1177
882
  page_size?: number;
1178
- search?: string;
883
+ page?: number;
1179
884
  start_date?: string;
885
+ end_date?: string;
886
+ search?: string;
887
+ filters?: InoviceListingPayloadDataFilters;
1180
888
  };
1181
889
  /** @returns {InvoiceListingRequest} */
1182
890
  declare function InvoiceListingRequest(): InvoiceListingRequest;
1183
891
  type InvoiceListingRequest = {
1184
892
  data?: InvoiceListingPayloadData;
1185
893
  };
1186
- /** @returns {InvoiceListingResponse} */
1187
- declare function InvoiceListingResponse(): InvoiceListingResponse;
1188
- type InvoiceListingResponse = {
1189
- item_count?: number;
1190
- items?: InvoiceListingResponseItems[];
1191
- page?: Page;
1192
- unpaid_invoice_data?: UnpaidInvoiceDataItems;
894
+ /** @returns {UnpaidInvoiceDataItems} */
895
+ declare function UnpaidInvoiceDataItems(): UnpaidInvoiceDataItems;
896
+ type UnpaidInvoiceDataItems = {
897
+ total_unpaid_invoice_count?: number;
898
+ currency?: string;
899
+ total_unpaid_amount?: number;
1193
900
  };
1194
901
  /** @returns {InvoiceListingResponseItems} */
1195
902
  declare function InvoiceListingResponseItems(): InvoiceListingResponseItems;
1196
903
  type InvoiceListingResponseItems = {
1197
904
  amount?: string;
1198
905
  company?: string;
1199
- currency?: Currency;
906
+ status?: string;
1200
907
  due_date?: string;
1201
908
  invoice_date?: string;
1202
- invoice_id?: string;
1203
- invoice_number?: string;
1204
909
  invoice_type?: string;
1205
- is_downloadable?: boolean;
1206
910
  period?: string;
1207
- status?: string;
1208
- };
1209
- /** @returns {InvoicePaymentDetailsResponse} */
1210
- declare function InvoicePaymentDetailsResponse(): InvoicePaymentDetailsResponse;
1211
- type InvoicePaymentDetailsResponse = {
1212
- data?: InvoicePaymentDetailsResponseData;
1213
- payment_details_visible?: boolean;
1214
- success?: boolean;
911
+ invoice_number?: string;
912
+ is_downloadable?: boolean;
913
+ invoice_id?: string;
1215
914
  };
1216
- /** @returns {InvoicePaymentDetailsResponseData} */
1217
- declare function InvoicePaymentDetailsResponseData(): InvoicePaymentDetailsResponseData;
1218
- type InvoicePaymentDetailsResponseData = {
1219
- failed_attempts_details?: any[];
1220
- paid_invoice_payment_details?: PaidInvoicePaymentDetail[];
915
+ /** @returns {InvoiceListingResponse} */
916
+ declare function InvoiceListingResponse(): InvoiceListingResponse;
917
+ type InvoiceListingResponse = {
918
+ unpaid_invoice_data?: UnpaidInvoiceDataItems;
919
+ items?: InvoiceListingResponseItems[];
920
+ page?: Page;
921
+ item_count?: number;
1221
922
  };
1222
923
  /** @returns {InvoicePdfPayloadData} */
1223
924
  declare function InvoicePdfPayloadData(): InvoicePdfPayloadData;
@@ -1232,183 +933,336 @@ type InvoicePdfRequest = {
1232
933
  /** @returns {InvoicePdfResponse} */
1233
934
  declare function InvoicePdfResponse(): InvoicePdfResponse;
1234
935
  type InvoicePdfResponse = {
936
+ success?: boolean;
1235
937
  data?: string[];
1236
938
  error?: string[];
1237
- success?: boolean;
1238
- };
1239
- /** @returns {InvoiceTypePayloadData} */
1240
- declare function InvoiceTypePayloadData(): InvoiceTypePayloadData;
1241
- type InvoiceTypePayloadData = {
1242
- is_active?: boolean;
1243
- };
1244
- /** @returns {InvoiceTypeRequest} */
1245
- declare function InvoiceTypeRequest(): InvoiceTypeRequest;
1246
- type InvoiceTypeRequest = {
1247
- data?: InvoiceTypePayloadData;
1248
- };
1249
- /** @returns {InvoiceTypeResponse} */
1250
- declare function InvoiceTypeResponse(): InvoiceTypeResponse;
1251
- type InvoiceTypeResponse = {
1252
- invoice_type_list?: InvoiceTypeResponseItems[];
1253
- payment_status_list?: InvoiceTypeResponseItems[];
1254
- success?: boolean;
1255
- };
1256
- /** @returns {InvoiceTypeResponseItems} */
1257
- declare function InvoiceTypeResponseItems(): InvoiceTypeResponseItems;
1258
- type InvoiceTypeResponseItems = {
1259
- text?: string;
1260
- value?: string;
1261
939
  };
1262
940
  /** @returns {IsCnRefundMethodData} */
1263
941
  declare function IsCnRefundMethodData(): IsCnRefundMethodData;
1264
942
  type IsCnRefundMethodData = {
1265
943
  affiliate_id?: string;
1266
- seller_id?: number;
1267
944
  toggle_edit_required?: boolean;
945
+ seller_id?: number;
1268
946
  };
1269
947
  /** @returns {IsCnRefundMethodRequest} */
1270
948
  declare function IsCnRefundMethodRequest(): IsCnRefundMethodRequest;
1271
949
  type IsCnRefundMethodRequest = {
1272
950
  data?: IsCnRefundMethodData;
1273
951
  };
1274
- /** @returns {IsCnRefundMethodResponse} */
1275
- declare function IsCnRefundMethodResponse(): IsCnRefundMethodResponse;
1276
- type IsCnRefundMethodResponse = {
1277
- data?: IsCnRefundMethodResponseData;
1278
- success?: boolean;
1279
- };
1280
952
  /** @returns {IsCnRefundMethodResponseData} */
1281
953
  declare function IsCnRefundMethodResponseData(): IsCnRefundMethodResponseData;
1282
954
  type IsCnRefundMethodResponseData = {
1283
955
  is_first_time_user?: boolean;
1284
956
  };
1285
- /** @returns {IsCreditlinePayload} */
1286
- declare function IsCreditlinePayload(): IsCreditlinePayload;
1287
- type IsCreditlinePayload = {
1288
- seller_id?: string;
1289
- };
1290
- /** @returns {IsCreditlinePlatformRequest} */
1291
- declare function IsCreditlinePlatformRequest(): IsCreditlinePlatformRequest;
1292
- type IsCreditlinePlatformRequest = {
1293
- data?: IsCreditlinePayload;
957
+ /** @returns {IsCnRefundMethodResponse} */
958
+ declare function IsCnRefundMethodResponse(): IsCnRefundMethodResponse;
959
+ type IsCnRefundMethodResponse = {
960
+ success?: boolean;
961
+ data?: IsCnRefundMethodResponseData;
1294
962
  };
1295
- /** @returns {IsCreditlinePlatformResponse} */
1296
- declare function IsCreditlinePlatformResponse(): IsCreditlinePlatformResponse;
1297
- type IsCreditlinePlatformResponse = {
1298
- code?: number;
1299
- is_creditline_opted?: boolean;
963
+ /** @returns {CreditNoteConfigNotificationEvents} */
964
+ declare function CreditNoteConfigNotificationEvents(): CreditNoteConfigNotificationEvents;
965
+ type CreditNoteConfigNotificationEvents = {
966
+ expiration_reminder_to_customer?: number;
1300
967
  };
1301
- /** @returns {Page} */
1302
- declare function Page(): Page;
1303
- type Page = {
1304
- current?: number;
1305
- has_next?: boolean;
1306
- has_previous?: boolean;
1307
- item_total?: number;
1308
- next_id?: string;
1309
- size?: number;
1310
- type: string;
968
+ /** @returns {CreateSellerCreditNoteConfig} */
969
+ declare function CreateSellerCreditNoteConfig(): CreateSellerCreditNoteConfig;
970
+ type CreateSellerCreditNoteConfig = {
971
+ is_cn_as_refund_method?: boolean;
972
+ affiliate_id?: string;
973
+ source_channel?: string[];
974
+ seller_id?: number;
975
+ notification_events?: CreditNoteConfigNotificationEvents;
976
+ sales_channel_name?: string;
977
+ ordering_channel?: string[];
978
+ validity?: number;
979
+ currency_type?: string;
980
+ slug_values?: string[];
1311
981
  };
1312
- /** @returns {PaidInvoicePaymentDetail} */
1313
- declare function PaidInvoicePaymentDetail(): PaidInvoicePaymentDetail;
1314
- type PaidInvoicePaymentDetail = {
1315
- amount?: number;
1316
- date_of_payment?: string;
1317
- payment_details?: PaymentDetail[];
982
+ /** @returns {CreateSellerCreditNoteConfigRequest} */
983
+ declare function CreateSellerCreditNoteConfigRequest(): CreateSellerCreditNoteConfigRequest;
984
+ type CreateSellerCreditNoteConfigRequest = {
985
+ data?: CreateSellerCreditNoteConfig;
1318
986
  };
1319
- /** @returns {PaymentDetail} */
1320
- declare function PaymentDetail(): PaymentDetail;
1321
- type PaymentDetail = {
1322
- display_name?: string;
1323
- value?: string;
987
+ /** @returns {CreateSellerCreditNoteConfigResponse} */
988
+ declare function CreateSellerCreditNoteConfigResponse(): CreateSellerCreditNoteConfigResponse;
989
+ type CreateSellerCreditNoteConfigResponse = {
990
+ success?: boolean;
991
+ message?: string;
1324
992
  };
1325
- /** @returns {PaymentProcessPayload} */
1326
- declare function PaymentProcessPayload(): PaymentProcessPayload;
1327
- type PaymentProcessPayload = {
1328
- amount?: string;
1329
- currency?: string;
1330
- invoice_number?: string;
1331
- meta?: any;
1332
- mode_of_payment?: string;
1333
- platform?: string;
1334
- seller_id?: string;
1335
- source_reference?: string;
1336
- total_amount?: string;
1337
- transaction_type?: string;
993
+ /** @returns {DeleteConfig} */
994
+ declare function DeleteConfig(): DeleteConfig;
995
+ type DeleteConfig = {
996
+ affiliate_id?: string;
997
+ slug_values?: string[];
998
+ seller_id?: number;
1338
999
  };
1339
- /** @returns {PaymentProcessRequest} */
1340
- declare function PaymentProcessRequest(): PaymentProcessRequest;
1341
- type PaymentProcessRequest = {
1342
- data?: PaymentProcessPayload;
1000
+ /** @returns {DeleteConfigRequest} */
1001
+ declare function DeleteConfigRequest(): DeleteConfigRequest;
1002
+ type DeleteConfigRequest = {
1003
+ data?: DeleteConfig;
1343
1004
  };
1344
- /** @returns {PaymentProcessResponse} */
1345
- declare function PaymentProcessResponse(): PaymentProcessResponse;
1346
- type PaymentProcessResponse = {
1347
- code?: number;
1005
+ /** @returns {DeleteConfigResponse} */
1006
+ declare function DeleteConfigResponse(): DeleteConfigResponse;
1007
+ type DeleteConfigResponse = {
1008
+ success?: boolean;
1348
1009
  message?: string;
1349
- meta?: any;
1350
- redirect_url?: string;
1351
- transaction_id?: string;
1352
1010
  };
1353
- /** @returns {ReasonItem} */
1354
- declare function ReasonItem(): ReasonItem;
1355
- type ReasonItem = {
1356
- display_name?: string;
1357
- id?: string;
1358
- name?: string;
1011
+ /** @returns {ChannelDisplayName} */
1012
+ declare function ChannelDisplayName(): ChannelDisplayName;
1013
+ type ChannelDisplayName = {
1014
+ platform_pos?: string;
1015
+ };
1016
+ /** @returns {ChannelDisplayNameResponse} */
1017
+ declare function ChannelDisplayNameResponse(): ChannelDisplayNameResponse;
1018
+ type ChannelDisplayNameResponse = {
1019
+ success?: boolean;
1020
+ data?: ChannelDisplayName;
1021
+ };
1022
+ /** @returns {CnReferenceNumber} */
1023
+ declare function CnReferenceNumber(): CnReferenceNumber;
1024
+ type CnReferenceNumber = {
1025
+ cn_reference_number?: string;
1026
+ };
1027
+ /** @returns {GetPdfUrlViewRequest} */
1028
+ declare function GetPdfUrlViewRequest(): GetPdfUrlViewRequest;
1029
+ type GetPdfUrlViewRequest = {
1030
+ data?: CnReferenceNumber;
1031
+ };
1032
+ /** @returns {GetPdfUrlViewResponseData} */
1033
+ declare function GetPdfUrlViewResponseData(): GetPdfUrlViewResponseData;
1034
+ type GetPdfUrlViewResponseData = {
1035
+ s3_pdf_link?: string;
1036
+ cn_reference_number?: string;
1037
+ };
1038
+ /** @returns {GetPdfUrlViewResponse} */
1039
+ declare function GetPdfUrlViewResponse(): GetPdfUrlViewResponse;
1040
+ type GetPdfUrlViewResponse = {
1041
+ success?: boolean;
1042
+ data?: GetPdfUrlViewResponseData;
1043
+ };
1044
+ /** @returns {CreditNoteDetailsRequest} */
1045
+ declare function CreditNoteDetailsRequest(): CreditNoteDetailsRequest;
1046
+ type CreditNoteDetailsRequest = {
1047
+ data?: CnReferenceNumber;
1048
+ };
1049
+ /** @returns {CnDetails} */
1050
+ declare function CnDetails(): CnDetails;
1051
+ type CnDetails = {
1052
+ staff_id?: string;
1053
+ expiry_date?: string;
1054
+ channel_of_issuance?: string;
1055
+ order_id?: string;
1056
+ date_issued?: string;
1057
+ ordering_channel?: string;
1058
+ shipment_id?: string;
1059
+ store_id?: string;
1060
+ invoice_number?: string;
1359
1061
  };
1360
1062
  /** @returns {RedemptionDetails} */
1361
1063
  declare function RedemptionDetails(): RedemptionDetails;
1362
1064
  type RedemptionDetails = {
1363
- amount_debited?: number;
1065
+ staff_id?: string;
1364
1066
  created_at?: string;
1365
- invoice_number?: string;
1366
1067
  order_id?: string;
1068
+ store_id?: string;
1069
+ shipment_id?: string;
1367
1070
  ordering_channel?: string;
1071
+ amount_debited?: number;
1072
+ invoice_number?: string;
1073
+ };
1074
+ /** @returns {CreditNoteDetails} */
1075
+ declare function CreditNoteDetails(): CreditNoteDetails;
1076
+ type CreditNoteDetails = {
1077
+ cn_status?: string;
1078
+ customer_mobile_number?: string;
1079
+ cn_reference_number?: string;
1080
+ cn_details?: any;
1081
+ redemption_details?: RedemptionDetails[];
1082
+ remaining_cn_amount?: number;
1083
+ available_cn_balance?: number;
1084
+ cn_amount?: number;
1085
+ };
1086
+ /** @returns {CreditNoteDetailsResponse} */
1087
+ declare function CreditNoteDetailsResponse(): CreditNoteDetailsResponse;
1088
+ type CreditNoteDetailsResponse = {
1089
+ success?: boolean;
1090
+ data?: CreditNoteDetails;
1091
+ };
1092
+ /** @returns {GetCustomerCreditBalance} */
1093
+ declare function GetCustomerCreditBalance(): GetCustomerCreditBalance;
1094
+ type GetCustomerCreditBalance = {
1095
+ affiliate_id?: string;
1096
+ seller_id?: number;
1097
+ customer_mobile_number?: string;
1098
+ };
1099
+ /** @returns {GetCustomerCreditBalanceRequest} */
1100
+ declare function GetCustomerCreditBalanceRequest(): GetCustomerCreditBalanceRequest;
1101
+ type GetCustomerCreditBalanceRequest = {
1102
+ data?: GetCustomerCreditBalance;
1103
+ };
1104
+ /** @returns {GetCustomerCreditBalanceResponseData} */
1105
+ declare function GetCustomerCreditBalanceResponseData(): GetCustomerCreditBalanceResponseData;
1106
+ type GetCustomerCreditBalanceResponseData = {
1107
+ customer_mobile_number?: string;
1108
+ total_credited_balance?: number;
1109
+ };
1110
+ /** @returns {GetCustomerCreditBalanceResponse} */
1111
+ declare function GetCustomerCreditBalanceResponse(): GetCustomerCreditBalanceResponse;
1112
+ type GetCustomerCreditBalanceResponse = {
1113
+ success?: boolean;
1114
+ data?: GetCustomerCreditBalanceResponseData;
1115
+ };
1116
+ /** @returns {GetCnConfigRequest} */
1117
+ declare function GetCnConfigRequest(): GetCnConfigRequest;
1118
+ type GetCnConfigRequest = {
1119
+ data?: DeleteConfig;
1120
+ };
1121
+ /** @returns {GetCnConfigResponseMeta} */
1122
+ declare function GetCnConfigResponseMeta(): GetCnConfigResponseMeta;
1123
+ type GetCnConfigResponseMeta = {
1124
+ reason?: string;
1125
+ source_channel?: string[];
1126
+ };
1127
+ /** @returns {GetCnConfigResponseData} */
1128
+ declare function GetCnConfigResponseData(): GetCnConfigResponseData;
1129
+ type GetCnConfigResponseData = {
1130
+ is_cn_as_refund_method?: boolean;
1131
+ affiliate_id?: string;
1132
+ meta?: GetCnConfigResponseMeta;
1133
+ seller_id?: number;
1134
+ notification_events?: CreditNoteConfigNotificationEvents;
1135
+ validity?: number;
1136
+ redemption_ordering_channel?: string[];
1137
+ currency_type?: string;
1138
+ };
1139
+ /** @returns {GetCnConfigResponse} */
1140
+ declare function GetCnConfigResponse(): GetCnConfigResponse;
1141
+ type GetCnConfigResponse = {
1142
+ success?: boolean;
1143
+ data?: GetCnConfigResponseData;
1144
+ };
1145
+ /** @returns {CnGenerateReportFilters} */
1146
+ declare function CnGenerateReportFilters(): CnGenerateReportFilters;
1147
+ type CnGenerateReportFilters = {
1148
+ staff_id?: string[];
1149
+ channel_of_issuance?: string[];
1150
+ utilisation?: string[];
1151
+ ordering_channel?: string[];
1152
+ store_id?: number[];
1153
+ types_of_transaction?: string[];
1154
+ };
1155
+ /** @returns {CnGenerateReport} */
1156
+ declare function CnGenerateReport(): CnGenerateReport;
1157
+ type CnGenerateReport = {
1158
+ page?: number;
1159
+ end_date?: string;
1160
+ pagesize?: number;
1161
+ filters?: CnGenerateReportFilters;
1162
+ affiliate_id?: string;
1163
+ meta?: GenerateReportFilters;
1164
+ search?: string;
1165
+ report_id?: string;
1166
+ search_type?: string;
1167
+ start_date?: string;
1168
+ };
1169
+ /** @returns {GenerateReportCustomerCnRequest} */
1170
+ declare function GenerateReportCustomerCnRequest(): GenerateReportCustomerCnRequest;
1171
+ type GenerateReportCustomerCnRequest = {
1172
+ data?: CnGenerateReport;
1173
+ };
1174
+ /** @returns {CnGenerateReportItems} */
1175
+ declare function CnGenerateReportItems(): CnGenerateReportItems;
1176
+ type CnGenerateReportItems = {
1177
+ expiry_date?: string;
1178
+ status?: string;
1179
+ total_amount?: number;
1180
+ order_id?: string;
1181
+ date_issued?: string;
1368
1182
  shipment_id?: string;
1369
- staff_id?: string;
1370
- store_id?: string;
1183
+ invoice_number?: string;
1184
+ credit_note_number?: string;
1371
1185
  };
1372
- /** @returns {ReportItem} */
1373
- declare function ReportItem(): ReportItem;
1374
- type ReportItem = {
1186
+ /** @returns {GenerateReportCustomerCnResponseData} */
1187
+ declare function GenerateReportCustomerCnResponseData(): GenerateReportCustomerCnResponseData;
1188
+ type GenerateReportCustomerCnResponseData = {
1189
+ items?: CnGenerateReportItems[];
1190
+ row_header_display_order?: any;
1191
+ end_date?: string;
1192
+ page?: Page;
1193
+ headers?: string[];
1194
+ primary_headers?: string[];
1375
1195
  allowed_filters?: string[];
1376
- config_meta?: any;
1377
- description?: string;
1378
- display_date?: string;
1379
- id?: string;
1380
- name?: string;
1381
- report_type?: string;
1196
+ start_date?: string;
1197
+ item_count?: number;
1382
1198
  };
1383
- /** @returns {UnlockCreditNoteRequest} */
1384
- declare function UnlockCreditNoteRequest(): UnlockCreditNoteRequest;
1385
- type UnlockCreditNoteRequest = {
1386
- data?: UnlockCreditNoteRequestData;
1199
+ /** @returns {GenerateReportCustomerCnResponse} */
1200
+ declare function GenerateReportCustomerCnResponse(): GenerateReportCustomerCnResponse;
1201
+ type GenerateReportCustomerCnResponse = {
1202
+ data?: GenerateReportCustomerCnResponseData;
1387
1203
  };
1388
- /** @returns {UnlockCreditNoteRequestData} */
1389
- declare function UnlockCreditNoteRequestData(): UnlockCreditNoteRequestData;
1390
- type UnlockCreditNoteRequestData = {
1391
- description?: string;
1392
- locked_credit_notes?: string[];
1393
- seller_id?: string;
1394
- unlock_reason?: string;
1204
+ /** @returns {CnDownloadReport} */
1205
+ declare function CnDownloadReport(): CnDownloadReport;
1206
+ type CnDownloadReport = {
1207
+ page?: number;
1208
+ start_date?: string;
1209
+ end_date?: string;
1210
+ affiliate_id?: string;
1211
+ search?: string;
1212
+ status?: string[];
1213
+ search_type?: string;
1214
+ pagesize?: number;
1395
1215
  };
1396
- /** @returns {UnlockCreditNoteResponse} */
1397
- declare function UnlockCreditNoteResponse(): UnlockCreditNoteResponse;
1398
- type UnlockCreditNoteResponse = {
1399
- data?: UnlockCreditNoteResponseData;
1400
- success?: boolean;
1216
+ /** @returns {DownloadReportCustomerCnRequest} */
1217
+ declare function DownloadReportCustomerCnRequest(): DownloadReportCustomerCnRequest;
1218
+ type DownloadReportCustomerCnRequest = {
1219
+ data?: CnDownloadReport;
1401
1220
  };
1402
- /** @returns {UnlockCreditNoteResponseData} */
1403
- declare function UnlockCreditNoteResponseData(): UnlockCreditNoteResponseData;
1404
- type UnlockCreditNoteResponseData = {
1405
- is_cn_unlocked?: boolean;
1221
+ /** @returns {DownloadReportResponseData} */
1222
+ declare function DownloadReportResponseData(): DownloadReportResponseData;
1223
+ type DownloadReportResponseData = {
1224
+ report_config_id?: string;
1225
+ full_name?: string;
1226
+ requested_by?: string;
1227
+ start_date?: string;
1228
+ end_date?: string;
1229
+ request_dict?: any;
1230
+ download_link?: string;
1231
+ created_at?: string;
1232
+ meta?: any;
1233
+ msg?: string;
1234
+ report_name?: string;
1406
1235
  status?: string;
1236
+ display_name?: string;
1237
+ filters?: any;
1407
1238
  };
1408
- /** @returns {UnpaidInvoiceDataItems} */
1409
- declare function UnpaidInvoiceDataItems(): UnpaidInvoiceDataItems;
1410
- type UnpaidInvoiceDataItems = {
1411
- currency?: string;
1412
- total_unpaid_amount?: number;
1413
- total_unpaid_invoice_count?: number;
1239
+ /** @returns {DownloadReportCustomerCnResponse} */
1240
+ declare function DownloadReportCustomerCnResponse(): DownloadReportCustomerCnResponse;
1241
+ type DownloadReportCustomerCnResponse = {
1242
+ data?: DownloadReportResponseData[];
1243
+ };
1244
+ /** @returns {GetReportingFilters} */
1245
+ declare function GetReportingFilters(): GetReportingFilters;
1246
+ type GetReportingFilters = {
1247
+ text?: string;
1248
+ type?: string;
1249
+ options?: any[];
1250
+ value?: string;
1251
+ };
1252
+ /** @returns {GetReportingNestedFilters} */
1253
+ declare function GetReportingNestedFilters(): GetReportingNestedFilters;
1254
+ type GetReportingNestedFilters = {
1255
+ text?: string;
1256
+ options?: any[];
1257
+ required?: boolean;
1258
+ placeholder_text?: string;
1259
+ type?: string;
1260
+ value?: string;
1261
+ };
1262
+ /** @returns {GetReportingFiltersResponse} */
1263
+ declare function GetReportingFiltersResponse(): GetReportingFiltersResponse;
1264
+ type GetReportingFiltersResponse = {
1265
+ search?: GetReportingFilters;
1266
+ filters?: GetReportingNestedFilters[];
1267
+ status?: GetReportingFilters;
1414
1268
  };