@kiosinc/commons-rn 0.1.84 → 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.
- package/lib/commonjs/api/authentication.js.map +1 -0
- package/lib/commonjs/api/customer.js.map +1 -1
- package/lib/commonjs/assets/icons/alert.svg +4 -0
- package/lib/commonjs/components/Alert.js +1 -1
- package/lib/commonjs/components/Alert.js.map +1 -1
- package/lib/commonjs/components/DelayedRender.js +4 -2
- package/lib/commonjs/components/DelayedRender.js.map +1 -1
- package/lib/commonjs/components/SelectionDialog.js +1 -1
- package/lib/commonjs/components/SelectionDialog.js.map +1 -1
- package/lib/commonjs/components/Snackbar.js +1 -1
- package/lib/commonjs/components/Snackbar.js.map +1 -1
- package/lib/commonjs/helpers/index.js +13 -0
- package/lib/commonjs/helpers/index.js.map +1 -0
- package/lib/commonjs/hooks/index.js +69 -0
- package/lib/commonjs/hooks/index.js.map +1 -0
- package/lib/commonjs/hooks/queryKeys.js.map +1 -0
- package/lib/commonjs/hooks/useAppVersionCheck.js +9 -5
- package/lib/commonjs/hooks/useAppVersionCheck.js.map +1 -1
- package/lib/commonjs/{auth/hooks/useAuthentication.js → hooks/useAuth.js} +18 -18
- package/lib/commonjs/hooks/useAuth.js.map +1 -0
- package/lib/commonjs/{auth/hooks → hooks}/useAuthenticateRequests.js +1 -1
- package/lib/commonjs/hooks/useAuthenticateRequests.js.map +1 -0
- package/lib/commonjs/hooks/useBusinesses.js.map +1 -0
- package/lib/commonjs/{selectBusiness → hooks}/useCreateBusiness.js +1 -1
- package/lib/commonjs/hooks/useCreateBusiness.js.map +1 -0
- package/lib/commonjs/hooks/useCustomer.js +1 -1
- package/lib/commonjs/hooks/useCustomer.js.map +1 -1
- package/lib/commonjs/{auth/hooks → hooks}/useDeactivateAccount.js +3 -3
- package/lib/commonjs/hooks/useDeactivateAccount.js.map +1 -0
- package/lib/commonjs/{auth/hooks → hooks}/useLogout.js +3 -3
- package/lib/commonjs/hooks/useLogout.js.map +1 -0
- package/lib/commonjs/{auth/hooks → hooks}/useTermsOfService.js +4 -5
- package/lib/commonjs/hooks/useTermsOfService.js.map +1 -0
- package/lib/commonjs/index.js +50 -97
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/localization/index.js +12 -0
- package/lib/commonjs/localization/index.js.map +1 -0
- package/lib/commonjs/localization/translations/en.json +87 -0
- package/lib/commonjs/providers/authentication/AuthenticationProvider.js.map +1 -0
- package/lib/commonjs/providers/authentication/actions/authentication.actions.js.map +1 -0
- package/lib/commonjs/providers/authentication/reducer/authentication.reducer.js.map +1 -0
- package/lib/commonjs/providers/authentication/types/authentication.types.js.map +1 -0
- package/lib/commonjs/providers/index.js +32 -0
- package/lib/commonjs/providers/index.js.map +1 -0
- package/lib/commonjs/{auth/screens → screens/Auth}/ChangePassword.js +9 -9
- package/lib/commonjs/{auth/screens → screens/Auth}/ChangePassword.js.map +1 -1
- package/lib/commonjs/{auth/screens → screens/Auth}/Login.js +2 -2
- package/lib/commonjs/{auth/screens → screens/Auth}/Login.js.map +1 -1
- package/lib/commonjs/{auth/screens → screens/Auth}/LoginWithEmail.js +7 -7
- package/lib/commonjs/{auth/screens → screens/Auth}/LoginWithEmail.js.map +1 -1
- package/lib/commonjs/{auth/screens → screens/Auth}/LoginWithPhoneNumber.js +5 -5
- package/lib/commonjs/screens/Auth/LoginWithPhoneNumber.js.map +1 -0
- package/lib/commonjs/{auth/screens → screens/Auth}/ResetPassword.js +41 -9
- package/lib/commonjs/screens/Auth/ResetPassword.js.map +1 -0
- package/lib/commonjs/{auth/screens → screens/Auth}/ResetPasswordInstructionsSent.js +2 -2
- package/lib/commonjs/{auth/screens → screens/Auth}/ResetPasswordInstructionsSent.js.map +1 -1
- package/lib/commonjs/{auth/screens → screens/Auth}/SignUp.js +12 -13
- package/lib/commonjs/screens/Auth/SignUp.js.map +1 -0
- package/lib/commonjs/{auth/screens → screens/Auth}/SignUpPassword.js +7 -7
- package/lib/commonjs/screens/Auth/SignUpPassword.js.map +1 -0
- package/lib/commonjs/{auth/screens → screens/Auth}/VerifyPhoneNumber.js +6 -6
- package/lib/commonjs/screens/Auth/VerifyPhoneNumber.js.map +1 -0
- package/lib/commonjs/{auth/screens → screens/Auth}/VerifyPhoneNumberForLogin.js +6 -6
- package/lib/commonjs/screens/Auth/VerifyPhoneNumberForLogin.js.map +1 -0
- package/lib/commonjs/{auth/screens/index.js → screens/Auth/navigators.js} +1 -1
- package/lib/commonjs/screens/Auth/navigators.js.map +1 -0
- package/lib/commonjs/{auth/screens → screens/Auth}/validators.js +7 -7
- package/lib/commonjs/screens/Auth/validators.js.map +1 -0
- package/lib/commonjs/screens/SavedCards/CardRow.js +4 -4
- package/lib/commonjs/screens/SavedCards/CardRow.js.map +1 -1
- package/lib/commonjs/screens/SavedCards/SavedCards.js +5 -5
- package/lib/commonjs/screens/SavedCards/SavedCards.js.map +1 -1
- package/lib/commonjs/{selectBusiness → screens/SelectBusiness}/CreateBusinessBottomSheet.js +7 -7
- package/lib/commonjs/screens/SelectBusiness/CreateBusinessBottomSheet.js.map +1 -0
- package/lib/commonjs/{selectBusiness → screens/SelectBusiness}/SelectBusiness.js +12 -13
- package/lib/commonjs/screens/SelectBusiness/SelectBusiness.js.map +1 -0
- package/lib/commonjs/{auth/screens → screens/TermsOfService}/TermsOfService.js +9 -9
- package/lib/commonjs/screens/TermsOfService/TermsOfService.js.map +1 -0
- package/lib/commonjs/screens/index.js +40 -0
- package/lib/commonjs/screens/index.js.map +1 -0
- package/lib/commonjs/utils/index.js +34 -0
- package/lib/commonjs/utils/index.js.map +1 -1
- package/lib/module/api/authentication.js.map +1 -0
- package/lib/module/api/customer.js.map +1 -1
- package/lib/module/assets/icons/alert.svg +4 -0
- package/lib/module/components/Alert.js +1 -1
- package/lib/module/components/Alert.js.map +1 -1
- package/lib/module/components/DelayedRender.js +2 -2
- package/lib/module/components/DelayedRender.js.map +1 -1
- package/lib/module/components/SelectionDialog.js +1 -1
- package/lib/module/components/SelectionDialog.js.map +1 -1
- package/lib/module/components/Snackbar.js +1 -1
- package/lib/module/components/Snackbar.js.map +1 -1
- package/lib/module/helpers/index.js +2 -0
- package/lib/module/helpers/index.js.map +1 -0
- package/lib/module/hooks/index.js +10 -0
- package/lib/module/hooks/index.js.map +1 -0
- package/lib/module/hooks/queryKeys.js.map +1 -0
- package/lib/module/hooks/useAppVersionCheck.js +9 -5
- package/lib/module/hooks/useAppVersionCheck.js.map +1 -1
- package/lib/module/{auth/hooks/useAuthentication.js → hooks/useAuth.js} +10 -10
- package/lib/module/hooks/useAuth.js.map +1 -0
- package/lib/module/{auth/hooks → hooks}/useAuthenticateRequests.js +1 -1
- package/lib/module/hooks/useAuthenticateRequests.js.map +1 -0
- package/lib/module/hooks/useBusinesses.js.map +1 -0
- package/lib/module/{selectBusiness → hooks}/useCreateBusiness.js +1 -1
- package/lib/module/hooks/useCreateBusiness.js.map +1 -0
- package/lib/module/hooks/useCustomer.js +1 -1
- package/lib/module/hooks/useCustomer.js.map +1 -1
- package/lib/module/{auth/hooks → hooks}/useDeactivateAccount.js +3 -3
- package/lib/module/hooks/useDeactivateAccount.js.map +1 -0
- package/lib/module/{auth/hooks → hooks}/useLogout.js +2 -2
- package/lib/module/hooks/useLogout.js.map +1 -0
- package/lib/module/{auth/hooks → hooks}/useTermsOfService.js +4 -4
- package/lib/module/hooks/useTermsOfService.js.map +1 -0
- package/lib/module/index.js +6 -11
- package/lib/module/index.js.map +1 -1
- package/lib/module/localization/index.js +5 -0
- package/lib/module/localization/index.js.map +1 -0
- package/lib/module/localization/translations/en.json +87 -0
- package/lib/module/providers/authentication/AuthenticationProvider.js.map +1 -0
- package/lib/module/providers/authentication/actions/authentication.actions.js.map +1 -0
- package/lib/module/providers/authentication/reducer/authentication.reducer.js.map +1 -0
- package/lib/module/providers/authentication/types/authentication.types.js.map +1 -0
- package/lib/module/providers/index.js +3 -0
- package/lib/module/providers/index.js.map +1 -0
- package/lib/module/{auth/screens → screens/Auth}/ChangePassword.js +9 -9
- package/lib/module/{auth/screens → screens/Auth}/ChangePassword.js.map +1 -1
- package/lib/module/{auth/screens → screens/Auth}/Login.js +2 -2
- package/lib/module/{auth/screens → screens/Auth}/Login.js.map +1 -1
- package/lib/module/{auth/screens → screens/Auth}/LoginWithEmail.js +7 -7
- package/lib/module/{auth/screens → screens/Auth}/LoginWithEmail.js.map +1 -1
- package/lib/module/{auth/screens → screens/Auth}/LoginWithPhoneNumber.js +5 -5
- package/lib/module/screens/Auth/LoginWithPhoneNumber.js.map +1 -0
- package/lib/module/{auth/screens → screens/Auth}/ResetPassword.js +43 -11
- package/lib/module/screens/Auth/ResetPassword.js.map +1 -0
- package/lib/module/{auth/screens → screens/Auth}/ResetPasswordInstructionsSent.js +2 -2
- package/lib/module/{auth/screens → screens/Auth}/ResetPasswordInstructionsSent.js.map +1 -1
- package/lib/module/{auth/screens → screens/Auth}/SignUp.js +11 -12
- package/lib/module/screens/Auth/SignUp.js.map +1 -0
- package/lib/module/{auth/screens → screens/Auth}/SignUpPassword.js +7 -7
- package/lib/module/screens/Auth/SignUpPassword.js.map +1 -0
- package/lib/module/{auth/screens → screens/Auth}/VerifyPhoneNumber.js +6 -6
- package/lib/module/screens/Auth/VerifyPhoneNumber.js.map +1 -0
- package/lib/module/{auth/screens → screens/Auth}/VerifyPhoneNumberForLogin.js +6 -6
- package/lib/module/screens/Auth/VerifyPhoneNumberForLogin.js.map +1 -0
- package/lib/module/{auth/screens/index.js → screens/Auth/navigators.js} +1 -1
- package/lib/module/screens/Auth/navigators.js.map +1 -0
- package/lib/module/screens/Auth/validators.js +45 -0
- package/lib/module/screens/Auth/validators.js.map +1 -0
- package/lib/module/screens/SavedCards/CardRow.js +4 -4
- package/lib/module/screens/SavedCards/CardRow.js.map +1 -1
- package/lib/module/screens/SavedCards/SavedCards.js +5 -5
- package/lib/module/screens/SavedCards/SavedCards.js.map +1 -1
- package/lib/module/{selectBusiness → screens/SelectBusiness}/CreateBusinessBottomSheet.js +6 -6
- package/lib/module/screens/SelectBusiness/CreateBusinessBottomSheet.js.map +1 -0
- package/lib/module/{selectBusiness → screens/SelectBusiness}/SelectBusiness.js +9 -10
- package/lib/module/screens/SelectBusiness/SelectBusiness.js.map +1 -0
- package/lib/module/{auth/screens → screens/TermsOfService}/TermsOfService.js +8 -8
- package/lib/module/screens/TermsOfService/TermsOfService.js.map +1 -0
- package/lib/module/screens/index.js +5 -0
- package/lib/module/screens/index.js.map +1 -0
- package/lib/module/utils/index.js +4 -0
- package/lib/module/utils/index.js.map +1 -1
- package/lib/typescript/src/{auth/api → api}/authentication.d.ts +6 -2
- package/lib/typescript/src/api/authentication.d.ts.map +1 -0
- package/lib/typescript/src/api/customer.d.ts +6 -2
- package/lib/typescript/src/api/customer.d.ts.map +1 -1
- package/lib/typescript/src/components/DelayedRender.d.ts +2 -2
- package/lib/typescript/src/components/DelayedRender.d.ts.map +1 -1
- package/lib/typescript/src/helpers/index.d.ts +2 -0
- package/lib/typescript/src/helpers/index.d.ts.map +1 -0
- package/lib/typescript/src/hooks/index.d.ts +10 -0
- package/lib/typescript/src/hooks/index.d.ts.map +1 -0
- package/lib/typescript/src/hooks/queryKeys.d.ts.map +1 -0
- package/lib/typescript/src/hooks/useAppVersionCheck.d.ts.map +1 -1
- package/lib/typescript/src/{auth/hooks/useAuthentication.d.ts → hooks/useAuth.d.ts} +2 -2
- package/lib/typescript/src/hooks/useAuth.d.ts.map +1 -0
- package/lib/typescript/src/hooks/useAuthenticateRequests.d.ts.map +1 -0
- package/lib/typescript/src/hooks/useBusinesses.d.ts.map +1 -0
- package/lib/typescript/src/hooks/useCreateBusiness.d.ts.map +1 -0
- package/lib/typescript/src/hooks/useCustomer.d.ts +6 -2
- package/lib/typescript/src/hooks/useCustomer.d.ts.map +1 -1
- package/lib/typescript/src/hooks/useDeactivateAccount.d.ts.map +1 -0
- package/lib/typescript/src/hooks/useLogout.d.ts.map +1 -0
- package/lib/typescript/src/hooks/useTermsOfService.d.ts.map +1 -0
- package/lib/typescript/src/index.d.ts +6 -11
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/lib/typescript/src/localization/index.d.ts +90 -0
- package/lib/typescript/src/localization/index.d.ts.map +1 -0
- package/lib/typescript/src/providers/authentication/AuthenticationProvider.d.ts.map +1 -0
- package/lib/typescript/src/providers/authentication/actions/authentication.actions.d.ts.map +1 -0
- package/lib/typescript/src/providers/authentication/reducer/authentication.reducer.d.ts.map +1 -0
- package/lib/typescript/src/providers/authentication/types/authentication.types.d.ts.map +1 -0
- package/lib/typescript/src/providers/index.d.ts +3 -0
- package/lib/typescript/src/providers/index.d.ts.map +1 -0
- package/lib/typescript/src/{auth/screens → screens/Auth}/ChangePassword.d.ts.map +1 -1
- package/lib/typescript/src/screens/Auth/Login.d.ts.map +1 -0
- package/lib/typescript/src/screens/Auth/LoginWithEmail.d.ts.map +1 -0
- package/lib/typescript/src/{auth/screens → screens/Auth}/LoginWithPhoneNumber.d.ts.map +1 -1
- package/lib/typescript/src/screens/Auth/ResetPassword.d.ts.map +1 -0
- package/lib/typescript/src/{auth/screens → screens/Auth}/ResetPasswordInstructionsSent.d.ts.map +1 -1
- package/lib/typescript/src/screens/Auth/SignUp.d.ts.map +1 -0
- package/lib/typescript/src/{auth/screens → screens/Auth}/SignUpPassword.d.ts.map +1 -1
- package/lib/typescript/src/{auth/screens → screens/Auth}/VerifyPhoneNumber.d.ts.map +1 -1
- package/lib/typescript/src/{auth/screens → screens/Auth}/VerifyPhoneNumberForLogin.d.ts.map +1 -1
- package/lib/typescript/src/{auth/screens/index.d.ts → screens/Auth/navigators.d.ts} +1 -1
- package/lib/typescript/src/screens/Auth/navigators.d.ts.map +1 -0
- package/lib/typescript/src/{auth/screens → screens/Auth}/validators.d.ts.map +1 -1
- package/lib/typescript/src/screens/SavedCards/CardRow.d.ts +1 -1
- package/lib/typescript/src/screens/SavedCards/CardRow.d.ts.map +1 -1
- package/lib/typescript/src/screens/SavedCards/SavedCards.d.ts +1 -1
- package/lib/typescript/src/screens/SavedCards/SavedCards.d.ts.map +1 -1
- package/lib/typescript/src/screens/SelectBusiness/CreateBusinessBottomSheet.d.ts.map +1 -0
- package/lib/typescript/src/screens/SelectBusiness/SelectBusiness.d.ts.map +1 -0
- package/lib/typescript/src/screens/TermsOfService/TermsOfService.d.ts.map +1 -0
- package/lib/typescript/src/screens/index.d.ts +5 -0
- package/lib/typescript/src/screens/index.d.ts.map +1 -0
- package/lib/typescript/src/utils/checkout.d.ts +1 -1
- package/lib/typescript/src/utils/checkout.d.ts.map +1 -1
- package/lib/typescript/src/utils/index.d.ts +4 -0
- package/lib/typescript/src/utils/index.d.ts.map +1 -1
- package/package.json +2 -1
- package/src/{auth/api → api}/authentication.ts +6 -2
- package/src/api/customer.ts +6 -4
- package/src/assets/icons/alert.svg +4 -0
- package/src/components/Alert.tsx +1 -1
- package/src/components/DelayedRender.tsx +2 -2
- package/src/components/SelectionDialog.tsx +1 -1
- package/src/components/Snackbar.tsx +1 -1
- package/src/helpers/index.ts +1 -0
- package/src/hooks/index.ts +9 -0
- package/src/hooks/useAppVersionCheck.ts +7 -6
- package/src/{auth/hooks/useAuthentication.ts → hooks/useAuth.ts} +9 -12
- package/src/{auth/hooks → hooks}/useAuthenticateRequests.ts +1 -1
- package/src/{selectBusiness → hooks}/useCreateBusiness.ts +1 -1
- package/src/hooks/useCustomer.ts +7 -7
- package/src/{auth/hooks → hooks}/useDeactivateAccount.ts +3 -3
- package/src/{auth/hooks → hooks}/useLogout.ts +2 -2
- package/src/{auth/hooks → hooks}/useTermsOfService.ts +4 -4
- package/src/index.tsx +6 -22
- package/src/localization/index.ts +4 -0
- package/src/localization/translations/en.json +87 -0
- package/src/providers/index.ts +6 -0
- package/src/{auth/screens → screens/Auth}/ChangePassword.tsx +13 -14
- package/src/{auth/screens → screens/Auth}/Login.tsx +2 -2
- package/src/{auth/screens → screens/Auth}/LoginWithEmail.tsx +7 -7
- package/src/{auth/screens → screens/Auth}/LoginWithPhoneNumber.tsx +5 -5
- package/src/{auth/screens → screens/Auth}/ResetPassword.tsx +46 -8
- package/src/{auth/screens → screens/Auth}/ResetPasswordInstructionsSent.tsx +2 -2
- package/src/{auth/screens → screens/Auth}/SignUp.tsx +11 -12
- package/src/{auth/screens → screens/Auth}/SignUpPassword.tsx +11 -11
- package/src/{auth/screens → screens/Auth}/VerifyPhoneNumber.tsx +6 -6
- package/src/{auth/screens → screens/Auth}/VerifyPhoneNumberForLogin.tsx +6 -7
- package/src/{auth/screens → screens/Auth}/validators.ts +20 -20
- package/src/screens/SavedCards/CardRow.tsx +5 -5
- package/src/screens/SavedCards/SavedCards.tsx +6 -6
- package/src/{selectBusiness → screens/SelectBusiness}/CreateBusinessBottomSheet.tsx +6 -6
- package/src/{selectBusiness → screens/SelectBusiness}/SelectBusiness.tsx +9 -10
- package/src/{auth/screens → screens/TermsOfService}/TermsOfService.tsx +10 -8
- package/src/screens/index.ts +4 -0
- package/src/utils/checkout.ts +1 -1
- package/src/utils/index.ts +11 -0
- package/lib/commonjs/auth/api/authentication.js.map +0 -1
- package/lib/commonjs/auth/hooks/useAuthenticateRequests.js.map +0 -1
- package/lib/commonjs/auth/hooks/useAuthentication.js.map +0 -1
- package/lib/commonjs/auth/hooks/useDeactivateAccount.js.map +0 -1
- package/lib/commonjs/auth/hooks/useLogout.js.map +0 -1
- package/lib/commonjs/auth/hooks/useTermsOfService.js.map +0 -1
- package/lib/commonjs/auth/index.js +0 -65
- package/lib/commonjs/auth/index.js.map +0 -1
- package/lib/commonjs/auth/providers/authentication/AuthenticationProvider.js.map +0 -1
- package/lib/commonjs/auth/providers/authentication/actions/authentication.actions.js.map +0 -1
- package/lib/commonjs/auth/providers/authentication/index.js +0 -50
- package/lib/commonjs/auth/providers/authentication/index.js.map +0 -1
- package/lib/commonjs/auth/providers/authentication/reducer/authentication.reducer.js.map +0 -1
- package/lib/commonjs/auth/providers/authentication/types/authentication.types.js.map +0 -1
- package/lib/commonjs/auth/screens/LoginWithPhoneNumber.js.map +0 -1
- package/lib/commonjs/auth/screens/ResetPassword.js.map +0 -1
- package/lib/commonjs/auth/screens/SignUp.js.map +0 -1
- package/lib/commonjs/auth/screens/SignUpPassword.js.map +0 -1
- package/lib/commonjs/auth/screens/TermsOfService.js.map +0 -1
- package/lib/commonjs/auth/screens/VerifyPhoneNumber.js.map +0 -1
- package/lib/commonjs/auth/screens/VerifyPhoneNumberForLogin.js.map +0 -1
- package/lib/commonjs/auth/screens/index.js.map +0 -1
- package/lib/commonjs/auth/screens/validators.js.map +0 -1
- package/lib/commonjs/selectBusiness/CreateBusinessBottomSheet.js.map +0 -1
- package/lib/commonjs/selectBusiness/SelectBusiness.js.map +0 -1
- package/lib/commonjs/selectBusiness/index.js +0 -20
- package/lib/commonjs/selectBusiness/index.js.map +0 -1
- package/lib/commonjs/selectBusiness/queryKeys.js.map +0 -1
- package/lib/commonjs/selectBusiness/useBusinesses.js.map +0 -1
- package/lib/commonjs/selectBusiness/useCreateBusiness.js.map +0 -1
- package/lib/commonjs/types/customer.d.js +0 -7
- package/lib/commonjs/types/customer.d.js.map +0 -1
- package/lib/module/auth/api/authentication.js.map +0 -1
- package/lib/module/auth/hooks/useAuthenticateRequests.js.map +0 -1
- package/lib/module/auth/hooks/useAuthentication.js.map +0 -1
- package/lib/module/auth/hooks/useDeactivateAccount.js.map +0 -1
- package/lib/module/auth/hooks/useLogout.js.map +0 -1
- package/lib/module/auth/hooks/useTermsOfService.js.map +0 -1
- package/lib/module/auth/index.js +0 -7
- package/lib/module/auth/index.js.map +0 -1
- package/lib/module/auth/providers/authentication/AuthenticationProvider.js.map +0 -1
- package/lib/module/auth/providers/authentication/actions/authentication.actions.js.map +0 -1
- package/lib/module/auth/providers/authentication/index.js +0 -5
- package/lib/module/auth/providers/authentication/index.js.map +0 -1
- package/lib/module/auth/providers/authentication/reducer/authentication.reducer.js.map +0 -1
- package/lib/module/auth/providers/authentication/types/authentication.types.js.map +0 -1
- package/lib/module/auth/screens/LoginWithPhoneNumber.js.map +0 -1
- package/lib/module/auth/screens/ResetPassword.js.map +0 -1
- package/lib/module/auth/screens/SignUp.js.map +0 -1
- package/lib/module/auth/screens/SignUpPassword.js.map +0 -1
- package/lib/module/auth/screens/TermsOfService.js.map +0 -1
- package/lib/module/auth/screens/VerifyPhoneNumber.js.map +0 -1
- package/lib/module/auth/screens/VerifyPhoneNumberForLogin.js.map +0 -1
- package/lib/module/auth/screens/index.js.map +0 -1
- package/lib/module/auth/screens/validators.js +0 -45
- package/lib/module/auth/screens/validators.js.map +0 -1
- package/lib/module/selectBusiness/CreateBusinessBottomSheet.js.map +0 -1
- package/lib/module/selectBusiness/SelectBusiness.js.map +0 -1
- package/lib/module/selectBusiness/index.js +0 -3
- package/lib/module/selectBusiness/index.js.map +0 -1
- package/lib/module/selectBusiness/queryKeys.js.map +0 -1
- package/lib/module/selectBusiness/useBusinesses.js.map +0 -1
- package/lib/module/selectBusiness/useCreateBusiness.js.map +0 -1
- package/lib/module/types/customer.d.js +0 -5
- package/lib/module/types/customer.d.js.map +0 -1
- package/lib/typescript/src/auth/api/authentication.d.ts.map +0 -1
- package/lib/typescript/src/auth/hooks/useAuthenticateRequests.d.ts.map +0 -1
- package/lib/typescript/src/auth/hooks/useAuthentication.d.ts.map +0 -1
- package/lib/typescript/src/auth/hooks/useDeactivateAccount.d.ts.map +0 -1
- package/lib/typescript/src/auth/hooks/useLogout.d.ts.map +0 -1
- package/lib/typescript/src/auth/hooks/useTermsOfService.d.ts.map +0 -1
- package/lib/typescript/src/auth/index.d.ts +0 -7
- package/lib/typescript/src/auth/index.d.ts.map +0 -1
- package/lib/typescript/src/auth/providers/authentication/AuthenticationProvider.d.ts.map +0 -1
- package/lib/typescript/src/auth/providers/authentication/actions/authentication.actions.d.ts.map +0 -1
- package/lib/typescript/src/auth/providers/authentication/index.d.ts +0 -5
- package/lib/typescript/src/auth/providers/authentication/index.d.ts.map +0 -1
- package/lib/typescript/src/auth/providers/authentication/reducer/authentication.reducer.d.ts.map +0 -1
- package/lib/typescript/src/auth/providers/authentication/types/authentication.types.d.ts.map +0 -1
- package/lib/typescript/src/auth/screens/Login.d.ts.map +0 -1
- package/lib/typescript/src/auth/screens/LoginWithEmail.d.ts.map +0 -1
- package/lib/typescript/src/auth/screens/ResetPassword.d.ts.map +0 -1
- package/lib/typescript/src/auth/screens/SignUp.d.ts.map +0 -1
- package/lib/typescript/src/auth/screens/TermsOfService.d.ts.map +0 -1
- package/lib/typescript/src/auth/screens/index.d.ts.map +0 -1
- package/lib/typescript/src/selectBusiness/CreateBusinessBottomSheet.d.ts.map +0 -1
- package/lib/typescript/src/selectBusiness/SelectBusiness.d.ts.map +0 -1
- package/lib/typescript/src/selectBusiness/index.d.ts +0 -3
- package/lib/typescript/src/selectBusiness/index.d.ts.map +0 -1
- package/lib/typescript/src/selectBusiness/queryKeys.d.ts.map +0 -1
- package/lib/typescript/src/selectBusiness/useBusinesses.d.ts.map +0 -1
- package/lib/typescript/src/selectBusiness/useCreateBusiness.d.ts.map +0 -1
- package/src/auth/index.ts +0 -10
- package/src/auth/providers/authentication/index.ts +0 -4
- package/src/selectBusiness/index.ts +0 -2
- package/src/types/customer.d.ts +0 -70
- /package/lib/commonjs/{auth/api → api}/authentication.js +0 -0
- /package/lib/commonjs/{selectBusiness → hooks}/queryKeys.js +0 -0
- /package/lib/commonjs/{selectBusiness → hooks}/useBusinesses.js +0 -0
- /package/lib/commonjs/{auth/providers → providers}/authentication/AuthenticationProvider.js +0 -0
- /package/lib/commonjs/{auth/providers → providers}/authentication/actions/authentication.actions.js +0 -0
- /package/lib/commonjs/{auth/providers → providers}/authentication/reducer/authentication.reducer.js +0 -0
- /package/lib/commonjs/{auth/providers → providers}/authentication/types/authentication.types.js +0 -0
- /package/lib/module/{auth/api → api}/authentication.js +0 -0
- /package/lib/module/{selectBusiness → hooks}/queryKeys.js +0 -0
- /package/lib/module/{selectBusiness → hooks}/useBusinesses.js +0 -0
- /package/lib/module/{auth/providers → providers}/authentication/AuthenticationProvider.js +0 -0
- /package/lib/module/{auth/providers → providers}/authentication/actions/authentication.actions.js +0 -0
- /package/lib/module/{auth/providers → providers}/authentication/reducer/authentication.reducer.js +0 -0
- /package/lib/module/{auth/providers → providers}/authentication/types/authentication.types.js +0 -0
- /package/lib/typescript/src/{selectBusiness → hooks}/queryKeys.d.ts +0 -0
- /package/lib/typescript/src/{auth/hooks → hooks}/useAuthenticateRequests.d.ts +0 -0
- /package/lib/typescript/src/{selectBusiness → hooks}/useBusinesses.d.ts +0 -0
- /package/lib/typescript/src/{selectBusiness → hooks}/useCreateBusiness.d.ts +0 -0
- /package/lib/typescript/src/{auth/hooks → hooks}/useDeactivateAccount.d.ts +0 -0
- /package/lib/typescript/src/{auth/hooks → hooks}/useLogout.d.ts +0 -0
- /package/lib/typescript/src/{auth/hooks → hooks}/useTermsOfService.d.ts +0 -0
- /package/lib/typescript/src/{auth/providers → providers}/authentication/AuthenticationProvider.d.ts +0 -0
- /package/lib/typescript/src/{auth/providers → providers}/authentication/actions/authentication.actions.d.ts +0 -0
- /package/lib/typescript/src/{auth/providers → providers}/authentication/reducer/authentication.reducer.d.ts +0 -0
- /package/lib/typescript/src/{auth/providers → providers}/authentication/types/authentication.types.d.ts +0 -0
- /package/lib/typescript/src/{auth/screens → screens/Auth}/ChangePassword.d.ts +0 -0
- /package/lib/typescript/src/{auth/screens → screens/Auth}/Login.d.ts +0 -0
- /package/lib/typescript/src/{auth/screens → screens/Auth}/LoginWithEmail.d.ts +0 -0
- /package/lib/typescript/src/{auth/screens → screens/Auth}/LoginWithPhoneNumber.d.ts +0 -0
- /package/lib/typescript/src/{auth/screens → screens/Auth}/ResetPassword.d.ts +0 -0
- /package/lib/typescript/src/{auth/screens → screens/Auth}/ResetPasswordInstructionsSent.d.ts +0 -0
- /package/lib/typescript/src/{auth/screens → screens/Auth}/SignUp.d.ts +0 -0
- /package/lib/typescript/src/{auth/screens → screens/Auth}/SignUpPassword.d.ts +0 -0
- /package/lib/typescript/src/{auth/screens → screens/Auth}/VerifyPhoneNumber.d.ts +0 -0
- /package/lib/typescript/src/{auth/screens → screens/Auth}/VerifyPhoneNumberForLogin.d.ts +0 -0
- /package/lib/typescript/src/{auth/screens → screens/Auth}/validators.d.ts +0 -0
- /package/lib/typescript/src/{selectBusiness → screens/SelectBusiness}/CreateBusinessBottomSheet.d.ts +0 -0
- /package/lib/typescript/src/{selectBusiness → screens/SelectBusiness}/SelectBusiness.d.ts +0 -0
- /package/lib/typescript/src/{auth/screens → screens/TermsOfService}/TermsOfService.d.ts +0 -0
- /package/src/{selectBusiness → hooks}/queryKeys.ts +0 -0
- /package/src/{selectBusiness → hooks}/useBusinesses.ts +0 -0
- /package/src/{auth/providers → providers}/authentication/AuthenticationProvider.tsx +0 -0
- /package/src/{auth/providers → providers}/authentication/actions/authentication.actions.ts +0 -0
- /package/src/{auth/providers → providers}/authentication/reducer/authentication.reducer.ts +0 -0
- /package/src/{auth/providers → providers}/authentication/types/authentication.types.ts +0 -0
- /package/src/{auth/screens/index.tsx → screens/Auth/navigators.tsx} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["React","useEffect","useState","Card","FAB","Header","LineLoader","ParentView","RefreshControl","Searchbar","Text","View","LinkButton","FlashList","useTranslation","ActivityIndicator","useTheme","useMMKVString","useNavigation","useQueryClient","CreateBusinessBottomSheet","useBusinesses","MMKV_KEYS","useSingleSnapBottomSheetRef","Tick","useLogout","BusinessCard","business","isSelectedBusiness","onSelect","theme","createElement","bg","p","height","mx","mb","mt","onPress","flexDirection","justifyContent","alignItems","variant","name","width","fill","colors","onBackground","SelectBusiness","t","selectedBusinessId","setBusinessId","BUSINESS_ID","searchText","setSearchText","data","isLoading","isFetching","isRefetching","refetch","handleLogout","navigation","queryClient","createBusinessBottomSheet","businesses","setBusinesses","length","filteredBusinesses","filter","toLowerCase","search","trim","id","flex","backgroundColor","title","position","alignSelf","px","value","placeholder","onChangeText","refreshControl","refreshing","onRefresh","showsVerticalScrollIndicator","renderItem","item","canGoBack","goBack","clear","estimatedItemSize","bottom","right","icon","expand","mode","isVisible","ref","close"],"sourceRoot":"../../../src","sources":["selectBusiness/SelectBusiness.tsx"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,SAAS,EAAEC,QAAQ,QAAQ,OAAO;AAClD,SACEC,IAAI,EACJC,GAAG,EACHC,MAAM,EACNC,UAAU,EACVC,UAAU,EACVC,cAAc,EACdC,SAAS,EACTC,IAAI,EACJC,IAAI,EACJC,UAAU,QACL,eAAe;AACtB,SAASC,SAAS,QAAQ,qBAAqB;AAC/C,SAASC,cAAc,QAAQ,eAAe;AAC9C,SAASC,iBAAiB,EAAEC,QAAQ,QAAQ,oBAAoB;AAChE,SAASC,aAAa,QAAQ,mBAAmB;AACjD,SAA8BC,aAAa,QAAQ,0BAA0B;AAC7E,SAASC,cAAc,QAAQ,uBAAuB;AACtD,SAASC,yBAAyB,QAAQ,6BAA6B;AACvE,SAASC,aAAa,QAAQ,iBAAiB;AAC/C,SAASC,SAAS,QAAQ,cAAc;AACxC,SAASC,2BAA2B,QAAQ,sCAAsC;AAClF,OAAOC,IAAI,MAAM,0BAA0B;AAC3C,SAASC,SAAS,QAAQ,yBAAyB;AAEnD,MAAMC,YAAY,GAAGA,CAAC;EACpBC,QAAQ;EACRC,kBAAkB;EAClBC;AAKF,CAAC,KAAK;EACJ,MAAMC,KAAK,GAAGd,QAAQ,CAAC,CAAC;EACxB,oBACEhB,KAAA,CAAA+B,aAAA,CAAC5B,IAAI;IACH6B,EAAE,EAAC,aAAa;IAChBC,CAAC,EAAC,IAAI;IACNC,MAAM,EAAE,EAAG;IACXC,EAAE,EAAC,GAAG;IACNC,EAAE,EAAC,IAAI;IACPC,EAAE,EAAC,GAAG;IACNC,OAAO,EAAET;EAAS,gBAElB7B,KAAA,CAAA+B,aAAA,CAACpB,IAAI;IACHuB,MAAM,EAAC,MAAM;IACbK,aAAa,EAAC,KAAK;IACnBC,cAAc,EAAE,eAAgB;IAChCC,UAAU,EAAE;EAAS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C2B,SAAS,CAAC,CAAC,IACrB,CAAC/B,UAAU,IAAIO,UAAU,EAAEE,MAAM,KAAK,CAAE,kBACzClE,KAAA,CAAA+B,aAAA,CAAC3B,GAAG;IACFsC,OAAO,EAAC,WAAW;IACnBoD,IAAI,EAAC,MAAM;IACXxD,OAAO,EAAEyB,yBAAyB,CAACgC;EAAO,CAC3C,CAEC,CAAC,EACN,CAAC7C,kBAAkB,iBAClBlD,KAAA,CAAA+B,aAAA,CAACpB,IAAI;IAAC6B,cAAc,EAAC;EAAU,gBAC7BxC,KAAA,CAAA+B,aAAA,CAACnB,UAAU;IAACoF,IAAI,EAAC,MAAM;IAAC1D,OAAO,EAAEsB,YAAa;IAACiB,SAAS,EAAE;EAAS,GAChE5B,CAAC,CAAC,gBAAgB,CACT,CACR,CAEJ,CAAC,eACPjD,KAAA,CAAA+B,aAAA,CAACX,yBAAyB;IACxB6E,SAAS,EAAElC,yBAAyB,CAACkC,SAAU;IAC/CC,GAAG,EAAEnC,yBAAyB,CAACmC,GAAI;IACnCC,KAAK,EAAEpC,yBAAyB,CAACoC;EAAM,CACxC,CACS,CAAC;AAEjB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["SelectBusiness","useBusinesses"],"sourceRoot":"../../../src","sources":["selectBusiness/index.ts"],"mappings":"AAAA,SAASA,cAAc,QAAQ,kBAAkB;AACjD,SAASC,aAAa,QAAQ,iBAAiB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["queryKeys","BUSINESSES","TERMS_AND_CONDITIONS","TERMS_AND_CONDITIONS_URL","CARDS","CUSTOMER","PROGRAM","LOYALTY","REWARDS","DEFAULT_STALE_TIME"],"sourceRoot":"../../../src","sources":["selectBusiness/queryKeys.ts"],"mappings":"AAAA,OAAO,MAAMA,SAAS,GAAG;EACvBC,UAAU,EAAE,YAAY;EACxBC,oBAAoB,EAAE,sBAAsB;EAC5CC,wBAAwB,EAAE,0BAA0B;EACpDC,KAAK,EAAE,OAAO;EACdC,QAAQ,EAAE,UAAU;EACpBC,OAAO,EAAE,SAAS;EAClBC,OAAO,EAAE,SAAS;EAClBC,OAAO,EAAE;AACX,CAAC;AAED,OAAO,MAAMC,kBAAkB,GAAG,EAAE,IAAI,EAAE,GAAG,IAAI,CAAC,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["useQuery","DEFAULT_STALE_TIME","queryKeys","axios","firebase","getBusinessData","get","useBusinesses","user","currentUser","BUSINESSES","enabled","Boolean","staleTime","select","response","businesses","data","sort","b1","b2","b1Name","name","toUpperCase","b2Name"],"sourceRoot":"../../../src","sources":["selectBusiness/useBusinesses.ts"],"mappings":"AAAA,SAASA,QAAQ,QAAQ,uBAAuB;AAChD,SAASC,kBAAkB,EAAEC,SAAS,QAAQ,aAAa;AAC3D,OAAOC,KAAK,MAAM,OAAO;AACzB,OAAOC,QAAQ,MAAM,6BAA6B;AAElD,OAAO,MAAMC,eAAe,GAAGA,CAAA,KAAM;EACnC,OAAOF,KAAK,CAACG,GAAG,CAAC,oBAAoB,CAAC;AACxC,CAAC;AAED,OAAO,MAAMC,aAAa,GAAGA,CAAA,KAAM;EACjC,MAAMC,IAAI,GAAGJ,QAAQ,CAAC,CAAC,CAACK,WAAW;EACnC,OAAOT,QAAQ,CAAC,CAACE,SAAS,CAACQ,UAAU,CAAC,EAAEL,eAAe,EAAE;IACvDM,OAAO,EAAEC,OAAO,CAACJ,IAAI,CAAC;IACtBK,SAAS,EAAEZ,kBAAkB;IAC7Ba,MAAM,EAAGC,QAAQ,IAAK;MACpB,MAAMC,UAAU,GAAGD,QAAQ,EAAEE,IAAI,EAAED,UAGjC;MAEFA,UAAU,CAACE,IAAI,CAAC,CAACC,EAAE,EAAEC,EAAE,KAAK;QAC1B,MAAMC,MAAM,GAAGF,EAAE,CAACG,IAAI,CAACC,WAAW,CAAC,CAAC;QACpC,MAAMC,MAAM,GAAGJ,EAAE,CAACE,IAAI,CAACC,WAAW,CAAC,CAAC;QAEpC,IAAIF,MAAM,GAAGG,MAAM,EAAE;UACnB,OAAO,CAAC,CAAC;QACX;QACA,IAAIH,MAAM,GAAGG,MAAM,EAAE;UACnB,OAAO,CAAC;QACV;QACA,OAAO,CAAC;MACV,CAAC,CAAC;MAEF,OAAOR,UAAU;IACnB;EACF,CAAC,CAAC;AACJ,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["useMutation","useQueryClient","queryKeys","signUpAPI","useCreateBusiness","onSuccess","queryClient","params","invalidateQueries","BUSINESSES"],"sourceRoot":"../../../src","sources":["selectBusiness/useCreateBusiness.ts"],"mappings":"AAAA,SAASA,WAAW,EAAEC,cAAc,QAAQ,uBAAuB;AACnE,SAASC,SAAS,QAAQ,aAAa;AACvC,SAASC,SAAS,QAAQ,4BAA4B;AAEtD,OAAO,MAAMC,iBAAiB,GAAGA,CAAC;EAAEC;AAAqC,CAAC,KAAK;EAC7E,MAAMC,WAAW,GAAGL,cAAc,CAAC,CAAC;EACpC,OAAOD,WAAW,CAChB,MAAOO,MAAW,IAAK;IACrB,MAAMJ,SAAS,CAACI,MAAM,CAAC;EACzB,CAAC,EACD;IACEF,SAAS,EAAEA,CAAA,KAAM;MACfC,WAAW,CAACE,iBAAiB,CAAC,CAACN,SAAS,CAACO,UAAU,CAAC,CAAC;MACrDJ,SAAS,CAAC,CAAC;IACb;EACF,CACF,CAAC;AACH,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["PaymentType"],"sourceRoot":"../../../src","sources":["types/customer.d.ts"],"mappings":"IAwCKA,WAAW,0BAAXA,WAAW;EAAXA,WAAW;EAAA,OAAXA,WAAW;AAAA,EAAXA,WAAW"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"authentication.d.ts","sourceRoot":"","sources":["../../../../../src/auth/api/authentication.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAEnD,eAAO,MAAM,SAAS,YAAa,SAAS,qDAE3C,CAAC;AAEF,eAAO,MAAM,oBAAoB,YAAa;IAC5C,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,qDAKA,CAAC;AAEF,eAAO,MAAM,aAAa,wDAEzB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useAuthenticateRequests.d.ts","sourceRoot":"","sources":["../../../../../src/auth/hooks/useAuthenticateRequests.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,uBAAuB,aACxB,MAAM,QAAQ,MAAM,GAAG,IAAI,CAAC,SAoDvC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useAuthentication.d.ts","sourceRoot":"","sources":["../../../../../src/auth/hooks/useAuthentication.ts"],"names":[],"mappings":"AAsBA,MAAM,MAAM,SAAS,GAAG;IACtB,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,iBAAiB;;gBAQa,SAAS;cAAQ,MAAM;;;;;;;;;cAuDvB,MAAM;;;qBAUQ,MAAM;;;;eAmClB,MAAM;;CAqBlD,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useDeactivateAccount.d.ts","sourceRoot":"","sources":["../../../../../src/auth/hooks/useDeactivateAccount.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,oBAAoB,sFAehC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useLogout.d.ts","sourceRoot":"","sources":["../../../../../src/auth/hooks/useLogout.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,SAAS;;CAiBrB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useTermsOfService.d.ts","sourceRoot":"","sources":["../../../../../src/auth/hooks/useTermsOfService.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,iBAAiB;;;;CA0E7B,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export { renderAuthNavigator, renderAppNavigator } from './screens';
|
|
2
|
-
export { useAuthentication, useAuthenticationDispatch, changeUser, } from './providers/authentication';
|
|
3
|
-
export { AuthenticationProvider } from './providers/authentication';
|
|
4
|
-
export { useDeactivateAccount } from './hooks/useDeactivateAccount';
|
|
5
|
-
export { useTermsOfService } from './hooks/useTermsOfService';
|
|
6
|
-
export { TermsOfService } from './screens/TermsOfService';
|
|
7
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/auth/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AACpE,OAAO,EACL,iBAAiB,EACjB,yBAAyB,EACzB,UAAU,GACX,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AACpE,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AACpE,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AuthenticationProvider.d.ts","sourceRoot":"","sources":["../../../../../../src/auth/providers/authentication/AuthenticationProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAGZ,KAAK,EAAE,EAKR,MAAM,OAAO,CAAC;AAGf,OAAO,EACL,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACzB,MAAM,8BAA8B,CAAC;AAQtC,eAAO,MAAM,iBAAiB,2BAC4B,CAAC;AAC3D,eAAO,MAAM,yBAAyB,4CACuC,CAAC;AAE9E,eAAO,MAAM,sBAAsB,EAAE,EAAE,CAAC;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,CAyCpE,CAAC"}
|
package/lib/typescript/src/auth/providers/authentication/actions/authentication.actions.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"authentication.actions.d.ts","sourceRoot":"","sources":["../../../../../../../src/auth/providers/authentication/actions/authentication.actions.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,oBAAoB,EAEzB,KAAK,IAAI,EACV,MAAM,+BAA+B,CAAC;AAEvC,eAAO,MAAM,UAAU,SAAU,IAAI,GAAG,IAAI,KAAG,oBAG7C,CAAC"}
|
|
@@ -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"}
|
package/lib/typescript/src/auth/providers/authentication/reducer/authentication.reducer.d.ts.map
DELETED
|
@@ -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"}
|
package/lib/typescript/src/auth/providers/authentication/types/authentication.types.d.ts.map
DELETED
|
@@ -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 +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';
|
package/src/types/customer.d.ts
DELETED
|
@@ -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
|
|
File without changes
|
/package/lib/commonjs/{auth/providers → providers}/authentication/actions/authentication.actions.js
RENAMED
|
File without changes
|
/package/lib/commonjs/{auth/providers → providers}/authentication/reducer/authentication.reducer.js
RENAMED
|
File without changes
|
/package/lib/commonjs/{auth/providers → providers}/authentication/types/authentication.types.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/lib/module/{auth/providers → providers}/authentication/actions/authentication.actions.js
RENAMED
|
File without changes
|
/package/lib/module/{auth/providers → providers}/authentication/reducer/authentication.reducer.js
RENAMED
|
File without changes
|
/package/lib/module/{auth/providers → providers}/authentication/types/authentication.types.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/lib/typescript/src/{auth/providers → providers}/authentication/AuthenticationProvider.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/lib/typescript/src/{auth/screens → screens/Auth}/ResetPasswordInstructionsSent.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/lib/typescript/src/{selectBusiness → screens/SelectBusiness}/CreateBusinessBottomSheet.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|