Circle V2 API Docs
    Preparing search index...
    update: MutationProcedure<
        {
            input: {
                credentials?: | {
                    app_id: string;
                    extend_workflow_id?: string;
                    location_id: number;
                    location_name?: string;
                }
                | {
                    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;
                }
                | {
                    connector: string;
                    connector_label: string;
                    extend_workflow_id?: string;
                    org_id: string;
                    program_map?: Record<string, string>;
                    sync_from: unknown;
                };
                id: string;
                label?: string;
                status?: "active"
                | "inactive";
            };
            meta: object;
            output: {
                created_at: DbDate;
                created_by: string
                | null;
                credentials:
                    | {
                        app_id: string;
                        extend_workflow_id?: string;
                        location_id: number;
                        location_name?: string;
                    }
                    | {
                        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;
                    }
                    | {
                        connector: string;
                        connector_label: string;
                        extend_workflow_id?: string;
                        org_id: string;
                        program_map: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
                        sync_from: string;
                    };
                entity_id: number & { __brand: "EntityId" };
                facility_id: FacilityId | null;
                id: IntegrationId;
                label: string | null;
                last_sync: string | null;
                status: "error" | "active" | "inactive";
                type:
                    | "kipu"
                    | "lightningstep"
                    | "sunwave"
                    | "qualifacts_insync"
                    | "synthetic"
                    | "proxy_qualifacts_insync";
                updated_at: DbDate;
            };
        },
    > = ...