@gofynd/fdk-client-javascript 0.1.37 → 1.0.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 (353) 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 +315 -289
  5. package/documentation/application/CATALOG.md +438 -415
  6. package/documentation/application/FILESTORAGE.md +2 -0
  7. package/documentation/application/LEAD.md +18 -18
  8. package/documentation/application/LOGISTIC.md +45 -45
  9. package/documentation/application/ORDER.md +277 -277
  10. package/documentation/application/PAYMENT.md +251 -251
  11. package/documentation/application/POSCART.md +318 -292
  12. package/documentation/application/REWARDS.md +1 -0
  13. package/documentation/application/USER.md +19 -14
  14. package/documentation/platform/CART.md +465 -462
  15. package/documentation/platform/CATALOG.md +2792 -2711
  16. package/documentation/platform/COMPANYPROFILE.md +200 -362
  17. package/documentation/platform/DISCOUNT.md +86 -0
  18. package/documentation/platform/FILESTORAGE.md +2 -0
  19. package/documentation/platform/LEAD.md +60 -60
  20. package/documentation/platform/ORDER.md +1451 -1654
  21. package/documentation/platform/PAYMENT.md +94 -94
  22. package/documentation/platform/REWARDS.md +145 -0
  23. package/documentation/platform/USER.md +24 -14
  24. package/index.d.ts +4 -1
  25. package/index.js +13 -4
  26. package/package.json +9 -9
  27. package/platform.d.ts +2 -1
  28. package/platform.js +3 -2
  29. package/public.d.ts +1 -0
  30. package/public.js +3 -2
  31. package/sdk/application/ApplicationAPIClient.js +3 -1
  32. package/sdk/application/ApplicationClient.d.ts +16 -16
  33. package/sdk/application/ApplicationClient.js +32 -16
  34. package/sdk/application/ApplicationConfig.js +3 -2
  35. package/sdk/application/ApplicationModels.d.ts +0 -832
  36. package/sdk/application/ApplicationModels.js +3 -10574
  37. package/sdk/application/{client → Cart}/CartApplicationClient.d.ts +9 -3
  38. package/sdk/application/{client → Cart}/CartApplicationClient.js +316 -8
  39. package/sdk/application/Cart/CartApplicationModel.d.ts +81 -0
  40. package/sdk/application/Cart/CartApplicationModel.js +1136 -0
  41. package/sdk/application/{models/CartValidator.js → Cart/CartApplicationValidator.js} +17 -12
  42. package/sdk/application/{client → Catalog}/CatalogApplicationClient.d.ts +8 -5
  43. package/sdk/application/{client → Catalog}/CatalogApplicationClient.js +389 -8
  44. package/sdk/application/Catalog/CatalogApplicationModel.d.ts +117 -0
  45. package/sdk/application/Catalog/CatalogApplicationModel.js +1606 -0
  46. package/sdk/application/{models/CatalogValidator.js → Catalog/CatalogApplicationValidator.js} +4 -1
  47. package/sdk/application/{client → Common}/CommonApplicationClient.js +24 -2
  48. package/sdk/application/Common/CommonApplicationModel.d.ts +20 -0
  49. package/sdk/application/Common/CommonApplicationModel.js +228 -0
  50. package/sdk/{platform/models/CommonValidator.js → application/Common/CommonApplicationValidator.js} +3 -1
  51. package/sdk/application/{client → Communication}/CommunicationApplicationClient.js +43 -2
  52. package/sdk/application/Communication/CommunicationApplicationModel.d.ts +15 -0
  53. package/sdk/application/Communication/CommunicationApplicationModel.js +144 -0
  54. package/sdk/application/{models/CommunicationValidator.js → Communication/CommunicationApplicationValidator.js} +5 -3
  55. package/sdk/application/{client → Configuration}/ConfigurationApplicationClient.js +202 -2
  56. package/sdk/application/Configuration/ConfigurationApplicationModel.d.ts +111 -0
  57. package/sdk/application/Configuration/ConfigurationApplicationModel.js +1182 -0
  58. package/sdk/application/{models/ConfigurationValidator.js → Configuration/ConfigurationApplicationValidator.js} +4 -2
  59. package/sdk/application/{client → Content}/ContentApplicationClient.js +217 -2
  60. package/sdk/application/Content/ContentApplicationModel.d.ts +105 -0
  61. package/sdk/application/Content/ContentApplicationModel.js +1349 -0
  62. package/sdk/application/{models/ContentValidator.js → Content/ContentApplicationValidator.js} +3 -1
  63. package/sdk/application/{client → FileStorage}/FileStorageApplicationClient.js +35 -2
  64. package/sdk/application/FileStorage/FileStorageApplicationModel.d.ts +21 -0
  65. package/sdk/application/FileStorage/FileStorageApplicationModel.js +244 -0
  66. package/sdk/application/{models/FileStorageValidator.js → FileStorage/FileStorageApplicationValidator.js} +6 -4
  67. package/sdk/application/{client → Lead}/LeadApplicationClient.js +83 -2
  68. package/sdk/application/Lead/LeadApplicationModel.d.ts +55 -0
  69. package/sdk/application/Lead/LeadApplicationModel.js +690 -0
  70. package/sdk/application/{models/LeadValidator.js → Lead/LeadApplicationValidator.js} +6 -4
  71. package/sdk/application/{client → Logistic}/LogisticApplicationClient.js +46 -2
  72. package/sdk/application/Logistic/LogisticApplicationModel.d.ts +26 -0
  73. package/sdk/application/Logistic/LogisticApplicationModel.js +286 -0
  74. package/sdk/application/{models/LogisticValidator.js → Logistic/LogisticApplicationValidator.js} +5 -3
  75. package/sdk/application/{client → Order}/OrderApplicationClient.js +148 -2
  76. package/sdk/application/Order/OrderApplicationModel.d.ts +67 -0
  77. package/sdk/application/Order/OrderApplicationModel.js +872 -0
  78. package/sdk/application/{models/OrderValidator.js → Order/OrderApplicationValidator.js} +5 -3
  79. package/sdk/application/{client → Payment}/PaymentApplicationClient.js +530 -2
  80. package/sdk/application/Payment/PaymentApplicationModel.d.ts +96 -0
  81. package/sdk/application/Payment/PaymentApplicationModel.js +1318 -0
  82. package/sdk/application/{models/PaymentValidator.js → Payment/PaymentApplicationValidator.js} +25 -23
  83. package/sdk/application/{client → PosCart}/PosCartApplicationClient.d.ts +9 -3
  84. package/sdk/application/{client → PosCart}/PosCartApplicationClient.js +343 -8
  85. package/sdk/application/PosCart/PosCartApplicationModel.d.ts +79 -0
  86. package/sdk/application/PosCart/PosCartApplicationModel.js +1132 -0
  87. package/sdk/application/{models/PosCartValidator.js → PosCart/PosCartApplicationValidator.js} +18 -13
  88. package/sdk/application/{client → Rewards}/RewardsApplicationClient.js +83 -2
  89. package/sdk/application/Rewards/RewardsApplicationModel.d.ts +23 -0
  90. package/sdk/application/Rewards/RewardsApplicationModel.js +276 -0
  91. package/sdk/application/{models/RewardsValidator.js → Rewards/RewardsApplicationValidator.js} +6 -4
  92. package/sdk/application/{client → Share}/ShareApplicationClient.js +89 -2
  93. package/sdk/application/Share/ShareApplicationModel.d.ts +16 -0
  94. package/sdk/application/Share/ShareApplicationModel.js +178 -0
  95. package/sdk/application/{models/ShareValidator.js → Share/ShareApplicationValidator.js} +4 -2
  96. package/sdk/application/{client → Theme}/ThemeApplicationClient.js +46 -2
  97. package/sdk/application/Theme/ThemeApplicationModel.d.ts +49 -0
  98. package/sdk/application/Theme/ThemeApplicationModel.js +486 -0
  99. package/sdk/application/{models/ThemeValidator.js → Theme/ThemeApplicationValidator.js} +3 -1
  100. package/sdk/application/{client → User}/UserApplicationClient.js +407 -2
  101. package/sdk/application/User/UserApplicationModel.d.ts +95 -0
  102. package/sdk/application/User/UserApplicationModel.js +998 -0
  103. package/sdk/application/{models/UserValidator.js → User/UserApplicationValidator.js} +31 -29
  104. package/sdk/application/index.d.ts +18 -0
  105. package/sdk/application/index.js +33 -0
  106. package/sdk/common/AxiosHelper.js +23 -10
  107. package/sdk/common/Logger.d.ts +2 -0
  108. package/sdk/common/Logger.js +6 -0
  109. package/sdk/common/curlHelper.d.ts +2 -0
  110. package/sdk/common/curlHelper.js +95 -0
  111. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.d.ts +101 -0
  112. package/sdk/platform/Analytics/AnalyticsPlatformApplicationClient.js +399 -0
  113. package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.d.ts +11 -0
  114. package/sdk/platform/Analytics/AnalyticsPlatformApplicationValidator.js +56 -0
  115. package/sdk/platform/{client → Analytics}/AnalyticsPlatformClient.js +60 -2
  116. package/sdk/platform/Analytics/AnalyticsPlatformModel.d.ts +23 -0
  117. package/sdk/platform/Analytics/AnalyticsPlatformModel.js +252 -0
  118. package/sdk/platform/{models/AnalyticsValidator.js → Analytics/AnalyticsPlatformValidator.js} +5 -4
  119. package/sdk/platform/{client → AuditTrail}/AuditTrailPlatformClient.js +48 -2
  120. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.d.ts +18 -0
  121. package/sdk/platform/AuditTrail/AuditTrailPlatformModel.js +144 -0
  122. package/sdk/platform/{models/AuditTrailValidator.js → AuditTrail/AuditTrailPlatformValidator.js} +3 -2
  123. package/sdk/platform/{client → Billing}/BillingPlatformClient.js +162 -2
  124. package/sdk/platform/Billing/BillingPlatformModel.d.ts +65 -0
  125. package/sdk/platform/Billing/BillingPlatformModel.js +906 -0
  126. package/sdk/platform/{models/BillingValidator.js → Billing/BillingPlatformValidator.js} +6 -5
  127. package/sdk/platform/Cart/CartPlatformApplicationClient.d.ts +293 -0
  128. package/sdk/platform/Cart/CartPlatformApplicationClient.js +1001 -0
  129. package/sdk/platform/Cart/CartPlatformApplicationValidator.d.ts +20 -0
  130. package/sdk/platform/Cart/CartPlatformApplicationValidator.js +138 -0
  131. package/sdk/platform/Cart/CartPlatformModel.d.ts +104 -0
  132. package/sdk/platform/Cart/CartPlatformModel.js +1516 -0
  133. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.d.ts +856 -0
  134. package/sdk/platform/Catalog/CatalogPlatformApplicationClient.js +2927 -0
  135. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.d.ts +56 -0
  136. package/sdk/platform/Catalog/CatalogPlatformApplicationValidator.js +389 -0
  137. package/sdk/platform/{client → Catalog}/CatalogPlatformClient.js +1402 -349
  138. package/sdk/platform/Catalog/CatalogPlatformModel.d.ts +317 -0
  139. package/sdk/platform/Catalog/CatalogPlatformModel.js +4702 -0
  140. package/sdk/platform/{models/CatalogValidator.js → Catalog/CatalogPlatformValidator.js} +92 -91
  141. package/sdk/platform/{client → Common}/CommonPlatformClient.js +28 -2
  142. package/sdk/platform/Common/CommonPlatformModel.d.ts +20 -0
  143. package/sdk/platform/Common/CommonPlatformModel.js +228 -0
  144. package/sdk/{application/models/CommonValidator.js → platform/Common/CommonPlatformValidator.js} +2 -1
  145. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.d.ts +611 -0
  146. package/sdk/platform/Communication/CommunicationPlatformApplicationClient.js +2243 -0
  147. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.d.ts +43 -0
  148. package/sdk/platform/Communication/CommunicationPlatformApplicationValidator.js +277 -0
  149. package/sdk/platform/{client → Communication}/CommunicationPlatformClient.js +17 -2
  150. package/sdk/platform/Communication/CommunicationPlatformModel.d.ts +102 -0
  151. package/sdk/platform/Communication/CommunicationPlatformModel.js +1312 -0
  152. package/sdk/platform/{models/CommunicationValidator.js → Communication/CommunicationPlatformValidator.js} +2 -1
  153. package/sdk/platform/{client → CompanyProfile}/CompanyProfilePlatformClient.d.ts +0 -9
  154. package/sdk/platform/{client → CompanyProfile}/CompanyProfilePlatformClient.js +176 -28
  155. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.d.ts +44 -0
  156. package/sdk/platform/CompanyProfile/CompanyProfilePlatformModel.js +706 -0
  157. package/sdk/platform/{models/CompanyProfileValidator.d.ts → CompanyProfile/CompanyProfilePlatformValidator.d.ts} +0 -1
  158. package/sdk/platform/{models/CompanyProfileValidator.js → CompanyProfile/CompanyProfilePlatformValidator.js} +9 -14
  159. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.d.ts +309 -0
  160. package/sdk/platform/Configuration/ConfigurationPlatformApplicationClient.js +1322 -0
  161. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.d.ts +31 -0
  162. package/sdk/platform/Configuration/ConfigurationPlatformApplicationValidator.js +164 -0
  163. package/sdk/platform/{client → Configuration}/ConfigurationPlatformClient.js +284 -2
  164. package/sdk/platform/Configuration/ConfigurationPlatformModel.d.ts +185 -0
  165. package/sdk/platform/Configuration/ConfigurationPlatformModel.js +2072 -0
  166. package/sdk/platform/{models/ConfigurationValidator.js → Configuration/ConfigurationPlatformValidator.js} +9 -8
  167. package/sdk/platform/Content/ContentPlatformApplicationClient.d.ts +781 -0
  168. package/sdk/platform/Content/ContentPlatformApplicationClient.js +3074 -0
  169. package/sdk/platform/Content/ContentPlatformApplicationValidator.d.ts +71 -0
  170. package/sdk/platform/Content/ContentPlatformApplicationValidator.js +422 -0
  171. package/sdk/platform/Content/ContentPlatformModel.d.ts +105 -0
  172. package/sdk/platform/Content/ContentPlatformModel.js +1349 -0
  173. package/sdk/platform/{client → Discount}/DiscountPlatformClient.d.ts +11 -0
  174. package/sdk/platform/{client → Discount}/DiscountPlatformClient.js +187 -2
  175. package/sdk/platform/Discount/DiscountPlatformModel.d.ts +15 -0
  176. package/sdk/platform/Discount/DiscountPlatformModel.js +176 -0
  177. package/sdk/platform/{models/DiscountValidator.d.ts → Discount/DiscountPlatformValidator.d.ts} +1 -0
  178. package/sdk/platform/{models/DiscountValidator.js → Discount/DiscountPlatformValidator.js} +13 -5
  179. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.d.ts +114 -0
  180. package/sdk/platform/FileStorage/FileStoragePlatformApplicationClient.js +301 -0
  181. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.d.ts +7 -0
  182. package/sdk/platform/FileStorage/FileStoragePlatformApplicationValidator.js +38 -0
  183. package/sdk/platform/{client → FileStorage}/FileStoragePlatformClient.js +78 -2
  184. package/sdk/platform/FileStorage/FileStoragePlatformModel.d.ts +21 -0
  185. package/sdk/platform/FileStorage/FileStoragePlatformModel.js +244 -0
  186. package/sdk/platform/{models/FileStorageValidator.js → FileStorage/FileStoragePlatformValidator.js} +6 -5
  187. package/sdk/platform/{client → Inventory}/InventoryPlatformClient.js +163 -2
  188. package/sdk/platform/Inventory/InventoryPlatformModel.d.ts +62 -0
  189. package/sdk/platform/Inventory/InventoryPlatformModel.js +1178 -0
  190. package/sdk/platform/{models/InventoryValidator.js → Inventory/InventoryPlatformValidator.js} +5 -4
  191. package/sdk/platform/Lead/LeadPlatformApplicationClient.d.ts +138 -0
  192. package/sdk/platform/Lead/LeadPlatformApplicationClient.js +559 -0
  193. package/sdk/platform/Lead/LeadPlatformApplicationValidator.d.ts +16 -0
  194. package/sdk/platform/Lead/LeadPlatformApplicationValidator.js +90 -0
  195. package/sdk/platform/{client → Lead}/LeadPlatformClient.js +142 -2
  196. package/sdk/platform/Lead/LeadPlatformModel.d.ts +55 -0
  197. package/sdk/platform/Lead/LeadPlatformModel.js +690 -0
  198. package/sdk/platform/{models/LeadValidator.js → Lead/LeadPlatformValidator.js} +7 -6
  199. package/sdk/platform/Order/OrderPlatformApplicationClient.d.ts +59 -0
  200. package/sdk/platform/Order/OrderPlatformApplicationClient.js +207 -0
  201. package/sdk/platform/Order/OrderPlatformApplicationValidator.d.ts +6 -0
  202. package/sdk/platform/Order/OrderPlatformApplicationValidator.js +37 -0
  203. package/sdk/platform/{client → Order}/OrderPlatformClient.d.ts +24 -55
  204. package/sdk/platform/{client → Order}/OrderPlatformClient.js +693 -146
  205. package/sdk/platform/Order/OrderPlatformModel.d.ts +222 -0
  206. package/sdk/platform/Order/OrderPlatformModel.js +3466 -0
  207. package/sdk/platform/{models/OrderValidator.d.ts → Order/OrderPlatformValidator.d.ts} +2 -3
  208. package/sdk/platform/{models/OrderValidator.js → Order/OrderPlatformValidator.js} +32 -48
  209. package/sdk/platform/Partner/PartnerPlatformApplicationClient.d.ts +30 -0
  210. package/sdk/platform/Partner/PartnerPlatformApplicationClient.js +100 -0
  211. package/sdk/platform/Partner/PartnerPlatformApplicationValidator.d.ts +5 -0
  212. package/sdk/platform/Partner/PartnerPlatformApplicationValidator.js +20 -0
  213. package/sdk/platform/Partner/PartnerPlatformModel.d.ts +7 -0
  214. package/sdk/platform/Partner/PartnerPlatformModel.js +54 -0
  215. package/sdk/platform/Payment/PaymentPlatformApplicationClient.d.ts +108 -0
  216. package/sdk/platform/Payment/PaymentPlatformApplicationClient.js +498 -0
  217. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.d.ts +14 -0
  218. package/sdk/platform/Payment/PaymentPlatformApplicationValidator.js +73 -0
  219. package/sdk/platform/{client → Payment}/PaymentPlatformClient.js +141 -2
  220. package/sdk/platform/Payment/PaymentPlatformModel.d.ts +44 -0
  221. package/sdk/platform/Payment/PaymentPlatformModel.js +552 -0
  222. package/sdk/platform/{models/PaymentValidator.js → Payment/PaymentPlatformValidator.js} +6 -5
  223. package/sdk/platform/PlatformAPIClient.js +2 -1
  224. package/sdk/platform/PlatformApplicationClient.d.ts +2824 -18486
  225. package/sdk/platform/PlatformApplicationClient.js +3772 -13928
  226. package/sdk/platform/PlatformClient.d.ts +2824 -2881
  227. package/sdk/platform/PlatformClient.js +3710 -3145
  228. package/sdk/platform/PlatformConfig.js +2 -1
  229. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.d.ts +150 -0
  230. package/sdk/platform/Rewards/RewardsPlatformApplicationClient.js +597 -0
  231. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.d.ts +16 -0
  232. package/sdk/platform/Rewards/RewardsPlatformApplicationValidator.js +91 -0
  233. package/sdk/platform/Rewards/RewardsPlatformModel.d.ts +24 -0
  234. package/sdk/platform/Rewards/RewardsPlatformModel.js +294 -0
  235. package/sdk/platform/Share/SharePlatformApplicationClient.d.ts +72 -0
  236. package/sdk/platform/Share/SharePlatformApplicationClient.js +235 -0
  237. package/sdk/platform/Share/SharePlatformApplicationValidator.d.ts +7 -0
  238. package/sdk/platform/Share/SharePlatformApplicationValidator.js +35 -0
  239. package/sdk/platform/Share/SharePlatformModel.d.ts +15 -0
  240. package/sdk/platform/Share/SharePlatformModel.js +170 -0
  241. package/sdk/platform/Theme/ThemePlatformApplicationClient.d.ts +238 -0
  242. package/sdk/platform/Theme/ThemePlatformApplicationClient.js +997 -0
  243. package/sdk/platform/Theme/ThemePlatformApplicationValidator.d.ts +27 -0
  244. package/sdk/platform/Theme/ThemePlatformApplicationValidator.js +155 -0
  245. package/sdk/platform/Theme/ThemePlatformModel.d.ts +49 -0
  246. package/sdk/platform/Theme/ThemePlatformModel.js +486 -0
  247. package/sdk/platform/User/UserPlatformApplicationClient.d.ts +121 -0
  248. package/sdk/platform/User/UserPlatformApplicationClient.js +506 -0
  249. package/sdk/platform/User/UserPlatformApplicationValidator.d.ts +15 -0
  250. package/sdk/platform/User/UserPlatformApplicationValidator.js +79 -0
  251. package/sdk/platform/User/UserPlatformModel.d.ts +95 -0
  252. package/sdk/platform/User/UserPlatformModel.js +998 -0
  253. package/sdk/platform/{client → Webhook}/WebhookPlatformClient.js +92 -2
  254. package/sdk/platform/Webhook/WebhookPlatformModel.d.ts +17 -0
  255. package/sdk/platform/Webhook/WebhookPlatformModel.js +208 -0
  256. package/sdk/platform/{models/WebhookValidator.js → Webhook/WebhookPlatformValidator.js} +4 -3
  257. package/sdk/platform/index.d.ts +24 -0
  258. package/sdk/platform/index.js +45 -0
  259. package/sdk/public/{client → Configuration}/ConfigurationPublicClient.js +26 -1
  260. package/sdk/public/Configuration/ConfigurationPublicModel.d.ts +20 -0
  261. package/sdk/public/Configuration/ConfigurationPublicModel.js +230 -0
  262. package/sdk/public/{models/ConfigurationValidator.js → Configuration/ConfigurationPublicValidator.js} +3 -1
  263. package/sdk/public/{client → Inventory}/InventoryPublicClient.js +76 -1
  264. package/sdk/public/Inventory/InventoryPublicModel.d.ts +22 -0
  265. package/sdk/public/Inventory/InventoryPublicModel.js +334 -0
  266. package/sdk/public/{models/InventoryValidator.js → Inventory/InventoryPublicValidator.js} +4 -2
  267. package/sdk/public/PublicClient.d.ts +3 -3
  268. package/sdk/public/PublicClient.js +8 -3
  269. package/sdk/public/{client → Webhook}/WebhookPublicClient.js +30 -1
  270. package/sdk/public/Webhook/WebhookPublicModel.d.ts +17 -0
  271. package/sdk/public/Webhook/WebhookPublicModel.js +208 -0
  272. package/sdk/public/{models/WebhookValidator.js → Webhook/WebhookPublicValidator.js} +4 -2
  273. package/sdk/public/index.d.ts +5 -0
  274. package/sdk/public/index.js +7 -0
  275. package/sdk/platform/PlatformApplicationModels.d.ts +0 -328
  276. package/sdk/platform/PlatformApplicationModels.js +0 -22658
  277. package/sdk/platform/PlatformModels.d.ts +0 -1477
  278. package/sdk/platform/PlatformModels.js +0 -20646
  279. package/sdk/platform/models/CartValidator.d.ts +0 -0
  280. package/sdk/platform/models/CartValidator.js +0 -0
  281. package/sdk/platform/models/ContentValidator.d.ts +0 -0
  282. package/sdk/platform/models/ContentValidator.js +0 -0
  283. package/sdk/platform/models/PartnerValidator.d.ts +0 -0
  284. package/sdk/platform/models/PartnerValidator.js +0 -0
  285. package/sdk/platform/models/RewardsValidator.d.ts +0 -0
  286. package/sdk/platform/models/RewardsValidator.js +0 -0
  287. package/sdk/platform/models/ShareValidator.d.ts +0 -0
  288. package/sdk/platform/models/ShareValidator.js +0 -0
  289. package/sdk/platform/models/ThemeValidator.d.ts +0 -0
  290. package/sdk/platform/models/ThemeValidator.js +0 -0
  291. package/sdk/platform/models/UserValidator.d.ts +0 -0
  292. package/sdk/platform/models/UserValidator.js +0 -0
  293. package/sdk/public/PublicModels.d.ts +0 -50
  294. package/sdk/public/PublicModels.js +0 -712
  295. package/sdk/application/{models/CartValidator.d.ts → Cart/CartApplicationValidator.d.ts} +0 -0
  296. package/sdk/application/{models/CatalogValidator.d.ts → Catalog/CatalogApplicationValidator.d.ts} +0 -0
  297. package/sdk/application/{client → Common}/CommonApplicationClient.d.ts +0 -0
  298. package/sdk/application/{models/CommonValidator.d.ts → Common/CommonApplicationValidator.d.ts} +0 -0
  299. package/sdk/application/{client → Communication}/CommunicationApplicationClient.d.ts +0 -0
  300. package/sdk/application/{models/CommunicationValidator.d.ts → Communication/CommunicationApplicationValidator.d.ts} +0 -0
  301. package/sdk/application/{client → Configuration}/ConfigurationApplicationClient.d.ts +0 -0
  302. package/sdk/application/{models/ConfigurationValidator.d.ts → Configuration/ConfigurationApplicationValidator.d.ts} +0 -0
  303. package/sdk/application/{client → Content}/ContentApplicationClient.d.ts +0 -0
  304. package/sdk/application/{models/ContentValidator.d.ts → Content/ContentApplicationValidator.d.ts} +0 -0
  305. package/sdk/application/{client → FileStorage}/FileStorageApplicationClient.d.ts +0 -0
  306. package/sdk/application/{models/FileStorageValidator.d.ts → FileStorage/FileStorageApplicationValidator.d.ts} +0 -0
  307. package/sdk/application/{client → Lead}/LeadApplicationClient.d.ts +0 -0
  308. package/sdk/application/{models/LeadValidator.d.ts → Lead/LeadApplicationValidator.d.ts} +0 -0
  309. package/sdk/application/{client → Logistic}/LogisticApplicationClient.d.ts +0 -0
  310. package/sdk/application/{models/LogisticValidator.d.ts → Logistic/LogisticApplicationValidator.d.ts} +0 -0
  311. package/sdk/application/{client → Order}/OrderApplicationClient.d.ts +0 -0
  312. package/sdk/application/{models/OrderValidator.d.ts → Order/OrderApplicationValidator.d.ts} +0 -0
  313. package/sdk/application/{client → Payment}/PaymentApplicationClient.d.ts +0 -0
  314. package/sdk/application/{models/PaymentValidator.d.ts → Payment/PaymentApplicationValidator.d.ts} +0 -0
  315. package/sdk/application/{models/PosCartValidator.d.ts → PosCart/PosCartApplicationValidator.d.ts} +0 -0
  316. package/sdk/application/{client → Rewards}/RewardsApplicationClient.d.ts +0 -0
  317. package/sdk/application/{models/RewardsValidator.d.ts → Rewards/RewardsApplicationValidator.d.ts} +0 -0
  318. package/sdk/application/{client → Share}/ShareApplicationClient.d.ts +0 -0
  319. package/sdk/application/{models/ShareValidator.d.ts → Share/ShareApplicationValidator.d.ts} +0 -0
  320. package/sdk/application/{client → Theme}/ThemeApplicationClient.d.ts +0 -0
  321. package/sdk/application/{models/ThemeValidator.d.ts → Theme/ThemeApplicationValidator.d.ts} +0 -0
  322. package/sdk/application/{client → User}/UserApplicationClient.d.ts +0 -0
  323. package/sdk/application/{models/UserValidator.d.ts → User/UserApplicationValidator.d.ts} +0 -0
  324. package/sdk/platform/{client → Analytics}/AnalyticsPlatformClient.d.ts +0 -0
  325. package/sdk/platform/{models/AnalyticsValidator.d.ts → Analytics/AnalyticsPlatformValidator.d.ts} +0 -0
  326. package/sdk/platform/{client → AuditTrail}/AuditTrailPlatformClient.d.ts +0 -0
  327. package/sdk/platform/{models/AuditTrailValidator.d.ts → AuditTrail/AuditTrailPlatformValidator.d.ts} +0 -0
  328. package/sdk/platform/{client → Billing}/BillingPlatformClient.d.ts +0 -0
  329. package/sdk/platform/{models/BillingValidator.d.ts → Billing/BillingPlatformValidator.d.ts} +0 -0
  330. package/sdk/platform/{client → Catalog}/CatalogPlatformClient.d.ts +149 -149
  331. package/sdk/platform/{models/CatalogValidator.d.ts → Catalog/CatalogPlatformValidator.d.ts} +21 -21
  332. /package/sdk/platform/{client → Common}/CommonPlatformClient.d.ts +0 -0
  333. /package/sdk/platform/{models/CommonValidator.d.ts → Common/CommonPlatformValidator.d.ts} +0 -0
  334. /package/sdk/platform/{client → Communication}/CommunicationPlatformClient.d.ts +0 -0
  335. /package/sdk/platform/{models/CommunicationValidator.d.ts → Communication/CommunicationPlatformValidator.d.ts} +0 -0
  336. /package/sdk/platform/{client → Configuration}/ConfigurationPlatformClient.d.ts +0 -0
  337. /package/sdk/platform/{models/ConfigurationValidator.d.ts → Configuration/ConfigurationPlatformValidator.d.ts} +0 -0
  338. /package/sdk/platform/{client → FileStorage}/FileStoragePlatformClient.d.ts +0 -0
  339. /package/sdk/platform/{models/FileStorageValidator.d.ts → FileStorage/FileStoragePlatformValidator.d.ts} +0 -0
  340. /package/sdk/platform/{client → Inventory}/InventoryPlatformClient.d.ts +0 -0
  341. /package/sdk/platform/{models/InventoryValidator.d.ts → Inventory/InventoryPlatformValidator.d.ts} +0 -0
  342. /package/sdk/platform/{client → Lead}/LeadPlatformClient.d.ts +0 -0
  343. /package/sdk/platform/{models/LeadValidator.d.ts → Lead/LeadPlatformValidator.d.ts} +0 -0
  344. /package/sdk/platform/{client → Payment}/PaymentPlatformClient.d.ts +0 -0
  345. /package/sdk/platform/{models/PaymentValidator.d.ts → Payment/PaymentPlatformValidator.d.ts} +0 -0
  346. /package/sdk/platform/{client → Webhook}/WebhookPlatformClient.d.ts +0 -0
  347. /package/sdk/platform/{models/WebhookValidator.d.ts → Webhook/WebhookPlatformValidator.d.ts} +0 -0
  348. /package/sdk/public/{client → Configuration}/ConfigurationPublicClient.d.ts +0 -0
  349. /package/sdk/public/{models/ConfigurationValidator.d.ts → Configuration/ConfigurationPublicValidator.d.ts} +0 -0
  350. /package/sdk/public/{client → Inventory}/InventoryPublicClient.d.ts +0 -0
  351. /package/sdk/public/{models/InventoryValidator.d.ts → Inventory/InventoryPublicValidator.d.ts} +0 -0
  352. /package/sdk/public/{client → Webhook}/WebhookPublicClient.d.ts +0 -0
  353. /package/sdk/public/{models/WebhookValidator.d.ts → Webhook/WebhookPublicValidator.d.ts} +0 -0
@@ -2851,11 +2851,11 @@ 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
+ | excluded_fields | [string] | yes | List of all excluded options with their Details. |
2855
+ | created | boolean | yes | Response is created or not |
2855
2856
  | aggregators | [string] | no | List of all speceific Payment options with their Details. |
2856
2857
  | success | boolean | yes | Response is successful or not |
2857
- | created | boolean | yes | Response is created or not |
2858
- | excluded_fields | [string] | yes | List of all excluded options with their Details. |
2858
+ | app_id | string | yes | Application Id to which Payment config Mapped |
2859
2859
  | display_fields | [string] | yes | List of all included options with their Details. |
2860
2860
 
2861
2861
  ---
@@ -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
2883
  | secret | string | yes | Secret Key of the payment aggregator |
2885
- | is_active | boolean | no | Enable/ Disable Flag |
2884
+ | config_type | string | yes | Config Type of the aggregator |
2886
2885
  | key | string | yes | Api key of the payment aggregator |
2887
2886
  | merchant_salt | string | yes | Merchant key of the payment aggregator |
2887
+ | is_active | boolean | no | Enable/ Disable Flag |
2888
2888
 
2889
2889
  ---
2890
2890
 
@@ -2895,9 +2895,9 @@ Success. Returns true/false for user cod option for payment. Check the example s
2895
2895
 
2896
2896
  | Properties | Type | Nullable | Description |
2897
2897
  | ---------- | ---- | -------- | ----------- |
2898
- | app_id | string | yes | Application Id to which Payment config Mapped |
2899
- | is_active | boolean | no | Enable/ Disable Flag |
2900
2898
  | aggregator_name | [PaymentGatewayConfig](#PaymentGatewayConfig) | no | |
2899
+ | is_active | boolean | no | Enable/ Disable Flag |
2900
+ | app_id | string | yes | Application Id to which Payment config Mapped |
2901
2901
 
2902
2902
  ---
2903
2903
 
@@ -2932,8 +2932,8 @@ Success. Returns true/false for user cod option for payment. Check the example s
2932
2932
 
2933
2933
  | Properties | Type | Nullable | Description |
2934
2934
  | ---------- | ---- | -------- | ----------- |
2935
- | success | boolean | yes | Response is successful or not |
2936
2935
  | error | [ErrorCodeAndDescription](#ErrorCodeAndDescription) | yes | |
2936
+ | success | boolean | yes | Response is successful or not |
2937
2937
 
2938
2938
  ---
2939
2939
 
@@ -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
 
@@ -2957,9 +2957,9 @@ Success. Returns true/false for user cod option for payment. Check the example s
2957
2957
  | Properties | Type | Nullable | Description |
2958
2958
  | ---------- | ---- | -------- | ----------- |
2959
2959
  | code | string | no | code |
2960
+ | logos | [PaymentModeLogo](#PaymentModeLogo) | no | logos |
2960
2961
  | package_name | string | no | package_name |
2961
2962
  | display_name | string | no | display_name |
2962
- | logos | [PaymentModeLogo](#PaymentModeLogo) | no | logos |
2963
2963
 
2964
2964
  ---
2965
2965
 
@@ -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
+ | merchant_code | string | no | merchant code |
2986
+ | card_token | string | no | card_token |
2987
+ | nickname | string | no | nickname |
2985
2988
  | intent_app | [[IntentApp](#IntentApp)] | no | intent_app |
2986
- | remaining_limit | number | no | Remaining limit |
2987
- | exp_month | number | no | exp_month |
2988
- | 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 |
2989
+ | timeout | number | no | timeout |
2992
2990
  | 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 |
2991
+ | intent_flow | boolean | no | intent_flow |
2996
2992
  | cod_limit_per_order | number | no | Cod limit per order |
2997
- | card_reference | string | no | card_reference |
2998
- | name | string | no | name |
2993
+ | intent_app_error_dict_list | [[IntentAppErrorList](#IntentAppErrorList)] | no | intent_app_error_dict_list |
2994
+ | cod_limit | number | no | cod limit |
2999
2995
  | expired | boolean | no | expired |
2996
+ | exp_year | number | no | exp_year |
3000
2997
  | retry_count | number | no | retry_count |
3001
- | cod_limit | number | no | cod limit |
3002
- | card_name | string | no | card_name |
3003
- | 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
- | card_token | string | no | card_token |
3008
- | display_name | string | no | display name |
3009
2998
  | card_number | string | no | card_number |
2999
+ | card_name | string | no | card_name |
3010
3000
  | 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
3001
  | compliant_with_tokenisation_guidelines | boolean | no | If card is tokenised or not |
3016
- | intent_flow | boolean | no | intent_flow |
3002
+ | code | string | no | code |
3003
+ | aggregator_name | string | yes | aggregator_name |
3004
+ | card_fingerprint | string | no | card_fingerprint |
3005
+ | card_reference | string | no | card_reference |
3017
3006
  | card_issuer | string | no | card_issuer |
3007
+ | exp_month | number | no | exp_month |
3008
+ | card_type | string | no | card_type |
3009
+ | intent_app_error_list | [string] | no | intent_app_error_list |
3010
+ | card_brand_image | string | no | card_brand_image |
3011
+ | display_priority | number | no | Dispaly Priority |
3012
+ | remaining_limit | number | no | Remaining limit |
3013
+ | display_name | string | no | display name |
3014
+ | fynd_vpa | string | no | fynd_vpa |
3015
+ | logo_url | [PaymentModeLogo](#PaymentModeLogo) | no | Logo |
3016
+ | name | string | no | name |
3017
+ | card_id | string | no | card_id |
3018
3018
 
3019
3019
  ---
3020
3020
 
@@ -3026,14 +3026,14 @@ Success. Returns true/false for user cod option for payment. Check the example s
3026
3026
  | Properties | Type | Nullable | Description |
3027
3027
  | ---------- | ---- | -------- | ----------- |
3028
3028
  | add_card_enabled | boolean | no | Annonymous card flag |
3029
- | name | string | yes | Payment mode name |
3030
- | save_card | boolean | no | Card save or not |
3031
- | list | [[PaymentModeList](#PaymentModeList)] | no | Payment mode |
3032
- | aggregator_name | string | no | Dispaly Priority |
3033
3029
  | 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
3030
  | anonymous_enable | boolean | no | Annonymous card flag |
3031
+ | save_card | boolean | no | Card save or not |
3036
3032
  | display_name | string | yes | Payment mode display name |
3033
+ | aggregator_name | string | no | Dispaly Priority |
3034
+ | name | string | yes | Payment mode name |
3035
+ | is_pay_by_card_pl | boolean | no | This flag will be true in case of Payment link payment through card |
3036
+ | list | [[PaymentModeList](#PaymentModeList)] | no | Payment mode |
3037
3037
 
3038
3038
  ---
3039
3039
 
@@ -3055,8 +3055,8 @@ Success. Returns true/false for user cod option for payment. Check the example s
3055
3055
 
3056
3056
  | Properties | Type | Nullable | Description |
3057
3057
  | ---------- | ---- | -------- | ----------- |
3058
- | success | boolean | yes | Response is successful or not |
3059
3058
  | payment_options | [PaymentOptions](#PaymentOptions) | yes | Payment options |
3059
+ | success | boolean | yes | Response is successful or not |
3060
3060
 
3061
3061
  ---
3062
3062
 
@@ -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
- | customers | string | yes | customers details object |
3070
+ | is_default | boolean | yes | default or not |
3073
3071
  | transfer_type | string | yes | transafer type |
3074
- | unique_transfer_no | string | yes | display priority of the payment mode |
3072
+ | customers | string | yes | customers details object |
3075
3073
  | more_attributes | string | yes | bank details object |
3076
- | is_default | boolean | yes | default or not |
3074
+ | unique_transfer_no | string | yes | display priority of the payment mode |
3075
+ | is_active | boolean | yes | Enable/DIsable Flag Payout |
3076
+ | payouts_aggregators | [string] | yes | payout aggregator object |
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 | |
3087
+ | account_type | string | yes | |
3088
+ | city | string | no | |
3089
+ | country | string | no | |
3090
+ | account_holder | string | no | |
3089
3091
  | state | string | no | |
3090
- | ifsc_code | string | yes | |
3091
3092
  | account_no | string | no | |
3092
3093
  | pincode | number | no | |
3093
- | country | string | no | |
3094
- | city | string | no | |
3095
- | account_holder | string | no | |
3096
- | account_type | string | yes | |
3094
+ | branch_name | string | no | |
3095
+ | ifsc_code | string | yes | |
3096
+ | bank_name | string | no | |
3097
3097
 
3098
3098
  ---
3099
3099
 
@@ -3104,12 +3104,12 @@ 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
+ | unique_external_id | string | yes | Unique Id of Payout |
3108
+ | users | string | yes | payout users object |
3109
+ | transfer_type | string | yes | transafer type |
3107
3110
  | aggregator | string | yes | Aggregator Name |
3108
3111
  | bank_details | [PayoutBankDetails](#PayoutBankDetails) | yes | payout bank details object |
3109
3112
  | is_active | boolean | yes | Enable/Disable Flag Payout |
3110
- | transfer_type | string | yes | transafer type |
3111
- | users | string | yes | payout users object |
3112
- | unique_external_id | string | yes | Unique Id of Payout |
3113
3113
 
3114
3114
  ---
3115
3115
 
@@ -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 |
3123
+ | payment_status | string | yes | status of payment |
3128
3124
  | payouts | string | yes | payout object |
3125
+ | users | string | yes | users details object |
3129
3126
  | transfer_type | string | yes | transfer type |
3127
+ | created | boolean | yes | created flag |
3128
+ | aggregator | string | yes | Aggregator Name |
3130
3129
  | unique_transfer_no | string | yes | unique transfer no |
3131
- | users | string | yes | users details object |
3132
- | payment_status | string | yes | status of payment |
3130
+ | bank_details | string | yes | payout bank_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_active | boolean | yes | Enable/Disable Flag Payout |
3157
3156
  | unique_external_id | string | yes | Unique Id of Payout |
3158
3157
  | is_default | boolean | yes | Enable/Disable Default Payout |
3158
+ | is_active | boolean | yes | Enable/Disable Flag Payout |
3159
3159
 
3160
3160
  ---
3161
3161
 
@@ -3177,8 +3177,8 @@ Success. Returns true/false for user cod option for payment. Check the example s
3177
3177
 
3178
3178
  | Properties | Type | Nullable | Description |
3179
3179
  | ---------- | ---- | -------- | ----------- |
3180
- | success | boolean | yes | Response is successful or not |
3181
3180
  | data | [string] | yes | Subscription Payment Method Object |
3181
+ | success | boolean | yes | Response is successful or not |
3182
3182
 
3183
3183
  ---
3184
3184
 
@@ -3224,8 +3224,8 @@ Success. Returns true/false for user cod option for payment. Check the example s
3224
3224
 
3225
3225
  | Properties | Type | Nullable | Description |
3226
3226
  | ---------- | ---- | -------- | ----------- |
3227
- | success | boolean | yes | Response is successful or not |
3228
3227
  | data | string | yes | Subscription Payment Method Object |
3228
+ | success | boolean | yes | Response is successful or not |
3229
3229
 
3230
3230
  ---
3231
3231
 
@@ -3236,10 +3236,10 @@ Success. Returns true/false for user cod option for payment. Check the example s
3236
3236
 
3237
3237
  | Properties | Type | Nullable | Description |
3238
3238
  | ---------- | ---- | -------- | ----------- |
3239
- | message | string | yes | Response message |
3240
3239
  | is_verified_flag | boolean | no | |
3241
- | success | boolean | yes | Success or failure flag. |
3240
+ | message | string | yes | Response message |
3242
3241
  | data | string | no | Refund account data. |
3242
+ | success | boolean | yes | Success or failure flag. |
3243
3243
 
3244
3244
  ---
3245
3245
 
@@ -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 | |
3266
+ | account_holder | string | yes | |
3267
+ | account_no | string | yes | |
3267
3268
  | branch_name | string | yes | |
3268
3269
  | ifsc_code | string | yes | |
3269
- | account_no | string | yes | |
3270
- | account_holder | 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
 
@@ -3291,8 +3291,8 @@ Success. Returns true/false for user cod option for payment. Check the example s
3291
3291
  | Properties | Type | Nullable | Description |
3292
3292
  | ---------- | ---- | -------- | ----------- |
3293
3293
  | bank_name | string | yes | Bank Name Of Account |
3294
- | success | boolean | no | Response is successful or not |
3295
3294
  | branch_name | string | yes | Branch Name Of Account |
3295
+ | success | boolean | no | Response is successful or not |
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
+ | title | string | yes | Title Of Account |
3306
3307
  | 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 |
3308
+ | beneficiary_id | string | yes | Benenficiary Id |
3310
3309
  | id | number | yes | |
3311
- | is_active | boolean | yes | Boolean Flag whether Beneficiary set or not |
3312
- | ifsc_code | string | yes | Ifsc Code Of Account |
3310
+ | delights_user_name | string | no | User Id Who filled the Beneficiary |
3313
3311
  | transfer_mode | string | yes | Transfer Mode Of Account |
3314
- | bank_name | string | yes | Bank Name Of Account |
3312
+ | mobile | string | no | MObile no of User |
3313
+ | comment | string | no | Remarks |
3315
3314
  | account_no | string | yes | Account Number |
3316
- | modified_on | string | yes | MOdification Date of Beneficiary |
3315
+ | ifsc_code | string | yes | Ifsc Code Of Account |
3316
+ | subtitle | string | yes | SHort Title Of Account |
3317
3317
  | account_holder | string | yes | Account Holder Name |
3318
- | title | string | yes | Title Of Account |
3319
- | display_name | string | yes | Display Name Of Account |
3320
3318
  | created_on | string | yes | Creation Date of Beneficiary |
3321
- | beneficiary_id | string | yes | Benenficiary Id |
3319
+ | display_name | string | yes | Display Name Of Account |
3322
3320
  | address | string | yes | Address of User |
3323
- | mobile | string | no | MObile no of User |
3324
- | comment | string | no | Remarks |
3321
+ | modified_on | string | yes | MOdification Date of Beneficiary |
3322
+ | branch_name | string | no | Branch Name Of Account |
3323
+ | is_active | boolean | yes | Boolean Flag whether Beneficiary set or not |
3324
+ | bank_name | string | yes | Bank Name Of Account |
3325
3325
 
3326
3326
  ---
3327
3327
 
@@ -3359,10 +3359,10 @@ Success. Returns true/false for user cod option for payment. Check the example s
3359
3359
 
3360
3360
  | Properties | Type | Nullable | Description |
3361
3361
  | ---------- | ---- | -------- | ----------- |
3362
- | meta | [MultiTenderPaymentMeta](#MultiTenderPaymentMeta) | no | |
3363
- | mode | string | yes | |
3364
3362
  | name | string | no | Payment mode name |
3363
+ | meta | [MultiTenderPaymentMeta](#MultiTenderPaymentMeta) | no | |
3365
3364
  | amount | number | yes | Payment amount |
3365
+ | mode | string | yes | |
3366
3366
 
3367
3367
  ---
3368
3368
 
@@ -3385,9 +3385,9 @@ Success. Returns true/false for user cod option for payment. Check the example s
3385
3385
 
3386
3386
  | Properties | Type | Nullable | Description |
3387
3387
  | ---------- | ---- | -------- | ----------- |
3388
+ | order_id | string | yes | Unique order id |
3388
3389
  | message | string | yes | Message |
3389
3390
  | success | boolean | yes | Payment confirmation updated or not. |
3390
- | order_id | string | yes | Unique order id |
3391
3391
 
3392
3392
  ---
3393
3393
 
@@ -3399,10 +3399,10 @@ Success. Returns true/false for user cod option for payment. Check the example s
3399
3399
  | Properties | Type | Nullable | Description |
3400
3400
  | ---------- | ---- | -------- | ----------- |
3401
3401
  | user_id | string | yes | Payment mode name |
3402
- | limit | number | yes | Total Limit of user |
3403
- | is_active | boolean | yes | COD option is active or not |
3404
- | remaining_limit | number | yes | Remaining Limit for COD of User |
3405
3402
  | usages | number | yes | Used COD limit from the user Limit |
3403
+ | remaining_limit | number | yes | Remaining Limit for COD of User |
3404
+ | is_active | boolean | yes | COD option is active or not |
3405
+ | limit | number | yes | Total Limit of user |
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
- | is_active | boolean | yes | either true or false |
3429
- | merchant_user_id | string | yes | Merchant User id |
3430
3428
  | mobileno | string | yes | Mobile No. of User |
3429
+ | merchant_user_id | string | yes | Merchant User id |
3430
+ | is_active | boolean | yes | either true or false |
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 };