@justifi/webcomponents 4.11.0 → 4.12.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 (330) hide show
  1. package/dist/cjs/{Business-7ae04d4f.js → Business-f8e37adb.js} +34 -27
  2. package/dist/cjs/{Payment-89a8bc21.js → Payment-eceed10f.js} +1 -0
  3. package/dist/cjs/{SubAccount-05867651.js → SubAccount-b3902202.js} +1 -1
  4. package/dist/cjs/additional-questions-details_5.cjs.entry.js +5 -6
  5. package/dist/cjs/business-additional-questions-schema-bdfd29c3.js +78 -0
  6. package/dist/cjs/business-details-core.cjs.entry.js +2 -2
  7. package/dist/cjs/{business-form-types-29b2bad9.js → business-form-types-61b8196a.js} +26 -0
  8. package/dist/cjs/{form-control-datepart_4.cjs.entry.js → form-control-date_4.cjs.entry.js} +18 -51
  9. package/dist/cjs/form-control-datepart.cjs.entry.js +80 -0
  10. package/dist/cjs/form-control-monetary.cjs.entry.js +1 -1
  11. package/dist/cjs/form-control-select_2.cjs.entry.js +1 -1
  12. package/dist/cjs/{form-input-masks-e3bf2614.js → form-input-masks-baa06faf.js} +1 -1
  13. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +3 -4
  14. package/dist/cjs/{index-69b9386b.js → index-5d5f2219.js} +3 -0
  15. package/dist/cjs/justifi-additional-questions-form-step_5.cjs.entry.js +20 -12
  16. package/dist/cjs/justifi-additional-questions_4.cjs.entry.js +17 -16
  17. package/dist/cjs/justifi-bank-account-form.cjs.entry.js +1 -1
  18. package/dist/cjs/justifi-billing-form_4.cjs.entry.js +5 -5
  19. package/dist/cjs/justifi-business-details.cjs.entry.js +3 -4
  20. package/dist/cjs/justifi-business-form.cjs.entry.js +20 -12
  21. package/dist/cjs/justifi-business-list.cjs.entry.js +4 -6
  22. package/dist/cjs/justifi-business-owners.cjs.entry.js +2 -2
  23. package/dist/cjs/justifi-card-form.cjs.entry.js +1 -1
  24. package/dist/cjs/justifi-checkout-core.cjs.entry.js +34 -24
  25. package/dist/cjs/justifi-checkout.cjs.entry.js +14 -10
  26. package/dist/cjs/justifi-details.cjs.entry.js +2 -2
  27. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +2 -2
  28. package/dist/cjs/{justifi-new-payment-method_3.cjs.entry.js → justifi-new-payment-method_4.cjs.entry.js} +95 -11
  29. package/dist/cjs/justifi-owner-form.cjs.entry.js +30 -16
  30. package/dist/cjs/justifi-payment-balance-transactions.cjs.entry.js +3 -4
  31. package/dist/cjs/justifi-payment-details.cjs.entry.js +4 -4
  32. package/dist/cjs/justifi-payment-form.cjs.entry.js +3 -4
  33. package/dist/cjs/justifi-payment-method-selector.cjs.entry.js +2 -2
  34. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +11 -4
  35. package/dist/cjs/justifi-payments-list.cjs.entry.js +4 -4
  36. package/dist/cjs/justifi-payout-details.cjs.entry.js +4 -4
  37. package/dist/cjs/justifi-payouts-list.cjs.entry.js +4 -4
  38. package/dist/cjs/justifi-proceeds-list.cjs.entry.js +3 -4
  39. package/dist/cjs/justifi-refund-form.cjs.entry.js +2 -2
  40. package/dist/cjs/justifi-subaccount-details.cjs.entry.js +5 -6
  41. package/dist/cjs/justifi-subaccounts-list.cjs.entry.js +4 -5
  42. package/dist/cjs/justifi-table_2.cjs.entry.js +1 -1
  43. package/dist/cjs/loader.cjs.js +2 -2
  44. package/dist/cjs/{payload-parsers-f437272e.js → payload-parsers-32c43c76.js} +36 -24
  45. package/dist/cjs/payment-details-core.cjs.entry.js +3 -4
  46. package/dist/cjs/{payment.service-0b0086dc.js → payment.service-9db24ab9.js} +1 -1
  47. package/dist/cjs/payments-list-core.cjs.entry.js +3 -4
  48. package/dist/cjs/payout-details-core.cjs.entry.js +3 -4
  49. package/dist/cjs/{payout.service-5cc3b4e9.js → payout.service-a0efb71a.js} +1 -1
  50. package/dist/cjs/payouts-list-core.cjs.entry.js +3 -4
  51. package/dist/cjs/subaccount-account-details_4.cjs.entry.js +5 -6
  52. package/dist/cjs/subaccount-bank-details.cjs.entry.js +2 -2
  53. package/dist/cjs/subaccount-terms-details.cjs.entry.js +2 -2
  54. package/dist/cjs/{utils-23e70ef2.js → utils-6e35fa70.js} +1 -1
  55. package/dist/cjs/{utils-2b9940e1.js → utils-6f62f7a1.js} +0 -7
  56. package/dist/cjs/{utils-87435719.js → utils-fc72268d.js} +1 -1
  57. package/dist/cjs/webcomponents.cjs.js +2 -2
  58. package/dist/collection/api/Business.js +2 -20
  59. package/dist/collection/api/Checkout.js +6 -1
  60. package/dist/collection/api/Identity.js +7 -4
  61. package/dist/collection/api/Payment.js +1 -0
  62. package/dist/collection/api/services/checkout.service.js +7 -3
  63. package/dist/collection/collection-manifest.json +2 -0
  64. package/dist/collection/components/business-details/generic-info-details/generic-info-details.js +2 -2
  65. package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +2 -2
  66. package/dist/collection/components/business-forms/business-form/business-form.js +48 -3
  67. package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +12 -9
  68. package/dist/collection/components/business-forms/owner-form/owner-form.js +24 -8
  69. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +2 -3
  70. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +11 -1
  71. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +42 -1
  72. package/dist/collection/components/business-forms/schemas/business-address-schema.js +9 -18
  73. package/dist/collection/components/business-forms/schemas/business-core-info-schema.js +48 -17
  74. package/dist/collection/components/business-forms/schemas/business-form-schema.js +1 -1
  75. package/dist/collection/components/business-forms/schemas/business-identity-schema.js +18 -7
  76. package/dist/collection/components/business-forms/schemas/schema-helpers.js +8 -0
  77. package/dist/collection/components/business-forms/utils/business-form-types.js +23 -0
  78. package/dist/collection/components/business-forms/utils/helpers.js +22 -2
  79. package/dist/collection/components/business-forms/utils/payload-parsers.js +1 -0
  80. package/dist/collection/components/business-list/business-list.js +0 -2
  81. package/dist/collection/components/checkout/checkout-actions.js +2 -2
  82. package/dist/collection/components/checkout/checkout-core.css +361 -0
  83. package/dist/collection/components/checkout/checkout-core.js +32 -27
  84. package/dist/collection/components/checkout/checkout.js +5 -5
  85. package/dist/collection/components/checkout/new-payment-method.js +12 -6
  86. package/dist/collection/components/checkout/payment-method-options.css +18 -2
  87. package/dist/collection/components/checkout/payment-method-options.js +62 -5
  88. package/dist/collection/components/checkout/payment-method-payload.js +1 -0
  89. package/dist/collection/components/checkout/saved-payment-method.js +11 -6
  90. package/dist/collection/components/checkout/sezzel-payment-method.js +247 -0
  91. package/dist/collection/components/form/form-control-date.css +1803 -0
  92. package/dist/collection/components/form/form-control-date.js +192 -0
  93. package/dist/collection/components/payment-form/payment-method-selector.js +1 -1
  94. package/dist/collection/components/payment-method-form/payment-method-form.js +1 -1
  95. package/dist/collection/components/select-input/select-input.js +1 -1
  96. package/dist/collection/components/select-input/test/select-input.spec.js +4 -4
  97. package/dist/collection/components/subaccount-details/subaccount-merchant-details/subaccount-merchant-details.js +3 -3
  98. package/dist/collection/components/text-input/test/text-input.spec.js +4 -4
  99. package/dist/collection/components/text-input/text-input.js +1 -1
  100. package/dist/collection/utils/form-input-masks.js +1 -1
  101. package/dist/collection/utils/utils.js +0 -5
  102. package/dist/docs.json +670 -93
  103. package/dist/esm/{Business-91caaccb.js → Business-2410f7e3.js} +31 -25
  104. package/dist/esm/{Payment-55886c86.js → Payment-ef9fc1ae.js} +1 -0
  105. package/dist/esm/{SubAccount-61ac70eb.js → SubAccount-f4ae9809.js} +1 -1
  106. package/dist/esm/additional-questions-details_5.entry.js +5 -6
  107. package/dist/esm/business-additional-questions-schema-5571d40f.js +75 -0
  108. package/dist/esm/business-details-core.entry.js +2 -2
  109. package/dist/esm/{business-form-types-0d76133c.js → business-form-types-46ecd908.js} +25 -1
  110. package/dist/esm/{form-control-datepart_4.entry.js → form-control-date_4.entry.js} +18 -51
  111. package/dist/esm/form-control-datepart.entry.js +76 -0
  112. package/dist/esm/form-control-monetary.entry.js +1 -1
  113. package/dist/esm/form-control-select_2.entry.js +1 -1
  114. package/dist/esm/{form-input-masks-a8187c77.js → form-input-masks-850c8cd4.js} +1 -1
  115. package/dist/esm/gross-payment-chart-core.entry.js +3 -4
  116. package/dist/esm/{index-df86d9a2.js → index-83dcf934.js} +3 -0
  117. package/dist/esm/justifi-additional-questions-form-step_5.entry.js +20 -12
  118. package/dist/esm/justifi-additional-questions_4.entry.js +17 -16
  119. package/dist/esm/justifi-bank-account-form.entry.js +1 -1
  120. package/dist/esm/justifi-billing-form_4.entry.js +5 -5
  121. package/dist/esm/justifi-business-details.entry.js +3 -4
  122. package/dist/esm/justifi-business-form.entry.js +20 -12
  123. package/dist/esm/justifi-business-list.entry.js +4 -6
  124. package/dist/esm/justifi-business-owners.entry.js +2 -2
  125. package/dist/esm/justifi-card-form.entry.js +1 -1
  126. package/dist/esm/justifi-checkout-core.entry.js +34 -24
  127. package/dist/esm/justifi-checkout.entry.js +14 -10
  128. package/dist/esm/justifi-details.entry.js +2 -2
  129. package/dist/esm/justifi-gross-payment-chart.entry.js +2 -2
  130. package/dist/esm/{justifi-new-payment-method_3.entry.js → justifi-new-payment-method_4.entry.js} +95 -12
  131. package/dist/esm/justifi-owner-form.entry.js +30 -16
  132. package/dist/esm/justifi-payment-balance-transactions.entry.js +3 -4
  133. package/dist/esm/justifi-payment-details.entry.js +4 -4
  134. package/dist/esm/justifi-payment-form.entry.js +3 -4
  135. package/dist/esm/justifi-payment-method-selector.entry.js +2 -2
  136. package/dist/esm/justifi-payment-provisioning.entry.js +11 -4
  137. package/dist/esm/justifi-payments-list.entry.js +4 -4
  138. package/dist/esm/justifi-payout-details.entry.js +4 -4
  139. package/dist/esm/justifi-payouts-list.entry.js +4 -4
  140. package/dist/esm/justifi-proceeds-list.entry.js +3 -4
  141. package/dist/esm/justifi-refund-form.entry.js +2 -2
  142. package/dist/esm/justifi-subaccount-details.entry.js +5 -6
  143. package/dist/esm/justifi-subaccounts-list.entry.js +4 -5
  144. package/dist/esm/justifi-table_2.entry.js +1 -1
  145. package/dist/esm/loader.js +3 -3
  146. package/dist/esm/{payload-parsers-920f49dd.js → payload-parsers-192e0c3e.js} +33 -25
  147. package/dist/esm/payment-details-core.entry.js +3 -4
  148. package/dist/esm/{payment.service-f274ef98.js → payment.service-ec28a959.js} +1 -1
  149. package/dist/esm/payments-list-core.entry.js +3 -4
  150. package/dist/esm/payout-details-core.entry.js +3 -4
  151. package/dist/esm/{payout.service-af293f61.js → payout.service-5fd5986c.js} +1 -1
  152. package/dist/esm/payouts-list-core.entry.js +3 -4
  153. package/dist/esm/subaccount-account-details_4.entry.js +5 -6
  154. package/dist/esm/subaccount-bank-details.entry.js +2 -2
  155. package/dist/esm/subaccount-terms-details.entry.js +2 -2
  156. package/dist/esm/{utils-d01c5f3a.js → utils-210fdf39.js} +1 -1
  157. package/dist/esm/{utils-d9e90399.js → utils-243abdb4.js} +1 -7
  158. package/dist/esm/{utils-684d2e47.js → utils-6f05d9d7.js} +1 -1
  159. package/dist/esm/webcomponents.js +3 -3
  160. package/dist/module/Business.js +9 -25
  161. package/dist/module/Payment.js +1 -0
  162. package/dist/module/SubAccount.js +1 -1
  163. package/dist/module/business-address-schema.js +9 -18
  164. package/dist/module/business-core-info-form-step.js +2 -3
  165. package/dist/module/business-core-info-schema.js +49 -18
  166. package/dist/module/business-core-info.js +2 -2
  167. package/dist/module/business-form-types.js +25 -1
  168. package/dist/module/business-identity-schema.js +18 -7
  169. package/dist/module/business-owners-form-step.js +3 -3
  170. package/dist/module/business-representative-form-step.js +15 -5
  171. package/dist/module/business-representative.js +15 -12
  172. package/dist/module/checkout-core.js +50 -33
  173. package/dist/module/form-control-date.d.ts +11 -0
  174. package/dist/module/form-control-date.js +6 -0
  175. package/dist/module/form-control-date2.js +68 -0
  176. package/dist/module/form-input-masks.js +1 -1
  177. package/dist/module/generic-info-details2.js +2 -2
  178. package/dist/module/helpers.js +24 -3
  179. package/dist/module/justifi-business-details.js +1 -1
  180. package/dist/module/justifi-business-form.js +21 -10
  181. package/dist/module/justifi-business-list.js +1 -3
  182. package/dist/module/justifi-checkout.js +31 -21
  183. package/dist/module/justifi-payment-balance-transactions.js +1 -1
  184. package/dist/module/justifi-payment-provisioning.js +12 -5
  185. package/dist/module/justifi-sezzel-payment-method.d.ts +11 -0
  186. package/dist/module/justifi-sezzel-payment-method.js +6 -0
  187. package/dist/module/justifi-subaccount-details.js +1 -1
  188. package/dist/module/justifi-subaccounts-list.js +1 -1
  189. package/dist/module/legal-address-form-step.js +2 -2
  190. package/dist/module/new-payment-method.js +5 -4
  191. package/dist/module/owner-form.js +29 -13
  192. package/dist/module/payload-parsers.js +11 -1
  193. package/dist/module/payment-details-core2.js +1 -1
  194. package/dist/module/payment-method-form.js +1 -1
  195. package/dist/module/payment-method-options.js +34 -12
  196. package/dist/module/payments-list-core2.js +1 -1
  197. package/dist/module/payout-details-core2.js +1 -1
  198. package/dist/module/payouts-list-core2.js +1 -1
  199. package/dist/module/saved-payment-method.js +4 -4
  200. package/dist/module/select-input2.js +1 -1
  201. package/dist/module/sezzel-payment-method.js +99 -0
  202. package/dist/module/subaccount-merchant-details2.js +3 -3
  203. package/dist/module/text-input2.js +1 -1
  204. package/dist/module/utils2.js +1 -7
  205. package/dist/types/api/Business.d.ts +0 -19
  206. package/dist/types/api/Checkout.d.ts +63 -2
  207. package/dist/types/api/Identity.d.ts +2 -0
  208. package/dist/types/api/Payment.d.ts +2 -1
  209. package/dist/types/api/SubAccount.d.ts +0 -2
  210. package/dist/types/api/services/checkout.service.d.ts +8 -2
  211. package/dist/types/components/business-forms/business-form/business-form.d.ts +5 -0
  212. package/dist/types/components/business-forms/business-form/business-representative/business-representative.d.ts +3 -3
  213. package/dist/types/components/business-forms/owner-form/owner-form.d.ts +4 -2
  214. package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.d.ts +1 -0
  215. package/dist/types/components/business-forms/payment-provisioning/payment-provisioning.d.ts +3 -0
  216. package/dist/types/components/business-forms/schemas/business-core-info-schema.d.ts +2 -2
  217. package/dist/types/components/business-forms/schemas/business-form-schema.d.ts +4 -8
  218. package/dist/types/components/business-forms/schemas/business-identity-schema.d.ts +2 -6
  219. package/dist/types/components/business-forms/schemas/schema-helpers.d.ts +6 -0
  220. package/dist/types/components/business-forms/utils/business-form-types.d.ts +5 -0
  221. package/dist/types/components/business-forms/utils/helpers.d.ts +8 -2
  222. package/dist/types/components/checkout/checkout-actions.d.ts +3 -3
  223. package/dist/types/components/checkout/checkout-core.d.ts +5 -4
  224. package/dist/types/components/checkout/checkout.d.ts +1 -1
  225. package/dist/types/components/checkout/new-payment-method.d.ts +2 -1
  226. package/dist/types/components/checkout/payment-method-options.d.ts +5 -1
  227. package/dist/types/components/checkout/payment-method-payload.d.ts +8 -0
  228. package/dist/types/components/checkout/saved-payment-method.d.ts +2 -1
  229. package/dist/types/components/checkout/sezzel-payment-method.d.ts +23 -0
  230. package/dist/types/components/form/form-control-date.d.ts +18 -0
  231. package/dist/types/components.d.ts +112 -9
  232. package/dist/types/utils/utils.d.ts +0 -1
  233. package/dist/webcomponents/p-02fa533c.js +1 -0
  234. package/dist/webcomponents/p-0315876e.entry.js +1 -0
  235. package/dist/webcomponents/{p-28cd23c8.entry.js → p-0c269feb.entry.js} +1 -1
  236. package/dist/webcomponents/{p-0b76c770.entry.js → p-0eb56b44.entry.js} +1 -1
  237. package/dist/webcomponents/{p-436d27b9.entry.js → p-0eb77101.entry.js} +1 -1
  238. package/dist/webcomponents/p-1334f776.entry.js +1 -0
  239. package/dist/webcomponents/p-19001cc5.entry.js +1 -0
  240. package/dist/webcomponents/p-2319abaf.entry.js +1 -0
  241. package/dist/webcomponents/p-26fe62d6.entry.js +1 -0
  242. package/dist/webcomponents/p-28b38699.js +1 -0
  243. package/dist/webcomponents/{p-4df6174c.entry.js → p-29376518.entry.js} +1 -1
  244. package/dist/webcomponents/p-2bee72bd.entry.js +1 -0
  245. package/dist/webcomponents/p-3302bc76.js +1 -0
  246. package/dist/webcomponents/p-3adc0688.entry.js +1 -0
  247. package/dist/webcomponents/p-3fe05c4a.entry.js +1 -0
  248. package/dist/webcomponents/p-41b1ad3a.entry.js +1 -0
  249. package/dist/webcomponents/{p-7c6a355f.entry.js → p-4616768c.entry.js} +1 -1
  250. package/dist/webcomponents/p-56780f10.entry.js +1 -0
  251. package/dist/webcomponents/p-5c269619.js +1 -0
  252. package/dist/webcomponents/p-5ff7826e.entry.js +1 -0
  253. package/dist/webcomponents/{p-8482c23f.js → p-65510838.js} +1 -1
  254. package/dist/webcomponents/{p-4d50d08a.entry.js → p-7d8d2984.entry.js} +1 -1
  255. package/dist/webcomponents/p-7da249b8.entry.js +1 -0
  256. package/dist/webcomponents/p-84b9ffc9.entry.js +1 -0
  257. package/dist/webcomponents/{p-07b326d0.entry.js → p-8657128b.entry.js} +1 -1
  258. package/dist/webcomponents/p-8abba4c2.entry.js +1 -0
  259. package/dist/webcomponents/p-8c9d9812.entry.js +1 -0
  260. package/dist/webcomponents/p-910bb656.js +1 -0
  261. package/dist/webcomponents/p-9245777b.js +1 -0
  262. package/dist/webcomponents/{p-221b9504.entry.js → p-927150b4.entry.js} +1 -1
  263. package/dist/webcomponents/p-96cebc8b.entry.js +1 -0
  264. package/dist/webcomponents/p-99d6b67e.entry.js +1 -0
  265. package/dist/webcomponents/p-9e3f9e05.entry.js +1 -0
  266. package/dist/webcomponents/{p-688bb5da.js → p-9ee8ad4d.js} +1 -1
  267. package/dist/webcomponents/{p-a46174e0.entry.js → p-9f3facf1.entry.js} +1 -1
  268. package/dist/webcomponents/p-9f529959.entry.js +1 -0
  269. package/dist/webcomponents/{p-fb49ef28.entry.js → p-a6f170ba.entry.js} +1 -1
  270. package/dist/webcomponents/{p-c071d8c1.entry.js → p-a8caec98.entry.js} +1 -1
  271. package/dist/webcomponents/p-a90f7ca0.js +1 -0
  272. package/dist/webcomponents/{p-d776fe10.entry.js → p-abc03d5a.entry.js} +1 -1
  273. package/dist/webcomponents/p-b318b899.js +1 -0
  274. package/dist/webcomponents/{p-1bfadb9f.entry.js → p-c1b92cec.entry.js} +1 -1
  275. package/dist/webcomponents/p-c556deda.entry.js +1 -0
  276. package/dist/webcomponents/{p-3d4aaa4a.entry.js → p-c6e207f6.entry.js} +1 -1
  277. package/dist/webcomponents/{p-b68f1dd9.entry.js → p-cdfde1ca.entry.js} +1 -1
  278. package/dist/webcomponents/{p-746bfba6.entry.js → p-d69a485a.entry.js} +1 -1
  279. package/dist/webcomponents/p-e2ba8d84.entry.js +1 -0
  280. package/dist/webcomponents/{p-ebf7c70f.entry.js → p-e4342f49.entry.js} +1 -1
  281. package/dist/webcomponents/{p-ea2cca2a.js → p-ed72a5cc.js} +1 -1
  282. package/dist/webcomponents/{p-6b51cf97.entry.js → p-f0698778.entry.js} +1 -1
  283. package/dist/webcomponents/p-f4ae621e.entry.js +1 -0
  284. package/dist/webcomponents/{p-ae21ed6f.entry.js → p-f76283a5.entry.js} +1 -1
  285. package/dist/webcomponents/p-fce2b224.entry.js +1 -0
  286. package/dist/webcomponents/p-fd60d5af.js +1 -0
  287. package/dist/webcomponents/p-ff211f76.js +1 -0
  288. package/dist/webcomponents/webcomponents.css +1 -1
  289. package/dist/webcomponents/webcomponents.esm.js +1 -1
  290. package/package.json +1 -1
  291. package/dist/cjs/business-additional-questions-schema-18a82d19.js +0 -47
  292. package/dist/cjs/business-form-select-options-7ccd8dca.js +0 -85
  293. package/dist/collection/components/business-forms/utils/business-form-select-options.js +0 -80
  294. package/dist/esm/business-additional-questions-schema-b642a2b7.js +0 -44
  295. package/dist/esm/business-form-select-options-6b9293fe.js +0 -82
  296. package/dist/module/business-form-select-options.js +0 -82
  297. package/dist/types/components/business-forms/utils/business-form-select-options.d.ts +0 -11
  298. package/dist/webcomponents/p-091f9732.entry.js +0 -1
  299. package/dist/webcomponents/p-0923e39c.js +0 -1
  300. package/dist/webcomponents/p-0d81883d.entry.js +0 -1
  301. package/dist/webcomponents/p-102b593a.entry.js +0 -1
  302. package/dist/webcomponents/p-2b8368d2.js +0 -1
  303. package/dist/webcomponents/p-2df32b4a.entry.js +0 -1
  304. package/dist/webcomponents/p-34352d04.js +0 -1
  305. package/dist/webcomponents/p-448063ba.entry.js +0 -1
  306. package/dist/webcomponents/p-5341321d.entry.js +0 -1
  307. package/dist/webcomponents/p-5b262705.entry.js +0 -1
  308. package/dist/webcomponents/p-5e503d7d.entry.js +0 -1
  309. package/dist/webcomponents/p-6047b960.entry.js +0 -1
  310. package/dist/webcomponents/p-60b2344a.js +0 -1
  311. package/dist/webcomponents/p-63296409.js +0 -1
  312. package/dist/webcomponents/p-6d39b8bc.entry.js +0 -1
  313. package/dist/webcomponents/p-7294eb89.entry.js +0 -1
  314. package/dist/webcomponents/p-7b2cddc7.js +0 -1
  315. package/dist/webcomponents/p-817211f2.entry.js +0 -1
  316. package/dist/webcomponents/p-935d6f55.js +0 -1
  317. package/dist/webcomponents/p-959250e3.entry.js +0 -1
  318. package/dist/webcomponents/p-975ab96e.js +0 -1
  319. package/dist/webcomponents/p-9b99370e.js +0 -1
  320. package/dist/webcomponents/p-a130a884.entry.js +0 -1
  321. package/dist/webcomponents/p-a4122c35.entry.js +0 -1
  322. package/dist/webcomponents/p-ac670a3e.js +0 -1
  323. package/dist/webcomponents/p-c340b60f.js +0 -1
  324. package/dist/webcomponents/p-d5aab6b5.entry.js +0 -1
  325. package/dist/webcomponents/p-d5c80489.entry.js +0 -1
  326. package/dist/webcomponents/p-d8679fad.entry.js +0 -1
  327. package/dist/webcomponents/p-da34bba7.entry.js +0 -1
  328. package/dist/webcomponents/p-e84b3616.entry.js +0 -1
  329. package/dist/webcomponents/p-ea03b424.entry.js +0 -1
  330. package/dist/webcomponents/p-ec230480.entry.js +0 -1
@@ -24,6 +24,7 @@ export declare class Owner implements Identity {
24
24
  dob_day?: string;
25
25
  dob_month?: string;
26
26
  dob_year?: string;
27
+ dob_full?: string;
27
28
  documents?: Document[];
28
29
  email?: string;
29
30
  id?: string;
@@ -44,6 +45,7 @@ export declare class Representative implements Identity {
44
45
  dob_day?: string;
45
46
  dob_month?: string;
46
47
  dob_year?: string;
48
+ dob_full?: string;
47
49
  documents?: Document[];
48
50
  email?: string;
49
51
  id?: string;
@@ -4,7 +4,8 @@ export declare enum CaptureStrategy {
4
4
  }
5
5
  export declare enum PaymentMethodTypes {
6
6
  card = "card",
7
- bankAccount = "bankAccount"
7
+ bankAccount = "bankAccount",
8
+ sezzel = "sezzel"
8
9
  }
9
10
  export declare enum PaymentStatuses {
10
11
  pending = "pending",
@@ -1,4 +1,3 @@
1
- import { BusinessStructure } from './Business';
2
1
  export declare enum TagTypes {
3
2
  neutral = "neutral",
4
3
  info = "info",
@@ -105,7 +104,6 @@ export declare class SubAccount implements ISubAccount {
105
104
  export interface SubAccountBusinessDetails {
106
105
  url?: string;
107
106
  type?: BusinessType;
108
- structure?: BusinessStructure;
109
107
  industry?: string;
110
108
  tax_id?: string;
111
109
  phone?: string;
@@ -1,9 +1,15 @@
1
1
  import { IApiResponse, ICheckout } from '..';
2
2
  export interface ICheckoutService {
3
3
  fetchCheckout(authToken: string, checkoutId: string): Promise<IApiResponse<ICheckout>>;
4
- pay(authToken: string, checkoutId: string, tokenizedPaymentMethod: string): Promise<IApiResponse<ICheckout>>;
4
+ complete(authToken: string, checkoutId: string, payment: {
5
+ payment_mode: string;
6
+ payment_token?: string;
7
+ }): Promise<IApiResponse<ICheckout>>;
5
8
  }
6
9
  export declare class CheckoutService implements ICheckoutService {
7
10
  fetchCheckout(authToken: string, checkoutId: string): Promise<IApiResponse<ICheckout>>;
8
- pay(authToken: string, checkoutId: string, paymentMethodToken: string): Promise<IApiResponse<ICheckout>>;
11
+ complete(authToken: string, checkoutId: string, payment: {
12
+ payment_mode: string;
13
+ payment_token?: string;
14
+ }): Promise<IApiResponse<ICheckout>>;
9
15
  }
@@ -1,5 +1,6 @@
1
1
  import { EventEmitter } from '../../../stencil-public-runtime';
2
2
  import { BusinessFormClickEvent, BusinessFormServerErrors, BusinessFormSubmitEvent } from '../utils/business-form-types';
3
+ import { IBusiness } from '../../../api/Business';
3
4
  /**
4
5
  * @exportedPart label: Label for inputs
5
6
  * @exportedPart input: The input fields
@@ -9,17 +10,21 @@ export declare class BusinessForm {
9
10
  authToken: string;
10
11
  businessId: string;
11
12
  hideErrors?: boolean;
13
+ formTitle?: string;
14
+ removeTitle?: boolean;
12
15
  isLoading: boolean;
13
16
  errorMessage: BusinessFormServerErrors;
14
17
  submitted: EventEmitter<BusinessFormSubmitEvent>;
15
18
  clickEventNew: EventEmitter<BusinessFormClickEvent>;
16
19
  clickEventOld: EventEmitter<BusinessFormClickEvent>;
17
20
  fireClickEvents(event: BusinessFormClickEvent): void;
21
+ get title(): string;
18
22
  get disabledState(): boolean;
19
23
  get showErrors(): boolean;
20
24
  get businessEndpoint(): string;
21
25
  private formController;
22
26
  private api;
27
+ instantiateBusiness: (data: IBusiness) => void;
23
28
  componentWillLoad(): void;
24
29
  private sendData;
25
30
  private fetchData;
@@ -3,9 +3,9 @@ export declare class BusinessRepresentative {
3
3
  formController: FormController;
4
4
  errors: any;
5
5
  representative: any;
6
- constructor();
7
6
  componentDidLoad(): void;
8
- inputHandler(name: string, value: string): void;
9
- onAddressFormUpdate(values: any): void;
7
+ inputHandler: (name: string, value: string) => void;
8
+ onAddressFormUpdate: (values: any) => void;
9
+ onDateOfBirthUpdate: (event: any) => void;
10
10
  render(): any;
11
11
  }
@@ -1,6 +1,6 @@
1
1
  import { EventEmitter } from '../../../stencil-public-runtime';
2
2
  import { FormController } from '../../form/form';
3
- import { Owner } from '../../../api/Identity';
3
+ import { Identity, Owner } from '../../../api/Identity';
4
4
  import { OwnerFormSubmitEvent, OwnerFormServerErrorEvent, OwnerFormClickEvent } from '../utils/business-form-types';
5
5
  export declare class BusinessOwnerForm {
6
6
  authToken: string;
@@ -24,6 +24,7 @@ export declare class BusinessOwnerForm {
24
24
  get submitButtonText(): "Update" | "Add";
25
25
  get showRemoveButton(): boolean;
26
26
  loadingWatcher(): void;
27
+ instantiateOwner: (data: Identity) => void;
27
28
  private fetchData;
28
29
  private sendData;
29
30
  handleResponse(response: any): boolean;
@@ -31,10 +32,11 @@ export declare class BusinessOwnerForm {
31
32
  componentDidLoad(): void;
32
33
  inputHandler: (name: string, value: string) => void;
33
34
  onAddressFormUpdate: (values: any) => void;
35
+ onDateOfBirthUpdate: (event: any) => void;
34
36
  handleAddOwner: () => void;
35
37
  handleRemoveOwner: () => void;
36
38
  validate(): Promise<boolean>;
37
39
  submit(): Promise<boolean>;
38
- validateAndSubmit: (event: any) => void;
40
+ validateAndSubmit: (event: any) => Promise<void>;
39
41
  render(): any;
40
42
  }
@@ -24,5 +24,6 @@ export declare class BusinessRepresentativeFormStep {
24
24
  componentDidLoad(): void;
25
25
  inputHandler: (name: string, value: string) => void;
26
26
  onAddressFormUpdate: (values: any) => void;
27
+ onDateOfBirthUpdate: (event: any) => void;
27
28
  render(): any;
28
29
  }
@@ -11,11 +11,14 @@ export declare class PaymentProvisioning {
11
11
  testMode: boolean;
12
12
  hideErrors?: boolean;
13
13
  allowOptionalFields?: boolean;
14
+ formTitle?: string;
15
+ removeTitle?: boolean;
14
16
  formLoading: boolean;
15
17
  errorMessage: string;
16
18
  currentStep: number;
17
19
  totalSteps: number;
18
20
  clickEvent: EventEmitter<BusinessFormClickEvent>;
21
+ get title(): string;
19
22
  get showErrors(): boolean;
20
23
  get businessEndpoint(): string;
21
24
  private coreInfoRef;
@@ -5,8 +5,8 @@ export declare const businessCoreInfoSchema: (allowOptionalFields?: boolean) =>
5
5
  phone: string;
6
6
  doing_business_as: string;
7
7
  business_type: string;
8
- business_structure: string;
9
8
  industry: string;
9
+ tax_id: string;
10
10
  }, import("yup").AnyObject, {
11
11
  legal_name: undefined;
12
12
  website_url: undefined;
@@ -14,6 +14,6 @@ export declare const businessCoreInfoSchema: (allowOptionalFields?: boolean) =>
14
14
  phone: undefined;
15
15
  doing_business_as: undefined;
16
16
  business_type: undefined;
17
- business_structure: undefined;
18
17
  industry: undefined;
18
+ tax_id: undefined;
19
19
  }, "">;
@@ -25,9 +25,7 @@ export declare const businessFormSchema: import("yup").ObjectSchema<{
25
25
  name?: string;
26
26
  email?: string;
27
27
  phone?: string;
28
- dob_day?: string;
29
- dob_month?: string;
30
- dob_year?: string;
28
+ dob_full?: string;
31
29
  identification_number?: string;
32
30
  };
33
31
  legal_name: unknown;
@@ -36,8 +34,8 @@ export declare const businessFormSchema: import("yup").ObjectSchema<{
36
34
  phone: unknown;
37
35
  doing_business_as: unknown;
38
36
  business_type: unknown;
39
- business_structure: unknown;
40
37
  industry: unknown;
38
+ tax_id: unknown;
41
39
  }, import("yup").AnyObject, {
42
40
  legal_address: {
43
41
  line1: undefined;
@@ -57,9 +55,7 @@ export declare const businessFormSchema: import("yup").ObjectSchema<{
57
55
  name: undefined;
58
56
  email: undefined;
59
57
  phone: undefined;
60
- dob_day: undefined;
61
- dob_month: undefined;
62
- dob_year: undefined;
58
+ dob_full: undefined;
63
59
  identification_number: undefined;
64
60
  address: {
65
61
  line1: undefined;
@@ -76,6 +72,6 @@ export declare const businessFormSchema: import("yup").ObjectSchema<{
76
72
  phone: undefined;
77
73
  doing_business_as: undefined;
78
74
  business_type: undefined;
79
- business_structure: undefined;
80
75
  industry: undefined;
76
+ tax_id: undefined;
81
77
  }, "">;
@@ -2,9 +2,7 @@ export declare const identitySchema: (title: string, allowOptionalFields?: boole
2
2
  name: string;
3
3
  email: string;
4
4
  phone: string;
5
- dob_day: string;
6
- dob_month: string;
7
- dob_year: string;
5
+ dob_full: string;
8
6
  identification_number: string;
9
7
  address: {
10
8
  line1?: string;
@@ -18,9 +16,7 @@ export declare const identitySchema: (title: string, allowOptionalFields?: boole
18
16
  name: undefined;
19
17
  email: undefined;
20
18
  phone: undefined;
21
- dob_day: undefined;
22
- dob_month: undefined;
23
- dob_year: undefined;
19
+ dob_full: undefined;
24
20
  identification_number: undefined;
25
21
  address: {
26
22
  line1: undefined;
@@ -0,0 +1,6 @@
1
+ export declare const transformEmptyString: (value: string) => string;
2
+ export declare const businessNameRegex: RegExp;
3
+ export declare const phoneRegex: RegExp;
4
+ export declare const urlRegex: RegExp;
5
+ export declare const taxIdRegex: RegExp;
6
+ export declare const stringLettersOnlyRegex: RegExp;
@@ -1,3 +1,4 @@
1
+ import { BusinessType } from "../../../api/Business";
1
2
  export interface BusinessFormSubmitEvent {
2
3
  data: any;
3
4
  metadata?: BusinessFormEventMetaData;
@@ -46,4 +47,8 @@ export declare enum OwnerFormClickActions {
46
47
  addOwnerForm = "addOwnerForm",
47
48
  updateOwner = "updateOwner"
48
49
  }
50
+ export declare const BusinessTypeOptions: {
51
+ label: string;
52
+ value: BusinessType | string;
53
+ }[];
49
54
  export {};
@@ -1,2 +1,8 @@
1
- export declare const phoneRegex: RegExp;
2
- export declare const urlRegex: RegExp;
1
+ export declare function getStateAbbreviation(stateName: string): string | undefined;
2
+ export declare function filterNumber(num: string): string;
3
+ export declare function constructDate(year: string, month: string, day: string): string | void;
4
+ export declare function deconstructDate(date: string): {
5
+ dob_year: string;
6
+ dob_month: string;
7
+ dob_day: string;
8
+ };
@@ -6,12 +6,12 @@ export declare const makeGetCheckout: ({ authToken, checkoutId, service }: {
6
6
  onSuccess: any;
7
7
  onError: any;
8
8
  }) => Promise<any>;
9
- export declare const makePay: ({ authToken, checkoutId, service }: {
9
+ export declare const makeCheckoutComplete: ({ authToken, checkoutId, service }: {
10
10
  authToken: any;
11
11
  checkoutId: any;
12
12
  service: any;
13
- }) => ({ paymentMethodToken, onSuccess, onError }: {
14
- paymentMethodToken: any;
13
+ }) => ({ payment, onSuccess, onError }: {
14
+ payment: any;
15
15
  onSuccess: any;
16
16
  onError: any;
17
17
  }) => Promise<any>;
@@ -1,5 +1,5 @@
1
1
  import { EventEmitter } from '../../stencil-public-runtime';
2
- import { CreatePaymentMethodResponse } from '../payment-method-form/payment-method-responses';
2
+ import { ICheckout, ICheckoutCompleteResponse } from '../../api/Checkout';
3
3
  export declare class CheckoutCore {
4
4
  /**
5
5
  * URL for the rendered iFrame. End-users need not use this.
@@ -7,22 +7,23 @@ export declare class CheckoutCore {
7
7
  iframeOrigin?: string;
8
8
  authToken: string;
9
9
  getCheckout: Function;
10
- pay: Function;
10
+ complete: Function;
11
11
  checkoutId: string;
12
12
  hasLoadedFonts: boolean;
13
13
  isLoading: boolean;
14
- checkout: any;
14
+ checkout: ICheckout;
15
15
  serverError: boolean;
16
16
  errorMessage: string;
17
17
  creatingNewPaymentMethod: boolean;
18
18
  selectedPaymentMethodToken: string;
19
- submitted: EventEmitter<CreatePaymentMethodResponse>;
19
+ submitted: EventEmitter<ICheckoutCompleteResponse>;
20
20
  private paymentMethodOptionsRef?;
21
21
  componentWillLoad(): void;
22
22
  connectedCallback(): void;
23
23
  fetchData(): void;
24
24
  loadFontsOnParent(): Promise<any>;
25
25
  submit(event: any): Promise<void>;
26
+ onSubmitted: (data: any) => void;
26
27
  private loadingSpinner;
27
28
  render(): any;
28
29
  }
@@ -3,7 +3,7 @@ export declare class Checkout {
3
3
  authToken: string;
4
4
  checkoutId: string;
5
5
  getCheckout: Function;
6
- pay: Function;
6
+ complete: Function;
7
7
  errorMessage: string;
8
8
  componentWillLoad(): void;
9
9
  private initializeGetCheckout;
@@ -1,5 +1,6 @@
1
1
  import { EventEmitter } from '../../stencil-public-runtime';
2
2
  import { PaymentMethodOption } from './payment-method-option-utils';
3
+ import { PaymentMethodPayload } from './payment-method-payload';
3
4
  export declare class NewPaymentMethod {
4
5
  iframeOrigin?: string;
5
6
  clientId: string;
@@ -9,7 +10,7 @@ export declare class NewPaymentMethod {
9
10
  paymentMethodOptionSelected: EventEmitter;
10
11
  private billingFormRef?;
11
12
  private paymentMethodFormRef?;
12
- getPaymentMethodToken(): Promise<string>;
13
+ resolvePaymentMethod(): Promise<PaymentMethodPayload>;
13
14
  tokenize(): Promise<any>;
14
15
  onPaymentMethodOptionClick: () => void;
15
16
  showNewPaymentMethodForm(): any;
@@ -1,18 +1,22 @@
1
1
  import { EventEmitter } from '../../stencil-public-runtime';
2
2
  import { PaymentMethodOption } from './payment-method-option-utils';
3
+ import { PaymentMethodPayload } from './payment-method-payload';
4
+ import { IBnpl } from '../../api';
3
5
  export declare class PaymentMethodOptions {
4
6
  showCard: boolean;
5
7
  showAch: boolean;
8
+ bnpl: IBnpl;
6
9
  clientId: string;
7
10
  accountId: string;
8
11
  iframeOrigin?: string;
9
12
  savedPaymentMethods: any[];
10
13
  selectedPaymentMethodId: string;
14
+ paymentAmount: string;
11
15
  paymentMethodOptions: PaymentMethodOption[];
12
16
  toggleCreatingNewPaymentMethod: EventEmitter;
13
17
  private selectedPaymentMethodOptionRef?;
14
18
  paymentMethodsChanged(): void;
15
19
  paymentMethodOptionSelected(event: CustomEvent<PaymentMethodOption>): void;
16
- getPaymentMethodToken(): Promise<string>;
20
+ resolvePaymentMethod(): Promise<PaymentMethodPayload>;
17
21
  render(): any;
18
22
  }
@@ -0,0 +1,8 @@
1
+ export interface PaymentMethodPayload {
2
+ token?: string;
3
+ bnpl?: {
4
+ order_uuid: string;
5
+ status: string;
6
+ session_uuid: string;
7
+ };
8
+ }
@@ -1,11 +1,12 @@
1
1
  import { EventEmitter } from '../../stencil-public-runtime';
2
2
  import { PaymentMethodOption } from './payment-method-option-utils';
3
+ import { PaymentMethodPayload } from './payment-method-payload';
3
4
  export declare class SavedPaymentMethod {
4
5
  iframeOrigin?: string;
5
6
  paymentMethodOption: PaymentMethodOption;
6
7
  isSelected: boolean;
7
8
  paymentMethodOptionSelected: EventEmitter;
8
- getPaymentMethodToken(): Promise<string>;
9
+ resolvePaymentMethod(): Promise<PaymentMethodPayload>;
9
10
  onPaymentMethodOptionClick: () => void;
10
11
  render(): any;
11
12
  }
@@ -0,0 +1,23 @@
1
+ import { EventEmitter } from '../../stencil-public-runtime';
2
+ import { PaymentMethodOption } from './payment-method-option-utils';
3
+ import { PaymentMethodPayload } from './payment-method-payload';
4
+ export declare class SezzelPaymentMethod {
5
+ iframeOrigin?: string;
6
+ bnpl: any;
7
+ clientId: string;
8
+ accountId: string;
9
+ paymentMethodOption: PaymentMethodOption;
10
+ isSelected: boolean;
11
+ paymentAmount: string;
12
+ installmentPlan: any;
13
+ sezzleCheckout: any;
14
+ sezzlePromise: Promise<PaymentMethodPayload>;
15
+ private scriptRef;
16
+ private sezzleButtonRef;
17
+ paymentMethodOptionSelected: EventEmitter;
18
+ componentDidRender(): void;
19
+ resolvePaymentMethod(): Promise<PaymentMethodPayload>;
20
+ onPaymentMethodOptionClick: () => void;
21
+ initializeSezzleCheckout: () => void;
22
+ render(): any;
23
+ }
@@ -0,0 +1,18 @@
1
+ import { EventEmitter } from '../../stencil-public-runtime';
2
+ export declare class DateInput {
3
+ label: string;
4
+ name: string;
5
+ error: string;
6
+ defaultValue: string;
7
+ inputHandler: any;
8
+ disabled: boolean;
9
+ date: string;
10
+ formControlInput: EventEmitter<any>;
11
+ formControlBlur: EventEmitter<any>;
12
+ dateInput: HTMLInputElement;
13
+ private updateInput;
14
+ componentDidLoad(): void;
15
+ handleDefaultValueChange(newValue: string): void;
16
+ handleFormControlInput: (event: any) => void;
17
+ render(): any;
18
+ }