@justifi/webcomponents 5.0.0-rc-1 → 5.0.0
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/bank-account-form_9.cjs.entry.js +3 -3
- package/dist/cjs/{business.service-7faffa0b.js → business.service-285f6f26.js} +1 -1
- package/dist/cjs/{check-pkg-version-23c816dd.js → check-pkg-version-05db7d8e.js} +2 -2
- package/dist/cjs/{checkout.service-9891a349.js → checkout.service-671fab62.js} +1 -1
- package/dist/cjs/{config-05767cba.js → config-b190e93e.js} +1 -1
- package/dist/cjs/{dispute.service-2064ae0f.js → dispute.service-c362a953.js} +1 -1
- package/dist/cjs/{get-payout-csv-4e60474e.js → get-payout-csv-d2aed52c.js} +1 -1
- package/dist/cjs/{get-subaccounts-2ea9676c.js → get-subaccounts-9aa22224.js} +1 -1
- package/dist/cjs/iframe-input.cjs.entry.js +1 -1
- package/dist/cjs/justifi-additional-questions-form-step_10.cjs.entry.js +2 -2
- package/dist/cjs/justifi-business-details.cjs.entry.js +4 -4
- package/dist/cjs/justifi-business-form.cjs.entry.js +3 -3
- package/dist/cjs/justifi-checkout-core.cjs.entry.js +1 -1
- package/dist/cjs/justifi-checkout.cjs.entry.js +4 -4
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +5 -5
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +4 -4
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +4 -4
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +3 -3
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payment-details.cjs.entry.js +4 -4
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +4 -4
- package/dist/cjs/justifi-payments-list.cjs.entry.js +4 -4
- package/dist/cjs/justifi-payout-details.cjs.entry.js +4 -4
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +5 -5
- package/dist/cjs/justifi-refund-form.cjs.entry.js +1 -1
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +3 -3
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +4 -4
- package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +3 -3
- package/dist/cjs/{package-1a3b3cdf.js → package-48c58886.js} +1 -1
- package/dist/cjs/{payment.service-0a8c3a01.js → payment.service-9a5336f1.js} +1 -1
- package/dist/docs.json +1 -1
- package/dist/esm/bank-account-form_9.entry.js +3 -3
- package/dist/esm/{business.service-97a3da69.js → business.service-182aea6f.js} +1 -1
- package/dist/esm/{check-pkg-version-c2078b31.js → check-pkg-version-95b9be89.js} +2 -2
- package/dist/esm/{checkout.service-925ded8e.js → checkout.service-32a6ebe8.js} +1 -1
- package/dist/esm/{config-27764a9d.js → config-187b3ae1.js} +1 -1
- package/dist/esm/{dispute.service-588dd905.js → dispute.service-4e5059aa.js} +1 -1
- package/dist/esm/{get-payout-csv-b95a5d54.js → get-payout-csv-e6058aa7.js} +1 -1
- package/dist/esm/{get-subaccounts-b9a00d48.js → get-subaccounts-0b8af245.js} +1 -1
- package/dist/esm/iframe-input.entry.js +1 -1
- package/dist/esm/justifi-additional-questions-form-step_10.entry.js +2 -2
- package/dist/esm/justifi-business-details.entry.js +4 -4
- package/dist/esm/justifi-business-form.entry.js +3 -3
- package/dist/esm/justifi-checkout-core.entry.js +1 -1
- package/dist/esm/justifi-checkout.entry.js +4 -4
- package/dist/esm/justifi-checkouts-list.entry.js +5 -5
- package/dist/esm/justifi-dispute-management.entry.js +4 -4
- package/dist/esm/justifi-dispute-notification_3.entry.js +4 -4
- package/dist/esm/justifi-gross-payment-chart.entry.js +3 -3
- package/dist/esm/justifi-owner-form_3.entry.js +2 -2
- package/dist/esm/justifi-payment-details.entry.js +4 -4
- package/dist/esm/justifi-payment-provisioning.entry.js +4 -4
- package/dist/esm/justifi-payments-list.entry.js +4 -4
- package/dist/esm/justifi-payout-details.entry.js +4 -4
- package/dist/esm/justifi-payouts-list.entry.js +5 -5
- package/dist/esm/justifi-refund-form.entry.js +1 -1
- package/dist/esm/justifi-season-interruption-insurance.entry.js +3 -3
- package/dist/esm/justifi-terminals-list.entry.js +4 -4
- package/dist/esm/justifi-tokenize-payment-method.entry.js +3 -3
- package/dist/esm/{package-84f77b11.js → package-223933b4.js} +1 -1
- package/dist/esm/{payment.service-064fac31.js → payment.service-45f90e06.js} +1 -1
- package/dist/module/bank-account-form2.js +1 -1
- package/dist/module/card-form2.js +1 -1
- package/dist/module/config.js +1 -1
- package/dist/module/package.js +1 -1
- package/dist/webcomponents/{p-4f569cbf.entry.js → p-01f32098.entry.js} +1 -1
- package/dist/webcomponents/{p-f0f3442e.entry.js → p-050a6855.entry.js} +1 -1
- package/dist/webcomponents/{p-5a62fca2.js → p-0f23ff58.js} +1 -1
- package/dist/webcomponents/p-1e6077f4.js +1 -0
- package/dist/webcomponents/{p-53cf5687.entry.js → p-20a24f3a.entry.js} +1 -1
- package/dist/webcomponents/p-238f1ff8.entry.js +1 -0
- package/dist/webcomponents/{p-ecced6e5.entry.js → p-2462bf86.entry.js} +1 -1
- package/dist/webcomponents/p-3eabbdd4.entry.js +1 -0
- package/dist/webcomponents/{p-02a0b21e.js → p-441c1cf8.js} +1 -1
- package/dist/webcomponents/{p-a17be58e.entry.js → p-47e7f876.entry.js} +1 -1
- package/dist/webcomponents/{p-c740f609.entry.js → p-4972d608.entry.js} +1 -1
- package/dist/webcomponents/{p-733dc19b.entry.js → p-5bbe1133.entry.js} +1 -1
- package/dist/webcomponents/p-6ab77b89.js +1 -0
- package/dist/webcomponents/{p-a41a1843.entry.js → p-70eea098.entry.js} +1 -1
- package/dist/webcomponents/{p-57281853.entry.js → p-80b1bcc2.entry.js} +1 -1
- package/dist/webcomponents/{p-9c652bc3.entry.js → p-88acfa7c.entry.js} +1 -1
- package/dist/webcomponents/{p-9e990e7d.entry.js → p-8fe80110.entry.js} +1 -1
- package/dist/webcomponents/{p-95e688bd.entry.js → p-9c2d5229.entry.js} +1 -1
- package/dist/webcomponents/{p-a520766d.entry.js → p-a47971d8.entry.js} +1 -1
- package/dist/webcomponents/{p-22034555.entry.js → p-b6d76082.entry.js} +1 -1
- package/dist/webcomponents/{p-54d36e97.js → p-bb0f8b70.js} +1 -1
- package/dist/webcomponents/{p-2ed8e8db.entry.js → p-bbcaa29b.entry.js} +1 -1
- package/dist/webcomponents/{p-2a6f8329.entry.js → p-c212414b.entry.js} +1 -1
- package/dist/webcomponents/p-cc977850.js +1 -0
- package/dist/webcomponents/{p-8a550a5e.entry.js → p-d8fdf2b5.entry.js} +1 -1
- package/dist/webcomponents/p-db8c12ee.js +1 -0
- package/dist/webcomponents/{p-d67bb568.entry.js → p-e396506c.entry.js} +1 -1
- package/dist/webcomponents/{p-96ea95ce.entry.js → p-e4421e98.entry.js} +1 -1
- package/dist/webcomponents/{p-174b151e.js → p-e7bb6520.js} +1 -1
- package/dist/webcomponents/{p-f6f8dabc.js → p-edb57087.js} +1 -1
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +1 -1
- package/dist/webcomponents/p-66c63ef7.entry.js +0 -1
- package/dist/webcomponents/p-99c92f1f.entry.js +0 -1
- package/dist/webcomponents/p-af620972.js +0 -1
- package/dist/webcomponents/p-cb00d4f3.js +0 -1
- package/dist/webcomponents/p-d1c93dd3.js +0 -1
- package/dist/webcomponents/p-e19589a2.js +0 -1
|
@@ -3,7 +3,7 @@ import './Checkout-0b4086f8.js';
|
|
|
3
3
|
import './Pagination-afc8f96d.js';
|
|
4
4
|
import './Payment-4f72d277.js';
|
|
5
5
|
import './SubAccount-99a00594.js';
|
|
6
|
-
import { c as config } from './config-
|
|
6
|
+
import { c as config } from './config-187b3ae1.js';
|
|
7
7
|
|
|
8
8
|
class DisputeService {
|
|
9
9
|
async fetchDispute(disputeId, authToken) {
|
|
@@ -3,7 +3,7 @@ import './Checkout-0b4086f8.js';
|
|
|
3
3
|
import './Pagination-afc8f96d.js';
|
|
4
4
|
import './Payment-4f72d277.js';
|
|
5
5
|
import './SubAccount-99a00594.js';
|
|
6
|
-
import { c as config } from './config-
|
|
6
|
+
import { c as config } from './config-187b3ae1.js';
|
|
7
7
|
import { C as ComponentErrorSeverity } from './ComponentError-3ce7f437.js';
|
|
8
8
|
import { g as getErrorMessage, a as getErrorCode } from './utils-b10dae27.js';
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@ import './Checkout-0b4086f8.js';
|
|
|
3
3
|
import './Pagination-afc8f96d.js';
|
|
4
4
|
import './Payment-4f72d277.js';
|
|
5
5
|
import { S as SubAccount } from './SubAccount-99a00594.js';
|
|
6
|
-
import { c as config } from './config-
|
|
6
|
+
import { c as config } from './config-187b3ae1.js';
|
|
7
7
|
import { C as ComponentErrorSeverity } from './ComponentError-3ce7f437.js';
|
|
8
8
|
import { g as getErrorMessage, a as getErrorCode } from './utils-b10dae27.js';
|
|
9
9
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, g as getElement } from './index-29fcfdf5.js';
|
|
2
2
|
import { F as FormControlErrorText } from './form-control-error-text-3b2553b5.js';
|
|
3
|
-
import { p as packageJson } from './package-
|
|
3
|
+
import { p as packageJson } from './package-223933b4.js';
|
|
4
4
|
import { a as iframeInputStyles } from './iframe-input-styles-state-ff730fe5.js';
|
|
5
5
|
import { i as inputInvalidAndFocused, b as inputInvalid, a as inputFocused, c as input, l as label } from './parts-186d437f.js';
|
|
6
6
|
import './index-a47fdc7f.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-29fcfdf5.js';
|
|
2
2
|
import { a as ComponentErrorCodes, C as ComponentErrorSeverity } from './ComponentError-3ce7f437.js';
|
|
3
3
|
import { m as makeGetBusiness, b as makePatchBusiness } from './payment-provisioning-actions-0635eff7.js';
|
|
4
|
-
import { B as BusinessService } from './business.service-
|
|
4
|
+
import { B as BusinessService } from './business.service-182aea6f.js';
|
|
5
5
|
import { c as create$3, F as FormController, e as create$7 } from './index.esm-0b6849c2.js';
|
|
6
6
|
import { z as bankNameValidation, A as nicknameValidation, u as identityNameValidation, B as accountTypeValidation, C as accountNumberValidation, D as routingNumberValidation, E as voidedCheckValidation, F as governmentIdValidation, G as ss4Validation, H as otherDocumentValidation, I as balanceSheetValidation, J as bankStatementValidation, K as profitAndLossStatementValidation, L as EntityDocument, M as EntityDocumentStorage } from './schema-validations-c7d4f9df.js';
|
|
7
7
|
import { A as Api } from './Api-391d00e2.js';
|
|
@@ -9,7 +9,7 @@ import './Checkout-0b4086f8.js';
|
|
|
9
9
|
import './Pagination-afc8f96d.js';
|
|
10
10
|
import './Payment-4f72d277.js';
|
|
11
11
|
import './SubAccount-99a00594.js';
|
|
12
|
-
import { c as config } from './config-
|
|
12
|
+
import { c as config } from './config-187b3ae1.js';
|
|
13
13
|
import { n as numberOnlyHandler } from './utils-20cdf321.js';
|
|
14
14
|
import { h as heading2 } from './parts-186d437f.js';
|
|
15
15
|
import { c as bankAccountTypeOptions } from './business-form-options-018f62a5.js';
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-29fcfdf5.js';
|
|
2
2
|
import { E as ErrorState } from './utils-d7633e66.js';
|
|
3
|
-
import { B as BusinessService } from './business.service-
|
|
3
|
+
import { B as BusinessService } from './business.service-182aea6f.js';
|
|
4
4
|
import { B as Business } from './Business-29c69f22.js';
|
|
5
5
|
import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError-3ce7f437.js';
|
|
6
6
|
import { g as getErrorMessage, a as getErrorCode } from './utils-b10dae27.js';
|
|
7
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
7
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-95b9be89.js';
|
|
8
8
|
import './parts-186d437f.js';
|
|
9
|
-
import './config-
|
|
9
|
+
import './config-187b3ae1.js';
|
|
10
10
|
import './Api-391d00e2.js';
|
|
11
11
|
import './helpers-96ea3464.js';
|
|
12
12
|
import './state-options-a356fb11.js';
|
|
13
|
-
import './package-
|
|
13
|
+
import './package-223933b4.js';
|
|
14
14
|
|
|
15
15
|
const makeGetBusiness = ({ id, authToken, service }) => async ({ onSuccess, onError }) => {
|
|
16
16
|
var _a;
|
|
@@ -7,9 +7,9 @@ import './Checkout-0b4086f8.js';
|
|
|
7
7
|
import './Pagination-afc8f96d.js';
|
|
8
8
|
import './Payment-4f72d277.js';
|
|
9
9
|
import './SubAccount-99a00594.js';
|
|
10
|
-
import { c as config } from './config-
|
|
10
|
+
import { c as config } from './config-187b3ae1.js';
|
|
11
11
|
import { B as Business, a as BusinessFormServerErrors } from './Business-29c69f22.js';
|
|
12
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
12
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-95b9be89.js';
|
|
13
13
|
import { B as Button } from './button-1886a33d.js';
|
|
14
14
|
import { S as StyledHost } from './styled-host-32228b45.js';
|
|
15
15
|
import { H as Header1 } from './header-1-c6a00a22.js';
|
|
@@ -19,7 +19,7 @@ import './state-options-a356fb11.js';
|
|
|
19
19
|
import './business-form-options-018f62a5.js';
|
|
20
20
|
import './Dispute-5fd28ec9.js';
|
|
21
21
|
import './helpers-96ea3464.js';
|
|
22
|
-
import './package-
|
|
22
|
+
import './package-223933b4.js';
|
|
23
23
|
import './parts-186d437f.js';
|
|
24
24
|
|
|
25
25
|
const businessFormSchema = create$3(Object.assign(Object.assign({}, businessCoreInfoSchema().fields), { legal_address: addressSchema(), additional_questions: additionalQuestionsSchema(), representative: identitySchema('representative') }));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-29fcfdf5.js';
|
|
2
2
|
import { b as formatCurrency } from './utils-54543523.js';
|
|
3
|
-
import { c as config } from './config-
|
|
3
|
+
import { c as config } from './config-187b3ae1.js';
|
|
4
4
|
import { C as Checkout } from './Checkout-0b4086f8.js';
|
|
5
5
|
import { C as ComponentErrorSeverity } from './ComponentError-3ce7f437.js';
|
|
6
6
|
import { i as insuranceValuesOn, v as validateInsuranceValues, H as Header2, a as insuranceValues } from './insurance-state-8fc9376f.js';
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-29fcfdf5.js';
|
|
2
2
|
import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError-3ce7f437.js';
|
|
3
3
|
import { g as getErrorMessage, a as getErrorCode } from './utils-b10dae27.js';
|
|
4
|
-
import { C as CheckoutService } from './checkout.service-
|
|
5
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
6
|
-
import './config-
|
|
4
|
+
import { C as CheckoutService } from './checkout.service-32a6ebe8.js';
|
|
5
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-95b9be89.js';
|
|
6
|
+
import './config-187b3ae1.js';
|
|
7
7
|
import './Api-391d00e2.js';
|
|
8
8
|
import './Checkout-0b4086f8.js';
|
|
9
9
|
import './Pagination-afc8f96d.js';
|
|
10
10
|
import './Payment-4f72d277.js';
|
|
11
11
|
import './Dispute-5fd28ec9.js';
|
|
12
12
|
import './SubAccount-99a00594.js';
|
|
13
|
-
import './package-
|
|
13
|
+
import './package-223933b4.js';
|
|
14
14
|
|
|
15
15
|
const makeGetCheckout = ({ authToken, checkoutId, service }) => async ({ onSuccess, onError }) => {
|
|
16
16
|
var _a;
|
|
@@ -5,14 +5,14 @@ import './Payment-4f72d277.js';
|
|
|
5
5
|
import './SubAccount-99a00594.js';
|
|
6
6
|
import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError-3ce7f437.js';
|
|
7
7
|
import { g as getErrorMessage, a as getErrorCode } from './utils-b10dae27.js';
|
|
8
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
9
|
-
import { c as config } from './config-
|
|
10
|
-
import { C as CheckoutService } from './checkout.service-
|
|
11
|
-
import { m as makeGetSubAccounts, S as SubAccountService } from './get-subaccounts-
|
|
8
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-95b9be89.js';
|
|
9
|
+
import { c as config } from './config-187b3ae1.js';
|
|
10
|
+
import { C as CheckoutService } from './checkout.service-32a6ebe8.js';
|
|
11
|
+
import { m as makeGetSubAccounts, S as SubAccountService } from './get-subaccounts-0b8af245.js';
|
|
12
12
|
import { S as StyledHost } from './styled-host-32228b45.js';
|
|
13
13
|
import { d as defaultColumnsKeys } from './checkouts-table-8b116232.js';
|
|
14
14
|
import './Dispute-5fd28ec9.js';
|
|
15
|
-
import './package-
|
|
15
|
+
import './package-223933b4.js';
|
|
16
16
|
import './Api-391d00e2.js';
|
|
17
17
|
import './utils-54543523.js';
|
|
18
18
|
import './parts-186d437f.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-29fcfdf5.js';
|
|
2
2
|
import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError-3ce7f437.js';
|
|
3
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
3
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-95b9be89.js';
|
|
4
4
|
import { a as Dispute } from './Dispute-5fd28ec9.js';
|
|
5
5
|
import { g as getErrorMessage, a as getErrorCode } from './utils-b10dae27.js';
|
|
6
|
-
import { D as DisputeService } from './dispute.service-
|
|
7
|
-
import { c as config } from './config-
|
|
8
|
-
import './package-
|
|
6
|
+
import { D as DisputeService } from './dispute.service-4e5059aa.js';
|
|
7
|
+
import { c as config } from './config-187b3ae1.js';
|
|
8
|
+
import './package-223933b4.js';
|
|
9
9
|
import './Api-391d00e2.js';
|
|
10
10
|
import './Checkout-0b4086f8.js';
|
|
11
11
|
import './Pagination-afc8f96d.js';
|
|
@@ -6,17 +6,17 @@ import { S as StyledHost } from './styled-host-32228b45.js';
|
|
|
6
6
|
import { S as Skeleton } from './skeleton-8f71cdf7.js';
|
|
7
7
|
import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError-3ce7f437.js';
|
|
8
8
|
import { g as getErrorMessage, a as getErrorCode } from './utils-b10dae27.js';
|
|
9
|
-
import { D as DisputeService } from './dispute.service-
|
|
9
|
+
import { D as DisputeService } from './dispute.service-4e5059aa.js';
|
|
10
10
|
import { D as DisputeManagementClickActions } from './event-types-07cdb9a0.js';
|
|
11
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
12
|
-
import { c as config } from './config-
|
|
11
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-95b9be89.js';
|
|
12
|
+
import { c as config } from './config-187b3ae1.js';
|
|
13
13
|
import './Api-391d00e2.js';
|
|
14
14
|
import './Checkout-0b4086f8.js';
|
|
15
15
|
import './Pagination-afc8f96d.js';
|
|
16
16
|
import './Payment-4f72d277.js';
|
|
17
17
|
import './Dispute-5fd28ec9.js';
|
|
18
18
|
import './SubAccount-99a00594.js';
|
|
19
|
-
import './package-
|
|
19
|
+
import './package-223933b4.js';
|
|
20
20
|
|
|
21
21
|
const makeUpdateDisputeResponse = ({ authToken, disputeId, service }) => async ({ payload, onSuccess, onError, final = () => { } }) => {
|
|
22
22
|
var _a;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-29fcfdf5.js';
|
|
2
|
-
import { c as config } from './config-
|
|
2
|
+
import { c as config } from './config-187b3ae1.js';
|
|
3
3
|
import { A as Api } from './Api-391d00e2.js';
|
|
4
4
|
import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError-3ce7f437.js';
|
|
5
5
|
import { g as getErrorMessage, a as getErrorCode } from './utils-b10dae27.js';
|
|
6
6
|
import { E as ErrorState } from './utils-d7633e66.js';
|
|
7
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
7
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-95b9be89.js';
|
|
8
8
|
import './parts-186d437f.js';
|
|
9
|
-
import './package-
|
|
9
|
+
import './package-223933b4.js';
|
|
10
10
|
|
|
11
11
|
class ReportsService {
|
|
12
12
|
async fetchGrossVolumeChartData(accountId, authToken) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-29fcfdf5.js';
|
|
2
2
|
import { c as makeGetIdentity, d as makePatchIdentity, e as makePostIdentity } from './payment-provisioning-actions-0635eff7.js';
|
|
3
|
-
import { I as IdentityService } from './business.service-
|
|
3
|
+
import { I as IdentityService } from './business.service-182aea6f.js';
|
|
4
4
|
import { F as FormController } from './index.esm-0b6849c2.js';
|
|
5
5
|
import { O as Owner } from './Business-29c69f22.js';
|
|
6
6
|
import { i as identitySchema } from './business-identity-schema-75126188.js';
|
|
@@ -11,7 +11,7 @@ import { S as SSN_MASK, P as PHONE_MASKS } from './form-input-masks-0e18300f.js'
|
|
|
11
11
|
import { u as updateFormValues, a as updateAddressFormValues, b as updateDateOfBirthFormValues } from './input-handlers-270ac806.js';
|
|
12
12
|
import './ComponentError-3ce7f437.js';
|
|
13
13
|
import './utils-b10dae27.js';
|
|
14
|
-
import './config-
|
|
14
|
+
import './config-187b3ae1.js';
|
|
15
15
|
import './Api-391d00e2.js';
|
|
16
16
|
import './helpers-96ea3464.js';
|
|
17
17
|
import './state-options-a356fb11.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-29fcfdf5.js';
|
|
2
|
-
import { P as PaymentService } from './payment.service-
|
|
2
|
+
import { P as PaymentService } from './payment.service-45f90e06.js';
|
|
3
3
|
import './Checkout-0b4086f8.js';
|
|
4
4
|
import './Pagination-afc8f96d.js';
|
|
5
5
|
import { P as Payment } from './Payment-4f72d277.js';
|
|
@@ -7,12 +7,12 @@ import './SubAccount-99a00594.js';
|
|
|
7
7
|
import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError-3ce7f437.js';
|
|
8
8
|
import { g as getErrorMessage, a as getErrorCode } from './utils-b10dae27.js';
|
|
9
9
|
import { E as ErrorState } from './utils-d7633e66.js';
|
|
10
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
10
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-95b9be89.js';
|
|
11
11
|
import './Api-391d00e2.js';
|
|
12
|
-
import './config-
|
|
12
|
+
import './config-187b3ae1.js';
|
|
13
13
|
import './Dispute-5fd28ec9.js';
|
|
14
14
|
import './parts-186d437f.js';
|
|
15
|
-
import './package-
|
|
15
|
+
import './package-223933b4.js';
|
|
16
16
|
|
|
17
17
|
const makeGetPaymentDetails = ({ id, authToken, service }) => async ({ onSuccess, onError }) => {
|
|
18
18
|
var _a;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-29fcfdf5.js';
|
|
2
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
2
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-95b9be89.js';
|
|
3
3
|
import { a as ComponentErrorCodes, C as ComponentErrorSeverity } from './ComponentError-3ce7f437.js';
|
|
4
4
|
import { m as makeGetBusiness, a as makePostProvisioning } from './payment-provisioning-actions-0635eff7.js';
|
|
5
|
-
import { B as BusinessService } from './business.service-
|
|
6
|
-
import { c as config } from './config-
|
|
5
|
+
import { B as BusinessService } from './business.service-182aea6f.js';
|
|
6
|
+
import { c as config } from './config-187b3ae1.js';
|
|
7
7
|
import { A as Api } from './Api-391d00e2.js';
|
|
8
|
-
import './package-
|
|
8
|
+
import './package-223933b4.js';
|
|
9
9
|
import './utils-b10dae27.js';
|
|
10
10
|
|
|
11
11
|
class ProvisionService {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-29fcfdf5.js';
|
|
2
|
-
import { P as PaymentService } from './payment.service-
|
|
2
|
+
import { P as PaymentService } from './payment.service-45f90e06.js';
|
|
3
3
|
import './Checkout-0b4086f8.js';
|
|
4
4
|
import './Pagination-afc8f96d.js';
|
|
5
5
|
import { P as Payment } from './Payment-4f72d277.js';
|
|
6
6
|
import './SubAccount-99a00594.js';
|
|
7
7
|
import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError-3ce7f437.js';
|
|
8
8
|
import { g as getErrorMessage, a as getErrorCode } from './utils-b10dae27.js';
|
|
9
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
10
|
-
import { c as config } from './config-
|
|
9
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-95b9be89.js';
|
|
10
|
+
import { c as config } from './config-187b3ae1.js';
|
|
11
11
|
import { S as StyledHost } from './styled-host-32228b45.js';
|
|
12
12
|
import { d as defaultColumnsKeys } from './payments-table-d6fbab5b.js';
|
|
13
13
|
import './Api-391d00e2.js';
|
|
14
14
|
import './Dispute-5fd28ec9.js';
|
|
15
|
-
import './package-
|
|
15
|
+
import './package-223933b4.js';
|
|
16
16
|
import './payments-status-a7c18f2a.js';
|
|
17
17
|
import './utils-54543523.js';
|
|
18
18
|
import './parts-186d437f.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-29fcfdf5.js';
|
|
2
|
-
import { m as makeGetPayoutCSV, P as PayoutService } from './get-payout-csv-
|
|
2
|
+
import { m as makeGetPayoutCSV, P as PayoutService } from './get-payout-csv-e6058aa7.js';
|
|
3
3
|
import './Checkout-0b4086f8.js';
|
|
4
4
|
import './Pagination-afc8f96d.js';
|
|
5
5
|
import './Payment-4f72d277.js';
|
|
@@ -7,12 +7,12 @@ import { P as Payout } from './SubAccount-99a00594.js';
|
|
|
7
7
|
import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError-3ce7f437.js';
|
|
8
8
|
import { g as getErrorMessage, a as getErrorCode } from './utils-b10dae27.js';
|
|
9
9
|
import { E as ErrorState } from './utils-d7633e66.js';
|
|
10
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
10
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-95b9be89.js';
|
|
11
11
|
import './Api-391d00e2.js';
|
|
12
|
-
import './config-
|
|
12
|
+
import './config-187b3ae1.js';
|
|
13
13
|
import './Dispute-5fd28ec9.js';
|
|
14
14
|
import './parts-186d437f.js';
|
|
15
|
-
import './package-
|
|
15
|
+
import './package-223933b4.js';
|
|
16
16
|
|
|
17
17
|
const makeGetPayoutDetails = ({ id, authToken, service }) => async ({ onSuccess, onError }) => {
|
|
18
18
|
var _a;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-29fcfdf5.js';
|
|
2
2
|
import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError-3ce7f437.js';
|
|
3
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
4
|
-
import { c as config } from './config-
|
|
5
|
-
import { m as makeGetPayoutCSV, P as PayoutService } from './get-payout-csv-
|
|
3
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-95b9be89.js';
|
|
4
|
+
import { c as config } from './config-187b3ae1.js';
|
|
5
|
+
import { m as makeGetPayoutCSV, P as PayoutService } from './get-payout-csv-e6058aa7.js';
|
|
6
6
|
import './Checkout-0b4086f8.js';
|
|
7
7
|
import './Pagination-afc8f96d.js';
|
|
8
8
|
import './Payment-4f72d277.js';
|
|
9
9
|
import { P as Payout } from './SubAccount-99a00594.js';
|
|
10
10
|
import { g as getErrorMessage, a as getErrorCode } from './utils-b10dae27.js';
|
|
11
|
-
import { m as makeGetSubAccounts, S as SubAccountService } from './get-subaccounts-
|
|
11
|
+
import { m as makeGetSubAccounts, S as SubAccountService } from './get-subaccounts-0b8af245.js';
|
|
12
12
|
import { S as StyledHost } from './styled-host-32228b45.js';
|
|
13
13
|
import { d as defaultColumnsKeys } from './payouts-table-2e61a116.js';
|
|
14
|
-
import './package-
|
|
14
|
+
import './package-223933b4.js';
|
|
15
15
|
import './Api-391d00e2.js';
|
|
16
16
|
import './Dispute-5fd28ec9.js';
|
|
17
17
|
import './utils-54543523.js';
|
|
@@ -5,7 +5,7 @@ import './Checkout-0b4086f8.js';
|
|
|
5
5
|
import './Pagination-afc8f96d.js';
|
|
6
6
|
import './Payment-4f72d277.js';
|
|
7
7
|
import './SubAccount-99a00594.js';
|
|
8
|
-
import { c as config } from './config-
|
|
8
|
+
import { c as config } from './config-187b3ae1.js';
|
|
9
9
|
import { C as CURRENCY_MASK } from './form-input-masks-0e18300f.js';
|
|
10
10
|
import { S as StyledHost } from './styled-host-32228b45.js';
|
|
11
11
|
import './Dispute-5fd28ec9.js';
|
|
@@ -4,12 +4,12 @@ import './Checkout-0b4086f8.js';
|
|
|
4
4
|
import './Pagination-afc8f96d.js';
|
|
5
5
|
import './Payment-4f72d277.js';
|
|
6
6
|
import './SubAccount-99a00594.js';
|
|
7
|
-
import { c as config } from './config-
|
|
7
|
+
import { c as config } from './config-187b3ae1.js';
|
|
8
8
|
import { g as getErrorMessage, a as getErrorCode } from './utils-b10dae27.js';
|
|
9
9
|
import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError-3ce7f437.js';
|
|
10
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
10
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-95b9be89.js';
|
|
11
11
|
import './Dispute-5fd28ec9.js';
|
|
12
|
-
import './package-
|
|
12
|
+
import './package-223933b4.js';
|
|
13
13
|
|
|
14
14
|
class InsuranceService {
|
|
15
15
|
async fetchQuote(authToken, payload) {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-29fcfdf5.js';
|
|
2
2
|
import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError-3ce7f437.js';
|
|
3
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
4
|
-
import { c as config } from './config-
|
|
3
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-95b9be89.js';
|
|
4
|
+
import { c as config } from './config-187b3ae1.js';
|
|
5
5
|
import { A as Api } from './Api-391d00e2.js';
|
|
6
6
|
import './Checkout-0b4086f8.js';
|
|
7
7
|
import './Pagination-afc8f96d.js';
|
|
8
8
|
import './Payment-4f72d277.js';
|
|
9
9
|
import { T as Terminal } from './SubAccount-99a00594.js';
|
|
10
10
|
import { g as getErrorMessage, a as getErrorCode } from './utils-b10dae27.js';
|
|
11
|
-
import { m as makeGetSubAccounts, S as SubAccountService } from './get-subaccounts-
|
|
11
|
+
import { m as makeGetSubAccounts, S as SubAccountService } from './get-subaccounts-0b8af245.js';
|
|
12
12
|
import { S as StyledHost } from './styled-host-32228b45.js';
|
|
13
13
|
import { d as defaultColumnsKeys } from './terminals-table-8e42977c.js';
|
|
14
|
-
import './package-
|
|
14
|
+
import './package-223933b4.js';
|
|
15
15
|
import './Dispute-5fd28ec9.js';
|
|
16
16
|
import './parts-186d437f.js';
|
|
17
17
|
|
|
@@ -2,10 +2,10 @@ import { r as registerInstance, c as createEvent, h } from './index-29fcfdf5.js'
|
|
|
2
2
|
import { B as Button } from './button-1886a33d.js';
|
|
3
3
|
import { S as StyledHost } from './styled-host-32228b45.js';
|
|
4
4
|
import { C as ComponentErrorSeverity } from './ComponentError-3ce7f437.js';
|
|
5
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
5
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-95b9be89.js';
|
|
6
6
|
import './parts-186d437f.js';
|
|
7
|
-
import './package-
|
|
8
|
-
import './config-
|
|
7
|
+
import './package-223933b4.js';
|
|
8
|
+
import './config-187b3ae1.js';
|
|
9
9
|
import './Api-391d00e2.js';
|
|
10
10
|
|
|
11
11
|
const TokenizePaymentMethod = class {
|
|
@@ -3,7 +3,7 @@ import './Checkout-0b4086f8.js';
|
|
|
3
3
|
import './Pagination-afc8f96d.js';
|
|
4
4
|
import './Payment-4f72d277.js';
|
|
5
5
|
import './SubAccount-99a00594.js';
|
|
6
|
-
import { c as config } from './config-
|
|
6
|
+
import { c as config } from './config-187b3ae1.js';
|
|
7
7
|
|
|
8
8
|
class PaymentService {
|
|
9
9
|
async fetchPayments(accountId, authToken, params, apiOrigin) {
|
|
@@ -15,7 +15,7 @@ const BankAccountForm = /*@__PURE__*/ proxyCustomElement(class BankAccountForm e
|
|
|
15
15
|
return this.accountNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
|
|
16
16
|
}
|
|
17
17
|
render() {
|
|
18
|
-
return (h(Host, { key: 'd0f0426565fedc6697eb46e6bc8d03d31eee9c37' }, h("div", { key: '6e792d5cba9421d7d106805d0e0e070ef5b116f9', class: "container-fluid p-0" }, h("div", { key: '89def9b854a7dc9a2e2fbb62d70bc6eaccfa6b0f', class: "row mb-3" }, h("iframe-input", { key: '2c0392ed840edb2364922c0d523f509ea84b3cd3', inputId: "accountNumber", ref: (el) => (this.accountNumberIframeElement = el), label: "Account Number", iframeOrigin: `${"https://components.justifi.ai/
|
|
18
|
+
return (h(Host, { key: 'd0f0426565fedc6697eb46e6bc8d03d31eee9c37' }, h("div", { key: '6e792d5cba9421d7d106805d0e0e070ef5b116f9', class: "container-fluid p-0" }, h("div", { key: '89def9b854a7dc9a2e2fbb62d70bc6eaccfa6b0f', class: "row mb-3" }, h("iframe-input", { key: '2c0392ed840edb2364922c0d523f509ea84b3cd3', inputId: "accountNumber", ref: (el) => (this.accountNumberIframeElement = el), label: "Account Number", iframeOrigin: `${"https://components.justifi.ai/v2"}/accountNumber` })), h("div", { key: '6dbe7911ab8693a4850a60e2d86f4539382a341c', class: "row" }, h("iframe-input", { key: '042153db083d7fa8f4e6d2c5704054fbcf6c1af1', inputId: "routingNumber", ref: (el) => (this.routingNumberIframeElement = el), label: "Routing Number", iframeOrigin: `${"https://components.justifi.ai/v2"}/routingNumber` })))));
|
|
19
19
|
}
|
|
20
20
|
}, [0, "bank-account-form", {
|
|
21
21
|
"validate": [64],
|
|
@@ -17,7 +17,7 @@ const CardForm = /*@__PURE__*/ proxyCustomElement(class CardForm extends HTMLEle
|
|
|
17
17
|
return this.cardNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
|
-
return (h(Host, { key: 'd667f365a95a2251fadffce158033ca8fcbc5723', class: "container-fluid p-0" }, h("div", { key: '43d8e15de893154c96b49ea1917046120daa8b2c', class: "mb-3" }, h("iframe-input", { key: 'c342a50a3194511edfbe6c1f1033bf47b743ddd6', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${"https://components.justifi.ai/
|
|
20
|
+
return (h(Host, { key: 'd667f365a95a2251fadffce158033ca8fcbc5723', class: "container-fluid p-0" }, h("div", { key: '43d8e15de893154c96b49ea1917046120daa8b2c', class: "mb-3" }, h("iframe-input", { key: 'c342a50a3194511edfbe6c1f1033bf47b743ddd6', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${"https://components.justifi.ai/v2"}/cardNumber` })), h("div", { key: '2fa70e85071ec6fe4525039de6215026795f71f4', class: "row" }, h("div", { key: 'e7dba59f040258e556664ccf84549edda8a1dd8d', class: "col-4 align-content-end" }, h("iframe-input", { key: '0c2c63ee318b0fc61ff704ffe02160aee252d281', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Expiration", iframeOrigin: `${"https://components.justifi.ai/v2"}/expirationMonth` })), h("div", { key: 'e211c9bc9cb15ea9571af7d965fcb1d6e4c5669d', class: "col-4 align-content-end" }, h("iframe-input", { key: 'd783cb0d28f1d08826e773efc14c2aa871905a83', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "", iframeOrigin: `${"https://components.justifi.ai/v2"}/expirationYear` })), h("div", { key: '83af611f578e7db1984713047708e725c9c1c7b5', class: "col-4 align-content-end" }, h("iframe-input", { key: '1f53fce0b7856b8591f6454a549e123fa408be5f', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${"https://components.justifi.ai/v2"}/CVV` })))));
|
|
21
21
|
}
|
|
22
22
|
}, [0, "card-form", {
|
|
23
23
|
"validate": [64],
|
package/dist/module/config.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const config = {
|
|
2
|
-
iframeOrigin: "https://components.justifi.ai/
|
|
2
|
+
iframeOrigin: "https://components.justifi.ai/v2",
|
|
3
3
|
proxyApiOrigin: "https://wc-proxy.justifi.ai",
|
|
4
4
|
proxyAuthToken: 'eyJraWQiOiJqdXN0aWZpLWUyNDgyMmU3ODE1MmEzZjRkMjU1IiwidHlwIjoiSldUIiwiYWxnIjoiUlMyNTYifQ.eyJpc3MiOiJodHRwczovL2F1dGguanVzdGlmaS5haS8iLCJhenAiOiJvYXNfMmlsWHBqOHQ2WVlEQ0xWU0FiVFczMiIsInN1YiI6Im9hc18yaWxYcGo4dDZZWURDTFZTQWJUVzMyQHNlc3Npb25zIiwiYXVkIjoiaHR0cHM6Ly9hcGkuanVzdGlmaS5haS92MSIsImd0eSI6ImNsaWVudC1jcmVkZW50aWFscyIsInBlcm1pc3Npb25zIjpbeyJyb2xlIjoicmVhZDphY2NvdW50IiwicmVzb3VyY2VfaWQiOiJhY2NfNUV0OWlYclNTQVpSMktTb3VRR0FXaSJ9LHsicm9sZSI6InJlYWQ6YnVzaW5lc3MiLCJyZXNvdXJjZV9pZCI6ImJpel8zYmg2OWJxMXJrM2RtWE5vQUtWb251In1dLCJleHAiOjE3MTE1NTk0MTQsImlhdCI6MTcwMzc4MzQxNCwicGxhdGZvcm1fYWNjb3VudF9pZCI6ImFjY18zcmVOYjRhTll5MmlXRFpRVmN6bXg0In0.oPOoDYxzrnpE8PRUaz-FCU4KqnSuNbFTeDkl3AtMscjUkIctP1OIFh-ZGBjbH5eVH5noXCbaiin0j92dS7jx4gLpxuYT2Q8gpZbuIsT7fa58elvGeRkUUJ-AC5ueZxlv90yPWMm0OIbyrV7XZhuwYyKbV-ZczEbl2JpvBMe40CM-LdClQV66d_-Kw9a23SabBVfYgP5V-5OsagOIESvzZoO-27tGlNkV2a-hxqddDCOZv0HvRYAtp5S7EQrmRdEBu5gCNbf1eRFG424hxZUFVr2LdetYuKQLxJjDdUjf86ZwEUecrEaDSupiN1VC3CitdOwBVf6-R_N0VpN4VLVD5g',
|
|
5
5
|
exampleAccountId: 'acc_5Et9iXrSSAZR2KSouQGAWi',
|
package/dist/module/package.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as s,c as i,h as t}from"./p-2783e363.js";import{c as e,F as a}from"./p-5844a0f0.js";import{b as f,a as o}from"./p-79b7c30d.js";import{a as c,i as r}from"./p-bb61c6e0.js";import{A as d}from"./p-0e180654.js";import"./p-16d2932d.js";import"./p-56f6ce4c.js";import"./p-6fbd6abb.js";import"./p-3db8b3c7.js";import{c as n}from"./p-
|
|
1
|
+
import{r as s,c as i,h as t}from"./p-2783e363.js";import{c as e,F as a}from"./p-5844a0f0.js";import{b as f,a as o}from"./p-79b7c30d.js";import{a as c,i as r}from"./p-bb61c6e0.js";import{A as d}from"./p-0e180654.js";import"./p-16d2932d.js";import"./p-56f6ce4c.js";import"./p-6fbd6abb.js";import"./p-3db8b3c7.js";import{c as n}from"./p-0f23ff58.js";import{B as b,a as h}from"./p-275f2154.js";import{c as p,J as m}from"./p-e7bb6520.js";import{B as l}from"./p-32a5bf4e.js";import{S as j}from"./p-bfe9748b.js";import{H as u}from"./p-b392ec21.js";import{B as y}from"./p-73f9be7c.js";import"./p-af834eb8.js";import"./p-6078a370.js";import"./p-0ea387a2.js";import"./p-abdbcd8e.js";import"./p-1ff8810b.js";import"./p-1e6077f4.js";import"./p-ef4c49b9.js";const k=e(Object.assign(Object.assign({},f().fields),{legal_address:c(),additional_questions:o(),representative:r("representative")})),v=class{constructor(t){s(this,t),this.submitEvent=i(this,"submit-event",7),this.clickEvent=i(this,"click-event",7),this.instantiateBusiness=s=>{const i=new b(s);this.formController.setInitialValues(Object.assign({},i))},this.sendData=async()=>{this.isLoading=!0;try{const s=this.formController.values.getValue(),i=this.formController.getInitialValues(),t=new b(Object.assign(Object.assign({},i),s)).payload,e=await this.api.patch(this.businessEndpoint,t);this.handleReponse(e)}catch(s){this.errorMessage=h.patchData}finally{this.isLoading=!1}},this.fetchData=async()=>{this.isLoading=!0;try{const s=await this.api.get(this.businessEndpoint);this.instantiateBusiness(s.data)}catch(s){this.errorMessage=h.fetchData}finally{this.isLoading=!1}},this.validateAndSubmit=s=>{s.preventDefault(),this.formController.validateAndSubmit(this.sendData)},this.authToken=void 0,this.businessId=void 0,this.hideErrors=!1,this.formTitle="Business Information",this.removeTitle=!1,this.isLoading=!1,this.errorMessage=void 0}componentWillLoad(){p(),this.analytics=new m(this),this.authToken||console.error("Warning: Missing auth-token. The form will not be functional without it."),this.businessId||console.error("Warning: Missing business-id. The form requires an existing business-id to function."),this.formController=new a(k),this.api=d({authToken:this.authToken,apiOrigin:n.proxyApiOrigin}),this.fetchData()}disconnectedCallback(){this.analytics.cleanup()}get title(){return this.removeTitle?"":this.formTitle}get disabledState(){return this.isLoading}get businessEndpoint(){return`entities/business/${this.businessId}`}handleReponse(s){s.error&&(this.errorMessage=h.patchData),this.submitEvent.emit({response:s}),this.instantiateBusiness(s.data)}render(){return t(j,{key:"583d9fda192de2a23255af3a66749bec30e82668"},t("form",{key:"6de44b1f63b18b7e47c377665878435134155d2a",onSubmit:this.validateAndSubmit},t("div",{key:"e83cf5471df4628461978deba6a6269f5a91dc58",class:"row gap-3"},t(u,{key:"228f8d97e1574c714de73884dd564aac2f58bc3c",text:this.title}),t("form-alert",{key:"e3fe0d57a7ee44f44273481c41b3699e1ccf05d1",text:this.errorMessage,hideAlert:this.hideErrors}),t("div",{key:"af3fc2e821a601d5046f230735ba52359f3f3710",class:"col-12 mb-4"},t("justifi-business-core-info",{key:"e27933c4dd6bfc3746d5071d7cdaec05c1795ec2",formController:this.formController})),t("div",{key:"4c11232954cfb171c0c249465637a3050645f36f",class:"col-12 mb-4"},t("justifi-legal-address-form",{key:"3d9f7b042822f4b898862a0c89c00fa281daff66",formController:this.formController})),t("div",{key:"f3b0209fc3cb1b0cd65692f0505ddfcc80a99d0a",class:"col-12 mb-4"},t("justifi-additional-questions",{key:"a9c0f77135d8ff2f2c2f2ffba6d288f1f1b60f61",formController:this.formController})),t("div",{key:"085df35d64de470c9f0198d52b698945759afe27",class:"col-12 mb-4"},t("justifi-business-representative",{key:"fdb24f037b26f9063d0d1f073d7effb6e3789f7f",formController:this.formController})),t("div",{key:"2b0617d9cd67d296de734c8becbea183555317e4",class:"col-12 d-flex flex-row-reverse"},t(l,{key:"7452cb606515807d9d2089330cf5861cd2dcdc1e",type:"submit",disabled:this.disabledState,variant:"primary",onClick:()=>this.clickEvent.emit({name:y.submit}),isLoading:this.isLoading},"Submit")))))}};export{v as justifi_business_form}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as i,h as s}from"./p-2783e363.js";import{C as e,a as r}from"./p-14c91ffd.js";import{c as o,J as a}from"./p-
|
|
1
|
+
import{r as t,c as i,h as s}from"./p-2783e363.js";import{C as e,a as r}from"./p-14c91ffd.js";import{c as o,J as a}from"./p-e7bb6520.js";import{a as p}from"./p-abdbcd8e.js";import{g as n,a as h}from"./p-8115b2f4.js";import{D as d}from"./p-441c1cf8.js";import{c}from"./p-0f23ff58.js";import"./p-1e6077f4.js";import"./p-0e180654.js";import"./p-16d2932d.js";import"./p-56f6ce4c.js";import"./p-6fbd6abb.js";import"./p-3db8b3c7.js";const m=class{constructor(s){t(this,s),this.errorEvent=i(this,"error-event",7),this.handleErrorEvent=t=>{this.errorMessage=t.detail.message,this.errorEvent.emit(t.detail)},this.disputeId=void 0,this.authToken=void 0,this.apiOrigin=c.proxyApiOrigin,this.getDispute=void 0,this.errorMessage=null}componentWillLoad(){o(),this.analytics=new a(this),this.initializeGetDispute()}disconnectedCallback(){this.analytics.cleanup()}propChanged(){this.initializeGetDispute()}initializeGetDispute(){this.disputeId&&this.authToken?this.getDispute=(({id:t,authToken:i,service:s,apiOrigin:r})=>async({onSuccess:o,onError:a})=>{var d;try{const c=await s.fetchDispute(t,i,r);if(c.error)return a({error:n(c.error),code:h(null===(d=c.error)||void 0===d?void 0:d.code),severity:e.ERROR});{const t=Object.assign({},c.page_info);o({dispute:new p(c.data),pagingInfo:t})}}catch(t){const i=h(null==t?void 0:t.code);return a({error:t.message||t,code:i,severity:e.ERROR})}})({id:this.disputeId,authToken:this.authToken,service:new d,apiOrigin:this.apiOrigin}):(this.errorMessage="Dispute ID and Auth Token are required",this.errorEvent.emit({message:this.errorMessage,errorCode:r.MISSING_PROPS,severity:e.ERROR}))}render(){return s("justifi-dispute-management-core",{key:"3e2a5b24484e8f1e198168910be7880732da3931",getDispute:this.getDispute,disputeId:this.disputeId,authToken:this.authToken,"onError-event":this.handleErrorEvent})}static get watchers(){return{disputeId:["propChanged"],authToken:["propChanged"]}}};export{m as justifi_dispute_management}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const i={iframeOrigin:"https://components.justifi.ai/
|
|
1
|
+
const i={iframeOrigin:"https://components.justifi.ai/v2",proxyApiOrigin:"https://wc-proxy.justifi.ai",proxyAuthToken:"eyJraWQiOiJqdXN0aWZpLWUyNDgyMmU3ODE1MmEzZjRkMjU1IiwidHlwIjoiSldUIiwiYWxnIjoiUlMyNTYifQ.eyJpc3MiOiJodHRwczovL2F1dGguanVzdGlmaS5haS8iLCJhenAiOiJvYXNfMmlsWHBqOHQ2WVlEQ0xWU0FiVFczMiIsInN1YiI6Im9hc18yaWxYcGo4dDZZWURDTFZTQWJUVzMyQHNlc3Npb25zIiwiYXVkIjoiaHR0cHM6Ly9hcGkuanVzdGlmaS5haS92MSIsImd0eSI6ImNsaWVudC1jcmVkZW50aWFscyIsInBlcm1pc3Npb25zIjpbeyJyb2xlIjoicmVhZDphY2NvdW50IiwicmVzb3VyY2VfaWQiOiJhY2NfNUV0OWlYclNTQVpSMktTb3VRR0FXaSJ9LHsicm9sZSI6InJlYWQ6YnVzaW5lc3MiLCJyZXNvdXJjZV9pZCI6ImJpel8zYmg2OWJxMXJrM2RtWE5vQUtWb251In1dLCJleHAiOjE3MTE1NTk0MTQsImlhdCI6MTcwMzc4MzQxNCwicGxhdGZvcm1fYWNjb3VudF9pZCI6ImFjY18zcmVOYjRhTll5MmlXRFpRVmN6bXg0In0.oPOoDYxzrnpE8PRUaz-FCU4KqnSuNbFTeDkl3AtMscjUkIctP1OIFh-ZGBjbH5eVH5noXCbaiin0j92dS7jx4gLpxuYT2Q8gpZbuIsT7fa58elvGeRkUUJ-AC5ueZxlv90yPWMm0OIbyrV7XZhuwYyKbV-ZczEbl2JpvBMe40CM-LdClQV66d_-Kw9a23SabBVfYgP5V-5OsagOIESvzZoO-27tGlNkV2a-hxqddDCOZv0HvRYAtp5S7EQrmRdEBu5gCNbf1eRFG424hxZUFVr2LdetYuKQLxJjDdUjf86ZwEUecrEaDSupiN1VC3CitdOwBVf6-R_N0VpN4VLVD5g",exampleAccountId:"acc_5Et9iXrSSAZR2KSouQGAWi",exampleBusinessId:"biz_3bh69bq1rk3dmXNoAKVonu",examplePaymentId:"py_1NNeEnf4FbelxDCQN2RHcE",examplePayoutId:"po_17745yESnHyEgWNeunmhmR",privateApiOrigin:"",privateAuthToken:""};export{i as c}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e={name:"@justifi/webcomponents",version:"5.0.0",description:"JustiFi Web Components",collection:"dist/collection/collection-manifest.json",main:"dist/index.cjs.js",module:"dist/module/index.js",types:"dist/module/index.d.ts",repository:{type:"git",url:"git+https://github.com/justifi-tech/web-component-library.git"},homepage:"https://storybook.justifi.ai/?path=/docs/introduction--docs",publishConfig:{registry:"https://registry.npmjs.org"},files:["dist/"],scripts:{build:"stencil build --docs",dev:"stencil build --watch",lint:"eslint . --max-warnings 0",clean:"rm -rf .turbo && rm -rf node_modules && rm -rf dist",generate:"stencil generate",test:"TZ=utc stencil test --spec","test:watch":"TZ=utc stencil test --spec --watchAll","test:file":"stencil test --spec --watch --"},dependencies:{"@popperjs/core":"^2.11.8","@stencil/core":"^4.0.5","@stencil/store":"^2.0.8",bootstrap:"^5.2.3","chart.js":"^4.4.1","date-fns":"^2.30.0","dinero.js":"^1.9.1","iframe-resizer":"^4.3.7",imask:"^7.6.0",lodash:"^4.17.21",rxjs:"^7.8.1","ts-dedent":"^2.2.0",uuid:"^9.0.0",yup:"^1.0.0"},devDependencies:{"@babel/preset-env":"^7.21.5","@babel/preset-react":"^7.18.6","@babel/preset-typescript":"^7.21.5","@rollup/plugin-replace":"^6.0.1","@stencil/sass":"^3.0.1","@types/jest":"27.0.3","@types/react":"^18.0.37","@types/react-dom":"^18.0.11",dotenv:"^16.3.1",jest:"^29.7.0","jest-cli":"^29.7.0","jest-environment-node":"^29.7.0","ts-jest":"^29.1.2"},license:"MIT",gitHead:"507bac1d941eae6e1f56e185ecd9bc9d22637783"};export{e as p}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as i,h as e}from"./p-2783e363.js";import{A as s}from"./p-0e180654.js";import"./p-16d2932d.js";import"./p-56f6ce4c.js";import"./p-6fbd6abb.js";import"./p-3db8b3c7.js";import{c as r}from"./p-
|
|
1
|
+
import{r as t,c as i,h as e}from"./p-2783e363.js";import{A as s}from"./p-0e180654.js";import"./p-16d2932d.js";import"./p-56f6ce4c.js";import"./p-6fbd6abb.js";import"./p-3db8b3c7.js";import{c as r}from"./p-0f23ff58.js";import{g as o,a}from"./p-8115b2f4.js";import{C as n,a as d}from"./p-14c91ffd.js";import{c,J as h}from"./p-e7bb6520.js";import"./p-abdbcd8e.js";import"./p-1e6077f4.js";class u{async fetchQuote(t,i){return s({authToken:t,apiOrigin:r.proxyApiOrigin}).post("insurance/quotes",i)}async toggleCoverage(t,i,e){const o=`insurance/quotes/${i}/toggle`;return s({authToken:t,apiOrigin:r.proxyApiOrigin}).post(o,e)}}const p=class{constructor(e){t(this,e),this.errorEvent=i(this,"error-event",7),this.authToken=void 0,this.checkoutId=void 0,this.primaryIdentityFirstName=void 0,this.primaryIdentityLastName=void 0,this.primaryIdentityState=void 0,this.primaryIdentityPostalCode=void 0,this.primaryIdentityCountry=void 0,this.primaryIdentityEmailAddress=void 0,this.policyAttributesInsurableAmount=void 0,this.policyAttributesStartDate=void 0,this.policyAttributesEndDate=void 0,this.coveredIdentityFirstName=void 0,this.coveredIdentityLastName=void 0,this.getQuote=void 0,this.toggleCoverage=void 0,this.quote=void 0}async validate(){return this.seasonInterruptionCoreRef.validate()}componentWillLoad(){c(),this.analytics=new h(this),this.initializeServiceMethods()}disconnectedCallback(){this.analytics.cleanup()}initializeServiceMethods(){this.authToken?(this.getQuote=(({authToken:t,service:i})=>async({payload:e,onSuccess:s,onError:r})=>{var d;try{const c=await i.fetchQuote(t,e);if(c.error)return r({error:o(c.error),code:a(null===(d=c.error)||void 0===d?void 0:d.code),severity:n.ERROR});s({quote:c.data})}catch(t){const i=a(null==t?void 0:t.code);return r({error:t.message||t,code:i,severity:n.ERROR})}})({authToken:this.authToken,service:new u}),this.toggleCoverage=(({authToken:t,service:i})=>async({quoteId:e,payload:s,onSuccess:r,onError:d})=>{var c;try{const h=await i.toggleCoverage(t,e,s);if(h.error)return d({error:o(h.error),code:a(null===(c=h.error)||void 0===c?void 0:c.code),severity:n.ERROR});r({quote:h.data})}catch(t){const i=a(null==t?void 0:t.code);return d({error:t.message||t,code:i,severity:n.ERROR})}})({authToken:this.authToken,service:new u})):this.errorEvent.emit({errorCode:d.MISSING_PROPS,message:"Missing authToken",severity:n.ERROR})}render(){return e("justifi-season-interruption-insurance-core",{key:"4a0e93d18f16971cee44cdc9d0b312ded7728274",ref:t=>this.seasonInterruptionCoreRef=t,"checkout-id":this.checkoutId,getQuote:this.getQuote,toggleCoverage:this.toggleCoverage,"primary-identity-first-name":this.primaryIdentityFirstName,"primary-identity-last-name":this.primaryIdentityLastName,"primary-identity-state":this.primaryIdentityState,"primary-identity-postal-code":this.primaryIdentityPostalCode,"primary-identity-country":this.primaryIdentityCountry,"primary-identity-email-address":this.primaryIdentityEmailAddress,"policy-attributes-insurable-amount":this.policyAttributesInsurableAmount,"policy-attributes-start-date":this.policyAttributesStartDate,"policy-attributes-end-date":this.policyAttributesEndDate,"covered-identity-first-name":this.coveredIdentityFirstName,"covered-identity-last-name":this.coveredIdentityLastName})}};export{p as justifi_season_interruption_insurance}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as s,c as i,h as t}from"./p-2783e363.js";import{c as e,J as o}from"./p-e7bb6520.js";import{a as r,C as n}from"./p-14c91ffd.js";import{m as a,a as h}from"./p-5968ff8a.js";import{B as p}from"./p-edb57087.js";import{c as d}from"./p-0f23ff58.js";import{A as c}from"./p-0e180654.js";import"./p-1e6077f4.js";import"./p-8115b2f4.js";class m{async postProvisioning(s,i,t){const e={business_id:i,product_category:t};return c({authToken:s,apiOrigin:d.proxyApiOrigin}).post("entities/provisioning",e)}}const u=class{constructor(t){s(this,t),this.errorEvent=i(this,"error-event",7),this.postProvisioning=void 0,this.getBusiness=void 0,this.businessId=void 0,this.authToken=void 0,this.allowOptionalFields=!1,this.formTitle="Business Information"}propChanged(){this.initializeApi()}componentWillLoad(){e(),this.analytics=new o(this),this.initializeApi()}disconnectedCallback(){this.analytics.cleanup()}initializeApi(){this.authToken&&this.businessId?(this.getBusiness=a({authToken:this.authToken,businessId:this.businessId,service:new p}),this.postProvisioning=h({authToken:this.authToken,businessId:this.businessId,product:"payment",service:new m})):this.errorEvent.emit({message:"auth-token and business-id are required",errorCode:r.MISSING_PROPS,severity:n.ERROR})}render(){return t("justifi-payment-provisioning-core",{key:"845a347f0aead4523515a3a6d34ce7a08cda278a",businessId:this.businessId,authToken:this.authToken,allowOptionalFields:this.allowOptionalFields,formTitle:this.formTitle,getBusiness:this.getBusiness,postProvisioning:this.postProvisioning})}static get watchers(){return{authToken:["propChanged"],businessId:["propChanged"]}}};export{u as justifi_payment_provisioning}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as s,c as t,h as i}from"./p-2783e363.js";import{P as e}from"./p-
|
|
1
|
+
import{r as s,c as t,h as i}from"./p-2783e363.js";import{P as e}from"./p-cc977850.js";import"./p-16d2932d.js";import"./p-56f6ce4c.js";import{P as r}from"./p-6fbd6abb.js";import"./p-3db8b3c7.js";import{C as o,a}from"./p-14c91ffd.js";import{g as p,a as c}from"./p-8115b2f4.js";import{c as n,J as h}from"./p-e7bb6520.js";import{c as m}from"./p-0f23ff58.js";import{S as d}from"./p-bfe9748b.js";import{d as f}from"./p-34c14f59.js";import"./p-0e180654.js";import"./p-abdbcd8e.js";import"./p-1e6077f4.js";import"./p-bb71cef3.js";import"./p-f4722957.js";import"./p-ef4c49b9.js";const j=class{constructor(i){s(this,i),this.errorEvent=t(this,"error-event",7),this.handleErrorEvent=s=>{this.errorMessage=s.detail.message,this.errorEvent.emit(s.detail)},this.getPayments=void 0,this.errorMessage=null,this.accountId=void 0,this.authToken=void 0,this.apiOrigin=m.proxyApiOrigin,this.columns=f}componentWillLoad(){n(),this.analytics=new h(this),this.initializeGetPayments()}disconnectedCallback(){this.analytics.cleanup()}propChanged(){this.initializeGetPayments()}initializeGetPayments(){this.accountId&&this.authToken?this.getPayments=(({id:s,authToken:t,service:i,apiOrigin:e})=>async({params:a,onSuccess:n,onError:h})=>{var m,d;try{const f=await i.fetchPayments(s,t,a,e);if(f.error)return h({error:p(f.error),code:c(null===(d=f.error)||void 0===d?void 0:d.code),severity:o.ERROR});{const s=Object.assign({},f.page_info);n({payments:(null===(m=f.data)||void 0===m?void 0:m.map((s=>new r(s))))||[],pagingInfo:s})}}catch(s){const t=c(null==s?void 0:s.code);return h({error:s.message||s,code:t,severity:o.ERROR})}})({id:this.accountId,authToken:this.authToken,service:new e,apiOrigin:this.apiOrigin}):(this.errorMessage="Account ID and Auth Token are required",this.errorEvent.emit({errorCode:a.MISSING_PROPS,message:this.errorMessage,severity:o.ERROR}))}render(){return i(d,{key:"35086c06a347cb7ee577366cd5674a2c50c4ffe5"},i("payments-list-core",{key:"bee1a7cf3e600a0060a62cf8151eea390dfd2cfa",getPayments:this.getPayments,"onError-event":this.handleErrorEvent,columns:this.columns}))}static get watchers(){return{accountId:["propChanged"],authToken:["propChanged"]}}};export{j as justifi_payments_list}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as s,h as i}from"./p-2783e363.js";import{C as e,a as o}from"./p-14c91ffd.js";import{c as r,J as a}from"./p-e7bb6520.js";import{c as n}from"./p-0f23ff58.js";import{m as p,P as h}from"./p-6ab77b89.js";import"./p-16d2932d.js";import"./p-56f6ce4c.js";import"./p-6fbd6abb.js";import{P as d}from"./p-3db8b3c7.js";import{g as c,a as b}from"./p-8115b2f4.js";import{m as l,S as m}from"./p-db8c12ee.js";import{S as u}from"./p-bfe9748b.js";import{d as f}from"./p-a3949f32.js";import"./p-1e6077f4.js";import"./p-0e180654.js";import"./p-abdbcd8e.js";import"./p-f4722957.js";import"./p-206fde40.js";import"./p-ef4c49b9.js";const g=class{constructor(i){t(this,i),this.errorEvent=s(this,"error-event",7),this.handleOnError=t=>{this.errorMessage=t.detail.message,this.errorEvent.emit(t.detail)},this.getPayouts=void 0,this.getPayoutCSV=void 0,this.getSubAccounts=void 0,this.errorMessage=null,this.accountId=void 0,this.authToken=void 0,this.apiOrigin=n.proxyApiOrigin,this.columns=f}componentWillLoad(){r(),this.analytics=new a(this),this.initializeGetData()}disconnectedCallback(){this.analytics.cleanup()}propChanged(){this.initializeGetData()}initializeGetData(){this.initializePayoutsServices(),this.initializeGetSubAccounts()}initializePayoutsServices(){if(this.accountId&&this.authToken){const t={id:this.accountId,authToken:this.authToken,service:new h,apiOrigin:this.apiOrigin};this.getPayouts=(({id:t,authToken:s,service:i,apiOrigin:o})=>async({params:r,onSuccess:a,onError:n})=>{var p,h;try{const l=await i.fetchPayouts(t,s,r,o);if(l.error)return n({error:c(l.error),code:b(null===(h=l.error)||void 0===h?void 0:h.code),severity:e.ERROR});{const t=Object.assign({},l.page_info);a({payouts:(null===(p=l.data)||void 0===p?void 0:p.map((t=>new d(t))))||[],pagingInfo:t})}}catch(t){const s=b(null==t?void 0:t.code);return n({error:t.message||t,code:s,severity:e.ERROR})}})(t),this.getPayoutCSV=p(t)}else this.errorMessage="Account ID and Auth Token are required",this.errorEvent.emit({errorCode:o.MISSING_PROPS,message:this.errorMessage,severity:e.ERROR})}initializeGetSubAccounts(){this.accountId&&this.authToken&&(this.getSubAccounts=l({accountId:this.accountId,authToken:this.authToken,service:new m,apiOrigin:this.apiOrigin}))}render(){return i(u,{key:"78316ffab976d4674ed157de643d0e579a503050",exportedparts:"\ntable-head,table-head-row,table-head-cell,table-body,table-row,table-row-even,\ntable-row-odd,table-cell,loading-state-cell,loading-state-spinner,error-state,\nempty-state,pagination-bar,page-arrow,page-button,page-button-disabled,page-button-text\n"},i("payouts-list-core",{key:"6d258120f1ab81723505f76db75f4d4289e072b4",getPayouts:this.getPayouts,getPayoutCSV:this.getPayoutCSV,getSubAccounts:this.getSubAccounts,"onError-event":this.handleOnError,columns:this.columns}))}static get watchers(){return{accountId:["propChanged"],authToken:["propChanged"]}}};export{g as justifi_payouts_list}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{A as s}from"./p-0e180654.js";import"./p-16d2932d.js";import"./p-56f6ce4c.js";import"./p-6fbd6abb.js";import"./p-3db8b3c7.js";import{c as e}from"./p-
|
|
1
|
+
import{A as s}from"./p-0e180654.js";import"./p-16d2932d.js";import"./p-56f6ce4c.js";import"./p-6fbd6abb.js";import"./p-3db8b3c7.js";import{c as e}from"./p-0f23ff58.js";class t{async fetchDispute(t,p){const i=`disputes/${t}`;return s({authToken:p,apiOrigin:e.proxyApiOrigin}).get(i)}async updateDisputeResponse(t,p,i){const n=`disputes/${t}/response`;return s({authToken:p,apiOrigin:e.proxyApiOrigin}).patch(n,i)}async submitDisputeResponse(t,p,i){const n=`disputes/${t}/response`;return s({authToken:p,apiOrigin:e.proxyApiOrigin}).post(n,i)}async createDisputeEvidence(t,p,i){const n=`disputes/${t}/evidence`;return s({authToken:p,apiOrigin:e.proxyApiOrigin}).put(n,i)}}export{t as D}
|