UNPKG

evolution-api-sdk

Version:

Unofficial SDK for the Evolution Whatsapp API v2

16 lines (13 loc) 974 B
import { GroupResponse, GroupWithParticipantsResponse, GroupResponseRaw, GroupWithParticipantsResponseRaw } from './common.js'; import '../../../types/tags.js'; declare const FindAllGroupsResponseTransform: (groups: GroupResponseRaw[]) => GroupResponse[]; declare const FindAllGroupsWithParticipantsResponseTransform: (groups: GroupWithParticipantsResponseRaw[]) => GroupWithParticipantsResponse[]; type FindAllGroupsResponse = GroupResponse[]; type FindAllGroupsWithParticipantsResponse = GroupWithParticipantsResponse[]; declare const ResponseSchema: { parse: (groups: GroupResponseRaw[]) => GroupResponse[]; }; declare const ResponseWithParticipantsSchema: { parse: (groups: GroupWithParticipantsResponseRaw[]) => GroupWithParticipantsResponse[]; }; export { type FindAllGroupsResponse, FindAllGroupsResponseTransform, type FindAllGroupsWithParticipantsResponse, FindAllGroupsWithParticipantsResponseTransform, ResponseSchema, ResponseWithParticipantsSchema };