@gofynd/fdk-store-gql 3.0.52-beta.2 → 3.0.53

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 (79) hide show
  1. package/lib/graphql/mutations/UnFollowById.handler.d.ts +1 -1
  2. package/lib/graphql/mutations/UnFollowById.handler.js +2 -2
  3. package/lib/graphql/mutations/UnFollowById.handler.js.map +1 -1
  4. package/lib/graphql/mutations/addItemsToCart.handler.d.ts +1 -1
  5. package/lib/graphql/mutations/addItemsToCart.handler.js +2 -2
  6. package/lib/graphql/mutations/addItemsToCart.handler.js.map +1 -1
  7. package/lib/graphql/mutations/followById.handler.d.ts +1 -1
  8. package/lib/graphql/mutations/followById.handler.js +2 -2
  9. package/lib/graphql/mutations/followById.handler.js.map +1 -1
  10. package/lib/graphql/mutations/loginWithAppleIOS.handler.d.ts +1 -1
  11. package/lib/graphql/mutations/loginWithAppleIOS.handler.js +2 -2
  12. package/lib/graphql/mutations/loginWithAppleIOS.handler.js.map +1 -1
  13. package/lib/graphql/mutations/loginWithEmailAndPassword.handler.d.ts +1 -1
  14. package/lib/graphql/mutations/loginWithEmailAndPassword.handler.js +2 -2
  15. package/lib/graphql/mutations/loginWithEmailAndPassword.handler.js.map +1 -1
  16. package/lib/graphql/mutations/loginWithFacebook.handler.d.ts +1 -1
  17. package/lib/graphql/mutations/loginWithFacebook.handler.js +2 -2
  18. package/lib/graphql/mutations/loginWithFacebook.handler.js.map +1 -1
  19. package/lib/graphql/mutations/loginWithGoogle.handler.d.ts +1 -1
  20. package/lib/graphql/mutations/loginWithGoogle.handler.js +2 -2
  21. package/lib/graphql/mutations/loginWithGoogle.handler.js.map +1 -1
  22. package/lib/graphql/mutations/selectAddress.handler.d.ts +1 -1
  23. package/lib/graphql/mutations/selectAddress.handler.js +2 -2
  24. package/lib/graphql/mutations/selectAddress.handler.js.map +1 -1
  25. package/lib/graphql/mutations/selectPaymentMode.handler.d.ts +1 -1
  26. package/lib/graphql/mutations/selectPaymentMode.handler.js +2 -2
  27. package/lib/graphql/mutations/selectPaymentMode.handler.js.map +1 -1
  28. package/lib/graphql/mutations/updateCart.handler.d.ts +1 -1
  29. package/lib/graphql/mutations/updateCart.handler.js +3 -3
  30. package/lib/graphql/mutations/updateCart.handler.js.map +1 -1
  31. package/lib/graphql/mutations/updateProfile.handler.d.ts +1 -1
  32. package/lib/graphql/mutations/updateProfile.handler.js +2 -2
  33. package/lib/graphql/mutations/updateProfile.handler.js.map +1 -1
  34. package/lib/graphql/mutations/updateShipmentStatus.handler.d.ts +1 -1
  35. package/lib/graphql/mutations/updateShipmentStatus.handler.js +2 -2
  36. package/lib/graphql/mutations/updateShipmentStatus.handler.js.map +1 -1
  37. package/lib/graphql/mutations/verifyEmailOtp.handler.d.ts +1 -1
  38. package/lib/graphql/mutations/verifyEmailOtp.handler.js +2 -2
  39. package/lib/graphql/mutations/verifyEmailOtp.handler.js.map +1 -1
  40. package/lib/graphql/mutations/verifyMobileOTP.handler.d.ts +1 -1
  41. package/lib/graphql/mutations/verifyMobileOTP.handler.js +2 -2
  42. package/lib/graphql/mutations/verifyMobileOTP.handler.js.map +1 -1
  43. package/lib/graphql/query/collection.handler.d.ts +1 -1
  44. package/lib/graphql/query/collection.handler.js +2 -2
  45. package/lib/graphql/query/collection.handler.js.map +1 -1
  46. package/lib/graphql/query/deliveryPromise.handler.d.ts +1 -1
  47. package/lib/graphql/query/deliveryPromise.handler.js +2 -2
  48. package/lib/graphql/query/deliveryPromise.handler.js.map +1 -1
  49. package/lib/graphql/query/order.handler.d.ts +1 -1
  50. package/lib/graphql/query/order.handler.js +2 -2
  51. package/lib/graphql/query/order.handler.js.map +1 -1
  52. package/lib/graphql/query/product.handler.d.ts +1 -1
  53. package/lib/graphql/query/product.handler.js +2 -2
  54. package/lib/graphql/query/product.handler.js.map +1 -1
  55. package/lib/graphql/query/productPrice.handler.d.ts +1 -1
  56. package/lib/graphql/query/productPrice.handler.js +2 -2
  57. package/lib/graphql/query/productPrice.handler.js.map +1 -1
  58. package/lib/graphql/query/products.handler.d.ts +1 -1
  59. package/lib/graphql/query/products.handler.js +2 -2
  60. package/lib/graphql/query/products.handler.js.map +1 -1
  61. package/lib/graphql/query/productsPriceWithFulfillmentOption.handler.d.ts +1 -1
  62. package/lib/graphql/query/productsPriceWithFulfillmentOption.handler.js +2 -2
  63. package/lib/graphql/query/productsPriceWithFulfillmentOption.handler.js.map +1 -1
  64. package/lib/graphql/query/searchProduct.handler.d.ts +1 -1
  65. package/lib/graphql/query/searchProduct.handler.js +2 -2
  66. package/lib/graphql/query/searchProduct.handler.js.map +1 -1
  67. package/lib/graphql/query/user.handler.d.ts +1 -1
  68. package/lib/graphql/query/user.handler.js +2 -2
  69. package/lib/graphql/query/user.handler.js.map +1 -1
  70. package/lib/store/index.d.ts +0 -1
  71. package/lib/store/index.js +0 -18
  72. package/lib/store/index.js.map +1 -1
  73. package/lib/store/modules/graphqlModifications.js +52 -23
  74. package/lib/store/modules/graphqlModifications.js.map +1 -1
  75. package/lib/store/slices/payment.js +13 -20
  76. package/lib/store/slices/payment.js.map +1 -1
  77. package/lib/store/utils/payment.js +30 -38
  78. package/lib/store/utils/payment.js.map +1 -1
  79. package/package.json +2 -2
@@ -1,3 +1,3 @@
1
1
  import type { ThunkActionDispatch } from "redux-thunk";
2
2
  import { FollowPostResponse } from "../../types/graphql";
3
- export declare function unfollowByIdHandler(res: FollowPostResponse, dispatch: ThunkActionDispatch<any>, params: unknown, oldStore: unknown): void;
3
+ export declare function unfollowByIdHandler(res: FollowPostResponse, dispatch: ThunkActionDispatch<any>, params: unknown, oldStore: unknown, options?: any): void;
@@ -1,5 +1,5 @@
1
1
  import { emitFPIEvent, FPI_EVENTS } from "../../helpers/FPI-events";
2
- export function unfollowByIdHandler(res, dispatch, params, oldStore) {
3
- emitFPIEvent(FPI_EVENTS.REMOVE_FROM_WISHLIST, params, res, oldStore, dispatch);
2
+ export function unfollowByIdHandler(res, dispatch, params, oldStore, options) {
3
+ emitFPIEvent(FPI_EVENTS.REMOVE_FROM_WISHLIST, params, res, oldStore, dispatch, options);
4
4
  }
5
5
  //# sourceMappingURL=UnFollowById.handler.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"UnFollowById.handler.js","sourceRoot":"","sources":["../../../src/graphql/mutations/UnFollowById.handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEpE,MAAM,UAAU,mBAAmB,CACjC,GAAuB,EACvB,QAAkC,EAClC,MAAe,EACf,QAAiB;IAEjB,YAAY,CACV,UAAU,CAAC,oBAAoB,EAC/B,MAAM,EACN,GAAG,EACH,QAAQ,EACR,QAAQ,CACT,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"UnFollowById.handler.js","sourceRoot":"","sources":["../../../src/graphql/mutations/UnFollowById.handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEpE,MAAM,UAAU,mBAAmB,CACjC,GAAuB,EACvB,QAAkC,EAClC,MAAe,EACf,QAAiB,EACjB,OAAa;IAEb,YAAY,CACV,UAAU,CAAC,oBAAoB,EAC/B,MAAM,EACN,GAAG,EACH,QAAQ,EACR,QAAQ,EACR,OAAO,CACR,CAAC;AACJ,CAAC"}
@@ -1,3 +1,3 @@
1
1
  import type { ThunkActionDispatch } from "redux-thunk";
2
2
  import { AddCartDetailResponse } from "../../types/graphql";
3
- export declare function addItemsToCartHandler(addItemsToCart: AddCartDetailResponse, dispatch: ThunkActionDispatch<any>, params: unknown, oldStore: unknown): void;
3
+ export declare function addItemsToCartHandler(addItemsToCart: AddCartDetailResponse, dispatch: ThunkActionDispatch<any>, params: unknown, oldStore: unknown, options?: any): void;
@@ -1,9 +1,9 @@
1
1
  import { setaddItemsToCart } from "../../store/slices/cart";
2
2
  import { emitFPIEvent, FPI_EVENTS } from "../../helpers/FPI-events";
3
- export function addItemsToCartHandler(addItemsToCart, dispatch, params, oldStore) {
3
+ export function addItemsToCartHandler(addItemsToCart, dispatch, params, oldStore, options) {
4
4
  if (addItemsToCart) {
5
5
  dispatch(setaddItemsToCart(addItemsToCart));
6
- emitFPIEvent(FPI_EVENTS.ADD_TO_CART, params, addItemsToCart, oldStore, dispatch);
6
+ emitFPIEvent(FPI_EVENTS.ADD_TO_CART, params, addItemsToCart, oldStore, dispatch, options);
7
7
  }
8
8
  }
9
9
  //# sourceMappingURL=addItemsToCart.handler.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"addItemsToCart.handler.js","sourceRoot":"","sources":["../../../src/graphql/mutations/addItemsToCart.handler.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAE5D,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEpE,MAAM,UAAU,qBAAqB,CACnC,cAAqC,EACrC,QAAkC,EAClC,MAAe,EACf,QAAiB;IAEjB,IAAI,cAAc,EAAE;QAClB,QAAQ,CAAC,iBAAiB,CAAC,cAAc,CAAC,CAAC,CAAC;QAC5C,YAAY,CACV,UAAU,CAAC,WAAW,EACtB,MAAM,EACN,cAAc,EACd,QAAQ,EACR,QAAQ,CACT,CAAC;KACH;AACH,CAAC"}
1
+ {"version":3,"file":"addItemsToCart.handler.js","sourceRoot":"","sources":["../../../src/graphql/mutations/addItemsToCart.handler.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAE5D,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEpE,MAAM,UAAU,qBAAqB,CACnC,cAAqC,EACrC,QAAkC,EAClC,MAAe,EACf,QAAiB,EACjB,OAAa;IAEb,IAAI,cAAc,EAAE;QAClB,QAAQ,CAAC,iBAAiB,CAAC,cAAc,CAAC,CAAC,CAAC;QAC5C,YAAY,CACV,UAAU,CAAC,WAAW,EACtB,MAAM,EACN,cAAc,EACd,QAAQ,EACR,QAAQ,EACR,OAAO,CACR,CAAC;KACH;AACH,CAAC"}
@@ -1,3 +1,3 @@
1
1
  import type { ThunkActionDispatch } from "redux-thunk";
2
2
  import { FollowPostResponse } from "../../types/graphql";
3
- export declare function followByIdHandler(res: FollowPostResponse, dispatch: ThunkActionDispatch<any>, params: unknown, oldStore: unknown): void;
3
+ export declare function followByIdHandler(res: FollowPostResponse, dispatch: ThunkActionDispatch<any>, params: unknown, oldStore: unknown, options?: any): void;
@@ -1,5 +1,5 @@
1
1
  import { emitFPIEvent, FPI_EVENTS } from "../../helpers/FPI-events";
2
- export function followByIdHandler(res, dispatch, params, oldStore) {
3
- emitFPIEvent(FPI_EVENTS.ADD_TO_WISHLIST, params, res, oldStore, dispatch);
2
+ export function followByIdHandler(res, dispatch, params, oldStore, options) {
3
+ emitFPIEvent(FPI_EVENTS.ADD_TO_WISHLIST, params, res, oldStore, dispatch, options);
4
4
  }
5
5
  //# sourceMappingURL=followById.handler.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"followById.handler.js","sourceRoot":"","sources":["../../../src/graphql/mutations/followById.handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEpE,MAAM,UAAU,iBAAiB,CAC/B,GAAuB,EACvB,QAAkC,EAClC,MAAe,EACf,QAAiB;IAEjB,YAAY,CAAC,UAAU,CAAC,eAAe,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,EAAE,QAAQ,CAAC,CAAC;AAC5E,CAAC"}
1
+ {"version":3,"file":"followById.handler.js","sourceRoot":"","sources":["../../../src/graphql/mutations/followById.handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEpE,MAAM,UAAU,iBAAiB,CAC/B,GAAuB,EACvB,QAAkC,EAClC,MAAe,EACf,QAAiB,EACjB,OAAa;IAEb,YAAY,CAAC,UAAU,CAAC,eAAe,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,EAAE,QAAQ,EAAE,OAAO,CAAC,CAAC;AACrF,CAAC"}
@@ -1,3 +1,3 @@
1
1
  import type { ThunkActionDispatch } from "redux-thunk";
2
2
  import { AuthSuccess } from "../../types/graphql";
3
- export declare function loginWithAppleIOSHandler(loginWithAppleIOS: AuthSuccess, dispatch: ThunkActionDispatch<any>, params: any, oldStore: unknown): void;
3
+ export declare function loginWithAppleIOSHandler(loginWithAppleIOS: AuthSuccess, dispatch: ThunkActionDispatch<any>, params: any, oldStore: unknown, options?: any): void;
@@ -1,9 +1,9 @@
1
1
  import { setUserData } from "../../store/slices/auth";
2
2
  import { emitFPIEvent, FPI_EVENTS } from "../../helpers/FPI-events";
3
- export function loginWithAppleIOSHandler(loginWithAppleIOS, dispatch, params, oldStore) {
3
+ export function loginWithAppleIOSHandler(loginWithAppleIOS, dispatch, params, oldStore, options) {
4
4
  if (loginWithAppleIOS) {
5
5
  dispatch(setUserData(loginWithAppleIOS));
6
- emitFPIEvent(FPI_EVENTS.LOG_IN, Object.assign(Object.assign({}, params), { method: 'apple' }), loginWithAppleIOS === null || loginWithAppleIOS === void 0 ? void 0 : loginWithAppleIOS.user, oldStore, dispatch);
6
+ emitFPIEvent(FPI_EVENTS.LOG_IN, Object.assign(Object.assign({}, params), { method: 'apple' }), loginWithAppleIOS === null || loginWithAppleIOS === void 0 ? void 0 : loginWithAppleIOS.user, oldStore, dispatch, options);
7
7
  }
8
8
  }
9
9
  //# sourceMappingURL=loginWithAppleIOS.handler.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"loginWithAppleIOS.handler.js","sourceRoot":"","sources":["../../../src/graphql/mutations/loginWithAppleIOS.handler.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAQtD,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEpE,MAAM,UAAU,wBAAwB,CACtC,iBAA8B,EAC9B,QAAkC,EAClC,MAAW,EACX,QAAiB;IAEjB,IAAI,iBAAiB,EAAE;QACrB,QAAQ,CAAC,WAAW,CAAC,iBAAiB,CAAC,CAAC,CAAC;QACzC,YAAY,CACV,UAAU,CAAC,MAAM,kCACZ,MAAM,KAAE,MAAM,EAAE,OAAO,KAC5B,iBAAiB,aAAjB,iBAAiB,uBAAjB,iBAAiB,CAAE,IAAI,EACvB,QAAQ,EACR,QAAQ,CACT,CAAC;KACH;AAEH,CAAC"}
1
+ {"version":3,"file":"loginWithAppleIOS.handler.js","sourceRoot":"","sources":["../../../src/graphql/mutations/loginWithAppleIOS.handler.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAQtD,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEpE,MAAM,UAAU,wBAAwB,CACtC,iBAA8B,EAC9B,QAAkC,EAClC,MAAW,EACX,QAAiB,EACjB,OAAY;IAEZ,IAAI,iBAAiB,EAAE;QACrB,QAAQ,CAAC,WAAW,CAAC,iBAAiB,CAAC,CAAC,CAAC;QACzC,YAAY,CACV,UAAU,CAAC,MAAM,kCACZ,MAAM,KAAE,MAAM,EAAE,OAAO,KAC5B,iBAAiB,aAAjB,iBAAiB,uBAAjB,iBAAiB,CAAE,IAAI,EACvB,QAAQ,EACR,QAAQ,EACR,OAAO,CACR,CAAC;KACH;AAEH,CAAC"}
@@ -1,3 +1,3 @@
1
1
  import type { ThunkActionDispatch } from "redux-thunk";
2
2
  import { LoginSuccess } from "../../types/graphql";
3
- export declare function loginWithEmailAndPasswordHandler(loginWithEmailAndPassword: LoginSuccess, dispatch: ThunkActionDispatch<any>, params: any, oldStore: unknown): void;
3
+ export declare function loginWithEmailAndPasswordHandler(loginWithEmailAndPassword: LoginSuccess, dispatch: ThunkActionDispatch<any>, params: any, oldStore: unknown, options?: any): void;
@@ -1,9 +1,9 @@
1
1
  import { setUserData } from "../../store/slices/auth";
2
2
  import { emitFPIEvent, FPI_EVENTS } from "../../helpers/FPI-events";
3
- export function loginWithEmailAndPasswordHandler(loginWithEmailAndPassword, dispatch, params, oldStore) {
3
+ export function loginWithEmailAndPasswordHandler(loginWithEmailAndPassword, dispatch, params, oldStore, options) {
4
4
  if (loginWithEmailAndPassword) {
5
5
  dispatch(setUserData(loginWithEmailAndPassword));
6
- emitFPIEvent(FPI_EVENTS.LOG_IN, Object.assign(Object.assign({}, params), { method: 'email' }), loginWithEmailAndPassword === null || loginWithEmailAndPassword === void 0 ? void 0 : loginWithEmailAndPassword.user, oldStore, dispatch);
6
+ emitFPIEvent(FPI_EVENTS.LOG_IN, Object.assign(Object.assign({}, params), { method: 'email' }), loginWithEmailAndPassword === null || loginWithEmailAndPassword === void 0 ? void 0 : loginWithEmailAndPassword.user, oldStore, dispatch, options);
7
7
  }
8
8
  }
9
9
  //# sourceMappingURL=loginWithEmailAndPassword.handler.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"loginWithEmailAndPassword.handler.js","sourceRoot":"","sources":["../../../src/graphql/mutations/loginWithEmailAndPassword.handler.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAStD,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEpE,MAAM,UAAU,gCAAgC,CAC9C,yBAAuC,EACvC,QAAkC,EAClC,MAAW,EACX,QAAiB;IAEjB,IAAI,yBAAyB,EAAE;QAC7B,QAAQ,CAAC,WAAW,CAAC,yBAAyB,CAAC,CAAC,CAAC;QACjD,YAAY,CACV,UAAU,CAAC,MAAM,kCACZ,MAAM,KAAE,MAAM,EAAE,OAAO,KAC5B,yBAAyB,aAAzB,yBAAyB,uBAAzB,yBAAyB,CAAE,IAAI,EAC/B,QAAQ,EACR,QAAQ,CACT,CAAC;KACH;AAEH,CAAC"}
1
+ {"version":3,"file":"loginWithEmailAndPassword.handler.js","sourceRoot":"","sources":["../../../src/graphql/mutations/loginWithEmailAndPassword.handler.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAStD,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEpE,MAAM,UAAU,gCAAgC,CAC9C,yBAAuC,EACvC,QAAkC,EAClC,MAAW,EACX,QAAiB,EACjB,OAAa;IAEb,IAAI,yBAAyB,EAAE;QAC7B,QAAQ,CAAC,WAAW,CAAC,yBAAyB,CAAC,CAAC,CAAC;QACjD,YAAY,CACV,UAAU,CAAC,MAAM,kCACZ,MAAM,KAAE,MAAM,EAAE,OAAO,KAC5B,yBAAyB,aAAzB,yBAAyB,uBAAzB,yBAAyB,CAAE,IAAI,EAC/B,QAAQ,EACR,QAAQ,EACR,OAAO,CACR,CAAC;KACH;AAEH,CAAC"}
@@ -1,3 +1,3 @@
1
1
  import type { ThunkActionDispatch } from "redux-thunk";
2
2
  import { AuthSuccess } from "../../types/graphql";
3
- export declare function loginWithFacebookHandler(loginWithFacebook: AuthSuccess, dispatch: ThunkActionDispatch<any>, params: any, oldStore: unknown): void;
3
+ export declare function loginWithFacebookHandler(loginWithFacebook: AuthSuccess, dispatch: ThunkActionDispatch<any>, params: any, oldStore: unknown, options?: any): void;
@@ -1,9 +1,9 @@
1
1
  import { setUserData } from "../../store/slices/auth";
2
2
  import { emitFPIEvent, FPI_EVENTS } from "../../helpers/FPI-events";
3
- export function loginWithFacebookHandler(loginWithFacebook, dispatch, params, oldStore) {
3
+ export function loginWithFacebookHandler(loginWithFacebook, dispatch, params, oldStore, options) {
4
4
  if (loginWithFacebook) {
5
5
  dispatch(setUserData(loginWithFacebook));
6
- emitFPIEvent(FPI_EVENTS.LOG_IN, params, Object.assign(Object.assign({}, params), { method: 'facebook' }), loginWithFacebook === null || loginWithFacebook === void 0 ? void 0 : loginWithFacebook.user, oldStore, dispatch);
6
+ emitFPIEvent(FPI_EVENTS.LOG_IN, params, Object.assign(Object.assign({}, params), { method: 'facebook' }), loginWithFacebook === null || loginWithFacebook === void 0 ? void 0 : loginWithFacebook.user, oldStore, dispatch, options);
7
7
  }
8
8
  }
9
9
  //# sourceMappingURL=loginWithFacebook.handler.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"loginWithFacebook.handler.js","sourceRoot":"","sources":["../../../src/graphql/mutations/loginWithFacebook.handler.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAQtD,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEpE,MAAM,UAAU,wBAAwB,CACtC,iBAA8B,EAC9B,QAAkC,EAClC,MAAW,EACX,QAAiB;IAEjB,IAAI,iBAAiB,EAAE;QACrB,QAAQ,CAAC,WAAW,CAAC,iBAAiB,CAAC,CAAC,CAAC;QACzC,YAAY,CACV,UAAU,CAAC,MAAM,EACjB,MAAM,kCACD,MAAM,KAAE,MAAM,EAAE,UAAU,KAC/B,iBAAiB,aAAjB,iBAAiB,uBAAjB,iBAAiB,CAAE,IAAI,EACvB,QAAQ,EACR,QAAQ,CACT,CAAC;KACH;AACH,CAAC"}
1
+ {"version":3,"file":"loginWithFacebook.handler.js","sourceRoot":"","sources":["../../../src/graphql/mutations/loginWithFacebook.handler.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAQtD,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEpE,MAAM,UAAU,wBAAwB,CACtC,iBAA8B,EAC9B,QAAkC,EAClC,MAAW,EACX,QAAiB,EACjB,OAAa;IAEb,IAAI,iBAAiB,EAAE;QACrB,QAAQ,CAAC,WAAW,CAAC,iBAAiB,CAAC,CAAC,CAAC;QACzC,YAAY,CACV,UAAU,CAAC,MAAM,EACjB,MAAM,kCACD,MAAM,KAAE,MAAM,EAAE,UAAU,KAC/B,iBAAiB,aAAjB,iBAAiB,uBAAjB,iBAAiB,CAAE,IAAI,EACvB,QAAQ,EACR,QAAQ,EACR,OAAO,CACR,CAAC;KACH;AACH,CAAC"}
@@ -1,3 +1,3 @@
1
1
  import type { ThunkActionDispatch } from "redux-thunk";
2
2
  import { AuthSuccess } from "../../types/graphql";
3
- export declare function loginWithGoogleHandler(loginWithGoogle: AuthSuccess, dispatch: ThunkActionDispatch<any>, params: any, oldStore: unknown): void;
3
+ export declare function loginWithGoogleHandler(loginWithGoogle: AuthSuccess, dispatch: ThunkActionDispatch<any>, params: any, oldStore: unknown, options?: any): void;
@@ -1,9 +1,9 @@
1
1
  import { setUserData } from "../../store/slices/auth";
2
2
  import { emitFPIEvent, FPI_EVENTS } from "../../helpers/FPI-events";
3
- export function loginWithGoogleHandler(loginWithGoogle, dispatch, params, oldStore) {
3
+ export function loginWithGoogleHandler(loginWithGoogle, dispatch, params, oldStore, options) {
4
4
  if (loginWithGoogle) {
5
5
  dispatch(setUserData(loginWithGoogle));
6
- emitFPIEvent(FPI_EVENTS.LOG_IN, Object.assign(Object.assign({}, params), { method: 'google' }), loginWithGoogle === null || loginWithGoogle === void 0 ? void 0 : loginWithGoogle.user, oldStore, dispatch);
6
+ emitFPIEvent(FPI_EVENTS.LOG_IN, Object.assign(Object.assign({}, params), { method: 'google' }), loginWithGoogle === null || loginWithGoogle === void 0 ? void 0 : loginWithGoogle.user, oldStore, dispatch, options);
7
7
  }
8
8
  }
9
9
  //# sourceMappingURL=loginWithGoogle.handler.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"loginWithGoogle.handler.js","sourceRoot":"","sources":["../../../src/graphql/mutations/loginWithGoogle.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,sBAAsB,CACpC,eAA4B,EAC5B,QAAkC,EAClC,MAAW,EACX,QAAiB;IAGjB,IAAI,eAAe,EAAE;QACnB,QAAQ,CAAC,WAAW,CAAC,eAAe,CAAC,CAAC,CAAC;QACvC,YAAY,CACV,UAAU,CAAC,MAAM,kCACZ,MAAM,KAAE,MAAM,EAAE,QAAQ,KAC7B,eAAe,aAAf,eAAe,uBAAf,eAAe,CAAE,IAAI,EACrB,QAAQ,EACR,QAAQ,CACT,CAAC;KACH;AACH,CAAC"}
1
+ {"version":3,"file":"loginWithGoogle.handler.js","sourceRoot":"","sources":["../../../src/graphql/mutations/loginWithGoogle.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,sBAAsB,CACpC,eAA4B,EAC5B,QAAkC,EAClC,MAAW,EACX,QAAiB,EACjB,OAAa;IAGb,IAAI,eAAe,EAAE;QACnB,QAAQ,CAAC,WAAW,CAAC,eAAe,CAAC,CAAC,CAAC;QACvC,YAAY,CACV,UAAU,CAAC,MAAM,kCACZ,MAAM,KAAE,MAAM,EAAE,QAAQ,KAC7B,eAAe,aAAf,eAAe,uBAAf,eAAe,CAAE,IAAI,EACrB,QAAQ,EACR,QAAQ,EACR,OAAO,CACR,CAAC;KACH;AACH,CAAC"}
@@ -1,3 +1,3 @@
1
1
  import type { ThunkActionDispatch } from "redux-thunk";
2
2
  import { CartShipmentsResponse } from "../../types/graphql";
3
- export declare function selectAddressHandler(res: CartShipmentsResponse, dispatch: ThunkActionDispatch<any>, params: unknown, oldStore: unknown): void;
3
+ export declare function selectAddressHandler(res: CartShipmentsResponse, dispatch: ThunkActionDispatch<any>, params: unknown, oldStore: unknown, options?: any): void;
@@ -1,5 +1,5 @@
1
1
  import { emitFPIEvent, FPI_EVENTS } from "../../helpers/FPI-events";
2
- export function selectAddressHandler(res, dispatch, params, oldStore) {
3
- emitFPIEvent(FPI_EVENTS.ADD_ADDRESS_INFORMATION, params, res, oldStore, dispatch);
2
+ export function selectAddressHandler(res, dispatch, params, oldStore, options) {
3
+ emitFPIEvent(FPI_EVENTS.ADD_ADDRESS_INFORMATION, params, res, oldStore, dispatch, options);
4
4
  }
5
5
  //# sourceMappingURL=selectAddress.handler.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"selectAddress.handler.js","sourceRoot":"","sources":["../../../src/graphql/mutations/selectAddress.handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEpE,MAAM,UAAU,oBAAoB,CAClC,GAA0B,EAC1B,QAAkC,EAClC,MAAe,EACf,QAAiB;IAEjB,YAAY,CACV,UAAU,CAAC,uBAAuB,EAClC,MAAM,EACN,GAAG,EACH,QAAQ,EACR,QAAQ,CACT,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"selectAddress.handler.js","sourceRoot":"","sources":["../../../src/graphql/mutations/selectAddress.handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEpE,MAAM,UAAU,oBAAoB,CAClC,GAA0B,EAC1B,QAAkC,EAClC,MAAe,EACf,QAAiB,EACjB,OAAa;IAEb,YAAY,CACV,UAAU,CAAC,uBAAuB,EAClC,MAAM,EACN,GAAG,EACH,QAAQ,EACR,QAAQ,EACR,OAAO,CACR,CAAC;AACJ,CAAC"}
@@ -1,3 +1,3 @@
1
1
  import type { ThunkActionDispatch } from "redux-thunk";
2
2
  import { Cart } from "../../types/graphql";
3
- export declare function selectPaymentModehandler(res: Cart, dispatch: ThunkActionDispatch<any>, params: unknown, oldStore: unknown): void;
3
+ export declare function selectPaymentModehandler(res: Cart, dispatch: ThunkActionDispatch<any>, params: unknown, oldStore: unknown, options?: any): void;
@@ -1,5 +1,5 @@
1
1
  import { emitFPIEvent, FPI_EVENTS } from "../../helpers/FPI-events";
2
- export function selectPaymentModehandler(res, dispatch, params, oldStore) {
3
- emitFPIEvent(FPI_EVENTS.ADD_PAYMENT_INFORMATION, params, res, oldStore, dispatch);
2
+ export function selectPaymentModehandler(res, dispatch, params, oldStore, options) {
3
+ emitFPIEvent(FPI_EVENTS.ADD_PAYMENT_INFORMATION, params, res, oldStore, dispatch, options);
4
4
  }
5
5
  //# sourceMappingURL=selectPaymentMode.handler.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"selectPaymentMode.handler.js","sourceRoot":"","sources":["../../../src/graphql/mutations/selectPaymentMode.handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEpE,MAAM,UAAU,wBAAwB,CACtC,GAAS,EACT,QAAkC,EAClC,MAAe,EACf,QAAiB;IAEjB,YAAY,CACV,UAAU,CAAC,uBAAuB,EAClC,MAAM,EACN,GAAG,EACH,QAAQ,EACR,QAAQ,CACT,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"selectPaymentMode.handler.js","sourceRoot":"","sources":["../../../src/graphql/mutations/selectPaymentMode.handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEpE,MAAM,UAAU,wBAAwB,CACtC,GAAS,EACT,QAAkC,EAClC,MAAe,EACf,QAAiB,EACjB,OAAa;IAEb,YAAY,CACV,UAAU,CAAC,uBAAuB,EAClC,MAAM,EACN,GAAG,EACH,QAAQ,EACR,QAAQ,EACR,OAAO,CACR,CAAC;AACJ,CAAC"}
@@ -1,3 +1,3 @@
1
1
  import type { ThunkActionDispatch } from "redux-thunk";
2
2
  import { UpdateCartDetailResponse } from "../../types/graphql";
3
- export declare function updateCartHandler(updateCart: UpdateCartDetailResponse, dispatch: ThunkActionDispatch<any>, params: any, oldStore: unknown): void;
3
+ export declare function updateCartHandler(updateCart: UpdateCartDetailResponse, dispatch: ThunkActionDispatch<any>, params: any, oldStore: unknown, options?: any): void;
@@ -1,12 +1,12 @@
1
1
  import { setUpdateCart } from "../../store/slices/cart";
2
2
  import { emitFPIEvent, FPI_EVENTS } from "../../helpers/FPI-events";
3
- export function updateCartHandler(updateCart, dispatch, params, oldStore) {
3
+ export function updateCartHandler(updateCart, dispatch, params, oldStore, options) {
4
4
  if (updateCart.cart) {
5
5
  if (params.updateCartRequestInput.operation === "update_item") {
6
- emitFPIEvent(FPI_EVENTS.UPDATE_CART, params, updateCart, oldStore, dispatch);
6
+ emitFPIEvent(FPI_EVENTS.UPDATE_CART, params, updateCart, oldStore, dispatch, options);
7
7
  }
8
8
  else {
9
- emitFPIEvent(FPI_EVENTS.REMOVE_FROM_CART, params, updateCart, oldStore, dispatch);
9
+ emitFPIEvent(FPI_EVENTS.REMOVE_FROM_CART, params, updateCart, oldStore, dispatch, options);
10
10
  }
11
11
  dispatch(setUpdateCart(updateCart.cart));
12
12
  }
@@ -1 +1 @@
1
- {"version":3,"file":"updateCart.handler.js","sourceRoot":"","sources":["../../../src/graphql/mutations/updateCart.handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEpE,MAAM,UAAU,iBAAiB,CAC/B,UAAoC,EACpC,QAAkC,EAClC,MAAW,EACX,QAAiB;IAEjB,IAAI,UAAU,CAAC,IAAI,EAAE;QACnB,IAAI,MAAM,CAAC,sBAAsB,CAAC,SAAS,KAAK,aAAa,EAAE;YAC7D,YAAY,CACV,UAAU,CAAC,WAAW,EACtB,MAAM,EACN,UAAU,EACV,QAAQ,EACR,QAAQ,CACT,CAAC;SACH;aAAM;YACL,YAAY,CACV,UAAU,CAAC,gBAAgB,EAC3B,MAAM,EACN,UAAU,EACV,QAAQ,EACR,QAAQ,CACT,CAAC;SACH;QACD,QAAQ,CAAC,aAAa,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC;KAC1C;AACH,CAAC"}
1
+ {"version":3,"file":"updateCart.handler.js","sourceRoot":"","sources":["../../../src/graphql/mutations/updateCart.handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEpE,MAAM,UAAU,iBAAiB,CAC/B,UAAoC,EACpC,QAAkC,EAClC,MAAW,EACX,QAAiB,EACjB,OAAa;IAEb,IAAI,UAAU,CAAC,IAAI,EAAE;QACnB,IAAI,MAAM,CAAC,sBAAsB,CAAC,SAAS,KAAK,aAAa,EAAE;YAC7D,YAAY,CACV,UAAU,CAAC,WAAW,EACtB,MAAM,EACN,UAAU,EACV,QAAQ,EACR,QAAQ,EACR,OAAO,CACR,CAAC;SACH;aAAM;YACL,YAAY,CACV,UAAU,CAAC,gBAAgB,EAC3B,MAAM,EACN,UAAU,EACV,QAAQ,EACR,QAAQ,EACR,OAAO,CACR,CAAC;SACH;QACD,QAAQ,CAAC,aAAa,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC;KAC1C;AACH,CAAC"}
@@ -1,3 +1,3 @@
1
1
  import type { ThunkActionDispatch } from "redux-thunk";
2
2
  import { ProfileEditSuccess } from "../../types/graphql";
3
- export declare function updateProfileHandler(updateProfile: ProfileEditSuccess, dispatch: ThunkActionDispatch<any>, params: unknown, oldStore: unknown): void;
3
+ export declare function updateProfileHandler(updateProfile: ProfileEditSuccess, dispatch: ThunkActionDispatch<any>, params: unknown, oldStore: unknown, options?: any): void;
@@ -1,9 +1,9 @@
1
1
  import { setUserData } from "../../store/slices/auth";
2
2
  import { emitFPIEvent, FPI_EVENTS } from "../../helpers/FPI-events";
3
- export function updateProfileHandler(updateProfile, dispatch, params, oldStore) {
3
+ export function updateProfileHandler(updateProfile, dispatch, params, oldStore, options) {
4
4
  if (updateProfile) {
5
5
  dispatch(setUserData(updateProfile));
6
- emitFPIEvent(FPI_EVENTS.PROFILE_UPDATE, params, updateProfile, oldStore, dispatch);
6
+ emitFPIEvent(FPI_EVENTS.PROFILE_UPDATE, params, updateProfile, oldStore, dispatch, options);
7
7
  }
8
8
  }
9
9
  //# sourceMappingURL=updateProfile.handler.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"updateProfile.handler.js","sourceRoot":"","sources":["../../../src/graphql/mutations/updateProfile.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,oBAAoB,CAClC,aAAiC,EACjC,QAAkC,EAClC,MAAe,EACf,QAAiB;IAEjB,IAAI,aAAa,EAAE;QACjB,QAAQ,CAAC,WAAW,CAAC,aAAa,CAAC,CAAC,CAAC;QACrC,YAAY,CACV,UAAU,CAAC,cAAc,EACzB,MAAM,EACN,aAAa,EACb,QAAQ,EACR,QAAQ,CACT,CAAC;KACH;AACH,CAAC"}
1
+ {"version":3,"file":"updateProfile.handler.js","sourceRoot":"","sources":["../../../src/graphql/mutations/updateProfile.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,oBAAoB,CAClC,aAAiC,EACjC,QAAkC,EAClC,MAAe,EACf,QAAiB,EACjB,OAAa;IAEb,IAAI,aAAa,EAAE;QACjB,QAAQ,CAAC,WAAW,CAAC,aAAa,CAAC,CAAC,CAAC;QACrC,YAAY,CACV,UAAU,CAAC,cAAc,EACzB,MAAM,EACN,aAAa,EACb,QAAQ,EACR,QAAQ,EACR,OAAO,CACR,CAAC;KACH;AACH,CAAC"}
@@ -2,4 +2,4 @@ import type { ThunkActionDispatch } from "redux-thunk";
2
2
  import { StatusesBodyResponse, UpdateShipmentStatusRequestInput } from "../../types/graphql";
3
3
  export declare function updateShipmentStatusHandler(shipment: StatusesBodyResponse, dispatch: ThunkActionDispatch<any>, params: Record<string, unknown> & {
4
4
  updateShipmentStatusRequestInput: UpdateShipmentStatusRequestInput;
5
- }, oldStore: unknown): void;
5
+ }, oldStore: unknown, options?: any): void;
@@ -1,10 +1,10 @@
1
1
  import { emitFPIEvent, FPI_EVENTS } from "../../helpers/FPI-events";
2
- export function updateShipmentStatusHandler(shipment, dispatch, params, oldStore) {
2
+ export function updateShipmentStatusHandler(shipment, dispatch, params, oldStore, options) {
3
3
  var _a, _b, _c;
4
4
  if (shipment) {
5
5
  const isReturn = ((_c = (_b = (_a = params === null || params === void 0 ? void 0 : params.updateShipmentStatusRequestInput) === null || _a === void 0 ? void 0 : _a.statuses) === null || _b === void 0 ? void 0 : _b[0]) === null || _c === void 0 ? void 0 : _c.status) === 'return_initiated';
6
6
  if (isReturn) {
7
- emitFPIEvent(FPI_EVENTS.REFUND_SUCCESS, params, shipment, oldStore, dispatch);
7
+ emitFPIEvent(FPI_EVENTS.REFUND_SUCCESS, params, shipment, oldStore, dispatch, options);
8
8
  }
9
9
  }
10
10
  }
@@ -1 +1 @@
1
- {"version":3,"file":"updateShipmentStatus.handler.js","sourceRoot":"","sources":["../../../src/graphql/mutations/updateShipmentStatus.handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEpE,MAAM,UAAU,2BAA2B,CACzC,QAA8B,EAC9B,QAAkC,EAClC,MAAwG,EACxG,QAAiB;;IAEjB,IAAI,QAAQ,EAAE;QACZ,MAAM,QAAQ,GAAG,CAAA,MAAA,MAAA,MAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,gCAAgC,0CAAE,QAAQ,0CAAG,CAAC,CAAC,0CAAE,MAAM,MAAK,kBAAkB,CAAC;QACxG,IAAI,QAAQ,EAAE;YACZ,YAAY,CACV,UAAU,CAAC,cAAc,EACzB,MAAM,EACN,QAAQ,EACR,QAAQ,EACR,QAAQ,CACT,CAAC;SACH;KACF;AACH,CAAC"}
1
+ {"version":3,"file":"updateShipmentStatus.handler.js","sourceRoot":"","sources":["../../../src/graphql/mutations/updateShipmentStatus.handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEpE,MAAM,UAAU,2BAA2B,CACzC,QAA8B,EAC9B,QAAkC,EAClC,MAAwG,EACxG,QAAiB,EACjB,OAAa;;IAEb,IAAI,QAAQ,EAAE;QACZ,MAAM,QAAQ,GAAG,CAAA,MAAA,MAAA,MAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,gCAAgC,0CAAE,QAAQ,0CAAG,CAAC,CAAC,0CAAE,MAAM,MAAK,kBAAkB,CAAC;QACxG,IAAI,QAAQ,EAAE;YACZ,YAAY,CACV,UAAU,CAAC,cAAc,EACzB,MAAM,EACN,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,OAAO,CACR,CAAC;SACH;KACF;AACH,CAAC"}
@@ -1,3 +1,3 @@
1
1
  import type { ThunkActionDispatch } from "redux-thunk";
2
2
  import { VerifyOtpSuccess } from "../../types/graphql";
3
- export declare function verifyEmailOTPHandler(verifyEmailOTP: VerifyOtpSuccess, dispatch: ThunkActionDispatch<any>, params: any, oldStore: unknown): void;
3
+ export declare function verifyEmailOTPHandler(verifyEmailOTP: VerifyOtpSuccess, dispatch: ThunkActionDispatch<any>, params: any, oldStore: unknown, options?: any): void;
@@ -1,9 +1,9 @@
1
1
  import { setUserData } from "../../store/slices/auth";
2
2
  import { emitFPIEvent, FPI_EVENTS } from "../../helpers/FPI-events";
3
- export function verifyEmailOTPHandler(verifyEmailOTP, dispatch, params, oldStore) {
3
+ export function verifyEmailOTPHandler(verifyEmailOTP, dispatch, params, oldStore, options) {
4
4
  if (verifyEmailOTP) {
5
5
  dispatch(setUserData(verifyEmailOTP));
6
- emitFPIEvent(FPI_EVENTS.LOG_IN, Object.assign(Object.assign({}, params), { method: 'email' }), verifyEmailOTP === null || verifyEmailOTP === void 0 ? void 0 : verifyEmailOTP.user, oldStore, dispatch);
6
+ emitFPIEvent(FPI_EVENTS.LOG_IN, Object.assign(Object.assign({}, params), { method: 'email' }), verifyEmailOTP === null || verifyEmailOTP === void 0 ? void 0 : verifyEmailOTP.user, oldStore, dispatch, options);
7
7
  }
8
8
  }
9
9
  //# sourceMappingURL=verifyEmailOtp.handler.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"verifyEmailOtp.handler.js","sourceRoot":"","sources":["../../../src/graphql/mutations/verifyEmailOtp.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,qBAAqB,CACnC,cAAgC,EAChC,QAAkC,EAClC,MAAW,EACX,QAAiB;IAEjB,IAAI,cAAc,EAAE;QAClB,QAAQ,CAAC,WAAW,CAAC,cAAc,CAAC,CAAC,CAAC;QACtC,YAAY,CACV,UAAU,CAAC,MAAM,kCACZ,MAAM,KAAE,MAAM,EAAE,OAAO,KAC5B,cAAc,aAAd,cAAc,uBAAd,cAAc,CAAE,IAAI,EACpB,QAAQ,EACR,QAAQ,CACT,CAAC;KACH;AAEH,CAAC"}
1
+ {"version":3,"file":"verifyEmailOtp.handler.js","sourceRoot":"","sources":["../../../src/graphql/mutations/verifyEmailOtp.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,qBAAqB,CACnC,cAAgC,EAChC,QAAkC,EAClC,MAAW,EACX,QAAiB,EACjB,OAAa;IAEb,IAAI,cAAc,EAAE;QAClB,QAAQ,CAAC,WAAW,CAAC,cAAc,CAAC,CAAC,CAAC;QACtC,YAAY,CACV,UAAU,CAAC,MAAM,kCACZ,MAAM,KAAE,MAAM,EAAE,OAAO,KAC5B,cAAc,aAAd,cAAc,uBAAd,cAAc,CAAE,IAAI,EACpB,QAAQ,EACR,QAAQ,EACR,OAAO,CACR,CAAC;KACH;AAEH,CAAC"}
@@ -1,3 +1,3 @@
1
1
  import type { ThunkActionDispatch } from "redux-thunk";
2
2
  import { VerifyOtpSuccess } from "../../types/graphql";
3
- export declare function verifyMobileOTPHandler(verifyMobileOTP: VerifyOtpSuccess, dispatch: ThunkActionDispatch<any>, params: any, oldStore: unknown): void;
3
+ export declare function verifyMobileOTPHandler(verifyMobileOTP: VerifyOtpSuccess, dispatch: ThunkActionDispatch<any>, params: any, oldStore: unknown, options?: any): void;
@@ -1,9 +1,9 @@
1
1
  import { setUserData } from "../../store/slices/auth";
2
2
  import { emitFPIEvent, FPI_EVENTS } from "../../helpers/FPI-events";
3
- export function verifyMobileOTPHandler(verifyMobileOTP, dispatch, params, oldStore) {
3
+ export function verifyMobileOTPHandler(verifyMobileOTP, dispatch, params, oldStore, options) {
4
4
  if (verifyMobileOTP) {
5
5
  dispatch(setUserData(verifyMobileOTP));
6
- emitFPIEvent(FPI_EVENTS.LOG_IN, Object.assign(Object.assign({}, params), { method: 'phone' }), verifyMobileOTP === null || verifyMobileOTP === void 0 ? void 0 : verifyMobileOTP.user, oldStore, dispatch);
6
+ emitFPIEvent(FPI_EVENTS.LOG_IN, Object.assign(Object.assign({}, params), { method: 'phone' }), verifyMobileOTP === null || verifyMobileOTP === void 0 ? void 0 : verifyMobileOTP.user, oldStore, dispatch, options);
7
7
  }
8
8
  }
9
9
  //# sourceMappingURL=verifyMobileOTP.handler.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"verifyMobileOTP.handler.js","sourceRoot":"","sources":["../../../src/graphql/mutations/verifyMobileOTP.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,sBAAsB,CACpC,eAAiC,EACjC,QAAkC,EAClC,MAAW,EACX,QAAiB;IAEjB,IAAI,eAAe,EAAE;QACnB,QAAQ,CAAC,WAAW,CAAC,eAAe,CAAC,CAAC,CAAC;QACvC,YAAY,CACV,UAAU,CAAC,MAAM,kCACZ,MAAM,KAAE,MAAM,EAAE,OAAO,KAC5B,eAAe,aAAf,eAAe,uBAAf,eAAe,CAAE,IAAI,EACrB,QAAQ,EACR,QAAQ,CACT,CAAC;KACH;AAEH,CAAC"}
1
+ {"version":3,"file":"verifyMobileOTP.handler.js","sourceRoot":"","sources":["../../../src/graphql/mutations/verifyMobileOTP.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,sBAAsB,CACpC,eAAiC,EACjC,QAAkC,EAClC,MAAW,EACX,QAAiB,EACjB,OAAa;IAEb,IAAI,eAAe,EAAE;QACnB,QAAQ,CAAC,WAAW,CAAC,eAAe,CAAC,CAAC,CAAC;QACvC,YAAY,CACV,UAAU,CAAC,MAAM,kCACZ,MAAM,KAAE,MAAM,EAAE,OAAO,KAC5B,eAAe,aAAf,eAAe,uBAAf,eAAe,CAAE,IAAI,EACrB,QAAQ,EACR,QAAQ,EACR,OAAO,CACR,CAAC;KACH;AAEH,CAAC"}
@@ -1,3 +1,3 @@
1
1
  import type { ThunkActionDispatch } from "redux-thunk";
2
2
  import { Collection } from "../../types/graphql";
3
- export declare function collectionHandler(collection: Collection, dispatch: ThunkActionDispatch<any>, params: unknown, oldStore: unknown): void;
3
+ export declare function collectionHandler(collection: Collection, dispatch: ThunkActionDispatch<any>, params: unknown, oldStore: unknown, options?: any): void;
@@ -1,9 +1,9 @@
1
1
  import { setcollection } from "../../store/slices/collection";
2
2
  import { emitFPIEvent, FPI_EVENTS } from "../../helpers/FPI-events";
3
- export function collectionHandler(collection, dispatch, params, oldStore) {
3
+ export function collectionHandler(collection, dispatch, params, oldStore, options) {
4
4
  if (collection) {
5
5
  dispatch(setcollection(collection));
6
- emitFPIEvent(FPI_EVENTS.COLLECTION_LIST_VIEW, params, collection, oldStore, dispatch);
6
+ emitFPIEvent(FPI_EVENTS.COLLECTION_LIST_VIEW, params, collection, oldStore, dispatch, options);
7
7
  }
8
8
  }
9
9
  //# sourceMappingURL=collection.handler.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"collection.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/collection.handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAC9D,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEpE,MAAM,UAAU,iBAAiB,CAC/B,UAAsB,EACtB,QAAkC,EAClC,MAAe,EACf,QAAiB;IAEjB,IAAI,UAAU,EAAE;QACd,QAAQ,CAAC,aAAa,CAAC,UAAU,CAAC,CAAC,CAAC;QACpC,YAAY,CACV,UAAU,CAAC,oBAAoB,EAC/B,MAAM,EACN,UAAU,EACV,QAAQ,EACR,QAAQ,CACT,CAAC;KACH;AACH,CAAC"}
1
+ {"version":3,"file":"collection.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/collection.handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAC9D,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEpE,MAAM,UAAU,iBAAiB,CAC/B,UAAsB,EACtB,QAAkC,EAClC,MAAe,EACf,QAAiB,EACjB,OAAa;IAEb,IAAI,UAAU,EAAE;QACd,QAAQ,CAAC,aAAa,CAAC,UAAU,CAAC,CAAC,CAAC;QACpC,YAAY,CACV,UAAU,CAAC,oBAAoB,EAC/B,MAAM,EACN,UAAU,EACV,QAAQ,EACR,QAAQ,EACR,OAAO,CACR,CAAC;KACH;AACH,CAAC"}
@@ -1,3 +1,3 @@
1
1
  import type { ThunkActionDispatch } from "redux-thunk";
2
2
  import { PromiseTimestamp } from "../../types/graphql";
3
- export declare function deliveryPromiseHandler(deliveryPromise: PromiseTimestamp, dispatch: ThunkActionDispatch<any>, params: object, oldStore: unknown, error: object): void;
3
+ export declare function deliveryPromiseHandler(deliveryPromise: PromiseTimestamp, dispatch: ThunkActionDispatch<any>, params: object, oldStore: unknown, options: any, error: object): void;
@@ -1,9 +1,9 @@
1
1
  import { emitFPIEvent, FPI_EVENTS } from "../../helpers/FPI-events";
2
- export function deliveryPromiseHandler(deliveryPromise, dispatch, params, oldStore, error) {
2
+ export function deliveryPromiseHandler(deliveryPromise, dispatch, params, oldStore, options, error) {
3
3
  let emitObj = deliveryPromise;
4
4
  if (!deliveryPromise) {
5
5
  emitObj = error;
6
6
  }
7
- emitFPIEvent(FPI_EVENTS.DELIVERY_PROMISE, params, emitObj, oldStore, dispatch);
7
+ emitFPIEvent(FPI_EVENTS.DELIVERY_PROMISE, params, emitObj, oldStore, dispatch, options);
8
8
  }
9
9
  //# sourceMappingURL=deliveryPromise.handler.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"deliveryPromise.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/deliveryPromise.handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEpE,MAAM,UAAU,sBAAsB,CACpC,eAAiC,EACjC,QAAkC,EAClC,MAAc,EACd,QAAiB,EACjB,KAAa;IAEb,IAAI,OAAO,GAAG,eAAe,CAAC;IAC9B,IAAI,CAAC,eAAe,EAAE;QACpB,OAAO,GAAG,KAAK,CAAC;KACjB;IACD,YAAY,CACV,UAAU,CAAC,gBAAgB,EAC3B,MAAM,EACN,OAAO,EACP,QAAQ,EACR,QAAQ,CACT,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"deliveryPromise.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/deliveryPromise.handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEpE,MAAM,UAAU,sBAAsB,CACpC,eAAiC,EACjC,QAAkC,EAClC,MAAc,EACd,QAAiB,EACjB,OAAY,EACZ,KAAa;IAEb,IAAI,OAAO,GAAG,eAAe,CAAC;IAC9B,IAAI,CAAC,eAAe,EAAE;QACpB,OAAO,GAAG,KAAK,CAAC;KACjB;IACD,YAAY,CACV,UAAU,CAAC,gBAAgB,EAC3B,MAAM,EACN,OAAO,EACP,QAAQ,EACR,QAAQ,EACR,OAAO,CACR,CAAC;AACJ,CAAC"}
@@ -1,3 +1,3 @@
1
1
  import type { ThunkActionDispatch } from "redux-thunk";
2
2
  import { Order } from "../../types/graphql";
3
- export declare function orderHandler(res: Order, dispatch: ThunkActionDispatch<any>, params: unknown, oldStore: unknown): void;
3
+ export declare function orderHandler(res: Order, dispatch: ThunkActionDispatch<any>, params: unknown, oldStore: unknown, options?: any): void;
@@ -1,5 +1,5 @@
1
1
  import { emitFPIEvent, FPI_EVENTS } from "../../helpers/FPI-events";
2
- export function orderHandler(res, dispatch, params, oldStore) {
3
- emitFPIEvent(FPI_EVENTS.ORDER_PROCESSED, params, res, oldStore, dispatch);
2
+ export function orderHandler(res, dispatch, params, oldStore, options) {
3
+ emitFPIEvent(FPI_EVENTS.ORDER_PROCESSED, params, res, oldStore, dispatch, options);
4
4
  }
5
5
  //# sourceMappingURL=order.handler.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"order.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/order.handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEpE,MAAM,UAAU,YAAY,CAC1B,GAAU,EACV,QAAkC,EAClC,MAAe,EACf,QAAiB;IAEjB,YAAY,CAAC,UAAU,CAAC,eAAe,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,EAAE,QAAQ,CAAC,CAAC;AAC5E,CAAC"}
1
+ {"version":3,"file":"order.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/order.handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEpE,MAAM,UAAU,YAAY,CAC1B,GAAU,EACV,QAAkC,EAClC,MAAe,EACf,QAAiB,EACjB,OAAa;IAEb,YAAY,CAAC,UAAU,CAAC,eAAe,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,EAAE,QAAQ,EAAE,OAAO,CAAC,CAAC;AACrF,CAAC"}
@@ -1,3 +1,3 @@
1
1
  import type { ThunkActionDispatch } from "redux-thunk";
2
2
  import { Product } from "../../types/graphql";
3
- export declare function productHandler(product: Product, dispatch: ThunkActionDispatch<any>, params: unknown, oldStore: unknown): void;
3
+ export declare function productHandler(product: Product, dispatch: ThunkActionDispatch<any>, params: unknown, oldStore: unknown, options?: any): void;
@@ -1,9 +1,9 @@
1
1
  import { setProduct, setProductVariants } from "../../store/slices/product";
2
2
  import { emitFPIEvent, FPI_EVENTS } from "../../helpers/FPI-events";
3
- export function productHandler(product, dispatch, params, oldStore) {
3
+ export function productHandler(product, dispatch, params, oldStore, options) {
4
4
  if (product) {
5
5
  dispatch(setProduct(product));
6
- emitFPIEvent(FPI_EVENTS.PRODUCT_DETAIL_PAGE_VIEW, params, product, oldStore, dispatch);
6
+ emitFPIEvent(FPI_EVENTS.PRODUCT_DETAIL_PAGE_VIEW, params, product, oldStore, dispatch, options);
7
7
  }
8
8
  if (product.variants) {
9
9
  dispatch(setProductVariants(product.variants));
@@ -1 +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,EACR,QAAQ,CACT,CAAC;KACH;IACD,IAAI,OAAO,CAAC,QAAQ,EAAE;QACpB,QAAQ,CAAC,kBAAkB,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC;KAChD;AACH,CAAC"}
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,EACjB,OAAa;IAEb,IAAI,OAAO,EAAE;QACX,QAAQ,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC;QAC9B,YAAY,CACV,UAAU,CAAC,wBAAwB,EACnC,MAAM,EACN,OAAO,EACP,QAAQ,EACR,QAAQ,EACR,OAAO,CACR,CAAC;KACH;IACD,IAAI,OAAO,CAAC,QAAQ,EAAE;QACpB,QAAQ,CAAC,kBAAkB,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC;KAChD;AACH,CAAC"}
@@ -1,3 +1,3 @@
1
1
  import { ProductSizePrice } from "../../types/graphql";
2
2
  import { ThunkActionDispatch } from "redux-thunk";
3
- export declare function productPriceHandler(productPrice: ProductSizePrice, dispatch: ThunkActionDispatch<any>, params: any, oldStore: unknown, error: object): void;
3
+ export declare function productPriceHandler(productPrice: ProductSizePrice, dispatch: ThunkActionDispatch<any>, params: any, oldStore: unknown, options: any, error: object): void;
@@ -1,11 +1,11 @@
1
1
  import { setproductPrice } from "../../store/slices/product";
2
2
  import { emitFPIEvent, FPI_EVENTS } from "../../helpers/FPI-events";
3
- export function productPriceHandler(productPrice, dispatch, params, oldStore, error) {
3
+ export function productPriceHandler(productPrice, dispatch, params, oldStore, options, error) {
4
4
  dispatch(setproductPrice(Object.assign(Object.assign({}, productPrice), params)));
5
5
  let emitObj = productPrice;
6
6
  if (!productPrice) {
7
7
  emitObj = error;
8
8
  }
9
- emitFPIEvent(FPI_EVENTS.PRODUCT_PRICE, params, emitObj, oldStore, dispatch);
9
+ emitFPIEvent(FPI_EVENTS.PRODUCT_PRICE, params, emitObj, oldStore, dispatch, options);
10
10
  }
11
11
  //# sourceMappingURL=productPrice.handler.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"productPrice.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/productPrice.handler.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAC7D,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEpE,MAAM,UAAU,mBAAmB,CACjC,YAA8B,EAC9B,QAAkC,EAClC,MAAW,EACX,QAAiB,EACjB,KAAa;IAEb,QAAQ,CAAC,eAAe,iCAAM,YAAY,GAAK,MAAM,EAAG,CAAC,CAAC;IAC1D,IAAI,OAAO,GAAG,YAAY,CAAC;IAC3B,IAAI,CAAC,YAAY,EAAE;QACjB,OAAO,GAAG,KAAK,CAAC;KACjB;IACD,YAAY,CACV,UAAU,CAAC,aAAa,EACxB,MAAM,EACN,OAAO,EACP,QAAQ,EACR,QAAQ,CACT,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"productPrice.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/productPrice.handler.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAC7D,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEpE,MAAM,UAAU,mBAAmB,CACjC,YAA8B,EAC9B,QAAkC,EAClC,MAAW,EACX,QAAiB,EACjB,OAAY,EACZ,KAAa;IAEb,QAAQ,CAAC,eAAe,iCAAM,YAAY,GAAK,MAAM,EAAG,CAAC,CAAC;IAC1D,IAAI,OAAO,GAAG,YAAY,CAAC;IAC3B,IAAI,CAAC,YAAY,EAAE;QACjB,OAAO,GAAG,KAAK,CAAC;KACjB;IACD,YAAY,CACV,UAAU,CAAC,aAAa,EACxB,MAAM,EACN,OAAO,EACP,QAAQ,EACR,QAAQ,EACR,OAAO,CACR,CAAC;AACJ,CAAC"}
@@ -1,3 +1,3 @@
1
1
  import { ProductConnection } from "../../types/graphql";
2
2
  import { ThunkActionDispatch } from "redux-thunk";
3
- export declare function productsHandler(products: ProductConnection, dispatch: ThunkActionDispatch<any>, params: any, oldStore: unknown): void;
3
+ export declare function productsHandler(products: ProductConnection, dispatch: ThunkActionDispatch<any>, params: any, oldStore: unknown, options?: any): void;
@@ -1,7 +1,7 @@
1
1
  import { setProducts } from "../../store/slices/products";
2
2
  import { emitFPIEvent, FPI_EVENTS } from "../../helpers/FPI-events";
3
3
  import { addSearchFyndQueryInAction, generateUniqueSearchKey } from "../../helpers/utils";
4
- export function productsHandler(products, dispatch, params, oldStore) {
4
+ export function productsHandler(products, dispatch, params, oldStore, options) {
5
5
  if (products) {
6
6
  try {
7
7
  const searchId = generateUniqueSearchKey();
@@ -17,7 +17,7 @@ export function productsHandler(products, dispatch, params, oldStore) {
17
17
  console.log("Error setting product action: ", err);
18
18
  }
19
19
  dispatch(setProducts(products));
20
- emitFPIEvent(FPI_EVENTS.PRODUCT_LIST_VIEW, params, products, oldStore, dispatch);
20
+ emitFPIEvent(FPI_EVENTS.PRODUCT_LIST_VIEW, params, products, oldStore, dispatch, options);
21
21
  }
22
22
  }
23
23
  //# sourceMappingURL=products.handler.js.map
@@ -1 +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;AACpE,OAAO,EAAE,0BAA0B,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAE1F,MAAM,UAAU,eAAe,CAC7B,QAA2B,EAC3B,QAAkC,EAClC,MAAW,EACX,QAAiB;IAEjB,IAAI,QAAQ,EAAE;QAEZ,IAAI;YACF,MAAM,QAAQ,GAAG,uBAAuB,EAAE,CAAC;YAC3C,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,KAAK,EAAE;gBACnB,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,KAAK,CAAC,OAAO,CAAC,CAAC,OAAO,EAAE,KAAK,EAAE,EAAE;oBACzC,IAAI,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,MAAM,EAAE;wBAClB,OAAO,CAAC,MAAM,GAAG,0BAA0B,CACvC,MAAM,CAAC,MAAM,EACb,OAAO,CAAC,MAAM,EACd,KAAK,EACL,QAAQ,CACX,CAAC;qBACH;gBACH,CAAC,CAAC,CAAC;aACJ;SACF;QAAC,OAAO,GAAG,EAAE;YACZ,OAAO,CAAC,GAAG,CAAC,gCAAgC,EAAE,GAAG,CAAC,CAAC;SACpD;QAED,QAAQ,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC,CAAC;QAChC,YAAY,CACV,UAAU,CAAC,iBAAiB,EAC5B,MAAM,EACN,QAAQ,EACR,QAAQ,EACR,QAAQ,CACT,CAAC;KACH;AACH,CAAC"}
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;AACpE,OAAO,EAAE,0BAA0B,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAE1F,MAAM,UAAU,eAAe,CAC7B,QAA2B,EAC3B,QAAkC,EAClC,MAAW,EACX,QAAiB,EACjB,OAAa;IAEb,IAAI,QAAQ,EAAE;QAEZ,IAAI;YACF,MAAM,QAAQ,GAAG,uBAAuB,EAAE,CAAC;YAC3C,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,KAAK,EAAE;gBACnB,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,KAAK,CAAC,OAAO,CAAC,CAAC,OAAO,EAAE,KAAK,EAAE,EAAE;oBACzC,IAAI,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,MAAM,EAAE;wBAClB,OAAO,CAAC,MAAM,GAAG,0BAA0B,CACvC,MAAM,CAAC,MAAM,EACb,OAAO,CAAC,MAAM,EACd,KAAK,EACL,QAAQ,CACX,CAAC;qBACH;gBACH,CAAC,CAAC,CAAC;aACJ;SACF;QAAC,OAAO,GAAG,EAAE;YACZ,OAAO,CAAC,GAAG,CAAC,gCAAgC,EAAE,GAAG,CAAC,CAAC;SACpD;QAED,QAAQ,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC,CAAC;QAChC,YAAY,CACV,UAAU,CAAC,iBAAiB,EAC5B,MAAM,EACN,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,OAAO,CACR,CAAC;KACH;AACH,CAAC"}
@@ -1,3 +1,3 @@
1
1
  import { ProductSizePrice } from "../../types/graphql";
2
2
  import { ThunkActionDispatch } from "redux-thunk";
3
- export declare function productsPriceWithFulfillmentOptionHandler(productPrice: ProductSizePrice, dispatch: ThunkActionDispatch<any>, params: any, oldStore: unknown, error: object): void;
3
+ export declare function productsPriceWithFulfillmentOptionHandler(productPrice: ProductSizePrice, dispatch: ThunkActionDispatch<any>, params: any, oldStore: unknown, options: any, error: object): void;
@@ -1,11 +1,11 @@
1
1
  import { setproductPriceFO } from "../../store/slices/product";
2
2
  import { emitFPIEvent, FPI_EVENTS } from "../../helpers/FPI-events";
3
- export function productsPriceWithFulfillmentOptionHandler(productPrice, dispatch, params, oldStore, error) {
3
+ export function productsPriceWithFulfillmentOptionHandler(productPrice, dispatch, params, oldStore, options, error) {
4
4
  dispatch(setproductPriceFO(Object.assign(Object.assign({}, productPrice), params)));
5
5
  let emitObj = productPrice;
6
6
  if (!productPrice) {
7
7
  emitObj = error;
8
8
  }
9
- emitFPIEvent(FPI_EVENTS.PRODUCT_PRICE, params, emitObj, oldStore, dispatch);
9
+ emitFPIEvent(FPI_EVENTS.PRODUCT_PRICE, params, emitObj, oldStore, dispatch, options);
10
10
  }
11
11
  //# sourceMappingURL=productsPriceWithFulfillmentOption.handler.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"productsPriceWithFulfillmentOption.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/productsPriceWithFulfillmentOption.handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEpE,MAAM,UAAU,yCAAyC,CACvD,YAA8B,EAC9B,QAAkC,EAClC,MAAW,EACX,QAAiB,EACjB,KAAa;IAEb,QAAQ,CAAC,iBAAiB,iCAAM,YAAY,GAAK,MAAM,EAAG,CAAC,CAAC;IAC5D,IAAI,OAAO,GAAG,YAAY,CAAC;IAC3B,IAAI,CAAC,YAAY,EAAE;QACjB,OAAO,GAAG,KAAK,CAAC;KACjB;IACD,YAAY,CAAC,UAAU,CAAC,aAAa,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,CAAC,CAAC;AAC9E,CAAC"}
1
+ {"version":3,"file":"productsPriceWithFulfillmentOption.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/productsPriceWithFulfillmentOption.handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEpE,MAAM,UAAU,yCAAyC,CACvD,YAA8B,EAC9B,QAAkC,EAClC,MAAW,EACX,QAAiB,EACjB,OAAY,EACZ,KAAa;IAEb,QAAQ,CAAC,iBAAiB,iCAAM,YAAY,GAAK,MAAM,EAAG,CAAC,CAAC;IAC5D,IAAI,OAAO,GAAG,YAAY,CAAC;IAC3B,IAAI,CAAC,YAAY,EAAE;QACjB,OAAO,GAAG,KAAK,CAAC;KACjB;IACD,YAAY,CAAC,UAAU,CAAC,aAAa,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,OAAO,CAAC,CAAC;AACvF,CAAC"}
@@ -1,3 +1,3 @@
1
1
  import { SearchProduct } from "../../types/graphql";
2
2
  import { ThunkActionDispatch } from "redux-thunk";
3
- export declare function searchHandler(searchProduct: SearchProduct, dispatch: ThunkActionDispatch<any>, params: unknown, oldStore: unknown): void;
3
+ export declare function searchHandler(searchProduct: SearchProduct, dispatch: ThunkActionDispatch<any>, params: unknown, oldStore: unknown, options?: any): void;
@@ -1,7 +1,7 @@
1
1
  import { emitFPIEvent, FPI_EVENTS } from "../../helpers/FPI-events";
2
- export function searchHandler(searchProduct, dispatch, params, oldStore) {
2
+ export function searchHandler(searchProduct, dispatch, params, oldStore, options) {
3
3
  if (searchProduct) {
4
- emitFPIEvent(FPI_EVENTS.SEARCH_PRODUCTS, params, searchProduct, oldStore);
4
+ emitFPIEvent(FPI_EVENTS.SEARCH_PRODUCTS, params, searchProduct, oldStore, dispatch, options);
5
5
  }
6
6
  }
7
7
  //# sourceMappingURL=searchProduct.handler.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"searchProduct.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/searchProduct.handler.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAGpE,MAAM,UAAU,aAAa,CACzB,aAA4B,EAC5B,QAAkC,EAClC,MAAe,EACf,QAAiB;IAGnB,IAAI,aAAa,EAAE;QACf,YAAY,CAAC,UAAU,CAAC,eAAe,EAAC,MAAM,EAAE,aAAa,EAAE,QAAQ,CAAC,CAAC;KAC5E;AACH,CAAC"}
1
+ {"version":3,"file":"searchProduct.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/searchProduct.handler.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAGpE,MAAM,UAAU,aAAa,CACzB,aAA4B,EAC5B,QAAkC,EAClC,MAAe,EACf,QAAiB,EACjB,OAAa;IAGf,IAAI,aAAa,EAAE;QACf,YAAY,CAAC,UAAU,CAAC,eAAe,EAAC,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,QAAQ,EAAE,OAAO,CAAC,CAAC;KAC/F;AACH,CAAC"}