@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
@@ -1,12 +1,12 @@
1
1
  'use strict';
2
2
 
3
- const _package = require('./package-a24ad889.js');
3
+ const _package = require('./package-74690e82.js');
4
4
  const Api = require('./Api-f5280a80.js');
5
5
 
6
6
  class AnalyticsService {
7
7
  async record(body) {
8
8
  const endpoint = 'analytics';
9
- return Api.Api({ apiOrigin: undefined }).post(endpoint, body);
9
+ return Api.Api({ apiOrigin: "https://wc-proxy.justifi.ai" }).post(endpoint, body);
10
10
  }
11
11
  }
12
12
 
@@ -8,7 +8,7 @@ const schemaValidations = require('./schema-validations-47a256f4.js');
8
8
  const stateOptions = require('./state-options-4fbcb48a.js');
9
9
  const utils = require('./utils-bc03ca40.js');
10
10
  const formControlErrorText = require('./form-control-error-text-9905e3b8.js');
11
- const _package = require('./package-a24ad889.js');
11
+ const _package = require('./package-74690e82.js');
12
12
  const iframeInputStylesState = require('./iframe-input-styles-state-d0de0b24.js');
13
13
  const parts = require('./parts-c2655003.js');
14
14
  require('./business-form-options-62e9c8ab.js');
@@ -5,37 +5,37 @@ const Api = require('./Api-f5280a80.js');
5
5
  class BusinessService {
6
6
  async fetchBusiness(businessId, authToken) {
7
7
  const endpoint = `entities/business/${businessId}`;
8
- return Api.Api({ authToken, apiOrigin: undefined }).get(endpoint);
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: undefined }).patch(endpoint, payload);
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: undefined }).get(endpoint);
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: undefined }).patch(endpoint, payload);
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: undefined }).post(endpoint, payload);
26
+ return Api.Api({ authToken, apiOrigin: "https://wc-proxy.justifi.ai" }).post(endpoint, payload);
27
27
  }
28
28
  }
29
29
  class BusinessBankAccountService {
30
30
  async postBankAccount(authToken, payload) {
31
31
  const endpoint = `entities/bank_accounts`;
32
- return Api.Api({ authToken, apiOrigin: undefined }).post(endpoint, payload);
32
+ return Api.Api({ authToken, apiOrigin: "https://wc-proxy.justifi.ai" }).post(endpoint, payload);
33
33
  }
34
34
  }
35
35
  class DocumentRecordService {
36
36
  async postDocumentRecord(authToken, payload) {
37
37
  const endpoint = `entities/document`;
38
- return Api.Api({ authToken, apiOrigin: undefined }).post(endpoint, payload);
38
+ return Api.Api({ authToken, apiOrigin: "https://wc-proxy.justifi.ai" }).post(endpoint, payload);
39
39
  }
40
40
  }
41
41
 
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const _package = require('./package-a24ad889.js');
3
+ const _package = require('./package-74690e82.js');
4
4
 
5
5
  const latestVersion = async (packageName) => {
6
6
  const response = await fetch('https://registry.npmjs.org/' + packageName + '/latest');
@@ -11,11 +11,11 @@ require('./Document-0b828345.js');
11
11
  class CheckoutService {
12
12
  async fetchCheckout(authToken, checkoutId) {
13
13
  const endpoint = `checkouts/${checkoutId}`;
14
- return Api.Api({ authToken, apiOrigin: undefined }).get(endpoint);
14
+ return Api.Api({ authToken, apiOrigin: "https://wc-proxy.justifi.ai" }).get(endpoint);
15
15
  }
16
16
  async fetchCheckouts(accountId, authToken, params, apiOrigin) {
17
17
  if (!apiOrigin) {
18
- apiOrigin = undefined;
18
+ apiOrigin = "https://wc-proxy.justifi.ai";
19
19
  }
20
20
  const headers = { Account: accountId };
21
21
  const api = Api.Api({ authToken, apiOrigin: apiOrigin });
@@ -30,7 +30,7 @@ class CheckoutService {
30
30
  if (payment.payment_token) {
31
31
  payload.payment_token = payment.payment_token;
32
32
  }
33
- return Api.Api({ authToken, apiOrigin: undefined }).post(endpoint, payload);
33
+ return Api.Api({ authToken, apiOrigin: "https://wc-proxy.justifi.ai" }).post(endpoint, payload);
34
34
  }
35
35
  }
36
36
 
@@ -11,19 +11,19 @@ require('./Document-0b828345.js');
11
11
  class DisputeService {
12
12
  async fetchDispute(disputeId, authToken) {
13
13
  const endpoint = `disputes/${disputeId}`;
14
- return Api.Api({ authToken, apiOrigin: undefined }).get(endpoint);
14
+ return Api.Api({ authToken, apiOrigin: "https://wc-proxy.justifi.ai" }).get(endpoint);
15
15
  }
16
16
  async updateDisputeResponse(disputeId, authToken, payload) {
17
17
  const endpoint = `disputes/${disputeId}/response`;
18
- return Api.Api({ authToken, apiOrigin: undefined }).patch(endpoint, payload);
18
+ return Api.Api({ authToken, apiOrigin: "https://wc-proxy.justifi.ai" }).patch(endpoint, payload);
19
19
  }
20
20
  async submitDisputeResponse(disputeId, authToken, payload) {
21
21
  const endpoint = `disputes/${disputeId}/response`;
22
- return Api.Api({ authToken, apiOrigin: undefined }).post(endpoint, payload);
22
+ return Api.Api({ authToken, apiOrigin: "https://wc-proxy.justifi.ai" }).post(endpoint, payload);
23
23
  }
24
24
  async createDisputeEvidence(disputeId, authToken, payload) {
25
25
  const endpoint = `disputes/${disputeId}/evidence`;
26
- return Api.Api({ authToken, apiOrigin: undefined }).put(endpoint, payload);
26
+ return Api.Api({ authToken, apiOrigin: "https://wc-proxy.justifi.ai" }).put(endpoint, payload);
27
27
  }
28
28
  }
29
29
 
@@ -10,17 +10,17 @@ require('./Document-0b828345.js');
10
10
  const utils = require('./utils-7a478c37.js');
11
11
 
12
12
  class PayoutService {
13
- async fetchPayouts(accountId, authToken, params, apiOrigin = undefined) {
13
+ async fetchPayouts(accountId, authToken, params, apiOrigin = "https://wc-proxy.justifi.ai") {
14
14
  const api = Api.Api({ authToken, apiOrigin });
15
15
  const endpoint = `account/${accountId}/payouts`;
16
16
  return api.get(endpoint, params);
17
17
  }
18
- async fetchPayout(payoutId, authToken, apiOrigin = undefined) {
18
+ async fetchPayout(payoutId, authToken, apiOrigin = "https://wc-proxy.justifi.ai") {
19
19
  const api = Api.Api({ authToken, apiOrigin });
20
20
  const endpoint = `payouts/${payoutId}`;
21
21
  return api.get(endpoint);
22
22
  }
23
- async fetchCSV(payoutId, authToken, apiOrigin = undefined) {
23
+ async fetchCSV(payoutId, authToken, apiOrigin = "https://wc-proxy.justifi.ai") {
24
24
  const api = Api.Api({ authToken, apiOrigin });
25
25
  const endpoint = `reports/payouts/${payoutId}`;
26
26
  return api.get(endpoint);
@@ -10,7 +10,7 @@ require('./Document-0b828345.js');
10
10
  const utils = require('./utils-7a478c37.js');
11
11
 
12
12
  class SubAccountService {
13
- async fetchSubAccounts(accountId, authToken, params, apiOrigin = undefined) {
13
+ async fetchSubAccounts(accountId, authToken, params, apiOrigin = "https://wc-proxy.justifi.ai") {
14
14
  const headers = { Account: accountId };
15
15
  const api = Api.Api({ authToken, apiOrigin: apiOrigin });
16
16
  const endpoint = 'sub_accounts';
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  const index = require('./index-5b9a3b5f.js');
6
6
  const ComponentError = require('./ComponentError-233ac749.js');
7
7
  const paymentProvisioningActions = require('./payment-provisioning-actions-382ab48c.js');
8
- const business_service = require('./business.service-6b05ee96.js');
8
+ const business_service = require('./business.service-776142b1.js');
9
9
  require('./Checkout-1c07dc32.js');
10
10
  require('./Pagination-0da8f095.js');
11
11
  require('./Payment-c47ed1e1.js');
@@ -358,7 +358,7 @@ const BusinessTermsConditionsFormStep = class {
358
358
  };
359
359
  }
360
360
  async componentWillLoad() {
361
- this.api = Api.Api({ authToken: this.authToken, apiOrigin: undefined });
361
+ this.api = Api.Api({ authToken: this.authToken, apiOrigin: "https://wc-proxy.justifi.ai" });
362
362
  this.formController = new index_esm.FormController(businessTermsConditionsSchema(this.allowOptionalFields));
363
363
  if (this.businessId && this.authToken) {
364
364
  this.fetchData();
@@ -4,18 +4,18 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-5b9a3b5f.js');
6
6
  const utils = require('./utils-7c5b2837.js');
7
- const business_service = require('./business.service-6b05ee96.js');
7
+ const business_service = require('./business.service-776142b1.js');
8
8
  const getBusiness = require('./get-business-0bd063d2.js');
9
9
  const ComponentError = require('./ComponentError-233ac749.js');
10
- const Analytics = require('./Analytics-f448aa27.js');
11
- const checkPkgVersion = require('./check-pkg-version-d75dc147.js');
10
+ const Analytics = require('./Analytics-25d07997.js');
11
+ const checkPkgVersion = require('./check-pkg-version-407ee257.js');
12
12
  require('./parts-c2655003.js');
13
13
  require('./Api-f5280a80.js');
14
14
  require('./Business-d88b77fd.js');
15
15
  require('./helpers-602962eb.js');
16
16
  require('./state-options-4fbcb48a.js');
17
17
  require('./utils-7a478c37.js');
18
- require('./package-a24ad889.js');
18
+ require('./package-74690e82.js');
19
19
 
20
20
  const BusinessDetails = class {
21
21
  constructor(hostRef) {
@@ -14,11 +14,11 @@ require('./Payment-c47ed1e1.js');
14
14
  require('./SubAccount-b4811a8e.js');
15
15
  require('./Document-0b828345.js');
16
16
  const Business = require('./Business-d88b77fd.js');
17
- const Analytics = require('./Analytics-f448aa27.js');
17
+ const Analytics = require('./Analytics-25d07997.js');
18
18
  const button = require('./button-5f6c437f.js');
19
19
  const styledHost = require('./styled-host-94309bab.js');
20
20
  const header1 = require('./header-1-b202dbbb.js');
21
- const checkPkgVersion = require('./check-pkg-version-d75dc147.js');
21
+ const checkPkgVersion = require('./check-pkg-version-407ee257.js');
22
22
  const skeleton = require('./skeleton-84102a44.js');
23
23
  const eventTypes = require('./event-types-180a85a9.js');
24
24
  require('./schema-validations-47a256f4.js');
@@ -27,7 +27,7 @@ require('./business-form-options-62e9c8ab.js');
27
27
  require('./utils-337befa9.js');
28
28
  require('./Dispute-eb6bad54.js');
29
29
  require('./helpers-602962eb.js');
30
- require('./package-a24ad889.js');
30
+ require('./package-74690e82.js');
31
31
  require('./parts-c2655003.js');
32
32
 
33
33
  const businessFormSchema = index_esm.create$3(Object.assign(Object.assign({}, businessAdditionalQuestionsSchema.businessCoreInfoSchema().fields), { legal_address: businessIdentitySchema.addressSchema(), additional_questions: businessAdditionalQuestionsSchema.additionalQuestionsSchema(), representative: businessIdentitySchema.identitySchema('representative') }));
@@ -113,7 +113,7 @@ const BusinessForm = class {
113
113
  if (!this.businessId)
114
114
  console.error(missingBusinessIdMessage);
115
115
  this.formController = new index_esm.FormController(businessFormSchema);
116
- this.api = Api.Api({ authToken: this.authToken, apiOrigin: undefined });
116
+ this.api = Api.Api({ authToken: this.authToken, apiOrigin: "https://wc-proxy.justifi.ai" });
117
117
  this.fetchData();
118
118
  }
119
119
  disconnectedCallback() {
@@ -5,9 +5,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  const index = require('./index-5b9a3b5f.js');
6
6
  const ComponentError = require('./ComponentError-233ac749.js');
7
7
  const utils = require('./utils-7a478c37.js');
8
- const checkout_service = require('./checkout.service-aa037531.js');
9
- const Analytics = require('./Analytics-f448aa27.js');
10
- const checkPkgVersion = require('./check-pkg-version-d75dc147.js');
8
+ const checkout_service = require('./checkout.service-b23994d2.js');
9
+ const Analytics = require('./Analytics-25d07997.js');
10
+ const checkPkgVersion = require('./check-pkg-version-407ee257.js');
11
11
  require('./Api-f5280a80.js');
12
12
  require('./Checkout-1c07dc32.js');
13
13
  require('./utils-337befa9.js');
@@ -16,7 +16,7 @@ require('./Payment-c47ed1e1.js');
16
16
  require('./Dispute-eb6bad54.js');
17
17
  require('./SubAccount-b4811a8e.js');
18
18
  require('./Document-0b828345.js');
19
- require('./package-a24ad889.js');
19
+ require('./package-74690e82.js');
20
20
 
21
21
  const makeGetCheckout = ({ authToken, checkoutId, service }) => async ({ onSuccess, onError }) => {
22
22
  var _a;
@@ -84,7 +84,7 @@ const Checkout = class {
84
84
  this.disableBnpl = undefined;
85
85
  this.disablePaymentMethodGroup = undefined;
86
86
  this.hideCardBillingForm = undefined;
87
- this.iframeOrigin = undefined;
87
+ this.iframeOrigin = "https://components.justifi.ai/v2";
88
88
  this.getCheckout = undefined;
89
89
  this.complete = undefined;
90
90
  this.errorMessage = '';
@@ -10,15 +10,15 @@ require('./Payment-c47ed1e1.js');
10
10
  require('./SubAccount-b4811a8e.js');
11
11
  require('./Document-0b828345.js');
12
12
  const utils = require('./utils-7a478c37.js');
13
- const checkPkgVersion = require('./check-pkg-version-d75dc147.js');
14
- const Analytics = require('./Analytics-f448aa27.js');
15
- const checkout_service = require('./checkout.service-aa037531.js');
16
- const getSubaccounts = require('./get-subaccounts-cc933b3e.js');
13
+ const checkPkgVersion = require('./check-pkg-version-407ee257.js');
14
+ const Analytics = require('./Analytics-25d07997.js');
15
+ const checkout_service = require('./checkout.service-b23994d2.js');
16
+ const getSubaccounts = require('./get-subaccounts-b2e6ab82.js');
17
17
  const styledHost = require('./styled-host-94309bab.js');
18
18
  const checkoutsTable = require('./checkouts-table-cf3e245e.js');
19
19
  require('./utils-337befa9.js');
20
20
  require('./Dispute-eb6bad54.js');
21
- require('./package-a24ad889.js');
21
+ require('./package-74690e82.js');
22
22
  require('./Api-f5280a80.js');
23
23
  require('./badge-86a6a7f8.js');
24
24
  require('./parts-c2655003.js');
@@ -65,7 +65,7 @@ const CheckoutsList = class {
65
65
  this.errorMessage = null;
66
66
  this.accountId = undefined;
67
67
  this.authToken = undefined;
68
- this.apiOrigin = undefined;
68
+ this.apiOrigin = "https://wc-proxy.justifi.ai";
69
69
  this.columns = checkoutsTable.defaultColumnsKeys;
70
70
  }
71
71
  componentWillLoad() {
@@ -4,12 +4,12 @@ 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 Dispute = require('./Dispute-eb6bad54.js');
10
10
  const utils = require('./utils-7a478c37.js');
11
- const dispute_service = require('./dispute.service-27dcd7f4.js');
12
- require('./package-a24ad889.js');
11
+ const dispute_service = require('./dispute.service-c192dd33.js');
12
+ require('./package-74690e82.js');
13
13
  require('./Api-f5280a80.js');
14
14
  require('./Checkout-1c07dc32.js');
15
15
  require('./utils-337befa9.js');
@@ -57,7 +57,7 @@ const DisputeManagement = class {
57
57
  };
58
58
  this.disputeId = undefined;
59
59
  this.authToken = undefined;
60
- this.apiOrigin = undefined;
60
+ this.apiOrigin = "https://wc-proxy.justifi.ai";
61
61
  this.getDispute = undefined;
62
62
  this.errorMessage = null;
63
63
  }
@@ -10,10 +10,10 @@ const styledHost = require('./styled-host-94309bab.js');
10
10
  const skeleton = require('./skeleton-84102a44.js');
11
11
  const ComponentError = require('./ComponentError-233ac749.js');
12
12
  const utils = require('./utils-7a478c37.js');
13
- const dispute_service = require('./dispute.service-27dcd7f4.js');
13
+ const dispute_service = require('./dispute.service-c192dd33.js');
14
14
  const eventTypes = require('./event-types-8edaabbb.js');
15
- const checkPkgVersion = require('./check-pkg-version-d75dc147.js');
16
- const Analytics = require('./Analytics-f448aa27.js');
15
+ const checkPkgVersion = require('./check-pkg-version-407ee257.js');
16
+ const Analytics = require('./Analytics-25d07997.js');
17
17
  require('./Api-f5280a80.js');
18
18
  require('./Checkout-1c07dc32.js');
19
19
  require('./Pagination-0da8f095.js');
@@ -21,7 +21,7 @@ require('./Payment-c47ed1e1.js');
21
21
  require('./Dispute-eb6bad54.js');
22
22
  require('./SubAccount-b4811a8e.js');
23
23
  require('./Document-0b828345.js');
24
- require('./package-a24ad889.js');
24
+ require('./package-74690e82.js');
25
25
 
26
26
  const makeUpdateDisputeResponse = ({ authToken, disputeId, service }) => async ({ payload, onSuccess, onError, final = () => { } }) => {
27
27
  var _a;
@@ -164,7 +164,7 @@ const DisputeResponse = class {
164
164
  this.authToken = undefined;
165
165
  this.disputeId = undefined;
166
166
  this.disputeResponse = undefined;
167
- this.apiOrigin = undefined;
167
+ this.apiOrigin = "https://wc-proxy.justifi.ai";
168
168
  }
169
169
  componentWillLoad() {
170
170
  checkPkgVersion.checkPkgVersion();
@@ -7,14 +7,14 @@ const Api = require('./Api-f5280a80.js');
7
7
  const ComponentError = require('./ComponentError-233ac749.js');
8
8
  const utils = require('./utils-7a478c37.js');
9
9
  const utils$1 = require('./utils-7c5b2837.js');
10
- const Analytics = require('./Analytics-f448aa27.js');
11
- const checkPkgVersion = require('./check-pkg-version-d75dc147.js');
10
+ const Analytics = require('./Analytics-25d07997.js');
11
+ const checkPkgVersion = require('./check-pkg-version-407ee257.js');
12
12
  require('./parts-c2655003.js');
13
- require('./package-a24ad889.js');
13
+ require('./package-74690e82.js');
14
14
 
15
15
  class ReportsService {
16
16
  async fetchGrossVolumeChartData(accountId, authToken) {
17
- const api = Api.Api({ authToken: authToken, apiOrigin: undefined });
17
+ const api = Api.Api({ authToken: authToken, apiOrigin: "https://wc-proxy.justifi.ai" });
18
18
  const endpoint = `account/${accountId}/reports/gross_volume`;
19
19
  return api.get(endpoint);
20
20
  }
@@ -6,14 +6,14 @@ const index = require('./index-5b9a3b5f.js');
6
6
  const parts = require('./parts-c2655003.js');
7
7
  const styledHost = require('./styled-host-94309bab.js');
8
8
  const utils = require('./utils-7c5b2837.js');
9
- const checkPkgVersion = require('./check-pkg-version-d75dc147.js');
10
- const Analytics = require('./Analytics-f448aa27.js');
9
+ const checkPkgVersion = require('./check-pkg-version-407ee257.js');
10
+ const Analytics = require('./Analytics-25d07997.js');
11
11
  const ComponentError = require('./ComponentError-233ac749.js');
12
- const business_service = require('./business.service-6b05ee96.js');
12
+ const business_service = require('./business.service-776142b1.js');
13
13
  const Business = require('./Business-d88b77fd.js');
14
14
  const getBusiness = require('./get-business-0bd063d2.js');
15
15
  const skeleton = require('./skeleton-84102a44.js');
16
- require('./package-a24ad889.js');
16
+ require('./package-74690e82.js');
17
17
  require('./Api-f5280a80.js');
18
18
  require('./helpers-602962eb.js');
19
19
  require('./state-options-4fbcb48a.js');
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-5b9a3b5f.js');
6
6
  const paymentProvisioningActions = require('./payment-provisioning-actions-382ab48c.js');
7
- const business_service = require('./business.service-6b05ee96.js');
7
+ const business_service = require('./business.service-776142b1.js');
8
8
  const index_esm = require('./index.esm-a397536a.js');
9
9
  const Business = require('./Business-d88b77fd.js');
10
10
  const businessIdentitySchema = require('./business-identity-schema-3b4d16f1.js');
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-5b9a3b5f.js');
6
- const payment_service = require('./payment.service-65fbac72.js');
6
+ const payment_service = require('./payment.service-f53022c3.js');
7
7
  const ComponentError = require('./ComponentError-233ac749.js');
8
8
  require('./Checkout-1c07dc32.js');
9
9
  require('./Pagination-0da8f095.js');
@@ -12,13 +12,13 @@ require('./SubAccount-b4811a8e.js');
12
12
  require('./Document-0b828345.js');
13
13
  const utils = require('./utils-7a478c37.js');
14
14
  const utils$1 = require('./utils-7c5b2837.js');
15
- const Analytics = require('./Analytics-f448aa27.js');
16
- const checkPkgVersion = require('./check-pkg-version-d75dc147.js');
15
+ const Analytics = require('./Analytics-25d07997.js');
16
+ const checkPkgVersion = require('./check-pkg-version-407ee257.js');
17
17
  require('./Api-f5280a80.js');
18
18
  require('./utils-337befa9.js');
19
19
  require('./Dispute-eb6bad54.js');
20
20
  require('./parts-c2655003.js');
21
- require('./package-a24ad889.js');
21
+ require('./package-74690e82.js');
22
22
 
23
23
  const makeGetPaymentDetails = ({ id, authToken, service }) => async ({ onSuccess, onError }) => {
24
24
  var _a;
@@ -3,13 +3,13 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-5b9a3b5f.js');
6
- const Analytics = require('./Analytics-f448aa27.js');
6
+ const Analytics = require('./Analytics-25d07997.js');
7
7
  const ComponentError = require('./ComponentError-233ac749.js');
8
8
  const paymentProvisioningActions = require('./payment-provisioning-actions-382ab48c.js');
9
- const business_service = require('./business.service-6b05ee96.js');
9
+ const business_service = require('./business.service-776142b1.js');
10
10
  const Api = require('./Api-f5280a80.js');
11
- const checkPkgVersion = require('./check-pkg-version-d75dc147.js');
12
- require('./package-a24ad889.js');
11
+ const checkPkgVersion = require('./check-pkg-version-407ee257.js');
12
+ require('./package-74690e82.js');
13
13
  require('./utils-7a478c37.js');
14
14
 
15
15
  class ProvisionService {
@@ -19,7 +19,7 @@ class ProvisionService {
19
19
  business_id: businessId,
20
20
  product_category: product,
21
21
  };
22
- return Api.Api({ authToken, apiOrigin: undefined }).post(endpoint, payload);
22
+ return Api.Api({ authToken, apiOrigin: "https://wc-proxy.justifi.ai" }).post(endpoint, payload);
23
23
  }
24
24
  }
25
25
 
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-5b9a3b5f.js');
6
- const payment_service = require('./payment.service-65fbac72.js');
6
+ const payment_service = require('./payment.service-f53022c3.js');
7
7
  const ComponentError = require('./ComponentError-233ac749.js');
8
8
  require('./Checkout-1c07dc32.js');
9
9
  require('./Pagination-0da8f095.js');
@@ -11,14 +11,14 @@ const Payment = require('./Payment-c47ed1e1.js');
11
11
  require('./SubAccount-b4811a8e.js');
12
12
  require('./Document-0b828345.js');
13
13
  const utils = require('./utils-7a478c37.js');
14
- const Analytics = require('./Analytics-f448aa27.js');
15
- const checkPkgVersion = require('./check-pkg-version-d75dc147.js');
14
+ const Analytics = require('./Analytics-25d07997.js');
15
+ const checkPkgVersion = require('./check-pkg-version-407ee257.js');
16
16
  const styledHost = require('./styled-host-94309bab.js');
17
17
  const paymentsTable = require('./payments-table-c58e3ca8.js');
18
18
  require('./Api-f5280a80.js');
19
19
  require('./utils-337befa9.js');
20
20
  require('./Dispute-eb6bad54.js');
21
- require('./package-a24ad889.js');
21
+ require('./package-74690e82.js');
22
22
  require('./payments-status-92abe577.js');
23
23
  require('./badge-86a6a7f8.js');
24
24
  require('./parts-c2655003.js');
@@ -67,7 +67,7 @@ const PaymentsList = class {
67
67
  this.errorMessage = null;
68
68
  this.accountId = undefined;
69
69
  this.authToken = undefined;
70
- this.apiOrigin = undefined;
70
+ this.apiOrigin = "https://wc-proxy.justifi.ai";
71
71
  this.columns = paymentsTable.defaultColumnsKeys;
72
72
  }
73
73
  componentWillLoad() {
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-5b9a3b5f.js');
6
- const getPayoutCsv = require('./get-payout-csv-7646128d.js');
6
+ const getPayoutCsv = require('./get-payout-csv-78297c3a.js');
7
7
  const ComponentError = require('./ComponentError-233ac749.js');
8
8
  require('./Checkout-1c07dc32.js');
9
9
  require('./Pagination-0da8f095.js');
@@ -12,13 +12,13 @@ const SubAccount = require('./SubAccount-b4811a8e.js');
12
12
  require('./Document-0b828345.js');
13
13
  const utils = require('./utils-7a478c37.js');
14
14
  const utils$1 = require('./utils-7c5b2837.js');
15
- const Analytics = require('./Analytics-f448aa27.js');
16
- const checkPkgVersion = require('./check-pkg-version-d75dc147.js');
15
+ const Analytics = require('./Analytics-25d07997.js');
16
+ const checkPkgVersion = require('./check-pkg-version-407ee257.js');
17
17
  require('./Api-f5280a80.js');
18
18
  require('./utils-337befa9.js');
19
19
  require('./Dispute-eb6bad54.js');
20
20
  require('./parts-c2655003.js');
21
- require('./package-a24ad889.js');
21
+ require('./package-74690e82.js');
22
22
 
23
23
  const makeGetPayoutDetails = ({ id, authToken, service }) => async ({ onSuccess, onError }) => {
24
24
  var _a;
@@ -4,19 +4,19 @@ 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');
9
- const getPayoutCsv = require('./get-payout-csv-7646128d.js');
7
+ const Analytics = require('./Analytics-25d07997.js');
8
+ const checkPkgVersion = require('./check-pkg-version-407ee257.js');
9
+ const getPayoutCsv = require('./get-payout-csv-78297c3a.js');
10
10
  require('./Checkout-1c07dc32.js');
11
11
  require('./Pagination-0da8f095.js');
12
12
  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 payoutsTable = require('./payouts-table-70fc1498.js');
19
- require('./package-a24ad889.js');
19
+ require('./package-74690e82.js');
20
20
  require('./Api-f5280a80.js');
21
21
  require('./utils-337befa9.js');
22
22
  require('./Dispute-eb6bad54.js');
@@ -73,7 +73,7 @@ const PayoutsList = class {
73
73
  this.errorMessage = null;
74
74
  this.accountId = undefined;
75
75
  this.authToken = undefined;
76
- this.apiOrigin = undefined;
76
+ this.apiOrigin = "https://wc-proxy.justifi.ai";
77
77
  this.columns = payoutsTable.defaultColumnsKeys;
78
78
  }
79
79
  componentWillLoad() {
@@ -95,7 +95,7 @@ const RefundForm = class {
95
95
  if (!this.authToken) {
96
96
  console.warn('Warning: Missing auth-token.');
97
97
  }
98
- this.api = Api.Api({ authToken: this.authToken, apiOrigin: undefined });
98
+ this.api = Api.Api({ authToken: this.authToken, apiOrigin: "https://wc-proxy.justifi.ai" });
99
99
  }
100
100
  render() {
101
101
  var _a;
@@ -11,20 +11,20 @@ require('./Payment-c47ed1e1.js');
11
11
  require('./SubAccount-b4811a8e.js');
12
12
  require('./Document-0b828345.js');
13
13
  const utils = require('./utils-7a478c37.js');
14
- const Analytics = require('./Analytics-f448aa27.js');
15
- const checkPkgVersion = require('./check-pkg-version-d75dc147.js');
14
+ const Analytics = require('./Analytics-25d07997.js');
15
+ const checkPkgVersion = require('./check-pkg-version-407ee257.js');
16
16
  require('./utils-337befa9.js');
17
17
  require('./Dispute-eb6bad54.js');
18
- require('./package-a24ad889.js');
18
+ require('./package-74690e82.js');
19
19
 
20
20
  class InsuranceService {
21
21
  async fetchQuote(authToken, payload) {
22
22
  const endpoint = 'insurance/quotes';
23
- return Api.Api({ authToken, apiOrigin: undefined }).post(endpoint, payload);
23
+ return Api.Api({ authToken, apiOrigin: "https://wc-proxy.justifi.ai" }).post(endpoint, payload);
24
24
  }
25
25
  async toggleCoverage(authToken, quoteId, payload) {
26
26
  const endpoint = `insurance/quotes/${quoteId}/toggle`;
27
- return Api.Api({ authToken, apiOrigin: undefined }).post(endpoint, payload);
27
+ return Api.Api({ authToken, apiOrigin: "https://wc-proxy.justifi.ai" }).post(endpoint, payload);
28
28
  }
29
29
  }
30
30
 
@@ -4,9 +4,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-5b9a3b5f.js');
6
6
  const styledHost = require('./styled-host-94309bab.js');
7
- const checkPkgVersion = require('./check-pkg-version-d75dc147.js');
7
+ const checkPkgVersion = require('./check-pkg-version-407ee257.js');
8
8
  const terminalOrdersTable = require('./terminal-orders-table-61081532.js');
9
- require('./package-a24ad889.js');
9
+ require('./package-74690e82.js');
10
10
  require('./parts-c2655003.js');
11
11
 
12
12
  const TerminalOrdersList = class {
@@ -16,7 +16,7 @@ const TerminalOrdersList = class {
16
16
  this.errorMessage = null;
17
17
  this.businessId = undefined;
18
18
  this.authToken = undefined;
19
- this.apiOrigin = undefined;
19
+ this.apiOrigin = "https://wc-proxy.justifi.ai";
20
20
  this.columns = terminalOrdersTable.defaultColumnsKeys;
21
21
  }
22
22
  componentWillLoad() {