@justifi/webcomponents 5.3.3 → 5.3.4-rc

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 (139) hide show
  1. package/dist/cjs/{Analytics-f448aa27.js → Analytics-25d07997.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-407ee257.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-78297c3a.js} +3 -3
  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 +4 -4
  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/{package-a24ad889.js → package-74690e82.js} +1 -1
  30. package/dist/cjs/{payment.service-65fbac72.js → payment.service-f53022c3.js} +2 -2
  31. package/dist/docs.json +1 -1
  32. package/dist/esm/{Analytics-c083a998.js → Analytics-1051e87d.js} +2 -2
  33. package/dist/esm/billing-form_3.entry.js +1 -1
  34. package/dist/esm/{business.service-98709b1e.js → business.service-f7c3b9f7.js} +7 -7
  35. package/dist/esm/{check-pkg-version-6d475fed.js → check-pkg-version-cdc4a3de.js} +1 -1
  36. package/dist/esm/{checkout.service-9330c18a.js → checkout.service-bb45d248.js} +3 -3
  37. package/dist/esm/{dispute.service-a14ac172.js → dispute.service-9008b3b7.js} +4 -4
  38. package/dist/esm/{get-payout-csv-87cc2147.js → get-payout-csv-be3ee3f0.js} +3 -3
  39. package/dist/esm/{get-subaccounts-26454771.js → get-subaccounts-3af0844a.js} +1 -1
  40. package/dist/esm/justifi-additional-questions-form-step_9.entry.js +2 -2
  41. package/dist/esm/justifi-business-details.entry.js +4 -4
  42. package/dist/esm/justifi-business-form.entry.js +4 -4
  43. package/dist/esm/justifi-checkout.entry.js +5 -5
  44. package/dist/esm/justifi-checkouts-list.entry.js +6 -6
  45. package/dist/esm/justifi-dispute-management.entry.js +5 -5
  46. package/dist/esm/justifi-dispute-notification_3.entry.js +5 -5
  47. package/dist/esm/justifi-gross-payment-chart.entry.js +4 -4
  48. package/dist/esm/justifi-order-terminals.entry.js +4 -4
  49. package/dist/esm/justifi-owner-form_3.entry.js +1 -1
  50. package/dist/esm/justifi-payment-details.entry.js +4 -4
  51. package/dist/esm/justifi-payment-provisioning.entry.js +5 -5
  52. package/dist/esm/justifi-payments-list.entry.js +5 -5
  53. package/dist/esm/justifi-payout-details.entry.js +4 -4
  54. package/dist/esm/justifi-payouts-list.entry.js +6 -6
  55. package/dist/esm/justifi-refund-form.entry.js +1 -1
  56. package/dist/esm/justifi-season-interruption-insurance.entry.js +5 -5
  57. package/dist/esm/justifi-terminal-orders-list.entry.js +3 -3
  58. package/dist/esm/justifi-terminals-list.entry.js +7 -7
  59. package/dist/esm/justifi-tokenize-payment-method.entry.js +4 -4
  60. package/dist/esm/{package-13968013.js → package-8bc1e068.js} +1 -1
  61. package/dist/esm/{payment.service-35bbab8f.js → payment.service-a8ee345c.js} +2 -2
  62. package/dist/module/Analytics.js +1 -1
  63. package/dist/module/business-terms-conditions-form-step.js +1 -1
  64. package/dist/module/business.service.js +7 -7
  65. package/dist/module/checkout.service.js +3 -3
  66. package/dist/module/dispute-response-actions.js +4 -4
  67. package/dist/module/dispute-response.js +1 -1
  68. package/dist/module/get-payout-csv.js +3 -3
  69. package/dist/module/get-subaccounts.js +1 -1
  70. package/dist/module/justifi-business-form.js +1 -1
  71. package/dist/module/justifi-checkout.js +1 -1
  72. package/dist/module/justifi-checkouts-list.js +1 -1
  73. package/dist/module/justifi-dispute-management.js +1 -1
  74. package/dist/module/justifi-gross-payment-chart.js +1 -1
  75. package/dist/module/justifi-payment-provisioning.js +1 -1
  76. package/dist/module/justifi-payments-list.js +1 -1
  77. package/dist/module/justifi-payouts-list.js +1 -1
  78. package/dist/module/justifi-refund-form.js +1 -1
  79. package/dist/module/justifi-season-interruption-insurance.js +2 -2
  80. package/dist/module/justifi-terminal-orders-list.js +1 -1
  81. package/dist/module/justifi-terminals-list.js +3 -3
  82. package/dist/module/justifi-tokenize-payment-method.js +1 -1
  83. package/dist/module/package.js +1 -1
  84. package/dist/module/payment.service.js +2 -2
  85. package/dist/webcomponents/p-06d34949.entry.js +1 -0
  86. package/dist/webcomponents/p-13de2830.entry.js +1 -0
  87. package/dist/webcomponents/p-14f40baa.js +1 -0
  88. package/dist/webcomponents/{p-0f0c5556.entry.js → p-1f270bb9.entry.js} +1 -1
  89. package/dist/webcomponents/p-2208ab4c.entry.js +1 -0
  90. package/dist/webcomponents/p-29fbbc93.js +1 -0
  91. package/dist/webcomponents/{p-cc552f59.entry.js → p-2e1081d7.entry.js} +1 -1
  92. package/dist/webcomponents/p-39d421c9.entry.js +1 -0
  93. package/dist/webcomponents/p-4b718a6c.entry.js +1 -0
  94. package/dist/webcomponents/{p-ea0f2446.entry.js → p-4fbdf440.entry.js} +1 -1
  95. package/dist/webcomponents/{p-245819b0.entry.js → p-58a3c5a6.entry.js} +1 -1
  96. package/dist/webcomponents/p-59918c9e.entry.js +1 -0
  97. package/dist/webcomponents/p-5ab25e5d.js +1 -0
  98. package/dist/webcomponents/{p-69242bad.entry.js → p-5d2d11be.entry.js} +1 -1
  99. package/dist/webcomponents/p-60948775.entry.js +1 -0
  100. package/dist/webcomponents/{p-15675401.entry.js → p-65880158.entry.js} +1 -1
  101. package/dist/webcomponents/p-7746acac.js +1 -0
  102. package/dist/webcomponents/p-82cbcce9.js +1 -0
  103. package/dist/webcomponents/p-8b6a3249.entry.js +1 -0
  104. package/dist/webcomponents/p-93accc9a.entry.js +1 -0
  105. package/dist/webcomponents/p-ad0fffc5.entry.js +1 -0
  106. package/dist/webcomponents/p-af945fc0.entry.js +1 -0
  107. package/dist/webcomponents/p-b4ed5a2c.js +1 -0
  108. package/dist/webcomponents/{p-b1aa7d2b.entry.js → p-b57cfe54.entry.js} +1 -1
  109. package/dist/webcomponents/p-c3ada049.entry.js +1 -0
  110. package/dist/webcomponents/p-dfebd7a4.js +1 -0
  111. package/dist/webcomponents/p-e8fdbc36.entry.js +1 -0
  112. package/dist/webcomponents/p-f6aa31bc.entry.js +1 -0
  113. package/dist/webcomponents/p-f9ff808d.js +1 -0
  114. package/dist/webcomponents/p-ff1f2d65.js +1 -0
  115. package/dist/webcomponents/webcomponents.esm.js +1 -1
  116. package/package.json +1 -1
  117. package/dist/webcomponents/p-0c768ac5.entry.js +0 -1
  118. package/dist/webcomponents/p-185181a8.js +0 -1
  119. package/dist/webcomponents/p-1906c67d.entry.js +0 -1
  120. package/dist/webcomponents/p-1a2eea29.entry.js +0 -1
  121. package/dist/webcomponents/p-26864218.entry.js +0 -1
  122. package/dist/webcomponents/p-309dc8aa.js +0 -1
  123. package/dist/webcomponents/p-32ca779f.js +0 -1
  124. package/dist/webcomponents/p-375b4d2c.entry.js +0 -1
  125. package/dist/webcomponents/p-3a7a2a64.entry.js +0 -1
  126. package/dist/webcomponents/p-3bb21097.entry.js +0 -1
  127. package/dist/webcomponents/p-45bf8573.js +0 -1
  128. package/dist/webcomponents/p-61b5417f.entry.js +0 -1
  129. package/dist/webcomponents/p-73b98298.entry.js +0 -1
  130. package/dist/webcomponents/p-7bf21156.js +0 -1
  131. package/dist/webcomponents/p-87a7c3aa.js +0 -1
  132. package/dist/webcomponents/p-8bedece0.entry.js +0 -1
  133. package/dist/webcomponents/p-95fbb4b0.entry.js +0 -1
  134. package/dist/webcomponents/p-b7084adc.js +0 -1
  135. package/dist/webcomponents/p-c78b5581.js +0 -1
  136. package/dist/webcomponents/p-cbb6cc19.js +0 -1
  137. package/dist/webcomponents/p-e15f749c.entry.js +0 -1
  138. package/dist/webcomponents/p-edae0bb0.entry.js +0 -1
  139. package/dist/webcomponents/p-f162c569.entry.js +0 -1
@@ -4,8 +4,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-5b9a3b5f.js');
6
6
  const ComponentError = require('./ComponentError-233ac749.js');
7
- const Analytics = require('./Analytics-f448aa27.js');
8
- const checkPkgVersion = require('./check-pkg-version-d75dc147.js');
7
+ const Analytics = require('./Analytics-25d07997.js');
8
+ const checkPkgVersion = require('./check-pkg-version-407ee257.js');
9
9
  const Api = require('./Api-f5280a80.js');
10
10
  require('./Checkout-1c07dc32.js');
11
11
  require('./Pagination-0da8f095.js');
@@ -13,23 +13,23 @@ require('./Payment-c47ed1e1.js');
13
13
  const SubAccount = require('./SubAccount-b4811a8e.js');
14
14
  require('./Document-0b828345.js');
15
15
  const utils = require('./utils-7a478c37.js');
16
- const getSubaccounts = require('./get-subaccounts-cc933b3e.js');
16
+ const getSubaccounts = require('./get-subaccounts-b2e6ab82.js');
17
17
  const styledHost = require('./styled-host-94309bab.js');
18
18
  const terminalsTable = require('./terminals-table-db58a0c0.js');
19
- require('./package-a24ad889.js');
19
+ require('./package-74690e82.js');
20
20
  require('./utils-337befa9.js');
21
21
  require('./Dispute-eb6bad54.js');
22
22
  require('./badge-86a6a7f8.js');
23
23
  require('./parts-c2655003.js');
24
24
 
25
25
  class TerminalService {
26
- async fetchTerminals(accountId, authToken, params, apiOrigin = undefined) {
26
+ async fetchTerminals(accountId, authToken, params, apiOrigin = "https://wc-proxy.justifi.ai") {
27
27
  const headers = { Account: accountId };
28
28
  const api = Api.Api({ authToken, apiOrigin });
29
29
  const endpoint = 'terminals';
30
30
  return api.get(endpoint, params, null, headers);
31
31
  }
32
- async fetchTerminal(terminalId, authToken, apiOrigin = undefined) {
32
+ async fetchTerminal(terminalId, authToken, apiOrigin = "https://wc-proxy.justifi.ai") {
33
33
  const endpoint = `terminals/${terminalId}`;
34
34
  return Api.Api({ authToken, apiOrigin: apiOrigin }).get(endpoint);
35
35
  }
@@ -77,7 +77,7 @@ const TerminalsList = class {
77
77
  this.errorMessage = null;
78
78
  this.accountId = undefined;
79
79
  this.authToken = undefined;
80
- this.apiOrigin = undefined;
80
+ this.apiOrigin = "https://wc-proxy.justifi.ai";
81
81
  this.columns = terminalsTable.defaultColumnsKeys;
82
82
  }
83
83
  componentWillLoad() {
@@ -5,8 +5,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  const index = require('./index-5b9a3b5f.js');
6
6
  const button = require('./button-5f6c437f.js');
7
7
  const styledHost = require('./styled-host-94309bab.js');
8
- const checkPkgVersion = require('./check-pkg-version-d75dc147.js');
9
- const Analytics = require('./Analytics-f448aa27.js');
8
+ const checkPkgVersion = require('./check-pkg-version-407ee257.js');
9
+ const Analytics = require('./Analytics-25d07997.js');
10
10
  const ComponentError = require('./ComponentError-233ac749.js');
11
11
  require('./Checkout-1c07dc32.js');
12
12
  require('./Pagination-0da8f095.js');
@@ -14,7 +14,7 @@ require('./Payment-c47ed1e1.js');
14
14
  require('./SubAccount-b4811a8e.js');
15
15
  require('./Document-0b828345.js');
16
16
  require('./parts-c2655003.js');
17
- require('./package-a24ad889.js');
17
+ require('./package-74690e82.js');
18
18
  require('./Api-f5280a80.js');
19
19
  require('./utils-337befa9.js');
20
20
  require('./Dispute-eb6bad54.js');
@@ -32,7 +32,7 @@ const TokenizePaymentMethod = class {
32
32
  this.disableBankAccount = undefined;
33
33
  this.hideSubmitButton = undefined;
34
34
  this.hideCardBillingForm = undefined;
35
- this.iframeOrigin = undefined;
35
+ this.iframeOrigin = "https://components.justifi.ai/v2";
36
36
  this.isLoading = false;
37
37
  }
38
38
  componentWillLoad() {
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  const name = "@justifi/webcomponents";
4
- const version = "5.3.3";
4
+ const version = "5.3.4-rc";
5
5
  const description = "JustiFi Web Components";
6
6
  const collection = "dist/collection/collection-manifest.json";
7
7
  const main = "dist/index.cjs.js";
@@ -9,14 +9,14 @@ require('./SubAccount-b4811a8e.js');
9
9
  require('./Document-0b828345.js');
10
10
 
11
11
  class PaymentService {
12
- async fetchPayments(accountId, authToken, params, apiOrigin = undefined) {
12
+ async fetchPayments(accountId, authToken, params, apiOrigin = "https://wc-proxy.justifi.ai") {
13
13
  const api = Api.Api({ authToken, apiOrigin: apiOrigin });
14
14
  const endpoint = `account/${accountId}/payments`;
15
15
  return api.get(endpoint, params);
16
16
  }
17
17
  async fetchPayment(paymentId, authToken) {
18
18
  const endpoint = `payments/${paymentId}`;
19
- return Api.Api({ authToken, apiOrigin: undefined }).get(endpoint);
19
+ return Api.Api({ authToken, apiOrigin: "https://wc-proxy.justifi.ai" }).get(endpoint);
20
20
  }
21
21
  }
22
22
 
package/dist/docs.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2025-02-21T20:12:06",
2
+ "timestamp": "2025-02-21T22:12:13",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "4.19.2",
@@ -1,10 +1,10 @@
1
- import { p as packageJson } from './package-13968013.js';
1
+ import { p as packageJson } from './package-8bc1e068.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-8bc1e068.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-8bc1e068.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,17 +8,17 @@ 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);
@@ -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-1051e87d.js';
7
+ import { c as checkPkgVersion } from './check-pkg-version-cdc4a3de.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-8bc1e068.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-1051e87d.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-cdc4a3de.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-8bc1e068.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-1051e87d.js';
6
+ import { c as checkPkgVersion } from './check-pkg-version-cdc4a3de.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-8bc1e068.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-cdc4a3de.js';
10
+ import { J as JustifiAnalytics } from './Analytics-1051e87d.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-8bc1e068.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-1051e87d.js';
4
+ import { c as checkPkgVersion } from './check-pkg-version-cdc4a3de.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-8bc1e068.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-cdc4a3de.js';
12
+ import { J as JustifiAnalytics } from './Analytics-1051e87d.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-8bc1e068.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-1051e87d.js';
7
+ import { c as checkPkgVersion } from './check-pkg-version-cdc4a3de.js';
8
8
  import './parts-489f0af6.js';
9
- import './package-13968013.js';
9
+ import './package-8bc1e068.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-cdc4a3de.js';
6
+ import { J as JustifiAnalytics } from './Analytics-1051e87d.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-8bc1e068.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-1051e87d.js';
12
+ import { c as checkPkgVersion } from './check-pkg-version-cdc4a3de.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-8bc1e068.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-1051e87d.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-cdc4a3de.js';
8
+ import './package-8bc1e068.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-1051e87d.js';
11
+ import { c as checkPkgVersion } from './check-pkg-version-cdc4a3de.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-8bc1e068.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-be3ee3f0.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-1051e87d.js';
12
+ import { c as checkPkgVersion } from './check-pkg-version-cdc4a3de.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-8bc1e068.js';
18
18
 
19
19
  const makeGetPayoutDetails = ({ id, authToken, service }) => async ({ onSuccess, onError }) => {
20
20
  var _a;