personsActions: {
    blockUnblockPerson: AsyncThunk<
        any,
        { is_block: boolean; personId: string; workspaceId: string },
        AsyncThunkConfig,
    >;
    createPerson: AsyncThunk<
        IPerson,
        { data: {}; workspaceId: string },
        AsyncThunkConfig,
    >;
    fetchAllPersons: AsyncThunk<
        IPaginatedData<IPerson>,
        { filters: {}; workspaceId?: string },
        AsyncThunkConfig,
    >;
    getPersonById: AsyncThunk<
        IPerson,
        { filters?: {}; personId: string; workspaceId: string },
        AsyncThunkConfig,
    >;
    getPersonsCustomFields: AsyncThunk<
        IPaginatedData<ICustomField>,
        void,
        AsyncThunkConfig,
    >;
    reset: ActionCreatorWithoutPayload<"personsReducer/reset">;
    setPersons: ActionCreatorWithOptionalPayload<
        IPaginatedData<IPerson>,
        "personsReducer/setPersons",
    >;
    setSelectedPersonById: ActionCreatorWithOptionalPayload<
        "personsReducer/setSelectedPersonById",
    >;
    unselectPerson: ActionCreatorWithoutPayload<
        "personsReducer/unselectPerson",
    >;
    updatePerson: AsyncThunk<
        IPerson,
        { data: {}; personId: string; workspaceId: string },
        AsyncThunkConfig,
    >;
} = ...

Type declaration

  • blockUnblockPerson: AsyncThunk<
        any,
        { is_block: boolean; personId: string; workspaceId: string },
        AsyncThunkConfig,
    >
  • createPerson: AsyncThunk<IPerson, { data: {}; workspaceId: string }, AsyncThunkConfig>
  • fetchAllPersons: AsyncThunk<
        IPaginatedData<IPerson>,
        { filters: {}; workspaceId?: string },
        AsyncThunkConfig,
    >
  • getPersonById: AsyncThunk<
        IPerson,
        { filters?: {}; personId: string; workspaceId: string },
        AsyncThunkConfig,
    >
  • getPersonsCustomFields: AsyncThunk<IPaginatedData<ICustomField>, void, AsyncThunkConfig>
  • reset: ActionCreatorWithoutPayload<"personsReducer/reset">
  • setPersons: ActionCreatorWithOptionalPayload<
        IPaginatedData<IPerson>,
        "personsReducer/setPersons",
    >
  • setSelectedPersonById: ActionCreatorWithOptionalPayload<"personsReducer/setSelectedPersonById">
  • unselectPerson: ActionCreatorWithoutPayload<"personsReducer/unselectPerson">
  • updatePerson: AsyncThunk<
        IPerson,
        { data: {}; personId: string; workspaceId: string },
        AsyncThunkConfig,
    >