Circle V2 API Docs
    Preparing search index...

    Variable entitiesRepoConst

    entitiesRepo: DbRepo<
        {
            create: (
                params: { company_name: string } & {
                    archived_at?: string | null;
                    created_at?: string | null;
                    created_by?: string | null;
                    entity_id?: EntityId;
                },
            ) => Promise<
                {
                    archived_at: string
                    | null;
                    company_name: string;
                    created_at: string | null;
                    created_by: string | null;
                    entity_id: EntityId;
                },
            >;
            getById: (
                entityId: EntityId,
            ) => Promise<
                {
                    archived_at: string
                    | null;
                    company_name: string;
                    created_at: string | null;
                    created_by: string | null;
                    entity_id: EntityId;
                },
            >;
            list: (
                params?: ListEntitiesParams,
            ) => Promise<
                {
                    items: {
                        archivedAt: string
                        | null;
                        companyName: string;
                        createdAt: string | null;
                        entityId: EntityId;
                        memberCount: number;
                    }[];
                    total: number;
                },
            >;
            setArchived: (entityId: EntityId, archived: boolean) => Promise<void>;
        },
    > = ...