@sunbird-cb/utils 1.0.0 → 1.0.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 (245) hide show
  1. package/bundles/sunbird-cb-utils.umd.js +5082 -4921
  2. package/bundles/sunbird-cb-utils.umd.js.map +1 -1
  3. package/bundles/sunbird-cb-utils.umd.min.js +1 -1
  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 +55 -55
  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 +225 -230
  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 +508 -490
  65. package/esm2015/lib/services/configurations.service.js +103 -109
  66. package/esm2015/lib/services/content-strip-multiple.model.js +74 -74
  67. package/esm2015/lib/services/event.model.js +163 -154
  68. package/esm2015/lib/services/event.service.js +53 -39
  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 +400 -278
  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 +99 -99
  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 +61 -61
  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 +293 -302
  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 +508 -490
  143. package/esm5/lib/services/configurations.service.js +105 -111
  144. package/esm5/lib/services/content-strip-multiple.model.js +74 -74
  145. package/esm5/lib/services/event.model.js +163 -154
  146. package/esm5/lib/services/event.service.js +55 -41
  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 +429 -296
  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 +127 -127
  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 +4666 -4512
  162. package/fesm2015/sunbird-cb-utils.js.map +1 -1
  163. package/fesm5/sunbird-cb-utils.js +5074 -4913
  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 +27 -29
  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 +487 -473
  226. package/lib/services/configurations.service.d.ts +49 -51
  227. package/lib/services/content-strip-multiple.model.d.ts +79 -79
  228. package/lib/services/event.model.d.ts +137 -129
  229. package/lib/services/event.service.d.ts +9 -8
  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 +39 -33
  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 +23 -23
  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,473 +1,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
- }
188
- }
189
- export declare namespace NsAppsConfig {
190
- type TIconType = 'mat-icon' | 'url';
191
- interface IAppsConfig {
192
- groups: IGroup[];
193
- features: {
194
- [id: string]: IFeature;
195
- };
196
- tourGuide?: string[][];
197
- }
198
- interface IGroup {
199
- id: string;
200
- iconType: string;
201
- icon: string;
202
- keywords: string[];
203
- name: string;
204
- toolTip: string;
205
- featureIds: string[];
206
- stripBackground?: string;
207
- hasRole: string[];
208
- }
209
- interface IFeature {
210
- name: string;
211
- id: string;
212
- url: string;
213
- permission: string | string[] | {
214
- all: string[];
215
- some: string[];
216
- none: string[];
217
- };
218
- iconType: TIconType;
219
- icon: string;
220
- keywords: string[];
221
- toolTip: string;
222
- accessKey: string;
223
- status?: 'earlyAccess' | 'live' | 'alpha' | 'beta';
224
- shortName: string;
225
- description?: string;
226
- badgeEndpoint?: string;
227
- mobileAppFunction?: string;
228
- color?: string;
229
- target?: string;
230
- }
231
- }
232
- export declare namespace NsUser {
233
- interface IUserProfile {
234
- userId: string;
235
- email?: string;
236
- departmentName?: string;
237
- userName?: string;
238
- firstName?: string;
239
- surName?: string;
240
- middleName?: string;
241
- lastName?: string;
242
- rootOrgId?: string;
243
- rootOrgName?: string;
244
- profileImage?: string;
245
- givenName?: string;
246
- country?: null | string;
247
- unit?: string | null;
248
- source_profile_picture?: null | string;
249
- dealerCode?: null | string;
250
- isManager?: boolean;
251
- }
252
- interface IUserPidProfile {
253
- kid_updated: boolean;
254
- user: IUser;
255
- }
256
- interface IUserPidProfileV2 {
257
- kid_updated: boolean;
258
- result: {
259
- response: IUserV2;
260
- };
261
- }
262
- interface IUserPidProfileVer2 {
263
- result: {
264
- UserProfile: IUserVer2;
265
- };
266
- }
267
- interface ISourceData {
268
- GID: string;
269
- SNAMPRE: string;
270
- SNAMADD: string;
271
- LASTNAME: string;
272
- SN: string;
273
- GIVENNAME: string;
274
- NICKNAME: string;
275
- PREFERREDSN: string;
276
- PERSONALTITLE: string;
277
- MOBILE: string;
278
- MAIL: string;
279
- DEPARTMENTTEXT: string;
280
- COSTLOCATIONUNIT: string;
281
- COSTLOCATION: string;
282
- ORGID: string;
283
- MGMTRESP: string;
284
- UTC: string;
285
- CNAMEENG: string;
286
- LNAMEINT: string;
287
- USERTYPE: string;
288
- STATUS: string;
289
- CONTRACTSTATUS: string;
290
- }
291
- interface IUser {
292
- wid: string;
293
- root_org: string;
294
- org: string;
295
- is_active?: any;
296
- account_expiry_date?: any;
297
- kid: string;
298
- imported_source_name: string;
299
- source_id: string;
300
- username?: any;
301
- first_name: string;
302
- last_name: string;
303
- middle_name?: any;
304
- known_as: string;
305
- salutation?: any;
306
- email: string;
307
- gender?: any;
308
- dob?: any;
309
- languages_known?: any;
310
- preferred_language?: any;
311
- source_profile_picture?: any;
312
- residence_country: string;
313
- residence_state?: any;
314
- residence_city: string;
315
- contact_phone_number_office?: any;
316
- contact_phone_number_home?: any;
317
- contact_phone_number_personal: string;
318
- employement_status?: any;
319
- contract_type?: any;
320
- job_title?: any;
321
- job_role?: any;
322
- department_name: string;
323
- unit_name?: any;
324
- organization_location_country?: any;
325
- organization_location_state?: any;
326
- organization_location_city?: any;
327
- time_inserted: Date;
328
- time_updated: Date;
329
- json_unmapped_fields?: any;
330
- source_data: ISourceData;
331
- }
332
- interface IRootOrg {
333
- dateTime: string;
334
- preferredLanguage: string;
335
- keys: {};
336
- channel: string;
337
- approvedBy: string;
338
- description: string;
339
- updatedDate: string;
340
- addressId: string;
341
- orgType: string;
342
- provider: string;
343
- orgCode: string;
344
- locationId: string;
345
- theme: string;
346
- id: string;
347
- isApproved: boolean;
348
- communityId: string;
349
- slug: string;
350
- email: string;
351
- isSSOEnabled: boolean;
352
- thumbnail: string;
353
- updatedBy: string;
354
- orgName: string;
355
- locationIds: [];
356
- externalId: string;
357
- isRootOrg: boolean;
358
- rootOrgId: string;
359
- imgUrl: string;
360
- approvedDate: string;
361
- orgTypeId: string;
362
- homeUrl: string;
363
- isDefault: boolean;
364
- createdDate: string;
365
- contactDetail: string;
366
- parentOrgId: string;
367
- createdBy: string;
368
- hashTagId: string;
369
- noOfMembers: string;
370
- status: number;
371
- }
372
- interface IOrg {
373
- updatedBy: string;
374
- organisationId: string;
375
- orgName: string;
376
- addedByName: string;
377
- addedBy: string;
378
- roles: string[];
379
- approvedBy: string;
380
- updatedDate: string;
381
- userId: string;
382
- approvaldate: string;
383
- isDeleted: boolean;
384
- parentOrgId: string;
385
- hashTagId: string;
386
- isRejected: boolean;
387
- position: string;
388
- id: string;
389
- orgjoindate: string;
390
- isApproved: boolean;
391
- orgLeftDate: string;
392
- }
393
- interface IUserV2 {
394
- surName: any;
395
- maskedPhone: string;
396
- rootOrgName: string;
397
- subject: [];
398
- channel: string;
399
- language: [];
400
- updatedDate: string;
401
- managedBy: string;
402
- flagsValue: number;
403
- id: string;
404
- recoveryEmail: string;
405
- identifier: string;
406
- thumbnail: string;
407
- profileVisibility: [];
408
- updatedBy: string;
409
- accesscode: string;
410
- locationIds: [];
411
- externalIds: [];
412
- registryId: string;
413
- rootOrgId: string;
414
- prevUsedEmail: string;
415
- firstName: string;
416
- tncAcceptedOn: string;
417
- phone: string;
418
- dob: string;
419
- grade: [];
420
- currentLoginTime: string;
421
- userType: string;
422
- status: number;
423
- lastName: string;
424
- gender: string;
425
- roles: string[];
426
- prevUsedPhone: string;
427
- stateValidated: boolean;
428
- isDeleted: boolean;
429
- organisations: IOrg[];
430
- countryCode: string;
431
- maskedEmail: string;
432
- tempPassword: string;
433
- email: string;
434
- rootOrg: IRootOrg;
435
- profileSummary: string;
436
- phoneVerified: boolean;
437
- recoveryPhone: string;
438
- userName: string;
439
- userId: string;
440
- lastLoginTime: string;
441
- emailVerified: true;
442
- framework: {};
443
- createdDate: string;
444
- createdBy: string;
445
- location: string;
446
- tncAcceptedVersion: string;
447
- }
448
- interface IUserVer2 {
449
- 'firstname': string;
450
- 'motherTongue': string;
451
- 'secondaryEmail': string;
452
- 'gender': string;
453
- '@type': string;
454
- 'mobile': number;
455
- 'middlename': string;
456
- 'telephone': number;
457
- 'osid': string;
458
- 'primaryEmailType': string;
459
- 'knownLanguages': ILanguages[];
460
- 'wid': string;
461
- 'nationality': string;
462
- 'surname': string;
463
- 'dob': string;
464
- 'category': string;
465
- 'primaryEmail': string;
466
- 'maritalStatus': string;
467
- 'residenceAddress': string;
468
- 'result': any;
469
- }
470
- interface ILanguages {
471
- name: string;
472
- }
473
- }
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
+ }