@saasquatch/mint-components 2.2.0 → 2.3.0-2

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 (375) hide show
  1. package/dist/cjs/{data-8c8a08f6.js → data-89ac73dd.js} +2 -90
  2. package/dist/cjs/eventKeys-7af4df4d.js +5 -0
  3. package/dist/cjs/{keys-cff24974.js → keys-5a2c9ed2.js} +4 -0
  4. package/dist/cjs/loader.cjs.js +1 -1
  5. package/dist/cjs/mint-components.cjs.js +1 -1
  6. package/dist/cjs/parseStates-d1effc19.js +16 -0
  7. package/dist/cjs/sqm-banking-info-form_10.cjs.entry.js +461 -339
  8. package/dist/cjs/{sqm-big-stat_46.cjs.entry.js → sqm-big-stat_47.cjs.entry.js} +450 -16
  9. package/dist/cjs/sqm-code-verification.cjs.entry.js +4 -5
  10. package/dist/cjs/sqm-email-verification_2.cjs.entry.js +893 -0
  11. package/dist/cjs/sqm-partner-info-modal-view-f6faecf5.js +149 -0
  12. package/dist/cjs/sqm-referral-table_11.cjs.entry.js +27 -9
  13. package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +30 -9
  14. package/dist/cjs/sqm-stencilbook.cjs.entry.js +732 -326
  15. package/dist/cjs/{sqm-user-info-form-view-53306f6e.js → sqm-user-info-form-view-0e1ddbe4.js} +34 -426
  16. package/dist/cjs/sqm-widget-verification-controller.cjs.entry.js +1 -1
  17. package/dist/cjs/{usePayoutStatus-0192fccd.js → useIndirectTaxForm-c3c1ec56.js} +294 -5
  18. package/dist/cjs/utils-a3b3d05b.js +478 -0
  19. package/dist/collection/collection-manifest.json +1 -0
  20. package/dist/collection/components/sqm-partner-info-modal/PartnerInfoModal.stories.js +171 -0
  21. package/dist/collection/components/sqm-partner-info-modal/sqm-partner-info-modal-view.js +143 -0
  22. package/dist/collection/components/sqm-partner-info-modal/sqm-partner-info-modal.js +670 -0
  23. package/dist/collection/components/sqm-partner-info-modal/usePartnerInfoModal.js +276 -0
  24. package/dist/collection/components/sqm-referral-table/ReferralTable.stories.js +1 -0
  25. package/dist/collection/components/sqm-referral-table/ReferralTableRewardsCell.stories.js +1 -0
  26. package/dist/collection/components/sqm-referral-table/TaxAndCashReferralTable.stories.js +2 -2
  27. package/dist/collection/components/sqm-referral-table/TaxAndCashReferralTableRewardsCell.stories.js +209 -145
  28. package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-rewards-cell.js +30 -10
  29. package/dist/collection/components/sqm-rewards-table/RewardsTableCell.stories.js +1 -0
  30. package/dist/collection/components/sqm-rewards-table/TaxAndCashRewardsTable.stories.js +2 -2
  31. package/dist/collection/components/sqm-rewards-table/TaxAndCashRewardsTableCell.stories.js +223 -137
  32. package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-status-cell.js +30 -10
  33. package/dist/collection/components/sqm-rewards-table/useRewardsTable.js +1 -0
  34. package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +4 -0
  35. package/dist/collection/components/sqm-widget-verification/WidgetVerification.stories.js +16 -0
  36. package/dist/collection/components/sqm-widget-verification/keys.js +2 -0
  37. package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification-view.js +3 -4
  38. package/dist/collection/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification-view.js +0 -2
  39. package/dist/collection/components/sqm-widget-verification/sqm-email-verification/useEmailVerification.js +19 -9
  40. package/dist/collection/components/sqm-widget-verification/sqm-widget-verification.js +486 -46
  41. package/dist/collection/components/sqm-widget-verification/useWidgetVerification.js +43 -11
  42. package/dist/collection/components/tax-and-cash/data.js +2 -0
  43. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/formDefinitions.js +93 -37
  44. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.js +738 -13
  45. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.js +95 -1
  46. package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/useIndirectTaxForm.js +51 -12
  47. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +59 -30
  48. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/useTaxAndCash.js +51 -2
  49. package/dist/collection/components/tax-and-cash/sqm-user-info-form/UserInfoFormView.stories.js +0 -1
  50. package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +10 -18
  51. package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form.js +0 -25
  52. package/dist/collection/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.js +34 -17
  53. package/dist/esm/{ShadowViewAddon-0b980200.js → ShadowViewAddon-e115fa1c.js} +5 -5
  54. package/dist/{mint-components/p-0c0d4065.js → esm/data-8698cbc6.js} +25 -5
  55. package/dist/esm/eventKeys-f76b6a03.js +3 -0
  56. package/dist/esm/{global-96c14d63.js → global-75e96214.js} +1 -1
  57. package/dist/esm/{index.module-b23fdad8.js → index.module-02cb914c.js} +1 -1
  58. package/dist/esm/keys-1054056a.js +8 -0
  59. package/dist/esm/loader.js +3 -3
  60. package/dist/esm/mint-components.js +3 -3
  61. package/dist/esm/parseStates-ed75e224.js +14 -0
  62. package/dist/esm/{re-render-f30aeb6b.js → re-render-bf46ba54.js} +1 -1
  63. package/dist/esm/sqm-banking-info-form_10.entry.js +448 -326
  64. package/dist/esm/{sqm-big-stat_46.entry.js → sqm-big-stat_47.entry.js} +454 -21
  65. package/dist/esm/sqm-close-button.entry.js +1 -1
  66. package/dist/esm/sqm-code-verification.entry.js +7 -8
  67. package/dist/esm/sqm-context-router.entry.js +1 -1
  68. package/dist/esm/sqm-email-verification_2.entry.js +888 -0
  69. package/dist/esm/sqm-empty_4.entry.js +2 -2
  70. package/dist/esm/sqm-google-sign-in.entry.js +1 -1
  71. package/dist/esm/sqm-graphql-client-provider.entry.js +1 -1
  72. package/dist/esm/sqm-instant-access-registration.entry.js +3 -3
  73. package/dist/esm/{sqm-lead-checkbox-field-view-7928db07.js → sqm-lead-checkbox-field-view-bfafee56.js} +1 -1
  74. package/dist/esm/sqm-lead-checkbox-field.entry.js +4 -4
  75. package/dist/esm/{sqm-lead-input-field-view-d1b91650.js → sqm-lead-input-field-view-b945edf4.js} +1 -1
  76. package/dist/esm/sqm-lead-input-field.entry.js +4 -4
  77. package/dist/esm/sqm-leaderboard-rank.entry.js +2 -2
  78. package/dist/esm/sqm-logout-current-user.entry.js +1 -1
  79. package/dist/esm/{sqm-navigation-sidebar-item-view-b3beac5a.js → sqm-navigation-sidebar-item-view-8d98fcf3.js} +1 -1
  80. package/dist/esm/sqm-navigation-sidebar-item.entry.js +2 -2
  81. package/dist/esm/sqm-navigation-sidebar.entry.js +1 -1
  82. package/dist/esm/sqm-pagination_3.entry.js +3 -3
  83. package/dist/esm/sqm-partner-info-modal-view-d6f3a215.js +146 -0
  84. package/dist/esm/sqm-password-field.entry.js +2 -2
  85. package/dist/esm/sqm-popup-container.entry.js +1 -1
  86. package/dist/esm/{sqm-portal-email-verification-view-04528277.js → sqm-portal-email-verification-view-fde1eb35.js} +1 -1
  87. package/dist/esm/sqm-portal-email-verification.entry.js +3 -3
  88. package/dist/esm/sqm-portal-forgot-password_6.entry.js +4 -4
  89. package/dist/esm/sqm-portal-logout.entry.js +1 -1
  90. package/dist/esm/{sqm-portal-profile-view-b5ea620f.js → sqm-portal-profile-view-2018590a.js} +1 -1
  91. package/dist/esm/sqm-portal-profile.entry.js +4 -4
  92. package/dist/esm/sqm-portal-protected-route.entry.js +1 -1
  93. package/dist/esm/sqm-portal-reset-password.entry.js +1 -1
  94. package/dist/esm/{sqm-portal-verify-email-view-c61536b7.js → sqm-portal-verify-email-view-590f964b.js} +1 -1
  95. package/dist/esm/sqm-qr-code.entry.js +2 -2
  96. package/dist/esm/sqm-referral-table_11.entry.js +32 -14
  97. package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +2 -2
  98. package/dist/esm/sqm-rewards-table_9.entry.js +35 -14
  99. package/dist/esm/sqm-stencilbook.entry.js +708 -302
  100. package/dist/esm/sqm-tab.entry.js +2 -2
  101. package/dist/esm/sqm-tabs.entry.js +3 -3
  102. package/dist/esm/{sqm-user-info-form-view-19d81a2b.js → sqm-user-info-form-view-e1ba6009.js} +14 -403
  103. package/dist/esm/sqm-widget-verification-controller.entry.js +2 -2
  104. package/dist/esm/{useChildElements-9bccfb72.js → useChildElements-06937df7.js} +1 -1
  105. package/dist/esm/{usePayoutStatus-46c0c289.js → useIndirectTaxForm-b2888ea5.js} +292 -5
  106. package/dist/esm/{useInstantAccessRegistration-69fefed0.js → useInstantAccessRegistration-69c9ffe0.js} +2 -2
  107. package/dist/esm/{useLeadFormState-dd4e8b08.js → useLeadFormState-332b2796.js} +2 -2
  108. package/dist/esm/{usePortalRegistrationForm-62de6fb1.js → usePortalRegistrationForm-3a1f36a2.js} +2 -2
  109. package/dist/esm/{useReferralCodes-52ca720f.js → useReferralCodes-25f8b792.js} +1 -1
  110. package/dist/esm/{useReferralTable-92af4133.js → useReferralTable-03d32c6f.js} +3 -3
  111. package/dist/esm/{useRegistrationFormState-2c090c38.js → useRegistrationFormState-aa44cfff.js} +1 -1
  112. package/dist/esm/{useVerificationEmail-c13c3b51.js → useVerificationEmail-9f2c0bab.js} +1 -1
  113. package/dist/esm/{utilities-77b1e0cc.js → utilities-cbd8f2eb.js} +1 -1
  114. package/dist/esm/utils-4f5cd04c.js +467 -0
  115. package/dist/esm-es5/{ShadowViewAddon-0b980200.js → ShadowViewAddon-e115fa1c.js} +1 -1
  116. package/dist/esm-es5/data-8698cbc6.js +1 -0
  117. package/dist/esm-es5/eventKeys-f76b6a03.js +1 -0
  118. package/dist/esm-es5/{global-96c14d63.js → global-75e96214.js} +1 -1
  119. package/dist/esm-es5/{index.module-b23fdad8.js → index.module-02cb914c.js} +1 -1
  120. package/dist/esm-es5/keys-1054056a.js +1 -0
  121. package/dist/esm-es5/loader.js +1 -1
  122. package/dist/esm-es5/mint-components.js +1 -1
  123. package/dist/esm-es5/parseStates-ed75e224.js +1 -0
  124. package/dist/esm-es5/{re-render-f30aeb6b.js → re-render-bf46ba54.js} +1 -1
  125. package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -1
  126. package/dist/esm-es5/sqm-big-stat_47.entry.js +1 -0
  127. package/dist/esm-es5/sqm-close-button.entry.js +1 -1
  128. package/dist/esm-es5/sqm-code-verification.entry.js +1 -1
  129. package/dist/esm-es5/sqm-context-router.entry.js +1 -1
  130. package/dist/esm-es5/sqm-email-verification_2.entry.js +1 -0
  131. package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
  132. package/dist/esm-es5/sqm-google-sign-in.entry.js +1 -1
  133. package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
  134. package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
  135. package/dist/esm-es5/{sqm-lead-checkbox-field-view-7928db07.js → sqm-lead-checkbox-field-view-bfafee56.js} +1 -1
  136. package/dist/esm-es5/sqm-lead-checkbox-field.entry.js +1 -1
  137. package/dist/esm-es5/{sqm-lead-input-field-view-d1b91650.js → sqm-lead-input-field-view-b945edf4.js} +1 -1
  138. package/dist/esm-es5/sqm-lead-input-field.entry.js +1 -1
  139. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  140. package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
  141. package/dist/esm-es5/{sqm-navigation-sidebar-item-view-b3beac5a.js → sqm-navigation-sidebar-item-view-8d98fcf3.js} +1 -1
  142. package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
  143. package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
  144. package/dist/esm-es5/sqm-pagination_3.entry.js +1 -1
  145. package/dist/esm-es5/sqm-partner-info-modal-view-d6f3a215.js +1 -0
  146. package/dist/esm-es5/sqm-password-field.entry.js +1 -1
  147. package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
  148. package/dist/esm-es5/{sqm-portal-email-verification-view-04528277.js → sqm-portal-email-verification-view-fde1eb35.js} +1 -1
  149. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  150. package/dist/esm-es5/sqm-portal-forgot-password_6.entry.js +1 -1
  151. package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
  152. package/dist/esm-es5/{sqm-portal-profile-view-b5ea620f.js → sqm-portal-profile-view-2018590a.js} +1 -1
  153. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  154. package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
  155. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  156. package/dist/esm-es5/{sqm-portal-verify-email-view-c61536b7.js → sqm-portal-verify-email-view-590f964b.js} +1 -1
  157. package/dist/esm-es5/sqm-qr-code.entry.js +1 -1
  158. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  159. package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
  160. package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
  161. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  162. package/dist/esm-es5/sqm-tab.entry.js +1 -1
  163. package/dist/esm-es5/sqm-tabs.entry.js +1 -1
  164. package/dist/esm-es5/sqm-user-info-form-view-e1ba6009.js +1 -0
  165. package/dist/esm-es5/sqm-widget-verification-controller.entry.js +1 -1
  166. package/dist/esm-es5/{useChildElements-9bccfb72.js → useChildElements-06937df7.js} +1 -1
  167. package/dist/esm-es5/useIndirectTaxForm-b2888ea5.js +6 -0
  168. package/dist/esm-es5/{useInstantAccessRegistration-69fefed0.js → useInstantAccessRegistration-69c9ffe0.js} +1 -1
  169. package/dist/esm-es5/{useLeadFormState-dd4e8b08.js → useLeadFormState-332b2796.js} +1 -1
  170. package/dist/esm-es5/{usePortalRegistrationForm-62de6fb1.js → usePortalRegistrationForm-3a1f36a2.js} +1 -1
  171. package/dist/esm-es5/{useReferralCodes-52ca720f.js → useReferralCodes-25f8b792.js} +1 -1
  172. package/dist/esm-es5/{useReferralTable-92af4133.js → useReferralTable-03d32c6f.js} +1 -1
  173. package/dist/esm-es5/{useRegistrationFormState-2c090c38.js → useRegistrationFormState-aa44cfff.js} +1 -1
  174. package/dist/esm-es5/{useVerificationEmail-c13c3b51.js → useVerificationEmail-9f2c0bab.js} +1 -1
  175. package/dist/esm-es5/{utilities-77b1e0cc.js → utilities-cbd8f2eb.js} +1 -1
  176. package/dist/esm-es5/utils-4f5cd04c.js +1 -0
  177. package/dist/mint-components/mint-components.esm.js +1 -1
  178. package/dist/mint-components/mint-components.js +1 -1
  179. package/dist/mint-components/{p-626b31cb.system.entry.js → p-025ddad2.system.entry.js} +1 -1
  180. package/dist/mint-components/{p-5b871e38.system.entry.js → p-02c0f88e.system.entry.js} +1 -1
  181. package/dist/mint-components/{p-f55ecf35.system.js → p-02e2b13b.system.js} +1 -1
  182. package/dist/mint-components/{p-a4f8abad.js → p-0766438e.js} +1 -1
  183. package/dist/mint-components/{p-205cfdcd.system.js → p-0815b973.system.js} +1 -1
  184. package/dist/mint-components/{p-db0a2afd.entry.js → p-092c2606.entry.js} +1 -1
  185. package/dist/mint-components/{p-fe1d3cf8.system.entry.js → p-099ce3d5.system.entry.js} +1 -1
  186. package/dist/mint-components/p-0a6489fa.entry.js +1 -0
  187. package/dist/mint-components/p-0afa6148.js +1 -0
  188. package/dist/mint-components/{p-fc284f91.system.entry.js → p-0b32e1d4.system.entry.js} +1 -1
  189. package/dist/mint-components/p-115dfc03.system.js +1 -0
  190. package/dist/mint-components/{p-7b59e13c.system.js → p-1317cc92.system.js} +1 -1
  191. package/dist/mint-components/{p-2b4af8e8.system.entry.js → p-13bb56a8.system.entry.js} +1 -1
  192. package/dist/mint-components/{p-f8a09b0f.js → p-13d8ecad.js} +1 -1
  193. package/dist/mint-components/p-13f3a647.js +1 -0
  194. package/dist/mint-components/{p-61897e72.entry.js → p-14183edc.entry.js} +1 -1
  195. package/dist/mint-components/{p-8f2d03c7.entry.js → p-1599a178.entry.js} +1 -1
  196. package/dist/mint-components/{p-02499e08.entry.js → p-1b0326d1.entry.js} +1 -1
  197. package/dist/mint-components/p-1d398dbc.entry.js +11 -0
  198. package/dist/mint-components/p-1d86895f.system.js +1 -0
  199. package/dist/mint-components/p-1e6a2945.js +1 -0
  200. package/dist/mint-components/{p-c8a3f3b0.js → p-1efb42e2.js} +1 -1
  201. package/dist/mint-components/p-1f387c7b.system.js +1 -0
  202. package/dist/mint-components/{p-a96c9bbb.system.entry.js → p-209157a9.system.entry.js} +1 -1
  203. package/dist/mint-components/{p-30c1ef36.system.js → p-2190dc73.system.js} +1 -1
  204. package/dist/mint-components/{p-80e116ec.system.entry.js → p-24f1d342.system.entry.js} +1 -1
  205. package/dist/mint-components/{p-6668f9f0.entry.js → p-27daf264.entry.js} +1 -1
  206. package/dist/mint-components/p-28ed2ae9.js +1 -0
  207. package/dist/mint-components/{p-09f7aacd.entry.js → p-29bc5f50.entry.js} +2 -2
  208. package/dist/mint-components/{p-738dce27.system.entry.js → p-2d3f7b76.system.entry.js} +1 -1
  209. package/dist/mint-components/p-2ed13619.entry.js +1 -0
  210. package/dist/mint-components/{p-c45a929a.system.entry.js → p-30cfe3e3.system.entry.js} +1 -1
  211. package/dist/mint-components/{p-d55c50af.system.js → p-31815fb6.system.js} +1 -1
  212. package/dist/mint-components/{p-c8bcbf8b.system.entry.js → p-3354cc75.system.entry.js} +1 -1
  213. package/dist/mint-components/{p-5bc5c61e.entry.js → p-335a5736.entry.js} +1 -1
  214. package/dist/mint-components/{p-e9485160.system.entry.js → p-33ca28ba.system.entry.js} +1 -1
  215. package/dist/mint-components/p-3596e241.entry.js +116 -0
  216. package/dist/mint-components/{p-8583ce0c.system.js → p-376c7608.system.js} +1 -1
  217. package/dist/mint-components/p-37e24621.system.entry.js +1 -0
  218. package/dist/mint-components/{p-95510f27.entry.js → p-38d04e4b.entry.js} +1 -1
  219. package/dist/mint-components/{p-e84b874c.js → p-3a41b39c.js} +1 -1
  220. package/dist/mint-components/{p-e5ea43b1.entry.js → p-3bbc0db2.entry.js} +2 -2
  221. package/dist/mint-components/{p-982d1f6f.entry.js → p-432a44de.entry.js} +3 -2
  222. package/dist/mint-components/{p-bab4929e.js → p-45230a44.js} +1 -1
  223. package/dist/mint-components/p-4691e9d5.system.js +1 -0
  224. package/dist/mint-components/{p-1d92c169.entry.js → p-4d73a616.entry.js} +1 -1
  225. package/dist/mint-components/{p-3bc62ca6.entry.js → p-4e3db52b.entry.js} +1 -1
  226. package/dist/mint-components/{p-3286ef38.js → p-4eaa3eb7.js} +1 -1
  227. package/dist/mint-components/{p-013564b3.entry.js → p-4eadbd5b.entry.js} +1 -1
  228. package/dist/mint-components/p-4f9dc974.js +1 -0
  229. package/dist/mint-components/{p-f7ca4cc4.system.entry.js → p-51ae6716.system.entry.js} +1 -1
  230. package/dist/mint-components/p-56b33268.system.entry.js +1 -0
  231. package/dist/mint-components/p-58c24352.system.js +6 -0
  232. package/dist/mint-components/p-5c52100b.js +117 -0
  233. package/dist/mint-components/{p-77b9cde8.system.js → p-5fdf0286.system.js} +1 -1
  234. package/dist/mint-components/{p-09348341.entry.js → p-60b1f3d9.entry.js} +1 -1
  235. package/dist/mint-components/{p-d005df28.system.entry.js → p-623a0a0b.system.entry.js} +1 -1
  236. package/dist/mint-components/{p-c30d0049.system.entry.js → p-6b4e5d94.system.entry.js} +1 -1
  237. package/dist/mint-components/{p-f4e36adf.system.entry.js → p-6f6c3ac6.system.entry.js} +1 -1
  238. package/dist/mint-components/p-6f8dde97.system.js +1 -0
  239. package/dist/mint-components/{p-43c31fd5.system.js → p-7628e56f.system.js} +1 -1
  240. package/dist/mint-components/{p-653db72e.entry.js → p-78e6dc8d.entry.js} +1 -1
  241. package/dist/mint-components/{p-f581aac7.js → p-7a091fa7.js} +1 -1
  242. package/dist/mint-components/{p-40bad95a.entry.js → p-7cbdf341.entry.js} +2 -2
  243. package/dist/mint-components/{p-044f930a.system.js → p-7d2d9ef9.system.js} +1 -1
  244. package/dist/mint-components/{p-5c4ba8a0.entry.js → p-7ea3f49c.entry.js} +1 -1
  245. package/dist/mint-components/{p-5ce78407.system.entry.js → p-81bc6dca.system.entry.js} +1 -1
  246. package/dist/mint-components/{p-f6528f8a.entry.js → p-84495fb8.entry.js} +1 -1
  247. package/dist/mint-components/{p-b96e90a2.system.entry.js → p-86d20b47.system.entry.js} +1 -1
  248. package/dist/mint-components/p-87f86492.js +1 -0
  249. package/dist/mint-components/{p-d0993bb9.js → p-8a6531d2.js} +1 -1
  250. package/dist/mint-components/p-8ae8968c.js +1 -0
  251. package/dist/mint-components/{p-7265bbcb.system.js → p-8e148cb0.system.js} +1 -1
  252. package/dist/mint-components/p-8f15bf17.entry.js +1 -0
  253. package/dist/mint-components/{p-b66f45d1.entry.js → p-921eb024.entry.js} +1 -1
  254. package/dist/mint-components/{p-f1374258.system.entry.js → p-925aa740.system.entry.js} +1 -1
  255. package/dist/mint-components/p-99eecdcb.system.entry.js +1 -0
  256. package/dist/mint-components/{p-e12754f5.system.entry.js → p-9a15cd5a.system.entry.js} +1 -1
  257. package/dist/mint-components/p-9c1f5317.system.js +1 -0
  258. package/dist/mint-components/{p-832aea99.js → p-9f48640d.js} +1 -1
  259. package/dist/mint-components/p-a38eece5.system.entry.js +1 -0
  260. package/dist/mint-components/p-a49d9288.entry.js +1 -0
  261. package/dist/mint-components/{p-90833864.system.entry.js → p-ab59c5eb.system.entry.js} +1 -1
  262. package/dist/mint-components/{p-e6240c72.js → p-abd717d4.js} +1 -1
  263. package/dist/mint-components/p-abe9f5b1.js +99 -0
  264. package/dist/mint-components/p-ae2f610e.system.js +1 -0
  265. package/dist/mint-components/p-b222bace.system.entry.js +1 -0
  266. package/dist/mint-components/{p-19c441b2.system.js → p-b2ad3fca.system.js} +1 -1
  267. package/dist/mint-components/{p-c8a8d231.entry.js → p-b3309d9b.entry.js} +2 -2
  268. package/dist/mint-components/p-b419f9ac.entry.js +299 -0
  269. package/dist/mint-components/{p-8962e023.js → p-b871d158.js} +1 -1
  270. package/dist/mint-components/p-b96ed8eb.js +1 -0
  271. package/dist/mint-components/p-badf28bb.system.js +1 -0
  272. package/dist/mint-components/{p-035d9b65.js → p-bb0b5e4b.js} +1 -1
  273. package/dist/mint-components/{p-52674798.entry.js → p-bcfdb510.entry.js} +1 -1
  274. package/dist/mint-components/p-be6a0dee.system.js +1 -0
  275. package/dist/mint-components/{p-642f2c89.js → p-bf9ab2d3.js} +1 -1
  276. package/dist/mint-components/{p-bc386a7b.js → p-c0a85e22.js} +1 -1
  277. package/dist/mint-components/p-c0f8f977.system.entry.js +1 -0
  278. package/dist/mint-components/p-c41d536d.entry.js +1 -0
  279. package/dist/mint-components/{p-a0c5631b.system.js → p-c66e5217.system.js} +1 -1
  280. package/dist/mint-components/p-cdabd9de.system.js +1 -0
  281. package/dist/mint-components/p-cfc35705.system.entry.js +1 -0
  282. package/dist/mint-components/{p-0d83907e.js → p-cfea215d.js} +1 -1
  283. package/dist/mint-components/p-d08408b3.entry.js +1 -0
  284. package/dist/mint-components/{p-172675ca.system.js → p-d284ae70.system.js} +1 -1
  285. package/dist/mint-components/{p-027fc3be.system.entry.js → p-d34564f8.system.entry.js} +1 -1
  286. package/dist/mint-components/{p-1021a49f.system.entry.js → p-db6bf7cf.system.entry.js} +1 -1
  287. package/dist/mint-components/{p-4da5a3fe.system.entry.js → p-df897432.system.entry.js} +1 -1
  288. package/dist/mint-components/{p-036a2617.system.js → p-e651593c.system.js} +1 -1
  289. package/dist/mint-components/{p-f39cf252.system.entry.js → p-e6de31a7.system.entry.js} +1 -1
  290. package/dist/mint-components/{p-2668335b.js → p-e8e7af06.js} +1 -1
  291. package/dist/mint-components/{p-85721089.system.js → p-e920c95c.system.js} +1 -1
  292. package/dist/mint-components/{p-3366b81e.js → p-eae44b42.js} +2 -2
  293. package/dist/mint-components/p-ebc519bc.system.js +1 -0
  294. package/dist/mint-components/{p-af407cce.entry.js → p-ef32fa8f.entry.js} +1 -1
  295. package/dist/mint-components/{p-7efb8782.system.js → p-f32050f6.system.js} +1 -1
  296. package/dist/mint-components/{p-782af7ae.system.entry.js → p-f6de2e5c.system.entry.js} +1 -1
  297. package/dist/mint-components/{p-9390586b.system.entry.js → p-fa85ea51.system.entry.js} +1 -1
  298. package/dist/mint-components/p-ff013776.entry.js +9 -0
  299. package/dist/mint-components/p-ffcebe78.entry.js +83 -0
  300. package/dist/types/components/sqm-partner-info-modal/PartnerInfoModal.stories.d.ts +15 -0
  301. package/dist/types/components/sqm-partner-info-modal/sqm-partner-info-modal-view.d.ts +50 -0
  302. package/dist/types/components/sqm-partner-info-modal/sqm-partner-info-modal.d.ts +123 -0
  303. package/dist/types/components/sqm-partner-info-modal/usePartnerInfoModal.d.ts +17 -0
  304. package/dist/types/components/sqm-referral-table/TaxAndCashReferralTableRewardsCell.stories.d.ts +18 -1
  305. package/dist/types/components/sqm-rewards-table/TaxAndCashRewardsTableCell.stories.d.ts +19 -7
  306. package/dist/types/components/sqm-widget-verification/WidgetVerification.stories.d.ts +8 -0
  307. package/dist/types/components/sqm-widget-verification/keys.d.ts +2 -0
  308. package/dist/types/components/sqm-widget-verification/sqm-widget-verification.d.ts +75 -7
  309. package/dist/types/components/sqm-widget-verification/useWidgetVerification.d.ts +2 -0
  310. package/dist/types/components/tax-and-cash/data.d.ts +3 -0
  311. package/dist/types/components/tax-and-cash/sqm-banking-info-form/formDefinitions.d.ts +8 -0
  312. package/dist/types/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.d.ts +4 -0
  313. package/dist/types/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.d.ts +173 -0
  314. package/dist/types/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.d.ts +2 -0
  315. package/dist/types/components/tax-and-cash/sqm-indirect-tax-form/useIndirectTaxForm.d.ts +7 -0
  316. package/dist/types/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.d.ts +10 -5
  317. package/dist/types/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.d.ts +0 -1
  318. package/dist/types/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form.d.ts +0 -4
  319. package/dist/types/components.d.ts +644 -32
  320. package/dist/types/saasquatch.d.ts +2 -0
  321. package/docs/docs.docx +0 -0
  322. package/docs/raisins.json +1 -1
  323. package/grapesjs/grapesjs.js +1 -1
  324. package/package.json +2 -4
  325. package/dist/cjs/extractProps-e9c55ba8.js +0 -35
  326. package/dist/cjs/sqm-email-verification.cjs.entry.js +0 -418
  327. package/dist/cjs/sqm-widget-verification.cjs.entry.js +0 -214
  328. package/dist/esm/data-12e6aae1.js +0 -216
  329. package/dist/esm/extractProps-54064fb0.js +0 -32
  330. package/dist/esm/keys-406491dc.js +0 -6
  331. package/dist/esm/sqm-email-verification.entry.js +0 -414
  332. package/dist/esm/sqm-widget-verification.entry.js +0 -210
  333. package/dist/esm-es5/data-12e6aae1.js +0 -1
  334. package/dist/esm-es5/extractProps-54064fb0.js +0 -1
  335. package/dist/esm-es5/keys-406491dc.js +0 -1
  336. package/dist/esm-es5/sqm-big-stat_46.entry.js +0 -1
  337. package/dist/esm-es5/sqm-email-verification.entry.js +0 -1
  338. package/dist/esm-es5/sqm-user-info-form-view-19d81a2b.js +0 -1
  339. package/dist/esm-es5/sqm-widget-verification.entry.js +0 -1
  340. package/dist/esm-es5/usePayoutStatus-46c0c289.js +0 -6
  341. package/dist/mint-components/p-00b235c5.system.entry.js +0 -1
  342. package/dist/mint-components/p-0706cf9e.system.entry.js +0 -1
  343. package/dist/mint-components/p-0797a946.js +0 -1
  344. package/dist/mint-components/p-13292317.entry.js +0 -11
  345. package/dist/mint-components/p-2d5c2bd4.system.entry.js +0 -1
  346. package/dist/mint-components/p-38c7775a.js +0 -1
  347. package/dist/mint-components/p-3adbfd0b.system.js +0 -6
  348. package/dist/mint-components/p-3af3e2c1.entry.js +0 -25
  349. package/dist/mint-components/p-5492dd51.system.entry.js +0 -1
  350. package/dist/mint-components/p-57dd28bd.system.js +0 -1
  351. package/dist/mint-components/p-5b1d2866.system.js +0 -1
  352. package/dist/mint-components/p-6c4ad51a.js +0 -1
  353. package/dist/mint-components/p-77fa2383.entry.js +0 -1
  354. package/dist/mint-components/p-7939e4af.entry.js +0 -1
  355. package/dist/mint-components/p-8285869e.entry.js +0 -9
  356. package/dist/mint-components/p-892797eb.system.entry.js +0 -1
  357. package/dist/mint-components/p-91a96e98.entry.js +0 -1
  358. package/dist/mint-components/p-b2b85238.entry.js +0 -1
  359. package/dist/mint-components/p-b395470f.entry.js +0 -16
  360. package/dist/mint-components/p-bba16a46.system.entry.js +0 -1
  361. package/dist/mint-components/p-be12607e.entry.js +0 -281
  362. package/dist/mint-components/p-bf188b72.system.entry.js +0 -1
  363. package/dist/mint-components/p-ca098be1.system.js +0 -1
  364. package/dist/mint-components/p-d18dedd4.js +0 -1
  365. package/dist/mint-components/p-d4f332a7.entry.js +0 -106
  366. package/dist/mint-components/p-d6193876.system.js +0 -1
  367. package/dist/mint-components/p-de0d6fd7.js +0 -49
  368. package/dist/mint-components/p-e00ec007.js +0 -1
  369. package/dist/mint-components/p-e55aafe9.system.js +0 -1
  370. package/dist/mint-components/p-ea03e50e.system.js +0 -1
  371. package/dist/mint-components/p-ec0b649a.entry.js +0 -1
  372. package/dist/mint-components/p-f8026ed6.system.js +0 -1
  373. package/dist/mint-components/p-fb804001.system.entry.js +0 -1
  374. package/dist/mint-components/p-fe70e20c.entry.js +0 -1
  375. package/dist/mint-components/p-ff118a19.system.js +0 -1
@@ -25,6 +25,95 @@ export const paypalFeeMap = {
25
25
  const ACH_PAYMENT_METHOD = 3;
26
26
  const WIRE_PAYMENT_METHOD = 5;
27
27
  const PAYPAL_PAYMENT_METHOD = 7;
28
+ /**
29
+ * Maps GraphQL validation error field names to form field names.
30
+ */
31
+ const API_FIELD_TO_FORM_FIELD = {
32
+ // bankProvinceState → form uses bankState
33
+ bankProvinceState: "bankState",
34
+ };
35
+ /**
36
+ * Maps Impact API error code paths (from validationErrors[].errorPath) to short,
37
+ * readable frontend error codes used in the ICU select props.
38
+ */
39
+ const API_ERROR_PATH_TO_FRONTEND = {
40
+ // Beneficiary account name
41
+ "withdrawal.settings.error.empty_beneficiaryname": "empty",
42
+ "withdrawal.settings.error.invalid_character_beneficiaryname": "invalidCharacters",
43
+ "withdrawal.settings.error.numeric_beneficiaryname": "numeric",
44
+ "withdrawal_settings.error.beneficiaryname.size": "tooLong",
45
+ "withdrawal.settings.error.non_english_beneficiaryname": "nonEnglish",
46
+ "withdrawal_settings.error.business_beneficiaryname_match": "businessNameMismatch",
47
+ "withdrawal_settings.error.beneficiaryname_match": "nameMismatch",
48
+ "withdrawal_settings.error.business_checkpayeename_match": "businessPayeeMismatch",
49
+ "withdrawal_settings.error.checkpayeename_match": "payeeMismatch",
50
+ // Bank account number
51
+ "withdrawal.settings.error.accountnumber.empty": "empty",
52
+ "withdrawal.settings.error.accountnumber.uk": "invalidUk",
53
+ "withdrawal.settings.error.bankaccount.invalid": "invalid",
54
+ // IBAN
55
+ "withdrawal.settings.error.iban": "ibanEmpty",
56
+ "withdrawal.settings.error.iban.alphanumeric": "ibanAlphanumeric",
57
+ "withdrawal.settings.error.iban.invalid": "ibanInvalid",
58
+ "withdrawal.settings.error.iban.uk.country.mismatch": "ibanCountryMismatch",
59
+ // Routing code
60
+ "withdrawal.settings.error.bsbNumber": "invalidBsb",
61
+ "withdrawal.settings.error.sortcode": "invalidSortCode",
62
+ "withdrawal.settings.error.routingNumber": "empty",
63
+ "withdrawal.settings.error.routingcode": "invalid",
64
+ // SWIFT / BIC
65
+ "withdrawal.settings.error.bic": "empty",
66
+ "withdrawal.settings.error.bic.alphanumeric": "alphanumeric",
67
+ "withdrawal.settings.error.bic.invalid": "invalid",
68
+ // Bank account type
69
+ "global.error.invalid.accounttype": "empty",
70
+ // Bank name
71
+ "withdrawal.settings.error.bankName": "empty",
72
+ // Tax payer ID
73
+ "withdrawal.settings.error.taxPayerId": "empty",
74
+ "withdrawal.settings.error.taxPayerId.ar": "emptyAr",
75
+ "withdrawal.settings.error.taxPayerId.kr": "emptyKr",
76
+ "withdrawal.settings.error.taxPayerId.alphanumeric": "alphanumeric",
77
+ "withdrawal.settings.error.taxPayerId.alphanumeric.ar": "alphanumericAr",
78
+ "withdrawal.settings.error.taxPayerId.alphanumeric.kr": "alphanumericKr",
79
+ "withdrawal.settings.error.taxPayerId.invalid": "invalid",
80
+ "withdrawal.settings.error.taxPayerId.invalid.ar": "invalidAr",
81
+ "withdrawal.settings.error.taxPayerId.invalid.kr": "invalidKr",
82
+ "withdrawal.settings.error.taxPayerId.invalid.kzt": "invalidKzt",
83
+ "withdrawal.settings.error.taxPayerId.cnpj": "cnpjTooShort",
84
+ "withdrawal.settings.error.taxPayerId.cpf": "cpfTooShort",
85
+ // Patronymic name
86
+ "withdrawal.settings.error.patronymicName": "empty",
87
+ "withdrawal.settings.error.patronymicName.alphanumeric": "alphanumeric",
88
+ // VO code
89
+ "withdrawal.settings.error.voCode": "empty",
90
+ "withdrawal.settings.error.voCode.alphanumeric": "alphanumeric",
91
+ // Agency code
92
+ "withdrawal.settings.error.agencyCode": "empty",
93
+ "withdrawal.settings.error.agencyCode.alphanumeric": "alphanumeric",
94
+ "withdrawal.settings.error.agencyCode.length": "tooShort",
95
+ // Bank address fields
96
+ "withdrawal.settings.error.bankAddress": "empty",
97
+ "withdrawal.settings.error.bankCity": "empty",
98
+ "withdrawal.settings.error.bankProvinceState": "empty",
99
+ "withdrawal.settings.error.bankPostalCode": "empty",
100
+ // Branch code / name
101
+ "withdrawal.settings.error.branchCode": "invalid",
102
+ "withdrawal.settings.error.branchName": "empty",
103
+ // Classification code
104
+ "withdrawal.settings.error.classificationCode.invalid": "empty",
105
+ "withdrawal.settings.error.classificationCode.invalid.kzt": "invalidKzt",
106
+ // PayPal
107
+ "payment.error.email": "empty",
108
+ "payment.error.paypal_not_supported": "unsupportedCurrency",
109
+ "payment.error.email.invalid": "invalidEmail",
110
+ "payment.error.paypal_verification_incomplete": "verificationIncomplete",
111
+ // Payment schedule
112
+ "payment.error.no_threshold": "empty",
113
+ "payment.error.invalid_threshold": "invalid",
114
+ "payment.error.no_dayOfMonth": "empty",
115
+ "payment.error.invalid_dayOfMonth": "invalid",
116
+ };
28
117
  export function getFormInputs({ bitset, formMap }) {
29
118
  // Convert bitset to binary representation
30
119
  const binary = bitset.toString(2).padStart(Object.keys(formMap).length, "0");
@@ -48,6 +137,7 @@ const SAVE_WITHDRAWAL_SETTINGS = gql `
48
137
  validationErrors {
49
138
  field
50
139
  message
140
+ code
51
141
  }
52
142
  }
53
143
  }
@@ -63,6 +153,7 @@ const UPDATE_WITHDRAWAL_SETTINGS = gql `
63
153
  validationErrors {
64
154
  field
65
155
  message
156
+ code
66
157
  }
67
158
  }
68
159
  }
@@ -235,10 +326,13 @@ export function useBankingInfoForm(props) {
235
326
  else if (!success) {
236
327
  console.error("Validation failed: ", validationErrors);
237
328
  const mappedValidationErrors = validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.reduce((agg, error) => {
329
+ const formField = API_FIELD_TO_FORM_FIELD[error.field] || error.field;
330
+ const errorCode = API_ERROR_PATH_TO_FRONTEND[error.errorPath] || error.errorPath;
238
331
  return {
239
332
  ...agg,
240
- [error.field]: {
333
+ [formField]: {
241
334
  type: "invalid",
335
+ errorCode,
242
336
  },
243
337
  };
244
338
  }, {});
@@ -32,6 +32,32 @@ export const CONNECT_PARTNER = gql `
32
32
  }
33
33
  }
34
34
  `;
35
+ export const COMPLETE_PARTNER = gql `
36
+ mutation completeImpactConnection($vars: ImpactConnectionInput!) {
37
+ completeImpactConnection(impactConnectionInput: $vars) {
38
+ success
39
+ validationErrors {
40
+ field
41
+ message
42
+ }
43
+ user {
44
+ id
45
+ accountId
46
+ impactConnection {
47
+ connected
48
+ publisher {
49
+ brandedSignup
50
+ requiredTaxDocumentType
51
+ currentTaxDocument {
52
+ type
53
+ status
54
+ }
55
+ }
56
+ }
57
+ }
58
+ }
59
+ }
60
+ `;
35
61
  function getOption(countries, countryCode) {
36
62
  if (!countries)
37
63
  return;
@@ -49,7 +75,8 @@ export function useIndirectTaxForm(props) {
49
75
  const formRef = useRef(null);
50
76
  const context = useParentValue(TAX_FORM_CONTEXT_NAMESPACE);
51
77
  const [step, setStep] = useParent(TAX_CONTEXT_NAMESPACE);
52
- const [connectImpactPartner, { loading: connectLoading, errors: connectErrors },] = useMutation(CONNECT_PARTNER);
78
+ const [connectImpactPartner, { loading: connectLoading }] = useMutation(CONNECT_PARTNER);
79
+ const [completeImpactPartner, { loading: completeLoading }] = useMutation(COMPLETE_PARTNER);
53
80
  const userForm = useParentValue(USER_FORM_CONTEXT_NAMESPACE);
54
81
  const { data: userData, refetch, errors: userError, } = useParentQueryValue(USER_QUERY_NAMESPACE);
55
82
  const { data: _countriesRes, loading: countriesLoading } = useParentQueryValue(COUNTRIES_QUERY_NAMESPACE);
@@ -112,7 +139,7 @@ export function useIndirectTaxForm(props) {
112
139
  setFormState((p) => ({ ...p, [field]: value }));
113
140
  };
114
141
  async function connectPartner(formData) {
115
- var _a, _b, _c, _d, _e;
142
+ var _a, _b, _c, _d, _e, _f, _g;
116
143
  const vars = {
117
144
  user: {
118
145
  id: user.id,
@@ -134,19 +161,31 @@ export function useIndirectTaxForm(props) {
134
161
  additionalTaxId: formData.qstNumber,
135
162
  withholdingTaxId: formData.subRegionTaxNumber,
136
163
  };
137
- const result = await connectImpactPartner({
138
- vars,
139
- });
140
- if (!result || ((_a = result) === null || _a === void 0 ? void 0 : _a.message))
164
+ // If the partner has already been started call completeImpactConnection
165
+ // to fill in the remaining details. Otherwise create from scratch.
166
+ let result = null;
167
+ let connectionResult;
168
+ if (((_b = (_a = userData === null || userData === void 0 ? void 0 : userData.user) === null || _a === void 0 ? void 0 : _a.impactConnection) === null || _b === void 0 ? void 0 : _b.connectionStatus) === "STARTED") {
169
+ result = await completeImpactPartner({
170
+ vars,
171
+ });
172
+ connectionResult = (_c = result) === null || _c === void 0 ? void 0 : _c.completeImpactConnection;
173
+ }
174
+ else {
175
+ result = await connectImpactPartner({
176
+ vars,
177
+ });
178
+ connectionResult = (_d = result) === null || _d === void 0 ? void 0 : _d.createImpactConnection;
179
+ }
180
+ if (!result || ((_e = result) === null || _e === void 0 ? void 0 : _e.message))
141
181
  throw new Error();
142
- if (!((_b = result.createImpactConnection) === null || _b === void 0 ? void 0 : _b.success)) {
182
+ if (!(connectionResult === null || connectionResult === void 0 ? void 0 : connectionResult.success)) {
143
183
  // Output backend errors to console for now
144
- console.error("Failed to create Impact connection: ", result.createImpactConnection.validationErrors);
184
+ console.error("Failed to create Impact connection: ", connectionResult === null || connectionResult === void 0 ? void 0 : connectionResult.validationErrors);
145
185
  throw new Error();
146
186
  }
147
187
  await refetch();
148
- const resultPublisher = (_e = (_d = (_c = result
149
- .createImpactConnection) === null || _c === void 0 ? void 0 : _c.user) === null || _d === void 0 ? void 0 : _d.impactConnection) === null || _e === void 0 ? void 0 : _e.publisher;
188
+ const resultPublisher = (_g = (_f = connectionResult === null || connectionResult === void 0 ? void 0 : connectionResult.user) === null || _f === void 0 ? void 0 : _f.impactConnection) === null || _g === void 0 ? void 0 : _g.publisher;
150
189
  const hasValidCurrentDocument = validTaxDocument(resultPublisher === null || resultPublisher === void 0 ? void 0 : resultPublisher.requiredTaxDocumentType) && (resultPublisher === null || resultPublisher === void 0 ? void 0 : resultPublisher.currentTaxDocument);
151
190
  // Fire form change event
152
191
  window.dispatchEvent(new Event(TAX_FORM_UPDATED_EVENT_KEY));
@@ -212,8 +251,8 @@ export function useIndirectTaxForm(props) {
212
251
  states: {
213
252
  step: step === null || step === void 0 ? void 0 : step.replace("/", ""),
214
253
  hideSteps: context.hideSteps,
215
- disabled: loading || countriesLoading || connectLoading,
216
- loading: loading || connectLoading || countriesLoading,
254
+ disabled: loading || countriesLoading || connectLoading || completeLoading,
255
+ loading: loading || connectLoading || countriesLoading || completeLoading,
217
256
  isPartner: !!((_e = (_d = userData === null || userData === void 0 ? void 0 : userData.user) === null || _d === void 0 ? void 0 : _d.impactConnection) === null || _e === void 0 ? void 0 : _e.publisher),
218
257
  loadingError: !!(userError === null || userError === void 0 ? void 0 : userError.message),
219
258
  formState: {
@@ -84,11 +84,6 @@ export class TaxAndCashMonolith {
84
84
  * @uiGroup Step 1 Properties
85
85
  */
86
86
  this.step1_currency = "Currency";
87
- /**
88
- * @uiName Currency field help text
89
- * @uiGroup Step 1 Properties
90
- */
91
- this.step1_currencyHelpText = "Choose your preferred payout currency";
92
87
  /**
93
88
  * Edit the property called terms and conditions text to change what's displayed for {termsAndConditionsLink}.
94
89
  * @uiName Terms and conditions checkbox
@@ -499,12 +494,22 @@ export class TaxAndCashMonolith {
499
494
  * @uiGroup Step 4 Properties
500
495
  */
501
496
  this.step4_branchCodeLabel = "Branch code";
497
+ /**
498
+ * @uiName Branch name field label
499
+ * @uiGroup Step 4 Properties
500
+ */
501
+ this.step4_branchNameLabel = "Branch name";
502
502
  /**
503
503
  * Label text for the classification input field
504
504
  * @uiName Classification field label
505
505
  * @uiGroup Step 4 Properties
506
506
  */
507
507
  this.step4_classificationLabel = "Classification";
508
+ /**
509
+ * @uiName Classification code field label
510
+ * @uiGroup Step 4 Properties
511
+ */
512
+ this.step4_classificationCodeLabel = "KBE code";
508
513
  /**
509
514
  * @uiName Taxpayer ID field label
510
515
  * @uiGroup Step 4 Properties
@@ -1474,30 +1479,6 @@ export class TaxAndCashMonolith {
1474
1479
  "reflect": false,
1475
1480
  "defaultValue": "\"Currency\""
1476
1481
  },
1477
- "step1_currencyHelpText": {
1478
- "type": "string",
1479
- "mutable": false,
1480
- "complexType": {
1481
- "original": "string",
1482
- "resolved": "string",
1483
- "references": {}
1484
- },
1485
- "required": false,
1486
- "optional": false,
1487
- "docs": {
1488
- "tags": [{
1489
- "text": "Currency field help text",
1490
- "name": "uiName"
1491
- }, {
1492
- "text": "Step 1 Properties",
1493
- "name": "uiGroup"
1494
- }],
1495
- "text": ""
1496
- },
1497
- "attribute": "step-1_currency-help-text",
1498
- "reflect": false,
1499
- "defaultValue": "\"Choose your preferred payout currency\""
1500
- },
1501
1482
  "step1_allowBankingCollection": {
1502
1483
  "type": "string",
1503
1484
  "mutable": false,
@@ -3238,6 +3219,30 @@ export class TaxAndCashMonolith {
3238
3219
  "reflect": false,
3239
3220
  "defaultValue": "\"Branch code\""
3240
3221
  },
3222
+ "step4_branchNameLabel": {
3223
+ "type": "string",
3224
+ "mutable": false,
3225
+ "complexType": {
3226
+ "original": "string",
3227
+ "resolved": "string",
3228
+ "references": {}
3229
+ },
3230
+ "required": false,
3231
+ "optional": false,
3232
+ "docs": {
3233
+ "tags": [{
3234
+ "text": "Branch name field label",
3235
+ "name": "uiName"
3236
+ }, {
3237
+ "text": "Step 4 Properties",
3238
+ "name": "uiGroup"
3239
+ }],
3240
+ "text": ""
3241
+ },
3242
+ "attribute": "step-4_branch-name-label",
3243
+ "reflect": false,
3244
+ "defaultValue": "\"Branch name\""
3245
+ },
3241
3246
  "step4_classificationLabel": {
3242
3247
  "type": "string",
3243
3248
  "mutable": false,
@@ -3262,6 +3267,30 @@ export class TaxAndCashMonolith {
3262
3267
  "reflect": false,
3263
3268
  "defaultValue": "\"Classification\""
3264
3269
  },
3270
+ "step4_classificationCodeLabel": {
3271
+ "type": "string",
3272
+ "mutable": false,
3273
+ "complexType": {
3274
+ "original": "string",
3275
+ "resolved": "string",
3276
+ "references": {}
3277
+ },
3278
+ "required": false,
3279
+ "optional": false,
3280
+ "docs": {
3281
+ "tags": [{
3282
+ "text": "Classification code field label",
3283
+ "name": "uiName"
3284
+ }, {
3285
+ "text": "Step 4 Properties",
3286
+ "name": "uiGroup"
3287
+ }],
3288
+ "text": ""
3289
+ },
3290
+ "attribute": "step-4_classification-code-label",
3291
+ "reflect": false,
3292
+ "defaultValue": "\"KBE code\""
3293
+ },
3265
3294
  "step4_taxPayerIdLabel": {
3266
3295
  "type": "string",
3267
3296
  "mutable": false,
@@ -5838,7 +5867,7 @@ export class TaxAndCashMonolith {
5838
5867
  "mutable": false,
5839
5868
  "complexType": {
5840
5869
  "original": "DemoData<TaxAndCashMonolith>",
5841
- "resolved": "{ step1_firstName?: string; step1_lastName?: string; step1_email?: string; step1_country?: string; step1_phoneNumber?: string; step1_address?: string; step1_city?: string; step1_state?: string; step1_province?: string; step1_region?: string; step1_postalCode?: string; step1_currency?: string; step1_currencyHelpText?: string; step1_allowBankingCollection?: string; step1_personalInformation?: string; step1_termsAndConditionsLabel?: string; step1_termsAndConditionsLink?: string; step1_searchForCurrencyText?: string; step2_indirectTax?: string; step2_indirectTaxDescription?: string; step2_indirectTaxDetails?: string; step2_otherRegion?: string; step2_otherRegionSubtext?: string; step2_notRegistered?: string; step2_notRegisteredSubtext?: string; step2_selectedRegion?: string; step2_indirectTaxNumber?: string; step2_province?: string; step2_indirectTaxNumberError?: string; step2_qstNumber?: string; step2_isRegisteredQST?: string; step2_isRegisteredSubRegionIncomeTax?: string; step2_subRegion?: string; step2_subRegionTaxNumberLabel?: string; step2_cannotChangeInfoAlert?: string; step3_taxForm?: string; step3_taxFormLabel?: string; step3_participantType?: string; step3_businessEntity?: string; step3_individualParticipant?: string; step3_taxFormDescription?: string; step3_taxFormDescriptionIndividualParticipant?: string; step3_taxFormDescriptionBusinessEntity?: string; step3_docusignExpired?: string; step3_docusignSessionWarning?: string; step3_docusignError?: string; step3_refreshButton?: string; step3_exitButton?: string; step3_modalTitle?: string; step3_modalDescription?: string; step3_modalButtonText?: string; step4_taxAndPayouts?: string; step4_directlyToBankAccount?: string; step4_toPayPalAccount?: string; step4_paymentScheduleBalanceThreshold?: string; step4_paymentScheduleFixedDay?: string; step4_paymentDaySelectLabel?: string; step4_paymentThresholdSelectLabel?: string; step4_paymentDayFirstOfMonthLabelText?: string; step4_paymentDayFifteenthOfMonthLabelText?: string; step4_paymentMethod?: string; step4_paymentSchedule?: string; step4_paymentMethodSubtext?: string; step4_payPalInputLabel?: string; step4_bankLocationLabel?: string; step4_beneficiaryAccountNameLabel?: string; step4_beneficiaryAccountNameDescription?: string; step4_bankAccountTypeLabel?: string; step4_checkingSelectItemLabel?: string; step4_savingsSelectItemLabel?: string; step4_bankAccountNumberLabel?: string; step4_ibanLabel?: string; step4_swiftCodeLabel?: string; step4_routingCodeLabel?: string; step4_bankNameLabel?: string; step4_classificationEntityLabel?: string; step4_businessSelectItemLabel?: string; step4_individualSelectItemLabel?: string; step4_foreignSelectItemLabel?: string; step4_classificationCPFLabel?: string; step4_patronymicNameLabel?: string; step4_voCodeLabel?: string; step4_agencyCodeLabel?: string; step4_branchCodeLabel?: string; step4_classificationLabel?: string; step4_taxPayerIdLabel?: string; step4_bankAddressLabel?: string; step4_bankCityLabel?: string; step4_bankStateLabel?: string; step4_bankPostalCodeLabel?: string; step4_eftWithdrawalLabel?: string; step4_fxWireProcessingFeeLabel?: string; step4_verifyEmailHeaderText?: string; step4_verifyEmailDescriptionText?: string; step4_modalTitle?: string; step4_modalDescription?: string; step4_modalButtonText?: string; dashboard_statusTextActive?: string; dashboard_statusTextNotActive?: string; dashboard_statusTextNotVerified?: string; dashboard_statusTextRequired?: string; dashboard_requiredTaxForm?: string; dashboard_badgeTextSubmittedOn?: string; dashboard_badgeTextSubmittedOnW8?: string; dashboard_badgeTextAwaitingReview?: string; dashboard_taxAlertHeaderNotActiveW9?: string; dashboard_taxAlertHeaderNotActiveW8?: string; dashboard_taxAlertNotActiveMessageW9?: string; dashboard_taxAlertNotActiveMessageW8?: string; dashboard_invalidForm?: string; dashboard_bankingInformationSectionHeader?: string; dashboard_taxDocumentSectionHeader?: string; dashboard_taxDocumentSectionSubHeader?: string; dashboard_noFormNeededSubtext?: string; dashboard_indirectTaxInfoSectionHeader?: string; dashboard_indirectTaxInfoCanada?: string; dashboard_indirectTaxInfoOtherCountry?: string; dashboard_indirectTaxInfoSpain?: string; dashboard_indirectTaxTooltipSupport?: string; dashboard_indirectTaxDetails?: string; dashboard_newFormButton?: string; dashboard_editPaymentInformationButton?: string; dashboard_notRegisteredForTax?: string; dashboard_qstNumber?: string; dashboard_subRegionTaxNumber?: string; dashboard_statusBadgeText?: string; dashboard_thresholdPayoutText?: string; dashboard_accountText?: string; dashboard_invoiceColumnTitle?: string; dashboard_dateColumnTitle?: string; dashboard_earningsColumnTitle?: string; dashboard_indirectTaxColumnTitle?: string; dashboard_payoutFromImpact?: string; dashboard_earningsAfterTaxColumnTitle?: string; dashboard_payoutHoldAlertHeader?: string; dashboard_payoutHoldAlertDescription?: string; dashboard_payoutMissingInformationText?: string; dashboard_invoiceDescription?: string; dashboard_invoicePrevLabel?: string; dashboard_invoiceMoreLabel?: string; dashboard_invoiceHeader?: string; dashboard_invoiceEmptyStateHeader?: string; dashboard_invoiceEmptyStateText?: string; dashboard_replaceTaxFormModalHeader?: string; dashboard_replaceTaxFormModalBodyText?: string; dashboard_verificationRequiredHeader?: string; dashboard_verificationRequiredDescription?: string; dashboard_verificationRequiredInternalHeader?: string; dashboard_verificationRequiredInternalDescription?: string; dashboard_verificationReviewInternalHeader?: string; dashboard_verificationReviewInternalDescription?: string; dashboard_verificationFailedInternalHeader?: string; dashboard_verificationFailedInternalDescription?: string; dashboard_verificationRequiredButtonText?: string; dashboard_w9RequiredHeader?: string; dashboard_w9RequiredDescription?: string; dashboard_accountReviewHeader?: string; dashboard_accountReviewDescription?: string; dashboard_paymentOnHoldHeader?: string; dashboard_paymentOnHoldDescription?: string; dashboard_beneficiaryNameInvalidHeader?: string; dashboard_beneficiaryNameInvalidDescription?: string; dashboard_beneficiaryNameMismatchHeader?: string; dashboard_beneficiaryNameMismatchDescription?: string; dashboard_bankNameMismatchHeader?: string; dashboard_bankNameMismatchDescription?: string; dashboard_withdrawalSettingsInvalidHeader?: string; dashboard_withdrawalSettingsInvalidDescription?: string; dashboard_paymentReturnedHeader?: string; dashboard_paymentReturnedDescription?: string; dashboard_termsAndConditions?: string; dashboard_w9RequiredButtonText?: string; formStep?: string; generalErrorTitle?: string; generalErrorDescription?: string; fieldRequiredError?: string; invalidCharacterError?: string; fieldInvalidError?: string; continueButton?: string; backButton?: string; cancelButton?: string; isPartnerAlertHeader?: string; isPartnerAlertDescription?: string; searchForCountryText?: string; loadingErrorAlertHeader?: string; loadingErrorAlertDescription?: string; taxAndPayoutsDescription?: string; supportLink?: string; termsAndConditions?: string; stateController?: string; demoData?: Partial<Pick<TaxAndCashMonolith, \"step1_firstName\" | \"step1_lastName\" | \"step1_email\" | \"step1_country\" | \"step1_phoneNumber\" | \"step1_address\" | \"step1_city\" | \"step1_state\" | \"step1_province\" | \"step1_region\" | \"step1_postalCode\" | \"step1_currency\" | \"step1_currencyHelpText\" | \"step1_allowBankingCollection\" | \"step1_personalInformation\" | \"step1_termsAndConditionsLabel\" | \"step1_termsAndConditionsLink\" | \"step1_searchForCurrencyText\" | \"step2_indirectTax\" | \"step2_indirectTaxDescription\" | \"step2_indirectTaxDetails\" | \"step2_otherRegion\" | \"step2_otherRegionSubtext\" | \"step2_notRegistered\" | \"step2_notRegisteredSubtext\" | \"step2_selectedRegion\" | \"step2_indirectTaxNumber\" | \"step2_province\" | \"step2_indirectTaxNumberError\" | \"step2_qstNumber\" | \"step2_isRegisteredQST\" | \"step2_isRegisteredSubRegionIncomeTax\" | \"step2_subRegion\" | \"step2_subRegionTaxNumberLabel\" | \"step2_cannotChangeInfoAlert\" | \"step3_taxForm\" | \"step3_taxFormLabel\" | \"step3_participantType\" | \"step3_businessEntity\" | \"step3_individualParticipant\" | \"step3_taxFormDescription\" | \"step3_taxFormDescriptionIndividualParticipant\" | \"step3_taxFormDescriptionBusinessEntity\" | \"step3_docusignExpired\" | \"step3_docusignSessionWarning\" | \"step3_docusignError\" | \"step3_refreshButton\" | \"step3_exitButton\" | \"step3_modalTitle\" | \"step3_modalDescription\" | \"step3_modalButtonText\" | \"step4_taxAndPayouts\" | \"step4_directlyToBankAccount\" | \"step4_toPayPalAccount\" | \"step4_paymentScheduleBalanceThreshold\" | \"step4_paymentScheduleFixedDay\" | \"step4_paymentDaySelectLabel\" | \"step4_paymentThresholdSelectLabel\" | \"step4_paymentDayFirstOfMonthLabelText\" | \"step4_paymentDayFifteenthOfMonthLabelText\" | \"step4_paymentMethod\" | \"step4_paymentSchedule\" | \"step4_paymentMethodSubtext\" | \"step4_payPalInputLabel\" | \"step4_bankLocationLabel\" | \"step4_beneficiaryAccountNameLabel\" | \"step4_beneficiaryAccountNameDescription\" | \"step4_bankAccountTypeLabel\" | \"step4_checkingSelectItemLabel\" | \"step4_savingsSelectItemLabel\" | \"step4_bankAccountNumberLabel\" | \"step4_ibanLabel\" | \"step4_swiftCodeLabel\" | \"step4_routingCodeLabel\" | \"step4_bankNameLabel\" | \"step4_classificationEntityLabel\" | \"step4_businessSelectItemLabel\" | \"step4_individualSelectItemLabel\" | \"step4_foreignSelectItemLabel\" | \"step4_classificationCPFLabel\" | \"step4_patronymicNameLabel\" | \"step4_voCodeLabel\" | \"step4_agencyCodeLabel\" | \"step4_branchCodeLabel\" | \"step4_classificationLabel\" | \"step4_taxPayerIdLabel\" | \"step4_bankAddressLabel\" | \"step4_bankCityLabel\" | \"step4_bankStateLabel\" | \"step4_bankPostalCodeLabel\" | \"step4_eftWithdrawalLabel\" | \"step4_fxWireProcessingFeeLabel\" | \"step4_verifyEmailHeaderText\" | \"step4_verifyEmailDescriptionText\" | \"step4_modalTitle\" | \"step4_modalDescription\" | \"step4_modalButtonText\" | \"dashboard_statusTextActive\" | \"dashboard_statusTextNotActive\" | \"dashboard_statusTextNotVerified\" | \"dashboard_statusTextRequired\" | \"dashboard_requiredTaxForm\" | \"dashboard_badgeTextSubmittedOn\" | \"dashboard_badgeTextSubmittedOnW8\" | \"dashboard_badgeTextAwaitingReview\" | \"dashboard_taxAlertHeaderNotActiveW9\" | \"dashboard_taxAlertHeaderNotActiveW8\" | \"dashboard_taxAlertNotActiveMessageW9\" | \"dashboard_taxAlertNotActiveMessageW8\" | \"dashboard_invalidForm\" | \"dashboard_bankingInformationSectionHeader\" | \"dashboard_taxDocumentSectionHeader\" | \"dashboard_taxDocumentSectionSubHeader\" | \"dashboard_noFormNeededSubtext\" | \"dashboard_indirectTaxInfoSectionHeader\" | \"dashboard_indirectTaxInfoCanada\" | \"dashboard_indirectTaxInfoOtherCountry\" | \"dashboard_indirectTaxInfoSpain\" | \"dashboard_indirectTaxTooltipSupport\" | \"dashboard_indirectTaxDetails\" | \"dashboard_newFormButton\" | \"dashboard_editPaymentInformationButton\" | \"dashboard_notRegisteredForTax\" | \"dashboard_qstNumber\" | \"dashboard_subRegionTaxNumber\" | \"dashboard_statusBadgeText\" | \"dashboard_thresholdPayoutText\" | \"dashboard_accountText\" | \"dashboard_invoiceColumnTitle\" | \"dashboard_dateColumnTitle\" | \"dashboard_earningsColumnTitle\" | \"dashboard_indirectTaxColumnTitle\" | \"dashboard_payoutFromImpact\" | \"dashboard_earningsAfterTaxColumnTitle\" | \"dashboard_payoutHoldAlertHeader\" | \"dashboard_payoutHoldAlertDescription\" | \"dashboard_payoutMissingInformationText\" | \"dashboard_invoiceDescription\" | \"dashboard_invoicePrevLabel\" | \"dashboard_invoiceMoreLabel\" | \"dashboard_invoiceHeader\" | \"dashboard_invoiceEmptyStateHeader\" | \"dashboard_invoiceEmptyStateText\" | \"dashboard_replaceTaxFormModalHeader\" | \"dashboard_replaceTaxFormModalBodyText\" | \"dashboard_verificationRequiredHeader\" | \"dashboard_verificationRequiredDescription\" | \"dashboard_verificationRequiredInternalHeader\" | \"dashboard_verificationRequiredInternalDescription\" | \"dashboard_verificationReviewInternalHeader\" | \"dashboard_verificationReviewInternalDescription\" | \"dashboard_verificationFailedInternalHeader\" | \"dashboard_verificationFailedInternalDescription\" | \"dashboard_verificationRequiredButtonText\" | \"dashboard_w9RequiredHeader\" | \"dashboard_w9RequiredDescription\" | \"dashboard_accountReviewHeader\" | \"dashboard_accountReviewDescription\" | \"dashboard_paymentOnHoldHeader\" | \"dashboard_paymentOnHoldDescription\" | \"dashboard_beneficiaryNameInvalidHeader\" | \"dashboard_beneficiaryNameInvalidDescription\" | \"dashboard_beneficiaryNameMismatchHeader\" | \"dashboard_beneficiaryNameMismatchDescription\" | \"dashboard_bankNameMismatchHeader\" | \"dashboard_bankNameMismatchDescription\" | \"dashboard_withdrawalSettingsInvalidHeader\" | \"dashboard_withdrawalSettingsInvalidDescription\" | \"dashboard_paymentReturnedHeader\" | \"dashboard_paymentReturnedDescription\" | \"dashboard_termsAndConditions\" | \"dashboard_w9RequiredButtonText\" | \"formStep\" | \"generalErrorTitle\" | \"generalErrorDescription\" | \"fieldRequiredError\" | \"invalidCharacterError\" | \"fieldInvalidError\" | \"continueButton\" | \"backButton\" | \"cancelButton\" | \"isPartnerAlertHeader\" | \"isPartnerAlertDescription\" | \"searchForCountryText\" | \"loadingErrorAlertHeader\" | \"loadingErrorAlertDescription\" | \"taxAndPayoutsDescription\" | \"supportLink\" | \"termsAndConditions\" | \"stateController\" | \"demoData\" | \"disconnectedCallback\" | \"getGeneralStepTextProps\" | \"render\">>; disconnectedCallback?: () => void; getGeneralStepTextProps?: (prefix: string) => PickPrefix<TaxAndCashMonolith, string> & { generalErrorTitle: string; generalErrorDescription: string; fieldRequiredError: string; invalidCharacterError: string; fieldInvalidError: string; continueButton: string; backButton: string; cancelButton: string; isPartnerAlertHeader: string; isPartnerAlertDescription: string; loadingErrorAlertHeader: string; loadingErrorAlertDescription: string; taxAndPayoutsDescription: string; searchForCountryText: string; formStep: string; supportLink: string; }; render?: () => any; }",
5870
+ "resolved": "{ step1_firstName?: string; step1_lastName?: string; step1_email?: string; step1_country?: string; step1_phoneNumber?: string; step1_address?: string; step1_city?: string; step1_state?: string; step1_province?: string; step1_region?: string; step1_postalCode?: string; step1_currency?: string; step1_allowBankingCollection?: string; step1_personalInformation?: string; step1_termsAndConditionsLabel?: string; step1_termsAndConditionsLink?: string; step1_searchForCurrencyText?: string; step2_indirectTax?: string; step2_indirectTaxDescription?: string; step2_indirectTaxDetails?: string; step2_otherRegion?: string; step2_otherRegionSubtext?: string; step2_notRegistered?: string; step2_notRegisteredSubtext?: string; step2_selectedRegion?: string; step2_indirectTaxNumber?: string; step2_province?: string; step2_indirectTaxNumberError?: string; step2_qstNumber?: string; step2_isRegisteredQST?: string; step2_isRegisteredSubRegionIncomeTax?: string; step2_subRegion?: string; step2_subRegionTaxNumberLabel?: string; step2_cannotChangeInfoAlert?: string; step3_taxForm?: string; step3_taxFormLabel?: string; step3_participantType?: string; step3_businessEntity?: string; step3_individualParticipant?: string; step3_taxFormDescription?: string; step3_taxFormDescriptionIndividualParticipant?: string; step3_taxFormDescriptionBusinessEntity?: string; step3_docusignExpired?: string; step3_docusignSessionWarning?: string; step3_docusignError?: string; step3_refreshButton?: string; step3_exitButton?: string; step3_modalTitle?: string; step3_modalDescription?: string; step3_modalButtonText?: string; step4_taxAndPayouts?: string; step4_directlyToBankAccount?: string; step4_toPayPalAccount?: string; step4_paymentScheduleBalanceThreshold?: string; step4_paymentScheduleFixedDay?: string; step4_paymentDaySelectLabel?: string; step4_paymentThresholdSelectLabel?: string; step4_paymentDayFirstOfMonthLabelText?: string; step4_paymentDayFifteenthOfMonthLabelText?: string; step4_paymentMethod?: string; step4_paymentSchedule?: string; step4_paymentMethodSubtext?: string; step4_payPalInputLabel?: string; step4_bankLocationLabel?: string; step4_beneficiaryAccountNameLabel?: string; step4_beneficiaryAccountNameDescription?: string; step4_bankAccountTypeLabel?: string; step4_checkingSelectItemLabel?: string; step4_savingsSelectItemLabel?: string; step4_bankAccountNumberLabel?: string; step4_ibanLabel?: string; step4_swiftCodeLabel?: string; step4_routingCodeLabel?: string; step4_bankNameLabel?: string; step4_classificationEntityLabel?: string; step4_businessSelectItemLabel?: string; step4_individualSelectItemLabel?: string; step4_foreignSelectItemLabel?: string; step4_classificationCPFLabel?: string; step4_patronymicNameLabel?: string; step4_voCodeLabel?: string; step4_agencyCodeLabel?: string; step4_branchCodeLabel?: string; step4_branchNameLabel?: string; step4_classificationLabel?: string; step4_classificationCodeLabel?: string; step4_taxPayerIdLabel?: string; step4_bankAddressLabel?: string; step4_bankCityLabel?: string; step4_bankStateLabel?: string; step4_bankPostalCodeLabel?: string; step4_eftWithdrawalLabel?: string; step4_fxWireProcessingFeeLabel?: string; step4_verifyEmailHeaderText?: string; step4_verifyEmailDescriptionText?: string; step4_modalTitle?: string; step4_modalDescription?: string; step4_modalButtonText?: string; dashboard_statusTextActive?: string; dashboard_statusTextNotActive?: string; dashboard_statusTextNotVerified?: string; dashboard_statusTextRequired?: string; dashboard_requiredTaxForm?: string; dashboard_badgeTextSubmittedOn?: string; dashboard_badgeTextSubmittedOnW8?: string; dashboard_badgeTextAwaitingReview?: string; dashboard_taxAlertHeaderNotActiveW9?: string; dashboard_taxAlertHeaderNotActiveW8?: string; dashboard_taxAlertNotActiveMessageW9?: string; dashboard_taxAlertNotActiveMessageW8?: string; dashboard_invalidForm?: string; dashboard_bankingInformationSectionHeader?: string; dashboard_taxDocumentSectionHeader?: string; dashboard_taxDocumentSectionSubHeader?: string; dashboard_noFormNeededSubtext?: string; dashboard_indirectTaxInfoSectionHeader?: string; dashboard_indirectTaxInfoCanada?: string; dashboard_indirectTaxInfoOtherCountry?: string; dashboard_indirectTaxInfoSpain?: string; dashboard_indirectTaxTooltipSupport?: string; dashboard_indirectTaxDetails?: string; dashboard_newFormButton?: string; dashboard_editPaymentInformationButton?: string; dashboard_notRegisteredForTax?: string; dashboard_qstNumber?: string; dashboard_subRegionTaxNumber?: string; dashboard_statusBadgeText?: string; dashboard_thresholdPayoutText?: string; dashboard_accountText?: string; dashboard_invoiceColumnTitle?: string; dashboard_dateColumnTitle?: string; dashboard_earningsColumnTitle?: string; dashboard_indirectTaxColumnTitle?: string; dashboard_payoutFromImpact?: string; dashboard_earningsAfterTaxColumnTitle?: string; dashboard_payoutHoldAlertHeader?: string; dashboard_payoutHoldAlertDescription?: string; dashboard_payoutMissingInformationText?: string; dashboard_invoiceDescription?: string; dashboard_invoicePrevLabel?: string; dashboard_invoiceMoreLabel?: string; dashboard_invoiceHeader?: string; dashboard_invoiceEmptyStateHeader?: string; dashboard_invoiceEmptyStateText?: string; dashboard_replaceTaxFormModalHeader?: string; dashboard_replaceTaxFormModalBodyText?: string; dashboard_verificationRequiredHeader?: string; dashboard_verificationRequiredDescription?: string; dashboard_verificationRequiredInternalHeader?: string; dashboard_verificationRequiredInternalDescription?: string; dashboard_verificationReviewInternalHeader?: string; dashboard_verificationReviewInternalDescription?: string; dashboard_verificationFailedInternalHeader?: string; dashboard_verificationFailedInternalDescription?: string; dashboard_verificationRequiredButtonText?: string; dashboard_w9RequiredHeader?: string; dashboard_w9RequiredDescription?: string; dashboard_accountReviewHeader?: string; dashboard_accountReviewDescription?: string; dashboard_paymentOnHoldHeader?: string; dashboard_paymentOnHoldDescription?: string; dashboard_beneficiaryNameInvalidHeader?: string; dashboard_beneficiaryNameInvalidDescription?: string; dashboard_beneficiaryNameMismatchHeader?: string; dashboard_beneficiaryNameMismatchDescription?: string; dashboard_bankNameMismatchHeader?: string; dashboard_bankNameMismatchDescription?: string; dashboard_withdrawalSettingsInvalidHeader?: string; dashboard_withdrawalSettingsInvalidDescription?: string; dashboard_paymentReturnedHeader?: string; dashboard_paymentReturnedDescription?: string; dashboard_termsAndConditions?: string; dashboard_w9RequiredButtonText?: string; formStep?: string; generalErrorTitle?: string; generalErrorDescription?: string; fieldRequiredError?: string; invalidCharacterError?: string; fieldInvalidError?: string; continueButton?: string; backButton?: string; cancelButton?: string; isPartnerAlertHeader?: string; isPartnerAlertDescription?: string; searchForCountryText?: string; loadingErrorAlertHeader?: string; loadingErrorAlertDescription?: string; taxAndPayoutsDescription?: string; supportLink?: string; termsAndConditions?: string; stateController?: string; demoData?: Partial<Pick<TaxAndCashMonolith, \"step1_firstName\" | \"step1_lastName\" | \"step1_email\" | \"step1_country\" | \"step1_phoneNumber\" | \"step1_address\" | \"step1_city\" | \"step1_state\" | \"step1_province\" | \"step1_region\" | \"step1_postalCode\" | \"step1_currency\" | \"step1_allowBankingCollection\" | \"step1_personalInformation\" | \"step1_termsAndConditionsLabel\" | \"step1_termsAndConditionsLink\" | \"step1_searchForCurrencyText\" | \"step2_indirectTax\" | \"step2_indirectTaxDescription\" | \"step2_indirectTaxDetails\" | \"step2_otherRegion\" | \"step2_otherRegionSubtext\" | \"step2_notRegistered\" | \"step2_notRegisteredSubtext\" | \"step2_selectedRegion\" | \"step2_indirectTaxNumber\" | \"step2_province\" | \"step2_indirectTaxNumberError\" | \"step2_qstNumber\" | \"step2_isRegisteredQST\" | \"step2_isRegisteredSubRegionIncomeTax\" | \"step2_subRegion\" | \"step2_subRegionTaxNumberLabel\" | \"step2_cannotChangeInfoAlert\" | \"step3_taxForm\" | \"step3_taxFormLabel\" | \"step3_participantType\" | \"step3_businessEntity\" | \"step3_individualParticipant\" | \"step3_taxFormDescription\" | \"step3_taxFormDescriptionIndividualParticipant\" | \"step3_taxFormDescriptionBusinessEntity\" | \"step3_docusignExpired\" | \"step3_docusignSessionWarning\" | \"step3_docusignError\" | \"step3_refreshButton\" | \"step3_exitButton\" | \"step3_modalTitle\" | \"step3_modalDescription\" | \"step3_modalButtonText\" | \"step4_taxAndPayouts\" | \"step4_directlyToBankAccount\" | \"step4_toPayPalAccount\" | \"step4_paymentScheduleBalanceThreshold\" | \"step4_paymentScheduleFixedDay\" | \"step4_paymentDaySelectLabel\" | \"step4_paymentThresholdSelectLabel\" | \"step4_paymentDayFirstOfMonthLabelText\" | \"step4_paymentDayFifteenthOfMonthLabelText\" | \"step4_paymentMethod\" | \"step4_paymentSchedule\" | \"step4_paymentMethodSubtext\" | \"step4_payPalInputLabel\" | \"step4_bankLocationLabel\" | \"step4_beneficiaryAccountNameLabel\" | \"step4_beneficiaryAccountNameDescription\" | \"step4_bankAccountTypeLabel\" | \"step4_checkingSelectItemLabel\" | \"step4_savingsSelectItemLabel\" | \"step4_bankAccountNumberLabel\" | \"step4_ibanLabel\" | \"step4_swiftCodeLabel\" | \"step4_routingCodeLabel\" | \"step4_bankNameLabel\" | \"step4_classificationEntityLabel\" | \"step4_businessSelectItemLabel\" | \"step4_individualSelectItemLabel\" | \"step4_foreignSelectItemLabel\" | \"step4_classificationCPFLabel\" | \"step4_patronymicNameLabel\" | \"step4_voCodeLabel\" | \"step4_agencyCodeLabel\" | \"step4_branchCodeLabel\" | \"step4_branchNameLabel\" | \"step4_classificationLabel\" | \"step4_classificationCodeLabel\" | \"step4_taxPayerIdLabel\" | \"step4_bankAddressLabel\" | \"step4_bankCityLabel\" | \"step4_bankStateLabel\" | \"step4_bankPostalCodeLabel\" | \"step4_eftWithdrawalLabel\" | \"step4_fxWireProcessingFeeLabel\" | \"step4_verifyEmailHeaderText\" | \"step4_verifyEmailDescriptionText\" | \"step4_modalTitle\" | \"step4_modalDescription\" | \"step4_modalButtonText\" | \"dashboard_statusTextActive\" | \"dashboard_statusTextNotActive\" | \"dashboard_statusTextNotVerified\" | \"dashboard_statusTextRequired\" | \"dashboard_requiredTaxForm\" | \"dashboard_badgeTextSubmittedOn\" | \"dashboard_badgeTextSubmittedOnW8\" | \"dashboard_badgeTextAwaitingReview\" | \"dashboard_taxAlertHeaderNotActiveW9\" | \"dashboard_taxAlertHeaderNotActiveW8\" | \"dashboard_taxAlertNotActiveMessageW9\" | \"dashboard_taxAlertNotActiveMessageW8\" | \"dashboard_invalidForm\" | \"dashboard_bankingInformationSectionHeader\" | \"dashboard_taxDocumentSectionHeader\" | \"dashboard_taxDocumentSectionSubHeader\" | \"dashboard_noFormNeededSubtext\" | \"dashboard_indirectTaxInfoSectionHeader\" | \"dashboard_indirectTaxInfoCanada\" | \"dashboard_indirectTaxInfoOtherCountry\" | \"dashboard_indirectTaxInfoSpain\" | \"dashboard_indirectTaxTooltipSupport\" | \"dashboard_indirectTaxDetails\" | \"dashboard_newFormButton\" | \"dashboard_editPaymentInformationButton\" | \"dashboard_notRegisteredForTax\" | \"dashboard_qstNumber\" | \"dashboard_subRegionTaxNumber\" | \"dashboard_statusBadgeText\" | \"dashboard_thresholdPayoutText\" | \"dashboard_accountText\" | \"dashboard_invoiceColumnTitle\" | \"dashboard_dateColumnTitle\" | \"dashboard_earningsColumnTitle\" | \"dashboard_indirectTaxColumnTitle\" | \"dashboard_payoutFromImpact\" | \"dashboard_earningsAfterTaxColumnTitle\" | \"dashboard_payoutHoldAlertHeader\" | \"dashboard_payoutHoldAlertDescription\" | \"dashboard_payoutMissingInformationText\" | \"dashboard_invoiceDescription\" | \"dashboard_invoicePrevLabel\" | \"dashboard_invoiceMoreLabel\" | \"dashboard_invoiceHeader\" | \"dashboard_invoiceEmptyStateHeader\" | \"dashboard_invoiceEmptyStateText\" | \"dashboard_replaceTaxFormModalHeader\" | \"dashboard_replaceTaxFormModalBodyText\" | \"dashboard_verificationRequiredHeader\" | \"dashboard_verificationRequiredDescription\" | \"dashboard_verificationRequiredInternalHeader\" | \"dashboard_verificationRequiredInternalDescription\" | \"dashboard_verificationReviewInternalHeader\" | \"dashboard_verificationReviewInternalDescription\" | \"dashboard_verificationFailedInternalHeader\" | \"dashboard_verificationFailedInternalDescription\" | \"dashboard_verificationRequiredButtonText\" | \"dashboard_w9RequiredHeader\" | \"dashboard_w9RequiredDescription\" | \"dashboard_accountReviewHeader\" | \"dashboard_accountReviewDescription\" | \"dashboard_paymentOnHoldHeader\" | \"dashboard_paymentOnHoldDescription\" | \"dashboard_beneficiaryNameInvalidHeader\" | \"dashboard_beneficiaryNameInvalidDescription\" | \"dashboard_beneficiaryNameMismatchHeader\" | \"dashboard_beneficiaryNameMismatchDescription\" | \"dashboard_bankNameMismatchHeader\" | \"dashboard_bankNameMismatchDescription\" | \"dashboard_withdrawalSettingsInvalidHeader\" | \"dashboard_withdrawalSettingsInvalidDescription\" | \"dashboard_paymentReturnedHeader\" | \"dashboard_paymentReturnedDescription\" | \"dashboard_termsAndConditions\" | \"dashboard_w9RequiredButtonText\" | \"formStep\" | \"generalErrorTitle\" | \"generalErrorDescription\" | \"fieldRequiredError\" | \"invalidCharacterError\" | \"fieldInvalidError\" | \"continueButton\" | \"backButton\" | \"cancelButton\" | \"isPartnerAlertHeader\" | \"isPartnerAlertDescription\" | \"searchForCountryText\" | \"loadingErrorAlertHeader\" | \"loadingErrorAlertDescription\" | \"taxAndPayoutsDescription\" | \"supportLink\" | \"termsAndConditions\" | \"stateController\" | \"demoData\" | \"disconnectedCallback\" | \"getGeneralStepTextProps\" | \"render\">>; disconnectedCallback?: () => void; getGeneralStepTextProps?: (prefix: string) => PickPrefix<TaxAndCashMonolith, string> & { generalErrorTitle: string; generalErrorDescription: string; fieldRequiredError: string; invalidCharacterError: string; fieldInvalidError: string; continueButton: string; backButton: string; cancelButton: string; isPartnerAlertHeader: string; isPartnerAlertDescription: string; loadingErrorAlertHeader: string; loadingErrorAlertDescription: string; taxAndPayoutsDescription: string; searchForCountryText: string; formStep: string; supportLink: string; }; render?: () => any; }",
5842
5871
  "references": {
5843
5872
  "DemoData": {
5844
5873
  "location": "import",
@@ -1,13 +1,23 @@
1
- import { getContextValueName, useHost, useLocale, useParentQuery, useParentState, useUserIdentity, } from "@saasquatch/component-boilerplate";
1
+ import { getContextValueName, useHost, useLocale, useMutation, useParentQuery, useParentState, useUserIdentity, } from "@saasquatch/component-boilerplate";
2
2
  import { useEffect, useMemo } from "@saasquatch/universal-hooks";
3
3
  import { getCountryObj } from "../utils";
4
4
  import { COUNTRIES_NAMESPACE, COUNTRIES_QUERY_NAMESPACE, CURRENCIES_NAMESPACE, CURRENCIES_QUERY_NAMESPACE, FINANCE_NETWORK_SETTINGS_NAMESPACE, GET_COUNTRIES, GET_CURRENCIES, GET_FINANCE_NETWORK_SETTINGS, GET_USER, SORTED_COUNTRIES_NAMESPACE, TAX_CONTEXT_NAMESPACE, TAX_FORM_CONTEXT_NAMESPACE, USER_FORM_CONTEXT_NAMESPACE, USER_QUERY_NAMESPACE, } from "../data";
5
+ import { COMPLETE_PARTNER, } from "../sqm-indirect-tax-form/useIndirectTaxForm";
5
6
  function getCurrentStep(user) {
6
7
  var _a, _b;
7
8
  if (!((_a = user.impactConnection) === null || _a === void 0 ? void 0 : _a.connected) || !((_b = user.impactConnection) === null || _b === void 0 ? void 0 : _b.publisher)) {
8
9
  return "/1";
9
10
  }
10
- const { requiredTaxDocumentType, currentTaxDocument, withdrawalSettings, brandedSignup, payoutsAccount, } = user.impactConnection.publisher;
11
+ const { requiredTaxDocumentType, currentTaxDocument, withdrawalSettings, brandedSignup, payoutsAccount, billingAddress, billingCity, billingCountryCode, billingPostalCode, billingState, phoneNumber, phoneNumberCountryCode, } = user.impactConnection.publisher;
12
+ const hasBillingInfo = billingAddress &&
13
+ billingCity &&
14
+ billingCountryCode &&
15
+ billingPostalCode &&
16
+ phoneNumberCountryCode &&
17
+ phoneNumber;
18
+ if (!hasBillingInfo) {
19
+ return "/1";
20
+ }
11
21
  // If they do have a required document, look at current document
12
22
  if (requiredTaxDocumentType && !currentTaxDocument) {
13
23
  // Specific to custom CASH setting,
@@ -25,6 +35,7 @@ export function useTaxAndCash() {
25
35
  const host = useHost();
26
36
  const user = useUserIdentity();
27
37
  const locale = useLocale();
38
+ const [completeImpactPartner, { loading: completeLoading }] = useMutation(COMPLETE_PARTNER);
28
39
  // State for current step of form
29
40
  const [step, setStep] = useParentState({
30
41
  namespace: TAX_CONTEXT_NAMESPACE,
@@ -132,16 +143,54 @@ export function useTaxAndCash() {
132
143
  setCurrenciesContext(supportedCurrencies);
133
144
  }, [supportedCurrencies]);
134
145
  useEffect(() => {
146
+ var _a;
135
147
  if (errors) {
136
148
  setStep("/error");
137
149
  return;
138
150
  }
139
151
  if (!host || !user)
140
152
  return;
153
+ async function completeConnection(user) {
154
+ var _a, _b, _c, _d, _e, _f;
155
+ const publisher = (_a = user === null || user === void 0 ? void 0 : user.impactConnection) === null || _a === void 0 ? void 0 : _a.publisher;
156
+ const hasBillingInfo = publisher.billingAddress &&
157
+ publisher.billingCity &&
158
+ publisher.billingCountryCode &&
159
+ publisher.billingPostalCode &&
160
+ publisher.phoneNumberCountryCode &&
161
+ publisher.phoneNumber;
162
+ if (hasBillingInfo &&
163
+ ((_b = user === null || user === void 0 ? void 0 : user.impactConnection) === null || _b === void 0 ? void 0 : _b.connectionStatus) === "STARTED") {
164
+ const vars = {
165
+ user: {
166
+ id: (_c = data === null || data === void 0 ? void 0 : data.user) === null || _c === void 0 ? void 0 : _c.id,
167
+ accountId: (_d = data === null || data === void 0 ? void 0 : data.user) === null || _d === void 0 ? void 0 : _d.accountId,
168
+ },
169
+ firstName: (_e = data === null || data === void 0 ? void 0 : data.user) === null || _e === void 0 ? void 0 : _e.firstName,
170
+ lastName: (_f = data === null || data === void 0 ? void 0 : data.user) === null || _f === void 0 ? void 0 : _f.lastName,
171
+ countryCode: publisher.billingCountryCode,
172
+ currency: publisher.currency,
173
+ address: publisher.billingAddress,
174
+ city: publisher.billingCity,
175
+ state: publisher.billingState,
176
+ postalCode: publisher.billingPostalCode,
177
+ phoneNumber: publisher.phoneNumber,
178
+ phoneNumberCountryCode: publisher.phoneNumberCountryCode,
179
+ };
180
+ await completeImpactPartner({
181
+ vars,
182
+ });
183
+ }
184
+ }
141
185
  if (data) {
142
186
  const user = data === null || data === void 0 ? void 0 : data.user;
143
187
  if (!user || step !== "/loading")
144
188
  return;
189
+ if (((_a = user === null || user === void 0 ? void 0 : user.impactConnection) === null || _a === void 0 ? void 0 : _a.publisher) &&
190
+ (user === null || user === void 0 ? void 0 : user.impactConnection.connectionStatus) === "STARTED") {
191
+ completeConnection(user);
192
+ refetch();
193
+ }
145
194
  const currentStep = getCurrentStep(user);
146
195
  setStep(currentStep);
147
196
  }
@@ -70,7 +70,6 @@ const defaultText = {
70
70
  region: "Region",
71
71
  postalCode: "Postal Code",
72
72
  currency: "Currency",
73
- currencyHelpText: "Select your preferred currency for payouts",
74
73
  allowBankingCollection: "I agree to the {termsAndConditionsLink}",
75
74
  personalInformation: "Personal Information",
76
75
  continueButton: "Continue",
@@ -264,7 +264,7 @@ const vanillaStyle = `
264
264
  }
265
265
  `;
266
266
  export const UserInfoFormView = (props) => {
267
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u;
267
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t;
268
268
  const { states, states: { formState }, callbacks, text, refs, data, } = props;
269
269
  const { classes } = sheet;
270
270
  const bankingCollectionText = intl.formatMessage({
@@ -287,9 +287,14 @@ export const UserInfoFormView = (props) => {
287
287
  default:
288
288
  regionLabel = text.state;
289
289
  }
290
+ // when creating an impact connection without sending phoneNumber data, the impactAPI defaults the value to "0000000" and the phoneNumberCountryCode to "DZ"
290
291
  function isDisabledPartnerInput(field) {
291
- var _a;
292
- return states.isPartner && !!((_a = data.partnerData) === null || _a === void 0 ? void 0 : _a[field]);
292
+ var _a, _b;
293
+ if (((_a = data.partnerData) === null || _a === void 0 ? void 0 : _a.phoneNumber) === "0000000" &&
294
+ (field === "phoneNumber" || field === "phoneNumberCountryCode")) {
295
+ return false;
296
+ }
297
+ return states.isPartner && !!((_b = data.partnerData) === null || _b === void 0 ? void 0 : _b[field]);
293
298
  }
294
299
  function isDisabledUserInput(field) {
295
300
  var _a;
@@ -325,14 +330,6 @@ export const UserInfoFormView = (props) => {
325
330
  }, {
326
331
  supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
327
332
  })))),
328
- (states.isPartner || states.isUser) && (h("sqm-form-message", { loading: states.loading, type: "info" },
329
- h("p", { part: "alert-title" }, text.isPartnerAlertHeader),
330
- h("p", { part: "alert-description" }, intl.formatMessage({
331
- id: "isPartnerAlertDescription",
332
- defaultMessage: text.isPartnerAlertDescription,
333
- }, {
334
- supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
335
- })))),
336
333
  h("div", null,
337
334
  h("div", { class: classes.InputContainer },
338
335
  h("sl-input", Object.assign({ class: "ErrorInput", exportparts: "label: input-label, base: input-base", value: formState.firstName, label: text.firstName, disabled: states.disabled || isDisabledUserInput("firstName") }, (((_b = formState.errors) === null || _b === void 0 ? void 0 : _b.firstName) ? {
@@ -420,7 +417,7 @@ export const UserInfoFormView = (props) => {
420
417
  helpText: formatErrorMessage(text.postalCode, formState.errors.postalCode),
421
418
  }
422
419
  : {}), { required: true })),
423
- h("sl-select", Object.assign({ id: "currency", exportparts: "label: input-label, base: input-base", name: "/currency", label: text.currency, menu: true, value: formState.currency, disabled: states.disabled || isDisabledPartnerInput("currency"), helpText: text.currencyHelpText }, (((_r = formState.errors) === null || _r === void 0 ? void 0 : _r.currency) ? {
420
+ h("sl-select", Object.assign({ id: "currency", exportparts: "label: input-label, base: input-base", name: "/currency", label: text.currency, menu: true, value: formState.currency, disabled: states.disabled || isDisabledPartnerInput("currency") }, (((_r = formState.errors) === null || _r === void 0 ? void 0 : _r.currency) ? {
424
421
  class: classes.ErrorInput,
425
422
  helpText: formatErrorMessage(text.currency, formState.errors.currency),
426
423
  }
@@ -438,11 +435,6 @@ export const UserInfoFormView = (props) => {
438
435
  _t.map((c) => (h("sl-menu-item", { value: c.currencyCode, style: { display: "none" } },
439
436
  c.currencyCode,
440
437
  " - ",
441
- c.displayName)))),
442
- h("div", { class: classes.CheckboxWrapper },
443
- h("sl-checkbox", { checked: formState.allowBankingCollection === true, "onSl-change": (e) => {
444
- e.target.value = e.target.checked;
445
- }, disabled: states.disabled, required: true, value: formState.allowBankingCollection, id: "allowBankingCollection", name: "/allowBankingCollection" }, bankingCollectionText),
446
- ((_u = formState.errors) === null || _u === void 0 ? void 0 : _u.allowBankingCollection) && (h("p", { class: classes.ErrorText }, formatErrorMessage(text.termsAndConditionsLabel, formState.errors.allowBankingCollection))))),
438
+ c.displayName))))),
447
439
  h("sl-button", { type: "primary", disabled: states.disabled, submit: true, exportparts: "base: primarybutton-base" }, text.continueButton))))));
448
440
  };
@@ -61,10 +61,6 @@ export class TaxForm {
61
61
  * @uiName Currency field label
62
62
  */
63
63
  this.currency = "Currency";
64
- /**
65
- * @uiName Currency field help text
66
- */
67
- this.currencyHelpText = "Choose your preferred payout currency";
68
64
  /**
69
65
  * @uiName Setup progress
70
66
  */
@@ -443,27 +439,6 @@ export class TaxForm {
443
439
  "reflect": false,
444
440
  "defaultValue": "\"Currency\""
445
441
  },
446
- "currencyHelpText": {
447
- "type": "string",
448
- "mutable": false,
449
- "complexType": {
450
- "original": "string",
451
- "resolved": "string",
452
- "references": {}
453
- },
454
- "required": false,
455
- "optional": false,
456
- "docs": {
457
- "tags": [{
458
- "text": "Currency field help text",
459
- "name": "uiName"
460
- }],
461
- "text": ""
462
- },
463
- "attribute": "currency-help-text",
464
- "reflect": false,
465
- "defaultValue": "\"Choose your preferred payout currency\""
466
- },
467
442
  "formStep": {
468
443
  "type": "string",
469
444
  "mutable": false,