@bigbinary/neeto-payments-frontend 6.4.0 → 6.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AccountsDashboard.js +5 -5
- package/dist/AdminCancelRecurringPaymentButton.js +2 -2
- package/dist/CashPaymentButton.js +2 -2
- package/dist/ConfirmCashPaymentButton.js +2 -2
- package/dist/CustomerCancelRecurringPaymentForm.js +2 -2
- package/dist/{ExportModal-Imx5pEqt.js → ExportModal-BVqaCjzT.js} +3 -3
- package/dist/{ExportModal-Imx5pEqt.js.map → ExportModal-BVqaCjzT.js.map} +1 -1
- package/dist/{ExportModal-hqjn7q4w.js → ExportModal-Dd_TwFMQ.js} +3 -3
- package/dist/{ExportModal-hqjn7q4w.js.map → ExportModal-Dd_TwFMQ.js.map} +1 -1
- package/dist/ManualUpiConnect.js +2 -2
- package/dist/ManualUpiPayment.js +2 -2
- package/dist/ManualUpiPaymentConfirmButton.js +2 -2
- package/dist/ManualUpiPaymentRejectButton.js +2 -2
- package/dist/PaymentsDashboard.js +5 -5
- package/dist/PayoutsDashboard.js +5 -5
- package/dist/PayoutsPage.js +4 -4
- package/dist/RazorpayConnect.js +2 -2
- package/dist/RazorpayLinkedAccountForm.js +2 -2
- package/dist/RazorpayPaymentButton.js +3 -3
- package/dist/RecurringPaymentSettings.js +2 -2
- package/dist/RefundsDashboard.js +5 -5
- package/dist/SplitTransfersDashboard.js +4 -4
- package/dist/StripeCheckoutSetting.js +2 -2
- package/dist/StripeConnect.js +4 -4
- package/dist/StripeManage.js +2 -2
- package/dist/TaxesDashboard.js +2 -2
- package/dist/buildStripeTransactionLink.js +2 -1
- package/dist/buildStripeTransactionLink.js.map +1 -1
- package/dist/cjs/AccountsDashboard.js +5 -5
- package/dist/cjs/AdminCancelRecurringPaymentButton.js +2 -2
- package/dist/cjs/CashPaymentButton.js +2 -2
- package/dist/cjs/ConfirmCashPaymentButton.js +2 -2
- package/dist/cjs/CustomerCancelRecurringPaymentForm.js +2 -2
- package/dist/cjs/{ExportModal-Bt_Aal7b.js → ExportModal-Bh_n_d4P.js} +3 -3
- package/dist/cjs/{ExportModal-Bt_Aal7b.js.map → ExportModal-Bh_n_d4P.js.map} +1 -1
- package/dist/cjs/{ExportModal-DwLOAhIs.js → ExportModal-Cn7v57Ry.js} +3 -3
- package/dist/cjs/{ExportModal-DwLOAhIs.js.map → ExportModal-Cn7v57Ry.js.map} +1 -1
- package/dist/cjs/ManualUpiConnect.js +2 -2
- package/dist/cjs/ManualUpiPayment.js +2 -2
- package/dist/cjs/ManualUpiPaymentConfirmButton.js +2 -2
- package/dist/cjs/ManualUpiPaymentRejectButton.js +2 -2
- package/dist/cjs/PaymentsDashboard.js +5 -5
- package/dist/cjs/PayoutsDashboard.js +5 -5
- package/dist/cjs/PayoutsPage.js +4 -4
- package/dist/cjs/RazorpayConnect.js +2 -2
- package/dist/cjs/RazorpayLinkedAccountForm.js +2 -2
- package/dist/cjs/RazorpayPaymentButton.js +3 -3
- package/dist/cjs/RecurringPaymentSettings.js +2 -2
- package/dist/cjs/RefundsDashboard.js +5 -5
- package/dist/cjs/SplitTransfersDashboard.js +4 -4
- package/dist/cjs/StripeCheckoutSetting.js +2 -2
- package/dist/cjs/StripeConnect.js +4 -4
- package/dist/cjs/StripeManage.js +2 -2
- package/dist/cjs/TaxesDashboard.js +2 -2
- package/dist/cjs/buildStripeTransactionLink.js +2 -1
- package/dist/cjs/buildStripeTransactionLink.js.map +1 -1
- package/dist/cjs/constants.js +2 -1
- package/dist/cjs/constants.js.map +1 -1
- package/dist/cjs/{dashboard-BGW0_f30.js → dashboard-D75nOXur.js} +2 -2
- package/dist/cjs/{dashboard-BGW0_f30.js.map → dashboard-D75nOXur.js.map} +1 -1
- package/dist/cjs/getAddressElementOptions.js +2 -1
- package/dist/cjs/getAddressElementOptions.js.map +1 -1
- package/dist/cjs/getAmountInLargestCurrencyUnit.js +2 -1
- package/dist/cjs/getAmountInLargestCurrencyUnit.js.map +1 -1
- package/dist/cjs/getAmountInSmallestCurrencyUnit.js +2 -1
- package/dist/cjs/getAmountInSmallestCurrencyUnit.js.map +1 -1
- package/dist/cjs/getAmountWithAppliedTax.js +2 -1
- package/dist/cjs/getAmountWithAppliedTax.js.map +1 -1
- package/dist/cjs/getFormattedAmount.js +2 -1
- package/dist/cjs/getFormattedAmount.js.map +1 -1
- package/dist/cjs/getFormattedDiscountedAmount.js +2 -1
- package/dist/cjs/getFormattedDiscountedAmount.js.map +1 -1
- package/dist/cjs/getFormattedDiscountedPercentage.js +2 -1
- package/dist/cjs/getFormattedDiscountedPercentage.js.map +1 -1
- package/dist/cjs/getFormattedTaxAmount.js +2 -1
- package/dist/cjs/getFormattedTaxAmount.js.map +1 -1
- package/dist/cjs/getFormattedTipAmount.js +2 -1
- package/dist/cjs/getFormattedTipAmount.js.map +1 -1
- package/dist/cjs/getQrCodeValue.js +2 -1
- package/dist/cjs/getQrCodeValue.js.map +1 -1
- package/dist/cjs/getTaxAmount.js +2 -1
- package/dist/cjs/getTaxAmount.js.map +1 -1
- package/dist/cjs/getTipAmount.js +2 -1
- package/dist/cjs/getTipAmount.js.map +1 -1
- package/dist/cjs/hasAmountToPay.js +2 -1
- package/dist/cjs/hasAmountToPay.js.map +1 -1
- package/dist/cjs/{index-CpEnC-Gq.js → index-B-Pd5MbD.js} +42 -2
- package/dist/cjs/index-B-Pd5MbD.js.map +1 -0
- package/dist/cjs/index.js +30 -32
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/{razorpayCheckoutOutcome-DwerRK1B.js → razorpayCheckoutOutcome-nOBmycKM.js} +5 -35
- package/dist/cjs/razorpayCheckoutOutcome-nOBmycKM.js.map +1 -0
- package/dist/cjs/{renderFunctions-DW33daSm.js → renderFunctions-BtZ_5i1O.js} +2 -2
- package/dist/cjs/{renderFunctions-DW33daSm.js.map → renderFunctions-BtZ_5i1O.js.map} +1 -1
- package/dist/cjs/{useAccountsApi-DaOq20gj.js → useAccountsApi-DWA5G-if.js} +2 -2
- package/dist/cjs/{useAccountsApi-DaOq20gj.js.map → useAccountsApi-DWA5G-if.js.map} +1 -1
- package/dist/cjs/{useBusinessTypesApi-D_td8mux.js → useBusinessTypesApi-iTCdVz8w.js} +2 -2
- package/dist/cjs/{useBusinessTypesApi-D_td8mux.js.map → useBusinessTypesApi-iTCdVz8w.js.map} +1 -1
- package/dist/cjs/{useCheckoutSettingsApi-fGVkfRBQ.js → useCheckoutSettingsApi-BVR7JinT.js} +2 -2
- package/dist/cjs/{useCheckoutSettingsApi-fGVkfRBQ.js.map → useCheckoutSettingsApi-BVR7JinT.js.map} +1 -1
- package/dist/cjs/{useCountriesApi-CWsN_NIT.js → useCountriesApi-CXAfH27I.js} +2 -2
- package/dist/cjs/{useCountriesApi-CWsN_NIT.js.map → useCountriesApi-CXAfH27I.js.map} +1 -1
- package/dist/cjs/{useExportsApi-rYuPpXWl.js → useExportsApi-B5Okl87i.js} +2 -2
- package/dist/cjs/{useExportsApi-rYuPpXWl.js.map → useExportsApi-B5Okl87i.js.map} +1 -1
- package/dist/cjs/{useExportsApi-CupgYUpS.js → useExportsApi-BcpaHQdr.js} +2 -2
- package/dist/cjs/{useExportsApi-CupgYUpS.js.map → useExportsApi-BcpaHQdr.js.map} +1 -1
- package/dist/cjs/{useFetchData-C85lubOx.js → useFetchData-D6BMIYfG.js} +2 -2
- package/dist/cjs/{useFetchData-C85lubOx.js.map → useFetchData-D6BMIYfG.js.map} +1 -1
- package/dist/cjs/{useIntegrationsApi-CNrrE2OH.js → useIntegrationsApi-bewtT8am.js} +2 -2
- package/dist/cjs/{useIntegrationsApi-CNrrE2OH.js.map → useIntegrationsApi-bewtT8am.js.map} +1 -1
- package/dist/cjs/{usePaymentApi-CuL13mny.js → usePaymentApi-Cjz1mEWs.js} +2 -2
- package/dist/cjs/{usePaymentApi-CuL13mny.js.map → usePaymentApi-Cjz1mEWs.js.map} +1 -1
- package/dist/cjs/{usePaymentApi-DZYqqfhc.js → usePaymentApi-VckRM7TW.js} +2 -2
- package/dist/cjs/{usePaymentApi-DZYqqfhc.js.map → usePaymentApi-VckRM7TW.js.map} +1 -1
- package/dist/cjs/{usePaymentsApi-ZomyqUIJ.js → usePaymentsApi-BrhDN0td.js} +2 -2
- package/dist/cjs/{usePaymentsApi-ZomyqUIJ.js.map → usePaymentsApi-BrhDN0td.js.map} +1 -1
- package/dist/cjs/{usePlatformApi-ByvYg8Y-.js → usePlatformApi-Dir2B5kT.js} +2 -2
- package/dist/cjs/{usePlatformApi-ByvYg8Y-.js.map → usePlatformApi-Dir2B5kT.js.map} +1 -1
- package/dist/cjs/useRazorpayPayment.js +3 -3
- package/dist/cjs/{useRecurringPaymentsApi-DQpypVjt.js → useRecurringPaymentsApi-DSsP7_gw.js} +2 -2
- package/dist/cjs/{useRecurringPaymentsApi-DQpypVjt.js.map → useRecurringPaymentsApi-DSsP7_gw.js.map} +1 -1
- package/dist/cjs/{useRecurringPaymentsApi-Dow6RjiT.js → useRecurringPaymentsApi-DnYdecab.js} +2 -2
- package/dist/cjs/{useRecurringPaymentsApi-Dow6RjiT.js.map → useRecurringPaymentsApi-DnYdecab.js.map} +1 -1
- package/dist/cjs/{useRecurringSettingsApi-CDA5wZnB.js → useRecurringSettingsApi-B4GG_gm3.js} +2 -2
- package/dist/cjs/{useRecurringSettingsApi-CDA5wZnB.js.map → useRecurringSettingsApi-B4GG_gm3.js.map} +1 -1
- package/dist/cjs/{useRefundsApi-enBsXWAk.js → useRefundsApi-DM_0L_ny.js} +2 -2
- package/dist/cjs/{useRefundsApi-enBsXWAk.js.map → useRefundsApi-DM_0L_ny.js.map} +1 -1
- package/dist/cjs/{useSplitTransfersApi-BcCKsPCE.js → useSplitTransfersApi-DnI9TRyQ.js} +2 -2
- package/dist/cjs/{useSplitTransfersApi-BcCKsPCE.js.map → useSplitTransfersApi-DnI9TRyQ.js.map} +1 -1
- package/dist/cjs/{useTaxesApi-BBinhUYT.js → useTaxesApi-Baj0VFSX.js} +2 -2
- package/dist/cjs/{useTaxesApi-BBinhUYT.js.map → useTaxesApi-Baj0VFSX.js.map} +1 -1
- package/dist/cjs/{useVpasApi-Ts1ivO7S.js → useVpasApi-CbJa5lY8.js} +2 -2
- package/dist/cjs/{useVpasApi-Ts1ivO7S.js.map → useVpasApi-CbJa5lY8.js.map} +1 -1
- package/dist/cjs/v2/AccountsDashboard.js +4 -4
- package/dist/cjs/v2/AdminCancelRecurringPaymentButton.js +2 -2
- package/dist/cjs/v2/CashPaymentButton.js +2 -2
- package/dist/cjs/v2/ConfirmCashPaymentButton.js +2 -2
- package/dist/cjs/v2/CustomerCancelRecurringPaymentForm.js +2 -2
- package/dist/cjs/v2/ManualUpiConnect.js +2 -2
- package/dist/cjs/v2/ManualUpiPayment.js +2 -2
- package/dist/cjs/v2/ManualUpiPaymentConfirmButton.js +2 -2
- package/dist/cjs/v2/ManualUpiPaymentRejectButton.js +2 -2
- package/dist/cjs/v2/PaymentsDashboard.js +5 -5
- package/dist/cjs/v2/PayoutsDashboard.js +4 -4
- package/dist/cjs/v2/PayoutsPage.js +3 -3
- package/dist/cjs/v2/RazorpayConnect.js +2 -2
- package/dist/cjs/v2/RazorpayLinkedAccountForm.js +2 -2
- package/dist/cjs/v2/RazorpayPaymentButton.js +3 -3
- package/dist/cjs/v2/RecurringPaymentSettings.js +2 -2
- package/dist/cjs/v2/RefundsDashboard.js +5 -5
- package/dist/cjs/v2/SplitTransfersDashboard.js +4 -4
- package/dist/cjs/v2/StripeCheckoutSetting.js +2 -2
- package/dist/cjs/v2/StripeConnect.js +4 -4
- package/dist/cjs/v2/StripeManage.js +2 -2
- package/dist/cjs/v2/TaxesDashboard.js +2 -2
- package/dist/cjs/v2/index.js +23 -23
- package/dist/cjs/verifyRazorpayPayment.js +15 -0
- package/dist/cjs/verifyRazorpayPayment.js.map +1 -0
- package/dist/constants.js +2 -1
- package/dist/constants.js.map +1 -1
- package/dist/{dashboard-BP47wvu-.js → dashboard-CX-EarqG.js} +2 -2
- package/dist/{dashboard-BP47wvu-.js.map → dashboard-CX-EarqG.js.map} +1 -1
- package/dist/getAddressElementOptions.js +2 -1
- package/dist/getAddressElementOptions.js.map +1 -1
- package/dist/getAmountInLargestCurrencyUnit.js +2 -1
- package/dist/getAmountInLargestCurrencyUnit.js.map +1 -1
- package/dist/getAmountInSmallestCurrencyUnit.js +2 -1
- package/dist/getAmountInSmallestCurrencyUnit.js.map +1 -1
- package/dist/getAmountWithAppliedTax.js +2 -1
- package/dist/getAmountWithAppliedTax.js.map +1 -1
- package/dist/getFormattedAmount.js +2 -1
- package/dist/getFormattedAmount.js.map +1 -1
- package/dist/getFormattedDiscountedAmount.js +2 -1
- package/dist/getFormattedDiscountedAmount.js.map +1 -1
- package/dist/getFormattedDiscountedPercentage.js +2 -1
- package/dist/getFormattedDiscountedPercentage.js.map +1 -1
- package/dist/getFormattedTaxAmount.js +2 -1
- package/dist/getFormattedTaxAmount.js.map +1 -1
- package/dist/getFormattedTipAmount.js +2 -1
- package/dist/getFormattedTipAmount.js.map +1 -1
- package/dist/getQrCodeValue.js +2 -1
- package/dist/getQrCodeValue.js.map +1 -1
- package/dist/getTaxAmount.js +2 -1
- package/dist/getTaxAmount.js.map +1 -1
- package/dist/getTipAmount.js +2 -1
- package/dist/getTipAmount.js.map +1 -1
- package/dist/hasAmountToPay.js +2 -1
- package/dist/hasAmountToPay.js.map +1 -1
- package/dist/{index-CpGnAY9G.js → index-Dt75BBN1.js} +41 -3
- package/dist/index-Dt75BBN1.js.map +1 -0
- package/dist/index.js +28 -34
- package/dist/index.js.map +1 -1
- package/dist/{razorpayCheckoutOutcome-ChPKzUYJ.js → razorpayCheckoutOutcome-Ctud4CXC.js} +3 -32
- package/dist/razorpayCheckoutOutcome-Ctud4CXC.js.map +1 -0
- package/dist/{renderFunctions-CcLI5Jq6.js → renderFunctions-COSv4XaW.js} +2 -2
- package/dist/{renderFunctions-CcLI5Jq6.js.map → renderFunctions-COSv4XaW.js.map} +1 -1
- package/dist/{useAccountsApi-DF78k_sA.js → useAccountsApi-E2CSkaZv.js} +2 -2
- package/dist/{useAccountsApi-DF78k_sA.js.map → useAccountsApi-E2CSkaZv.js.map} +1 -1
- package/dist/{useBusinessTypesApi-DwddCKIb.js → useBusinessTypesApi-AGjp8zYp.js} +2 -2
- package/dist/{useBusinessTypesApi-DwddCKIb.js.map → useBusinessTypesApi-AGjp8zYp.js.map} +1 -1
- package/dist/{useCheckoutSettingsApi-B29sE02j.js → useCheckoutSettingsApi-DY67dWbA.js} +2 -2
- package/dist/{useCheckoutSettingsApi-B29sE02j.js.map → useCheckoutSettingsApi-DY67dWbA.js.map} +1 -1
- package/dist/{useCountriesApi-CSfkzWgq.js → useCountriesApi-C66llo2C.js} +2 -2
- package/dist/{useCountriesApi-CSfkzWgq.js.map → useCountriesApi-C66llo2C.js.map} +1 -1
- package/dist/{useExportsApi-BCnxSe7P.js → useExportsApi-C7zFJILU.js} +2 -2
- package/dist/{useExportsApi-BCnxSe7P.js.map → useExportsApi-C7zFJILU.js.map} +1 -1
- package/dist/{useExportsApi-B_ABJiMX.js → useExportsApi-DY-FwHVE.js} +2 -2
- package/dist/{useExportsApi-B_ABJiMX.js.map → useExportsApi-DY-FwHVE.js.map} +1 -1
- package/dist/{useFetchData-Cleas8Tk.js → useFetchData-BlRJdNWA.js} +2 -2
- package/dist/{useFetchData-Cleas8Tk.js.map → useFetchData-BlRJdNWA.js.map} +1 -1
- package/dist/{useIntegrationsApi-BEZaeW9w.js → useIntegrationsApi-eqpV4aiV.js} +2 -2
- package/dist/{useIntegrationsApi-BEZaeW9w.js.map → useIntegrationsApi-eqpV4aiV.js.map} +1 -1
- package/dist/{usePaymentApi-B0BXE-4o.js → usePaymentApi--s98Vwpe.js} +2 -2
- package/dist/{usePaymentApi-B0BXE-4o.js.map → usePaymentApi--s98Vwpe.js.map} +1 -1
- package/dist/{usePaymentApi-BfoBBuRN.js → usePaymentApi-CRgdyg_z.js} +2 -2
- package/dist/{usePaymentApi-BfoBBuRN.js.map → usePaymentApi-CRgdyg_z.js.map} +1 -1
- package/dist/{usePaymentsApi-Ctl1XsA1.js → usePaymentsApi-DiDnDWGs.js} +2 -2
- package/dist/{usePaymentsApi-Ctl1XsA1.js.map → usePaymentsApi-DiDnDWGs.js.map} +1 -1
- package/dist/{usePlatformApi-B29AJb-p.js → usePlatformApi-tMvXKljy.js} +2 -2
- package/dist/{usePlatformApi-B29AJb-p.js.map → usePlatformApi-tMvXKljy.js.map} +1 -1
- package/dist/useRazorpayPayment.js +3 -3
- package/dist/{useRecurringPaymentsApi-BTOeJ8Xu.js → useRecurringPaymentsApi-CUiJcHgd.js} +2 -2
- package/dist/{useRecurringPaymentsApi-BTOeJ8Xu.js.map → useRecurringPaymentsApi-CUiJcHgd.js.map} +1 -1
- package/dist/{useRecurringPaymentsApi-B6zvIYkm.js → useRecurringPaymentsApi-vwhKAkkh.js} +2 -2
- package/dist/{useRecurringPaymentsApi-B6zvIYkm.js.map → useRecurringPaymentsApi-vwhKAkkh.js.map} +1 -1
- package/dist/{useRecurringSettingsApi-Dkjo_BKx.js → useRecurringSettingsApi-Bg3o4XqI.js} +2 -2
- package/dist/{useRecurringSettingsApi-Dkjo_BKx.js.map → useRecurringSettingsApi-Bg3o4XqI.js.map} +1 -1
- package/dist/{useRefundsApi-Ce4HmQgn.js → useRefundsApi-BQVWYl8t.js} +2 -2
- package/dist/{useRefundsApi-Ce4HmQgn.js.map → useRefundsApi-BQVWYl8t.js.map} +1 -1
- package/dist/{useSplitTransfersApi-CDzhSH8q.js → useSplitTransfersApi-DCRH-bO0.js} +2 -2
- package/dist/{useSplitTransfersApi-CDzhSH8q.js.map → useSplitTransfersApi-DCRH-bO0.js.map} +1 -1
- package/dist/{useTaxesApi-CNyTbsgK.js → useTaxesApi-DpLNyDWT.js} +2 -2
- package/dist/{useTaxesApi-CNyTbsgK.js.map → useTaxesApi-DpLNyDWT.js.map} +1 -1
- package/dist/{useVpasApi-X1KhsMZl.js → useVpasApi-D1gwR__k.js} +2 -2
- package/dist/{useVpasApi-X1KhsMZl.js.map → useVpasApi-D1gwR__k.js.map} +1 -1
- package/dist/v2/AccountsDashboard.js +4 -4
- package/dist/v2/AdminCancelRecurringPaymentButton.js +2 -2
- package/dist/v2/CashPaymentButton.js +2 -2
- package/dist/v2/ConfirmCashPaymentButton.js +2 -2
- package/dist/v2/CustomerCancelRecurringPaymentForm.js +2 -2
- package/dist/v2/ManualUpiConnect.js +2 -2
- package/dist/v2/ManualUpiPayment.js +2 -2
- package/dist/v2/ManualUpiPaymentConfirmButton.js +2 -2
- package/dist/v2/ManualUpiPaymentRejectButton.js +2 -2
- package/dist/v2/PaymentsDashboard.js +5 -5
- package/dist/v2/PayoutsDashboard.js +4 -4
- package/dist/v2/PayoutsPage.js +3 -3
- package/dist/v2/RazorpayConnect.js +2 -2
- package/dist/v2/RazorpayLinkedAccountForm.js +2 -2
- package/dist/v2/RazorpayPaymentButton.js +3 -3
- package/dist/v2/RecurringPaymentSettings.js +2 -2
- package/dist/v2/RefundsDashboard.js +5 -5
- package/dist/v2/SplitTransfersDashboard.js +4 -4
- package/dist/v2/StripeCheckoutSetting.js +2 -2
- package/dist/v2/StripeConnect.js +4 -4
- package/dist/v2/StripeManage.js +2 -2
- package/dist/v2/TaxesDashboard.js +2 -2
- package/dist/v2/index.js +23 -23
- package/dist/verifyRazorpayPayment.js +13 -0
- package/dist/verifyRazorpayPayment.js.map +1 -0
- package/package.json +1 -1
- package/dist/cjs/index-CpEnC-Gq.js.map +0 -1
- package/dist/cjs/razorpayCheckoutOutcome-DwerRK1B.js.map +0 -1
- package/dist/index-CpGnAY9G.js.map +0 -1
- package/dist/razorpayCheckoutOutcome-ChPKzUYJ.js.map +0 -1
package/dist/cjs/v2/index.js
CHANGED
|
@@ -24,7 +24,7 @@ var v2_StripeCheckoutSetting = require('./StripeCheckoutSetting.js');
|
|
|
24
24
|
var v2_StripeConnect = require('./StripeConnect.js');
|
|
25
25
|
var v2_StripeManage = require('./StripeManage.js');
|
|
26
26
|
var v2_TaxesDashboard = require('./TaxesDashboard.js');
|
|
27
|
-
var constants = require('../index-
|
|
27
|
+
var constants = require('../index-B-Pd5MbD.js');
|
|
28
28
|
var useStripePromise = require('../useStripePromise.js');
|
|
29
29
|
require('../main-BnTRneCH.js');
|
|
30
30
|
require('react');
|
|
@@ -36,7 +36,7 @@ require('@bigbinary/neeto-filters-frontend/v2');
|
|
|
36
36
|
require('@bigbinary/neeto-molecules/v2/Header');
|
|
37
37
|
require('@bigbinary/neeto-molecules/v2/SubHeader');
|
|
38
38
|
require('react-i18next');
|
|
39
|
-
require('../useExportsApi-
|
|
39
|
+
require('../useExportsApi-BcpaHQdr.js');
|
|
40
40
|
require('@tanstack/react-query');
|
|
41
41
|
require('@tanstack/react-query-devtools');
|
|
42
42
|
require('neetocommons/constants');
|
|
@@ -47,7 +47,7 @@ require('neetocommons/utils');
|
|
|
47
47
|
require('lucide-react');
|
|
48
48
|
require('ramda');
|
|
49
49
|
require('react-router-dom');
|
|
50
|
-
require('../dashboard-
|
|
50
|
+
require('../dashboard-D75nOXur.js');
|
|
51
51
|
require('../renderFunctions-DJ3I4O4j.js');
|
|
52
52
|
require('@bigbinary/neeto-molecules/v2/DateFormat');
|
|
53
53
|
require('../CopyButtonWrapper-CXzqqYIp.js');
|
|
@@ -55,45 +55,45 @@ require('@bigbinary/neeto-molecules/v2/CopyToClipboardButton');
|
|
|
55
55
|
require('../copy-button-DdBSM5yi.js');
|
|
56
56
|
require('@bigbinary/neeto-molecules/v2/Columns');
|
|
57
57
|
require('@bigbinary/neeto-molecules/v2/TableWrapper');
|
|
58
|
-
require('../useAccountsApi-
|
|
58
|
+
require('../useAccountsApi-DWA5G-if.js');
|
|
59
59
|
require('neetocommons/react-utils');
|
|
60
60
|
require('../queryConstants-CGUF7zol.js');
|
|
61
|
-
require('../useRecurringPaymentsApi-
|
|
62
|
-
require('../usePaymentApi-
|
|
61
|
+
require('../useRecurringPaymentsApi-DnYdecab.js');
|
|
62
|
+
require('../usePaymentApi-VckRM7TW.js');
|
|
63
63
|
require('@bigbinary/neeto-atoms/formik');
|
|
64
|
-
require('../useRecurringPaymentsApi-
|
|
65
|
-
require('../useVpasApi-
|
|
64
|
+
require('../useRecurringPaymentsApi-DSsP7_gw.js');
|
|
65
|
+
require('../useVpasApi-CbJa5lY8.js');
|
|
66
66
|
require('@bigbinary/neeto-molecules/v2/CardLayout');
|
|
67
67
|
require('yup');
|
|
68
68
|
require('neetocommons/v2/utils');
|
|
69
69
|
require('@bigbinary/neeto-molecules/v2/MoreDropdown');
|
|
70
70
|
require('@rails/activestorage');
|
|
71
71
|
require('qrcode.react');
|
|
72
|
-
require('../usePaymentApi-
|
|
72
|
+
require('../usePaymentApi-Cjz1mEWs.js');
|
|
73
73
|
require('formik');
|
|
74
|
-
require('../ExportModal-
|
|
75
|
-
require('../useExportsApi-
|
|
76
|
-
require('../usePaymentsApi-
|
|
74
|
+
require('../ExportModal-Bh_n_d4P.js');
|
|
75
|
+
require('../useExportsApi-B5Okl87i.js');
|
|
76
|
+
require('../usePaymentsApi-BrhDN0td.js');
|
|
77
77
|
require('../index-CsYH-ECo.js');
|
|
78
|
-
require('../usePlatformApi-
|
|
78
|
+
require('../usePlatformApi-Dir2B5kT.js');
|
|
79
79
|
require('qs');
|
|
80
80
|
require('react-router-dom/cjs/react-router-dom');
|
|
81
|
-
require('../useFetchData-
|
|
81
|
+
require('../useFetchData-D6BMIYfG.js');
|
|
82
82
|
require('@bigbinary/neeto-icons/misc');
|
|
83
83
|
require('@bigbinary/neeto-molecules/v2/Container');
|
|
84
|
-
require('../useIntegrationsApi-
|
|
84
|
+
require('../useIntegrationsApi-bewtT8am.js');
|
|
85
85
|
require('@bigbinary/neeto-molecules/v2/PhoneNumber');
|
|
86
|
-
require('../useBusinessTypesApi-
|
|
87
|
-
require('../razorpayCheckoutOutcome-
|
|
86
|
+
require('../useBusinessTypesApi-iTCdVz8w.js');
|
|
87
|
+
require('../razorpayCheckoutOutcome-nOBmycKM.js');
|
|
88
88
|
require('neetocommons/initializers');
|
|
89
|
-
require('../useRecurringSettingsApi-
|
|
90
|
-
require('../useRefundsApi-
|
|
91
|
-
require('../useSplitTransfersApi-
|
|
89
|
+
require('../useRecurringSettingsApi-B4GG_gm3.js');
|
|
90
|
+
require('../useRefundsApi-DM_0L_ny.js');
|
|
91
|
+
require('../useSplitTransfersApi-DnI9TRyQ.js');
|
|
92
92
|
require('@bigbinary/neeto-molecules/v2/HelpPopover');
|
|
93
|
-
require('../useCheckoutSettingsApi-
|
|
93
|
+
require('../useCheckoutSettingsApi-BVR7JinT.js');
|
|
94
94
|
require('dompurify');
|
|
95
|
-
require('../useCountriesApi-
|
|
96
|
-
require('../useTaxesApi-
|
|
95
|
+
require('../useCountriesApi-CXAfH27I.js');
|
|
96
|
+
require('../useTaxesApi-Baj0VFSX.js');
|
|
97
97
|
require('decimal.js');
|
|
98
98
|
|
|
99
99
|
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var constants = require('./index-B-Pd5MbD.js');
|
|
4
|
+
require('i18next');
|
|
5
|
+
require('neetocommons/constants');
|
|
6
|
+
require('decimal.js');
|
|
7
|
+
require('neetocist');
|
|
8
|
+
require('neetocommons/utils');
|
|
9
|
+
require('ramda');
|
|
10
|
+
require('axios');
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
module.exports = constants.verifyRazorpayPayment;
|
|
15
|
+
//# sourceMappingURL=verifyRazorpayPayment.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"verifyRazorpayPayment.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;"}
|
package/dist/constants.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import 'i18next';
|
|
2
2
|
import 'neetocommons/constants';
|
|
3
|
-
export {
|
|
3
|
+
export { F as ASSOCIATED_TABLE_COLUMNS, B as BASE_URL, C as CURRENCY_OPTIONS, A as DASHBOARD_KIND, D as DEFAULT_PAGE_VALUES, G as DEFAULT_SORT_PROPERTIES, o as DEFAULT_TAG_STYLE, E as ERROR_TYPE, N as FILTER_COLUMNS, M as MAX_POLLING_TIME, L as PAYMENT_KIND, r as PAYMENT_PROVIDERS, O as PAYMENT_STATUS_TYPE, P as POLLING_INTERVAL, Q as RAZORPAY_CURRENCY_OPTIONS, R as RAZORPAY_PAYMENT_BUTTON_OPTIONS, V as REFUND_STATUS_TYPE, S as SORT_DIRECTIONS, H as STRIPE_CONNECT_ENDPOINT, W as STRIPE_CURRENCY_OPTIONS, X as STRIPE_DASHBOARD_LINK, T as TAG_STYLE, Y as TIP_KIND, U as UN_HIDEABLE_COLUMNS, Z as ZERO_DECIMAL_CURRENCIES } from './index-Dt75BBN1.js';
|
|
4
4
|
import 'decimal.js';
|
|
5
5
|
import 'neetocist';
|
|
6
6
|
import 'neetocommons/utils';
|
|
7
7
|
import 'ramda';
|
|
8
|
+
import 'axios';
|
|
8
9
|
//# sourceMappingURL=constants.js.map
|
package/dist/constants.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"constants.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { camelToSnakeCase } from 'neetocist';
|
|
2
2
|
import { isEmpty, assoc, modify, concat } from 'ramda';
|
|
3
|
-
import { D as DEFAULT_PAGE_VALUES } from './index-
|
|
3
|
+
import { D as DEFAULT_PAGE_VALUES } from './index-Dt75BBN1.js';
|
|
4
4
|
|
|
5
5
|
const buildEnforcedFilter = (enforceFilter, filterableColumns) => {
|
|
6
6
|
const {
|
|
@@ -74,4 +74,4 @@ const buildRowData = ({
|
|
|
74
74
|
}));
|
|
75
75
|
|
|
76
76
|
export { buildPayload as a, buildDefaultPageProperties as b, buildRowData as c, mergeEnforcedFilters as m };
|
|
77
|
-
//# sourceMappingURL=dashboard-
|
|
77
|
+
//# sourceMappingURL=dashboard-CX-EarqG.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dashboard-
|
|
1
|
+
{"version":3,"file":"dashboard-CX-EarqG.js","sources":["../app/javascript/src/utils/dashboard.js"],"sourcesContent":["import { camelToSnakeCase } from \"neetocist\";\nimport { assoc, concat, isEmpty, modify } from \"ramda\";\n\nconst buildEnforcedFilter = (enforceFilter, filterableColumns) => {\n const { key, value, rule, node } = enforceFilter;\n const filterConfig = filterableColumns.find(col => col.key === key);\n\n if (!filterConfig) return null;\n\n return {\n conditions: [\n {\n key,\n node: node || filterConfig.node,\n model: filterConfig.model,\n type: filterConfig.type,\n values: value,\n rule,\n value,\n },\n ],\n };\n};\n\nexport const mergeEnforcedFilters = (\n filters = [],\n enforceFilterValues = [],\n filterableColumns = []\n) => {\n if (isEmpty(enforceFilterValues)) return filters;\n\n // Build full filter objects from enforced values using filterableColumns config\n const enforcedFilters = enforceFilterValues\n .map(enforceFilter => buildEnforcedFilter(enforceFilter, filterableColumns))\n .filter(Boolean);\n\n // Simply append enforced filters to existing filters\n return concat(filters, enforcedFilters);\n};\n\nimport { DEFAULT_PAGE_VALUES } from \"src/constants\";\n\nconst processSortProperties = sortProperties => {\n if (sortProperties.sortBy === \"payment_amount\") {\n return assoc(\n \"sortBy\",\n \"neeto_payments_engine_payments.amount\",\n sortProperties\n );\n }\n\n if (\n sortProperties.sortBy === \"email\" ||\n sortProperties.sortBy === \"first_name\"\n ) {\n return modify(\"sortBy\", concat(\"users.\"), sortProperties);\n }\n\n if (sortProperties.sortBy === \"payable,ends_at\") {\n return assoc(\"sortBy\", \"bookings.ends_at\", sortProperties);\n }\n\n return sortProperties;\n};\n\nexport const buildDefaultPageProperties = tabs =>\n tabs.reduce(\n (pageProperties, tab) => ({\n ...pageProperties,\n [tab]: DEFAULT_PAGE_VALUES,\n }),\n {}\n );\n\nexport const buildPayload = ({\n tab,\n filters,\n pageProperties,\n sortProperties = {},\n payoutId = null,\n}) => ({\n tab: camelToSnakeCase(tab),\n payoutId,\n page: pageProperties[tab]?.page,\n pageSize: pageProperties[tab]?.pageSize,\n filters,\n ...processSortProperties(sortProperties),\n});\n\nexport const buildRowData = ({ data, pageProperties = {}, tab = \"all\" }) =>\n data.map((element, index) => ({\n ...element,\n payable: element.payable,\n identifier: element,\n id: isEmpty(pageProperties)\n ? index + 1\n : pageProperties[tab]?.pageSize * (pageProperties[tab]?.page - 1) +\n index +\n 1,\n }));\n"],"names":["buildEnforcedFilter","enforceFilter","filterableColumns","key","value","rule","node","filterConfig","find","col","conditions","model","type","values","mergeEnforcedFilters","filters","enforceFilterValues","isEmpty","enforcedFilters","map","filter","Boolean","concat","processSortProperties","sortProperties","sortBy","assoc","modify","buildDefaultPageProperties","tabs","reduce","pageProperties","tab","DEFAULT_PAGE_VALUES","buildPayload","payoutId","camelToSnakeCase","page","pageSize","buildRowData","data","element","index","payable","identifier","id"],"mappings":"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"}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { g as getAddressElementOptions } from './index-
|
|
1
|
+
import { g as getAddressElementOptions } from './index-Dt75BBN1.js';
|
|
2
2
|
import 'i18next';
|
|
3
3
|
import 'neetocommons/constants';
|
|
4
4
|
import 'decimal.js';
|
|
5
5
|
import 'neetocist';
|
|
6
6
|
import 'neetocommons/utils';
|
|
7
7
|
import 'ramda';
|
|
8
|
+
import 'axios';
|
|
8
9
|
|
|
9
10
|
|
|
10
11
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAddressElementOptions.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"getAddressElementOptions.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as getAmountInLargestCurrencyUnit } from './index-Dt75BBN1.js';
|
|
2
2
|
import 'i18next';
|
|
3
3
|
import 'neetocommons/constants';
|
|
4
4
|
import 'decimal.js';
|
|
5
5
|
import 'neetocist';
|
|
6
6
|
import 'neetocommons/utils';
|
|
7
7
|
import 'ramda';
|
|
8
|
+
import 'axios';
|
|
8
9
|
|
|
9
10
|
|
|
10
11
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAmountInLargestCurrencyUnit.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"getAmountInLargestCurrencyUnit.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { c as getAmountInSmallestCurrencyUnit } from './index-Dt75BBN1.js';
|
|
2
2
|
import 'i18next';
|
|
3
3
|
import 'neetocommons/constants';
|
|
4
4
|
import 'decimal.js';
|
|
5
5
|
import 'neetocist';
|
|
6
6
|
import 'neetocommons/utils';
|
|
7
7
|
import 'ramda';
|
|
8
|
+
import 'axios';
|
|
8
9
|
|
|
9
10
|
|
|
10
11
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAmountInSmallestCurrencyUnit.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"getAmountInSmallestCurrencyUnit.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { d as getAmountWithAppliedTax } from './index-Dt75BBN1.js';
|
|
2
2
|
import 'i18next';
|
|
3
3
|
import 'neetocommons/constants';
|
|
4
4
|
import 'decimal.js';
|
|
5
5
|
import 'neetocist';
|
|
6
6
|
import 'neetocommons/utils';
|
|
7
7
|
import 'ramda';
|
|
8
|
+
import 'axios';
|
|
8
9
|
|
|
9
10
|
|
|
10
11
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAmountWithAppliedTax.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"getAmountWithAppliedTax.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { e as getFormattedAmount } from './index-Dt75BBN1.js';
|
|
2
2
|
import 'i18next';
|
|
3
3
|
import 'neetocommons/constants';
|
|
4
4
|
import 'decimal.js';
|
|
5
5
|
import 'neetocist';
|
|
6
6
|
import 'neetocommons/utils';
|
|
7
7
|
import 'ramda';
|
|
8
|
+
import 'axios';
|
|
8
9
|
|
|
9
10
|
|
|
10
11
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getFormattedAmount.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"getFormattedAmount.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { f as getFormattedDiscountedAmount } from './index-Dt75BBN1.js';
|
|
2
2
|
import 'i18next';
|
|
3
3
|
import 'neetocommons/constants';
|
|
4
4
|
import 'decimal.js';
|
|
5
5
|
import 'neetocist';
|
|
6
6
|
import 'neetocommons/utils';
|
|
7
7
|
import 'ramda';
|
|
8
|
+
import 'axios';
|
|
8
9
|
|
|
9
10
|
|
|
10
11
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getFormattedDiscountedAmount.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"getFormattedDiscountedAmount.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { h as getFormattedDiscountedPercentage } from './index-Dt75BBN1.js';
|
|
2
2
|
import 'i18next';
|
|
3
3
|
import 'neetocommons/constants';
|
|
4
4
|
import 'decimal.js';
|
|
5
5
|
import 'neetocist';
|
|
6
6
|
import 'neetocommons/utils';
|
|
7
7
|
import 'ramda';
|
|
8
|
+
import 'axios';
|
|
8
9
|
|
|
9
10
|
|
|
10
11
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getFormattedDiscountedPercentage.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"getFormattedDiscountedPercentage.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { i as getFormattedTaxAmount } from './index-Dt75BBN1.js';
|
|
2
2
|
import 'i18next';
|
|
3
3
|
import 'neetocommons/constants';
|
|
4
4
|
import 'decimal.js';
|
|
5
5
|
import 'neetocist';
|
|
6
6
|
import 'neetocommons/utils';
|
|
7
7
|
import 'ramda';
|
|
8
|
+
import 'axios';
|
|
8
9
|
|
|
9
10
|
|
|
10
11
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getFormattedTaxAmount.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"getFormattedTaxAmount.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { j as getFormattedTipAmount } from './index-Dt75BBN1.js';
|
|
2
2
|
import 'i18next';
|
|
3
3
|
import 'neetocommons/constants';
|
|
4
4
|
import 'decimal.js';
|
|
5
5
|
import 'neetocist';
|
|
6
6
|
import 'neetocommons/utils';
|
|
7
7
|
import 'ramda';
|
|
8
|
+
import 'axios';
|
|
8
9
|
|
|
9
10
|
|
|
10
11
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getFormattedTipAmount.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"getFormattedTipAmount.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
|
package/dist/getQrCodeValue.js
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { k as getQrCodeValue } from './index-Dt75BBN1.js';
|
|
2
2
|
import 'i18next';
|
|
3
3
|
import 'neetocommons/constants';
|
|
4
4
|
import 'decimal.js';
|
|
5
5
|
import 'neetocist';
|
|
6
6
|
import 'neetocommons/utils';
|
|
7
7
|
import 'ramda';
|
|
8
|
+
import 'axios';
|
|
8
9
|
|
|
9
10
|
|
|
10
11
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getQrCodeValue.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"getQrCodeValue.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
|
package/dist/getTaxAmount.js
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { l as getTaxAmount } from './index-Dt75BBN1.js';
|
|
2
2
|
import 'i18next';
|
|
3
3
|
import 'neetocommons/constants';
|
|
4
4
|
import 'decimal.js';
|
|
5
5
|
import 'neetocist';
|
|
6
6
|
import 'neetocommons/utils';
|
|
7
7
|
import 'ramda';
|
|
8
|
+
import 'axios';
|
|
8
9
|
|
|
9
10
|
|
|
10
11
|
|
package/dist/getTaxAmount.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getTaxAmount.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"getTaxAmount.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
|
package/dist/getTipAmount.js
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { m as getTipAmount } from './index-Dt75BBN1.js';
|
|
2
2
|
import 'i18next';
|
|
3
3
|
import 'neetocommons/constants';
|
|
4
4
|
import 'decimal.js';
|
|
5
5
|
import 'neetocist';
|
|
6
6
|
import 'neetocommons/utils';
|
|
7
7
|
import 'ramda';
|
|
8
|
+
import 'axios';
|
|
8
9
|
|
|
9
10
|
|
|
10
11
|
|
package/dist/getTipAmount.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getTipAmount.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"getTipAmount.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
|
package/dist/hasAmountToPay.js
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { n as hasAmountToPay } from './index-
|
|
1
|
+
import { n as hasAmountToPay } from './index-Dt75BBN1.js';
|
|
2
2
|
import 'i18next';
|
|
3
3
|
import 'neetocommons/constants';
|
|
4
4
|
import 'decimal.js';
|
|
5
5
|
import 'neetocist';
|
|
6
6
|
import 'neetocommons/utils';
|
|
7
7
|
import 'ramda';
|
|
8
|
+
import 'axios';
|
|
8
9
|
|
|
9
10
|
|
|
10
11
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hasAmountToPay.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"hasAmountToPay.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
|
|
@@ -4,14 +4,50 @@ import Decimal from 'decimal.js';
|
|
|
4
4
|
import { snakeToCamelCase, isNotPresent, isPresent, removeBy } from 'neetocist';
|
|
5
5
|
import { currencyFormat } from 'neetocommons/utils';
|
|
6
6
|
import { pipe, pluck, uniq, map, sortBy, prop, concat } from 'ramda';
|
|
7
|
+
import axios from 'axios';
|
|
7
8
|
|
|
8
9
|
const RAZORPAY_CURRENCIES = ["AED", "ALL", "AMD", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTN", "BWP", "BZD", "CAD", "CHF", "CLP", "CNY", "COP", "CRC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ETB", "EUR", "FJD", "GBP", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "INR", "IQD", "ISK", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KRW", "KWD", "KYD", "KZT", "LAK", "LKR", "LRD", "LSL", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PEN", "PGK", "PHP", "PKR", "PLN", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SCR", "SEK", "SGD", "SLL", "SOS", "SSP", "SVC", "SZL", "THB", "TND", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VND", "VUV", "XAF", "XCD", "XOF", "XPF", "YER", "ZAR", "ZMW"];
|
|
9
10
|
const STRIPE_CURRENCIES = ["USD", "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BWP", "BYN", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HTG", "HUF", "IDR", "ILS", "INR", "ISK", "JMD", "JPY", "KES", "KGS", "KHR", "KMF", "KRW", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SEK", "SGD", "SHP", "SLE", "SOS", "SRD", "STD", "SZL", "THB", "TJS", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "UYU", "UZS", "VND", "VUV", "WST", "XAF", "XCD", "XOF", "XPF", "YER", "ZAR", "ZMW"];
|
|
10
11
|
|
|
12
|
+
const create = payload => axios.post(`${BASE_URL}/api/v1/public/razorpay/payments`, {
|
|
13
|
+
payment: payload
|
|
14
|
+
});
|
|
15
|
+
|
|
16
|
+
// Server-side confirmation against Razorpay's API — webhook delivery is
|
|
17
|
+
// per-account and unreliable, so checkout completion must not depend on it.
|
|
18
|
+
// razorpayPaymentId is optional: without it the server checks the payment's
|
|
19
|
+
// order for a captured attempt (dismiss/recovery flows). Errors are silent
|
|
20
|
+
// (showToastr: false) — the backend self-verify job is the correctness net;
|
|
21
|
+
// this call is a latency optimization for the waiting customer.
|
|
22
|
+
const verify = (paymentId, payload = {}) => axios.post(`${BASE_URL}/api/v1/public/razorpay/payments/${paymentId}/verify`, {
|
|
23
|
+
payment: payload
|
|
24
|
+
}, {
|
|
25
|
+
showToastr: false
|
|
26
|
+
});
|
|
27
|
+
const defaultList = payload => axios.get(`${BASE_URL}/api/v1/razorpay/holdable/payments`, {
|
|
28
|
+
params: payload
|
|
29
|
+
});
|
|
30
|
+
const list = (holdableId, payload) => axios.get(`${BASE_URL}/api/v1/razorpay/holdables/${holdableId}/payments`, {
|
|
31
|
+
params: payload
|
|
32
|
+
});
|
|
33
|
+
const paymentsApi = {
|
|
34
|
+
defaultList,
|
|
35
|
+
list,
|
|
36
|
+
create,
|
|
37
|
+
verify
|
|
38
|
+
};
|
|
39
|
+
|
|
11
40
|
Decimal.set({
|
|
12
41
|
rounding: Decimal.ROUND_HALF_EVEN
|
|
13
42
|
});
|
|
14
43
|
const roundAmount = amount => new Decimal(amount).toDecimalPlaces(2, Decimal.ROUND_HALF_EVEN);
|
|
44
|
+
|
|
45
|
+
// For host-side recovery flows (e.g. mobile full-page-redirect return) that
|
|
46
|
+
// must check whether money was captured before declaring a payment failed.
|
|
47
|
+
// Lives here (with a per-module shim in utils/verifyRazorpayPayment.js and a
|
|
48
|
+
// rollup entry) so host esbuild configs that split named package imports into
|
|
49
|
+
// subpath imports can resolve dist/verifyRazorpayPayment.js.
|
|
50
|
+
const verifyRazorpayPayment = paymentsApi.verify;
|
|
15
51
|
const buildStripeTransactionLink = (identifier, isLive = true) => `${STRIPE_DASHBOARD_LINK}${isLive ? "" : "test/"}payments/${identifier}`;
|
|
16
52
|
const buildStripeAccountLink = (identifier, isLive = true) => `${STRIPE_DASHBOARD_LINK}${isLive ? "" : "test/"}connect/accounts/${identifier}`;
|
|
17
53
|
const uuidV4 = () => ([1e7] + -1e3 + -4e3 + -8e3 + -1e11).replace(/[018]/g, c => (c ^ crypto.getRandomValues(new Uint8Array(1))[0] & 15 >> c / 4).toString(16));
|
|
@@ -105,7 +141,9 @@ const getAmountAfterDiscount = ({
|
|
|
105
141
|
kind,
|
|
106
142
|
value
|
|
107
143
|
} = discountCode || {};
|
|
108
|
-
if (isNotPresent(kind) || isNotPresent(value))
|
|
144
|
+
if (isNotPresent(kind) || isNotPresent(value)) {
|
|
145
|
+
return new Decimal(amount ?? 0);
|
|
146
|
+
}
|
|
109
147
|
const decimalAmount = new Decimal(amount ?? 0);
|
|
110
148
|
if (kind === "fixed") {
|
|
111
149
|
const discountedAmount = decimalAmount.minus(value);
|
|
@@ -804,5 +842,5 @@ const ERROR_TYPE = {
|
|
|
804
842
|
processing_error: "processing_error"
|
|
805
843
|
};
|
|
806
844
|
|
|
807
|
-
export {
|
|
808
|
-
//# sourceMappingURL=index-
|
|
845
|
+
export { DASHBOARD_KIND as A, BASE_URL as B, CURRENCY_OPTIONS as C, DEFAULT_PAGE_VALUES as D, ERROR_TYPE as E, ASSOCIATED_TABLE_COLUMNS as F, DEFAULT_SORT_PROPERTIES as G, STRIPE_CONNECT_ENDPOINT as H, buildStripeAccountLink as I, preProcessStatus as J, getTagStyle as K, PAYMENT_KIND as L, MAX_POLLING_TIME as M, FILTER_COLUMNS as N, PAYMENT_STATUS_TYPE as O, POLLING_INTERVAL as P, RAZORPAY_CURRENCY_OPTIONS as Q, RAZORPAY_PAYMENT_BUTTON_OPTIONS as R, SORT_DIRECTIONS as S, TAG_STYLE as T, UN_HIDEABLE_COLUMNS as U, REFUND_STATUS_TYPE as V, STRIPE_CURRENCY_OPTIONS as W, STRIPE_DASHBOARD_LINK as X, TIP_KIND as Y, ZERO_DECIMAL_CURRENCIES as Z, getAmountInLargestCurrencyUnit as a, buildStripeTransactionLink as b, getAmountInSmallestCurrencyUnit as c, getAmountWithAppliedTax as d, getFormattedAmount as e, getFormattedDiscountedAmount as f, getAddressElementOptions as g, getFormattedDiscountedPercentage as h, getFormattedTaxAmount as i, getFormattedTipAmount as j, getQrCodeValue as k, getTaxAmount as l, getTipAmount as m, hasAmountToPay as n, DEFAULT_TAG_STYLE as o, buildStripePayoutLink as p, paymentsApi as q, PAYMENT_PROVIDERS as r, formatAmount as s, formatCurrency as t, uuidV4 as u, verifyRazorpayPayment as v, getUniquePaymentProviders as w, buildDefaultTableColumns as x, processDataIndex as y, shouldTabsVisible as z };
|
|
846
|
+
//# sourceMappingURL=index-Dt75BBN1.js.map
|