@lifeready/core 9.0.7 → 10.0.0

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 (225) hide show
  1. package/fesm2022/lifeready-core.mjs +10522 -0
  2. package/fesm2022/lifeready-core.mjs.map +1 -0
  3. package/package.json +21 -16
  4. package/types/lifeready-core.d.ts +5329 -0
  5. package/bundles/lifeready-core.umd.js +0 -13231
  6. package/bundles/lifeready-core.umd.js.map +0 -1
  7. package/bundles/lifeready-core.umd.min.js +0 -2
  8. package/bundles/lifeready-core.umd.min.js.map +0 -1
  9. package/esm2015/lib/_common/ast.js +0 -41
  10. package/esm2015/lib/_common/deferred-promise.js +0 -24
  11. package/esm2015/lib/_common/exceptions.js +0 -186
  12. package/esm2015/lib/_common/index.js +0 -3
  13. package/esm2015/lib/_common/kc-lodash.js +0 -11
  14. package/esm2015/lib/_common/key.js +0 -28
  15. package/esm2015/lib/_common/queries.gql.js +0 -43
  16. package/esm2015/lib/_common/run-outside-angular.js +0 -80
  17. package/esm2015/lib/_common/storage.js +0 -28
  18. package/esm2015/lib/_common/types.js +0 -2
  19. package/esm2015/lib/_common/utils.js +0 -73
  20. package/esm2015/lib/api/lr-apollo.service.js +0 -47
  21. package/esm2015/lib/api/lr-graphql/index.js +0 -6
  22. package/esm2015/lib/api/lr-graphql/lr-graphql.service.js +0 -170
  23. package/esm2015/lib/api/lr-graphql/lr-merged-mutation.js +0 -216
  24. package/esm2015/lib/api/lr-graphql/lr-mutation-base.js +0 -51
  25. package/esm2015/lib/api/lr-graphql/lr-mutation.js +0 -91
  26. package/esm2015/lib/api/lr-graphql/lr.service.js +0 -18
  27. package/esm2015/lib/api/query-processor/common-processors.service.js +0 -94
  28. package/esm2015/lib/api/query-processor/index.js +0 -3
  29. package/esm2015/lib/api/query-processor/query-processor.service.js +0 -307
  30. package/esm2015/lib/api/query-processor/tp-password-reset-processor.service.js +0 -110
  31. package/esm2015/lib/api/types/graphql.types.js +0 -8
  32. package/esm2015/lib/api/types/index.js +0 -3
  33. package/esm2015/lib/api/types/lr-graphql.types.js +0 -182
  34. package/esm2015/lib/auth/auth.config.js +0 -57
  35. package/esm2015/lib/auth/auth.gql.private.js +0 -85
  36. package/esm2015/lib/auth/auth.service.js +0 -616
  37. package/esm2015/lib/auth/auth.types.js +0 -19
  38. package/esm2015/lib/contact-card/contact-card.gql.js +0 -79
  39. package/esm2015/lib/contact-card/contact-card.service.js +0 -156
  40. package/esm2015/lib/contact-card/contact-card2.gql.js +0 -29
  41. package/esm2015/lib/contact-card/contact-card2.service.js +0 -103
  42. package/esm2015/lib/encryption/encryption.service.js +0 -188
  43. package/esm2015/lib/file-upload/file-upload.service.js +0 -70
  44. package/esm2015/lib/file-upload/file-upload.types.js +0 -2
  45. package/esm2015/lib/idle/idle.service.js +0 -159
  46. package/esm2015/lib/idle/idle.types.js +0 -7
  47. package/esm2015/lib/item/item.gql.js +0 -166
  48. package/esm2015/lib/item/item.gql.private.js +0 -41
  49. package/esm2015/lib/item/item.service.js +0 -662
  50. package/esm2015/lib/item/item.types.js +0 -2
  51. package/esm2015/lib/key/key-factory.service.js +0 -226
  52. package/esm2015/lib/key/key-graph.service.js +0 -314
  53. package/esm2015/lib/key/key-meta.service.js +0 -153
  54. package/esm2015/lib/key/key.service.js +0 -124
  55. package/esm2015/lib/key/key.types.js +0 -16
  56. package/esm2015/lib/key-exchange/key-exchange.gql.js +0 -174
  57. package/esm2015/lib/key-exchange/key-exchange.service.js +0 -496
  58. package/esm2015/lib/lbop/lbop.service.js +0 -351
  59. package/esm2015/lib/life-ready.config.js +0 -96
  60. package/esm2015/lib/life-ready.module.js +0 -42
  61. package/esm2015/lib/lock/lock.gql.js +0 -40
  62. package/esm2015/lib/lock/lock.service.js +0 -64
  63. package/esm2015/lib/notification/notification.gql.js +0 -43
  64. package/esm2015/lib/notification/notification.service.js +0 -118
  65. package/esm2015/lib/password/password.gql.js +0 -28
  66. package/esm2015/lib/password/password.service.js +0 -309
  67. package/esm2015/lib/persist/persist.service.js +0 -181
  68. package/esm2015/lib/plan/plan.gql.js +0 -91
  69. package/esm2015/lib/plan/plan.service.js +0 -191
  70. package/esm2015/lib/plan/plan.types.js +0 -2
  71. package/esm2015/lib/profile/profile-details.service.js +0 -261
  72. package/esm2015/lib/profile/profile.gql.js +0 -170
  73. package/esm2015/lib/profile/profile.service.js +0 -166
  74. package/esm2015/lib/profile/profile.types.js +0 -45
  75. package/esm2015/lib/register/register.service.js +0 -173
  76. package/esm2015/lib/register/register.types.js +0 -3
  77. package/esm2015/lib/reminder/reminder.gql.js +0 -27
  78. package/esm2015/lib/reminder/reminder.service.js +0 -85
  79. package/esm2015/lib/reminder/reminder.types.js +0 -2
  80. package/esm2015/lib/scenario/scenario.constants.js +0 -2
  81. package/esm2015/lib/scenario/scenario.controller.js +0 -34
  82. package/esm2015/lib/scenario/scenario.gql.js +0 -90
  83. package/esm2015/lib/scenario/scenario.private.gql.js +0 -200
  84. package/esm2015/lib/scenario/scenario.service.js +0 -679
  85. package/esm2015/lib/scenario/scenario.types.js +0 -2
  86. package/esm2015/lib/server-config/server-config.gql.js +0 -9
  87. package/esm2015/lib/server-config/server-config.service.js +0 -41
  88. package/esm2015/lib/shared-contact-card/shared-contact-card.service.js +0 -119
  89. package/esm2015/lib/shared-contact-card/shared-contact-card2.gql.js +0 -41
  90. package/esm2015/lib/shared-contact-card/shared-contact-card2.service.js +0 -117
  91. package/esm2015/lib/slip39/slip39.service.js +0 -167
  92. package/esm2015/lib/time/time.service.js +0 -152
  93. package/esm2015/lib/tp-assembly/tp-assembly.js +0 -363
  94. package/esm2015/lib/tp-assembly/tp-assembly.private.gql.js +0 -22
  95. package/esm2015/lib/tp-assembly/tp-assembly.types.js +0 -2
  96. package/esm2015/lib/tp-password-reset/tp-password-reset-request.service.js +0 -98
  97. package/esm2015/lib/tp-password-reset/tp-password-reset-user.service.js +0 -121
  98. package/esm2015/lib/tp-password-reset/tp-password-reset.constants.js +0 -4
  99. package/esm2015/lib/tp-password-reset/tp-password-reset.controller.js +0 -34
  100. package/esm2015/lib/tp-password-reset/tp-password-reset.gql.js +0 -74
  101. package/esm2015/lib/tp-password-reset/tp-password-reset.private.gql.js +0 -166
  102. package/esm2015/lib/tp-password-reset/tp-password-reset.private.service.js +0 -54
  103. package/esm2015/lib/tp-password-reset/tp-password-reset.service.js +0 -110
  104. package/esm2015/lib/tp-password-reset/tp-password-reset.types.js +0 -2
  105. package/esm2015/lib/trusted-party/trusted-party.gql.js +0 -96
  106. package/esm2015/lib/trusted-party/trusted-party.gql.private.js +0 -51
  107. package/esm2015/lib/trusted-party/trusted-party.service.js +0 -461
  108. package/esm2015/lib/trusted-party/trusted-party.types.js +0 -2
  109. package/esm2015/lib/two-factor/two-factor.service.js +0 -74
  110. package/esm2015/lib/user/user.gql.js +0 -32
  111. package/esm2015/lib/user/user.service.js +0 -58
  112. package/esm2015/lib/user/user.types.js +0 -2
  113. package/esm2015/lib/web-crypto/web-crypto.service.js +0 -29
  114. package/esm2015/lifeready-core.js +0 -17
  115. package/esm2015/public-api.js +0 -60
  116. package/fesm2015/lifeready-core.js +0 -10970
  117. package/fesm2015/lifeready-core.js.map +0 -1
  118. package/lib/_common/ast.d.ts +0 -11
  119. package/lib/_common/deferred-promise.d.ts +0 -12
  120. package/lib/_common/exceptions.d.ts +0 -126
  121. package/lib/_common/index.d.ts +0 -2
  122. package/lib/_common/kc-lodash.d.ts +0 -5
  123. package/lib/_common/key.d.ts +0 -14
  124. package/lib/_common/queries.gql.d.ts +0 -4
  125. package/lib/_common/run-outside-angular.d.ts +0 -14
  126. package/lib/_common/storage.d.ts +0 -13
  127. package/lib/_common/types.d.ts +0 -15
  128. package/lib/_common/utils.d.ts +0 -12
  129. package/lib/api/lr-apollo.service.d.ts +0 -15
  130. package/lib/api/lr-graphql/index.d.ts +0 -5
  131. package/lib/api/lr-graphql/lr-graphql.service.d.ts +0 -81
  132. package/lib/api/lr-graphql/lr-merged-mutation.d.ts +0 -46
  133. package/lib/api/lr-graphql/lr-mutation-base.d.ts +0 -28
  134. package/lib/api/lr-graphql/lr-mutation.d.ts +0 -48
  135. package/lib/api/lr-graphql/lr.service.d.ts +0 -9
  136. package/lib/api/query-processor/common-processors.service.d.ts +0 -36
  137. package/lib/api/query-processor/index.d.ts +0 -2
  138. package/lib/api/query-processor/query-processor.service.d.ts +0 -18
  139. package/lib/api/query-processor/tp-password-reset-processor.service.d.ts +0 -15
  140. package/lib/api/types/graphql.types.d.ts +0 -30
  141. package/lib/api/types/index.d.ts +0 -2
  142. package/lib/api/types/lr-graphql.types.d.ts +0 -807
  143. package/lib/auth/auth.config.d.ts +0 -5
  144. package/lib/auth/auth.gql.private.d.ts +0 -25
  145. package/lib/auth/auth.service.d.ts +0 -72
  146. package/lib/auth/auth.types.d.ts +0 -70
  147. package/lib/contact-card/contact-card.gql.d.ts +0 -7
  148. package/lib/contact-card/contact-card.service.d.ts +0 -53
  149. package/lib/contact-card/contact-card2.gql.d.ts +0 -25
  150. package/lib/contact-card/contact-card2.service.d.ts +0 -64
  151. package/lib/encryption/encryption.service.d.ts +0 -42
  152. package/lib/file-upload/file-upload.service.d.ts +0 -15
  153. package/lib/file-upload/file-upload.types.d.ts +0 -5
  154. package/lib/idle/idle.service.d.ts +0 -47
  155. package/lib/idle/idle.types.d.ts +0 -10
  156. package/lib/item/item.gql.d.ts +0 -134
  157. package/lib/item/item.gql.private.d.ts +0 -35
  158. package/lib/item/item.service.d.ts +0 -201
  159. package/lib/item/item.types.d.ts +0 -95
  160. package/lib/key/key-factory.service.d.ts +0 -40
  161. package/lib/key/key-graph.service.d.ts +0 -41
  162. package/lib/key/key-meta.service.d.ts +0 -51
  163. package/lib/key/key.service.d.ts +0 -36
  164. package/lib/key/key.types.d.ts +0 -86
  165. package/lib/key-exchange/key-exchange.gql.d.ts +0 -141
  166. package/lib/key-exchange/key-exchange.service.d.ts +0 -179
  167. package/lib/lbop/lbop.service.d.ts +0 -99
  168. package/lib/life-ready.config.d.ts +0 -26
  169. package/lib/life-ready.module.d.ts +0 -5
  170. package/lib/lock/lock.gql.d.ts +0 -27
  171. package/lib/lock/lock.service.d.ts +0 -34
  172. package/lib/notification/notification.gql.d.ts +0 -37
  173. package/lib/notification/notification.service.d.ts +0 -64
  174. package/lib/password/password.gql.d.ts +0 -3
  175. package/lib/password/password.service.d.ts +0 -79
  176. package/lib/persist/persist.service.d.ts +0 -31
  177. package/lib/plan/plan.gql.d.ts +0 -69
  178. package/lib/plan/plan.service.d.ts +0 -111
  179. package/lib/plan/plan.types.d.ts +0 -16
  180. package/lib/profile/profile-details.service.d.ts +0 -20
  181. package/lib/profile/profile.gql.d.ts +0 -21
  182. package/lib/profile/profile.service.d.ts +0 -32
  183. package/lib/profile/profile.types.d.ts +0 -121
  184. package/lib/register/register.service.d.ts +0 -25
  185. package/lib/register/register.types.d.ts +0 -6
  186. package/lib/reminder/reminder.gql.d.ts +0 -23
  187. package/lib/reminder/reminder.service.d.ts +0 -33
  188. package/lib/reminder/reminder.types.d.ts +0 -17
  189. package/lib/scenario/scenario.constants.d.ts +0 -1
  190. package/lib/scenario/scenario.controller.d.ts +0 -10
  191. package/lib/scenario/scenario.gql.d.ts +0 -78
  192. package/lib/scenario/scenario.private.gql.d.ts +0 -16
  193. package/lib/scenario/scenario.service.d.ts +0 -655
  194. package/lib/scenario/scenario.types.d.ts +0 -64
  195. package/lib/server-config/server-config.gql.d.ts +0 -5
  196. package/lib/server-config/server-config.service.d.ts +0 -9
  197. package/lib/shared-contact-card/shared-contact-card.service.d.ts +0 -33
  198. package/lib/shared-contact-card/shared-contact-card2.gql.d.ts +0 -36
  199. package/lib/shared-contact-card/shared-contact-card2.service.d.ts +0 -45
  200. package/lib/slip39/slip39.service.d.ts +0 -42
  201. package/lib/time/time.service.d.ts +0 -26
  202. package/lib/tp-assembly/tp-assembly.d.ts +0 -177
  203. package/lib/tp-assembly/tp-assembly.private.gql.d.ts +0 -5
  204. package/lib/tp-assembly/tp-assembly.types.d.ts +0 -40
  205. package/lib/tp-password-reset/tp-password-reset-request.service.d.ts +0 -16
  206. package/lib/tp-password-reset/tp-password-reset-user.service.d.ts +0 -29
  207. package/lib/tp-password-reset/tp-password-reset.constants.d.ts +0 -3
  208. package/lib/tp-password-reset/tp-password-reset.controller.d.ts +0 -10
  209. package/lib/tp-password-reset/tp-password-reset.gql.d.ts +0 -63
  210. package/lib/tp-password-reset/tp-password-reset.private.gql.d.ts +0 -163
  211. package/lib/tp-password-reset/tp-password-reset.private.service.d.ts +0 -59
  212. package/lib/tp-password-reset/tp-password-reset.service.d.ts +0 -112
  213. package/lib/tp-password-reset/tp-password-reset.types.d.ts +0 -40
  214. package/lib/trusted-party/trusted-party.gql.d.ts +0 -85
  215. package/lib/trusted-party/trusted-party.gql.private.d.ts +0 -40
  216. package/lib/trusted-party/trusted-party.service.d.ts +0 -192
  217. package/lib/trusted-party/trusted-party.types.d.ts +0 -31
  218. package/lib/two-factor/two-factor.service.d.ts +0 -15
  219. package/lib/user/user.gql.d.ts +0 -8
  220. package/lib/user/user.service.d.ts +0 -9
  221. package/lib/user/user.types.d.ts +0 -16
  222. package/lib/web-crypto/web-crypto.service.d.ts +0 -5
  223. package/lifeready-core.d.ts +0 -16
  224. package/lifeready-core.metadata.json +0 -1
  225. package/public-api.d.ts +0 -56
@@ -1,192 +0,0 @@
1
- import { Injector, NgZone } from '@angular/core';
2
- import { LrMutation, LrService } from '../api/lr-graphql';
3
- import { AccessRoleChoice, LrRelayIdInput, ShareTypeChoice } from '../api/types';
4
- import { EncryptionService } from '../encryption/encryption.service';
5
- import { ItemService } from '../item/item.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 { CompleteTpMkReshareMutation, DeleteTpMutation, RequestTpMkReshareMutation, RespondTpMkReshareMutation } from './trusted-party.gql';
10
- import { CompleteDetachedItemShareOptions, CreateItemShareOptions, UpdateDetachedItemShareOptions, UpdateItemShareOptions } from './trusted-party.types';
11
- export declare class TrustedPartyService extends LrService {
12
- private ngZone;
13
- private injector;
14
- private keyGraph;
15
- private itemService;
16
- private keyService;
17
- private keyFactory;
18
- private encryptionService;
19
- constructor(ngZone: NgZone, injector: Injector, keyGraph: KeyGraphService, itemService: ItemService, keyService: KeyService, keyFactory: KeyFactoryService, encryptionService: EncryptionService);
20
- deleteTp(tpId: LrRelayIdInput): Promise<DeleteTpMutation>;
21
- deleteTpMutation(tpId: LrRelayIdInput): LrMutation<DeleteTpMutation, {
22
- input: {
23
- id: string;
24
- };
25
- }>;
26
- createDirectoryShare(options: CreateItemShareOptions): Promise<import("./trusted-party.gql").CreateDirectoryShareMutationResult>;
27
- createDirectoryShareMutation(options: CreateItemShareOptions): Promise<LrMutation<import("./trusted-party.gql").CreateDirectoryShareMutationResult, {
28
- input: {
29
- itemId: string;
30
- tpId: string;
31
- accessRole: AccessRoleChoice.DENY;
32
- itemKeyId: any;
33
- wrappingKeyId: any;
34
- wrappedItemKey: any;
35
- shareType: ShareTypeChoice;
36
- plainMeta: string;
37
- };
38
- } | {
39
- input: {
40
- itemId: string;
41
- tpId: string;
42
- accessRole: AccessRoleChoice.READER | AccessRoleChoice.WRITER | AccessRoleChoice.ADMIN | AccessRoleChoice.CUSTODIAN | AccessRoleChoice.OWNER;
43
- itemKeyId: string;
44
- wrappingKeyId: string;
45
- wrappedItemKey: string;
46
- shareType: ShareTypeChoice;
47
- plainMeta: string;
48
- };
49
- }>>;
50
- createFileShare(options: CreateItemShareOptions): Promise<import("./trusted-party.gql").CreateFileShareMutationResult>;
51
- createFileShareMutation(options: CreateItemShareOptions): Promise<LrMutation<import("./trusted-party.gql").CreateFileShareMutationResult, {
52
- input: {
53
- itemId: string;
54
- tpId: string;
55
- accessRole: AccessRoleChoice.DENY;
56
- itemKeyId: any;
57
- wrappingKeyId: any;
58
- wrappedItemKey: any;
59
- shareType: ShareTypeChoice;
60
- plainMeta: string;
61
- };
62
- } | {
63
- input: {
64
- itemId: string;
65
- tpId: string;
66
- accessRole: AccessRoleChoice.READER | AccessRoleChoice.WRITER | AccessRoleChoice.ADMIN | AccessRoleChoice.CUSTODIAN | AccessRoleChoice.OWNER;
67
- itemKeyId: string;
68
- wrappingKeyId: string;
69
- wrappedItemKey: string;
70
- shareType: ShareTypeChoice;
71
- plainMeta: string;
72
- };
73
- }>>;
74
- private prepareCreateItemShareMutation;
75
- updateDirectoryShare(options: UpdateItemShareOptions): Promise<import("./trusted-party.gql").UpdateDirectoryShareMutationResult>;
76
- updateDirectoryShareMutation(options: UpdateItemShareOptions): Promise<LrMutation<import("./trusted-party.gql").UpdateDirectoryShareMutationResult, {
77
- input: {
78
- id: string;
79
- accessRole: AccessRoleChoice;
80
- plainMeta: string;
81
- itemKeyId?: undefined;
82
- wrappingKeyId?: undefined;
83
- wrappedItemKey?: undefined;
84
- };
85
- } | {
86
- input: {
87
- id: string;
88
- accessRole: AccessRoleChoice.READER | AccessRoleChoice.WRITER | AccessRoleChoice.ADMIN | AccessRoleChoice.CUSTODIAN | AccessRoleChoice.OWNER;
89
- itemKeyId: string;
90
- wrappingKeyId: string;
91
- wrappedItemKey: string;
92
- plainMeta: string;
93
- };
94
- }>>;
95
- updateDetachedDirectoryShare(options: UpdateDetachedItemShareOptions): Promise<import("./trusted-party.gql").UpdateDirectoryShareMutationResult>;
96
- updateDetachedDirectoryShareMutation(options: UpdateDetachedItemShareOptions): Promise<LrMutation<import("./trusted-party.gql").UpdateDirectoryShareMutationResult, {
97
- input: {
98
- id: string;
99
- accessRole: AccessRoleChoice;
100
- plainMeta: string;
101
- };
102
- }>>;
103
- updateFileShare(options: UpdateItemShareOptions): Promise<import("./trusted-party.gql").UpdateFileShareMutationResult>;
104
- updateFileShareMutation(options: UpdateItemShareOptions): Promise<LrMutation<import("./trusted-party.gql").UpdateFileShareMutationResult, {
105
- input: {
106
- id: string;
107
- accessRole: AccessRoleChoice;
108
- plainMeta: string;
109
- itemKeyId?: undefined;
110
- wrappingKeyId?: undefined;
111
- wrappedItemKey?: undefined;
112
- };
113
- } | {
114
- input: {
115
- id: string;
116
- accessRole: AccessRoleChoice.READER | AccessRoleChoice.WRITER | AccessRoleChoice.ADMIN | AccessRoleChoice.CUSTODIAN | AccessRoleChoice.OWNER;
117
- itemKeyId: string;
118
- wrappingKeyId: string;
119
- wrappedItemKey: string;
120
- plainMeta: string;
121
- };
122
- }>>;
123
- updateDetachedFileShare(options: UpdateDetachedItemShareOptions): Promise<import("./trusted-party.gql").UpdateFileShareMutationResult>;
124
- updateDetachedFileShareMutation(options: UpdateDetachedItemShareOptions): Promise<LrMutation<import("./trusted-party.gql").UpdateFileShareMutationResult, {
125
- input: {
126
- id: string;
127
- accessRole: AccessRoleChoice;
128
- plainMeta: string;
129
- };
130
- }>>;
131
- private getDirectoryShare;
132
- private getFileShare;
133
- private prepareUpdateItemShareMutation;
134
- private prepareUpdateDetachedItemShareMutation;
135
- deleteDirectoryShare(id: string): Promise<import("./trusted-party.gql").DeleteDirectoryShareMutationResult>;
136
- deleteDirectoryShareMutation(id: string): Promise<LrMutation<import("./trusted-party.gql").DeleteDirectoryShareMutationResult, {
137
- input: {
138
- id: string;
139
- };
140
- }>>;
141
- deleteFileShare(id: string): Promise<import("./trusted-party.gql").DeleteFileShareMutationResult>;
142
- deleteFileShareMutation(id: string): Promise<LrMutation<import("./trusted-party.gql").DeleteFileShareMutationResult, {
143
- input: {
144
- id: string;
145
- };
146
- }>>;
147
- completeDetachedDirectoryShare(options: CompleteDetachedItemShareOptions): Promise<import("./trusted-party.gql").CompleteDetachedDirectoryShareMutationResult>;
148
- completeDetachedDirectoryShareMutation(options: CompleteDetachedItemShareOptions): Promise<LrMutation<import("./trusted-party.gql").CompleteDetachedDirectoryShareMutationResult, {
149
- input: {
150
- id: string;
151
- keyId: string;
152
- wrappingKeyId: string;
153
- wrappedKey: string;
154
- };
155
- }>>;
156
- completeDetachedFileShare(options: CompleteDetachedItemShareOptions): Promise<import("./trusted-party.gql").CompleteDetachedFileShareMutationResult>;
157
- completeDetachedFileShareMutation(options: CompleteDetachedItemShareOptions): Promise<LrMutation<import("./trusted-party.gql").CompleteDetachedFileShareMutationResult, {
158
- input: {
159
- id: string;
160
- keyId: string;
161
- wrappingKeyId: string;
162
- wrappedKey: string;
163
- };
164
- }>>;
165
- private prepareCompleteDetachedItemShareMutation;
166
- requestMkReshareMutation(tpId: LrRelayIdInput): Promise<LrMutation<RequestTpMkReshareMutation, {
167
- input: {
168
- tpId: string;
169
- masterKeyId: string;
170
- mkPbk: string;
171
- mkWrappedMkPrk: string;
172
- sharedKeyId: string;
173
- mkReshareRequestCipher: string;
174
- };
175
- }>>;
176
- respondMkReshare(tpId: LrRelayIdInput): Promise<LrMutation<RespondTpMkReshareMutation, {
177
- input: {
178
- tpId: string;
179
- mkSharedKeyId: string;
180
- mkReshareResponseCipher: string;
181
- };
182
- }>>;
183
- completeMkReshare(tpId: LrRelayIdInput): Promise<LrMutation<CompleteTpMkReshareMutation, {
184
- input: {
185
- tpId: string;
186
- masterKeyId: string;
187
- mkSharedKeyId: string;
188
- mkWrappedMkSharedKey: string;
189
- };
190
- }>>;
191
- private getTpCurrentUserSharedKey;
192
- }
@@ -1,31 +0,0 @@
1
- import { AccessRoleChoice, JSONObject, LrRelayIdInput, ShareTypeChoice } from '../api/types';
2
- import { IdKeyPair } from '../item/item.types';
3
- export interface CreateItemShareOptions {
4
- tpId: LrRelayIdInput;
5
- accessRole: AccessRoleChoice;
6
- shareType: ShareTypeChoice;
7
- plainMetaJson?: JSONObject;
8
- item?: IdKeyPair;
9
- itemId?: LrRelayIdInput;
10
- itemKeyId?: LrRelayIdInput;
11
- tpSharedKeyId?: LrRelayIdInput;
12
- }
13
- export interface UpdateItemShareOptions {
14
- itemShareId: LrRelayIdInput;
15
- accessRole?: AccessRoleChoice;
16
- plainMetaJson?: JSONObject;
17
- item?: IdKeyPair;
18
- itemId?: LrRelayIdInput;
19
- itemKeyId?: LrRelayIdInput;
20
- tpId?: LrRelayIdInput;
21
- tpSharedKeyId?: LrRelayIdInput;
22
- }
23
- export interface UpdateDetachedItemShareOptions {
24
- itemShareId: LrRelayIdInput;
25
- accessRole?: AccessRoleChoice;
26
- plainMetaJson?: JSONObject;
27
- }
28
- export interface CompleteDetachedItemShareOptions {
29
- itemShareId: LrRelayIdInput;
30
- itemKeyId?: LrRelayIdInput;
31
- }
@@ -1,15 +0,0 @@
1
- import { AuthClass } from '@aws-amplify/auth/lib-esm/Auth';
2
- export declare class TwoFactorService {
3
- private auth;
4
- constructor(auth: AuthClass);
5
- getPreferredMFA(): Promise<string>;
6
- setPreferredMFA(method: 'TOTP' | 'SMS' | 'NOMFA'): Promise<void>;
7
- setPhoneNumber(phone: any): Promise<void>;
8
- getSMSCode(): Promise<void>;
9
- verifySMSCode(verificationCode: string): Promise<void>;
10
- getSoftwareToken(): Promise<{
11
- code: string;
12
- codeUri: string;
13
- }>;
14
- verifySoftwareToken(totpCode: string): Promise<void>;
15
- }
@@ -1,8 +0,0 @@
1
- import { HasKeyGraph } from '../key/key.types';
2
- import { User } from './user.types';
3
- export interface UserQueryType extends HasKeyGraph {
4
- user: User;
5
- }
6
- export declare const RequestUserDeleteMutation: import("graphql").DocumentNode;
7
- export declare const CancelUserDeleteMutation: import("graphql").DocumentNode;
8
- export declare const LoginHistoryQuery: import("graphql").DocumentNode;
@@ -1,9 +0,0 @@
1
- import { LrApolloService } from '../api/lr-apollo.service';
2
- import { UserDeleteNode } from '../api/types';
3
- export declare class UserService {
4
- private lrApollo;
5
- constructor(lrApollo: LrApolloService);
6
- requestUserDelete(): Promise<UserDeleteNode>;
7
- cancelUserDelete(): Promise<string>;
8
- loginHistory(first?: number, after?: string): Promise<any>;
9
- }
@@ -1,16 +0,0 @@
1
- import { Key } from '../key/key.types';
2
- export interface GetUserInput {
3
- email?: string;
4
- username?: string;
5
- }
6
- export interface User {
7
- id?: string;
8
- username?: string;
9
- haveTp: boolean;
10
- isCurrentUser: boolean;
11
- contactCards?: any;
12
- currentUserKey: {
13
- sigPxk?: Key;
14
- pxk?: Key;
15
- };
16
- }
@@ -1,5 +0,0 @@
1
- export declare class WebCryptoService {
2
- kcCrypto: Crypto;
3
- toHex(buffer: ArrayBuffer): string;
4
- stringDigest(algorithm: string, message: string): Promise<string>;
5
- }
@@ -1,16 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- export * from './public-api';
5
- export { RunOutsideAngular as ɵf } from './lib/_common/run-outside-angular';
6
- export { LrGraphQLService as ɵg, LrService as ɵe } from './lib/api/lr-graphql';
7
- export { EncryptionService as ɵb } from './lib/encryption/encryption.service';
8
- export { KeyFactoryService as ɵd } from './lib/key/key-factory.service';
9
- export { KeyGraphService as ɵa } from './lib/key/key-graph.service';
10
- export { KeyMetaService as ɵh } from './lib/key/key-meta.service';
11
- export { KeyService as ɵc } from './lib/key/key.service';
12
- export { ScenarioAssemblyController as ɵm } from './lib/scenario/scenario.controller';
13
- export { SharedContactCardFields as ɵk, SharedContactCardService as ɵl } from './lib/shared-contact-card/shared-contact-card.service';
14
- export { TpAssemblyController as ɵj } from './lib/tp-assembly/tp-assembly';
15
- export { TpPasswordResetAssemblyController as ɵi } from './lib/tp-password-reset/tp-password-reset.controller';
16
- export { TpPasswordResetPrivateService as ɵn } from './lib/tp-password-reset/tp-password-reset.private.service';