@kiosinc/commons-rn 0.1.85 → 0.1.86

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 (398) hide show
  1. package/lib/commonjs/api/authentication.js.map +1 -0
  2. package/lib/commonjs/api/customer.js.map +1 -1
  3. package/lib/commonjs/assets/icons/alert.svg +4 -0
  4. package/lib/commonjs/components/Alert.js +1 -1
  5. package/lib/commonjs/components/Alert.js.map +1 -1
  6. package/lib/commonjs/components/SelectionDialog.js +1 -1
  7. package/lib/commonjs/components/SelectionDialog.js.map +1 -1
  8. package/lib/commonjs/components/Snackbar.js +1 -1
  9. package/lib/commonjs/components/Snackbar.js.map +1 -1
  10. package/lib/commonjs/helpers/index.js +13 -0
  11. package/lib/commonjs/helpers/index.js.map +1 -0
  12. package/lib/commonjs/hooks/index.js +69 -0
  13. package/lib/commonjs/hooks/index.js.map +1 -0
  14. package/lib/commonjs/hooks/queryKeys.js.map +1 -0
  15. package/lib/commonjs/hooks/useAppVersionCheck.js +9 -5
  16. package/lib/commonjs/hooks/useAppVersionCheck.js.map +1 -1
  17. package/lib/commonjs/{auth/hooks/useAuthentication.js → hooks/useAuth.js} +18 -18
  18. package/lib/commonjs/hooks/useAuth.js.map +1 -0
  19. package/lib/commonjs/{auth/hooks → hooks}/useAuthenticateRequests.js +1 -1
  20. package/lib/commonjs/hooks/useAuthenticateRequests.js.map +1 -0
  21. package/lib/commonjs/hooks/useBusinesses.js.map +1 -0
  22. package/lib/commonjs/{selectBusiness → hooks}/useCreateBusiness.js +1 -1
  23. package/lib/commonjs/hooks/useCreateBusiness.js.map +1 -0
  24. package/lib/commonjs/hooks/useCustomer.js +1 -1
  25. package/lib/commonjs/hooks/useCustomer.js.map +1 -1
  26. package/lib/commonjs/{auth/hooks → hooks}/useDeactivateAccount.js +3 -3
  27. package/lib/commonjs/hooks/useDeactivateAccount.js.map +1 -0
  28. package/lib/commonjs/{auth/hooks → hooks}/useLogout.js +3 -3
  29. package/lib/commonjs/hooks/useLogout.js.map +1 -0
  30. package/lib/commonjs/{auth/hooks → hooks}/useTermsOfService.js +4 -5
  31. package/lib/commonjs/hooks/useTermsOfService.js.map +1 -0
  32. package/lib/commonjs/index.js +50 -97
  33. package/lib/commonjs/index.js.map +1 -1
  34. package/lib/commonjs/localization/index.js +12 -0
  35. package/lib/commonjs/localization/index.js.map +1 -0
  36. package/lib/commonjs/localization/translations/en.json +87 -0
  37. package/lib/commonjs/providers/authentication/AuthenticationProvider.js.map +1 -0
  38. package/lib/commonjs/providers/authentication/actions/authentication.actions.js.map +1 -0
  39. package/lib/commonjs/providers/authentication/reducer/authentication.reducer.js.map +1 -0
  40. package/lib/commonjs/providers/authentication/types/authentication.types.js.map +1 -0
  41. package/lib/commonjs/providers/index.js +32 -0
  42. package/lib/commonjs/providers/index.js.map +1 -0
  43. package/lib/commonjs/{auth/screens → screens/Auth}/ChangePassword.js +9 -9
  44. package/lib/commonjs/{auth/screens → screens/Auth}/ChangePassword.js.map +1 -1
  45. package/lib/commonjs/{auth/screens → screens/Auth}/Login.js +2 -2
  46. package/lib/commonjs/{auth/screens → screens/Auth}/Login.js.map +1 -1
  47. package/lib/commonjs/{auth/screens → screens/Auth}/LoginWithEmail.js +7 -7
  48. package/lib/commonjs/{auth/screens → screens/Auth}/LoginWithEmail.js.map +1 -1
  49. package/lib/commonjs/{auth/screens → screens/Auth}/LoginWithPhoneNumber.js +5 -5
  50. package/lib/commonjs/screens/Auth/LoginWithPhoneNumber.js.map +1 -0
  51. package/lib/commonjs/{auth/screens → screens/Auth}/ResetPassword.js +41 -9
  52. package/lib/commonjs/screens/Auth/ResetPassword.js.map +1 -0
  53. package/lib/commonjs/{auth/screens → screens/Auth}/ResetPasswordInstructionsSent.js +2 -2
  54. package/lib/commonjs/{auth/screens → screens/Auth}/ResetPasswordInstructionsSent.js.map +1 -1
  55. package/lib/commonjs/{auth/screens → screens/Auth}/SignUp.js +12 -13
  56. package/lib/commonjs/screens/Auth/SignUp.js.map +1 -0
  57. package/lib/commonjs/{auth/screens → screens/Auth}/SignUpPassword.js +7 -7
  58. package/lib/commonjs/screens/Auth/SignUpPassword.js.map +1 -0
  59. package/lib/commonjs/{auth/screens → screens/Auth}/VerifyPhoneNumber.js +6 -6
  60. package/lib/commonjs/screens/Auth/VerifyPhoneNumber.js.map +1 -0
  61. package/lib/commonjs/{auth/screens → screens/Auth}/VerifyPhoneNumberForLogin.js +6 -6
  62. package/lib/commonjs/screens/Auth/VerifyPhoneNumberForLogin.js.map +1 -0
  63. package/lib/commonjs/{auth/screens/index.js → screens/Auth/navigators.js} +1 -1
  64. package/lib/commonjs/screens/Auth/navigators.js.map +1 -0
  65. package/lib/commonjs/{auth/screens → screens/Auth}/validators.js +7 -7
  66. package/lib/commonjs/screens/Auth/validators.js.map +1 -0
  67. package/lib/commonjs/screens/SavedCards/CardRow.js +4 -4
  68. package/lib/commonjs/screens/SavedCards/CardRow.js.map +1 -1
  69. package/lib/commonjs/screens/SavedCards/SavedCards.js +5 -5
  70. package/lib/commonjs/screens/SavedCards/SavedCards.js.map +1 -1
  71. package/lib/commonjs/{selectBusiness → screens/SelectBusiness}/CreateBusinessBottomSheet.js +7 -7
  72. package/lib/commonjs/screens/SelectBusiness/CreateBusinessBottomSheet.js.map +1 -0
  73. package/lib/commonjs/{selectBusiness → screens/SelectBusiness}/SelectBusiness.js +12 -13
  74. package/lib/commonjs/screens/SelectBusiness/SelectBusiness.js.map +1 -0
  75. package/lib/commonjs/{auth/screens → screens/TermsOfService}/TermsOfService.js +9 -9
  76. package/lib/commonjs/screens/TermsOfService/TermsOfService.js.map +1 -0
  77. package/lib/commonjs/screens/index.js +40 -0
  78. package/lib/commonjs/screens/index.js.map +1 -0
  79. package/lib/commonjs/utils/index.js +34 -0
  80. package/lib/commonjs/utils/index.js.map +1 -1
  81. package/lib/module/api/authentication.js.map +1 -0
  82. package/lib/module/api/customer.js.map +1 -1
  83. package/lib/module/assets/icons/alert.svg +4 -0
  84. package/lib/module/components/Alert.js +1 -1
  85. package/lib/module/components/Alert.js.map +1 -1
  86. package/lib/module/components/SelectionDialog.js +1 -1
  87. package/lib/module/components/SelectionDialog.js.map +1 -1
  88. package/lib/module/components/Snackbar.js +1 -1
  89. package/lib/module/components/Snackbar.js.map +1 -1
  90. package/lib/module/helpers/index.js +2 -0
  91. package/lib/module/helpers/index.js.map +1 -0
  92. package/lib/module/hooks/index.js +10 -0
  93. package/lib/module/hooks/index.js.map +1 -0
  94. package/lib/module/hooks/queryKeys.js.map +1 -0
  95. package/lib/module/hooks/useAppVersionCheck.js +9 -5
  96. package/lib/module/hooks/useAppVersionCheck.js.map +1 -1
  97. package/lib/module/{auth/hooks/useAuthentication.js → hooks/useAuth.js} +10 -10
  98. package/lib/module/hooks/useAuth.js.map +1 -0
  99. package/lib/module/{auth/hooks → hooks}/useAuthenticateRequests.js +1 -1
  100. package/lib/module/hooks/useAuthenticateRequests.js.map +1 -0
  101. package/lib/module/hooks/useBusinesses.js.map +1 -0
  102. package/lib/module/{selectBusiness → hooks}/useCreateBusiness.js +1 -1
  103. package/lib/module/hooks/useCreateBusiness.js.map +1 -0
  104. package/lib/module/hooks/useCustomer.js +1 -1
  105. package/lib/module/hooks/useCustomer.js.map +1 -1
  106. package/lib/module/{auth/hooks → hooks}/useDeactivateAccount.js +3 -3
  107. package/lib/module/hooks/useDeactivateAccount.js.map +1 -0
  108. package/lib/module/{auth/hooks → hooks}/useLogout.js +2 -2
  109. package/lib/module/hooks/useLogout.js.map +1 -0
  110. package/lib/module/{auth/hooks → hooks}/useTermsOfService.js +4 -4
  111. package/lib/module/hooks/useTermsOfService.js.map +1 -0
  112. package/lib/module/index.js +6 -11
  113. package/lib/module/index.js.map +1 -1
  114. package/lib/module/localization/index.js +5 -0
  115. package/lib/module/localization/index.js.map +1 -0
  116. package/lib/module/localization/translations/en.json +87 -0
  117. package/lib/module/providers/authentication/AuthenticationProvider.js.map +1 -0
  118. package/lib/module/providers/authentication/actions/authentication.actions.js.map +1 -0
  119. package/lib/module/providers/authentication/reducer/authentication.reducer.js.map +1 -0
  120. package/lib/module/providers/authentication/types/authentication.types.js.map +1 -0
  121. package/lib/module/providers/index.js +3 -0
  122. package/lib/module/providers/index.js.map +1 -0
  123. package/lib/module/{auth/screens → screens/Auth}/ChangePassword.js +9 -9
  124. package/lib/module/{auth/screens → screens/Auth}/ChangePassword.js.map +1 -1
  125. package/lib/module/{auth/screens → screens/Auth}/Login.js +2 -2
  126. package/lib/module/{auth/screens → screens/Auth}/Login.js.map +1 -1
  127. package/lib/module/{auth/screens → screens/Auth}/LoginWithEmail.js +7 -7
  128. package/lib/module/{auth/screens → screens/Auth}/LoginWithEmail.js.map +1 -1
  129. package/lib/module/{auth/screens → screens/Auth}/LoginWithPhoneNumber.js +5 -5
  130. package/lib/module/screens/Auth/LoginWithPhoneNumber.js.map +1 -0
  131. package/lib/module/{auth/screens → screens/Auth}/ResetPassword.js +43 -11
  132. package/lib/module/screens/Auth/ResetPassword.js.map +1 -0
  133. package/lib/module/{auth/screens → screens/Auth}/ResetPasswordInstructionsSent.js +2 -2
  134. package/lib/module/{auth/screens → screens/Auth}/ResetPasswordInstructionsSent.js.map +1 -1
  135. package/lib/module/{auth/screens → screens/Auth}/SignUp.js +11 -12
  136. package/lib/module/screens/Auth/SignUp.js.map +1 -0
  137. package/lib/module/{auth/screens → screens/Auth}/SignUpPassword.js +7 -7
  138. package/lib/module/screens/Auth/SignUpPassword.js.map +1 -0
  139. package/lib/module/{auth/screens → screens/Auth}/VerifyPhoneNumber.js +6 -6
  140. package/lib/module/screens/Auth/VerifyPhoneNumber.js.map +1 -0
  141. package/lib/module/{auth/screens → screens/Auth}/VerifyPhoneNumberForLogin.js +6 -6
  142. package/lib/module/screens/Auth/VerifyPhoneNumberForLogin.js.map +1 -0
  143. package/lib/module/{auth/screens/index.js → screens/Auth/navigators.js} +1 -1
  144. package/lib/module/screens/Auth/navigators.js.map +1 -0
  145. package/lib/module/screens/Auth/validators.js +45 -0
  146. package/lib/module/screens/Auth/validators.js.map +1 -0
  147. package/lib/module/screens/SavedCards/CardRow.js +4 -4
  148. package/lib/module/screens/SavedCards/CardRow.js.map +1 -1
  149. package/lib/module/screens/SavedCards/SavedCards.js +5 -5
  150. package/lib/module/screens/SavedCards/SavedCards.js.map +1 -1
  151. package/lib/module/{selectBusiness → screens/SelectBusiness}/CreateBusinessBottomSheet.js +6 -6
  152. package/lib/module/screens/SelectBusiness/CreateBusinessBottomSheet.js.map +1 -0
  153. package/lib/module/{selectBusiness → screens/SelectBusiness}/SelectBusiness.js +9 -10
  154. package/lib/module/screens/SelectBusiness/SelectBusiness.js.map +1 -0
  155. package/lib/module/{auth/screens → screens/TermsOfService}/TermsOfService.js +8 -8
  156. package/lib/module/screens/TermsOfService/TermsOfService.js.map +1 -0
  157. package/lib/module/screens/index.js +5 -0
  158. package/lib/module/screens/index.js.map +1 -0
  159. package/lib/module/utils/index.js +4 -0
  160. package/lib/module/utils/index.js.map +1 -1
  161. package/lib/typescript/src/{auth/api → api}/authentication.d.ts +6 -2
  162. package/lib/typescript/src/api/authentication.d.ts.map +1 -0
  163. package/lib/typescript/src/api/customer.d.ts +6 -2
  164. package/lib/typescript/src/api/customer.d.ts.map +1 -1
  165. package/lib/typescript/src/helpers/index.d.ts +2 -0
  166. package/lib/typescript/src/helpers/index.d.ts.map +1 -0
  167. package/lib/typescript/src/hooks/index.d.ts +10 -0
  168. package/lib/typescript/src/hooks/index.d.ts.map +1 -0
  169. package/lib/typescript/src/hooks/queryKeys.d.ts.map +1 -0
  170. package/lib/typescript/src/hooks/useAppVersionCheck.d.ts.map +1 -1
  171. package/lib/typescript/src/{auth/hooks/useAuthentication.d.ts → hooks/useAuth.d.ts} +2 -2
  172. package/lib/typescript/src/hooks/useAuth.d.ts.map +1 -0
  173. package/lib/typescript/src/hooks/useAuthenticateRequests.d.ts.map +1 -0
  174. package/lib/typescript/src/hooks/useBusinesses.d.ts.map +1 -0
  175. package/lib/typescript/src/hooks/useCreateBusiness.d.ts.map +1 -0
  176. package/lib/typescript/src/hooks/useCustomer.d.ts +6 -2
  177. package/lib/typescript/src/hooks/useCustomer.d.ts.map +1 -1
  178. package/lib/typescript/src/hooks/useDeactivateAccount.d.ts.map +1 -0
  179. package/lib/typescript/src/hooks/useLogout.d.ts.map +1 -0
  180. package/lib/typescript/src/hooks/useTermsOfService.d.ts.map +1 -0
  181. package/lib/typescript/src/index.d.ts +6 -11
  182. package/lib/typescript/src/index.d.ts.map +1 -1
  183. package/lib/typescript/src/localization/index.d.ts +90 -0
  184. package/lib/typescript/src/localization/index.d.ts.map +1 -0
  185. package/lib/typescript/src/providers/authentication/AuthenticationProvider.d.ts.map +1 -0
  186. package/lib/typescript/src/providers/authentication/actions/authentication.actions.d.ts.map +1 -0
  187. package/lib/typescript/src/providers/authentication/reducer/authentication.reducer.d.ts.map +1 -0
  188. package/lib/typescript/src/providers/authentication/types/authentication.types.d.ts.map +1 -0
  189. package/lib/typescript/src/providers/index.d.ts +3 -0
  190. package/lib/typescript/src/providers/index.d.ts.map +1 -0
  191. package/lib/typescript/src/{auth/screens → screens/Auth}/ChangePassword.d.ts.map +1 -1
  192. package/lib/typescript/src/screens/Auth/Login.d.ts.map +1 -0
  193. package/lib/typescript/src/screens/Auth/LoginWithEmail.d.ts.map +1 -0
  194. package/lib/typescript/src/{auth/screens → screens/Auth}/LoginWithPhoneNumber.d.ts.map +1 -1
  195. package/lib/typescript/src/screens/Auth/ResetPassword.d.ts.map +1 -0
  196. package/lib/typescript/src/{auth/screens → screens/Auth}/ResetPasswordInstructionsSent.d.ts.map +1 -1
  197. package/lib/typescript/src/screens/Auth/SignUp.d.ts.map +1 -0
  198. package/lib/typescript/src/{auth/screens → screens/Auth}/SignUpPassword.d.ts.map +1 -1
  199. package/lib/typescript/src/{auth/screens → screens/Auth}/VerifyPhoneNumber.d.ts.map +1 -1
  200. package/lib/typescript/src/{auth/screens → screens/Auth}/VerifyPhoneNumberForLogin.d.ts.map +1 -1
  201. package/lib/typescript/src/{auth/screens/index.d.ts → screens/Auth/navigators.d.ts} +1 -1
  202. package/lib/typescript/src/screens/Auth/navigators.d.ts.map +1 -0
  203. package/lib/typescript/src/{auth/screens → screens/Auth}/validators.d.ts.map +1 -1
  204. package/lib/typescript/src/screens/SavedCards/CardRow.d.ts +1 -1
  205. package/lib/typescript/src/screens/SavedCards/CardRow.d.ts.map +1 -1
  206. package/lib/typescript/src/screens/SavedCards/SavedCards.d.ts +1 -1
  207. package/lib/typescript/src/screens/SavedCards/SavedCards.d.ts.map +1 -1
  208. package/lib/typescript/src/screens/SelectBusiness/CreateBusinessBottomSheet.d.ts.map +1 -0
  209. package/lib/typescript/src/screens/SelectBusiness/SelectBusiness.d.ts.map +1 -0
  210. package/lib/typescript/src/screens/TermsOfService/TermsOfService.d.ts.map +1 -0
  211. package/lib/typescript/src/screens/index.d.ts +5 -0
  212. package/lib/typescript/src/screens/index.d.ts.map +1 -0
  213. package/lib/typescript/src/utils/checkout.d.ts +1 -1
  214. package/lib/typescript/src/utils/checkout.d.ts.map +1 -1
  215. package/lib/typescript/src/utils/index.d.ts +4 -0
  216. package/lib/typescript/src/utils/index.d.ts.map +1 -1
  217. package/package.json +2 -1
  218. package/src/{auth/api → api}/authentication.ts +6 -2
  219. package/src/api/customer.ts +6 -4
  220. package/src/assets/icons/alert.svg +4 -0
  221. package/src/components/Alert.tsx +1 -1
  222. package/src/components/SelectionDialog.tsx +1 -1
  223. package/src/components/Snackbar.tsx +1 -1
  224. package/src/helpers/index.ts +1 -0
  225. package/src/hooks/index.ts +9 -0
  226. package/src/hooks/useAppVersionCheck.ts +7 -6
  227. package/src/{auth/hooks/useAuthentication.ts → hooks/useAuth.ts} +9 -12
  228. package/src/{auth/hooks → hooks}/useAuthenticateRequests.ts +1 -1
  229. package/src/{selectBusiness → hooks}/useCreateBusiness.ts +1 -1
  230. package/src/hooks/useCustomer.ts +7 -7
  231. package/src/{auth/hooks → hooks}/useDeactivateAccount.ts +3 -3
  232. package/src/{auth/hooks → hooks}/useLogout.ts +2 -2
  233. package/src/{auth/hooks → hooks}/useTermsOfService.ts +4 -4
  234. package/src/index.tsx +6 -22
  235. package/src/localization/index.ts +4 -0
  236. package/src/localization/translations/en.json +87 -0
  237. package/src/providers/index.ts +6 -0
  238. package/src/{auth/screens → screens/Auth}/ChangePassword.tsx +13 -14
  239. package/src/{auth/screens → screens/Auth}/Login.tsx +2 -2
  240. package/src/{auth/screens → screens/Auth}/LoginWithEmail.tsx +7 -7
  241. package/src/{auth/screens → screens/Auth}/LoginWithPhoneNumber.tsx +5 -5
  242. package/src/{auth/screens → screens/Auth}/ResetPassword.tsx +46 -8
  243. package/src/{auth/screens → screens/Auth}/ResetPasswordInstructionsSent.tsx +2 -2
  244. package/src/{auth/screens → screens/Auth}/SignUp.tsx +11 -12
  245. package/src/{auth/screens → screens/Auth}/SignUpPassword.tsx +11 -11
  246. package/src/{auth/screens → screens/Auth}/VerifyPhoneNumber.tsx +6 -6
  247. package/src/{auth/screens → screens/Auth}/VerifyPhoneNumberForLogin.tsx +6 -7
  248. package/src/{auth/screens → screens/Auth}/validators.ts +20 -20
  249. package/src/screens/SavedCards/CardRow.tsx +5 -5
  250. package/src/screens/SavedCards/SavedCards.tsx +6 -6
  251. package/src/{selectBusiness → screens/SelectBusiness}/CreateBusinessBottomSheet.tsx +6 -6
  252. package/src/{selectBusiness → screens/SelectBusiness}/SelectBusiness.tsx +9 -10
  253. package/src/{auth/screens → screens/TermsOfService}/TermsOfService.tsx +10 -8
  254. package/src/screens/index.ts +4 -0
  255. package/src/utils/checkout.ts +1 -1
  256. package/src/utils/index.ts +11 -0
  257. package/lib/commonjs/auth/api/authentication.js.map +0 -1
  258. package/lib/commonjs/auth/hooks/useAuthenticateRequests.js.map +0 -1
  259. package/lib/commonjs/auth/hooks/useAuthentication.js.map +0 -1
  260. package/lib/commonjs/auth/hooks/useDeactivateAccount.js.map +0 -1
  261. package/lib/commonjs/auth/hooks/useLogout.js.map +0 -1
  262. package/lib/commonjs/auth/hooks/useTermsOfService.js.map +0 -1
  263. package/lib/commonjs/auth/index.js +0 -65
  264. package/lib/commonjs/auth/index.js.map +0 -1
  265. package/lib/commonjs/auth/providers/authentication/AuthenticationProvider.js.map +0 -1
  266. package/lib/commonjs/auth/providers/authentication/actions/authentication.actions.js.map +0 -1
  267. package/lib/commonjs/auth/providers/authentication/index.js +0 -50
  268. package/lib/commonjs/auth/providers/authentication/index.js.map +0 -1
  269. package/lib/commonjs/auth/providers/authentication/reducer/authentication.reducer.js.map +0 -1
  270. package/lib/commonjs/auth/providers/authentication/types/authentication.types.js.map +0 -1
  271. package/lib/commonjs/auth/screens/LoginWithPhoneNumber.js.map +0 -1
  272. package/lib/commonjs/auth/screens/ResetPassword.js.map +0 -1
  273. package/lib/commonjs/auth/screens/SignUp.js.map +0 -1
  274. package/lib/commonjs/auth/screens/SignUpPassword.js.map +0 -1
  275. package/lib/commonjs/auth/screens/TermsOfService.js.map +0 -1
  276. package/lib/commonjs/auth/screens/VerifyPhoneNumber.js.map +0 -1
  277. package/lib/commonjs/auth/screens/VerifyPhoneNumberForLogin.js.map +0 -1
  278. package/lib/commonjs/auth/screens/index.js.map +0 -1
  279. package/lib/commonjs/auth/screens/validators.js.map +0 -1
  280. package/lib/commonjs/selectBusiness/CreateBusinessBottomSheet.js.map +0 -1
  281. package/lib/commonjs/selectBusiness/SelectBusiness.js.map +0 -1
  282. package/lib/commonjs/selectBusiness/index.js +0 -20
  283. package/lib/commonjs/selectBusiness/index.js.map +0 -1
  284. package/lib/commonjs/selectBusiness/queryKeys.js.map +0 -1
  285. package/lib/commonjs/selectBusiness/useBusinesses.js.map +0 -1
  286. package/lib/commonjs/selectBusiness/useCreateBusiness.js.map +0 -1
  287. package/lib/commonjs/types/customer.d.js +0 -7
  288. package/lib/commonjs/types/customer.d.js.map +0 -1
  289. package/lib/module/auth/api/authentication.js.map +0 -1
  290. package/lib/module/auth/hooks/useAuthenticateRequests.js.map +0 -1
  291. package/lib/module/auth/hooks/useAuthentication.js.map +0 -1
  292. package/lib/module/auth/hooks/useDeactivateAccount.js.map +0 -1
  293. package/lib/module/auth/hooks/useLogout.js.map +0 -1
  294. package/lib/module/auth/hooks/useTermsOfService.js.map +0 -1
  295. package/lib/module/auth/index.js +0 -7
  296. package/lib/module/auth/index.js.map +0 -1
  297. package/lib/module/auth/providers/authentication/AuthenticationProvider.js.map +0 -1
  298. package/lib/module/auth/providers/authentication/actions/authentication.actions.js.map +0 -1
  299. package/lib/module/auth/providers/authentication/index.js +0 -5
  300. package/lib/module/auth/providers/authentication/index.js.map +0 -1
  301. package/lib/module/auth/providers/authentication/reducer/authentication.reducer.js.map +0 -1
  302. package/lib/module/auth/providers/authentication/types/authentication.types.js.map +0 -1
  303. package/lib/module/auth/screens/LoginWithPhoneNumber.js.map +0 -1
  304. package/lib/module/auth/screens/ResetPassword.js.map +0 -1
  305. package/lib/module/auth/screens/SignUp.js.map +0 -1
  306. package/lib/module/auth/screens/SignUpPassword.js.map +0 -1
  307. package/lib/module/auth/screens/TermsOfService.js.map +0 -1
  308. package/lib/module/auth/screens/VerifyPhoneNumber.js.map +0 -1
  309. package/lib/module/auth/screens/VerifyPhoneNumberForLogin.js.map +0 -1
  310. package/lib/module/auth/screens/index.js.map +0 -1
  311. package/lib/module/auth/screens/validators.js +0 -45
  312. package/lib/module/auth/screens/validators.js.map +0 -1
  313. package/lib/module/selectBusiness/CreateBusinessBottomSheet.js.map +0 -1
  314. package/lib/module/selectBusiness/SelectBusiness.js.map +0 -1
  315. package/lib/module/selectBusiness/index.js +0 -3
  316. package/lib/module/selectBusiness/index.js.map +0 -1
  317. package/lib/module/selectBusiness/queryKeys.js.map +0 -1
  318. package/lib/module/selectBusiness/useBusinesses.js.map +0 -1
  319. package/lib/module/selectBusiness/useCreateBusiness.js.map +0 -1
  320. package/lib/module/types/customer.d.js +0 -5
  321. package/lib/module/types/customer.d.js.map +0 -1
  322. package/lib/typescript/src/auth/api/authentication.d.ts.map +0 -1
  323. package/lib/typescript/src/auth/hooks/useAuthenticateRequests.d.ts.map +0 -1
  324. package/lib/typescript/src/auth/hooks/useAuthentication.d.ts.map +0 -1
  325. package/lib/typescript/src/auth/hooks/useDeactivateAccount.d.ts.map +0 -1
  326. package/lib/typescript/src/auth/hooks/useLogout.d.ts.map +0 -1
  327. package/lib/typescript/src/auth/hooks/useTermsOfService.d.ts.map +0 -1
  328. package/lib/typescript/src/auth/index.d.ts +0 -7
  329. package/lib/typescript/src/auth/index.d.ts.map +0 -1
  330. package/lib/typescript/src/auth/providers/authentication/AuthenticationProvider.d.ts.map +0 -1
  331. package/lib/typescript/src/auth/providers/authentication/actions/authentication.actions.d.ts.map +0 -1
  332. package/lib/typescript/src/auth/providers/authentication/index.d.ts +0 -5
  333. package/lib/typescript/src/auth/providers/authentication/index.d.ts.map +0 -1
  334. package/lib/typescript/src/auth/providers/authentication/reducer/authentication.reducer.d.ts.map +0 -1
  335. package/lib/typescript/src/auth/providers/authentication/types/authentication.types.d.ts.map +0 -1
  336. package/lib/typescript/src/auth/screens/Login.d.ts.map +0 -1
  337. package/lib/typescript/src/auth/screens/LoginWithEmail.d.ts.map +0 -1
  338. package/lib/typescript/src/auth/screens/ResetPassword.d.ts.map +0 -1
  339. package/lib/typescript/src/auth/screens/SignUp.d.ts.map +0 -1
  340. package/lib/typescript/src/auth/screens/TermsOfService.d.ts.map +0 -1
  341. package/lib/typescript/src/auth/screens/index.d.ts.map +0 -1
  342. package/lib/typescript/src/selectBusiness/CreateBusinessBottomSheet.d.ts.map +0 -1
  343. package/lib/typescript/src/selectBusiness/SelectBusiness.d.ts.map +0 -1
  344. package/lib/typescript/src/selectBusiness/index.d.ts +0 -3
  345. package/lib/typescript/src/selectBusiness/index.d.ts.map +0 -1
  346. package/lib/typescript/src/selectBusiness/queryKeys.d.ts.map +0 -1
  347. package/lib/typescript/src/selectBusiness/useBusinesses.d.ts.map +0 -1
  348. package/lib/typescript/src/selectBusiness/useCreateBusiness.d.ts.map +0 -1
  349. package/src/auth/index.ts +0 -10
  350. package/src/auth/providers/authentication/index.ts +0 -4
  351. package/src/selectBusiness/index.ts +0 -2
  352. package/src/types/customer.d.ts +0 -70
  353. /package/lib/commonjs/{auth/api → api}/authentication.js +0 -0
  354. /package/lib/commonjs/{selectBusiness → hooks}/queryKeys.js +0 -0
  355. /package/lib/commonjs/{selectBusiness → hooks}/useBusinesses.js +0 -0
  356. /package/lib/commonjs/{auth/providers → providers}/authentication/AuthenticationProvider.js +0 -0
  357. /package/lib/commonjs/{auth/providers → providers}/authentication/actions/authentication.actions.js +0 -0
  358. /package/lib/commonjs/{auth/providers → providers}/authentication/reducer/authentication.reducer.js +0 -0
  359. /package/lib/commonjs/{auth/providers → providers}/authentication/types/authentication.types.js +0 -0
  360. /package/lib/module/{auth/api → api}/authentication.js +0 -0
  361. /package/lib/module/{selectBusiness → hooks}/queryKeys.js +0 -0
  362. /package/lib/module/{selectBusiness → hooks}/useBusinesses.js +0 -0
  363. /package/lib/module/{auth/providers → providers}/authentication/AuthenticationProvider.js +0 -0
  364. /package/lib/module/{auth/providers → providers}/authentication/actions/authentication.actions.js +0 -0
  365. /package/lib/module/{auth/providers → providers}/authentication/reducer/authentication.reducer.js +0 -0
  366. /package/lib/module/{auth/providers → providers}/authentication/types/authentication.types.js +0 -0
  367. /package/lib/typescript/src/{selectBusiness → hooks}/queryKeys.d.ts +0 -0
  368. /package/lib/typescript/src/{auth/hooks → hooks}/useAuthenticateRequests.d.ts +0 -0
  369. /package/lib/typescript/src/{selectBusiness → hooks}/useBusinesses.d.ts +0 -0
  370. /package/lib/typescript/src/{selectBusiness → hooks}/useCreateBusiness.d.ts +0 -0
  371. /package/lib/typescript/src/{auth/hooks → hooks}/useDeactivateAccount.d.ts +0 -0
  372. /package/lib/typescript/src/{auth/hooks → hooks}/useLogout.d.ts +0 -0
  373. /package/lib/typescript/src/{auth/hooks → hooks}/useTermsOfService.d.ts +0 -0
  374. /package/lib/typescript/src/{auth/providers → providers}/authentication/AuthenticationProvider.d.ts +0 -0
  375. /package/lib/typescript/src/{auth/providers → providers}/authentication/actions/authentication.actions.d.ts +0 -0
  376. /package/lib/typescript/src/{auth/providers → providers}/authentication/reducer/authentication.reducer.d.ts +0 -0
  377. /package/lib/typescript/src/{auth/providers → providers}/authentication/types/authentication.types.d.ts +0 -0
  378. /package/lib/typescript/src/{auth/screens → screens/Auth}/ChangePassword.d.ts +0 -0
  379. /package/lib/typescript/src/{auth/screens → screens/Auth}/Login.d.ts +0 -0
  380. /package/lib/typescript/src/{auth/screens → screens/Auth}/LoginWithEmail.d.ts +0 -0
  381. /package/lib/typescript/src/{auth/screens → screens/Auth}/LoginWithPhoneNumber.d.ts +0 -0
  382. /package/lib/typescript/src/{auth/screens → screens/Auth}/ResetPassword.d.ts +0 -0
  383. /package/lib/typescript/src/{auth/screens → screens/Auth}/ResetPasswordInstructionsSent.d.ts +0 -0
  384. /package/lib/typescript/src/{auth/screens → screens/Auth}/SignUp.d.ts +0 -0
  385. /package/lib/typescript/src/{auth/screens → screens/Auth}/SignUpPassword.d.ts +0 -0
  386. /package/lib/typescript/src/{auth/screens → screens/Auth}/VerifyPhoneNumber.d.ts +0 -0
  387. /package/lib/typescript/src/{auth/screens → screens/Auth}/VerifyPhoneNumberForLogin.d.ts +0 -0
  388. /package/lib/typescript/src/{auth/screens → screens/Auth}/validators.d.ts +0 -0
  389. /package/lib/typescript/src/{selectBusiness → screens/SelectBusiness}/CreateBusinessBottomSheet.d.ts +0 -0
  390. /package/lib/typescript/src/{selectBusiness → screens/SelectBusiness}/SelectBusiness.d.ts +0 -0
  391. /package/lib/typescript/src/{auth/screens → screens/TermsOfService}/TermsOfService.d.ts +0 -0
  392. /package/src/{selectBusiness → hooks}/queryKeys.ts +0 -0
  393. /package/src/{selectBusiness → hooks}/useBusinesses.ts +0 -0
  394. /package/src/{auth/providers → providers}/authentication/AuthenticationProvider.tsx +0 -0
  395. /package/src/{auth/providers → providers}/authentication/actions/authentication.actions.ts +0 -0
  396. /package/src/{auth/providers → providers}/authentication/reducer/authentication.reducer.ts +0 -0
  397. /package/src/{auth/providers → providers}/authentication/types/authentication.types.ts +0 -0
  398. /package/src/{auth/screens/index.tsx → screens/Auth/navigators.tsx} +0 -0
@@ -1,5 +0,0 @@
1
- export * from './types/authentication.types';
2
- export * from './actions/authentication.actions';
3
- export * from './reducer/authentication.reducer';
4
- export * from './AuthenticationProvider';
5
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/auth/providers/authentication/index.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAC;AAC7C,cAAc,kCAAkC,CAAC;AACjD,cAAc,kCAAkC,CAAC;AACjD,cAAc,0BAA0B,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"authentication.reducer.d.ts","sourceRoot":"","sources":["../../../../../../../src/auth/providers/authentication/reducer/authentication.reducer.ts"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,oBAAoB,EAEzB,KAAK,mBAAmB,EACzB,MAAM,+BAA+B,CAAC;AAoBvC,eAAO,MAAM,qBAAqB,UACzB,mBAAmB,UAClB,oBAAoB,KAC3B,mBAYF,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"authentication.types.d.ts","sourceRoot":"","sources":["../../../../../../../src/auth/providers/authentication/types/authentication.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAChE,MAAM,MAAM,kBAAkB,GAAG,iBAAiB,CAAC,kBAAkB,CAAC;AACtE,MAAM,MAAM,IAAI,GAAG,iBAAiB,CAAC,IAAI,CAAC;AAE1C,oBAAY,wBAAwB;IAClC,UAAU,eAAe;CAC1B;AAED,MAAM,MAAM,oBAAoB,GAAG;IACjC,IAAI,EAAE,wBAAwB,CAAC,UAAU,CAAC;IAC1C,IAAI,EAAE,IAAI,GAAG,IAAI,CAAC;CACnB,CAAC;AAEF,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,IAAI,GAAG,IAAI,CAAC;IAClB,YAAY,EAAE,OAAO,CAAC;IACtB,UAAU,EAAE,OAAO,CAAC;CACrB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Login.d.ts","sourceRoot":"","sources":["../../../../../src/auth/screens/Login.tsx"],"names":[],"mappings":";AAkCA,eAAO,MAAM,KAAK,mBAsEjB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"LoginWithEmail.d.ts","sourceRoot":"","sources":["../../../../../src/auth/screens/LoginWithEmail.tsx"],"names":[],"mappings":";AAyBA,eAAO,MAAM,cAAc,mBAyH1B,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"ResetPassword.d.ts","sourceRoot":"","sources":["../../../../../src/auth/screens/ResetPassword.tsx"],"names":[],"mappings":";AAoBA,eAAO,MAAM,aAAa,mBAmEzB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"SignUp.d.ts","sourceRoot":"","sources":["../../../../../src/auth/screens/SignUp.tsx"],"names":[],"mappings":";AA2BA,MAAM,MAAM,SAAS,GAAG;IACtB,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,eAAO,MAAM,MAAM,mBAwJlB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"TermsOfService.d.ts","sourceRoot":"","sources":["../../../../../src/auth/screens/TermsOfService.tsx"],"names":[],"mappings":";AAgBA,OAAO,EACL,yBAAyB,EAE1B,MAAM,yCAAyC,CAAC;AAEjD,KAAK,qBAAqB,GAAG;IAC3B,cAAc,EAAE,yBAAyB,CAAC;CAC3C,CAAC;AAEF,eAAO,MAAM,gBAAgB,uBAAwB,qBAAqB,gBAwBzE,CAAC;AAEF,eAAO,MAAM,cAAc,mBA8D1B,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/auth/screens/index.tsx"],"names":[],"mappings":";AAUA,eAAO,MAAM,mBAAmB,cAAe,GAAG,gBAqBjD,CAAC;AAEF,eAAO,MAAM,kBAAkB,cAAe,GAAG,gBAMhD,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"CreateBusinessBottomSheet.d.ts","sourceRoot":"","sources":["../../../../src/selectBusiness/CreateBusinessBottomSheet.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAavE,KAAK,8BAA8B,GAAG;IACpC,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,MAAM,IAAI,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,yBAAyB,gGA2DrC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"SelectBusiness.d.ts","sourceRoot":"","sources":["../../../../src/selectBusiness/SelectBusiness.tsx"],"names":[],"mappings":";AA6DA,eAAO,MAAM,cAAc,mBA8H1B,CAAC"}
@@ -1,3 +0,0 @@
1
- export { SelectBusiness } from './SelectBusiness';
2
- export { useBusinesses } from './useBusinesses';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/selectBusiness/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"queryKeys.d.ts","sourceRoot":"","sources":["../../../../src/selectBusiness/queryKeys.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS;;;;;;;;;CASrB,CAAC;AAEF,eAAO,MAAM,kBAAkB,QAAmB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"useBusinesses.d.ts","sourceRoot":"","sources":["../../../../src/selectBusiness/useBusinesses.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,eAAe,wDAE3B,CAAC;AAEF,eAAO,MAAM,aAAa;QAOd,MAAM;UACJ,MAAM;aAmBnB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"useCreateBusiness.d.ts","sourceRoot":"","sources":["../../../../src/selectBusiness/useCreateBusiness.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,iBAAiB;eAAgC,MAAM,IAAI;oFAavE,CAAC"}
package/src/auth/index.ts DELETED
@@ -1,10 +0,0 @@
1
- export { renderAuthNavigator, renderAppNavigator } from './screens';
2
- export {
3
- useAuthentication,
4
- useAuthenticationDispatch,
5
- changeUser,
6
- } from './providers/authentication';
7
- export { AuthenticationProvider } from './providers/authentication';
8
- export { useDeactivateAccount } from './hooks/useDeactivateAccount';
9
- export { useTermsOfService } from './hooks/useTermsOfService';
10
- export { TermsOfService } from './screens/TermsOfService';
@@ -1,4 +0,0 @@
1
- export * from './types/authentication.types';
2
- export * from './actions/authentication.actions';
3
- export * from './reducer/authentication.reducer';
4
- export * from './AuthenticationProvider';
@@ -1,2 +0,0 @@
1
- export { SelectBusiness } from './SelectBusiness';
2
- export { useBusinesses } from './useBusinesses';
@@ -1,70 +0,0 @@
1
- export interface SaveCardRequest {
2
- sourceId: string;
3
- verificationToken?: string;
4
- idempotentKey: string;
5
- }
6
-
7
- export interface ConnectSquareCustomerRequest {
8
- uid: string;
9
- businessId: string;
10
- idempotentKey: string;
11
- }
12
-
13
- export interface Address {
14
- addressLine1: string;
15
- addressLine2: string;
16
- // city: string;
17
- // state: string;
18
- // zip: string;
19
- // country: string;
20
- }
21
-
22
- export interface CreateCustomerProfileProps {
23
- address: Address | null;
24
- }
25
- export interface CustomerProfileProps {
26
- addressId: string | null;
27
- paymentId: string | null;
28
- squareCustomerId: string | null;
29
- }
30
-
31
- export interface UpdateSquareLoyaltyCustomerRequest {
32
- uid: string;
33
- businessId: string;
34
- }
35
-
36
- interface DocumentProps {
37
- created: string;
38
- updated: string;
39
- }
40
-
41
- enum PaymentType {
42
- card = 'card',
43
- }
44
- export interface CardDetailsProps {
45
- bin: string;
46
- cardBrand: string;
47
- cardType: string;
48
- enabled: boolean;
49
- expMonth: number;
50
- expYear: number;
51
- fingerprint: string;
52
- last4: string;
53
- merchantId: string;
54
- prepaidType: string;
55
- version: number;
56
- }
57
-
58
- export interface CustomerPaymentProps {
59
- type: PaymentType;
60
- linkedObjectId: string;
61
- provider: string;
62
- }
63
-
64
- export interface CustomerCardPayment
65
- extends CustomerPaymentProps,
66
- DocumentProps {
67
- uid: string;
68
- cardDetails: CardDetailsProps;
69
- id: string;
70
- }
File without changes
File without changes
File without changes