@sunbird-cb/utils 1.0.8 → 1.0.11

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 (245) hide show
  1. package/bundles/sunbird-cb-utils.umd.js +5315 -5298
  2. package/bundles/sunbird-cb-utils.umd.js.map +1 -1
  3. package/bundles/sunbird-cb-utils.umd.min.js +2 -2
  4. package/bundles/sunbird-cb-utils.umd.min.js.map +1 -1
  5. package/esm2015/lib/components/image-crop/image-crop.component.js +194 -194
  6. package/esm2015/lib/components/image-crop/image-crop.module.js +26 -26
  7. package/esm2015/lib/constants/features.enum.js +554 -554
  8. package/esm2015/lib/constants/instances.enum.js +4 -4
  9. package/esm2015/lib/directives/class-change-on-scroll/class-change-on-scroll.directive.js +86 -86
  10. package/esm2015/lib/directives/class-change-on-scroll/class-change-on-scroll.module.js +14 -14
  11. package/esm2015/lib/directives/default-thumbnail/default-thumbnail.directive.js +37 -37
  12. package/esm2015/lib/directives/default-thumbnail/default-thumbnail.module.js +14 -14
  13. package/esm2015/lib/directives/image-responsive/image-responsive.directive.js +91 -91
  14. package/esm2015/lib/directives/image-responsive/image-responsive.module.js +14 -14
  15. package/esm2015/lib/directives/in-view-port/in-view-port.directive.js +67 -67
  16. package/esm2015/lib/directives/in-view-port/in-view-port.module.js +14 -14
  17. package/esm2015/lib/directives/navigation/navigation.directive.js +38 -38
  18. package/esm2015/lib/directives/navigation/navigation.module.js +14 -14
  19. package/esm2015/lib/directives/permission/permission.directive.js +10 -10
  20. package/esm2015/lib/directives/permission/permission.module.js +14 -14
  21. package/esm2015/lib/helpers/functions/getStringifiedQueryParams.js +8 -8
  22. package/esm2015/lib/helpers/horizontal-scroller/horizontal-scroller.component.js +98 -98
  23. package/esm2015/lib/helpers/horizontal-scroller/horizontal-scroller.module.js +18 -18
  24. package/esm2015/lib/helpers/logout/logout.component.js +57 -56
  25. package/esm2015/lib/helpers/logout/logout.module.js +17 -17
  26. package/esm2015/lib/models/contentRating.model.js +12 -12
  27. package/esm2015/lib/pipes/pipe-concise-date-range/pipe-concise-date-range.module.js +12 -12
  28. package/esm2015/lib/pipes/pipe-concise-date-range/pipe-concise-date-range.pipe.js +58 -58
  29. package/esm2015/lib/pipes/pipe-count-transform/pipe-count-transform.module.js +14 -14
  30. package/esm2015/lib/pipes/pipe-count-transform/pipe-count-transform.pipe.js +32 -32
  31. package/esm2015/lib/pipes/pipe-date-concat/pipe-date-concat.module.js +14 -14
  32. package/esm2015/lib/pipes/pipe-date-concat/pipe-date-concat.pipe.js +42 -42
  33. package/esm2015/lib/pipes/pipe-duration-transform/pipe-duration-transform.module.js +14 -14
  34. package/esm2015/lib/pipes/pipe-duration-transform/pipe-duration-transform.pipe.js +59 -59
  35. package/esm2015/lib/pipes/pipe-filter/pipe-filter.module.js +14 -14
  36. package/esm2015/lib/pipes/pipe-filter/pipe-filter.pipe.js +15 -15
  37. package/esm2015/lib/pipes/pipe-filter-search/pipe-filter-search.module.js +14 -14
  38. package/esm2015/lib/pipes/pipe-filter-search/pipe-filter-search.pipe.js +29 -29
  39. package/esm2015/lib/pipes/pipe-html-tag-removal/pipe-html-tag-removal.module.js +14 -14
  40. package/esm2015/lib/pipes/pipe-html-tag-removal/pipe-html-tag-removal.pipe.js +11 -11
  41. package/esm2015/lib/pipes/pipe-limit-to/pipe-limit-to.module.js +14 -14
  42. package/esm2015/lib/pipes/pipe-limit-to/pipe-limit-to.pipe.js +24 -24
  43. package/esm2015/lib/pipes/pipe-list-filter/pipe-list-filter.module.js +14 -14
  44. package/esm2015/lib/pipes/pipe-list-filter/pipe-list-filter.pipe.js +16 -16
  45. package/esm2015/lib/pipes/pipe-name-transform/pipe-name-transform.module.js +14 -14
  46. package/esm2015/lib/pipes/pipe-name-transform/pipe-name-transform.pipe.js +30 -30
  47. package/esm2015/lib/pipes/pipe-order-by/pipe-order-by.module.js +14 -14
  48. package/esm2015/lib/pipes/pipe-order-by/pipe-order-by.pipe.js +15 -15
  49. package/esm2015/lib/pipes/pipe-partial-content/pipe-partial-content.module.js +14 -14
  50. package/esm2015/lib/pipes/pipe-partial-content/pipe-partial-content.pipe.js +17 -17
  51. package/esm2015/lib/pipes/pipe-relative-time/pipe-relative-time.module.js +14 -14
  52. package/esm2015/lib/pipes/pipe-relative-time/pipe-relative-time.pipe.js +15 -15
  53. package/esm2015/lib/pipes/pipe-safe-sanitizer/pipe-safe-sanitizer.module.js +14 -14
  54. package/esm2015/lib/pipes/pipe-safe-sanitizer/pipe-safe-sanitizer.pipe.js +34 -34
  55. package/esm2015/lib/resolvers/explore-detail.resolver.js +88 -88
  56. package/esm2015/lib/resolvers/marketing-offering.resolve.js +39 -39
  57. package/esm2015/lib/resolvers/page.constant.js +3 -3
  58. package/esm2015/lib/resolvers/page.model.js +46 -46
  59. package/esm2015/lib/resolvers/page.resolver.js +89 -89
  60. package/esm2015/lib/resolvers/resolver.model.js +5 -5
  61. package/esm2015/lib/services/auth-keycloak.service.js +246 -225
  62. package/esm2015/lib/services/auth-microsoft.service.js +195 -195
  63. package/esm2015/lib/services/card-content.model.js +30 -30
  64. package/esm2015/lib/services/configurations.model.js +497 -508
  65. package/esm2015/lib/services/configurations.service.js +103 -103
  66. package/esm2015/lib/services/content-strip-multiple.model.js +74 -74
  67. package/esm2015/lib/services/event.model.js +227 -227
  68. package/esm2015/lib/services/event.service.js +107 -107
  69. package/esm2015/lib/services/logger.service.js +54 -54
  70. package/esm2015/lib/services/ms-office.model.js +7 -7
  71. package/esm2015/lib/services/subapplication-respond.service.js +224 -224
  72. package/esm2015/lib/services/telemetry.service.js +449 -449
  73. package/esm2015/lib/services/user-preference.model.js +28 -28
  74. package/esm2015/lib/services/user-preference.service.js +89 -89
  75. package/esm2015/lib/services/utility.service.js +144 -144
  76. package/esm2015/lib/services/value.service.js +30 -30
  77. package/esm2015/lib/services/widget-content.model.js +341 -341
  78. package/esm2015/lib/services/widget-content.service.js +191 -191
  79. package/esm2015/lib/services/widget-resolver.model.js +56 -56
  80. package/esm2015/lib/services/widget-search.model.js +125 -125
  81. package/esm2015/public-api.js +66 -66
  82. package/esm2015/sunbird-cb-utils.js +8 -8
  83. package/esm5/lib/components/image-crop/image-crop.component.js +199 -199
  84. package/esm5/lib/components/image-crop/image-crop.module.js +30 -30
  85. package/esm5/lib/constants/features.enum.js +554 -554
  86. package/esm5/lib/constants/instances.enum.js +4 -4
  87. package/esm5/lib/directives/class-change-on-scroll/class-change-on-scroll.directive.js +104 -104
  88. package/esm5/lib/directives/class-change-on-scroll/class-change-on-scroll.module.js +18 -18
  89. package/esm5/lib/directives/default-thumbnail/default-thumbnail.directive.js +39 -39
  90. package/esm5/lib/directives/default-thumbnail/default-thumbnail.module.js +18 -18
  91. package/esm5/lib/directives/image-responsive/image-responsive.directive.js +94 -94
  92. package/esm5/lib/directives/image-responsive/image-responsive.module.js +18 -18
  93. package/esm5/lib/directives/in-view-port/in-view-port.directive.js +72 -72
  94. package/esm5/lib/directives/in-view-port/in-view-port.module.js +18 -18
  95. package/esm5/lib/directives/navigation/navigation.directive.js +40 -40
  96. package/esm5/lib/directives/navigation/navigation.module.js +18 -18
  97. package/esm5/lib/directives/permission/permission.directive.js +13 -13
  98. package/esm5/lib/directives/permission/permission.module.js +18 -18
  99. package/esm5/lib/helpers/functions/getStringifiedQueryParams.js +8 -8
  100. package/esm5/lib/helpers/horizontal-scroller/horizontal-scroller.component.js +102 -102
  101. package/esm5/lib/helpers/horizontal-scroller/horizontal-scroller.module.js +22 -22
  102. package/esm5/lib/helpers/logout/logout.component.js +63 -62
  103. package/esm5/lib/helpers/logout/logout.module.js +21 -21
  104. package/esm5/lib/models/contentRating.model.js +12 -12
  105. package/esm5/lib/pipes/pipe-concise-date-range/pipe-concise-date-range.module.js +16 -16
  106. package/esm5/lib/pipes/pipe-concise-date-range/pipe-concise-date-range.pipe.js +62 -62
  107. package/esm5/lib/pipes/pipe-count-transform/pipe-count-transform.module.js +18 -18
  108. package/esm5/lib/pipes/pipe-count-transform/pipe-count-transform.pipe.js +36 -36
  109. package/esm5/lib/pipes/pipe-date-concat/pipe-date-concat.module.js +18 -18
  110. package/esm5/lib/pipes/pipe-date-concat/pipe-date-concat.pipe.js +44 -44
  111. package/esm5/lib/pipes/pipe-duration-transform/pipe-duration-transform.module.js +18 -18
  112. package/esm5/lib/pipes/pipe-duration-transform/pipe-duration-transform.pipe.js +63 -63
  113. package/esm5/lib/pipes/pipe-filter/pipe-filter.module.js +18 -18
  114. package/esm5/lib/pipes/pipe-filter/pipe-filter.pipe.js +19 -19
  115. package/esm5/lib/pipes/pipe-filter-search/pipe-filter-search.module.js +18 -18
  116. package/esm5/lib/pipes/pipe-filter-search/pipe-filter-search.pipe.js +37 -37
  117. package/esm5/lib/pipes/pipe-html-tag-removal/pipe-html-tag-removal.module.js +18 -18
  118. package/esm5/lib/pipes/pipe-html-tag-removal/pipe-html-tag-removal.pipe.js +15 -15
  119. package/esm5/lib/pipes/pipe-limit-to/pipe-limit-to.module.js +18 -18
  120. package/esm5/lib/pipes/pipe-limit-to/pipe-limit-to.pipe.js +29 -29
  121. package/esm5/lib/pipes/pipe-list-filter/pipe-list-filter.module.js +18 -18
  122. package/esm5/lib/pipes/pipe-list-filter/pipe-list-filter.pipe.js +20 -20
  123. package/esm5/lib/pipes/pipe-name-transform/pipe-name-transform.module.js +18 -18
  124. package/esm5/lib/pipes/pipe-name-transform/pipe-name-transform.pipe.js +34 -34
  125. package/esm5/lib/pipes/pipe-order-by/pipe-order-by.module.js +18 -18
  126. package/esm5/lib/pipes/pipe-order-by/pipe-order-by.pipe.js +17 -17
  127. package/esm5/lib/pipes/pipe-partial-content/pipe-partial-content.module.js +18 -18
  128. package/esm5/lib/pipes/pipe-partial-content/pipe-partial-content.pipe.js +33 -33
  129. package/esm5/lib/pipes/pipe-relative-time/pipe-relative-time.module.js +18 -18
  130. package/esm5/lib/pipes/pipe-relative-time/pipe-relative-time.pipe.js +19 -19
  131. package/esm5/lib/pipes/pipe-safe-sanitizer/pipe-safe-sanitizer.module.js +18 -18
  132. package/esm5/lib/pipes/pipe-safe-sanitizer/pipe-safe-sanitizer.pipe.js +37 -37
  133. package/esm5/lib/resolvers/explore-detail.resolver.js +92 -92
  134. package/esm5/lib/resolvers/marketing-offering.resolve.js +42 -42
  135. package/esm5/lib/resolvers/page.constant.js +3 -3
  136. package/esm5/lib/resolvers/page.model.js +46 -46
  137. package/esm5/lib/resolvers/page.resolver.js +97 -97
  138. package/esm5/lib/resolvers/resolver.model.js +5 -5
  139. package/esm5/lib/services/auth-keycloak.service.js +322 -293
  140. package/esm5/lib/services/auth-microsoft.service.js +250 -250
  141. package/esm5/lib/services/card-content.model.js +30 -30
  142. package/esm5/lib/services/configurations.model.js +497 -508
  143. package/esm5/lib/services/configurations.service.js +105 -105
  144. package/esm5/lib/services/content-strip-multiple.model.js +74 -74
  145. package/esm5/lib/services/event.model.js +227 -227
  146. package/esm5/lib/services/event.service.js +110 -110
  147. package/esm5/lib/services/logger.service.js +72 -72
  148. package/esm5/lib/services/ms-office.model.js +7 -7
  149. package/esm5/lib/services/subapplication-respond.service.js +229 -229
  150. package/esm5/lib/services/telemetry.service.js +484 -484
  151. package/esm5/lib/services/user-preference.model.js +28 -28
  152. package/esm5/lib/services/user-preference.service.js +108 -108
  153. package/esm5/lib/services/utility.service.js +177 -177
  154. package/esm5/lib/services/value.service.js +32 -32
  155. package/esm5/lib/services/widget-content.model.js +341 -341
  156. package/esm5/lib/services/widget-content.service.js +213 -213
  157. package/esm5/lib/services/widget-resolver.model.js +56 -56
  158. package/esm5/lib/services/widget-search.model.js +125 -125
  159. package/esm5/public-api.js +66 -66
  160. package/esm5/sunbird-cb-utils.js +8 -8
  161. package/fesm2015/sunbird-cb-utils.js +4885 -4876
  162. package/fesm2015/sunbird-cb-utils.js.map +1 -1
  163. package/fesm5/sunbird-cb-utils.js +5312 -5295
  164. package/fesm5/sunbird-cb-utils.js.map +1 -1
  165. package/lib/components/image-crop/image-crop.component.d.ts +56 -56
  166. package/lib/components/image-crop/image-crop.module.d.ts +2 -2
  167. package/lib/constants/features.enum.d.ts +553 -553
  168. package/lib/constants/instances.enum.d.ts +3 -3
  169. package/lib/constants/misc.constants.d.ts +2 -2
  170. package/lib/directives/class-change-on-scroll/class-change-on-scroll.directive.d.ts +18 -18
  171. package/lib/directives/class-change-on-scroll/class-change-on-scroll.module.d.ts +2 -2
  172. package/lib/directives/default-thumbnail/default-thumbnail.directive.d.ts +9 -9
  173. package/lib/directives/default-thumbnail/default-thumbnail.module.d.ts +2 -2
  174. package/lib/directives/image-responsive/image-responsive.directive.d.ts +17 -17
  175. package/lib/directives/image-responsive/image-responsive.module.d.ts +2 -2
  176. package/lib/directives/in-view-port/in-view-port.directive.d.ts +11 -11
  177. package/lib/directives/in-view-port/in-view-port.module.d.ts +2 -2
  178. package/lib/directives/navigation/navigation.directive.d.ts +9 -9
  179. package/lib/directives/navigation/navigation.module.d.ts +2 -2
  180. package/lib/directives/permission/permission.directive.d.ts +3 -3
  181. package/lib/directives/permission/permission.module.d.ts +2 -2
  182. package/lib/helpers/functions/getStringifiedQueryParams.d.ts +3 -3
  183. package/lib/helpers/horizontal-scroller/horizontal-scroller.component.d.ts +18 -18
  184. package/lib/helpers/horizontal-scroller/horizontal-scroller.module.d.ts +2 -2
  185. package/lib/helpers/logout/logout.component.d.ts +18 -18
  186. package/lib/helpers/logout/logout.module.d.ts +2 -2
  187. package/lib/models/contentRating.model.d.ts +9 -9
  188. package/lib/pipes/pipe-concise-date-range/pipe-concise-date-range.module.d.ts +2 -2
  189. package/lib/pipes/pipe-concise-date-range/pipe-concise-date-range.pipe.d.ts +10 -10
  190. package/lib/pipes/pipe-count-transform/pipe-count-transform.module.d.ts +2 -2
  191. package/lib/pipes/pipe-count-transform/pipe-count-transform.pipe.d.ts +4 -4
  192. package/lib/pipes/pipe-date-concat/pipe-date-concat.module.d.ts +2 -2
  193. package/lib/pipes/pipe-date-concat/pipe-date-concat.pipe.d.ts +13 -13
  194. package/lib/pipes/pipe-duration-transform/pipe-duration-transform.module.d.ts +2 -2
  195. package/lib/pipes/pipe-duration-transform/pipe-duration-transform.pipe.d.ts +5 -5
  196. package/lib/pipes/pipe-filter/pipe-filter.module.d.ts +2 -2
  197. package/lib/pipes/pipe-filter/pipe-filter.pipe.d.ts +4 -4
  198. package/lib/pipes/pipe-filter-search/pipe-filter-search.module.d.ts +2 -2
  199. package/lib/pipes/pipe-filter-search/pipe-filter-search.pipe.d.ts +4 -4
  200. package/lib/pipes/pipe-html-tag-removal/pipe-html-tag-removal.module.d.ts +2 -2
  201. package/lib/pipes/pipe-html-tag-removal/pipe-html-tag-removal.pipe.d.ts +4 -4
  202. package/lib/pipes/pipe-limit-to/pipe-limit-to.module.d.ts +2 -2
  203. package/lib/pipes/pipe-limit-to/pipe-limit-to.pipe.d.ts +4 -4
  204. package/lib/pipes/pipe-list-filter/pipe-list-filter.module.d.ts +2 -2
  205. package/lib/pipes/pipe-list-filter/pipe-list-filter.pipe.d.ts +4 -4
  206. package/lib/pipes/pipe-name-transform/pipe-name-transform.module.d.ts +2 -2
  207. package/lib/pipes/pipe-name-transform/pipe-name-transform.pipe.d.ts +10 -10
  208. package/lib/pipes/pipe-order-by/pipe-order-by.module.d.ts +2 -2
  209. package/lib/pipes/pipe-order-by/pipe-order-by.pipe.d.ts +9 -9
  210. package/lib/pipes/pipe-partial-content/pipe-partial-content.module.d.ts +2 -2
  211. package/lib/pipes/pipe-partial-content/pipe-partial-content.pipe.d.ts +4 -4
  212. package/lib/pipes/pipe-relative-time/pipe-relative-time.module.d.ts +2 -2
  213. package/lib/pipes/pipe-relative-time/pipe-relative-time.pipe.d.ts +4 -4
  214. package/lib/pipes/pipe-safe-sanitizer/pipe-safe-sanitizer.module.d.ts +2 -2
  215. package/lib/pipes/pipe-safe-sanitizer/pipe-safe-sanitizer.pipe.d.ts +7 -7
  216. package/lib/resolvers/explore-detail.resolver.d.ts +16 -16
  217. package/lib/resolvers/marketing-offering.resolve.d.ts +10 -10
  218. package/lib/resolvers/page.constant.d.ts +1 -1
  219. package/lib/resolvers/page.model.d.ts +40 -40
  220. package/lib/resolvers/page.resolver.d.ts +17 -17
  221. package/lib/resolvers/resolver.model.d.ts +4 -4
  222. package/lib/services/auth-keycloak.service.d.ts +30 -27
  223. package/lib/services/auth-microsoft.service.d.ts +30 -30
  224. package/lib/services/card-content.model.d.ts +29 -29
  225. package/lib/services/configurations.model.d.ts +478 -487
  226. package/lib/services/configurations.service.d.ts +49 -49
  227. package/lib/services/content-strip-multiple.model.d.ts +79 -79
  228. package/lib/services/event.model.d.ts +192 -192
  229. package/lib/services/event.service.d.ts +14 -14
  230. package/lib/services/logger.service.d.ts +15 -15
  231. package/lib/services/ms-office.model.d.ts +6 -6
  232. package/lib/services/subapplication-respond.service.d.ts +25 -25
  233. package/lib/services/telemetry.service.d.ts +42 -42
  234. package/lib/services/user-preference.model.d.ts +26 -26
  235. package/lib/services/user-preference.service.d.ts +11 -11
  236. package/lib/services/utility.service.d.ts +31 -31
  237. package/lib/services/value.service.d.ts +8 -8
  238. package/lib/services/widget-content.model.d.ts +314 -314
  239. package/lib/services/widget-content.service.d.ts +49 -49
  240. package/lib/services/widget-resolver.model.d.ts +48 -48
  241. package/lib/services/widget-search.model.d.ts +114 -114
  242. package/package.json +1 -1
  243. package/public-api.d.ts +66 -66
  244. package/sunbird-cb-utils.d.ts +8 -8
  245. package/sunbird-cb-utils.metadata.json +1 -1
@@ -1,487 +1,478 @@
1
- import { NsPage } from '../resolvers/page.model';
2
- import { NsWidgetResolver } from './widget-resolver.model';
3
- export declare namespace NsInstanceConfig {
4
- interface IConfig {
5
- authoring: {
6
- doUniqueCheck: boolean;
7
- isMultiStepFlow: boolean;
8
- allowExpiry: boolean;
9
- allowRestore: boolean;
10
- allowReview: boolean;
11
- allowPublish: boolean;
12
- allowRedo: boolean;
13
- newDesign: boolean;
14
- allowedContentType: string[];
15
- urlPatternMatching: {
16
- allowReplace: boolean;
17
- source: string;
18
- pattern: string;
19
- allowIframe: boolean;
20
- }[];
21
- };
22
- appSetup: boolean;
23
- chatBotUrl: string;
24
- defaultFontsize: string;
25
- defaultThemeClass: string;
26
- defaultLocale: string;
27
- disablePidCheck?: boolean;
28
- fontSizes: IFontSize[];
29
- isContentDownloadAvailable: boolean;
30
- indexHtmlMeta: IIndexHtmlMeta;
31
- keycloak: IKeycloak;
32
- locals: ILocalsConfig[];
33
- microsoft: IMicrosoft;
34
- telemetryConfig: ITelemetryConfig;
35
- themes: ITheme[];
36
- logos: ILogos;
37
- sources?: ISourceLogo[];
38
- mailIds: IMailIds;
39
- details: IDetails;
40
- validMailIdExtensionsForMailMe: string[];
41
- defaultFeatureConfigs: {
42
- error: string;
43
- };
44
- backgrounds: {
45
- primaryNavBar: NsPage.INavBackground;
46
- pageNavBar: NsPage.INavBackground;
47
- };
48
- featuredApps: string[];
49
- primaryNavBarConfig: IPrimaryNavbarConfig;
50
- org: string[];
51
- rootOrg: string;
52
- intranetIframeUrls?: string[];
53
- showNavBarInSetup?: boolean;
54
- intranetUrlToCheck?: string;
55
- introVideo: IPath;
56
- tourVideo: IPath;
57
- isDownloadableSource?: IPath;
58
- isDownloadableIosResource?: IPath;
59
- isDownloadableAndroidResource?: IPath;
60
- sourceFieldsUserAutocomplete?: string[];
61
- forgotPasswordConfig?: IForgotPassword;
62
- hubs: IHubs[];
63
- courseContentPath?: string;
64
- portalUrls: IPortalUrls | undefined;
65
- }
66
- interface IPortalUrls {
67
- igot: string;
68
- spv: string;
69
- mdo: string;
70
- cbc: string;
71
- cbp: string;
72
- frac: string;
73
- }
74
- interface IForgotPassword {
75
- local?: string;
76
- enterprise?: string;
77
- social?: string;
78
- }
79
- interface ISourceLogo {
80
- sourceName?: string;
81
- sourceId?: string;
82
- logo?: string;
83
- }
84
- interface IPath {
85
- [key: string]: string;
86
- }
87
- interface IHubs {
88
- active: boolean;
89
- desc: string;
90
- hubname: string;
91
- icon: string;
92
- path: string;
93
- }
94
- interface IIndexHtmlMeta {
95
- description?: string;
96
- openSearchUrl?: string;
97
- webmanifest: string;
98
- xIcon?: string;
99
- pngIcon?: string;
100
- }
101
- interface IFontSize {
102
- baseFontSize: string;
103
- fontClass: string;
104
- scale: number;
105
- }
106
- interface IKeycloak {
107
- defaultidpHint: 'E' | 'N' | 'S';
108
- isLoginHidden: boolean;
109
- bearerExcludedUrls: string[];
110
- clientId: string;
111
- key: string;
112
- realm: string;
113
- url: string;
114
- changePasswordUrl?: string;
115
- onLoad?: 'check-sso' | 'login-required';
116
- }
117
- interface ILocalsConfig {
118
- isAvailable: boolean;
119
- isEnabled: boolean;
120
- locals: string[];
121
- path: string;
122
- isRTL: boolean;
123
- }
124
- interface IMicrosoft {
125
- clientId: string;
126
- defaultEmailId: string;
127
- tenant: string;
128
- validEmailExtensions: string[];
129
- isConfigured: boolean;
130
- }
131
- interface ITheme {
132
- color: IThemeColor;
133
- themeFile: string;
134
- themeClass: string;
135
- themeName: string;
136
- }
137
- interface IThemeColor {
138
- accent: string;
139
- primary: string;
140
- warn: string;
141
- }
142
- interface ILogos {
143
- app: string;
144
- appTransparent: string;
145
- aboutFooter: string;
146
- aboutHeader: string;
147
- appBottomNav?: string;
148
- company: string;
149
- developedBy: string;
150
- poweredBy: string;
151
- defaultContent?: string;
152
- defaultSourceLogo?: string;
153
- landingLogo: string;
154
- navbarLogo?: string;
155
- playListLogo?: string;
156
- thumpsUp?: string;
157
- }
158
- interface IMailIds {
159
- contactUs: string;
160
- default: string;
161
- support: string;
162
- }
163
- interface IDetails {
164
- appName: string;
165
- }
166
- interface IPrimaryNavbarConfig {
167
- mediumScreen: IPrimaryNavBarScreen;
168
- smallScreen: IPrimaryNavBarScreen;
169
- }
170
- interface IPrimaryNavBarScreen {
171
- left: IPrimaryNavBarSide[];
172
- right: IPrimaryNavBarSide[];
173
- }
174
- interface IPrimaryNavBarSide {
175
- type: 'widgetButton' | 'featureButton';
176
- config: NsWidgetResolver.IRenderConfigWithAnyData | NsPage.INavLink;
177
- }
178
- interface ITelemetryConfig {
179
- pdata: {
180
- id: string;
181
- ver: string;
182
- pid: string;
183
- };
184
- object: {
185
- ver: string;
186
- id: string | undefined;
187
- };
188
- uid: string | null;
189
- authtoken?: string;
190
- env: string;
191
- channel: string;
192
- batchsize: number;
193
- host: string;
194
- endpoint: string;
195
- apislug: string;
196
- sid: string;
197
- }
198
- }
199
- export declare namespace NsAppsConfig {
200
- type TIconType = 'mat-icon' | 'url';
201
- interface IAppsConfig {
202
- groups: IGroup[];
203
- features: {
204
- [id: string]: IFeature;
205
- };
206
- tourGuide?: string[][];
207
- }
208
- interface IGroup {
209
- id: string;
210
- iconType: string;
211
- icon: string;
212
- keywords: string[];
213
- name: string;
214
- toolTip: string;
215
- featureIds: string[];
216
- stripBackground?: string;
217
- hasRole: string[];
218
- }
219
- interface IFeature {
220
- name: string;
221
- id: string;
222
- url: string;
223
- permission: string | string[] | {
224
- all: string[];
225
- some: string[];
226
- none: string[];
227
- };
228
- iconType: TIconType;
229
- icon: string;
230
- keywords: string[];
231
- toolTip: string;
232
- accessKey: string;
233
- status?: 'earlyAccess' | 'live' | 'alpha' | 'beta';
234
- shortName: string;
235
- description?: string;
236
- badgeEndpoint?: string;
237
- mobileAppFunction?: string;
238
- color?: string;
239
- target?: string;
240
- }
241
- }
242
- export declare namespace NsUser {
243
- interface IUserProfile {
244
- userId: string;
245
- email?: string;
246
- departmentName?: string;
247
- userName?: string;
248
- firstName?: string;
249
- surName?: string;
250
- middleName?: string;
251
- lastName?: string;
252
- rootOrgId?: string;
253
- rootOrgName?: string;
254
- profileImage?: string;
255
- givenName?: string;
256
- country?: null | string;
257
- unit?: string | null;
258
- source_profile_picture?: null | string;
259
- dealerCode?: null | string;
260
- isManager?: boolean;
261
- }
262
- interface INodebbUserProfile {
263
- username: string;
264
- email: string;
265
- }
266
- interface IUserPidProfile {
267
- kid_updated: boolean;
268
- user: IUser;
269
- }
270
- interface IUserPidProfileV2 {
271
- kid_updated: boolean;
272
- result: {
273
- response: IUserV2;
274
- };
275
- }
276
- interface IUserPidProfileVer2 {
277
- result: {
278
- UserProfile: IUserVer2;
279
- };
280
- }
281
- interface ISourceData {
282
- GID: string;
283
- SNAMPRE: string;
284
- SNAMADD: string;
285
- LASTNAME: string;
286
- SN: string;
287
- GIVENNAME: string;
288
- NICKNAME: string;
289
- PREFERREDSN: string;
290
- PERSONALTITLE: string;
291
- MOBILE: string;
292
- MAIL: string;
293
- DEPARTMENTTEXT: string;
294
- COSTLOCATIONUNIT: string;
295
- COSTLOCATION: string;
296
- ORGID: string;
297
- MGMTRESP: string;
298
- UTC: string;
299
- CNAMEENG: string;
300
- LNAMEINT: string;
301
- USERTYPE: string;
302
- STATUS: string;
303
- CONTRACTSTATUS: string;
304
- }
305
- interface IUser {
306
- wid: string;
307
- root_org: string;
308
- org: string;
309
- is_active?: any;
310
- account_expiry_date?: any;
311
- kid: string;
312
- imported_source_name: string;
313
- source_id: string;
314
- username?: any;
315
- first_name: string;
316
- last_name: string;
317
- middle_name?: any;
318
- known_as: string;
319
- salutation?: any;
320
- email: string;
321
- gender?: any;
322
- dob?: any;
323
- languages_known?: any;
324
- preferred_language?: any;
325
- source_profile_picture?: any;
326
- residence_country: string;
327
- residence_state?: any;
328
- residence_city: string;
329
- contact_phone_number_office?: any;
330
- contact_phone_number_home?: any;
331
- contact_phone_number_personal: string;
332
- employement_status?: any;
333
- contract_type?: any;
334
- job_title?: any;
335
- job_role?: any;
336
- department_name: string;
337
- unit_name?: any;
338
- organization_location_country?: any;
339
- organization_location_state?: any;
340
- organization_location_city?: any;
341
- time_inserted: Date;
342
- time_updated: Date;
343
- json_unmapped_fields?: any;
344
- source_data: ISourceData;
345
- }
346
- interface IRootOrg {
347
- dateTime: string;
348
- preferredLanguage: string;
349
- keys: {};
350
- channel: string;
351
- approvedBy: string;
352
- description: string;
353
- updatedDate: string;
354
- addressId: string;
355
- orgType: string;
356
- provider: string;
357
- orgCode: string;
358
- locationId: string;
359
- theme: string;
360
- id: string;
361
- isApproved: boolean;
362
- communityId: string;
363
- slug: string;
364
- email: string;
365
- isSSOEnabled: boolean;
366
- thumbnail: string;
367
- updatedBy: string;
368
- orgName: string;
369
- locationIds: [];
370
- externalId: string;
371
- isRootOrg: boolean;
372
- rootOrgId: string;
373
- imgUrl: string;
374
- approvedDate: string;
375
- orgTypeId: string;
376
- homeUrl: string;
377
- isDefault: boolean;
378
- createdDate: string;
379
- contactDetail: string;
380
- parentOrgId: string;
381
- createdBy: string;
382
- hashTagId: string;
383
- noOfMembers: string;
384
- status: number;
385
- }
386
- interface IOrg {
387
- updatedBy: string;
388
- organisationId: string;
389
- orgName: string;
390
- addedByName: string;
391
- addedBy: string;
392
- roles: string[];
393
- approvedBy: string;
394
- updatedDate: string;
395
- userId: string;
396
- approvaldate: string;
397
- isDeleted: boolean;
398
- parentOrgId: string;
399
- hashTagId: string;
400
- isRejected: boolean;
401
- position: string;
402
- id: string;
403
- orgjoindate: string;
404
- isApproved: boolean;
405
- orgLeftDate: string;
406
- }
407
- interface IUserV2 {
408
- surName: any;
409
- maskedPhone: string;
410
- rootOrgName: string;
411
- subject: [];
412
- channel: string;
413
- language: [];
414
- updatedDate: string;
415
- managedBy: string;
416
- flagsValue: number;
417
- id: string;
418
- recoveryEmail: string;
419
- identifier: string;
420
- thumbnail: string;
421
- profileVisibility: [];
422
- updatedBy: string;
423
- accesscode: string;
424
- locationIds: [];
425
- externalIds: [];
426
- registryId: string;
427
- rootOrgId: string;
428
- prevUsedEmail: string;
429
- firstName: string;
430
- tncAcceptedOn: string;
431
- phone: string;
432
- dob: string;
433
- grade: [];
434
- currentLoginTime: string;
435
- userType: string;
436
- status: number;
437
- lastName: string;
438
- gender: string;
439
- roles: string[];
440
- prevUsedPhone: string;
441
- stateValidated: boolean;
442
- isDeleted: boolean;
443
- organisations: IOrg[];
444
- countryCode: string;
445
- maskedEmail: string;
446
- tempPassword: string;
447
- email: string;
448
- rootOrg: IRootOrg;
449
- profileSummary: string;
450
- phoneVerified: boolean;
451
- recoveryPhone: string;
452
- userName: string;
453
- userId: string;
454
- lastLoginTime: string;
455
- emailVerified: true;
456
- framework: {};
457
- createdDate: string;
458
- createdBy: string;
459
- location: string;
460
- tncAcceptedVersion: string;
461
- }
462
- interface IUserVer2 {
463
- 'firstname': string;
464
- 'motherTongue': string;
465
- 'secondaryEmail': string;
466
- 'gender': string;
467
- '@type': string;
468
- 'mobile': number;
469
- 'middlename': string;
470
- 'telephone': number;
471
- 'osid': string;
472
- 'primaryEmailType': string;
473
- 'knownLanguages': ILanguages[];
474
- 'wid': string;
475
- 'nationality': string;
476
- 'surname': string;
477
- 'dob': string;
478
- 'category': string;
479
- 'primaryEmail': string;
480
- 'maritalStatus': string;
481
- 'residenceAddress': string;
482
- 'result': any;
483
- }
484
- interface ILanguages {
485
- name: string;
486
- }
487
- }
1
+ import { NsPage } from '../resolvers/page.model';
2
+ import { NsWidgetResolver } from './widget-resolver.model';
3
+ export declare namespace NsInstanceConfig {
4
+ interface IConfig {
5
+ authoring: {
6
+ doUniqueCheck: boolean;
7
+ isMultiStepFlow: boolean;
8
+ allowExpiry: boolean;
9
+ allowRestore: boolean;
10
+ allowReview: boolean;
11
+ allowPublish: boolean;
12
+ allowRedo: boolean;
13
+ newDesign: boolean;
14
+ allowedContentType: string[];
15
+ urlPatternMatching: {
16
+ allowReplace: boolean;
17
+ source: string;
18
+ pattern: string;
19
+ allowIframe: boolean;
20
+ }[];
21
+ };
22
+ appSetup: boolean;
23
+ chatBotUrl: string;
24
+ defaultFontsize: string;
25
+ defaultThemeClass: string;
26
+ defaultLocale: string;
27
+ disablePidCheck?: boolean;
28
+ fontSizes: IFontSize[];
29
+ isContentDownloadAvailable: boolean;
30
+ indexHtmlMeta: IIndexHtmlMeta;
31
+ keycloak: IKeycloak;
32
+ locals: ILocalsConfig[];
33
+ microsoft: IMicrosoft;
34
+ telemetryConfig: ITelemetryConfig;
35
+ themes: ITheme[];
36
+ logos: ILogos;
37
+ sources?: ISourceLogo[];
38
+ mailIds: IMailIds;
39
+ details: IDetails;
40
+ validMailIdExtensionsForMailMe: string[];
41
+ defaultFeatureConfigs: {
42
+ error: string;
43
+ };
44
+ backgrounds: {
45
+ primaryNavBar: NsPage.INavBackground;
46
+ pageNavBar: NsPage.INavBackground;
47
+ };
48
+ featuredApps: string[];
49
+ primaryNavBarConfig: IPrimaryNavbarConfig;
50
+ org: string[];
51
+ rootOrg: string;
52
+ intranetIframeUrls?: string[];
53
+ showNavBarInSetup?: boolean;
54
+ intranetUrlToCheck?: string;
55
+ introVideo: IPath;
56
+ tourVideo: IPath;
57
+ isDownloadableSource?: IPath;
58
+ isDownloadableIosResource?: IPath;
59
+ isDownloadableAndroidResource?: IPath;
60
+ sourceFieldsUserAutocomplete?: string[];
61
+ forgotPasswordConfig?: IForgotPassword;
62
+ hubs: IHubs[];
63
+ courseContentPath?: string;
64
+ }
65
+ interface IForgotPassword {
66
+ local?: string;
67
+ enterprise?: string;
68
+ social?: string;
69
+ }
70
+ interface ISourceLogo {
71
+ sourceName?: string;
72
+ sourceId?: string;
73
+ logo?: string;
74
+ }
75
+ interface IPath {
76
+ [key: string]: string;
77
+ }
78
+ interface IHubs {
79
+ active: boolean;
80
+ desc: string;
81
+ hubname: string;
82
+ icon: string;
83
+ path: string;
84
+ }
85
+ interface IIndexHtmlMeta {
86
+ description?: string;
87
+ openSearchUrl?: string;
88
+ webmanifest: string;
89
+ xIcon?: string;
90
+ pngIcon?: string;
91
+ }
92
+ interface IFontSize {
93
+ baseFontSize: string;
94
+ fontClass: string;
95
+ scale: number;
96
+ }
97
+ interface IKeycloak {
98
+ defaultidpHint: 'E' | 'N' | 'S';
99
+ isLoginHidden: boolean;
100
+ bearerExcludedUrls: string[];
101
+ clientId: string;
102
+ key: string;
103
+ realm: string;
104
+ url: string;
105
+ changePasswordUrl?: string;
106
+ onLoad?: 'check-sso' | 'login-required';
107
+ }
108
+ interface ILocalsConfig {
109
+ isAvailable: boolean;
110
+ isEnabled: boolean;
111
+ locals: string[];
112
+ path: string;
113
+ isRTL: boolean;
114
+ }
115
+ interface IMicrosoft {
116
+ clientId: string;
117
+ defaultEmailId: string;
118
+ tenant: string;
119
+ validEmailExtensions: string[];
120
+ isConfigured: boolean;
121
+ }
122
+ interface ITheme {
123
+ color: IThemeColor;
124
+ themeFile: string;
125
+ themeClass: string;
126
+ themeName: string;
127
+ }
128
+ interface IThemeColor {
129
+ accent: string;
130
+ primary: string;
131
+ warn: string;
132
+ }
133
+ interface ILogos {
134
+ app: string;
135
+ appTransparent: string;
136
+ aboutFooter: string;
137
+ aboutHeader: string;
138
+ appBottomNav?: string;
139
+ company: string;
140
+ developedBy: string;
141
+ poweredBy: string;
142
+ defaultContent?: string;
143
+ defaultSourceLogo?: string;
144
+ landingLogo: string;
145
+ navbarLogo?: string;
146
+ playListLogo?: string;
147
+ thumpsUp?: string;
148
+ }
149
+ interface IMailIds {
150
+ contactUs: string;
151
+ default: string;
152
+ support: string;
153
+ }
154
+ interface IDetails {
155
+ appName: string;
156
+ }
157
+ interface IPrimaryNavbarConfig {
158
+ mediumScreen: IPrimaryNavBarScreen;
159
+ smallScreen: IPrimaryNavBarScreen;
160
+ }
161
+ interface IPrimaryNavBarScreen {
162
+ left: IPrimaryNavBarSide[];
163
+ right: IPrimaryNavBarSide[];
164
+ }
165
+ interface IPrimaryNavBarSide {
166
+ type: 'widgetButton' | 'featureButton';
167
+ config: NsWidgetResolver.IRenderConfigWithAnyData | NsPage.INavLink;
168
+ }
169
+ interface ITelemetryConfig {
170
+ pdata: {
171
+ id: string;
172
+ ver: string;
173
+ pid: string;
174
+ };
175
+ object: {
176
+ ver: string;
177
+ id: string | undefined;
178
+ };
179
+ uid: string | null;
180
+ authtoken?: string;
181
+ env: string;
182
+ channel: string;
183
+ batchsize: number;
184
+ host: string;
185
+ endpoint: string;
186
+ apislug: string;
187
+ sid: string;
188
+ }
189
+ }
190
+ export declare namespace NsAppsConfig {
191
+ type TIconType = 'mat-icon' | 'url';
192
+ interface IAppsConfig {
193
+ groups: IGroup[];
194
+ features: {
195
+ [id: string]: IFeature;
196
+ };
197
+ tourGuide?: string[][];
198
+ }
199
+ interface IGroup {
200
+ id: string;
201
+ iconType: string;
202
+ icon: string;
203
+ keywords: string[];
204
+ name: string;
205
+ toolTip: string;
206
+ featureIds: string[];
207
+ stripBackground?: string;
208
+ hasRole: string[];
209
+ }
210
+ interface IFeature {
211
+ name: string;
212
+ id: string;
213
+ url: string;
214
+ permission: string | string[] | {
215
+ all: string[];
216
+ some: string[];
217
+ none: string[];
218
+ };
219
+ iconType: TIconType;
220
+ icon: string;
221
+ keywords: string[];
222
+ toolTip: string;
223
+ accessKey: string;
224
+ status?: 'earlyAccess' | 'live' | 'alpha' | 'beta';
225
+ shortName: string;
226
+ description?: string;
227
+ badgeEndpoint?: string;
228
+ mobileAppFunction?: string;
229
+ color?: string;
230
+ target?: string;
231
+ }
232
+ }
233
+ export declare namespace NsUser {
234
+ interface IUserProfile {
235
+ userId: string;
236
+ email?: string;
237
+ departmentName?: string;
238
+ userName?: string;
239
+ firstName?: string;
240
+ surName?: string;
241
+ middleName?: string;
242
+ lastName?: string;
243
+ rootOrgId?: string;
244
+ rootOrgName?: string;
245
+ profileImage?: string;
246
+ givenName?: string;
247
+ country?: null | string;
248
+ unit?: string | null;
249
+ source_profile_picture?: null | string;
250
+ dealerCode?: null | string;
251
+ isManager?: boolean;
252
+ }
253
+ interface INodebbUserProfile {
254
+ username: string;
255
+ email: string;
256
+ }
257
+ interface IUserPidProfile {
258
+ kid_updated: boolean;
259
+ user: IUser;
260
+ }
261
+ interface IUserPidProfileV2 {
262
+ kid_updated: boolean;
263
+ result: {
264
+ response: IUserV2;
265
+ };
266
+ }
267
+ interface IUserPidProfileVer2 {
268
+ result: {
269
+ UserProfile: IUserVer2;
270
+ };
271
+ }
272
+ interface ISourceData {
273
+ GID: string;
274
+ SNAMPRE: string;
275
+ SNAMADD: string;
276
+ LASTNAME: string;
277
+ SN: string;
278
+ GIVENNAME: string;
279
+ NICKNAME: string;
280
+ PREFERREDSN: string;
281
+ PERSONALTITLE: string;
282
+ MOBILE: string;
283
+ MAIL: string;
284
+ DEPARTMENTTEXT: string;
285
+ COSTLOCATIONUNIT: string;
286
+ COSTLOCATION: string;
287
+ ORGID: string;
288
+ MGMTRESP: string;
289
+ UTC: string;
290
+ CNAMEENG: string;
291
+ LNAMEINT: string;
292
+ USERTYPE: string;
293
+ STATUS: string;
294
+ CONTRACTSTATUS: string;
295
+ }
296
+ interface IUser {
297
+ wid: string;
298
+ root_org: string;
299
+ org: string;
300
+ is_active?: any;
301
+ account_expiry_date?: any;
302
+ kid: string;
303
+ imported_source_name: string;
304
+ source_id: string;
305
+ username?: any;
306
+ first_name: string;
307
+ last_name: string;
308
+ middle_name?: any;
309
+ known_as: string;
310
+ salutation?: any;
311
+ email: string;
312
+ gender?: any;
313
+ dob?: any;
314
+ languages_known?: any;
315
+ preferred_language?: any;
316
+ source_profile_picture?: any;
317
+ residence_country: string;
318
+ residence_state?: any;
319
+ residence_city: string;
320
+ contact_phone_number_office?: any;
321
+ contact_phone_number_home?: any;
322
+ contact_phone_number_personal: string;
323
+ employement_status?: any;
324
+ contract_type?: any;
325
+ job_title?: any;
326
+ job_role?: any;
327
+ department_name: string;
328
+ unit_name?: any;
329
+ organization_location_country?: any;
330
+ organization_location_state?: any;
331
+ organization_location_city?: any;
332
+ time_inserted: Date;
333
+ time_updated: Date;
334
+ json_unmapped_fields?: any;
335
+ source_data: ISourceData;
336
+ }
337
+ interface IRootOrg {
338
+ dateTime: string;
339
+ preferredLanguage: string;
340
+ keys: {};
341
+ channel: string;
342
+ approvedBy: string;
343
+ description: string;
344
+ updatedDate: string;
345
+ addressId: string;
346
+ orgType: string;
347
+ provider: string;
348
+ orgCode: string;
349
+ locationId: string;
350
+ theme: string;
351
+ id: string;
352
+ isApproved: boolean;
353
+ communityId: string;
354
+ slug: string;
355
+ email: string;
356
+ isSSOEnabled: boolean;
357
+ thumbnail: string;
358
+ updatedBy: string;
359
+ orgName: string;
360
+ locationIds: [];
361
+ externalId: string;
362
+ isRootOrg: boolean;
363
+ rootOrgId: string;
364
+ imgUrl: string;
365
+ approvedDate: string;
366
+ orgTypeId: string;
367
+ homeUrl: string;
368
+ isDefault: boolean;
369
+ createdDate: string;
370
+ contactDetail: string;
371
+ parentOrgId: string;
372
+ createdBy: string;
373
+ hashTagId: string;
374
+ noOfMembers: string;
375
+ status: number;
376
+ }
377
+ interface IOrg {
378
+ updatedBy: string;
379
+ organisationId: string;
380
+ orgName: string;
381
+ addedByName: string;
382
+ addedBy: string;
383
+ roles: string[];
384
+ approvedBy: string;
385
+ updatedDate: string;
386
+ userId: string;
387
+ approvaldate: string;
388
+ isDeleted: boolean;
389
+ parentOrgId: string;
390
+ hashTagId: string;
391
+ isRejected: boolean;
392
+ position: string;
393
+ id: string;
394
+ orgjoindate: string;
395
+ isApproved: boolean;
396
+ orgLeftDate: string;
397
+ }
398
+ interface IUserV2 {
399
+ surName: any;
400
+ maskedPhone: string;
401
+ rootOrgName: string;
402
+ subject: [];
403
+ channel: string;
404
+ language: [];
405
+ updatedDate: string;
406
+ managedBy: string;
407
+ flagsValue: number;
408
+ id: string;
409
+ recoveryEmail: string;
410
+ identifier: string;
411
+ thumbnail: string;
412
+ profileVisibility: [];
413
+ updatedBy: string;
414
+ accesscode: string;
415
+ locationIds: [];
416
+ externalIds: [];
417
+ registryId: string;
418
+ rootOrgId: string;
419
+ prevUsedEmail: string;
420
+ firstName: string;
421
+ tncAcceptedOn: string;
422
+ phone: string;
423
+ dob: string;
424
+ grade: [];
425
+ currentLoginTime: string;
426
+ userType: string;
427
+ status: number;
428
+ lastName: string;
429
+ gender: string;
430
+ roles: string[];
431
+ prevUsedPhone: string;
432
+ stateValidated: boolean;
433
+ isDeleted: boolean;
434
+ organisations: IOrg[];
435
+ countryCode: string;
436
+ maskedEmail: string;
437
+ tempPassword: string;
438
+ email: string;
439
+ rootOrg: IRootOrg;
440
+ profileSummary: string;
441
+ phoneVerified: boolean;
442
+ recoveryPhone: string;
443
+ userName: string;
444
+ userId: string;
445
+ lastLoginTime: string;
446
+ emailVerified: true;
447
+ framework: {};
448
+ createdDate: string;
449
+ createdBy: string;
450
+ location: string;
451
+ tncAcceptedVersion: string;
452
+ }
453
+ interface IUserVer2 {
454
+ 'firstname': string;
455
+ 'motherTongue': string;
456
+ 'secondaryEmail': string;
457
+ 'gender': string;
458
+ '@type': string;
459
+ 'mobile': number;
460
+ 'middlename': string;
461
+ 'telephone': number;
462
+ 'osid': string;
463
+ 'primaryEmailType': string;
464
+ 'knownLanguages': ILanguages[];
465
+ 'wid': string;
466
+ 'nationality': string;
467
+ 'surname': string;
468
+ 'dob': string;
469
+ 'category': string;
470
+ 'primaryEmail': string;
471
+ 'maritalStatus': string;
472
+ 'residenceAddress': string;
473
+ 'result': any;
474
+ }
475
+ interface ILanguages {
476
+ name: string;
477
+ }
478
+ }