@gofynd/fdk-store-gql 3.0.38-beta.9

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 (352) hide show
  1. package/.github/workflows/npm-publish.yml +29 -0
  2. package/README.md +84 -0
  3. package/azure-pipelines.yml +56 -0
  4. package/codegen.yml +6 -0
  5. package/lib/graphql/mutations/UnFollowById.handler.d.ts +3 -0
  6. package/lib/graphql/mutations/UnFollowById.handler.js +5 -0
  7. package/lib/graphql/mutations/UnFollowById.handler.js.map +1 -0
  8. package/lib/graphql/mutations/addItemsToCart.handler.d.ts +3 -0
  9. package/lib/graphql/mutations/addItemsToCart.handler.js +9 -0
  10. package/lib/graphql/mutations/addItemsToCart.handler.js.map +1 -0
  11. package/lib/graphql/mutations/applyCoupon.handler.d.ts +3 -0
  12. package/lib/graphql/mutations/applyCoupon.handler.js +7 -0
  13. package/lib/graphql/mutations/applyCoupon.handler.js.map +1 -0
  14. package/lib/graphql/mutations/applyRewardPoints.handler.d.ts +3 -0
  15. package/lib/graphql/mutations/applyRewardPoints.handler.js +7 -0
  16. package/lib/graphql/mutations/applyRewardPoints.handler.js.map +1 -0
  17. package/lib/graphql/mutations/followById.handler.d.ts +3 -0
  18. package/lib/graphql/mutations/followById.handler.js +5 -0
  19. package/lib/graphql/mutations/followById.handler.js.map +1 -0
  20. package/lib/graphql/mutations/getCartShareLink.handler.d.ts +3 -0
  21. package/lib/graphql/mutations/getCartShareLink.handler.js +7 -0
  22. package/lib/graphql/mutations/getCartShareLink.handler.js.map +1 -0
  23. package/lib/graphql/mutations/index.d.ts +2 -0
  24. package/lib/graphql/mutations/index.js +54 -0
  25. package/lib/graphql/mutations/index.js.map +1 -0
  26. package/lib/graphql/mutations/loginWithAppleIOS.handler.d.ts +3 -0
  27. package/lib/graphql/mutations/loginWithAppleIOS.handler.js +7 -0
  28. package/lib/graphql/mutations/loginWithAppleIOS.handler.js.map +1 -0
  29. package/lib/graphql/mutations/loginWithEmailAndPassword.handler.d.ts +3 -0
  30. package/lib/graphql/mutations/loginWithEmailAndPassword.handler.js +7 -0
  31. package/lib/graphql/mutations/loginWithEmailAndPassword.handler.js.map +1 -0
  32. package/lib/graphql/mutations/loginWithFacebook.handler.d.ts +3 -0
  33. package/lib/graphql/mutations/loginWithFacebook.handler.js +7 -0
  34. package/lib/graphql/mutations/loginWithFacebook.handler.js.map +1 -0
  35. package/lib/graphql/mutations/loginWithGoogle.handler.d.ts +3 -0
  36. package/lib/graphql/mutations/loginWithGoogle.handler.js +7 -0
  37. package/lib/graphql/mutations/loginWithGoogle.handler.js.map +1 -0
  38. package/lib/graphql/mutations/loginWithOTP.handler.d.ts +3 -0
  39. package/lib/graphql/mutations/loginWithOTP.handler.js +7 -0
  40. package/lib/graphql/mutations/loginWithOTP.handler.js.map +1 -0
  41. package/lib/graphql/mutations/removeCoupon.handler.d.ts +3 -0
  42. package/lib/graphql/mutations/removeCoupon.handler.js +7 -0
  43. package/lib/graphql/mutations/removeCoupon.handler.js.map +1 -0
  44. package/lib/graphql/mutations/selectAddress.handler.d.ts +3 -0
  45. package/lib/graphql/mutations/selectAddress.handler.js +5 -0
  46. package/lib/graphql/mutations/selectAddress.handler.js.map +1 -0
  47. package/lib/graphql/mutations/selectPaymentMode.handler.d.ts +3 -0
  48. package/lib/graphql/mutations/selectPaymentMode.handler.js +5 -0
  49. package/lib/graphql/mutations/selectPaymentMode.handler.js.map +1 -0
  50. package/lib/graphql/mutations/updateAddress.handler.d.ts +3 -0
  51. package/lib/graphql/mutations/updateAddress.handler.js +7 -0
  52. package/lib/graphql/mutations/updateAddress.handler.js.map +1 -0
  53. package/lib/graphql/mutations/updateCart.handler.d.ts +3 -0
  54. package/lib/graphql/mutations/updateCart.handler.js +14 -0
  55. package/lib/graphql/mutations/updateCart.handler.js.map +1 -0
  56. package/lib/graphql/mutations/updateCartMeta.handler.d.ts +3 -0
  57. package/lib/graphql/mutations/updateCartMeta.handler.js +7 -0
  58. package/lib/graphql/mutations/updateCartMeta.handler.js.map +1 -0
  59. package/lib/graphql/mutations/updateProfile.handler.d.ts +3 -0
  60. package/lib/graphql/mutations/updateProfile.handler.js +9 -0
  61. package/lib/graphql/mutations/updateProfile.handler.js.map +1 -0
  62. package/lib/graphql/mutations/verifyEmailOtp.handler.d.ts +3 -0
  63. package/lib/graphql/mutations/verifyEmailOtp.handler.js +7 -0
  64. package/lib/graphql/mutations/verifyEmailOtp.handler.js.map +1 -0
  65. package/lib/graphql/mutations/verifyMobileOTP.handler.d.ts +3 -0
  66. package/lib/graphql/mutations/verifyMobileOTP.handler.js +7 -0
  67. package/lib/graphql/mutations/verifyMobileOTP.handler.js.map +1 -0
  68. package/lib/graphql/query/address.handler.d.ts +3 -0
  69. package/lib/graphql/query/address.handler.js +7 -0
  70. package/lib/graphql/query/address.handler.js.map +1 -0
  71. package/lib/graphql/query/addresses.handler.d.ts +3 -0
  72. package/lib/graphql/query/addresses.handler.js +7 -0
  73. package/lib/graphql/query/addresses.handler.js.map +1 -0
  74. package/lib/graphql/query/aggregatorsConfig.handler.d.ts +3 -0
  75. package/lib/graphql/query/aggregatorsConfig.handler.js +7 -0
  76. package/lib/graphql/query/aggregatorsConfig.handler.js.map +1 -0
  77. package/lib/graphql/query/allCountries.handler.d.ts +3 -0
  78. package/lib/graphql/query/allCountries.handler.js +8 -0
  79. package/lib/graphql/query/allCountries.handler.js.map +1 -0
  80. package/lib/graphql/query/applicationConfiguration.handler.d.ts +3 -0
  81. package/lib/graphql/query/applicationConfiguration.handler.js +24 -0
  82. package/lib/graphql/query/applicationConfiguration.handler.js.map +1 -0
  83. package/lib/graphql/query/applicationContent.handler.d.ts +3 -0
  84. package/lib/graphql/query/applicationContent.handler.js +38 -0
  85. package/lib/graphql/query/applicationContent.handler.js.map +1 -0
  86. package/lib/graphql/query/applicationStaff.handler.d.ts +2 -0
  87. package/lib/graphql/query/applicationStaff.handler.js +7 -0
  88. package/lib/graphql/query/applicationStaff.handler.js.map +1 -0
  89. package/lib/graphql/query/blog.handler.d.ts +3 -0
  90. package/lib/graphql/query/blog.handler.js +7 -0
  91. package/lib/graphql/query/blog.handler.js.map +1 -0
  92. package/lib/graphql/query/brands.handler.d.ts +3 -0
  93. package/lib/graphql/query/brands.handler.js +8 -0
  94. package/lib/graphql/query/brands.handler.js.map +1 -0
  95. package/lib/graphql/query/bulkDiscountOffers.handler.d.ts +3 -0
  96. package/lib/graphql/query/bulkDiscountOffers.handler.js +7 -0
  97. package/lib/graphql/query/bulkDiscountOffers.handler.js.map +1 -0
  98. package/lib/graphql/query/cartHandler.d.ts +3 -0
  99. package/lib/graphql/query/cartHandler.js +9 -0
  100. package/lib/graphql/query/cartHandler.js.map +1 -0
  101. package/lib/graphql/query/cartShipmentDetails.handler.d.ts +3 -0
  102. package/lib/graphql/query/cartShipmentDetails.handler.js +7 -0
  103. package/lib/graphql/query/cartShipmentDetails.handler.js.map +1 -0
  104. package/lib/graphql/query/categories.handler.d.ts +3 -0
  105. package/lib/graphql/query/categories.handler.js +8 -0
  106. package/lib/graphql/query/categories.handler.js.map +1 -0
  107. package/lib/graphql/query/collection.handler.d.ts +3 -0
  108. package/lib/graphql/query/collection.handler.js +9 -0
  109. package/lib/graphql/query/collection.handler.js.map +1 -0
  110. package/lib/graphql/query/collectionItems.handler.d.ts +3 -0
  111. package/lib/graphql/query/collectionItems.handler.js +7 -0
  112. package/lib/graphql/query/collectionItems.handler.js.map +1 -0
  113. package/lib/graphql/query/collections.handler.d.ts +3 -0
  114. package/lib/graphql/query/collections.handler.js +7 -0
  115. package/lib/graphql/query/collections.handler.js.map +1 -0
  116. package/lib/graphql/query/coupons.handler.d.ts +3 -0
  117. package/lib/graphql/query/coupons.handler.js +7 -0
  118. package/lib/graphql/query/coupons.handler.js.map +1 -0
  119. package/lib/graphql/query/customPage.hadler.d.ts +2 -0
  120. package/lib/graphql/query/customPage.hadler.js +7 -0
  121. package/lib/graphql/query/customPage.hadler.js.map +1 -0
  122. package/lib/graphql/query/faqsByCategory.handler.d.ts +3 -0
  123. package/lib/graphql/query/faqsByCategory.handler.js +7 -0
  124. package/lib/graphql/query/faqsByCategory.handler.js.map +1 -0
  125. package/lib/graphql/query/followedListing.handler.d.ts +3 -0
  126. package/lib/graphql/query/followedListing.handler.js +7 -0
  127. package/lib/graphql/query/followedListing.handler.js.map +1 -0
  128. package/lib/graphql/query/followerCount.handler.d.ts +3 -0
  129. package/lib/graphql/query/followerCount.handler.js +7 -0
  130. package/lib/graphql/query/followerCount.handler.js.map +1 -0
  131. package/lib/graphql/query/index.d.ts +2 -0
  132. package/lib/graphql/query/index.js +83 -0
  133. package/lib/graphql/query/index.js.map +1 -0
  134. package/lib/graphql/query/localityHandler.d.ts +3 -0
  135. package/lib/graphql/query/localityHandler.js +7 -0
  136. package/lib/graphql/query/localityHandler.js.map +1 -0
  137. package/lib/graphql/query/order.handler.d.ts +3 -0
  138. package/lib/graphql/query/order.handler.js +5 -0
  139. package/lib/graphql/query/order.handler.js.map +1 -0
  140. package/lib/graphql/query/page.handler.d.ts +3 -0
  141. package/lib/graphql/query/page.handler.js +3 -0
  142. package/lib/graphql/query/page.handler.js.map +1 -0
  143. package/lib/graphql/query/paymentModeRoutes.handler.d.ts +3 -0
  144. package/lib/graphql/query/paymentModeRoutes.handler.js +8 -0
  145. package/lib/graphql/query/paymentModeRoutes.handler.js.map +1 -0
  146. package/lib/graphql/query/pincodeDetails.handler.d.ts +2 -0
  147. package/lib/graphql/query/pincodeDetails.handler.js +7 -0
  148. package/lib/graphql/query/pincodeDetails.handler.js.map +1 -0
  149. package/lib/graphql/query/platformConfig.handler.d.ts +3 -0
  150. package/lib/graphql/query/platformConfig.handler.js +7 -0
  151. package/lib/graphql/query/platformConfig.handler.js.map +1 -0
  152. package/lib/graphql/query/product.handler.d.ts +3 -0
  153. package/lib/graphql/query/product.handler.js +12 -0
  154. package/lib/graphql/query/product.handler.js.map +1 -0
  155. package/lib/graphql/query/productLadderPromotion.handler.d.ts +3 -0
  156. package/lib/graphql/query/productLadderPromotion.handler.js +7 -0
  157. package/lib/graphql/query/productLadderPromotion.handler.js.map +1 -0
  158. package/lib/graphql/query/productPrice.handler.d.ts +3 -0
  159. package/lib/graphql/query/productPrice.handler.js +5 -0
  160. package/lib/graphql/query/productPrice.handler.js.map +1 -0
  161. package/lib/graphql/query/productSellers.handler.d.ts +3 -0
  162. package/lib/graphql/query/productSellers.handler.js +7 -0
  163. package/lib/graphql/query/productSellers.handler.js.map +1 -0
  164. package/lib/graphql/query/products.handler.d.ts +3 -0
  165. package/lib/graphql/query/products.handler.js +9 -0
  166. package/lib/graphql/query/products.handler.js.map +1 -0
  167. package/lib/graphql/query/promotionOffers.handler.d.ts +3 -0
  168. package/lib/graphql/query/promotionOffers.handler.js +7 -0
  169. package/lib/graphql/query/promotionOffers.handler.js.map +1 -0
  170. package/lib/graphql/query/store.handler.d.ts +3 -0
  171. package/lib/graphql/query/store.handler.js +7 -0
  172. package/lib/graphql/query/store.handler.js.map +1 -0
  173. package/lib/graphql/query/theme.handler.d.ts +3 -0
  174. package/lib/graphql/query/theme.handler.js +13 -0
  175. package/lib/graphql/query/theme.handler.js.map +1 -0
  176. package/lib/graphql/query/user.handler.d.ts +3 -0
  177. package/lib/graphql/query/user.handler.js +12 -0
  178. package/lib/graphql/query/user.handler.js.map +1 -0
  179. package/lib/helpers/FPI-events.d.ts +34 -0
  180. package/lib/helpers/FPI-events.js +590 -0
  181. package/lib/helpers/FPI-events.js.map +1 -0
  182. package/lib/helpers/utils.d.ts +7 -0
  183. package/lib/helpers/utils.js +101 -0
  184. package/lib/helpers/utils.js.map +1 -0
  185. package/lib/index.d.ts +7 -0
  186. package/lib/index.js +13 -0
  187. package/lib/index.js.map +1 -0
  188. package/lib/store/enums/keys.d.ts +35 -0
  189. package/lib/store/enums/keys.js +38 -0
  190. package/lib/store/enums/keys.js.map +1 -0
  191. package/lib/store/index.d.ts +24 -0
  192. package/lib/store/index.js +244 -0
  193. package/lib/store/index.js.map +1 -0
  194. package/lib/store/modules/custom.d.ts +8 -0
  195. package/lib/store/modules/custom.js +11 -0
  196. package/lib/store/modules/custom.js.map +1 -0
  197. package/lib/store/modules/payment.d.ts +6 -0
  198. package/lib/store/modules/payment.js +10 -0
  199. package/lib/store/modules/payment.js.map +1 -0
  200. package/lib/store/modules/theme.d.ts +17 -0
  201. package/lib/store/modules/theme.js +30 -0
  202. package/lib/store/modules/theme.js.map +1 -0
  203. package/lib/store/slices/address.d.ts +4 -0
  204. package/lib/store/slices/address.js +24 -0
  205. package/lib/store/slices/address.js.map +1 -0
  206. package/lib/store/slices/auth.d.ts +4 -0
  207. package/lib/store/slices/auth.js +25 -0
  208. package/lib/store/slices/auth.js.map +1 -0
  209. package/lib/store/slices/brands.d.ts +4 -0
  210. package/lib/store/slices/brands.js +18 -0
  211. package/lib/store/slices/brands.js.map +1 -0
  212. package/lib/store/slices/cart.d.ts +4 -0
  213. package/lib/store/slices/cart.js +62 -0
  214. package/lib/store/slices/cart.js.map +1 -0
  215. package/lib/store/slices/categories.d.ts +4 -0
  216. package/lib/store/slices/categories.js +17 -0
  217. package/lib/store/slices/categories.js.map +1 -0
  218. package/lib/store/slices/collection.d.ts +4 -0
  219. package/lib/store/slices/collection.js +25 -0
  220. package/lib/store/slices/collection.js.map +1 -0
  221. package/lib/store/slices/configuration.d.ts +4 -0
  222. package/lib/store/slices/configuration.js +45 -0
  223. package/lib/store/slices/configuration.js.map +1 -0
  224. package/lib/store/slices/content.d.ts +4 -0
  225. package/lib/store/slices/content.js +75 -0
  226. package/lib/store/slices/content.js.map +1 -0
  227. package/lib/store/slices/custom.d.ts +3 -0
  228. package/lib/store/slices/custom.js +17 -0
  229. package/lib/store/slices/custom.js.map +1 -0
  230. package/lib/store/slices/logistic.d.ts +4 -0
  231. package/lib/store/slices/logistic.js +81 -0
  232. package/lib/store/slices/logistic.js.map +1 -0
  233. package/lib/store/slices/order.d.ts +1 -0
  234. package/lib/store/slices/order.js +11 -0
  235. package/lib/store/slices/order.js.map +1 -0
  236. package/lib/store/slices/payment.d.ts +23 -0
  237. package/lib/store/slices/payment.js +57 -0
  238. package/lib/store/slices/payment.js.map +1 -0
  239. package/lib/store/slices/product.d.ts +4 -0
  240. package/lib/store/slices/product.js +70 -0
  241. package/lib/store/slices/product.js.map +1 -0
  242. package/lib/store/slices/products.d.ts +4 -0
  243. package/lib/store/slices/products.js +27 -0
  244. package/lib/store/slices/products.js.map +1 -0
  245. package/lib/store/slices/share.d.ts +1 -0
  246. package/lib/store/slices/share.js +11 -0
  247. package/lib/store/slices/share.js.map +1 -0
  248. package/lib/store/slices/theme.d.ts +25 -0
  249. package/lib/store/slices/theme.js +84 -0
  250. package/lib/store/slices/theme.js.map +1 -0
  251. package/lib/store/store.d.ts +64 -0
  252. package/lib/store/store.js +44 -0
  253. package/lib/store/store.js.map +1 -0
  254. package/lib/store/utils/gateways/ajiodhan.d.ts +8 -0
  255. package/lib/store/utils/gateways/ajiodhan.js +27 -0
  256. package/lib/store/utils/gateways/ajiodhan.js.map +1 -0
  257. package/lib/store/utils/gateways/ccavenue.d.ts +13 -0
  258. package/lib/store/utils/gateways/ccavenue.js +19 -0
  259. package/lib/store/utils/gateways/ccavenue.js.map +1 -0
  260. package/lib/store/utils/gateways/epaylater.d.ts +14 -0
  261. package/lib/store/utils/gateways/epaylater.js +28 -0
  262. package/lib/store/utils/gateways/epaylater.js.map +1 -0
  263. package/lib/store/utils/gateways/helper.d.ts +1 -0
  264. package/lib/store/utils/gateways/helper.js +17 -0
  265. package/lib/store/utils/gateways/helper.js.map +1 -0
  266. package/lib/store/utils/gateways/index.d.ts +1 -0
  267. package/lib/store/utils/gateways/index.js +27 -0
  268. package/lib/store/utils/gateways/index.js.map +1 -0
  269. package/lib/store/utils/gateways/jio.d.ts +12 -0
  270. package/lib/store/utils/gateways/jio.js +24 -0
  271. package/lib/store/utils/gateways/jio.js.map +1 -0
  272. package/lib/store/utils/gateways/jiopay.d.ts +21 -0
  273. package/lib/store/utils/gateways/jiopay.js +30 -0
  274. package/lib/store/utils/gateways/jiopay.js.map +1 -0
  275. package/lib/store/utils/gateways/juspay.d.ts +34 -0
  276. package/lib/store/utils/gateways/juspay.js +63 -0
  277. package/lib/store/utils/gateways/juspay.js.map +1 -0
  278. package/lib/store/utils/gateways/payumoney.d.ts +8 -0
  279. package/lib/store/utils/gateways/payumoney.js +17 -0
  280. package/lib/store/utils/gateways/payumoney.js.map +1 -0
  281. package/lib/store/utils/gateways/potlee.d.ts +63 -0
  282. package/lib/store/utils/gateways/potlee.js +315 -0
  283. package/lib/store/utils/gateways/potlee.js.map +1 -0
  284. package/lib/store/utils/gateways/razorpay.d.ts +46 -0
  285. package/lib/store/utils/gateways/razorpay.js +70 -0
  286. package/lib/store/utils/gateways/razorpay.js.map +1 -0
  287. package/lib/store/utils/gateways/rupifi.d.ts +17 -0
  288. package/lib/store/utils/gateways/rupifi.js +63 -0
  289. package/lib/store/utils/gateways/rupifi.js.map +1 -0
  290. package/lib/store/utils/gateways/simply.d.ts +43 -0
  291. package/lib/store/utils/gateways/simply.js +222 -0
  292. package/lib/store/utils/gateways/simply.js.map +1 -0
  293. package/lib/store/utils/gateways/standard_extension.d.ts +13 -0
  294. package/lib/store/utils/gateways/standard_extension.js +22 -0
  295. package/lib/store/utils/gateways/standard_extension.js.map +1 -0
  296. package/lib/store/utils/helper.d.ts +1 -0
  297. package/lib/store/utils/helper.js +17 -0
  298. package/lib/store/utils/helper.js.map +1 -0
  299. package/lib/store/utils/payment.d.ts +4 -0
  300. package/lib/store/utils/payment.js +496 -0
  301. package/lib/store/utils/payment.js.map +1 -0
  302. package/lib/store/utils/util.d.ts +14 -0
  303. package/lib/store/utils/util.js +67 -0
  304. package/lib/store/utils/util.js.map +1 -0
  305. package/lib/types/address.d.ts +7 -0
  306. package/lib/types/address.js +2 -0
  307. package/lib/types/address.js.map +1 -0
  308. package/lib/types/auth.d.ts +69 -0
  309. package/lib/types/auth.js +2 -0
  310. package/lib/types/auth.js.map +1 -0
  311. package/lib/types/brands.d.ts +6 -0
  312. package/lib/types/brands.js +2 -0
  313. package/lib/types/brands.js.map +1 -0
  314. package/lib/types/cart.d.ts +39 -0
  315. package/lib/types/cart.js +2 -0
  316. package/lib/types/cart.js.map +1 -0
  317. package/lib/types/categories.d.ts +5 -0
  318. package/lib/types/categories.js +2 -0
  319. package/lib/types/categories.js.map +1 -0
  320. package/lib/types/collection.d.ts +10 -0
  321. package/lib/types/collection.js +2 -0
  322. package/lib/types/collection.js.map +1 -0
  323. package/lib/types/configuration.d.ts +19 -0
  324. package/lib/types/configuration.js +2 -0
  325. package/lib/types/configuration.js.map +1 -0
  326. package/lib/types/content.d.ts +35 -0
  327. package/lib/types/content.js +2 -0
  328. package/lib/types/content.js.map +1 -0
  329. package/lib/types/custom.d.ts +12 -0
  330. package/lib/types/custom.js +2 -0
  331. package/lib/types/custom.js.map +1 -0
  332. package/lib/types/graphql.d.ts +11471 -0
  333. package/lib/types/graphql.js +198 -0
  334. package/lib/types/graphql.js.map +1 -0
  335. package/lib/types/index.d.ts +56 -0
  336. package/lib/types/index.js +2 -0
  337. package/lib/types/index.js.map +1 -0
  338. package/lib/types/logistic.d.ts +9 -0
  339. package/lib/types/logistic.js +2 -0
  340. package/lib/types/logistic.js.map +1 -0
  341. package/lib/types/product.d.ts +29 -0
  342. package/lib/types/product.js +2 -0
  343. package/lib/types/product.js.map +1 -0
  344. package/lib/types/products.d.ts +29 -0
  345. package/lib/types/products.js +2 -0
  346. package/lib/types/products.js.map +1 -0
  347. package/lib/types/theme.d.ts +26 -0
  348. package/lib/types/theme.js +2 -0
  349. package/lib/types/theme.js.map +1 -0
  350. package/package.json +45 -0
  351. package/schema.json +58765 -0
  352. package/webpack.config.js +23 -0
@@ -0,0 +1,7 @@
1
+ import { setpincodeDetails } from "../../store/slices/logistic";
2
+ export function pincodeDetailsHandler(pincodeDetails, dispatch, params) {
3
+ if (pincodeDetails) {
4
+ dispatch(setpincodeDetails(Object.assign(Object.assign({}, pincodeDetails), params)));
5
+ }
6
+ }
7
+ //# sourceMappingURL=pincodeDetails.handler.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pincodeDetails.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/pincodeDetails.handler.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAEhE,MAAM,UAAU,qBAAqB,CAAC,cAAmB,EAAE,QAAkC,EAAC,MAAa;IACvG,IAAI,cAAc,EAAE;QAChB,QAAQ,CAAC,iBAAiB,iCAAK,cAAc,GAAI,MAAM,EAAE,CAAC,CAAA;KAC7D;AACL,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { ThunkActionDispatch } from "redux-thunk";
2
+ import { PlatformConfig } from "../../types/graphql";
3
+ export declare function platformConfigHandler(platformConfig: PlatformConfig, dispatch: ThunkActionDispatch<any>): void;
@@ -0,0 +1,7 @@
1
+ import { setplatformConfig } from "../../store/slices/auth";
2
+ export function platformConfigHandler(platformConfig, dispatch) {
3
+ if (platformConfig) {
4
+ dispatch(setplatformConfig(platformConfig));
5
+ }
6
+ }
7
+ //# sourceMappingURL=platformConfig.handler.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"platformConfig.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/platformConfig.handler.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAE5D,MAAM,UAAU,qBAAqB,CAAC,cAA8B,EAAE,QAAkC;IACpG,IAAI,cAAc,EAAE;QAChB,QAAQ,CAAC,iBAAiB,CAAC,cAAc,CAAC,CAAC,CAAA;KAC9C;AACL,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { ThunkActionDispatch } from "redux-thunk";
2
+ import { Product } from "../../types/graphql";
3
+ export declare function productHandler(product: Product, dispatch: ThunkActionDispatch<any>, params: unknown, oldStore: unknown): void;
@@ -0,0 +1,12 @@
1
+ import { setProduct, setProductVariants } from "../../store/slices/product";
2
+ import { emitFPIEvent, FPI_EVENTS } from "../../helpers/FPI-events";
3
+ export function productHandler(product, dispatch, params, oldStore) {
4
+ if (product) {
5
+ dispatch(setProduct(product));
6
+ emitFPIEvent(FPI_EVENTS.PRODUCT_DETAIL_PAGE_VIEW, params, product, oldStore);
7
+ }
8
+ if (product.variants) {
9
+ dispatch(setProductVariants(product.variants));
10
+ }
11
+ }
12
+ //# sourceMappingURL=product.handler.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"product.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/product.handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAC5E,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEpE,MAAM,UAAU,cAAc,CAC5B,OAAgB,EAChB,QAAkC,EAClC,MAAe,EACf,QAAiB;IAEjB,IAAI,OAAO,EAAE;QACX,QAAQ,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC;QAC9B,YAAY,CACV,UAAU,CAAC,wBAAwB,EACnC,MAAM,EACN,OAAO,EACP,QAAQ,CACT,CAAA;KACF;IACD,IAAI,OAAO,CAAC,QAAQ,EAAE;QACpB,QAAQ,CAAC,kBAAkB,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC;KAChD;AACH,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { ProductLadderPromotion } from "../../types/graphql";
2
+ import { ThunkActionDispatch } from "redux-thunk";
3
+ export declare function productLadderPromotionHandler(productLadderPromotion: ProductLadderPromotion, dispatch: ThunkActionDispatch<any>): void;
@@ -0,0 +1,7 @@
1
+ import { setproductLadderPromotion } from "../../store/slices/cart";
2
+ export function productLadderPromotionHandler(productLadderPromotion, dispatch) {
3
+ if (productLadderPromotion) {
4
+ dispatch(setproductLadderPromotion(productLadderPromotion));
5
+ }
6
+ }
7
+ //# sourceMappingURL=productLadderPromotion.handler.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"productLadderPromotion.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/productLadderPromotion.handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,yBAAyB,EAAE,MAAM,yBAAyB,CAAC;AAEpE,MAAM,UAAU,6BAA6B,CAC3C,sBAA8C,EAC9C,QAAkC;IAElC,IAAI,sBAAsB,EAAE;QAC1B,QAAQ,CAAC,yBAAyB,CAAC,sBAAsB,CAAC,CAAC,CAAC;KAC7D;AACH,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { ProductSizePrice } from "../../types/graphql";
2
+ import { ThunkActionDispatch } from "redux-thunk";
3
+ export declare function productPriceHandler(productPrice: ProductSizePrice, dispatch: ThunkActionDispatch<any>, params: any): void;
@@ -0,0 +1,5 @@
1
+ import { setproductPrice } from "../../store/slices/product";
2
+ export function productPriceHandler(productPrice, dispatch, params) {
3
+ dispatch(setproductPrice(Object.assign(Object.assign({}, productPrice), params)));
4
+ }
5
+ //# sourceMappingURL=productPrice.handler.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"productPrice.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/productPrice.handler.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAE7D,MAAM,UAAU,mBAAmB,CACjC,YAA8B,EAC9B,QAAkC,EAClC,MAAW;IAET,QAAQ,CAAC,eAAe,iCAAK,YAAY,GAAK,MAAM,EAAE,CAAC,CAAC;AAC5D,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { ProductSellers } from "../../types/graphql";
2
+ import { ThunkActionDispatch } from "redux-thunk";
3
+ export declare function productSellersHandler(productSellers: ProductSellers, dispatch: ThunkActionDispatch<any>): void;
@@ -0,0 +1,7 @@
1
+ import { setproductSellers } from "../../store/slices/product";
2
+ export function productSellersHandler(productSellers, dispatch) {
3
+ if (productSellers) {
4
+ dispatch(setproductSellers(productSellers));
5
+ }
6
+ }
7
+ //# sourceMappingURL=productSellers.handler.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"productSellers.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/productSellers.handler.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAE/D,MAAM,UAAU,qBAAqB,CACnC,cAA8B,EAC9B,QAAkC;IAElC,IAAI,cAAc,EAAE;QAClB,QAAQ,CAAC,iBAAiB,CAAC,cAAc,CAAC,CAAC,CAAC;KAC7C;AACH,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { ProductConnection } from "../../types/graphql";
2
+ import { ThunkActionDispatch } from "redux-thunk";
3
+ export declare function productsHandler(products: ProductConnection, dispatch: ThunkActionDispatch<any>, params: unknown, oldStore: unknown): void;
@@ -0,0 +1,9 @@
1
+ import { setProducts } from "../../store/slices/products";
2
+ import { emitFPIEvent, FPI_EVENTS } from "../../helpers/FPI-events";
3
+ export function productsHandler(products, dispatch, params, oldStore) {
4
+ if (products) {
5
+ dispatch(setProducts(products));
6
+ emitFPIEvent(FPI_EVENTS.PRODUCT_LIST_VIEW, params, products, oldStore);
7
+ }
8
+ }
9
+ //# sourceMappingURL=products.handler.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"products.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/products.handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEpE,MAAM,UAAU,eAAe,CAC7B,QAA2B,EAC3B,QAAkC,EAClC,MAAe,EACf,QAAiB;IAEjB,IAAI,QAAQ,EAAE;QACZ,QAAQ,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC,CAAC;QAChC,YAAY,CACV,UAAU,CAAC,iBAAiB,EAC5B,MAAM,EACN,QAAQ,EACR,QAAQ,CACT,CAAA;KACF;AACH,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { PromotionOffer } from "../../types/graphql";
2
+ import { ThunkActionDispatch } from "redux-thunk";
3
+ export declare function promotionOffersHandler(promotionOffers: PromotionOffer, dispatch: ThunkActionDispatch<any>): void;
@@ -0,0 +1,7 @@
1
+ import { setpromotionOffers } from "../../store/slices/cart";
2
+ export function promotionOffersHandler(promotionOffers, dispatch) {
3
+ if (promotionOffers) {
4
+ dispatch(setpromotionOffers(promotionOffers));
5
+ }
6
+ }
7
+ //# sourceMappingURL=promotionOffers.handler.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"promotionOffers.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/promotionOffers.handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAE7D,MAAM,UAAU,sBAAsB,CACpC,eAA+B,EAC/B,QAAkC;IAElC,IAAI,eAAe,EAAE;QACnB,QAAQ,CAAC,kBAAkB,CAAC,eAAe,CAAC,CAAC,CAAC;KAC/C;AACH,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { Store } from "../../types/graphql";
2
+ import { ThunkActionDispatch } from "redux-thunk";
3
+ export declare function storeHandler(store: Store, dispatch: ThunkActionDispatch<any>): void;
@@ -0,0 +1,7 @@
1
+ import { setstore } from "../../store/slices/configuration";
2
+ export function storeHandler(store, dispatch) {
3
+ if (store) {
4
+ dispatch(setstore(store));
5
+ }
6
+ }
7
+ //# sourceMappingURL=store.handler.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"store.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/store.handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAE5D,MAAM,UAAU,YAAY,CAC1B,KAAY,EACZ,QAAkC;IAElC,IAAI,KAAK,EAAE;QACT,QAAQ,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC;KAC3B;AACH,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { ThunkActionDispatch } from "redux-thunk";
2
+ import { Theme } from "../../types/graphql";
3
+ export declare function themeHandler(theme: Theme, dispatch: ThunkActionDispatch<any>): void;
@@ -0,0 +1,13 @@
1
+ import { setPreviewTheme, setthemePageDetail, setthemePages } from "../../store/slices/theme";
2
+ export function themeHandler(theme, dispatch) {
3
+ if (theme === null || theme === void 0 ? void 0 : theme.preview_theme) {
4
+ dispatch(setPreviewTheme(theme.preview_theme));
5
+ }
6
+ if (theme.theme_page_detail) {
7
+ dispatch(setthemePageDetail(theme.theme_page_detail));
8
+ }
9
+ if (theme.theme_pages) {
10
+ dispatch(setthemePages(theme.theme_pages));
11
+ }
12
+ }
13
+ //# sourceMappingURL=theme.handler.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"theme.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/theme.handler.ts"],"names":[],"mappings":"AACA,OAAO,EAAmB,eAAe,EAAE,kBAAkB,EAAE,aAAa,EAAC,MAAM,0BAA0B,CAAC;AAI9G,MAAM,UAAU,YAAY,CAAC,KAAY,EAAE,QAAkC;IAEzE,IAAI,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,aAAa,EAAE;QACtB,QAAQ,CAAC,eAAe,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAA;KACjD;IACD,IAAI,KAAK,CAAC,iBAAiB,EAAE;QACzB,QAAQ,CAAC,kBAAkB,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC,CAAA;KACxD;IACD,IAAI,KAAK,CAAC,WAAW,EAAE;QACnB,QAAQ,CAAC,aAAa,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAA;KAC7C;AACL,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { ThunkActionDispatch } from "redux-thunk";
2
+ import { User } from "../../types/graphql";
3
+ export declare function userHandler(user: User, dispatch: ThunkActionDispatch<any>, params: unknown, oldStore: unknown): void;
@@ -0,0 +1,12 @@
1
+ import { setUserData } from "../../store/slices/auth";
2
+ import { emitFPIEvent, FPI_EVENTS } from "../../helpers/FPI-events";
3
+ export function userHandler(user, dispatch, params, oldStore) {
4
+ if (user === null || user === void 0 ? void 0 : user.logged_in_user) {
5
+ dispatch(setUserData(user.logged_in_user));
6
+ emitFPIEvent(FPI_EVENTS.LOG_IN, params, user.logged_in_user, oldStore);
7
+ }
8
+ if (user.logout) {
9
+ emitFPIEvent(FPI_EVENTS.LOG_OUT, params, user.logout, oldStore);
10
+ }
11
+ }
12
+ //# sourceMappingURL=user.handler.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"user.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/user.handler.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAEtD,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEpE,MAAM,UAAU,WAAW,CACzB,IAAU,EACV,QAAkC,EAClC,MAAe,EACf,QAAiB;IAEjB,IAAI,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,cAAc,EAAE;QACxB,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC;QAC3C,YAAY,CAAC,UAAU,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,CAAC,cAAc,EAAE,QAAQ,CAAC,CAAC;KACxE;IACD,IAAI,IAAI,CAAC,MAAM,EAAE;QACf,YAAY,CAAC,UAAU,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;KACjE;AACH,CAAC"}
@@ -0,0 +1,34 @@
1
+ import { EventEmitterFunction } from "../types";
2
+ declare global {
3
+ interface Window {
4
+ FPI: {
5
+ event: {
6
+ emit: (eventName: string, payload: any) => undefined;
7
+ };
8
+ };
9
+ fpi: any;
10
+ }
11
+ }
12
+ export type PayloadCreator = (result: any, param: any, store: any, oldStore?: any) => any;
13
+ type FPI_EVENTS = {
14
+ [key: string]: {
15
+ eventName: string;
16
+ payloadCreator: PayloadCreator;
17
+ };
18
+ };
19
+ export type EventMap = {
20
+ eventName: string;
21
+ payloadCreator: PayloadCreator;
22
+ };
23
+ export declare const FPI_EVENTS: FPI_EVENTS;
24
+ export declare function emitFPIEvent(event: EventMap | undefined, params: any, result: any, oldStore: any, eventEmitter?: EventEmitterFunction): boolean;
25
+ export declare function defaultFPIEmit(eventName: string, payload: any): void;
26
+ export declare function collectUnemittedEvents(customData: {
27
+ [x: string]: any;
28
+ hasOwnProperty: (arg0: string) => any;
29
+ }): any[];
30
+ export declare function emitAllEvents(events: any, FPI_EVENTS: {
31
+ [x: string]: any;
32
+ hasOwnProperty?: any;
33
+ }, storeInitialData: unknown): void;
34
+ export {};