Circle V2 API Docs
    Preparing search index...
    getIntegrationLocations: QueryProcedure<
        {
            input: | {
                credentials: {
                    api_id: string;
                    api_secret: string;
                    realm_id: string;
                    sunwave_email: string;
                };
                type: "sunwave";
            }
            | { credentials: { bearer_token: string }; type: "lightningstep" }
            | { credentials: { app_id: string }; type: "kipu" };
            meta: object;
            output:
                | {
                    facilities: {
                        id: number;
                        level_of_cares: {
                            id: number;
                            is_inpatient: boolean;
                            legacy_id: string;
                            name: string;
                        }[];
                        name: string;
                        programs: { id: number; name: string }[];
                    }[];
                }
                | { locations: { location_id: number; location_name: string }[] }
                | { locations: { id: number; name: string }[] };
        },
    > = ...