Appearance
DoCurious API Reference / types / ChallengeRequest
Interface: ChallengeRequest
Defined in: types/school.types.ts:313
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:332
challengeId
challengeId:
string
Defined in: types/school.types.ts:315
classId?
optionalclassId:string
Defined in: types/school.types.ts:323
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:321
How many students need access
reason?
optionalreason:string
Defined in: types/school.types.ts:319
Teacher's justification for why this challenge should be purchased
requestedBy?
optionalrequestedBy:object
Defined in: types/school.types.ts:333
displayName
displayName:
string
id
id:
string
requestedByUserId
requestedByUserId:
string
Defined in: types/school.types.ts:316
reviewedAt?
optionalreviewedAt:string
Defined in: types/school.types.ts:327
reviewedBy?
optionalreviewedBy:object
Defined in: types/school.types.ts:337
displayName
displayName:
string
id
id:
string
reviewedByUserId?
optionalreviewedByUserId:string
Defined in: types/school.types.ts:326
reviewNote?
optionalreviewNote:string
Defined in: types/school.types.ts:329
SA's note explaining the approval or denial
schoolId
schoolId:
string
Defined in: types/school.types.ts:314
status
status:
"pending"|"approved"|"denied"
Defined in: types/school.types.ts:325
updatedAt
updatedAt:
string
Defined in: types/common.types.ts:156
ISO 8601 datetime when the entity was last modified