@nangohq/types
Version:
Types used in Nango applications
22 lines (21 loc) • 787 B
TypeScript
export interface ConnectSession {
readonly id: number;
readonly endUserId: number;
readonly accountId: number;
readonly environmentId: number;
readonly connectionId: number | null;
readonly operationId: string | null;
readonly allowedIntegrations: string[] | null;
readonly integrationsConfigDefaults: Record<string, ConnectSessionIntegrationConfigDefaults> | null;
readonly createdAt: Date;
readonly updatedAt: Date | null;
}
export interface ConnectSessionIntegrationConfigDefaults {
/** Only used by Slack */
user_scopes?: string | undefined;
authorization_params?: Record<string, string> | undefined;
connectionConfig?: {
[key: string]: unknown;
oauth_scopes_override?: string | undefined;
} | undefined;
}