@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.
- package/fesm2022/lifeready-core.mjs +10522 -0
- package/fesm2022/lifeready-core.mjs.map +1 -0
- package/package.json +21 -16
- package/types/lifeready-core.d.ts +5329 -0
- package/bundles/lifeready-core.umd.js +0 -13231
- package/bundles/lifeready-core.umd.js.map +0 -1
- package/bundles/lifeready-core.umd.min.js +0 -2
- package/bundles/lifeready-core.umd.min.js.map +0 -1
- package/esm2015/lib/_common/ast.js +0 -41
- package/esm2015/lib/_common/deferred-promise.js +0 -24
- package/esm2015/lib/_common/exceptions.js +0 -186
- package/esm2015/lib/_common/index.js +0 -3
- package/esm2015/lib/_common/kc-lodash.js +0 -11
- package/esm2015/lib/_common/key.js +0 -28
- package/esm2015/lib/_common/queries.gql.js +0 -43
- package/esm2015/lib/_common/run-outside-angular.js +0 -80
- package/esm2015/lib/_common/storage.js +0 -28
- package/esm2015/lib/_common/types.js +0 -2
- package/esm2015/lib/_common/utils.js +0 -73
- package/esm2015/lib/api/lr-apollo.service.js +0 -47
- package/esm2015/lib/api/lr-graphql/index.js +0 -6
- package/esm2015/lib/api/lr-graphql/lr-graphql.service.js +0 -170
- package/esm2015/lib/api/lr-graphql/lr-merged-mutation.js +0 -216
- package/esm2015/lib/api/lr-graphql/lr-mutation-base.js +0 -51
- package/esm2015/lib/api/lr-graphql/lr-mutation.js +0 -91
- package/esm2015/lib/api/lr-graphql/lr.service.js +0 -18
- package/esm2015/lib/api/query-processor/common-processors.service.js +0 -94
- package/esm2015/lib/api/query-processor/index.js +0 -3
- package/esm2015/lib/api/query-processor/query-processor.service.js +0 -307
- package/esm2015/lib/api/query-processor/tp-password-reset-processor.service.js +0 -110
- package/esm2015/lib/api/types/graphql.types.js +0 -8
- package/esm2015/lib/api/types/index.js +0 -3
- package/esm2015/lib/api/types/lr-graphql.types.js +0 -182
- package/esm2015/lib/auth/auth.config.js +0 -57
- package/esm2015/lib/auth/auth.gql.private.js +0 -85
- package/esm2015/lib/auth/auth.service.js +0 -616
- package/esm2015/lib/auth/auth.types.js +0 -19
- package/esm2015/lib/contact-card/contact-card.gql.js +0 -79
- package/esm2015/lib/contact-card/contact-card.service.js +0 -156
- package/esm2015/lib/contact-card/contact-card2.gql.js +0 -29
- package/esm2015/lib/contact-card/contact-card2.service.js +0 -103
- package/esm2015/lib/encryption/encryption.service.js +0 -188
- package/esm2015/lib/file-upload/file-upload.service.js +0 -70
- package/esm2015/lib/file-upload/file-upload.types.js +0 -2
- package/esm2015/lib/idle/idle.service.js +0 -159
- package/esm2015/lib/idle/idle.types.js +0 -7
- package/esm2015/lib/item/item.gql.js +0 -166
- package/esm2015/lib/item/item.gql.private.js +0 -41
- package/esm2015/lib/item/item.service.js +0 -662
- package/esm2015/lib/item/item.types.js +0 -2
- package/esm2015/lib/key/key-factory.service.js +0 -226
- package/esm2015/lib/key/key-graph.service.js +0 -314
- package/esm2015/lib/key/key-meta.service.js +0 -153
- package/esm2015/lib/key/key.service.js +0 -124
- package/esm2015/lib/key/key.types.js +0 -16
- package/esm2015/lib/key-exchange/key-exchange.gql.js +0 -174
- package/esm2015/lib/key-exchange/key-exchange.service.js +0 -496
- package/esm2015/lib/lbop/lbop.service.js +0 -351
- package/esm2015/lib/life-ready.config.js +0 -96
- package/esm2015/lib/life-ready.module.js +0 -42
- package/esm2015/lib/lock/lock.gql.js +0 -40
- package/esm2015/lib/lock/lock.service.js +0 -64
- package/esm2015/lib/notification/notification.gql.js +0 -43
- package/esm2015/lib/notification/notification.service.js +0 -118
- package/esm2015/lib/password/password.gql.js +0 -28
- package/esm2015/lib/password/password.service.js +0 -309
- package/esm2015/lib/persist/persist.service.js +0 -181
- package/esm2015/lib/plan/plan.gql.js +0 -91
- package/esm2015/lib/plan/plan.service.js +0 -191
- package/esm2015/lib/plan/plan.types.js +0 -2
- package/esm2015/lib/profile/profile-details.service.js +0 -261
- package/esm2015/lib/profile/profile.gql.js +0 -170
- package/esm2015/lib/profile/profile.service.js +0 -166
- package/esm2015/lib/profile/profile.types.js +0 -45
- package/esm2015/lib/register/register.service.js +0 -173
- package/esm2015/lib/register/register.types.js +0 -3
- package/esm2015/lib/reminder/reminder.gql.js +0 -27
- package/esm2015/lib/reminder/reminder.service.js +0 -85
- package/esm2015/lib/reminder/reminder.types.js +0 -2
- package/esm2015/lib/scenario/scenario.constants.js +0 -2
- package/esm2015/lib/scenario/scenario.controller.js +0 -34
- package/esm2015/lib/scenario/scenario.gql.js +0 -90
- package/esm2015/lib/scenario/scenario.private.gql.js +0 -200
- package/esm2015/lib/scenario/scenario.service.js +0 -679
- package/esm2015/lib/scenario/scenario.types.js +0 -2
- package/esm2015/lib/server-config/server-config.gql.js +0 -9
- package/esm2015/lib/server-config/server-config.service.js +0 -41
- package/esm2015/lib/shared-contact-card/shared-contact-card.service.js +0 -119
- package/esm2015/lib/shared-contact-card/shared-contact-card2.gql.js +0 -41
- package/esm2015/lib/shared-contact-card/shared-contact-card2.service.js +0 -117
- package/esm2015/lib/slip39/slip39.service.js +0 -167
- package/esm2015/lib/time/time.service.js +0 -152
- package/esm2015/lib/tp-assembly/tp-assembly.js +0 -363
- package/esm2015/lib/tp-assembly/tp-assembly.private.gql.js +0 -22
- package/esm2015/lib/tp-assembly/tp-assembly.types.js +0 -2
- package/esm2015/lib/tp-password-reset/tp-password-reset-request.service.js +0 -98
- package/esm2015/lib/tp-password-reset/tp-password-reset-user.service.js +0 -121
- package/esm2015/lib/tp-password-reset/tp-password-reset.constants.js +0 -4
- package/esm2015/lib/tp-password-reset/tp-password-reset.controller.js +0 -34
- package/esm2015/lib/tp-password-reset/tp-password-reset.gql.js +0 -74
- package/esm2015/lib/tp-password-reset/tp-password-reset.private.gql.js +0 -166
- package/esm2015/lib/tp-password-reset/tp-password-reset.private.service.js +0 -54
- package/esm2015/lib/tp-password-reset/tp-password-reset.service.js +0 -110
- package/esm2015/lib/tp-password-reset/tp-password-reset.types.js +0 -2
- package/esm2015/lib/trusted-party/trusted-party.gql.js +0 -96
- package/esm2015/lib/trusted-party/trusted-party.gql.private.js +0 -51
- package/esm2015/lib/trusted-party/trusted-party.service.js +0 -461
- package/esm2015/lib/trusted-party/trusted-party.types.js +0 -2
- package/esm2015/lib/two-factor/two-factor.service.js +0 -74
- package/esm2015/lib/user/user.gql.js +0 -32
- package/esm2015/lib/user/user.service.js +0 -58
- package/esm2015/lib/user/user.types.js +0 -2
- package/esm2015/lib/web-crypto/web-crypto.service.js +0 -29
- package/esm2015/lifeready-core.js +0 -17
- package/esm2015/public-api.js +0 -60
- package/fesm2015/lifeready-core.js +0 -10970
- package/fesm2015/lifeready-core.js.map +0 -1
- package/lib/_common/ast.d.ts +0 -11
- package/lib/_common/deferred-promise.d.ts +0 -12
- package/lib/_common/exceptions.d.ts +0 -126
- package/lib/_common/index.d.ts +0 -2
- package/lib/_common/kc-lodash.d.ts +0 -5
- package/lib/_common/key.d.ts +0 -14
- package/lib/_common/queries.gql.d.ts +0 -4
- package/lib/_common/run-outside-angular.d.ts +0 -14
- package/lib/_common/storage.d.ts +0 -13
- package/lib/_common/types.d.ts +0 -15
- package/lib/_common/utils.d.ts +0 -12
- package/lib/api/lr-apollo.service.d.ts +0 -15
- package/lib/api/lr-graphql/index.d.ts +0 -5
- package/lib/api/lr-graphql/lr-graphql.service.d.ts +0 -81
- package/lib/api/lr-graphql/lr-merged-mutation.d.ts +0 -46
- package/lib/api/lr-graphql/lr-mutation-base.d.ts +0 -28
- package/lib/api/lr-graphql/lr-mutation.d.ts +0 -48
- package/lib/api/lr-graphql/lr.service.d.ts +0 -9
- package/lib/api/query-processor/common-processors.service.d.ts +0 -36
- package/lib/api/query-processor/index.d.ts +0 -2
- package/lib/api/query-processor/query-processor.service.d.ts +0 -18
- package/lib/api/query-processor/tp-password-reset-processor.service.d.ts +0 -15
- package/lib/api/types/graphql.types.d.ts +0 -30
- package/lib/api/types/index.d.ts +0 -2
- package/lib/api/types/lr-graphql.types.d.ts +0 -807
- package/lib/auth/auth.config.d.ts +0 -5
- package/lib/auth/auth.gql.private.d.ts +0 -25
- package/lib/auth/auth.service.d.ts +0 -72
- package/lib/auth/auth.types.d.ts +0 -70
- package/lib/contact-card/contact-card.gql.d.ts +0 -7
- package/lib/contact-card/contact-card.service.d.ts +0 -53
- package/lib/contact-card/contact-card2.gql.d.ts +0 -25
- package/lib/contact-card/contact-card2.service.d.ts +0 -64
- package/lib/encryption/encryption.service.d.ts +0 -42
- package/lib/file-upload/file-upload.service.d.ts +0 -15
- package/lib/file-upload/file-upload.types.d.ts +0 -5
- package/lib/idle/idle.service.d.ts +0 -47
- package/lib/idle/idle.types.d.ts +0 -10
- package/lib/item/item.gql.d.ts +0 -134
- package/lib/item/item.gql.private.d.ts +0 -35
- package/lib/item/item.service.d.ts +0 -201
- package/lib/item/item.types.d.ts +0 -95
- package/lib/key/key-factory.service.d.ts +0 -40
- package/lib/key/key-graph.service.d.ts +0 -41
- package/lib/key/key-meta.service.d.ts +0 -51
- package/lib/key/key.service.d.ts +0 -36
- package/lib/key/key.types.d.ts +0 -86
- package/lib/key-exchange/key-exchange.gql.d.ts +0 -141
- package/lib/key-exchange/key-exchange.service.d.ts +0 -179
- package/lib/lbop/lbop.service.d.ts +0 -99
- package/lib/life-ready.config.d.ts +0 -26
- package/lib/life-ready.module.d.ts +0 -5
- package/lib/lock/lock.gql.d.ts +0 -27
- package/lib/lock/lock.service.d.ts +0 -34
- package/lib/notification/notification.gql.d.ts +0 -37
- package/lib/notification/notification.service.d.ts +0 -64
- package/lib/password/password.gql.d.ts +0 -3
- package/lib/password/password.service.d.ts +0 -79
- package/lib/persist/persist.service.d.ts +0 -31
- package/lib/plan/plan.gql.d.ts +0 -69
- package/lib/plan/plan.service.d.ts +0 -111
- package/lib/plan/plan.types.d.ts +0 -16
- package/lib/profile/profile-details.service.d.ts +0 -20
- package/lib/profile/profile.gql.d.ts +0 -21
- package/lib/profile/profile.service.d.ts +0 -32
- package/lib/profile/profile.types.d.ts +0 -121
- package/lib/register/register.service.d.ts +0 -25
- package/lib/register/register.types.d.ts +0 -6
- package/lib/reminder/reminder.gql.d.ts +0 -23
- package/lib/reminder/reminder.service.d.ts +0 -33
- package/lib/reminder/reminder.types.d.ts +0 -17
- package/lib/scenario/scenario.constants.d.ts +0 -1
- package/lib/scenario/scenario.controller.d.ts +0 -10
- package/lib/scenario/scenario.gql.d.ts +0 -78
- package/lib/scenario/scenario.private.gql.d.ts +0 -16
- package/lib/scenario/scenario.service.d.ts +0 -655
- package/lib/scenario/scenario.types.d.ts +0 -64
- package/lib/server-config/server-config.gql.d.ts +0 -5
- package/lib/server-config/server-config.service.d.ts +0 -9
- package/lib/shared-contact-card/shared-contact-card.service.d.ts +0 -33
- package/lib/shared-contact-card/shared-contact-card2.gql.d.ts +0 -36
- package/lib/shared-contact-card/shared-contact-card2.service.d.ts +0 -45
- package/lib/slip39/slip39.service.d.ts +0 -42
- package/lib/time/time.service.d.ts +0 -26
- package/lib/tp-assembly/tp-assembly.d.ts +0 -177
- package/lib/tp-assembly/tp-assembly.private.gql.d.ts +0 -5
- package/lib/tp-assembly/tp-assembly.types.d.ts +0 -40
- package/lib/tp-password-reset/tp-password-reset-request.service.d.ts +0 -16
- package/lib/tp-password-reset/tp-password-reset-user.service.d.ts +0 -29
- package/lib/tp-password-reset/tp-password-reset.constants.d.ts +0 -3
- package/lib/tp-password-reset/tp-password-reset.controller.d.ts +0 -10
- package/lib/tp-password-reset/tp-password-reset.gql.d.ts +0 -63
- package/lib/tp-password-reset/tp-password-reset.private.gql.d.ts +0 -163
- package/lib/tp-password-reset/tp-password-reset.private.service.d.ts +0 -59
- package/lib/tp-password-reset/tp-password-reset.service.d.ts +0 -112
- package/lib/tp-password-reset/tp-password-reset.types.d.ts +0 -40
- package/lib/trusted-party/trusted-party.gql.d.ts +0 -85
- package/lib/trusted-party/trusted-party.gql.private.d.ts +0 -40
- package/lib/trusted-party/trusted-party.service.d.ts +0 -192
- package/lib/trusted-party/trusted-party.types.d.ts +0 -31
- package/lib/two-factor/two-factor.service.d.ts +0 -15
- package/lib/user/user.gql.d.ts +0 -8
- package/lib/user/user.service.d.ts +0 -9
- package/lib/user/user.types.d.ts +0 -16
- package/lib/web-crypto/web-crypto.service.d.ts +0 -5
- package/lifeready-core.d.ts +0 -16
- package/lifeready-core.metadata.json +0 -1
- 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
|
-
}
|
package/lib/user/user.gql.d.ts
DELETED
|
@@ -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
|
-
}
|
package/lib/user/user.types.d.ts
DELETED
|
@@ -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
|
-
}
|
package/lifeready-core.d.ts
DELETED
|
@@ -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';
|