userActions: {
    createUser: AsyncThunk<
        User,
        { email: string; password: string },
        AsyncThunkConfig,
    >;
    deleteUser: AsyncThunk<void, void, AsyncThunkConfig>;
    fetchTokenID: AsyncThunk<string, void, AsyncThunkConfig>;
    fetchUserID: AsyncThunk<User | DocumentData, string, AsyncThunkConfig>;
    fetchWsUsers: AsyncThunk<
        IPaginatedData<IUser>,
        { filters?: {}; workspaceId: string },
        AsyncThunkConfig,
    >;
    loginWithApple: AsyncThunk<User, void, AsyncThunkConfig>;
    loginWithEmailAndPassword: AsyncThunk<
        User,
        { email: string; password: string },
        AsyncThunkConfig,
    >;
    loginWithGoogle: AsyncThunk<User, void, AsyncThunkConfig>;
    removeInvite: ActionCreatorWithOptionalPayload<"userReducer/removeInvite">;
    reset: ActionCreatorWithoutPayload<"userReducer/reset">;
    sendOTPCode: AsyncThunk<
        any,
        { phoneNumber: string; platform: string },
        AsyncThunkConfig,
    >;
    setInvitesData: ActionCreatorWithOptionalPayload<InviteUser[]>;
    setIsAuthenticated: ActionCreatorWithOptionalPayload<
        boolean,
        "userReducer/setIsAuthenticated",
    >;
    setUserData: ActionCreatorWithOptionalPayload<
        User,
        "userReducer/setUserData",
    >;
    singout: AsyncThunk<void, void, AsyncThunkConfig>;
    verifyOTPCode: AsyncThunk<IUser, string, AsyncThunkConfig>;
    watchInvites: AsyncThunk<void, string, AsyncThunkConfig>;
} = ...

Type declaration

  • createUser: AsyncThunk<User, { email: string; password: string }, AsyncThunkConfig>
  • deleteUser: AsyncThunk<void, void, AsyncThunkConfig>
  • fetchTokenID: AsyncThunk<string, void, AsyncThunkConfig>
  • fetchUserID: AsyncThunk<User | DocumentData, string, AsyncThunkConfig>
  • fetchWsUsers: AsyncThunk<
        IPaginatedData<IUser>,
        { filters?: {}; workspaceId: string },
        AsyncThunkConfig,
    >
  • loginWithApple: AsyncThunk<User, void, AsyncThunkConfig>
  • loginWithEmailAndPassword: AsyncThunk<User, { email: string; password: string }, AsyncThunkConfig>
  • loginWithGoogle: AsyncThunk<User, void, AsyncThunkConfig>
  • removeInvite: ActionCreatorWithOptionalPayload<"userReducer/removeInvite">
  • reset: ActionCreatorWithoutPayload<"userReducer/reset">
  • sendOTPCode: AsyncThunk<any, { phoneNumber: string; platform: string }, AsyncThunkConfig>
  • setInvitesData: ActionCreatorWithOptionalPayload<InviteUser[]>
  • setIsAuthenticated: ActionCreatorWithOptionalPayload<boolean, "userReducer/setIsAuthenticated">
  • setUserData: ActionCreatorWithOptionalPayload<User, "userReducer/setUserData">
  • singout: AsyncThunk<void, void, AsyncThunkConfig>
  • verifyOTPCode: AsyncThunk<IUser, string, AsyncThunkConfig>
  • watchInvites: AsyncThunk<void, string, AsyncThunkConfig>