@justifi/webcomponents 6.12.4 → 6.13.0-rc.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/cjs/{Analytics-BERGweGK.js → Analytics-Be2I_aiS.js} +2 -2
- package/dist/cjs/{Plaid-BRSyOOuw.js → Plaid-Aw35bhCX.js} +2 -2
- package/dist/cjs/additional-questions-form-step_14.cjs.entry.js +5 -5
- package/dist/cjs/bank-account-form.cjs.entry.js +2 -2
- package/dist/cjs/{business.service-Z9OACEQL.js → business.service-CylI3Qrg.js} +1 -1
- package/dist/cjs/card-form.cjs.entry.js +2 -2
- package/dist/cjs/{check-pkg-version-ByKpJklZ.js → check-pkg-version-BLLLh6v-.js} +1 -1
- package/dist/cjs/checkout-actions-8-MUczKw.js +62 -0
- package/dist/cjs/{checkout.service-BZOyqXgW.js → checkout.service-BYpinbSR.js} +1 -1
- package/dist/cjs/dispute-notification_2.cjs.entry.js +6 -6
- package/dist/cjs/{event-types-AU1B76Vm.js → event-types-DptNnCEP.js} +1 -1
- package/dist/cjs/{get-business-aR-C83KX.js → get-business-D10Tmct1.js} +2 -2
- package/dist/cjs/{get-payment-details-dwhA02Zl.js → get-payment-details-BB5aa48u.js} +2 -2
- package/dist/cjs/{get-subaccounts-B1jmSa2d.js → get-subaccounts-CSD2nAqD.js} +2 -2
- package/dist/cjs/hidden-input_2.cjs.entry.js +1 -1
- package/dist/cjs/justifi-apple-pay_11.cjs.entry.js +10 -64
- package/dist/cjs/justifi-bank-account-billing-form-simple.cjs.entry.js +4 -4
- package/dist/cjs/justifi-bank-account-form.cjs.entry.js +4 -4
- package/dist/cjs/justifi-business-details.cjs.entry.js +7 -7
- package/dist/cjs/justifi-business-form.cjs.entry.js +7 -7
- package/dist/cjs/justifi-card-form.cjs.entry.js +4 -4
- package/dist/cjs/justifi-checkout-qr-code.cjs.entry.js +3141 -0
- package/dist/cjs/justifi-checkout.cjs.entry.js +4 -4
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +1 -1
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +7 -7
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +6 -6
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +5 -5
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +8 -8
- package/dist/cjs/justifi-payment-details.cjs.entry.js +7 -7
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +7 -7
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +6 -6
- package/dist/cjs/justifi-payments-list.cjs.entry.js +6 -6
- package/dist/cjs/justifi-payout-details.cjs.entry.js +7 -7
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +6 -6
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +1 -1
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +8 -8
- package/dist/cjs/justifi-qr-terminal.cjs.entry.js +208 -0
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +7 -7
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +5 -5
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +1 -1
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +5 -5
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +1 -1
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +7 -7
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-B6L3zyfG.js → package-gx36QXN1.js} +1 -1
- package/dist/cjs/{payment-provisioning-actions-BiSpysjW.js → payment-provisioning-actions-DimM0KGV.js} +2 -2
- package/dist/cjs/{payment.service-ByrgA_QZ.js → payment.service-fy5bXXmA.js} +1 -1
- package/dist/cjs/{payout.service-CnQm_BpU.js → payout.service-hp3PTXWI.js} +1 -1
- package/dist/cjs/{payouts-status-AuS3Mp0V.js → payouts-status-CF1YT_RL.js} +2 -2
- package/dist/cjs/{plaid.service-Dlb8EUR8.js → plaid.service-9PmS4X0g.js} +1 -1
- package/dist/cjs/{terminal.service-BdwHQ3Vv.js → terminal.service-D5D76Cnn.js} +1 -1
- package/dist/cjs/{utils-FVGp6se3.js → utils-Dcde8Zpt.js} +1 -1
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/checkout-qr-code/justifi-checkout-qr-code.js +128 -0
- package/dist/collection/components/qr-terminal/justifi-qr-terminal.js +349 -0
- package/dist/docs.json +283 -1
- package/dist/esm/{Analytics-B1bQP71R.js → Analytics-DZWGizAK.js} +2 -2
- package/dist/esm/{Plaid-l6nNIjab.js → Plaid-fhlY0CIN.js} +1 -1
- package/dist/esm/additional-questions-form-step_14.entry.js +5 -5
- package/dist/esm/bank-account-form.entry.js +2 -2
- package/dist/esm/{business.service-C31wbMVs.js → business.service-Crs-0Mdy.js} +1 -1
- package/dist/esm/card-form.entry.js +2 -2
- package/dist/esm/{check-pkg-version-CNwUC4SV.js → check-pkg-version-CVyuA8aH.js} +1 -1
- package/dist/esm/checkout-actions-BMnp3uHK.js +59 -0
- package/dist/esm/{checkout.service-cVdOGDuI.js → checkout.service-BMAQVmHa.js} +1 -1
- package/dist/esm/dispute-notification_2.entry.js +6 -6
- package/dist/esm/{event-types-DalU_6SB.js → event-types-CVVB5p_Q.js} +1 -1
- package/dist/esm/{get-business-Gg6qn5on.js → get-business-B9ZS1tVq.js} +2 -2
- package/dist/esm/{get-payment-details-BiWgSJau.js → get-payment-details-CiR6FrkO.js} +2 -2
- package/dist/esm/{get-subaccounts-CkjZeR9U.js → get-subaccounts-VpDr7yN4.js} +2 -2
- package/dist/esm/hidden-input_2.entry.js +1 -1
- package/dist/esm/justifi-apple-pay_11.entry.js +8 -62
- package/dist/esm/justifi-bank-account-billing-form-simple.entry.js +4 -4
- package/dist/esm/justifi-bank-account-form.entry.js +4 -4
- package/dist/esm/justifi-business-details.entry.js +7 -7
- package/dist/esm/justifi-business-form.entry.js +7 -7
- package/dist/esm/justifi-card-form.entry.js +4 -4
- package/dist/esm/justifi-checkout-qr-code.entry.js +3139 -0
- package/dist/esm/justifi-checkout.entry.js +4 -4
- package/dist/esm/justifi-checkouts-list-filters.entry.js +1 -1
- package/dist/esm/justifi-checkouts-list.entry.js +7 -7
- package/dist/esm/justifi-dispute-management.entry.js +6 -6
- package/dist/esm/justifi-gross-payment-chart.entry.js +5 -5
- package/dist/esm/justifi-order-terminals.entry.js +8 -8
- package/dist/esm/justifi-payment-details.entry.js +7 -7
- package/dist/esm/justifi-payment-provisioning.entry.js +7 -7
- package/dist/esm/justifi-payment-transactions-list.entry.js +6 -6
- package/dist/esm/justifi-payments-list.entry.js +6 -6
- package/dist/esm/justifi-payout-details.entry.js +7 -7
- package/dist/esm/justifi-payout-transactions-list.entry.js +6 -6
- package/dist/esm/justifi-payouts-list-filters.entry.js +1 -1
- package/dist/esm/justifi-payouts-list.entry.js +8 -8
- package/dist/esm/justifi-qr-terminal.entry.js +206 -0
- package/dist/esm/justifi-refund-payment.entry.js +7 -7
- package/dist/esm/justifi-season-interruption-insurance.entry.js +5 -5
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +1 -1
- package/dist/esm/justifi-terminal-orders-list.entry.js +5 -5
- package/dist/esm/justifi-terminals-list-filters.entry.js +1 -1
- package/dist/esm/justifi-terminals-list.entry.js +7 -7
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-OGt0dCJl.js → package-CZa-hHhJ.js} +1 -1
- package/dist/esm/{payment-provisioning-actions-cl5xIYnF.js → payment-provisioning-actions-CcDadiRe.js} +2 -2
- package/dist/esm/{payment.service-5_u-UzTY.js → payment.service-BiKQPL4M.js} +1 -1
- package/dist/esm/{payout.service-D2zS5y8N.js → payout.service-B9_cyUiU.js} +1 -1
- package/dist/esm/{payouts-status-DCjCGTaa.js → payouts-status-xOa5tT66.js} +2 -2
- package/dist/esm/{plaid.service-BiJ65YG8.js → plaid.service-bU3qIoKd.js} +1 -1
- package/dist/esm/{terminal.service-CIxDfM7V.js → terminal.service-BM6BvevW.js} +1 -1
- package/dist/esm/{utils-C1B2hVAB.js → utils-BogmBHgt.js} +1 -1
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/Plaid.js +1 -1
- package/dist/module/business-bank-account-form-step2.js +1 -1
- package/dist/module/checkout-actions.js +59 -0
- package/dist/module/get-payment-details.js +1 -1
- package/dist/module/justifi-checkout-qr-code.d.ts +11 -0
- package/dist/module/justifi-checkout-qr-code.js +6 -0
- package/dist/module/justifi-checkout-qr-code2.js +3154 -0
- package/dist/module/justifi-checkouts-list.js +1 -1
- package/dist/module/justifi-dispute-management.js +1 -1
- package/dist/module/justifi-modular-checkout2.js +2 -57
- package/dist/module/justifi-order-terminals.js +1 -1
- package/dist/module/justifi-payment-details.js +1 -1
- package/dist/module/justifi-payment-transactions-list.js +1 -1
- package/dist/module/justifi-payments-list.js +1 -1
- package/dist/module/justifi-payout-details.js +1 -1
- package/dist/module/justifi-payout-transactions-list.js +1 -1
- package/dist/module/justifi-payouts-list.js +1 -1
- package/dist/module/justifi-qr-terminal.d.ts +11 -0
- package/dist/module/justifi-qr-terminal.js +234 -0
- package/dist/module/justifi-refund-payment.js +1 -1
- package/dist/module/justifi-terminal-orders-list-filters.js +1 -1
- package/dist/module/justifi-terminal-orders-list.js +1 -1
- package/dist/module/justifi-terminals-list-filters.js +1 -1
- package/dist/module/justifi-terminals-list.js +1 -1
- package/dist/module/package.js +1 -1
- package/dist/types/api/Checkout.d.ts +1 -2
- package/dist/types/components/checkout-qr-code/justifi-checkout-qr-code.d.ts +18 -0
- package/dist/types/components/qr-terminal/justifi-qr-terminal.d.ts +42 -0
- package/dist/types/components.d.ts +92 -0
- package/dist/webcomponents/{p-ea0d7a98.entry.js → p-06e8df55.entry.js} +1 -1
- package/dist/webcomponents/{p-daaa2a99.entry.js → p-07f2f1bf.entry.js} +1 -1
- package/dist/webcomponents/p-0fb8fb8c.entry.js +1 -0
- package/dist/webcomponents/p-10087a53.entry.js +1 -0
- package/dist/webcomponents/{p-45c0fb53.entry.js → p-1d7b8c21.entry.js} +1 -1
- package/dist/webcomponents/{p-d24240a5.entry.js → p-21c89e22.entry.js} +1 -1
- package/dist/webcomponents/{p-d79c5ee4.entry.js → p-2ec7cd88.entry.js} +1 -1
- package/dist/webcomponents/p-2qotS5d_.js +1 -0
- package/dist/webcomponents/{p-69fdd137.entry.js → p-355a5c8d.entry.js} +1 -1
- package/dist/webcomponents/{p-8964f4ca.entry.js → p-37b95a11.entry.js} +1 -1
- package/dist/webcomponents/p-37fd1862.entry.js +1 -0
- package/dist/webcomponents/{p-c8f3656f.entry.js → p-392f0c1c.entry.js} +1 -1
- package/dist/webcomponents/{p-9d021e10.entry.js → p-44cf13ac.entry.js} +1 -1
- package/dist/webcomponents/{p-cde76bf8.entry.js → p-55fdab4e.entry.js} +1 -1
- package/dist/webcomponents/p-5ccb46ee.entry.js +1 -0
- package/dist/webcomponents/{p-8d173a7c.entry.js → p-5f8dfa8d.entry.js} +1 -1
- package/dist/webcomponents/{p-07236291.entry.js → p-70cd2808.entry.js} +1 -1
- package/dist/webcomponents/{p-3f5e9afb.entry.js → p-769d3d93.entry.js} +1 -1
- package/dist/webcomponents/{p-f30069ea.entry.js → p-79bd744e.entry.js} +1 -1
- package/dist/webcomponents/{p-49a4123c.entry.js → p-7a4cd292.entry.js} +1 -1
- package/dist/webcomponents/p-8d602e60.entry.js +1 -0
- package/dist/webcomponents/p-94f14640.entry.js +1 -0
- package/dist/webcomponents/p-98f399ec.entry.js +1 -0
- package/dist/webcomponents/{p-7119fddd.entry.js → p-9fca25fc.entry.js} +1 -1
- package/dist/webcomponents/{p-Ba8jdOkX.js → p-BGvaX-lJ.js} +1 -1
- package/dist/webcomponents/{p-NZS8uCtH.js → p-CSgcCWLS.js} +1 -1
- package/dist/webcomponents/p-CZa-hHhJ.js +1 -0
- package/dist/webcomponents/p-Cg_3KsGO.js +1 -0
- package/dist/webcomponents/p-CqPcl9v7.js +1 -0
- package/dist/webcomponents/p-CvgL8YaH.js +1 -0
- package/dist/webcomponents/{p-oTtn8xDw.js → p-D4E9P7df.js} +1 -1
- package/dist/webcomponents/{p-Dk26hk5T.js → p-DD-_8sbs.js} +1 -1
- package/dist/webcomponents/{p-mF5zKtkx.js → p-DHFQtPCq.js} +1 -1
- package/dist/webcomponents/p-DMqJWUK2.js +1 -0
- package/dist/webcomponents/{p-fE5A37L5.js → p-DZAMzLxa.js} +1 -1
- package/dist/webcomponents/{p-Cz_7BuGW.js → p-DbOUuBHs.js} +1 -1
- package/dist/webcomponents/{p-BxKbnILQ.js → p-Eb1f86_V.js} +1 -1
- package/dist/webcomponents/{p-av6jyzyC.js → p-XxG-t-Sl.js} +1 -1
- package/dist/webcomponents/{p-7ebed752.entry.js → p-aee2295b.entry.js} +1 -1
- package/dist/webcomponents/p-b20b8805.entry.js +1 -0
- package/dist/webcomponents/p-bb5de874.entry.js +1 -0
- package/dist/webcomponents/p-bd678d4a.entry.js +1 -0
- package/dist/webcomponents/{p-f3ff7e00.entry.js → p-c8ee1e4c.entry.js} +1 -1
- package/dist/webcomponents/p-ce1dde85.entry.js +1 -0
- package/dist/webcomponents/{p-8aa53ef2.entry.js → p-d620d4b4.entry.js} +1 -1
- package/dist/webcomponents/{p-ae91fc9b.entry.js → p-dcd600ca.entry.js} +1 -1
- package/dist/webcomponents/p-e6b9dfe1.entry.js +1 -0
- package/dist/webcomponents/p-eCeOsPHx.js +1 -0
- package/dist/webcomponents/{p-BJu1-9kE.js → p-eK8hZOMg.js} +1 -1
- package/dist/webcomponents/{p-a1dcdc8b.entry.js → p-ff5c5499.entry.js} +4 -4
- package/dist/webcomponents/{p-BXyADlAH.js → p-qju4tNG1.js} +1 -1
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +16 -14
- package/LICENSE +0 -21
- package/dist/webcomponents/p-215c6b6b.entry.js +0 -1
- package/dist/webcomponents/p-31452258.entry.js +0 -1
- package/dist/webcomponents/p-35dd1fc0.entry.js +0 -1
- package/dist/webcomponents/p-4ec433f4.entry.js +0 -1
- package/dist/webcomponents/p-58b5e08e.entry.js +0 -1
- package/dist/webcomponents/p-5G1OMxZz.js +0 -1
- package/dist/webcomponents/p-6220a384.entry.js +0 -1
- package/dist/webcomponents/p-91aef5bf.entry.js +0 -1
- package/dist/webcomponents/p-APOabprT.js +0 -1
- package/dist/webcomponents/p-Aacb4jqT.js +0 -1
- package/dist/webcomponents/p-Cm9f5fyh.js +0 -1
- package/dist/webcomponents/p-OGt0dCJl.js +0 -1
- package/dist/webcomponents/p-b272a29d.entry.js +0 -1
- package/dist/webcomponents/p-c9fe4f33.entry.js +0 -1
- package/dist/webcomponents/p-ef85717f.entry.js +0 -1
- package/dist/webcomponents/p-nb_LhbJq.js +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{h as t,r as s,c as i}from"./p-CV0Pyo1O.js";import{A as e}from"./p-CYQvLgSs.js";import{C as r,e as o}from"./p-NZS8uCtH.js";import"./p-CLHwhyvu.js";import"./p-BcNb9bVO.js";import{g as a,a as n}from"./p-Cm9f5fyh.js";import{J as c}from"./p-Cz_7BuGW.js";import{c as l}from"./p-mF5zKtkx.js";import{c as h}from"./p-BArmtmkq.js";import{p as d,f as p,r as u,j as v}from"./p-BRnBHsdq.js";import{v as m,i as y,a as f,H as j}from"./p-D-zwk1J3.js";import{t as _,z as g}from"./p-CPKMvyV_.js";import{S as C}from"./p-BqNNwq6C.js";import"./p-CZfYo5-1.js";import{S as k}from"./p-uZ5KAseb.js";import"./p-DVJaoI_m.js";import"./p-D8GTwl9v.js";import"./p-OGt0dCJl.js";import"./p-DkoufM1t.js";import"./p-HXpYMWUU.js";const w=e();class b{async fetchQuote(t,s){return w.post({endpoint:"insurance/quotes",body:s,authToken:t})}async toggleCoverage(t,s,i){return w.post({endpoint:`insurance/quotes/${s}/toggle`,body:i,authToken:t})}}const T=()=>t("div",{class:"row gap-3"},t("div",{class:"col-12"},t(k,{width:"35%",height:"30px"})),t("div",{class:"col-12"},t(k,{width:"70%"})),t("div",{class:"col-12"},t(k,{width:"40%"})),t("div",{class:"col-12"},t(k,{width:"40%"})),t("div",{class:"col-12"},t(k,{width:"100%"})),t("div",{class:"col-12"},t(k,{width:"80%"}))),q=class{constructor(t){s(this,t),this.insuranceUpdated=i(this,"insurance-updated",7),this.errorEvent=i(this,"error-event",7),this.isLoading=!0}async validate(){return m()}processHTMLContent(t){return d(t,[t=>u(t,"style"),t=>v(t,"a","part",_),t=>v(t,"p","part",_)])}componentWillLoad(){l(),this.analytics=new c(this),this.initializeServiceMethods(),this.getQuote&&this.fetchData()}disconnectedCallback(){var t;null===(t=this.analytics)||void 0===t||t.cleanup()}initializeServiceMethods(){const t=this.authToken||h.authToken;if(!t)return void this.errorEvent.emit({errorCode:o.MISSING_PROPS,message:"Missing authToken",severity:r.ERROR});const s={authToken:t,service:new b};this.getQuote=(({authToken:t,service:s})=>async({payload:i,onSuccess:e,onError:o})=>{var c;try{const l=await s.fetchQuote(t,i);if(l.error)return o({error:n(l.error),code:a(null===(c=l.error)||void 0===c?void 0:c.code),severity:r.ERROR});e({quote:l.data})}catch(t){const s=a(null==t?void 0:t.code);return o({error:t.message||t,code:s,severity:r.ERROR})}})(s),this.toggleCoverage=(({authToken:t,service:s})=>async({quoteId:i,payload:e,onSuccess:o,onError:c})=>{var l;try{const h=await s.toggleCoverage(t,i,e);if(h.error)return c({error:n(h.error),code:a(null===(l=h.error)||void 0===l?void 0:l.code),severity:r.ERROR});o({quote:h.data})}catch(t){const s=a(null==t?void 0:t.code);return c({error:t.message||t,code:s,severity:r.ERROR})}})(s)}fetchData(){this.isLoading=!0,this.getQuote({payload:{checkout_id:this.checkoutId||h.checkoutId,policy_type:"season_interruption",primary_identity:{state:this.primaryIdentityState,email:this.primaryIdentityEmailAddress,first_name:this.primaryIdentityFirstName,last_name:this.primaryIdentityLastName,postal_code:this.primaryIdentityPostalCode,country:this.primaryIdentityCountry},policy_attributes:{insurable_amount:this.policyAttributesInsurableAmount,start_date:this.policyAttributesStartDate,end_date:this.policyAttributesEndDate,covered_identity:{first_name:this.coveredIdentityFirstName,last_name:this.coveredIdentityLastName}}},onSuccess:({quote:t})=>{this.quote=t,this.quote.product.description=this.processHTMLContent(this.quote.product.description),this.quote.product.legal_disclaimer=this.processHTMLContent(this.quote.product.legal_disclaimer),y[t.policy_type]=t.accepted,this.isLoading=!1},onError:({error:t,code:s,severity:i})=>{this.isLoading=!1,this.errorEvent.emit({errorCode:s,message:t,severity:i})}})}onChangeHandler(t,s){this.accepted=s,f[this.quote.policy_type]=!1,this.toggleCoverage({quoteId:this.quote.id,payload:{accepted:this.accepted},onSuccess:()=>{this.insuranceUpdated.emit(),y[this.quote.policy_type]=this.accepted},onError:({error:t,code:s,severity:i})=>{this.errorEvent.emit({errorCode:s,message:t,severity:i})}})}get error(){var t;return f[null===(t=this.quote)||void 0===t?void 0:t.policy_type]}render(){var s,i,e,r;return h&&!1===h.insuranceEnabled?(console.warn("[justifi-season-interruption-insurance] Insurance is disabled for this checkout (payment_settings.insurance_payments=false)."),null):t(C,null,this.isLoading?t(T,null):t("div",null,t(j,{text:null===(s=this.quote)||void 0===s?void 0:s.product.title,class:"fs-5 fw-bold pb-3"}),t("small",{part:_,innerHTML:null===(i=this.quote)||void 0===i?void 0:i.product.description}),t("form-control-radio",{label:`Accept coverage for ${p(null===(e=this.quote)||void 0===e?void 0:e.total_cents)}`,name:"opt-in",value:"true",checked:"true"===this.accepted,inputHandler:this.onChangeHandler.bind(this),errorText:this.error?" ":void 0}),t("form-control-radio",{label:"Decline coverage",name:"opt-in",value:"false",checked:"false"===this.accepted,inputHandler:this.onChangeHandler.bind(this),errorText:this.error?" ":void 0}),t("div",{class:"invalid-feedback",style:{display:this.error?"block":"none"},part:g},"Please select an option"),t("small",{part:_,innerHTML:null===(r=this.quote)||void 0===r?void 0:r.product.legal_disclaimer})))}};export{q as justifi_season_interruption_insurance}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{A as t}from"./p-CYQvLgSs.js";import"./p-NZS8uCtH.js";import"./p-CLHwhyvu.js";import"./p-BcNb9bVO.js";const n=t();class a{async fetchPayments(t,a,s){return n.get({endpoint:`account/${t}/payments`,params:s,authToken:a})}async fetchPayment(t,a){return n.get({endpoint:`payments/${t}`,authToken:a})}async fetchPaymentTransactions(t,a,s){return n.get({endpoint:`payments/${t}/payment_balance_transactions`,params:s,authToken:a})}}export{a as P}
|