@jeraldj/client-services 8.1.4

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.
Files changed (161) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +330 -0
  3. package/__test__/setup.d.ts +2 -0
  4. package/blocs/group-addable/cs-group-addable-bloc.d.ts +20 -0
  5. package/blocs/index.d.ts +1 -0
  6. package/blocs/index.js +2 -0
  7. package/blocs/index.js.LICENSE.txt +14 -0
  8. package/core/cs-client-storage.d.ts +5 -0
  9. package/core/cs-error.d.ts +5 -0
  10. package/core/http-service/errors/cs-http-client-error.d.ts +8 -0
  11. package/core/http-service/errors/cs-http-server-error.d.ts +8 -0
  12. package/core/http-service/errors/cs-network-error.d.ts +6 -0
  13. package/core/http-service/errors/cs-request-builder-error.d.ts +4 -0
  14. package/core/http-service/errors/index.d.ts +5 -0
  15. package/core/http-service/implementation/http-client-adapters/http-client-browser-adapter.d.ts +20 -0
  16. package/core/http-service/implementation/http-client-adapters/http-client-cordova-adapter.d.ts +21 -0
  17. package/core/http-service/implementation/http-client-adapters/http-client.d.ts +14 -0
  18. package/core/http-service/implementation/http-service-impl.d.ts +36 -0
  19. package/core/http-service/implementation/interceptors/bearer-token-inject-request-interceptor.d.ts +8 -0
  20. package/core/http-service/implementation/interceptors/user-token-inject-request-interceptor.d.ts +8 -0
  21. package/core/http-service/index.d.ts +2 -0
  22. package/core/http-service/index.js +1 -0
  23. package/core/http-service/interface/cs-http-interceptor.d.ts +4 -0
  24. package/core/http-service/interface/cs-http-service.d.ts +11 -0
  25. package/core/http-service/interface/cs-request-interceptor.d.ts +5 -0
  26. package/core/http-service/interface/cs-request.d.ts +77 -0
  27. package/core/http-service/interface/cs-response-interceptor.d.ts +6 -0
  28. package/core/http-service/interface/cs-response.d.ts +23 -0
  29. package/core/http-service/interface/index.d.ts +6 -0
  30. package/core/http-service/utilities/interceptors/cs-request-logger-interceptor.d.ts +6 -0
  31. package/core/http-service/utilities/interceptors/cs-response-logger-Interceptor.d.ts +7 -0
  32. package/core/http-service/utilities/interceptors/index.d.ts +2 -0
  33. package/core/http-service/utilities/interceptors/index.js +2 -0
  34. package/core/http-service/utilities/interceptors/index.js.LICENSE.txt +14 -0
  35. package/core/index.d.ts +2 -0
  36. package/core/index.js +1 -0
  37. package/cs-module.d.ts +124 -0
  38. package/index.d.ts +3 -0
  39. package/index.js +2 -0
  40. package/index.js.LICENSE.txt +60 -0
  41. package/injection-tokens.d.ts +76 -0
  42. package/models/certificate/index.d.ts +68 -0
  43. package/models/channel/index.d.ts +57 -0
  44. package/models/channel/index.js +1 -0
  45. package/models/content/index.d.ts +122 -0
  46. package/models/content/index.js +1 -0
  47. package/models/course/index.d.ts +68 -0
  48. package/models/course/index.js +1 -0
  49. package/models/device/index.d.ts +10 -0
  50. package/models/device/index.js +1 -0
  51. package/models/faq/index.d.ts +7 -0
  52. package/models/faq/index.js +1 -0
  53. package/models/form/index.d.ts +15 -0
  54. package/models/form/index.js +1 -0
  55. package/models/group/index.d.ts +96 -0
  56. package/models/group/index.js +1 -0
  57. package/models/index.d.ts +12 -0
  58. package/models/index.js +1 -0
  59. package/models/location/index.d.ts +6 -0
  60. package/models/location/index.js +1 -0
  61. package/models/notification/index.d.ts +33 -0
  62. package/models/organisation/index.d.ts +17 -0
  63. package/models/organisation/index.js +1 -0
  64. package/models/page/index.d.ts +23 -0
  65. package/models/page/index.js +1 -0
  66. package/models/user/index.d.ts +109 -0
  67. package/models/user/index.js +1 -0
  68. package/package.json +100 -0
  69. package/services/certificate/implementation/certificate-service-impl.d.ts +29 -0
  70. package/services/certificate/index.d.ts +1 -0
  71. package/services/certificate/interface/cs-certificate-service.d.ts +81 -0
  72. package/services/certificate/interface/index.d.ts +1 -0
  73. package/services/content/implementation/content-service-impl.d.ts +13 -0
  74. package/services/content/index.d.ts +1 -0
  75. package/services/content/index.js +1 -0
  76. package/services/content/interface/cs-content-filter-criteria.d.ts +11 -0
  77. package/services/content/interface/cs-content-mime-type.d.ts +17 -0
  78. package/services/content/interface/cs-content-service.d.ts +13 -0
  79. package/services/content/interface/cs-content-sort-criteria.d.ts +17 -0
  80. package/services/content/interface/cs-content-type.d.ts +35 -0
  81. package/services/content/interface/cs-primary-category.d.ts +17 -0
  82. package/services/content/interface/cs-resource-type.d.ts +10 -0
  83. package/services/content/interface/index.d.ts +7 -0
  84. package/services/content/utilities/content-group-generator/cs-contents-group-generator.d.ts +44 -0
  85. package/services/content/utilities/content-group-generator/index.d.ts +1 -0
  86. package/services/content/utilities/content-group-generator/index.js +1 -0
  87. package/services/content/utilities/content-progress-calculator/cs-content-progress-calculator.d.ts +8 -0
  88. package/services/content/utilities/content-progress-calculator/index.d.ts +1 -0
  89. package/services/content/utilities/content-progress-calculator/index.js +1 -0
  90. package/services/content/utilities/mime-type-facet-to-mime-type-category-aggregator/cs-mime-type-facet-to-mime-type-category-aggregator.d.ts +15 -0
  91. package/services/content/utilities/mime-type-facet-to-mime-type-category-aggregator/index.d.ts +1 -0
  92. package/services/content/utilities/mime-type-facet-to-mime-type-category-aggregator/index.js +1 -0
  93. package/services/content/utilities/primary-category-mapper/cs-primary-category-mapper.d.ts +5 -0
  94. package/services/content/utilities/primary-category-mapper/index.d.ts +1 -0
  95. package/services/content/utilities/primary-category-mapper/index.js +1 -0
  96. package/services/course/implementation/course-service-impl.d.ts +15 -0
  97. package/services/course/index.d.ts +1 -0
  98. package/services/course/index.js +1 -0
  99. package/services/course/interface/cs-course-service.d.ts +68 -0
  100. package/services/course/interface/index.d.ts +1 -0
  101. package/services/discussion/implementation/discussion-service-impl.d.ts +108 -0
  102. package/services/discussion/index.d.ts +1 -0
  103. package/services/discussion/interface/cs-discussion-service.d.ts +82 -0
  104. package/services/discussion/interface/index.d.ts +1 -0
  105. package/services/form/implementation/form-service-impl.d.ts +11 -0
  106. package/services/form/index.d.ts +0 -0
  107. package/services/form/interface/cs-form-service.d.ts +14 -0
  108. package/services/framework/implementation/cs-framework-config-bloc.d.ts +11 -0
  109. package/services/framework/implementation/framework-service-impl.d.ts +21 -0
  110. package/services/framework/index.d.ts +1 -0
  111. package/services/framework/index.js +1 -0
  112. package/services/framework/interface/cs-framework-service.d.ts +21 -0
  113. package/services/framework/interface/index.d.ts +1 -0
  114. package/services/group/activity/implementation/group-activity-service-impl.d.ts +16 -0
  115. package/services/group/activity/index.d.ts +1 -0
  116. package/services/group/activity/index.js +1 -0
  117. package/services/group/activity/interface/cs-group-activity-service.d.ts +38 -0
  118. package/services/group/activity/interface/index.d.ts +1 -0
  119. package/services/group/implementation/group-service-impl.d.ts +43 -0
  120. package/services/group/index.d.ts +1 -0
  121. package/services/group/index.js +1 -0
  122. package/services/group/interface/cs-group-service.d.ts +175 -0
  123. package/services/group/interface/index.d.ts +1 -0
  124. package/services/location/implementation/location-service-impl.d.ts +11 -0
  125. package/services/location/index.d.ts +1 -0
  126. package/services/location/index.js +1 -0
  127. package/services/location/interface/cs-location-service.d.ts +16 -0
  128. package/services/location/interface/index.d.ts +1 -0
  129. package/services/notification/implementation/notification-service-impl.d.ts +12 -0
  130. package/services/notification/index.d.ts +1 -0
  131. package/services/notification/interface/cs-notification-service.d.ts +22 -0
  132. package/services/notification/interface/index.d.ts +1 -0
  133. package/services/system-settings/implementation/system-settings-service-impl.d.ts +10 -0
  134. package/services/system-settings/index.d.ts +1 -0
  135. package/services/system-settings/index.js +1 -0
  136. package/services/system-settings/interface/cs-system-settings-service.d.ts +5 -0
  137. package/services/system-settings/interface/index.d.ts +1 -0
  138. package/services/user/implementation/user-service-impl.d.ts +25 -0
  139. package/services/user/index.d.ts +1 -0
  140. package/services/user/index.js +1 -0
  141. package/services/user/interface/cs-user-service.d.ts +83 -0
  142. package/services/user/interface/index.d.ts +1 -0
  143. package/telemetry/cs-telemetry-module.d.ts +30 -0
  144. package/telemetry/errors/cs-telemetry-validation-error.d.ts +6 -0
  145. package/telemetry/errors/index.d.ts +1 -0
  146. package/telemetry/implementation/pdf-player-telemetry-service-impl.d.ts +6 -0
  147. package/telemetry/implementation/player-telemetry-service-impl.d.ts +9 -0
  148. package/telemetry/implementation/telemetry-service-Impl.d.ts +38 -0
  149. package/telemetry/index.d.ts +4 -0
  150. package/telemetry/index.js +2 -0
  151. package/telemetry/index.js.LICENSE.txt +14 -0
  152. package/telemetry/injection-tokens.d.ts +9 -0
  153. package/telemetry/interface/cs-player-telemetry-service.d.ts +6 -0
  154. package/telemetry/interface/cs-telemetry-request.d.ts +69 -0
  155. package/telemetry/interface/cs-telemetry-service.d.ts +27 -0
  156. package/telemetry/interface/index.d.ts +3 -0
  157. package/utilities/aggregator/aggregator.d.ts +23 -0
  158. package/utilities/aggregator/index.d.ts +1 -0
  159. package/utilities/aggregator/index.js +1 -0
  160. package/utilities/certificate/certificate-verifier.d.ts +11 -0
  161. package/utilities/certificate/credentials.d.ts +343 -0
@@ -0,0 +1,60 @@
1
+ /*!
2
+ * Copyright (c) 2010-2018 Digital Bazaar, Inc. All rights reserved.
3
+ */
4
+
5
+ /*!
6
+ * Copyright (c) 2017-2018 Digital Bazaar, Inc. All rights reserved.
7
+ */
8
+
9
+ /*!
10
+ * Copyright (c) 2018 Digital Bazaar, Inc. All rights reserved.
11
+ */
12
+
13
+ /*!
14
+ * Copyright (c) 2020 Digital Bazaar, Inc. All rights reserved.
15
+ */
16
+
17
+ /*!
18
+ * The buffer module from node.js, for the browser.
19
+ *
20
+ * @author Feross Aboukhadijeh <http://feross.org>
21
+ * @license MIT
22
+ */
23
+
24
+ /*! *****************************************************************************
25
+ Copyright (C) Microsoft. All rights reserved.
26
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
27
+ this file except in compliance with the License. You may obtain a copy of the
28
+ License at http://www.apache.org/licenses/LICENSE-2.0
29
+
30
+ THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
31
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
32
+ WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
33
+ MERCHANTABLITY OR NON-INFRINGEMENT.
34
+
35
+ See the Apache Version 2.0 License for specific language governing permissions
36
+ and limitations under the License.
37
+ ***************************************************************************** */
38
+
39
+ /*! *****************************************************************************
40
+ Copyright (c) Microsoft Corporation.
41
+
42
+ Permission to use, copy, modify, and/or distribute this software for any
43
+ purpose with or without fee is hereby granted.
44
+
45
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
46
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
47
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
48
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
49
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
50
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
51
+ PERFORMANCE OF THIS SOFTWARE.
52
+ ***************************************************************************** */
53
+
54
+ /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
55
+
56
+ /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
57
+
58
+ /*!s
59
+ * Copyright (c) 2017-2018 Digital Bazaar, Inc. All rights reserved.
60
+ */
@@ -0,0 +1,76 @@
1
+ export declare const InjectionTokens: {
2
+ CONTAINER: symbol;
3
+ core: {
4
+ HTTP_ADAPTER: symbol;
5
+ global: {
6
+ CHANNEL_ID: symbol;
7
+ PRODUCER_ID: symbol;
8
+ DEVICE_ID: symbol;
9
+ SESSION_ID: symbol;
10
+ APP_VERSION: symbol;
11
+ };
12
+ api: {
13
+ HOST: symbol;
14
+ authentication: {
15
+ USER_TOKEN: symbol;
16
+ MANAGED_USER_TOKEN: symbol;
17
+ BEARER_TOKEN: symbol;
18
+ };
19
+ };
20
+ HTTP_SERVICE: symbol;
21
+ CLIENT_STORAGE: symbol;
22
+ };
23
+ services: {
24
+ user: {
25
+ USER_SERVICE_API_PATH: symbol;
26
+ USER_SERVICE: symbol;
27
+ };
28
+ content: {
29
+ CONTENT_SERVICE_HIERARCHY_API_PATH: symbol;
30
+ CONTENT_SERVICE_QUESTION_LIST_API_PATH: symbol;
31
+ CONTENT_SERVICE: symbol;
32
+ };
33
+ group: {
34
+ GROUP_SERVICE_API_PATH: symbol;
35
+ GROUP_SERVICE_DATA_API_PATH: symbol;
36
+ GROUP_SERVICE: symbol;
37
+ GROUP_ACTIVITY_SERVICE: symbol;
38
+ GROUP_SERVICE_UPDATE_GUIDELINES_API_PATH: symbol;
39
+ };
40
+ framework: {
41
+ FRAMEWORK_SERVICE_API_PATH: symbol;
42
+ FRAMEWORK_SERVICE: symbol;
43
+ };
44
+ location: {
45
+ LOCATION_SERVICE_API_PATH: symbol;
46
+ LOCATION_SERVICE: symbol;
47
+ };
48
+ course: {
49
+ COURSE_SERVICE_API_PATH: symbol;
50
+ COURSE_SERVICE_CERT_REGISTRATION_API_PATH: symbol;
51
+ COURSE_SERVICE: symbol;
52
+ };
53
+ form: {
54
+ FORM_SERVICE_API_PATH: symbol;
55
+ FORM_SERVICE: symbol;
56
+ };
57
+ systemSettings: {
58
+ SYSTEM_SETTINGS_SERVICE_API_PATH: symbol;
59
+ SYSTEM_SETTINGS_SERVICE: symbol;
60
+ };
61
+ discussion: {
62
+ DISCUSSION_SERVICE_API_PATH: symbol;
63
+ DISCUSSION_SERVICE: symbol;
64
+ };
65
+ notification: {
66
+ NOTIFICATION_SERVICE_API_PATH: symbol;
67
+ NOTIFICATION_SERVICE: symbol;
68
+ };
69
+ certificate: {
70
+ CERTIFICATE_SERVICE_API_PATH: symbol;
71
+ CERTIFICATE_SERVICE_API_PATH_LEGACY: symbol;
72
+ RC_API_PATH: symbol;
73
+ CERTIFICATE_SERVICE: symbol;
74
+ };
75
+ };
76
+ };
@@ -0,0 +1,68 @@
1
+ import { CertificateType } from "../../services/certificate";
2
+ export interface CsLearnerCertificateV1 {
3
+ _index: string;
4
+ _type: string;
5
+ _id: string;
6
+ _score: number;
7
+ _source: {
8
+ pdfUrl: string;
9
+ templateUrl: string;
10
+ data: {
11
+ badge: {
12
+ name: string;
13
+ issuer: {
14
+ name: string;
15
+ };
16
+ };
17
+ issuedOn: string;
18
+ };
19
+ related: {
20
+ courseId: string;
21
+ Id: string;
22
+ };
23
+ };
24
+ }
25
+ export interface Signatory {
26
+ image: string;
27
+ identity: string;
28
+ name: string;
29
+ osid: string;
30
+ designation: string;
31
+ }
32
+ export interface CsLearnerCertificateV2 {
33
+ training: {
34
+ osid: string;
35
+ name: string;
36
+ id: string;
37
+ batchId: string;
38
+ type: string;
39
+ };
40
+ certificateLabel: string;
41
+ signatory: Signatory[];
42
+ recipient: {
43
+ osid: string;
44
+ name: string;
45
+ id: string;
46
+ type: string;
47
+ };
48
+ issuer: {
49
+ osid: string;
50
+ name: string;
51
+ url: string;
52
+ osUpdatedAt: string;
53
+ };
54
+ osid: string;
55
+ status: string;
56
+ templateUrl: string;
57
+ }
58
+ export interface CsLearnerCertificate {
59
+ id: string;
60
+ courseId?: string;
61
+ trainingName?: string;
62
+ pdfUrl?: string;
63
+ issuedOn?: string;
64
+ issuerName?: string;
65
+ osSignedData?: string;
66
+ type: CertificateType;
67
+ templateUrl?: string;
68
+ }
@@ -0,0 +1,57 @@
1
+ export interface Framework {
2
+ name: string;
3
+ identifier: string;
4
+ index?: number;
5
+ code?: string;
6
+ description?: string;
7
+ type?: string;
8
+ objectType?: string;
9
+ categories?: FrameworkCategory[];
10
+ translations?: string;
11
+ }
12
+ export interface FrameworkCategory {
13
+ identifier: string;
14
+ code: string;
15
+ terms?: CategoryTerm[];
16
+ translations?: string;
17
+ name: string;
18
+ description: string;
19
+ index: number;
20
+ status: string;
21
+ }
22
+ export interface CategoryTerm {
23
+ associations?: CategoryAssociation[];
24
+ identifier: string;
25
+ code: string;
26
+ translations?: string;
27
+ name: string;
28
+ description?: string;
29
+ index: number;
30
+ category: string;
31
+ status: string;
32
+ children?: CategoryAssociation[];
33
+ }
34
+ export interface CategoryAssociation {
35
+ identifier: string;
36
+ code: string;
37
+ translations?: string;
38
+ name: string;
39
+ description?: string;
40
+ category: string;
41
+ status: string;
42
+ }
43
+ export interface Channel {
44
+ identifier: string;
45
+ code: string;
46
+ consumerId: string;
47
+ channel: string;
48
+ description: string;
49
+ frameworks?: Framework[];
50
+ createdOn: string;
51
+ versionKey: string;
52
+ appId: string;
53
+ name: string;
54
+ lastUpdatedOn: string;
55
+ defaultFramework: string;
56
+ status: string;
57
+ }
@@ -0,0 +1 @@
1
+ !function e(t,n){if("object"==typeof exports&&"object"==typeof module)module.exports=n();else if("function"==typeof define&&define.amd)define([],n);else{var r=n();for(var o in r)("object"==typeof exports?exports:t)[o]=r[o]}}(window,function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function t(){return e.default}:function t(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=78)}({78:function(e,t){}})});
@@ -0,0 +1,122 @@
1
+ export interface ContentBase {
2
+ identifier: string;
3
+ name: string;
4
+ appIcon: string;
5
+ description: string;
6
+ pkgVersion: string;
7
+ status: string;
8
+ size: string;
9
+ owner: string;
10
+ creator: string;
11
+ publisher: string;
12
+ me_totalRatingsCount: number;
13
+ me_averageRating: string;
14
+ me_totalDownloads: string;
15
+ copyright: string;
16
+ copyrightYear: string;
17
+ license: string;
18
+ licenseDetails: LicenseDetails;
19
+ expires: string;
20
+ downloadUrl: string;
21
+ variants: {
22
+ [key: string]: any;
23
+ };
24
+ artifactUrl: string;
25
+ language: string[];
26
+ osId: string;
27
+ contentType: string;
28
+ resourceType: string;
29
+ mimeType: ContentMimeType;
30
+ artifactMimeType: string;
31
+ versionKey: string;
32
+ contentEncoding: string;
33
+ contentDisposition: string;
34
+ contentTypesCount: string;
35
+ lastPublishedOn: string;
36
+ createdOn: string;
37
+ createdBy: string;
38
+ channel: string;
39
+ screenshots: string[];
40
+ audience: any;
41
+ pragma: string[];
42
+ attributions: string[];
43
+ dialcodes: string[];
44
+ childNodes: string[];
45
+ previewUrl: string;
46
+ framework: string;
47
+ creators: string;
48
+ contributors: string;
49
+ streamingUrl: string;
50
+ totalScore: any;
51
+ altMsg?: AltMsg[];
52
+ organisation?: string;
53
+ author?: string;
54
+ collaborators?: string;
55
+ originData?: OriginData;
56
+ origin?: string;
57
+ totalQuestions?: number;
58
+ itemSetPreviewUrl?: string;
59
+ leafNodes?: string[];
60
+ leafNodesCount?: number;
61
+ primaryCategory?: string;
62
+ trackable?: Trackable;
63
+ userConsent?: UserConsent;
64
+ additionalCategories?: string[];
65
+ forumId?: string;
66
+ transcripts?: Transcript[];
67
+ }
68
+ export interface Content extends ContentBase {
69
+ [key: string]: any;
70
+ }
71
+ export interface Transcript {
72
+ artifactUrl: string;
73
+ identifier: string;
74
+ language: string;
75
+ }
76
+ export interface LicenseDetails {
77
+ description: string;
78
+ name: string;
79
+ url: string;
80
+ }
81
+ export interface AltMsg {
82
+ key: string;
83
+ value: string;
84
+ translations?: string;
85
+ }
86
+ export interface OriginData {
87
+ name?: string;
88
+ author?: string;
89
+ license?: string;
90
+ organisation?: string;
91
+ }
92
+ export declare enum TrackingEnabled {
93
+ YES = "Yes",
94
+ NO = "No"
95
+ }
96
+ export declare enum AutoBatch {
97
+ YES = "Yes",
98
+ NO = "No"
99
+ }
100
+ export declare enum UserConsent {
101
+ YES = "Yes",
102
+ NO = "No"
103
+ }
104
+ export interface Trackable {
105
+ enabled: TrackingEnabled;
106
+ autoBatch: AutoBatch;
107
+ }
108
+ export declare type ContentMimeType = 'application/vnd.ekstep.ecml-archive' | 'application/vnd.ekstep.html-archive' | 'application/vnd.android.package-archive' | 'application/vnd.ekstep.content-archive' | 'application/vnd.ekstep.content-collection' | 'application/vnd.ekstep.plugin-archive' | 'application/vnd.ekstep.h5p-archive' | 'application/vnd.sunbird.question' | 'application/vnd.sunbird.questionset' | 'application/epub' | 'text/x-url' | 'video/x-youtube' | 'application/octet-stream' | 'application/msword' | 'application/pdf' | 'image/jpeg' | 'image/jpg' | 'image/png' | 'image/tiff' | 'image/bmp' | 'image/gif' | 'image/svg+xml' | 'video/avi' | 'video/mpeg' | 'video/quicktime' | 'video/3gpp' | 'video/mp4' | 'video/ogg' | 'video/webm' | 'audio/mp3' | 'audio/mp4' | 'audio/mpeg' | 'audio/ogg' | 'audio/webm' | 'audio/x-wav' | 'audio/wav';
109
+ export declare enum MimeTypeCategory {
110
+ VIDEO = "VIDEO",
111
+ AUDIO = "AUDIO",
112
+ INTERACTION = "INTERACTION",
113
+ DOC = "DOC",
114
+ ALL = "ALL"
115
+ }
116
+ export declare class MimeTypeCategoryMapping {
117
+ static readonly [MimeTypeCategory.VIDEO]: ContentMimeType[];
118
+ static readonly [MimeTypeCategory.AUDIO]: ContentMimeType[];
119
+ static readonly [MimeTypeCategory.INTERACTION]: ContentMimeType[];
120
+ static readonly [MimeTypeCategory.DOC]: ContentMimeType[];
121
+ static readonly [MimeTypeCategory.ALL]: ContentMimeType[];
122
+ }
@@ -0,0 +1 @@
1
+ !function e(i,o){if("object"==typeof exports&&"object"==typeof module)module.exports=o();else if("function"==typeof define&&define.amd)define([],o);else{var t=o();for(var n in t)("object"==typeof exports?exports:i)[n]=t[n]}}(window,function(){return function(e){var i={};function o(t){if(i[t])return i[t].exports;var n=i[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,o),n.l=!0,n.exports}return o.m=e,o.c=i,o.d=function(e,i,t){o.o(e,i)||Object.defineProperty(e,i,{enumerable:!0,get:t})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,i){if(1&i&&(e=o(e)),8&i)return e;if(4&i&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(o.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&i&&"string"!=typeof e)for(var n in e)o.d(t,n,function(i){return e[i]}.bind(null,n));return t},o.n=function(e){var i=e&&e.__esModule?function i(){return e.default}:function i(){return e};return o.d(i,"a",i),i},o.o=function(e,i){return Object.prototype.hasOwnProperty.call(e,i)},o.p="",o(o.s=38)}({38:function(e,i,o){"use strict";var t,n,a,p;o.r(i),o.d(i,"TrackingEnabled",function(){return t}),o.d(i,"AutoBatch",function(){return n}),o.d(i,"UserConsent",function(){return a}),o.d(i,"MimeTypeCategory",function(){return p}),o.d(i,"MimeTypeCategoryMapping",function(){return r}),function(e){e.YES="Yes",e.NO="No"}(t||(t={})),function(e){e.YES="Yes",e.NO="No"}(n||(n={})),function(e){e.YES="Yes",e.NO="No"}(a||(a={})),function(e){e.VIDEO="VIDEO",e.AUDIO="AUDIO",e.INTERACTION="INTERACTION",e.DOC="DOC",e.ALL="ALL"}(p||(p={}));var r=function(){function e(){}var i,o,t,n,a;return i=p.VIDEO,o=p.AUDIO,t=p.INTERACTION,n=p.DOC,a=p.ALL,e[i]=["video/avi","video/mpeg","video/quicktime","video/3gpp","video/mpeg","video/mp4","video/ogg","video/webm","video/x-youtube"],e[o]=["audio/mp3","audio/mp4","audio/mpeg","audio/ogg","audio/webm","audio/x-wav","audio/wav"],e[t]=["application/vnd.ekstep.ecml-archive","application/vnd.ekstep.html-archive","application/vnd.ekstep.content-archive","application/vnd.ekstep.h5p-archive"],e[n]=["application/pdf","application/epub","application/msword"],e[a]=["application/vnd.ekstep.ecml-archive","application/vnd.ekstep.html-archive","application/vnd.android.package-archive","application/vnd.ekstep.content-archive","application/vnd.ekstep.content-collection","application/vnd.ekstep.plugin-archive","application/vnd.ekstep.h5p-archive","application/epub","text/x-url","video/x-youtube","application/octet-stream","application/msword","application/pdf","image/jpeg","image/jpg","image/png","image/tiff","image/bmp","image/gif","image/svg+xml","video/avi","video/mpeg","video/quicktime","video/3gpp","video/mpeg","video/mp4","video/ogg","video/webm","audio/mp3","audio/mp4","audio/mpeg","audio/ogg","audio/webm","audio/x-wav","audio/wav"],e}()}})});
@@ -0,0 +1,68 @@
1
+ import { CertificateType } from '../../services/certificate';
2
+ import { Content } from '../content';
3
+ export interface Batch {
4
+ identifier: string;
5
+ id: string;
6
+ createdFor: string[];
7
+ courseAdditionalInfo: any;
8
+ endDate: string;
9
+ description: string;
10
+ participant: any;
11
+ updatedDate: string;
12
+ createdDate: string;
13
+ mentors: string[];
14
+ name: string;
15
+ enrollmentType: string;
16
+ courseId: string;
17
+ startDate: string;
18
+ hashTagId: string;
19
+ status: number;
20
+ courseCreator: string;
21
+ createdBy: string;
22
+ creatorDetails?: {
23
+ firstName?: string;
24
+ lastName?: string;
25
+ };
26
+ enrollmentEndDate?: string;
27
+ cert_templates: any;
28
+ }
29
+ export interface CourseCertificate {
30
+ identifier?: string;
31
+ url?: string;
32
+ id: string;
33
+ name: string;
34
+ lastIssuedOn: string;
35
+ token: string;
36
+ type?: CertificateType;
37
+ templateUrl?: string;
38
+ }
39
+ export interface Course {
40
+ dateTime?: string;
41
+ identifier?: string;
42
+ lastReadContentStatus?: number;
43
+ enrolledDate?: string;
44
+ addedBy?: string;
45
+ contentId?: string;
46
+ active?: boolean;
47
+ description?: string;
48
+ courseLogoUrl?: string;
49
+ batchId?: string;
50
+ userId?: string;
51
+ content?: Content;
52
+ contentStatus?: string;
53
+ courseName?: string;
54
+ leafNodesCount?: number;
55
+ progress?: number;
56
+ id?: string;
57
+ lastReadContentId?: string;
58
+ courseId?: string;
59
+ status?: number;
60
+ contentsPlayedOffline?: string[];
61
+ batch?: {
62
+ [key: string]: any;
63
+ };
64
+ completionPercentage?: number;
65
+ certificates?: CourseCertificate[];
66
+ issuedCertificates?: CourseCertificate[];
67
+ batches?: (Partial<Batch>)[];
68
+ }
@@ -0,0 +1 @@
1
+ !function e(t,n){if("object"==typeof exports&&"object"==typeof module)module.exports=n();else if("function"==typeof define&&define.amd)define([],n);else{var r=n();for(var o in r)("object"==typeof exports?exports:t)[o]=r[o]}}(window,function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function t(){return e.default}:function t(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=79)}({79:function(e,t){}})});
@@ -0,0 +1,10 @@
1
+ export interface Profile {
2
+ userDeclaredLocation: {
3
+ state: string;
4
+ district: string;
5
+ };
6
+ ipLocation: {
7
+ state: string;
8
+ district: string;
9
+ };
10
+ }
@@ -0,0 +1 @@
1
+ !function e(t,n){if("object"==typeof exports&&"object"==typeof module)module.exports=n();else if("function"==typeof define&&define.amd)define([],n);else{var r=n();for(var o in r)("object"==typeof exports?exports:t)[o]=r[o]}}(window,function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function t(){return e.default}:function t(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=83)}({83:function(e,t){}})});
@@ -0,0 +1,7 @@
1
+ export interface Faq {
2
+ faqs: Faqs[];
3
+ }
4
+ export interface Faqs {
5
+ topic: string;
6
+ description: string;
7
+ }
@@ -0,0 +1 @@
1
+ !function e(t,n){if("object"==typeof exports&&"object"==typeof module)module.exports=n();else if("function"==typeof define&&define.amd)define([],n);else{var r=n();for(var o in r)("object"==typeof exports?exports:t)[o]=r[o]}}(window,function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function t(){return e.default}:function t(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=80)}({80:function(e,t){}})});
@@ -0,0 +1,15 @@
1
+ export interface Form<Field = {}> {
2
+ type: string;
3
+ subtype: string;
4
+ action: string;
5
+ component: string;
6
+ framework: string;
7
+ data: {
8
+ templateName: string;
9
+ action: string;
10
+ fields: Field[];
11
+ };
12
+ created_on: string;
13
+ last_modified_on?: string;
14
+ rootOrgId: string;
15
+ }
@@ -0,0 +1 @@
1
+ !function e(t,n){if("object"==typeof exports&&"object"==typeof module)module.exports=n();else if("function"==typeof define&&define.amd)define([],n);else{var r=n();for(var o in r)("object"==typeof exports?exports:t)[o]=r[o]}}(window,function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function t(){return e.default}:function t(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=85)}({85:function(e,t){}})});
@@ -0,0 +1,96 @@
1
+ export declare enum GroupMembershipType {
2
+ INVITE_ONLY = "invite_only",
3
+ MODERATED = "moderated"
4
+ }
5
+ export declare enum GroupEntityStatus {
6
+ ACTIVE = "active",
7
+ INACTIVE = "inactive",
8
+ SUSPENDED = "suspended"
9
+ }
10
+ export declare enum GroupMemberRole {
11
+ ADMIN = "admin",
12
+ MEMBER = "member"
13
+ }
14
+ export interface GroupMember {
15
+ name: string;
16
+ groupId: string;
17
+ userId: string;
18
+ role: GroupMemberRole;
19
+ status: GroupEntityStatus;
20
+ createdOn?: string;
21
+ createdBy?: string;
22
+ updatedOn?: string;
23
+ updatedBy?: string;
24
+ }
25
+ export interface GroupActivity {
26
+ id: string;
27
+ type: string;
28
+ status?: GroupEntityStatus;
29
+ activityInfo?: any;
30
+ createdOn?: string;
31
+ createdBy?: string;
32
+ updatedOn?: string;
33
+ updatedBy?: string;
34
+ }
35
+ export interface ActivitiesGrouped {
36
+ title: string;
37
+ translations?: string;
38
+ count: number;
39
+ isEnabled: boolean;
40
+ objectType: string;
41
+ items: GroupActivity[];
42
+ }
43
+ export interface Group {
44
+ name: string;
45
+ description: string;
46
+ id: string;
47
+ status?: GroupEntityStatus;
48
+ membershipType: GroupMembershipType;
49
+ createdOn?: string;
50
+ createdBy?: string;
51
+ updatedOn?: string;
52
+ updatedBy?: string;
53
+ activities?: GroupActivity[];
54
+ activitiesGrouped?: ActivitiesGrouped[];
55
+ members?: GroupMember[];
56
+ }
57
+ export declare class CsGroupActivity implements GroupActivity {
58
+ id: string;
59
+ type: string;
60
+ status?: GroupEntityStatus;
61
+ activityInfo?: any;
62
+ createdOn?: string;
63
+ createdBy?: string;
64
+ updatedOn?: string;
65
+ updatedBy?: string;
66
+ static fromJSON(obj: {}): CsGroupActivity;
67
+ }
68
+ export declare class CsGroupMember implements GroupMember {
69
+ name: string;
70
+ groupId: string;
71
+ userId: string;
72
+ role: GroupMemberRole;
73
+ status: GroupEntityStatus;
74
+ createdOn?: string;
75
+ createdBy?: string;
76
+ updatedOn?: string;
77
+ updatedBy?: string;
78
+ static fromJSON(obj: {}): CsGroupMember;
79
+ }
80
+ export declare class CsGroup implements Group {
81
+ name: string;
82
+ description: string;
83
+ id: string;
84
+ status?: GroupEntityStatus;
85
+ membershipType: GroupMembershipType;
86
+ createdOn?: string;
87
+ createdBy?: string;
88
+ updatedOn?: string;
89
+ updatedBy?: string;
90
+ activitiesGrouped?: ActivitiesGrouped[];
91
+ members?: CsGroupMember[];
92
+ activities?: CsGroupActivity[];
93
+ active: boolean;
94
+ static fromJSON(obj: {}): CsGroup;
95
+ isActive(): boolean;
96
+ }
@@ -0,0 +1 @@
1
+ !function t(e,n){if("object"==typeof exports&&"object"==typeof module)module.exports=n();else if("function"==typeof define&&define.amd)define([],n);else{var r=n();for(var o in r)("object"==typeof exports?exports:e)[o]=r[o]}}(window,function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function e(){return t.default}:function e(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=23)}({23:function(t,e,n){"use strict";var r,o,u;n.r(e),n.d(e,"GroupMembershipType",function(){return r}),n.d(e,"GroupEntityStatus",function(){return o}),n.d(e,"GroupMemberRole",function(){return u}),n.d(e,"CsGroupActivity",function(){return i}),n.d(e,"CsGroupMember",function(){return f}),n.d(e,"CsGroup",function(){return c}),function(t){t.INVITE_ONLY="invite_only",t.MODERATED="moderated"}(r||(r={})),function(t){t.ACTIVE="active",t.INACTIVE="inactive",t.SUSPENDED="suspended"}(o||(o={})),function(t){t.ADMIN="admin",t.MEMBER="member"}(u||(u={}));var i=function(){function t(){}return t.fromJSON=function(e){return Object.setPrototypeOf(e,new t)},t}(),f=function(){function t(){}return t.fromJSON=function(e){return Object.setPrototypeOf(e,new t)},t}(),c=function(){function t(){}return t.fromJSON=function(e){var n=Object.setPrototypeOf(e,new t);return n.active=n.status===o.ACTIVE,n.members&&(n.members=n.members.map(function(t){return f.fromJSON(t)})),n.activities&&(n.activities=n.activities.map(function(t){return i.fromJSON(t)})),n},t.prototype.isActive=function(){return this.active=this.status===o.ACTIVE,this.active},t}()}})});
@@ -0,0 +1,12 @@
1
+ export * from './channel';
2
+ export * from './content';
3
+ export * from './course';
4
+ export * from './faq';
5
+ export * from './page';
6
+ export * from './user';
7
+ export * from './device';
8
+ export * from './organisation';
9
+ export * from './form';
10
+ export * from './group';
11
+ export * from './notification';
12
+ export * from './certificate';
@@ -0,0 +1 @@
1
+ !function e(t,n){if("object"==typeof exports&&"object"==typeof module)module.exports=n();else if("function"==typeof define&&define.amd)define([],n);else{var r=n();for(var i in r)("object"==typeof exports?exports:t)[i]=r[i]}}(window,function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function t(){return e.default}:function t(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=207)}({153:function(e,t,n){"use strict";var r,i,o;n.d(t,"b",function(){return r}),n.d(t,"c",function(){return i}),n.d(t,"a",function(){return o}),function(e){e.READ="read",e.UNREAD="unread"}(r||(r={})),function(e){e.MEMBER_EXIT="member-exit",e.UNREAD="unread"}(i||(i={})),function(e){e.GROUPS="groups"}(o||(o={}))},154:function(e,t){},207:function(e,t,n){"use strict";n.r(t);var r=n(78),i=n.n(r);for(var o in r)["default"].indexOf(o)<0&&function(e){n.d(t,e,function(){return r[e]})}(o);var u=n(38);n.d(t,"TrackingEnabled",function(){return u.TrackingEnabled}),n.d(t,"AutoBatch",function(){return u.AutoBatch}),n.d(t,"UserConsent",function(){return u.UserConsent}),n.d(t,"MimeTypeCategory",function(){return u.MimeTypeCategory}),n.d(t,"MimeTypeCategoryMapping",function(){return u.MimeTypeCategoryMapping});var a=n(79),c=n.n(a);for(var o in a)["default","TrackingEnabled","AutoBatch","UserConsent","MimeTypeCategory","MimeTypeCategoryMapping"].indexOf(o)<0&&function(e){n.d(t,e,function(){return a[e]})}(o);var p=n(80),f=n.n(p);for(var o in p)["default","TrackingEnabled","AutoBatch","UserConsent","MimeTypeCategory","MimeTypeCategoryMapping"].indexOf(o)<0&&function(e){n.d(t,e,function(){return p[e]})}(o);var d=n(81),s=n.n(d);for(var o in d)["default","TrackingEnabled","AutoBatch","UserConsent","MimeTypeCategory","MimeTypeCategoryMapping"].indexOf(o)<0&&function(e){n.d(t,e,function(){return d[e]})}(o);var v=n(82);n.d(t,"UserDeclarationOperation",function(){return v.UserDeclarationOperation}),n.d(t,"UserDeclarationStatus",function(){return v.UserDeclarationStatus}),n.d(t,"ConsentStatus",function(){return v.ConsentStatus}),n.d(t,"UserFeedStatus",function(){return v.UserFeedStatus}),n.d(t,"UserFeedCategory",function(){return v.UserFeedCategory});var m=n(83),l=n.n(m);for(var o in m)["default","TrackingEnabled","AutoBatch","UserConsent","MimeTypeCategory","MimeTypeCategoryMapping","UserDeclarationOperation","UserDeclarationStatus","ConsentStatus","UserFeedStatus","UserFeedCategory"].indexOf(o)<0&&function(e){n.d(t,e,function(){return m[e]})}(o);var g=n(84),y=n.n(g);for(var o in g)["default","TrackingEnabled","AutoBatch","UserConsent","MimeTypeCategory","MimeTypeCategoryMapping","UserDeclarationOperation","UserDeclarationStatus","ConsentStatus","UserFeedStatus","UserFeedCategory"].indexOf(o)<0&&function(e){n.d(t,e,function(){return g[e]})}(o);var C=n(85),E=n.n(C);for(var o in C)["default","TrackingEnabled","AutoBatch","UserConsent","MimeTypeCategory","MimeTypeCategoryMapping","UserDeclarationOperation","UserDeclarationStatus","ConsentStatus","UserFeedStatus","UserFeedCategory"].indexOf(o)<0&&function(e){n.d(t,e,function(){return C[e]})}(o);var O=n(23);n.d(t,"GroupMembershipType",function(){return O.GroupMembershipType}),n.d(t,"GroupEntityStatus",function(){return O.GroupEntityStatus}),n.d(t,"GroupMemberRole",function(){return O.GroupMemberRole}),n.d(t,"CsGroupActivity",function(){return O.CsGroupActivity}),n.d(t,"CsGroupMember",function(){return O.CsGroupMember}),n.d(t,"CsGroup",function(){return O.CsGroup});var T=n(153);n.d(t,"NotificationStatus",function(){return T.b}),n.d(t,"NotificationType",function(){return T.c}),n.d(t,"NotificationCategory",function(){return T.a});var b=n(154),M=n.n(b);for(var o in b)["default","TrackingEnabled","AutoBatch","UserConsent","MimeTypeCategory","MimeTypeCategoryMapping","UserDeclarationOperation","UserDeclarationStatus","ConsentStatus","UserFeedStatus","UserFeedCategory","GroupMembershipType","GroupEntityStatus","GroupMemberRole","CsGroupActivity","CsGroupMember","CsGroup","NotificationStatus","NotificationType","NotificationCategory"].indexOf(o)<0&&function(e){n.d(t,e,function(){return b[e]})}(o)},23:function(e,t,n){"use strict";var r,i,o;n.r(t),n.d(t,"GroupMembershipType",function(){return r}),n.d(t,"GroupEntityStatus",function(){return i}),n.d(t,"GroupMemberRole",function(){return o}),n.d(t,"CsGroupActivity",function(){return u}),n.d(t,"CsGroupMember",function(){return a}),n.d(t,"CsGroup",function(){return c}),function(e){e.INVITE_ONLY="invite_only",e.MODERATED="moderated"}(r||(r={})),function(e){e.ACTIVE="active",e.INACTIVE="inactive",e.SUSPENDED="suspended"}(i||(i={})),function(e){e.ADMIN="admin",e.MEMBER="member"}(o||(o={}));var u=function(){function e(){}return e.fromJSON=function(t){return Object.setPrototypeOf(t,new e)},e}(),a=function(){function e(){}return e.fromJSON=function(t){return Object.setPrototypeOf(t,new e)},e}(),c=function(){function e(){}return e.fromJSON=function(t){var n=Object.setPrototypeOf(t,new e);return n.active=n.status===i.ACTIVE,n.members&&(n.members=n.members.map(function(e){return a.fromJSON(e)})),n.activities&&(n.activities=n.activities.map(function(e){return u.fromJSON(e)})),n},e.prototype.isActive=function(){return this.active=this.status===i.ACTIVE,this.active},e}()},38:function(e,t,n){"use strict";var r,i,o,u;n.r(t),n.d(t,"TrackingEnabled",function(){return r}),n.d(t,"AutoBatch",function(){return i}),n.d(t,"UserConsent",function(){return o}),n.d(t,"MimeTypeCategory",function(){return u}),n.d(t,"MimeTypeCategoryMapping",function(){return a}),function(e){e.YES="Yes",e.NO="No"}(r||(r={})),function(e){e.YES="Yes",e.NO="No"}(i||(i={})),function(e){e.YES="Yes",e.NO="No"}(o||(o={})),function(e){e.VIDEO="VIDEO",e.AUDIO="AUDIO",e.INTERACTION="INTERACTION",e.DOC="DOC",e.ALL="ALL"}(u||(u={}));var a=function(){function e(){}var t,n,r,i,o;return t=u.VIDEO,n=u.AUDIO,r=u.INTERACTION,i=u.DOC,o=u.ALL,e[t]=["video/avi","video/mpeg","video/quicktime","video/3gpp","video/mpeg","video/mp4","video/ogg","video/webm","video/x-youtube"],e[n]=["audio/mp3","audio/mp4","audio/mpeg","audio/ogg","audio/webm","audio/x-wav","audio/wav"],e[r]=["application/vnd.ekstep.ecml-archive","application/vnd.ekstep.html-archive","application/vnd.ekstep.content-archive","application/vnd.ekstep.h5p-archive"],e[i]=["application/pdf","application/epub","application/msword"],e[o]=["application/vnd.ekstep.ecml-archive","application/vnd.ekstep.html-archive","application/vnd.android.package-archive","application/vnd.ekstep.content-archive","application/vnd.ekstep.content-collection","application/vnd.ekstep.plugin-archive","application/vnd.ekstep.h5p-archive","application/epub","text/x-url","video/x-youtube","application/octet-stream","application/msword","application/pdf","image/jpeg","image/jpg","image/png","image/tiff","image/bmp","image/gif","image/svg+xml","video/avi","video/mpeg","video/quicktime","video/3gpp","video/mpeg","video/mp4","video/ogg","video/webm","audio/mp3","audio/mp4","audio/mpeg","audio/ogg","audio/webm","audio/x-wav","audio/wav"],e}()},78:function(e,t){},79:function(e,t){},80:function(e,t){},81:function(e,t){},82:function(e,t,n){"use strict";var r,i,o,u,a;n.r(t),n.d(t,"UserDeclarationOperation",function(){return r}),n.d(t,"UserDeclarationStatus",function(){return i}),n.d(t,"ConsentStatus",function(){return o}),n.d(t,"UserFeedStatus",function(){return u}),n.d(t,"UserFeedCategory",function(){return a}),function(e){e.EDIT="edit",e.ADD="add",e.REMOVE="remove"}(r||(r={})),function(e){e.PENDING="PENDING",e.VALIDATED="VALIDATED",e.REJECTED="REJECTED",e.ERROR="ERROR"}(i||(i={})),function(e){e.ACTIVE="ACTIVE",e.REVOKED="REVOKED"}(o||(o={})),function(e){e.READ="read",e.UNREAD="unread"}(u||(u={})),function(e){e.ORG_MIGRATION_ACTION="OrgMigrationAction",e.NOTIFICATION="Notification"}(a||(a={}))},83:function(e,t){},84:function(e,t){},85:function(e,t){}})});