@justifi/webcomponents 5.3.3 → 5.3.4
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-f448aa27.js → Analytics-2fb20059.js} +2 -2
- package/dist/cjs/billing-form_3.cjs.entry.js +1 -1
- package/dist/cjs/{business.service-6b05ee96.js → business.service-776142b1.js} +7 -7
- package/dist/cjs/{check-pkg-version-d75dc147.js → check-pkg-version-f5a3d421.js} +1 -1
- package/dist/cjs/{checkout.service-aa037531.js → checkout.service-b23994d2.js} +3 -3
- package/dist/cjs/{dispute.service-27dcd7f4.js → dispute.service-c192dd33.js} +4 -4
- package/dist/cjs/{get-payout-csv-7646128d.js → get-payout-csv-13d68dab.js} +5 -5
- package/dist/cjs/{get-subaccounts-cc933b3e.js → get-subaccounts-b2e6ab82.js} +1 -1
- package/dist/cjs/justifi-additional-questions-form-step_9.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 +4 -4
- package/dist/cjs/justifi-checkout.cjs.entry.js +5 -5
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +6 -6
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +5 -5
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +5 -5
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +4 -4
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +4 -4
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +1 -1
- package/dist/cjs/justifi-payment-details.cjs.entry.js +4 -4
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +5 -5
- package/dist/cjs/justifi-payments-list.cjs.entry.js +5 -5
- package/dist/cjs/justifi-payout-details.cjs.entry.js +7 -5
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +6 -6
- package/dist/cjs/justifi-refund-form.cjs.entry.js +1 -1
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +5 -5
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +3 -3
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +7 -7
- package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +4 -4
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-a24ad889.js → package-e8aa0c51.js} +1 -1
- package/dist/cjs/{payment.service-65fbac72.js → payment.service-f53022c3.js} +2 -2
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/components/payout-details/get-payout-csv.js +2 -2
- package/dist/collection/components/payout-details/payout-details.js +21 -1
- package/dist/docs.json +23 -1
- package/dist/esm/{Analytics-c083a998.js → Analytics-759c7da5.js} +2 -2
- package/dist/esm/billing-form_3.entry.js +1 -1
- package/dist/esm/{business.service-98709b1e.js → business.service-f7c3b9f7.js} +7 -7
- package/dist/esm/{check-pkg-version-6d475fed.js → check-pkg-version-1d6e48c8.js} +1 -1
- package/dist/esm/{checkout.service-9330c18a.js → checkout.service-bb45d248.js} +3 -3
- package/dist/esm/{dispute.service-a14ac172.js → dispute.service-9008b3b7.js} +4 -4
- package/dist/esm/{get-payout-csv-87cc2147.js → get-payout-csv-8450b60d.js} +5 -5
- package/dist/esm/{get-subaccounts-26454771.js → get-subaccounts-3af0844a.js} +1 -1
- package/dist/esm/justifi-additional-questions-form-step_9.entry.js +2 -2
- package/dist/esm/justifi-business-details.entry.js +4 -4
- package/dist/esm/justifi-business-form.entry.js +4 -4
- package/dist/esm/justifi-checkout.entry.js +5 -5
- package/dist/esm/justifi-checkouts-list.entry.js +6 -6
- package/dist/esm/justifi-dispute-management.entry.js +5 -5
- package/dist/esm/justifi-dispute-notification_3.entry.js +5 -5
- package/dist/esm/justifi-gross-payment-chart.entry.js +4 -4
- package/dist/esm/justifi-order-terminals.entry.js +4 -4
- package/dist/esm/justifi-owner-form_3.entry.js +1 -1
- package/dist/esm/justifi-payment-details.entry.js +4 -4
- package/dist/esm/justifi-payment-provisioning.entry.js +5 -5
- package/dist/esm/justifi-payments-list.entry.js +5 -5
- package/dist/esm/justifi-payout-details.entry.js +7 -5
- package/dist/esm/justifi-payouts-list.entry.js +6 -6
- package/dist/esm/justifi-refund-form.entry.js +1 -1
- package/dist/esm/justifi-season-interruption-insurance.entry.js +5 -5
- package/dist/esm/justifi-terminal-orders-list.entry.js +3 -3
- package/dist/esm/justifi-terminals-list.entry.js +7 -7
- package/dist/esm/justifi-tokenize-payment-method.entry.js +4 -4
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-13968013.js → package-49477570.js} +1 -1
- package/dist/esm/{payment.service-35bbab8f.js → payment.service-a8ee345c.js} +2 -2
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/Analytics.js +1 -1
- package/dist/module/business-terms-conditions-form-step.js +1 -1
- package/dist/module/business.service.js +7 -7
- package/dist/module/checkout.service.js +3 -3
- package/dist/module/dispute-response-actions.js +4 -4
- package/dist/module/dispute-response.js +1 -1
- package/dist/module/get-payout-csv.js +5 -5
- package/dist/module/get-subaccounts.js +1 -1
- package/dist/module/justifi-business-form.js +1 -1
- package/dist/module/justifi-checkout.js +1 -1
- package/dist/module/justifi-checkouts-list.js +1 -1
- package/dist/module/justifi-dispute-management.js +1 -1
- package/dist/module/justifi-gross-payment-chart.js +1 -1
- package/dist/module/justifi-payment-provisioning.js +1 -1
- package/dist/module/justifi-payments-list.js +1 -1
- package/dist/module/justifi-payout-details.js +4 -1
- package/dist/module/justifi-payouts-list.js +1 -1
- package/dist/module/justifi-refund-form.js +1 -1
- package/dist/module/justifi-season-interruption-insurance.js +2 -2
- package/dist/module/justifi-terminal-orders-list.js +1 -1
- package/dist/module/justifi-terminals-list.js +3 -3
- package/dist/module/justifi-tokenize-payment-method.js +1 -1
- package/dist/module/package.js +1 -1
- package/dist/module/payment.service.js +2 -2
- package/dist/types/api/services/payout.service.d.ts +1 -1
- package/dist/types/components/payout-details/get-payout-csv.d.ts +2 -1
- package/dist/types/components/payout-details/payout-details.d.ts +1 -0
- package/dist/types/components.d.ts +2 -0
- package/dist/webcomponents/{p-69242bad.entry.js → p-08a17c5c.entry.js} +1 -1
- package/dist/webcomponents/p-0f4d851d.entry.js +1 -0
- package/dist/webcomponents/p-14f40baa.js +1 -0
- package/dist/webcomponents/{p-87a7c3aa.js → p-1aa22806.js} +1 -1
- package/dist/webcomponents/{p-7bf21156.js → p-29688e30.js} +1 -1
- package/dist/webcomponents/p-29fbbc93.js +1 -0
- package/dist/webcomponents/p-39a63e0c.entry.js +1 -0
- package/dist/webcomponents/{p-ea0f2446.entry.js → p-4fbdf440.entry.js} +1 -1
- package/dist/webcomponents/p-53b660a3.entry.js +1 -0
- package/dist/webcomponents/{p-cc552f59.entry.js → p-56697a12.entry.js} +1 -1
- package/dist/webcomponents/p-670296bf.entry.js +1 -0
- package/dist/webcomponents/p-75b7dfe7.entry.js +1 -0
- package/dist/webcomponents/p-7d2538d9.entry.js +1 -0
- package/dist/webcomponents/p-8548edd6.entry.js +1 -0
- package/dist/webcomponents/p-9055aa6e.entry.js +1 -0
- package/dist/webcomponents/p-9cbbe9cb.entry.js +1 -0
- package/dist/webcomponents/p-a6b66c88.entry.js +1 -0
- package/dist/webcomponents/p-acca56ec.entry.js +1 -0
- package/dist/webcomponents/{p-245819b0.entry.js → p-ae271c06.entry.js} +1 -1
- package/dist/webcomponents/p-af945fc0.entry.js +1 -0
- package/dist/webcomponents/p-b4ed5a2c.js +1 -0
- package/dist/webcomponents/{p-b1aa7d2b.entry.js → p-b57cfe54.entry.js} +1 -1
- package/dist/webcomponents/p-bfe339d5.js +1 -0
- package/dist/webcomponents/p-c2196cb8.entry.js +1 -0
- package/dist/webcomponents/p-d279545a.entry.js +1 -0
- package/dist/webcomponents/p-df2559c7.js +1 -0
- package/dist/webcomponents/p-dfebd7a4.js +1 -0
- package/dist/webcomponents/{p-15675401.entry.js → p-fa843aad.entry.js} +1 -1
- package/dist/webcomponents/p-fc3d2a9e.entry.js +1 -0
- package/dist/webcomponents/p-ff1f2d65.js +1 -0
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +1 -1
- package/dist/webcomponents/p-0c768ac5.entry.js +0 -1
- package/dist/webcomponents/p-0f0c5556.entry.js +0 -1
- package/dist/webcomponents/p-185181a8.js +0 -1
- package/dist/webcomponents/p-1906c67d.entry.js +0 -1
- package/dist/webcomponents/p-1a2eea29.entry.js +0 -1
- package/dist/webcomponents/p-26864218.entry.js +0 -1
- package/dist/webcomponents/p-309dc8aa.js +0 -1
- package/dist/webcomponents/p-32ca779f.js +0 -1
- package/dist/webcomponents/p-375b4d2c.entry.js +0 -1
- package/dist/webcomponents/p-3a7a2a64.entry.js +0 -1
- package/dist/webcomponents/p-3bb21097.entry.js +0 -1
- package/dist/webcomponents/p-45bf8573.js +0 -1
- package/dist/webcomponents/p-61b5417f.entry.js +0 -1
- package/dist/webcomponents/p-73b98298.entry.js +0 -1
- package/dist/webcomponents/p-8bedece0.entry.js +0 -1
- package/dist/webcomponents/p-95fbb4b0.entry.js +0 -1
- package/dist/webcomponents/p-b7084adc.js +0 -1
- package/dist/webcomponents/p-c78b5581.js +0 -1
- package/dist/webcomponents/p-cbb6cc19.js +0 -1
- package/dist/webcomponents/p-e15f749c.entry.js +0 -1
- package/dist/webcomponents/p-edae0bb0.entry.js +0 -1
- package/dist/webcomponents/p-f162c569.entry.js +0 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { p as packageJson } from './package-
|
|
1
|
+
import { p as packageJson } from './package-49477570.js';
|
|
2
2
|
import { A as Api } from './Api-391d00e2.js';
|
|
3
3
|
|
|
4
4
|
class AnalyticsService {
|
|
5
5
|
async record(body) {
|
|
6
6
|
const endpoint = 'analytics';
|
|
7
|
-
return Api({ apiOrigin:
|
|
7
|
+
return Api({ apiOrigin: "https://wc-proxy.justifi.ai" }).post(endpoint, body);
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@ import { u as identityNameValidation, l as lineOneValidation, k as lineTwoValida
|
|
|
4
4
|
import { S as StateOptions } from './state-options-a356fb11.js';
|
|
5
5
|
import { n as numberOnlyHandler } from './utils-20cdf321.js';
|
|
6
6
|
import { F as FormControlErrorText } from './form-control-error-text-74c6b38a.js';
|
|
7
|
-
import { p as packageJson } from './package-
|
|
7
|
+
import { p as packageJson } from './package-49477570.js';
|
|
8
8
|
import { a as iframeInputStyles } from './iframe-input-styles-state-ff730fe5.js';
|
|
9
9
|
import { i as inputInvalidAndFocused, b as inputInvalid, a as inputFocused, c as input, l as label } from './parts-489f0af6.js';
|
|
10
10
|
import './business-form-options-86a13078.js';
|
|
@@ -3,37 +3,37 @@ import { A as Api } from './Api-391d00e2.js';
|
|
|
3
3
|
class BusinessService {
|
|
4
4
|
async fetchBusiness(businessId, authToken) {
|
|
5
5
|
const endpoint = `entities/business/${businessId}`;
|
|
6
|
-
return Api({ authToken, apiOrigin:
|
|
6
|
+
return Api({ authToken, apiOrigin: "https://wc-proxy.justifi.ai" }).get(endpoint);
|
|
7
7
|
}
|
|
8
8
|
async patchBusiness(authToken, businessId, payload) {
|
|
9
9
|
const endpoint = `entities/business/${businessId}`;
|
|
10
|
-
return Api({ authToken, apiOrigin:
|
|
10
|
+
return Api({ authToken, apiOrigin: "https://wc-proxy.justifi.ai" }).patch(endpoint, payload);
|
|
11
11
|
}
|
|
12
12
|
}
|
|
13
13
|
class IdentityService {
|
|
14
14
|
async fetchIdentity(identityId, authToken) {
|
|
15
15
|
const endpoint = `entities/identity/${identityId}`;
|
|
16
|
-
return Api({ authToken, apiOrigin:
|
|
16
|
+
return Api({ authToken, apiOrigin: "https://wc-proxy.justifi.ai" }).get(endpoint);
|
|
17
17
|
}
|
|
18
18
|
async patchIdentity(authToken, identityId, payload) {
|
|
19
19
|
const endpoint = `entities/identity/${identityId}`;
|
|
20
|
-
return Api({ authToken, apiOrigin:
|
|
20
|
+
return Api({ authToken, apiOrigin: "https://wc-proxy.justifi.ai" }).patch(endpoint, payload);
|
|
21
21
|
}
|
|
22
22
|
async postIdentity(authToken, payload) {
|
|
23
23
|
const endpoint = `entities/identity`;
|
|
24
|
-
return Api({ authToken, apiOrigin:
|
|
24
|
+
return Api({ authToken, apiOrigin: "https://wc-proxy.justifi.ai" }).post(endpoint, payload);
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
class BusinessBankAccountService {
|
|
28
28
|
async postBankAccount(authToken, payload) {
|
|
29
29
|
const endpoint = `entities/bank_accounts`;
|
|
30
|
-
return Api({ authToken, apiOrigin:
|
|
30
|
+
return Api({ authToken, apiOrigin: "https://wc-proxy.justifi.ai" }).post(endpoint, payload);
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
class DocumentRecordService {
|
|
34
34
|
async postDocumentRecord(authToken, payload) {
|
|
35
35
|
const endpoint = `entities/document`;
|
|
36
|
-
return Api({ authToken, apiOrigin:
|
|
36
|
+
return Api({ authToken, apiOrigin: "https://wc-proxy.justifi.ai" }).post(endpoint, payload);
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
39
|
|
|
@@ -9,11 +9,11 @@ import './Document-1907c0d4.js';
|
|
|
9
9
|
class CheckoutService {
|
|
10
10
|
async fetchCheckout(authToken, checkoutId) {
|
|
11
11
|
const endpoint = `checkouts/${checkoutId}`;
|
|
12
|
-
return Api({ authToken, apiOrigin:
|
|
12
|
+
return Api({ authToken, apiOrigin: "https://wc-proxy.justifi.ai" }).get(endpoint);
|
|
13
13
|
}
|
|
14
14
|
async fetchCheckouts(accountId, authToken, params, apiOrigin) {
|
|
15
15
|
if (!apiOrigin) {
|
|
16
|
-
apiOrigin =
|
|
16
|
+
apiOrigin = "https://wc-proxy.justifi.ai";
|
|
17
17
|
}
|
|
18
18
|
const headers = { Account: accountId };
|
|
19
19
|
const api = Api({ authToken, apiOrigin: apiOrigin });
|
|
@@ -28,7 +28,7 @@ class CheckoutService {
|
|
|
28
28
|
if (payment.payment_token) {
|
|
29
29
|
payload.payment_token = payment.payment_token;
|
|
30
30
|
}
|
|
31
|
-
return Api({ authToken, apiOrigin:
|
|
31
|
+
return Api({ authToken, apiOrigin: "https://wc-proxy.justifi.ai" }).post(endpoint, payload);
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
|
|
@@ -9,19 +9,19 @@ import './Document-1907c0d4.js';
|
|
|
9
9
|
class DisputeService {
|
|
10
10
|
async fetchDispute(disputeId, authToken) {
|
|
11
11
|
const endpoint = `disputes/${disputeId}`;
|
|
12
|
-
return Api({ authToken, apiOrigin:
|
|
12
|
+
return Api({ authToken, apiOrigin: "https://wc-proxy.justifi.ai" }).get(endpoint);
|
|
13
13
|
}
|
|
14
14
|
async updateDisputeResponse(disputeId, authToken, payload) {
|
|
15
15
|
const endpoint = `disputes/${disputeId}/response`;
|
|
16
|
-
return Api({ authToken, apiOrigin:
|
|
16
|
+
return Api({ authToken, apiOrigin: "https://wc-proxy.justifi.ai" }).patch(endpoint, payload);
|
|
17
17
|
}
|
|
18
18
|
async submitDisputeResponse(disputeId, authToken, payload) {
|
|
19
19
|
const endpoint = `disputes/${disputeId}/response`;
|
|
20
|
-
return Api({ authToken, apiOrigin:
|
|
20
|
+
return Api({ authToken, apiOrigin: "https://wc-proxy.justifi.ai" }).post(endpoint, payload);
|
|
21
21
|
}
|
|
22
22
|
async createDisputeEvidence(disputeId, authToken, payload) {
|
|
23
23
|
const endpoint = `disputes/${disputeId}/evidence`;
|
|
24
|
-
return Api({ authToken, apiOrigin:
|
|
24
|
+
return Api({ authToken, apiOrigin: "https://wc-proxy.justifi.ai" }).put(endpoint, payload);
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
|
|
@@ -8,26 +8,26 @@ import './Document-1907c0d4.js';
|
|
|
8
8
|
import { g as getErrorMessage, a as getErrorCode } from './utils-fd99b806.js';
|
|
9
9
|
|
|
10
10
|
class PayoutService {
|
|
11
|
-
async fetchPayouts(accountId, authToken, params, apiOrigin =
|
|
11
|
+
async fetchPayouts(accountId, authToken, params, apiOrigin = "https://wc-proxy.justifi.ai") {
|
|
12
12
|
const api = Api({ authToken, apiOrigin });
|
|
13
13
|
const endpoint = `account/${accountId}/payouts`;
|
|
14
14
|
return api.get(endpoint, params);
|
|
15
15
|
}
|
|
16
|
-
async fetchPayout(payoutId, authToken, apiOrigin =
|
|
16
|
+
async fetchPayout(payoutId, authToken, apiOrigin = "https://wc-proxy.justifi.ai") {
|
|
17
17
|
const api = Api({ authToken, apiOrigin });
|
|
18
18
|
const endpoint = `payouts/${payoutId}`;
|
|
19
19
|
return api.get(endpoint);
|
|
20
20
|
}
|
|
21
|
-
async fetchCSV(payoutId, authToken, apiOrigin =
|
|
21
|
+
async fetchCSV(payoutId, authToken, apiOrigin = "https://wc-proxy.justifi.ai") {
|
|
22
22
|
const api = Api({ authToken, apiOrigin });
|
|
23
23
|
const endpoint = `reports/payouts/${payoutId}`;
|
|
24
24
|
return api.get(endpoint);
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
const makeGetPayoutCSV = ({ authToken, service }) => async ({ payoutId, onError }) => {
|
|
28
|
+
const makeGetPayoutCSV = ({ authToken, service, apiOrigin }) => async ({ payoutId, onError }) => {
|
|
29
29
|
try {
|
|
30
|
-
const { data } = await service.fetchCSV(payoutId, authToken);
|
|
30
|
+
const { data } = await service.fetchCSV(payoutId, authToken, apiOrigin);
|
|
31
31
|
const a = document.createElement('a');
|
|
32
32
|
a.href = data.csv_url;
|
|
33
33
|
a.click();
|
|
@@ -8,7 +8,7 @@ import './Document-1907c0d4.js';
|
|
|
8
8
|
import { g as getErrorMessage, a as getErrorCode } from './utils-fd99b806.js';
|
|
9
9
|
|
|
10
10
|
class SubAccountService {
|
|
11
|
-
async fetchSubAccounts(accountId, authToken, params, apiOrigin =
|
|
11
|
+
async fetchSubAccounts(accountId, authToken, params, apiOrigin = "https://wc-proxy.justifi.ai") {
|
|
12
12
|
const headers = { Account: accountId };
|
|
13
13
|
const api = Api({ authToken, apiOrigin: apiOrigin });
|
|
14
14
|
const endpoint = 'sub_accounts';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-29fcfdf5.js';
|
|
2
2
|
import { C as ComponentErrorCodes, a as ComponentErrorSeverity } from './ComponentError-c61dce41.js';
|
|
3
3
|
import { m as makeGetBusiness, b as makePatchBusiness, c as makePostBankAccount, d as makePostDocumentRecord } from './payment-provisioning-actions-beadac34.js';
|
|
4
|
-
import { B as BusinessService, a as BusinessBankAccountService, D as DocumentRecordService } from './business.service-
|
|
4
|
+
import { B as BusinessService, a as BusinessBankAccountService, D as DocumentRecordService } from './business.service-f7c3b9f7.js';
|
|
5
5
|
import './Checkout-919eb1ba.js';
|
|
6
6
|
import './Pagination-afc8f96d.js';
|
|
7
7
|
import './Payment-82d2f453.js';
|
|
@@ -354,7 +354,7 @@ const BusinessTermsConditionsFormStep = class {
|
|
|
354
354
|
};
|
|
355
355
|
}
|
|
356
356
|
async componentWillLoad() {
|
|
357
|
-
this.api = Api({ authToken: this.authToken, apiOrigin:
|
|
357
|
+
this.api = Api({ authToken: this.authToken, apiOrigin: "https://wc-proxy.justifi.ai" });
|
|
358
358
|
this.formController = new FormController(businessTermsConditionsSchema(this.allowOptionalFields));
|
|
359
359
|
if (this.businessId && this.authToken) {
|
|
360
360
|
this.fetchData();
|
|
@@ -1,17 +1,17 @@
|
|
|
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-6c26bccc.js';
|
|
3
|
-
import { B as BusinessService } from './business.service-
|
|
3
|
+
import { B as BusinessService } from './business.service-f7c3b9f7.js';
|
|
4
4
|
import { m as makeGetBusiness } from './get-business-464419f6.js';
|
|
5
5
|
import { C as ComponentErrorCodes, a as ComponentErrorSeverity } from './ComponentError-c61dce41.js';
|
|
6
|
-
import { J as JustifiAnalytics } from './Analytics-
|
|
7
|
-
import { c as checkPkgVersion } from './check-pkg-version-
|
|
6
|
+
import { J as JustifiAnalytics } from './Analytics-759c7da5.js';
|
|
7
|
+
import { c as checkPkgVersion } from './check-pkg-version-1d6e48c8.js';
|
|
8
8
|
import './parts-489f0af6.js';
|
|
9
9
|
import './Api-391d00e2.js';
|
|
10
10
|
import './Business-0855931c.js';
|
|
11
11
|
import './helpers-96ea3464.js';
|
|
12
12
|
import './state-options-a356fb11.js';
|
|
13
13
|
import './utils-fd99b806.js';
|
|
14
|
-
import './package-
|
|
14
|
+
import './package-49477570.js';
|
|
15
15
|
|
|
16
16
|
const BusinessDetails = class {
|
|
17
17
|
constructor(hostRef) {
|
|
@@ -10,11 +10,11 @@ import './Payment-82d2f453.js';
|
|
|
10
10
|
import './SubAccount-9aad3891.js';
|
|
11
11
|
import './Document-1907c0d4.js';
|
|
12
12
|
import { B as Business, a as BusinessFormServerErrors } from './Business-0855931c.js';
|
|
13
|
-
import { J as JustifiAnalytics } from './Analytics-
|
|
13
|
+
import { J as JustifiAnalytics } from './Analytics-759c7da5.js';
|
|
14
14
|
import { B as Button } from './button-cc455199.js';
|
|
15
15
|
import { S as StyledHost } from './styled-host-32228b45.js';
|
|
16
16
|
import { H as Header1 } from './header-1-797ca789.js';
|
|
17
|
-
import { c as checkPkgVersion } from './check-pkg-version-
|
|
17
|
+
import { c as checkPkgVersion } from './check-pkg-version-1d6e48c8.js';
|
|
18
18
|
import { S as Skeleton } from './skeleton-74fbfb68.js';
|
|
19
19
|
import { B as BusinessFormClickActions } from './event-types-5c87de02.js';
|
|
20
20
|
import './schema-validations-b1aec6a0.js';
|
|
@@ -23,7 +23,7 @@ import './business-form-options-86a13078.js';
|
|
|
23
23
|
import './utils-c37124fc.js';
|
|
24
24
|
import './Dispute-5fd28ec9.js';
|
|
25
25
|
import './helpers-96ea3464.js';
|
|
26
|
-
import './package-
|
|
26
|
+
import './package-49477570.js';
|
|
27
27
|
import './parts-489f0af6.js';
|
|
28
28
|
|
|
29
29
|
const businessFormSchema = create$3(Object.assign(Object.assign({}, businessCoreInfoSchema().fields), { legal_address: addressSchema(), additional_questions: additionalQuestionsSchema(), representative: identitySchema('representative') }));
|
|
@@ -109,7 +109,7 @@ const BusinessForm = class {
|
|
|
109
109
|
if (!this.businessId)
|
|
110
110
|
console.error(missingBusinessIdMessage);
|
|
111
111
|
this.formController = new FormController(businessFormSchema);
|
|
112
|
-
this.api = Api({ authToken: this.authToken, apiOrigin:
|
|
112
|
+
this.api = Api({ authToken: this.authToken, apiOrigin: "https://wc-proxy.justifi.ai" });
|
|
113
113
|
this.fetchData();
|
|
114
114
|
}
|
|
115
115
|
disconnectedCallback() {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-29fcfdf5.js';
|
|
2
2
|
import { a as ComponentErrorSeverity, C as ComponentErrorCodes } from './ComponentError-c61dce41.js';
|
|
3
3
|
import { g as getErrorMessage, a as getErrorCode } from './utils-fd99b806.js';
|
|
4
|
-
import { C as CheckoutService } from './checkout.service-
|
|
5
|
-
import { J as JustifiAnalytics } from './Analytics-
|
|
6
|
-
import { c as checkPkgVersion } from './check-pkg-version-
|
|
4
|
+
import { C as CheckoutService } from './checkout.service-bb45d248.js';
|
|
5
|
+
import { J as JustifiAnalytics } from './Analytics-759c7da5.js';
|
|
6
|
+
import { c as checkPkgVersion } from './check-pkg-version-1d6e48c8.js';
|
|
7
7
|
import './Api-391d00e2.js';
|
|
8
8
|
import './Checkout-919eb1ba.js';
|
|
9
9
|
import './utils-c37124fc.js';
|
|
@@ -12,7 +12,7 @@ import './Payment-82d2f453.js';
|
|
|
12
12
|
import './Dispute-5fd28ec9.js';
|
|
13
13
|
import './SubAccount-9aad3891.js';
|
|
14
14
|
import './Document-1907c0d4.js';
|
|
15
|
-
import './package-
|
|
15
|
+
import './package-49477570.js';
|
|
16
16
|
|
|
17
17
|
const makeGetCheckout = ({ authToken, checkoutId, service }) => async ({ onSuccess, onError }) => {
|
|
18
18
|
var _a;
|
|
@@ -80,7 +80,7 @@ const Checkout = class {
|
|
|
80
80
|
this.disableBnpl = undefined;
|
|
81
81
|
this.disablePaymentMethodGroup = undefined;
|
|
82
82
|
this.hideCardBillingForm = undefined;
|
|
83
|
-
this.iframeOrigin =
|
|
83
|
+
this.iframeOrigin = "https://components.justifi.ai/v2";
|
|
84
84
|
this.getCheckout = undefined;
|
|
85
85
|
this.complete = undefined;
|
|
86
86
|
this.errorMessage = '';
|
|
@@ -6,15 +6,15 @@ import './Payment-82d2f453.js';
|
|
|
6
6
|
import './SubAccount-9aad3891.js';
|
|
7
7
|
import './Document-1907c0d4.js';
|
|
8
8
|
import { g as getErrorMessage, a as getErrorCode } from './utils-fd99b806.js';
|
|
9
|
-
import { c as checkPkgVersion } from './check-pkg-version-
|
|
10
|
-
import { J as JustifiAnalytics } from './Analytics-
|
|
11
|
-
import { C as CheckoutService } from './checkout.service-
|
|
12
|
-
import { m as makeGetSubAccounts, S as SubAccountService } from './get-subaccounts-
|
|
9
|
+
import { c as checkPkgVersion } from './check-pkg-version-1d6e48c8.js';
|
|
10
|
+
import { J as JustifiAnalytics } from './Analytics-759c7da5.js';
|
|
11
|
+
import { C as CheckoutService } from './checkout.service-bb45d248.js';
|
|
12
|
+
import { m as makeGetSubAccounts, S as SubAccountService } from './get-subaccounts-3af0844a.js';
|
|
13
13
|
import { S as StyledHost } from './styled-host-32228b45.js';
|
|
14
14
|
import { d as defaultColumnsKeys } from './checkouts-table-53981285.js';
|
|
15
15
|
import './utils-c37124fc.js';
|
|
16
16
|
import './Dispute-5fd28ec9.js';
|
|
17
|
-
import './package-
|
|
17
|
+
import './package-49477570.js';
|
|
18
18
|
import './Api-391d00e2.js';
|
|
19
19
|
import './badge-2eb79416.js';
|
|
20
20
|
import './parts-489f0af6.js';
|
|
@@ -61,7 +61,7 @@ const CheckoutsList = class {
|
|
|
61
61
|
this.errorMessage = null;
|
|
62
62
|
this.accountId = undefined;
|
|
63
63
|
this.authToken = undefined;
|
|
64
|
-
this.apiOrigin =
|
|
64
|
+
this.apiOrigin = "https://wc-proxy.justifi.ai";
|
|
65
65
|
this.columns = defaultColumnsKeys;
|
|
66
66
|
}
|
|
67
67
|
componentWillLoad() {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-29fcfdf5.js';
|
|
2
2
|
import { a as ComponentErrorSeverity, C as ComponentErrorCodes } from './ComponentError-c61dce41.js';
|
|
3
|
-
import { J as JustifiAnalytics } from './Analytics-
|
|
4
|
-
import { c as checkPkgVersion } from './check-pkg-version-
|
|
3
|
+
import { J as JustifiAnalytics } from './Analytics-759c7da5.js';
|
|
4
|
+
import { c as checkPkgVersion } from './check-pkg-version-1d6e48c8.js';
|
|
5
5
|
import { a as Dispute } from './Dispute-5fd28ec9.js';
|
|
6
6
|
import { g as getErrorMessage, a as getErrorCode } from './utils-fd99b806.js';
|
|
7
|
-
import { D as DisputeService } from './dispute.service-
|
|
8
|
-
import './package-
|
|
7
|
+
import { D as DisputeService } from './dispute.service-9008b3b7.js';
|
|
8
|
+
import './package-49477570.js';
|
|
9
9
|
import './Api-391d00e2.js';
|
|
10
10
|
import './Checkout-919eb1ba.js';
|
|
11
11
|
import './utils-c37124fc.js';
|
|
@@ -53,7 +53,7 @@ const DisputeManagement = class {
|
|
|
53
53
|
};
|
|
54
54
|
this.disputeId = undefined;
|
|
55
55
|
this.authToken = undefined;
|
|
56
|
-
this.apiOrigin =
|
|
56
|
+
this.apiOrigin = "https://wc-proxy.justifi.ai";
|
|
57
57
|
this.getDispute = undefined;
|
|
58
58
|
this.errorMessage = null;
|
|
59
59
|
}
|
|
@@ -6,10 +6,10 @@ import { S as StyledHost } from './styled-host-32228b45.js';
|
|
|
6
6
|
import { S as Skeleton } from './skeleton-74fbfb68.js';
|
|
7
7
|
import { a as ComponentErrorSeverity, C as ComponentErrorCodes } from './ComponentError-c61dce41.js';
|
|
8
8
|
import { g as getErrorMessage, a as getErrorCode } from './utils-fd99b806.js';
|
|
9
|
-
import { D as DisputeService } from './dispute.service-
|
|
9
|
+
import { D as DisputeService } from './dispute.service-9008b3b7.js';
|
|
10
10
|
import { D as DisputeManagementClickActions } from './event-types-07cdb9a0.js';
|
|
11
|
-
import { c as checkPkgVersion } from './check-pkg-version-
|
|
12
|
-
import { J as JustifiAnalytics } from './Analytics-
|
|
11
|
+
import { c as checkPkgVersion } from './check-pkg-version-1d6e48c8.js';
|
|
12
|
+
import { J as JustifiAnalytics } from './Analytics-759c7da5.js';
|
|
13
13
|
import './Api-391d00e2.js';
|
|
14
14
|
import './Checkout-919eb1ba.js';
|
|
15
15
|
import './Pagination-afc8f96d.js';
|
|
@@ -17,7 +17,7 @@ import './Payment-82d2f453.js';
|
|
|
17
17
|
import './Dispute-5fd28ec9.js';
|
|
18
18
|
import './SubAccount-9aad3891.js';
|
|
19
19
|
import './Document-1907c0d4.js';
|
|
20
|
-
import './package-
|
|
20
|
+
import './package-49477570.js';
|
|
21
21
|
|
|
22
22
|
const makeUpdateDisputeResponse = ({ authToken, disputeId, service }) => async ({ payload, onSuccess, onError, final = () => { } }) => {
|
|
23
23
|
var _a;
|
|
@@ -160,7 +160,7 @@ const DisputeResponse = class {
|
|
|
160
160
|
this.authToken = undefined;
|
|
161
161
|
this.disputeId = undefined;
|
|
162
162
|
this.disputeResponse = undefined;
|
|
163
|
-
this.apiOrigin =
|
|
163
|
+
this.apiOrigin = "https://wc-proxy.justifi.ai";
|
|
164
164
|
}
|
|
165
165
|
componentWillLoad() {
|
|
166
166
|
checkPkgVersion();
|
|
@@ -3,14 +3,14 @@ import { A as Api } from './Api-391d00e2.js';
|
|
|
3
3
|
import { a as ComponentErrorSeverity, C as ComponentErrorCodes } from './ComponentError-c61dce41.js';
|
|
4
4
|
import { g as getErrorMessage, a as getErrorCode } from './utils-fd99b806.js';
|
|
5
5
|
import { E as ErrorState } from './utils-6c26bccc.js';
|
|
6
|
-
import { J as JustifiAnalytics } from './Analytics-
|
|
7
|
-
import { c as checkPkgVersion } from './check-pkg-version-
|
|
6
|
+
import { J as JustifiAnalytics } from './Analytics-759c7da5.js';
|
|
7
|
+
import { c as checkPkgVersion } from './check-pkg-version-1d6e48c8.js';
|
|
8
8
|
import './parts-489f0af6.js';
|
|
9
|
-
import './package-
|
|
9
|
+
import './package-49477570.js';
|
|
10
10
|
|
|
11
11
|
class ReportsService {
|
|
12
12
|
async fetchGrossVolumeChartData(accountId, authToken) {
|
|
13
|
-
const api = Api({ authToken: authToken, apiOrigin:
|
|
13
|
+
const api = Api({ authToken: authToken, apiOrigin: "https://wc-proxy.justifi.ai" });
|
|
14
14
|
const endpoint = `account/${accountId}/reports/gross_volume`;
|
|
15
15
|
return api.get(endpoint);
|
|
16
16
|
}
|
|
@@ -2,14 +2,14 @@ import { h, r as registerInstance, c as createEvent } from './index-29fcfdf5.js'
|
|
|
2
2
|
import { t as text, B as heading4, C as listGroup, D as listGroupItem } from './parts-489f0af6.js';
|
|
3
3
|
import { S as StyledHost } from './styled-host-32228b45.js';
|
|
4
4
|
import { E as ErrorState } from './utils-6c26bccc.js';
|
|
5
|
-
import { c as checkPkgVersion } from './check-pkg-version-
|
|
6
|
-
import { J as JustifiAnalytics } from './Analytics-
|
|
5
|
+
import { c as checkPkgVersion } from './check-pkg-version-1d6e48c8.js';
|
|
6
|
+
import { J as JustifiAnalytics } from './Analytics-759c7da5.js';
|
|
7
7
|
import { C as ComponentErrorCodes, a as ComponentErrorSeverity } from './ComponentError-c61dce41.js';
|
|
8
|
-
import { B as BusinessService } from './business.service-
|
|
8
|
+
import { B as BusinessService } from './business.service-f7c3b9f7.js';
|
|
9
9
|
import { B as Business } from './Business-0855931c.js';
|
|
10
10
|
import { m as makeGetBusiness } from './get-business-464419f6.js';
|
|
11
11
|
import { S as Skeleton } from './skeleton-74fbfb68.js';
|
|
12
|
-
import './package-
|
|
12
|
+
import './package-49477570.js';
|
|
13
13
|
import './Api-391d00e2.js';
|
|
14
14
|
import './helpers-96ea3464.js';
|
|
15
15
|
import './state-options-a356fb11.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-29fcfdf5.js';
|
|
2
2
|
import { e as makeGetIdentity, f as makePatchIdentity, g as makePostIdentity } from './payment-provisioning-actions-beadac34.js';
|
|
3
|
-
import { I as IdentityService } from './business.service-
|
|
3
|
+
import { I as IdentityService } from './business.service-f7c3b9f7.js';
|
|
4
4
|
import { F as FormController } from './index.esm-0b6849c2.js';
|
|
5
5
|
import { O as Owner } from './Business-0855931c.js';
|
|
6
6
|
import { i as identitySchema } from './business-identity-schema-0a78fc59.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-a8ee345c.js';
|
|
3
3
|
import { a as ComponentErrorSeverity, C as ComponentErrorCodes } from './ComponentError-c61dce41.js';
|
|
4
4
|
import './Checkout-919eb1ba.js';
|
|
5
5
|
import './Pagination-afc8f96d.js';
|
|
@@ -8,13 +8,13 @@ import './SubAccount-9aad3891.js';
|
|
|
8
8
|
import './Document-1907c0d4.js';
|
|
9
9
|
import { g as getErrorMessage, a as getErrorCode } from './utils-fd99b806.js';
|
|
10
10
|
import { E as ErrorState } from './utils-6c26bccc.js';
|
|
11
|
-
import { J as JustifiAnalytics } from './Analytics-
|
|
12
|
-
import { c as checkPkgVersion } from './check-pkg-version-
|
|
11
|
+
import { J as JustifiAnalytics } from './Analytics-759c7da5.js';
|
|
12
|
+
import { c as checkPkgVersion } from './check-pkg-version-1d6e48c8.js';
|
|
13
13
|
import './Api-391d00e2.js';
|
|
14
14
|
import './utils-c37124fc.js';
|
|
15
15
|
import './Dispute-5fd28ec9.js';
|
|
16
16
|
import './parts-489f0af6.js';
|
|
17
|
-
import './package-
|
|
17
|
+
import './package-49477570.js';
|
|
18
18
|
|
|
19
19
|
const makeGetPaymentDetails = ({ id, authToken, service }) => async ({ onSuccess, onError }) => {
|
|
20
20
|
var _a;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-29fcfdf5.js';
|
|
2
|
-
import { J as JustifiAnalytics } from './Analytics-
|
|
2
|
+
import { J as JustifiAnalytics } from './Analytics-759c7da5.js';
|
|
3
3
|
import { C as ComponentErrorCodes, a as ComponentErrorSeverity } from './ComponentError-c61dce41.js';
|
|
4
4
|
import { m as makeGetBusiness, a as makePostProvisioning } from './payment-provisioning-actions-beadac34.js';
|
|
5
|
-
import { B as BusinessService } from './business.service-
|
|
5
|
+
import { B as BusinessService } from './business.service-f7c3b9f7.js';
|
|
6
6
|
import { A as Api } from './Api-391d00e2.js';
|
|
7
|
-
import { c as checkPkgVersion } from './check-pkg-version-
|
|
8
|
-
import './package-
|
|
7
|
+
import { c as checkPkgVersion } from './check-pkg-version-1d6e48c8.js';
|
|
8
|
+
import './package-49477570.js';
|
|
9
9
|
import './utils-fd99b806.js';
|
|
10
10
|
|
|
11
11
|
class ProvisionService {
|
|
@@ -15,7 +15,7 @@ class ProvisionService {
|
|
|
15
15
|
business_id: businessId,
|
|
16
16
|
product_category: product,
|
|
17
17
|
};
|
|
18
|
-
return Api({ authToken, apiOrigin:
|
|
18
|
+
return Api({ authToken, apiOrigin: "https://wc-proxy.justifi.ai" }).post(endpoint, payload);
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
|
|
@@ -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-a8ee345c.js';
|
|
3
3
|
import { a as ComponentErrorSeverity, C as ComponentErrorCodes } from './ComponentError-c61dce41.js';
|
|
4
4
|
import './Checkout-919eb1ba.js';
|
|
5
5
|
import './Pagination-afc8f96d.js';
|
|
@@ -7,14 +7,14 @@ import { P as Payment } from './Payment-82d2f453.js';
|
|
|
7
7
|
import './SubAccount-9aad3891.js';
|
|
8
8
|
import './Document-1907c0d4.js';
|
|
9
9
|
import { g as getErrorMessage, a as getErrorCode } from './utils-fd99b806.js';
|
|
10
|
-
import { J as JustifiAnalytics } from './Analytics-
|
|
11
|
-
import { c as checkPkgVersion } from './check-pkg-version-
|
|
10
|
+
import { J as JustifiAnalytics } from './Analytics-759c7da5.js';
|
|
11
|
+
import { c as checkPkgVersion } from './check-pkg-version-1d6e48c8.js';
|
|
12
12
|
import { S as StyledHost } from './styled-host-32228b45.js';
|
|
13
13
|
import { d as defaultColumnsKeys } from './payments-table-6e97396a.js';
|
|
14
14
|
import './Api-391d00e2.js';
|
|
15
15
|
import './utils-c37124fc.js';
|
|
16
16
|
import './Dispute-5fd28ec9.js';
|
|
17
|
-
import './package-
|
|
17
|
+
import './package-49477570.js';
|
|
18
18
|
import './payments-status-35255b2c.js';
|
|
19
19
|
import './badge-2eb79416.js';
|
|
20
20
|
import './parts-489f0af6.js';
|
|
@@ -63,7 +63,7 @@ const PaymentsList = class {
|
|
|
63
63
|
this.errorMessage = null;
|
|
64
64
|
this.accountId = undefined;
|
|
65
65
|
this.authToken = undefined;
|
|
66
|
-
this.apiOrigin =
|
|
66
|
+
this.apiOrigin = "https://wc-proxy.justifi.ai";
|
|
67
67
|
this.columns = defaultColumnsKeys;
|
|
68
68
|
}
|
|
69
69
|
componentWillLoad() {
|
|
@@ -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-8450b60d.js';
|
|
3
3
|
import { a as ComponentErrorSeverity, C as ComponentErrorCodes } from './ComponentError-c61dce41.js';
|
|
4
4
|
import './Checkout-919eb1ba.js';
|
|
5
5
|
import './Pagination-afc8f96d.js';
|
|
@@ -8,13 +8,13 @@ import { P as Payout } from './SubAccount-9aad3891.js';
|
|
|
8
8
|
import './Document-1907c0d4.js';
|
|
9
9
|
import { g as getErrorMessage, a as getErrorCode } from './utils-fd99b806.js';
|
|
10
10
|
import { E as ErrorState } from './utils-6c26bccc.js';
|
|
11
|
-
import { J as JustifiAnalytics } from './Analytics-
|
|
12
|
-
import { c as checkPkgVersion } from './check-pkg-version-
|
|
11
|
+
import { J as JustifiAnalytics } from './Analytics-759c7da5.js';
|
|
12
|
+
import { c as checkPkgVersion } from './check-pkg-version-1d6e48c8.js';
|
|
13
13
|
import './Api-391d00e2.js';
|
|
14
14
|
import './utils-c37124fc.js';
|
|
15
15
|
import './Dispute-5fd28ec9.js';
|
|
16
16
|
import './parts-489f0af6.js';
|
|
17
|
-
import './package-
|
|
17
|
+
import './package-49477570.js';
|
|
18
18
|
|
|
19
19
|
const makeGetPayoutDetails = ({ id, authToken, service }) => async ({ onSuccess, onError }) => {
|
|
20
20
|
var _a;
|
|
@@ -55,6 +55,7 @@ const PayoutDetails = class {
|
|
|
55
55
|
};
|
|
56
56
|
this.payoutId = undefined;
|
|
57
57
|
this.authToken = undefined;
|
|
58
|
+
this.apiOrigin = "https://wc-proxy.justifi.ai";
|
|
58
59
|
this.getPayout = undefined;
|
|
59
60
|
this.getPayoutCSV = undefined;
|
|
60
61
|
this.errorMessage = null;
|
|
@@ -79,7 +80,8 @@ const PayoutDetails = class {
|
|
|
79
80
|
});
|
|
80
81
|
this.getPayoutCSV = makeGetPayoutCSV({
|
|
81
82
|
authToken: this.authToken,
|
|
82
|
-
service: new PayoutService()
|
|
83
|
+
service: new PayoutService(),
|
|
84
|
+
apiOrigin: this.apiOrigin
|
|
83
85
|
});
|
|
84
86
|
}
|
|
85
87
|
else {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-29fcfdf5.js';
|
|
2
2
|
import { a as ComponentErrorSeverity, C as ComponentErrorCodes } from './ComponentError-c61dce41.js';
|
|
3
|
-
import { J as JustifiAnalytics } from './Analytics-
|
|
4
|
-
import { c as checkPkgVersion } from './check-pkg-version-
|
|
5
|
-
import { m as makeGetPayoutCSV, P as PayoutService } from './get-payout-csv-
|
|
3
|
+
import { J as JustifiAnalytics } from './Analytics-759c7da5.js';
|
|
4
|
+
import { c as checkPkgVersion } from './check-pkg-version-1d6e48c8.js';
|
|
5
|
+
import { m as makeGetPayoutCSV, P as PayoutService } from './get-payout-csv-8450b60d.js';
|
|
6
6
|
import './Checkout-919eb1ba.js';
|
|
7
7
|
import './Pagination-afc8f96d.js';
|
|
8
8
|
import './Payment-82d2f453.js';
|
|
9
9
|
import { P as Payout } from './SubAccount-9aad3891.js';
|
|
10
10
|
import './Document-1907c0d4.js';
|
|
11
11
|
import { g as getErrorMessage, a as getErrorCode } from './utils-fd99b806.js';
|
|
12
|
-
import { m as makeGetSubAccounts, S as SubAccountService } from './get-subaccounts-
|
|
12
|
+
import { m as makeGetSubAccounts, S as SubAccountService } from './get-subaccounts-3af0844a.js';
|
|
13
13
|
import { S as StyledHost } from './styled-host-32228b45.js';
|
|
14
14
|
import { d as defaultColumnsKeys } from './payouts-table-6b8ba8f1.js';
|
|
15
|
-
import './package-
|
|
15
|
+
import './package-49477570.js';
|
|
16
16
|
import './Api-391d00e2.js';
|
|
17
17
|
import './utils-c37124fc.js';
|
|
18
18
|
import './Dispute-5fd28ec9.js';
|
|
@@ -69,7 +69,7 @@ const PayoutsList = class {
|
|
|
69
69
|
this.errorMessage = null;
|
|
70
70
|
this.accountId = undefined;
|
|
71
71
|
this.authToken = undefined;
|
|
72
|
-
this.apiOrigin =
|
|
72
|
+
this.apiOrigin = "https://wc-proxy.justifi.ai";
|
|
73
73
|
this.columns = defaultColumnsKeys;
|
|
74
74
|
}
|
|
75
75
|
componentWillLoad() {
|
|
@@ -91,7 +91,7 @@ const RefundForm = class {
|
|
|
91
91
|
if (!this.authToken) {
|
|
92
92
|
console.warn('Warning: Missing auth-token.');
|
|
93
93
|
}
|
|
94
|
-
this.api = Api({ authToken: this.authToken, apiOrigin:
|
|
94
|
+
this.api = Api({ authToken: this.authToken, apiOrigin: "https://wc-proxy.justifi.ai" });
|
|
95
95
|
}
|
|
96
96
|
render() {
|
|
97
97
|
var _a;
|
|
@@ -7,20 +7,20 @@ import './Payment-82d2f453.js';
|
|
|
7
7
|
import './SubAccount-9aad3891.js';
|
|
8
8
|
import './Document-1907c0d4.js';
|
|
9
9
|
import { g as getErrorMessage, a as getErrorCode } from './utils-fd99b806.js';
|
|
10
|
-
import { J as JustifiAnalytics } from './Analytics-
|
|
11
|
-
import { c as checkPkgVersion } from './check-pkg-version-
|
|
10
|
+
import { J as JustifiAnalytics } from './Analytics-759c7da5.js';
|
|
11
|
+
import { c as checkPkgVersion } from './check-pkg-version-1d6e48c8.js';
|
|
12
12
|
import './utils-c37124fc.js';
|
|
13
13
|
import './Dispute-5fd28ec9.js';
|
|
14
|
-
import './package-
|
|
14
|
+
import './package-49477570.js';
|
|
15
15
|
|
|
16
16
|
class InsuranceService {
|
|
17
17
|
async fetchQuote(authToken, payload) {
|
|
18
18
|
const endpoint = 'insurance/quotes';
|
|
19
|
-
return Api({ authToken, apiOrigin:
|
|
19
|
+
return Api({ authToken, apiOrigin: "https://wc-proxy.justifi.ai" }).post(endpoint, payload);
|
|
20
20
|
}
|
|
21
21
|
async toggleCoverage(authToken, quoteId, payload) {
|
|
22
22
|
const endpoint = `insurance/quotes/${quoteId}/toggle`;
|
|
23
|
-
return Api({ authToken, apiOrigin:
|
|
23
|
+
return Api({ authToken, apiOrigin: "https://wc-proxy.justifi.ai" }).post(endpoint, payload);
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
|