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

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 +26 -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,198 @@
1
+ export var Action;
2
+ (function (Action) {
3
+ Action["Merge"] = "merge";
4
+ Action["Replace"] = "replace";
5
+ })(Action || (Action = {}));
6
+ export var ActionEnum;
7
+ (function (ActionEnum) {
8
+ ActionEnum["Merge"] = "merge";
9
+ ActionEnum["Replace"] = "replace";
10
+ })(ActionEnum || (ActionEnum = {}));
11
+ export var AppType;
12
+ (function (AppType) {
13
+ AppType["Development"] = "development";
14
+ AppType["Live"] = "live";
15
+ })(AppType || (AppType = {}));
16
+ export var CommunicationActionEnum;
17
+ (function (CommunicationActionEnum) {
18
+ CommunicationActionEnum["Optin"] = "optin";
19
+ CommunicationActionEnum["Optout"] = "optout";
20
+ })(CommunicationActionEnum || (CommunicationActionEnum = {}));
21
+ export var CommunicationChannelEnum;
22
+ (function (CommunicationChannelEnum) {
23
+ CommunicationChannelEnum["Email"] = "email";
24
+ CommunicationChannelEnum["Sms"] = "sms";
25
+ CommunicationChannelEnum["Whatsapp"] = "whatsapp";
26
+ })(CommunicationChannelEnum || (CommunicationChannelEnum = {}));
27
+ export var DataLoaderType;
28
+ (function (DataLoaderType) {
29
+ DataLoaderType["Function"] = "function";
30
+ DataLoaderType["Url"] = "url";
31
+ })(DataLoaderType || (DataLoaderType = {}));
32
+ export var LocalityEnum;
33
+ (function (LocalityEnum) {
34
+ LocalityEnum["Pincode"] = "pincode";
35
+ LocalityEnum["Sector"] = "sector";
36
+ })(LocalityEnum || (LocalityEnum = {}));
37
+ export var LocalityType;
38
+ (function (LocalityType) {
39
+ LocalityType["City"] = "city";
40
+ LocalityType["Pincode"] = "pincode";
41
+ LocalityType["Sector"] = "sector";
42
+ LocalityType["State"] = "state";
43
+ })(LocalityType || (LocalityType = {}));
44
+ export var LocationTypeEnum;
45
+ (function (LocationTypeEnum) {
46
+ LocationTypeEnum["City"] = "city";
47
+ LocationTypeEnum["Country"] = "country";
48
+ LocationTypeEnum["State"] = "state";
49
+ })(LocationTypeEnum || (LocationTypeEnum = {}));
50
+ export var Operation;
51
+ (function (Operation) {
52
+ Operation["RemoveItem"] = "remove_item";
53
+ Operation["UpdateItem"] = "update_item";
54
+ })(Operation || (Operation = {}));
55
+ export var PageTypes;
56
+ (function (PageTypes) {
57
+ PageTypes["Custom"] = "custom";
58
+ PageTypes["Sections"] = "sections";
59
+ PageTypes["System"] = "system";
60
+ })(PageTypes || (PageTypes = {}));
61
+ export var PageVisibilityOfItem;
62
+ (function (PageVisibilityOfItem) {
63
+ PageVisibilityOfItem["Pdp"] = "pdp";
64
+ })(PageVisibilityOfItem || (PageVisibilityOfItem = {}));
65
+ export var PhoneTypeEnum;
66
+ (function (PhoneTypeEnum) {
67
+ PhoneTypeEnum["PhoneNumber"] = "phone_number";
68
+ PhoneTypeEnum["Tollfree"] = "tollfree";
69
+ })(PhoneTypeEnum || (PhoneTypeEnum = {}));
70
+ export var PriorityEnum;
71
+ (function (PriorityEnum) {
72
+ PriorityEnum["High"] = "high";
73
+ PriorityEnum["Low"] = "low";
74
+ PriorityEnum["Medium"] = "medium";
75
+ PriorityEnum["Urgent"] = "urgent";
76
+ })(PriorityEnum || (PriorityEnum = {}));
77
+ export var PushTokenAction;
78
+ (function (PushTokenAction) {
79
+ PushTokenAction["Create"] = "create";
80
+ PushTokenAction["Reset"] = "reset";
81
+ PushTokenAction["Update"] = "update";
82
+ })(PushTokenAction || (PushTokenAction = {}));
83
+ export var RedirectType;
84
+ (function (RedirectType) {
85
+ RedirectType["AppStore"] = "app_store";
86
+ RedirectType["Web"] = "web";
87
+ })(RedirectType || (RedirectType = {}));
88
+ export var ResponseEnum;
89
+ (function (ResponseEnum) {
90
+ ResponseEnum["No"] = "no";
91
+ ResponseEnum["Yes"] = "yes";
92
+ })(ResponseEnum || (ResponseEnum = {}));
93
+ export var SelectedType;
94
+ (function (SelectedType) {
95
+ SelectedType["Exact"] = "exact";
96
+ SelectedType["None"] = "none";
97
+ SelectedType["Query"] = "query";
98
+ })(SelectedType || (SelectedType = {}));
99
+ export var SessionEnum;
100
+ (function (SessionEnum) {
101
+ SessionEnum["Days"] = "Days";
102
+ SessionEnum["Hours"] = "Hours";
103
+ SessionEnum["Minutes"] = "Minutes";
104
+ })(SessionEnum || (SessionEnum = {}));
105
+ export var SimilarListItem;
106
+ (function (SimilarListItem) {
107
+ SimilarListItem["Basic"] = "basic";
108
+ SimilarListItem["Brand"] = "brand";
109
+ SimilarListItem["Category"] = "category";
110
+ SimilarListItem["Price"] = "price";
111
+ SimilarListItem["Seller"] = "seller";
112
+ SimilarListItem["Specs"] = "specs";
113
+ SimilarListItem["Visual"] = "visual";
114
+ })(SimilarListItem || (SimilarListItem = {}));
115
+ export var Sort_On;
116
+ (function (Sort_On) {
117
+ Sort_On["DiscountAsc"] = "discount_asc";
118
+ Sort_On["DiscountDsc"] = "discount_dsc";
119
+ Sort_On["Latest"] = "latest";
120
+ Sort_On["Popular"] = "popular";
121
+ Sort_On["PriceAsc"] = "price_asc";
122
+ Sort_On["PriceDsc"] = "price_dsc";
123
+ })(Sort_On || (Sort_On = {}));
124
+ export var StoreType;
125
+ (function (StoreType) {
126
+ StoreType["Hard"] = "hard";
127
+ StoreType["Soft"] = "soft";
128
+ })(StoreType || (StoreType = {}));
129
+ export var TagPositionEnum;
130
+ (function (TagPositionEnum) {
131
+ TagPositionEnum["BodyBottom"] = "body_bottom";
132
+ TagPositionEnum["BodyTop"] = "body_top";
133
+ TagPositionEnum["Head"] = "head";
134
+ })(TagPositionEnum || (TagPositionEnum = {}));
135
+ export var TagSubType;
136
+ (function (TagSubType) {
137
+ TagSubType["External"] = "external";
138
+ TagSubType["Inline"] = "inline";
139
+ })(TagSubType || (TagSubType = {}));
140
+ export var TagType;
141
+ (function (TagType) {
142
+ TagType["Css"] = "css";
143
+ TagType["Js"] = "js";
144
+ })(TagType || (TagType = {}));
145
+ export var ThemeTypeEnum;
146
+ (function (ThemeTypeEnum) {
147
+ ThemeTypeEnum["React"] = "react";
148
+ ThemeTypeEnum["Vue2"] = "vue2";
149
+ })(ThemeTypeEnum || (ThemeTypeEnum = {}));
150
+ export var TicketAssetTypeEnum;
151
+ (function (TicketAssetTypeEnum) {
152
+ TicketAssetTypeEnum["Brand"] = "brand";
153
+ TicketAssetTypeEnum["Collection"] = "collection";
154
+ TicketAssetTypeEnum["File"] = "file";
155
+ TicketAssetTypeEnum["Image"] = "image";
156
+ TicketAssetTypeEnum["Order"] = "order";
157
+ TicketAssetTypeEnum["Product"] = "product";
158
+ TicketAssetTypeEnum["Shipment"] = "shipment";
159
+ TicketAssetTypeEnum["Video"] = "video";
160
+ TicketAssetTypeEnum["Youtube"] = "youtube";
161
+ })(TicketAssetTypeEnum || (TicketAssetTypeEnum = {}));
162
+ export var TicketSourceEnum;
163
+ (function (TicketSourceEnum) {
164
+ TicketSourceEnum["PlatformPanel"] = "platform_panel";
165
+ TicketSourceEnum["SalesChannel"] = "sales_channel";
166
+ })(TicketSourceEnum || (TicketSourceEnum = {}));
167
+ export var Type;
168
+ (function (Type) {
169
+ Type["Permanent"] = "permanent";
170
+ Type["Temporary"] = "temporary";
171
+ })(Type || (Type = {}));
172
+ export var Unit;
173
+ (function (Unit) {
174
+ Unit["Cm"] = "cm";
175
+ Unit["G"] = "g";
176
+ Unit["Kg"] = "kg";
177
+ Unit["L"] = "l";
178
+ Unit["M"] = "m";
179
+ Unit["Ml"] = "ml";
180
+ Unit["Nos"] = "nos";
181
+ Unit["Pack"] = "pack";
182
+ })(Unit || (Unit = {}));
183
+ export var UserAction;
184
+ (function (UserAction) {
185
+ UserAction["Resend"] = "resend";
186
+ UserAction["Send"] = "send";
187
+ })(UserAction || (UserAction = {}));
188
+ export var WebRedirectType;
189
+ (function (WebRedirectType) {
190
+ WebRedirectType["Web"] = "web";
191
+ })(WebRedirectType || (WebRedirectType = {}));
192
+ export var TemplateNameEnum;
193
+ (function (TemplateNameEnum) {
194
+ TemplateNameEnum["CheckoutForm"] = "checkout_form";
195
+ TemplateNameEnum["DefaultDisplay"] = "default_display";
196
+ TemplateNameEnum["StoreOsForm"] = "store_os_form";
197
+ })(TemplateNameEnum || (TemplateNameEnum = {}));
198
+ //# sourceMappingURL=graphql.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"graphql.js","sourceRoot":"","sources":["../../src/types/graphql.ts"],"names":[],"mappings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B,sDAAkC,CAAA;IAClC,iDAA6B,CAAA;AAC/B,CAAC,EAJW,gBAAgB,KAAhB,gBAAgB,QAI3B"}
@@ -0,0 +1,56 @@
1
+ import { SerializedError } from "@reduxjs/toolkit";
2
+ import { AnyAction } from "redux";
3
+ export interface ExtraArguments {
4
+ extra: {};
5
+ rejectValue: SerializedError;
6
+ }
7
+ export type CommonAsyncLoadingTypes = {
8
+ loading?: boolean;
9
+ error?: any;
10
+ };
11
+ export type AsyncThunkPromise<T> = Promise<{
12
+ meta?: any;
13
+ type: string;
14
+ payload?: T;
15
+ error?: unknown;
16
+ }>;
17
+ export type AsyncThunkCompleted<T> = {
18
+ meta?: any;
19
+ type: string;
20
+ payload?: T;
21
+ error?: unknown;
22
+ };
23
+ export type FPIClientOptions = {
24
+ applicationID: string;
25
+ applicationToken: string;
26
+ domain: string;
27
+ storeInitialData: unknown;
28
+ };
29
+ export type ProductListingOptions = {
30
+ q?: string;
31
+ f?: string;
32
+ filters?: boolean;
33
+ sortOn?: string;
34
+ pageId?: string;
35
+ pageSize?: number;
36
+ pageNo?: number;
37
+ pageType?: string;
38
+ };
39
+ export type GetPageOptions = {
40
+ pageValue: string;
41
+ themeId: string;
42
+ };
43
+ export type ActionGenerators = {
44
+ [k in string]: (arg0: any) => AnyAction;
45
+ };
46
+ export type CustomAction<T> = {
47
+ type: string;
48
+ payload: T;
49
+ };
50
+ export type SimplPaymentConfig = {
51
+ env: string;
52
+ simpl: {
53
+ key: string;
54
+ };
55
+ };
56
+ export type EventEmitterFunction = (event: string, payload: any) => void;
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":""}
@@ -0,0 +1,9 @@
1
+ import { CommonAsyncLoadingTypes } from ".";
2
+ export type Countries = Partial<any & CommonAsyncLoadingTypes>;
3
+ export type ProductTAT = Partial<any & CommonAsyncLoadingTypes>;
4
+ export type PincodeDetails = Partial<any & CommonAsyncLoadingTypes>;
5
+ export type LogisticSlice = {
6
+ countries: Countries;
7
+ product_tat: ProductTAT;
8
+ pincode_details: PincodeDetails;
9
+ };
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=logistic.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"logistic.js","sourceRoot":"","sources":["../../src/types/logistic.ts"],"names":[],"mappings":""}
@@ -0,0 +1,29 @@
1
+ import { CommonAsyncLoadingTypes } from ".";
2
+ export type ProductDetails = Partial<any & CommonAsyncLoadingTypes>;
3
+ export type ProductVariants = Partial<any & CommonAsyncLoadingTypes>;
4
+ export type ProductMeta = Partial<any & CommonAsyncLoadingTypes>;
5
+ export type BulkPrice = Partial<any & CommonAsyncLoadingTypes>;
6
+ export type SimilarCompareProducts = Partial<any & CommonAsyncLoadingTypes>;
7
+ export type FrequentlyComparedProducts = Partial<any & CommonAsyncLoadingTypes>;
8
+ export type ProductPriceBySlug = Partial<any & CommonAsyncLoadingTypes>;
9
+ export type ProductSellerBySlug = Partial<any & CommonAsyncLoadingTypes>;
10
+ export type FollowByIdParamSlug = Partial<any & CommonAsyncLoadingTypes>;
11
+ export type FollowerCountByIdSlug = Partial<any & CommonAsyncLoadingTypes>;
12
+ export type FollowedList = Partial<any & CommonAsyncLoadingTypes>;
13
+ export type FollowIdsResponseSlug = Partial<any & CommonAsyncLoadingTypes>;
14
+ export type ProductSlice = {
15
+ product_details: ProductDetails;
16
+ product_variants: ProductVariants;
17
+ product_meta: ProductMeta;
18
+ bulk_price: BulkPrice;
19
+ similar_compare_products: SimilarCompareProducts;
20
+ frequently_compared_products: FrequentlyComparedProducts;
21
+ product_price_by_slug: ProductPriceBySlug;
22
+ product_seller_by_slug: ProductSellerBySlug;
23
+ follow_by_id: FollowByIdParamSlug;
24
+ follower_count_by_id: FollowerCountByIdSlug;
25
+ followed_listing: FollowedList;
26
+ fetch_follow_ids: FollowIdsResponseSlug;
27
+ unfollow_by_id: FollowByIdParamSlug;
28
+ followed_products: any;
29
+ };
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=product.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"product.js","sourceRoot":"","sources":["../../src/types/product.ts"],"names":[],"mappings":""}
@@ -0,0 +1,29 @@
1
+ import { CommonAsyncLoadingTypes } from ".";
2
+ export type FetchProductsOptions = {
3
+ f: any;
4
+ q: any;
5
+ pageId: any;
6
+ pageSize: number;
7
+ sortOn: string;
8
+ pageNo: any;
9
+ filters: any;
10
+ };
11
+ export type FetchProductsResponse = {
12
+ data: any;
13
+ options: FetchProductsOptions;
14
+ };
15
+ export type ProductLists = Partial<any & CommonAsyncLoadingTypes>;
16
+ export type ProductDetail = Partial<any & CommonAsyncLoadingTypes>;
17
+ export type CategoryDetail = Partial<any & CommonAsyncLoadingTypes>;
18
+ export type BrandDetail = Partial<any & CommonAsyncLoadingTypes>;
19
+ export type CollectionDetail = Partial<any & CommonAsyncLoadingTypes>;
20
+ export type SearchResults = Partial<any & CommonAsyncLoadingTypes>;
21
+ export type ProductsSlice = {
22
+ product_lists: ProductLists;
23
+ product_listing_meta: ProductDetail;
24
+ search_results: SearchResults;
25
+ product_search_results: ProductLists;
26
+ category_listing_meta: CategoryDetail;
27
+ collection_listing_meta: BrandDetail;
28
+ brand_listing_meta: CollectionDetail;
29
+ };
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=products.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"products.js","sourceRoot":"","sources":["../../src/types/products.ts"],"names":[],"mappings":""}
@@ -0,0 +1,26 @@
1
+ import { CommonAsyncLoadingTypes } from ".";
2
+ export type Theme = Partial<any & CommonAsyncLoadingTypes>;
3
+ export type Page = Partial<any & CommonAsyncLoadingTypes>;
4
+ export type ThemeSlice = {
5
+ theme: Theme;
6
+ appliedTheme: Theme;
7
+ sectionKeys: any;
8
+ themePages: Page;
9
+ page: Page;
10
+ allPages: Record<string, Page>;
11
+ };
12
+ export type DragSectionEvent = {
13
+ index: number;
14
+ newIndex: number;
15
+ };
16
+ export type AddSectionEvent = {
17
+ name: string;
18
+ counter: number;
19
+ };
20
+ export type RemoveSection = {
21
+ removedIndex: number;
22
+ };
23
+ export type UpdateSection = {
24
+ section: object;
25
+ index: number;
26
+ };
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=theme.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"theme.js","sourceRoot":"","sources":["../../src/types/theme.ts"],"names":[],"mappings":""}
package/package.json ADDED
@@ -0,0 +1,45 @@
1
+ {
2
+ "name": "@gofynd/fdk-store-gql",
3
+ "version": "v3.0.38-beta.11",
4
+ "description": "FPI Store bridging library",
5
+ "main": "./lib/index.js",
6
+ "module": "./lib/index.js",
7
+ "types": "./lib/index.d.ts",
8
+ "scripts": {
9
+ "clean": "rm -rf lib",
10
+ "build": "npm run clean && npm run build:tsc",
11
+ "build:tsc": "tsc -m es6 --outDir lib",
12
+ "build:watch": "tsc -m es6 --outDir lib --watch",
13
+ "test": "jest --config jest.config.js --json --outputFile='./coverage/coverage.json'",
14
+ "test:coverage": "jest --coverage",
15
+ "doc": "typedoc --plugin typedoc-plugin-missing-exports --plugin typedoc-plugin-markdown",
16
+ "local": "webpack --watch",
17
+ "generate": "graphql-codegen"
18
+ },
19
+ "devDependencies": {
20
+ "@graphql-codegen/cli": "^5.0.2",
21
+ "@graphql-codegen/client-preset": "^4.3.0",
22
+ "@types/crypto-js": "^4.1.1",
23
+ "@types/jest": "^29.5.4",
24
+ "@types/node": "^20.5.9",
25
+ "@types/qs": "^6.9.7",
26
+ "jest": "^29.6.4",
27
+ "jest-environment-jsdom": "^29.7.0",
28
+ "shx": "^0.3.4",
29
+ "ts-jest": "^29.1.1",
30
+ "ts-loader": "^9.4.2",
31
+ "typescript": "^4.9.5",
32
+ "webpack": "^5.92.0",
33
+ "webpack-cli": "^5.1.4"
34
+ },
35
+ "dependencies": {
36
+ "@reduxjs/toolkit": "^1.9.3",
37
+ "buffer": "^6.0.3",
38
+ "cross-fetch": "^4.0.0",
39
+ "crypto-js": "^4.1.1",
40
+ "graphql": "^16.9.0",
41
+ "qs": "^6.11.2",
42
+ "redux": "^4.2.1",
43
+ "url": "^0.11.0"
44
+ }
45
+ }