import type * as Vital from "../../../../index.js"; /** * @example * { * teamId: "infer_from_context", * provider: "oura", * connections: [{ * userId: "user_id", * accessToken: "access_token", * refreshToken: "refresh_token", * providerId: "provider_id", * expiresAt: 1 * }] * } */ export interface BulkImportConnectionsBody { teamId?: Vital.LinkBulkImportRequestTeamId; provider: Vital.OAuthProviders; connections: Vital.ConnectionRecipe[]; /** * Whether or not the endpoint should wait for the Bulk Op to complete before responding. * * When `wait_for_completion` is enabled, the endpoint may respond 200 OK if the Bulk Op takes less than 20 seconds to complete. * * Otherwise, the endpoint always responds with 202 Created once the submitted data have been enqueued successfully. You can use * the [List Bulk Ops](https://docs.tryvital.io/api-reference/link/list-bulk-ops) endpoint to inspect the progress of the Bulk Op. */ waitForCompletion?: boolean; }