@ikonintegration/bccsa-program-api 2.0.0 → 2.0.2
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 +148 -76
- package/dist/Api.d.ts +137 -74
- 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 InputRyn8Fqi8Q8 {
|
|
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 InputA37Dqilje2F {
|
|
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 InputOb05Eq1Siz {
|
|
196
196
|
startTime: string | number
|
|
197
197
|
endTime: string | number
|
|
198
198
|
expandSessions?: boolean
|
|
199
199
|
}
|
|
200
200
|
|
|
201
|
-
export interface
|
|
201
|
+
export interface InputRvfjoz2Va7H {
|
|
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 InputSnnpdh9Ntel {
|
|
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 Input37Rcsdcvr4 {
|
|
214
222
|
/** @minLength 1 */
|
|
215
223
|
calendarColor: string
|
|
216
224
|
}
|
|
217
225
|
|
|
226
|
+
export interface InputS3N0Gqu4Tn {
|
|
227
|
+
createdBy?: string
|
|
228
|
+
/** @default 1787190907967 */
|
|
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 InputJklpdji565 {
|
|
240
|
+
createdBy?: string
|
|
241
|
+
/** @default 1787190907967 */
|
|
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 InputFqn05Tb1Yv {
|
|
659
|
+
attendanceStatus: InputFqn05Tb1YvAttendanceStatusEnum
|
|
622
660
|
additionalNotes?: string | null
|
|
623
661
|
}
|
|
624
662
|
|
|
625
|
-
export interface
|
|
626
|
-
attendanceStatus:
|
|
663
|
+
export interface Input91Decqoqn8 {
|
|
664
|
+
attendanceStatus: Input91Decqoqn8AttendanceStatusEnum
|
|
627
665
|
additionalNotes?: string | null
|
|
628
666
|
}
|
|
629
667
|
|
|
630
|
-
export interface
|
|
668
|
+
export interface InputW0G2O8Cuvdl {
|
|
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 InputSclutmxuej {
|
|
641
679
|
materialShippingInfo?: Record<string, any>
|
|
642
680
|
[key: string]: any
|
|
643
681
|
}
|
|
644
682
|
|
|
645
|
-
export interface
|
|
683
|
+
export interface InputZsatdyx4Yb {
|
|
646
684
|
amount: number
|
|
647
|
-
chargeResult:
|
|
685
|
+
chargeResult: InputZsatdyx4YbChargeResultEnum
|
|
648
686
|
description?: string | null
|
|
649
687
|
/** @minLength 1 */
|
|
650
688
|
paymentProvider: string
|
|
@@ -652,31 +690,59 @@ export interface Input56A08Qop2C {
|
|
|
652
690
|
timestamp: number
|
|
653
691
|
}
|
|
654
692
|
|
|
655
|
-
export interface
|
|
656
|
-
resultStatus:
|
|
657
|
-
resultNotes?: string |
|
|
693
|
+
export interface InputO95Jklccli {
|
|
694
|
+
resultStatus: InputO95JklccliResultStatusEnum
|
|
695
|
+
resultNotes?: string | number
|
|
658
696
|
resultGrade?: number
|
|
697
|
+
resultDate?: number
|
|
659
698
|
retainAcessToCourse?: boolean
|
|
660
699
|
resultOverrideDate?: number
|
|
661
|
-
isManuallyPublished?: boolean
|
|
662
|
-
orgID?: string | null
|
|
663
|
-
employerName?: string | null
|
|
664
700
|
}
|
|
665
701
|
|
|
666
|
-
export interface
|
|
667
|
-
resultStatus:
|
|
668
|
-
resultNotes?: string |
|
|
702
|
+
export interface InputDyh11Pfxop {
|
|
703
|
+
resultStatus: InputDyh11PfxopResultStatusEnum
|
|
704
|
+
resultNotes?: string | number
|
|
669
705
|
resultGrade?: number
|
|
706
|
+
resultDate?: number
|
|
670
707
|
retainAcessToCourse?: boolean
|
|
671
708
|
resultOverrideDate?: number
|
|
672
|
-
isManuallyPublished?: boolean
|
|
673
|
-
orgID?: string | null
|
|
674
|
-
employerName?: string | null
|
|
675
709
|
}
|
|
676
710
|
|
|
677
711
|
export interface SessionInstructorSchema {
|
|
712
|
+
/**
|
|
713
|
+
* Instructor assignment ID
|
|
714
|
+
* @minLength 1
|
|
715
|
+
*/
|
|
716
|
+
id?: string
|
|
717
|
+
/**
|
|
718
|
+
* Session ID
|
|
719
|
+
* @minLength 1
|
|
720
|
+
*/
|
|
721
|
+
sessionID: string
|
|
722
|
+
/**
|
|
723
|
+
* Customer ID
|
|
724
|
+
* @minLength 1
|
|
725
|
+
*/
|
|
726
|
+
customerID: string
|
|
727
|
+
/**
|
|
728
|
+
* Tenant ID
|
|
729
|
+
* @minLength 1
|
|
730
|
+
*/
|
|
731
|
+
tenantID: string
|
|
732
|
+
/**
|
|
733
|
+
* Course ID
|
|
734
|
+
* @minLength 1
|
|
735
|
+
*/
|
|
736
|
+
courseID?: string
|
|
737
|
+
/**
|
|
738
|
+
* User ID
|
|
739
|
+
* @minLength 1
|
|
740
|
+
*/
|
|
741
|
+
userID: string
|
|
678
742
|
/** Instructor type */
|
|
679
743
|
instructorType: SessionInstructorSchemaInstructorTypeEnum
|
|
744
|
+
/** Instructor assignment start time (timestamp) */
|
|
745
|
+
startTime?: number
|
|
680
746
|
}
|
|
681
747
|
|
|
682
748
|
export interface SessionsInstructorSetSchema {
|
|
@@ -686,7 +752,7 @@ export interface SessionsInstructorSetSchema {
|
|
|
686
752
|
instructorType: SessionsInstructorSetSchemaInstructorTypeEnum
|
|
687
753
|
}
|
|
688
754
|
|
|
689
|
-
export interface
|
|
755
|
+
export interface Input1Qxi23Thcx {
|
|
690
756
|
activationCode?: string | null
|
|
691
757
|
/** @minLength 1 */
|
|
692
758
|
email: string
|
|
@@ -695,7 +761,7 @@ export interface InputW0Gt14Iief {
|
|
|
695
761
|
maxUsage: number
|
|
696
762
|
}
|
|
697
763
|
|
|
698
|
-
export interface
|
|
764
|
+
export interface InputFa6Do54Syp {
|
|
699
765
|
useCount?: any
|
|
700
766
|
maxUsage: number
|
|
701
767
|
}
|
|
@@ -774,20 +840,14 @@ export interface SessionResultReportSchema {
|
|
|
774
840
|
|
|
775
841
|
export interface SessionResultsReportSchema {
|
|
776
842
|
filters: {
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
* @minLength 1
|
|
780
|
-
*/
|
|
781
|
-
dateFrom: string
|
|
782
|
-
/**
|
|
783
|
-
* End date
|
|
784
|
-
* @minLength 1
|
|
785
|
-
*/
|
|
786
|
-
dateTo: string
|
|
843
|
+
dateFrom: string | number
|
|
844
|
+
dateTo: string | number
|
|
787
845
|
/** Optional course IDs filter */
|
|
788
846
|
courseIDs?: any
|
|
789
847
|
/** Optional pagination from */
|
|
790
848
|
from?: any
|
|
849
|
+
/** Tenant ID */
|
|
850
|
+
tenantID?: string | null
|
|
791
851
|
}
|
|
792
852
|
}
|
|
793
853
|
|
|
@@ -809,9 +869,15 @@ export interface SessionListReportSchema {
|
|
|
809
869
|
instructorID?: string | null
|
|
810
870
|
/** Optional state filter */
|
|
811
871
|
state?: string | null
|
|
872
|
+
/** Tenant ID */
|
|
873
|
+
tenantID?: string | null
|
|
812
874
|
}
|
|
813
875
|
}
|
|
814
876
|
|
|
877
|
+
export interface Input72L9Nt3Sdc {
|
|
878
|
+
updateShippingInfo?: boolean
|
|
879
|
+
}
|
|
880
|
+
|
|
815
881
|
export enum SessionCourseTemplateCreateSchemaReleaseTypeEnum {
|
|
816
882
|
NONE = 'NONE',
|
|
817
883
|
AUTO = 'AUTO',
|
|
@@ -900,30 +966,30 @@ export enum SessionUpdateSchemaTypeEnum {
|
|
|
900
966
|
ONLINE = 'ONLINE',
|
|
901
967
|
}
|
|
902
968
|
|
|
903
|
-
export enum
|
|
969
|
+
export enum InputFqn05Tb1YvAttendanceStatusEnum {
|
|
904
970
|
INCOMPLETE = 'INCOMPLETE',
|
|
905
971
|
NO_SHOW = 'NO_SHOW',
|
|
906
972
|
ATTENDED = 'ATTENDED',
|
|
907
973
|
}
|
|
908
974
|
|
|
909
|
-
export enum
|
|
975
|
+
export enum Input91Decqoqn8AttendanceStatusEnum {
|
|
910
976
|
INCOMPLETE = 'INCOMPLETE',
|
|
911
977
|
NO_SHOW = 'NO_SHOW',
|
|
912
978
|
ATTENDED = 'ATTENDED',
|
|
913
979
|
}
|
|
914
980
|
|
|
915
|
-
export enum
|
|
981
|
+
export enum InputZsatdyx4YbChargeResultEnum {
|
|
916
982
|
SUCCESS = 'SUCCESS',
|
|
917
983
|
FAIL = 'FAIL',
|
|
918
984
|
}
|
|
919
985
|
|
|
920
|
-
export enum
|
|
986
|
+
export enum InputO95JklccliResultStatusEnum {
|
|
921
987
|
INCOMPLETE = 'INCOMPLETE',
|
|
922
988
|
FAIL = 'FAIL',
|
|
923
989
|
PASS = 'PASS',
|
|
924
990
|
}
|
|
925
991
|
|
|
926
|
-
export enum
|
|
992
|
+
export enum InputDyh11PfxopResultStatusEnum {
|
|
927
993
|
INCOMPLETE = 'INCOMPLETE',
|
|
928
994
|
FAIL = 'FAIL',
|
|
929
995
|
PASS = 'PASS',
|
|
@@ -1563,7 +1629,7 @@ export class HttpClient<SecurityDataType = unknown> {
|
|
|
1563
1629
|
|
|
1564
1630
|
/**
|
|
1565
1631
|
* @title Classroom Module API
|
|
1566
|
-
* @version 2.0.
|
|
1632
|
+
* @version 2.0.2
|
|
1567
1633
|
* @baseUrl http://localhost:8080
|
|
1568
1634
|
* @contact Ikon Integration <ikon@ikonintegration.com> (http://example.com)
|
|
1569
1635
|
*/
|
|
@@ -1595,7 +1661,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
1595
1661
|
* @request POST:/region/{regionID}
|
|
1596
1662
|
* @secure
|
|
1597
1663
|
*/
|
|
1598
|
-
createRegion: (regionId: string, data:
|
|
1664
|
+
createRegion: (regionId: string, data: InputRyn8Fqi8Q8, params: RequestParams = {}) =>
|
|
1599
1665
|
this.request<CreateRegionData, CreateRegionError>({
|
|
1600
1666
|
path: `/region/${regionId}`,
|
|
1601
1667
|
method: 'POST',
|
|
@@ -1614,7 +1680,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
1614
1680
|
* @request PUT:/region/{regionID}
|
|
1615
1681
|
* @secure
|
|
1616
1682
|
*/
|
|
1617
|
-
updateRegion: (regionId: string, data:
|
|
1683
|
+
updateRegion: (regionId: string, data: InputA37Dqilje2F, params: RequestParams = {}) =>
|
|
1618
1684
|
this.request<UpdateRegionData, UpdateRegionError>({
|
|
1619
1685
|
path: `/region/${regionId}`,
|
|
1620
1686
|
method: 'PUT',
|
|
@@ -1995,7 +2061,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
1995
2061
|
* @request POST:/instructor/{instructorID}/events
|
|
1996
2062
|
* @secure
|
|
1997
2063
|
*/
|
|
1998
|
-
listEvents: (instructorId: string, data:
|
|
2064
|
+
listEvents: (instructorId: string, data: InputOb05Eq1Siz, params: RequestParams = {}) =>
|
|
1999
2065
|
this.request<ListEventsData, ListEventsError>({
|
|
2000
2066
|
path: `/instructor/${instructorId}/events`,
|
|
2001
2067
|
method: 'POST',
|
|
@@ -2034,7 +2100,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
2034
2100
|
createAvailabilityEvent: (
|
|
2035
2101
|
instructorId: string,
|
|
2036
2102
|
startTime: string,
|
|
2037
|
-
data:
|
|
2103
|
+
data: InputRvfjoz2Va7H,
|
|
2038
2104
|
params: RequestParams = {}
|
|
2039
2105
|
) =>
|
|
2040
2106
|
this.request<CreateAvailabilityEventData, CreateAvailabilityEventError>({
|
|
@@ -2058,7 +2124,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
2058
2124
|
updateAvailabilityEvent: (
|
|
2059
2125
|
instructorId: string,
|
|
2060
2126
|
startTime: string,
|
|
2061
|
-
data:
|
|
2127
|
+
data: InputSnnpdh9Ntel,
|
|
2062
2128
|
params: RequestParams = {}
|
|
2063
2129
|
) =>
|
|
2064
2130
|
this.request<UpdateAvailabilityEventData, UpdateAvailabilityEventError>({
|
|
@@ -2217,7 +2283,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
2217
2283
|
* @request PUT:/course/{courseID}/calendar
|
|
2218
2284
|
* @secure
|
|
2219
2285
|
*/
|
|
2220
|
-
updateCalendar: (courseId: string, data:
|
|
2286
|
+
updateCalendar: (courseId: string, data: Input37Rcsdcvr4, params: RequestParams = {}) =>
|
|
2221
2287
|
this.request<UpdateCalendarData, UpdateCalendarError>({
|
|
2222
2288
|
path: `/course/${courseId}/calendar`,
|
|
2223
2289
|
method: 'PUT',
|
|
@@ -2305,11 +2371,13 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
2305
2371
|
* @request POST:/courses/calendarSync/{providerID}
|
|
2306
2372
|
* @secure
|
|
2307
2373
|
*/
|
|
2308
|
-
createCalendarSync: (providerId: string, params: RequestParams = {}) =>
|
|
2374
|
+
createCalendarSync: (providerId: string, data: InputS3N0Gqu4Tn, params: RequestParams = {}) =>
|
|
2309
2375
|
this.request<CreateCalendarSyncResult, CreateCalendarSyncFail>({
|
|
2310
2376
|
path: `/courses/calendarSync/${providerId}`,
|
|
2311
2377
|
method: 'POST',
|
|
2378
|
+
body: data,
|
|
2312
2379
|
secure: true,
|
|
2380
|
+
type: ContentType.Json,
|
|
2313
2381
|
...params,
|
|
2314
2382
|
}),
|
|
2315
2383
|
|
|
@@ -2322,11 +2390,13 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
2322
2390
|
* @request PUT:/courses/calendarSync/{providerID}
|
|
2323
2391
|
* @secure
|
|
2324
2392
|
*/
|
|
2325
|
-
updateCalendarSync: (providerId: string, params: RequestParams = {}) =>
|
|
2393
|
+
updateCalendarSync: (providerId: string, data: InputJklpdji565, params: RequestParams = {}) =>
|
|
2326
2394
|
this.request<UpdateCalendarSyncResult, UpdateCalendarSyncFail>({
|
|
2327
2395
|
path: `/courses/calendarSync/${providerId}`,
|
|
2328
2396
|
method: 'PUT',
|
|
2397
|
+
body: data,
|
|
2329
2398
|
secure: true,
|
|
2399
|
+
type: ContentType.Json,
|
|
2330
2400
|
...params,
|
|
2331
2401
|
}),
|
|
2332
2402
|
|
|
@@ -2874,7 +2944,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
2874
2944
|
sessionId: string,
|
|
2875
2945
|
attendanceId: string,
|
|
2876
2946
|
externalId: string,
|
|
2877
|
-
data:
|
|
2947
|
+
data: InputFqn05Tb1Yv,
|
|
2878
2948
|
params: RequestParams = {}
|
|
2879
2949
|
) =>
|
|
2880
2950
|
this.request<CreateAttendanceData, CreateAttendanceError>({
|
|
@@ -2899,7 +2969,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
2899
2969
|
sessionId: string,
|
|
2900
2970
|
attendanceId: string,
|
|
2901
2971
|
externalId: string,
|
|
2902
|
-
data:
|
|
2972
|
+
data: Input91Decqoqn8,
|
|
2903
2973
|
params: RequestParams = {}
|
|
2904
2974
|
) =>
|
|
2905
2975
|
this.request<UpdateAttendanceData, UpdateAttendanceError>({
|
|
@@ -2958,7 +3028,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
2958
3028
|
sessionId: string,
|
|
2959
3029
|
enrolmentId: string,
|
|
2960
3030
|
externalId: string,
|
|
2961
|
-
data:
|
|
3031
|
+
data: InputW0G2O8Cuvdl,
|
|
2962
3032
|
params: RequestParams = {}
|
|
2963
3033
|
) =>
|
|
2964
3034
|
this.request<CreateEnrolmentData, CreateEnrolmentError>({
|
|
@@ -2983,7 +3053,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
2983
3053
|
sessionId: string,
|
|
2984
3054
|
enrolmentId: string,
|
|
2985
3055
|
externalId: string,
|
|
2986
|
-
data:
|
|
3056
|
+
data: InputSclutmxuej,
|
|
2987
3057
|
params: RequestParams = {}
|
|
2988
3058
|
) =>
|
|
2989
3059
|
this.request<UpdateEnrolmentData, UpdateEnrolmentError>({
|
|
@@ -3117,7 +3187,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
3117
3187
|
sessionId: string,
|
|
3118
3188
|
enrolmentId: string,
|
|
3119
3189
|
externalId: string,
|
|
3120
|
-
data:
|
|
3190
|
+
data: InputZsatdyx4Yb,
|
|
3121
3191
|
params: RequestParams = {}
|
|
3122
3192
|
) =>
|
|
3123
3193
|
this.request<CreateEnrolmentChargeData, CreateEnrolmentChargeError>({
|
|
@@ -3159,7 +3229,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
3159
3229
|
sessionId: string,
|
|
3160
3230
|
resultId: string,
|
|
3161
3231
|
externalId: string,
|
|
3162
|
-
data:
|
|
3232
|
+
data: InputO95Jklccli,
|
|
3163
3233
|
params: RequestParams = {}
|
|
3164
3234
|
) =>
|
|
3165
3235
|
this.request<CreateResultData, CreateResultError>({
|
|
@@ -3184,7 +3254,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
3184
3254
|
sessionId: string,
|
|
3185
3255
|
resultId: string,
|
|
3186
3256
|
externalId: string,
|
|
3187
|
-
data:
|
|
3257
|
+
data: InputDyh11Pfxop,
|
|
3188
3258
|
params: RequestParams = {}
|
|
3189
3259
|
) =>
|
|
3190
3260
|
this.request<UpdateResultData, UpdateResultError>({
|
|
@@ -3338,7 +3408,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
3338
3408
|
* @request POST:/session/{sessionID}/invitation/{invitationID}
|
|
3339
3409
|
* @secure
|
|
3340
3410
|
*/
|
|
3341
|
-
createInvitation: (sessionId: string, invitationId: string, data:
|
|
3411
|
+
createInvitation: (sessionId: string, invitationId: string, data: Input1Qxi23Thcx, params: RequestParams = {}) =>
|
|
3342
3412
|
this.request<CreateInvitationData, CreateInvitationError>({
|
|
3343
3413
|
path: `/session/${sessionId}/invitation/${invitationId}`,
|
|
3344
3414
|
method: 'POST',
|
|
@@ -3357,7 +3427,7 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
3357
3427
|
* @request PUT:/session/{sessionID}/invitation/{invitationID}
|
|
3358
3428
|
* @secure
|
|
3359
3429
|
*/
|
|
3360
|
-
updateInvitation: (sessionId: string, invitationId: string, data:
|
|
3430
|
+
updateInvitation: (sessionId: string, invitationId: string, data: InputFa6Do54Syp, params: RequestParams = {}) =>
|
|
3361
3431
|
this.request<UpdateInvitationData, UpdateInvitationError>({
|
|
3362
3432
|
path: `/session/${sessionId}/invitation/${invitationId}`,
|
|
3363
3433
|
method: 'PUT',
|
|
@@ -3551,31 +3621,31 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
3551
3621
|
* @tags Session
|
|
3552
3622
|
* @name ListEvents
|
|
3553
3623
|
* @summary List Session Events
|
|
3554
|
-
* @request POST:/session/events/{startTime}/{endTime}
|
|
3624
|
+
* @request POST:/session/events/{startTime}/{endTime}/{courseID}
|
|
3555
3625
|
* @secure
|
|
3556
3626
|
*/
|
|
3557
|
-
listEvents: (startTime: string, endTime: string, params: RequestParams = {}) =>
|
|
3627
|
+
listEvents: (startTime: string, endTime: string, courseId: string, params: RequestParams = {}) =>
|
|
3558
3628
|
this.request<ListEventsResult, ListEventsFail>({
|
|
3559
|
-
path: `/session/events/${startTime}/${endTime}`,
|
|
3629
|
+
path: `/session/events/${startTime}/${endTime}/${courseId}`,
|
|
3560
3630
|
method: 'POST',
|
|
3561
3631
|
secure: true,
|
|
3562
3632
|
...params,
|
|
3563
3633
|
}),
|
|
3564
3634
|
|
|
3565
3635
|
/**
|
|
3566
|
-
* @description List session events within a time range
|
|
3636
|
+
* @description List session events within a time range
|
|
3567
3637
|
*
|
|
3568
3638
|
* @tags Session
|
|
3569
3639
|
* @name ListEvents2
|
|
3570
|
-
* @summary List Session Events
|
|
3571
|
-
* @request POST:/session/events/{startTime}/{endTime}
|
|
3640
|
+
* @summary List Session Events
|
|
3641
|
+
* @request POST:/session/events/{startTime}/{endTime}
|
|
3572
3642
|
* @originalName listEvents
|
|
3573
3643
|
* @duplicate
|
|
3574
3644
|
* @secure
|
|
3575
3645
|
*/
|
|
3576
3646
|
listEvents2: (startTime: string, endTime: string, courseId: string, params: RequestParams = {}) =>
|
|
3577
3647
|
this.request<ListEvents2Data, ListEvents2Error>({
|
|
3578
|
-
path: `/session/events/${startTime}/${endTime}
|
|
3648
|
+
path: `/session/events/${startTime}/${endTime}`,
|
|
3579
3649
|
method: 'POST',
|
|
3580
3650
|
secure: true,
|
|
3581
3651
|
...params,
|
|
@@ -3741,11 +3811,13 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
3741
3811
|
* @request POST:/reports/sessionShippingManifest/{sessionID}
|
|
3742
3812
|
* @secure
|
|
3743
3813
|
*/
|
|
3744
|
-
createSessionShippingManifest: (sessionId: string, params: RequestParams = {}) =>
|
|
3814
|
+
createSessionShippingManifest: (sessionId: string, data: Input72L9Nt3Sdc, params: RequestParams = {}) =>
|
|
3745
3815
|
this.request<CreateSessionShippingManifestData, CreateSessionShippingManifestError>({
|
|
3746
3816
|
path: `/reports/sessionShippingManifest/${sessionId}`,
|
|
3747
3817
|
method: 'POST',
|
|
3818
|
+
body: data,
|
|
3748
3819
|
secure: true,
|
|
3820
|
+
type: ContentType.Json,
|
|
3749
3821
|
...params,
|
|
3750
3822
|
}),
|
|
3751
3823
|
}
|