/* generated using openapi-typescript-codegen -- do not edit */ /* istanbul ignore file */ /* tslint:disable */ /* eslint-disable */ import type { ExternalServiceInfo } from './ExternalServiceInfo'; /** * Serializer for representing connected OAuth services. * * Includes both the legacy `service` / `scope` string values and structured * representations so that consumers can reason about individual scope names. */ export type ConnectedService = { readonly id: number; provider: string; service?: string; expires_at?: string | null; scope?: string; /** * Return the canonical list of scope identifiers for the connection. */ readonly scope_names: Array; /** * Return the OAuth scope strings associated with the connection. */ readonly scopes: Array; token_type?: string; readonly service_info: ExternalServiceInfo; /** * Return the username strings associated with the connection. */ readonly username: Array; };