import type * as Samsara from "../index.js"; /** * Training Course response object. */ export interface TrainingCourseResponseObjectResponseBody { category: Samsara.TrainingCategoryObjectResponseBody; /** Description of the course. */ description?: string | undefined; /** Estimated time it takes to complete the course. */ estimatedTimeToCompleteMinutes: number; /** ID of the training course. */ id: string; /** List of course labels. */ labels?: Samsara.TrainingCourseLabelObjectResponseBody[] | undefined; /** ID of the course's specific version. */ revisionId: string; /** * Status of the training course. Always returned. * Note: Only courses in a ‘published’ state are assignable to learners. Archiving a course deletes only ‘inProgress’ assignments associated with that course, and deleting a course deletes all assignments associated with that course. Valid values: `published`, `deleted`, `archived`, `unknown` */ status: TrainingCourseResponseObjectResponseBody.Status; /** Title of the course. */ title: string; } export declare namespace TrainingCourseResponseObjectResponseBody { /** * Status of the training course. Always returned. * Note: Only courses in a ‘published’ state are assignable to learners. Archiving a course deletes only ‘inProgress’ assignments associated with that course, and deleting a course deletes all assignments associated with that course. Valid values: `published`, `deleted`, `archived`, `unknown` */ const Status: { readonly Published: "published"; readonly Deleted: "deleted"; readonly Archived: "archived"; readonly Unknown: "unknown"; }; type Status = (typeof Status)[keyof typeof Status]; }