@justifi/webcomponents 6.9.0 → 6.10.0

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 (533) hide show
  1. package/dist/cjs/{Api-CVbEWBG6.js → Api-Bukk55YZ.js} +1 -1
  2. package/dist/cjs/{Business-CB8EVrhD.js → Business-oBifyXkW.js} +3 -31
  3. package/dist/cjs/{Plaid-DxPvVu0H.js → Plaid-B_UkFjIV.js} +3 -295
  4. package/dist/cjs/additional-questions-details_5.cjs.entry.js +3 -3
  5. package/dist/cjs/{badge-xJttyTNv.js → badge-Cl6qJPK_.js} +1 -1
  6. package/dist/cjs/bank-account-document-form-inputs_9.cjs.entry.js +16 -17
  7. package/dist/cjs/bank-account-form.cjs.entry.js +3 -3
  8. package/dist/cjs/{business-additional-questions-schema-Cnh6AXQU.js → business-additional-questions-schema-CI80eZLJ.js} +5 -5
  9. package/dist/cjs/business-details-core.cjs.entry.js +3 -3
  10. package/dist/cjs/{business-form-options-B3CbEmdc.js → business-form-options-D_nM7NDk.js} +1 -1
  11. package/dist/cjs/{business-identity-schema-0jg2Thn9.js → business-identity-schema-DWWtSiUF.js} +3 -3
  12. package/dist/cjs/{business.service-zGEitIbP.js → business.service-Kplx8w_D.js} +3 -3
  13. package/dist/cjs/{button-BlYRmuPs.js → button-Cr3iHpyf.js} +1 -1
  14. package/dist/cjs/card-form.cjs.entry.js +3 -3
  15. package/dist/cjs/{check-pkg-version-DYPDNKpa.js → check-pkg-version-DjlvidPw.js} +4 -4
  16. package/dist/cjs/{checkout.service-DT13pWxH.js → checkout.service-B2toaeKY.js} +3 -3
  17. package/dist/cjs/checkout.store-zTfjieKa.js +111 -0
  18. package/dist/cjs/checkouts-list-core.cjs.entry.js +8 -9
  19. package/dist/cjs/{checkouts-table-sE8amz4g.js → checkouts-table-CXgizBib.js} +3 -3
  20. package/dist/cjs/{country-config-ETD-7Wb7.js → country-config-D7fss2oF.js} +1 -1
  21. package/dist/cjs/custom-popper_2.cjs.entry.js +3 -3
  22. package/dist/cjs/{dispute.service-GDUl1Wjs.js → dispute.service-C4n1SOsu.js} +3 -3
  23. package/dist/cjs/form-alert_5.cjs.entry.js +4 -4
  24. package/dist/cjs/form-control-checkbox.cjs.entry.js +3 -3
  25. package/dist/cjs/form-control-date.cjs.entry.js +4 -4
  26. package/dist/cjs/{form-control-error-text-DukLkr-1.js → form-control-error-text-6-HeM6bw.js} +1 -1
  27. package/dist/cjs/form-control-file-v2_2.cjs.entry.js +5 -5
  28. package/dist/cjs/{form-control-help-text-BylrKCQO.js → form-control-help-text-D0LaZkGk.js} +1 -1
  29. package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +3 -3
  30. package/dist/cjs/form-control-monetary.cjs.entry.js +6 -6
  31. package/dist/cjs/form-control-number-masked_3.cjs.entry.js +6 -6
  32. package/dist/cjs/form-control-number_3.cjs.entry.js +13 -13
  33. package/dist/cjs/form-control-radio.cjs.entry.js +3 -3
  34. package/dist/cjs/form-control-select_2.cjs.entry.js +4 -4
  35. package/dist/cjs/{get-business-CP0ALW9n.js → get-business-DF-XBH8G.js} +1 -1
  36. package/dist/cjs/{get-payment-details-IA5Toi7Z.js → get-payment-details-Atcodhcd.js} +2 -2
  37. package/dist/cjs/{get-subaccounts-DiGMPvU0.js → get-subaccounts-BUyf9EhG.js} +3 -3
  38. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +4 -4
  39. package/dist/cjs/{header-1-BHbPS-jr.js → header-1-BOijdmPN.js} +1 -1
  40. package/dist/cjs/{header-3-DEAkFNHs.js → header-3-FeTJjrR1.js} +1 -1
  41. package/dist/cjs/hidden-input_2.cjs.entry.js +7 -7
  42. package/dist/cjs/{index.esm-ByC0D4sJ.js → index.esm-C1ZPG85l.js} +18 -0
  43. package/dist/cjs/{input-handlers-gV1LyFy3.js → input-handlers-_51J5q7J.js} +1 -1
  44. package/dist/cjs/{insurance-state-C2diJME7.js → insurance-state-DIV_moDI.js} +1 -1
  45. package/dist/cjs/internal-tokenize-payment-method_7.cjs.entry.js +23 -22
  46. package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +26 -18
  47. package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +2 -2
  48. package/dist/cjs/justifi-apple-pay_8.cjs.entry.js +209 -810
  49. package/dist/cjs/justifi-bank-account-billing-form-simple_3.cjs.entry.js +7 -7
  50. package/dist/cjs/justifi-business-details.cjs.entry.js +10 -11
  51. package/dist/cjs/justifi-business-form.cjs.entry.js +18 -19
  52. package/dist/cjs/justifi-checkout.cjs.entry.js +17 -16
  53. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +4 -5
  54. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +11 -12
  55. package/dist/cjs/justifi-details.cjs.entry.js +2 -2
  56. package/dist/cjs/justifi-dispute-management.cjs.entry.js +7 -8
  57. package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +10 -11
  58. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +8 -9
  59. package/dist/cjs/justifi-order-terminals.cjs.entry.js +12 -13
  60. package/dist/cjs/justifi-payment-details.cjs.entry.js +10 -11
  61. package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +5 -5
  62. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +30 -24
  63. package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +11 -12
  64. package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +15 -4
  65. package/dist/cjs/justifi-payments-list.cjs.entry.js +12 -13
  66. package/dist/cjs/justifi-payout-details.cjs.entry.js +9 -10
  67. package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +11 -12
  68. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +22 -4
  69. package/dist/cjs/justifi-payouts-list.cjs.entry.js +13 -14
  70. package/dist/cjs/justifi-refund-payment.cjs.entry.js +12 -13
  71. package/dist/cjs/justifi-saved-payment-method.cjs.entry.js +1 -1
  72. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +13 -12
  73. package/dist/cjs/justifi-skeleton.cjs.entry.js +3 -3
  74. package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +6 -7
  75. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +10 -11
  76. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +5 -6
  77. package/dist/cjs/justifi-terminals-list.cjs.entry.js +12 -13
  78. package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +1 -1
  79. package/dist/cjs/loader.cjs.js +1 -1
  80. package/dist/cjs/{package-BvYokEHF.js → package-C5inXJfW.js} +1 -1
  81. package/dist/cjs/pagination-menu.cjs.entry.js +1 -1
  82. package/dist/cjs/{parts-DtJdaXeM.js → parts-C0AyF3nd.js} +8 -0
  83. package/dist/cjs/payment-details-core.cjs.entry.js +16 -17
  84. package/dist/cjs/payment-method-option.cjs.entry.js +2 -2
  85. package/dist/cjs/{payment-provisioning-actions-CZVlnRA0.js → payment-provisioning-actions-J6TGZZb9.js} +2 -0
  86. package/dist/cjs/{payment-provisioning-loading-hyJJ0bBW.js → payment-provisioning-loading-CbcFPETB.js} +1 -1
  87. package/dist/cjs/{payment.service-QODfB293.js → payment.service-CxSGTv_O.js} +3 -3
  88. package/dist/cjs/payments-list-core.cjs.entry.js +11 -11
  89. package/dist/cjs/{payments-status-WKcRbqRT.js → payments-status-EZ95BQex.js} +1 -1
  90. package/dist/cjs/{payments-table-DayHhWCE.js → payments-table-D5Hw3JDe.js} +3 -3
  91. package/dist/cjs/payout-details-core.cjs.entry.js +10 -10
  92. package/dist/cjs/{payout.service-k7GBuYzk.js → payout.service-CO2wDM6M.js} +3 -3
  93. package/dist/cjs/payouts-list-core.cjs.entry.js +10 -11
  94. package/dist/cjs/{payouts-status-DXeHIDMX.js → payouts-status-D1IbE3-c.js} +1 -1
  95. package/dist/cjs/{payouts-table-B1ShNA4P.js → payouts-table-DmVthJLU.js} +3 -3
  96. package/dist/cjs/{plaid-icon-DTpONc_Q.js → plaid-icon-DiZrP1DM.js} +3 -3
  97. package/dist/cjs/{schema-validations-BakyfJpE.js → schema-validations-_yWWnnaG.js} +4 -4
  98. package/dist/cjs/{skeleton-B-Otnf5t.js → skeleton-C9Aio7v_.js} +1 -1
  99. package/dist/cjs/{spinner-B1rgGfdc.js → spinner-oLSXKwxU.js} +1 -1
  100. package/dist/cjs/{table-CNGkG0a8.js → table-CEW0_wq-.js} +2 -2
  101. package/dist/cjs/table-filters-menu.cjs.entry.js +2 -2
  102. package/dist/cjs/terminal-orders-list-core.cjs.entry.js +9 -10
  103. package/dist/cjs/{terminal-orders-table-Aj4dJNdG.js → terminal-orders-table-DPHz95-0.js} +5 -5
  104. package/dist/cjs/terminal-quantity-selector.cjs.entry.js +2 -2
  105. package/dist/cjs/{terminal.service-A90K3XNq.js → terminal.service-CUVwCH-a.js} +3 -3
  106. package/dist/cjs/terminals-list-core.cjs.entry.js +9 -10
  107. package/dist/cjs/{terminals-table-aQQov5qX.js → terminals-table-C6rm50Mk.js} +3 -3
  108. package/dist/cjs/{utils-D4WPxuzW.js → utils-BHi4j5rB.js} +28 -0
  109. package/dist/cjs/{utils-cLBudEdA.js → utils-Vwo0VR7n.js} +1 -1
  110. package/dist/cjs/webcomponents.cjs.js +1 -1
  111. package/dist/collection/api/Business.js +3 -31
  112. package/dist/collection/api/index.js +0 -1
  113. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +10 -1
  114. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-actions.js +2 -0
  115. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +23 -15
  116. package/dist/collection/components/business-forms/schemas/business-core-info-schema.js +1 -1
  117. package/dist/collection/components/modular-checkout/sub-components/google-pay.js +112 -516
  118. package/dist/collection/components/modular-checkout/sub-components/payment-method-option.js +1 -1
  119. package/dist/collection/components/modular-checkout/sub-components/summary.js +1 -1
  120. package/dist/collection/components/order-terminals/order-terminals.js +1 -1
  121. package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +1 -1
  122. package/dist/collection/components/payment-details/payment-details-core.js +8 -8
  123. package/dist/collection/components/payment-transactions-list/payment-transactions-list.js +1 -1
  124. package/dist/collection/components/payments-list/payments-list-core.js +2 -1
  125. package/dist/collection/components/payments-list/payments-list-filters.js +71 -3
  126. package/dist/collection/components/payments-list/payments-list.js +1 -1
  127. package/dist/collection/components/payout-details/payout-details-core.js +3 -3
  128. package/dist/collection/components/payout-transactions-list/payout-transactions-list.js +1 -1
  129. package/dist/collection/components/payouts-list/payouts-list-core.js +1 -1
  130. package/dist/collection/components/payouts-list/payouts-list-filters.js +35 -3
  131. package/dist/collection/components/payouts-list/payouts-list.js +1 -1
  132. package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +1 -1
  133. package/dist/collection/components/terminal-orders-list/terminal-orders-list-filters.js +2 -2
  134. package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +1 -1
  135. package/dist/collection/components/terminals-list/terminals-list-core.js +1 -1
  136. package/dist/collection/components/terminals-list/terminals-list-filters.js +1 -1
  137. package/dist/collection/components/terminals-list/terminals-list.js +1 -1
  138. package/dist/collection/components/tokenize-payment-method/internal-tokenize-payment-method.js +1 -1
  139. package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +1 -1
  140. package/dist/collection/styles/parts.js +4 -0
  141. package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
  142. package/dist/collection/ui-components/form/form-control-date.js +2 -2
  143. package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
  144. package/dist/collection/ui-components/form/form-control-file.js +2 -2
  145. package/dist/collection/ui-components/form/form-control-monetary.js +2 -2
  146. package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
  147. package/dist/collection/ui-components/form/form-control-number.js +2 -2
  148. package/dist/collection/ui-components/form/form-control-radio.js +2 -2
  149. package/dist/collection/ui-components/form/form-control-text.js +2 -2
  150. package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
  151. package/dist/collection/ui-components/form/form.js +18 -0
  152. package/dist/collection/ui-components/form/hidden-input.js +1 -1
  153. package/dist/collection/ui-components/form/iframe-input.js +3 -3
  154. package/dist/collection/ui-components/shadow-dom-components/justifi-button.js +1 -1
  155. package/dist/collection/ui-components/shadow-dom-components/justifi-header.js +1 -1
  156. package/dist/collection/ui-components/shadow-dom-components/justifi-skeleton.js +1 -1
  157. package/dist/collection/utils/utils.js +27 -0
  158. package/dist/docs.json +118 -441
  159. package/dist/esm/{Api-ohkSjyhl.js → Api-CLZVsXZg.js} +1 -1
  160. package/dist/esm/{Business-GgW1g7FQ.js → Business-BcNb9bVO.js} +3 -31
  161. package/dist/esm/{Plaid-CBrksnBN.js → Plaid-Cmyilr-q.js} +2 -286
  162. package/dist/esm/additional-questions-details_5.entry.js +3 -3
  163. package/dist/esm/{badge-C1EiQTzO.js → badge-AZ7Z3PKH.js} +1 -1
  164. package/dist/esm/bank-account-document-form-inputs_9.entry.js +16 -17
  165. package/dist/esm/bank-account-form.entry.js +3 -3
  166. package/dist/esm/{business-additional-questions-schema-CQ8CuEfQ.js → business-additional-questions-schema-DKudYaoE.js} +5 -5
  167. package/dist/esm/business-details-core.entry.js +3 -3
  168. package/dist/esm/{business-form-options-DamBLV7N.js → business-form-options-DRalxlqN.js} +1 -1
  169. package/dist/esm/{business-identity-schema-BTyJz7M9.js → business-identity-schema-CFhSc0cA.js} +3 -3
  170. package/dist/esm/{business.service-BWm7Kqs4.js → business.service-CS-wQJoN.js} +3 -3
  171. package/dist/esm/{button-BcuzSsnr.js → button-DOkTCYSa.js} +1 -1
  172. package/dist/esm/card-form.entry.js +3 -3
  173. package/dist/esm/{check-pkg-version-DU70zoMs.js → check-pkg-version-wgHSN5sV.js} +4 -4
  174. package/dist/esm/{checkout.service-D4Mljqjr.js → checkout.service-BcQ_onZq.js} +3 -3
  175. package/dist/esm/checkout.store-iNkW80yV.js +105 -0
  176. package/dist/esm/checkouts-list-core.entry.js +8 -9
  177. package/dist/esm/{checkouts-table-BPrSrgLm.js → checkouts-table-C5aYyqpX.js} +3 -3
  178. package/dist/esm/{country-config-D-9YmU94.js → country-config-P042rrI3.js} +1 -1
  179. package/dist/esm/custom-popper_2.entry.js +3 -3
  180. package/dist/esm/{dispute.service-ZpqfPDC0.js → dispute.service-B_oe0uFV.js} +3 -3
  181. package/dist/esm/form-alert_5.entry.js +4 -4
  182. package/dist/esm/form-control-checkbox.entry.js +3 -3
  183. package/dist/esm/form-control-date.entry.js +4 -4
  184. package/dist/esm/{form-control-error-text-BEfFiFoH.js → form-control-error-text-xEskXF-M.js} +1 -1
  185. package/dist/esm/form-control-file-v2_2.entry.js +5 -5
  186. package/dist/esm/{form-control-help-text-CC-MQWel.js → form-control-help-text-Dgnv4IId.js} +1 -1
  187. package/dist/esm/form-control-monetary-provisioning.entry.js +3 -3
  188. package/dist/esm/form-control-monetary.entry.js +6 -6
  189. package/dist/esm/form-control-number-masked_3.entry.js +6 -6
  190. package/dist/esm/form-control-number_3.entry.js +13 -13
  191. package/dist/esm/form-control-radio.entry.js +3 -3
  192. package/dist/esm/form-control-select_2.entry.js +4 -4
  193. package/dist/esm/{get-business-BMB2IxN_.js → get-business-BtJWpVs_.js} +1 -1
  194. package/dist/esm/{get-payment-details-B71Qi6mF.js → get-payment-details-BdewJSTH.js} +2 -2
  195. package/dist/esm/{get-subaccounts-BYnEN5xd.js → get-subaccounts-BFALCYFr.js} +3 -3
  196. package/dist/esm/gross-payment-chart-core.entry.js +4 -4
  197. package/dist/esm/{header-1-BhMrVhZJ.js → header-1-xlSavD5o.js} +1 -1
  198. package/dist/esm/{header-3-D4YKnb9t.js → header-3-egutsoDI.js} +1 -1
  199. package/dist/esm/hidden-input_2.entry.js +7 -7
  200. package/dist/esm/{index.esm-IWS0494Y.js → index.esm-BHdVU4hV.js} +18 -0
  201. package/dist/esm/{input-handlers-CzWCJ849.js → input-handlers-1lVyzImK.js} +1 -1
  202. package/dist/esm/{insurance-state-DTR-V07V.js → insurance-state-jZTKdt60.js} +1 -1
  203. package/dist/esm/internal-tokenize-payment-method_7.entry.js +12 -11
  204. package/dist/esm/justifi-additional-questions-form-step_9.entry.js +26 -18
  205. package/dist/esm/justifi-additional-statement_8.entry.js +2 -2
  206. package/dist/esm/justifi-apple-pay_8.entry.js +113 -714
  207. package/dist/esm/justifi-bank-account-billing-form-simple_3.entry.js +7 -7
  208. package/dist/esm/justifi-business-details.entry.js +10 -11
  209. package/dist/esm/justifi-business-form.entry.js +18 -19
  210. package/dist/esm/justifi-checkout.entry.js +9 -8
  211. package/dist/esm/justifi-checkouts-list-filters.entry.js +4 -5
  212. package/dist/esm/justifi-checkouts-list.entry.js +11 -12
  213. package/dist/esm/justifi-details.entry.js +2 -2
  214. package/dist/esm/justifi-dispute-management.entry.js +7 -8
  215. package/dist/esm/justifi-dispute-notification_3.entry.js +10 -11
  216. package/dist/esm/justifi-gross-payment-chart.entry.js +8 -9
  217. package/dist/esm/justifi-order-terminals.entry.js +12 -13
  218. package/dist/esm/justifi-payment-details.entry.js +10 -11
  219. package/dist/esm/justifi-payment-provisioning-core.entry.js +5 -5
  220. package/dist/esm/justifi-payment-provisioning.entry.js +30 -24
  221. package/dist/esm/justifi-payment-transactions-list.entry.js +11 -12
  222. package/dist/esm/justifi-payments-list-filters.entry.js +15 -4
  223. package/dist/esm/justifi-payments-list.entry.js +12 -13
  224. package/dist/esm/justifi-payout-details.entry.js +9 -10
  225. package/dist/esm/justifi-payout-transactions-list.entry.js +11 -12
  226. package/dist/esm/justifi-payouts-list-filters.entry.js +22 -4
  227. package/dist/esm/justifi-payouts-list.entry.js +13 -14
  228. package/dist/esm/justifi-refund-payment.entry.js +12 -13
  229. package/dist/esm/justifi-saved-payment-method.entry.js +1 -1
  230. package/dist/esm/justifi-season-interruption-insurance.entry.js +10 -9
  231. package/dist/esm/justifi-skeleton.entry.js +3 -3
  232. package/dist/esm/justifi-terminal-orders-list-filters.entry.js +6 -7
  233. package/dist/esm/justifi-terminal-orders-list.entry.js +10 -11
  234. package/dist/esm/justifi-terminals-list-filters.entry.js +5 -6
  235. package/dist/esm/justifi-terminals-list.entry.js +12 -13
  236. package/dist/esm/justifi-tokenize-payment-method.entry.js +1 -1
  237. package/dist/esm/loader.js +1 -1
  238. package/dist/esm/{package-Cnc2WKdS.js → package-D4eE0MBI.js} +1 -1
  239. package/dist/esm/pagination-menu.entry.js +1 -1
  240. package/dist/esm/{parts-fTIONWal.js → parts-C4FLe2pT.js} +5 -1
  241. package/dist/esm/payment-details-core.entry.js +16 -17
  242. package/dist/esm/payment-method-option.entry.js +2 -2
  243. package/dist/esm/{payment-provisioning-actions-ONP8lDnV.js → payment-provisioning-actions-CBvplwPf.js} +2 -0
  244. package/dist/esm/{payment-provisioning-loading-C5aC-7Xf.js → payment-provisioning-loading-D_VKtlLm.js} +1 -1
  245. package/dist/esm/{payment.service-C2lFq1yV.js → payment.service-Nvz1TYZB.js} +3 -3
  246. package/dist/esm/payments-list-core.entry.js +11 -11
  247. package/dist/esm/{payments-status-ChFodVw0.js → payments-status-D4XkcfLU.js} +1 -1
  248. package/dist/esm/{payments-table-DHYfybe9.js → payments-table-BDaiD836.js} +3 -3
  249. package/dist/esm/payout-details-core.entry.js +10 -10
  250. package/dist/esm/{payout.service-ChupMPKT.js → payout.service-tTxsxoqF.js} +3 -3
  251. package/dist/esm/payouts-list-core.entry.js +10 -11
  252. package/dist/esm/{payouts-status-BFp0DBRt.js → payouts-status-BR1vd6-D.js} +1 -1
  253. package/dist/esm/{payouts-table-CPFbykKY.js → payouts-table-B4nuJlpC.js} +3 -3
  254. package/dist/esm/{plaid-icon-wJLd-2NX.js → plaid-icon-B7a1QC7F.js} +3 -3
  255. package/dist/esm/{schema-validations-CfHWzMvr.js → schema-validations-v6WGlZkq.js} +4 -4
  256. package/dist/esm/{skeleton-C0UU9Mei.js → skeleton-C162KC3u.js} +1 -1
  257. package/dist/esm/{spinner-CkUdH9X9.js → spinner-BfjGGaND.js} +1 -1
  258. package/dist/esm/table-filters-menu.entry.js +2 -2
  259. package/dist/esm/{table-DiZqpIWv.js → table-hHARNoRM.js} +2 -2
  260. package/dist/esm/terminal-orders-list-core.entry.js +9 -10
  261. package/dist/esm/{terminal-orders-table-BwGEq9On.js → terminal-orders-table-B-xs6ocO.js} +5 -5
  262. package/dist/esm/terminal-quantity-selector.entry.js +2 -2
  263. package/dist/esm/{terminal.service-DqibXFHt.js → terminal.service-Dv1-CZ4Y.js} +3 -3
  264. package/dist/esm/terminals-list-core.entry.js +9 -10
  265. package/dist/esm/{terminals-table-BeYpMiBC.js → terminals-table-CnKH-UOw.js} +3 -3
  266. package/dist/esm/{utils-CDaVtz_6.js → utils-7bp92NC7.js} +28 -1
  267. package/dist/esm/{utils-DBWsd4R9.js → utils-BSpK1eMX.js} +1 -1
  268. package/dist/esm/webcomponents.js +1 -1
  269. package/dist/module/Analytics.js +0 -1
  270. package/dist/module/Business.js +3 -31
  271. package/dist/module/Plaid.js +1 -1
  272. package/dist/module/bank-account-document-inputs.js +0 -1
  273. package/dist/module/business-bank-account-form-step.js +1 -2
  274. package/dist/module/business-core-info-form-step.js +10 -1
  275. package/dist/module/business-core-info-schema.js +1 -1
  276. package/dist/module/business-terms-conditions-form-step.js +0 -1
  277. package/dist/module/business.service.js +0 -1
  278. package/dist/module/checkout.service.js +0 -1
  279. package/dist/module/checkouts-list-core2.js +0 -1
  280. package/dist/module/custom-popper2.js +2 -2
  281. package/dist/module/dispute-response-actions.js +0 -1
  282. package/dist/module/form-control-date2.js +2 -2
  283. package/dist/module/form-control-file-v22.js +1 -1
  284. package/dist/module/form-control-file2.js +2 -2
  285. package/dist/module/form-control-monetary2.js +2 -2
  286. package/dist/module/form-control-number-masked2.js +2 -2
  287. package/dist/module/form-control-number2.js +2 -2
  288. package/dist/module/form-control-radio2.js +2 -2
  289. package/dist/module/form-control-text2.js +2 -2
  290. package/dist/module/form-control-textarea2.js +2 -2
  291. package/dist/module/form.js +18 -0
  292. package/dist/module/get-payment-details.js +0 -1
  293. package/dist/module/get-subaccounts.js +0 -1
  294. package/dist/module/google-pay.js +101 -722
  295. package/dist/module/gross-payment-chart-core2.js +1 -1
  296. package/dist/module/hidden-input2.js +1 -1
  297. package/dist/module/iframe-input2.js +3 -3
  298. package/dist/module/internal-tokenize-payment-method2.js +1 -2
  299. package/dist/module/justifi-business-form.js +0 -1
  300. package/dist/module/justifi-button2.js +1 -1
  301. package/dist/module/justifi-checkouts-list-filters.js +0 -1
  302. package/dist/module/justifi-checkouts-list.js +1 -2
  303. package/dist/module/justifi-gross-payment-chart.js +0 -1
  304. package/dist/module/justifi-header2.js +1 -1
  305. package/dist/module/justifi-order-terminals.js +3 -4
  306. package/dist/module/justifi-payment-provisioning.js +23 -16
  307. package/dist/module/justifi-payment-transactions-list.js +2 -3
  308. package/dist/module/justifi-payments-list-filters.js +17 -3
  309. package/dist/module/justifi-payments-list.js +1 -2
  310. package/dist/module/justifi-payout-details.js +1 -2
  311. package/dist/module/justifi-payout-transactions-list.js +2 -3
  312. package/dist/module/justifi-payouts-list-filters.js +31 -7
  313. package/dist/module/justifi-payouts-list.js +2 -3
  314. package/dist/module/justifi-refund-payment.js +1 -2
  315. package/dist/module/justifi-season-interruption-insurance.js +1 -2
  316. package/dist/module/justifi-skeleton.js +1 -1
  317. package/dist/module/justifi-terminal-orders-list-filters.js +4 -5
  318. package/dist/module/justifi-terminal-orders-list.js +2 -3
  319. package/dist/module/justifi-terminals-list-filters.js +3 -4
  320. package/dist/module/justifi-terminals-list.js +2 -3
  321. package/dist/module/justifi-tokenize-payment-method.js +1 -1
  322. package/dist/module/modular-checkout.js +0 -1
  323. package/dist/module/package.js +1 -1
  324. package/dist/module/parts.js +5 -1
  325. package/dist/module/payment-details-core2.js +8 -9
  326. package/dist/module/payment-method-option.js +1 -1
  327. package/dist/module/payment-provisioning-actions.js +2 -0
  328. package/dist/module/payment.service.js +0 -1
  329. package/dist/module/payments-list-core2.js +2 -2
  330. package/dist/module/payout-details-core2.js +3 -3
  331. package/dist/module/payout.service.js +0 -1
  332. package/dist/module/payouts-list-core2.js +1 -2
  333. package/dist/module/plaid.service.js +0 -1
  334. package/dist/module/summary.js +1 -1
  335. package/dist/module/table.js +1 -1
  336. package/dist/module/terminal-orders-list-core2.js +2 -3
  337. package/dist/module/terminal-quantity-selector2.js +1 -1
  338. package/dist/module/terminal.service.js +0 -1
  339. package/dist/module/terminals-list-core2.js +2 -3
  340. package/dist/module/utils2.js +28 -1
  341. package/dist/types/api/Business.d.ts +10 -10
  342. package/dist/types/api/Payment.d.ts +3 -0
  343. package/dist/types/api/Payout.d.ts +1 -0
  344. package/dist/types/api/index.d.ts +0 -1
  345. package/dist/types/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.d.ts +5 -5
  346. package/dist/types/components/modular-checkout/sub-components/google-pay.d.ts +18 -49
  347. package/dist/types/components/payments-list/payments-list-filters.d.ts +7 -0
  348. package/dist/types/components/payouts-list/payouts-list-filters.d.ts +5 -0
  349. package/dist/types/components.d.ts +20 -99
  350. package/dist/types/styles/parts.d.ts +4 -0
  351. package/dist/types/ui-components/form/form.d.ts +2 -0
  352. package/dist/types/utils/utils.d.ts +1 -0
  353. package/dist/webcomponents/p--Kvji7o2.js +1 -0
  354. package/dist/webcomponents/p-05d11c40.entry.js +1 -0
  355. package/dist/webcomponents/p-0e21749b.entry.js +1 -0
  356. package/dist/webcomponents/p-0f1c100d.entry.js +1 -0
  357. package/dist/webcomponents/{p-ab89e764.entry.js → p-11402020.entry.js} +1 -1
  358. package/dist/webcomponents/p-12665340.entry.js +1 -0
  359. package/dist/webcomponents/{p-88eb0648.entry.js → p-154efb83.entry.js} +1 -1
  360. package/dist/webcomponents/p-19f1e643.entry.js +1 -0
  361. package/dist/webcomponents/p-1b973781.entry.js +1 -0
  362. package/dist/webcomponents/p-2438363d.entry.js +1 -0
  363. package/dist/webcomponents/{p-90240aa6.entry.js → p-2b679e5a.entry.js} +1 -1
  364. package/dist/webcomponents/p-2bbd810a.entry.js +1 -0
  365. package/dist/webcomponents/{p-3cc40df9.entry.js → p-2d39358b.entry.js} +1 -1
  366. package/dist/webcomponents/p-300002dd.entry.js +1 -0
  367. package/dist/webcomponents/p-38c1e9fa.entry.js +1 -0
  368. package/dist/webcomponents/p-3971d6b7.entry.js +1 -0
  369. package/dist/webcomponents/{p-0b9b50f8.entry.js → p-402ba9aa.entry.js} +1 -1
  370. package/dist/webcomponents/p-423b63ad.entry.js +1 -0
  371. package/dist/webcomponents/{p-33ceb1cf.entry.js → p-5206cd09.entry.js} +1 -1
  372. package/dist/webcomponents/{p-7a48659c.entry.js → p-52dc271f.entry.js} +1 -1
  373. package/dist/webcomponents/{p-6be6d4ec.entry.js → p-540e2ef2.entry.js} +1 -1
  374. package/dist/webcomponents/{p-y8av3w9x.js → p-55QcjheA.js} +1 -1
  375. package/dist/webcomponents/p-5862236f.entry.js +1 -0
  376. package/dist/webcomponents/p-5cee4e33.entry.js +1 -0
  377. package/dist/webcomponents/p-5d753fd4.entry.js +1 -0
  378. package/dist/webcomponents/{p-CBiNYzSf.js → p-5mt2ek0H.js} +1 -1
  379. package/dist/webcomponents/p-62f9c008.entry.js +1 -0
  380. package/dist/webcomponents/p-6V4e6Fb_.js +1 -0
  381. package/dist/webcomponents/p-6c503a00.entry.js +1 -0
  382. package/dist/webcomponents/p-6d565cd6.entry.js +1 -0
  383. package/dist/webcomponents/p-7769de83.entry.js +1 -0
  384. package/dist/webcomponents/{p-8f29877f.entry.js → p-7e14f6ac.entry.js} +1 -1
  385. package/dist/webcomponents/p-7f3dcd42.entry.js +1 -0
  386. package/dist/webcomponents/{p-3fc100b7.entry.js → p-808bf425.entry.js} +1 -1
  387. package/dist/webcomponents/p-8728065b.entry.js +1 -0
  388. package/dist/webcomponents/p-88c6713a.entry.js +1 -0
  389. package/dist/webcomponents/p-8Wa_-5QM.js +1 -0
  390. package/dist/webcomponents/p-8a42d4fe.entry.js +1 -0
  391. package/dist/webcomponents/p-8c55dac0.entry.js +1 -0
  392. package/dist/webcomponents/{p-3299c8c2.entry.js → p-8e631781.entry.js} +1 -1
  393. package/dist/webcomponents/p-979d22d0.entry.js +1 -0
  394. package/dist/webcomponents/p-9a11f17b.entry.js +1 -0
  395. package/dist/webcomponents/{p-4301e975.entry.js → p-9d69ae9f.entry.js} +3 -3
  396. package/dist/webcomponents/p-BHA4oSi3.js +1 -0
  397. package/dist/webcomponents/p-B_KHnbK8.js +1 -0
  398. package/dist/webcomponents/{p-GgW1g7FQ.js → p-BcNb9bVO.js} +1 -1
  399. package/dist/webcomponents/p-BiNakvsa.js +1 -0
  400. package/dist/webcomponents/p-BoO2BHR_.js +1 -0
  401. package/dist/webcomponents/p-BovgIz83.js +1 -0
  402. package/dist/webcomponents/{p-BZbvHgMz.js → p-Bt4GjEWL.js} +1 -1
  403. package/dist/webcomponents/p-BtFe5yQU.js +1 -0
  404. package/dist/webcomponents/{p--afWnVJc.js → p-C3kbpEIZ.js} +1 -1
  405. package/dist/webcomponents/p-C4FLe2pT.js +1 -0
  406. package/dist/webcomponents/p-C6o0liMT.js +1 -0
  407. package/dist/webcomponents/{p-ShBqgGPM.js → p-CGJ_mnry.js} +1 -1
  408. package/dist/webcomponents/p-CI11WF1E.js +1 -0
  409. package/dist/webcomponents/{p-Bfu8Pqrd.js → p-CIh-k9yP.js} +1 -1
  410. package/dist/webcomponents/{p-Tj4VxUWO.js → p-CJZ09QNH.js} +1 -1
  411. package/dist/webcomponents/{p-DiJD6Iqx.js → p-CKiAlBsU.js} +1 -1
  412. package/dist/webcomponents/{p-g0kDRH6Z.js → p-CMqX6btO.js} +1 -1
  413. package/dist/webcomponents/{p-DowKbhRa.js → p-CbTf_N6u.js} +1 -1
  414. package/dist/webcomponents/{p--cI8fPJx.js → p-CemnnRdZ.js} +1 -1
  415. package/dist/webcomponents/p-CkX7qWsc.js +1 -0
  416. package/dist/webcomponents/p-D4eE0MBI.js +1 -0
  417. package/dist/webcomponents/{p-Y-EhaLdV.js → p-D8EGHc_m.js} +1 -1
  418. package/dist/webcomponents/p-DAZtHA62.js +1 -0
  419. package/dist/webcomponents/{p-YiF4YKVz.js → p-DFiTyYE9.js} +1 -1
  420. package/dist/webcomponents/{p-lDnX3HTT.js → p-DO4RBao8.js} +1 -1
  421. package/dist/webcomponents/{p-DSlxs7BR.js → p-DYEXDs2k.js} +1 -1
  422. package/dist/webcomponents/p-Daew0gTO.js +1 -0
  423. package/dist/webcomponents/p-DqVU8ohH.js +1 -0
  424. package/dist/webcomponents/{p-CWyW004b.js → p-DqtDbB8E.js} +1 -1
  425. package/dist/webcomponents/p-DsT0m0mo.js +1 -0
  426. package/dist/webcomponents/p-DyETkJs3.js +1 -0
  427. package/dist/webcomponents/{p-D6D_29Tw.js → p-DyJ1zSHJ.js} +1 -1
  428. package/dist/webcomponents/p-EaBIgUj8.js +1 -0
  429. package/dist/webcomponents/{p-ygekUw3Q.js → p-HT_4DkD0.js} +1 -1
  430. package/dist/webcomponents/{p-B2v3zyF0.js → p-HfLk4CG0.js} +1 -1
  431. package/dist/webcomponents/{p-wSi5d4-j.js → p-Jz9qdPhR.js} +1 -1
  432. package/dist/webcomponents/{p-B09GVew-.js → p-MeSAYDNh.js} +1 -1
  433. package/dist/webcomponents/p-R0FDNhyd.js +1 -0
  434. package/dist/webcomponents/{p-B1AMrMly.js → p-_-2E_vYf.js} +1 -1
  435. package/dist/webcomponents/{p-5d13c0c0.entry.js → p-a105de67.entry.js} +1 -1
  436. package/dist/webcomponents/{p-f7128387.entry.js → p-afa2ebd9.entry.js} +1 -1
  437. package/dist/webcomponents/p-b4b540fa.entry.js +1 -0
  438. package/dist/webcomponents/p-b54bf8da.entry.js +1 -0
  439. package/dist/webcomponents/p-bcba5950.entry.js +1 -0
  440. package/dist/webcomponents/p-c0592f5f.entry.js +1 -0
  441. package/dist/webcomponents/p-c6a9410d.entry.js +1 -0
  442. package/dist/webcomponents/p-c6aee723.entry.js +1 -0
  443. package/dist/webcomponents/p-c725dc53.entry.js +1 -0
  444. package/dist/webcomponents/{p-5985f6af.entry.js → p-c72c5b99.entry.js} +1 -1
  445. package/dist/webcomponents/p-c7930f9a.entry.js +1 -0
  446. package/dist/webcomponents/{p-412ae576.entry.js → p-cb09959d.entry.js} +1 -1
  447. package/dist/webcomponents/p-d0813f21.entry.js +1 -0
  448. package/dist/webcomponents/p-d62da4f2.entry.js +1 -0
  449. package/dist/webcomponents/p-d766763a.entry.js +1 -0
  450. package/dist/webcomponents/{p-2e1e489f.entry.js → p-d9118b1e.entry.js} +1 -1
  451. package/dist/webcomponents/p-df61f19b.entry.js +1 -0
  452. package/dist/webcomponents/p-e2bc6c68.entry.js +1 -0
  453. package/dist/webcomponents/p-e71e4c49.entry.js +1 -0
  454. package/dist/webcomponents/{p-f90d7db1.entry.js → p-e89d0f36.entry.js} +1 -1
  455. package/dist/webcomponents/p-eEJMJXTG.js +1 -0
  456. package/dist/webcomponents/p-eb1251bf.entry.js +1 -0
  457. package/dist/webcomponents/p-ed4f8027.entry.js +1 -0
  458. package/dist/webcomponents/p-f18e90b1.entry.js +1 -0
  459. package/dist/webcomponents/{p-403b2248.entry.js → p-fbfe6211.entry.js} +1 -1
  460. package/dist/webcomponents/{p-f9af4ade.entry.js → p-ff4d485f.entry.js} +1 -1
  461. package/dist/webcomponents/webcomponents.esm.js +1 -1
  462. package/package.json +1 -1
  463. package/dist/collection/api/GooglePay.js +0 -181
  464. package/dist/collection/api/services/google-pay.service.js +0 -241
  465. package/dist/collection/ui-components/google-pay-button.js +0 -251
  466. package/dist/module/GooglePay.js +0 -184
  467. package/dist/types/api/GooglePay.d.ts +0 -271
  468. package/dist/types/api/services/google-pay.service.d.ts +0 -60
  469. package/dist/types/ui-components/google-pay-button.d.ts +0 -18
  470. package/dist/webcomponents/p-0188cdac.entry.js +0 -1
  471. package/dist/webcomponents/p-0c2728c3.entry.js +0 -1
  472. package/dist/webcomponents/p-130473c3.entry.js +0 -1
  473. package/dist/webcomponents/p-1c044649.entry.js +0 -1
  474. package/dist/webcomponents/p-1c5d1853.entry.js +0 -1
  475. package/dist/webcomponents/p-1d610dba.entry.js +0 -1
  476. package/dist/webcomponents/p-2019fdfd.entry.js +0 -1
  477. package/dist/webcomponents/p-29d056ed.entry.js +0 -1
  478. package/dist/webcomponents/p-2e2494ef.entry.js +0 -1
  479. package/dist/webcomponents/p-36103b16.entry.js +0 -1
  480. package/dist/webcomponents/p-387c76a4.entry.js +0 -1
  481. package/dist/webcomponents/p-3f7cffdc.entry.js +0 -1
  482. package/dist/webcomponents/p-4ddee6a9.entry.js +0 -1
  483. package/dist/webcomponents/p-5087ce6d.entry.js +0 -1
  484. package/dist/webcomponents/p-55af29a1.entry.js +0 -1
  485. package/dist/webcomponents/p-5aA7gjr5.js +0 -1
  486. package/dist/webcomponents/p-5c8bf8a6.entry.js +0 -1
  487. package/dist/webcomponents/p-5dv0txs0.js +0 -1
  488. package/dist/webcomponents/p-6c4be54a.entry.js +0 -1
  489. package/dist/webcomponents/p-6f82657a.entry.js +0 -1
  490. package/dist/webcomponents/p-76919e48.entry.js +0 -1
  491. package/dist/webcomponents/p-88716a35.entry.js +0 -1
  492. package/dist/webcomponents/p-88735d18.entry.js +0 -1
  493. package/dist/webcomponents/p-9484af96.entry.js +0 -1
  494. package/dist/webcomponents/p-96e9f41b.entry.js +0 -1
  495. package/dist/webcomponents/p-9a215fc7.entry.js +0 -1
  496. package/dist/webcomponents/p-9d0b6f34.entry.js +0 -1
  497. package/dist/webcomponents/p-BRPbLfCN.js +0 -1
  498. package/dist/webcomponents/p-BRieSe65.js +0 -1
  499. package/dist/webcomponents/p-Bg7JIRrk.js +0 -1
  500. package/dist/webcomponents/p-By-Mu1IX.js +0 -1
  501. package/dist/webcomponents/p-C0dMwnDO.js +0 -1
  502. package/dist/webcomponents/p-C3dkSx6l.js +0 -1
  503. package/dist/webcomponents/p-Cf0Rt_Os.js +0 -1
  504. package/dist/webcomponents/p-CkYB1zGe.js +0 -1
  505. package/dist/webcomponents/p-Cnc2WKdS.js +0 -1
  506. package/dist/webcomponents/p-CsilKlYU.js +0 -1
  507. package/dist/webcomponents/p-CuaXkS6j.js +0 -1
  508. package/dist/webcomponents/p-DCwnBXF7.js +0 -1
  509. package/dist/webcomponents/p-DKemQxaE.js +0 -1
  510. package/dist/webcomponents/p-DmwvaeZd.js +0 -1
  511. package/dist/webcomponents/p-DqD32M9M.js +0 -1
  512. package/dist/webcomponents/p-MVBgKFOv.js +0 -1
  513. package/dist/webcomponents/p-a1dafcb9.entry.js +0 -1
  514. package/dist/webcomponents/p-a7907856.entry.js +0 -1
  515. package/dist/webcomponents/p-aONkyLLS.js +0 -1
  516. package/dist/webcomponents/p-aab50c09.entry.js +0 -1
  517. package/dist/webcomponents/p-bd0404bf.entry.js +0 -1
  518. package/dist/webcomponents/p-bdfc61b0.entry.js +0 -1
  519. package/dist/webcomponents/p-bf242a98.entry.js +0 -1
  520. package/dist/webcomponents/p-bf3a552e.entry.js +0 -1
  521. package/dist/webcomponents/p-c1d48f19.entry.js +0 -1
  522. package/dist/webcomponents/p-c835c19b.entry.js +0 -1
  523. package/dist/webcomponents/p-caadf62a.entry.js +0 -1
  524. package/dist/webcomponents/p-ccc26acf.entry.js +0 -1
  525. package/dist/webcomponents/p-d375e82b.entry.js +0 -1
  526. package/dist/webcomponents/p-d84e5a0e.entry.js +0 -1
  527. package/dist/webcomponents/p-def9b542.entry.js +0 -1
  528. package/dist/webcomponents/p-edb8dae3.entry.js +0 -1
  529. package/dist/webcomponents/p-f57cb5d1.entry.js +0 -1
  530. package/dist/webcomponents/p-f5d407af.entry.js +0 -1
  531. package/dist/webcomponents/p-f7dac1c8.entry.js +0 -1
  532. package/dist/webcomponents/p-fTIONWal.js +0 -1
  533. package/dist/webcomponents/p-m_Ly-YPk.js +0 -1
@@ -92,17 +92,7 @@ export class CoreBusinessInfo {
92
92
  this.date_of_incorporation = coreBusinessInfo.date_of_incorporation;
93
93
  }
94
94
  get payload() {
95
- return {
96
- classification: this.classification || '',
97
- legal_name: this.legal_name || '',
98
- doing_business_as: this.doing_business_as || '',
99
- industry: this.industry || '',
100
- tax_id: this.tax_id || '',
101
- website_url: this.website_url || '',
102
- email: this.email || '',
103
- phone: this.phone || '',
104
- date_of_incorporation: this.date_of_incorporation || '',
105
- };
95
+ return Object.assign(Object.assign({ classification: this.classification || '', legal_name: this.legal_name || '', doing_business_as: this.doing_business_as || '', industry: this.industry || '' }, (!this.tax_id_last4 && { tax_id: this.tax_id || '' })), { website_url: this.website_url || '', email: this.email || '', phone: this.phone || '', date_of_incorporation: this.date_of_incorporation || '' });
106
96
  }
107
97
  }
108
98
  export class Business {
@@ -141,25 +131,7 @@ export class Business {
141
131
  this.bank_account_verification = business.bank_account_verification;
142
132
  }
143
133
  get payload() {
144
- return {
145
- additional_questions: new AdditionalQuestions(this.additional_questions)
146
- .payload,
147
- classification: this.classification || '',
148
- doing_business_as: this.doing_business_as || '',
149
- email: this.email || '',
150
- industry: this.industry || '',
151
- legal_address: new Address(this.legal_address).payload,
152
- legal_name: this.legal_name || '',
153
- metadata: this.metadata || {},
154
- owners: this.owners.map((owner) => ({ id: owner.id })),
155
- phone: this.phone || '',
156
- platform_account_id: this.platform_account_id || '',
157
- representative: new Representative(this.representative).payload,
158
- tax_id: this.tax_id || '',
159
- tax_id_last4: this.tax_id_last4 || '',
160
- website_url: this.website_url || '',
161
- date_of_incorporation: this.date_of_incorporation || '',
162
- country_of_establishment: this.country_of_establishment || CountryCode.USA,
163
- };
134
+ return Object.assign(Object.assign({ additional_questions: new AdditionalQuestions(this.additional_questions)
135
+ .payload, classification: this.classification || '', doing_business_as: this.doing_business_as || '', email: this.email || '', industry: this.industry || '', legal_address: new Address(this.legal_address).payload, legal_name: this.legal_name || '', metadata: this.metadata || {}, owners: this.owners.map((owner) => ({ id: owner.id })), phone: this.phone || '', platform_account_id: this.platform_account_id || '', representative: new Representative(this.representative).payload }, (!this.tax_id_last4 && { tax_id: this.tax_id || '' })), { tax_id_last4: this.tax_id_last4 || '', website_url: this.website_url || '', date_of_incorporation: this.date_of_incorporation || '', country_of_establishment: this.country_of_establishment || CountryCode.USA });
164
136
  }
165
137
  }
@@ -19,7 +19,6 @@ export * from './Identity';
19
19
  export * from './Dispute';
20
20
  export * from './GrossVolume';
21
21
  export * from './ApplePay';
22
- export * from './GooglePay';
23
22
  export * from './Plaid';
24
23
  // In a future PR I would like to update the naming of the BankAccount Payment Method class in Payment.ts so this import can be updated to be written the same as the others in this file.
25
24
  export { BankAccount } from './BankAccount';
@@ -51,8 +51,13 @@ export class BusinessCoreInfoFormStep {
51
51
  // after successful patch, revert back to read-only for tax id
52
52
  this.isEditingTaxId = false;
53
53
  },
54
- onError: ({ error, code, severity }) => {
54
+ onError: ({ error, code, severity, rawError }) => {
55
55
  submittedData = error;
56
+ // Set field-specific error if param exists
57
+ if (rawError && typeof rawError === 'object' && rawError.param) {
58
+ this.formController.setFieldError(rawError.param, rawError.message);
59
+ }
60
+ // Still emit component-level error
56
61
  this.errorEvent.emit({
57
62
  message: error,
58
63
  errorCode: code,
@@ -66,6 +71,10 @@ export class BusinessCoreInfoFormStep {
66
71
  });
67
72
  };
68
73
  this.inputHandler = (name, value) => {
74
+ // Clear backend error when user edits field
75
+ if (this.errors[name]) {
76
+ this.formController.clearFieldError(name);
77
+ }
69
78
  this.formController.setValues(Object.assign(Object.assign({}, this.formController.values.getValue()), { [name]: value }));
70
79
  };
71
80
  }
@@ -44,6 +44,7 @@ export const makePatchBusiness = ({ authToken, businessId, service }) => async (
44
44
  error: responseError,
45
45
  code,
46
46
  severity: ComponentErrorSeverity.ERROR,
47
+ rawError: response.error,
47
48
  });
48
49
  }
49
50
  }
@@ -53,6 +54,7 @@ export const makePatchBusiness = ({ authToken, businessId, service }) => async (
53
54
  error: error.message || error,
54
55
  code,
55
56
  severity: ComponentErrorSeverity.ERROR,
57
+ rawError: error,
56
58
  });
57
59
  }
58
60
  finally {
@@ -5,6 +5,7 @@ import { makeGetBusiness, makePostProvisioning } from "./payment-provisioning-ac
5
5
  import { BusinessService } from "../../../api/services/business.service";
6
6
  import { ProvisionService } from "../../../api/services/provision.service";
7
7
  import { checkPkgVersion } from "../../../utils/check-pkg-version";
8
+ import { isTokenExpired } from "../../../utils/utils";
8
9
  export class PaymentProvisioning {
9
10
  constructor() {
10
11
  this.allowOptionalFields = false;
@@ -24,29 +25,36 @@ export class PaymentProvisioning {
24
25
  }
25
26
  ;
26
27
  initializeApi() {
27
- if (this.authToken && this.businessId) {
28
- this.getBusiness = makeGetBusiness({
29
- authToken: this.authToken,
30
- businessId: this.businessId,
31
- service: new BusinessService()
32
- });
33
- this.postProvisioning = makePostProvisioning({
34
- authToken: this.authToken,
35
- businessId: this.businessId,
36
- product: 'payment',
37
- service: new ProvisionService()
38
- });
39
- }
40
- else {
28
+ if (!this.authToken || !this.businessId) {
41
29
  this.errorEvent.emit({
42
30
  message: 'auth-token and business-id are required',
43
31
  errorCode: ComponentErrorCodes.MISSING_PROPS,
44
32
  severity: ComponentErrorSeverity.ERROR,
45
33
  });
34
+ return;
35
+ }
36
+ if (isTokenExpired(this.authToken)) {
37
+ this.errorEvent.emit({
38
+ message: 'auth-token is expired',
39
+ errorCode: ComponentErrorCodes.NOT_AUTHENTICATED,
40
+ severity: ComponentErrorSeverity.ERROR,
41
+ });
42
+ return;
46
43
  }
44
+ this.getBusiness = makeGetBusiness({
45
+ authToken: this.authToken,
46
+ businessId: this.businessId,
47
+ service: new BusinessService()
48
+ });
49
+ this.postProvisioning = makePostProvisioning({
50
+ authToken: this.authToken,
51
+ businessId: this.businessId,
52
+ product: 'payment',
53
+ service: new ProvisionService()
54
+ });
47
55
  }
48
56
  render() {
49
- return (h("justifi-payment-provisioning-core", { key: '7fbd1a8602e9c90582ef4da712d91cf838d8ebe2', businessId: this.businessId, authToken: this.authToken, allowOptionalFields: this.allowOptionalFields, formTitle: this.formTitle, getBusiness: this.getBusiness, postProvisioning: this.postProvisioning }));
57
+ return (h("justifi-payment-provisioning-core", { key: '8df2a722a6c7150950cbc0a2d923bb1a107170ee', businessId: this.businessId, authToken: this.authToken, allowOptionalFields: this.allowOptionalFields, formTitle: this.formTitle, getBusiness: this.getBusiness, postProvisioning: this.postProvisioning }));
50
58
  }
51
59
  static get is() { return "justifi-payment-provisioning"; }
52
60
  static get encapsulation() { return "shadow"; }
@@ -12,7 +12,7 @@ export const baseBusinessCoreInfoSchema = (allowOptionalFields) => {
12
12
  doing_business_as: doingBusinessAsValidation.nullable(),
13
13
  classification: businessClassificationValidation.required('Select business classification'),
14
14
  industry: industryValidation.required('Enter a business industry'),
15
- date_of_incorporation: dateOfIncorporationValidation.required('Enter date of incorporation'),
15
+ date_of_incorporation: dateOfIncorporationValidation.required('Enter date of registration'),
16
16
  });
17
17
  const easySchema = object({
18
18
  legal_name: businessNameValidation.required('Enter legal name'),