@bigbinary/neeto-payments-frontend 4.0.4 → 4.0.6

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 (69) hide show
  1. package/README.md +798 -541
  2. package/app/javascript/src/translations/de.json +3 -1
  3. package/app/javascript/src/translations/es.json +3 -1
  4. package/app/javascript/src/translations/fr.json +3 -1
  5. package/dist/AccountsDashboard.js +11 -11
  6. package/dist/AccountsDashboard.js.map +1 -1
  7. package/dist/AdminCancelRecurringPaymentButton.js +1 -1
  8. package/dist/CashPaymentButton.js +2 -2
  9. package/dist/ConfirmCashPaymentButton.js +2 -2
  10. package/dist/{CopyButtonWrapper-SoJkwX-d.js → CopyButtonWrapper-B79WRogM.js} +2 -2
  11. package/dist/{CopyButtonWrapper-SoJkwX-d.js.map → CopyButtonWrapper-B79WRogM.js.map} +1 -1
  12. package/dist/CustomerCancelRecurringPaymentForm.js +1 -1
  13. package/dist/{ExportModal-CWKMcZgh.js → ExportModal-B4zqaXJ1.js} +2 -2
  14. package/dist/{ExportModal-CWKMcZgh.js.map → ExportModal-B4zqaXJ1.js.map} +1 -1
  15. package/dist/ManualUpiConnect.js +1 -1
  16. package/dist/ManualUpiPayment.js +2 -2
  17. package/dist/ManualUpiPaymentConfirmButton.js +2 -2
  18. package/dist/ManualUpiPaymentRejectButton.js +2 -2
  19. package/dist/PaymentsDashboard.js +3 -3
  20. package/dist/PayoutsDashboard.js +12 -12
  21. package/dist/PayoutsDashboard.js.map +1 -1
  22. package/dist/PayoutsPage.js +4 -4
  23. package/dist/RazorpayPaymentButton.js +2 -2
  24. package/dist/RecurringPaymentSettings.js +1 -1
  25. package/dist/RefundsDashboard.js +3 -3
  26. package/dist/SplitTransfersDashboard.js +3 -3
  27. package/dist/TaxesDashboard.js +1 -1
  28. package/dist/buildStripeTransactionLink.js +1 -1
  29. package/dist/cjs/AccountsDashboard.js +9 -9
  30. package/dist/cjs/AccountsDashboard.js.map +1 -1
  31. package/dist/cjs/{CopyButtonWrapper-Ds1k64E0.js → CopyButtonWrapper-CzQmYDby.js} +1 -2
  32. package/dist/cjs/{CopyButtonWrapper-Ds1k64E0.js.map → CopyButtonWrapper-CzQmYDby.js.map} +1 -1
  33. package/dist/cjs/PaymentsDashboard.js +1 -1
  34. package/dist/cjs/PayoutsDashboard.js +9 -9
  35. package/dist/cjs/PayoutsDashboard.js.map +1 -1
  36. package/dist/cjs/PayoutsPage.js +2 -2
  37. package/dist/cjs/RefundsDashboard.js +1 -1
  38. package/dist/cjs/SplitTransfersDashboard.js +1 -1
  39. package/dist/cjs/index.js +3 -4
  40. package/dist/cjs/index.js.map +1 -1
  41. package/dist/cjs/{renderFunctions-5a8kYG9p.js → renderFunctions-9xNgMpUY.js} +2 -2
  42. package/dist/cjs/{renderFunctions-5a8kYG9p.js.map → renderFunctions-9xNgMpUY.js.map} +1 -1
  43. package/dist/constants.js +1 -1
  44. package/dist/{dashboard-BIedGLbE.js → dashboard-W7nZb7Nt.js} +2 -2
  45. package/dist/{dashboard-BIedGLbE.js.map → dashboard-W7nZb7Nt.js.map} +1 -1
  46. package/dist/getAmountInSmallestCurrencyUnit.js +1 -1
  47. package/dist/getAmountWithAppliedTax.js +1 -1
  48. package/dist/getFormattedAmount.js +1 -1
  49. package/dist/getFormattedTaxAmount.js +1 -1
  50. package/dist/getFormattedTipAmount.js +1 -1
  51. package/dist/getQrCodeValue.js +1 -1
  52. package/dist/getTaxAmount.js +1 -1
  53. package/dist/getTipAmount.js +1 -1
  54. package/dist/{index-Cw8BnbrE.js → index-DrwJCsVB.js} +2 -2
  55. package/dist/{index-Cw8BnbrE.js.map → index-DrwJCsVB.js.map} +1 -1
  56. package/dist/index.js +9 -12
  57. package/dist/index.js.map +1 -1
  58. package/dist/{renderFunctions-CEWqSB96.js → renderFunctions-CwG8PO6s.js} +4 -4
  59. package/dist/{renderFunctions-CEWqSB96.js.map → renderFunctions-CwG8PO6s.js.map} +1 -1
  60. package/dist/{usePaymentApi-AuXKzJ-d.js → usePaymentApi--FTQFayz.js} +2 -2
  61. package/dist/{usePaymentApi-AuXKzJ-d.js.map → usePaymentApi--FTQFayz.js.map} +1 -1
  62. package/dist/{usePaymentApi-DSL5iVNT.js → usePaymentApi-CnXIy7y7.js} +2 -2
  63. package/dist/{usePaymentApi-DSL5iVNT.js.map → usePaymentApi-CnXIy7y7.js.map} +1 -1
  64. package/dist/{usePaymentApi-CditWIud.js → usePaymentApi-D57hcC0x.js} +2 -2
  65. package/dist/{usePaymentApi-CditWIud.js.map → usePaymentApi-D57hcC0x.js.map} +1 -1
  66. package/dist/{usePlatformApi-CvRR6Wi5.js → usePlatformApi-CG6LhSj3.js} +3 -3
  67. package/dist/{usePlatformApi-CvRR6Wi5.js.map → usePlatformApi-CG6LhSj3.js.map} +1 -1
  68. package/dist/useRazorpayPayment.js +2 -2
  69. package/package.json +11 -11
@@ -1 +1 @@
1
- {"version":3,"file":"usePaymentApi-DSL5iVNT.js","sources":["../app/javascript/src/apis/razorpay/payments.js","../app/javascript/src/hooks/reactQuery/razorpay/usePaymentApi.js"],"sourcesContent":["import axios from \"axios\";\n\nimport { BASE_URL } from \"src/constants\";\n\nconst create = payload =>\n axios.post(`${BASE_URL}/api/v1/public/razorpay/payments`, {\n payment: payload,\n });\n\nconst defaultList = payload =>\n axios.get(`${BASE_URL}/api/v1/razorpay/holdable/payments`, {\n params: payload,\n });\n\nconst list = (holdableId, payload) =>\n axios.get(`${BASE_URL}/api/v1/razorpay/holdables/${holdableId}/payments`, {\n params: payload,\n });\n\nconst paymentsApi = { defaultList, list, create };\n\nexport default paymentsApi;\n","import { useQuery, useMutation } from \"@tanstack/react-query\";\nimport { isPresent } from \"neetocist\";\n\nimport paymentsApi from \"apis/razorpay/payments\";\nimport { QUERY_KEYS } from \"src/common/queryConstants\";\n\nexport const useFetchRazorpayPayments = (\n holdableId = \"\",\n payload = {},\n options = {}\n) =>\n useQuery({\n queryKey: [QUERY_KEYS.RAZORPAY_ACCOUNT_DETAILS, payload],\n queryFn: () => {\n if (isPresent(holdableId)) return paymentsApi.list(holdableId, payload);\n\n return paymentsApi.defaultList(payload);\n },\n ...options,\n });\n\nexport const useCreateRazorpayPayment = options =>\n useMutation({ mutationFn: paymentsApi.create, ...options });\n"],"names":["create","payload","axios","post","concat","BASE_URL","payment","defaultList","get","params","list","holdableId","paymentsApi","useCreateRazorpayPayment","options","useMutation","_objectSpread","mutationFn"],"mappings":";;;;;;AAIA,IAAMA,MAAM,GAAG,SAATA,MAAMA,CAAGC,OAAO,EAAA;AAAA,EAAA,OACpBC,KAAK,CAACC,IAAI,IAAAC,MAAA,CAAIC,QAAQ,EAAoC,kCAAA,CAAA,EAAA;AACxDC,IAAAA,OAAO,EAAEL;AACX,GAAC,CAAC;AAAA,CAAA;AAEJ,IAAMM,WAAW,GAAG,SAAdA,WAAWA,CAAGN,OAAO,EAAA;AAAA,EAAA,OACzBC,KAAK,CAACM,GAAG,IAAAJ,MAAA,CAAIC,QAAQ,EAAsC,oCAAA,CAAA,EAAA;AACzDI,IAAAA,MAAM,EAAER;AACV,GAAC,CAAC;AAAA,CAAA;AAEJ,IAAMS,IAAI,GAAG,SAAPA,IAAIA,CAAIC,UAAU,EAAEV,OAAO,EAAA;EAAA,OAC/BC,KAAK,CAACM,GAAG,CAAAJ,EAAAA,CAAAA,MAAA,CAAIC,QAAQ,EAAAD,6BAAAA,CAAAA,CAAAA,MAAA,CAA8BO,UAAU,EAAa,WAAA,CAAA,EAAA;AACxEF,IAAAA,MAAM,EAAER;AACV,GAAC,CAAC;AAAA,CAAA;AAEJ,IAAMW,WAAW,GAAG;AAAEL,EAAAA,WAAW,EAAXA,WAAW;AAAEG,EAAAA,IAAI,EAAJA,IAAI;AAAEV,EAAAA,MAAM,EAANA;AAAO,CAAC;;;;ICEpCa,wBAAwB,GAAG,SAA3BA,wBAAwBA,CAAGC,OAAO,EAAA;EAAA,OAC7CC,WAAW,CAAAC,aAAA,CAAA;IAAGC,UAAU,EAAEL,WAAW,CAACZ;GAAWc,EAAAA,OAAO,CAAE,CAAC;AAAA;;;;"}
1
+ {"version":3,"file":"usePaymentApi-CnXIy7y7.js","sources":["../app/javascript/src/apis/razorpay/payments.js","../app/javascript/src/hooks/reactQuery/razorpay/usePaymentApi.js"],"sourcesContent":["import axios from \"axios\";\n\nimport { BASE_URL } from \"src/constants\";\n\nconst create = payload =>\n axios.post(`${BASE_URL}/api/v1/public/razorpay/payments`, {\n payment: payload,\n });\n\nconst defaultList = payload =>\n axios.get(`${BASE_URL}/api/v1/razorpay/holdable/payments`, {\n params: payload,\n });\n\nconst list = (holdableId, payload) =>\n axios.get(`${BASE_URL}/api/v1/razorpay/holdables/${holdableId}/payments`, {\n params: payload,\n });\n\nconst paymentsApi = { defaultList, list, create };\n\nexport default paymentsApi;\n","import { useQuery, useMutation } from \"@tanstack/react-query\";\nimport { isPresent } from \"neetocist\";\n\nimport paymentsApi from \"apis/razorpay/payments\";\nimport { QUERY_KEYS } from \"src/common/queryConstants\";\n\nexport const useFetchRazorpayPayments = (\n holdableId = \"\",\n payload = {},\n options = {}\n) =>\n useQuery({\n queryKey: [QUERY_KEYS.RAZORPAY_ACCOUNT_DETAILS, payload],\n queryFn: () => {\n if (isPresent(holdableId)) return paymentsApi.list(holdableId, payload);\n\n return paymentsApi.defaultList(payload);\n },\n ...options,\n });\n\nexport const useCreateRazorpayPayment = options =>\n useMutation({ mutationFn: paymentsApi.create, ...options });\n"],"names":["create","payload","axios","post","concat","BASE_URL","payment","defaultList","get","params","list","holdableId","paymentsApi","useCreateRazorpayPayment","options","useMutation","_objectSpread","mutationFn"],"mappings":";;;;;;AAIA,IAAMA,MAAM,GAAG,SAATA,MAAMA,CAAGC,OAAO,EAAA;AAAA,EAAA,OACpBC,KAAK,CAACC,IAAI,IAAAC,MAAA,CAAIC,QAAQ,EAAoC,kCAAA,CAAA,EAAA;AACxDC,IAAAA,OAAO,EAAEL;AACX,GAAC,CAAC;AAAA,CAAA;AAEJ,IAAMM,WAAW,GAAG,SAAdA,WAAWA,CAAGN,OAAO,EAAA;AAAA,EAAA,OACzBC,KAAK,CAACM,GAAG,IAAAJ,MAAA,CAAIC,QAAQ,EAAsC,oCAAA,CAAA,EAAA;AACzDI,IAAAA,MAAM,EAAER;AACV,GAAC,CAAC;AAAA,CAAA;AAEJ,IAAMS,IAAI,GAAG,SAAPA,IAAIA,CAAIC,UAAU,EAAEV,OAAO,EAAA;EAAA,OAC/BC,KAAK,CAACM,GAAG,CAAAJ,EAAAA,CAAAA,MAAA,CAAIC,QAAQ,EAAAD,6BAAAA,CAAAA,CAAAA,MAAA,CAA8BO,UAAU,EAAa,WAAA,CAAA,EAAA;AACxEF,IAAAA,MAAM,EAAER;AACV,GAAC,CAAC;AAAA,CAAA;AAEJ,IAAMW,WAAW,GAAG;AAAEL,EAAAA,WAAW,EAAXA,WAAW;AAAEG,EAAAA,IAAI,EAAJA,IAAI;AAAEV,EAAAA,MAAM,EAANA;AAAO,CAAC;;;;ICEpCa,wBAAwB,GAAG,SAA3BA,wBAAwBA,CAAGC,OAAO,EAAA;EAAA,OAC7CC,WAAW,CAAAC,aAAA,CAAA;IAAGC,UAAU,EAAEL,WAAW,CAACZ;GAAWc,EAAAA,OAAO,CAAE,CAAC;AAAA;;;;"}
@@ -3,7 +3,7 @@ import _defineProperty from '@babel/runtime/helpers/defineProperty';
3
3
  import { useMutation } from '@tanstack/react-query';
4
4
  import { useMutationWithInvalidation } from '@bigbinary/neeto-commons-frontend/react-utils';
5
5
  import axios from 'axios';
6
- import { B as BASE_URL } from './index-Cw8BnbrE.js';
6
+ import { B as BASE_URL } from './index-DrwJCsVB.js';
7
7
 
8
8
  var create = function create(payload) {
9
9
  return axios.post("".concat(BASE_URL, "/api/v1/public/manual_upi/payments"), {
@@ -49,4 +49,4 @@ var useUpdateUpiPayment = function useUpdateUpiPayment(_ref) {
49
49
  };
50
50
 
51
51
  export { useUpdateUpiPayment as a, useCreateUpiPayment as u };
52
- //# sourceMappingURL=usePaymentApi-CditWIud.js.map
52
+ //# sourceMappingURL=usePaymentApi-D57hcC0x.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"usePaymentApi-CditWIud.js","sources":["../app/javascript/src/apis/manual_upi/payments.js","../app/javascript/src/hooks/reactQuery/manualUpi/usePaymentApi.js"],"sourcesContent":["import axios from \"axios\";\n\nimport { BASE_URL } from \"src/constants\";\n\nconst create = payload =>\n axios.post(`${BASE_URL}/api/v1/public/manual_upi/payments`, {\n payment: payload,\n });\n\nconst update = ({ id, manualUpiId, payload }) =>\n axios.put(`${BASE_URL}/api/v1/manual_upi/${manualUpiId}/payments/${id}`, {\n payment: payload,\n });\n\nconst paymentsApi = { update, create };\n\nexport default paymentsApi;\n","import { useMutation } from \"@tanstack/react-query\";\nimport { useMutationWithInvalidation } from \"neetocommons/react-utils\";\n\nimport paymentsApi from \"apis/manual_upi/payments\";\n\nexport const useCreateUpiPayment = options =>\n useMutation({ mutationFn: paymentsApi.create, ...options });\n\nexport const useUpdateUpiPayment = ({\n id,\n manualUpiId,\n options = {},\n keysToInvalidate = [],\n}) =>\n useMutationWithInvalidation(\n payload => paymentsApi.update({ id, manualUpiId, payload }),\n { keysToInvalidate: [...keysToInvalidate], ...options }\n );\n"],"names":["create","payload","axios","post","concat","BASE_URL","payment","update","_ref","id","manualUpiId","put","paymentsApi","useCreateUpiPayment","options","useMutation","_objectSpread","mutationFn","useUpdateUpiPayment","_ref$options","_ref$keysToInvalidate","keysToInvalidate","useMutationWithInvalidation","_toConsumableArray"],"mappings":";;;;;;;AAIA,IAAMA,MAAM,GAAG,SAATA,MAAMA,CAAGC,OAAO,EAAA;AAAA,EAAA,OACpBC,KAAK,CAACC,IAAI,IAAAC,MAAA,CAAIC,QAAQ,EAAsC,oCAAA,CAAA,EAAA;AAC1DC,IAAAA,OAAO,EAAEL;AACX,GAAC,CAAC;AAAA,CAAA;AAEJ,IAAMM,MAAM,GAAG,SAATA,MAAMA,CAAAC,IAAA,EAAA;AAAA,EAAA,IAAMC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e,aAAA,CAAA;IACzDK,gBAAgB,EAAAE,kBAAA,CAAMF,gBAAgB;GAAMP,EAAAA,OAAO,CACvD,CAAC;AAAA;;;;"}
1
+ {"version":3,"file":"usePaymentApi-D57hcC0x.js","sources":["../app/javascript/src/apis/manual_upi/payments.js","../app/javascript/src/hooks/reactQuery/manualUpi/usePaymentApi.js"],"sourcesContent":["import axios from \"axios\";\n\nimport { BASE_URL } from \"src/constants\";\n\nconst create = payload =>\n axios.post(`${BASE_URL}/api/v1/public/manual_upi/payments`, {\n payment: payload,\n });\n\nconst update = ({ id, manualUpiId, payload }) =>\n axios.put(`${BASE_URL}/api/v1/manual_upi/${manualUpiId}/payments/${id}`, {\n payment: payload,\n });\n\nconst paymentsApi = { update, create };\n\nexport default paymentsApi;\n","import { useMutation } from \"@tanstack/react-query\";\nimport { useMutationWithInvalidation } from \"neetocommons/react-utils\";\n\nimport paymentsApi from \"apis/manual_upi/payments\";\n\nexport const useCreateUpiPayment = options =>\n useMutation({ mutationFn: paymentsApi.create, ...options });\n\nexport const useUpdateUpiPayment = ({\n id,\n manualUpiId,\n options = {},\n keysToInvalidate = [],\n}) =>\n useMutationWithInvalidation(\n payload => paymentsApi.update({ id, manualUpiId, payload }),\n { keysToInvalidate: [...keysToInvalidate], ...options }\n );\n"],"names":["create","payload","axios","post","concat","BASE_URL","payment","update","_ref","id","manualUpiId","put","paymentsApi","useCreateUpiPayment","options","useMutation","_objectSpread","mutationFn","useUpdateUpiPayment","_ref$options","_ref$keysToInvalidate","keysToInvalidate","useMutationWithInvalidation","_toConsumableArray"],"mappings":";;;;;;;AAIA,IAAMA,MAAM,GAAG,SAATA,MAAMA,CAAGC,OAAO,EAAA;AAAA,EAAA,OACpBC,KAAK,CAACC,IAAI,IAAAC,MAAA,CAAIC,QAAQ,EAAsC,oCAAA,CAAA,EAAA;AAC1DC,IAAAA,OAAO,EAAEL;AACX,GAAC,CAAC;AAAA,CAAA;AAEJ,IAAMM,MAAM,GAAG,SAATA,MAAM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PA;AAAQ,KAAC,CAAC;AAAA,GAAA,EAAAe,aAAA,CAAA;IACzDK,gBAAgB,EAAAE,kBAAA,CAAMF,gBAAgB;GAAMP,EAAAA,OAAO,CACvD,CAAC;AAAA;;;;"}
@@ -3,7 +3,7 @@ import { useQuery } from '@tanstack/react-query';
3
3
  import '@bigbinary/neeto-cist';
4
4
  import '@bigbinary/neeto-commons-frontend/react-utils';
5
5
  import axios from 'axios';
6
- import { B as BASE_URL } from './index-Cw8BnbrE.js';
6
+ import { B as BASE_URL } from './index-DrwJCsVB.js';
7
7
  import 'qs';
8
8
  import { Q as QUERY_KEYS } from './queryConstants-jobxv6K1.js';
9
9
 
@@ -75,5 +75,5 @@ var useShowStripePlatformPayout = function useShowStripePlatformPayout(id) {
75
75
  }, options));
76
76
  };
77
77
 
78
- export { useFetchStripePlatformPayouts as a, useShowStripePayout as b, useShowStripePlatformPayout as c, useFetchStripePayouts as u };
79
- //# sourceMappingURL=usePlatformApi-CvRR6Wi5.js.map
78
+ export { useShowStripePlatformPayout as a, useFetchStripePayouts as b, useFetchStripePlatformPayouts as c, useShowStripePayout as u };
79
+ //# sourceMappingURL=usePlatformApi-CG6LhSj3.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"usePlatformApi-CvRR6Wi5.js","sources":["../app/javascript/src/apis/stripe/holdables/payouts.js","../app/javascript/src/hooks/reactQuery/stripe/useConnectApi.js","../app/javascript/src/apis/stripePlatform/payouts.js","../app/javascript/src/hooks/reactQuery/stripe/usePlatformApi.js"],"sourcesContent":["import axios from \"axios\";\n\nimport { BASE_URL } from \"src/constants\";\n\nconst list = payload =>\n axios.get(`${BASE_URL}/api/v1/stripe/holdable/payouts`, { params: payload });\n\nconst show = id =>\n axios.get(`${BASE_URL}/api/v1/stripe/holdable/payouts/${id}`);\n\nconst payoutsApi = { list, show };\n\nexport default payoutsApi;\n","import { useQuery } from \"@tanstack/react-query\";\nimport { isPresent } from \"neetocist\";\nimport { useMutationWithInvalidation } from \"neetocommons/react-utils\";\n\nimport accountsApi from \"apis/stripe/holdables/accounts\";\nimport payoutsApi from \"apis/stripe/holdables/payouts\";\nimport transactionsApi from \"apis/stripe/holdables/transactions\";\nimport { QUERY_KEYS } from \"src/common/queryConstants\";\n\nexport const useFetchConnectedStripeAccount = (holdableId, options = {}) =>\n useQuery({\n queryKey: [QUERY_KEYS.CONNECTED_ACCOUNT, holdableId],\n queryFn: () => accountsApi.show(holdableId),\n ...options,\n });\n\nexport const useFetchStripeTransactions = (\n holdableId = \"\",\n payload = {},\n options = {}\n) =>\n useQuery({\n queryKey: [QUERY_KEYS.TRANSACTIONS_LIST, payload],\n queryFn: () => {\n if (isPresent(holdableId)) {\n return transactionsApi.list(holdableId, payload);\n }\n\n return transactionsApi.defaultList(payload);\n },\n ...options,\n });\n\nexport const useFetchStripePayouts = (payload, options = {}) =>\n useQuery({\n queryKey: [QUERY_KEYS.STRIPE_PAYOUTS_LIST, payload],\n queryFn: () => payoutsApi.list(payload),\n ...options,\n });\n\nexport const useShowStripePayout = (id, options = {}) =>\n useQuery({\n queryKey: [QUERY_KEYS.STRIPE_PAYOUT, id],\n queryFn: () => payoutsApi.show(id),\n ...options,\n });\n\nexport const usePollingStripeAccount = (holdableId, { refetchInterval }) =>\n useQuery({\n queryKey: [QUERY_KEYS.STRIPE_ACCOUNT_DETAILS],\n queryFn: () => accountsApi.show(holdableId),\n refetchInterval,\n });\n\nexport const usePollingStripeAccountCreationStatus = (jobId, options) =>\n useQuery({\n queryKey: [QUERY_KEYS.STRIPE_ACCOUNT_DETAILS, jobId],\n queryFn: () => accountsApi.creationStatus(jobId),\n ...options,\n });\n\nexport const useDestroyStripeAccount = ({ onSuccess, holdableId }) =>\n useMutationWithInvalidation(accountsApi.destroy, {\n keysToInvalidate: [\n [QUERY_KEYS.STRIPE_ACCOUNT_DETAILS],\n [QUERY_KEYS.CONNECTED_ACCOUNT, holdableId],\n ],\n onSuccess,\n });\n\nexport const useCreateStripeAccount = ({ onSuccess }) =>\n useMutationWithInvalidation(accountsApi.create, {\n keysToInvalidate: [[QUERY_KEYS.STRIPE_ACCOUNT_DETAILS]],\n onSuccess,\n });\n","import axios from \"axios\";\n\nimport { BASE_URL } from \"src/constants\";\n\nconst list = payload =>\n axios.get(`${BASE_URL}/api/v1/stripe_platform/payouts`, { params: payload });\n\nconst show = id =>\n axios.get(`${BASE_URL}/api/v1/stripe_platform/payouts/${id}`);\n\nconst payoutsApi = { list, show };\n\nexport default payoutsApi;\n","import { useQuery } from \"@tanstack/react-query\";\n\nimport refundsApi from \"apis/stripe/holdables/refunds\";\nimport accountsApi from \"apis/stripePlatform/accounts\";\nimport payoutsApi from \"apis/stripePlatform/payouts\";\nimport splitsApi from \"apis/stripePlatform/splits\";\nimport transactionsApi from \"apis/stripePlatform/transactions\";\nimport { QUERY_KEYS } from \"src/common/queryConstants\";\n\nexport const useFetchStripePlatformAccount = options =>\n useQuery({\n queryKey: [QUERY_KEYS.STRIPE_PLATFORM_ACCOUNT_DETAILS],\n queryFn: accountsApi.show,\n ...options,\n });\n\nexport const useFetchStripePlatformSplits = (payload, options = {}) =>\n useQuery({\n queryKey: [QUERY_KEYS.SPLITS_LIST, payload],\n queryFn: () => splitsApi.list(payload),\n ...options,\n });\n\nexport const useFetchStripePlatformTransactions = (payload, options) =>\n useQuery({\n queryKey: [QUERY_KEYS.TRANSACTIONS_LIST, payload],\n queryFn: () => transactionsApi.list(payload),\n ...options,\n });\n\nexport const useFetchStripePlatformTransaction = (id, options = {}) =>\n useQuery({\n queryKey: [QUERY_KEYS.STRIPE_PLATFORM_TRANSACTION, id],\n queryFn: () => transactionsApi.show(id),\n ...options,\n });\n\nexport const useFetchStripeRefunds = (payload, options = {}) =>\n useQuery({\n queryKey: [QUERY_KEYS.STRIPE_REFUNDS_LIST, payload],\n queryFn: () => refundsApi.list(payload),\n ...options,\n });\n\nexport const useFetchStripePlatformPayouts = (payload, options = {}) =>\n useQuery({\n queryKey: [QUERY_KEYS.STRIPE_PAYOUTS_LIST, payload],\n queryFn: () => payoutsApi.list(payload),\n ...options,\n });\n\nexport const useShowStripePlatformPayout = (id, options = {}) =>\n useQuery({\n queryKey: [QUERY_KEYS.STRIPE_PAYOUT, id],\n queryFn: () => payoutsApi.show(id),\n ...options,\n });\n"],"names":["list","payload","axios","get","concat","BASE_URL","params","show","id","payoutsApi","useFetchStripePayouts","options","arguments","length","undefined","useQuery","_objectSpread","queryKey","QUERY_KEYS","STRIPE_PAYOUTS_LIST","queryFn","useShowStripePayout","STRIPE_PAYOUT","useFetchStripePlatformPayouts","useShowStripePlatformPayout"],"mappings":";;;;;;;;;AAIA,IAAMA,MAAI,GAAG,SAAPA,IAAIA,CAAGC,OAAO,EAAA;AAAA,EAAA,OAClBC,KAAK,CAACC,GAAG,IAAAC,MAAA,CAAIC,QAAQ,EAAmC,iCAAA,CAAA,EAAA;AAAEC,IAAAA,MAAM,EAAEL;AAAQ,GAAC,CAAC;AAAA,CAAA;AAE9E,IAAMM,MAAI,GAAG,SAAPA,IAAIA,CAAGC,EAAE,EAAA;AAAA,EAAA,OACbN,KAAK,CAACC,GAAG,CAAA,EAAA,CAAAC,MAAA,CAAIC,QAAQ,EAAA,kCAAA,CAAA,CAAAD,MAAA,CAAmCI,EAAE,CAAE,CAAC;AAAA,CAAA;AAE/D,IAAMC,YAAU,GAAG;AAAET,EAAAA,IAAI,EAAJA,MAAI;AAAEO,EAAAA,IAAI,EAAJA;AAAK,CAAC;;;;ICuBpBG,qBAAqB,GAAG,SAAxBA,qBAAqBA,CAAIT,OAAO,EAAA;AAAA,EAAA,IAAEU,OAAO,GAAAC,SAAA,CAAAC,MAAA,GAAA,CAAA,IAAAD,SAAA,CAAA,CAAA,CAAA,KAAAE,SAAA,GAAAF,SAAA,CAAA,CAAA,CAAA,GAAG,EAAE;EAAA,OACzDG,QAAQ,CAAAC,eAAA,CAAA;AACNC,IAAAA,QAAQ,EAAE,CAACC,UAAU,CAACC,mBAAmB,EAAElB,OAAO,CAAC;IACnDmB,OAAO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AAAD,SAAA,CAAA,CAAA,CAAA,KAAAE,SAAA,GAAAF,SAAA,CAAA,CAAA,CAAA,GAAG,EAAE;EAAA,OACjEG,QAAQ,CAAAC,aAAA,CAAA;AACNC,IAAAA,QAAQ,EAAE,CAACC,UAAU,CAACC,mBAAmB,EAAElB,OAAO,CAAC;IACnDmB,OAAO,EAAE,SAATA,OAAOA,GAAA;AAAA,MAAA,OAAQX,UAAU,CAACT,IAAI,CAACC,OAAO,CAAC;AAAA;GACpCU,EAAAA,OAAO,CACX,CAAC;AAAA;IAESa,2BAA2B,GAAG,SAA9BA,2BAA2BA,CAAIhB,EAAE,EAAA;AAAA,EAAA,IAAEG,OAAO,GAAAC,SAAA,CAAAC,MAAA,GAAA,CAAA,IAAAD,SAAA,CAAA,CAAA,CAAA,KAAAE,SAAA,GAAAF,SAAA,CAAA,CAAA,CAAA,GAAG,EAAE;EAAA,OAC1DG,QAAQ,CAAAC,aAAA,CAAA;AACNC,IAAAA,QAAQ,EAAE,CAACC,UAAU,CAACI,aAAa,EAAEd,EAAE,CAAC;IACxCY,OAAO,EAAE,SAATA,OAAOA,GAAA;AAAA,MAAA,OAAQX,UAAU,CAACF,IAAI,CAACC,EAAE,CAAC;AAAA;GAC/BG,EAAAA,OAAO,CACX,CAAC;AAAA;;;;"}
1
+ {"version":3,"file":"usePlatformApi-CG6LhSj3.js","sources":["../app/javascript/src/apis/stripe/holdables/payouts.js","../app/javascript/src/hooks/reactQuery/stripe/useConnectApi.js","../app/javascript/src/apis/stripePlatform/payouts.js","../app/javascript/src/hooks/reactQuery/stripe/usePlatformApi.js"],"sourcesContent":["import axios from \"axios\";\n\nimport { BASE_URL } from \"src/constants\";\n\nconst list = payload =>\n axios.get(`${BASE_URL}/api/v1/stripe/holdable/payouts`, { params: payload });\n\nconst show = id =>\n axios.get(`${BASE_URL}/api/v1/stripe/holdable/payouts/${id}`);\n\nconst payoutsApi = { list, show };\n\nexport default payoutsApi;\n","import { useQuery } from \"@tanstack/react-query\";\nimport { isPresent } from \"neetocist\";\nimport { useMutationWithInvalidation } from \"neetocommons/react-utils\";\n\nimport accountsApi from \"apis/stripe/holdables/accounts\";\nimport payoutsApi from \"apis/stripe/holdables/payouts\";\nimport transactionsApi from \"apis/stripe/holdables/transactions\";\nimport { QUERY_KEYS } from \"src/common/queryConstants\";\n\nexport const useFetchConnectedStripeAccount = (holdableId, options = {}) =>\n useQuery({\n queryKey: [QUERY_KEYS.CONNECTED_ACCOUNT, holdableId],\n queryFn: () => accountsApi.show(holdableId),\n ...options,\n });\n\nexport const useFetchStripeTransactions = (\n holdableId = \"\",\n payload = {},\n options = {}\n) =>\n useQuery({\n queryKey: [QUERY_KEYS.TRANSACTIONS_LIST, payload],\n queryFn: () => {\n if (isPresent(holdableId)) {\n return transactionsApi.list(holdableId, payload);\n }\n\n return transactionsApi.defaultList(payload);\n },\n ...options,\n });\n\nexport const useFetchStripePayouts = (payload, options = {}) =>\n useQuery({\n queryKey: [QUERY_KEYS.STRIPE_PAYOUTS_LIST, payload],\n queryFn: () => payoutsApi.list(payload),\n ...options,\n });\n\nexport const useShowStripePayout = (id, options = {}) =>\n useQuery({\n queryKey: [QUERY_KEYS.STRIPE_PAYOUT, id],\n queryFn: () => payoutsApi.show(id),\n ...options,\n });\n\nexport const usePollingStripeAccount = (holdableId, { refetchInterval }) =>\n useQuery({\n queryKey: [QUERY_KEYS.STRIPE_ACCOUNT_DETAILS],\n queryFn: () => accountsApi.show(holdableId),\n refetchInterval,\n });\n\nexport const usePollingStripeAccountCreationStatus = (jobId, options) =>\n useQuery({\n queryKey: [QUERY_KEYS.STRIPE_ACCOUNT_DETAILS, jobId],\n queryFn: () => accountsApi.creationStatus(jobId),\n ...options,\n });\n\nexport const useDestroyStripeAccount = ({ onSuccess, holdableId }) =>\n useMutationWithInvalidation(accountsApi.destroy, {\n keysToInvalidate: [\n [QUERY_KEYS.STRIPE_ACCOUNT_DETAILS],\n [QUERY_KEYS.CONNECTED_ACCOUNT, holdableId],\n ],\n onSuccess,\n });\n\nexport const useCreateStripeAccount = ({ onSuccess }) =>\n useMutationWithInvalidation(accountsApi.create, {\n keysToInvalidate: [[QUERY_KEYS.STRIPE_ACCOUNT_DETAILS]],\n onSuccess,\n });\n","import axios from \"axios\";\n\nimport { BASE_URL } from \"src/constants\";\n\nconst list = payload =>\n axios.get(`${BASE_URL}/api/v1/stripe_platform/payouts`, { params: payload });\n\nconst show = id =>\n axios.get(`${BASE_URL}/api/v1/stripe_platform/payouts/${id}`);\n\nconst payoutsApi = { list, show };\n\nexport default payoutsApi;\n","import { useQuery } from \"@tanstack/react-query\";\n\nimport refundsApi from \"apis/stripe/holdables/refunds\";\nimport accountsApi from \"apis/stripePlatform/accounts\";\nimport payoutsApi from \"apis/stripePlatform/payouts\";\nimport splitsApi from \"apis/stripePlatform/splits\";\nimport transactionsApi from \"apis/stripePlatform/transactions\";\nimport { QUERY_KEYS } from \"src/common/queryConstants\";\n\nexport const useFetchStripePlatformAccount = options =>\n useQuery({\n queryKey: [QUERY_KEYS.STRIPE_PLATFORM_ACCOUNT_DETAILS],\n queryFn: accountsApi.show,\n ...options,\n });\n\nexport const useFetchStripePlatformSplits = (payload, options = {}) =>\n useQuery({\n queryKey: [QUERY_KEYS.SPLITS_LIST, payload],\n queryFn: () => splitsApi.list(payload),\n ...options,\n });\n\nexport const useFetchStripePlatformTransactions = (payload, options) =>\n useQuery({\n queryKey: [QUERY_KEYS.TRANSACTIONS_LIST, payload],\n queryFn: () => transactionsApi.list(payload),\n ...options,\n });\n\nexport const useFetchStripePlatformTransaction = (id, options = {}) =>\n useQuery({\n queryKey: [QUERY_KEYS.STRIPE_PLATFORM_TRANSACTION, id],\n queryFn: () => transactionsApi.show(id),\n ...options,\n });\n\nexport const useFetchStripeRefunds = (payload, options = {}) =>\n useQuery({\n queryKey: [QUERY_KEYS.STRIPE_REFUNDS_LIST, payload],\n queryFn: () => refundsApi.list(payload),\n ...options,\n });\n\nexport const useFetchStripePlatformPayouts = (payload, options = {}) =>\n useQuery({\n queryKey: [QUERY_KEYS.STRIPE_PAYOUTS_LIST, payload],\n queryFn: () => payoutsApi.list(payload),\n ...options,\n });\n\nexport const useShowStripePlatformPayout = (id, options = {}) =>\n useQuery({\n queryKey: [QUERY_KEYS.STRIPE_PAYOUT, id],\n queryFn: () => payoutsApi.show(id),\n ...options,\n });\n"],"names":["list","payload","axios","get","concat","BASE_URL","params","show","id","payoutsApi","useFetchStripePayouts","options","arguments","length","undefined","useQuery","_objectSpread","queryKey","QUERY_KEYS","STRIPE_PAYOUTS_LIST","queryFn","useShowStripePayout","STRIPE_PAYOUT","useFetchStripePlatformPayouts","useShowStripePlatformPayout"],"mappings":";;;;;;;;;AAIA,IAAMA,MAAI,GAAG,SAAPA,IAAIA,CAAGC,OAAO,EAAA;AAAA,EAAA,OAClBC,KAAK,CAACC,GAAG,IAAAC,MAAA,CAAIC,QAAQ,EAAmC,iCAAA,CAAA,EAAA;AAAEC,IAAAA,MAAM,EAAEL;AAAQ,GAAC,CAAC;AAAA,CAAA;AAE9E,IAAMM,MAAI,GAAG,SAAPA,IAAIA,CAAGC,EAAE,EAAA;AAAA,EAAA,OACbN,KAAK,CAACC,GAAG,CAAA,EAAA,CAAAC,MAAA,CAAIC,QAAQ,EAAA,kCAAA,CAAA,CAAAD,MAAA,CAAmCI,EAAE,CAAE,CAAC;AAAA,CAAA;AAE/D,IAAMC,YAAU,GAAG;AAAET,EAAAA,IAAI,EAAJA,MAAI;AAAEO,EAAAA,IAAI,EAAJA;AAAK,CAAC;;;;ICuBpBG,qBAAqB,GAAG,SAAxBA,qBAAqBA,CAAIT,OAAO,EAAA;AAAA,EAAA,IAAEU,OAAO,GAAAC,SAAA,CAAAC,MAAA,GAAA,CAAA,IAAAD,SAAA,CAAA,CAAA,CAAA,KAAAE,SAAA,GAAAF,SAAA,CAAA,CAAA,CAAA,GAAG,EAAE;EAAA,OACzDG,QAAQ,CAAAC,eAAA,CAAA;AACNC,IAAAA,QAAQ,EAAE,CAACC,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IAAEU,OAAO,GAAAC,SAAA,CAAAC,MAAA,GAAA,CAAA,IAAAD,SAAA,CAAA,CAAA,CAAA,KAAAE,SAAA,GAAAF,SAAA,CAAA,CAAA,CAAA,GAAG,EAAE;EAAA,OACjEG,QAAQ,CAAAC,aAAA,CAAA;AACNC,IAAAA,QAAQ,EAAE,CAACC,UAAU,CAACC,mBAAmB,EAAElB,OAAO,CAAC;IACnDmB,OAAO,EAAE,SAATA,OAAOA,GAAA;AAAA,MAAA,OAAQX,UAAU,CAACT,IAAI,CAACC,OAAO,CAAC;AAAA;GACpCU,EAAAA,OAAO,CACX,CAAC;AAAA;IAESa,2BAA2B,GAAG,SAA9BA,2BAA2BA,CAAIhB,EAAE,EAAA;AAAA,EAAA,IAAEG,OAAO,GAAAC,SAAA,CAAAC,MAAA,GAAA,CAAA,IAAAD,SAAA,CAAA,CAAA,CAAA,KAAAE,SAAA,GAAAF,SAAA,CAAA,CAAA,CAAA,GAAG,EAAE;EAAA,OAC1DG,QAAQ,CAAAC,aAAA,CAAA;AACNC,IAAAA,QAAQ,EAAE,CAACC,UAAU,CAACI,aAAa,EAAEd,EAAE,CAAC;IACxCY,OAAO,EAAE,SAATA,OAAOA,GAAA;AAAA,MAAA,OAAQX,UAAU,CAACF,IAAI,CAACC,EAAE,CAAC;AAAA;GAC/BG,EAAAA,OAAO,CACX,CAAC;AAAA;;;;"}
@@ -3,8 +3,8 @@ import _regeneratorRuntime from '@babel/runtime/regenerator';
3
3
  import { noop, isNotPresent } from '@bigbinary/neeto-cist';
4
4
  import { mergeDeepLeft } from 'ramda';
5
5
  import { useTranslation } from 'react-i18next';
6
- import { u as useCreateRazorpayPayment } from './usePaymentApi-DSL5iVNT.js';
7
- import { R as RAZORPAY_PAYMENT_BUTTON_OPTIONS } from './index-Cw8BnbrE.js';
6
+ import { u as useCreateRazorpayPayment } from './usePaymentApi-CnXIy7y7.js';
7
+ import { R as RAZORPAY_PAYMENT_BUTTON_OPTIONS } from './index-DrwJCsVB.js';
8
8
  import '@babel/runtime/helpers/defineProperty';
9
9
  import '@tanstack/react-query';
10
10
  import 'axios';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bigbinary/neeto-payments-frontend",
3
- "version": "4.0.4",
3
+ "version": "4.0.6",
4
4
  "description": "To manage payments across the neeto products.",
5
5
  "license": "UNLICENSED",
6
6
  "homepage": "https://github.com/bigbinary/neeto-payments-nano",
@@ -60,12 +60,12 @@
60
60
  "@bigbinary/babel-preset-neeto": "^1.0.3",
61
61
  "@bigbinary/eslint-plugin-neeto": "1.6.4",
62
62
  "@bigbinary/neeto-cist": "1.0.17",
63
- "@bigbinary/neeto-commons-frontend": "4.13.45",
64
- "@bigbinary/neeto-editor": "1.47.20",
65
- "@bigbinary/neeto-filters-frontend": "4.3.22",
63
+ "@bigbinary/neeto-commons-frontend": "4.13.47",
64
+ "@bigbinary/neeto-editor": "1.47.21",
65
+ "@bigbinary/neeto-filters-frontend": "4.3.23",
66
66
  "@bigbinary/neeto-icons": "1.20.53",
67
- "@bigbinary/neeto-molecules": "3.16.81",
68
- "@bigbinary/neetoui": "8.3.13",
67
+ "@bigbinary/neeto-molecules": "3.16.84",
68
+ "@bigbinary/neetoui": "8.3.14",
69
69
  "@emotion/is-prop-valid": "1.2.0",
70
70
  "@faker-js/faker": "8.2.0",
71
71
  "@honeybadger-io/js": "6.10.1",
@@ -171,12 +171,12 @@
171
171
  "peerDependencies": {
172
172
  "@babel/runtime": "7.26.10",
173
173
  "@bigbinary/neeto-cist": "1.0.17",
174
- "@bigbinary/neeto-commons-frontend": "4.13.45",
175
- "@bigbinary/neeto-editor": "1.47.20",
176
- "@bigbinary/neeto-filters-frontend": "4.3.22",
174
+ "@bigbinary/neeto-commons-frontend": "4.13.47",
175
+ "@bigbinary/neeto-editor": "1.47.21",
176
+ "@bigbinary/neeto-filters-frontend": "4.3.23",
177
177
  "@bigbinary/neeto-icons": "1.20.53",
178
- "@bigbinary/neeto-molecules": "3.16.81",
179
- "@bigbinary/neetoui": "8.3.13",
178
+ "@bigbinary/neeto-molecules": "3.16.84",
179
+ "@bigbinary/neetoui": "8.3.14",
180
180
  "@honeybadger-io/js": "6.10.1",
181
181
  "@honeybadger-io/react": "6.1.25",
182
182
  "@tailwindcss/container-queries": "^0.1.1",