/* generated using openapi-typescript-codegen -- do not edit */ /* istanbul ignore file */ /* tslint:disable */ /* eslint-disable */ import type { ExternalServiceInfo } from './ExternalServiceInfo'; /** * Used for POST / PATCH responses on the integration-credential endpoint. * * ``to_representation`` substitutes ``IntegrationCredential.masked_value`` * for the raw ``value`` field, so sensitive fields (as flagged by the * linked v2 ``IntegrationCredentialSchema``) come out masked * (e.g. ``"sk-****"``). Admin-only — GET responses go through * ``AdminIntegrationCredentialSerializer`` or * ``StudentIntegrationCredentialSerializer`` instead, depending on caller * role. */ export type IntegrationCredential = { name: string; /** * Returns non-sensitive fields only. * Safe to return to students. */ readonly value: Record; /** * The platform key */ platform: string; readonly service_info: ExternalServiceInfo; };