@23blocks/angular 6.5.15 → 6.5.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/README.md +792 -0
- package/dist/{index.esm.js → fesm2022/23blocks-angular.mjs} +1620 -1286
- package/dist/fesm2022/23blocks-angular.mjs.map +1 -0
- package/dist/index.d.ts +3874 -1
- package/dist/index.d.ts.map +1 -0
- package/package.json +8 -24
- package/dist/src/index.d.ts +0 -2
- package/dist/src/index.d.ts.map +0 -1
- package/dist/src/lib/assets/assets.service.d.ts +0 -123
- package/dist/src/lib/assets/assets.service.d.ts.map +0 -1
- package/dist/src/lib/assets/index.d.ts +0 -2
- package/dist/src/lib/assets/index.d.ts.map +0 -1
- package/dist/src/lib/authentication/authentication.service.d.ts +0 -684
- package/dist/src/lib/authentication/authentication.service.d.ts.map +0 -1
- package/dist/src/lib/authentication/index.d.ts +0 -2
- package/dist/src/lib/authentication/index.d.ts.map +0 -1
- package/dist/src/lib/campaigns/campaigns.service.d.ts +0 -111
- package/dist/src/lib/campaigns/campaigns.service.d.ts.map +0 -1
- package/dist/src/lib/campaigns/index.d.ts +0 -2
- package/dist/src/lib/campaigns/index.d.ts.map +0 -1
- package/dist/src/lib/company/company.service.d.ts +0 -117
- package/dist/src/lib/company/company.service.d.ts.map +0 -1
- package/dist/src/lib/company/index.d.ts +0 -2
- package/dist/src/lib/company/index.d.ts.map +0 -1
- package/dist/src/lib/content/content.service.d.ts +0 -177
- package/dist/src/lib/content/content.service.d.ts.map +0 -1
- package/dist/src/lib/content/index.d.ts +0 -2
- package/dist/src/lib/content/index.d.ts.map +0 -1
- package/dist/src/lib/conversations/conversations.service.d.ts +0 -130
- package/dist/src/lib/conversations/conversations.service.d.ts.map +0 -1
- package/dist/src/lib/conversations/index.d.ts +0 -2
- package/dist/src/lib/conversations/index.d.ts.map +0 -1
- package/dist/src/lib/crm/crm.service.d.ts +0 -182
- package/dist/src/lib/crm/crm.service.d.ts.map +0 -1
- package/dist/src/lib/crm/index.d.ts +0 -2
- package/dist/src/lib/crm/index.d.ts.map +0 -1
- package/dist/src/lib/files/files.service.d.ts +0 -326
- package/dist/src/lib/files/files.service.d.ts.map +0 -1
- package/dist/src/lib/files/index.d.ts +0 -2
- package/dist/src/lib/files/index.d.ts.map +0 -1
- package/dist/src/lib/forms/forms.service.d.ts +0 -132
- package/dist/src/lib/forms/forms.service.d.ts.map +0 -1
- package/dist/src/lib/forms/index.d.ts +0 -2
- package/dist/src/lib/forms/index.d.ts.map +0 -1
- package/dist/src/lib/geolocation/geolocation.service.d.ts +0 -317
- package/dist/src/lib/geolocation/geolocation.service.d.ts.map +0 -1
- package/dist/src/lib/geolocation/index.d.ts +0 -2
- package/dist/src/lib/geolocation/index.d.ts.map +0 -1
- package/dist/src/lib/index.d.ts +0 -22
- package/dist/src/lib/index.d.ts.map +0 -1
- package/dist/src/lib/jarvis/index.d.ts +0 -2
- package/dist/src/lib/jarvis/index.d.ts.map +0 -1
- package/dist/src/lib/jarvis/jarvis.service.d.ts +0 -181
- package/dist/src/lib/jarvis/jarvis.service.d.ts.map +0 -1
- package/dist/src/lib/onboarding/index.d.ts +0 -2
- package/dist/src/lib/onboarding/index.d.ts.map +0 -1
- package/dist/src/lib/onboarding/onboarding.service.d.ts +0 -93
- package/dist/src/lib/onboarding/onboarding.service.d.ts.map +0 -1
- package/dist/src/lib/products/index.d.ts +0 -2
- package/dist/src/lib/products/index.d.ts.map +0 -1
- package/dist/src/lib/products/products.service.d.ts +0 -154
- package/dist/src/lib/products/products.service.d.ts.map +0 -1
- package/dist/src/lib/providers.d.ts +0 -97
- package/dist/src/lib/providers.d.ts.map +0 -1
- package/dist/src/lib/rewards/index.d.ts +0 -2
- package/dist/src/lib/rewards/index.d.ts.map +0 -1
- package/dist/src/lib/rewards/rewards.service.d.ts +0 -172
- package/dist/src/lib/rewards/rewards.service.d.ts.map +0 -1
- package/dist/src/lib/sales/index.d.ts +0 -2
- package/dist/src/lib/sales/index.d.ts.map +0 -1
- package/dist/src/lib/sales/sales.service.d.ts +0 -147
- package/dist/src/lib/sales/sales.service.d.ts.map +0 -1
- package/dist/src/lib/search/index.d.ts +0 -2
- package/dist/src/lib/search/index.d.ts.map +0 -1
- package/dist/src/lib/search/search.service.d.ts +0 -106
- package/dist/src/lib/search/search.service.d.ts.map +0 -1
- package/dist/src/lib/simple-providers.d.ts +0 -203
- package/dist/src/lib/simple-providers.d.ts.map +0 -1
- package/dist/src/lib/tokens.d.ts +0 -134
- package/dist/src/lib/tokens.d.ts.map +0 -1
- package/dist/src/lib/university/index.d.ts +0 -2
- package/dist/src/lib/university/index.d.ts.map +0 -1
- package/dist/src/lib/university/university.service.d.ts +0 -252
- package/dist/src/lib/university/university.service.d.ts.map +0 -1
- package/dist/src/lib/wallet/index.d.ts +0 -2
- package/dist/src/lib/wallet/index.d.ts.map +0 -1
- package/dist/src/lib/wallet/wallet.service.d.ts +0 -71
- package/dist/src/lib/wallet/wallet.service.d.ts.map +0 -1
|
@@ -1,252 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import type { Transport, PageResult } from '@23blocks/contracts';
|
|
3
|
-
import { type UniversityBlock, type UniversityBlockConfig, type Course, type CreateCourseRequest, type UpdateCourseRequest, type ListCoursesParams, type Lesson, type CreateLessonRequest, type UpdateLessonRequest, type ListLessonsParams, type ReorderLessonsRequest, type Enrollment, type EnrollRequest, type UpdateEnrollmentProgressRequest, type ListEnrollmentsParams, type Assignment, type CreateAssignmentRequest, type UpdateAssignmentRequest, type ListAssignmentsParams, type Submission, type SubmitAssignmentRequest, type GradeSubmissionRequest, type ListSubmissionsParams, type Subject, type CreateSubjectRequest, type UpdateSubjectRequest, type ListSubjectsParams, type Teacher, type ListTeachersParams, type TeacherAvailability, type CreateAvailabilityRequest, type UpdateAvailabilityRequest, type Student, type ListStudentsParams, type RegisterStudentRequest, type UpdateStudentRequest, type StudentAvailability, type CourseGroup, type CreateCourseGroupRequest, type CoachingSession, type CreateCoachingSessionRequest, type UpdateCoachingSessionRequest, type ListCoachingSessionsParams, type ContentTest, type TestQuestion, type TestOption, type CreateContentTestRequest, type UpdateContentTestRequest, type CreateQuestionRequest, type CreateOptionRequest, type ListContentTestsParams, type RegistrationToken, type CreateRegistrationTokenRequest, type UpdateRegistrationTokenRequest, type ListRegistrationTokensParams, type TokenValidationResult, type PlacementTest, type PlacementSection, type PlacementQuestion, type PlacementOption, type PlacementRule, type PlacementInstance, type CreatePlacementRequest, type CreatePlacementSectionRequest, type CreatePlacementQuestionRequest, type CreatePlacementOptionRequest, type CreatePlacementRuleRequest, type PlacementResponse, type ListPlacementsParams, type Availability, type CalendarEvent, type BulkUpdateAvailabilityRequest, type CreateCalendarEventRequest, type UpdateCalendarEventRequest, type ListCalendarEventsParams, type Match, type MatchEvaluation, type AvailableCoach, type AvailableCoachee, type CreateMatchRequest, type FindCoachesRequest, type FindCoacheesRequest, type EvaluateMatchesRequest, type EvaluateAvailabilitiesRequest, type Attendance, type CreateAttendanceRequest, type UpdateAttendanceRequest, type ListAttendanceParams, type BulkAttendanceRequest, type AttendanceStats, type Note, type CreateNoteRequest, type UpdateNoteRequest, type ListNotesParams } from '@23blocks/block-university';
|
|
4
|
-
/**
|
|
5
|
-
* Angular service wrapping the University block.
|
|
6
|
-
* Converts Promise-based APIs to RxJS Observables.
|
|
7
|
-
*
|
|
8
|
-
* @example
|
|
9
|
-
* ```typescript
|
|
10
|
-
* @Component({...})
|
|
11
|
-
* export class CourseListComponent {
|
|
12
|
-
* constructor(private university: UniversityService) {}
|
|
13
|
-
*
|
|
14
|
-
* loadCourses() {
|
|
15
|
-
* this.university.listCourses({ page: 1, perPage: 10 }).subscribe({
|
|
16
|
-
* next: (result) => console.log('Courses:', result.data),
|
|
17
|
-
* error: (err) => console.error('Failed:', err),
|
|
18
|
-
* });
|
|
19
|
-
* }
|
|
20
|
-
* }
|
|
21
|
-
* ```
|
|
22
|
-
*/
|
|
23
|
-
export declare class UniversityService {
|
|
24
|
-
private readonly block;
|
|
25
|
-
constructor(serviceTransport: Transport | null, legacyTransport: Transport | null, config: UniversityBlockConfig);
|
|
26
|
-
/**
|
|
27
|
-
* Ensure the service is configured, throw helpful error if not
|
|
28
|
-
*/
|
|
29
|
-
private ensureConfigured;
|
|
30
|
-
listCourses(params?: ListCoursesParams): Observable<PageResult<Course>>;
|
|
31
|
-
getCourse(uniqueId: string): Observable<Course>;
|
|
32
|
-
createCourse(data: CreateCourseRequest): Observable<Course>;
|
|
33
|
-
updateCourse(uniqueId: string, data: UpdateCourseRequest): Observable<Course>;
|
|
34
|
-
deleteCourse(uniqueId: string): Observable<void>;
|
|
35
|
-
publishCourse(uniqueId: string): Observable<Course>;
|
|
36
|
-
unpublishCourse(uniqueId: string): Observable<Course>;
|
|
37
|
-
listCoursesByInstructor(instructorUniqueId: string, params?: ListCoursesParams): Observable<PageResult<Course>>;
|
|
38
|
-
listCoursesByCategory(categoryUniqueId: string, params?: ListCoursesParams): Observable<PageResult<Course>>;
|
|
39
|
-
listLessons(params?: ListLessonsParams): Observable<PageResult<Lesson>>;
|
|
40
|
-
getLesson(uniqueId: string): Observable<Lesson>;
|
|
41
|
-
createLesson(data: CreateLessonRequest): Observable<Lesson>;
|
|
42
|
-
updateLesson(uniqueId: string, data: UpdateLessonRequest): Observable<Lesson>;
|
|
43
|
-
deleteLesson(uniqueId: string): Observable<void>;
|
|
44
|
-
reorderLessons(courseUniqueId: string, data: ReorderLessonsRequest): Observable<Lesson[]>;
|
|
45
|
-
listLessonsByCourse(courseUniqueId: string, params?: ListLessonsParams): Observable<PageResult<Lesson>>;
|
|
46
|
-
listEnrollments(params?: ListEnrollmentsParams): Observable<PageResult<Enrollment>>;
|
|
47
|
-
getEnrollment(uniqueId: string): Observable<Enrollment>;
|
|
48
|
-
enroll(data: EnrollRequest): Observable<Enrollment>;
|
|
49
|
-
updateEnrollmentProgress(uniqueId: string, data: UpdateEnrollmentProgressRequest): Observable<Enrollment>;
|
|
50
|
-
completeEnrollment(uniqueId: string): Observable<Enrollment>;
|
|
51
|
-
dropEnrollment(uniqueId: string): Observable<Enrollment>;
|
|
52
|
-
listEnrollmentsByCourse(courseUniqueId: string, params?: ListEnrollmentsParams): Observable<PageResult<Enrollment>>;
|
|
53
|
-
listEnrollmentsByUser(userUniqueId: string, params?: ListEnrollmentsParams): Observable<PageResult<Enrollment>>;
|
|
54
|
-
getCertificate(uniqueId: string): Observable<{
|
|
55
|
-
certificateUrl: string;
|
|
56
|
-
}>;
|
|
57
|
-
listAssignments(params?: ListAssignmentsParams): Observable<PageResult<Assignment>>;
|
|
58
|
-
getAssignment(uniqueId: string): Observable<Assignment>;
|
|
59
|
-
createAssignment(data: CreateAssignmentRequest): Observable<Assignment>;
|
|
60
|
-
updateAssignment(uniqueId: string, data: UpdateAssignmentRequest): Observable<Assignment>;
|
|
61
|
-
deleteAssignment(uniqueId: string): Observable<void>;
|
|
62
|
-
listAssignmentsByLesson(lessonUniqueId: string, params?: ListAssignmentsParams): Observable<PageResult<Assignment>>;
|
|
63
|
-
listSubmissions(params?: ListSubmissionsParams): Observable<PageResult<Submission>>;
|
|
64
|
-
getSubmission(uniqueId: string): Observable<Submission>;
|
|
65
|
-
submitAssignment(data: SubmitAssignmentRequest): Observable<Submission>;
|
|
66
|
-
gradeSubmission(uniqueId: string, data: GradeSubmissionRequest): Observable<Submission>;
|
|
67
|
-
listSubmissionsByAssignment(assignmentUniqueId: string, params?: ListSubmissionsParams): Observable<PageResult<Submission>>;
|
|
68
|
-
listSubmissionsByUser(userUniqueId: string, params?: ListSubmissionsParams): Observable<PageResult<Submission>>;
|
|
69
|
-
listSubjects(params?: ListSubjectsParams): Observable<PageResult<Subject>>;
|
|
70
|
-
getSubject(uniqueId: string): Observable<Subject>;
|
|
71
|
-
createSubject(data: CreateSubjectRequest): Observable<Subject>;
|
|
72
|
-
updateSubject(uniqueId: string, data: UpdateSubjectRequest): Observable<Subject>;
|
|
73
|
-
getSubjectResources(uniqueId: string): Observable<unknown[]>;
|
|
74
|
-
getSubjectTeacherResources(uniqueId: string, teacherUniqueId: string): Observable<unknown[]>;
|
|
75
|
-
getSubjectTests(uniqueId: string): Observable<unknown[]>;
|
|
76
|
-
addSubjectLesson(uniqueId: string, lessonData: {
|
|
77
|
-
name: string;
|
|
78
|
-
description?: string;
|
|
79
|
-
}): Observable<unknown>;
|
|
80
|
-
addSubjectResource(uniqueId: string, resourceData: unknown): Observable<unknown>;
|
|
81
|
-
updateSubjectResource(uniqueId: string, resourceUniqueId: string, resourceData: unknown): Observable<unknown>;
|
|
82
|
-
deleteSubjectResource(uniqueId: string, resourceUniqueId: string): Observable<void>;
|
|
83
|
-
listTeachers(params?: ListTeachersParams): Observable<PageResult<Teacher>>;
|
|
84
|
-
listArchivedTeachers(params?: ListTeachersParams): Observable<PageResult<Teacher>>;
|
|
85
|
-
getTeacher(uniqueId: string): Observable<Teacher>;
|
|
86
|
-
getTeacherCourses(uniqueId: string): Observable<Course[]>;
|
|
87
|
-
getTeacherGroups(uniqueId: string): Observable<CourseGroup[]>;
|
|
88
|
-
getTeacherAvailability(uniqueId: string): Observable<TeacherAvailability[]>;
|
|
89
|
-
addTeacherAvailability(uniqueId: string, data: CreateAvailabilityRequest): Observable<TeacherAvailability>;
|
|
90
|
-
updateTeacherAvailability(uniqueId: string, availabilityUniqueId: string, data: UpdateAvailabilityRequest): Observable<TeacherAvailability>;
|
|
91
|
-
deleteTeacherAvailability(uniqueId: string, availabilityUniqueId: string): Observable<void>;
|
|
92
|
-
deleteAllTeacherAvailability(uniqueId: string): Observable<void>;
|
|
93
|
-
getTeacherContentTree(uniqueId: string, courseGroupUniqueId: string): Observable<unknown>;
|
|
94
|
-
getTeacherStudentContentTree(uniqueId: string, userUniqueId: string, courseGroupUniqueId: string): Observable<unknown>;
|
|
95
|
-
promoteStudent(teacherUniqueId: string, userUniqueId: string): Observable<unknown>;
|
|
96
|
-
listStudents(params?: ListStudentsParams): Observable<PageResult<Student>>;
|
|
97
|
-
listArchivedStudents(params?: ListStudentsParams): Observable<PageResult<Student>>;
|
|
98
|
-
getStudent(uniqueId: string): Observable<Student>;
|
|
99
|
-
registerStudent(uniqueId: string, data: RegisterStudentRequest): Observable<Student>;
|
|
100
|
-
updateStudent(uniqueId: string, data: UpdateStudentRequest): Observable<Student>;
|
|
101
|
-
archiveStudent(uniqueId: string): Observable<void>;
|
|
102
|
-
restoreStudent(uniqueId: string): Observable<Student>;
|
|
103
|
-
getStudentCourses(uniqueId: string): Observable<Course[]>;
|
|
104
|
-
getStudentAvailableCourses(uniqueId: string): Observable<Course[]>;
|
|
105
|
-
getStudentGroups(uniqueId: string): Observable<CourseGroup[]>;
|
|
106
|
-
getStudentContentTree(uniqueId: string, courseGroupUniqueId: string): Observable<unknown>;
|
|
107
|
-
getStudentAvailability(uniqueId: string): Observable<StudentAvailability[]>;
|
|
108
|
-
addStudentAvailability(uniqueId: string, data: {
|
|
109
|
-
dayOfWeek: number;
|
|
110
|
-
startTime: string;
|
|
111
|
-
endTime: string;
|
|
112
|
-
timezone?: string;
|
|
113
|
-
}): Observable<StudentAvailability>;
|
|
114
|
-
updateStudentAvailability(uniqueId: string, availabilityUniqueId: string, data: {
|
|
115
|
-
dayOfWeek?: number;
|
|
116
|
-
startTime?: string;
|
|
117
|
-
endTime?: string;
|
|
118
|
-
timezone?: string;
|
|
119
|
-
}): Observable<StudentAvailability>;
|
|
120
|
-
updateStudentAvailabilitySlots(uniqueId: string, slots: {
|
|
121
|
-
dayOfWeek: number;
|
|
122
|
-
startTime: string;
|
|
123
|
-
endTime: string;
|
|
124
|
-
}[]): Observable<StudentAvailability[]>;
|
|
125
|
-
deleteStudentAvailability(uniqueId: string, availabilityUniqueId: string): Observable<void>;
|
|
126
|
-
deleteAllStudentAvailability(uniqueId: string): Observable<void>;
|
|
127
|
-
getCourseGroup(uniqueId: string): Observable<CourseGroup>;
|
|
128
|
-
createCourseGroup(data: CreateCourseGroupRequest): Observable<CourseGroup>;
|
|
129
|
-
addStudentToCourseGroup(uniqueId: string, studentUniqueId: string): Observable<CourseGroup>;
|
|
130
|
-
addTeacherToCourseGroup(uniqueId: string, teacherUniqueId: string): Observable<CourseGroup>;
|
|
131
|
-
getCourseGroupTests(uniqueId: string): Observable<unknown[]>;
|
|
132
|
-
getCourseGroupTestResponses(uniqueId: string, testUniqueId: string): Observable<unknown[]>;
|
|
133
|
-
listCoachingSessions(params?: ListCoachingSessionsParams): Observable<PageResult<CoachingSession>>;
|
|
134
|
-
createCoachingSession(data: CreateCoachingSessionRequest): Observable<CoachingSession>;
|
|
135
|
-
updateCoachingSession(uniqueId: string, data: UpdateCoachingSessionRequest): Observable<CoachingSession>;
|
|
136
|
-
deleteCoachingSession(uniqueId: string): Observable<void>;
|
|
137
|
-
getCoachingSessionsByStudent(studentUniqueId: string): Observable<CoachingSession[]>;
|
|
138
|
-
getCoachingSessionsByTeacher(teacherUniqueId: string): Observable<CoachingSession[]>;
|
|
139
|
-
studentConfirmCoachingSession(uniqueId: string): Observable<CoachingSession>;
|
|
140
|
-
studentCheckInCoachingSession(uniqueId: string): Observable<CoachingSession>;
|
|
141
|
-
studentCheckOutCoachingSession(uniqueId: string): Observable<CoachingSession>;
|
|
142
|
-
addStudentNotesToCoachingSession(uniqueId: string, notes: string): Observable<CoachingSession>;
|
|
143
|
-
teacherConfirmCoachingSession(uniqueId: string): Observable<CoachingSession>;
|
|
144
|
-
teacherCheckInCoachingSession(uniqueId: string): Observable<CoachingSession>;
|
|
145
|
-
teacherCheckOutCoachingSession(uniqueId: string): Observable<CoachingSession>;
|
|
146
|
-
addAdminNotesToCoachingSession(uniqueId: string, notes: string): Observable<CoachingSession>;
|
|
147
|
-
listContentTests(params?: ListContentTestsParams): Observable<PageResult<ContentTest>>;
|
|
148
|
-
getContentTest(uniqueId: string): Observable<ContentTest>;
|
|
149
|
-
createContentTest(data: CreateContentTestRequest): Observable<ContentTest>;
|
|
150
|
-
updateContentTest(uniqueId: string, data: UpdateContentTestRequest): Observable<ContentTest>;
|
|
151
|
-
getContentTestResults(uniqueId: string): Observable<unknown[]>;
|
|
152
|
-
getContentTestSolution(uniqueId: string): Observable<unknown>;
|
|
153
|
-
createTestQuestion(uniqueId: string, data: CreateQuestionRequest): Observable<TestQuestion>;
|
|
154
|
-
updateTestQuestion(uniqueId: string, questionUniqueId: string, data: Partial<CreateQuestionRequest>): Observable<TestQuestion>;
|
|
155
|
-
getTestQuestion(uniqueId: string, questionId: string): Observable<TestQuestion>;
|
|
156
|
-
listTestOptions(): Observable<TestOption[]>;
|
|
157
|
-
createTestOption(data: CreateOptionRequest): Observable<TestOption>;
|
|
158
|
-
updateTestOption(uniqueId: string, optionUniqueId: string, data: Partial<CreateOptionRequest>): Observable<TestOption>;
|
|
159
|
-
addOptionToQuestion(uniqueId: string, questionId: string, optionId: string): Observable<TestQuestion>;
|
|
160
|
-
listRegistrationTokens(params?: ListRegistrationTokensParams): Observable<PageResult<RegistrationToken>>;
|
|
161
|
-
getRegistrationToken(uniqueId: string): Observable<RegistrationToken>;
|
|
162
|
-
createRegistrationToken(data: CreateRegistrationTokenRequest): Observable<RegistrationToken>;
|
|
163
|
-
updateRegistrationToken(uniqueId: string, data: UpdateRegistrationTokenRequest): Observable<RegistrationToken>;
|
|
164
|
-
deleteRegistrationToken(uniqueId: string): Observable<void>;
|
|
165
|
-
validateRegistrationToken(tokenCode: string): Observable<TokenValidationResult>;
|
|
166
|
-
useRegistrationToken(tokenCode: string, userUniqueId: string): Observable<{
|
|
167
|
-
success: boolean;
|
|
168
|
-
enrollmentUniqueId?: string;
|
|
169
|
-
error?: string;
|
|
170
|
-
}>;
|
|
171
|
-
revokeRegistrationToken(uniqueId: string): Observable<RegistrationToken>;
|
|
172
|
-
generateRegistrationTokenBatch(request: CreateRegistrationTokenRequest & {
|
|
173
|
-
count: number;
|
|
174
|
-
}): Observable<RegistrationToken[]>;
|
|
175
|
-
getPlacement(uniqueId: string): Observable<PlacementTest>;
|
|
176
|
-
listPlacementsByCourse(courseUniqueId: string, params?: ListPlacementsParams): Observable<PageResult<PlacementTest>>;
|
|
177
|
-
createPlacement(courseUniqueId: string, data: CreatePlacementRequest): Observable<PlacementTest>;
|
|
178
|
-
getPlacementSection(placementUniqueId: string, sectionId: string): Observable<PlacementSection>;
|
|
179
|
-
createPlacementSection(placementUniqueId: string, data: CreatePlacementSectionRequest): Observable<PlacementSection>;
|
|
180
|
-
getPlacementQuestion(placementUniqueId: string, questionId: string): Observable<PlacementQuestion>;
|
|
181
|
-
createPlacementQuestion(placementUniqueId: string, data: CreatePlacementQuestionRequest): Observable<PlacementQuestion>;
|
|
182
|
-
addQuestionToPlacementSection(placementUniqueId: string, sectionId: string, questionId: string): Observable<void>;
|
|
183
|
-
listPlacementOptions(): Observable<PlacementOption[]>;
|
|
184
|
-
createPlacementOption(data: CreatePlacementOptionRequest): Observable<PlacementOption>;
|
|
185
|
-
addOptionToPlacementQuestion(placementUniqueId: string, questionId: string, optionId: string): Observable<void>;
|
|
186
|
-
setPlacementRightOption(placementUniqueId: string, questionId: string, optionId: string): Observable<void>;
|
|
187
|
-
removePlacementOption(placementUniqueId: string, questionId: string, optionId: string): Observable<void>;
|
|
188
|
-
createPlacementRule(placementUniqueId: string, data: CreatePlacementRuleRequest): Observable<PlacementRule>;
|
|
189
|
-
getUserPlacement(userUniqueId: string): Observable<PlacementInstance | null>;
|
|
190
|
-
startPlacement(userUniqueId: string, placementUniqueId: string): Observable<PlacementInstance>;
|
|
191
|
-
submitPlacementResponse(userUniqueId: string, instanceUniqueId: string, responses: PlacementResponse[]): Observable<PlacementInstance>;
|
|
192
|
-
finishPlacement(userUniqueId: string, instanceUniqueId: string): Observable<PlacementInstance>;
|
|
193
|
-
getCalendarStudentAvailability(userUniqueId: string): Observable<Availability[]>;
|
|
194
|
-
addCalendarStudentAvailability(userUniqueId: string, data: CreateAvailabilityRequest): Observable<Availability>;
|
|
195
|
-
updateCalendarStudentAvailability(userUniqueId: string, availabilityUniqueId: string, data: UpdateAvailabilityRequest): Observable<Availability>;
|
|
196
|
-
updateCalendarStudentAvailabilities(userUniqueId: string, data: BulkUpdateAvailabilityRequest): Observable<Availability[]>;
|
|
197
|
-
deleteCalendarStudentAvailability(userUniqueId: string, availabilityUniqueId: string): Observable<void>;
|
|
198
|
-
deleteAllCalendarStudentAvailability(userUniqueId: string): Observable<void>;
|
|
199
|
-
getCalendarTeacherAvailability(teacherUniqueId: string): Observable<Availability[]>;
|
|
200
|
-
addCalendarTeacherAvailability(teacherUniqueId: string, data: CreateAvailabilityRequest): Observable<Availability>;
|
|
201
|
-
updateCalendarTeacherAvailability(teacherUniqueId: string, availabilityUniqueId: string, data: UpdateAvailabilityRequest): Observable<Availability>;
|
|
202
|
-
deleteCalendarTeacherAvailability(teacherUniqueId: string, availabilityUniqueId: string): Observable<void>;
|
|
203
|
-
deleteAllCalendarTeacherAvailability(teacherUniqueId: string): Observable<void>;
|
|
204
|
-
listCalendarEvents(params?: ListCalendarEventsParams): Observable<PageResult<CalendarEvent>>;
|
|
205
|
-
getCalendarEvent(uniqueId: string): Observable<CalendarEvent>;
|
|
206
|
-
createCalendarEvent(data: CreateCalendarEventRequest): Observable<CalendarEvent>;
|
|
207
|
-
updateCalendarEvent(uniqueId: string, data: UpdateCalendarEventRequest): Observable<CalendarEvent>;
|
|
208
|
-
deleteCalendarEvent(uniqueId: string): Observable<void>;
|
|
209
|
-
createMatch(data: CreateMatchRequest): Observable<Match>;
|
|
210
|
-
activateMatch(uniqueId: string): Observable<Match>;
|
|
211
|
-
deactivateMatch(uniqueId: string): Observable<Match>;
|
|
212
|
-
deleteMatch(uniqueId: string): Observable<void>;
|
|
213
|
-
getActiveMatchByStudent(studentUniqueId: string): Observable<Match | null>;
|
|
214
|
-
getAllMatchesByStudent(studentUniqueId: string): Observable<Match[]>;
|
|
215
|
-
getAvailableMatchesByStudent(studentUniqueId: string): Observable<Match[]>;
|
|
216
|
-
getActiveMatchByTeacher(teacherUniqueId: string): Observable<Match | null>;
|
|
217
|
-
getAllMatchesByTeacher(teacherUniqueId: string): Observable<Match[]>;
|
|
218
|
-
getAvailableMatchesByTeacher(teacherUniqueId: string): Observable<Match[]>;
|
|
219
|
-
findCoaches(studentUniqueId: string, request?: FindCoachesRequest): Observable<AvailableCoach[]>;
|
|
220
|
-
findCoachees(teacherUniqueId: string, request?: FindCoacheesRequest): Observable<AvailableCoachee[]>;
|
|
221
|
-
evaluateMatches(request: EvaluateMatchesRequest): Observable<MatchEvaluation[]>;
|
|
222
|
-
evaluateAvailabilities(request: EvaluateAvailabilitiesRequest): Observable<MatchEvaluation[]>;
|
|
223
|
-
listAttendance(params?: ListAttendanceParams): Observable<PageResult<Attendance>>;
|
|
224
|
-
getAttendance(uniqueId: string): Observable<Attendance>;
|
|
225
|
-
createAttendance(data: CreateAttendanceRequest): Observable<Attendance>;
|
|
226
|
-
updateAttendance(uniqueId: string, data: UpdateAttendanceRequest): Observable<Attendance>;
|
|
227
|
-
deleteAttendance(uniqueId: string): Observable<void>;
|
|
228
|
-
bulkCreateAttendance(data: BulkAttendanceRequest): Observable<Attendance[]>;
|
|
229
|
-
listAttendanceByLesson(lessonUniqueId: string, params?: ListAttendanceParams): Observable<PageResult<Attendance>>;
|
|
230
|
-
listAttendanceByStudent(studentUniqueId: string, params?: ListAttendanceParams): Observable<PageResult<Attendance>>;
|
|
231
|
-
listAttendanceByCourse(courseUniqueId: string, params?: ListAttendanceParams): Observable<PageResult<Attendance>>;
|
|
232
|
-
getStudentAttendanceStats(studentUniqueId: string, courseUniqueId?: string): Observable<AttendanceStats>;
|
|
233
|
-
verifyAttendance(uniqueId: string): Observable<Attendance>;
|
|
234
|
-
listNotes(params?: ListNotesParams): Observable<PageResult<Note>>;
|
|
235
|
-
getNote(uniqueId: string): Observable<Note>;
|
|
236
|
-
createNote(data: CreateNoteRequest): Observable<Note>;
|
|
237
|
-
updateNote(uniqueId: string, data: UpdateNoteRequest): Observable<Note>;
|
|
238
|
-
deleteNote(uniqueId: string): Observable<void>;
|
|
239
|
-
listNotesByAuthor(authorUniqueId: string, params?: ListNotesParams): Observable<PageResult<Note>>;
|
|
240
|
-
listNotesByTarget(targetUniqueId: string, targetType: string, params?: ListNotesParams): Observable<PageResult<Note>>;
|
|
241
|
-
listNotesByCourse(courseUniqueId: string, params?: ListNotesParams): Observable<PageResult<Note>>;
|
|
242
|
-
listNotesByLesson(lessonUniqueId: string, params?: ListNotesParams): Observable<PageResult<Note>>;
|
|
243
|
-
pinNote(uniqueId: string): Observable<Note>;
|
|
244
|
-
unpinNote(uniqueId: string): Observable<Note>;
|
|
245
|
-
getNoteReplies(uniqueId: string): Observable<Note[]>;
|
|
246
|
-
/**
|
|
247
|
-
* Access the underlying block for advanced operations
|
|
248
|
-
* Use this when you need access to services not wrapped by this Angular service
|
|
249
|
-
*/
|
|
250
|
-
get universityBlock(): UniversityBlock;
|
|
251
|
-
}
|
|
252
|
-
//# sourceMappingURL=university.service.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"university.service.d.ts","sourceRoot":"","sources":["../../../../src/lib/university/university.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAQ,MAAM,MAAM,CAAC;AACxC,OAAO,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjE,OAAO,EAEL,KAAK,eAAe,EACpB,KAAK,qBAAqB,EAC1B,KAAK,MAAM,EACX,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,MAAM,EACX,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,UAAU,EACf,KAAK,aAAa,EAClB,KAAK,+BAA+B,EACpC,KAAK,qBAAqB,EAC1B,KAAK,UAAU,EACf,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,UAAU,EACf,KAAK,uBAAuB,EAC5B,KA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,CAAC,IAAI,CAAC;IAIvE,UAAU,CAAC,QAAQ,EAAE,MAAM,GAAG,UAAU,CAAC,IAAI,CAAC;IAI9C,iBAAiB,CAAC,cAAc,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,eAAe,GAAG,UAAU,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;IAIjG,iBAAiB,CAAC,cAAc,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,eAAe,GAAG,UAAU,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;IAIrH,iBAAiB,CAAC,cAAc,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,eAAe,GAAG,UAAU,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;IAIjG,iBAAiB,CAAC,cAAc,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,eAAe,GAAG,UAAU,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;IAIjG,OAAO,CAAC,QAAQ,EAAE,MAAM,GAAG,UAAU,CAAC,IAAI,CAAC;IAI3C,SAAS,CAAC,QAAQ,EAAE,MAAM,GAAG,UAAU,CAAC,IAAI,CAAC;IAI7C,cAAc,CAAC,QAAQ,EAAE,MAAM,GAAG,UAAU,CAAC,IAAI,EAAE,CAAC;IAQpD;;;OAGG;IACH,IAAI,eAAe,IAAI,eAAe,CAErC;CACF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/wallet/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC"}
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import type { Transport, PageResult } from '@23blocks/contracts';
|
|
3
|
-
import { type WalletBlock, type WalletBlockConfig, type Wallet, type CreateWalletRequest, type UpdateWalletRequest, type ListWalletsParams, type CreditWalletRequest, type DebitWalletRequest, type Transaction, type ListTransactionsParams, type AuthorizationCode, type CreateAuthorizationCodeRequest, type ValidateAuthorizationCodeRequest, type UseAuthorizationCodeRequest, type ListAuthorizationCodesParams, type TransactionWebhookRequest, type TransactionWebhookResponse, type TransferWalletRequest, type ValidateWalletRequest, type ValidateWalletResponse, type WalletContent, type StoreWalletContentRequest } from '@23blocks/block-wallet';
|
|
4
|
-
/**
|
|
5
|
-
* Angular service wrapping the Wallet block.
|
|
6
|
-
* Converts Promise-based APIs to RxJS Observables.
|
|
7
|
-
*
|
|
8
|
-
* @example
|
|
9
|
-
* ```typescript
|
|
10
|
-
* @Component({...})
|
|
11
|
-
* export class WalletComponent {
|
|
12
|
-
* constructor(private wallet: WalletService) {}
|
|
13
|
-
*
|
|
14
|
-
* createWallet(userUniqueId: string) {
|
|
15
|
-
* this.wallet.createWallet({ userUniqueId }).subscribe({
|
|
16
|
-
* next: (wallet) => console.log('Created:', wallet),
|
|
17
|
-
* error: (err) => console.error('Failed:', err),
|
|
18
|
-
* });
|
|
19
|
-
* }
|
|
20
|
-
* }
|
|
21
|
-
* ```
|
|
22
|
-
*/
|
|
23
|
-
export declare class WalletService {
|
|
24
|
-
private readonly block;
|
|
25
|
-
constructor(serviceTransport: Transport | null, legacyTransport: Transport | null, config: WalletBlockConfig);
|
|
26
|
-
/**
|
|
27
|
-
* Ensure the service is configured, throw helpful error if not
|
|
28
|
-
*/
|
|
29
|
-
private ensureConfigured;
|
|
30
|
-
listWallets(params?: ListWalletsParams): Observable<PageResult<Wallet>>;
|
|
31
|
-
getWallet(uniqueId: string): Observable<Wallet>;
|
|
32
|
-
getWalletByUser(userUniqueId: string): Observable<Wallet>;
|
|
33
|
-
createWallet(data: CreateWalletRequest): Observable<Wallet>;
|
|
34
|
-
updateWallet(uniqueId: string, data: UpdateWalletRequest): Observable<Wallet>;
|
|
35
|
-
creditWallet(uniqueId: string, data: CreditWalletRequest): Observable<Transaction>;
|
|
36
|
-
debitWallet(uniqueId: string, data: DebitWalletRequest): Observable<Transaction>;
|
|
37
|
-
getWalletBalance(uniqueId: string): Observable<{
|
|
38
|
-
balance: number;
|
|
39
|
-
currency: string;
|
|
40
|
-
}>;
|
|
41
|
-
getUserWallet(userUniqueId: string, walletCode: string): Observable<Wallet>;
|
|
42
|
-
validateWallet(data: ValidateWalletRequest): Observable<ValidateWalletResponse>;
|
|
43
|
-
transferWallet(userUniqueId: string, walletCode: string, data: TransferWalletRequest): Observable<Transaction>;
|
|
44
|
-
getWalletContent(userUniqueId: string, walletCode: string): Observable<WalletContent[]>;
|
|
45
|
-
storeWalletContent(userUniqueId: string, walletCode: string, data: StoreWalletContentRequest): Observable<WalletContent>;
|
|
46
|
-
listWalletTransactions(userUniqueId: string, walletCode: string): Observable<PageResult<Transaction>>;
|
|
47
|
-
listTransactions(params?: ListTransactionsParams): Observable<PageResult<Transaction>>;
|
|
48
|
-
getTransaction(uniqueId: string): Observable<Transaction>;
|
|
49
|
-
listTransactionsByWallet(walletUniqueId: string, params?: ListTransactionsParams): Observable<PageResult<Transaction>>;
|
|
50
|
-
listTransactionsByReference(referenceType: string, referenceUniqueId: string, params?: ListTransactionsParams): Observable<PageResult<Transaction>>;
|
|
51
|
-
listAuthorizationCodes(params?: ListAuthorizationCodesParams): Observable<PageResult<AuthorizationCode>>;
|
|
52
|
-
getAuthorizationCode(uniqueId: string): Observable<AuthorizationCode>;
|
|
53
|
-
createAuthorizationCode(data: CreateAuthorizationCodeRequest): Observable<AuthorizationCode>;
|
|
54
|
-
validateAuthorizationCode(data: ValidateAuthorizationCodeRequest): Observable<{
|
|
55
|
-
valid: boolean;
|
|
56
|
-
authorizationCode?: AuthorizationCode;
|
|
57
|
-
}>;
|
|
58
|
-
useAuthorizationCode(data: UseAuthorizationCodeRequest): Observable<Transaction>;
|
|
59
|
-
invalidateAuthorizationCode(uniqueId: string): Observable<AuthorizationCode>;
|
|
60
|
-
/**
|
|
61
|
-
* Process an incoming transaction webhook from an external payment provider.
|
|
62
|
-
* This endpoint is used to record transactions initiated by external systems.
|
|
63
|
-
*/
|
|
64
|
-
processTransactionWebhook(companyUrlId: string, walletCode: string, data: TransactionWebhookRequest): Observable<TransactionWebhookResponse>;
|
|
65
|
-
/**
|
|
66
|
-
* Access the underlying block for advanced operations
|
|
67
|
-
* Use this when you need access to services not wrapped by this Angular service
|
|
68
|
-
*/
|
|
69
|
-
get walletBlock(): WalletBlock;
|
|
70
|
-
}
|
|
71
|
-
//# sourceMappingURL=wallet.service.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"wallet.service.d.ts","sourceRoot":"","sources":["../../../../src/lib/wallet/wallet.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAQ,MAAM,MAAM,CAAC;AACxC,OAAO,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjE,OAAO,EAEL,KAAK,WAAW,EAChB,KAAK,iBAAiB,EACtB,KAAK,MAAM,EACX,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACvB,KAAK,WAAW,EAChB,KAAK,sBAAsB,EAC3B,KAAK,iBAAiB,EACtB,KAAK,8BAA8B,EACnC,KAAK,gCAAgC,EACrC,KAAK,2BAA2B,EAChC,KAAK,4BAA4B,EACjC,KAAK,yBAAyB,EAC9B,KAAK,0BAA0B,EAC/B,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAC3B,KAAK,aAAa,EAClB,KAAK,yBAAyB,EAC/B,MAAM,wBAAwB,CAAC;AAGhC;;;;;;;;;;;;;;;;;;GAkBG;AACH,qBACa,aAAa;IACxB,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAqB;gBAGH,gBAAgB,EAAE,SAAS,GAAG,IAAI,EACzC,eAAe,EAAE,SAAS,GAAG,IAAI,EACzC,MAAM,EAAE,iBAAiB;IAMlD;;OAEG;IACH,OAA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