Circle V2 API Docs
    Preparing search index...
    update: MutationProcedure<
        {
            input: {
                id: string;
                integration?: | {
                    credentials: {
                        app_id: string;
                        location_id: number;
                        location_name?: string;
                    };
                    type: "kipu";
                }
                | {
                    credentials: {
                        bearer_token: string;
                        location_ids: number[];
                        location_name?: string;
                    };
                    type: "lightningstep";
                }
                | {
                    credentials: {
                        api_id: string;
                        api_secret: string;
                        location_name?: string;
                        realm_id: string;
                        service_facility_id: number;
                        sunwave_email: string;
                    };
                    type: "sunwave";
                };
                label?: string;
                status?: "active"
                | "inactive";
            };
            meta: object;
            output: {
                created_at: DbDate;
                created_by: string
                | null;
                credentials:
                    | {
                        access_id: string;
                        app_id: string;
                        location_id: number;
                        location_name?: string;
                        secret_key: string;
                    }
                    | {
                        bearer_token: string;
                        location_ids: number[];
                        location_name?: string;
                    }
                    | {
                        api_id: string;
                        api_secret: string;
                        location_name?: string;
                        realm_id: string;
                        service_facility_id: number;
                        sunwave_email: string;
                    };
                entity_id: number & { __brand: "EntityId" };
                facility_id: FacilityId | null;
                id: IntegrationId;
                label: string | null;
                last_sync: string | null;
                status: "active" | "inactive" | "error";
                type: "kipu" | "lightningstep" | "sunwave";
                updated_at: DbDate;
            };
        },
    > = ...