@gofynd/fdk-client-javascript 1.2.0 → 1.3.1-beta.1

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 (262) hide show
  1. package/README.md +44 -7
  2. package/package.json +1 -2
  3. package/sdk/application/ApplicationAPIClient.d.ts +3 -3
  4. package/sdk/application/ApplicationAPIClient.js +6 -4
  5. package/sdk/application/ApplicationClient.d.ts +2 -3
  6. package/sdk/application/ApplicationClient.js +1 -45
  7. package/sdk/application/ApplicationConfig.d.ts +46 -6
  8. package/sdk/application/ApplicationConfig.js +15 -16
  9. package/sdk/application/Cart/CartApplicationClient.d.ts +61 -33
  10. package/sdk/application/Cart/CartApplicationClient.js +225 -134
  11. package/sdk/application/Cart/CartApplicationModel.d.ts +6 -4
  12. package/sdk/application/Cart/CartApplicationModel.js +6 -4
  13. package/sdk/application/Catalog/CatalogApplicationClient.d.ts +61 -30
  14. package/sdk/application/Catalog/CatalogApplicationClient.js +234 -146
  15. package/sdk/application/Catalog/CatalogApplicationModel.d.ts +115 -13
  16. package/sdk/application/Catalog/CatalogApplicationModel.js +77 -12
  17. package/sdk/application/Common/CommonApplicationClient.d.ts +5 -3
  18. package/sdk/application/Common/CommonApplicationClient.js +13 -11
  19. package/sdk/application/Common/CommonApplicationModel.d.ts +3 -83
  20. package/sdk/application/Common/CommonApplicationModel.js +2 -58
  21. package/sdk/application/Communication/CommunicationApplicationClient.d.ts +9 -3
  22. package/sdk/application/Communication/CommunicationApplicationClient.js +25 -13
  23. package/sdk/application/Communication/CommunicationApplicationModel.d.ts +1 -34
  24. package/sdk/application/Communication/CommunicationApplicationModel.js +0 -36
  25. package/sdk/application/Configuration/ConfigurationApplicationClient.d.ts +46 -16
  26. package/sdk/application/Configuration/ConfigurationApplicationClient.js +144 -68
  27. package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +1 -219
  28. package/sdk/application/Configuration/ConfigurationApplicationModel.js +0 -226
  29. package/sdk/application/Content/ContentApplicationClient.d.ts +49 -21
  30. package/sdk/application/Content/ContentApplicationClient.js +159 -80
  31. package/sdk/application/Content/ContentApplicationModel.d.ts +5 -622
  32. package/sdk/application/Content/ContentApplicationModel.js +11 -763
  33. package/sdk/application/FileStorage/FileStorageApplicationClient.d.ts +6 -3
  34. package/sdk/application/FileStorage/FileStorageApplicationClient.js +20 -14
  35. package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +1 -152
  36. package/sdk/application/FileStorage/FileStorageApplicationModel.js +0 -180
  37. package/sdk/application/Lead/LeadApplicationClient.d.ts +14 -7
  38. package/sdk/application/Lead/LeadApplicationClient.js +50 -31
  39. package/sdk/application/Lead/LeadApplicationModel.d.ts +22 -741
  40. package/sdk/application/Lead/LeadApplicationModel.js +21 -481
  41. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +11 -5
  42. package/sdk/application/Logistic/LogisticApplicationClient.js +41 -20
  43. package/sdk/application/Order/OrderApplicationClient.d.ts +24 -12
  44. package/sdk/application/Order/OrderApplicationClient.js +88 -56
  45. package/sdk/application/Payment/PaymentApplicationClient.d.ts +91 -42
  46. package/sdk/application/Payment/PaymentApplicationClient.js +293 -194
  47. package/sdk/application/Payment/PaymentApplicationModel.d.ts +36 -36
  48. package/sdk/application/Payment/PaymentApplicationModel.js +36 -36
  49. package/sdk/application/PosCart/PosCartApplicationClient.d.ts +59 -32
  50. package/sdk/application/PosCart/PosCartApplicationClient.js +214 -130
  51. package/sdk/application/PosCart/PosCartApplicationModel.d.ts +2 -2
  52. package/sdk/application/PosCart/PosCartApplicationModel.js +2 -2
  53. package/sdk/application/Rewards/RewardsApplicationClient.d.ts +16 -7
  54. package/sdk/application/Rewards/RewardsApplicationClient.js +56 -29
  55. package/sdk/application/Share/ShareApplicationClient.d.ts +15 -7
  56. package/sdk/application/Share/ShareApplicationClient.js +51 -31
  57. package/sdk/application/Share/ShareApplicationModel.d.ts +1 -33
  58. package/sdk/application/Share/ShareApplicationModel.js +0 -38
  59. package/sdk/application/Theme/ThemeApplicationClient.d.ts +9 -4
  60. package/sdk/application/Theme/ThemeApplicationClient.js +35 -18
  61. package/sdk/application/Theme/ThemeApplicationModel.d.ts +982 -312
  62. package/sdk/application/Theme/ThemeApplicationModel.js +621 -284
  63. package/sdk/application/User/UserApplicationClient.d.ts +74 -35
  64. package/sdk/application/User/UserApplicationClient.js +252 -161
  65. package/sdk/application/User/UserApplicationModel.d.ts +3 -401
  66. package/sdk/application/User/UserApplicationModel.js +2 -490
  67. package/sdk/common/AxiosHelper.js +1 -2
  68. package/sdk/common/FDKError.d.ts +3 -0
  69. package/sdk/common/FDKError.js +8 -0
  70. package/sdk/common/utils.d.ts +3 -0
  71. package/sdk/common/utils.js +29 -0
  72. package/sdk/partner/PartnerAPIClient.d.ts +5 -4
  73. package/sdk/partner/PartnerAPIClient.js +7 -4
  74. package/sdk/partner/PartnerClient.d.ts +2 -0
  75. package/sdk/partner/PartnerClient.js +3 -0
  76. package/sdk/partner/Theme/ThemePartnerClient.d.ts +299 -0
  77. package/sdk/partner/Theme/ThemePartnerClient.js +768 -0
  78. package/sdk/partner/Theme/ThemePartnerModel.d.ts +1706 -0
  79. package/sdk/partner/Theme/ThemePartnerModel.js +1409 -0
  80. package/sdk/partner/Theme/ThemePartnerValidator.d.ts +22 -0
  81. package/sdk/partner/Theme/ThemePartnerValidator.js +157 -0
  82. package/sdk/partner/index.d.ts +3 -1
  83. package/sdk/partner/index.js +3 -1
  84. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.d.ts +8 -4
  85. package/sdk/platform/AuditTrail/AuditTrailPlatformClient.js +38 -16
  86. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +1 -13
  87. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +0 -12
  88. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.d.ts +10 -0
  89. package/sdk/platform/AuditTrail/AuditTrailPlatformValidator.js +4 -0
  90. package/sdk/platform/Billing/BillingPlatformClient.d.ts +59 -14
  91. package/sdk/platform/Billing/BillingPlatformClient.js +315 -64
  92. package/sdk/platform/Billing/BillingPlatformModel.d.ts +56 -196
  93. package/sdk/platform/Billing/BillingPlatformModel.js +63 -217
  94. package/sdk/platform/Billing/BillingPlatformValidator.d.ts +23 -1
  95. package/sdk/platform/Billing/BillingPlatformValidator.js +31 -0
  96. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +124 -63
  97. package/sdk/platform/Cart/CartPlatformApplicationClient.js +431 -265
  98. package/sdk/platform/Cart/CartPlatformModel.d.ts +253 -53
  99. package/sdk/platform/Cart/CartPlatformModel.js +104 -54
  100. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +120 -53
  101. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +398 -247
  102. package/sdk/platform/Catalog/CatalogPlatformClient.d.ts +155 -78
  103. package/sdk/platform/Catalog/CatalogPlatformClient.js +561 -355
  104. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +10 -12
  105. package/sdk/platform/Catalog/CatalogPlatformModel.js +10 -12
  106. package/sdk/platform/Catalog/CatalogPlatformValidator.d.ts +30 -0
  107. package/sdk/platform/Catalog/CatalogPlatformValidator.js +13 -0
  108. package/sdk/platform/Common/CommonPlatformClient.d.ts +5 -3
  109. package/sdk/platform/Common/CommonPlatformClient.js +13 -11
  110. package/sdk/platform/Common/CommonPlatformModel.d.ts +39 -64
  111. package/sdk/platform/Common/CommonPlatformModel.js +23 -57
  112. package/sdk/platform/Common/CommonPlatformValidator.d.ts +5 -10
  113. package/sdk/platform/Common/CommonPlatformValidator.js +3 -4
  114. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +370 -120
  115. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +2328 -888
  116. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +143 -24
  117. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +179 -15
  118. package/sdk/platform/Communication/CommunicationPlatformClient.d.ts +2 -1
  119. package/sdk/platform/Communication/CommunicationPlatformClient.js +6 -5
  120. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +386 -308
  121. package/sdk/platform/Communication/CommunicationPlatformModel.js +415 -355
  122. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.d.ts +38 -13
  123. package/sdk/platform/CompanyProfile/CompanyProfilePlatformClient.js +171 -57
  124. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +53 -1
  125. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +54 -0
  126. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.d.ts +5 -1
  127. package/sdk/platform/CompanyProfile/CompanyProfilePlatformValidator.js +7 -0
  128. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +96 -29
  129. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +311 -126
  130. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +5 -1
  131. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +7 -0
  132. package/sdk/platform/Configuration/ConfigurationPlatformClient.d.ts +36 -18
  133. package/sdk/platform/Configuration/ConfigurationPlatformClient.js +121 -86
  134. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +13 -180
  135. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +5 -113
  136. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +162 -70
  137. package/sdk/platform/Content/ContentPlatformApplicationClient.js +528 -309
  138. package/sdk/platform/Content/ContentPlatformModel.d.ts +9 -198
  139. package/sdk/platform/Content/ContentPlatformModel.js +8 -231
  140. package/sdk/platform/Discount/DiscountPlatformClient.d.ts +48 -11
  141. package/sdk/platform/Discount/DiscountPlatformClient.js +142 -48
  142. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +40 -1
  143. package/sdk/platform/Discount/DiscountPlatformModel.js +27 -0
  144. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +84 -18
  145. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +486 -53
  146. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +71 -7
  147. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +81 -5
  148. package/sdk/platform/FileStorage/FileStoragePlatformClient.d.ts +13 -18
  149. package/sdk/platform/FileStorage/FileStoragePlatformClient.js +58 -65
  150. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +198 -71
  151. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +212 -64
  152. package/sdk/platform/FileStorage/FileStoragePlatformValidator.d.ts +18 -10
  153. package/sdk/platform/FileStorage/FileStoragePlatformValidator.js +11 -6
  154. package/sdk/platform/Finance/FinancePlatformClient.d.ts +177 -40
  155. package/sdk/platform/Finance/FinancePlatformClient.js +1028 -132
  156. package/sdk/platform/Finance/FinancePlatformModel.d.ts +670 -22
  157. package/sdk/platform/Finance/FinancePlatformModel.js +809 -23
  158. package/sdk/platform/Finance/FinancePlatformValidator.d.ts +111 -1
  159. package/sdk/platform/Finance/FinancePlatformValidator.js +134 -0
  160. package/sdk/platform/Inventory/InventoryPlatformClient.d.ts +24 -12
  161. package/sdk/platform/Inventory/InventoryPlatformClient.js +94 -52
  162. package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +27 -13
  163. package/sdk/platform/Lead/LeadPlatformApplicationClient.js +101 -55
  164. package/sdk/platform/Lead/LeadPlatformClient.d.ts +50 -39
  165. package/sdk/platform/Lead/LeadPlatformClient.js +171 -112
  166. package/sdk/platform/Lead/LeadPlatformModel.d.ts +32 -390
  167. package/sdk/platform/Lead/LeadPlatformModel.js +31 -214
  168. package/sdk/platform/Lead/LeadPlatformValidator.d.ts +33 -33
  169. package/sdk/platform/Lead/LeadPlatformValidator.js +23 -23
  170. package/sdk/platform/OAuthClient.js +6 -2
  171. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +4 -2
  172. package/sdk/platform/Order/OrderPlatformApplicationClient.js +12 -10
  173. package/sdk/platform/Order/OrderPlatformClient.d.ts +165 -71
  174. package/sdk/platform/Order/OrderPlatformClient.js +738 -205
  175. package/sdk/platform/Order/OrderPlatformModel.d.ts +261 -3
  176. package/sdk/platform/Order/OrderPlatformModel.js +225 -2
  177. package/sdk/platform/Order/OrderPlatformValidator.d.ts +104 -3
  178. package/sdk/platform/Order/OrderPlatformValidator.js +85 -2
  179. package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +4 -22
  180. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +12 -159
  181. package/sdk/platform/Partner/PartnerPlatformApplicationValidator.d.ts +1 -30
  182. package/sdk/platform/Partner/PartnerPlatformApplicationValidator.js +0 -26
  183. package/sdk/platform/Partner/PartnerPlatformModel.d.ts +1 -690
  184. package/sdk/platform/Partner/PartnerPlatformModel.js +0 -809
  185. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +167 -32
  186. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +793 -145
  187. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +91 -1
  188. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +91 -0
  189. package/sdk/platform/Payment/PaymentPlatformClient.d.ts +20 -10
  190. package/sdk/platform/Payment/PaymentPlatformClient.js +68 -47
  191. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +549 -7
  192. package/sdk/platform/Payment/PaymentPlatformModel.js +305 -6
  193. package/sdk/platform/PlatformAPIClient.d.ts +3 -3
  194. package/sdk/platform/PlatformAPIClient.js +2 -2
  195. package/sdk/platform/PlatformClient.d.ts +2 -2
  196. package/sdk/platform/PlatformClient.js +4 -4
  197. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +28 -12
  198. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +90 -53
  199. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +1 -12
  200. package/sdk/platform/Rewards/RewardsPlatformModel.js +0 -14
  201. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.d.ts +62 -26
  202. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationClient.js +210 -93
  203. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.d.ts +20 -11
  204. package/sdk/platform/Serviceability/ServiceabilityPlatformApplicationValidator.js +23 -11
  205. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.d.ts +36 -18
  206. package/sdk/platform/Serviceability/ServiceabilityPlatformClient.js +142 -78
  207. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.d.ts +12 -3
  208. package/sdk/platform/Serviceability/ServiceabilityPlatformModel.js +14 -2
  209. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +10 -26
  210. package/sdk/platform/Share/SharePlatformApplicationClient.js +36 -67
  211. package/sdk/platform/Share/SharePlatformModel.d.ts +4 -4
  212. package/sdk/platform/Share/SharePlatformModel.js +4 -4
  213. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +127 -57
  214. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +564 -189
  215. package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +63 -26
  216. package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +62 -22
  217. package/sdk/platform/Theme/ThemePlatformClient.d.ts +37 -0
  218. package/sdk/platform/Theme/ThemePlatformClient.js +235 -0
  219. package/sdk/platform/Theme/ThemePlatformModel.d.ts +1167 -261
  220. package/sdk/platform/Theme/ThemePlatformModel.js +801 -244
  221. package/sdk/platform/Theme/ThemePlatformValidator.d.ts +32 -0
  222. package/sdk/platform/Theme/ThemePlatformValidator.js +38 -0
  223. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +35 -17
  224. package/sdk/platform/User/UserPlatformApplicationClient.js +132 -73
  225. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +7 -0
  226. package/sdk/platform/User/UserPlatformApplicationValidator.js +3 -0
  227. package/sdk/platform/User/UserPlatformModel.d.ts +1 -738
  228. package/sdk/platform/User/UserPlatformModel.js +3 -899
  229. package/sdk/platform/Webhook/WebhookPlatformClient.d.ts +120 -7
  230. package/sdk/platform/Webhook/WebhookPlatformClient.js +799 -41
  231. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +476 -86
  232. package/sdk/platform/Webhook/WebhookPlatformModel.js +388 -89
  233. package/sdk/platform/Webhook/WebhookPlatformValidator.d.ts +90 -7
  234. package/sdk/platform/Webhook/WebhookPlatformValidator.js +113 -3
  235. package/sdk/public/Configuration/ConfigurationPublicClient.d.ts +5 -3
  236. package/sdk/public/Configuration/ConfigurationPublicClient.js +13 -11
  237. package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +3 -106
  238. package/sdk/public/Configuration/ConfigurationPublicModel.js +2 -59
  239. package/sdk/public/Inventory/InventoryPublicClient.d.ts +12 -6
  240. package/sdk/public/Inventory/InventoryPublicClient.js +42 -27
  241. package/sdk/public/Partner/PartnerPublicClient.d.ts +22 -0
  242. package/sdk/public/Partner/PartnerPublicClient.js +110 -0
  243. package/sdk/public/Partner/PartnerPublicModel.d.ts +240 -0
  244. package/sdk/public/Partner/PartnerPublicModel.js +280 -0
  245. package/sdk/public/Partner/PartnerPublicValidator.d.ts +18 -0
  246. package/sdk/public/Partner/PartnerPublicValidator.js +19 -0
  247. package/sdk/public/PublicAPIClient.d.ts +14 -1
  248. package/sdk/public/PublicAPIClient.js +7 -1
  249. package/sdk/public/PublicClient.d.ts +2 -0
  250. package/sdk/public/PublicClient.js +4 -0
  251. package/sdk/public/Webhook/WebhookPublicClient.d.ts +5 -2
  252. package/sdk/public/Webhook/WebhookPublicClient.js +15 -9
  253. package/sdk/public/Webhook/WebhookPublicModel.d.ts +1 -191
  254. package/sdk/public/Webhook/WebhookPublicModel.js +0 -229
  255. package/sdk/public/index.d.ts +1 -0
  256. package/sdk/public/index.js +2 -0
  257. package/sdk/application/ApplicationModels.d.ts +0 -48
  258. package/sdk/application/ApplicationModels.js +0 -38
  259. package/sdk/platform/Partner/PartnerPlatformClient.d.ts +0 -106
  260. package/sdk/platform/Partner/PartnerPlatformClient.js +0 -878
  261. package/sdk/platform/Partner/PartnerPlatformValidator.d.ts +0 -208
  262. package/sdk/platform/Partner/PartnerPlatformValidator.js +0 -169
@@ -1,4 +1,95 @@
1
1
  export = FinancePlatformModel;
2
+ /**
3
+ * @typedef ChannelDisplayName
4
+ * @property {string} [platform_pos]
5
+ */
6
+ /**
7
+ * @typedef ChannelDisplayNameResponse
8
+ * @property {ChannelDisplayName} [data]
9
+ * @property {boolean} [success]
10
+ */
11
+ /**
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]
22
+ */
23
+ /**
24
+ * @typedef CnDownloadReport
25
+ * @property {string} [affiliate_id]
26
+ * @property {string} [end_date]
27
+ * @property {number} [page]
28
+ * @property {number} [pagesize]
29
+ * @property {string} [search]
30
+ * @property {string} [search_type]
31
+ * @property {string} [start_date]
32
+ * @property {string[]} [status]
33
+ */
34
+ /**
35
+ * @typedef CnGenerateReport
36
+ * @property {string} [affiliate_id]
37
+ * @property {string} [end_date]
38
+ * @property {CnGenerateReportFilters} [filters]
39
+ * @property {GenerateReportFilters} [meta]
40
+ * @property {number} [page]
41
+ * @property {number} [pagesize]
42
+ * @property {string} [report_id]
43
+ * @property {string} [search]
44
+ * @property {string} [search_type]
45
+ * @property {string} [start_date]
46
+ */
47
+ /**
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]
55
+ */
56
+ /**
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]
66
+ */
67
+ /**
68
+ * @typedef CnReferenceNumber
69
+ * @property {string} [cn_reference_number]
70
+ */
71
+ /**
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]
83
+ */
84
+ /**
85
+ * @typedef CreateSellerCreditNoteConfigRequest
86
+ * @property {CreateSellerCreditNoteConfig} [data]
87
+ */
88
+ /**
89
+ * @typedef CreateSellerCreditNoteConfigResponse
90
+ * @property {string} [message]
91
+ * @property {boolean} [success]
92
+ */
2
93
  /**
3
94
  * @typedef CreditlineDataPlatformPayload
4
95
  * @property {string} [end_end]
@@ -21,6 +112,45 @@ export = FinancePlatformModel;
21
112
  * @property {Object} [page]
22
113
  * @property {boolean} [show_mr]
23
114
  */
115
+ /**
116
+ * @typedef CreditNoteConfigNotificationEvents
117
+ * @property {number} [expiration_reminder_to_customer]
118
+ */
119
+ /**
120
+ * @typedef CreditNoteDetails
121
+ * @property {number} [available_cn_balance]
122
+ * @property {number} [cn_amount]
123
+ * @property {Object} [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]
129
+ */
130
+ /**
131
+ * @typedef CreditNoteDetailsRequest
132
+ * @property {CnReferenceNumber} [data]
133
+ */
134
+ /**
135
+ * @typedef CreditNoteDetailsResponse
136
+ * @property {CreditNoteDetails} [data]
137
+ * @property {boolean} [success]
138
+ */
139
+ /**
140
+ * @typedef DeleteConfig
141
+ * @property {string} [affiliate_id]
142
+ * @property {number} [seller_id]
143
+ * @property {string[]} [slug_values]
144
+ */
145
+ /**
146
+ * @typedef DeleteConfigRequest
147
+ * @property {DeleteConfig} [data]
148
+ */
149
+ /**
150
+ * @typedef DeleteConfigResponse
151
+ * @property {string} [message]
152
+ * @property {boolean} [success]
153
+ */
24
154
  /**
25
155
  * @typedef DownloadCreditDebitNote
26
156
  * @property {string[]} [note_id]
@@ -46,6 +176,14 @@ export = FinancePlatformModel;
46
176
  * @property {number} [pagesize]
47
177
  * @property {string} [start_date]
48
178
  */
179
+ /**
180
+ * @typedef DownloadReportCustomerCnRequest
181
+ * @property {CnDownloadReport} [data]
182
+ */
183
+ /**
184
+ * @typedef DownloadReportCustomerCnResponse
185
+ * @property {DownloadReportResponseData[]} [data]
186
+ */
49
187
  /**
50
188
  * @typedef DownloadReportItems
51
189
  * @property {string} [end_date]
@@ -61,11 +199,48 @@ export = FinancePlatformModel;
61
199
  * @property {DownloadReportItems[]} [items]
62
200
  * @property {Page} [page]
63
201
  */
202
+ /**
203
+ * @typedef DownloadReportResponseData
204
+ * @property {string} [created_at]
205
+ * @property {string} [display_name]
206
+ * @property {string} [download_link]
207
+ * @property {string} [end_date]
208
+ * @property {Object} [filters]
209
+ * @property {string} [full_name]
210
+ * @property {Object} [meta]
211
+ * @property {string} [msg]
212
+ * @property {string} [report_config_id]
213
+ * @property {string} [report_name]
214
+ * @property {Object} [request_dict]
215
+ * @property {string} [requested_by]
216
+ * @property {string} [start_date]
217
+ * @property {string} [status]
218
+ */
64
219
  /**
65
220
  * @typedef Error
66
221
  * @property {string} [reason]
67
222
  * @property {boolean} [success]
68
223
  */
224
+ /**
225
+ * @typedef GenerateReportCustomerCnRequest
226
+ * @property {CnGenerateReport} [data]
227
+ */
228
+ /**
229
+ * @typedef GenerateReportCustomerCnResponse
230
+ * @property {GenerateReportCustomerCnResponseData} [data]
231
+ */
232
+ /**
233
+ * @typedef GenerateReportCustomerCnResponseData
234
+ * @property {string[]} [allowed_filters]
235
+ * @property {string} [end_date]
236
+ * @property {string[]} [headers]
237
+ * @property {number} [item_count]
238
+ * @property {CnGenerateReportItems[]} [items]
239
+ * @property {Page} [page]
240
+ * @property {string[]} [primary_headers]
241
+ * @property {Object} [row_header_display_order]
242
+ * @property {string} [start_date]
243
+ */
69
244
  /**
70
245
  * @typedef GenerateReportFilters
71
246
  * @property {string[]} [brand]
@@ -109,20 +284,56 @@ export = FinancePlatformModel;
109
284
  * @property {boolean} [success]
110
285
  */
111
286
  /**
112
- * @typedef GetDocs
113
- * @property {Object[]} [docs]
114
- * @property {Object[]} [items]
287
+ * @typedef GetCnConfigRequest
288
+ * @property {DeleteConfig} [data]
289
+ */
290
+ /**
291
+ * @typedef GetCnConfigResponse
292
+ * @property {GetCnConfigResponseData} [data]
293
+ * @property {boolean} [success]
294
+ */
295
+ /**
296
+ * @typedef GetCnConfigResponseData
297
+ * @property {string} [affiliate_id]
298
+ * @property {string} [currency_type]
299
+ * @property {boolean} [is_cn_as_refund_method]
300
+ * @property {GetCnConfigResponseMeta} [meta]
301
+ * @property {CreditNoteConfigNotificationEvents} [notification_events]
302
+ * @property {string[]} [redemption_ordering_channel]
303
+ * @property {number} [seller_id]
304
+ * @property {number} [validity]
305
+ */
306
+ /**
307
+ * @typedef GetCnConfigResponseMeta
308
+ * @property {string} [reason]
309
+ * @property {string[]} [source_channel]
310
+ */
311
+ /**
312
+ * @typedef GetCustomerCreditBalance
313
+ * @property {string} [affiliate_id]
314
+ * @property {string} [customer_mobile_number]
315
+ * @property {number} [seller_id]
316
+ */
317
+ /**
318
+ * @typedef GetCustomerCreditBalanceRequest
319
+ * @property {GetCustomerCreditBalance} [data]
320
+ */
321
+ /**
322
+ * @typedef GetCustomerCreditBalanceResponse
323
+ * @property {GetCustomerCreditBalanceResponseData} [data]
324
+ * @property {boolean} [success]
325
+ */
326
+ /**
327
+ * @typedef GetCustomerCreditBalanceResponseData
328
+ * @property {string} [customer_mobile_number]
329
+ * @property {number} [total_credited_balance]
115
330
  */
116
331
  /**
117
332
  * @typedef GetEngineData
118
- * @property {GetEngineFilters} [filters]
333
+ * @property {Object} [filters]
119
334
  * @property {string[]} [project]
120
335
  * @property {string} [table_name]
121
336
  */
122
- /**
123
- * @typedef GetEngineFilters
124
- * @property {string} [config_field]
125
- */
126
337
  /**
127
338
  * @typedef GetEngineRequest
128
339
  * @property {GetEngineData} [data]
@@ -134,6 +345,20 @@ export = FinancePlatformModel;
134
345
  * @property {Page} [page]
135
346
  * @property {boolean} [success]
136
347
  */
348
+ /**
349
+ * @typedef GetPdfUrlViewRequest
350
+ * @property {CnReferenceNumber} [data]
351
+ */
352
+ /**
353
+ * @typedef GetPdfUrlViewResponse
354
+ * @property {GetPdfUrlViewResponseData} [data]
355
+ * @property {boolean} [success]
356
+ */
357
+ /**
358
+ * @typedef GetPdfUrlViewResponseData
359
+ * @property {string} [cn_reference_number]
360
+ * @property {string} [s3_pdf_link]
361
+ */
137
362
  /**
138
363
  * @typedef GetReason
139
364
  * @property {string} [reason_type]
@@ -144,9 +369,33 @@ export = FinancePlatformModel;
144
369
  */
145
370
  /**
146
371
  * @typedef GetReasonResponse
147
- * @property {GetDocs} [data]
372
+ * @property {number} [item_count]
373
+ * @property {ReasonItem[]} [item_list]
374
+ * @property {Page} [page]
148
375
  * @property {boolean} [success]
149
376
  */
377
+ /**
378
+ * @typedef GetReportingFilters
379
+ * @property {Object[]} [options]
380
+ * @property {string} [text]
381
+ * @property {string} [type]
382
+ * @property {string} [value]
383
+ */
384
+ /**
385
+ * @typedef GetReportingFiltersResponse
386
+ * @property {GetReportingNestedFilters[]} [filters]
387
+ * @property {GetReportingFilters} [search]
388
+ * @property {GetReportingFilters} [status]
389
+ */
390
+ /**
391
+ * @typedef GetReportingNestedFilters
392
+ * @property {Object[]} [options]
393
+ * @property {string} [placeholder_text]
394
+ * @property {boolean} [required]
395
+ * @property {string} [text]
396
+ * @property {string} [type]
397
+ * @property {string} [value]
398
+ */
150
399
  /**
151
400
  * @typedef GetReportListData
152
401
  * @property {boolean} [listing_enabled]
@@ -156,6 +405,13 @@ export = FinancePlatformModel;
156
405
  * @typedef GetReportListRequest
157
406
  * @property {GetReportListData} [data]
158
407
  */
408
+ /**
409
+ * @typedef GetReportListResponse
410
+ * @property {ReportItem[]} [items]
411
+ * @property {Page} [page]
412
+ * @property {boolean} [success]
413
+ * @property {number} [total_count]
414
+ */
159
415
  /**
160
416
  * @typedef InoviceListingPayloadDataFilters
161
417
  * @property {string[]} [company_id]
@@ -228,6 +484,25 @@ export = FinancePlatformModel;
228
484
  * @property {string} [text]
229
485
  * @property {string} [value]
230
486
  */
487
+ /**
488
+ * @typedef IsCnRefundMethodData
489
+ * @property {string} [affiliate_id]
490
+ * @property {number} [seller_id]
491
+ * @property {boolean} [toggle_edit_required]
492
+ */
493
+ /**
494
+ * @typedef IsCnRefundMethodRequest
495
+ * @property {IsCnRefundMethodData} [data]
496
+ */
497
+ /**
498
+ * @typedef IsCnRefundMethodResponse
499
+ * @property {IsCnRefundMethodResponseData} [data]
500
+ * @property {boolean} [success]
501
+ */
502
+ /**
503
+ * @typedef IsCnRefundMethodResponseData
504
+ * @property {boolean} [is_first_time_user]
505
+ */
231
506
  /**
232
507
  * @typedef IsCreditlinePayload
233
508
  * @property {string} [seller_id]
@@ -276,6 +551,33 @@ export = FinancePlatformModel;
276
551
  * @property {string} [redirect_url]
277
552
  * @property {string} [transaction_id]
278
553
  */
554
+ /**
555
+ * @typedef ReasonItem
556
+ * @property {string} [display_name]
557
+ * @property {string} [id]
558
+ * @property {string} [name]
559
+ */
560
+ /**
561
+ * @typedef RedemptionDetails
562
+ * @property {number} [amount_debited]
563
+ * @property {string} [created_at]
564
+ * @property {string} [invoice_number]
565
+ * @property {string} [order_id]
566
+ * @property {string} [ordering_channel]
567
+ * @property {string} [shipment_id]
568
+ * @property {string} [staff_id]
569
+ * @property {string} [store_id]
570
+ */
571
+ /**
572
+ * @typedef ReportItem
573
+ * @property {string[]} [allowed_filters]
574
+ * @property {Object} [config_meta]
575
+ * @property {string} [description]
576
+ * @property {string} [display_date]
577
+ * @property {string} [id]
578
+ * @property {string} [name]
579
+ * @property {string} [report_type]
580
+ */
279
581
  /**
280
582
  * @typedef UnpaidInvoiceDataItems
281
583
  * @property {string} [currency]
@@ -285,8 +587,110 @@ export = FinancePlatformModel;
285
587
  declare class FinancePlatformModel {
286
588
  }
287
589
  declare namespace FinancePlatformModel {
288
- export { CreditlineDataPlatformPayload, CreditlineDataPlatformRequest, CreditlineDataPlatformResponse, DownloadCreditDebitNote, DownloadCreditDebitNoteRequest, DownloadCreditDebitNoteResponse, DownloadCreditDebitNoteResponseData, DownloadReport, DownloadReportItems, DownloadReportList, Error, GenerateReportFilters, GenerateReportJson, GenerateReportMeta, GenerateReportPlatform, GenerateReportRequest, GetAffiliate, GetAffiliateResponse, GetDocs, GetEngineData, GetEngineFilters, GetEngineRequest, GetEngineResponse, GetReason, GetReasonRequest, GetReasonResponse, GetReportListData, GetReportListRequest, InoviceListingPayloadDataFilters, InvoiceListingPayloadData, InvoiceListingRequest, InvoiceListingResponse, InvoiceListingResponseItems, InvoicePdfPayloadData, InvoicePdfRequest, InvoicePdfResponse, InvoiceTypePayloadData, InvoiceTypeRequest, InvoiceTypeResponse, InvoiceTypeResponseItems, IsCreditlinePayload, IsCreditlinePlatformRequest, IsCreditlinePlatformResponse, Page, PaymentProcessPayload, PaymentProcessRequest, PaymentProcessResponse, UnpaidInvoiceDataItems };
590
+ export { ChannelDisplayName, ChannelDisplayNameResponse, CnDetails, CnDownloadReport, CnGenerateReport, CnGenerateReportFilters, CnGenerateReportItems, CnReferenceNumber, CreateSellerCreditNoteConfig, CreateSellerCreditNoteConfigRequest, CreateSellerCreditNoteConfigResponse, CreditlineDataPlatformPayload, CreditlineDataPlatformRequest, CreditlineDataPlatformResponse, CreditNoteConfigNotificationEvents, CreditNoteDetails, CreditNoteDetailsRequest, CreditNoteDetailsResponse, 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, InvoiceListingPayloadData, InvoiceListingRequest, InvoiceListingResponse, InvoiceListingResponseItems, InvoicePdfPayloadData, InvoicePdfRequest, InvoicePdfResponse, InvoiceTypePayloadData, InvoiceTypeRequest, InvoiceTypeResponse, InvoiceTypeResponseItems, IsCnRefundMethodData, IsCnRefundMethodRequest, IsCnRefundMethodResponse, IsCnRefundMethodResponseData, IsCreditlinePayload, IsCreditlinePlatformRequest, IsCreditlinePlatformResponse, Page, PaymentProcessPayload, PaymentProcessRequest, PaymentProcessResponse, ReasonItem, RedemptionDetails, ReportItem, UnpaidInvoiceDataItems };
289
591
  }
592
+ /** @returns {ChannelDisplayName} */
593
+ declare function ChannelDisplayName(): ChannelDisplayName;
594
+ type ChannelDisplayName = {
595
+ platform_pos?: string;
596
+ };
597
+ /** @returns {ChannelDisplayNameResponse} */
598
+ declare function ChannelDisplayNameResponse(): ChannelDisplayNameResponse;
599
+ type ChannelDisplayNameResponse = {
600
+ data?: ChannelDisplayName;
601
+ success?: boolean;
602
+ };
603
+ /** @returns {CnDetails} */
604
+ declare function CnDetails(): CnDetails;
605
+ type CnDetails = {
606
+ channel_of_issuance?: string;
607
+ date_issued?: string;
608
+ expiry_date?: string;
609
+ invoice_number?: string;
610
+ order_id?: string;
611
+ ordering_channel?: string;
612
+ shipment_id?: string;
613
+ staff_id?: string;
614
+ store_id?: string;
615
+ };
616
+ /** @returns {CnDownloadReport} */
617
+ declare function CnDownloadReport(): CnDownloadReport;
618
+ type CnDownloadReport = {
619
+ affiliate_id?: string;
620
+ end_date?: string;
621
+ page?: number;
622
+ pagesize?: number;
623
+ search?: string;
624
+ search_type?: string;
625
+ start_date?: string;
626
+ status?: string[];
627
+ };
628
+ /** @returns {CnGenerateReport} */
629
+ declare function CnGenerateReport(): CnGenerateReport;
630
+ type CnGenerateReport = {
631
+ affiliate_id?: string;
632
+ end_date?: string;
633
+ filters?: CnGenerateReportFilters;
634
+ meta?: GenerateReportFilters;
635
+ page?: number;
636
+ pagesize?: number;
637
+ report_id?: string;
638
+ search?: string;
639
+ search_type?: string;
640
+ start_date?: string;
641
+ };
642
+ /** @returns {CnGenerateReportFilters} */
643
+ declare function CnGenerateReportFilters(): CnGenerateReportFilters;
644
+ type CnGenerateReportFilters = {
645
+ channel_of_issuance?: string[];
646
+ ordering_channel?: string[];
647
+ staff_id?: string[];
648
+ store_id?: number[];
649
+ types_of_transaction?: string[];
650
+ utilisation?: string[];
651
+ };
652
+ /** @returns {CnGenerateReportItems} */
653
+ declare function CnGenerateReportItems(): CnGenerateReportItems;
654
+ type CnGenerateReportItems = {
655
+ credit_note_number?: string;
656
+ date_issued?: string;
657
+ expiry_date?: string;
658
+ invoice_number?: string;
659
+ order_id?: string;
660
+ shipment_id?: string;
661
+ status?: string;
662
+ total_amount?: number;
663
+ };
664
+ /** @returns {CnReferenceNumber} */
665
+ declare function CnReferenceNumber(): CnReferenceNumber;
666
+ type CnReferenceNumber = {
667
+ cn_reference_number?: string;
668
+ };
669
+ /** @returns {CreateSellerCreditNoteConfig} */
670
+ declare function CreateSellerCreditNoteConfig(): CreateSellerCreditNoteConfig;
671
+ type CreateSellerCreditNoteConfig = {
672
+ affiliate_id?: string;
673
+ currency_type?: string;
674
+ is_cn_as_refund_method?: boolean;
675
+ notification_events?: CreditNoteConfigNotificationEvents;
676
+ ordering_channel?: string[];
677
+ sales_channel_name?: string;
678
+ seller_id?: number;
679
+ slug_values?: string[];
680
+ source_channel?: string[];
681
+ validity?: number;
682
+ };
683
+ /** @returns {CreateSellerCreditNoteConfigRequest} */
684
+ declare function CreateSellerCreditNoteConfigRequest(): CreateSellerCreditNoteConfigRequest;
685
+ type CreateSellerCreditNoteConfigRequest = {
686
+ data?: CreateSellerCreditNoteConfig;
687
+ };
688
+ /** @returns {CreateSellerCreditNoteConfigResponse} */
689
+ declare function CreateSellerCreditNoteConfigResponse(): CreateSellerCreditNoteConfigResponse;
690
+ type CreateSellerCreditNoteConfigResponse = {
691
+ message?: string;
692
+ success?: boolean;
693
+ };
290
694
  /** @returns {CreditlineDataPlatformPayload} */
291
695
  declare function CreditlineDataPlatformPayload(): CreditlineDataPlatformPayload;
292
696
  type CreditlineDataPlatformPayload = {
@@ -312,6 +716,52 @@ type CreditlineDataPlatformResponse = {
312
716
  page?: any;
313
717
  show_mr?: boolean;
314
718
  };
719
+ /** @returns {CreditNoteConfigNotificationEvents} */
720
+ declare function CreditNoteConfigNotificationEvents(): CreditNoteConfigNotificationEvents;
721
+ type CreditNoteConfigNotificationEvents = {
722
+ expiration_reminder_to_customer?: number;
723
+ };
724
+ /** @returns {CreditNoteDetails} */
725
+ declare function CreditNoteDetails(): CreditNoteDetails;
726
+ type CreditNoteDetails = {
727
+ available_cn_balance?: number;
728
+ cn_amount?: number;
729
+ cn_details?: any;
730
+ cn_reference_number?: string;
731
+ cn_status?: string;
732
+ customer_mobile_number?: string;
733
+ redemption_details?: RedemptionDetails[];
734
+ remaining_cn_amount?: number;
735
+ };
736
+ /** @returns {CreditNoteDetailsRequest} */
737
+ declare function CreditNoteDetailsRequest(): CreditNoteDetailsRequest;
738
+ type CreditNoteDetailsRequest = {
739
+ data?: CnReferenceNumber;
740
+ };
741
+ /** @returns {CreditNoteDetailsResponse} */
742
+ declare function CreditNoteDetailsResponse(): CreditNoteDetailsResponse;
743
+ type CreditNoteDetailsResponse = {
744
+ data?: CreditNoteDetails;
745
+ success?: boolean;
746
+ };
747
+ /** @returns {DeleteConfig} */
748
+ declare function DeleteConfig(): DeleteConfig;
749
+ type DeleteConfig = {
750
+ affiliate_id?: string;
751
+ seller_id?: number;
752
+ slug_values?: string[];
753
+ };
754
+ /** @returns {DeleteConfigRequest} */
755
+ declare function DeleteConfigRequest(): DeleteConfigRequest;
756
+ type DeleteConfigRequest = {
757
+ data?: DeleteConfig;
758
+ };
759
+ /** @returns {DeleteConfigResponse} */
760
+ declare function DeleteConfigResponse(): DeleteConfigResponse;
761
+ type DeleteConfigResponse = {
762
+ message?: string;
763
+ success?: boolean;
764
+ };
315
765
  /** @returns {DownloadCreditDebitNote} */
316
766
  declare function DownloadCreditDebitNote(): DownloadCreditDebitNote;
317
767
  type DownloadCreditDebitNote = {
@@ -342,6 +792,16 @@ type DownloadReport = {
342
792
  pagesize?: number;
343
793
  start_date?: string;
344
794
  };
795
+ /** @returns {DownloadReportCustomerCnRequest} */
796
+ declare function DownloadReportCustomerCnRequest(): DownloadReportCustomerCnRequest;
797
+ type DownloadReportCustomerCnRequest = {
798
+ data?: CnDownloadReport;
799
+ };
800
+ /** @returns {DownloadReportCustomerCnResponse} */
801
+ declare function DownloadReportCustomerCnResponse(): DownloadReportCustomerCnResponse;
802
+ type DownloadReportCustomerCnResponse = {
803
+ data?: DownloadReportResponseData[];
804
+ };
345
805
  /** @returns {DownloadReportItems} */
346
806
  declare function DownloadReportItems(): DownloadReportItems;
347
807
  type DownloadReportItems = {
@@ -359,12 +819,53 @@ type DownloadReportList = {
359
819
  items?: DownloadReportItems[];
360
820
  page?: Page;
361
821
  };
822
+ /** @returns {DownloadReportResponseData} */
823
+ declare function DownloadReportResponseData(): DownloadReportResponseData;
824
+ type DownloadReportResponseData = {
825
+ created_at?: string;
826
+ display_name?: string;
827
+ download_link?: string;
828
+ end_date?: string;
829
+ filters?: any;
830
+ full_name?: string;
831
+ meta?: any;
832
+ msg?: string;
833
+ report_config_id?: string;
834
+ report_name?: string;
835
+ request_dict?: any;
836
+ requested_by?: string;
837
+ start_date?: string;
838
+ status?: string;
839
+ };
362
840
  /** @returns {Error} */
363
841
  declare function Error(): Error;
364
842
  type Error = {
365
843
  reason?: string;
366
844
  success?: boolean;
367
845
  };
846
+ /** @returns {GenerateReportCustomerCnRequest} */
847
+ declare function GenerateReportCustomerCnRequest(): GenerateReportCustomerCnRequest;
848
+ type GenerateReportCustomerCnRequest = {
849
+ data?: CnGenerateReport;
850
+ };
851
+ /** @returns {GenerateReportCustomerCnResponse} */
852
+ declare function GenerateReportCustomerCnResponse(): GenerateReportCustomerCnResponse;
853
+ type GenerateReportCustomerCnResponse = {
854
+ data?: GenerateReportCustomerCnResponseData;
855
+ };
856
+ /** @returns {GenerateReportCustomerCnResponseData} */
857
+ declare function GenerateReportCustomerCnResponseData(): GenerateReportCustomerCnResponseData;
858
+ type GenerateReportCustomerCnResponseData = {
859
+ allowed_filters?: string[];
860
+ end_date?: string;
861
+ headers?: string[];
862
+ item_count?: number;
863
+ items?: CnGenerateReportItems[];
864
+ page?: Page;
865
+ primary_headers?: string[];
866
+ row_header_display_order?: any;
867
+ start_date?: string;
868
+ };
368
869
  /** @returns {GenerateReportFilters} */
369
870
  declare function GenerateReportFilters(): GenerateReportFilters;
370
871
  type GenerateReportFilters = {
@@ -414,24 +915,66 @@ type GetAffiliateResponse = {
414
915
  docs?: any[];
415
916
  success?: boolean;
416
917
  };
417
- /** @returns {GetDocs} */
418
- declare function GetDocs(): GetDocs;
419
- type GetDocs = {
420
- docs?: any[];
421
- items?: any[];
918
+ /** @returns {GetCnConfigRequest} */
919
+ declare function GetCnConfigRequest(): GetCnConfigRequest;
920
+ type GetCnConfigRequest = {
921
+ data?: DeleteConfig;
922
+ };
923
+ /** @returns {GetCnConfigResponse} */
924
+ declare function GetCnConfigResponse(): GetCnConfigResponse;
925
+ type GetCnConfigResponse = {
926
+ data?: GetCnConfigResponseData;
927
+ success?: boolean;
928
+ };
929
+ /** @returns {GetCnConfigResponseData} */
930
+ declare function GetCnConfigResponseData(): GetCnConfigResponseData;
931
+ type GetCnConfigResponseData = {
932
+ affiliate_id?: string;
933
+ currency_type?: string;
934
+ is_cn_as_refund_method?: boolean;
935
+ meta?: GetCnConfigResponseMeta;
936
+ notification_events?: CreditNoteConfigNotificationEvents;
937
+ redemption_ordering_channel?: string[];
938
+ seller_id?: number;
939
+ validity?: number;
940
+ };
941
+ /** @returns {GetCnConfigResponseMeta} */
942
+ declare function GetCnConfigResponseMeta(): GetCnConfigResponseMeta;
943
+ type GetCnConfigResponseMeta = {
944
+ reason?: string;
945
+ source_channel?: string[];
946
+ };
947
+ /** @returns {GetCustomerCreditBalance} */
948
+ declare function GetCustomerCreditBalance(): GetCustomerCreditBalance;
949
+ type GetCustomerCreditBalance = {
950
+ affiliate_id?: string;
951
+ customer_mobile_number?: string;
952
+ seller_id?: number;
953
+ };
954
+ /** @returns {GetCustomerCreditBalanceRequest} */
955
+ declare function GetCustomerCreditBalanceRequest(): GetCustomerCreditBalanceRequest;
956
+ type GetCustomerCreditBalanceRequest = {
957
+ data?: GetCustomerCreditBalance;
958
+ };
959
+ /** @returns {GetCustomerCreditBalanceResponse} */
960
+ declare function GetCustomerCreditBalanceResponse(): GetCustomerCreditBalanceResponse;
961
+ type GetCustomerCreditBalanceResponse = {
962
+ data?: GetCustomerCreditBalanceResponseData;
963
+ success?: boolean;
964
+ };
965
+ /** @returns {GetCustomerCreditBalanceResponseData} */
966
+ declare function GetCustomerCreditBalanceResponseData(): GetCustomerCreditBalanceResponseData;
967
+ type GetCustomerCreditBalanceResponseData = {
968
+ customer_mobile_number?: string;
969
+ total_credited_balance?: number;
422
970
  };
423
971
  /** @returns {GetEngineData} */
424
972
  declare function GetEngineData(): GetEngineData;
425
973
  type GetEngineData = {
426
- filters?: GetEngineFilters;
974
+ filters?: any;
427
975
  project?: string[];
428
976
  table_name?: string;
429
977
  };
430
- /** @returns {GetEngineFilters} */
431
- declare function GetEngineFilters(): GetEngineFilters;
432
- type GetEngineFilters = {
433
- config_field?: string;
434
- };
435
978
  /** @returns {GetEngineRequest} */
436
979
  declare function GetEngineRequest(): GetEngineRequest;
437
980
  type GetEngineRequest = {
@@ -445,6 +988,23 @@ type GetEngineResponse = {
445
988
  page?: Page;
446
989
  success?: boolean;
447
990
  };
991
+ /** @returns {GetPdfUrlViewRequest} */
992
+ declare function GetPdfUrlViewRequest(): GetPdfUrlViewRequest;
993
+ type GetPdfUrlViewRequest = {
994
+ data?: CnReferenceNumber;
995
+ };
996
+ /** @returns {GetPdfUrlViewResponse} */
997
+ declare function GetPdfUrlViewResponse(): GetPdfUrlViewResponse;
998
+ type GetPdfUrlViewResponse = {
999
+ data?: GetPdfUrlViewResponseData;
1000
+ success?: boolean;
1001
+ };
1002
+ /** @returns {GetPdfUrlViewResponseData} */
1003
+ declare function GetPdfUrlViewResponseData(): GetPdfUrlViewResponseData;
1004
+ type GetPdfUrlViewResponseData = {
1005
+ cn_reference_number?: string;
1006
+ s3_pdf_link?: string;
1007
+ };
448
1008
  /** @returns {GetReason} */
449
1009
  declare function GetReason(): GetReason;
450
1010
  type GetReason = {
@@ -458,9 +1018,36 @@ type GetReasonRequest = {
458
1018
  /** @returns {GetReasonResponse} */
459
1019
  declare function GetReasonResponse(): GetReasonResponse;
460
1020
  type GetReasonResponse = {
461
- data?: GetDocs;
1021
+ item_count?: number;
1022
+ item_list?: ReasonItem[];
1023
+ page?: Page;
462
1024
  success?: boolean;
463
1025
  };
1026
+ /** @returns {GetReportingFilters} */
1027
+ declare function GetReportingFilters(): GetReportingFilters;
1028
+ type GetReportingFilters = {
1029
+ options?: any[];
1030
+ text?: string;
1031
+ type?: string;
1032
+ value?: string;
1033
+ };
1034
+ /** @returns {GetReportingFiltersResponse} */
1035
+ declare function GetReportingFiltersResponse(): GetReportingFiltersResponse;
1036
+ type GetReportingFiltersResponse = {
1037
+ filters?: GetReportingNestedFilters[];
1038
+ search?: GetReportingFilters;
1039
+ status?: GetReportingFilters;
1040
+ };
1041
+ /** @returns {GetReportingNestedFilters} */
1042
+ declare function GetReportingNestedFilters(): GetReportingNestedFilters;
1043
+ type GetReportingNestedFilters = {
1044
+ options?: any[];
1045
+ placeholder_text?: string;
1046
+ required?: boolean;
1047
+ text?: string;
1048
+ type?: string;
1049
+ value?: string;
1050
+ };
464
1051
  /** @returns {GetReportListData} */
465
1052
  declare function GetReportListData(): GetReportListData;
466
1053
  type GetReportListData = {
@@ -472,6 +1059,14 @@ declare function GetReportListRequest(): GetReportListRequest;
472
1059
  type GetReportListRequest = {
473
1060
  data?: GetReportListData;
474
1061
  };
1062
+ /** @returns {GetReportListResponse} */
1063
+ declare function GetReportListResponse(): GetReportListResponse;
1064
+ type GetReportListResponse = {
1065
+ items?: ReportItem[];
1066
+ page?: Page;
1067
+ success?: boolean;
1068
+ total_count?: number;
1069
+ };
475
1070
  /** @returns {InoviceListingPayloadDataFilters} */
476
1071
  declare function InoviceListingPayloadDataFilters(): InoviceListingPayloadDataFilters;
477
1072
  type InoviceListingPayloadDataFilters = {
@@ -556,6 +1151,29 @@ type InvoiceTypeResponseItems = {
556
1151
  text?: string;
557
1152
  value?: string;
558
1153
  };
1154
+ /** @returns {IsCnRefundMethodData} */
1155
+ declare function IsCnRefundMethodData(): IsCnRefundMethodData;
1156
+ type IsCnRefundMethodData = {
1157
+ affiliate_id?: string;
1158
+ seller_id?: number;
1159
+ toggle_edit_required?: boolean;
1160
+ };
1161
+ /** @returns {IsCnRefundMethodRequest} */
1162
+ declare function IsCnRefundMethodRequest(): IsCnRefundMethodRequest;
1163
+ type IsCnRefundMethodRequest = {
1164
+ data?: IsCnRefundMethodData;
1165
+ };
1166
+ /** @returns {IsCnRefundMethodResponse} */
1167
+ declare function IsCnRefundMethodResponse(): IsCnRefundMethodResponse;
1168
+ type IsCnRefundMethodResponse = {
1169
+ data?: IsCnRefundMethodResponseData;
1170
+ success?: boolean;
1171
+ };
1172
+ /** @returns {IsCnRefundMethodResponseData} */
1173
+ declare function IsCnRefundMethodResponseData(): IsCnRefundMethodResponseData;
1174
+ type IsCnRefundMethodResponseData = {
1175
+ is_first_time_user?: boolean;
1176
+ };
559
1177
  /** @returns {IsCreditlinePayload} */
560
1178
  declare function IsCreditlinePayload(): IsCreditlinePayload;
561
1179
  type IsCreditlinePayload = {
@@ -611,6 +1229,36 @@ type PaymentProcessResponse = {
611
1229
  redirect_url?: string;
612
1230
  transaction_id?: string;
613
1231
  };
1232
+ /** @returns {ReasonItem} */
1233
+ declare function ReasonItem(): ReasonItem;
1234
+ type ReasonItem = {
1235
+ display_name?: string;
1236
+ id?: string;
1237
+ name?: string;
1238
+ };
1239
+ /** @returns {RedemptionDetails} */
1240
+ declare function RedemptionDetails(): RedemptionDetails;
1241
+ type RedemptionDetails = {
1242
+ amount_debited?: number;
1243
+ created_at?: string;
1244
+ invoice_number?: string;
1245
+ order_id?: string;
1246
+ ordering_channel?: string;
1247
+ shipment_id?: string;
1248
+ staff_id?: string;
1249
+ store_id?: string;
1250
+ };
1251
+ /** @returns {ReportItem} */
1252
+ declare function ReportItem(): ReportItem;
1253
+ type ReportItem = {
1254
+ allowed_filters?: string[];
1255
+ config_meta?: any;
1256
+ description?: string;
1257
+ display_date?: string;
1258
+ id?: string;
1259
+ name?: string;
1260
+ report_type?: string;
1261
+ };
614
1262
  /** @returns {UnpaidInvoiceDataItems} */
615
1263
  declare function UnpaidInvoiceDataItems(): UnpaidInvoiceDataItems;
616
1264
  type UnpaidInvoiceDataItems = {