Appearance
DoCurious API Reference / types / ChallengeRequest
Interface: ChallengeRequest
Defined in: types/school.types.ts:351
A teacher's request for the School Admin to purchase a paid challenge for classroom use.
Remarks
Teachers cannot directly purchase paid challenges. Instead they submit a ChallengeRequest that the SA reviews. The SA can approve, deny, or add notes.
Extends
Properties
challenge?
optionalchallenge:Challenge
Defined in: types/school.types.ts:370
challengeId
challengeId:
string
Defined in: types/school.types.ts:353
classId?
optionalclassId:string
Defined in: types/school.types.ts:361
Target class for the challenge
createdAt
createdAt:
string
Defined in: types/common.types.ts:154
ISO 8601 datetime when the entity was created
Inherited from
id
id:
string
Defined in: types/common.types.ts:167
Inherited from
numberOfStudents?
optionalnumberOfStudents:number
Defined in: types/school.types.ts:359
How many students need access
reason?
optionalreason:string
Defined in: types/school.types.ts:357
Teacher's justification for why this challenge should be purchased
requestedBy?
optionalrequestedBy:object
Defined in: types/school.types.ts:371
displayName
displayName:
string
id
id:
string
requestedByUserId
requestedByUserId:
string
Defined in: types/school.types.ts:354
reviewedAt?
optionalreviewedAt:string
Defined in: types/school.types.ts:365
reviewedBy?
optionalreviewedBy:object
Defined in: types/school.types.ts:375
displayName
displayName:
string
id
id:
string
reviewedByUserId?
optionalreviewedByUserId:string
Defined in: types/school.types.ts:364
reviewNote?
optionalreviewNote:string
Defined in: types/school.types.ts:367
SA's note explaining the approval or denial
schoolId
schoolId:
string
Defined in: types/school.types.ts:352
status
status:
"pending"|"approved"|"denied"
Defined in: types/school.types.ts:363
updatedAt
updatedAt:
string
Defined in: types/common.types.ts:156
ISO 8601 datetime when the entity was last modified