@lifeready/core 1.1.11 → 1.1.12
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/bundles/lifeready-core.umd.js +72 -104
- package/bundles/lifeready-core.umd.js.map +1 -1
- package/bundles/lifeready-core.umd.min.js +1 -1
- package/bundles/lifeready-core.umd.min.js.map +1 -1
- package/esm2015/lib/item2/item2.gql.js +19 -1
- package/esm2015/lib/item2/item2.service.js +43 -14
- package/esm2015/lib/item2/item2.types.js +1 -1
- package/esm2015/lib/trusted-party/trusted-party.service.js +1 -20
- package/esm2015/lib/user/user.gql.js +1 -29
- package/esm2015/lib/user/user.service.js +2 -24
- package/fesm2015/lifeready-core.js +60 -82
- package/fesm2015/lifeready-core.js.map +1 -1
- package/lib/item2/item2.gql.d.ts +17 -1
- package/lib/item2/item2.service.d.ts +24 -7
- package/lib/item2/item2.types.d.ts +6 -0
- package/lib/trusted-party/trusted-party.service.d.ts +1 -2
- package/lib/user/user.gql.d.ts +1 -2
- package/lib/user/user.service.d.ts +0 -4
- package/lifeready-core.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -7957,14 +7957,16 @@
|
|
|
7957
7957
|
var RevertFileMutation = gqlTyped(templateObject_6$6 || (templateObject_6$6 = __makeTemplateObject(["\nmutation RevertFileMutation($input: RevertFileInput!) {\n revertFile(input: $input) {\n file {\n id\n }\n }\n}\n"], ["\nmutation RevertFileMutation($input: RevertFileInput!) {\n revertFile(input: $input) {\n file {\n id\n }\n }\n}\n"])));
|
|
7958
7958
|
var DeleteFileMutation$1 = gqlTyped(templateObject_7$5 || (templateObject_7$5 = __makeTemplateObject(["\nmutation DeleteFileMutation($input: DeleteFileInput!) {\n deleteFile(input: $input) {\n id\n }\n}\n"], ["\nmutation DeleteFileMutation($input: DeleteFileInput!) {\n deleteFile(input: $input) {\n id\n }\n}\n"])));
|
|
7959
7959
|
var ArchiveDirectoryMutation$1 = gqlTyped(templateObject_8$5 || (templateObject_8$5 = __makeTemplateObject(["\nmutation ArchiveDirectoryMutation($input: ArchiveDirectoryInput!) {\n archiveDirectory(input: $input) {\n directory {\n id\n }\n }\n}\n"], ["\nmutation ArchiveDirectoryMutation($input: ArchiveDirectoryInput!) {\n archiveDirectory(input: $input) {\n directory {\n id\n }\n }\n}\n"])));
|
|
7960
|
-
var
|
|
7961
|
-
var
|
|
7962
|
-
var
|
|
7963
|
-
var
|
|
7964
|
-
var
|
|
7965
|
-
var
|
|
7966
|
-
var
|
|
7967
|
-
var
|
|
7960
|
+
var ArchiveFileMutation = gqlTyped(templateObject_9$3 || (templateObject_9$3 = __makeTemplateObject(["\nmutation ArchiveFileMutation($input: ArchiveFileInput!) {\n archiveFile(input: $input) {\n file {\n id\n }\n }\n}\n"], ["\nmutation ArchiveFileMutation($input: ArchiveFileInput!) {\n archiveFile(input: $input) {\n file {\n id\n }\n }\n}\n"])));
|
|
7961
|
+
var UnarchiveDirectoryMutation$1 = gqlTyped(templateObject_10$2 || (templateObject_10$2 = __makeTemplateObject(["\nmutation UnarchiveDirectoryMutation($input: UnarchiveDirectoryInput!) {\n unarchiveDirectory(input: $input) {\n directory {\n id\n }\n }\n}\n"], ["\nmutation UnarchiveDirectoryMutation($input: UnarchiveDirectoryInput!) {\n unarchiveDirectory(input: $input) {\n directory {\n id\n }\n }\n}\n"])));
|
|
7962
|
+
var UnarchiveFileMutation = gqlTyped(templateObject_11$1 || (templateObject_11$1 = __makeTemplateObject(["\nmutation UnarchiveFileMutation($input: UnarchiveFileInput!) {\n unarchiveFile(input: $input) {\n file {\n id\n }\n }\n}\n"], ["\nmutation UnarchiveFileMutation($input: UnarchiveFileInput!) {\n unarchiveFile(input: $input) {\n file {\n id\n }\n }\n}\n"])));
|
|
7963
|
+
var ChangeDirectoryParentsMutation = gqlTyped(templateObject_12$1 || (templateObject_12$1 = __makeTemplateObject(["\nmutation ChangeDirectoryParentsMutation($input: ChangeDirectoryParentsInput!) {\n changeDirectoryParents(input: $input) {\n directory {\n id\n }\n }\n}\n"], ["\nmutation ChangeDirectoryParentsMutation($input: ChangeDirectoryParentsInput!) {\n changeDirectoryParents(input: $input) {\n directory {\n id\n }\n }\n}\n"])));
|
|
7964
|
+
var ChangeFileParentsMutation = gqlTyped(templateObject_13$1 || (templateObject_13$1 = __makeTemplateObject(["\nmutation ChangeFileParentsMutation($input: ChangeFileParentsInput!) {\n changeFileParents(input: $input) {\n file {\n id\n }\n }\n}\n"], ["\nmutation ChangeFileParentsMutation($input: ChangeFileParentsInput!) {\n changeFileParents(input: $input) {\n file {\n id\n }\n }\n}\n"])));
|
|
7965
|
+
var BeginDeleteChildItemLinksWindowMutation = gqlTyped(templateObject_14 || (templateObject_14 = __makeTemplateObject(["\nmutation BeginDeleteChildItemLinksWindowMutation($input: BeginDeleteChildItemLinksWindowInput!) {\n beginDeleteChildItemLinksWindow(input: $input) {\n begin\n end\n scheduled\n windowMs\n directory {\n id\n }\n }\n}\n"], ["\nmutation BeginDeleteChildItemLinksWindowMutation($input: BeginDeleteChildItemLinksWindowInput!) {\n beginDeleteChildItemLinksWindow(input: $input) {\n begin\n end\n scheduled\n windowMs\n directory {\n id\n }\n }\n}\n"])));
|
|
7966
|
+
var TempDirectoryQuery = gqlTyped(templateObject_15 || (templateObject_15 = __makeTemplateObject(["\nquery TempDirectoryQuery($plainMeta: LrJSONFilter!) {\n rootDirectories(plainMeta: $plainMeta, first: 2, orderBy: \"created\") {\n edges {\n node {\n id\n keyId\n }\n }\n }\n lock {\n version\n }\n}\n"], ["\nquery TempDirectoryQuery($plainMeta: LrJSONFilter!) {\n rootDirectories(plainMeta: $plainMeta, first: 2, orderBy: \"created\") {\n edges {\n node {\n id\n keyId\n }\n }\n }\n lock {\n version\n }\n}\n"])));
|
|
7967
|
+
var SetFileConfidentialMutation = gqlTyped(templateObject_16 || (templateObject_16 = __makeTemplateObject(["\nmutation SetFileConfidentialMutation($input: SetFileConfidentialInput!) {\n setFileConfidential(input: $input) {\n file {\n id\n }\n }\n}\n"], ["\nmutation SetFileConfidentialMutation($input: SetFileConfidentialInput!) {\n setFileConfidential(input: $input) {\n file {\n id\n }\n }\n}\n"])));
|
|
7968
|
+
var SetDirectoryConfidentialMutation = gqlTyped(templateObject_17 || (templateObject_17 = __makeTemplateObject(["\nmutation SetDirectoryConfidentialMutation($input: SetDirectoryConfidentialInput!) {\n setDirectoryConfidential(input: $input) {\n directory {\n id\n }\n }\n}\n"], ["\nmutation SetDirectoryConfidentialMutation($input: SetDirectoryConfidentialInput!) {\n setDirectoryConfidential(input: $input) {\n directory {\n id\n }\n }\n}\n"])));
|
|
7969
|
+
var templateObject_1$g, templateObject_2$d, templateObject_3$b, templateObject_4$8, templateObject_5$7, templateObject_6$6, templateObject_7$5, templateObject_8$5, templateObject_9$3, templateObject_10$2, templateObject_11$1, templateObject_12$1, templateObject_13$1, templateObject_14, templateObject_15, templateObject_16, templateObject_17;
|
|
7968
7970
|
|
|
7969
7971
|
var DirectoryKeyQuery = gqlTyped(templateObject_1$h || (templateObject_1$h = __makeTemplateObject(["\nquery DirectoryKeyQuery($id: LrRelayIdInput!) {\n directory(id: $id) {\n keyId\n }\n}\n"], ["\nquery DirectoryKeyQuery($id: LrRelayIdInput!) {\n directory(id: $id) {\n keyId\n }\n}\n"])));
|
|
7970
7972
|
var FileKeyQuery = gqlTyped(templateObject_2$e || (templateObject_2$e = __makeTemplateObject(["\nquery FileKeyQuery($id: LrRelayIdInput!) {\n file(id: $id) {\n keyId\n }\n}\n"], ["\nquery FileKeyQuery($id: LrRelayIdInput!) {\n file(id: $id) {\n keyId\n }\n}\n"])));
|
|
@@ -8204,36 +8206,65 @@
|
|
|
8204
8206
|
},
|
|
8205
8207
|
});
|
|
8206
8208
|
};
|
|
8207
|
-
Item2Service.prototype.archiveDirectoryExec = function (directoryId,
|
|
8208
|
-
return this.mutate(this.archiveDirectoryMutation(directoryId,
|
|
8209
|
+
Item2Service.prototype.archiveDirectoryExec = function (directoryId, options) {
|
|
8210
|
+
return this.mutate(this.archiveDirectoryMutation(directoryId, options));
|
|
8209
8211
|
};
|
|
8210
|
-
Item2Service.prototype.archiveDirectory = function (directoryId,
|
|
8211
|
-
return this.archiveDirectoryMutation(directoryId,
|
|
8212
|
+
Item2Service.prototype.archiveDirectory = function (directoryId, options) {
|
|
8213
|
+
return this.archiveDirectoryMutation(directoryId, options);
|
|
8212
8214
|
};
|
|
8213
|
-
Item2Service.prototype.archiveDirectoryMutation = function (directoryId,
|
|
8215
|
+
Item2Service.prototype.archiveDirectoryMutation = function (directoryId, options) {
|
|
8214
8216
|
return new LrMutation({
|
|
8215
8217
|
mutation: ArchiveDirectoryMutation$1,
|
|
8216
8218
|
variables: {
|
|
8217
8219
|
input: {
|
|
8218
8220
|
directoryId: directoryId,
|
|
8219
|
-
recursive: recursive,
|
|
8221
|
+
recursive: options.recursive,
|
|
8220
8222
|
},
|
|
8221
8223
|
},
|
|
8222
8224
|
});
|
|
8223
8225
|
};
|
|
8224
|
-
Item2Service.prototype.
|
|
8225
|
-
return this.mutate(this.
|
|
8226
|
+
Item2Service.prototype.archiveFileExec = function (fileId) {
|
|
8227
|
+
return this.mutate(this.archiveFileMutation(fileId));
|
|
8226
8228
|
};
|
|
8227
|
-
Item2Service.prototype.
|
|
8228
|
-
return
|
|
8229
|
+
Item2Service.prototype.archiveFileMutation = function (fileId) {
|
|
8230
|
+
return new LrMutation({
|
|
8231
|
+
mutation: ArchiveFileMutation,
|
|
8232
|
+
variables: {
|
|
8233
|
+
input: {
|
|
8234
|
+
fileId: fileId,
|
|
8235
|
+
},
|
|
8236
|
+
},
|
|
8237
|
+
});
|
|
8238
|
+
};
|
|
8239
|
+
Item2Service.prototype.unarchiveDirectoryExec = function (directoryId, options) {
|
|
8240
|
+
return this.mutate(this.unarchiveDirectoryMutation(directoryId, options));
|
|
8241
|
+
};
|
|
8242
|
+
Item2Service.prototype.unarchiveDirectory = function (directoryId, options) {
|
|
8243
|
+
return this.unarchiveDirectoryMutation(directoryId, options);
|
|
8229
8244
|
};
|
|
8230
|
-
Item2Service.prototype.unarchiveDirectoryMutation = function (directoryId,
|
|
8245
|
+
Item2Service.prototype.unarchiveDirectoryMutation = function (directoryId, options) {
|
|
8231
8246
|
return new LrMutation({
|
|
8232
8247
|
mutation: UnarchiveDirectoryMutation$1,
|
|
8233
8248
|
variables: {
|
|
8234
8249
|
input: {
|
|
8235
8250
|
directoryId: directoryId,
|
|
8236
|
-
recursive: recursive,
|
|
8251
|
+
recursive: options.recursive,
|
|
8252
|
+
},
|
|
8253
|
+
},
|
|
8254
|
+
});
|
|
8255
|
+
};
|
|
8256
|
+
Item2Service.prototype.unarchiveFileExec = function (fileId) {
|
|
8257
|
+
return this.mutate(this.unarchiveFileMutation(fileId));
|
|
8258
|
+
};
|
|
8259
|
+
Item2Service.prototype.unarchiveFile = function (fileId) {
|
|
8260
|
+
return this.unarchiveFileMutation(fileId);
|
|
8261
|
+
};
|
|
8262
|
+
Item2Service.prototype.unarchiveFileMutation = function (fileId) {
|
|
8263
|
+
return new LrMutation({
|
|
8264
|
+
mutation: UnarchiveFileMutation,
|
|
8265
|
+
variables: {
|
|
8266
|
+
input: {
|
|
8267
|
+
fileId: fileId,
|
|
8237
8268
|
},
|
|
8238
8269
|
},
|
|
8239
8270
|
});
|
|
@@ -8807,50 +8838,15 @@
|
|
|
8807
8838
|
var CompleteOtkMutation = gql__default['default'](templateObject_7$6 || (templateObject_7$6 = __makeTemplateObject(["\nmutation CompleteKeyExchangeOtk(\n $input: CompleteKeyExchangeOtkInput!\n) {\n completeKeyExchangeOtk(input: $input) {\n keyExchange {\n ", "\n }\n userSharedKey {\n ", "\n }\n tp {\n id\n }\n }\n}"], ["\nmutation CompleteKeyExchangeOtk(\n $input: CompleteKeyExchangeOtkInput!\n) {\n completeKeyExchangeOtk(input: $input) {\n keyExchange {\n ", "\n }\n userSharedKey {\n ", "\n }\n tp {\n id\n }\n }\n}"])), KeyExchangeFields, UserSharedKeyFields);
|
|
8808
8839
|
var templateObject_1$i, templateObject_2$f, templateObject_3$d, templateObject_4$9, templateObject_5$8, templateObject_6$7, templateObject_7$6;
|
|
8809
8840
|
|
|
8810
|
-
var
|
|
8811
|
-
var
|
|
8812
|
-
var
|
|
8813
|
-
var
|
|
8814
|
-
var templateObject_1$j, templateObject_2$g, templateObject_3$e, templateObject_4$a;
|
|
8841
|
+
var RequestUserDeleteMutation = gql__default['default'](templateObject_1$j || (templateObject_1$j = __makeTemplateObject(["\n mutation RequestUserDelete($input: RequestUserDeleteInput!) {\n requestUserDelete(input: $input) {\n userDelete {\n state\n created\n }\n }\n }\n"], ["\n mutation RequestUserDelete($input: RequestUserDeleteInput!) {\n requestUserDelete(input: $input) {\n userDelete {\n state\n created\n }\n }\n }\n"])));
|
|
8842
|
+
var CancelUserDeleteMutation = gql__default['default'](templateObject_2$g || (templateObject_2$g = __makeTemplateObject(["\n mutation CancelUserDelete($input: CancelUserDeleteInput!) {\n cancelUserDelete(input: $input) {\n id\n }\n }\n"], ["\n mutation CancelUserDelete($input: CancelUserDeleteInput!) {\n cancelUserDelete(input: $input) {\n id\n }\n }\n"])));
|
|
8843
|
+
var LoginHistoryQuery = gql__default['default'](templateObject_3$e || (templateObject_3$e = __makeTemplateObject(["\n query LoginHistory($first: Int, $after: String) {\n loginHistory(first: $first, after: $after) {\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n events\n }\n }\n"], ["\n query LoginHistory($first: Int, $after: String) {\n loginHistory(first: $first, after: $after) {\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n events\n }\n }\n"])));
|
|
8844
|
+
var templateObject_1$j, templateObject_2$g, templateObject_3$e;
|
|
8815
8845
|
|
|
8816
8846
|
var UserService = /** @class */ (function () {
|
|
8817
8847
|
function UserService(lrApollo) {
|
|
8818
8848
|
this.lrApollo = lrApollo;
|
|
8819
8849
|
}
|
|
8820
|
-
UserService.prototype.getUserByEmail = function (email) {
|
|
8821
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
8822
|
-
return __generator(this, function (_a) {
|
|
8823
|
-
return [2 /*return*/, this.getUser({ email: email })];
|
|
8824
|
-
});
|
|
8825
|
-
});
|
|
8826
|
-
};
|
|
8827
|
-
UserService.prototype.getUserByUsername = function (username) {
|
|
8828
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
8829
|
-
return __generator(this, function (_a) {
|
|
8830
|
-
return [2 /*return*/, this.getUser({ username: username })];
|
|
8831
|
-
});
|
|
8832
|
-
});
|
|
8833
|
-
};
|
|
8834
|
-
UserService.prototype.getUser = function (_a) {
|
|
8835
|
-
var email = _a.email, username = _a.username;
|
|
8836
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
8837
|
-
var user;
|
|
8838
|
-
return __generator(this, function (_a) {
|
|
8839
|
-
switch (_a.label) {
|
|
8840
|
-
case 0: return [4 /*yield*/, this.lrApollo.query({
|
|
8841
|
-
query: UserQuery,
|
|
8842
|
-
variables: {
|
|
8843
|
-
email: email,
|
|
8844
|
-
username: username,
|
|
8845
|
-
},
|
|
8846
|
-
})];
|
|
8847
|
-
case 1:
|
|
8848
|
-
user = (_a.sent()).user;
|
|
8849
|
-
return [2 /*return*/, user];
|
|
8850
|
-
}
|
|
8851
|
-
});
|
|
8852
|
-
});
|
|
8853
|
-
};
|
|
8854
8850
|
UserService.prototype.requestUserDelete = function () {
|
|
8855
8851
|
return __awaiter(this, void 0, void 0, function () {
|
|
8856
8852
|
var res;
|
|
@@ -9582,7 +9578,7 @@
|
|
|
9582
9578
|
var KeyExchangeFragment = gqlTyped(templateObject_1$k || (templateObject_1$k = __makeTemplateObject(["\nfragment KeyExchangeFragment on KeyExchangeNode {\n id\n token\n state\n mode\n isInitiator\n initiator {\n id\n username\n }\n responder {\n id\n username\n }\n created\n modified\n tokenExpiryTime\n isExpired\n initiatorRootKeyCipher\n initiatorActionRequired\n responderActionRequired\n responderEmailAddress\n otk {\n state\n otKeyParams\n otKeyCipher\n sharedKey {\n id\n }\n mkSharedKey {\n id\n }\n initiatorSigPxk {\n id\n }\n responderSigPxk {\n id\n }\n initiatorOneTimePbkCipher\n responderPbkCipher\n }\n}\n"], ["\nfragment KeyExchangeFragment on KeyExchangeNode {\n id\n token\n state\n mode\n isInitiator\n initiator {\n id\n username\n }\n responder {\n id\n username\n }\n created\n modified\n tokenExpiryTime\n isExpired\n initiatorRootKeyCipher\n initiatorActionRequired\n responderActionRequired\n responderEmailAddress\n otk {\n state\n otKeyParams\n otKeyCipher\n sharedKey {\n id\n }\n mkSharedKey {\n id\n }\n initiatorSigPxk {\n id\n }\n responderSigPxk {\n id\n }\n initiatorOneTimePbkCipher\n responderPbkCipher\n }\n}\n"])));
|
|
9583
9579
|
var UserSharedKeyFragment = gqlTyped(templateObject_2$h || (templateObject_2$h = __makeTemplateObject(["\nfragment UserSharedKeyFragment on UserSharedKeyNode {\n userSigPrk {\n id\n }\n otherSigPbk {\n id\n }\n sharedKey {\n id\n }\n mkSharedKey {\n id\n }\n}"], ["\nfragment UserSharedKeyFragment on UserSharedKeyNode {\n userSigPrk {\n id\n }\n otherSigPbk {\n id\n }\n sharedKey {\n id\n }\n mkSharedKey {\n id\n }\n}"])));
|
|
9584
9580
|
var KeyExchangesQuery2 = gqlTyped(templateObject_3$f || (templateObject_3$f = __makeTemplateObject(["\nquery KeyExchangesQuery2($state: String) {\n keyExchanges(state: $state) {\n edges {\n node {\n ...KeyExchangeFragment\n }\n }\n }\n}\n", "\n"], ["\nquery KeyExchangesQuery2($state: String) {\n keyExchanges(state: $state) {\n edges {\n node {\n ...KeyExchangeFragment\n }\n }\n }\n}\n", "\n"])), KeyExchangeFragment);
|
|
9585
|
-
var KeyExchangeQuery2 = gqlTyped(templateObject_4$
|
|
9581
|
+
var KeyExchangeQuery2 = gqlTyped(templateObject_4$a || (templateObject_4$a = __makeTemplateObject(["\nquery KeyExchangeQuery2($id: LrRelayIdInput!) {\n keyExchange(id: $id) {\n ...KeyExchangeFragment\n }\n}\n", "\n"], ["\nquery KeyExchangeQuery2($id: LrRelayIdInput!) {\n keyExchange(id: $id) {\n ...KeyExchangeFragment\n }\n}\n", "\n"])), KeyExchangeFragment);
|
|
9586
9582
|
var KeyExchangeTokenQuery2 = gqlTyped(templateObject_5$9 || (templateObject_5$9 = __makeTemplateObject(["\nquery KeyExchangeTokenQuery2($id: LrRelayIdInput!, $token: String) {\n keyExchange(id: $id, token: $token) {\n ...KeyExchangeFragment\n }\n}\n", "\n"], ["\nquery KeyExchangeTokenQuery2($id: LrRelayIdInput!, $token: String) {\n keyExchange(id: $id, token: $token) {\n ...KeyExchangeFragment\n }\n}\n", "\n"])), KeyExchangeFragment);
|
|
9587
9583
|
var CancelKeyExchangeMutation = gqlTyped(templateObject_6$8 || (templateObject_6$8 = __makeTemplateObject(["\nmutation CancelKeyExchangeMutation($input: CancelKeyExchangeInput!) {\n cancelKeyExchange(input: $input) {\n keyExchange {\n id\n }\n }\n}\n"], ["\nmutation CancelKeyExchangeMutation($input: CancelKeyExchangeInput!) {\n cancelKeyExchange(input: $input) {\n keyExchange {\n id\n }\n }\n}\n"])));
|
|
9588
9584
|
var DeclineKeyExchangeMutation = gqlTyped(templateObject_7$7 || (templateObject_7$7 = __makeTemplateObject(["\nmutation DeclineKeyExchangeMutation($input: DeclineKeyExchangeInput!) {\n declineKeyExchange(input: $input) {\n keyExchange {\n id\n }\n }\n}\n"], ["\nmutation DeclineKeyExchangeMutation($input: DeclineKeyExchangeInput!) {\n declineKeyExchange(input: $input) {\n keyExchange {\n id\n }\n }\n}\n"])));
|
|
@@ -9590,7 +9586,7 @@
|
|
|
9590
9586
|
var RespondKeyExchangeOtkMutation = gqlTyped(templateObject_9$4 || (templateObject_9$4 = __makeTemplateObject(["\nmutation RespondKeyExchangeOtkMutation($input: RespondKeyExchangeOtkInput!) {\n respondKeyExchangeOtk(input: $input) {\n keyExchange {\n ...KeyExchangeFragment\n }\n userSharedKey {\n ...UserSharedKeyFragment\n }\n tp {\n id\n }\n }\n}\n", "\n", "\n"], ["\nmutation RespondKeyExchangeOtkMutation($input: RespondKeyExchangeOtkInput!) {\n respondKeyExchangeOtk(input: $input) {\n keyExchange {\n ...KeyExchangeFragment\n }\n userSharedKey {\n ...UserSharedKeyFragment\n }\n tp {\n id\n }\n }\n}\n", "\n", "\n"])), KeyExchangeFragment, UserSharedKeyFragment);
|
|
9591
9587
|
var CompleteKeyExchangeOtkMutation = gqlTyped(templateObject_10$3 || (templateObject_10$3 = __makeTemplateObject(["\nmutation CompleteKeyExchangeOtkMutation(\n $input: CompleteKeyExchangeOtkInput!\n) {\n completeKeyExchangeOtk(input: $input) {\n keyExchange {\n ...KeyExchangeFragment\n }\n userSharedKey {\n ...UserSharedKeyFragment\n }\n tp {\n id\n }\n }\n}\n", "\n", "\n"], ["\nmutation CompleteKeyExchangeOtkMutation(\n $input: CompleteKeyExchangeOtkInput!\n) {\n completeKeyExchangeOtk(input: $input) {\n keyExchange {\n ...KeyExchangeFragment\n }\n userSharedKey {\n ...UserSharedKeyFragment\n }\n tp {\n id\n }\n }\n}\n", "\n", "\n"])), KeyExchangeFragment, UserSharedKeyFragment);
|
|
9592
9588
|
var CurrentUserSharedKeyQuery2 = gqlTyped(templateObject_11$2 || (templateObject_11$2 = __makeTemplateObject(["\nquery CurrentUserSharedKeyQuery2(\n $username: String\n $userId: LrRelayIdInput\n) {\n currentUserSharedKey(\n username: $username\n userId: $userId\n ) {\n userSharedKey {\n ...UserSharedKeyFragment\n }\n }\n}\n", "\n"], ["\nquery CurrentUserSharedKeyQuery2(\n $username: String\n $userId: LrRelayIdInput\n) {\n currentUserSharedKey(\n username: $username\n userId: $userId\n ) {\n userSharedKey {\n ...UserSharedKeyFragment\n }\n }\n}\n", "\n"])), UserSharedKeyFragment);
|
|
9593
|
-
var templateObject_1$k, templateObject_2$h, templateObject_3$f, templateObject_4$
|
|
9589
|
+
var templateObject_1$k, templateObject_2$h, templateObject_3$f, templateObject_4$a, templateObject_5$9, templateObject_6$8, templateObject_7$7, templateObject_8$6, templateObject_9$4, templateObject_10$3, templateObject_11$2;
|
|
9594
9590
|
|
|
9595
9591
|
exports.KeyExchange2Service = /** @class */ (function (_super) {
|
|
9596
9592
|
__extends(KeyExchange2Service, _super);
|
|
@@ -10314,7 +10310,7 @@
|
|
|
10314
10310
|
var CreateLbopQuery = gql__default['default'](templateObject_1$l || (templateObject_1$l = __makeTemplateObject(["\n mutation CreateLbop($input: CreateLbopInput!) {\n createLbop(input: $input) {\n lbop {\n id\n }\n }\n }\n"], ["\n mutation CreateLbop($input: CreateLbopInput!) {\n createLbop(input: $input) {\n lbop {\n id\n }\n }\n }\n"])));
|
|
10315
10311
|
var DeleteLbopQuery = gql__default['default'](templateObject_2$i || (templateObject_2$i = __makeTemplateObject(["\n mutation DeleteLbop($input: DeleteLbopInput!) {\n deleteLbop(input: $input) {\n id\n }\n }\n"], ["\n mutation DeleteLbop($input: DeleteLbopInput!) {\n deleteLbop(input: $input) {\n id\n }\n }\n"])));
|
|
10316
10312
|
var UpdateLbopQuery = gql__default['default'](templateObject_3$g || (templateObject_3$g = __makeTemplateObject(["\n mutation UpdateLbop($input: UpdateLbopInput!) {\n updateLbop(input: $input) {\n lbop {\n id\n }\n }\n }\n"], ["\n mutation UpdateLbop($input: UpdateLbopInput!) {\n updateLbop(input: $input) {\n lbop {\n id\n }\n }\n }\n"])));
|
|
10317
|
-
var LbopQuery = gql__default['default'](templateObject_4$
|
|
10313
|
+
var LbopQuery = gql__default['default'](templateObject_4$b || (templateObject_4$b = __makeTemplateObject(["\n query Lbop($id: LrRelayIdInput!) {\n lbop(id: $id) {\n id\n cipherMeta\n }\n }\n"], ["\n query Lbop($id: LrRelayIdInput!) {\n lbop(id: $id) {\n id\n cipherMeta\n }\n }\n"])));
|
|
10318
10314
|
var LbopsQuery = gql__default['default'](templateObject_5$a || (templateObject_5$a = __makeTemplateObject(["\n query Lbops {\n lbops {\n edges {\n node {\n id\n cipherMeta\n }\n }\n }\n }\n"], ["\n query Lbops {\n lbops {\n edges {\n node {\n id\n cipherMeta\n }\n }\n }\n }\n"])));
|
|
10319
10315
|
var LbopService = /** @class */ (function () {
|
|
10320
10316
|
function LbopService(config, http, lrApollo, auth, authService, keyFactory, keyService, encryptionService, keyGraph, passwordService) {
|
|
@@ -10739,7 +10735,7 @@
|
|
|
10739
10735
|
{ type: KeyGraphService },
|
|
10740
10736
|
{ type: PasswordService }
|
|
10741
10737
|
]; };
|
|
10742
|
-
var templateObject_1$l, templateObject_2$i, templateObject_3$g, templateObject_4$
|
|
10738
|
+
var templateObject_1$l, templateObject_2$i, templateObject_3$g, templateObject_4$b, templateObject_5$a;
|
|
10743
10739
|
|
|
10744
10740
|
var LifeReadyModule = /** @class */ (function () {
|
|
10745
10741
|
function LifeReadyModule() {
|
|
@@ -10941,9 +10937,9 @@
|
|
|
10941
10937
|
var UpdateNotificationMutation = gqlTyped(templateObject_1$n || (templateObject_1$n = __makeTemplateObject(["\nmutation UpdateNotificationMutation($input: UpdateNotificationInput!) {\n updateNotification(input: $input) {\n notification {\n id\n }\n }\n}\n"], ["\nmutation UpdateNotificationMutation($input: UpdateNotificationInput!) {\n updateNotification(input: $input) {\n notification {\n id\n }\n }\n}\n"])));
|
|
10942
10938
|
var UpdateAllNotificationsReadStateMutation = gqlTyped(templateObject_2$k || (templateObject_2$k = __makeTemplateObject(["\nmutation UpdateAllNotificationsReadStateMutation($input: UpdateAllNotificationsReadStateInput!) {\n updateAllNotificationsReadState(input: $input) {\n count\n }\n}\n"], ["\nmutation UpdateAllNotificationsReadStateMutation($input: UpdateAllNotificationsReadStateInput!) {\n updateAllNotificationsReadState(input: $input) {\n count\n }\n}\n"])));
|
|
10943
10939
|
var DebugCreateNotificationMutation = gqlTyped(templateObject_3$h || (templateObject_3$h = __makeTemplateObject(["\nmutation DebugCreateNotificationMutation($input: DebugCreateNotificationInput!) {\n debugCreateNotification(input: $input) {\n notification {\n id\n }\n }\n}\n"], ["\nmutation DebugCreateNotificationMutation($input: DebugCreateNotificationInput!) {\n debugCreateNotification(input: $input) {\n notification {\n id\n }\n }\n}\n"])));
|
|
10944
|
-
var DebugDeleteAllNotificationsMutation = gqlTyped(templateObject_4$
|
|
10940
|
+
var DebugDeleteAllNotificationsMutation = gqlTyped(templateObject_4$c || (templateObject_4$c = __makeTemplateObject(["\nmutation DebugDeleteAllNotificationsMutation($input: DebugDeleteAllNotificationsInput!) {\n debugDeleteAllNotifications(input: $input) {\n count\n }\n}\n"], ["\nmutation DebugDeleteAllNotificationsMutation($input: DebugDeleteAllNotificationsInput!) {\n debugDeleteAllNotifications(input: $input) {\n count\n }\n}\n"])));
|
|
10945
10941
|
var UpdateNotificationFeatureStateMutation = gqlTyped(templateObject_5$b || (templateObject_5$b = __makeTemplateObject(["\nmutation UpdateNotificationFeatureStateMutation($input: UpdateNotificationFeatureStateInput!) {\n updateNotificationFeatureState(input: $input) {\n featureState {\n notificationsLastViewed\n\t\t}\n }\n}\n"], ["\nmutation UpdateNotificationFeatureStateMutation($input: UpdateNotificationFeatureStateInput!) {\n updateNotificationFeatureState(input: $input) {\n featureState {\n notificationsLastViewed\n\t\t}\n }\n}\n"])));
|
|
10946
|
-
var templateObject_1$n, templateObject_2$k, templateObject_3$h, templateObject_4$
|
|
10942
|
+
var templateObject_1$n, templateObject_2$k, templateObject_3$h, templateObject_4$c, templateObject_5$b;
|
|
10947
10943
|
|
|
10948
10944
|
exports.NotificationService = /** @class */ (function (_super) {
|
|
10949
10945
|
__extends(NotificationService, _super);
|
|
@@ -11219,12 +11215,12 @@
|
|
|
11219
11215
|
var GetTrustedPartiesQuery = gql__default['default'](templateObject_1$p || (templateObject_1$p = __makeTemplateObject(["\nquery GetTrustedPartiesQuery {\n tps {\n edges {\n node {\n ", "\n }\n }\n }\n ", "\n}"], ["\nquery GetTrustedPartiesQuery {\n tps {\n edges {\n node {\n ", "\n }\n }\n }\n ", "\n}"])), TrustedPartyProperties, KeyGraphField);
|
|
11220
11216
|
var GetAllTrustedPartiesQuery = gql__default['default'](templateObject_2$l || (templateObject_2$l = __makeTemplateObject(["\nquery GetAllTrustedPartiesQuery($userId: ID, $isExpired: Boolean, $inviteState: String, $sentInviteState: String) {\n tps {\n edges {\n node {\n ", "\n }\n }\n }\n invites: keyExchanges(\n responder: $userId\n isExpired: $isExpired\n state: $inviteState\n orderBy: \"state,-created\"\n ) {\n edges {\n node {\n ", "\n }\n }\n }\n sentInvites: keyExchanges(\n initiator: $userId\n isExpired: $isExpired\n state: $sentInviteState\n orderBy: \"state,-created\"\n ) {\n edges {\n node {\n ", "\n }\n }\n }\n ", "\n}"], ["\nquery GetAllTrustedPartiesQuery($userId: ID, $isExpired: Boolean, $inviteState: String, $sentInviteState: String) {\n tps {\n edges {\n node {\n ", "\n }\n }\n }\n invites: keyExchanges(\n responder: $userId\n isExpired: $isExpired\n state: $inviteState\n orderBy: \"state,-created\"\n ) {\n edges {\n node {\n ", "\n }\n }\n }\n sentInvites: keyExchanges(\n initiator: $userId\n isExpired: $isExpired\n state: $sentInviteState\n orderBy: \"state,-created\"\n ) {\n edges {\n node {\n ", "\n }\n }\n }\n ", "\n}"])), TrustedPartyProperties, KeyExchangeFields, KeyExchangeFields, KeyGraphField);
|
|
11221
11217
|
var GetTrustedPartyQuery = gql__default['default'](templateObject_3$i || (templateObject_3$i = __makeTemplateObject(["\nquery GetTrustedPartyQuery($partyId: LrRelayIdInput!) {\n tp(id: $partyId) {\n ", "\n }\n ", "\n}"], ["\nquery GetTrustedPartyQuery($partyId: LrRelayIdInput!) {\n tp(id: $partyId) {\n ", "\n }\n ", "\n}"])), TrustedPartyProperties, KeyGraphField);
|
|
11222
|
-
var DeclineTrustedPartyInvitationMutation = gql__default['default'](templateObject_4$
|
|
11218
|
+
var DeclineTrustedPartyInvitationMutation = gql__default['default'](templateObject_4$d || (templateObject_4$d = __makeTemplateObject(["\n mutation DeclineKeyExchange($input: DeclineKeyExchangeInput!) {\n declineKeyExchange(input: $input) {\n keyExchange {\n id\n }\n }\n }\n"], ["\n mutation DeclineKeyExchange($input: DeclineKeyExchangeInput!) {\n declineKeyExchange(input: $input) {\n keyExchange {\n id\n }\n }\n }\n"])));
|
|
11223
11219
|
var CancelTrustedPartyInvitationMutation = gql__default['default'](templateObject_5$c || (templateObject_5$c = __makeTemplateObject(["\n mutation CancelKeyExchange($input: CancelKeyExchangeInput!) {\n cancelKeyExchange(input: $input) {\n keyExchange {\n id\n }\n }\n }\n"], ["\n mutation CancelKeyExchange($input: CancelKeyExchangeInput!) {\n cancelKeyExchange(input: $input) {\n keyExchange {\n id\n }\n }\n }\n"])));
|
|
11224
11220
|
var DeleteTrustedPartyMutation = gql__default['default'](templateObject_6$9 || (templateObject_6$9 = __makeTemplateObject(["\n mutation DeleteTpMutation($input: DeleteTpInput!) {\n deleteTp(input: $input) {\n id\n }\n }\n"], ["\n mutation DeleteTpMutation($input: DeleteTpInput!) {\n deleteTp(input: $input) {\n id\n }\n }\n"])));
|
|
11225
11221
|
var ShareCategoryMutation = gql__default['default'](templateObject_7$8 || (templateObject_7$8 = __makeTemplateObject(["\n mutation ShareDirectory($input: ShareDirectoryInput!) {\n shareDirectory(input: $input) {\n tpDirectory {\n item {\n plainMeta\n }\n }\n }\n }\n"], ["\n mutation ShareDirectory($input: ShareDirectoryInput!) {\n shareDirectory(input: $input) {\n tpDirectory {\n item {\n plainMeta\n }\n }\n }\n }\n"])));
|
|
11226
11222
|
var UnshareCategoryMutation = gql__default['default'](templateObject_8$7 || (templateObject_8$7 = __makeTemplateObject(["\n mutation UnshareDirectory($input: UnshareDirectoryInput!) {\n unshareDirectory(input: $input) {\n tpDirectory {\n item {\n plainMeta\n }\n }\n }\n }\n"], ["\n mutation UnshareDirectory($input: UnshareDirectoryInput!) {\n unshareDirectory(input: $input) {\n tpDirectory {\n item {\n plainMeta\n }\n }\n }\n }\n"])));
|
|
11227
|
-
var templateObject_1$p, templateObject_2$l, templateObject_3$i, templateObject_4$
|
|
11223
|
+
var templateObject_1$p, templateObject_2$l, templateObject_3$i, templateObject_4$d, templateObject_5$c, templateObject_6$9, templateObject_7$8, templateObject_8$7;
|
|
11228
11224
|
|
|
11229
11225
|
var TrustedPartyRole = /** @class */ (function () {
|
|
11230
11226
|
function TrustedPartyRole() {
|
|
@@ -11422,33 +11418,6 @@
|
|
|
11422
11418
|
});
|
|
11423
11419
|
});
|
|
11424
11420
|
};
|
|
11425
|
-
TrustedPartyService.prototype.findByEmail = function (email) {
|
|
11426
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
11427
|
-
var user, e_1;
|
|
11428
|
-
return __generator(this, function (_c) {
|
|
11429
|
-
switch (_c.label) {
|
|
11430
|
-
case 0:
|
|
11431
|
-
_c.trys.push([0, 2, , 3]);
|
|
11432
|
-
return [4 /*yield*/, this.userService.getUserByEmail(email)];
|
|
11433
|
-
case 1:
|
|
11434
|
-
user = _c.sent();
|
|
11435
|
-
return [2 /*return*/, user
|
|
11436
|
-
? {
|
|
11437
|
-
id: user.id,
|
|
11438
|
-
email: email,
|
|
11439
|
-
username: user.username,
|
|
11440
|
-
isTrustedParty: user.haveTp,
|
|
11441
|
-
isMe: user.isCurrentUser,
|
|
11442
|
-
}
|
|
11443
|
-
: null];
|
|
11444
|
-
case 2:
|
|
11445
|
-
e_1 = _c.sent();
|
|
11446
|
-
return [2 /*return*/, null];
|
|
11447
|
-
case 3: return [2 /*return*/];
|
|
11448
|
-
}
|
|
11449
|
-
});
|
|
11450
|
-
});
|
|
11451
|
-
};
|
|
11452
11421
|
TrustedPartyService.prototype.inviteTrustedParty = function (invite) {
|
|
11453
11422
|
return __awaiter(this, void 0, void 0, function () {
|
|
11454
11423
|
var params;
|
|
@@ -11661,7 +11630,7 @@
|
|
|
11661
11630
|
TrustedPartyService.prototype.mapTrustedParty = function (tp) {
|
|
11662
11631
|
var _a;
|
|
11663
11632
|
return __awaiter(this, void 0, void 0, function () {
|
|
11664
|
-
var contactCard, _c, myContactCard, _d,
|
|
11633
|
+
var contactCard, _c, myContactCard, _d, e_1;
|
|
11665
11634
|
return __generator(this, function (_e) {
|
|
11666
11635
|
switch (_e.label) {
|
|
11667
11636
|
case 0:
|
|
@@ -11699,8 +11668,8 @@
|
|
|
11699
11668
|
},
|
|
11700
11669
|
}];
|
|
11701
11670
|
case 5:
|
|
11702
|
-
|
|
11703
|
-
console.error('Failed to decrypt Trusted Party.',
|
|
11671
|
+
e_1 = _e.sent();
|
|
11672
|
+
console.error('Failed to decrypt Trusted Party.', e_1, tp);
|
|
11704
11673
|
return [2 /*return*/, null];
|
|
11705
11674
|
case 6: return [2 /*return*/];
|
|
11706
11675
|
}
|
|
@@ -12909,14 +12878,14 @@
|
|
|
12909
12878
|
var CreateScenarioMutation = gqlTyped(templateObject_1$q || (templateObject_1$q = __makeTemplateObject(["\nmutation CreateScenarioMutation($input: CreateScenarioInput!) {\n createScenario(input: $input) {\n scenario {\n id\n }\n }\n}\n"], ["\nmutation CreateScenarioMutation($input: CreateScenarioInput!) {\n createScenario(input: $input) {\n scenario {\n id\n }\n }\n}\n"])));
|
|
12910
12879
|
var UpdateScenarioMutation = gqlTyped(templateObject_2$m || (templateObject_2$m = __makeTemplateObject(["\nmutation UpdateScenarioMutation($input: UpdateScenarioInput!) {\n updateScenario(input: $input) {\n scenario {\n id\n }\n }\n}\n"], ["\nmutation UpdateScenarioMutation($input: UpdateScenarioInput!) {\n updateScenario(input: $input) {\n scenario {\n id\n }\n }\n}\n"])));
|
|
12911
12880
|
var DeleteScenarioMutation = gqlTyped(templateObject_3$j || (templateObject_3$j = __makeTemplateObject(["\nmutation DeleteScenarioMutation($input: DeleteScenarioInput!) {\n deleteScenario(input: $input) {\n id\n }\n}\n"], ["\nmutation DeleteScenarioMutation($input: DeleteScenarioInput!) {\n deleteScenario(input: $input) {\n id\n }\n}\n"])));
|
|
12912
|
-
var CreateScenarioClaimMutation = gqlTyped(templateObject_4$
|
|
12881
|
+
var CreateScenarioClaimMutation = gqlTyped(templateObject_4$e || (templateObject_4$e = __makeTemplateObject(["\nmutation CreateScenarioClaimMutation($input: CreateScenarioClaimInput!) {\n createScenarioClaim(input: $input) {\n sharedClaim {\n id\n }\n }\n}\n"], ["\nmutation CreateScenarioClaimMutation($input: CreateScenarioClaimInput!) {\n createScenarioClaim(input: $input) {\n sharedClaim {\n id\n }\n }\n}\n"])));
|
|
12913
12882
|
var CancelScenarioClaimMutation = gqlTyped(templateObject_5$d || (templateObject_5$d = __makeTemplateObject(["\nmutation CancelScenarioClaimMutation($input: CancelScenarioClaimInput!) {\n cancelScenarioClaim(input: $input) {\n sharedClaim {\n id\n }\n }\n}\n"], ["\nmutation CancelScenarioClaimMutation($input: CancelScenarioClaimInput!) {\n cancelScenarioClaim(input: $input) {\n sharedClaim {\n id\n }\n }\n}\n"])));
|
|
12914
12883
|
var RejectScenarioClaimMutation = gqlTyped(templateObject_6$a || (templateObject_6$a = __makeTemplateObject(["\nmutation RejectScenarioClaimMutation($input: RejectScenarioClaimInput!) {\n rejectScenarioClaim(input: $input) {\n claimApprover {\n id\n }\n }\n}\n"], ["\nmutation RejectScenarioClaimMutation($input: RejectScenarioClaimInput!) {\n rejectScenarioClaim(input: $input) {\n claimApprover {\n id\n }\n }\n}\n"])));
|
|
12915
12884
|
var ApproveScenarioClaimMutation = gqlTyped(templateObject_7$9 || (templateObject_7$9 = __makeTemplateObject(["\nmutation ApproveScenarioClaimMutation($input: ApproveScenarioClaimInput!) {\n approveScenarioClaim(input: $input) {\n claimApprover {\n id\n }\n }\n}\n"], ["\nmutation ApproveScenarioClaimMutation($input: ApproveScenarioClaimInput!) {\n approveScenarioClaim(input: $input) {\n claimApprover {\n id\n }\n }\n}\n"])));
|
|
12916
12885
|
var ReceiveScenarioClaimMutation = gqlTyped(templateObject_8$8 || (templateObject_8$8 = __makeTemplateObject(["\nmutation ReceiveScenarioClaimMutation($input: ReceiveScenarioClaimInput!) {\n receiveScenarioClaim(input: $input) {\n sharedClaim {\n id\n }\n }\n}\n"], ["\nmutation ReceiveScenarioClaimMutation($input: ReceiveScenarioClaimInput!) {\n receiveScenarioClaim(input: $input) {\n sharedClaim {\n id\n }\n }\n}\n"])));
|
|
12917
12886
|
var DebugExpireScenarioClaimMutation = gqlTyped(templateObject_9$5 || (templateObject_9$5 = __makeTemplateObject(["\nmutation DebugExpireScenarioClaimMutation($input: DebugExpireScenarioClaimInput!) {\n debugExpireScenarioClaim(input: $input) {\n scenarioClaim {\n id\n }\n }\n}\n"], ["\nmutation DebugExpireScenarioClaimMutation($input: DebugExpireScenarioClaimInput!) {\n debugExpireScenarioClaim(input: $input) {\n scenarioClaim {\n id\n }\n }\n}\n"])));
|
|
12918
12887
|
var DebugExpireTpPasswordResetRequestMutation = gqlTyped(templateObject_10$4 || (templateObject_10$4 = __makeTemplateObject(["\nmutation DebugExpireTpPasswordResetRequestMutation($input: DebugExpireTpPasswordResetRequestInput!) {\n debugExpireTpPasswordResetRequest(input: $input) {\n passwordResetRequest {\n id\n }\n }\n}\n"], ["\nmutation DebugExpireTpPasswordResetRequestMutation($input: DebugExpireTpPasswordResetRequestInput!) {\n debugExpireTpPasswordResetRequest(input: $input) {\n passwordResetRequest {\n id\n }\n }\n}\n"])));
|
|
12919
|
-
var templateObject_1$q, templateObject_2$m, templateObject_3$j, templateObject_4$
|
|
12888
|
+
var templateObject_1$q, templateObject_2$m, templateObject_3$j, templateObject_4$e, templateObject_5$d, templateObject_6$a, templateObject_7$9, templateObject_8$8, templateObject_9$5, templateObject_10$4;
|
|
12920
12889
|
|
|
12921
12890
|
var ScenarioQuery = gqlTyped(templateObject_1$r || (templateObject_1$r = __makeTemplateObject(["\nquery ScenarioQuery(\n $scenarioId: LrRelayIdInput!\n) {\n scenario(id: $scenarioId) {\n id\n state\n assembly {\n quorum\n singleReject\n assemblyKey {\n id\n }\n subjectKey {\n id\n }\n subjectCipherData\n subAssemblies {\n edges {\n node {\n id\n subjectKey {\n id\n }\n subjectCipherData\n quorum\n singleReject\n approvers {\n edges {\n node {\n id\n tp {\n id\n }\n sharedKey {\n id\n }\n }\n }\n }\n }\n }\n }\n }\n claimants {\n edges {\n node {\n tp {\n id\n }\n sharedKey {\n id\n }\n }\n }\n }\n receivers {\n edges {\n node {\n tp {\n id\n }\n sharedKey {\n id\n }\n sharedCipherData\n receiverDirectories {\n edges {\n node {\n id\n sharedCipherData\n sharedKey {\n id\n }\n accessRole\n itemKey {\n id\n }\n directory {\n id\n keyId\n }\n }\n }\n }\n receiverFiles {\n edges {\n node {\n id\n sharedCipherData\n sharedKey {\n id\n }\n accessRole\n itemKey {\n id\n }\n }\n }\n }\n }\n }\n }\n }\n}"], ["\nquery ScenarioQuery(\n $scenarioId: LrRelayIdInput!\n) {\n scenario(id: $scenarioId) {\n id\n state\n assembly {\n quorum\n singleReject\n assemblyKey {\n id\n }\n subjectKey {\n id\n }\n subjectCipherData\n subAssemblies {\n edges {\n node {\n id\n subjectKey {\n id\n }\n subjectCipherData\n quorum\n singleReject\n approvers {\n edges {\n node {\n id\n tp {\n id\n }\n sharedKey {\n id\n }\n }\n }\n }\n }\n }\n }\n }\n claimants {\n edges {\n node {\n tp {\n id\n }\n sharedKey {\n id\n }\n }\n }\n }\n receivers {\n edges {\n node {\n tp {\n id\n }\n sharedKey {\n id\n }\n sharedCipherData\n receiverDirectories {\n edges {\n node {\n id\n sharedCipherData\n sharedKey {\n id\n }\n accessRole\n itemKey {\n id\n }\n directory {\n id\n keyId\n }\n }\n }\n }\n receiverFiles {\n edges {\n node {\n id\n sharedCipherData\n sharedKey {\n id\n }\n accessRole\n itemKey {\n id\n }\n }\n }\n }\n }\n }\n }\n }\n}"])));
|
|
12922
12891
|
var SharedScenarioQuery = gqlTyped(templateObject_2$n || (templateObject_2$n = __makeTemplateObject(["\nquery SharedScenarioQuery($scenarioId: LrRelayIdInput!) {\n sharedScenario(id: $scenarioId) {\n id\n state\n tp {\n id\n }\n asClaimant {\n sharedKey {\n id\n }\n sharedCipherData\n }\n asReceiver {\n sharedKey {\n id\n }\n sharedCipherData\n pbk {\n id\n }\n receiverDirectories {\n edges {\n node {\n id\n wrappedItemKey\n }\n }\n }\n }\n assembly {\n asApprovers {\n edges {\n node {\n id\n sharedKey {\n id\n }\n sharedCipherData\n }\n }\n }\n }\n sharedClaim {\n\t \t\tid\n isClaimant\n claim {\n state\n asClaimApprovers {\n edges {\n node {\n id\n state\n sharedKey {\n id\n }\n sharedCipherApprovalData\n sharedCipherPartialAssemblyKey\n receiverApprovals {\n edges {\n node {\n id\n pxk {\n id\n }\n }\n }\n }\n }\n }\n }\n }\n asClaimReceiver {\n received\n approvals {\n edges {\n node {\n receiverCipher\n receiverCipherPartialAssemblyKey\n pxk {\n id\n }\n }\n }\n }\n }\n }\n }\n}\n"], ["\nquery SharedScenarioQuery($scenarioId: LrRelayIdInput!) {\n sharedScenario(id: $scenarioId) {\n id\n state\n tp {\n id\n }\n asClaimant {\n sharedKey {\n id\n }\n sharedCipherData\n }\n asReceiver {\n sharedKey {\n id\n }\n sharedCipherData\n pbk {\n id\n }\n receiverDirectories {\n edges {\n node {\n id\n wrappedItemKey\n }\n }\n }\n }\n assembly {\n asApprovers {\n edges {\n node {\n id\n sharedKey {\n id\n }\n sharedCipherData\n }\n }\n }\n }\n sharedClaim {\n\t \t\tid\n isClaimant\n claim {\n state\n asClaimApprovers {\n edges {\n node {\n id\n state\n sharedKey {\n id\n }\n sharedCipherApprovalData\n sharedCipherPartialAssemblyKey\n receiverApprovals {\n edges {\n node {\n id\n pxk {\n id\n }\n }\n }\n }\n }\n }\n }\n }\n asClaimReceiver {\n received\n approvals {\n edges {\n node {\n receiverCipher\n receiverCipherPartialAssemblyKey\n pxk {\n id\n }\n }\n }\n }\n }\n }\n }\n}\n"])));
|
|
@@ -13818,8 +13787,8 @@
|
|
|
13818
13787
|
var UpdateOwnedContactCardMutation = gqlTyped(templateObject_1$t || (templateObject_1$t = __makeTemplateObject(["\nmutation UpdateOwnedContactCardMutation(\n $input: UpdateOwnedContactCardInput!\n) {\n updateOwnedContactCard(input: $input) {\n ownedContactCard {\n id\n }\n }\n}"], ["\nmutation UpdateOwnedContactCardMutation(\n $input: UpdateOwnedContactCardInput!\n) {\n updateOwnedContactCard(input: $input) {\n ownedContactCard {\n id\n }\n }\n}"])));
|
|
13819
13788
|
var UpdateReceivedContactCardMutation = gqlTyped(templateObject_2$o || (templateObject_2$o = __makeTemplateObject(["\nmutation UpdateReceivedContactCardMutation(\n $input: UpdateReceivedContactCardInput!\n) {\n updateReceivedContactCard(input: $input) {\n receivedContactCard {\n id\n }\n }\n}"], ["\nmutation UpdateReceivedContactCardMutation(\n $input: UpdateReceivedContactCardInput!\n) {\n updateReceivedContactCard(input: $input) {\n receivedContactCard {\n id\n }\n }\n}"])));
|
|
13820
13789
|
var GetOwnedContactCardKeyIdsQuery = gqlTyped(templateObject_3$k || (templateObject_3$k = __makeTemplateObject(["\nquery GetOwnedContactCardKeyIdsQuery($id: LrRelayIdInput!) {\n ownedContactCard(id: $id) {\n sharedKey {\n id\n }\n ownerKey {\n id\n }\n }\n}"], ["\nquery GetOwnedContactCardKeyIdsQuery($id: LrRelayIdInput!) {\n ownedContactCard(id: $id) {\n sharedKey {\n id\n }\n ownerKey {\n id\n }\n }\n}"])));
|
|
13821
|
-
var GetReceivedContactCardKeyIdQuery = gqlTyped(templateObject_4$
|
|
13822
|
-
var templateObject_1$t, templateObject_2$o, templateObject_3$k, templateObject_4$
|
|
13790
|
+
var GetReceivedContactCardKeyIdQuery = gqlTyped(templateObject_4$f || (templateObject_4$f = __makeTemplateObject(["\nquery GetReceivedContactCardKeyIdQuery($id: LrRelayIdInput!) {\n receivedContactCard(id: $id) {\n receiverKey {\n id\n }\n }\n}"], ["\nquery GetReceivedContactCardKeyIdQuery($id: LrRelayIdInput!) {\n receivedContactCard(id: $id) {\n receiverKey {\n id\n }\n }\n}"])));
|
|
13791
|
+
var templateObject_1$t, templateObject_2$o, templateObject_3$k, templateObject_4$f;
|
|
13823
13792
|
|
|
13824
13793
|
exports.SharedContactCard2Service = /** @class */ (function () {
|
|
13825
13794
|
function SharedContactCard2Service(ngZone, keyService, keyGraph, encryptionService, lrGraphQL) {
|
|
@@ -14421,12 +14390,12 @@
|
|
|
14421
14390
|
var DeleteTpMutation = gqlTyped(templateObject_1$u || (templateObject_1$u = __makeTemplateObject(["\nmutation DeleteTpMutation($input: DeleteTpInput!) {\n deleteTp(input: $input) {\n id\n }\n}\n"], ["\nmutation DeleteTpMutation($input: DeleteTpInput!) {\n deleteTp(input: $input) {\n id\n }\n}\n"])));
|
|
14422
14391
|
var ShareDirectoryMutation = gqlTyped(templateObject_2$p || (templateObject_2$p = __makeTemplateObject(["\n mutation ShareDirectoryMutation($input: ShareDirectoryInput!) {\n shareDirectory(input: $input) {\n tpDirectory {\n id\n }\n }\n }\n"], ["\n mutation ShareDirectoryMutation($input: ShareDirectoryInput!) {\n shareDirectory(input: $input) {\n tpDirectory {\n id\n }\n }\n }\n"])));
|
|
14423
14392
|
var UnshareDirectoryMutation = gqlTyped(templateObject_3$l || (templateObject_3$l = __makeTemplateObject(["\n mutation UnshareDirectoryMutation($input: UnshareDirectoryInput!) {\n unshareDirectory(input: $input) {\n tpDirectory {\n id\n }\n }\n }\n"], ["\n mutation UnshareDirectoryMutation($input: UnshareDirectoryInput!) {\n unshareDirectory(input: $input) {\n tpDirectory {\n id\n }\n }\n }\n"])));
|
|
14424
|
-
var ShareFileMutation = gqlTyped(templateObject_4$
|
|
14393
|
+
var ShareFileMutation = gqlTyped(templateObject_4$g || (templateObject_4$g = __makeTemplateObject(["\n mutation ShareFileMutation($input: ShareFileInput!) {\n shareFile(input: $input) {\n tpFile {\n id\n }\n }\n }\n"], ["\n mutation ShareFileMutation($input: ShareFileInput!) {\n shareFile(input: $input) {\n tpFile {\n id\n }\n }\n }\n"])));
|
|
14425
14394
|
var UnshareFileMutation = gqlTyped(templateObject_5$e || (templateObject_5$e = __makeTemplateObject(["\n mutation UnshareFileMutation($input: UnshareFileInput!) {\n unshareFile(input: $input) {\n tpFile {\n id\n }\n }\n }\n"], ["\n mutation UnshareFileMutation($input: UnshareFileInput!) {\n unshareFile(input: $input) {\n tpFile {\n id\n }\n }\n }\n"])));
|
|
14426
14395
|
var RequestTpMkReshareMutation = gqlTyped(templateObject_6$b || (templateObject_6$b = __makeTemplateObject(["\nmutation RequestTpMkReshareMutation($input: RequestTpMkReshareInput!) {\n requestTpMkReshare(input: $input) {\n id\n }\n}"], ["\nmutation RequestTpMkReshareMutation($input: RequestTpMkReshareInput!) {\n requestTpMkReshare(input: $input) {\n id\n }\n}"])));
|
|
14427
14396
|
var RespondTpMkReshareMutation = gqlTyped(templateObject_7$a || (templateObject_7$a = __makeTemplateObject(["\n mutation RespondTpMkReshareMutation($input: RespondTpMkReshareInput!) {\n respondTpMkReshare(input: $input) {\n id\n }\n }\n"], ["\n mutation RespondTpMkReshareMutation($input: RespondTpMkReshareInput!) {\n respondTpMkReshare(input: $input) {\n id\n }\n }\n"])));
|
|
14428
14397
|
var CompleteTpMkReshareMutation = gqlTyped(templateObject_8$9 || (templateObject_8$9 = __makeTemplateObject(["\nmutation CompleteTpMkReshareMutation($input: CompleteTpMkReshareInput!) {\n completeTpMkReshare(input: $input) {\n id\n }\n}"], ["\nmutation CompleteTpMkReshareMutation($input: CompleteTpMkReshareInput!) {\n completeTpMkReshare(input: $input) {\n id\n }\n}"])));
|
|
14429
|
-
var templateObject_1$u, templateObject_2$p, templateObject_3$l, templateObject_4$
|
|
14398
|
+
var templateObject_1$u, templateObject_2$p, templateObject_3$l, templateObject_4$g, templateObject_5$e, templateObject_6$b, templateObject_7$a, templateObject_8$9;
|
|
14430
14399
|
|
|
14431
14400
|
var TpCurrentUserSharedKeyQuery = gqlTyped(templateObject_1$v || (templateObject_1$v = __makeTemplateObject(["\nquery TpCurrentUserSharedKeyQuery($id: LrRelayIdInput!) {\n tp(id: $id){\n currentUserSharedKey {\n userSharedKey {\n sharedKey {\n id\n }\n mkSharedKey {\n id\n }\n mkPxk {\n id\n }\n mkReshareRequestCipher\n mkReshareRequestSent\n mkReshareResponseCipher\n mkReshareResponseSent\n }\n }\n }\n}\n"], ["\nquery TpCurrentUserSharedKeyQuery($id: LrRelayIdInput!) {\n tp(id: $id){\n currentUserSharedKey {\n userSharedKey {\n sharedKey {\n id\n }\n mkSharedKey {\n id\n }\n mkPxk {\n id\n }\n mkReshareRequestCipher\n mkReshareRequestSent\n mkReshareResponseCipher\n mkReshareResponseSent\n }\n }\n }\n}\n"])));
|
|
14432
14401
|
var templateObject_1$v;
|
|
@@ -15005,7 +14974,6 @@
|
|
|
15005
14974
|
exports.UpdatedCategory = UpdatedCategory;
|
|
15006
14975
|
exports.UpdatedRecord = UpdatedRecord;
|
|
15007
14976
|
exports.UserPlan = UserPlan;
|
|
15008
|
-
exports.UserQuery = UserQuery;
|
|
15009
14977
|
exports.UserService = UserService;
|
|
15010
14978
|
exports.UserSharedKeyFields = UserSharedKeyFields;
|
|
15011
14979
|
exports.Vault = Vault;
|