@lifeready/core 1.0.22 → 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 (169) hide show
  1. package/bundles/lifeready-core.umd.js +241 -201
  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 +2 -1
  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 +2 -1
  13. package/esm2015/lib/api/lr-graphql/index.js +1 -1
  14. package/esm2015/lib/api/lr-graphql/lr-graphql.service.js +7 -6
  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 +2 -1
  20. package/esm2015/lib/api/query-processor/index.js +1 -1
  21. package/esm2015/lib/api/query-processor/query-processor.service.js +2 -1
  22. package/esm2015/lib/api/query-processor/tp-password-reset-processor.service.js +3 -3
  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 -1
  28. package/esm2015/lib/auth/auth.types.js +1 -1
  29. package/esm2015/lib/auth/life-ready-auth.service.js +5 -2
  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 +5 -4
  33. package/esm2015/lib/category/category.types.js +1 -1
  34. package/esm2015/lib/contact-card/contact-card.gql.js +1 -1
  35. package/esm2015/lib/contact-card/contact-card.service.js +3 -1
  36. package/esm2015/lib/contact-card/contact-card2.gql.js +1 -1
  37. package/esm2015/lib/contact-card/contact-card2.service.js +1 -1
  38. package/esm2015/lib/encryption/encryption.service.js +2 -1
  39. package/esm2015/lib/file-upload/file-upload.service.js +2 -2
  40. package/esm2015/lib/file-upload/file-upload.types.js +2 -1
  41. package/esm2015/lib/idle/idle.service.js +1 -1
  42. package/esm2015/lib/idle/idle.types.js +1 -1
  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 +1 -1
  48. package/esm2015/lib/key/key-graph.service.js +2 -1
  49. package/esm2015/lib/key/key-meta.service.js +2 -1
  50. package/esm2015/lib/key/key.service.js +1 -1
  51. package/esm2015/lib/key/key.types.js +1 -1
  52. package/esm2015/lib/key-exchange/key-exchange.gql.js +1 -1
  53. package/esm2015/lib/key-exchange/key-exchange.service.js +2 -4
  54. package/esm2015/lib/key-exchange/key-exchange.types.js +1 -1
  55. package/esm2015/lib/key-exchange/key-exchange2.gql.js +1 -1
  56. package/esm2015/lib/key-exchange/key-exchange2.service.js +1 -1
  57. package/esm2015/lib/lbop/lbop.service.js +3 -1
  58. package/esm2015/lib/life-ready.config.js +2 -1
  59. package/esm2015/lib/life-ready.module.js +1 -1
  60. package/esm2015/lib/lock/lock.gql.js +1 -1
  61. package/esm2015/lib/lock/lock.service.js +1 -1
  62. package/esm2015/lib/message/message.gql.js +1 -1
  63. package/esm2015/lib/message/message.service.js +13 -11
  64. package/esm2015/lib/message/message.types.js +2 -1
  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 +1 -1
  68. package/esm2015/lib/password/password.service.js +3 -2
  69. package/esm2015/lib/persist/persist.service.js +2 -1
  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 +3 -2
  74. package/esm2015/lib/profile/profile.gql.js +2 -1
  75. package/esm2015/lib/profile/profile.service.js +2 -1
  76. package/esm2015/lib/profile/profile.types.js +1 -1
  77. package/esm2015/lib/record/record-attachment.service.js +2 -1
  78. package/esm2015/lib/record/record.gql.js +1 -1
  79. package/esm2015/lib/record/record.service.js +6 -6
  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 +2 -1
  84. package/esm2015/lib/scenario/scenario.constants.js +1 -1
  85. package/esm2015/lib/scenario/scenario.controller.js +1 -1
  86. package/esm2015/lib/scenario/scenario.gql.js +1 -1
  87. package/esm2015/lib/scenario/scenario.private.gql.js +1 -1
  88. package/esm2015/lib/scenario/scenario.service.js +12 -10
  89. package/esm2015/lib/scenario/scenario.types.js +2 -1
  90. package/esm2015/lib/shared-contact-card/shared-contact-card.service.js +1 -1
  91. package/esm2015/lib/shared-contact-card/shared-contact-card2.gql.js +1 -1
  92. package/esm2015/lib/shared-contact-card/shared-contact-card2.service.js +1 -1
  93. package/esm2015/lib/slip39/slip39.service.js +5 -7
  94. package/esm2015/lib/time/time.service.js +1 -1
  95. package/esm2015/lib/tp-assembly/tp-assembly.js +1 -1
  96. package/esm2015/lib/tp-assembly/tp-assembly.private.gql.js +1 -1
  97. package/esm2015/lib/tp-assembly/tp-assembly.types.js +2 -1
  98. package/esm2015/lib/tp-password-reset/tp-password-reset-request.service.js +2 -2
  99. package/esm2015/lib/tp-password-reset/tp-password-reset-user.service.js +4 -3
  100. package/esm2015/lib/tp-password-reset/tp-password-reset.constants.js +1 -1
  101. package/esm2015/lib/tp-password-reset/tp-password-reset.controller.js +1 -1
  102. package/esm2015/lib/tp-password-reset/tp-password-reset.gql.js +1 -1
  103. package/esm2015/lib/tp-password-reset/tp-password-reset.private.gql.js +1 -1
  104. package/esm2015/lib/tp-password-reset/tp-password-reset.private.service.js +1 -1
  105. package/esm2015/lib/tp-password-reset/tp-password-reset.service.js +1 -1
  106. package/esm2015/lib/tp-password-reset/tp-password-reset.types.js +2 -1
  107. package/esm2015/lib/trusted-party/trusted-party.gql.js +1 -1
  108. package/esm2015/lib/trusted-party/trusted-party.service.js +3 -2
  109. package/esm2015/lib/trusted-party/trusted-party.types.js +1 -1
  110. package/esm2015/lib/trusted-party/trusted-party2.gql.js +1 -1
  111. package/esm2015/lib/trusted-party/trusted-party2.gql.private.js +1 -1
  112. package/esm2015/lib/trusted-party/trusted-party2.service.js +3 -3
  113. package/esm2015/lib/trusted-party/trusted-party2.types.js +2 -1
  114. package/esm2015/lib/two-factor/two-factor.service.js +1 -1
  115. package/esm2015/lib/user/user.gql.js +1 -1
  116. package/esm2015/lib/user/user.service.js +3 -2
  117. package/esm2015/lib/user/user.types.js +2 -1
  118. package/esm2015/lib/web-crypto/web-crypto.service.js +1 -1
  119. package/esm2015/lifeready-core.js +1 -1
  120. package/esm2015/public-api.js +3 -3
  121. package/fesm2015/lifeready-core.js +93 -84
  122. package/fesm2015/lifeready-core.js.map +1 -1
  123. package/lib/_common/utils.d.ts +2 -2
  124. package/lib/api/lr-apollo.service.d.ts +1 -1
  125. package/lib/api/lr-graphql/lr-graphql.service.d.ts +25 -7
  126. package/lib/api/lr-graphql/lr-merged-mutation.d.ts +22 -4
  127. package/lib/api/lr-graphql/lr-mutation.d.ts +1 -2
  128. package/lib/api/query-processor/tp-password-reset-processor.service.d.ts +1 -1
  129. package/lib/api/types/lr-graphql.types.d.ts +3 -3
  130. package/lib/auth/auth.types.d.ts +3 -3
  131. package/lib/auth/life-ready-auth.service.d.ts +2 -2
  132. package/lib/category/category.service.d.ts +2 -2
  133. package/lib/contact-card/contact-card2.service.d.ts +17 -2
  134. package/lib/encryption/encryption.service.d.ts +8 -7
  135. package/lib/file-upload/file-upload.service.d.ts +2 -1
  136. package/lib/idle/idle.service.d.ts +2 -2
  137. package/lib/{items2 → item2}/item2.gql.d.ts +16 -16
  138. package/lib/{items2 → item2}/item2.service.d.ts +24 -25
  139. package/lib/key/key-factory.service.d.ts +2 -1
  140. package/lib/key/key-graph.service.d.ts +1 -1
  141. package/lib/key/key.types.d.ts +5 -5
  142. package/lib/key-exchange/key-exchange2.service.d.ts +11 -11
  143. package/lib/life-ready.config.d.ts +1 -1
  144. package/lib/message/message.service.d.ts +8 -1
  145. package/lib/notification/notification.service.d.ts +3 -2
  146. package/lib/password/password.service.d.ts +1 -1
  147. package/lib/plan/plan.service.d.ts +3 -2
  148. package/lib/plan/plan.types.d.ts +2 -1
  149. package/lib/profile/profile-details.service.d.ts +1 -1
  150. package/lib/profile/profile.types.d.ts +2 -1
  151. package/lib/record/record.service.d.ts +2 -2
  152. package/lib/scenario/scenario.service.d.ts +103 -3
  153. package/lib/slip39/slip39.service.d.ts +0 -1
  154. package/lib/tp-assembly/tp-assembly.types.d.ts +2 -2
  155. package/lib/tp-password-reset/tp-password-reset-request.service.d.ts +1 -1
  156. package/lib/tp-password-reset/tp-password-reset.gql.d.ts +2 -2
  157. package/lib/tp-password-reset/tp-password-reset.types.d.ts +2 -2
  158. package/lib/trusted-party/trusted-party.service.d.ts +1 -1
  159. package/lib/trusted-party/trusted-party2.service.d.ts +1 -1
  160. package/lib/user/user.service.d.ts +1 -1
  161. package/lifeready-core.metadata.json +1 -1
  162. package/package.json +2 -2
  163. package/public-api.d.ts +2 -2
  164. package/esm2015/lib/items2/item2.gql.js +0 -127
  165. package/esm2015/lib/items2/item2.gql.private.js +0 -23
  166. package/esm2015/lib/items2/item2.service.js +0 -516
  167. package/esm2015/lib/items2/item2.types.js +0 -1
  168. /package/lib/{items2 → item2}/item2.gql.private.d.ts +0 -0
  169. /package/lib/{items2 → item2}/item2.types.d.ts +0 -0
@@ -19,7 +19,14 @@ export declare class MessageService extends LrService {
19
19
  constructor(ngZone: NgZone, injector: Injector, keyGraph: KeyGraphService, encryptionService: EncryptionService, keyExchangeService: KeyExchangeService);
20
20
  sendMessage(input: SendMessageInput): Promise<import("./message.gql").SendMessageMutationResult>;
21
21
  sendMessageMutation({ username, userId, plainMessageJson, plainCipherMessageJson, }: SendMessageInput): Promise<LrMutation<import("./message.gql").SendMessageMutationResult, {
22
- input: any;
22
+ input: {
23
+ receiverUsername: string;
24
+ receiverId: string;
25
+ sharedKeyId: string;
26
+ senderSigPbkId: string;
27
+ signedCipherMessage: string;
28
+ plainMessage: string;
29
+ };
23
30
  }>>;
24
31
  decryptMessage(message: MessageNode, options: {
25
32
  sharedKey: JWK.Key;
@@ -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
  }
@@ -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,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,6 +1,6 @@
1
- import { SharedContactCardService } from '../shared-contact-card/shared-contact-card.service';
2
1
  import { CurrentUser } from '../auth/auth.types';
3
2
  import { LifeReadyAuthService } from '../auth/life-ready-auth.service';
3
+ import { SharedContactCardService } from '../shared-contact-card/shared-contact-card.service';
4
4
  import { TrustedPartyService } from '../trusted-party/trusted-party.service';
5
5
  import { SharedTrustedPartyDetails } from '../trusted-party/trusted-party.types';
6
6
  import { ProfileService } from './profile.service';
@@ -1,4 +1,5 @@
1
1
  import { UserDeleteNode } from '../api/types';
2
+ import { Features } from '../auth/auth.types';
2
3
  import { PassIdpParams, PassKey } from '../key/key.types';
3
4
  export declare class CurrentUserKey {
4
5
  passKey?: PassKey;
@@ -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,8 +1,8 @@
1
- import { RecordAttachmentService } from './record-attachment.service';
2
1
  import { LrApolloService } from '../api/lr-apollo.service';
2
+ import { CategoryService } from '../category/category.service';
3
3
  import { KeyMetaService } from '../key/key-meta.service';
4
+ import { RecordAttachmentService } from './record-attachment.service';
4
5
  import { LrRecord, NewRecord, UpdatedRecord } from './record.types';
5
- import { CategoryService } from '../category/category.service';
6
6
  export declare class RecordService {
7
7
  private lrApollo;
8
8
  private keyMetaService;
@@ -1,7 +1,7 @@
1
1
  import { Injector, NgZone } from '@angular/core';
2
2
  import { LrMergedMutation, LrMutation, LrService } from '../api/lr-graphql';
3
3
  import { EncryptionService } from '../encryption/encryption.service';
4
- import { Item2Service } from '../items2/item2.service';
4
+ import { Item2Service } from '../item2/item2.service';
5
5
  import { KeyGraphService } from '../key/key-graph.service';
6
6
  import { ScenarioAssemblyController } from './scenario.controller';
7
7
  import { CreateScenarioOptions, ResetScenarioOptions, UpdateScenarioOptions } from './scenario.types';
@@ -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;
@@ -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,4 +1,4 @@
1
- import { JSONObject } from '../api/types';
1
+ import { JSONObject, JSONString } from '../api/types';
2
2
  import * as slip from '../slip39/slip39.service';
3
3
  export interface PartialAssemblyKey {
4
4
  slip39: {
@@ -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;
@@ -12,5 +12,5 @@ export declare class TpPasswordResetRequestService extends LrService {
12
12
  rejectRequest(sharedResetId: string): Promise<any>;
13
13
  rejectRequestMutation(sharedResetId: string): Promise<LrMergedMutation<import("./tp-password-reset.gql").RejectTpPasswordResetRequestMutationResult[]>>;
14
14
  approveRequest(sharedResetId: string, pbkFingerPrint?: string): Promise<import("./tp-password-reset.gql").ApproveTpPasswordResetRequestMutationResult[]>;
15
- 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[]>>;
16
16
  }
@@ -1,4 +1,4 @@
1
- import { ID } from '../api/types';
1
+ import { ID, JSONObject } from '../api/types';
2
2
  export interface CancelTpPasswordResetRequestMutationResult {
3
3
  cancelTpPasswordResetRequest: {
4
4
  id: ID;
@@ -7,7 +7,7 @@ export interface CancelTpPasswordResetRequestMutationResult {
7
7
  export declare const CancelTpPasswordResetRequestMutation: import("../_common/ast").TypedDocumentNode<CancelTpPasswordResetRequestMutationResult>;
8
8
  export interface CreateTpAssemblyKeyChallengeMutationResult {
9
9
  createTpAssemblyKeyChallenge: {
10
- challenge: any;
10
+ challenge: JSONObject;
11
11
  };
12
12
  }
13
13
  export declare const CreateTpAssemblyKeyChallengeMutation: import("../_common/ast").TypedDocumentNode<CreateTpAssemblyKeyChallengeMutationResult>;
@@ -16,7 +16,7 @@ export interface TpSubAssembly {
16
16
  singleReject: boolean;
17
17
  quorum: number;
18
18
  subjectCipherData: string;
19
- plainSubjectCipherData: any;
19
+ plainSubjectCipherData: JSONObject;
20
20
  approvers: TpAssemblyApprovers[];
21
21
  }
22
22
  export interface TpAssembly {
@@ -25,7 +25,7 @@ export interface TpAssembly {
25
25
  subjectKey: Key;
26
26
  assemblyKey: Key;
27
27
  assemblyCipherData: string;
28
- plainAssemblyCipherData: any;
28
+ plainAssemblyCipherData: JSONObject;
29
29
  subAssemblies: TpSubAssembly[];
30
30
  }
31
31
  export interface TpPasswordReset {
@@ -1,6 +1,5 @@
1
1
  import { HttpClient } from '@angular/common/http';
2
2
  import { LrApolloService } from '../api/lr-apollo.service';
3
- import { SharedContactCardService } from '../shared-contact-card/shared-contact-card.service';
4
3
  import { LifeReadyAuthService } from '../auth/life-ready-auth.service';
5
4
  import { AccessLevel } from '../category/category.types';
6
5
  import { EncryptionService } from '../encryption/encryption.service';
@@ -8,6 +7,7 @@ import { KeyExchangeService } from '../key-exchange/key-exchange.service';
8
7
  import { KeyFactoryService } from '../key/key-factory.service';
9
8
  import { KeyGraphService } from '../key/key-graph.service';
10
9
  import { KeyService } from '../key/key.service';
10
+ import { SharedContactCardService } from '../shared-contact-card/shared-contact-card.service';
11
11
  import { UserService } from '../user/user.service';
12
12
  import { AcceptTrustedPartyInvite, ConfirmTrustedPartyInvite, FoundTrustedParty, InviteTrustedParty, TrustedParties, TrustedParty, TrustedPartyInvite, TrustedPartyRole, TrustedPartyRoleType } from './trusted-party.types';
13
13
  export declare class TrustedPartyService {
@@ -2,7 +2,7 @@ import { Injector, NgZone } from '@angular/core';
2
2
  import { LrMutation, LrService } from '../api/lr-graphql';
3
3
  import { LrRelayIdInput } from '../api/types';
4
4
  import { EncryptionService } from '../encryption/encryption.service';
5
- import { Item2Service } from '../items2/item2.service';
5
+ import { Item2Service } from '../item2/item2.service';
6
6
  import { KeyFactoryService } from '../key/key-factory.service';
7
7
  import { KeyGraphService } from '../key/key-graph.service';
8
8
  import { KeyService } from '../key/key.service';
@@ -1,6 +1,6 @@
1
- import { User, GetUserInput } from './user.types';
2
1
  import { LrApolloService } from '../api/lr-apollo.service';
3
2
  import { UserDeleteNode } from '../api/types';
3
+ import { GetUserInput, User } from './user.types';
4
4
  export declare class UserService {
5
5
  private lrApollo;
6
6
  constructor(lrApollo: LrApolloService);