@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,343 @@
1
+ export declare const credentialsv1: {
2
+ "@context": {
3
+ "@version": number;
4
+ "@protected": boolean;
5
+ id: string;
6
+ type: string;
7
+ VerifiableCredential: {
8
+ "@id": string;
9
+ "@context": {
10
+ "@version": number;
11
+ "@protected": boolean;
12
+ id: string;
13
+ type: string;
14
+ cred: string;
15
+ sec: string;
16
+ xsd: string;
17
+ credentialSchema: {
18
+ "@id": string;
19
+ "@type": string;
20
+ "@context": {
21
+ "@version": number;
22
+ "@protected": boolean;
23
+ id: string;
24
+ type: string;
25
+ cred: string;
26
+ JsonSchemaValidator2018: string;
27
+ };
28
+ };
29
+ credentialStatus: {
30
+ "@id": string;
31
+ "@type": string;
32
+ };
33
+ credentialSubject: {
34
+ "@id": string;
35
+ "@type": string;
36
+ };
37
+ evidence: {
38
+ "@id": string;
39
+ "@type": string;
40
+ };
41
+ expirationDate: {
42
+ "@id": string;
43
+ "@type": string;
44
+ };
45
+ holder: {
46
+ "@id": string;
47
+ "@type": string;
48
+ };
49
+ issued: {
50
+ "@id": string;
51
+ "@type": string;
52
+ };
53
+ issuer: {
54
+ "@id": string;
55
+ "@type": string;
56
+ };
57
+ issuanceDate: {
58
+ "@id": string;
59
+ "@type": string;
60
+ };
61
+ proof: {
62
+ "@id": string;
63
+ "@type": string;
64
+ "@container": string;
65
+ };
66
+ refreshService: {
67
+ "@id": string;
68
+ "@type": string;
69
+ "@context": {
70
+ "@version": number;
71
+ "@protected": boolean;
72
+ id: string;
73
+ type: string;
74
+ cred: string;
75
+ ManualRefreshService2018: string;
76
+ };
77
+ };
78
+ termsOfUse: {
79
+ "@id": string;
80
+ "@type": string;
81
+ };
82
+ validFrom: {
83
+ "@id": string;
84
+ "@type": string;
85
+ };
86
+ validUntil: {
87
+ "@id": string;
88
+ "@type": string;
89
+ };
90
+ };
91
+ };
92
+ VerifiablePresentation: {
93
+ "@id": string;
94
+ "@context": {
95
+ "@version": number;
96
+ "@protected": boolean;
97
+ id: string;
98
+ type: string;
99
+ cred: string;
100
+ sec: string;
101
+ holder: {
102
+ "@id": string;
103
+ "@type": string;
104
+ };
105
+ proof: {
106
+ "@id": string;
107
+ "@type": string;
108
+ "@container": string;
109
+ };
110
+ verifiableCredential: {
111
+ "@id": string;
112
+ "@type": string;
113
+ "@container": string;
114
+ };
115
+ };
116
+ };
117
+ EcdsaSecp256k1Signature2019: {
118
+ "@id": string;
119
+ "@context": {
120
+ "@version": number;
121
+ "@protected": boolean;
122
+ id: string;
123
+ type: string;
124
+ sec: string;
125
+ xsd: string;
126
+ challenge: string;
127
+ created: {
128
+ "@id": string;
129
+ "@type": string;
130
+ };
131
+ domain: string;
132
+ expires: {
133
+ "@id": string;
134
+ "@type": string;
135
+ };
136
+ jws: string;
137
+ nonce: string;
138
+ proofPurpose: {
139
+ "@id": string;
140
+ "@type": string;
141
+ "@context": {
142
+ "@version": number;
143
+ "@protected": boolean;
144
+ id: string;
145
+ type: string;
146
+ sec: string;
147
+ assertionMethod: {
148
+ "@id": string;
149
+ "@type": string;
150
+ "@container": string;
151
+ };
152
+ authentication: {
153
+ "@id": string;
154
+ "@type": string;
155
+ "@container": string;
156
+ };
157
+ };
158
+ };
159
+ proofValue: string;
160
+ verificationMethod: {
161
+ "@id": string;
162
+ "@type": string;
163
+ };
164
+ };
165
+ };
166
+ EcdsaSecp256r1Signature2019: {
167
+ "@id": string;
168
+ "@context": {
169
+ "@version": number;
170
+ "@protected": boolean;
171
+ id: string;
172
+ type: string;
173
+ sec: string;
174
+ xsd: string;
175
+ challenge: string;
176
+ created: {
177
+ "@id": string;
178
+ "@type": string;
179
+ };
180
+ domain: string;
181
+ expires: {
182
+ "@id": string;
183
+ "@type": string;
184
+ };
185
+ jws: string;
186
+ nonce: string;
187
+ proofPurpose: {
188
+ "@id": string;
189
+ "@type": string;
190
+ "@context": {
191
+ "@version": number;
192
+ "@protected": boolean;
193
+ id: string;
194
+ type: string;
195
+ sec: string;
196
+ assertionMethod: {
197
+ "@id": string;
198
+ "@type": string;
199
+ "@container": string;
200
+ };
201
+ authentication: {
202
+ "@id": string;
203
+ "@type": string;
204
+ "@container": string;
205
+ };
206
+ };
207
+ };
208
+ proofValue: string;
209
+ verificationMethod: {
210
+ "@id": string;
211
+ "@type": string;
212
+ };
213
+ };
214
+ };
215
+ Ed25519Signature2018: {
216
+ "@id": string;
217
+ "@context": {
218
+ "@version": number;
219
+ "@protected": boolean;
220
+ id: string;
221
+ type: string;
222
+ sec: string;
223
+ xsd: string;
224
+ challenge: string;
225
+ created: {
226
+ "@id": string;
227
+ "@type": string;
228
+ };
229
+ domain: string;
230
+ expires: {
231
+ "@id": string;
232
+ "@type": string;
233
+ };
234
+ jws: string;
235
+ nonce: string;
236
+ proofPurpose: {
237
+ "@id": string;
238
+ "@type": string;
239
+ "@context": {
240
+ "@version": number;
241
+ "@protected": boolean;
242
+ id: string;
243
+ type: string;
244
+ sec: string;
245
+ assertionMethod: {
246
+ "@id": string;
247
+ "@type": string;
248
+ "@container": string;
249
+ };
250
+ authentication: {
251
+ "@id": string;
252
+ "@type": string;
253
+ "@container": string;
254
+ };
255
+ };
256
+ };
257
+ proofValue: string;
258
+ verificationMethod: {
259
+ "@id": string;
260
+ "@type": string;
261
+ };
262
+ };
263
+ };
264
+ RsaSignature2018: {
265
+ "@id": string;
266
+ "@context": {
267
+ "@version": number;
268
+ "@protected": boolean;
269
+ challenge: string;
270
+ created: {
271
+ "@id": string;
272
+ "@type": string;
273
+ };
274
+ domain: string;
275
+ expires: {
276
+ "@id": string;
277
+ "@type": string;
278
+ };
279
+ jws: string;
280
+ nonce: string;
281
+ proofPurpose: {
282
+ "@id": string;
283
+ "@type": string;
284
+ "@context": {
285
+ "@version": number;
286
+ "@protected": boolean;
287
+ id: string;
288
+ type: string;
289
+ sec: string;
290
+ assertionMethod: {
291
+ "@id": string;
292
+ "@type": string;
293
+ "@container": string;
294
+ };
295
+ authentication: {
296
+ "@id": string;
297
+ "@type": string;
298
+ "@container": string;
299
+ };
300
+ };
301
+ };
302
+ proofValue: string;
303
+ verificationMethod: {
304
+ "@id": string;
305
+ "@type": string;
306
+ };
307
+ };
308
+ };
309
+ proof: {
310
+ "@id": string;
311
+ "@type": string;
312
+ "@container": string;
313
+ };
314
+ };
315
+ };
316
+ export declare const testCertificateContext: {
317
+ "@context": {
318
+ "@version": number;
319
+ "@protected": boolean;
320
+ SkillCertificate: {
321
+ "@id": string;
322
+ "@context": {
323
+ id: string;
324
+ "@version": number;
325
+ "@protected": boolean;
326
+ skills: string;
327
+ };
328
+ };
329
+ Person: {
330
+ "@id": string;
331
+ "@context": {
332
+ name: string;
333
+ };
334
+ };
335
+ trainedOn: {
336
+ "@id": string;
337
+ "@context": {
338
+ name: string;
339
+ };
340
+ };
341
+ };
342
+ };
343
+ export declare const testCertificateContextUrl = "https://gist.githubusercontent.com/dileepbapat/eb932596a70f75016411cc871113a789/raw/498e5af1d94784f114b32c1ab827f951a8a24def/skill";