Circle V2 API Docs
    Preparing search index...

    Variable contactsRepoConst

    contactsRepo: DbRepo<
        {
            count: (
                params: Pick<
                    ListContactsParams,
                    "entityId"
                    | "contactTypeId"
                    | "search",
                >,
            ) => Promise<number>;
            create: (
                params: CreateContactParams,
            ) => Promise<
                {
                    contact_id: ContactId;
                    contact_type: string;
                    created_at: DbDate;
                    created_by: string
                    | null;
                    org_id: number;
                },
            >;
            delete: (contactId: ContactId, orgId: EntityId) => Promise<void>;
            getById: (
                contactId: ContactId,
            ) => Promise<
                {
                    contact_id: ContactId;
                    contact_type: string;
                    contact_type_id: ContactTypeId;
                    contact_type_name: string;
                    created_at: DbDate;
                    created_by: string
                    | null;
                    fieldValues: {
                        field_id: string;
                        key: string;
                        value: string | null;
                        value_id: string;
                    }[];
                    org_id: number;
                },
            >;
            list: (
                params: ListContactsParams,
            ) => Promise<
                {
                    contact_id: ContactId;
                    contact_type: string;
                    contact_type_name: string;
                    created_at: DbDate;
                    created_by: string
                    | null;
                    name: string | null;
                    org_id: number;
                }[],
            >;
            update: (
                contactId: ContactId,
                orgId: EntityId,
                params: UpdateContactParams,
            ) => Promise<void>;
        },
    > = ...