@sunbird-cb/consumption 0.0.67 → 0.0.69
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/README.md +24 -24
- package/bundles/sunbird-cb-consumption.umd.js +17489 -17485
- package/bundles/sunbird-cb-consumption.umd.js.map +1 -1
- package/bundles/sunbird-cb-consumption.umd.min.js +1 -1
- package/bundles/sunbird-cb-consumption.umd.min.js.map +1 -1
- package/esm2015/lib/_common/announcements/announcements.component.js +150 -150
- package/esm2015/lib/_common/announcements/announcements.module.js +23 -23
- package/esm2015/lib/_common/avatar-photo-lib/avatar-photo-lib.component.js +158 -158
- package/esm2015/lib/_common/avatar-photo-lib/avatar-photo-lib.module.js +29 -29
- package/esm2015/lib/_common/calender/calender-day/calender-day.component.js +90 -90
- package/esm2015/lib/_common/calender/calender.component.js +299 -299
- package/esm2015/lib/_common/calender/calender.module.js +31 -31
- package/esm2015/lib/_common/cards/card-assessment/card-assessment/card-assessment.component.js +170 -170
- package/esm2015/lib/_common/cards/card-karma-programs/card-karma-programs.component.js +178 -178
- package/esm2015/lib/_common/cards/card-karma-programs-v2/card-karma-programs-v2.component.js +166 -166
- package/esm2015/lib/_common/cards/card-landscape/card-landscape.component.js +202 -202
- package/esm2015/lib/_common/cards/card-mdo-channel/card-mdo-channel.component.js +154 -154
- package/esm2015/lib/_common/cards/card-mdo-channel-v1/card-mdo-channel-v1.component.js +154 -154
- package/esm2015/lib/_common/cards/card-portrait/card-portrait.component.js +167 -167
- package/esm2015/lib/_common/cards/card-portrait-ext/card-portrait-ext.component.js +170 -170
- package/esm2015/lib/_common/cards/card-progress-portrait-lib/card-progress-portrait-lib.component.js +261 -261
- package/esm2015/lib/_common/cards/card-resource/card-resource.component.js +34 -34
- package/esm2015/lib/_common/cards/card-user/card-user.component.js +141 -141
- package/esm2015/lib/_common/cards/card-wide/card-wide.component.js +166 -166
- package/esm2015/lib/_common/cards/card-wide-v2/card-wide-v2.component.js +171 -171
- package/esm2015/lib/_common/cards/cards.component.js +167 -167
- package/esm2015/lib/_common/cards/cards.module.js +100 -100
- package/esm2015/lib/_common/cards/provider-card/provider-card.component.js +81 -81
- package/esm2015/lib/_common/cbp-plan/cbp-plan.component.js +166 -166
- package/esm2015/lib/_common/cbp-plan/cbp-plan.module.js +27 -27
- package/esm2015/lib/_common/common-strip/common-strip.component.js +646 -646
- package/esm2015/lib/_common/common-strip/common-strip.model.js +216 -216
- package/esm2015/lib/_common/common-strip/common-strip.module.js +62 -62
- package/esm2015/lib/_common/competency-passbook/competency-passbook.component.js +384 -384
- package/esm2015/lib/_common/competency-passbook/competency-passbook.module.js +27 -27
- package/esm2015/lib/_common/competency-passbook/competency-passbook.service.js +52 -52
- package/esm2015/lib/_common/competency-passbook-mdo/competency-passbook-mdo.component.js +332 -332
- package/esm2015/lib/_common/competency-passbook-mdo/competency-passbook-mdo.module.js +27 -27
- package/esm2015/lib/_common/competency-passbook-mdo/competency-passbook-mdo.service.js +52 -52
- package/esm2015/lib/_common/content-progress/content-progress.component.js +89 -89
- package/esm2015/lib/_common/content-progress/content-progress.module.js +22 -22
- package/esm2015/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.component.js +2559 -2559
- package/esm2015/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.model.js +218 -218
- package/esm2015/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.module.js +69 -69
- package/esm2015/lib/_common/data-points/data-points.component.js +150 -148
- package/esm2015/lib/_common/data-points/data-points.module.js +23 -23
- package/esm2015/lib/_common/dialog-components/certificate-dialog/certificate-dialog.component.js +225 -225
- package/esm2015/lib/_common/dialog-components/dialog-components.module.js +43 -43
- package/esm2015/lib/_common/display-content-type-lib/display-content-type-lib.component.js +60 -60
- package/esm2015/lib/_common/display-content-type-lib/display-content-type-lib.module.js +18 -18
- package/esm2015/lib/_common/horizontal-scroller-v2/horizontal-scroller-v2.component.js +362 -362
- package/esm2015/lib/_common/horizontal-scroller-v2/horizontal-scroller-v2.module.js +23 -23
- package/esm2015/lib/_common/microsites/mdo-channels/mdo-channel-v1/mdo-channel-v1.component.js +23 -23
- package/esm2015/lib/_common/microsites/mdo-channels/mdo-channel-v2/mdo-channel-v2.component.js +255 -255
- package/esm2015/lib/_common/microsites/mdo-channels/mdo-channel.module.js +52 -52
- package/esm2015/lib/_common/microsites/providers/providers-v2/providers-v2.component.js +269 -269
- package/esm2015/lib/_common/microsites/providers/providers.module.js +51 -51
- package/esm2015/lib/_common/pills/pills.component.js +61 -61
- package/esm2015/lib/_common/pills/pills.module.js +24 -24
- package/esm2015/lib/_common/skeleton-loader-lib/skeleton-loader-lib.component.js +40 -40
- package/esm2015/lib/_common/skeleton-loader-lib/skeleton-loader-lib.module.js +28 -28
- package/esm2015/lib/_common/sliders/sliders.component.js +187 -187
- package/esm2015/lib/_common/sliders/sliders.model.js +67 -67
- package/esm2015/lib/_common/sliders/sliders.module.js +50 -50
- package/esm2015/lib/_common/sliders-ng-content/sliders-ng-content.component.js +206 -206
- package/esm2015/lib/_common/sliders-ng-content/sliders-ng-content.model.js +61 -61
- package/esm2015/lib/_common/sliders-ng-content/sliders-ng-content.module.js +50 -50
- package/esm2015/lib/_common/strips/content-strip-with-tabs-pills/content-strip-with-tabs-pills.component.js +1613 -1613
- package/esm2015/lib/_common/strips/content-strip-with-tabs-pills/content-strip-with-tabs-pills.model.js +218 -218
- package/esm2015/lib/_common/strips/content-strip-with-tabs-pills/content-strip-with-tabs-pills.module.js +69 -69
- package/esm2015/lib/_common/top-learners/top-learners.component.js +155 -155
- package/esm2015/lib/_common/top-learners/top-learners.module.js +23 -23
- package/esm2015/lib/_common/user-content-rating/user-content-rating-lib.component.js +145 -145
- package/esm2015/lib/_common/user-content-rating/user-content-rating-lib.module.js +38 -38
- package/esm2015/lib/_common/user-content-rating/user-content-rating-lib.service.js +45 -45
- package/esm2015/lib/_constants/misc.constants.js +4 -4
- package/esm2015/lib/_directives/default-thumbnail/default-thumbnail.directive.js +51 -51
- package/esm2015/lib/_directives/default-thumbnail/default-thumbnail.module.js +18 -18
- package/esm2015/lib/_directives/image-responsive/image-responsive.directive.js +126 -126
- package/esm2015/lib/_directives/image-responsive/image-responsive.module.js +18 -18
- package/esm2015/lib/_directives/navigation/navigation.directive.js +53 -53
- package/esm2015/lib/_directives/navigation/navigation.module.js +18 -18
- package/esm2015/lib/_directives/scrollable-item/scrollable-item.directive.js +42 -42
- package/esm2015/lib/_directives/scrollable-item/scrollable-item.module.js +19 -19
- package/esm2015/lib/_models/card-content-v2.model.js +78 -78
- package/esm2015/lib/_models/card-content.model.js +69 -69
- package/esm2015/lib/_models/card-users.model.js +103 -103
- package/esm2015/lib/_models/content-strip-multiple.model.js +195 -195
- package/esm2015/lib/_models/event.js +45 -45
- package/esm2015/lib/_models/profile-v3.models.js +196 -196
- package/esm2015/lib/_models/rating.model.js +44 -44
- package/esm2015/lib/_models/widget-content.model.js +876 -876
- package/esm2015/lib/_models/widget-search.model.js +471 -471
- package/esm2015/lib/_models/widget-user.model.js +17 -17
- package/esm2015/lib/_pipes/object-to-array/object-to-array.pipe.js +28 -28
- package/esm2015/lib/_pipes/object-to-array/object-to-array.pipe.module.js +19 -19
- package/esm2015/lib/_pipes/pipe-duration-transform/pipe-duration-transform.module.js +18 -18
- package/esm2015/lib/_pipes/pipe-duration-transform/pipe-duration-transform.pipe.js +119 -119
- package/esm2015/lib/_pipes/pipe-public-URL/pipe-public-URL.module.js +19 -19
- package/esm2015/lib/_pipes/pipe-public-URL/pipe-public-URL.pipe.js +38 -38
- package/esm2015/lib/_services/certificate.service.js +63 -63
- package/esm2015/lib/_services/common-methods.service.js +84 -84
- package/esm2015/lib/_services/configurations.service.js +243 -243
- package/esm2015/lib/_services/insite-data.service.js +69 -68
- package/esm2015/lib/_services/multilingual-translations.service.js +231 -231
- package/esm2015/lib/_services/rating.service.js +171 -171
- package/esm2015/lib/_services/viewer-route-util.js +125 -125
- package/esm2015/lib/_services/widget-content.service.js +852 -852
- package/esm2015/lib/_services/widget-user.service.js +475 -475
- package/esm2015/lib/consumption.component.js +26 -26
- package/esm2015/lib/consumption.config.js +12 -12
- package/esm2015/lib/consumption.module.js +36 -36
- package/esm2015/lib/consumption.service.js +18 -18
- package/esm2015/lib/registration-lib.config.js +21 -21
- package/esm2015/public-api.js +31 -31
- package/esm2015/sunbird-cb-consumption.js +77 -77
- package/esm5/lib/_common/announcements/announcements.component.js +166 -166
- package/esm5/lib/_common/announcements/announcements.module.js +27 -27
- package/esm5/lib/_common/avatar-photo-lib/avatar-photo-lib.component.js +175 -175
- package/esm5/lib/_common/avatar-photo-lib/avatar-photo-lib.module.js +33 -33
- package/esm5/lib/_common/calender/calender-day/calender-day.component.js +101 -101
- package/esm5/lib/_common/calender/calender.component.js +334 -334
- package/esm5/lib/_common/calender/calender.module.js +35 -35
- package/esm5/lib/_common/cards/card-assessment/card-assessment/card-assessment.component.js +186 -186
- package/esm5/lib/_common/cards/card-karma-programs/card-karma-programs.component.js +187 -187
- package/esm5/lib/_common/cards/card-karma-programs-v2/card-karma-programs-v2.component.js +176 -176
- package/esm5/lib/_common/cards/card-landscape/card-landscape.component.js +216 -216
- package/esm5/lib/_common/cards/card-mdo-channel/card-mdo-channel.component.js +164 -164
- package/esm5/lib/_common/cards/card-mdo-channel-v1/card-mdo-channel-v1.component.js +164 -164
- package/esm5/lib/_common/cards/card-portrait/card-portrait.component.js +173 -173
- package/esm5/lib/_common/cards/card-portrait-ext/card-portrait-ext.component.js +176 -176
- package/esm5/lib/_common/cards/card-progress-portrait-lib/card-progress-portrait-lib.component.js +278 -278
- package/esm5/lib/_common/cards/card-resource/card-resource.component.js +41 -41
- package/esm5/lib/_common/cards/card-user/card-user.component.js +147 -147
- package/esm5/lib/_common/cards/card-wide/card-wide.component.js +172 -172
- package/esm5/lib/_common/cards/card-wide-v2/card-wide-v2.component.js +181 -181
- package/esm5/lib/_common/cards/cards.component.js +199 -199
- package/esm5/lib/_common/cards/cards.module.js +104 -104
- package/esm5/lib/_common/cards/provider-card/provider-card.component.js +90 -90
- package/esm5/lib/_common/cbp-plan/cbp-plan.component.js +185 -185
- package/esm5/lib/_common/cbp-plan/cbp-plan.module.js +31 -31
- package/esm5/lib/_common/common-strip/common-strip.component.js +760 -760
- package/esm5/lib/_common/common-strip/common-strip.model.js +216 -216
- package/esm5/lib/_common/common-strip/common-strip.module.js +66 -66
- package/esm5/lib/_common/competency-passbook/competency-passbook.component.js +454 -454
- package/esm5/lib/_common/competency-passbook/competency-passbook.module.js +31 -31
- package/esm5/lib/_common/competency-passbook/competency-passbook.service.js +59 -59
- package/esm5/lib/_common/competency-passbook-mdo/competency-passbook-mdo.component.js +383 -383
- package/esm5/lib/_common/competency-passbook-mdo/competency-passbook-mdo.module.js +31 -31
- package/esm5/lib/_common/competency-passbook-mdo/competency-passbook-mdo.service.js +59 -59
- package/esm5/lib/_common/content-progress/content-progress.component.js +94 -94
- package/esm5/lib/_common/content-progress/content-progress.module.js +26 -26
- package/esm5/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.component.js +2970 -2970
- package/esm5/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.model.js +218 -218
- package/esm5/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.module.js +73 -73
- package/esm5/lib/_common/data-points/data-points.component.js +165 -163
- package/esm5/lib/_common/data-points/data-points.module.js +27 -27
- package/esm5/lib/_common/dialog-components/certificate-dialog/certificate-dialog.component.js +248 -248
- package/esm5/lib/_common/dialog-components/dialog-components.module.js +47 -47
- package/esm5/lib/_common/display-content-type-lib/display-content-type-lib.component.js +67 -67
- package/esm5/lib/_common/display-content-type-lib/display-content-type-lib.module.js +22 -22
- package/esm5/lib/_common/horizontal-scroller-v2/horizontal-scroller-v2.component.js +391 -391
- package/esm5/lib/_common/horizontal-scroller-v2/horizontal-scroller-v2.module.js +27 -27
- package/esm5/lib/_common/microsites/mdo-channels/mdo-channel-v1/mdo-channel-v1.component.js +29 -29
- package/esm5/lib/_common/microsites/mdo-channels/mdo-channel-v2/mdo-channel-v2.component.js +292 -292
- package/esm5/lib/_common/microsites/mdo-channels/mdo-channel.module.js +56 -56
- package/esm5/lib/_common/microsites/providers/providers-v2/providers-v2.component.js +312 -312
- package/esm5/lib/_common/microsites/providers/providers.module.js +55 -55
- package/esm5/lib/_common/pills/pills.component.js +70 -70
- package/esm5/lib/_common/pills/pills.module.js +28 -28
- package/esm5/lib/_common/skeleton-loader-lib/skeleton-loader-lib.component.js +45 -45
- package/esm5/lib/_common/skeleton-loader-lib/skeleton-loader-lib.module.js +32 -32
- package/esm5/lib/_common/sliders/sliders.component.js +214 -214
- package/esm5/lib/_common/sliders/sliders.model.js +67 -67
- package/esm5/lib/_common/sliders/sliders.module.js +67 -67
- package/esm5/lib/_common/sliders-ng-content/sliders-ng-content.component.js +233 -233
- package/esm5/lib/_common/sliders-ng-content/sliders-ng-content.model.js +61 -61
- package/esm5/lib/_common/sliders-ng-content/sliders-ng-content.module.js +67 -67
- package/esm5/lib/_common/strips/content-strip-with-tabs-pills/content-strip-with-tabs-pills.component.js +1892 -1892
- package/esm5/lib/_common/strips/content-strip-with-tabs-pills/content-strip-with-tabs-pills.model.js +218 -218
- package/esm5/lib/_common/strips/content-strip-with-tabs-pills/content-strip-with-tabs-pills.module.js +73 -73
- package/esm5/lib/_common/top-learners/top-learners.component.js +172 -172
- package/esm5/lib/_common/top-learners/top-learners.module.js +27 -27
- package/esm5/lib/_common/user-content-rating/user-content-rating-lib.component.js +168 -168
- package/esm5/lib/_common/user-content-rating/user-content-rating-lib.module.js +42 -42
- package/esm5/lib/_common/user-content-rating/user-content-rating-lib.service.js +48 -48
- package/esm5/lib/_constants/misc.constants.js +4 -4
- package/esm5/lib/_directives/default-thumbnail/default-thumbnail.directive.js +59 -59
- package/esm5/lib/_directives/default-thumbnail/default-thumbnail.module.js +22 -22
- package/esm5/lib/_directives/image-responsive/image-responsive.directive.js +136 -136
- package/esm5/lib/_directives/image-responsive/image-responsive.module.js +22 -22
- package/esm5/lib/_directives/navigation/navigation.directive.js +62 -62
- package/esm5/lib/_directives/navigation/navigation.module.js +22 -22
- package/esm5/lib/_directives/scrollable-item/scrollable-item.directive.js +45 -45
- package/esm5/lib/_directives/scrollable-item/scrollable-item.module.js +23 -23
- package/esm5/lib/_models/card-content-v2.model.js +78 -78
- package/esm5/lib/_models/card-content.model.js +69 -69
- package/esm5/lib/_models/card-users.model.js +103 -103
- package/esm5/lib/_models/content-strip-multiple.model.js +195 -195
- package/esm5/lib/_models/event.js +45 -45
- package/esm5/lib/_models/profile-v3.models.js +196 -196
- package/esm5/lib/_models/rating.model.js +44 -44
- package/esm5/lib/_models/widget-content.model.js +876 -876
- package/esm5/lib/_models/widget-search.model.js +471 -471
- package/esm5/lib/_models/widget-user.model.js +17 -17
- package/esm5/lib/_pipes/object-to-array/object-to-array.pipe.js +57 -57
- package/esm5/lib/_pipes/object-to-array/object-to-array.pipe.module.js +23 -23
- package/esm5/lib/_pipes/pipe-duration-transform/pipe-duration-transform.module.js +22 -22
- package/esm5/lib/_pipes/pipe-duration-transform/pipe-duration-transform.pipe.js +142 -142
- package/esm5/lib/_pipes/pipe-public-URL/pipe-public-URL.module.js +23 -23
- package/esm5/lib/_pipes/pipe-public-URL/pipe-public-URL.pipe.js +41 -41
- package/esm5/lib/_services/certificate.service.js +70 -70
- package/esm5/lib/_services/common-methods.service.js +102 -102
- package/esm5/lib/_services/configurations.service.js +257 -257
- package/esm5/lib/_services/insite-data.service.js +84 -82
- package/esm5/lib/_services/multilingual-translations.service.js +259 -259
- package/esm5/lib/_services/rating.service.js +214 -214
- package/esm5/lib/_services/viewer-route-util.js +127 -127
- package/esm5/lib/_services/widget-content.service.js +1109 -1109
- package/esm5/lib/_services/widget-user.service.js +542 -542
- package/esm5/lib/consumption.component.js +28 -28
- package/esm5/lib/consumption.config.js +12 -12
- package/esm5/lib/consumption.module.js +40 -40
- package/esm5/lib/consumption.service.js +21 -21
- package/esm5/lib/registration-lib.config.js +21 -21
- package/esm5/public-api.js +31 -31
- package/esm5/sunbird-cb-consumption.js +77 -77
- package/fesm2015/sunbird-cb-consumption.js +15410 -15407
- package/fesm2015/sunbird-cb-consumption.js.map +1 -1
- package/fesm5/sunbird-cb-consumption.js +17480 -17476
- package/fesm5/sunbird-cb-consumption.js.map +1 -1
- package/lib/_common/announcements/announcements.component.d.ts +21 -21
- package/lib/_common/announcements/announcements.module.d.ts +2 -2
- package/lib/_common/avatar-photo-lib/avatar-photo-lib.component.d.ts +20 -20
- package/lib/_common/avatar-photo-lib/avatar-photo-lib.module.d.ts +2 -2
- package/lib/_common/calender/calender-day/calender-day.component.d.ts +18 -18
- package/lib/_common/calender/calender.component.d.ts +34 -34
- package/lib/_common/calender/calender.module.d.ts +2 -2
- package/lib/_common/cards/card-assessment/card-assessment/card-assessment.component.d.ts +31 -31
- package/lib/_common/cards/card-karma-programs/card-karma-programs.component.d.ts +28 -28
- package/lib/_common/cards/card-karma-programs-v2/card-karma-programs-v2.component.d.ts +26 -26
- package/lib/_common/cards/card-landscape/card-landscape.component.d.ts +36 -36
- package/lib/_common/cards/card-mdo-channel/card-mdo-channel.component.d.ts +27 -27
- package/lib/_common/cards/card-mdo-channel-v1/card-mdo-channel-v1.component.d.ts +27 -27
- package/lib/_common/cards/card-portrait/card-portrait.component.d.ts +33 -33
- package/lib/_common/cards/card-portrait-ext/card-portrait-ext.component.d.ts +33 -33
- package/lib/_common/cards/card-progress-portrait-lib/card-progress-portrait-lib.component.d.ts +41 -41
- package/lib/_common/cards/card-resource/card-resource.component.d.ts +8 -8
- package/lib/_common/cards/card-user/card-user.component.d.ts +24 -24
- package/lib/_common/cards/card-wide/card-wide.component.d.ts +30 -30
- package/lib/_common/cards/card-wide-v2/card-wide-v2.component.d.ts +34 -34
- package/lib/_common/cards/cards.component.d.ts +26 -26
- package/lib/_common/cards/cards.module.d.ts +2 -2
- package/lib/_common/cards/provider-card/provider-card.component.d.ts +14 -14
- package/lib/_common/cbp-plan/cbp-plan.component.d.ts +25 -25
- package/lib/_common/cbp-plan/cbp-plan.module.d.ts +2 -2
- package/lib/_common/common-strip/common-strip.component.d.ts +104 -104
- package/lib/_common/common-strip/common-strip.model.d.ts +141 -141
- package/lib/_common/common-strip/common-strip.module.d.ts +2 -2
- package/lib/_common/competency-passbook/competency-passbook.component.d.ts +42 -42
- package/lib/_common/competency-passbook/competency-passbook.module.d.ts +2 -2
- package/lib/_common/competency-passbook/competency-passbook.service.d.ts +8 -8
- package/lib/_common/competency-passbook-mdo/competency-passbook-mdo.component.d.ts +43 -43
- package/lib/_common/competency-passbook-mdo/competency-passbook-mdo.module.d.ts +2 -2
- package/lib/_common/competency-passbook-mdo/competency-passbook-mdo.service.d.ts +8 -8
- package/lib/_common/content-progress/content-progress.component.d.ts +13 -13
- package/lib/_common/content-progress/content-progress.module.d.ts +2 -2
- package/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.component.d.ts +203 -203
- package/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.model.d.ts +149 -149
- package/lib/_common/content-strip-with-tabs-lib/content-strip-with-tabs-lib.module.d.ts +5 -5
- package/lib/_common/data-points/data-points.component.d.ts +17 -17
- package/lib/_common/data-points/data-points.module.d.ts +2 -2
- package/lib/_common/dialog-components/certificate-dialog/certificate-dialog.component.d.ts +22 -22
- package/lib/_common/dialog-components/dialog-components.module.d.ts +2 -2
- package/lib/_common/display-content-type-lib/display-content-type-lib.component.d.ts +12 -12
- package/lib/_common/display-content-type-lib/display-content-type-lib.module.d.ts +2 -2
- package/lib/_common/horizontal-scroller-v2/horizontal-scroller-v2.component.d.ts +33 -33
- package/lib/_common/horizontal-scroller-v2/horizontal-scroller-v2.module.d.ts +2 -2
- package/lib/_common/microsites/mdo-channels/mdo-channel-v1/mdo-channel-v1.component.d.ts +5 -5
- package/lib/_common/microsites/mdo-channels/mdo-channel-v2/mdo-channel-v2.component.d.ts +39 -39
- package/lib/_common/microsites/mdo-channels/mdo-channel.module.d.ts +2 -2
- package/lib/_common/microsites/providers/providers-v2/providers-v2.component.d.ts +36 -36
- package/lib/_common/microsites/providers/providers.module.d.ts +2 -2
- package/lib/_common/pills/pills.component.d.ts +13 -13
- package/lib/_common/pills/pills.module.d.ts +2 -2
- package/lib/_common/skeleton-loader-lib/skeleton-loader-lib.component.d.ts +8 -8
- package/lib/_common/skeleton-loader-lib/skeleton-loader-lib.module.d.ts +2 -2
- package/lib/_common/sliders/sliders.component.d.ts +27 -27
- package/lib/_common/sliders/sliders.model.d.ts +40 -40
- package/lib/_common/sliders/sliders.module.d.ts +6 -6
- package/lib/_common/sliders-ng-content/sliders-ng-content.component.d.ts +29 -29
- package/lib/_common/sliders-ng-content/sliders-ng-content.model.d.ts +34 -34
- package/lib/_common/sliders-ng-content/sliders-ng-content.module.d.ts +6 -6
- package/lib/_common/strips/content-strip-with-tabs-pills/content-strip-with-tabs-pills.component.d.ts +161 -161
- package/lib/_common/strips/content-strip-with-tabs-pills/content-strip-with-tabs-pills.model.d.ts +149 -149
- package/lib/_common/strips/content-strip-with-tabs-pills/content-strip-with-tabs-pills.module.d.ts +5 -5
- package/lib/_common/top-learners/top-learners.component.d.ts +18 -18
- package/lib/_common/top-learners/top-learners.module.d.ts +2 -2
- package/lib/_common/user-content-rating/user-content-rating-lib.component.d.ts +22 -22
- package/lib/_common/user-content-rating/user-content-rating-lib.module.d.ts +2 -2
- package/lib/_common/user-content-rating/user-content-rating-lib.service.d.ts +7 -7
- package/lib/_constants/misc.constants.d.ts +2 -2
- package/lib/_directives/default-thumbnail/default-thumbnail.directive.d.ts +9 -9
- package/lib/_directives/default-thumbnail/default-thumbnail.module.d.ts +2 -2
- package/lib/_directives/image-responsive/image-responsive.directive.d.ts +17 -17
- package/lib/_directives/image-responsive/image-responsive.module.d.ts +2 -2
- package/lib/_directives/navigation/navigation.directive.d.ts +9 -9
- package/lib/_directives/navigation/navigation.module.d.ts +2 -2
- package/lib/_directives/scrollable-item/scrollable-item.directive.d.ts +7 -7
- package/lib/_directives/scrollable-item/scrollable-item.module.d.ts +2 -2
- package/lib/_models/card-content-v2.model.d.ts +44 -44
- package/lib/_models/card-content.model.d.ts +41 -41
- package/lib/_models/card-users.model.d.ts +50 -50
- package/lib/_models/content-strip-multiple.model.d.ts +128 -128
- package/lib/_models/event.d.ts +18 -18
- package/lib/_models/profile-v3.models.d.ts +91 -91
- package/lib/_models/rating.model.d.ts +17 -17
- package/lib/_models/widget-content.model.d.ts +497 -497
- package/lib/_models/widget-search.model.d.ts +252 -252
- package/lib/_models/widget-user.model.d.ts +5 -5
- package/lib/_pipes/object-to-array/object-to-array.pipe.d.ts +4 -4
- package/lib/_pipes/object-to-array/object-to-array.pipe.module.d.ts +2 -2
- package/lib/_pipes/pipe-duration-transform/pipe-duration-transform.module.d.ts +2 -2
- package/lib/_pipes/pipe-duration-transform/pipe-duration-transform.pipe.d.ts +6 -6
- package/lib/_pipes/pipe-public-URL/pipe-public-URL.module.d.ts +2 -2
- package/lib/_pipes/pipe-public-URL/pipe-public-URL.pipe.d.ts +6 -6
- package/lib/_services/certificate.service.d.ts +8 -8
- package/lib/_services/common-methods.service.d.ts +39 -39
- package/lib/_services/configurations.service.d.ts +71 -71
- package/lib/_services/insite-data.service.d.ts +10 -10
- package/lib/_services/multilingual-translations.service.d.ts +20 -20
- package/lib/_services/rating.service.d.ts +15 -15
- package/lib/_services/viewer-route-util.d.ts +8 -8
- package/lib/_services/widget-content.service.d.ts +87 -87
- package/lib/_services/widget-user.service.d.ts +33 -33
- package/lib/consumption.component.d.ts +5 -5
- package/lib/consumption.config.d.ts +6 -6
- package/lib/consumption.module.d.ts +2 -2
- package/lib/consumption.service.d.ts +3 -3
- package/lib/registration-lib.config.d.ts +4 -4
- package/package.json +1 -1
- package/public-api.d.ts +23 -23
- package/sunbird-cb-consumption.d.ts +73 -73
- package/sunbird-cb-consumption.metadata.json +1 -1
|
@@ -1,497 +1,497 @@
|
|
|
1
|
-
export declare namespace NsContent {
|
|
2
|
-
interface IContinueLearningData extends IContent {
|
|
3
|
-
continueData: any;
|
|
4
|
-
}
|
|
5
|
-
interface IContinueLearningDataReq {
|
|
6
|
-
request: {
|
|
7
|
-
userId: string | undefined;
|
|
8
|
-
courseId: string;
|
|
9
|
-
contentIds: string[];
|
|
10
|
-
batchId: string | undefined | null;
|
|
11
|
-
fields?: string[];
|
|
12
|
-
};
|
|
13
|
-
}
|
|
14
|
-
interface IContent {
|
|
15
|
-
platform?: any;
|
|
16
|
-
addedOn: string;
|
|
17
|
-
appIcon: string;
|
|
18
|
-
artifactUrl: string;
|
|
19
|
-
averageRating?: any;
|
|
20
|
-
batches?: any;
|
|
21
|
-
batch?: any;
|
|
22
|
-
body?: string;
|
|
23
|
-
certificationList?: IRelatedContentMeta[];
|
|
24
|
-
certificationStatus?: TCertificationStatus;
|
|
25
|
-
certificationSubmissionDate?: string;
|
|
26
|
-
certificationUrl: string;
|
|
27
|
-
childNodes?: string[];
|
|
28
|
-
children: IContent[];
|
|
29
|
-
childrenClassifiers?: string[];
|
|
30
|
-
clients?: IClient[];
|
|
31
|
-
collections?: IContent[];
|
|
32
|
-
completionPercentage?: number | null;
|
|
33
|
-
completionStatus?: number;
|
|
34
|
-
difficultyLevel: string;
|
|
35
|
-
contentId: string;
|
|
36
|
-
contentType: EContentTypes;
|
|
37
|
-
contentUrlAtSource: string;
|
|
38
|
-
creatorContacts: ICreator[];
|
|
39
|
-
creatorDetails: ICreator[];
|
|
40
|
-
creatorLogo: string;
|
|
41
|
-
creatorPosterImage: string;
|
|
42
|
-
creatorThumbnail: string;
|
|
43
|
-
curatedTags: string[];
|
|
44
|
-
description: string;
|
|
45
|
-
displayContentType: EDisplayContentTypes;
|
|
46
|
-
downloadUrl?: string;
|
|
47
|
-
duration: number;
|
|
48
|
-
enrolledDate?: string;
|
|
49
|
-
exclusiveContent?: boolean;
|
|
50
|
-
expiryDate?: string;
|
|
51
|
-
equivalentCertifications?: IRelatedContentMeta[];
|
|
52
|
-
hasAccess: boolean;
|
|
53
|
-
hasAssessment?: string;
|
|
54
|
-
idealScreenSize?: string;
|
|
55
|
-
identifier: string;
|
|
56
|
-
introductoryVideo?: string;
|
|
57
|
-
introductoryVideoIcon?: string;
|
|
58
|
-
learningTrack?: string;
|
|
59
|
-
isExternal: boolean;
|
|
60
|
-
isIframeSupported: 'Yes' | 'No' | 'Maybe';
|
|
61
|
-
isInIntranet?: boolean;
|
|
62
|
-
keywords?: string[];
|
|
63
|
-
kArtifacts?: IRelatedContentMeta[];
|
|
64
|
-
lastContentAccessTime?: string;
|
|
65
|
-
lastUpdatedOn: string;
|
|
66
|
-
learningMode?: TLearningMode;
|
|
67
|
-
learningObjective: string;
|
|
68
|
-
labels?: string[];
|
|
69
|
-
locale?: string;
|
|
70
|
-
hasTranslations?: {
|
|
71
|
-
identifier: string;
|
|
72
|
-
locale: string;
|
|
73
|
-
}[];
|
|
74
|
-
isTranslationOf?: {
|
|
75
|
-
identifier: string;
|
|
76
|
-
locale: string;
|
|
77
|
-
}[];
|
|
78
|
-
me_totalSessionsCount: number;
|
|
79
|
-
mediaType: string;
|
|
80
|
-
mimeType: EMimeTypes;
|
|
81
|
-
msArtifactDetails?: IMSArtifactDetails;
|
|
82
|
-
mode?: ETagType;
|
|
83
|
-
name: string;
|
|
84
|
-
nextCertificationAttemptDate?: string;
|
|
85
|
-
playgroundInstructions?: string;
|
|
86
|
-
playgroundResources?: IResourcePlayground[];
|
|
87
|
-
postContents?: IPrePostContent[];
|
|
88
|
-
posterImage?: string;
|
|
89
|
-
preContents?: IPrePostContent[];
|
|
90
|
-
preRequisites: string;
|
|
91
|
-
price?: {
|
|
92
|
-
currency: string;
|
|
93
|
-
value: number;
|
|
94
|
-
};
|
|
95
|
-
primaryCategory: EPrimaryCategory;
|
|
96
|
-
proctorUrl?: string;
|
|
97
|
-
progress?: IMarkAsCompleteProgress;
|
|
98
|
-
publishedOn: string;
|
|
99
|
-
recentCertificationAttemptScore?: number;
|
|
100
|
-
recommendationReasons?: string[];
|
|
101
|
-
region?: string[];
|
|
102
|
-
registrationUrl?: string;
|
|
103
|
-
registrationInstructions?: string;
|
|
104
|
-
resourceCategory?: string[];
|
|
105
|
-
resourceType: string;
|
|
106
|
-
size?: number;
|
|
107
|
-
skills: ISkill[];
|
|
108
|
-
softwareRequirements?: IResourceDetail[];
|
|
109
|
-
sourceName: string;
|
|
110
|
-
sourceShortName: string;
|
|
111
|
-
sourceIconUrl?: string;
|
|
112
|
-
sourceUrl?: string;
|
|
113
|
-
ssoEnabled?: boolean;
|
|
114
|
-
lastReadContentId?: string;
|
|
115
|
-
status: 'Draft' | 'InReview' | 'QualityReview' | 'Reviewed' | 'Processing' | 'Live' | 'Deleted' | 'MarkedForDeletion' | 'Expired';
|
|
116
|
-
subTitle?: string;
|
|
117
|
-
subTitles?: ISubtitle[];
|
|
118
|
-
studyMaterials?: IRelatedContentMeta[];
|
|
119
|
-
systemRequirements?: string[];
|
|
120
|
-
tags: ITag[];
|
|
121
|
-
topics: IContentTopic[];
|
|
122
|
-
totalLikes?: {
|
|
123
|
-
[key: string]: number;
|
|
124
|
-
};
|
|
125
|
-
totalRating?: number;
|
|
126
|
-
track: ITrack[];
|
|
127
|
-
uniqueLearners?: number;
|
|
128
|
-
viewCount?: {
|
|
129
|
-
[key: string]: number;
|
|
130
|
-
};
|
|
131
|
-
reason?: string;
|
|
132
|
-
trainingLHubCount?: number;
|
|
133
|
-
verifiers?: {
|
|
134
|
-
name: string;
|
|
135
|
-
email: string;
|
|
136
|
-
id: string;
|
|
137
|
-
}[];
|
|
138
|
-
references?: {
|
|
139
|
-
url: string;
|
|
140
|
-
title: string;
|
|
141
|
-
}[];
|
|
142
|
-
resumePage?: number;
|
|
143
|
-
[key: string]: any;
|
|
144
|
-
optionalReading: boolean;
|
|
145
|
-
additionalTags?: string[];
|
|
146
|
-
}
|
|
147
|
-
interface IContentResponse {
|
|
148
|
-
id: string;
|
|
149
|
-
params: any;
|
|
150
|
-
responseCode: string;
|
|
151
|
-
result: {
|
|
152
|
-
content: IContent;
|
|
153
|
-
};
|
|
154
|
-
ts: string;
|
|
155
|
-
ver: string;
|
|
156
|
-
}
|
|
157
|
-
interface IBatch {
|
|
158
|
-
batchId: string;
|
|
159
|
-
createdBy: string;
|
|
160
|
-
endDate: string | null;
|
|
161
|
-
enrollmentType: string;
|
|
162
|
-
identifier: string;
|
|
163
|
-
name: string;
|
|
164
|
-
startDate: string;
|
|
165
|
-
status: number;
|
|
166
|
-
cert_templates?: null;
|
|
167
|
-
collectionId: string;
|
|
168
|
-
courseId: string;
|
|
169
|
-
createdDate: string;
|
|
170
|
-
createdFor: string[];
|
|
171
|
-
description?: null;
|
|
172
|
-
enrollmentEndDate: string | null;
|
|
173
|
-
id: string;
|
|
174
|
-
mentors?: string[] | null;
|
|
175
|
-
tandc?: null;
|
|
176
|
-
updatedDate?: string | null;
|
|
177
|
-
}
|
|
178
|
-
interface IBatchListResponse {
|
|
179
|
-
content?: IBatch[];
|
|
180
|
-
count?: number;
|
|
181
|
-
enrolled?: boolean;
|
|
182
|
-
workFlow?: {
|
|
183
|
-
wfInitiated?: boolean;
|
|
184
|
-
batch?: any;
|
|
185
|
-
wfItem?: any;
|
|
186
|
-
};
|
|
187
|
-
}
|
|
188
|
-
interface ICourse {
|
|
189
|
-
active: true;
|
|
190
|
-
addedBy: string;
|
|
191
|
-
batch: IBatch;
|
|
192
|
-
batchId: string;
|
|
193
|
-
certificates: [];
|
|
194
|
-
collectionId: string;
|
|
195
|
-
completedOn: string | null;
|
|
196
|
-
completionPercentage: number | null;
|
|
197
|
-
completionStatus?: number;
|
|
198
|
-
content: IContent;
|
|
199
|
-
contentId: string;
|
|
200
|
-
contentStatus: any;
|
|
201
|
-
courseId: string;
|
|
202
|
-
courseLogoUrl: string;
|
|
203
|
-
courseName: string;
|
|
204
|
-
dateTime: number;
|
|
205
|
-
description: string;
|
|
206
|
-
enrolledDate: string;
|
|
207
|
-
issuedCertificates: [];
|
|
208
|
-
lastContentAccessTime?: string;
|
|
209
|
-
lastReadContentId?: string;
|
|
210
|
-
lastReadContentStatus: string | null;
|
|
211
|
-
leafNodesCount: number;
|
|
212
|
-
progress: number;
|
|
213
|
-
status: number;
|
|
214
|
-
userId: string;
|
|
215
|
-
}
|
|
216
|
-
interface IContentMinimal {
|
|
217
|
-
appIcon: string;
|
|
218
|
-
artifactUrl: string;
|
|
219
|
-
difficultyLevel: string;
|
|
220
|
-
contentType: EContentTypes;
|
|
221
|
-
description: string;
|
|
222
|
-
displayContentType?: EDisplayContentTypes;
|
|
223
|
-
duration: number;
|
|
224
|
-
identifier: string;
|
|
225
|
-
hasAccess?: boolean;
|
|
226
|
-
isInIntranet?: boolean;
|
|
227
|
-
learningMode?: TLearningMode;
|
|
228
|
-
mimeType: EMimeTypes;
|
|
229
|
-
name: string;
|
|
230
|
-
creatorDetails: ICreator[];
|
|
231
|
-
creatorContacts: ICreator[];
|
|
232
|
-
posterImage: string;
|
|
233
|
-
primaryCategory: EPrimaryCategory;
|
|
234
|
-
resourceType?: string;
|
|
235
|
-
totalRating?: number;
|
|
236
|
-
}
|
|
237
|
-
interface ICollectionHierarchyResponse {
|
|
238
|
-
data: IContent;
|
|
239
|
-
hasMore: boolean;
|
|
240
|
-
totalContents: number;
|
|
241
|
-
}
|
|
242
|
-
interface IRelatedContentMeta {
|
|
243
|
-
identifier: string;
|
|
244
|
-
name: string;
|
|
245
|
-
}
|
|
246
|
-
type TCertificationStatus = 'ongoing' | 'passed' | 'canAttempt' | 'cannotAttempt';
|
|
247
|
-
type TLearningMode = 'Self-Paced' | 'Instructor-Led' | 'Open' | 'Closed';
|
|
248
|
-
interface IMarkAsCompleteProgress {
|
|
249
|
-
progressStatus: 'open' | 'started' | 'completed';
|
|
250
|
-
showMarkAsComplete: boolean;
|
|
251
|
-
markAsCompleteReason: string;
|
|
252
|
-
progressSupported: boolean;
|
|
253
|
-
progress: number | null;
|
|
254
|
-
}
|
|
255
|
-
interface ITag {
|
|
256
|
-
id: string;
|
|
257
|
-
type: string;
|
|
258
|
-
value: string;
|
|
259
|
-
}
|
|
260
|
-
interface IMSArtifactDetails {
|
|
261
|
-
channelId: string;
|
|
262
|
-
videoId: string;
|
|
263
|
-
}
|
|
264
|
-
interface IClient {
|
|
265
|
-
displayName: string;
|
|
266
|
-
id: string;
|
|
267
|
-
name: string;
|
|
268
|
-
}
|
|
269
|
-
interface ISubtitle {
|
|
270
|
-
srclang: string;
|
|
271
|
-
label: string;
|
|
272
|
-
url: string;
|
|
273
|
-
}
|
|
274
|
-
interface IPrePostContent {
|
|
275
|
-
identifier: string;
|
|
276
|
-
name: string;
|
|
277
|
-
}
|
|
278
|
-
interface IResourceDetail {
|
|
279
|
-
title?: string;
|
|
280
|
-
url?: string;
|
|
281
|
-
}
|
|
282
|
-
interface IResourcePlayground {
|
|
283
|
-
appIcon: string;
|
|
284
|
-
artifactUrl: string;
|
|
285
|
-
identifier: string;
|
|
286
|
-
name: string;
|
|
287
|
-
}
|
|
288
|
-
interface ITrack {
|
|
289
|
-
id: string;
|
|
290
|
-
name: string;
|
|
291
|
-
status: string;
|
|
292
|
-
visibility: string;
|
|
293
|
-
}
|
|
294
|
-
interface ISkill {
|
|
295
|
-
id: string;
|
|
296
|
-
category: string;
|
|
297
|
-
skill: string;
|
|
298
|
-
name: string;
|
|
299
|
-
}
|
|
300
|
-
interface ICreator {
|
|
301
|
-
id: string;
|
|
302
|
-
name: string;
|
|
303
|
-
email: string;
|
|
304
|
-
}
|
|
305
|
-
interface IContentTopic {
|
|
306
|
-
identifier: string;
|
|
307
|
-
name: string;
|
|
308
|
-
}
|
|
309
|
-
interface IContact {
|
|
310
|
-
id: string;
|
|
311
|
-
name: string;
|
|
312
|
-
email: string;
|
|
313
|
-
}
|
|
314
|
-
interface IViewerContinueLearningRequest {
|
|
315
|
-
resourceId: string;
|
|
316
|
-
contextPathId: string;
|
|
317
|
-
data: string;
|
|
318
|
-
dateAccessed: number;
|
|
319
|
-
contextType?: string;
|
|
320
|
-
}
|
|
321
|
-
/**
|
|
322
|
-
* @deprecated Enum EContentTypes should not be used in future
|
|
323
|
-
*/
|
|
324
|
-
enum EContentTypes {
|
|
325
|
-
PROGRAMV2 = "Program",
|
|
326
|
-
PROGRAM = "Learning Path",
|
|
327
|
-
CHANNEL = "Channel",
|
|
328
|
-
COURSE = "Course",
|
|
329
|
-
KNOWLEDGE_ARTIFACT = "Knowledge Artifact",
|
|
330
|
-
KNOWLEDGE_BOARD = "Knowledge Board",
|
|
331
|
-
LEARNING_JOURNEY = "Learning Journeys",
|
|
332
|
-
MODULE = "CourseUnit",
|
|
333
|
-
RESOURCE = "Resource"
|
|
334
|
-
}
|
|
335
|
-
enum EPrimaryCategory {
|
|
336
|
-
PROGRAM = "Program",
|
|
337
|
-
COURSE = "Course",
|
|
338
|
-
MODULE = "Course Unit",
|
|
339
|
-
RESOURCE = "Learning Resource",
|
|
340
|
-
GOALS = "GOALS",
|
|
341
|
-
PLAYLIST = "PLAYLIST",
|
|
342
|
-
PRACTICE_RESOURCE = "Practice Question Set",
|
|
343
|
-
FINAL_ASSESSMENT = "Course Assessment",
|
|
344
|
-
COMP_ASSESSMENT = "Competency Assessment",
|
|
345
|
-
FTB_QUESTION = "FTB Question",
|
|
346
|
-
MTF_QUESTION = "MTF Question",
|
|
347
|
-
MULTIPLE_CHOICE_QUESTION = "Multiple Choice Question",
|
|
348
|
-
SINGLE_CHOICE_QUESTION = "Single Choice Question",
|
|
349
|
-
MANDATORY_COURSE_GOAL = "Mandatory Course Goal",
|
|
350
|
-
STANDALONE_ASSESSMENT = "Standalone Assessment",
|
|
351
|
-
BLENDED_PROGRAM = "Blended Program",
|
|
352
|
-
OFFLINE_SESSION = "Offline Session",
|
|
353
|
-
CURATED_PROGRAM = "Curated Program",
|
|
354
|
-
/**
|
|
355
|
-
* @deprecated The type should not be used
|
|
356
|
-
*/
|
|
357
|
-
KNOWLEDGE_ARTIFACT = "Knowledge Artifact",
|
|
358
|
-
/**
|
|
359
|
-
* @deprecated The type should not be used
|
|
360
|
-
*/
|
|
361
|
-
KNOWLEDGE_BOARD = "Knowledge Board",
|
|
362
|
-
/**
|
|
363
|
-
* @deprecated The type should not be used
|
|
364
|
-
*/
|
|
365
|
-
LEARNING_JOURNEY = "Learning Journeys",
|
|
366
|
-
/**
|
|
367
|
-
* @deprecated The type should not be used
|
|
368
|
-
*/
|
|
369
|
-
CHANNEL = "Channel"
|
|
370
|
-
}
|
|
371
|
-
enum ECourseCategory {
|
|
372
|
-
INVITE_ONLY_PROGRAM = "Invite-Only Program",
|
|
373
|
-
MODERATED_PROGRAM = "Moderated Program",
|
|
374
|
-
BLENDED_PROGRAM = "Blended Program",
|
|
375
|
-
CURATED_PROGRAM = "Curated Program",
|
|
376
|
-
COURSE = "Course",
|
|
377
|
-
MODERATED_COURSE = "Moderated Course",
|
|
378
|
-
STANDALONE_ASSESSMENT = "Standalone Assessment",
|
|
379
|
-
MODERATED_ASSESSEMENT = "Moderated Assessment"
|
|
380
|
-
}
|
|
381
|
-
enum WFBlendedProgramStatus {
|
|
382
|
-
INITIATE = "INITIATE",
|
|
383
|
-
SEND_FOR_MDO_APPROVAL = "SEND_FOR_MDO_APPROVAL",
|
|
384
|
-
SEND_FOR_PC_APPROVAL = "SEND_FOR_PC_APPROVAL",
|
|
385
|
-
APPROVED = "APPROVED",
|
|
386
|
-
REJECTED = "REJECTED",
|
|
387
|
-
WITHDRAWN = "WITHDRAWN",
|
|
388
|
-
REMOVED = "REMOVED",
|
|
389
|
-
WITHDRAW = "WITHDRAW"
|
|
390
|
-
}
|
|
391
|
-
enum WFBlendedProgramApprovalTypes {
|
|
392
|
-
ONE_STEP_PC = "oneStepPCApproval",
|
|
393
|
-
ONE_STEP_MDO = "oneStepMDOApproval",
|
|
394
|
-
TWO_STEP_MDO_PC = "twoStepMDOAndPCApproval",
|
|
395
|
-
TWO_STEP_PC_MDO = "twoStepPCAndMDOApproval"
|
|
396
|
-
}
|
|
397
|
-
const WFSTATUS_MSG_MAPPING: any;
|
|
398
|
-
enum EResourcePrimaryCategories {
|
|
399
|
-
LEARNING_RESOURCE = "Learning Resource",
|
|
400
|
-
PRACTICE_RESOURCE = "Practice Question Set",
|
|
401
|
-
FINAL_ASSESSMENT = "Course Assessment",
|
|
402
|
-
COMP_ASSESSMENT = "Competency Assessment",
|
|
403
|
-
OFFLINE_SESSION = "Offline Session"
|
|
404
|
-
}
|
|
405
|
-
enum EMiscPlayerSupportedCollectionTypes {
|
|
406
|
-
PLAYLIST = "Playlist"
|
|
407
|
-
}
|
|
408
|
-
const PLAYER_SUPPORTED_COLLECTION_TYPES: string[];
|
|
409
|
-
const KB_SUPPORTED_CONTENT_TYPES: EPrimaryCategory[];
|
|
410
|
-
const PLAYLIST_SUPPORTED_CONTENT_TYPES: EPrimaryCategory[];
|
|
411
|
-
enum EMimeTypes {
|
|
412
|
-
COLLECTION = "application/vnd.ekstep.content-collection",
|
|
413
|
-
ZIP = "application/vnd.ekstep.html-archive",
|
|
414
|
-
ZIP2 = "application/vnd.ekstep.ecml-archive",
|
|
415
|
-
HTML = "application/html",
|
|
416
|
-
HTML_TEXT = "text/html",
|
|
417
|
-
ILP_FP = "application/ilpfp",
|
|
418
|
-
IAP = "application/iap-assessment",
|
|
419
|
-
M4A = "audio/m4a",
|
|
420
|
-
MP3 = "audio/mpeg",
|
|
421
|
-
MP4 = "video/mp4",
|
|
422
|
-
M3U8 = "application/x-mpegURL",
|
|
423
|
-
INTERACTION = "video/interactive",
|
|
424
|
-
PDF = "application/pdf",
|
|
425
|
-
QUIZ = "application/quiz",
|
|
426
|
-
DRAG_DROP = "application/drag-drop",
|
|
427
|
-
HTML_PICKER = "application/htmlpicker",
|
|
428
|
-
WEB_MODULE = "application/web-module",
|
|
429
|
-
WEB_MODULE_EXERCISE = "application/web-module-exercise",
|
|
430
|
-
YOUTUBE = "video/x-youtube",
|
|
431
|
-
HANDS_ON = "application/integrated-hands-on",
|
|
432
|
-
RDBMS_HANDS_ON = "application/rdbms",
|
|
433
|
-
CLASS_DIAGRAM = "application/class-diagram",
|
|
434
|
-
CHANNEL = "application/channel",
|
|
435
|
-
COLLECTION_RESOURCE = "resource/collection",
|
|
436
|
-
APPLICATION_JSON = "application/json",
|
|
437
|
-
PRACTICE_RESOURCE = "application/vnd.sunbird.questionset",
|
|
438
|
-
FINAL_ASSESSMENT = "application/vnd.sunbird.questionset",
|
|
439
|
-
OFFLINE_SESSION = "application/offline",
|
|
440
|
-
CERTIFICATION = "application/certification",
|
|
441
|
-
PLAYLIST = "application/playlist",
|
|
442
|
-
TEXT_WEB = "text/x-url",
|
|
443
|
-
SURVEY = "application/survey",
|
|
444
|
-
QUESTION_SET = "application/vnd.sunbird.questionset",
|
|
445
|
-
QUESTION = "application/vnd.sunbird.question",
|
|
446
|
-
UNKNOWN = "application/unknown"
|
|
447
|
-
}
|
|
448
|
-
enum EDisplayContentTypes {
|
|
449
|
-
ASSESSMENT = "ASSESSMENT",
|
|
450
|
-
STANDALONE_ASSESSMENT = "STANDALONE ASSESSMENT",
|
|
451
|
-
PRACTICE_RESOURCE = "Practice Question Set",
|
|
452
|
-
FINAL_ASSESSMENT = "Course Assessment",
|
|
453
|
-
AUDIO = "AUDIO",
|
|
454
|
-
CERTIFICATION = "CERTIFICATION",
|
|
455
|
-
CHANNEL = "Channel",
|
|
456
|
-
CLASS_DIAGRAM = "CLASS_DIAGRAM",
|
|
457
|
-
COURSE = "COURSE",
|
|
458
|
-
DEFAULT = "DEFAULT",
|
|
459
|
-
DRAG_DROP = "DRAG_DROP",
|
|
460
|
-
EXTERNAL_CERTIFICATION = "EXTERNAL_CERTIFICATION",
|
|
461
|
-
EXTERNAL_COURSE = "EXTERNAL_COURSE",
|
|
462
|
-
GOALS = "GOALS",
|
|
463
|
-
HANDS_ON = "HANDS_ON",
|
|
464
|
-
IAP = "IAP",
|
|
465
|
-
INSTRUCTOR_LED = "INSTRUCTOR_LED",
|
|
466
|
-
INTERACTIVE_VIDEO = "INTERACTIVE_VIDEO",
|
|
467
|
-
KNOWLEDGE_ARTIFACT = "KNOWLEDGE_ARTIFACT",
|
|
468
|
-
MODULE = "MODULE",
|
|
469
|
-
PDF = "PDF",
|
|
470
|
-
SURVEY = "SURVEY",
|
|
471
|
-
PLAYLIST = "PLAYLIST",
|
|
472
|
-
PROGRAM = "PROGRAM",
|
|
473
|
-
QUIZ = "QUIZ",
|
|
474
|
-
RESOURCE = "RESOURCE",
|
|
475
|
-
RDBMS_HANDS_ON = "RDBMS_HANDS_ON",
|
|
476
|
-
VIDEO = "VIDEO",
|
|
477
|
-
WEB_MODULE = "WEB_MODULE",
|
|
478
|
-
WEB_PAGE = "WEB_PAGE",
|
|
479
|
-
YOUTUBE = "YOUTUBE",
|
|
480
|
-
LINK = "LINK",
|
|
481
|
-
KNOWLEDGE_BOARD = "Knowledge Board",
|
|
482
|
-
LEARNING_JOURNEY = "Learning Journeys",
|
|
483
|
-
BLENDED_PROGRAM = "BLENDED PROGRAM",
|
|
484
|
-
CURATED_PROGRAM = "CURATED PROGRAM"
|
|
485
|
-
}
|
|
486
|
-
enum EFilterCategory {
|
|
487
|
-
ALL = "ALL",
|
|
488
|
-
LEARN = "LEARN",
|
|
489
|
-
PRACTICE = "PRACTICE",
|
|
490
|
-
ASSESS = "ASSESS"
|
|
491
|
-
}
|
|
492
|
-
enum ETagType {
|
|
493
|
-
NEWLY_ADDED = "NEWLY ADDED"
|
|
494
|
-
}
|
|
495
|
-
const UN_SUPPORTED_DATA_TYPES_FOR_NON_BATCH_USERS: string[];
|
|
496
|
-
const PUBLIC_SUPPORTED_CONTENT_TYPES: EMimeTypes[];
|
|
497
|
-
}
|
|
1
|
+
export declare namespace NsContent {
|
|
2
|
+
interface IContinueLearningData extends IContent {
|
|
3
|
+
continueData: any;
|
|
4
|
+
}
|
|
5
|
+
interface IContinueLearningDataReq {
|
|
6
|
+
request: {
|
|
7
|
+
userId: string | undefined;
|
|
8
|
+
courseId: string;
|
|
9
|
+
contentIds: string[];
|
|
10
|
+
batchId: string | undefined | null;
|
|
11
|
+
fields?: string[];
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
interface IContent {
|
|
15
|
+
platform?: any;
|
|
16
|
+
addedOn: string;
|
|
17
|
+
appIcon: string;
|
|
18
|
+
artifactUrl: string;
|
|
19
|
+
averageRating?: any;
|
|
20
|
+
batches?: any;
|
|
21
|
+
batch?: any;
|
|
22
|
+
body?: string;
|
|
23
|
+
certificationList?: IRelatedContentMeta[];
|
|
24
|
+
certificationStatus?: TCertificationStatus;
|
|
25
|
+
certificationSubmissionDate?: string;
|
|
26
|
+
certificationUrl: string;
|
|
27
|
+
childNodes?: string[];
|
|
28
|
+
children: IContent[];
|
|
29
|
+
childrenClassifiers?: string[];
|
|
30
|
+
clients?: IClient[];
|
|
31
|
+
collections?: IContent[];
|
|
32
|
+
completionPercentage?: number | null;
|
|
33
|
+
completionStatus?: number;
|
|
34
|
+
difficultyLevel: string;
|
|
35
|
+
contentId: string;
|
|
36
|
+
contentType: EContentTypes;
|
|
37
|
+
contentUrlAtSource: string;
|
|
38
|
+
creatorContacts: ICreator[];
|
|
39
|
+
creatorDetails: ICreator[];
|
|
40
|
+
creatorLogo: string;
|
|
41
|
+
creatorPosterImage: string;
|
|
42
|
+
creatorThumbnail: string;
|
|
43
|
+
curatedTags: string[];
|
|
44
|
+
description: string;
|
|
45
|
+
displayContentType: EDisplayContentTypes;
|
|
46
|
+
downloadUrl?: string;
|
|
47
|
+
duration: number;
|
|
48
|
+
enrolledDate?: string;
|
|
49
|
+
exclusiveContent?: boolean;
|
|
50
|
+
expiryDate?: string;
|
|
51
|
+
equivalentCertifications?: IRelatedContentMeta[];
|
|
52
|
+
hasAccess: boolean;
|
|
53
|
+
hasAssessment?: string;
|
|
54
|
+
idealScreenSize?: string;
|
|
55
|
+
identifier: string;
|
|
56
|
+
introductoryVideo?: string;
|
|
57
|
+
introductoryVideoIcon?: string;
|
|
58
|
+
learningTrack?: string;
|
|
59
|
+
isExternal: boolean;
|
|
60
|
+
isIframeSupported: 'Yes' | 'No' | 'Maybe';
|
|
61
|
+
isInIntranet?: boolean;
|
|
62
|
+
keywords?: string[];
|
|
63
|
+
kArtifacts?: IRelatedContentMeta[];
|
|
64
|
+
lastContentAccessTime?: string;
|
|
65
|
+
lastUpdatedOn: string;
|
|
66
|
+
learningMode?: TLearningMode;
|
|
67
|
+
learningObjective: string;
|
|
68
|
+
labels?: string[];
|
|
69
|
+
locale?: string;
|
|
70
|
+
hasTranslations?: {
|
|
71
|
+
identifier: string;
|
|
72
|
+
locale: string;
|
|
73
|
+
}[];
|
|
74
|
+
isTranslationOf?: {
|
|
75
|
+
identifier: string;
|
|
76
|
+
locale: string;
|
|
77
|
+
}[];
|
|
78
|
+
me_totalSessionsCount: number;
|
|
79
|
+
mediaType: string;
|
|
80
|
+
mimeType: EMimeTypes;
|
|
81
|
+
msArtifactDetails?: IMSArtifactDetails;
|
|
82
|
+
mode?: ETagType;
|
|
83
|
+
name: string;
|
|
84
|
+
nextCertificationAttemptDate?: string;
|
|
85
|
+
playgroundInstructions?: string;
|
|
86
|
+
playgroundResources?: IResourcePlayground[];
|
|
87
|
+
postContents?: IPrePostContent[];
|
|
88
|
+
posterImage?: string;
|
|
89
|
+
preContents?: IPrePostContent[];
|
|
90
|
+
preRequisites: string;
|
|
91
|
+
price?: {
|
|
92
|
+
currency: string;
|
|
93
|
+
value: number;
|
|
94
|
+
};
|
|
95
|
+
primaryCategory: EPrimaryCategory;
|
|
96
|
+
proctorUrl?: string;
|
|
97
|
+
progress?: IMarkAsCompleteProgress;
|
|
98
|
+
publishedOn: string;
|
|
99
|
+
recentCertificationAttemptScore?: number;
|
|
100
|
+
recommendationReasons?: string[];
|
|
101
|
+
region?: string[];
|
|
102
|
+
registrationUrl?: string;
|
|
103
|
+
registrationInstructions?: string;
|
|
104
|
+
resourceCategory?: string[];
|
|
105
|
+
resourceType: string;
|
|
106
|
+
size?: number;
|
|
107
|
+
skills: ISkill[];
|
|
108
|
+
softwareRequirements?: IResourceDetail[];
|
|
109
|
+
sourceName: string;
|
|
110
|
+
sourceShortName: string;
|
|
111
|
+
sourceIconUrl?: string;
|
|
112
|
+
sourceUrl?: string;
|
|
113
|
+
ssoEnabled?: boolean;
|
|
114
|
+
lastReadContentId?: string;
|
|
115
|
+
status: 'Draft' | 'InReview' | 'QualityReview' | 'Reviewed' | 'Processing' | 'Live' | 'Deleted' | 'MarkedForDeletion' | 'Expired';
|
|
116
|
+
subTitle?: string;
|
|
117
|
+
subTitles?: ISubtitle[];
|
|
118
|
+
studyMaterials?: IRelatedContentMeta[];
|
|
119
|
+
systemRequirements?: string[];
|
|
120
|
+
tags: ITag[];
|
|
121
|
+
topics: IContentTopic[];
|
|
122
|
+
totalLikes?: {
|
|
123
|
+
[key: string]: number;
|
|
124
|
+
};
|
|
125
|
+
totalRating?: number;
|
|
126
|
+
track: ITrack[];
|
|
127
|
+
uniqueLearners?: number;
|
|
128
|
+
viewCount?: {
|
|
129
|
+
[key: string]: number;
|
|
130
|
+
};
|
|
131
|
+
reason?: string;
|
|
132
|
+
trainingLHubCount?: number;
|
|
133
|
+
verifiers?: {
|
|
134
|
+
name: string;
|
|
135
|
+
email: string;
|
|
136
|
+
id: string;
|
|
137
|
+
}[];
|
|
138
|
+
references?: {
|
|
139
|
+
url: string;
|
|
140
|
+
title: string;
|
|
141
|
+
}[];
|
|
142
|
+
resumePage?: number;
|
|
143
|
+
[key: string]: any;
|
|
144
|
+
optionalReading: boolean;
|
|
145
|
+
additionalTags?: string[];
|
|
146
|
+
}
|
|
147
|
+
interface IContentResponse {
|
|
148
|
+
id: string;
|
|
149
|
+
params: any;
|
|
150
|
+
responseCode: string;
|
|
151
|
+
result: {
|
|
152
|
+
content: IContent;
|
|
153
|
+
};
|
|
154
|
+
ts: string;
|
|
155
|
+
ver: string;
|
|
156
|
+
}
|
|
157
|
+
interface IBatch {
|
|
158
|
+
batchId: string;
|
|
159
|
+
createdBy: string;
|
|
160
|
+
endDate: string | null;
|
|
161
|
+
enrollmentType: string;
|
|
162
|
+
identifier: string;
|
|
163
|
+
name: string;
|
|
164
|
+
startDate: string;
|
|
165
|
+
status: number;
|
|
166
|
+
cert_templates?: null;
|
|
167
|
+
collectionId: string;
|
|
168
|
+
courseId: string;
|
|
169
|
+
createdDate: string;
|
|
170
|
+
createdFor: string[];
|
|
171
|
+
description?: null;
|
|
172
|
+
enrollmentEndDate: string | null;
|
|
173
|
+
id: string;
|
|
174
|
+
mentors?: string[] | null;
|
|
175
|
+
tandc?: null;
|
|
176
|
+
updatedDate?: string | null;
|
|
177
|
+
}
|
|
178
|
+
interface IBatchListResponse {
|
|
179
|
+
content?: IBatch[];
|
|
180
|
+
count?: number;
|
|
181
|
+
enrolled?: boolean;
|
|
182
|
+
workFlow?: {
|
|
183
|
+
wfInitiated?: boolean;
|
|
184
|
+
batch?: any;
|
|
185
|
+
wfItem?: any;
|
|
186
|
+
};
|
|
187
|
+
}
|
|
188
|
+
interface ICourse {
|
|
189
|
+
active: true;
|
|
190
|
+
addedBy: string;
|
|
191
|
+
batch: IBatch;
|
|
192
|
+
batchId: string;
|
|
193
|
+
certificates: [];
|
|
194
|
+
collectionId: string;
|
|
195
|
+
completedOn: string | null;
|
|
196
|
+
completionPercentage: number | null;
|
|
197
|
+
completionStatus?: number;
|
|
198
|
+
content: IContent;
|
|
199
|
+
contentId: string;
|
|
200
|
+
contentStatus: any;
|
|
201
|
+
courseId: string;
|
|
202
|
+
courseLogoUrl: string;
|
|
203
|
+
courseName: string;
|
|
204
|
+
dateTime: number;
|
|
205
|
+
description: string;
|
|
206
|
+
enrolledDate: string;
|
|
207
|
+
issuedCertificates: [];
|
|
208
|
+
lastContentAccessTime?: string;
|
|
209
|
+
lastReadContentId?: string;
|
|
210
|
+
lastReadContentStatus: string | null;
|
|
211
|
+
leafNodesCount: number;
|
|
212
|
+
progress: number;
|
|
213
|
+
status: number;
|
|
214
|
+
userId: string;
|
|
215
|
+
}
|
|
216
|
+
interface IContentMinimal {
|
|
217
|
+
appIcon: string;
|
|
218
|
+
artifactUrl: string;
|
|
219
|
+
difficultyLevel: string;
|
|
220
|
+
contentType: EContentTypes;
|
|
221
|
+
description: string;
|
|
222
|
+
displayContentType?: EDisplayContentTypes;
|
|
223
|
+
duration: number;
|
|
224
|
+
identifier: string;
|
|
225
|
+
hasAccess?: boolean;
|
|
226
|
+
isInIntranet?: boolean;
|
|
227
|
+
learningMode?: TLearningMode;
|
|
228
|
+
mimeType: EMimeTypes;
|
|
229
|
+
name: string;
|
|
230
|
+
creatorDetails: ICreator[];
|
|
231
|
+
creatorContacts: ICreator[];
|
|
232
|
+
posterImage: string;
|
|
233
|
+
primaryCategory: EPrimaryCategory;
|
|
234
|
+
resourceType?: string;
|
|
235
|
+
totalRating?: number;
|
|
236
|
+
}
|
|
237
|
+
interface ICollectionHierarchyResponse {
|
|
238
|
+
data: IContent;
|
|
239
|
+
hasMore: boolean;
|
|
240
|
+
totalContents: number;
|
|
241
|
+
}
|
|
242
|
+
interface IRelatedContentMeta {
|
|
243
|
+
identifier: string;
|
|
244
|
+
name: string;
|
|
245
|
+
}
|
|
246
|
+
type TCertificationStatus = 'ongoing' | 'passed' | 'canAttempt' | 'cannotAttempt';
|
|
247
|
+
type TLearningMode = 'Self-Paced' | 'Instructor-Led' | 'Open' | 'Closed';
|
|
248
|
+
interface IMarkAsCompleteProgress {
|
|
249
|
+
progressStatus: 'open' | 'started' | 'completed';
|
|
250
|
+
showMarkAsComplete: boolean;
|
|
251
|
+
markAsCompleteReason: string;
|
|
252
|
+
progressSupported: boolean;
|
|
253
|
+
progress: number | null;
|
|
254
|
+
}
|
|
255
|
+
interface ITag {
|
|
256
|
+
id: string;
|
|
257
|
+
type: string;
|
|
258
|
+
value: string;
|
|
259
|
+
}
|
|
260
|
+
interface IMSArtifactDetails {
|
|
261
|
+
channelId: string;
|
|
262
|
+
videoId: string;
|
|
263
|
+
}
|
|
264
|
+
interface IClient {
|
|
265
|
+
displayName: string;
|
|
266
|
+
id: string;
|
|
267
|
+
name: string;
|
|
268
|
+
}
|
|
269
|
+
interface ISubtitle {
|
|
270
|
+
srclang: string;
|
|
271
|
+
label: string;
|
|
272
|
+
url: string;
|
|
273
|
+
}
|
|
274
|
+
interface IPrePostContent {
|
|
275
|
+
identifier: string;
|
|
276
|
+
name: string;
|
|
277
|
+
}
|
|
278
|
+
interface IResourceDetail {
|
|
279
|
+
title?: string;
|
|
280
|
+
url?: string;
|
|
281
|
+
}
|
|
282
|
+
interface IResourcePlayground {
|
|
283
|
+
appIcon: string;
|
|
284
|
+
artifactUrl: string;
|
|
285
|
+
identifier: string;
|
|
286
|
+
name: string;
|
|
287
|
+
}
|
|
288
|
+
interface ITrack {
|
|
289
|
+
id: string;
|
|
290
|
+
name: string;
|
|
291
|
+
status: string;
|
|
292
|
+
visibility: string;
|
|
293
|
+
}
|
|
294
|
+
interface ISkill {
|
|
295
|
+
id: string;
|
|
296
|
+
category: string;
|
|
297
|
+
skill: string;
|
|
298
|
+
name: string;
|
|
299
|
+
}
|
|
300
|
+
interface ICreator {
|
|
301
|
+
id: string;
|
|
302
|
+
name: string;
|
|
303
|
+
email: string;
|
|
304
|
+
}
|
|
305
|
+
interface IContentTopic {
|
|
306
|
+
identifier: string;
|
|
307
|
+
name: string;
|
|
308
|
+
}
|
|
309
|
+
interface IContact {
|
|
310
|
+
id: string;
|
|
311
|
+
name: string;
|
|
312
|
+
email: string;
|
|
313
|
+
}
|
|
314
|
+
interface IViewerContinueLearningRequest {
|
|
315
|
+
resourceId: string;
|
|
316
|
+
contextPathId: string;
|
|
317
|
+
data: string;
|
|
318
|
+
dateAccessed: number;
|
|
319
|
+
contextType?: string;
|
|
320
|
+
}
|
|
321
|
+
/**
|
|
322
|
+
* @deprecated Enum EContentTypes should not be used in future
|
|
323
|
+
*/
|
|
324
|
+
enum EContentTypes {
|
|
325
|
+
PROGRAMV2 = "Program",
|
|
326
|
+
PROGRAM = "Learning Path",
|
|
327
|
+
CHANNEL = "Channel",
|
|
328
|
+
COURSE = "Course",
|
|
329
|
+
KNOWLEDGE_ARTIFACT = "Knowledge Artifact",
|
|
330
|
+
KNOWLEDGE_BOARD = "Knowledge Board",
|
|
331
|
+
LEARNING_JOURNEY = "Learning Journeys",
|
|
332
|
+
MODULE = "CourseUnit",
|
|
333
|
+
RESOURCE = "Resource"
|
|
334
|
+
}
|
|
335
|
+
enum EPrimaryCategory {
|
|
336
|
+
PROGRAM = "Program",
|
|
337
|
+
COURSE = "Course",
|
|
338
|
+
MODULE = "Course Unit",
|
|
339
|
+
RESOURCE = "Learning Resource",
|
|
340
|
+
GOALS = "GOALS",
|
|
341
|
+
PLAYLIST = "PLAYLIST",
|
|
342
|
+
PRACTICE_RESOURCE = "Practice Question Set",
|
|
343
|
+
FINAL_ASSESSMENT = "Course Assessment",
|
|
344
|
+
COMP_ASSESSMENT = "Competency Assessment",
|
|
345
|
+
FTB_QUESTION = "FTB Question",
|
|
346
|
+
MTF_QUESTION = "MTF Question",
|
|
347
|
+
MULTIPLE_CHOICE_QUESTION = "Multiple Choice Question",
|
|
348
|
+
SINGLE_CHOICE_QUESTION = "Single Choice Question",
|
|
349
|
+
MANDATORY_COURSE_GOAL = "Mandatory Course Goal",
|
|
350
|
+
STANDALONE_ASSESSMENT = "Standalone Assessment",
|
|
351
|
+
BLENDED_PROGRAM = "Blended Program",
|
|
352
|
+
OFFLINE_SESSION = "Offline Session",
|
|
353
|
+
CURATED_PROGRAM = "Curated Program",
|
|
354
|
+
/**
|
|
355
|
+
* @deprecated The type should not be used
|
|
356
|
+
*/
|
|
357
|
+
KNOWLEDGE_ARTIFACT = "Knowledge Artifact",
|
|
358
|
+
/**
|
|
359
|
+
* @deprecated The type should not be used
|
|
360
|
+
*/
|
|
361
|
+
KNOWLEDGE_BOARD = "Knowledge Board",
|
|
362
|
+
/**
|
|
363
|
+
* @deprecated The type should not be used
|
|
364
|
+
*/
|
|
365
|
+
LEARNING_JOURNEY = "Learning Journeys",
|
|
366
|
+
/**
|
|
367
|
+
* @deprecated The type should not be used
|
|
368
|
+
*/
|
|
369
|
+
CHANNEL = "Channel"
|
|
370
|
+
}
|
|
371
|
+
enum ECourseCategory {
|
|
372
|
+
INVITE_ONLY_PROGRAM = "Invite-Only Program",
|
|
373
|
+
MODERATED_PROGRAM = "Moderated Program",
|
|
374
|
+
BLENDED_PROGRAM = "Blended Program",
|
|
375
|
+
CURATED_PROGRAM = "Curated Program",
|
|
376
|
+
COURSE = "Course",
|
|
377
|
+
MODERATED_COURSE = "Moderated Course",
|
|
378
|
+
STANDALONE_ASSESSMENT = "Standalone Assessment",
|
|
379
|
+
MODERATED_ASSESSEMENT = "Moderated Assessment"
|
|
380
|
+
}
|
|
381
|
+
enum WFBlendedProgramStatus {
|
|
382
|
+
INITIATE = "INITIATE",
|
|
383
|
+
SEND_FOR_MDO_APPROVAL = "SEND_FOR_MDO_APPROVAL",
|
|
384
|
+
SEND_FOR_PC_APPROVAL = "SEND_FOR_PC_APPROVAL",
|
|
385
|
+
APPROVED = "APPROVED",
|
|
386
|
+
REJECTED = "REJECTED",
|
|
387
|
+
WITHDRAWN = "WITHDRAWN",
|
|
388
|
+
REMOVED = "REMOVED",
|
|
389
|
+
WITHDRAW = "WITHDRAW"
|
|
390
|
+
}
|
|
391
|
+
enum WFBlendedProgramApprovalTypes {
|
|
392
|
+
ONE_STEP_PC = "oneStepPCApproval",
|
|
393
|
+
ONE_STEP_MDO = "oneStepMDOApproval",
|
|
394
|
+
TWO_STEP_MDO_PC = "twoStepMDOAndPCApproval",
|
|
395
|
+
TWO_STEP_PC_MDO = "twoStepPCAndMDOApproval"
|
|
396
|
+
}
|
|
397
|
+
const WFSTATUS_MSG_MAPPING: any;
|
|
398
|
+
enum EResourcePrimaryCategories {
|
|
399
|
+
LEARNING_RESOURCE = "Learning Resource",
|
|
400
|
+
PRACTICE_RESOURCE = "Practice Question Set",
|
|
401
|
+
FINAL_ASSESSMENT = "Course Assessment",
|
|
402
|
+
COMP_ASSESSMENT = "Competency Assessment",
|
|
403
|
+
OFFLINE_SESSION = "Offline Session"
|
|
404
|
+
}
|
|
405
|
+
enum EMiscPlayerSupportedCollectionTypes {
|
|
406
|
+
PLAYLIST = "Playlist"
|
|
407
|
+
}
|
|
408
|
+
const PLAYER_SUPPORTED_COLLECTION_TYPES: string[];
|
|
409
|
+
const KB_SUPPORTED_CONTENT_TYPES: EPrimaryCategory[];
|
|
410
|
+
const PLAYLIST_SUPPORTED_CONTENT_TYPES: EPrimaryCategory[];
|
|
411
|
+
enum EMimeTypes {
|
|
412
|
+
COLLECTION = "application/vnd.ekstep.content-collection",
|
|
413
|
+
ZIP = "application/vnd.ekstep.html-archive",
|
|
414
|
+
ZIP2 = "application/vnd.ekstep.ecml-archive",
|
|
415
|
+
HTML = "application/html",
|
|
416
|
+
HTML_TEXT = "text/html",
|
|
417
|
+
ILP_FP = "application/ilpfp",
|
|
418
|
+
IAP = "application/iap-assessment",
|
|
419
|
+
M4A = "audio/m4a",
|
|
420
|
+
MP3 = "audio/mpeg",
|
|
421
|
+
MP4 = "video/mp4",
|
|
422
|
+
M3U8 = "application/x-mpegURL",
|
|
423
|
+
INTERACTION = "video/interactive",
|
|
424
|
+
PDF = "application/pdf",
|
|
425
|
+
QUIZ = "application/quiz",
|
|
426
|
+
DRAG_DROP = "application/drag-drop",
|
|
427
|
+
HTML_PICKER = "application/htmlpicker",
|
|
428
|
+
WEB_MODULE = "application/web-module",
|
|
429
|
+
WEB_MODULE_EXERCISE = "application/web-module-exercise",
|
|
430
|
+
YOUTUBE = "video/x-youtube",
|
|
431
|
+
HANDS_ON = "application/integrated-hands-on",
|
|
432
|
+
RDBMS_HANDS_ON = "application/rdbms",
|
|
433
|
+
CLASS_DIAGRAM = "application/class-diagram",
|
|
434
|
+
CHANNEL = "application/channel",
|
|
435
|
+
COLLECTION_RESOURCE = "resource/collection",
|
|
436
|
+
APPLICATION_JSON = "application/json",
|
|
437
|
+
PRACTICE_RESOURCE = "application/vnd.sunbird.questionset",
|
|
438
|
+
FINAL_ASSESSMENT = "application/vnd.sunbird.questionset",
|
|
439
|
+
OFFLINE_SESSION = "application/offline",
|
|
440
|
+
CERTIFICATION = "application/certification",
|
|
441
|
+
PLAYLIST = "application/playlist",
|
|
442
|
+
TEXT_WEB = "text/x-url",
|
|
443
|
+
SURVEY = "application/survey",
|
|
444
|
+
QUESTION_SET = "application/vnd.sunbird.questionset",
|
|
445
|
+
QUESTION = "application/vnd.sunbird.question",
|
|
446
|
+
UNKNOWN = "application/unknown"
|
|
447
|
+
}
|
|
448
|
+
enum EDisplayContentTypes {
|
|
449
|
+
ASSESSMENT = "ASSESSMENT",
|
|
450
|
+
STANDALONE_ASSESSMENT = "STANDALONE ASSESSMENT",
|
|
451
|
+
PRACTICE_RESOURCE = "Practice Question Set",
|
|
452
|
+
FINAL_ASSESSMENT = "Course Assessment",
|
|
453
|
+
AUDIO = "AUDIO",
|
|
454
|
+
CERTIFICATION = "CERTIFICATION",
|
|
455
|
+
CHANNEL = "Channel",
|
|
456
|
+
CLASS_DIAGRAM = "CLASS_DIAGRAM",
|
|
457
|
+
COURSE = "COURSE",
|
|
458
|
+
DEFAULT = "DEFAULT",
|
|
459
|
+
DRAG_DROP = "DRAG_DROP",
|
|
460
|
+
EXTERNAL_CERTIFICATION = "EXTERNAL_CERTIFICATION",
|
|
461
|
+
EXTERNAL_COURSE = "EXTERNAL_COURSE",
|
|
462
|
+
GOALS = "GOALS",
|
|
463
|
+
HANDS_ON = "HANDS_ON",
|
|
464
|
+
IAP = "IAP",
|
|
465
|
+
INSTRUCTOR_LED = "INSTRUCTOR_LED",
|
|
466
|
+
INTERACTIVE_VIDEO = "INTERACTIVE_VIDEO",
|
|
467
|
+
KNOWLEDGE_ARTIFACT = "KNOWLEDGE_ARTIFACT",
|
|
468
|
+
MODULE = "MODULE",
|
|
469
|
+
PDF = "PDF",
|
|
470
|
+
SURVEY = "SURVEY",
|
|
471
|
+
PLAYLIST = "PLAYLIST",
|
|
472
|
+
PROGRAM = "PROGRAM",
|
|
473
|
+
QUIZ = "QUIZ",
|
|
474
|
+
RESOURCE = "RESOURCE",
|
|
475
|
+
RDBMS_HANDS_ON = "RDBMS_HANDS_ON",
|
|
476
|
+
VIDEO = "VIDEO",
|
|
477
|
+
WEB_MODULE = "WEB_MODULE",
|
|
478
|
+
WEB_PAGE = "WEB_PAGE",
|
|
479
|
+
YOUTUBE = "YOUTUBE",
|
|
480
|
+
LINK = "LINK",
|
|
481
|
+
KNOWLEDGE_BOARD = "Knowledge Board",
|
|
482
|
+
LEARNING_JOURNEY = "Learning Journeys",
|
|
483
|
+
BLENDED_PROGRAM = "BLENDED PROGRAM",
|
|
484
|
+
CURATED_PROGRAM = "CURATED PROGRAM"
|
|
485
|
+
}
|
|
486
|
+
enum EFilterCategory {
|
|
487
|
+
ALL = "ALL",
|
|
488
|
+
LEARN = "LEARN",
|
|
489
|
+
PRACTICE = "PRACTICE",
|
|
490
|
+
ASSESS = "ASSESS"
|
|
491
|
+
}
|
|
492
|
+
enum ETagType {
|
|
493
|
+
NEWLY_ADDED = "NEWLY ADDED"
|
|
494
|
+
}
|
|
495
|
+
const UN_SUPPORTED_DATA_TYPES_FOR_NON_BATCH_USERS: string[];
|
|
496
|
+
const PUBLIC_SUPPORTED_CONTENT_TYPES: EMimeTypes[];
|
|
497
|
+
}
|