Skip to content

DoCurious API Reference / types / ChallengeInvitation

Interface: ChallengeInvitation ​

Defined in: types/invitation.types.ts:41

Challenge Invitation entity Represents an invitation to do a challenge together

Extends ​

Properties ​

acceptedCount? ​

optional acceptedCount: number

Defined in: types/invitation.types.ts:76


challenge? ​

optional challenge: Challenge

Defined in: types/invitation.types.ts:67


challengeId ​

challengeId: string

Defined in: types/invitation.types.ts:43


createdAt ​

createdAt: string

Defined in: types/common.types.ts:154

ISO 8601 datetime when the entity was created

Inherited from ​

BaseEntity.createdAt


declinedCount? ​

optional declinedCount: number

Defined in: types/invitation.types.ts:78


expiresAt ​

expiresAt: string

Defined in: types/invitation.types.ts:64


id ​

id: string

Defined in: types/common.types.ts:167

Inherited from ​

BaseEntity.id


maxParticipants? ​

optional maxParticipants: number

Defined in: types/invitation.types.ts:58


message? ​

optional message: string

Defined in: types/invitation.types.ts:55


paymentApproach ​

paymentApproach: InvitationPaymentApproach

Defined in: types/invitation.types.ts:49


pendingCount? ​

optional pendingCount: number

Defined in: types/invitation.types.ts:77


proposedStartDate? ​

optional proposedStartDate: string

Defined in: types/invitation.types.ts:52


recipients? ​

optional recipients: InvitationRecipient[]

Defined in: types/invitation.types.ts:73


sender? ​

optional sender: object

Defined in: types/invitation.types.ts:68

avatarUrl? ​

optional avatarUrl: string

displayName ​

displayName: string

id ​

id: string


senderId ​

senderId: string

Defined in: types/invitation.types.ts:46


status ​

status: InvitationStatus

Defined in: types/invitation.types.ts:61


updatedAt ​

updatedAt: string

Defined in: types/common.types.ts:156

ISO 8601 datetime when the entity was last modified

Inherited from ​

BaseEntity.updatedAt

DoCurious Platform Documentation