@gofynd/fdk-client-javascript 0.1.36 → 1.0.0

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 (357) hide show
  1. package/README.md +24 -0
  2. package/application.d.ts +2 -1
  3. package/application.js +2 -1
  4. package/documentation/application/CART.md +313 -281
  5. package/documentation/application/CATALOG.md +458 -435
  6. package/documentation/application/FILESTORAGE.md +2 -0
  7. package/documentation/application/LEAD.md +18 -18
  8. package/documentation/application/LOGISTIC.md +424 -102
  9. package/documentation/application/ORDER.md +293 -293
  10. package/documentation/application/PAYMENT.md +278 -278
  11. package/documentation/application/POSCART.md +350 -318
  12. package/documentation/application/README.md +1 -1
  13. package/documentation/application/REWARDS.md +1 -0
  14. package/documentation/application/USER.md +19 -14
  15. package/documentation/platform/AUDITTRAIL.md +2 -2
  16. package/documentation/platform/CART.md +442 -439
  17. package/documentation/platform/CATALOG.md +2925 -2641
  18. package/documentation/platform/COMPANYPROFILE.md +228 -369
  19. package/documentation/platform/DISCOUNT.md +86 -0
  20. package/documentation/platform/FILESTORAGE.md +2 -0
  21. package/documentation/platform/LEAD.md +60 -60
  22. package/documentation/platform/ORDER.md +1296 -1618
  23. package/documentation/platform/PAYMENT.md +89 -89
  24. package/documentation/platform/REWARDS.md +145 -0
  25. package/documentation/platform/USER.md +24 -14
  26. package/index.d.ts +4 -1
  27. package/index.js +6 -3
  28. package/package.json +9 -9
  29. package/platform.d.ts +2 -1
  30. package/platform.js +3 -2
  31. package/public.d.ts +1 -0
  32. package/public.js +3 -2
  33. package/sdk/application/ApplicationAPIClient.js +6 -1
  34. package/sdk/application/ApplicationClient.d.ts +17 -16
  35. package/sdk/application/ApplicationClient.js +43 -17
  36. package/sdk/application/ApplicationConfig.d.ts +1 -0
  37. package/sdk/application/ApplicationConfig.js +4 -2
  38. package/sdk/application/ApplicationModels.d.ts +0 -827
  39. package/sdk/application/ApplicationModels.js +6 -10486
  40. package/sdk/application/{client → Cart}/CartApplicationClient.d.ts +9 -3
  41. package/sdk/application/{client → Cart}/CartApplicationClient.js +14 -8
  42. package/sdk/application/Cart/CartApplicationModel.d.ts +81 -0
  43. package/sdk/application/Cart/CartApplicationModel.js +1136 -0
  44. package/sdk/application/{models/CartValidator.js → Cart/CartApplicationValidator.js} +16 -12
  45. package/sdk/application/{client → Catalog}/CatalogApplicationClient.d.ts +8 -5
  46. package/sdk/application/{client → Catalog}/CatalogApplicationClient.js +11 -8
  47. package/sdk/application/Catalog/CatalogApplicationModel.d.ts +117 -0
  48. package/sdk/application/Catalog/CatalogApplicationModel.js +1606 -0
  49. package/sdk/application/{models/CatalogValidator.js → Catalog/CatalogApplicationValidator.js} +3 -1
  50. package/sdk/application/{client → Common}/CommonApplicationClient.js +2 -2
  51. package/sdk/application/Common/CommonApplicationModel.d.ts +20 -0
  52. package/sdk/application/Common/CommonApplicationModel.js +228 -0
  53. package/sdk/{platform/models/CommonValidator.js → application/Common/CommonApplicationValidator.js} +2 -1
  54. package/sdk/application/{client → Communication}/CommunicationApplicationClient.js +2 -2
  55. package/sdk/application/Communication/CommunicationApplicationModel.d.ts +15 -0
  56. package/sdk/application/Communication/CommunicationApplicationModel.js +144 -0
  57. package/sdk/application/{models/CommunicationValidator.js → Communication/CommunicationApplicationValidator.js} +4 -3
  58. package/sdk/application/{client → Configuration}/ConfigurationApplicationClient.js +2 -2
  59. package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +111 -0
  60. package/sdk/application/Configuration/ConfigurationApplicationModel.js +1182 -0
  61. package/sdk/application/{models/ConfigurationValidator.js → Configuration/ConfigurationApplicationValidator.js} +3 -2
  62. package/sdk/application/{client → Content}/ContentApplicationClient.js +2 -2
  63. package/sdk/application/Content/ContentApplicationModel.d.ts +105 -0
  64. package/sdk/application/Content/ContentApplicationModel.js +1349 -0
  65. package/sdk/application/{models/ContentValidator.js → Content/ContentApplicationValidator.js} +2 -1
  66. package/sdk/application/{client → FileStorage}/FileStorageApplicationClient.js +2 -2
  67. package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +21 -0
  68. package/sdk/application/FileStorage/FileStorageApplicationModel.js +244 -0
  69. package/sdk/application/{models/FileStorageValidator.js → FileStorage/FileStorageApplicationValidator.js} +5 -4
  70. package/sdk/application/{client → Lead}/LeadApplicationClient.js +2 -2
  71. package/sdk/application/Lead/LeadApplicationModel.d.ts +55 -0
  72. package/sdk/application/Lead/LeadApplicationModel.js +690 -0
  73. package/sdk/application/{models/LeadValidator.js → Lead/LeadApplicationValidator.js} +5 -4
  74. package/sdk/application/Logistic/LogisticApplicationClient.d.ts +53 -0
  75. package/sdk/application/{client → Logistic}/LogisticApplicationClient.js +64 -29
  76. package/sdk/application/Logistic/LogisticApplicationModel.d.ts +26 -0
  77. package/sdk/application/Logistic/LogisticApplicationModel.js +286 -0
  78. package/sdk/application/{models/LogisticValidator.d.ts → Logistic/LogisticApplicationValidator.d.ts} +2 -1
  79. package/sdk/application/{models/LogisticValidator.js → Logistic/LogisticApplicationValidator.js} +13 -7
  80. package/sdk/application/{client → Order}/OrderApplicationClient.js +2 -2
  81. package/sdk/application/Order/OrderApplicationModel.d.ts +67 -0
  82. package/sdk/application/Order/OrderApplicationModel.js +872 -0
  83. package/sdk/application/{models/OrderValidator.js → Order/OrderApplicationValidator.js} +4 -3
  84. package/sdk/application/{client → Payment}/PaymentApplicationClient.js +2 -2
  85. package/sdk/application/Payment/PaymentApplicationModel.d.ts +96 -0
  86. package/sdk/application/Payment/PaymentApplicationModel.js +1318 -0
  87. package/sdk/application/{models/PaymentValidator.js → Payment/PaymentApplicationValidator.js} +24 -23
  88. package/sdk/application/{client → PosCart}/PosCartApplicationClient.d.ts +9 -3
  89. package/sdk/application/{client → PosCart}/PosCartApplicationClient.js +14 -8
  90. package/sdk/application/PosCart/PosCartApplicationModel.d.ts +79 -0
  91. package/sdk/application/PosCart/PosCartApplicationModel.js +1132 -0
  92. package/sdk/application/{models/PosCartValidator.js → PosCart/PosCartApplicationValidator.js} +17 -13
  93. package/sdk/application/{client → Rewards}/RewardsApplicationClient.js +2 -2
  94. package/sdk/application/Rewards/RewardsApplicationModel.d.ts +23 -0
  95. package/sdk/application/Rewards/RewardsApplicationModel.js +276 -0
  96. package/sdk/application/{models/RewardsValidator.js → Rewards/RewardsApplicationValidator.js} +5 -4
  97. package/sdk/application/{client → Share}/ShareApplicationClient.js +2 -2
  98. package/sdk/application/Share/ShareApplicationModel.d.ts +16 -0
  99. package/sdk/application/Share/ShareApplicationModel.js +178 -0
  100. package/sdk/application/{models/ShareValidator.js → Share/ShareApplicationValidator.js} +3 -2
  101. package/sdk/application/{client → Theme}/ThemeApplicationClient.js +2 -2
  102. package/sdk/application/Theme/ThemeApplicationModel.d.ts +49 -0
  103. package/sdk/application/Theme/ThemeApplicationModel.js +486 -0
  104. package/sdk/application/{models/ThemeValidator.js → Theme/ThemeApplicationValidator.js} +2 -1
  105. package/sdk/application/{client → User}/UserApplicationClient.js +2 -2
  106. package/sdk/application/User/UserApplicationModel.d.ts +95 -0
  107. package/sdk/application/User/UserApplicationModel.js +998 -0
  108. package/sdk/application/{models/UserValidator.js → User/UserApplicationValidator.js} +30 -29
  109. package/sdk/application/index.d.ts +18 -0
  110. package/sdk/application/index.js +33 -0
  111. package/sdk/common/AxiosHelper.js +23 -10
  112. package/sdk/common/Logger.d.ts +2 -0
  113. package/sdk/common/Logger.js +6 -0
  114. package/sdk/common/curlHelper.d.ts +2 -0
  115. package/sdk/common/curlHelper.js +95 -0
  116. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +101 -0
  117. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +285 -0
  118. package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.d.ts +11 -0
  119. package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.js +56 -0
  120. package/sdk/platform/{client → Analytics}/AnalyticsPlatformClient.js +2 -2
  121. package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +23 -0
  122. package/sdk/platform/Analytics/AnalyticsPlatformModel.js +252 -0
  123. package/sdk/platform/{models/AnalyticsValidator.js → Analytics/AnalyticsPlatformValidator.js} +5 -4
  124. package/sdk/platform/{client → AuditTrail}/AuditTrailPlatformClient.js +2 -2
  125. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +18 -0
  126. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +144 -0
  127. package/sdk/platform/{models/AuditTrailValidator.js → AuditTrail/AuditTrailPlatformValidator.js} +3 -2
  128. package/sdk/platform/{client → Billing}/BillingPlatformClient.js +2 -2
  129. package/sdk/platform/Billing/BillingPlatformModel.d.ts +65 -0
  130. package/sdk/platform/Billing/BillingPlatformModel.js +906 -0
  131. package/sdk/platform/{models/BillingValidator.js → Billing/BillingPlatformValidator.js} +6 -5
  132. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +293 -0
  133. package/sdk/platform/Cart/CartPlatformApplicationClient.js +755 -0
  134. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +20 -0
  135. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +138 -0
  136. package/sdk/platform/Cart/CartPlatformModel.d.ts +104 -0
  137. package/sdk/platform/Cart/CartPlatformModel.js +1516 -0
  138. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +856 -0
  139. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +2136 -0
  140. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +56 -0
  141. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +389 -0
  142. package/sdk/platform/{client → Catalog}/CatalogPlatformClient.d.ts +132 -123
  143. package/sdk/platform/{client → Catalog}/CatalogPlatformClient.js +354 -323
  144. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +316 -0
  145. package/sdk/platform/Catalog/CatalogPlatformModel.js +4690 -0
  146. package/sdk/platform/{models/CatalogValidator.d.ts → Catalog/CatalogPlatformValidator.d.ts} +15 -14
  147. package/sdk/platform/{models/CatalogValidator.js → Catalog/CatalogPlatformValidator.js} +91 -84
  148. package/sdk/platform/{client → Common}/CommonPlatformClient.js +2 -2
  149. package/sdk/platform/Common/CommonPlatformModel.d.ts +20 -0
  150. package/sdk/platform/Common/CommonPlatformModel.js +228 -0
  151. package/sdk/{application/models/CommonValidator.js → platform/Common/CommonPlatformValidator.js} +2 -1
  152. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +611 -0
  153. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +1656 -0
  154. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +43 -0
  155. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +277 -0
  156. package/sdk/platform/{client → Communication}/CommunicationPlatformClient.js +2 -2
  157. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +102 -0
  158. package/sdk/platform/Communication/CommunicationPlatformModel.js +1312 -0
  159. package/sdk/platform/{models/CommunicationValidator.js → Communication/CommunicationPlatformValidator.js} +2 -1
  160. package/sdk/platform/{client → CompanyProfile}/CompanyProfilePlatformClient.d.ts +0 -9
  161. package/sdk/platform/{client → CompanyProfile}/CompanyProfilePlatformClient.js +2 -33
  162. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +44 -0
  163. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +706 -0
  164. package/sdk/platform/{models/CompanyProfileValidator.d.ts → CompanyProfile/CompanyProfilePlatformValidator.d.ts} +0 -1
  165. package/sdk/platform/{models/CompanyProfileValidator.js → CompanyProfile/CompanyProfilePlatformValidator.js} +9 -14
  166. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +309 -0
  167. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +940 -0
  168. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +31 -0
  169. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +164 -0
  170. package/sdk/platform/{client → Configuration}/ConfigurationPlatformClient.js +2 -2
  171. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +185 -0
  172. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +2072 -0
  173. package/sdk/platform/{models/ConfigurationValidator.js → Configuration/ConfigurationPlatformValidator.js} +9 -8
  174. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +781 -0
  175. package/sdk/platform/Content/ContentPlatformApplicationClient.js +2208 -0
  176. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +71 -0
  177. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +422 -0
  178. package/sdk/platform/Content/ContentPlatformModel.d.ts +105 -0
  179. package/sdk/platform/Content/ContentPlatformModel.js +1349 -0
  180. package/sdk/platform/{client → Discount}/DiscountPlatformClient.d.ts +11 -0
  181. package/sdk/platform/{client → Discount}/DiscountPlatformClient.js +35 -2
  182. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +15 -0
  183. package/sdk/platform/Discount/DiscountPlatformModel.js +176 -0
  184. package/sdk/platform/{models/DiscountValidator.d.ts → Discount/DiscountPlatformValidator.d.ts} +1 -0
  185. package/sdk/platform/{models/DiscountValidator.js → Discount/DiscountPlatformValidator.js} +13 -5
  186. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +114 -0
  187. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +247 -0
  188. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +7 -0
  189. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +38 -0
  190. package/sdk/platform/{client → FileStorage}/FileStoragePlatformClient.js +2 -2
  191. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +21 -0
  192. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +244 -0
  193. package/sdk/platform/{models/FileStorageValidator.js → FileStorage/FileStoragePlatformValidator.js} +6 -5
  194. package/sdk/platform/{client → Inventory}/InventoryPlatformClient.js +2 -2
  195. package/sdk/platform/Inventory/InventoryPlatformModel.d.ts +62 -0
  196. package/sdk/platform/Inventory/InventoryPlatformModel.js +1178 -0
  197. package/sdk/platform/{models/InventoryValidator.js → Inventory/InventoryPlatformValidator.js} +5 -4
  198. package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +138 -0
  199. package/sdk/platform/Lead/LeadPlatformApplicationClient.js +397 -0
  200. package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +16 -0
  201. package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +90 -0
  202. package/sdk/platform/{client → Lead}/LeadPlatformClient.js +2 -2
  203. package/sdk/platform/Lead/LeadPlatformModel.d.ts +55 -0
  204. package/sdk/platform/Lead/LeadPlatformModel.js +690 -0
  205. package/sdk/platform/{models/LeadValidator.js → Lead/LeadPlatformValidator.js} +7 -6
  206. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +59 -0
  207. package/sdk/platform/Order/OrderPlatformApplicationClient.js +152 -0
  208. package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +6 -0
  209. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +37 -0
  210. package/sdk/platform/{client → Order}/OrderPlatformClient.d.ts +9 -49
  211. package/sdk/platform/{client → Order}/OrderPlatformClient.js +18 -130
  212. package/sdk/platform/Order/OrderPlatformModel.d.ts +215 -0
  213. package/sdk/platform/Order/OrderPlatformModel.js +3530 -0
  214. package/sdk/platform/{models/OrderValidator.d.ts → Order/OrderPlatformValidator.d.ts} +0 -2
  215. package/sdk/platform/{models/OrderValidator.js → Order/OrderPlatformValidator.js} +22 -44
  216. package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +30 -0
  217. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +74 -0
  218. package/sdk/platform/Partner/PartnerPlatformApplicationValidator.d.ts +5 -0
  219. package/sdk/platform/Partner/PartnerPlatformApplicationValidator.js +20 -0
  220. package/sdk/platform/Partner/PartnerPlatformModel.d.ts +7 -0
  221. package/sdk/platform/Partner/PartnerPlatformModel.js +54 -0
  222. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +108 -0
  223. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +333 -0
  224. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +14 -0
  225. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +73 -0
  226. package/sdk/platform/{client → Payment}/PaymentPlatformClient.js +2 -2
  227. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +44 -0
  228. package/sdk/platform/Payment/PaymentPlatformModel.js +552 -0
  229. package/sdk/platform/{models/PaymentValidator.js → Payment/PaymentPlatformValidator.js} +6 -5
  230. package/sdk/platform/PlatformAPIClient.js +2 -1
  231. package/sdk/platform/PlatformApplicationClient.d.ts +2884 -18377
  232. package/sdk/platform/PlatformApplicationClient.js +3750 -13814
  233. package/sdk/platform/PlatformClient.d.ts +2898 -2861
  234. package/sdk/platform/PlatformClient.js +3714 -3057
  235. package/sdk/platform/PlatformConfig.js +2 -1
  236. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +150 -0
  237. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +428 -0
  238. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +16 -0
  239. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +91 -0
  240. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +24 -0
  241. package/sdk/platform/Rewards/RewardsPlatformModel.js +294 -0
  242. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +72 -0
  243. package/sdk/platform/Share/SharePlatformApplicationClient.js +182 -0
  244. package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +7 -0
  245. package/sdk/platform/Share/SharePlatformApplicationValidator.js +35 -0
  246. package/sdk/platform/Share/SharePlatformModel.d.ts +15 -0
  247. package/sdk/platform/Share/SharePlatformModel.js +170 -0
  248. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +238 -0
  249. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +704 -0
  250. package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +27 -0
  251. package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +155 -0
  252. package/sdk/platform/Theme/ThemePlatformModel.d.ts +49 -0
  253. package/sdk/platform/Theme/ThemePlatformModel.js +486 -0
  254. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +121 -0
  255. package/sdk/platform/User/UserPlatformApplicationClient.js +361 -0
  256. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +15 -0
  257. package/sdk/platform/User/UserPlatformApplicationValidator.js +79 -0
  258. package/sdk/platform/User/UserPlatformModel.d.ts +95 -0
  259. package/sdk/platform/User/UserPlatformModel.js +998 -0
  260. package/sdk/platform/{client → Webhook}/WebhookPlatformClient.js +2 -2
  261. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +17 -0
  262. package/sdk/platform/Webhook/WebhookPlatformModel.js +208 -0
  263. package/sdk/platform/{models/WebhookValidator.js → Webhook/WebhookPlatformValidator.js} +4 -3
  264. package/sdk/platform/index.d.ts +24 -0
  265. package/sdk/platform/index.js +45 -0
  266. package/sdk/public/{client → Configuration}/ConfigurationPublicClient.js +1 -1
  267. package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +20 -0
  268. package/sdk/public/Configuration/ConfigurationPublicModel.js +230 -0
  269. package/sdk/public/{models/ConfigurationValidator.js → Configuration/ConfigurationPublicValidator.js} +1 -1
  270. package/sdk/public/{client → Inventory}/InventoryPublicClient.js +1 -1
  271. package/sdk/public/Inventory/InventoryPublicModel.d.ts +22 -0
  272. package/sdk/public/Inventory/InventoryPublicModel.js +334 -0
  273. package/sdk/public/{models/InventoryValidator.js → Inventory/InventoryPublicValidator.js} +2 -2
  274. package/sdk/public/PublicClient.d.ts +3 -3
  275. package/sdk/public/PublicClient.js +8 -3
  276. package/sdk/public/{client → Webhook}/WebhookPublicClient.js +1 -1
  277. package/sdk/public/Webhook/WebhookPublicModel.d.ts +17 -0
  278. package/sdk/public/Webhook/WebhookPublicModel.js +208 -0
  279. package/sdk/public/{models/WebhookValidator.js → Webhook/WebhookPublicValidator.js} +2 -2
  280. package/sdk/public/index.d.ts +5 -0
  281. package/sdk/public/index.js +7 -0
  282. package/sdk/application/client/LogisticApplicationClient.d.ts +0 -42
  283. package/sdk/platform/PlatformApplicationModels.d.ts +0 -328
  284. package/sdk/platform/PlatformApplicationModels.js +0 -22522
  285. package/sdk/platform/PlatformModels.d.ts +0 -1470
  286. package/sdk/platform/PlatformModels.js +0 -20510
  287. package/sdk/platform/models/CartValidator.d.ts +0 -0
  288. package/sdk/platform/models/CartValidator.js +0 -0
  289. package/sdk/platform/models/ContentValidator.d.ts +0 -0
  290. package/sdk/platform/models/ContentValidator.js +0 -0
  291. package/sdk/platform/models/PartnerValidator.d.ts +0 -0
  292. package/sdk/platform/models/PartnerValidator.js +0 -0
  293. package/sdk/platform/models/RewardsValidator.d.ts +0 -0
  294. package/sdk/platform/models/RewardsValidator.js +0 -0
  295. package/sdk/platform/models/ShareValidator.d.ts +0 -0
  296. package/sdk/platform/models/ShareValidator.js +0 -0
  297. package/sdk/platform/models/ThemeValidator.d.ts +0 -0
  298. package/sdk/platform/models/ThemeValidator.js +0 -0
  299. package/sdk/platform/models/UserValidator.d.ts +0 -0
  300. package/sdk/platform/models/UserValidator.js +0 -0
  301. package/sdk/public/PublicModels.d.ts +0 -50
  302. package/sdk/public/PublicModels.js +0 -712
  303. /package/sdk/application/{models/CartValidator.d.ts → Cart/CartApplicationValidator.d.ts} +0 -0
  304. /package/sdk/application/{models/CatalogValidator.d.ts → Catalog/CatalogApplicationValidator.d.ts} +0 -0
  305. /package/sdk/application/{client → Common}/CommonApplicationClient.d.ts +0 -0
  306. /package/sdk/application/{models/CommonValidator.d.ts → Common/CommonApplicationValidator.d.ts} +0 -0
  307. /package/sdk/application/{client → Communication}/CommunicationApplicationClient.d.ts +0 -0
  308. /package/sdk/application/{models/CommunicationValidator.d.ts → Communication/CommunicationApplicationValidator.d.ts} +0 -0
  309. /package/sdk/application/{client → Configuration}/ConfigurationApplicationClient.d.ts +0 -0
  310. /package/sdk/application/{models/ConfigurationValidator.d.ts → Configuration/ConfigurationApplicationValidator.d.ts} +0 -0
  311. /package/sdk/application/{client → Content}/ContentApplicationClient.d.ts +0 -0
  312. /package/sdk/application/{models/ContentValidator.d.ts → Content/ContentApplicationValidator.d.ts} +0 -0
  313. /package/sdk/application/{client → FileStorage}/FileStorageApplicationClient.d.ts +0 -0
  314. /package/sdk/application/{models/FileStorageValidator.d.ts → FileStorage/FileStorageApplicationValidator.d.ts} +0 -0
  315. /package/sdk/application/{client → Lead}/LeadApplicationClient.d.ts +0 -0
  316. /package/sdk/application/{models/LeadValidator.d.ts → Lead/LeadApplicationValidator.d.ts} +0 -0
  317. /package/sdk/application/{client → Order}/OrderApplicationClient.d.ts +0 -0
  318. /package/sdk/application/{models/OrderValidator.d.ts → Order/OrderApplicationValidator.d.ts} +0 -0
  319. /package/sdk/application/{client → Payment}/PaymentApplicationClient.d.ts +0 -0
  320. /package/sdk/application/{models/PaymentValidator.d.ts → Payment/PaymentApplicationValidator.d.ts} +0 -0
  321. /package/sdk/application/{models/PosCartValidator.d.ts → PosCart/PosCartApplicationValidator.d.ts} +0 -0
  322. /package/sdk/application/{client → Rewards}/RewardsApplicationClient.d.ts +0 -0
  323. /package/sdk/application/{models/RewardsValidator.d.ts → Rewards/RewardsApplicationValidator.d.ts} +0 -0
  324. /package/sdk/application/{client → Share}/ShareApplicationClient.d.ts +0 -0
  325. /package/sdk/application/{models/ShareValidator.d.ts → Share/ShareApplicationValidator.d.ts} +0 -0
  326. /package/sdk/application/{client → Theme}/ThemeApplicationClient.d.ts +0 -0
  327. /package/sdk/application/{models/ThemeValidator.d.ts → Theme/ThemeApplicationValidator.d.ts} +0 -0
  328. /package/sdk/application/{client → User}/UserApplicationClient.d.ts +0 -0
  329. /package/sdk/application/{models/UserValidator.d.ts → User/UserApplicationValidator.d.ts} +0 -0
  330. /package/sdk/platform/{client → Analytics}/AnalyticsPlatformClient.d.ts +0 -0
  331. /package/sdk/platform/{models/AnalyticsValidator.d.ts → Analytics/AnalyticsPlatformValidator.d.ts} +0 -0
  332. /package/sdk/platform/{client → AuditTrail}/AuditTrailPlatformClient.d.ts +0 -0
  333. /package/sdk/platform/{models/AuditTrailValidator.d.ts → AuditTrail/AuditTrailPlatformValidator.d.ts} +0 -0
  334. /package/sdk/platform/{client → Billing}/BillingPlatformClient.d.ts +0 -0
  335. /package/sdk/platform/{models/BillingValidator.d.ts → Billing/BillingPlatformValidator.d.ts} +0 -0
  336. /package/sdk/platform/{client → Common}/CommonPlatformClient.d.ts +0 -0
  337. /package/sdk/platform/{models/CommonValidator.d.ts → Common/CommonPlatformValidator.d.ts} +0 -0
  338. /package/sdk/platform/{client → Communication}/CommunicationPlatformClient.d.ts +0 -0
  339. /package/sdk/platform/{models/CommunicationValidator.d.ts → Communication/CommunicationPlatformValidator.d.ts} +0 -0
  340. /package/sdk/platform/{client → Configuration}/ConfigurationPlatformClient.d.ts +0 -0
  341. /package/sdk/platform/{models/ConfigurationValidator.d.ts → Configuration/ConfigurationPlatformValidator.d.ts} +0 -0
  342. /package/sdk/platform/{client → FileStorage}/FileStoragePlatformClient.d.ts +0 -0
  343. /package/sdk/platform/{models/FileStorageValidator.d.ts → FileStorage/FileStoragePlatformValidator.d.ts} +0 -0
  344. /package/sdk/platform/{client → Inventory}/InventoryPlatformClient.d.ts +0 -0
  345. /package/sdk/platform/{models/InventoryValidator.d.ts → Inventory/InventoryPlatformValidator.d.ts} +0 -0
  346. /package/sdk/platform/{client → Lead}/LeadPlatformClient.d.ts +0 -0
  347. /package/sdk/platform/{models/LeadValidator.d.ts → Lead/LeadPlatformValidator.d.ts} +0 -0
  348. /package/sdk/platform/{client → Payment}/PaymentPlatformClient.d.ts +0 -0
  349. /package/sdk/platform/{models/PaymentValidator.d.ts → Payment/PaymentPlatformValidator.d.ts} +0 -0
  350. /package/sdk/platform/{client → Webhook}/WebhookPlatformClient.d.ts +0 -0
  351. /package/sdk/platform/{models/WebhookValidator.d.ts → Webhook/WebhookPlatformValidator.d.ts} +0 -0
  352. /package/sdk/public/{client → Configuration}/ConfigurationPublicClient.d.ts +0 -0
  353. /package/sdk/public/{models/ConfigurationValidator.d.ts → Configuration/ConfigurationPublicValidator.d.ts} +0 -0
  354. /package/sdk/public/{client → Inventory}/InventoryPublicClient.d.ts +0 -0
  355. /package/sdk/public/{models/InventoryValidator.d.ts → Inventory/InventoryPublicValidator.d.ts} +0 -0
  356. /package/sdk/public/{client → Webhook}/WebhookPublicClient.d.ts +0 -0
  357. /package/sdk/public/{models/WebhookValidator.d.ts → Webhook/WebhookPublicValidator.d.ts} +0 -0
@@ -2851,12 +2851,12 @@ Success. Returns true/false for user cod option for payment. Check the example s
2851
2851
 
2852
2852
  | Properties | Type | Nullable | Description |
2853
2853
  | ---------- | ---- | -------- | ----------- |
2854
- | app_id | string | yes | Application Id to which Payment config Mapped |
2854
+ | display_fields | [string] | yes | List of all included options with their Details. |
2855
+ | excluded_fields | [string] | yes | List of all excluded options with their Details. |
2855
2856
  | aggregators | [string] | no | List of all speceific Payment options with their Details. |
2856
- | success | boolean | yes | Response is successful or not |
2857
2857
  | created | boolean | yes | Response is created or not |
2858
- | excluded_fields | [string] | yes | List of all excluded options with their Details. |
2859
- | display_fields | [string] | yes | List of all included options with their Details. |
2858
+ | app_id | string | yes | Application Id to which Payment config Mapped |
2859
+ | success | boolean | yes | Response is successful or not |
2860
2860
 
2861
2861
  ---
2862
2862
 
@@ -2868,8 +2868,8 @@ Success. Returns true/false for user cod option for payment. Check the example s
2868
2868
  | Properties | Type | Nullable | Description |
2869
2869
  | ---------- | ---- | -------- | ----------- |
2870
2870
  | code | string | yes | Error descrption code. |
2871
- | description | string | yes | Error human understandable description. |
2872
2871
  | success | boolean | yes | Response is successful or not |
2872
+ | description | string | yes | Error human understandable description. |
2873
2873
 
2874
2874
  ---
2875
2875
 
@@ -2880,11 +2880,11 @@ Success. Returns true/false for user cod option for payment. Check the example s
2880
2880
 
2881
2881
  | Properties | Type | Nullable | Description |
2882
2882
  | ---------- | ---- | -------- | ----------- |
2883
- | config_type | string | yes | Config Type of the aggregator |
2884
- | secret | string | yes | Secret Key of the payment aggregator |
2885
- | is_active | boolean | no | Enable/ Disable Flag |
2886
2883
  | key | string | yes | Api key of the payment aggregator |
2887
2884
  | merchant_salt | string | yes | Merchant key of the payment aggregator |
2885
+ | secret | string | yes | Secret Key of the payment aggregator |
2886
+ | is_active | boolean | no | Enable/ Disable Flag |
2887
+ | config_type | string | yes | Config Type of the aggregator |
2888
2888
 
2889
2889
  ---
2890
2890
 
@@ -2920,8 +2920,8 @@ Success. Returns true/false for user cod option for payment. Check the example s
2920
2920
 
2921
2921
  | Properties | Type | Nullable | Description |
2922
2922
  | ---------- | ---- | -------- | ----------- |
2923
- | code | string | yes | Error descrption code. |
2924
2923
  | description | string | yes | Error human understandable description. |
2924
+ | code | string | yes | Error descrption code. |
2925
2925
 
2926
2926
  ---
2927
2927
 
@@ -2944,8 +2944,8 @@ Success. Returns true/false for user cod option for payment. Check the example s
2944
2944
 
2945
2945
  | Properties | Type | Nullable | Description |
2946
2946
  | ---------- | ---- | -------- | ----------- |
2947
- | large | string | yes | large |
2948
2947
  | small | string | yes | smalll |
2948
+ | large | string | yes | large |
2949
2949
 
2950
2950
  ---
2951
2951
 
@@ -2956,9 +2956,9 @@ Success. Returns true/false for user cod option for payment. Check the example s
2956
2956
 
2957
2957
  | Properties | Type | Nullable | Description |
2958
2958
  | ---------- | ---- | -------- | ----------- |
2959
+ | display_name | string | no | display_name |
2959
2960
  | code | string | no | code |
2960
2961
  | package_name | string | no | package_name |
2961
- | display_name | string | no | display_name |
2962
2962
  | logos | [PaymentModeLogo](#PaymentModeLogo) | no | logos |
2963
2963
 
2964
2964
  ---
@@ -2982,39 +2982,39 @@ Success. Returns true/false for user cod option for payment. Check the example s
2982
2982
 
2983
2983
  | Properties | Type | Nullable | Description |
2984
2984
  | ---------- | ---- | -------- | ----------- |
2985
- | intent_app | [[IntentApp](#IntentApp)] | no | intent_app |
2986
- | remaining_limit | number | no | Remaining limit |
2987
- | exp_month | number | no | exp_month |
2988
2985
  | exp_year | number | no | exp_year |
2989
- | intent_app_error_dict_list | [[IntentAppErrorList](#IntentAppErrorList)] | no | intent_app_error_dict_list |
2990
- | card_id | string | no | card_id |
2991
- | code | string | no | code |
2992
- | card_isin | string | no | card_isin |
2993
- | card_type | string | no | card_type |
2994
- | nickname | string | no | nickname |
2995
- | logo_url | [PaymentModeLogo](#PaymentModeLogo) | no | Logo |
2996
- | cod_limit_per_order | number | no | Cod limit per order |
2997
2986
  | card_reference | string | no | card_reference |
2987
+ | intent_app | [[IntentApp](#IntentApp)] | no | intent_app |
2988
+ | cod_limit | number | no | cod limit |
2989
+ | fynd_vpa | string | no | fynd_vpa |
2990
+ | timeout | number | no | timeout |
2991
+ | aggregator_name | string | yes | aggregator_name |
2992
+ | card_issuer | string | no | card_issuer |
2993
+ | display_name | string | no | display name |
2998
2994
  | name | string | no | name |
2999
- | expired | boolean | no | expired |
2995
+ | card_fingerprint | string | no | card_fingerprint |
2996
+ | code | string | no | code |
2997
+ | card_brand | string | no | card_brand |
2998
+ | intent_flow | boolean | no | intent_flow |
2999
+ | display_priority | number | no | Dispaly Priority |
3000
+ | intent_app_error_list | [string] | no | intent_app_error_list |
3000
3001
  | retry_count | number | no | retry_count |
3001
- | cod_limit | number | no | cod limit |
3002
+ | nickname | string | no | nickname |
3003
+ | cod_limit_per_order | number | no | Cod limit per order |
3004
+ | card_number | string | no | card_number |
3005
+ | card_id | string | no | card_id |
3002
3006
  | card_name | string | no | card_name |
3007
+ | remaining_limit | number | no | Remaining limit |
3008
+ | card_isin | string | no | card_isin |
3009
+ | card_type | string | no | card_type |
3010
+ | intent_app_error_dict_list | [[IntentAppErrorList](#IntentAppErrorList)] | no | intent_app_error_dict_list |
3011
+ | logo_url | [PaymentModeLogo](#PaymentModeLogo) | no | Logo |
3012
+ | exp_month | number | no | exp_month |
3003
3013
  | card_brand_image | string | no | card_brand_image |
3004
- | fynd_vpa | string | no | fynd_vpa |
3005
- | intent_app_error_list | [string] | no | intent_app_error_list |
3006
- | display_priority | number | no | Dispaly Priority |
3007
3014
  | card_token | string | no | card_token |
3008
- | display_name | string | no | display name |
3009
- | card_number | string | no | card_number |
3010
- | card_brand | string | no | card_brand |
3011
- | merchant_code | string | no | merchant code |
3012
- | card_fingerprint | string | no | card_fingerprint |
3013
- | aggregator_name | string | yes | aggregator_name |
3014
- | timeout | number | no | timeout |
3015
3015
  | compliant_with_tokenisation_guidelines | boolean | no | If card is tokenised or not |
3016
- | intent_flow | boolean | no | intent_flow |
3017
- | card_issuer | string | no | card_issuer |
3016
+ | merchant_code | string | no | merchant code |
3017
+ | expired | boolean | no | expired |
3018
3018
 
3019
3019
  ---
3020
3020
 
@@ -3025,15 +3025,15 @@ Success. Returns true/false for user cod option for payment. Check the example s
3025
3025
 
3026
3026
  | Properties | Type | Nullable | Description |
3027
3027
  | ---------- | ---- | -------- | ----------- |
3028
- | add_card_enabled | boolean | no | Annonymous card flag |
3029
- | name | string | yes | Payment mode name |
3028
+ | is_pay_by_card_pl | boolean | no | This flag will be true in case of Payment link payment through card |
3029
+ | display_priority | number | yes | Dispaly Priority |
3030
3030
  | save_card | boolean | no | Card save or not |
3031
+ | add_card_enabled | boolean | no | Annonymous card flag |
3031
3032
  | list | [[PaymentModeList](#PaymentModeList)] | no | Payment mode |
3032
3033
  | aggregator_name | string | no | Dispaly Priority |
3033
- | display_priority | number | yes | Dispaly Priority |
3034
- | is_pay_by_card_pl | boolean | no | This flag will be true in case of Payment link payment through card |
3035
- | anonymous_enable | boolean | no | Annonymous card flag |
3036
3034
  | display_name | string | yes | Payment mode display name |
3035
+ | name | string | yes | Payment mode name |
3036
+ | anonymous_enable | boolean | no | Annonymous card flag |
3037
3037
 
3038
3038
  ---
3039
3039
 
@@ -3067,13 +3067,13 @@ Success. Returns true/false for user cod option for payment. Check the example s
3067
3067
 
3068
3068
  | Properties | Type | Nullable | Description |
3069
3069
  | ---------- | ---- | -------- | ----------- |
3070
- | payouts_aggregators | [string] | yes | payout aggregator object |
3071
- | is_active | boolean | yes | Enable/DIsable Flag Payout |
3072
3070
  | customers | string | yes | customers details object |
3073
3071
  | transfer_type | string | yes | transafer type |
3074
3072
  | unique_transfer_no | string | yes | display priority of the payment mode |
3075
3073
  | more_attributes | string | yes | bank details object |
3074
+ | payouts_aggregators | [string] | yes | payout aggregator object |
3076
3075
  | is_default | boolean | yes | default or not |
3076
+ | is_active | boolean | yes | Enable/DIsable Flag Payout |
3077
3077
 
3078
3078
  ---
3079
3079
 
@@ -3084,16 +3084,16 @@ Success. Returns true/false for user cod option for payment. Check the example s
3084
3084
 
3085
3085
  | Properties | Type | Nullable | Description |
3086
3086
  | ---------- | ---- | -------- | ----------- |
3087
- | bank_name | string | no | |
3088
- | branch_name | string | no | |
3089
- | state | string | no | |
3090
- | ifsc_code | string | yes | |
3091
3087
  | account_no | string | no | |
3092
- | pincode | number | no | |
3088
+ | ifsc_code | string | yes | |
3093
3089
  | country | string | no | |
3094
- | city | string | no | |
3090
+ | state | string | no | |
3095
3091
  | account_holder | string | no | |
3092
+ | pincode | number | no | |
3093
+ | city | string | no | |
3094
+ | branch_name | string | no | |
3096
3095
  | account_type | string | yes | |
3096
+ | bank_name | string | no | |
3097
3097
 
3098
3098
  ---
3099
3099
 
@@ -3104,11 +3104,11 @@ Success. Returns true/false for user cod option for payment. Check the example s
3104
3104
 
3105
3105
  | Properties | Type | Nullable | Description |
3106
3106
  | ---------- | ---- | -------- | ----------- |
3107
+ | transfer_type | string | yes | transafer type |
3107
3108
  | aggregator | string | yes | Aggregator Name |
3108
3109
  | bank_details | [PayoutBankDetails](#PayoutBankDetails) | yes | payout bank details object |
3109
- | is_active | boolean | yes | Enable/Disable Flag Payout |
3110
- | transfer_type | string | yes | transafer type |
3111
3110
  | users | string | yes | payout users object |
3111
+ | is_active | boolean | yes | Enable/Disable Flag Payout |
3112
3112
  | unique_external_id | string | yes | Unique Id of Payout |
3113
3113
 
3114
3114
  ---
@@ -3120,16 +3120,16 @@ Success. Returns true/false for user cod option for payment. Check the example s
3120
3120
 
3121
3121
  | Properties | Type | Nullable | Description |
3122
3122
  | ---------- | ---- | -------- | ----------- |
3123
- | bank_details | string | yes | payout bank_details object |
3124
- | aggregator | string | yes | Aggregator Name |
3125
- | is_active | boolean | yes | Enable/DIsable Flag Payout |
3126
- | success | boolean | yes | Response is successful or not |
3127
- | created | boolean | yes | created flag |
3128
3123
  | payouts | string | yes | payout object |
3129
3124
  | transfer_type | string | yes | transfer type |
3125
+ | aggregator | string | yes | Aggregator Name |
3130
3126
  | unique_transfer_no | string | yes | unique transfer no |
3131
- | users | string | yes | users details object |
3127
+ | created | boolean | yes | created flag |
3132
3128
  | payment_status | string | yes | status of payment |
3129
+ | bank_details | string | yes | payout bank_details object |
3130
+ | users | string | yes | users details object |
3131
+ | is_active | boolean | yes | Enable/DIsable Flag Payout |
3132
+ | success | boolean | yes | Response is successful or not |
3133
3133
 
3134
3134
  ---
3135
3135
 
@@ -3140,9 +3140,9 @@ Success. Returns true/false for user cod option for payment. Check the example s
3140
3140
 
3141
3141
  | Properties | Type | Nullable | Description |
3142
3142
  | ---------- | ---- | -------- | ----------- |
3143
+ | is_default | boolean | yes | Enable/Disable Default Payout |
3143
3144
  | is_active | boolean | yes | Enable/DIsable Flag Payout |
3144
3145
  | success | boolean | yes | Response is successful or not |
3145
- | is_default | boolean | yes | Enable/Disable Default Payout |
3146
3146
 
3147
3147
  ---
3148
3148
 
@@ -3153,9 +3153,9 @@ Success. Returns true/false for user cod option for payment. Check the example s
3153
3153
 
3154
3154
  | Properties | Type | Nullable | Description |
3155
3155
  | ---------- | ---- | -------- | ----------- |
3156
+ | is_default | boolean | yes | Enable/Disable Default Payout |
3156
3157
  | is_active | boolean | yes | Enable/Disable Flag Payout |
3157
3158
  | unique_external_id | string | yes | Unique Id of Payout |
3158
- | is_default | boolean | yes | Enable/Disable Default Payout |
3159
3159
 
3160
3160
  ---
3161
3161
 
@@ -3201,8 +3201,8 @@ Success. Returns true/false for user cod option for payment. Check the example s
3201
3201
  | Properties | Type | Nullable | Description |
3202
3202
  | ---------- | ---- | -------- | ----------- |
3203
3203
  | aggregator | string | yes | Aggregator Name |
3204
- | config | string | yes | Aggregator Config |
3205
3204
  | success | boolean | yes | Response is successful or not |
3205
+ | config | string | yes | Aggregator Config |
3206
3206
 
3207
3207
  ---
3208
3208
 
@@ -3251,8 +3251,8 @@ Success. Returns true/false for user cod option for payment. Check the example s
3251
3251
  | Properties | Type | Nullable | Description |
3252
3252
  | ---------- | ---- | -------- | ----------- |
3253
3253
  | code | string | yes | Bad Request Data |
3254
- | description | string | yes | Not Found |
3255
3254
  | success | boolean | yes | Response is successful or not |
3255
+ | description | string | yes | Not Found |
3256
3256
 
3257
3257
  ---
3258
3258
 
@@ -3263,11 +3263,11 @@ Success. Returns true/false for user cod option for payment. Check the example s
3263
3263
 
3264
3264
  | Properties | Type | Nullable | Description |
3265
3265
  | ---------- | ---- | -------- | ----------- |
3266
- | bank_name | string | yes | |
3267
- | branch_name | string | yes | |
3268
- | ifsc_code | string | yes | |
3269
3266
  | account_no | string | yes | |
3267
+ | ifsc_code | string | yes | |
3270
3268
  | account_holder | string | yes | |
3269
+ | branch_name | string | yes | |
3270
+ | bank_name | string | yes | |
3271
3271
 
3272
3272
  ---
3273
3273
 
@@ -3278,8 +3278,8 @@ Success. Returns true/false for user cod option for payment. Check the example s
3278
3278
 
3279
3279
  | Properties | Type | Nullable | Description |
3280
3280
  | ---------- | ---- | -------- | ----------- |
3281
- | order_id | string | yes | |
3282
3281
  | details | [BankDetailsForOTP](#BankDetailsForOTP) | yes | |
3282
+ | order_id | string | yes | |
3283
3283
 
3284
3284
  ---
3285
3285
 
@@ -3290,9 +3290,9 @@ Success. Returns true/false for user cod option for payment. Check the example s
3290
3290
 
3291
3291
  | Properties | Type | Nullable | Description |
3292
3292
  | ---------- | ---- | -------- | ----------- |
3293
- | bank_name | string | yes | Bank Name Of Account |
3294
- | success | boolean | no | Response is successful or not |
3295
3293
  | branch_name | string | yes | Branch Name Of Account |
3294
+ | success | boolean | no | Response is successful or not |
3295
+ | bank_name | string | yes | Bank Name Of Account |
3296
3296
 
3297
3297
  ---
3298
3298
 
@@ -3303,25 +3303,25 @@ Success. Returns true/false for user cod option for payment. Check the example s
3303
3303
 
3304
3304
  | Properties | Type | Nullable | Description |
3305
3305
  | ---------- | ---- | -------- | ----------- |
3306
- | email | string | yes | EMail of User |
3307
- | subtitle | string | yes | SHort Title Of Account |
3308
- | delights_user_name | string | no | User Id Who filled the Beneficiary |
3309
- | branch_name | string | no | Branch Name Of Account |
3310
- | id | number | yes | |
3311
- | is_active | boolean | yes | Boolean Flag whether Beneficiary set or not |
3312
- | ifsc_code | string | yes | Ifsc Code Of Account |
3313
- | transfer_mode | string | yes | Transfer Mode Of Account |
3314
- | bank_name | string | yes | Bank Name Of Account |
3315
3306
  | account_no | string | yes | Account Number |
3316
- | modified_on | string | yes | MOdification Date of Beneficiary |
3307
+ | beneficiary_id | string | yes | Benenficiary Id |
3317
3308
  | account_holder | string | yes | Account Holder Name |
3318
3309
  | title | string | yes | Title Of Account |
3310
+ | is_active | boolean | yes | Boolean Flag whether Beneficiary set or not |
3319
3311
  | display_name | string | yes | Display Name Of Account |
3320
- | created_on | string | yes | Creation Date of Beneficiary |
3321
- | beneficiary_id | string | yes | Benenficiary Id |
3312
+ | modified_on | string | yes | MOdification Date of Beneficiary |
3313
+ | id | number | yes | |
3314
+ | delights_user_name | string | no | User Id Who filled the Beneficiary |
3315
+ | bank_name | string | yes | Bank Name Of Account |
3322
3316
  | address | string | yes | Address of User |
3317
+ | ifsc_code | string | yes | Ifsc Code Of Account |
3323
3318
  | mobile | string | no | MObile no of User |
3319
+ | branch_name | string | no | Branch Name Of Account |
3320
+ | subtitle | string | yes | SHort Title Of Account |
3321
+ | transfer_mode | string | yes | Transfer Mode Of Account |
3324
3322
  | comment | string | no | Remarks |
3323
+ | created_on | string | yes | Creation Date of Beneficiary |
3324
+ | email | string | yes | EMail of User |
3325
3325
 
3326
3326
  ---
3327
3327
 
@@ -3344,11 +3344,11 @@ Success. Returns true/false for user cod option for payment. Check the example s
3344
3344
 
3345
3345
  | Properties | Type | Nullable | Description |
3346
3346
  | ---------- | ---- | -------- | ----------- |
3347
+ | payment_id | string | no | |
3347
3348
  | extra_meta | string | no | |
3349
+ | payment_gateway | string | no | |
3348
3350
  | order_id | string | no | |
3349
- | payment_id | string | no | |
3350
3351
  | current_status | string | no | |
3351
- | payment_gateway | string | no | |
3352
3352
 
3353
3353
  ---
3354
3354
 
@@ -3360,9 +3360,9 @@ Success. Returns true/false for user cod option for payment. Check the example s
3360
3360
  | Properties | Type | Nullable | Description |
3361
3361
  | ---------- | ---- | -------- | ----------- |
3362
3362
  | meta | [MultiTenderPaymentMeta](#MultiTenderPaymentMeta) | no | |
3363
- | mode | string | yes | |
3364
- | name | string | no | Payment mode name |
3365
3363
  | amount | number | yes | Payment amount |
3364
+ | name | string | no | Payment mode name |
3365
+ | mode | string | yes | |
3366
3366
 
3367
3367
  ---
3368
3368
 
@@ -3373,8 +3373,8 @@ Success. Returns true/false for user cod option for payment. Check the example s
3373
3373
 
3374
3374
  | Properties | Type | Nullable | Description |
3375
3375
  | ---------- | ---- | -------- | ----------- |
3376
- | payment_methods | [[MultiTenderPaymentMethod](#MultiTenderPaymentMethod)] | yes | |
3377
3376
  | order_id | string | yes | Unique order id |
3377
+ | payment_methods | [[MultiTenderPaymentMethod](#MultiTenderPaymentMethod)] | yes | |
3378
3378
 
3379
3379
  ---
3380
3380
 
@@ -3386,8 +3386,8 @@ Success. Returns true/false for user cod option for payment. Check the example s
3386
3386
  | Properties | Type | Nullable | Description |
3387
3387
  | ---------- | ---- | -------- | ----------- |
3388
3388
  | message | string | yes | Message |
3389
- | success | boolean | yes | Payment confirmation updated or not. |
3390
3389
  | order_id | string | yes | Unique order id |
3390
+ | success | boolean | yes | Payment confirmation updated or not. |
3391
3391
 
3392
3392
  ---
3393
3393
 
@@ -3398,11 +3398,11 @@ Success. Returns true/false for user cod option for payment. Check the example s
3398
3398
 
3399
3399
  | Properties | Type | Nullable | Description |
3400
3400
  | ---------- | ---- | -------- | ----------- |
3401
- | user_id | string | yes | Payment mode name |
3402
3401
  | limit | number | yes | Total Limit of user |
3403
- | is_active | boolean | yes | COD option is active or not |
3402
+ | user_id | string | yes | Payment mode name |
3404
3403
  | remaining_limit | number | yes | Remaining Limit for COD of User |
3405
3404
  | usages | number | yes | Used COD limit from the user Limit |
3405
+ | is_active | boolean | yes | COD option is active or not |
3406
3406
 
3407
3407
  ---
3408
3408
 
@@ -3413,8 +3413,8 @@ Success. Returns true/false for user cod option for payment. Check the example s
3413
3413
 
3414
3414
  | Properties | Type | Nullable | Description |
3415
3415
  | ---------- | ---- | -------- | ----------- |
3416
- | success | boolean | yes | Response is successful or not |
3417
3416
  | user_cod_data | [CODdata](#CODdata) | yes | User COD Data |
3417
+ | success | boolean | yes | Response is successful or not |
3418
3418
 
3419
3419
  ---
3420
3420
 
@@ -3425,9 +3425,9 @@ Success. Returns true/false for user cod option for payment. Check the example s
3425
3425
 
3426
3426
  | Properties | Type | Nullable | Description |
3427
3427
  | ---------- | ---- | -------- | ----------- |
3428
+ | mobileno | string | yes | Mobile No. of User |
3428
3429
  | is_active | boolean | yes | either true or false |
3429
3430
  | merchant_user_id | string | yes | Merchant User id |
3430
- | mobileno | string | yes | Mobile No. of User |
3431
3431
 
3432
3432
  ---
3433
3433
 
@@ -19,6 +19,8 @@ Earn and redeem reward points
19
19
  * [updateUserStatus](#updateuserstatus)
20
20
  * [user](#user)
21
21
  * [getUserPointsHistory](#getuserpointshistory)
22
+ * [getRewardsConfiguration](#getrewardsconfiguration)
23
+ * [setRewardsConfiguration](#setrewardsconfiguration)
22
24
 
23
25
 
24
26
 
@@ -652,6 +654,112 @@ Success. Check example below or refer `HistoryRes` for more details.
652
654
 
653
655
 
654
656
 
657
+ ---
658
+
659
+
660
+ ### getRewardsConfiguration
661
+ Get all valid android paths
662
+
663
+
664
+
665
+ ```javascript
666
+ // Promise
667
+ const promise = client.application("<APPLICATION_ID>").rewards.getRewardsConfiguration();
668
+
669
+ // Async/Await
670
+ const data = await client.application("<APPLICATION_ID>").rewards.getRewardsConfiguration();
671
+ ```
672
+
673
+
674
+
675
+
676
+
677
+
678
+ Use this API to get a list of valid android paths required by the Rewards INIT API to validate a fradualent device.
679
+
680
+ *Returned Response:*
681
+
682
+
683
+
684
+
685
+ [ConfigurationRes](#ConfigurationRes)
686
+
687
+ Success. Refer `ConfigurationRes` for more details.
688
+
689
+
690
+
691
+
692
+ <details>
693
+ <summary><i>&nbsp; Example:</i></summary>
694
+
695
+ ```json
696
+
697
+ ```
698
+ </details>
699
+
700
+
701
+
702
+
703
+
704
+
705
+
706
+
707
+
708
+ ---
709
+
710
+
711
+ ### setRewardsConfiguration
712
+ Updates the collection with given android paths.
713
+
714
+
715
+
716
+ ```javascript
717
+ // Promise
718
+ const promise = client.application("<APPLICATION_ID>").rewards.setRewardsConfiguration({ body : value });
719
+
720
+ // Async/Await
721
+ const data = await client.application("<APPLICATION_ID>").rewards.setRewardsConfiguration({ body : value });
722
+ ```
723
+
724
+
725
+
726
+
727
+
728
+ | Argument | Type | Required | Description |
729
+ | --------- | ----- | -------- | ----------- |
730
+ | body | [ConfigurationRequest](#ConfigurationRequest) | yes | Request body |
731
+
732
+
733
+ Updates the configuration or inserts new records.
734
+
735
+ *Returned Response:*
736
+
737
+
738
+
739
+
740
+ [SetConfigurationRes](#SetConfigurationRes)
741
+
742
+ ok
743
+
744
+
745
+
746
+
747
+ <details>
748
+ <summary><i>&nbsp; Example:</i></summary>
749
+
750
+ ```json
751
+
752
+ ```
753
+ </details>
754
+
755
+
756
+
757
+
758
+
759
+
760
+
761
+
762
+
655
763
  ---
656
764
 
657
765
 
@@ -934,5 +1042,42 @@ Success. Check example below or refer `HistoryRes` for more details.
934
1042
  ---
935
1043
 
936
1044
 
1045
+
1046
+
1047
+ #### [ConfigurationRes](#ConfigurationRes)
1048
+
1049
+ | Properties | Type | Nullable | Description |
1050
+ | ---------- | ---- | -------- | ----------- |
1051
+ | valid_android_packages | [string] | no | Contains array of string items, Valid android package names. |
1052
+ | terms_conditions_link | string | no | A URL that redirects to the referral information suport page link |
1053
+ | application_id | string | no | |
1054
+ | success | boolean | no | |
1055
+
1056
+ ---
1057
+
1058
+
1059
+
1060
+
1061
+ #### [SetConfigurationRes](#SetConfigurationRes)
1062
+
1063
+ | Properties | Type | Nullable | Description |
1064
+ | ---------- | ---- | -------- | ----------- |
1065
+ | success | boolean | no | |
1066
+
1067
+ ---
1068
+
1069
+
1070
+
1071
+
1072
+ #### [ConfigurationRequest](#ConfigurationRequest)
1073
+
1074
+ | Properties | Type | Nullable | Description |
1075
+ | ---------- | ---- | -------- | ----------- |
1076
+ | valid_android_packages | [string] | no | |
1077
+ | terms_conditions_link | string | no | |
1078
+
1079
+ ---
1080
+
1081
+
937
1082
 
938
1083
 
@@ -909,6 +909,11 @@ Success. Returns a JSON object containing the all the platform configurations. R
909
909
  "appId": "token_123"
910
910
  }
911
911
  },
912
+ "session_config": {
913
+ "duration": 30,
914
+ "type": "Days",
915
+ "is_rolling": false
916
+ },
912
917
  "delete_account_reasons": [
913
918
  {
914
919
  "reason_text": "test",
@@ -1040,6 +1045,11 @@ Success. Returns a JSON object with the updated platform configurations. Refer `
1040
1045
  "appId": "token_123"
1041
1046
  }
1042
1047
  },
1048
+ "session_config": {
1049
+ "duration": 30,
1050
+ "type": "Days",
1051
+ "is_rolling": false
1052
+ },
1043
1053
  "delete_account_reasons": [
1044
1054
  {
1045
1055
  "reason_text": "test",
@@ -2013,6 +2023,7 @@ Success. Returns a JSON object with the updated platform configurations. Refer `
2013
2023
  | delete_account_day | number | no | |
2014
2024
  | delete_account_reasons | [[DeleteAccountReasons](#DeleteAccountReasons)] | no | |
2015
2025
  | delete_account_consent | string | no | |
2026
+ | session_config | string | no | |
2016
2027
 
2017
2028
  ---
2018
2029
 
@@ -2223,6 +2234,19 @@ Success. Returns a JSON object with the updated platform configurations. Refer `
2223
2234
 
2224
2235
 
2225
2236
 
2237
+ #### [SessionExpiry](#SessionExpiry)
2238
+
2239
+ | Properties | Type | Nullable | Description |
2240
+ | ---------- | ---- | -------- | ----------- |
2241
+ | duration | number | no | |
2242
+ | type | string | no | |
2243
+ | is_rolling | boolean | no | |
2244
+
2245
+ ---
2246
+
2247
+
2248
+
2249
+
2226
2250
  #### [UpdateUserRequestSchema](#UpdateUserRequestSchema)
2227
2251
 
2228
2252
  | Properties | Type | Nullable | Description |
@@ -2255,8 +2279,6 @@ Success. Returns a JSON object with the updated platform configurations. Refer `
2255
2279
  | profile_pic_url | string | no | |
2256
2280
  | username | string | no | |
2257
2281
  | account_type | string | no | |
2258
- | debug | [Debug](#Debug) | no | |
2259
- | has_old_password_hash | boolean | no | |
2260
2282
  | _id | string | no | |
2261
2283
  | created_at | string | no | |
2262
2284
  | updated_at | string | no | |
@@ -2293,17 +2315,5 @@ Success. Returns a JSON object with the updated platform configurations. Refer `
2293
2315
  ---
2294
2316
 
2295
2317
 
2296
-
2297
-
2298
- #### [Debug](#Debug)
2299
-
2300
- | Properties | Type | Nullable | Description |
2301
- | ---------- | ---- | -------- | ----------- |
2302
- | source | string | no | |
2303
- | platform | string | no | |
2304
-
2305
- ---
2306
-
2307
-
2308
2318
 
2309
2319
 
package/index.d.ts CHANGED
@@ -1,10 +1,13 @@
1
1
  import { ApplicationConfig } from "./sdk/application";
2
2
  import { ApplicationClient } from "./sdk/application";
3
+ import { ApplicationModel } from "./sdk/application";
3
4
  import { PlatformConfig } from "./sdk/platform";
4
5
  import { PlatformClient } from "./sdk/platform";
6
+ import { PlatformModel } from "./sdk/platform";
5
7
  import { PublicConfig } from "./sdk/public";
6
8
  import { PublicClient } from "./sdk/public";
9
+ import { PublicModel } from "./sdk/public";
7
10
  import { fdkAxios } from "./sdk/common/AxiosHelper";
8
11
  import Utility = require("./sdk/common/Utility");
9
12
  import Constant = require("./sdk/common/Constant");
10
- export { ApplicationConfig, ApplicationClient, PlatformConfig, PlatformClient, PublicConfig, PublicClient, fdkAxios as FdkAxios, Utility, Constant };
13
+ export { ApplicationConfig, ApplicationClient, ApplicationModel, PlatformConfig, PlatformClient, PlatformModel, PublicConfig, PublicClient, PublicModel, fdkAxios as FdkAxios, Utility, Constant };