Circle V2 API Docs
    Preparing search index...
    listWithIntegrationsPage: QueryProcedure<
        {
            input: {
                cursor?: number;
                limit?: number;
                offset?: number;
                search?: string;
            };
            meta: object;
            output: PaginatedResponse<
                {
                    admission_start_source: | "episode_start_date"
                    | "first_program_start"
                    | null;
                    created_at: DbDate;
                    id: FacilityId;
                    integration_credentials: | {
                        bearer_token: string;
                        extend_workflow_id?: string;
                        location_ids: number[];
                        location_name?: string;
                    }
                    | {
                        api_id: string;
                        api_secret: string;
                        extend_workflow_id?: string;
                        location_name?: string;
                        realm_id: string;
                        service_facility_id: number;
                        sunwave_email: string;
                    }
                    | {
                        base_url: string;
                        client_id: string;
                        extend_workflow_id?: string;
                        rpa_vault_user_id: string;
                        rpa_workflow_id: string;
                        secret_key: string;
                    }
                    | {
                        as_of_date?: string;
                        extend_workflow_id?: string;
                        location_id: "1"
                        | "2";
                        location_name?: string;
                        seed: string;
                    }
                    | {
                        app_id: string;
                        extend_workflow_id?: string;
                        location_id: number;
                        location_name?: string;
                    }
                    | {
                        connector: string;
                        connector_label: string;
                        extend_workflow_id?: string;
                        org_id: string;
                        program_map: Record<string, string>;
                        sync_from: string;
                    }
                    | null;
                    integration_id: IntegrationId
                    | null;
                    integration_label: string | null;
                    integration_status: "error" | "active" | "inactive" | null;
                    integration_type:
                        | "kipu"
                        | "lightningstep"
                        | "sunwave"
                        | "qualifacts_insync"
                        | "synthetic"
                        | "proxy_qualifacts_insync"
                        | null;
                    last_sync: string
                    | null;
                    name: string;
                    timezone: string | null;
                },
            >;
        },
    > = ...