@lifeready/core 9.0.8 → 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,163 +0,0 @@
1
- import { GenericScalar, ID } from '../api/types';
2
- import { DateTime, JSONObject } from '../api/types/graphql.types';
3
- import { TpClaimApproverState, TpClaimState } from '../api/types/lr-graphql.types';
4
- export interface SharedTpPasswordResetFragmentResult {
5
- id: ID;
6
- tp: {
7
- id: ID;
8
- other: {
9
- username: string;
10
- };
11
- };
12
- assembly: {
13
- asApprovers: {
14
- edges: {
15
- node: {
16
- id: ID;
17
- sharedKey: {
18
- id: ID;
19
- };
20
- sharedCipherData: string;
21
- sharedCipherDataClearJson: JSONObject;
22
- };
23
- }[];
24
- };
25
- };
26
- sharedRequest: {
27
- id: ID;
28
- pxk: {
29
- id: ID;
30
- pbk: string;
31
- };
32
- claim: {
33
- id: ID;
34
- state: TpClaimState;
35
- asClaimApprovers: {
36
- edges: {
37
- node: {
38
- id: ID;
39
- state: TpClaimApproverState;
40
- sharedKey: {
41
- id: ID;
42
- };
43
- sharedCipherApprovalData: string;
44
- sharedCipherApprovalDataClearJson: JSONObject;
45
- sharedCipherPartialAssemblyKey: string;
46
- sharedCipherPartialAssemblyKeyClearJson: JSONObject;
47
- receiverApprovals: {
48
- edges: {
49
- node: {
50
- id: ID;
51
- };
52
- }[];
53
- };
54
- };
55
- }[];
56
- };
57
- };
58
- };
59
- }
60
- export interface SharedTpPasswordResetsQueryResult {
61
- sharedTpPasswordResets: {
62
- edges: {
63
- node: SharedTpPasswordResetFragmentResult;
64
- }[];
65
- };
66
- }
67
- export declare const SharedTpPasswordResetsQuery: import("../_common/ast").TypedDocumentNode<SharedTpPasswordResetsQueryResult>;
68
- export interface SharedTpPasswordResetQueryResult {
69
- sharedTpPasswordReset: SharedTpPasswordResetFragmentResult;
70
- }
71
- export declare const SharedTpPasswordResetQuery: import("../_common/ast").TypedDocumentNode<SharedTpPasswordResetQueryResult>;
72
- export interface TpPasswordResetUserQueryResult {
73
- tpPasswordResetUser: {
74
- username: string;
75
- resetUsername: string;
76
- state: TpClaimState;
77
- passKey: {
78
- id: ID;
79
- passKeyParams: GenericScalar;
80
- passIdpParams: GenericScalar;
81
- };
82
- masterKey: {
83
- id: ID;
84
- };
85
- pxk: {
86
- id: ID;
87
- };
88
- sessionEncryptionKey: string;
89
- assembly: {
90
- singleReject: boolean;
91
- quorum: number;
92
- subAssemblies: {
93
- singleReject: boolean;
94
- quorum: number;
95
- approvers: {
96
- name: string;
97
- email: string;
98
- state: TpClaimApproverState;
99
- }[];
100
- }[];
101
- };
102
- approvals: {
103
- id: ID;
104
- modified: DateTime;
105
- approverEmail: string;
106
- receiverCipher: string;
107
- receiverCipherPartialAssemblyKey: string;
108
- }[];
109
- assemblyCipherData: string;
110
- wrappedAssemblyKeyVerifierPrk: string;
111
- requestAgainAfter: DateTime;
112
- };
113
- }
114
- export declare const TpPasswordResetUserQuery: import("../_common/ast").TypedDocumentNode<TpPasswordResetUserQueryResult>;
115
- export interface TpPasswordResetQueryResult {
116
- tpPasswordReset: {
117
- id: ID;
118
- applied: boolean;
119
- assembly: {
120
- singleReject: boolean;
121
- quorum: number;
122
- canMeetQuorum: boolean;
123
- subjectCipherData: string;
124
- subjectCipherDataClearJson: JSONObject;
125
- subjectKey: {
126
- id: ID;
127
- };
128
- assemblyKey: {
129
- id: ID;
130
- };
131
- assemblyCipherData: string;
132
- subAssemblies: {
133
- edges: {
134
- node: {
135
- id: ID;
136
- singleReject: boolean;
137
- quorum: number;
138
- subjectCipherData: string;
139
- subjectCipherDataClearJson: JSONObject;
140
- subjectKey: {
141
- id: ID;
142
- };
143
- approvers: {
144
- edges: {
145
- node: {
146
- id: ID;
147
- tp: {
148
- id: ID;
149
- };
150
- sharedKey: {
151
- id: ID;
152
- };
153
- sharedCipherData: string;
154
- };
155
- }[];
156
- };
157
- };
158
- }[];
159
- };
160
- };
161
- };
162
- }
163
- export declare const TpPasswordResetQuery: import("../_common/ast").TypedDocumentNode<TpPasswordResetQueryResult>;
@@ -1,59 +0,0 @@
1
- import { Injector, NgZone } from '@angular/core';
2
- import { LrService } from '../api/lr-graphql';
3
- export declare class TpPasswordResetPrivateService extends LrService {
4
- private ngZone;
5
- private injector;
6
- constructor(ngZone: NgZone, injector: Injector);
7
- getReset(): Promise<{
8
- id: string;
9
- applied: boolean;
10
- assembly: {
11
- singleReject: boolean;
12
- quorum: number;
13
- canMeetQuorum: boolean;
14
- subjectCipherData: string;
15
- subjectCipherDataClearJson: any;
16
- subjectKey: {
17
- id: string;
18
- };
19
- assemblyKey: {
20
- id: string;
21
- };
22
- assemblyCipherData: string;
23
- subAssemblies: {
24
- edges: {
25
- node: {
26
- id: string;
27
- singleReject: boolean;
28
- quorum: number;
29
- subjectCipherData: string;
30
- subjectCipherDataClearJson: any;
31
- subjectKey: {
32
- id: string;
33
- };
34
- approvers: {
35
- edges: {
36
- node: {
37
- id: string;
38
- tp: {
39
- id: string;
40
- };
41
- sharedKey: {
42
- id: string;
43
- };
44
- sharedCipherData: string;
45
- };
46
- }[];
47
- };
48
- };
49
- }[];
50
- };
51
- };
52
- }>;
53
- getSharedResets(): Promise<{
54
- edges: {
55
- node: import("./tp-password-reset.private.gql").SharedTpPasswordResetFragmentResult;
56
- }[];
57
- }>;
58
- getSharedReset(id: any): Promise<import("./tp-password-reset.private.gql").SharedTpPasswordResetFragmentResult>;
59
- }
@@ -1,112 +0,0 @@
1
- import { Injector, NgZone } from '@angular/core';
2
- import { LrMutation, LrService } from '../api/lr-graphql';
3
- import { TpNode } from '../api/types';
4
- import { CreateTpAssemblyInput, UpdateTpAssemblyInput } from '../tp-assembly/tp-assembly.types';
5
- import { TpPasswordResetAssemblyController } from './tp-password-reset.controller';
6
- import { TpPasswordResetPrivateService } from './tp-password-reset.private.service';
7
- export declare class TpPasswordResetService extends LrService {
8
- private ngZone;
9
- private injector;
10
- private privateService;
11
- private assemblyController;
12
- slip39Passphrase: string;
13
- constructor(ngZone: NgZone, injector: Injector, privateService: TpPasswordResetPrivateService, assemblyController: TpPasswordResetAssemblyController);
14
- cancelResetRequest(): Promise<import("./tp-password-reset.gql").CancelTpPasswordResetRequestMutationResult>;
15
- cancelResetRequestMutation(): LrMutation<import("./tp-password-reset.gql").CancelTpPasswordResetRequestMutationResult, Record<string, any>>;
16
- deleteReset(): Promise<import("./tp-password-reset.gql").DeleteTpPasswordResetMutationResult>;
17
- deleteResetMutation(): LrMutation<import("./tp-password-reset.gql").DeleteTpPasswordResetMutationResult, Record<string, any>>;
18
- validateApprovers(approvers: TpNode[]): void;
19
- createReset(input: CreateTpAssemblyInput): Promise<import("./tp-password-reset.gql").CreateTpPasswordResetMutationResult>;
20
- createResetMutation(input: CreateTpAssemblyInput): Promise<LrMutation<import("./tp-password-reset.gql").CreateTpPasswordResetMutationResult, {
21
- input: {
22
- assembly: {
23
- singleReject: boolean;
24
- quorum: number;
25
- subjectCipherData: string;
26
- createSubAssemblies: {
27
- singleReject: boolean;
28
- quorum: number;
29
- subjectCipherData: string;
30
- createApprovers: {
31
- tpWrappingKeyId: string;
32
- tpWrappedSharedKey: string;
33
- subjectKeyWrappedSharedKey: string;
34
- sharedCipherData: string;
35
- sharedCipherApprovalData: string;
36
- sharedCipherPartialAssemblyKey: string;
37
- approverId: string;
38
- tpId: string;
39
- }[];
40
- }[];
41
- rootKeyId: string;
42
- rootKeyWrappedSubjectKey: string;
43
- subjectKeyWrappedAssemblyKey: string;
44
- assemblyCipherData: string;
45
- assemblyKeyVerifierPbk: string;
46
- wrappedAssemblyKeyVerifierPrk: string;
47
- };
48
- };
49
- }>>;
50
- updateReset(input: UpdateTpAssemblyInput): Promise<import("./tp-password-reset.gql").UpdateTpPasswordResetMutationResult>;
51
- updateResetMutation(input: UpdateTpAssemblyInput): Promise<LrMutation<import("./tp-password-reset.gql").UpdateTpPasswordResetMutationResult, {
52
- input: {
53
- assembly: {
54
- singleReject: boolean;
55
- quorum: number;
56
- subjectCipherData: string;
57
- subjectKeyId: string;
58
- createSubAssemblies: {
59
- singleReject: boolean;
60
- quorum: number;
61
- subjectCipherData: string;
62
- createApprovers: {
63
- tpWrappingKeyId: string;
64
- tpWrappedSharedKey: string;
65
- subjectKeyWrappedSharedKey: string;
66
- sharedCipherData: string;
67
- sharedCipherApprovalData: string;
68
- sharedCipherPartialAssemblyKey: string;
69
- approverId: string;
70
- tpId: string;
71
- }[];
72
- }[];
73
- updateSubAssemblies: {
74
- subAssemblyId: string;
75
- singleReject: boolean;
76
- quorum: number;
77
- subjectCipherData: string;
78
- createApprovers: {
79
- tpWrappingKeyId: string;
80
- tpWrappedSharedKey: string;
81
- subjectKeyWrappedSharedKey: string;
82
- sharedCipherData: string;
83
- sharedCipherApprovalData: string;
84
- sharedCipherPartialAssemblyKey: string;
85
- approverId: string;
86
- tpId: string;
87
- }[];
88
- updateApprovers: {
89
- tpWrappingKeyId: string;
90
- tpWrappedSharedKey: string;
91
- subjectKeyWrappedSharedKey: string;
92
- sharedCipherData: string;
93
- sharedCipherApprovalData: string;
94
- sharedCipherPartialAssemblyKey: string;
95
- approverId: string;
96
- tpId: string;
97
- }[];
98
- }[];
99
- subjectKeyWrappedAssemblyKey: string;
100
- assemblyCipherData: string;
101
- assemblyKeyVerifierPbk: string;
102
- wrappedAssemblyKeyVerifierPrk: string;
103
- };
104
- };
105
- }>>;
106
- debugExpireResetRequest(username: string): Promise<import("../scenario/scenario.gql").DebugExpireTpPasswordResetRequestMutationResult>;
107
- debugExpireResetRequestMutation(username: string): Promise<LrMutation<import("../scenario/scenario.gql").DebugExpireTpPasswordResetRequestMutationResult, {
108
- input: {
109
- username: string;
110
- };
111
- }>>;
112
- }
@@ -1,40 +0,0 @@
1
- import { JSONObject } from '../api/types';
2
- import { Key } from '../key/key.types';
3
- export interface TpAssemblyApprover {
4
- id: string;
5
- tp: {
6
- id: string;
7
- };
8
- sharedKey: Key;
9
- sharedCipherData?: string;
10
- sharedCipherDataClearJson?: JSONObject;
11
- sharedCipherApprovalData?: string;
12
- sharedCipherApprovalDataClearJson?: JSONObject;
13
- }
14
- export interface TpSubAssembly {
15
- id: string;
16
- singleReject: boolean;
17
- quorum: number;
18
- subjectCipherData: string;
19
- subjectCipherDataClearJson: JSONObject;
20
- approvers: TpAssemblyApprover[];
21
- }
22
- export interface TpAssembly {
23
- singleReject: boolean;
24
- quorum: number;
25
- subjectKey: Key;
26
- assemblyKey: Key;
27
- assemblyCipherData: string;
28
- plainAssemblyCipherData: JSONObject;
29
- subAssemblies: TpSubAssembly[];
30
- }
31
- export interface TpPasswordReset {
32
- id: string;
33
- assembly: TpAssembly;
34
- applied: boolean;
35
- }
36
- export interface RequestResetResult {
37
- id: string;
38
- associate_reset_user_token: string;
39
- reset_username: string;
40
- }
@@ -1,85 +0,0 @@
1
- import { ID } from '../api/types';
2
- export interface DeleteTpMutation {
3
- deleteTp: {
4
- id: ID;
5
- };
6
- }
7
- export declare const DeleteTpMutation: import("../_common/ast").TypedDocumentNode<DeleteTpMutation>;
8
- export interface CreateDirectoryShareMutationResult {
9
- createDirectoryShare: {
10
- directoryShare: {
11
- id: ID;
12
- };
13
- };
14
- }
15
- export declare const CreateDirectoryShareMutation: import("../_common/ast").TypedDocumentNode<CreateDirectoryShareMutationResult>;
16
- export interface CreateFileShareMutationResult {
17
- createFileShare: {
18
- fileShare: {
19
- id: ID;
20
- };
21
- };
22
- }
23
- export declare const CreateFileShareMutation: import("../_common/ast").TypedDocumentNode<CreateFileShareMutationResult>;
24
- export interface UpdateDirectoryShareMutationResult {
25
- updateDirectoryShare: {
26
- directoryShare: {
27
- id: ID;
28
- };
29
- };
30
- }
31
- export declare const UpdateDirectoryShareMutation: import("../_common/ast").TypedDocumentNode<UpdateDirectoryShareMutationResult>;
32
- export interface UpdateFileShareMutationResult {
33
- updateFileShare: {
34
- fileShare: {
35
- id: ID;
36
- };
37
- };
38
- }
39
- export declare const UpdateFileShareMutation: import("../_common/ast").TypedDocumentNode<UpdateFileShareMutationResult>;
40
- export interface DeleteDirectoryShareMutationResult {
41
- deleteDirectoryShare: {
42
- id: ID;
43
- };
44
- }
45
- export declare const DeleteDirectoryShareMutation: import("../_common/ast").TypedDocumentNode<DeleteDirectoryShareMutationResult>;
46
- export interface DeleteFileShareMutationResult {
47
- deleteFileShare: {
48
- id: ID;
49
- };
50
- }
51
- export declare const DeleteFileShareMutation: import("../_common/ast").TypedDocumentNode<DeleteFileShareMutationResult>;
52
- export interface CompleteDetachedDirectoryShareMutationResult {
53
- completeDetachedDirectoryShare: {
54
- directoryShare: {
55
- id: ID;
56
- };
57
- };
58
- }
59
- export declare const CompleteDetachedDirectoryShareMutation: import("../_common/ast").TypedDocumentNode<CompleteDetachedDirectoryShareMutationResult>;
60
- export interface CompleteDetachedFileShareMutationResult {
61
- completeDetachedDirectoryShare: {
62
- directoryShare: {
63
- id: ID;
64
- };
65
- };
66
- }
67
- export declare const CompleteDetachedFileShareMutation: import("../_common/ast").TypedDocumentNode<CompleteDetachedFileShareMutationResult>;
68
- export interface RequestTpMkReshareMutation {
69
- requestTpMkReshare: {
70
- id: ID;
71
- };
72
- }
73
- export declare const RequestTpMkReshareMutation: import("../_common/ast").TypedDocumentNode<RequestTpMkReshareMutation>;
74
- export interface RespondTpMkReshareMutation {
75
- respondTpMkReshare: {
76
- id: ID;
77
- };
78
- }
79
- export declare const RespondTpMkReshareMutation: import("../_common/ast").TypedDocumentNode<RespondTpMkReshareMutation>;
80
- export interface CompleteTpMkReshareMutation {
81
- completeTpMkReshare: {
82
- id: ID;
83
- };
84
- }
85
- export declare const CompleteTpMkReshareMutation: import("../_common/ast").TypedDocumentNode<CompleteTpMkReshareMutation>;
@@ -1,40 +0,0 @@
1
- import { ID, ShareTypeChoice } from '../api/types';
2
- export interface TpCurrentUserSharedKeyQuery {
3
- tp: {
4
- currentUserSharedKey: {
5
- userSharedKey: {
6
- sharedKey: {
7
- id: ID;
8
- };
9
- mkSharedKey: {
10
- id: ID;
11
- };
12
- mkPxk: {
13
- id: ID;
14
- };
15
- mkReshareRequestCipher: string;
16
- mkReshareRequestSent: boolean;
17
- mkReshareResponseCipher: string;
18
- mkReshareResponseSent: boolean;
19
- };
20
- };
21
- };
22
- }
23
- export declare const TpCurrentUserSharedKeyQuery: import("../_common/ast").TypedDocumentNode<TpCurrentUserSharedKeyQuery>;
24
- export interface ItemShareQueryResult {
25
- item: {
26
- id: string;
27
- };
28
- tp: {
29
- id: string;
30
- };
31
- shareType: ShareTypeChoice;
32
- }
33
- export interface DirectoryShareQueryResult {
34
- directoryShare: ItemShareQueryResult;
35
- }
36
- export declare const DirectoryShareQuery: import("../_common/ast").TypedDocumentNode<DirectoryShareQueryResult>;
37
- export interface FileShareQueryResult {
38
- fileShare: ItemShareQueryResult;
39
- }
40
- export declare const FileShareQuery: import("../_common/ast").TypedDocumentNode<FileShareQueryResult>;