@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.
Files changed (149) hide show
  1. package/dist/cjs/{Analytics-f448aa27.js → Analytics-2fb20059.js} +2 -2
  2. package/dist/cjs/billing-form_3.cjs.entry.js +1 -1
  3. package/dist/cjs/{business.service-6b05ee96.js → business.service-776142b1.js} +7 -7
  4. package/dist/cjs/{check-pkg-version-d75dc147.js → check-pkg-version-f5a3d421.js} +1 -1
  5. package/dist/cjs/{checkout.service-aa037531.js → checkout.service-b23994d2.js} +3 -3
  6. package/dist/cjs/{dispute.service-27dcd7f4.js → dispute.service-c192dd33.js} +4 -4
  7. package/dist/cjs/{get-payout-csv-7646128d.js → get-payout-csv-13d68dab.js} +5 -5
  8. package/dist/cjs/{get-subaccounts-cc933b3e.js → get-subaccounts-b2e6ab82.js} +1 -1
  9. package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +2 -2
  10. package/dist/cjs/justifi-business-details.cjs.entry.js +4 -4
  11. package/dist/cjs/justifi-business-form.cjs.entry.js +4 -4
  12. package/dist/cjs/justifi-checkout.cjs.entry.js +5 -5
  13. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +6 -6
  14. package/dist/cjs/justifi-dispute-management.cjs.entry.js +5 -5
  15. package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +5 -5
  16. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +4 -4
  17. package/dist/cjs/justifi-order-terminals.cjs.entry.js +4 -4
  18. package/dist/cjs/justifi-owner-form_3.cjs.entry.js +1 -1
  19. package/dist/cjs/justifi-payment-details.cjs.entry.js +4 -4
  20. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +5 -5
  21. package/dist/cjs/justifi-payments-list.cjs.entry.js +5 -5
  22. package/dist/cjs/justifi-payout-details.cjs.entry.js +7 -5
  23. package/dist/cjs/justifi-payouts-list.cjs.entry.js +6 -6
  24. package/dist/cjs/justifi-refund-form.cjs.entry.js +1 -1
  25. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +5 -5
  26. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +3 -3
  27. package/dist/cjs/justifi-terminals-list.cjs.entry.js +7 -7
  28. package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +4 -4
  29. package/dist/cjs/loader.cjs.js +1 -1
  30. package/dist/cjs/{package-a24ad889.js → package-e8aa0c51.js} +1 -1
  31. package/dist/cjs/{payment.service-65fbac72.js → payment.service-f53022c3.js} +2 -2
  32. package/dist/cjs/webcomponents.cjs.js +1 -1
  33. package/dist/collection/components/payout-details/get-payout-csv.js +2 -2
  34. package/dist/collection/components/payout-details/payout-details.js +21 -1
  35. package/dist/docs.json +23 -1
  36. package/dist/esm/{Analytics-c083a998.js → Analytics-759c7da5.js} +2 -2
  37. package/dist/esm/billing-form_3.entry.js +1 -1
  38. package/dist/esm/{business.service-98709b1e.js → business.service-f7c3b9f7.js} +7 -7
  39. package/dist/esm/{check-pkg-version-6d475fed.js → check-pkg-version-1d6e48c8.js} +1 -1
  40. package/dist/esm/{checkout.service-9330c18a.js → checkout.service-bb45d248.js} +3 -3
  41. package/dist/esm/{dispute.service-a14ac172.js → dispute.service-9008b3b7.js} +4 -4
  42. package/dist/esm/{get-payout-csv-87cc2147.js → get-payout-csv-8450b60d.js} +5 -5
  43. package/dist/esm/{get-subaccounts-26454771.js → get-subaccounts-3af0844a.js} +1 -1
  44. package/dist/esm/justifi-additional-questions-form-step_9.entry.js +2 -2
  45. package/dist/esm/justifi-business-details.entry.js +4 -4
  46. package/dist/esm/justifi-business-form.entry.js +4 -4
  47. package/dist/esm/justifi-checkout.entry.js +5 -5
  48. package/dist/esm/justifi-checkouts-list.entry.js +6 -6
  49. package/dist/esm/justifi-dispute-management.entry.js +5 -5
  50. package/dist/esm/justifi-dispute-notification_3.entry.js +5 -5
  51. package/dist/esm/justifi-gross-payment-chart.entry.js +4 -4
  52. package/dist/esm/justifi-order-terminals.entry.js +4 -4
  53. package/dist/esm/justifi-owner-form_3.entry.js +1 -1
  54. package/dist/esm/justifi-payment-details.entry.js +4 -4
  55. package/dist/esm/justifi-payment-provisioning.entry.js +5 -5
  56. package/dist/esm/justifi-payments-list.entry.js +5 -5
  57. package/dist/esm/justifi-payout-details.entry.js +7 -5
  58. package/dist/esm/justifi-payouts-list.entry.js +6 -6
  59. package/dist/esm/justifi-refund-form.entry.js +1 -1
  60. package/dist/esm/justifi-season-interruption-insurance.entry.js +5 -5
  61. package/dist/esm/justifi-terminal-orders-list.entry.js +3 -3
  62. package/dist/esm/justifi-terminals-list.entry.js +7 -7
  63. package/dist/esm/justifi-tokenize-payment-method.entry.js +4 -4
  64. package/dist/esm/loader.js +1 -1
  65. package/dist/esm/{package-13968013.js → package-49477570.js} +1 -1
  66. package/dist/esm/{payment.service-35bbab8f.js → payment.service-a8ee345c.js} +2 -2
  67. package/dist/esm/webcomponents.js +1 -1
  68. package/dist/module/Analytics.js +1 -1
  69. package/dist/module/business-terms-conditions-form-step.js +1 -1
  70. package/dist/module/business.service.js +7 -7
  71. package/dist/module/checkout.service.js +3 -3
  72. package/dist/module/dispute-response-actions.js +4 -4
  73. package/dist/module/dispute-response.js +1 -1
  74. package/dist/module/get-payout-csv.js +5 -5
  75. package/dist/module/get-subaccounts.js +1 -1
  76. package/dist/module/justifi-business-form.js +1 -1
  77. package/dist/module/justifi-checkout.js +1 -1
  78. package/dist/module/justifi-checkouts-list.js +1 -1
  79. package/dist/module/justifi-dispute-management.js +1 -1
  80. package/dist/module/justifi-gross-payment-chart.js +1 -1
  81. package/dist/module/justifi-payment-provisioning.js +1 -1
  82. package/dist/module/justifi-payments-list.js +1 -1
  83. package/dist/module/justifi-payout-details.js +4 -1
  84. package/dist/module/justifi-payouts-list.js +1 -1
  85. package/dist/module/justifi-refund-form.js +1 -1
  86. package/dist/module/justifi-season-interruption-insurance.js +2 -2
  87. package/dist/module/justifi-terminal-orders-list.js +1 -1
  88. package/dist/module/justifi-terminals-list.js +3 -3
  89. package/dist/module/justifi-tokenize-payment-method.js +1 -1
  90. package/dist/module/package.js +1 -1
  91. package/dist/module/payment.service.js +2 -2
  92. package/dist/types/api/services/payout.service.d.ts +1 -1
  93. package/dist/types/components/payout-details/get-payout-csv.d.ts +2 -1
  94. package/dist/types/components/payout-details/payout-details.d.ts +1 -0
  95. package/dist/types/components.d.ts +2 -0
  96. package/dist/webcomponents/{p-69242bad.entry.js → p-08a17c5c.entry.js} +1 -1
  97. package/dist/webcomponents/p-0f4d851d.entry.js +1 -0
  98. package/dist/webcomponents/p-14f40baa.js +1 -0
  99. package/dist/webcomponents/{p-87a7c3aa.js → p-1aa22806.js} +1 -1
  100. package/dist/webcomponents/{p-7bf21156.js → p-29688e30.js} +1 -1
  101. package/dist/webcomponents/p-29fbbc93.js +1 -0
  102. package/dist/webcomponents/p-39a63e0c.entry.js +1 -0
  103. package/dist/webcomponents/{p-ea0f2446.entry.js → p-4fbdf440.entry.js} +1 -1
  104. package/dist/webcomponents/p-53b660a3.entry.js +1 -0
  105. package/dist/webcomponents/{p-cc552f59.entry.js → p-56697a12.entry.js} +1 -1
  106. package/dist/webcomponents/p-670296bf.entry.js +1 -0
  107. package/dist/webcomponents/p-75b7dfe7.entry.js +1 -0
  108. package/dist/webcomponents/p-7d2538d9.entry.js +1 -0
  109. package/dist/webcomponents/p-8548edd6.entry.js +1 -0
  110. package/dist/webcomponents/p-9055aa6e.entry.js +1 -0
  111. package/dist/webcomponents/p-9cbbe9cb.entry.js +1 -0
  112. package/dist/webcomponents/p-a6b66c88.entry.js +1 -0
  113. package/dist/webcomponents/p-acca56ec.entry.js +1 -0
  114. package/dist/webcomponents/{p-245819b0.entry.js → p-ae271c06.entry.js} +1 -1
  115. package/dist/webcomponents/p-af945fc0.entry.js +1 -0
  116. package/dist/webcomponents/p-b4ed5a2c.js +1 -0
  117. package/dist/webcomponents/{p-b1aa7d2b.entry.js → p-b57cfe54.entry.js} +1 -1
  118. package/dist/webcomponents/p-bfe339d5.js +1 -0
  119. package/dist/webcomponents/p-c2196cb8.entry.js +1 -0
  120. package/dist/webcomponents/p-d279545a.entry.js +1 -0
  121. package/dist/webcomponents/p-df2559c7.js +1 -0
  122. package/dist/webcomponents/p-dfebd7a4.js +1 -0
  123. package/dist/webcomponents/{p-15675401.entry.js → p-fa843aad.entry.js} +1 -1
  124. package/dist/webcomponents/p-fc3d2a9e.entry.js +1 -0
  125. package/dist/webcomponents/p-ff1f2d65.js +1 -0
  126. package/dist/webcomponents/webcomponents.esm.js +1 -1
  127. package/package.json +1 -1
  128. package/dist/webcomponents/p-0c768ac5.entry.js +0 -1
  129. package/dist/webcomponents/p-0f0c5556.entry.js +0 -1
  130. package/dist/webcomponents/p-185181a8.js +0 -1
  131. package/dist/webcomponents/p-1906c67d.entry.js +0 -1
  132. package/dist/webcomponents/p-1a2eea29.entry.js +0 -1
  133. package/dist/webcomponents/p-26864218.entry.js +0 -1
  134. package/dist/webcomponents/p-309dc8aa.js +0 -1
  135. package/dist/webcomponents/p-32ca779f.js +0 -1
  136. package/dist/webcomponents/p-375b4d2c.entry.js +0 -1
  137. package/dist/webcomponents/p-3a7a2a64.entry.js +0 -1
  138. package/dist/webcomponents/p-3bb21097.entry.js +0 -1
  139. package/dist/webcomponents/p-45bf8573.js +0 -1
  140. package/dist/webcomponents/p-61b5417f.entry.js +0 -1
  141. package/dist/webcomponents/p-73b98298.entry.js +0 -1
  142. package/dist/webcomponents/p-8bedece0.entry.js +0 -1
  143. package/dist/webcomponents/p-95fbb4b0.entry.js +0 -1
  144. package/dist/webcomponents/p-b7084adc.js +0 -1
  145. package/dist/webcomponents/p-c78b5581.js +0 -1
  146. package/dist/webcomponents/p-cbb6cc19.js +0 -1
  147. package/dist/webcomponents/p-e15f749c.entry.js +0 -1
  148. package/dist/webcomponents/p-edae0bb0.entry.js +0 -1
  149. package/dist/webcomponents/p-f162c569.entry.js +0 -1
@@ -1,10 +1,10 @@
1
- import { p as packageJson } from './package-13968013.js';
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: undefined }).post(endpoint, body);
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-13968013.js';
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: undefined }).get(endpoint);
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: undefined }).patch(endpoint, payload);
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: undefined }).get(endpoint);
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: undefined }).patch(endpoint, payload);
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: undefined }).post(endpoint, payload);
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: undefined }).post(endpoint, payload);
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: undefined }).post(endpoint, payload);
36
+ return Api({ authToken, apiOrigin: "https://wc-proxy.justifi.ai" }).post(endpoint, payload);
37
37
  }
38
38
  }
39
39
 
@@ -1,4 +1,4 @@
1
- import { p as packageJson } from './package-13968013.js';
1
+ import { p as packageJson } from './package-49477570.js';
2
2
 
3
3
  const latestVersion = async (packageName) => {
4
4
  const response = await fetch('https://registry.npmjs.org/' + packageName + '/latest');
@@ -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: undefined }).get(endpoint);
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 = undefined;
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: undefined }).post(endpoint, payload);
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: undefined }).get(endpoint);
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: undefined }).patch(endpoint, payload);
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: undefined }).post(endpoint, payload);
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: undefined }).put(endpoint, payload);
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 = undefined) {
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 = undefined) {
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 = undefined) {
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 = undefined) {
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-98709b1e.js';
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: undefined });
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-98709b1e.js';
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-c083a998.js';
7
- import { c as checkPkgVersion } from './check-pkg-version-6d475fed.js';
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-13968013.js';
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-c083a998.js';
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-6d475fed.js';
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-13968013.js';
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: undefined });
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-9330c18a.js';
5
- import { J as JustifiAnalytics } from './Analytics-c083a998.js';
6
- import { c as checkPkgVersion } from './check-pkg-version-6d475fed.js';
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-13968013.js';
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 = undefined;
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-6d475fed.js';
10
- import { J as JustifiAnalytics } from './Analytics-c083a998.js';
11
- import { C as CheckoutService } from './checkout.service-9330c18a.js';
12
- import { m as makeGetSubAccounts, S as SubAccountService } from './get-subaccounts-26454771.js';
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-13968013.js';
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 = undefined;
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-c083a998.js';
4
- import { c as checkPkgVersion } from './check-pkg-version-6d475fed.js';
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-a14ac172.js';
8
- import './package-13968013.js';
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 = undefined;
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-a14ac172.js';
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-6d475fed.js';
12
- import { J as JustifiAnalytics } from './Analytics-c083a998.js';
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-13968013.js';
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 = undefined;
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-c083a998.js';
7
- import { c as checkPkgVersion } from './check-pkg-version-6d475fed.js';
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-13968013.js';
9
+ import './package-49477570.js';
10
10
 
11
11
  class ReportsService {
12
12
  async fetchGrossVolumeChartData(accountId, authToken) {
13
- const api = Api({ authToken: authToken, apiOrigin: undefined });
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-6d475fed.js';
6
- import { J as JustifiAnalytics } from './Analytics-c083a998.js';
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-98709b1e.js';
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-13968013.js';
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-98709b1e.js';
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-35bbab8f.js';
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-c083a998.js';
12
- import { c as checkPkgVersion } from './check-pkg-version-6d475fed.js';
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-13968013.js';
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-c083a998.js';
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-98709b1e.js';
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-6d475fed.js';
8
- import './package-13968013.js';
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: undefined }).post(endpoint, payload);
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-35bbab8f.js';
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-c083a998.js';
11
- import { c as checkPkgVersion } from './check-pkg-version-6d475fed.js';
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-13968013.js';
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 = undefined;
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-87cc2147.js';
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-c083a998.js';
12
- import { c as checkPkgVersion } from './check-pkg-version-6d475fed.js';
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-13968013.js';
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-c083a998.js';
4
- import { c as checkPkgVersion } from './check-pkg-version-6d475fed.js';
5
- import { m as makeGetPayoutCSV, P as PayoutService } from './get-payout-csv-87cc2147.js';
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-26454771.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 './payouts-table-6b8ba8f1.js';
15
- import './package-13968013.js';
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 = undefined;
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: undefined });
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-c083a998.js';
11
- import { c as checkPkgVersion } from './check-pkg-version-6d475fed.js';
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-13968013.js';
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: undefined }).post(endpoint, payload);
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: undefined }).post(endpoint, payload);
23
+ return Api({ authToken, apiOrigin: "https://wc-proxy.justifi.ai" }).post(endpoint, payload);
24
24
  }
25
25
  }
26
26