Properties
addMissingProducts
addMissingProducts: ((products: number[]) => Promise<void>)
Type declaration
-
- (products: number[]): Promise<void>
-
Returns Promise<void>
addToCart
Type declaration
-
- (id: number, quantity?: number): Promise<AddProductResponse>
-
Parameters
-
id: number
-
Optional
quantity: number
attachProduct
attach
Product
: ((productableId
: number, productableType
: string) => Promise<DefaultResponse<null>>)
Type declaration
-
- (productableId: number, productableType: string): Promise<DefaultResponse<null>>
-
Parameters
-
productableId: number
-
productableType: string
cancelSubscription
cancel
Subscription
: ((productId
: number) => Promise<DefaultResponse<null>>)
changeConsultationTerm
change
Consultation
Term
: ((termId
: number, newDate
: string) => Promise<DefaultResponse<object>>)
Type declaration
-
- (termId: number, newDate: string): Promise<DefaultResponse<object>>
-
Parameters
-
termId: number
-
newDate: string
confirmAccountDelete
confirm
Account
Delete
: ((userId
: string, deleteToken
: string) => Promise<AuthResponse>)
Type declaration
-
- (userId: string, deleteToken: string): Promise<AuthResponse>
-
Parameters
-
userId: string
-
deleteToken: string
courseProgress
courseProgress: ((courseId: number) => number)
Type declaration
-
- (courseId: number): number
-
Returns number
emailVerify
email
Verify
: ((id
: string, hash
: string) => Promise<AuthResponse>)
fetchConsultationAccessEnquiry
fetchCourseProgress
fetchCourseProgress: ((courseId: number) => Promise<void>)
Type declaration
-
- (courseId: number): Promise<void>
-
Returns Promise<void>
fetchDictionariesWordsCategories
fetchH5P
fetchH5P: ((uuid: string) => void)
Type declaration
-
- (uuid: string): void
-
Returns void
fetchMyCourses
fetchMyCourses: (() => Promise<void>)
Type declaration
-
- (): Promise<void>
-
Returns Promise<void>
fetchQuestionnaireStarsByModel
fetchQuestionnairesAnswers
fetchUserStationaryEvents
generateConsultationJitsy
getImagePrefix
getImagePrefix: (() => string)
Type declaration
-
- (): string
-
Returns string
getImageSvgPrefix
getImageSvgPrefix: (() => string)
Type declaration
-
- (): string
-
Returns string
getNextPrevTopic
get
Next
Prev
Topic
: ((topicId
: number, next
?: boolean) => null | API.Topic)
Type declaration
-
- (topicId: number, next?: boolean): null | API.Topic
-
Parameters
-
topicId: number
-
Optional
next: boolean
getRefreshedToken
getRefreshedToken: (() => Promise<void>)
Type declaration
-
- (): Promise<void>
-
Returns Promise<void>
h5pProgress
Type declaration
-
- (courseId: string, topicId: number, statement: IStatement): null | Promise<SuccessResponse>
-
Parameters
-
courseId: string
-
topicId: number
-
initAccountDelete
init
Account
Delete
: ((returnUrl
: string) => Promise<AuthResponse>)
logout
logout: (() => Promise<void>)
Type declaration
-
- (): Promise<void>
-
Returns Promise<void>
payWithP24
pay
With
P24
: ((email
: string, return_url
: string, data
?: InvoiceData) => Promise<void>)
Type declaration
-
- (email: string, return_url: string, data?: InvoiceData): Promise<void>
-
Parameters
-
email: string
-
return_url: string
-
Returns Promise<void>
payWithStripe
payWithStripe: ((payment_method: string, return_url: string) => Promise<void>)
Type declaration
-
- (payment_method: string, return_url: string): Promise<void>
-
Parameters
-
payment_method: string
-
return_url: string
Returns Promise<void>
readAllNotifications
readAllNotifications: (() => Promise<void>)
Type declaration
-
- (): Promise<void>
-
Returns Promise<void>
readNotify
readNotify: ((id: string) => Promise<void>)
Type declaration
-
- (id: string): Promise<void>
-
Returns Promise<void>
realizeVoucher
realize
Voucher
: ((voucher
: string) => Promise<AuthResponse>)
removeFromCart
removeFromCart: ((courseId: number) => Promise<void>)
Type declaration
-
- (courseId: number): Promise<void>
-
Returns Promise<void>
resetCart
resetCart: (() => void)
socialAuthorize
socialAuthorize: ((token: string) => void)
Type declaration
-
- (token: string): void
-
Returns void
subscriptionPayWithP24
subscription
Pay
With
P24
: ((subId
: number, email
: string, return_url
: string, data
?: InvoiceData) => Promise<void>)
Type declaration
-
- (subId: number, email: string, return_url: string, data?: InvoiceData): Promise<void>
-
Parameters
-
subId: number
-
email: string
-
return_url: string
-
Returns Promise<void>
updateTaskNote
Type declaration
-
- (id: number, taskNoteId: number, note: string): Promise<DefaultResponse<API.TaskNote>>
-
Parameters
-
id: number
-
taskNoteId: number
-
note: string