Circle V2 API Docs
    Preparing search index...

    Variable userEntitiesRepoConst

    userEntitiesRepo: DbRepo<
        {
            create: (
                params: {
                    entity_id: number & { __brand: "EntityId" };
                    role_id: number;
                    user_id: string & { __brand: "UserId" };
                } & { direct_reports?: string[]
                | null; id?: UserEntityId },
            ) => Promise<
                {
                    direct_reports: string[]
                    | null;
                    entity_id: number & { __brand: "EntityId" };
                    id: UserEntityId;
                    role_id: number;
                    user_id: string & { __brand: "UserId" };
                },
            >;
            getByUserId: (
                userId: UserId,
            ) => Promise<
                {
                    direct_reports: string[]
                    | null;
                    entity_id: number & { __brand: "EntityId" };
                    id: UserEntityId;
                    role_id: number;
                    user_id: string & { __brand: "UserId" };
                },
            >;
        },
    > = ...