@ikonintegration/bccsa-program-api 2.0.0 → 2.0.1
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/Api.ts +170 -73
- package/dist/Api.d.ts +160 -72
- package/dist/Api.js +47 -41
- package/dist/Api.js.map +1 -1
- package/package.json +2 -2
package/Api.ts
CHANGED
|
@@ -17,14 +17,14 @@ export interface ErrorResponse {
|
|
|
17
17
|
errCode: string
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
export interface
|
|
20
|
+
export interface InputGi0Lhci0S7 {
|
|
21
21
|
/** @minLength 1 */
|
|
22
22
|
customerID: string
|
|
23
23
|
/** @minLength 1 */
|
|
24
24
|
name: string
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
export interface
|
|
27
|
+
export interface InputT7S2Ffm20G {
|
|
28
28
|
/** @minLength 1 */
|
|
29
29
|
customerID: string
|
|
30
30
|
/** @minLength 1 */
|
|
@@ -146,7 +146,7 @@ export interface VenueUpdateSchema {
|
|
|
146
146
|
*/
|
|
147
147
|
name: string
|
|
148
148
|
/** Venue address */
|
|
149
|
-
address
|
|
149
|
+
address?: {
|
|
150
150
|
/**
|
|
151
151
|
* Street address line 1
|
|
152
152
|
* @minLength 1
|
|
@@ -192,30 +192,65 @@ export interface InstructorRegionUpdateSchema {
|
|
|
192
192
|
regionIDs: string[]
|
|
193
193
|
}
|
|
194
194
|
|
|
195
|
-
export interface
|
|
195
|
+
export interface Input0Bwxjnyfvq {
|
|
196
196
|
startTime: string | number
|
|
197
197
|
endTime: string | number
|
|
198
198
|
expandSessions?: boolean
|
|
199
199
|
}
|
|
200
200
|
|
|
201
|
-
export interface
|
|
201
|
+
export interface Input1Srqkq778V {
|
|
202
|
+
/** @minLength 1 */
|
|
203
|
+
customerID: string
|
|
204
|
+
/** @minLength 1 */
|
|
205
|
+
userID: string
|
|
202
206
|
startTime: string | number
|
|
203
207
|
endTime: string | number
|
|
204
208
|
description?: string
|
|
205
209
|
}
|
|
206
210
|
|
|
207
|
-
export interface
|
|
211
|
+
export interface Input5U6Cac26Dt {
|
|
212
|
+
/** @minLength 1 */
|
|
213
|
+
customerID: string
|
|
214
|
+
/** @minLength 1 */
|
|
215
|
+
userID: string
|
|
208
216
|
startTime: string | number
|
|
209
217
|
endTime: string | number
|
|
210
218
|
description?: string
|
|
211
219
|
}
|
|
212
220
|
|
|
213
|
-
export interface
|
|
221
|
+
export interface InputDssliidtyi {
|
|
214
222
|
/** @minLength 1 */
|
|
215
223
|
calendarColor: string
|
|
216
224
|
}
|
|
217
225
|
|
|
226
|
+
export interface InputK4Pil7Tp6El {
|
|
227
|
+
createdBy?: string
|
|
228
|
+
/** @default 1787187914037 */
|
|
229
|
+
createdOn?: number
|
|
230
|
+
updatedBy?: string
|
|
231
|
+
updatedOn?: number
|
|
232
|
+
/** @default "clrCustomerCalendarSync" */
|
|
233
|
+
dbEntity?: string
|
|
234
|
+
customerID: string
|
|
235
|
+
providerID: string
|
|
236
|
+
syncProvider?: string
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
export interface InputG2Nfyegvqh {
|
|
240
|
+
createdBy?: string
|
|
241
|
+
/** @default 1787187914038 */
|
|
242
|
+
createdOn?: number
|
|
243
|
+
updatedBy?: string
|
|
244
|
+
updatedOn?: number
|
|
245
|
+
/** @default "clrCustomerCalendarSync" */
|
|
246
|
+
dbEntity?: string
|
|
247
|
+
customerID: string
|
|
248
|
+
providerID: string
|
|
249
|
+
syncProvider?: string
|
|
250
|
+
}
|
|
251
|
+
|
|
218
252
|
export interface SessionCourseTemplateCreateSchema {
|
|
253
|
+
id?: string | null
|
|
219
254
|
/**
|
|
220
255
|
* Tenant ID
|
|
221
256
|
* @minLength 1
|
|
@@ -259,6 +294,7 @@ export interface SessionCourseTemplateCreateSchema {
|
|
|
259
294
|
chargeDeferred?: boolean
|
|
260
295
|
checkGradeDelay?: number
|
|
261
296
|
courseMaterialProductID?: string | null
|
|
297
|
+
customerID?: string | null
|
|
262
298
|
isEligibleForNoCost?: boolean
|
|
263
299
|
cancelationPolicyID?: string | null
|
|
264
300
|
reschedulePolicyID?: string | null
|
|
@@ -301,6 +337,7 @@ export interface SessionCourseTemplateCreateSchema {
|
|
|
301
337
|
}
|
|
302
338
|
|
|
303
339
|
export interface SessionCourseTemplateUpdateSchema {
|
|
340
|
+
id?: string | null
|
|
304
341
|
/**
|
|
305
342
|
* Template name
|
|
306
343
|
* @minLength 1
|
|
@@ -334,6 +371,7 @@ export interface SessionCourseTemplateUpdateSchema {
|
|
|
334
371
|
chargeDeferred?: boolean
|
|
335
372
|
checkGradeDelay?: number
|
|
336
373
|
courseMaterialProductID?: string | null
|
|
374
|
+
customerID?: string | null
|
|
337
375
|
isEligibleForNoCost?: boolean
|
|
338
376
|
cancelationPolicyID?: string | null
|
|
339
377
|
reschedulePolicyID?: string | null
|
|
@@ -486,11 +524,11 @@ export interface SessionCreateSchema {
|
|
|
486
524
|
dbEntity?: string | null
|
|
487
525
|
startDate: (string | number)[]
|
|
488
526
|
endDate: (string | number)[]
|
|
489
|
-
onlineCourseLabel?: string
|
|
490
|
-
onlineCourseID?: string
|
|
527
|
+
onlineCourseLabel?: (string | null)[]
|
|
528
|
+
onlineCourseID?: (string | null)[]
|
|
491
529
|
onlineGradeID?: any[]
|
|
492
530
|
onlineQuizID?: any[]
|
|
493
|
-
onlineScoreGradeID?: string
|
|
531
|
+
onlineScoreGradeID?: (string | null)[]
|
|
494
532
|
enrolmentCount?: number
|
|
495
533
|
enrolmentReservedCount?: number
|
|
496
534
|
charges?: any
|
|
@@ -592,11 +630,11 @@ export interface SessionUpdateSchema {
|
|
|
592
630
|
dbEntity?: string | null
|
|
593
631
|
startDate: (string | number)[]
|
|
594
632
|
endDate: (string | number)[]
|
|
595
|
-
onlineCourseLabel?: string
|
|
596
|
-
onlineCourseID?: string
|
|
633
|
+
onlineCourseLabel?: (string | null)[]
|
|
634
|
+
onlineCourseID?: (string | null)[]
|
|
597
635
|
onlineGradeID?: any[]
|
|
598
636
|
onlineQuizID?: any[]
|
|
599
|
-
onlineScoreGradeID?: string
|
|
637
|
+
onlineScoreGradeID?: (string | null)[]
|
|
600
638
|
enrolmentCount?: number
|
|
601
639
|
enrolmentReservedCount?: number
|
|
602
640
|
charges?: any
|
|
@@ -617,17 +655,17 @@ export interface SessionDuplicateSchema {
|
|
|
617
655
|
newSessionDates: number[]
|
|
618
656
|
}
|
|
619
657
|
|
|
620
|
-
export interface
|
|
621
|
-
attendanceStatus:
|
|
658
|
+
export interface Input71F35Oj5Sv {
|
|
659
|
+
attendanceStatus: Input71F35Oj5SvAttendanceStatusEnum
|
|
622
660
|
additionalNotes?: string | null
|
|
623
661
|
}
|
|
624
662
|
|
|
625
|
-
export interface
|
|
626
|
-
attendanceStatus:
|
|
663
|
+
export interface InputMgedcinh82 {
|
|
664
|
+
attendanceStatus: InputMgedcinh82AttendanceStatusEnum
|
|
627
665
|
additionalNotes?: string | null
|
|
628
666
|
}
|
|
629
667
|
|
|
630
|
-
export interface
|
|
668
|
+
export interface InputBzj6A4Mn8S {
|
|
631
669
|
/** @minLength 1 */
|
|
632
670
|
ticketID: string
|
|
633
671
|
/** @minLength 1 */
|
|
@@ -637,14 +675,14 @@ export interface InputKdcf6Vev2F {
|
|
|
637
675
|
[key: string]: any
|
|
638
676
|
}
|
|
639
677
|
|
|
640
|
-
export interface
|
|
678
|
+
export interface InputZx8S769Zqt {
|
|
641
679
|
materialShippingInfo?: Record<string, any>
|
|
642
680
|
[key: string]: any
|
|
643
681
|
}
|
|
644
682
|
|
|
645
|
-
export interface
|
|
683
|
+
export interface Input7O5Np9Bgno {
|
|
646
684
|
amount: number
|
|
647
|
-
chargeResult:
|
|
685
|
+
chargeResult: Input7O5Np9BgnoChargeResultEnum
|
|
648
686
|
description?: string | null
|
|
649
687
|
/** @minLength 1 */
|
|
650
688
|
paymentProvider: string
|
|
@@ -652,31 +690,84 @@ export interface Input56A08Qop2C {
|
|
|
652
690
|
timestamp: number
|
|
653
691
|
}
|
|
654
692
|
|
|
655
|
-
export interface
|
|
656
|
-
|
|
693
|
+
export interface InputDdxhv25Ss8 {
|
|
694
|
+
createdBy?: string
|
|
695
|
+
/** @default 1787187914075 */
|
|
696
|
+
createdOn?: number
|
|
697
|
+
updatedBy?: string
|
|
698
|
+
updatedOn?: number
|
|
699
|
+
/** @default "clrSessionResult" */
|
|
700
|
+
dbEntity?: string
|
|
701
|
+
id?: string
|
|
702
|
+
sessionID: string
|
|
703
|
+
customerID: string
|
|
704
|
+
tenantID: string
|
|
705
|
+
courseID?: string
|
|
706
|
+
userID: string
|
|
707
|
+
externalID: string
|
|
708
|
+
resultStatus: InputDdxhv25Ss8ResultStatusEnum
|
|
657
709
|
resultNotes?: string | null
|
|
658
710
|
resultGrade?: number
|
|
711
|
+
resultDate?: number
|
|
712
|
+
isPublished?: boolean
|
|
713
|
+
isManuallyPublished?: boolean
|
|
659
714
|
retainAcessToCourse?: boolean
|
|
660
715
|
resultOverrideDate?: number
|
|
661
|
-
|
|
716
|
+
externalResult?: any
|
|
662
717
|
orgID?: string | null
|
|
663
718
|
employerName?: string | null
|
|
719
|
+
onlineCourseLabelItem?: string
|
|
720
|
+
onlineCourseIDItem?: string
|
|
721
|
+
onlineGradeIDItem?: any
|
|
722
|
+
onlineScoreGradeIDItem?: any
|
|
723
|
+
onlineQuizIDItem?: any
|
|
724
|
+
checkGradeDelayItem?: any
|
|
664
725
|
}
|
|
665
726
|
|
|
666
|
-
export interface
|
|
667
|
-
resultStatus:
|
|
668
|
-
resultNotes?: string |
|
|
727
|
+
export interface InputYzz7Hv93Fz {
|
|
728
|
+
resultStatus: InputYzz7Hv93FzResultStatusEnum
|
|
729
|
+
resultNotes?: string | number
|
|
669
730
|
resultGrade?: number
|
|
731
|
+
resultDate?: number
|
|
670
732
|
retainAcessToCourse?: boolean
|
|
671
733
|
resultOverrideDate?: number
|
|
672
|
-
isManuallyPublished?: boolean
|
|
673
|
-
orgID?: string | null
|
|
674
|
-
employerName?: string | null
|
|
675
734
|
}
|
|
676
735
|
|
|
677
736
|
export interface SessionInstructorSchema {
|
|
737
|
+
/**
|
|
738
|
+
* Instructor assignment ID
|
|
739
|
+
* @minLength 1
|
|
740
|
+
*/
|
|
741
|
+
id?: string
|
|
742
|
+
/**
|
|
743
|
+
* Session ID
|
|
744
|
+
* @minLength 1
|
|
745
|
+
*/
|
|
746
|
+
sessionID: string
|
|
747
|
+
/**
|
|
748
|
+
* Customer ID
|
|
749
|
+
* @minLength 1
|
|
750
|
+
*/
|
|
751
|
+
customerID: string
|
|
752
|
+
/**
|
|
753
|
+
* Tenant ID
|
|
754
|
+
* @minLength 1
|
|
755
|
+
*/
|
|
756
|
+
tenantID: string
|
|
757
|
+
/**
|
|
758
|
+
* Course ID
|
|
759
|
+
* @minLength 1
|
|
760
|
+
*/
|
|
761
|
+
courseID?: string
|
|
762
|
+
/**
|
|
763
|
+
* User ID
|
|
764
|
+
* @minLength 1
|
|
765
|
+
*/
|
|
766
|
+
userID: string
|
|
678
767
|
/** Instructor type */
|
|
679
768
|
instructorType: SessionInstructorSchemaInstructorTypeEnum
|
|
769
|
+
/** Instructor assignment start time (timestamp) */
|
|
770
|
+
startTime?: number
|
|
680
771
|
}
|
|
681
772
|
|
|
682
773
|
export interface SessionsInstructorSetSchema {
|
|
@@ -686,7 +777,7 @@ export interface SessionsInstructorSetSchema {
|
|
|
686
777
|
instructorType: SessionsInstructorSetSchemaInstructorTypeEnum
|
|
687
778
|
}
|
|
688
779
|
|
|
689
|
-
export interface
|
|
780
|
+
export interface Input7Cjmbhs07Z {
|
|
690
781
|
activationCode?: string | null
|
|
691
782
|
/** @minLength 1 */
|
|
692
783
|
email: string
|
|
@@ -695,7 +786,7 @@ export interface InputW0Gt14Iief {
|
|
|
695
786
|
maxUsage: number
|
|
696
787
|
}
|
|
697
788
|
|
|
698
|
-
export interface
|
|
789
|
+
export interface InputFbvybobhpoh {
|
|
699
790
|
useCount?: any
|
|
700
791
|
maxUsage: number
|
|
701
792
|
}
|
|
@@ -774,20 +865,14 @@ export interface SessionResultReportSchema {
|
|
|
774
865
|
|
|
775
866
|
export interface SessionResultsReportSchema {
|
|
776
867
|
filters: {
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
* @minLength 1
|
|
780
|
-
*/
|
|
781
|
-
dateFrom: string
|
|
782
|
-
/**
|
|
783
|
-
* End date
|
|
784
|
-
* @minLength 1
|
|
785
|
-
*/
|
|
786
|
-
dateTo: string
|
|
868
|
+
dateFrom: string | number
|
|
869
|
+
dateTo: string | number
|
|
787
870
|
/** Optional course IDs filter */
|
|
788
871
|
courseIDs?: any
|
|
789
872
|
/** Optional pagination from */
|
|
790
873
|
from?: any
|
|
874
|
+
/** Tenant ID */
|
|
875
|
+
tenantID?: string | null
|
|
791
876
|
}
|
|
792
877
|
}
|
|
793
878
|
|
|
@@ -809,9 +894,15 @@ export interface SessionListReportSchema {
|
|
|
809
894
|
instructorID?: string | null
|
|
810
895
|
/** Optional state filter */
|
|
811
896
|
state?: string | null
|
|
897
|
+
/** Tenant ID */
|
|
898
|
+
tenantID?: string | null
|
|
812
899
|
}
|
|
813
900
|
}
|
|
814
901
|
|
|
902
|
+
export interface InputMni27Dyuar {
|
|
903
|
+
updateShippingInfo?: boolean
|
|
904
|
+
}
|
|
905
|
+
|
|
815
906
|
export enum SessionCourseTemplateCreateSchemaReleaseTypeEnum {
|
|
816
907
|
NONE = 'NONE',
|
|
817
908
|
AUTO = 'AUTO',
|
|
@@ -900,30 +991,30 @@ export enum SessionUpdateSchemaTypeEnum {
|
|
|
900
991
|
ONLINE = 'ONLINE',
|
|
901
992
|
}
|
|
902
993
|
|
|
903
|
-
export enum
|
|
994
|
+
export enum Input71F35Oj5SvAttendanceStatusEnum {
|
|
904
995
|
INCOMPLETE = 'INCOMPLETE',
|
|
905
996
|
NO_SHOW = 'NO_SHOW',
|
|
906
997
|
ATTENDED = 'ATTENDED',
|
|
907
998
|
}
|
|
908
999
|
|
|
909
|
-
export enum
|
|
1000
|
+
export enum InputMgedcinh82AttendanceStatusEnum {
|
|
910
1001
|
INCOMPLETE = 'INCOMPLETE',
|
|
911
1002
|
NO_SHOW = 'NO_SHOW',
|
|
912
1003
|
ATTENDED = 'ATTENDED',
|
|
913
1004
|
}
|
|
914
1005
|
|
|
915
|
-
export enum
|
|
1006
|
+
export enum Input7O5Np9BgnoChargeResultEnum {
|
|
916
1007
|
SUCCESS = 'SUCCESS',
|
|
917
1008
|
FAIL = 'FAIL',
|
|
918
1009
|
}
|
|
919
1010
|
|
|
920
|
-
export enum
|
|
1011
|
+
export enum InputDdxhv25Ss8ResultStatusEnum {
|
|
921
1012
|
INCOMPLETE = 'INCOMPLETE',
|
|
922
1013
|
FAIL = 'FAIL',
|
|
923
1014
|
PASS = 'PASS',
|
|
924
1015
|
}
|
|
925
1016
|
|
|
926
|
-
export enum
|
|
1017
|
+
export enum InputYzz7Hv93FzResultStatusEnum {
|
|
927
1018
|
INCOMPLETE = 'INCOMPLETE',
|
|
928
1019
|
FAIL = 'FAIL',
|
|
929
1020
|
PASS = 'PASS',
|
|
@@ -1563,7 +1654,7 @@ export class HttpClient<SecurityDataType = unknown> {
|
|
|
1563
1654
|
|
|
1564
1655
|
/**
|
|
1565
1656
|
* @title Classroom Module API
|
|
1566
|
-
* @version 2.0.
|
|
1657
|
+
* @version 2.0.1
|
|
1567
1658
|
* @baseUrl http://localhost:8080
|
|
1568
1659
|
* @contact Ikon Integration <ikon@ikonintegration.com> (http://example.com)
|
|
1569
1660
|
*/
|
|
@@ -1595,7 +1686,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
1595
1686
|
* @request POST:/region/{regionID}
|
|
1596
1687
|
* @secure
|
|
1597
1688
|
*/
|
|
1598
|
-
createRegion: (regionId: string, data:
|
|
1689
|
+
createRegion: (regionId: string, data: InputGi0Lhci0S7, params: RequestParams = {}) =>
|
|
1599
1690
|
this.request<CreateRegionData, CreateRegionError>({
|
|
1600
1691
|
path: `/region/${regionId}`,
|
|
1601
1692
|
method: 'POST',
|
|
@@ -1614,7 +1705,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
1614
1705
|
* @request PUT:/region/{regionID}
|
|
1615
1706
|
* @secure
|
|
1616
1707
|
*/
|
|
1617
|
-
updateRegion: (regionId: string, data:
|
|
1708
|
+
updateRegion: (regionId: string, data: InputT7S2Ffm20G, params: RequestParams = {}) =>
|
|
1618
1709
|
this.request<UpdateRegionData, UpdateRegionError>({
|
|
1619
1710
|
path: `/region/${regionId}`,
|
|
1620
1711
|
method: 'PUT',
|
|
@@ -1995,7 +2086,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
1995
2086
|
* @request POST:/instructor/{instructorID}/events
|
|
1996
2087
|
* @secure
|
|
1997
2088
|
*/
|
|
1998
|
-
listEvents: (instructorId: string, data:
|
|
2089
|
+
listEvents: (instructorId: string, data: Input0Bwxjnyfvq, params: RequestParams = {}) =>
|
|
1999
2090
|
this.request<ListEventsData, ListEventsError>({
|
|
2000
2091
|
path: `/instructor/${instructorId}/events`,
|
|
2001
2092
|
method: 'POST',
|
|
@@ -2034,7 +2125,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
2034
2125
|
createAvailabilityEvent: (
|
|
2035
2126
|
instructorId: string,
|
|
2036
2127
|
startTime: string,
|
|
2037
|
-
data:
|
|
2128
|
+
data: Input1Srqkq778V,
|
|
2038
2129
|
params: RequestParams = {}
|
|
2039
2130
|
) =>
|
|
2040
2131
|
this.request<CreateAvailabilityEventData, CreateAvailabilityEventError>({
|
|
@@ -2058,7 +2149,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
2058
2149
|
updateAvailabilityEvent: (
|
|
2059
2150
|
instructorId: string,
|
|
2060
2151
|
startTime: string,
|
|
2061
|
-
data:
|
|
2152
|
+
data: Input5U6Cac26Dt,
|
|
2062
2153
|
params: RequestParams = {}
|
|
2063
2154
|
) =>
|
|
2064
2155
|
this.request<UpdateAvailabilityEventData, UpdateAvailabilityEventError>({
|
|
@@ -2217,7 +2308,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
2217
2308
|
* @request PUT:/course/{courseID}/calendar
|
|
2218
2309
|
* @secure
|
|
2219
2310
|
*/
|
|
2220
|
-
updateCalendar: (courseId: string, data:
|
|
2311
|
+
updateCalendar: (courseId: string, data: InputDssliidtyi, params: RequestParams = {}) =>
|
|
2221
2312
|
this.request<UpdateCalendarData, UpdateCalendarError>({
|
|
2222
2313
|
path: `/course/${courseId}/calendar`,
|
|
2223
2314
|
method: 'PUT',
|
|
@@ -2305,11 +2396,13 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
2305
2396
|
* @request POST:/courses/calendarSync/{providerID}
|
|
2306
2397
|
* @secure
|
|
2307
2398
|
*/
|
|
2308
|
-
createCalendarSync: (providerId: string, params: RequestParams = {}) =>
|
|
2399
|
+
createCalendarSync: (providerId: string, data: InputK4Pil7Tp6El, params: RequestParams = {}) =>
|
|
2309
2400
|
this.request<CreateCalendarSyncResult, CreateCalendarSyncFail>({
|
|
2310
2401
|
path: `/courses/calendarSync/${providerId}`,
|
|
2311
2402
|
method: 'POST',
|
|
2403
|
+
body: data,
|
|
2312
2404
|
secure: true,
|
|
2405
|
+
type: ContentType.Json,
|
|
2313
2406
|
...params,
|
|
2314
2407
|
}),
|
|
2315
2408
|
|
|
@@ -2322,11 +2415,13 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
2322
2415
|
* @request PUT:/courses/calendarSync/{providerID}
|
|
2323
2416
|
* @secure
|
|
2324
2417
|
*/
|
|
2325
|
-
updateCalendarSync: (providerId: string, params: RequestParams = {}) =>
|
|
2418
|
+
updateCalendarSync: (providerId: string, data: InputG2Nfyegvqh, params: RequestParams = {}) =>
|
|
2326
2419
|
this.request<UpdateCalendarSyncResult, UpdateCalendarSyncFail>({
|
|
2327
2420
|
path: `/courses/calendarSync/${providerId}`,
|
|
2328
2421
|
method: 'PUT',
|
|
2422
|
+
body: data,
|
|
2329
2423
|
secure: true,
|
|
2424
|
+
type: ContentType.Json,
|
|
2330
2425
|
...params,
|
|
2331
2426
|
}),
|
|
2332
2427
|
|
|
@@ -2874,7 +2969,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
2874
2969
|
sessionId: string,
|
|
2875
2970
|
attendanceId: string,
|
|
2876
2971
|
externalId: string,
|
|
2877
|
-
data:
|
|
2972
|
+
data: Input71F35Oj5Sv,
|
|
2878
2973
|
params: RequestParams = {}
|
|
2879
2974
|
) =>
|
|
2880
2975
|
this.request<CreateAttendanceData, CreateAttendanceError>({
|
|
@@ -2899,7 +2994,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
2899
2994
|
sessionId: string,
|
|
2900
2995
|
attendanceId: string,
|
|
2901
2996
|
externalId: string,
|
|
2902
|
-
data:
|
|
2997
|
+
data: InputMgedcinh82,
|
|
2903
2998
|
params: RequestParams = {}
|
|
2904
2999
|
) =>
|
|
2905
3000
|
this.request<UpdateAttendanceData, UpdateAttendanceError>({
|
|
@@ -2958,7 +3053,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
2958
3053
|
sessionId: string,
|
|
2959
3054
|
enrolmentId: string,
|
|
2960
3055
|
externalId: string,
|
|
2961
|
-
data:
|
|
3056
|
+
data: InputBzj6A4Mn8S,
|
|
2962
3057
|
params: RequestParams = {}
|
|
2963
3058
|
) =>
|
|
2964
3059
|
this.request<CreateEnrolmentData, CreateEnrolmentError>({
|
|
@@ -2983,7 +3078,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
2983
3078
|
sessionId: string,
|
|
2984
3079
|
enrolmentId: string,
|
|
2985
3080
|
externalId: string,
|
|
2986
|
-
data:
|
|
3081
|
+
data: InputZx8S769Zqt,
|
|
2987
3082
|
params: RequestParams = {}
|
|
2988
3083
|
) =>
|
|
2989
3084
|
this.request<UpdateEnrolmentData, UpdateEnrolmentError>({
|
|
@@ -3117,7 +3212,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
3117
3212
|
sessionId: string,
|
|
3118
3213
|
enrolmentId: string,
|
|
3119
3214
|
externalId: string,
|
|
3120
|
-
data:
|
|
3215
|
+
data: Input7O5Np9Bgno,
|
|
3121
3216
|
params: RequestParams = {}
|
|
3122
3217
|
) =>
|
|
3123
3218
|
this.request<CreateEnrolmentChargeData, CreateEnrolmentChargeError>({
|
|
@@ -3159,7 +3254,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
3159
3254
|
sessionId: string,
|
|
3160
3255
|
resultId: string,
|
|
3161
3256
|
externalId: string,
|
|
3162
|
-
data:
|
|
3257
|
+
data: InputDdxhv25Ss8,
|
|
3163
3258
|
params: RequestParams = {}
|
|
3164
3259
|
) =>
|
|
3165
3260
|
this.request<CreateResultData, CreateResultError>({
|
|
@@ -3184,7 +3279,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
3184
3279
|
sessionId: string,
|
|
3185
3280
|
resultId: string,
|
|
3186
3281
|
externalId: string,
|
|
3187
|
-
data:
|
|
3282
|
+
data: InputYzz7Hv93Fz,
|
|
3188
3283
|
params: RequestParams = {}
|
|
3189
3284
|
) =>
|
|
3190
3285
|
this.request<UpdateResultData, UpdateResultError>({
|
|
@@ -3338,7 +3433,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
3338
3433
|
* @request POST:/session/{sessionID}/invitation/{invitationID}
|
|
3339
3434
|
* @secure
|
|
3340
3435
|
*/
|
|
3341
|
-
createInvitation: (sessionId: string, invitationId: string, data:
|
|
3436
|
+
createInvitation: (sessionId: string, invitationId: string, data: Input7Cjmbhs07Z, params: RequestParams = {}) =>
|
|
3342
3437
|
this.request<CreateInvitationData, CreateInvitationError>({
|
|
3343
3438
|
path: `/session/${sessionId}/invitation/${invitationId}`,
|
|
3344
3439
|
method: 'POST',
|
|
@@ -3357,7 +3452,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
3357
3452
|
* @request PUT:/session/{sessionID}/invitation/{invitationID}
|
|
3358
3453
|
* @secure
|
|
3359
3454
|
*/
|
|
3360
|
-
updateInvitation: (sessionId: string, invitationId: string, data:
|
|
3455
|
+
updateInvitation: (sessionId: string, invitationId: string, data: InputFbvybobhpoh, params: RequestParams = {}) =>
|
|
3361
3456
|
this.request<UpdateInvitationData, UpdateInvitationError>({
|
|
3362
3457
|
path: `/session/${sessionId}/invitation/${invitationId}`,
|
|
3363
3458
|
method: 'PUT',
|
|
@@ -3551,31 +3646,31 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
3551
3646
|
* @tags Session
|
|
3552
3647
|
* @name ListEvents
|
|
3553
3648
|
* @summary List Session Events
|
|
3554
|
-
* @request POST:/session/events/{startTime}/{endTime}
|
|
3649
|
+
* @request POST:/session/events/{startTime}/{endTime}/{courseID}
|
|
3555
3650
|
* @secure
|
|
3556
3651
|
*/
|
|
3557
|
-
listEvents: (startTime: string, endTime: string, params: RequestParams = {}) =>
|
|
3652
|
+
listEvents: (startTime: string, endTime: string, courseId: string, params: RequestParams = {}) =>
|
|
3558
3653
|
this.request<ListEventsResult, ListEventsFail>({
|
|
3559
|
-
path: `/session/events/${startTime}/${endTime}`,
|
|
3654
|
+
path: `/session/events/${startTime}/${endTime}/${courseId}`,
|
|
3560
3655
|
method: 'POST',
|
|
3561
3656
|
secure: true,
|
|
3562
3657
|
...params,
|
|
3563
3658
|
}),
|
|
3564
3659
|
|
|
3565
3660
|
/**
|
|
3566
|
-
* @description List session events within a time range
|
|
3661
|
+
* @description List session events within a time range
|
|
3567
3662
|
*
|
|
3568
3663
|
* @tags Session
|
|
3569
3664
|
* @name ListEvents2
|
|
3570
|
-
* @summary List Session Events
|
|
3571
|
-
* @request POST:/session/events/{startTime}/{endTime}
|
|
3665
|
+
* @summary List Session Events
|
|
3666
|
+
* @request POST:/session/events/{startTime}/{endTime}
|
|
3572
3667
|
* @originalName listEvents
|
|
3573
3668
|
* @duplicate
|
|
3574
3669
|
* @secure
|
|
3575
3670
|
*/
|
|
3576
3671
|
listEvents2: (startTime: string, endTime: string, courseId: string, params: RequestParams = {}) =>
|
|
3577
3672
|
this.request<ListEvents2Data, ListEvents2Error>({
|
|
3578
|
-
path: `/session/events/${startTime}/${endTime}
|
|
3673
|
+
path: `/session/events/${startTime}/${endTime}`,
|
|
3579
3674
|
method: 'POST',
|
|
3580
3675
|
secure: true,
|
|
3581
3676
|
...params,
|
|
@@ -3741,11 +3836,13 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
3741
3836
|
* @request POST:/reports/sessionShippingManifest/{sessionID}
|
|
3742
3837
|
* @secure
|
|
3743
3838
|
*/
|
|
3744
|
-
createSessionShippingManifest: (sessionId: string, params: RequestParams = {}) =>
|
|
3839
|
+
createSessionShippingManifest: (sessionId: string, data: InputMni27Dyuar, params: RequestParams = {}) =>
|
|
3745
3840
|
this.request<CreateSessionShippingManifestData, CreateSessionShippingManifestError>({
|
|
3746
3841
|
path: `/reports/sessionShippingManifest/${sessionId}`,
|
|
3747
3842
|
method: 'POST',
|
|
3843
|
+
body: data,
|
|
3748
3844
|
secure: true,
|
|
3845
|
+
type: ContentType.Json,
|
|
3749
3846
|
...params,
|
|
3750
3847
|
}),
|
|
3751
3848
|
}
|