@justifi/webcomponents 4.19.1-rc-6 → 4.19.1-rc-7
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-54b8e890.js → Analytics-84483298.js} +2 -2
- package/dist/cjs/{business.service-6bb7ac82.js → business.service-54b93e3a.js} +5 -5
- package/dist/cjs/{get-payout-csv-1391ff3e.js → get-payout-csv-f20745bd.js} +3 -3
- package/dist/cjs/justifi-additional-questions-form-step_10.cjs.entry.js +4 -4
- package/dist/cjs/justifi-bank-account-form.cjs.entry.js +3 -3
- package/dist/cjs/justifi-business-details.cjs.entry.js +3 -3
- package/dist/cjs/justifi-business-form.cjs.entry.js +3 -3
- package/dist/cjs/justifi-card-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-gross-payment-chart.cjs.entry.js +3 -3
- package/dist/cjs/justifi-new-payment-method_4.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 +3 -3
- package/dist/cjs/justifi-payment-form.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payment-method-form.cjs.entry.js +1 -1
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +4 -4
- package/dist/cjs/justifi-payments-list.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payout-details.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +3 -3
- package/dist/cjs/justifi-refund-form.cjs.entry.js +1 -1
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +4 -4
- package/dist/cjs/{package-b75f8267.js → package-47c49390.js} +1 -1
- package/dist/cjs/{payment.service-dfcfa19b.js → payment.service-396d76a6.js} +2 -2
- package/dist/docs.json +1 -1
- package/dist/esm/{Analytics-25ef1b60.js → Analytics-5c3e1cbb.js} +2 -2
- package/dist/esm/{business.service-f45decfc.js → business.service-c8195c2f.js} +5 -5
- package/dist/esm/{get-payout-csv-e784a2ab.js → get-payout-csv-691cd57f.js} +3 -3
- package/dist/esm/justifi-additional-questions-form-step_10.entry.js +4 -4
- package/dist/esm/justifi-bank-account-form.entry.js +3 -3
- package/dist/esm/justifi-business-details.entry.js +3 -3
- package/dist/esm/justifi-business-form.entry.js +3 -3
- package/dist/esm/justifi-card-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-gross-payment-chart.entry.js +3 -3
- package/dist/esm/justifi-new-payment-method_4.entry.js +4 -4
- package/dist/esm/justifi-owner-form_3.entry.js +1 -1
- package/dist/esm/justifi-payment-details.entry.js +3 -3
- package/dist/esm/justifi-payment-form.entry.js +3 -3
- package/dist/esm/justifi-payment-method-form.entry.js +1 -1
- package/dist/esm/justifi-payment-provisioning.entry.js +4 -4
- package/dist/esm/justifi-payments-list.entry.js +3 -3
- package/dist/esm/justifi-payout-details.entry.js +3 -3
- package/dist/esm/justifi-payouts-list.entry.js +3 -3
- package/dist/esm/justifi-refund-form.entry.js +1 -1
- package/dist/esm/justifi-season-interruption-insurance.entry.js +4 -4
- package/dist/{webcomponents/p-1bbbf15d.js → esm/package-19824070.js} +1 -1
- package/dist/esm/{payment.service-dad5153b.js → payment.service-b88abfbd.js} +2 -2
- package/dist/module/Analytics.js +1 -1
- package/dist/module/business-bank-account-form-step.js +1 -1
- package/dist/module/business-document-upload-form-step.js +1 -1
- package/dist/module/business-terms-conditions-form-step.js +1 -1
- package/dist/module/business.service.js +5 -5
- package/dist/module/checkout-core.js +1 -1
- package/dist/module/get-payout-csv.js +3 -3
- package/dist/module/justifi-bank-account-form.js +1 -1
- package/dist/module/justifi-business-form.js +1 -1
- package/dist/module/justifi-card-form.js +1 -1
- package/dist/module/justifi-checkout.js +2 -2
- package/dist/module/justifi-gross-payment-chart.js +1 -1
- package/dist/module/justifi-payment-form.js +1 -1
- package/dist/module/justifi-payment-provisioning.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/new-payment-method.js +1 -1
- package/dist/module/package.js +1 -1
- package/dist/module/payment-method-options.js +1 -1
- package/dist/module/payment.service.js +2 -2
- package/dist/module/saved-payment-method.js +1 -1
- package/dist/module/sezzle-payment-method.js +1 -1
- package/dist/{esm/package-478b028a.js → webcomponents/p-0550e8b2.js} +1 -1
- package/dist/webcomponents/{p-cb26f708.js → p-09e9a800.js} +2 -2
- package/dist/webcomponents/{p-a096bc5b.entry.js → p-1e76e6f6.entry.js} +4 -4
- package/dist/webcomponents/{p-3e9ef4a8.js → p-20be55f2.js} +5 -5
- package/dist/webcomponents/{p-a6d04afc.js → p-23046b82.js} +3 -3
- package/dist/webcomponents/{p-20abace7.js → p-2598093e.js} +2 -2
- package/dist/webcomponents/{p-c636f563.entry.js → p-25bc3378.entry.js} +4 -4
- package/dist/webcomponents/{p-3b5948ea.entry.js → p-32c82bbb.entry.js} +3 -3
- package/dist/webcomponents/{p-a64f0ebe.entry.js → p-372e17c1.entry.js} +3 -3
- package/dist/webcomponents/{p-3c50942c.entry.js → p-571522f4.entry.js} +3 -3
- package/dist/webcomponents/{p-8371f61c.entry.js → p-6c9aa2ef.entry.js} +3 -3
- package/dist/webcomponents/{p-a5c5821e.entry.js → p-7ab438d3.entry.js} +1 -1
- package/dist/webcomponents/{p-e78af6d3.entry.js → p-80eb0908.entry.js} +3 -3
- package/dist/webcomponents/{p-890088fc.entry.js → p-86a1705b.entry.js} +4 -4
- package/dist/webcomponents/{p-b233d1e2.entry.js → p-9033b0e0.entry.js} +3 -3
- package/dist/webcomponents/{p-e7b8199d.entry.js → p-9dcf8d53.entry.js} +4 -4
- package/dist/webcomponents/{p-0e2384b5.entry.js → p-9e2b3614.entry.js} +1 -1
- package/dist/webcomponents/{p-e26541b9.entry.js → p-a0ba0583.entry.js} +3 -3
- package/dist/webcomponents/{p-40236338.entry.js → p-b5a8178c.entry.js} +3 -3
- package/dist/webcomponents/{p-258b1ee2.entry.js → p-be0817a0.entry.js} +1 -1
- package/dist/webcomponents/{p-fd7918c2.entry.js → p-c099e1f6.entry.js} +3 -3
- package/dist/webcomponents/{p-ba6661f2.entry.js → p-c2145be8.entry.js} +4 -4
- package/dist/webcomponents/{p-5cb3f0b2.entry.js → p-c6349e75.entry.js} +1 -1
- package/dist/webcomponents/{p-73210c03.entry.js → p-dbe88c82.entry.js} +3 -3
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +1 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const _package = require('./package-
|
|
3
|
+
const _package = require('./package-47c49390.js');
|
|
4
4
|
const Api = require('./Api-3bc6e43f.js');
|
|
5
5
|
|
|
6
6
|
class AnalyticsService {
|
|
7
7
|
async record(body) {
|
|
8
8
|
const endpoint = 'analytics';
|
|
9
|
-
return Api.Api({ apiOrigin:
|
|
9
|
+
return Api.Api({ apiOrigin: "https://wc-proxy.justifi.ai" }).post(endpoint, JSON.stringify(body));
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
12
|
|
|
@@ -5,25 +5,25 @@ const Api = require('./Api-3bc6e43f.js');
|
|
|
5
5
|
class BusinessService {
|
|
6
6
|
async fetchBusiness(businessId, authToken) {
|
|
7
7
|
const endpoint = `entities/business/${businessId}`;
|
|
8
|
-
return Api.Api({ authToken, apiOrigin:
|
|
8
|
+
return Api.Api({ authToken, apiOrigin: "https://wc-proxy.justifi.ai" }).get(endpoint);
|
|
9
9
|
}
|
|
10
10
|
async patchBusiness(authToken, businessId, payload) {
|
|
11
11
|
const endpoint = `entities/business/${businessId}`;
|
|
12
|
-
return Api.Api({ authToken, apiOrigin:
|
|
12
|
+
return Api.Api({ authToken, apiOrigin: "https://wc-proxy.justifi.ai" }).patch(endpoint, payload);
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
15
|
class IdentityService {
|
|
16
16
|
async fetchIdentity(identityId, authToken) {
|
|
17
17
|
const endpoint = `entities/identity/${identityId}`;
|
|
18
|
-
return Api.Api({ authToken, apiOrigin:
|
|
18
|
+
return Api.Api({ authToken, apiOrigin: "https://wc-proxy.justifi.ai" }).get(endpoint);
|
|
19
19
|
}
|
|
20
20
|
async patchIdentity(authToken, identityId, payload) {
|
|
21
21
|
const endpoint = `entities/identity/${identityId}`;
|
|
22
|
-
return Api.Api({ authToken, apiOrigin:
|
|
22
|
+
return Api.Api({ authToken, apiOrigin: "https://wc-proxy.justifi.ai" }).patch(endpoint, payload);
|
|
23
23
|
}
|
|
24
24
|
async postIdentity(authToken, payload) {
|
|
25
25
|
const endpoint = `entities/identity`;
|
|
26
|
-
return Api.Api({ authToken, apiOrigin:
|
|
26
|
+
return Api.Api({ authToken, apiOrigin: "https://wc-proxy.justifi.ai" }).post(endpoint, payload);
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
|
|
@@ -9,17 +9,17 @@ const utils = require('./utils-7a478c37.js');
|
|
|
9
9
|
|
|
10
10
|
class PayoutService {
|
|
11
11
|
async fetchPayouts(accountId, authToken, params) {
|
|
12
|
-
const api = Api.Api({ authToken, apiOrigin:
|
|
12
|
+
const api = Api.Api({ authToken, apiOrigin: "https://wc-proxy.justifi.ai" });
|
|
13
13
|
const endpoint = `account/${accountId}/payouts`;
|
|
14
14
|
return api.get(endpoint, params);
|
|
15
15
|
}
|
|
16
16
|
async fetchPayout(payoutId, authToken) {
|
|
17
|
-
const api = Api.Api({ authToken, apiOrigin:
|
|
17
|
+
const api = Api.Api({ authToken, apiOrigin: "https://wc-proxy.justifi.ai" });
|
|
18
18
|
const endpoint = `payouts/${payoutId}`;
|
|
19
19
|
return api.get(endpoint);
|
|
20
20
|
}
|
|
21
21
|
async fetchCSV(payoutId, authToken) {
|
|
22
|
-
const api = Api.Api({ authToken, apiOrigin:
|
|
22
|
+
const api = Api.Api({ authToken, apiOrigin: "https://wc-proxy.justifi.ai" });
|
|
23
23
|
const endpoint = `reports/payouts/${payoutId}`;
|
|
24
24
|
return api.get(endpoint);
|
|
25
25
|
}
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index = require('./index-fb499e95.js');
|
|
6
6
|
const ComponentError = require('./ComponentError-233ac749.js');
|
|
7
7
|
const paymentProvisioningActions = require('./payment-provisioning-actions-06466dda.js');
|
|
8
|
-
const business_service = require('./business.service-
|
|
8
|
+
const business_service = require('./business.service-54b93e3a.js');
|
|
9
9
|
const index_esm = require('./index.esm-52757963.js');
|
|
10
10
|
const businessFormTypes = require('./business-form-types-6e1fcda3.js');
|
|
11
11
|
const schemaValidations = require('./schema-validations-2733de42.js');
|
|
@@ -203,7 +203,7 @@ const BusinessBankAccountFormStep = class {
|
|
|
203
203
|
;
|
|
204
204
|
componentWillLoad() {
|
|
205
205
|
this.formController = new index_esm.FormController(businessBankAccountSchema(this.allowOptionalFields));
|
|
206
|
-
this.api = Api.Api({ authToken: this.authToken, apiOrigin:
|
|
206
|
+
this.api = Api.Api({ authToken: this.authToken, apiOrigin: "https://wc-proxy.justifi.ai" });
|
|
207
207
|
if (this.businessId && this.authToken) {
|
|
208
208
|
this.fetchData();
|
|
209
209
|
}
|
|
@@ -433,7 +433,7 @@ const BusinessDocumentFormStep = class {
|
|
|
433
433
|
return 'entities/document';
|
|
434
434
|
}
|
|
435
435
|
componentWillLoad() {
|
|
436
|
-
this.api = Api.Api({ authToken: this.authToken, apiOrigin:
|
|
436
|
+
this.api = Api.Api({ authToken: this.authToken, apiOrigin: "https://wc-proxy.justifi.ai" });
|
|
437
437
|
if (this.businessId && this.authToken) {
|
|
438
438
|
this.fetchData();
|
|
439
439
|
}
|
|
@@ -650,7 +650,7 @@ const BusinessTermsConditionsFormStep = class {
|
|
|
650
650
|
};
|
|
651
651
|
}
|
|
652
652
|
async componentWillLoad() {
|
|
653
|
-
this.api = Api.Api({ authToken: this.authToken, apiOrigin:
|
|
653
|
+
this.api = Api.Api({ authToken: this.authToken, apiOrigin: "https://wc-proxy.justifi.ai" });
|
|
654
654
|
this.formController = new index_esm.FormController(businessTermsConditionsSchema(this.allowOptionalFields));
|
|
655
655
|
if (this.businessId && this.authToken) {
|
|
656
656
|
this.fetchData();
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-fb499e95.js');
|
|
6
|
-
const Analytics = require('./Analytics-
|
|
7
|
-
require('./package-
|
|
6
|
+
const Analytics = require('./Analytics-84483298.js');
|
|
7
|
+
require('./package-47c49390.js');
|
|
8
8
|
require('./Api-3bc6e43f.js');
|
|
9
9
|
|
|
10
10
|
const BankAccountForm = class {
|
|
@@ -15,7 +15,7 @@ const BankAccountForm = class {
|
|
|
15
15
|
this.bankAccountFormTokenized = index.createEvent(this, "bankAccountFormTokenize", 7);
|
|
16
16
|
this.bankAccountFormValidated = index.createEvent(this, "bankAccountFormValidate", 7);
|
|
17
17
|
this.validationMode = undefined;
|
|
18
|
-
this.iframeOrigin =
|
|
18
|
+
this.iframeOrigin = "https://components.justifi.ai/v1";
|
|
19
19
|
this.internalStyleOverrides = undefined;
|
|
20
20
|
}
|
|
21
21
|
readyHandler(event) {
|
|
@@ -4,15 +4,15 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-fb499e95.js');
|
|
6
6
|
const utils$1 = require('./utils-c1d2e426.js');
|
|
7
|
-
const business_service = require('./business.service-
|
|
7
|
+
const business_service = require('./business.service-54b93e3a.js');
|
|
8
8
|
const Business = require('./Business-aacbe893.js');
|
|
9
9
|
const ComponentError = require('./ComponentError-233ac749.js');
|
|
10
10
|
const utils = require('./utils-7a478c37.js');
|
|
11
|
-
const Analytics = require('./Analytics-
|
|
11
|
+
const Analytics = require('./Analytics-84483298.js');
|
|
12
12
|
require('./Api-3bc6e43f.js');
|
|
13
13
|
require('./helpers-602962eb.js');
|
|
14
14
|
require('./state-options-4fbcb48a.js');
|
|
15
|
-
require('./package-
|
|
15
|
+
require('./package-47c49390.js');
|
|
16
16
|
|
|
17
17
|
const makeGetBusiness = ({ id, authToken, service }) => async ({ onSuccess, onError }) => {
|
|
18
18
|
var _a;
|
|
@@ -12,13 +12,13 @@ require('./Payment-1a8a8ca6.js');
|
|
|
12
12
|
require('./Payout-a2dd7b01.js');
|
|
13
13
|
const businessFormTypes = require('./business-form-types-6e1fcda3.js');
|
|
14
14
|
const Business = require('./Business-aacbe893.js');
|
|
15
|
-
const Analytics = require('./Analytics-
|
|
15
|
+
const Analytics = require('./Analytics-84483298.js');
|
|
16
16
|
const styledHost = require('./styled-host-cc053016.js');
|
|
17
17
|
require('./schema-validations-2733de42.js');
|
|
18
18
|
require('./state-options-4fbcb48a.js');
|
|
19
19
|
require('./business-form-options-582467fe.js');
|
|
20
20
|
require('./helpers-602962eb.js');
|
|
21
|
-
require('./package-
|
|
21
|
+
require('./package-47c49390.js');
|
|
22
22
|
|
|
23
23
|
const businessFormSchema = index_esm.create$3(Object.assign(Object.assign({}, businessAdditionalQuestionsSchema.businessCoreInfoSchema().fields), { legal_address: payloadParsers.addressSchema(), additional_questions: businessAdditionalQuestionsSchema.additionalQuestionsSchema(), representative: payloadParsers.identitySchema('representative') }));
|
|
24
24
|
|
|
@@ -85,7 +85,7 @@ const BusinessForm = class {
|
|
|
85
85
|
if (!this.businessId)
|
|
86
86
|
console.error(missingBusinessIdMessage);
|
|
87
87
|
this.formController = new index_esm.FormController(businessFormSchema);
|
|
88
|
-
this.api = Api.Api({ authToken: this.authToken, apiOrigin:
|
|
88
|
+
this.api = Api.Api({ authToken: this.authToken, apiOrigin: "https://wc-proxy.justifi.ai" });
|
|
89
89
|
this.fetchData();
|
|
90
90
|
}
|
|
91
91
|
disconnectedCallback() {
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-fb499e95.js');
|
|
6
|
-
const Analytics = require('./Analytics-
|
|
7
|
-
require('./package-
|
|
6
|
+
const Analytics = require('./Analytics-84483298.js');
|
|
7
|
+
require('./package-47c49390.js');
|
|
8
8
|
require('./Api-3bc6e43f.js');
|
|
9
9
|
|
|
10
10
|
const CardForm = class {
|
|
@@ -15,7 +15,7 @@ const CardForm = class {
|
|
|
15
15
|
this.cardFormTokenized = index.createEvent(this, "cardFormTokenize", 7);
|
|
16
16
|
this.cardFormValidated = index.createEvent(this, "cardFormValidate", 7);
|
|
17
17
|
this.validationMode = undefined;
|
|
18
|
-
this.iframeOrigin =
|
|
18
|
+
this.iframeOrigin = "https://components.justifi.ai/v1";
|
|
19
19
|
this.singleLine = false;
|
|
20
20
|
this.internalStyleOverrides = undefined;
|
|
21
21
|
}
|
|
@@ -9,8 +9,8 @@ const Api = require('./Api-3bc6e43f.js');
|
|
|
9
9
|
require('./Pagination-0da8f095.js');
|
|
10
10
|
require('./Payment-1a8a8ca6.js');
|
|
11
11
|
require('./Payout-a2dd7b01.js');
|
|
12
|
-
const Analytics = require('./Analytics-
|
|
13
|
-
require('./package-
|
|
12
|
+
const Analytics = require('./Analytics-84483298.js');
|
|
13
|
+
require('./package-47c49390.js');
|
|
14
14
|
|
|
15
15
|
const makeGetCheckout = ({ authToken, checkoutId, service }) => async ({ onSuccess, onError }) => {
|
|
16
16
|
var _a;
|
|
@@ -69,7 +69,7 @@ const makeCheckoutComplete = ({ authToken, checkoutId, service }) => async ({ pa
|
|
|
69
69
|
class CheckoutService {
|
|
70
70
|
async fetchCheckout(authToken, checkoutId) {
|
|
71
71
|
const endpoint = `checkouts/${checkoutId}`;
|
|
72
|
-
return Api.Api({ authToken, apiOrigin:
|
|
72
|
+
return Api.Api({ authToken, apiOrigin: "https://wc-proxy.justifi.ai" }).get(endpoint);
|
|
73
73
|
}
|
|
74
74
|
async complete(authToken, checkoutId, payment) {
|
|
75
75
|
const endpoint = `checkouts/${checkoutId}/complete`;
|
|
@@ -79,7 +79,7 @@ class CheckoutService {
|
|
|
79
79
|
if (payment.payment_token) {
|
|
80
80
|
payload.payment_token = payment.payment_token;
|
|
81
81
|
}
|
|
82
|
-
return Api.Api({ authToken, apiOrigin:
|
|
82
|
+
return Api.Api({ authToken, apiOrigin: "https://wc-proxy.justifi.ai" }).post(endpoint, JSON.stringify(payload));
|
|
83
83
|
}
|
|
84
84
|
}
|
|
85
85
|
|
|
@@ -7,12 +7,12 @@ const Api = require('./Api-3bc6e43f.js');
|
|
|
7
7
|
const ComponentError = require('./ComponentError-233ac749.js');
|
|
8
8
|
const utils = require('./utils-7a478c37.js');
|
|
9
9
|
const utils$1 = require('./utils-c1d2e426.js');
|
|
10
|
-
const Analytics = require('./Analytics-
|
|
11
|
-
require('./package-
|
|
10
|
+
const Analytics = require('./Analytics-84483298.js');
|
|
11
|
+
require('./package-47c49390.js');
|
|
12
12
|
|
|
13
13
|
class ReportsService {
|
|
14
14
|
async fetchGrossVolumeChartData(accountId, authToken) {
|
|
15
|
-
const api = Api.Api({ authToken: authToken, apiOrigin:
|
|
15
|
+
const api = Api.Api({ authToken: authToken, apiOrigin: "https://wc-proxy.justifi.ai" });
|
|
16
16
|
const endpoint = `account/${accountId}/reports/gross_volume`;
|
|
17
17
|
return api.get(endpoint);
|
|
18
18
|
}
|
|
@@ -17,7 +17,7 @@ const NewPaymentMethod = class {
|
|
|
17
17
|
this.onPaymentMethodOptionClick = () => {
|
|
18
18
|
this.paymentMethodOptionSelected.emit(this.paymentMethodOption);
|
|
19
19
|
};
|
|
20
|
-
this.iframeOrigin =
|
|
20
|
+
this.iframeOrigin = "https://components.justifi.ai/v1";
|
|
21
21
|
this.authToken = undefined;
|
|
22
22
|
this.accountId = undefined;
|
|
23
23
|
this.paymentMethodOption = undefined;
|
|
@@ -123,7 +123,7 @@ const PaymentMethodOptions = class {
|
|
|
123
123
|
this.insuranceToggled = undefined;
|
|
124
124
|
this.authToken = undefined;
|
|
125
125
|
this.accountId = undefined;
|
|
126
|
-
this.iframeOrigin =
|
|
126
|
+
this.iframeOrigin = "https://components.justifi.ai/v1";
|
|
127
127
|
this.savedPaymentMethods = [];
|
|
128
128
|
this.paymentAmount = undefined;
|
|
129
129
|
this.selectedPaymentMethodId = undefined;
|
|
@@ -210,7 +210,7 @@ const SavedPaymentMethod = class {
|
|
|
210
210
|
this.onPaymentMethodOptionClick = () => {
|
|
211
211
|
this.paymentMethodOptionSelected.emit(this.paymentMethodOption);
|
|
212
212
|
};
|
|
213
|
-
this.iframeOrigin =
|
|
213
|
+
this.iframeOrigin = "https://components.justifi.ai/v1";
|
|
214
214
|
this.paymentMethodOption = undefined;
|
|
215
215
|
this.isSelected = undefined;
|
|
216
216
|
}
|
|
@@ -269,7 +269,7 @@ const SezzlePaymentMethod = class {
|
|
|
269
269
|
this.sezzleCheckout = checkout;
|
|
270
270
|
this.installmentPlan = this.sezzleCheckout.getInstallmentPlan(amount);
|
|
271
271
|
};
|
|
272
|
-
this.iframeOrigin =
|
|
272
|
+
this.iframeOrigin = "https://components.justifi.ai/v1";
|
|
273
273
|
this.bnpl = undefined;
|
|
274
274
|
this.clientId = undefined;
|
|
275
275
|
this.accountId = undefined;
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-fb499e95.js');
|
|
6
6
|
const paymentProvisioningActions = require('./payment-provisioning-actions-06466dda.js');
|
|
7
|
-
const business_service = require('./business.service-
|
|
7
|
+
const business_service = require('./business.service-54b93e3a.js');
|
|
8
8
|
const index_esm = require('./index.esm-52757963.js');
|
|
9
9
|
const Business = require('./Business-aacbe893.js');
|
|
10
10
|
const businessFormTypes = require('./business-form-types-6e1fcda3.js');
|
|
@@ -3,16 +3,16 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-fb499e95.js');
|
|
6
|
-
const payment_service = require('./payment.service-
|
|
6
|
+
const payment_service = require('./payment.service-396d76a6.js');
|
|
7
7
|
require('./Pagination-0da8f095.js');
|
|
8
8
|
const Payment = require('./Payment-1a8a8ca6.js');
|
|
9
9
|
require('./Payout-a2dd7b01.js');
|
|
10
10
|
const ComponentError = require('./ComponentError-233ac749.js');
|
|
11
11
|
const utils = require('./utils-7a478c37.js');
|
|
12
12
|
const utils$1 = require('./utils-c1d2e426.js');
|
|
13
|
-
const Analytics = require('./Analytics-
|
|
13
|
+
const Analytics = require('./Analytics-84483298.js');
|
|
14
14
|
require('./Api-3bc6e43f.js');
|
|
15
|
-
require('./package-
|
|
15
|
+
require('./package-47c49390.js');
|
|
16
16
|
|
|
17
17
|
const makeGetPaymentDetails = ({ id, authToken, service }) => async ({ onSuccess, onError }) => {
|
|
18
18
|
var _a;
|
|
@@ -9,10 +9,10 @@ require('./Payout-a2dd7b01.js');
|
|
|
9
9
|
const utils = require('./utils-89d86e29.js');
|
|
10
10
|
const ComponentError = require('./ComponentError-233ac749.js');
|
|
11
11
|
const utils$1 = require('./utils-7a478c37.js');
|
|
12
|
-
const Analytics = require('./Analytics-
|
|
12
|
+
const Analytics = require('./Analytics-84483298.js');
|
|
13
13
|
const button = require('./button-3f400a66.js');
|
|
14
14
|
const styledHost = require('./styled-host-cc053016.js');
|
|
15
|
-
require('./package-
|
|
15
|
+
require('./package-47c49390.js');
|
|
16
16
|
require('./Api-3bc6e43f.js');
|
|
17
17
|
|
|
18
18
|
const paymentFormCss = ":host{display:block}justifi-payment-method-form{display:block;margin-left:calc(var(--jfi-layout-padding) * -1);margin-right:calc(var(--jfi-layout-padding) * -1)}*::part(label){color:var(--jfi-form-label-color);font-family:var(--jfi-form-label-font-family);font-weight:var(--jfi-form-label-font-weight);font-size:var(--jfi-form-label-font-size);margin:var(--jfi-form-label-margin)}*::part(input){font-family:var(--jfi-layout-font-family);background-color:var(--jfi-form-control-background-color);border-color:var(--jfi-form-control-border-color);border-width:var(--jfi-form-control-border-width);border-bottom-width:var(--jfi-form-control-border-bottom-width);border-left-width:var(--jfi-form-control-border-left-width);border-right-width:var(--jfi-form-control-border-right-width);border-top-width:var(--jfi-form-control-border-top-width);border-radius:var(--jfi-form-control-border-radius);border-style:var(--jfi-form-control-border-style);box-shadow:var(--jfi-form-control-box-shadow);color:var(--jfi-form-control-color);font-size:var(--jfi-form-control-font-size);font-weight:var(--jfi-form-control-font-weight);line-height:var(--jfi-form-control-line-height);margin:var(--jfi-form-control-margin);padding:var(--jfi-form-control-padding)}*::part(input):focus{color:var(--jfi-form-control-color-focus);border-color:var(--jfi-form-control-border-color-focus);box-shadow:var(--jfi-form-control-box-shadow-focus)}*::part(input-invalid){border-color:var(--jfi-form-control-border-color-error);box-shadow:var(--jfi-form-control-box-shadow-error)}*::part(input-invalid):focus{border-color:var(--jfi-form-control-border-color-error);box-shadow:var(--jfi-form-control-box-shadow-error-focus)}.jfi-submit-button{font-family:var(--jfi-layout-font-family);color:var(--jfi-submit-button-color);background-color:var(--jfi-submit-button-background-color);border-color:var(--jfi-submit-button-border-color);padding:var(--jfi-submit-button-padding);font-size:var(--jfi-submit-button-font-size);border-radius:var(--jfi-submit-button-border-radius);width:var(--jfi-submit-button-width);box-shadow:var(--jfi-submit-button-box-shadow)}.jfi-submit-button:hover{color:var(--jfi-submit-button-color-hover);background-color:var(--jfi-submit-button-background-color-hover);border-color:var(--jfi-submit-button-border-color-hover)}.jfi-submit-button:focus{color:var(--jfi-submit-button-color-focus);background-color:var(--jfi-submit-button-background-color-focus);border-color:var(--jfi-submit-button-border-color-focus)}.btn.jfi-submit-button:active{color:var(--jfi-submit-button-color-active);background-color:var(--jfi-submit-button-background-color-active);border-color:var(--jfi-submit-button-border-color-active)}.btn.jfi-submit-button-loading{min-width:75px;color:var(--jfi-submit-button-color-loading);background-color:var(--jfi-submit-button-background-color-loading);border-color:var(--jfi-submit-button-border-color-loading)}.btn.jfi-submit-button-loading .spinner-border{border-top-color:var(--jfi-submit-button-color-loading);border-bottom-color:var(--jfi-submit-button-color-loading);border-left-color:var(--jfi-submit-button-color-loading)}";
|
|
@@ -121,7 +121,7 @@ const PaymentForm = class {
|
|
|
121
121
|
}
|
|
122
122
|
}
|
|
123
123
|
render() {
|
|
124
|
-
return (index.h(styledHost.StyledHost, { key: '8cb6e3903a0045fbffed5f17dc29aacc6b57ad7f' }, index.h("form", { key: '4e8f00c3d29c0db0bc99fd79da46abe7c40e3e30', class: "row gy-3" }, this.showPaymentMethodTypeSelector() && (index.h("div", { key: '344a1356f6f482493a35015c32f8e9a9b4cc8a80', class: "col-12" }, index.h("justifi-payment-method-selector", { key: '36b9dd7a9bc8336b4bef0d12f56c811effbc0a0b', selectedPaymentMethodType: this.getSelectedPaymentMethodType(), onPaymentMethodSelected: event => this.paymentMethodSelectedHandler(event) }))), index.h("div", { key: '225a260f817f9dd02a7f0a5b25562179ab80f7de', class: "col-12" }, index.h("justifi-payment-method-form", { key: '52e2bf20b265cc96ab556571a323370cc27ac278', "payment-method-form-type": this.getSelectedPaymentMethodType(), iframeOrigin:
|
|
124
|
+
return (index.h(styledHost.StyledHost, { key: '8cb6e3903a0045fbffed5f17dc29aacc6b57ad7f' }, index.h("form", { key: '4e8f00c3d29c0db0bc99fd79da46abe7c40e3e30', class: "row gy-3" }, this.showPaymentMethodTypeSelector() && (index.h("div", { key: '344a1356f6f482493a35015c32f8e9a9b4cc8a80', class: "col-12" }, index.h("justifi-payment-method-selector", { key: '36b9dd7a9bc8336b4bef0d12f56c811effbc0a0b', selectedPaymentMethodType: this.getSelectedPaymentMethodType(), onPaymentMethodSelected: event => this.paymentMethodSelectedHandler(event) }))), index.h("div", { key: '225a260f817f9dd02a7f0a5b25562179ab80f7de', class: "col-12" }, index.h("justifi-payment-method-form", { key: '52e2bf20b265cc96ab556571a323370cc27ac278', "payment-method-form-type": this.getSelectedPaymentMethodType(), iframeOrigin: "https://components.justifi.ai/v1", ref: el => {
|
|
125
125
|
if (el) {
|
|
126
126
|
this.paymentMethodFormRef = el;
|
|
127
127
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-fb499e95.js');
|
|
6
|
-
const _package = require('./package-
|
|
6
|
+
const _package = require('./package-47c49390.js');
|
|
7
7
|
const utils = require('./utils-89d86e29.js');
|
|
8
8
|
|
|
9
9
|
var iframeResizer = {exports: {}};
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-fb499e95.js');
|
|
6
|
-
const Analytics = require('./Analytics-
|
|
6
|
+
const Analytics = require('./Analytics-84483298.js');
|
|
7
7
|
const ComponentError = require('./ComponentError-233ac749.js');
|
|
8
8
|
const paymentProvisioningActions = require('./payment-provisioning-actions-06466dda.js');
|
|
9
|
-
const business_service = require('./business.service-
|
|
9
|
+
const business_service = require('./business.service-54b93e3a.js');
|
|
10
10
|
const Api = require('./Api-3bc6e43f.js');
|
|
11
|
-
require('./package-
|
|
11
|
+
require('./package-47c49390.js');
|
|
12
12
|
require('./utils-7a478c37.js');
|
|
13
13
|
|
|
14
14
|
class ProvisionService {
|
|
@@ -18,7 +18,7 @@ class ProvisionService {
|
|
|
18
18
|
business_id: businessId,
|
|
19
19
|
product_category: product,
|
|
20
20
|
};
|
|
21
|
-
return Api.Api({ authToken, apiOrigin:
|
|
21
|
+
return Api.Api({ authToken, apiOrigin: "https://wc-proxy.justifi.ai" }).post(endpoint, JSON.stringify(payload));
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
|
|
@@ -3,16 +3,16 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-fb499e95.js');
|
|
6
|
-
const payment_service = require('./payment.service-
|
|
6
|
+
const payment_service = require('./payment.service-396d76a6.js');
|
|
7
7
|
require('./Pagination-0da8f095.js');
|
|
8
8
|
const Payment = require('./Payment-1a8a8ca6.js');
|
|
9
9
|
require('./Payout-a2dd7b01.js');
|
|
10
10
|
const ComponentError = require('./ComponentError-233ac749.js');
|
|
11
11
|
const utils = require('./utils-7a478c37.js');
|
|
12
12
|
const utils$1 = require('./utils-c1d2e426.js');
|
|
13
|
-
const Analytics = require('./Analytics-
|
|
13
|
+
const Analytics = require('./Analytics-84483298.js');
|
|
14
14
|
require('./Api-3bc6e43f.js');
|
|
15
|
-
require('./package-
|
|
15
|
+
require('./package-47c49390.js');
|
|
16
16
|
|
|
17
17
|
const makeGetPayments = ({ id, authToken, service }) => async ({ params, onSuccess, onError }) => {
|
|
18
18
|
var _a, _b;
|
|
@@ -3,16 +3,16 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-fb499e95.js');
|
|
6
|
-
const getPayoutCsv = require('./get-payout-csv-
|
|
6
|
+
const getPayoutCsv = require('./get-payout-csv-f20745bd.js');
|
|
7
7
|
require('./Pagination-0da8f095.js');
|
|
8
8
|
require('./Payment-1a8a8ca6.js');
|
|
9
9
|
const Payout = require('./Payout-a2dd7b01.js');
|
|
10
10
|
const ComponentError = require('./ComponentError-233ac749.js');
|
|
11
11
|
const utils = require('./utils-7a478c37.js');
|
|
12
12
|
const utils$1 = require('./utils-c1d2e426.js');
|
|
13
|
-
const Analytics = require('./Analytics-
|
|
13
|
+
const Analytics = require('./Analytics-84483298.js');
|
|
14
14
|
require('./Api-3bc6e43f.js');
|
|
15
|
-
require('./package-
|
|
15
|
+
require('./package-47c49390.js');
|
|
16
16
|
|
|
17
17
|
const makeGetPayoutDetails = ({ id, authToken, service }) => async ({ onSuccess, onError }) => {
|
|
18
18
|
var _a;
|
|
@@ -4,16 +4,16 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-fb499e95.js');
|
|
6
6
|
const exportedParts = require('./exported-parts-b18c68c2.js');
|
|
7
|
-
const getPayoutCsv = require('./get-payout-csv-
|
|
7
|
+
const getPayoutCsv = require('./get-payout-csv-f20745bd.js');
|
|
8
8
|
require('./Pagination-0da8f095.js');
|
|
9
9
|
require('./Payment-1a8a8ca6.js');
|
|
10
10
|
const Payout = require('./Payout-a2dd7b01.js');
|
|
11
11
|
const ComponentError = require('./ComponentError-233ac749.js');
|
|
12
12
|
const utils = require('./utils-7a478c37.js');
|
|
13
13
|
const utils$1 = require('./utils-c1d2e426.js');
|
|
14
|
-
const Analytics = require('./Analytics-
|
|
14
|
+
const Analytics = require('./Analytics-84483298.js');
|
|
15
15
|
require('./Api-3bc6e43f.js');
|
|
16
|
-
require('./package-
|
|
16
|
+
require('./package-47c49390.js');
|
|
17
17
|
|
|
18
18
|
const makeGetPayouts = ({ id, authToken, service }) => async ({ params, onSuccess, onError }) => {
|
|
19
19
|
var _a, _b;
|
|
@@ -93,7 +93,7 @@ const RefundForm = class {
|
|
|
93
93
|
if (!this.authToken) {
|
|
94
94
|
console.warn('Warning: Missing auth-token.');
|
|
95
95
|
}
|
|
96
|
-
this.api = Api.Api({ authToken: this.authToken, apiOrigin:
|
|
96
|
+
this.api = Api.Api({ authToken: this.authToken, apiOrigin: "https://wc-proxy.justifi.ai" });
|
|
97
97
|
}
|
|
98
98
|
render() {
|
|
99
99
|
var _a;
|
|
@@ -9,17 +9,17 @@ require('./Payment-1a8a8ca6.js');
|
|
|
9
9
|
require('./Payout-a2dd7b01.js');
|
|
10
10
|
const utils = require('./utils-7a478c37.js');
|
|
11
11
|
const ComponentError = require('./ComponentError-233ac749.js');
|
|
12
|
-
const Analytics = require('./Analytics-
|
|
13
|
-
require('./package-
|
|
12
|
+
const Analytics = require('./Analytics-84483298.js');
|
|
13
|
+
require('./package-47c49390.js');
|
|
14
14
|
|
|
15
15
|
class InsuranceService {
|
|
16
16
|
async fetchQuote(authToken, payload) {
|
|
17
17
|
const endpoint = 'insurance/quotes';
|
|
18
|
-
return Api.Api({ authToken, apiOrigin:
|
|
18
|
+
return Api.Api({ authToken, apiOrigin: "https://wc-proxy.justifi.ai" }).post(endpoint, JSON.stringify(payload));
|
|
19
19
|
}
|
|
20
20
|
async toggleCoverage(authToken, quoteId, payload) {
|
|
21
21
|
const endpoint = `insurance/quotes/${quoteId}/toggle`;
|
|
22
|
-
return Api.Api({ authToken, apiOrigin:
|
|
22
|
+
return Api.Api({ authToken, apiOrigin: "https://wc-proxy.justifi.ai" }).post(endpoint, JSON.stringify(payload));
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const name = "@justifi/webcomponents";
|
|
4
|
-
const version = "4.19.1-rc-
|
|
4
|
+
const version = "4.19.1-rc-7";
|
|
5
5
|
const description = "JustiFi Web Components";
|
|
6
6
|
const collection = "dist/collection/collection-manifest.json";
|
|
7
7
|
const main = "dist/index.cjs.js";
|
|
@@ -7,13 +7,13 @@ require('./Payout-a2dd7b01.js');
|
|
|
7
7
|
|
|
8
8
|
class PaymentService {
|
|
9
9
|
async fetchPayments(accountId, authToken, params) {
|
|
10
|
-
const api = Api.Api({ authToken, apiOrigin:
|
|
10
|
+
const api = Api.Api({ authToken, apiOrigin: "https://wc-proxy.justifi.ai" });
|
|
11
11
|
const endpoint = `account/${accountId}/payments`;
|
|
12
12
|
return api.get(endpoint, params);
|
|
13
13
|
}
|
|
14
14
|
async fetchPayment(paymentId, authToken) {
|
|
15
15
|
const endpoint = `payments/${paymentId}`;
|
|
16
|
-
return Api.Api({ authToken, apiOrigin:
|
|
16
|
+
return Api.Api({ authToken, apiOrigin: "https://wc-proxy.justifi.ai" }).get(endpoint);
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
|
package/dist/docs.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { p as packageJson } from './package-
|
|
1
|
+
import { p as packageJson } from './package-19824070.js';
|
|
2
2
|
import { A as Api } from './Api-b09a2f6a.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, JSON.stringify(body));
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
|
|
@@ -3,25 +3,25 @@ import { A as Api } from './Api-b09a2f6a.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
|
|
|
@@ -7,17 +7,17 @@ import { g as getErrorMessage, a as getErrorCode } from './utils-b10dae27.js';
|
|
|
7
7
|
|
|
8
8
|
class PayoutService {
|
|
9
9
|
async fetchPayouts(accountId, authToken, params) {
|
|
10
|
-
const api = Api({ authToken, apiOrigin:
|
|
10
|
+
const api = Api({ authToken, apiOrigin: "https://wc-proxy.justifi.ai" });
|
|
11
11
|
const endpoint = `account/${accountId}/payouts`;
|
|
12
12
|
return api.get(endpoint, params);
|
|
13
13
|
}
|
|
14
14
|
async fetchPayout(payoutId, authToken) {
|
|
15
|
-
const api = Api({ authToken, apiOrigin:
|
|
15
|
+
const api = Api({ authToken, apiOrigin: "https://wc-proxy.justifi.ai" });
|
|
16
16
|
const endpoint = `payouts/${payoutId}`;
|
|
17
17
|
return api.get(endpoint);
|
|
18
18
|
}
|
|
19
19
|
async fetchCSV(payoutId, authToken) {
|
|
20
|
-
const api = Api({ authToken, apiOrigin:
|
|
20
|
+
const api = Api({ authToken, apiOrigin: "https://wc-proxy.justifi.ai" });
|
|
21
21
|
const endpoint = `reports/payouts/${payoutId}`;
|
|
22
22
|
return api.get(endpoint);
|
|
23
23
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-57431c24.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-c8195c2f.js';
|
|
5
5
|
import { c as create$3, F as FormController, e as create$7 } from './index.esm-fc4f5c0c.js';
|
|
6
6
|
import { b as BusinessFormStep, a as BusinessFormClickActions } from './business-form-types-1bc5fe08.js';
|
|
7
7
|
import { z as bankNameValidation, A as nicknameValidation, i 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-a83ff220.js';
|
|
@@ -199,7 +199,7 @@ const BusinessBankAccountFormStep = class {
|
|
|
199
199
|
;
|
|
200
200
|
componentWillLoad() {
|
|
201
201
|
this.formController = new FormController(businessBankAccountSchema(this.allowOptionalFields));
|
|
202
|
-
this.api = Api({ authToken: this.authToken, apiOrigin:
|
|
202
|
+
this.api = Api({ authToken: this.authToken, apiOrigin: "https://wc-proxy.justifi.ai" });
|
|
203
203
|
if (this.businessId && this.authToken) {
|
|
204
204
|
this.fetchData();
|
|
205
205
|
}
|
|
@@ -429,7 +429,7 @@ const BusinessDocumentFormStep = class {
|
|
|
429
429
|
return 'entities/document';
|
|
430
430
|
}
|
|
431
431
|
componentWillLoad() {
|
|
432
|
-
this.api = Api({ authToken: this.authToken, apiOrigin:
|
|
432
|
+
this.api = Api({ authToken: this.authToken, apiOrigin: "https://wc-proxy.justifi.ai" });
|
|
433
433
|
if (this.businessId && this.authToken) {
|
|
434
434
|
this.fetchData();
|
|
435
435
|
}
|
|
@@ -646,7 +646,7 @@ const BusinessTermsConditionsFormStep = class {
|
|
|
646
646
|
};
|
|
647
647
|
}
|
|
648
648
|
async componentWillLoad() {
|
|
649
|
-
this.api = Api({ authToken: this.authToken, apiOrigin:
|
|
649
|
+
this.api = Api({ authToken: this.authToken, apiOrigin: "https://wc-proxy.justifi.ai" });
|
|
650
650
|
this.formController = new FormController(businessTermsConditionsSchema(this.allowOptionalFields));
|
|
651
651
|
if (this.businessId && this.authToken) {
|
|
652
652
|
this.fetchData();
|