/** * Athena API * REST API for the Athena system * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { StudyObjectiveConceptSummary } from './StudyObjectiveConceptSummary'; /** * * @export * @interface StudyObjectiveConceptAttachment */ export interface StudyObjectiveConceptAttachment { /** * The study objective this attachment is for. The list endpoint returns one attachment per requested objective id. * @type {string} * @memberof StudyObjectiveConceptAttachment */ studyObjectiveId: string; /** * Which store served the concepts. `canvas_object` means the objective is canvas-sourced and its concepts are shared across the account via the linked Canvas object; `study_objective` means a custom objective with concepts private to it. * @type {string} * @memberof StudyObjectiveConceptAttachment */ kind: StudyObjectiveConceptAttachmentKindEnum; /** * Sidecar status snapshot. `missing` is returned for ids that have no sidecar row yet (kill switch off, first call, or trigger soft-failed). * @type {string} * @memberof StudyObjectiveConceptAttachment */ status: StudyObjectiveConceptAttachmentStatusEnum; /** * Last recorded error message when status is `failed`. * @type {string} * @memberof StudyObjectiveConceptAttachment */ lastError: string | null; /** * * @type {Array} * @memberof StudyObjectiveConceptAttachment */ concepts: Array; } /** * @export */ export declare const StudyObjectiveConceptAttachmentKindEnum: { readonly CanvasObject: "canvas_object"; readonly StudyObjective: "study_objective"; }; export type StudyObjectiveConceptAttachmentKindEnum = typeof StudyObjectiveConceptAttachmentKindEnum[keyof typeof StudyObjectiveConceptAttachmentKindEnum]; /** * @export */ export declare const StudyObjectiveConceptAttachmentStatusEnum: { readonly Pending: "pending"; readonly Running: "running"; readonly Active: "active"; readonly Failed: "failed"; readonly Missing: "missing"; }; export type StudyObjectiveConceptAttachmentStatusEnum = typeof StudyObjectiveConceptAttachmentStatusEnum[keyof typeof StudyObjectiveConceptAttachmentStatusEnum]; /** * Check if a given object implements the StudyObjectiveConceptAttachment interface. */ export declare function instanceOfStudyObjectiveConceptAttachment(value: object): value is StudyObjectiveConceptAttachment; export declare function StudyObjectiveConceptAttachmentFromJSON(json: any): StudyObjectiveConceptAttachment; export declare function StudyObjectiveConceptAttachmentFromJSONTyped(json: any, ignoreDiscriminator: boolean): StudyObjectiveConceptAttachment; export declare function StudyObjectiveConceptAttachmentToJSON(json: any): StudyObjectiveConceptAttachment; export declare function StudyObjectiveConceptAttachmentToJSONTyped(value?: StudyObjectiveConceptAttachment | null, ignoreDiscriminator?: boolean): any;