caccl-api
Version:
A class that defines a set of smart Canvas endpoints that actually behave how you'd expect them to.
30 lines (28 loc) • 929 B
text/typescript
interface CanvasEnrollmentTerm {
// The unique identifier for the enrollment term.
id: number,
// The SIS id of the term. Only included if the user has permission to view SIS
// information.
sis_term_id?: string | null,
// the unique identifier for the SIS import. This field is only included if the
// user has permission to manage SIS information.
sis_import_id?: number | null,
// The name of the term.
name: string,
// Date that the term was created at
created_at: string,
// The datetime of the start of the term.
start_at?: string | null,
// The datetime of the end of the term.
end_at?: string | null,
// The state of the term. Can be 'active' or 'deleted'.
workflow_state: ('active' | 'deleted'),
// Term date overrides for specific enrollment types
overrides: {
[k: string]: {
start_at?: string,
end_at?: string,
}
},
}
export default CanvasEnrollmentTerm;