@lifeready/core 1.0.21 → 1.0.23

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 (277) hide show
  1. package/bundles/lifeready-core.umd.js +10612 -10527
  2. package/bundles/lifeready-core.umd.js.map +1 -1
  3. package/bundles/lifeready-core.umd.min.js +1 -15
  4. package/bundles/lifeready-core.umd.min.js.map +1 -1
  5. package/esm2015/lib/_common/ast.js +2 -1
  6. package/esm2015/lib/_common/deferred-promise.js +1 -1
  7. package/esm2015/lib/_common/exceptions.js +1 -1
  8. package/esm2015/lib/_common/queries.gql.js +1 -1
  9. package/esm2015/lib/_common/run-outside-angular.js +3 -2
  10. package/esm2015/lib/_common/types.js +2 -1
  11. package/esm2015/lib/_common/utils.js +2 -1
  12. package/esm2015/lib/api/lr-apollo.service.js +4 -3
  13. package/esm2015/lib/api/lr-graphql/index.js +1 -1
  14. package/esm2015/lib/api/lr-graphql/lr-graphql.service.js +9 -8
  15. package/esm2015/lib/api/lr-graphql/lr-merged-mutation.js +5 -6
  16. package/esm2015/lib/api/lr-graphql/lr-mutation-base.js +1 -1
  17. package/esm2015/lib/api/lr-graphql/lr-mutation.js +3 -3
  18. package/esm2015/lib/api/lr-graphql/lr.service.js +1 -1
  19. package/esm2015/lib/api/query-processor/common-processors.service.js +4 -3
  20. package/esm2015/lib/api/query-processor/index.js +1 -1
  21. package/esm2015/lib/api/query-processor/query-processor.service.js +5 -4
  22. package/esm2015/lib/api/query-processor/tp-password-reset-processor.service.js +8 -7
  23. package/esm2015/lib/api/types/graphql.types.js +2 -1
  24. package/esm2015/lib/api/types/index.js +1 -1
  25. package/esm2015/lib/api/types/lr-graphql.types.js +1 -1
  26. package/esm2015/lib/auth/auth.config.js +1 -1
  27. package/esm2015/lib/auth/auth.gql.js +1 -28
  28. package/esm2015/lib/auth/auth.types.js +1 -1
  29. package/esm2015/lib/auth/life-ready-auth.service.js +36 -32
  30. package/esm2015/lib/category/category-meta.service.js +1 -1
  31. package/esm2015/lib/category/category.gql.js +3 -2
  32. package/esm2015/lib/category/category.service.js +9 -8
  33. package/esm2015/lib/category/category.types.js +1 -1
  34. package/esm2015/lib/contact-card/contact-card.gql.js +79 -0
  35. package/esm2015/lib/contact-card/contact-card.service.js +156 -0
  36. package/esm2015/lib/contact-card/contact-card2.gql.js +29 -0
  37. package/esm2015/lib/contact-card/contact-card2.service.js +103 -0
  38. package/esm2015/lib/encryption/encryption.service.js +190 -0
  39. package/esm2015/lib/file-upload/file-upload.service.js +74 -0
  40. package/esm2015/lib/file-upload/file-upload.types.js +2 -0
  41. package/esm2015/lib/idle/idle.service.js +168 -0
  42. package/esm2015/lib/idle/idle.types.js +7 -0
  43. package/esm2015/lib/item2/item2.gql.js +127 -0
  44. package/esm2015/lib/item2/item2.gql.private.js +23 -0
  45. package/esm2015/lib/item2/item2.service.js +519 -0
  46. package/esm2015/lib/item2/item2.types.js +2 -0
  47. package/esm2015/lib/key/key-factory.service.js +237 -0
  48. package/esm2015/lib/key/key-graph.service.js +300 -0
  49. package/esm2015/lib/key/key-meta.service.js +201 -0
  50. package/esm2015/lib/{cryptography → key}/key.service.js +4 -4
  51. package/esm2015/lib/key/key.types.js +11 -0
  52. package/esm2015/lib/key-exchange/key-exchange.gql.js +188 -0
  53. package/esm2015/lib/key-exchange/key-exchange.service.js +441 -0
  54. package/esm2015/lib/key-exchange/key-exchange.types.js +7 -0
  55. package/esm2015/lib/key-exchange/key-exchange2.gql.js +171 -0
  56. package/esm2015/lib/key-exchange/key-exchange2.service.js +500 -0
  57. package/esm2015/lib/lbop/lbop.service.js +357 -0
  58. package/esm2015/lib/life-ready.config.js +2 -1
  59. package/esm2015/lib/life-ready.module.js +2 -27
  60. package/esm2015/lib/lock/lock.gql.js +40 -0
  61. package/esm2015/lib/lock/lock.service.js +64 -0
  62. package/esm2015/lib/message/message.gql.js +32 -0
  63. package/esm2015/lib/message/message.service.js +118 -0
  64. package/esm2015/lib/message/message.types.js +2 -0
  65. package/esm2015/lib/notification/notification.gql.js +1 -1
  66. package/esm2015/lib/notification/notification.service.js +2 -2
  67. package/esm2015/lib/password/password.gql.js +28 -0
  68. package/esm2015/lib/password/password.service.js +316 -0
  69. package/esm2015/lib/persist/persist.service.js +181 -0
  70. package/esm2015/lib/plan/plan.gql.js +1 -1
  71. package/esm2015/lib/plan/plan.service.js +3 -2
  72. package/esm2015/lib/plan/plan.types.js +1 -1
  73. package/esm2015/lib/profile/profile-details.service.js +215 -0
  74. package/esm2015/lib/profile/profile.gql.js +98 -0
  75. package/esm2015/lib/profile/profile.service.js +170 -0
  76. package/esm2015/lib/profile/profile.types.js +34 -0
  77. package/esm2015/lib/record/record-attachment.service.js +16 -15
  78. package/esm2015/lib/record/record.gql.js +1 -1
  79. package/esm2015/lib/record/record.service.js +8 -8
  80. package/esm2015/lib/record/record.types.js +1 -1
  81. package/esm2015/lib/record-type/record-type.service.js +1 -1
  82. package/esm2015/lib/record-type/record-type.types.js +1 -1
  83. package/esm2015/lib/register/register.service.js +173 -0
  84. package/esm2015/lib/scenario/scenario.constants.js +1 -1
  85. package/esm2015/lib/scenario/scenario.controller.js +2 -2
  86. package/esm2015/lib/scenario/scenario.gql.js +1 -1
  87. package/esm2015/lib/scenario/scenario.private.gql.js +198 -0
  88. package/esm2015/lib/scenario/scenario.service.js +19 -17
  89. package/esm2015/lib/scenario/scenario.types.js +2 -1
  90. package/esm2015/lib/shared-contact-card/shared-contact-card.service.js +119 -0
  91. package/esm2015/lib/shared-contact-card/shared-contact-card2.gql.js +41 -0
  92. package/esm2015/lib/shared-contact-card/shared-contact-card2.service.js +117 -0
  93. package/esm2015/lib/slip39/slip39.service.js +167 -0
  94. package/esm2015/lib/time/time.service.js +146 -0
  95. package/esm2015/lib/tp-assembly/tp-assembly.js +365 -0
  96. package/esm2015/lib/tp-assembly/tp-assembly.private.gql.js +22 -0
  97. package/esm2015/lib/tp-assembly/tp-assembly.types.js +2 -0
  98. package/esm2015/lib/tp-password-reset/tp-password-reset-request.service.js +100 -0
  99. package/esm2015/lib/tp-password-reset/tp-password-reset-user.service.js +118 -0
  100. package/esm2015/lib/tp-password-reset/tp-password-reset.constants.js +4 -0
  101. package/esm2015/lib/tp-password-reset/tp-password-reset.controller.js +34 -0
  102. package/esm2015/lib/tp-password-reset/tp-password-reset.gql.js +74 -0
  103. package/esm2015/lib/tp-password-reset/tp-password-reset.private.gql.js +165 -0
  104. package/esm2015/lib/tp-password-reset/tp-password-reset.private.service.js +54 -0
  105. package/esm2015/lib/tp-password-reset/tp-password-reset.service.js +92 -0
  106. package/esm2015/lib/tp-password-reset/tp-password-reset.types.js +2 -0
  107. package/esm2015/lib/trusted-party/trusted-party.gql.js +148 -0
  108. package/esm2015/lib/trusted-party/trusted-party.service.js +327 -0
  109. package/esm2015/lib/trusted-party/trusted-party.types.js +41 -0
  110. package/esm2015/lib/trusted-party/trusted-party2.gql.js +64 -0
  111. package/esm2015/lib/trusted-party/trusted-party2.gql.private.js +25 -0
  112. package/esm2015/lib/trusted-party/trusted-party2.service.js +224 -0
  113. package/esm2015/lib/trusted-party/trusted-party2.types.js +2 -0
  114. package/esm2015/lib/two-factor/two-factor.service.js +74 -0
  115. package/esm2015/lib/user/user.gql.js +60 -0
  116. package/esm2015/lib/user/user.service.js +80 -0
  117. package/esm2015/lib/user/user.types.js +2 -0
  118. package/esm2015/lib/web-crypto/web-crypto.service.js +29 -0
  119. package/esm2015/lifeready-core.js +15 -13
  120. package/esm2015/public-api.js +49 -51
  121. package/fesm2015/lifeready-core.js +8764 -8737
  122. package/fesm2015/lifeready-core.js.map +1 -1
  123. package/lib/_common/types.d.ts +3 -1
  124. package/lib/_common/utils.d.ts +2 -2
  125. package/lib/api/lr-apollo.service.d.ts +2 -2
  126. package/lib/api/lr-graphql/lr-graphql.service.d.ts +26 -8
  127. package/lib/api/lr-graphql/lr-merged-mutation.d.ts +22 -4
  128. package/lib/api/lr-graphql/lr-mutation.d.ts +1 -2
  129. package/lib/api/query-processor/common-processors.service.d.ts +1 -1
  130. package/lib/api/query-processor/query-processor.service.d.ts +1 -1
  131. package/lib/api/query-processor/tp-password-reset-processor.service.d.ts +2 -2
  132. package/lib/api/types/lr-graphql.types.d.ts +14 -3
  133. package/lib/auth/auth.gql.d.ts +0 -3
  134. package/lib/auth/auth.types.d.ts +5 -5
  135. package/lib/auth/life-ready-auth.service.d.ts +13 -13
  136. package/lib/category/category.gql.d.ts +1 -1
  137. package/lib/category/category.service.d.ts +3 -3
  138. package/lib/{api → contact-card}/contact-card.service.d.ts +9 -9
  139. package/lib/contact-card/contact-card2.gql.d.ts +25 -0
  140. package/lib/contact-card/contact-card2.service.d.ts +64 -0
  141. package/lib/{cryptography → encryption}/encryption.service.d.ts +10 -9
  142. package/lib/{api/file.service.d.ts → file-upload/file-upload.service.d.ts} +5 -8
  143. package/lib/file-upload/file-upload.types.d.ts +5 -0
  144. package/lib/{auth → idle}/idle.service.d.ts +6 -6
  145. package/lib/{items2 → item2}/item2.gql.d.ts +16 -16
  146. package/lib/{items2 → item2}/item2.service.d.ts +34 -35
  147. package/lib/{cryptography → key}/key-factory.service.d.ts +4 -3
  148. package/lib/{cryptography → key}/key-graph.service.d.ts +6 -6
  149. package/lib/{cryptography → key}/key-meta.service.d.ts +1 -1
  150. package/lib/{cryptography → key}/key.service.d.ts +2 -2
  151. package/lib/{cryptography/cryptography.types.d.ts → key/key.types.d.ts} +13 -17
  152. package/lib/{api → key-exchange}/key-exchange.service.d.ts +5 -5
  153. package/lib/{api → key-exchange}/key-exchange.types.d.ts +4 -4
  154. package/lib/{api → key-exchange}/key-exchange2.gql.d.ts +1 -1
  155. package/lib/{api → key-exchange}/key-exchange2.service.d.ts +82 -29
  156. package/lib/{auth → lbop}/lbop.service.d.ts +7 -7
  157. package/lib/life-ready.config.d.ts +1 -1
  158. package/lib/{api → lock}/lock.gql.d.ts +1 -1
  159. package/lib/{api → lock}/lock.service.d.ts +1 -1
  160. package/lib/message/message.gql.d.ts +13 -0
  161. package/lib/message/message.service.d.ts +36 -0
  162. package/lib/message/message.types.d.ts +12 -0
  163. package/lib/notification/notification.service.d.ts +3 -2
  164. package/lib/password/password.gql.d.ts +3 -0
  165. package/lib/{auth → password}/password.service.d.ts +9 -9
  166. package/lib/{api → persist}/persist.service.d.ts +3 -3
  167. package/lib/plan/plan.service.d.ts +3 -2
  168. package/lib/plan/plan.types.d.ts +2 -1
  169. package/lib/{users → profile}/profile-details.service.d.ts +3 -3
  170. package/lib/{users → profile}/profile.gql.d.ts +2 -2
  171. package/lib/{users → profile}/profile.service.d.ts +6 -6
  172. package/lib/{users → profile}/profile.types.d.ts +3 -2
  173. package/lib/record/record-attachment.service.d.ts +6 -6
  174. package/lib/record/record.service.d.ts +3 -3
  175. package/lib/{auth → register}/register.service.d.ts +4 -4
  176. package/lib/scenario/scenario.controller.d.ts +1 -1
  177. package/lib/scenario/scenario.service.d.ts +105 -5
  178. package/lib/scenario/scenario.types.d.ts +1 -1
  179. package/lib/{api → shared-contact-card}/shared-contact-card.service.d.ts +9 -9
  180. package/lib/{api → shared-contact-card}/shared-contact-card2.gql.d.ts +1 -1
  181. package/lib/{api → shared-contact-card}/shared-contact-card2.service.d.ts +6 -6
  182. package/lib/{cryptography → slip39}/slip39.service.d.ts +0 -1
  183. package/lib/{trusted-parties → tp-assembly}/tp-assembly.d.ts +7 -7
  184. package/lib/{trusted-parties → tp-assembly}/tp-assembly.types.d.ts +3 -3
  185. package/lib/{trusted-parties → tp-password-reset}/tp-password-reset-request.service.d.ts +5 -9
  186. package/lib/{trusted-parties → tp-password-reset}/tp-password-reset-user.service.d.ts +7 -13
  187. package/lib/{trusted-parties → tp-password-reset}/tp-password-reset.controller.d.ts +1 -1
  188. package/lib/tp-password-reset/tp-password-reset.gql.d.ts +63 -0
  189. package/lib/{trusted-parties/tp-password-reset.gql.d.ts → tp-password-reset/tp-password-reset.private.gql.d.ts} +1 -63
  190. package/lib/tp-password-reset/tp-password-reset.private.service.d.ts +59 -0
  191. package/lib/{trusted-parties → tp-password-reset}/tp-password-reset.service.d.ts +6 -89
  192. package/lib/tp-password-reset/tp-password-reset.types.d.ts +40 -0
  193. package/lib/{trusted-parties → trusted-party}/trusted-party.service.d.ts +7 -7
  194. package/lib/{trusted-parties → trusted-party}/trusted-party.types.d.ts +2 -3
  195. package/lib/{trusted-parties → trusted-party}/trusted-party2.gql.d.ts +0 -22
  196. package/lib/trusted-party/trusted-party2.gql.private.d.ts +23 -0
  197. package/lib/{trusted-parties → trusted-party}/trusted-party2.service.d.ts +11 -35
  198. package/lib/trusted-party/trusted-party2.types.d.ts +12 -0
  199. package/lib/{users → user}/user.gql.d.ts +1 -1
  200. package/lib/{users → user}/user.service.d.ts +1 -1
  201. package/lib/{users → user}/user.types.d.ts +1 -1
  202. package/lifeready-core.d.ts +14 -12
  203. package/lifeready-core.metadata.json +1 -1
  204. package/package.json +2 -2
  205. package/public-api.d.ts +48 -50
  206. package/esm2015/lib/api/contact-card.gql.js +0 -79
  207. package/esm2015/lib/api/contact-card.service.js +0 -154
  208. package/esm2015/lib/api/contact-card2.gql.js +0 -60
  209. package/esm2015/lib/api/contact-card2.service.js +0 -103
  210. package/esm2015/lib/api/file.service.js +0 -74
  211. package/esm2015/lib/api/key-exchange.gql.js +0 -188
  212. package/esm2015/lib/api/key-exchange.service.js +0 -442
  213. package/esm2015/lib/api/key-exchange.types.js +0 -7
  214. package/esm2015/lib/api/key-exchange2.gql.js +0 -171
  215. package/esm2015/lib/api/key-exchange2.service.js +0 -480
  216. package/esm2015/lib/api/lock.gql.js +0 -40
  217. package/esm2015/lib/api/lock.service.js +0 -64
  218. package/esm2015/lib/api/message.service.js +0 -138
  219. package/esm2015/lib/api/persist.service.js +0 -181
  220. package/esm2015/lib/api/shared-contact-card.service.js +0 -119
  221. package/esm2015/lib/api/shared-contact-card2.gql.js +0 -41
  222. package/esm2015/lib/api/shared-contact-card2.service.js +0 -117
  223. package/esm2015/lib/api/time.service.js +0 -146
  224. package/esm2015/lib/auth/idle.service.js +0 -168
  225. package/esm2015/lib/auth/idle.types.js +0 -7
  226. package/esm2015/lib/auth/lbop.service.js +0 -355
  227. package/esm2015/lib/auth/password.service.js +0 -315
  228. package/esm2015/lib/auth/register.service.js +0 -172
  229. package/esm2015/lib/auth/two-factor.service.js +0 -74
  230. package/esm2015/lib/cryptography/cryptography.types.js +0 -11
  231. package/esm2015/lib/cryptography/encryption.service.js +0 -189
  232. package/esm2015/lib/cryptography/key-factory.service.js +0 -237
  233. package/esm2015/lib/cryptography/key-graph.service.js +0 -299
  234. package/esm2015/lib/cryptography/key-meta.service.js +0 -200
  235. package/esm2015/lib/cryptography/slip39.service.js +0 -169
  236. package/esm2015/lib/cryptography/web-crypto.service.js +0 -29
  237. package/esm2015/lib/items2/item2.gql.js +0 -127
  238. package/esm2015/lib/items2/item2.gql.private.js +0 -23
  239. package/esm2015/lib/items2/item2.service.js +0 -516
  240. package/esm2015/lib/items2/item2.types.js +0 -1
  241. package/esm2015/lib/scenario/scenario.gql.private.js +0 -198
  242. package/esm2015/lib/trusted-parties/tp-assembly.gql.private.js +0 -22
  243. package/esm2015/lib/trusted-parties/tp-assembly.js +0 -365
  244. package/esm2015/lib/trusted-parties/tp-assembly.types.js +0 -1
  245. package/esm2015/lib/trusted-parties/tp-password-reset-request.service.js +0 -113
  246. package/esm2015/lib/trusted-parties/tp-password-reset-user.service.js +0 -129
  247. package/esm2015/lib/trusted-parties/tp-password-reset.constants.js +0 -4
  248. package/esm2015/lib/trusted-parties/tp-password-reset.controller.js +0 -34
  249. package/esm2015/lib/trusted-parties/tp-password-reset.gql.js +0 -237
  250. package/esm2015/lib/trusted-parties/tp-password-reset.service.js +0 -95
  251. package/esm2015/lib/trusted-parties/trusted-party.gql.js +0 -148
  252. package/esm2015/lib/trusted-parties/trusted-party.service.js +0 -326
  253. package/esm2015/lib/trusted-parties/trusted-party.types.js +0 -41
  254. package/esm2015/lib/trusted-parties/trusted-party2.gql.js +0 -87
  255. package/esm2015/lib/trusted-parties/trusted-party2.service.js +0 -218
  256. package/esm2015/lib/users/profile-details.service.js +0 -214
  257. package/esm2015/lib/users/profile.gql.js +0 -97
  258. package/esm2015/lib/users/profile.service.js +0 -169
  259. package/esm2015/lib/users/profile.types.js +0 -34
  260. package/esm2015/lib/users/user.gql.js +0 -60
  261. package/esm2015/lib/users/user.service.js +0 -79
  262. package/esm2015/lib/users/user.types.js +0 -1
  263. package/lib/api/contact-card2.gql.d.ts +0 -34
  264. package/lib/api/contact-card2.service.d.ts +0 -50
  265. package/lib/api/message.service.d.ts +0 -59
  266. /package/lib/{api → contact-card}/contact-card.gql.d.ts +0 -0
  267. /package/lib/{auth → idle}/idle.types.d.ts +0 -0
  268. /package/lib/{items2 → item2}/item2.gql.private.d.ts +0 -0
  269. /package/lib/{items2 → item2}/item2.types.d.ts +0 -0
  270. /package/lib/{api → key-exchange}/key-exchange.gql.d.ts +0 -0
  271. /package/lib/scenario/{scenario.gql.private.d.ts → scenario.private.gql.d.ts} +0 -0
  272. /package/lib/{api → time}/time.service.d.ts +0 -0
  273. /package/lib/{trusted-parties/tp-assembly.gql.private.d.ts → tp-assembly/tp-assembly.private.gql.d.ts} +0 -0
  274. /package/lib/{trusted-parties → tp-password-reset}/tp-password-reset.constants.d.ts +0 -0
  275. /package/lib/{trusted-parties → trusted-party}/trusted-party.gql.d.ts +0 -0
  276. /package/lib/{auth → two-factor}/two-factor.service.d.ts +0 -0
  277. /package/lib/{cryptography → web-crypto}/web-crypto.service.d.ts +0 -0
@@ -0,0 +1,12 @@
1
+ import { JWK } from 'node-jose';
2
+ import { JSONObject } from '../api/types';
3
+ export interface SendMessageInput {
4
+ username?: string;
5
+ userId?: string;
6
+ plainMessageJson?: JSONObject;
7
+ plainCipherMessageJson?: JSONObject;
8
+ }
9
+ export interface DecryptMessageOptions {
10
+ sharedKey: JWK.Key;
11
+ senderSigPbk: JWK.Key;
12
+ }
@@ -1,5 +1,6 @@
1
1
  import { Injector, NgZone } from '@angular/core';
2
2
  import { LrMutation, LrService } from '../api/lr-graphql';
3
+ import { JSONObject } from '../api/types';
3
4
  export interface UpdateNotificationOptions {
4
5
  notificationId: string;
5
6
  hasBeenRead: boolean;
@@ -9,8 +10,8 @@ export interface UpdateAllNotificationsReadStateOptions {
9
10
  }
10
11
  export interface DebugCreateNotificationOptions {
11
12
  receiverId: string;
12
- plainData?: object;
13
- plainMeta?: object;
13
+ plainData?: Record<string, JSONObject>;
14
+ plainMeta?: Record<string, JSONObject>;
14
15
  hasBeenRead?: boolean;
15
16
  timeRead?: Date;
16
17
  }
@@ -0,0 +1,3 @@
1
+ export declare const PasswordChangeRequestMutation: import("graphql").DocumentNode;
2
+ export declare const PasswordChangeMutation: import("graphql").DocumentNode;
3
+ export declare const PasswordChangeConfigQuery: import("graphql").DocumentNode;
@@ -1,16 +1,16 @@
1
1
  import { HttpClient } from '@angular/common/http';
2
2
  import { AuthClass } from '@aws-amplify/auth/lib-esm/Auth';
3
+ import { Duration } from 'moment';
3
4
  import { JWK } from 'node-jose';
4
- import { ProfileService } from '../users/profile.service';
5
- import { EncryptionService } from '../cryptography/encryption.service';
6
- import { KeyGraphService } from '../cryptography/key-graph.service';
5
+ import { PassKeyBundle } from '../auth/auth.types';
6
+ import { EncryptionService } from '../encryption/encryption.service';
7
+ import { IdleService } from '../idle/idle.service';
8
+ import { KeyFactoryService as KFS } from '../key/key-factory.service';
9
+ import { KeyGraphService } from '../key/key-graph.service';
7
10
  import { LifeReadyConfig } from '../life-ready.config';
11
+ import { ProfileService } from '../profile/profile.service';
12
+ import { WebCryptoService } from '../web-crypto/web-crypto.service';
8
13
  import { LrApolloService } from './../api/lr-apollo.service';
9
- import { PassKeyBundle } from './auth.types';
10
- import { WebCryptoService } from '../cryptography/web-crypto.service';
11
- import { Duration } from 'moment';
12
- import { IdleService } from '../auth/idle.service';
13
- import { KeyFactoryService as KFS } from '../cryptography/key-factory.service';
14
14
  export interface PasswordChangeConfig {
15
15
  maxAuthAgeSeconds: number;
16
16
  authTime: string | Date;
@@ -66,7 +66,7 @@ export declare class PasswordService {
66
66
  */
67
67
  isLoginRequired(): Promise<boolean>;
68
68
  changePassword(password: string, newPassword: string): Promise<void>;
69
- changePasswordComplete(accessToken: string, useNewPassword: boolean, token?: string): Promise<any>;
69
+ changePasswordComplete(accessToken: string, useNewPassword: boolean, token?: string): Promise<Object>;
70
70
  private getVerifierPrK;
71
71
  private verifyPassword;
72
72
  private changePasswordMutation;
@@ -1,8 +1,8 @@
1
- import { JWK } from 'node-jose';
2
1
  import { Injector } from '@angular/core';
3
2
  import { CookieService } from 'ngx-cookie-service';
4
- import { EncryptionService } from '../cryptography/encryption.service';
5
- import { KeyFactoryService as KFS } from '../cryptography/key-factory.service';
3
+ import { JWK } from 'node-jose';
4
+ import { EncryptionService } from '../encryption/encryption.service';
5
+ import { KeyFactoryService as KFS } from '../key/key-factory.service';
6
6
  export declare class PersistService {
7
7
  private keyFactory;
8
8
  private cookieService;
@@ -1,5 +1,6 @@
1
1
  import { LrApolloService } from '../api/lr-apollo.service';
2
- import { StripeCheckoutSession, StripeBillingPortalSession, UserIssuablePlan, UserIssuedPlan, UserPlan } from './plan.types';
2
+ import { JSONObject } from '../api/types';
3
+ import { StripeBillingPortalSession, StripeCheckoutSession, UserIssuablePlan, UserIssuedPlan, UserPlan } from './plan.types';
3
4
  export declare function mapUserPlans(userPlans: any[]): UserPlan[];
4
5
  export declare class PlanService {
5
6
  private lrApollo;
@@ -28,6 +29,6 @@ export declare class PlanService {
28
29
  getPlanType(subscriptionId: string): Promise<string>;
29
30
  getStripe(): Promise<{
30
31
  id: string;
31
- customer: object;
32
+ customer: Record<string, JSONObject>;
32
33
  }>;
33
34
  }
@@ -1,6 +1,7 @@
1
+ import { JSONObject } from '../api/types';
1
2
  export declare class Plan {
2
3
  name: string;
3
- data: object;
4
+ data: Record<string, JSONObject>;
4
5
  state: string;
5
6
  }
6
7
  export declare class Subscription {
@@ -1,8 +1,8 @@
1
- import { SharedContactCardService } from '../api/shared-contact-card.service';
2
1
  import { CurrentUser } from '../auth/auth.types';
3
2
  import { LifeReadyAuthService } from '../auth/life-ready-auth.service';
4
- import { TrustedPartyService } from '../trusted-parties/trusted-party.service';
5
- import { SharedTrustedPartyDetails } from '../trusted-parties/trusted-party.types';
3
+ import { SharedContactCardService } from '../shared-contact-card/shared-contact-card.service';
4
+ import { TrustedPartyService } from '../trusted-party/trusted-party.service';
5
+ import { SharedTrustedPartyDetails } from '../trusted-party/trusted-party.types';
6
6
  import { ProfileService } from './profile.service';
7
7
  import { MainContactCardFields, TrustedPartyDetails } from './profile.types';
8
8
  export declare class ProfileDetailsService {
@@ -1,6 +1,6 @@
1
+ import { HasKeyGraph } from '../key/key.types';
1
2
  import { HasEdges } from './../_common/types';
2
- import { HasKeyGraph } from './../cryptography/cryptography.types';
3
- import { ApiCurrentUser, ApiContactCard } from './profile.types';
3
+ import { ApiContactCard, ApiCurrentUser } from './profile.types';
4
4
  export interface CurrentUserQueryType extends HasKeyGraph {
5
5
  currentUser: ApiCurrentUser;
6
6
  contactCards: HasEdges<ApiContactCard>;
@@ -1,13 +1,13 @@
1
1
  import { HttpClient } from '@angular/common/http';
2
2
  import { LrApolloService } from '../api/lr-apollo.service';
3
+ import { ContactCard } from '../contact-card/contact-card.service';
4
+ import { EncryptionService } from '../encryption/encryption.service';
5
+ import { KeyGraphService } from '../key/key-graph.service';
6
+ import { KeyMetaService } from '../key/key-meta.service';
7
+ import { KeyService } from '../key/key.service';
3
8
  import { LifeReadyConfig } from '../life-ready.config';
4
- import { ApiCurrentUser, PassIdpApiResult, MainContactCard, ApiContactCard, MainContactCardFields } from './profile.types';
5
- import { KeyMetaService } from '../cryptography/key-meta.service';
6
- import { KeyService } from '../cryptography/key.service';
7
- import { EncryptionService } from '../cryptography/encryption.service';
8
- import { ContactCard } from '../api/contact-card.service';
9
9
  import { UserPlan } from '../plan/plan.types';
10
- import { KeyGraphService } from '../cryptography/key-graph.service';
10
+ import { ApiContactCard, ApiCurrentUser, MainContactCard, MainContactCardFields, PassIdpApiResult } from './profile.types';
11
11
  export declare class ProfileService {
12
12
  private config;
13
13
  private http;
@@ -1,5 +1,6 @@
1
1
  import { UserDeleteNode } from '../api/types';
2
- import { PassIdpParams, PassKey } from '../cryptography/cryptography.types';
2
+ import { Features } from '../auth/auth.types';
3
+ import { PassIdpParams, PassKey } from '../key/key.types';
3
4
  export declare class CurrentUserKey {
4
5
  passKey?: PassKey;
5
6
  masterKey?: {
@@ -20,7 +21,7 @@ export declare class ApiCurrentUser {
20
21
  username: string;
21
22
  currentUserKey: CurrentUserKey;
22
23
  userDelete: UserDeleteNode;
23
- features: any;
24
+ features: Features;
24
25
  sessionEncryptionKey: string;
25
26
  }
26
27
  export declare class ApiContactCard {
@@ -1,14 +1,14 @@
1
- import { NewOrUpdatedAttachment } from './record.types';
2
1
  import { LrApolloService } from '../api/lr-apollo.service';
3
- import { KeyMetaService } from '../cryptography/key-meta.service';
4
- import { FileService } from '../api/file.service';
5
- import { KeyGraphService } from '../cryptography/key-graph.service';
2
+ import { FileUploadService } from '../file-upload/file-upload.service';
3
+ import { KeyGraphService } from '../key/key-graph.service';
4
+ import { KeyMetaService } from '../key/key-meta.service';
5
+ import { NewOrUpdatedAttachment } from './record.types';
6
6
  export declare class RecordAttachmentService {
7
- private fileService;
7
+ private fileUploadService;
8
8
  private lrApollo;
9
9
  private keyMetaService;
10
10
  private keyGraph;
11
- constructor(fileService: FileService, lrApollo: LrApolloService, keyMetaService: KeyMetaService, keyGraph: KeyGraphService);
11
+ constructor(fileUploadService: FileUploadService, lrApollo: LrApolloService, keyMetaService: KeyMetaService, keyGraph: KeyGraphService);
12
12
  downloadAttachment(fileStateNodeId: string, keyId: string): Promise<any>;
13
13
  uploadAttachments(recordId: string, attachments: NewOrUpdatedAttachment[]): Promise<string[]>;
14
14
  private addAttachment;
@@ -1,8 +1,8 @@
1
- import { RecordAttachmentService } from './record-attachment.service';
2
1
  import { LrApolloService } from '../api/lr-apollo.service';
3
- import { KeyMetaService } from '../cryptography/key-meta.service';
4
- import { LrRecord, NewRecord, UpdatedRecord } from './record.types';
5
2
  import { CategoryService } from '../category/category.service';
3
+ import { KeyMetaService } from '../key/key-meta.service';
4
+ import { RecordAttachmentService } from './record-attachment.service';
5
+ import { LrRecord, NewRecord, UpdatedRecord } from './record.types';
6
6
  export declare class RecordService {
7
7
  private lrApollo;
8
8
  private keyMetaService;
@@ -1,10 +1,10 @@
1
1
  import { HttpClient } from '@angular/common/http';
2
2
  import { AuthClass } from '@aws-amplify/auth/lib-esm/Auth';
3
- import { EncryptionService } from '../cryptography/encryption.service';
4
- import { KeyFactoryService } from '../cryptography/key-factory.service';
3
+ import { RegisterResult } from '../auth/auth.types';
4
+ import { EncryptionService } from '../encryption/encryption.service';
5
+ import { KeyFactoryService } from '../key/key-factory.service';
5
6
  import { LifeReadyConfig } from '../life-ready.config';
6
- import { PasswordService } from './password.service';
7
- import { RegisterResult } from './auth.types';
7
+ import { PasswordService } from '../password/password.service';
8
8
  export declare class RegisterService {
9
9
  private config;
10
10
  private auth;
@@ -1,6 +1,6 @@
1
1
  import { Injector, NgZone } from '@angular/core';
2
2
  import { TpNode } from '../api/types';
3
- import { TpAssemblyController } from '../trusted-parties/tp-assembly';
3
+ import { TpAssemblyController } from '../tp-assembly/tp-assembly';
4
4
  export declare class ScenarioAssemblyController extends TpAssemblyController {
5
5
  private ngZone;
6
6
  private injector;
@@ -1,10 +1,10 @@
1
1
  import { Injector, NgZone } from '@angular/core';
2
2
  import { LrMergedMutation, LrMutation, LrService } from '../api/lr-graphql';
3
- import { KeyGraphService } from '../cryptography/key-graph.service';
4
- import { Item2Service } from '../items2/item2.service';
3
+ import { EncryptionService } from '../encryption/encryption.service';
4
+ import { Item2Service } from '../item2/item2.service';
5
+ import { KeyGraphService } from '../key/key-graph.service';
5
6
  import { ScenarioAssemblyController } from './scenario.controller';
6
7
  import { CreateScenarioOptions, ResetScenarioOptions, UpdateScenarioOptions } from './scenario.types';
7
- import { EncryptionService } from '../cryptography/encryption.service';
8
8
  export declare function throwClaimIdMismatch(): void;
9
9
  export declare function throwClaimNotApproved(): void;
10
10
  export declare class ScenarioService extends LrService {
@@ -73,7 +73,57 @@ export declare class ScenarioService extends LrService {
73
73
  input: {
74
74
  scenarioId: string;
75
75
  enabled: boolean;
76
- updateAssembly: any;
76
+ updateAssembly: {
77
+ singleReject: boolean;
78
+ quorum: number;
79
+ subjectCipherData: string;
80
+ subjectKeyId: string;
81
+ createSubAssemblies: {
82
+ singleReject: boolean;
83
+ quorum: number;
84
+ subjectCipherData: string;
85
+ createApprovers: {
86
+ tpWrappingKeyId: string;
87
+ tpWrappedSharedKey: string;
88
+ subjectKeyWrappedSharedKey: string;
89
+ sharedCipherData: string;
90
+ sharedCipherApprovalData: string;
91
+ sharedCipherPartialAssemblyKey: string;
92
+ approverId: string;
93
+ tpId: string;
94
+ }[];
95
+ }[];
96
+ updateSubAssemblies: {
97
+ subAssemblyId: string;
98
+ singleReject: boolean;
99
+ quorum: number;
100
+ subjectCipherData: string;
101
+ createApprovers: {
102
+ tpWrappingKeyId: string;
103
+ tpWrappedSharedKey: string;
104
+ subjectKeyWrappedSharedKey: string;
105
+ sharedCipherData: string;
106
+ sharedCipherApprovalData: string;
107
+ sharedCipherPartialAssemblyKey: string;
108
+ approverId: string;
109
+ tpId: string;
110
+ }[];
111
+ updateApprovers: {
112
+ tpWrappingKeyId: string;
113
+ tpWrappedSharedKey: string;
114
+ subjectKeyWrappedSharedKey: string;
115
+ sharedCipherData: string;
116
+ sharedCipherApprovalData: string;
117
+ sharedCipherPartialAssemblyKey: string;
118
+ approverId: string;
119
+ tpId: string;
120
+ }[];
121
+ }[];
122
+ subjectKeyWrappedAssemblyKey: string;
123
+ assemblyCipherData: string;
124
+ assemblyKeyVerifierPbk: string;
125
+ wrappedAssemblyKeyVerifierPrk: string;
126
+ };
77
127
  createReceivers: {
78
128
  addDirectories: {
79
129
  directoryId: string;
@@ -124,7 +174,57 @@ export declare class ScenarioService extends LrService {
124
174
  input: {
125
175
  scenarioId: string;
126
176
  enabled: boolean;
127
- updateAssembly: any;
177
+ updateAssembly: {
178
+ singleReject: boolean;
179
+ quorum: number;
180
+ subjectCipherData: string;
181
+ subjectKeyId: string;
182
+ createSubAssemblies: {
183
+ singleReject: boolean;
184
+ quorum: number;
185
+ subjectCipherData: string;
186
+ createApprovers: {
187
+ tpWrappingKeyId: string;
188
+ tpWrappedSharedKey: string;
189
+ subjectKeyWrappedSharedKey: string;
190
+ sharedCipherData: string;
191
+ sharedCipherApprovalData: string;
192
+ sharedCipherPartialAssemblyKey: string;
193
+ approverId: string;
194
+ tpId: string;
195
+ }[];
196
+ }[];
197
+ updateSubAssemblies: {
198
+ subAssemblyId: string;
199
+ singleReject: boolean;
200
+ quorum: number;
201
+ subjectCipherData: string;
202
+ createApprovers: {
203
+ tpWrappingKeyId: string;
204
+ tpWrappedSharedKey: string;
205
+ subjectKeyWrappedSharedKey: string;
206
+ sharedCipherData: string;
207
+ sharedCipherApprovalData: string;
208
+ sharedCipherPartialAssemblyKey: string;
209
+ approverId: string;
210
+ tpId: string;
211
+ }[];
212
+ updateApprovers: {
213
+ tpWrappingKeyId: string;
214
+ tpWrappedSharedKey: string;
215
+ subjectKeyWrappedSharedKey: string;
216
+ sharedCipherData: string;
217
+ sharedCipherApprovalData: string;
218
+ sharedCipherPartialAssemblyKey: string;
219
+ approverId: string;
220
+ tpId: string;
221
+ }[];
222
+ }[];
223
+ subjectKeyWrappedAssemblyKey: string;
224
+ assemblyCipherData: string;
225
+ assemblyKeyVerifierPbk: string;
226
+ wrappedAssemblyKeyVerifierPrk: string;
227
+ };
128
228
  createReceivers: {
129
229
  addDirectories: {
130
230
  directoryId: string;
@@ -1,5 +1,5 @@
1
1
  import { AccessRoleChoice, JSONObject } from '../api/types';
2
- import { CreateTpAssemblyInput, UpdateTpAssemblyInput } from '../trusted-parties/tp-assembly.types';
2
+ import { CreateTpAssemblyInput, UpdateTpAssemblyInput } from '../tp-assembly/tp-assembly.types';
3
3
  export interface ParticipantOptions {
4
4
  tpId: string;
5
5
  sharedCipherDataClearJson: JSONObject;
@@ -1,12 +1,12 @@
1
- import { Key } from '../cryptography/cryptography.types';
2
- import { EncryptionService } from '../cryptography/encryption.service';
3
- import { KeyGraphService } from '../cryptography/key-graph.service';
4
- import { KeyService } from '../cryptography/key.service';
5
- import { SharedTrustedPartyDetails } from '../trusted-parties/trusted-party.types';
6
- import { TrustedPartyDetails } from '../users/profile.types';
7
- import { User } from '../users/user.types';
8
- import { LrApolloService } from './lr-apollo.service';
9
- import { JSONObject } from './types';
1
+ import { EncryptionService } from '../encryption/encryption.service';
2
+ import { KeyGraphService } from '../key/key-graph.service';
3
+ import { KeyService } from '../key/key.service';
4
+ import { Key } from '../key/key.types';
5
+ import { TrustedPartyDetails } from '../profile/profile.types';
6
+ import { SharedTrustedPartyDetails } from '../trusted-party/trusted-party.types';
7
+ import { User } from '../user/user.types';
8
+ import { LrApolloService } from '../api/lr-apollo.service';
9
+ import { JSONObject } from '../api/types';
10
10
  export declare const SharedContactCardFields = "\n id\n owner {\n id\n username\n }\n ownerKey {\n id\n }\n ownerCipherData\n receiver {\n id\n username\n }\n receiverKey {\n id\n }\n receiverCipherData\n sharedKey {\n id\n }\n sharedCipherData\n sharedCipherDataSig\n sharedCipherDataSigPxk {\n id\n }\n";
11
11
  export interface SharedContactCard {
12
12
  id: string;
@@ -1,4 +1,4 @@
1
- import { ID } from './types';
1
+ import { ID } from '../api/types';
2
2
  export interface UpdateOwnedContactCardMutation {
3
3
  updateOwnedContactCard: {
4
4
  ownedContactCard: {
@@ -1,11 +1,11 @@
1
1
  import { NgZone } from '@angular/core';
2
- import { EncryptionService } from '../cryptography/encryption.service';
3
- import { KeyGraphService } from '../cryptography/key-graph.service';
4
- import { KeyService } from '../cryptography/key.service';
5
- import { ContactCardReceiverCipherData, SendContactCardInput } from './key-exchange2.service';
6
- import { LrGraphQLService, LrMutation } from './lr-graphql';
2
+ import { LrGraphQLService, LrMutation } from '../api/lr-graphql';
3
+ import { LrRelayIdInput } from '../api/types';
4
+ import { EncryptionService } from '../encryption/encryption.service';
5
+ import { ContactCardReceiverCipherData, SendContactCardInput } from '../key-exchange/key-exchange2.service';
6
+ import { KeyGraphService } from '../key/key-graph.service';
7
+ import { KeyService } from '../key/key.service';
7
8
  import { UpdateOwnedContactCardMutation, UpdateReceivedContactCardMutation } from './shared-contact-card2.gql';
8
- import { LrRelayIdInput } from './types';
9
9
  export interface UpdateOwnedContactCardInput extends SendContactCardInput {
10
10
  id: LrRelayIdInput;
11
11
  ownerKeyId?: LrRelayIdInput;
@@ -36,7 +36,6 @@ export declare class Quorum {
36
36
  serialiseShares(): any[];
37
37
  }
38
38
  export declare class Slip39Service {
39
- constructor();
40
39
  generateShares(secret: any, passphrase: string, assembly: Assembly): Promise<void>;
41
40
  private minimalSet;
42
41
  recoverSecret(shares: string[], passphrase: string): Promise<string>;
@@ -1,14 +1,14 @@
1
1
  import { Injector } from '@angular/core';
2
2
  import { JWK } from 'node-jose';
3
+ import { LrGraphQLService } from '../api/lr-graphql';
3
4
  import { Connection, TpAssemblyNode, TpNode, TpSubAssemblyNode } from '../api/types';
4
- import { EncryptionService } from '../cryptography/encryption.service';
5
- import { KeyFactoryService } from '../cryptography/key-factory.service';
6
- import { KeyGraphService } from '../cryptography/key-graph.service';
7
- import * as slip from '../cryptography/slip39.service';
8
- import { Key } from '../cryptography/cryptography.types';
9
- import { KeyService } from '../cryptography/key.service';
5
+ import { EncryptionService } from '../encryption/encryption.service';
6
+ import { KeyFactoryService } from '../key/key-factory.service';
7
+ import { KeyGraphService } from '../key/key-graph.service';
8
+ import { KeyService } from '../key/key.service';
9
+ import { Key } from '../key/key.types';
10
+ import * as slip from '../slip39/slip39.service';
10
11
  import { CreateTpAssemblyInput, CreateTpSubAssemblyInput, PartialAssemblyKey, TpAssemblyApproverInput, UpdateTpAssemblyInput, UpdateTpSubAssemblyInput } from './tp-assembly.types';
11
- import { LrGraphQLService } from '../api/lr-graphql';
12
12
  export declare abstract class TpAssemblyController {
13
13
  abstract slip39Passphrase: string;
14
14
  protected keyFactory: KeyFactoryService;
@@ -1,5 +1,5 @@
1
- import { JSONObject } from '../api/types';
2
- import * as slip from '../cryptography/slip39.service';
1
+ import { JSONObject, JSONString } from '../api/types';
2
+ import * as slip from '../slip39/slip39.service';
3
3
  export interface PartialAssemblyKey {
4
4
  slip39: {
5
5
  share: slip.SecretShare;
@@ -8,7 +8,7 @@ export interface PartialAssemblyKey {
8
8
  size: number;
9
9
  };
10
10
  };
11
- assemblyKeyParams: object;
11
+ assemblyKeyParams: Record<string, JSONString>;
12
12
  }
13
13
  export interface CreateTpSubAssemblyInput {
14
14
  quorum: number;
@@ -1,20 +1,16 @@
1
1
  import { Injector, NgZone } from '@angular/core';
2
2
  import { LrMergedMutation, LrService } from '../api/lr-graphql';
3
- import { EncryptionService } from '../cryptography/encryption.service';
3
+ import { EncryptionService } from '../encryption/encryption.service';
4
+ import { TpPasswordResetPrivateService } from './tp-password-reset.private.service';
4
5
  export declare class TpPasswordResetRequestService extends LrService {
5
6
  private ngZone;
6
7
  private injector;
7
8
  private encryptionService;
8
- constructor(ngZone: NgZone, injector: Injector, encryptionService: EncryptionService);
9
- getSharedResets(): Promise<{
10
- edges: {
11
- node: import("./tp-password-reset.gql").SharedTpPasswordResetFragmentResult;
12
- }[];
13
- }>;
14
- getSharedReset(id: any): Promise<import("./tp-password-reset.gql").SharedTpPasswordResetFragmentResult>;
9
+ private privateService;
10
+ constructor(ngZone: NgZone, injector: Injector, encryptionService: EncryptionService, privateService: TpPasswordResetPrivateService);
15
11
  private activeRequestOrRaise;
16
12
  rejectRequest(sharedResetId: string): Promise<any>;
17
13
  rejectRequestMutation(sharedResetId: string): Promise<LrMergedMutation<import("./tp-password-reset.gql").RejectTpPasswordResetRequestMutationResult[]>>;
18
14
  approveRequest(sharedResetId: string, pbkFingerPrint?: string): Promise<import("./tp-password-reset.gql").ApproveTpPasswordResetRequestMutationResult[]>;
19
- approveRequestMutation(sharedResetId: string, pbkFingerPrint?: string): Promise<LrMergedMutation<import("./tp-password-reset.gql").ApproveTpPasswordResetRequestMutationResult[]>>;
15
+ approveRequestMutation(sharedResetId: string, _pbkFingerPrint?: string): Promise<LrMergedMutation<import("./tp-password-reset.gql").ApproveTpPasswordResetRequestMutationResult[]>>;
20
16
  }
@@ -1,29 +1,23 @@
1
- import { Injector, NgZone } from '@angular/core';
2
- import { EncryptionService } from '../cryptography/encryption.service';
3
- import { KeyGraphService } from '../cryptography/key-graph.service';
4
- import { LifeReadyConfig } from '../life-ready.config';
5
- import * as slip from '../cryptography/slip39.service';
6
- import { PasswordService } from '../auth/password.service';
7
1
  import { HttpClient } from '@angular/common/http';
2
+ import { Injector, NgZone } from '@angular/core';
8
3
  import { AuthClass } from '@aws-amplify/auth/lib-esm/Auth';
9
- import { RequestResetResult } from './tp-password-reset.service';
10
4
  import { ISignUpResult } from 'amazon-cognito-identity-js';
11
- import { LifeReadyAuthService } from '../auth/life-ready-auth.service';
12
- import { KeyFactoryService } from '../cryptography/key-factory.service';
13
5
  import { LrService } from '../api/lr-graphql';
6
+ import { EncryptionService } from '../encryption/encryption.service';
7
+ import { KeyFactoryService } from '../key/key-factory.service';
8
+ import { LifeReadyConfig } from '../life-ready.config';
9
+ import { PasswordService } from '../password/password.service';
10
+ import { RequestResetResult } from './tp-password-reset.types';
14
11
  export declare class TpPasswordResetUserService extends LrService {
15
12
  private ngZone;
16
13
  private injector;
17
14
  private config;
18
15
  private keyFactory;
19
16
  private encryptionService;
20
- private keyGraphService;
21
- private slip39Service;
22
17
  private passwordService;
23
18
  private http;
24
19
  private auth;
25
- private lrAuth;
26
- constructor(ngZone: NgZone, injector: Injector, config: LifeReadyConfig, keyFactory: KeyFactoryService, encryptionService: EncryptionService, keyGraphService: KeyGraphService, slip39Service: slip.Slip39Service, passwordService: PasswordService, http: HttpClient, auth: AuthClass, lrAuth: LifeReadyAuthService);
20
+ constructor(ngZone: NgZone, injector: Injector, config: LifeReadyConfig, keyFactory: KeyFactoryService, encryptionService: EncryptionService, passwordService: PasswordService, http: HttpClient, auth: AuthClass);
27
21
  verifyEmailContact(email: any): Promise<{
28
22
  claimId: string;
29
23
  }>;
@@ -1,6 +1,6 @@
1
1
  import { Injector, NgZone } from '@angular/core';
2
2
  import { TpNode } from '../api/types';
3
- import { TpAssemblyController } from './tp-assembly';
3
+ import { TpAssemblyController } from '../tp-assembly/tp-assembly';
4
4
  export declare class TpPasswordResetAssemblyController extends TpAssemblyController {
5
5
  private ngZone;
6
6
  private injector;
@@ -0,0 +1,63 @@
1
+ import { ID, JSONObject } from '../api/types';
2
+ export interface CancelTpPasswordResetRequestMutationResult {
3
+ cancelTpPasswordResetRequest: {
4
+ id: ID;
5
+ };
6
+ }
7
+ export declare const CancelTpPasswordResetRequestMutation: import("../_common/ast").TypedDocumentNode<CancelTpPasswordResetRequestMutationResult>;
8
+ export interface CreateTpAssemblyKeyChallengeMutationResult {
9
+ createTpAssemblyKeyChallenge: {
10
+ challenge: JSONObject;
11
+ };
12
+ }
13
+ export declare const CreateTpAssemblyKeyChallengeMutation: import("../_common/ast").TypedDocumentNode<CreateTpAssemblyKeyChallengeMutationResult>;
14
+ export interface PreCompleteTpPasswordResetRequestMutationResult {
15
+ preCompleteTpPasswordResetRequest: {
16
+ idpPassword: string;
17
+ };
18
+ }
19
+ export declare const PreCompleteTpPasswordResetRequestMutation: import("../_common/ast").TypedDocumentNode<PreCompleteTpPasswordResetRequestMutationResult>;
20
+ export interface CompleteTpPasswordResetRequestMutationResult {
21
+ completeTpPasswordResetRequest: {
22
+ id: ID;
23
+ };
24
+ }
25
+ export declare const CompleteTpPasswordResetRequestMutation: import("../_common/ast").TypedDocumentNode<CompleteTpPasswordResetRequestMutationResult>;
26
+ export interface ApproveTpPasswordResetRequestMutationResult {
27
+ approveTpPasswordResetRequest: {
28
+ claimApprover: {
29
+ id: ID;
30
+ };
31
+ };
32
+ }
33
+ export declare const ApproveTpPasswordResetRequestMutation: import("../_common/ast").TypedDocumentNode<ApproveTpPasswordResetRequestMutationResult>;
34
+ export interface RejectTpPasswordResetRequestMutationResult {
35
+ rejectTpPasswordResetRequest: {
36
+ claimApprover: {
37
+ id: ID;
38
+ };
39
+ };
40
+ }
41
+ export declare const RejectTpPasswordResetRequestMutation: import("../_common/ast").TypedDocumentNode<RejectTpPasswordResetRequestMutationResult>;
42
+ export interface CreateTpPasswordResetMutationResult {
43
+ createTpPasswordReset: {
44
+ tpPasswordReset: {
45
+ id: ID;
46
+ };
47
+ };
48
+ }
49
+ export declare const CreateTpPasswordResetMutation: import("../_common/ast").TypedDocumentNode<CreateTpPasswordResetMutationResult>;
50
+ export interface DeleteTpPasswordResetMutationResult {
51
+ deleteTpPasswordReset: {
52
+ id: ID;
53
+ };
54
+ }
55
+ export declare const DeleteTpPasswordResetMutation: import("../_common/ast").TypedDocumentNode<DeleteTpPasswordResetMutationResult>;
56
+ export interface UpdateTpPasswordResetMutationResult {
57
+ updateTpPasswordReset: {
58
+ tpPasswordReset: {
59
+ id: ID;
60
+ };
61
+ };
62
+ }
63
+ export declare const UpdateTpPasswordResetMutation: import("../_common/ast").TypedDocumentNode<UpdateTpPasswordResetMutationResult>;