@lifeready/core 6.1.1 → 6.1.3
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 +98 -142
- 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/encryption/encryption.service.js +7 -6
- package/esm2015/lib/item2/item2.service.js +3 -2
- package/esm2015/lib/key/key-graph.service.js +3 -3
- package/esm2015/lib/key/key-meta.service.js +1 -57
- package/esm2015/lib/key/key.types.js +6 -1
- package/esm2015/lib/key-exchange/key-exchange2.gql.js +27 -25
- package/esm2015/lib/key-exchange/key-exchange2.service.js +1 -1
- package/esm2015/lib/profile/profile.gql.js +2 -64
- package/esm2015/public-api.js +2 -1
- package/fesm2015/lifeready-core.js +197 -309
- package/fesm2015/lifeready-core.js.map +1 -1
- package/lib/item2/item2.service.d.ts +1 -1
- package/lib/key/key.types.d.ts +4 -1
- package/lib/key-exchange/key-exchange2.gql.d.ts +27 -13
- package/lib/key-exchange/key-exchange2.service.d.ts +4 -4
- package/lib/profile/profile.gql.d.ts +0 -2
- package/lifeready-core.metadata.json +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
|
@@ -341,6 +341,22 @@
|
|
|
341
341
|
return value;
|
|
342
342
|
}
|
|
343
343
|
|
|
344
|
+
var KeyGraphNodeType;
|
|
345
|
+
(function (KeyGraphNodeType) {
|
|
346
|
+
KeyGraphNodeType["Key"] = "key";
|
|
347
|
+
KeyGraphNodeType["PassKey"] = "passKey";
|
|
348
|
+
})(KeyGraphNodeType || (KeyGraphNodeType = {}));
|
|
349
|
+
var KeyGraphEdgeType;
|
|
350
|
+
(function (KeyGraphEdgeType) {
|
|
351
|
+
KeyGraphEdgeType["KeyLink"] = "keyLink";
|
|
352
|
+
KeyGraphEdgeType["PassKeyLink"] = "passKeyLink";
|
|
353
|
+
})(KeyGraphEdgeType || (KeyGraphEdgeType = {}));
|
|
354
|
+
var PayloadType;
|
|
355
|
+
(function (PayloadType) {
|
|
356
|
+
PayloadType["JSON"] = "JSON";
|
|
357
|
+
PayloadType["UINT_8_ARRAY"] = "UINT_8_ARRAY";
|
|
358
|
+
})(PayloadType || (PayloadType = {}));
|
|
359
|
+
|
|
344
360
|
function handleApolloError(errors) {
|
|
345
361
|
if (!errors || !errors.length)
|
|
346
362
|
return;
|
|
@@ -803,11 +819,11 @@
|
|
|
803
819
|
JoseSerialization["COMPACT"] = "COMPACT";
|
|
804
820
|
})(JoseSerialization || (JoseSerialization = {}));
|
|
805
821
|
var VERIFY_OPTIONS_DEFAULT = {
|
|
806
|
-
payloadType:
|
|
822
|
+
payloadType: PayloadType.JSON,
|
|
807
823
|
returnOnlyPayload: true,
|
|
808
824
|
};
|
|
809
825
|
var DECRYPT_OPTIONS_DEFAULT = {
|
|
810
|
-
payloadType:
|
|
826
|
+
payloadType: PayloadType.JSON,
|
|
811
827
|
returnOnlyPayload: true,
|
|
812
828
|
serializations: [JoseSerialization.JSON],
|
|
813
829
|
};
|
|
@@ -878,7 +894,7 @@
|
|
|
878
894
|
});
|
|
879
895
|
});
|
|
880
896
|
};
|
|
881
|
-
// TODO rename this to encrypt() and use as the most common
|
|
897
|
+
// TODO rename this to encrypt() and use as the most common use case
|
|
882
898
|
EncryptionService.prototype.encryptToString = function (key, content) {
|
|
883
899
|
return __awaiter(this, void 0, void 0, function () {
|
|
884
900
|
var _a, _b;
|
|
@@ -1017,9 +1033,9 @@
|
|
|
1017
1033
|
};
|
|
1018
1034
|
EncryptionService.prototype.decodePayload = function (payloadType, payload) {
|
|
1019
1035
|
switch (payloadType) {
|
|
1020
|
-
case
|
|
1036
|
+
case PayloadType.JSON:
|
|
1021
1037
|
return JSON.parse(new TextDecoder().decode(payload));
|
|
1022
|
-
case
|
|
1038
|
+
case PayloadType.UINT_8_ARRAY:
|
|
1023
1039
|
return payload;
|
|
1024
1040
|
default:
|
|
1025
1041
|
throw new KcBadArgumentException("Unknown payloadType: " + payloadType);
|
|
@@ -1850,17 +1866,6 @@
|
|
|
1850
1866
|
{ type: PersistService }
|
|
1851
1867
|
]; };
|
|
1852
1868
|
|
|
1853
|
-
var KeyGraphNodeType;
|
|
1854
|
-
(function (KeyGraphNodeType) {
|
|
1855
|
-
KeyGraphNodeType["Key"] = "key";
|
|
1856
|
-
KeyGraphNodeType["PassKey"] = "passKey";
|
|
1857
|
-
})(KeyGraphNodeType || (KeyGraphNodeType = {}));
|
|
1858
|
-
var KeyGraphEdgeType;
|
|
1859
|
-
(function (KeyGraphEdgeType) {
|
|
1860
|
-
KeyGraphEdgeType["KeyLink"] = "keyLink";
|
|
1861
|
-
KeyGraphEdgeType["PassKeyLink"] = "passKeyLink";
|
|
1862
|
-
})(KeyGraphEdgeType || (KeyGraphEdgeType = {}));
|
|
1863
|
-
|
|
1864
1869
|
var KeyGraphService = /** @class */ (function () {
|
|
1865
1870
|
// private keyCache: {
|
|
1866
1871
|
// [id: string]: Key;
|
|
@@ -2210,7 +2215,7 @@
|
|
|
2210
2215
|
case 1:
|
|
2211
2216
|
key = _a.sent();
|
|
2212
2217
|
return [4 /*yield*/, this.encryptionService.decrypt(key, file, {
|
|
2213
|
-
payloadType:
|
|
2218
|
+
payloadType: PayloadType.UINT_8_ARRAY,
|
|
2214
2219
|
})];
|
|
2215
2220
|
case 2: return [2 /*return*/, (_a.sent())];
|
|
2216
2221
|
}
|
|
@@ -4133,21 +4138,6 @@
|
|
|
4133
4138
|
this.keyService = keyService;
|
|
4134
4139
|
this.keyFactory = keyFactory;
|
|
4135
4140
|
}
|
|
4136
|
-
// async decryptFromString<T>(
|
|
4137
|
-
// keyOrId: string | Key,
|
|
4138
|
-
// cipherData: string,
|
|
4139
|
-
// options?: DecryptOptions
|
|
4140
|
-
// ): Promise<T> {
|
|
4141
|
-
// if (cipherData) {
|
|
4142
|
-
// const key = await this.keyGraphService.getJwkKey(keyOrId);
|
|
4143
|
-
// return (await this.encryptionService.decrypt(
|
|
4144
|
-
// key,
|
|
4145
|
-
// JSON.parse(cipherData),
|
|
4146
|
-
// options
|
|
4147
|
-
// )) as any;
|
|
4148
|
-
// }
|
|
4149
|
-
// return null;
|
|
4150
|
-
// }
|
|
4151
4141
|
KeyMetaService.prototype.decryptMeta = function (metaHaver) {
|
|
4152
4142
|
return __awaiter(this, void 0, void 0, function () {
|
|
4153
4143
|
var key;
|
|
@@ -4165,47 +4155,6 @@
|
|
|
4165
4155
|
});
|
|
4166
4156
|
});
|
|
4167
4157
|
};
|
|
4168
|
-
// async decryptFile(keyId: string, file: any): Promise<any> {
|
|
4169
|
-
// const key = await this.keyGraphService.getJwkKey(keyId);
|
|
4170
|
-
// return (await this.encryptionService.decrypt(key, file, {
|
|
4171
|
-
// payloadType: 'ArrayBuffer',
|
|
4172
|
-
// })) as any;
|
|
4173
|
-
// }
|
|
4174
|
-
// // TODO rename this to encrypt() and use as the most common usecase
|
|
4175
|
-
// async encryptToString(
|
|
4176
|
-
// key: string | Key | JWK.Key,
|
|
4177
|
-
// content: any
|
|
4178
|
-
// ): Promise<string> {
|
|
4179
|
-
// // Empty string should be encrypted since you want to clear the field.
|
|
4180
|
-
// // Null is not encrypted because it's not valid JSON in the old JSON spec. Use
|
|
4181
|
-
// // empty string instead. It'll function as a logic false as well.
|
|
4182
|
-
// // Note that passing in empty string means it'll be encrypted which verifies
|
|
4183
|
-
// // it's integrity. But we still want to have a way to set the DB field
|
|
4184
|
-
// // to NULL, so we explicitly return null when content == null. A null
|
|
4185
|
-
// // variable in graphql mutation on KC server clears the field to NULL.
|
|
4186
|
-
// if (content == null) {
|
|
4187
|
-
// return null;
|
|
4188
|
-
// }
|
|
4189
|
-
// const jwk =
|
|
4190
|
-
// asJwk(key) || (await this.keyGraphService.getJwkKey(key as string | Key));
|
|
4191
|
-
// return JSON.stringify(await this.encryptionService.encrypt(jwk, content));
|
|
4192
|
-
// }
|
|
4193
|
-
// // Wraps a symmetric encryption key.
|
|
4194
|
-
// // Throws exception if wrapping public keys.
|
|
4195
|
-
// async wrapKey<T>(
|
|
4196
|
-
// wrappingKey: string | Key | JWK.Key,
|
|
4197
|
-
// key: JWK.Key
|
|
4198
|
-
// ): Promise<string> {
|
|
4199
|
-
// if (!isSymmetricKey(key)) {
|
|
4200
|
-
// throw new LrBadArgumentException(
|
|
4201
|
-
// 'Only allowing wrapping of symmetric keys.'
|
|
4202
|
-
// );
|
|
4203
|
-
// }
|
|
4204
|
-
// return this.encryptToString(wrappingKey, key.toJSON(true));
|
|
4205
|
-
// }
|
|
4206
|
-
// // TODO
|
|
4207
|
-
// // async wrapPublicKey<T>();
|
|
4208
|
-
// // async wrapPrivateKey<T>();
|
|
4209
4158
|
KeyMetaService.prototype.doubleWrapContent = function (secureContent, categoryIds, fileContent) {
|
|
4210
4159
|
return __awaiter(this, void 0, void 0, function () {
|
|
4211
4160
|
var key, wrappedContent, _a, _b, _c, _d, _e, _f, _g;
|
|
@@ -4416,6 +4365,19 @@
|
|
|
4416
4365
|
]; };
|
|
4417
4366
|
var templateObject_1$5;
|
|
4418
4367
|
|
|
4368
|
+
var KeyExchangeFields = "\n id\n token\n state\n mode\n isInitiator\n initiator {\n id\n username\n config\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";
|
|
4369
|
+
var UserSharedKeyFields = "\n userSigPrk {\n id\n }\n otherSigPbk {\n id\n }\n sharedKey {\n id\n }\n mkSharedKey {\n id\n }\n mkPxk {\n id\n pbk\n }\n mkReshareRequestCipher\n mkReshareResponseCipher\n mkReshareRequestSent\n mkReshareResponseSent\n";
|
|
4370
|
+
var KeyExchangesQuery2 = gqlTyped(templateObject_1$6 || (templateObject_1$6 = __makeTemplateObject(["\nquery KeyExchangesQuery2($state: String) {\n keyExchanges(state: $state) {\n edges {\n node {\n ", "\n }\n }\n }\n}\n"], ["\nquery KeyExchangesQuery2($state: String) {\n keyExchanges(state: $state) {\n edges {\n node {\n ", "\n }\n }\n }\n}\n"])), KeyExchangeFields);
|
|
4371
|
+
var KeyExchangeQuery2 = gqlTyped(templateObject_2$3 || (templateObject_2$3 = __makeTemplateObject(["\nquery KeyExchangeQuery2($id: LrRelayIdInput!) {\n keyExchange(id: $id) {\n ", "\n }\n}\n"], ["\nquery KeyExchangeQuery2($id: LrRelayIdInput!) {\n keyExchange(id: $id) {\n ", "\n }\n}\n"])), KeyExchangeFields);
|
|
4372
|
+
var KeyExchangeTokenQuery2 = gqlTyped(templateObject_3$2 || (templateObject_3$2 = __makeTemplateObject(["\nquery KeyExchangeTokenQuery2($id: LrRelayIdInput!, $token: String) {\n keyExchange(id: $id, token: $token) {\n ", "\n }\n}\n"], ["\nquery KeyExchangeTokenQuery2($id: LrRelayIdInput!, $token: String) {\n keyExchange(id: $id, token: $token) {\n ", "\n }\n}\n"])), KeyExchangeFields);
|
|
4373
|
+
var CancelKeyExchangeMutation = gqlTyped(templateObject_4$2 || (templateObject_4$2 = __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"])));
|
|
4374
|
+
var DeclineKeyExchangeMutation = gqlTyped(templateObject_5$2 || (templateObject_5$2 = __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"])));
|
|
4375
|
+
var InitiateKeyExchangeOtkMutation = gqlTyped(templateObject_6$2 || (templateObject_6$2 = __makeTemplateObject(["\nmutation InitiateKeyExchangeOtkMutation(\n $input: InitiateKeyExchangeOtkInput!\n) {\n initiateKeyExchangeOtk(input: $input) {\n keyExchange {\n ", "\n }\n }\n}\n"], ["\nmutation InitiateKeyExchangeOtkMutation(\n $input: InitiateKeyExchangeOtkInput!\n) {\n initiateKeyExchangeOtk(input: $input) {\n keyExchange {\n ", "\n }\n }\n}\n"])), KeyExchangeFields);
|
|
4376
|
+
var RespondKeyExchangeOtkMutation = gqlTyped(templateObject_7$1 || (templateObject_7$1 = __makeTemplateObject(["\nmutation RespondKeyExchangeOtkMutation($input: RespondKeyExchangeOtkInput!) {\n respondKeyExchangeOtk(input: $input) {\n keyExchange {\n ", "\n }\n userSharedKey {\n ", "\n }\n tp {\n id\n user {\n config\n }\n }\n }\n}\n"], ["\nmutation RespondKeyExchangeOtkMutation($input: RespondKeyExchangeOtkInput!) {\n respondKeyExchangeOtk(input: $input) {\n keyExchange {\n ", "\n }\n userSharedKey {\n ", "\n }\n tp {\n id\n user {\n config\n }\n }\n }\n}\n"])), KeyExchangeFields, UserSharedKeyFields);
|
|
4377
|
+
var CompleteKeyExchangeOtkMutation = gqlTyped(templateObject_8$1 || (templateObject_8$1 = __makeTemplateObject(["\nmutation CompleteKeyExchangeOtkMutation(\n $input: CompleteKeyExchangeOtkInput!\n) {\n completeKeyExchangeOtk(input: $input) {\n keyExchange {\n ", "\n }\n userSharedKey {\n ", "\n }\n tp {\n id\n user {\n config\n }\n }\n }\n}\n"], ["\nmutation CompleteKeyExchangeOtkMutation(\n $input: CompleteKeyExchangeOtkInput!\n) {\n completeKeyExchangeOtk(input: $input) {\n keyExchange {\n ", "\n }\n userSharedKey {\n ", "\n }\n tp {\n id\n user {\n config\n }\n }\n }\n}\n"])), KeyExchangeFields, UserSharedKeyFields);
|
|
4378
|
+
var CurrentUserSharedKeyQuery2 = gqlTyped(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\nquery CurrentUserSharedKeyQuery2(\n $username: String\n $userId: LrRelayIdInput\n) {\n currentUserSharedKey(\n username: $username\n userId: $userId\n ) {\n userSharedKey {\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 ", "\n }\n }\n}\n"])), UserSharedKeyFields);
|
|
4379
|
+
var templateObject_1$6, templateObject_2$3, templateObject_3$2, templateObject_4$2, templateObject_5$2, templateObject_6$2, templateObject_7$1, templateObject_8$1, templateObject_9;
|
|
4380
|
+
|
|
4419
4381
|
(function (FeatureAction) {
|
|
4420
4382
|
// Just the one for now
|
|
4421
4383
|
FeatureAction["ACCESS"] = "access";
|
|
@@ -4511,7 +4473,7 @@
|
|
|
4511
4473
|
}());
|
|
4512
4474
|
|
|
4513
4475
|
var SharedContactCardFields = "\n id\n owner {\n id\n username\n }\n ownerKey {\n id\n }\n ownerCipherData\n receiver {\n id\n username\n }\n receiverKey {\n id\n }\n receiverCipherData\n sharedKey {\n id\n }\n sharedCipherData\n sharedCipherDataSig\n sharedCipherDataSigPxk {\n id\n }\n";
|
|
4514
|
-
var UpdateOwnedContactCard = gql__default['default'](templateObject_1$
|
|
4476
|
+
var UpdateOwnedContactCard = gql__default['default'](templateObject_1$7 || (templateObject_1$7 = __makeTemplateObject(["\nmutation UpdateOwnedContactCard(\n $input: UpdateOwnedContactCardInput!\n) {\n updateOwnedContactCard(\n input: $input\n ) {\n ownedContactCard {\n ", "\n }\n }\n}"], ["\nmutation UpdateOwnedContactCard(\n $input: UpdateOwnedContactCardInput!\n) {\n updateOwnedContactCard(\n input: $input\n ) {\n ownedContactCard {\n ", "\n }\n }\n}"])), SharedContactCardFields);
|
|
4515
4477
|
var SharedContactCardService = /** @class */ (function () {
|
|
4516
4478
|
function SharedContactCardService(keyService, lrApollo, keyGraph, encryptionService) {
|
|
4517
4479
|
this.keyService = keyService;
|
|
@@ -4616,17 +4578,15 @@
|
|
|
4616
4578
|
{ type: KeyGraphService },
|
|
4617
4579
|
{ type: EncryptionService }
|
|
4618
4580
|
]; };
|
|
4619
|
-
var templateObject_1$
|
|
4581
|
+
var templateObject_1$7;
|
|
4620
4582
|
|
|
4621
|
-
var UserSharedKeyFields = "\n userSigPrk {\n id\n }\n otherSigPbk {\n id\n }\n sharedKey {\n id\n }\n mkSharedKey {\n id\n }\n mkPxk {\n id\n pbk\n }\n mkReshareRequestCipher\n mkReshareResponseCipher\n mkReshareRequestSent\n mkReshareResponseSent\n";
|
|
4622
|
-
var KeyExchangeFields = "\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}";
|
|
4623
4583
|
var TrustedPartyProperties = "\n id\n user {\n id\n username\n }\n other{\n id\n username,\n features {\n shareVault\n }\n }\n sharedContactCard {\n " + SharedContactCardFields + "\n }\n myContactCard {\n " + SharedContactCardFields + "\n }\n sharedScenarios {\n edges {\n node {\n id\n }\n }\n }\n theirItems {\n directories {\n edges {\n node {\n id\n }\n }\n }\n }\n currentUserSharedKey {\n userSharedKey {\n keyExchange {\n " + KeyExchangeFields + "\n }\n " + UserSharedKeyFields + "\n }\n }";
|
|
4624
|
-
var CurrentUserQuery = gql__default['default'](templateObject_1$
|
|
4625
|
-
var CreateContactCardMutation$1 = gql__default['default'](templateObject_2$
|
|
4626
|
-
var UpdateContactCardMutation$1 = gql__default['default'](templateObject_3$
|
|
4627
|
-
var TrustedPartiesQuery = gqlTyped(templateObject_4$
|
|
4628
|
-
var ContactCardsQuery = gqlTyped(templateObject_5$
|
|
4629
|
-
var templateObject_1$
|
|
4584
|
+
var CurrentUserQuery = gql__default['default'](templateObject_1$8 || (templateObject_1$8 = __makeTemplateObject(["\n query {\n currentUser {\n id\n username\n currentUserKey {\n passKey {\n id\n passKeyParams\n passIdpParams\n wrappedPassIdpVerifierPrk\n created\n }\n masterKey {\n id\n }\n rootKey {\n id\n }\n pxk {\n id\n }\n sigPxk {\n id\n }\n }\n userDelete {\n id\n created\n state\n }\n features {\n myVault\n tpVault\n shareVault\n }\n sessionEncryptionKey\n dateJoined\n }\n userPlans {\n id\n stripe {\n subscriptionId\n }\n plan {\n name\n data\n state\n }\n periodEnd\n }\n contactCards(orderBy: \"created\") {\n edges {\n node {\n id\n key {\n id\n }\n cipherData\n plainData\n }\n }\n }\n keyGraph {\n ...KeyGraphFragment\n }\n }\n ", "\n"], ["\n query {\n currentUser {\n id\n username\n currentUserKey {\n passKey {\n id\n passKeyParams\n passIdpParams\n wrappedPassIdpVerifierPrk\n created\n }\n masterKey {\n id\n }\n rootKey {\n id\n }\n pxk {\n id\n }\n sigPxk {\n id\n }\n }\n userDelete {\n id\n created\n state\n }\n features {\n myVault\n tpVault\n shareVault\n }\n sessionEncryptionKey\n dateJoined\n }\n userPlans {\n id\n stripe {\n subscriptionId\n }\n plan {\n name\n data\n state\n }\n periodEnd\n }\n contactCards(orderBy: \"created\") {\n edges {\n node {\n id\n key {\n id\n }\n cipherData\n plainData\n }\n }\n }\n keyGraph {\n ...KeyGraphFragment\n }\n }\n ", "\n"])), KeyGraphFragment);
|
|
4585
|
+
var CreateContactCardMutation$1 = gql__default['default'](templateObject_2$4 || (templateObject_2$4 = __makeTemplateObject(["\n mutation CreateContactCardMutation($input: CreateContactCardInput!) {\n createContactCard(input: $input) {\n contactCard {\n id\n key {\n id\n }\n cipherData\n }\n }\n }\n"], ["\n mutation CreateContactCardMutation($input: CreateContactCardInput!) {\n createContactCard(input: $input) {\n contactCard {\n id\n key {\n id\n }\n cipherData\n }\n }\n }\n"])));
|
|
4586
|
+
var UpdateContactCardMutation$1 = gql__default['default'](templateObject_3$3 || (templateObject_3$3 = __makeTemplateObject(["\n mutation UpdateContactCardMutation($input: UpdateContactCardInput!) {\n updateContactCard(input: $input) {\n contactCard {\n id\n key {\n id\n }\n cipherData\n }\n }\n }\n"], ["\n mutation UpdateContactCardMutation($input: UpdateContactCardInput!) {\n updateContactCard(input: $input) {\n contactCard {\n id\n key {\n id\n }\n cipherData\n }\n }\n }\n"])));
|
|
4587
|
+
var TrustedPartiesQuery = gqlTyped(templateObject_4$3 || (templateObject_4$3 = __makeTemplateObject(["\nquery TrustedPartiesQuery {\n tps {\n edges {\n node {\n ", "\n }\n }\n }\n}"], ["\nquery TrustedPartiesQuery {\n tps {\n edges {\n node {\n ", "\n }\n }\n }\n}"])), TrustedPartyProperties);
|
|
4588
|
+
var ContactCardsQuery = gqlTyped(templateObject_5$3 || (templateObject_5$3 = __makeTemplateObject(["\nquery ContactCardsQuery {\n contactCards(orderBy: \"created\") {\n edges {\n node {\n id\n cipherData\n key {\n id\n }\n }\n }\n }\n}\n"], ["\nquery ContactCardsQuery {\n contactCards(orderBy: \"created\") {\n edges {\n node {\n id\n cipherData\n key {\n id\n }\n }\n }\n }\n}\n"])));
|
|
4589
|
+
var templateObject_1$8, templateObject_2$4, templateObject_3$3, templateObject_4$3, templateObject_5$3;
|
|
4630
4590
|
|
|
4631
4591
|
var ProfileService = /** @class */ (function () {
|
|
4632
4592
|
function ProfileService(config, http, lrApollo, keyService, keyMetaService, keyGraph, encryptionService) {
|
|
@@ -4877,10 +4837,10 @@
|
|
|
4877
4837
|
{ type: EncryptionService }
|
|
4878
4838
|
]; };
|
|
4879
4839
|
|
|
4880
|
-
var PasswordChangeRequestMutation = gql__default['default'](templateObject_1$
|
|
4881
|
-
var PasswordChangeMutation = gql__default['default'](templateObject_2$
|
|
4882
|
-
var PasswordChangeConfigQuery = gql__default['default'](templateObject_3$
|
|
4883
|
-
var templateObject_1$
|
|
4840
|
+
var PasswordChangeRequestMutation = gql__default['default'](templateObject_1$9 || (templateObject_1$9 = __makeTemplateObject(["\n mutation {\n passwordChangeRequest(input: {}) {\n challenge\n }\n }\n"], ["\n mutation {\n passwordChangeRequest(input: {}) {\n challenge\n }\n }\n"])));
|
|
4841
|
+
var PasswordChangeMutation = gql__default['default'](templateObject_2$5 || (templateObject_2$5 = __makeTemplateObject(["\n mutation PasswordChange($input: PasswordChangeInput!) {\n passwordChange(input: $input) {\n token\n newPassKey {\n id\n }\n }\n }\n"], ["\n mutation PasswordChange($input: PasswordChangeInput!) {\n passwordChange(input: $input) {\n token\n newPassKey {\n id\n }\n }\n }\n"])));
|
|
4842
|
+
var PasswordChangeConfigQuery = gql__default['default'](templateObject_3$4 || (templateObject_3$4 = __makeTemplateObject(["\n query PasswordChangeConfigQuery {\n passwordChangeConfig {\n maxAuthAgeSeconds\n authTime\n serverTime\n }\n }\n"], ["\n query PasswordChangeConfigQuery {\n passwordChangeConfig {\n maxAuthAgeSeconds\n authTime\n serverTime\n }\n }\n"])));
|
|
4843
|
+
var templateObject_1$9, templateObject_2$5, templateObject_3$4;
|
|
4884
4844
|
|
|
4885
4845
|
// Ref: https://stackoverflow.com/questions/59735280/angular-8-moment-error-cannot-call-a-namespace-moment
|
|
4886
4846
|
var moment$1 = moment___namespace;
|
|
@@ -5506,8 +5466,8 @@
|
|
|
5506
5466
|
},] }
|
|
5507
5467
|
];
|
|
5508
5468
|
|
|
5509
|
-
var TpsKeysQuery = gqlTyped(templateObject_1$
|
|
5510
|
-
var templateObject_1$
|
|
5469
|
+
var TpsKeysQuery = gqlTyped(templateObject_1$a || (templateObject_1$a = __makeTemplateObject(["\nquery TpsKeysQuery($ids: [ID]) {\n tps(id_In: $ids) {\n edges {\n node {\n id\n currentUserSharedKey {\n userSharedKey {\n sharedKey {\n id\n }\n mkSharedKey {\n id\n }\n }\n }\n }\n }\n }\n}"], ["\nquery TpsKeysQuery($ids: [ID]) {\n tps(id_In: $ids) {\n edges {\n node {\n id\n currentUserSharedKey {\n userSharedKey {\n sharedKey {\n id\n }\n mkSharedKey {\n id\n }\n }\n }\n }\n }\n }\n}"])));
|
|
5470
|
+
var templateObject_1$a;
|
|
5511
5471
|
|
|
5512
5472
|
var TpAssemblyController = /** @class */ (function () {
|
|
5513
5473
|
function TpAssemblyController(injector) {
|
|
@@ -6034,16 +5994,16 @@
|
|
|
6034
5994
|
})
|
|
6035
5995
|
], exports.ɵi);
|
|
6036
5996
|
|
|
6037
|
-
var CancelTpPasswordResetRequestMutation = gqlTyped(templateObject_1$
|
|
6038
|
-
var CreateTpAssemblyKeyChallengeMutation = gqlTyped(templateObject_2$
|
|
6039
|
-
var PreCompleteTpPasswordResetRequestMutation = gqlTyped(templateObject_3$
|
|
6040
|
-
var CompleteTpPasswordResetRequestMutation = gqlTyped(templateObject_4$
|
|
6041
|
-
var ApproveTpPasswordResetRequestMutation = gqlTyped(templateObject_5$
|
|
6042
|
-
var RejectTpPasswordResetRequestMutation = gqlTyped(templateObject_6$
|
|
6043
|
-
var CreateTpPasswordResetMutation = gqlTyped(templateObject_7$
|
|
6044
|
-
var DeleteTpPasswordResetMutation = gqlTyped(templateObject_8$
|
|
6045
|
-
var UpdateTpPasswordResetMutation = gqlTyped(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\nmutation UpdateTpPasswordResetMutation($input: UpdateTpPasswordResetInput!) {\n updateTpPasswordReset(input: $input) {\n tpPasswordReset {\n id\n }\n }\n}"], ["\nmutation UpdateTpPasswordResetMutation($input: UpdateTpPasswordResetInput!) {\n updateTpPasswordReset(input: $input) {\n tpPasswordReset {\n id\n }\n }\n}"])));
|
|
6046
|
-
var templateObject_1$
|
|
5997
|
+
var CancelTpPasswordResetRequestMutation = gqlTyped(templateObject_1$b || (templateObject_1$b = __makeTemplateObject(["\nmutation CancelTpPasswordResetRequestMutation {\n cancelTpPasswordResetRequest(input: {}) {\n id\n }\n}"], ["\nmutation CancelTpPasswordResetRequestMutation {\n cancelTpPasswordResetRequest(input: {}) {\n id\n }\n}"])));
|
|
5998
|
+
var CreateTpAssemblyKeyChallengeMutation = gqlTyped(templateObject_2$6 || (templateObject_2$6 = __makeTemplateObject(["\nmutation CreateTpAssemblyKeyChallengeMutation(\n $input: CreateTpAssemblyKeyChallengeInput!\n) {\n createTpAssemblyKeyChallenge(input: $input) {\n challenge\n }\n}"], ["\nmutation CreateTpAssemblyKeyChallengeMutation(\n $input: CreateTpAssemblyKeyChallengeInput!\n) {\n createTpAssemblyKeyChallenge(input: $input) {\n challenge\n }\n}"])));
|
|
5999
|
+
var PreCompleteTpPasswordResetRequestMutation = gqlTyped(templateObject_3$5 || (templateObject_3$5 = __makeTemplateObject(["\nmutation PreCompleteTpPasswordResetRequestMutation(\n $input: PreCompleteTpPasswordResetRequestInput!\n) {\n preCompleteTpPasswordResetRequest(input: $input) {\n idpPassword\n }\n}"], ["\nmutation PreCompleteTpPasswordResetRequestMutation(\n $input: PreCompleteTpPasswordResetRequestInput!\n) {\n preCompleteTpPasswordResetRequest(input: $input) {\n idpPassword\n }\n}"])));
|
|
6000
|
+
var CompleteTpPasswordResetRequestMutation = gqlTyped(templateObject_4$4 || (templateObject_4$4 = __makeTemplateObject(["\nmutation CompleteTpPasswordResetRequestMutation(\n $input: CompleteTpPasswordResetRequestInput!\n) {\n completeTpPasswordResetRequest(input: $input) {\n id\n }\n}"], ["\nmutation CompleteTpPasswordResetRequestMutation(\n $input: CompleteTpPasswordResetRequestInput!\n) {\n completeTpPasswordResetRequest(input: $input) {\n id\n }\n}"])));
|
|
6001
|
+
var ApproveTpPasswordResetRequestMutation = gqlTyped(templateObject_5$4 || (templateObject_5$4 = __makeTemplateObject(["\nmutation ApproveTpPasswordResetRequestMutation(\n $input: ApproveTpPasswordResetRequestInput!\n) {\n approveTpPasswordResetRequest(input: $input) {\n claimApprover {\n id\n }\n }\n}"], ["\nmutation ApproveTpPasswordResetRequestMutation(\n $input: ApproveTpPasswordResetRequestInput!\n) {\n approveTpPasswordResetRequest(input: $input) {\n claimApprover {\n id\n }\n }\n}"])));
|
|
6002
|
+
var RejectTpPasswordResetRequestMutation = gqlTyped(templateObject_6$3 || (templateObject_6$3 = __makeTemplateObject(["\nmutation RejectTpPasswordResetRequestMutation(\n $input: RejectTpPasswordResetRequestInput!\n) {\n rejectTpPasswordResetRequest(input: $input) {\n claimApprover {\n id\n }\n }\n}"], ["\nmutation RejectTpPasswordResetRequestMutation(\n $input: RejectTpPasswordResetRequestInput!\n) {\n rejectTpPasswordResetRequest(input: $input) {\n claimApprover {\n id\n }\n }\n}"])));
|
|
6003
|
+
var CreateTpPasswordResetMutation = gqlTyped(templateObject_7$2 || (templateObject_7$2 = __makeTemplateObject(["\nmutation CreateTpPasswordResetMutation($input: CreateTpPasswordResetInput!) {\n createTpPasswordReset(input: $input) {\n tpPasswordReset {\n id\n }\n }\n}"], ["\nmutation CreateTpPasswordResetMutation($input: CreateTpPasswordResetInput!) {\n createTpPasswordReset(input: $input) {\n tpPasswordReset {\n id\n }\n }\n}"])));
|
|
6004
|
+
var DeleteTpPasswordResetMutation = gqlTyped(templateObject_8$2 || (templateObject_8$2 = __makeTemplateObject(["\nmutation DeleteTpPasswordResetMutation {\n deleteTpPasswordReset(input: {}) {\n id\n }\n}"], ["\nmutation DeleteTpPasswordResetMutation {\n deleteTpPasswordReset(input: {}) {\n id\n }\n}"])));
|
|
6005
|
+
var UpdateTpPasswordResetMutation = gqlTyped(templateObject_9$1 || (templateObject_9$1 = __makeTemplateObject(["\nmutation UpdateTpPasswordResetMutation($input: UpdateTpPasswordResetInput!) {\n updateTpPasswordReset(input: $input) {\n tpPasswordReset {\n id\n }\n }\n}"], ["\nmutation UpdateTpPasswordResetMutation($input: UpdateTpPasswordResetInput!) {\n updateTpPasswordReset(input: $input) {\n tpPasswordReset {\n id\n }\n }\n}"])));
|
|
6006
|
+
var templateObject_1$b, templateObject_2$6, templateObject_3$5, templateObject_4$4, templateObject_5$4, templateObject_6$3, templateObject_7$2, templateObject_8$2, templateObject_9$1;
|
|
6047
6007
|
|
|
6048
6008
|
var KeyContainer = /** @class */ (function () {
|
|
6049
6009
|
function KeyContainer(_key, timeout) {
|
|
@@ -6079,10 +6039,10 @@
|
|
|
6079
6039
|
return KeyContainer;
|
|
6080
6040
|
}());
|
|
6081
6041
|
|
|
6082
|
-
var CurrentUserQuery$1 = gqlTyped(templateObject_1$
|
|
6083
|
-
var ResetUserQuery = gqlTyped(templateObject_2$
|
|
6084
|
-
var SetSessionEncryptionKeyMutation = gqlTyped(templateObject_3$
|
|
6085
|
-
var templateObject_1$
|
|
6042
|
+
var CurrentUserQuery$1 = gqlTyped(templateObject_1$c || (templateObject_1$c = __makeTemplateObject(["\nquery {\n currentUser {\n id\n username\n currentUserKey {\n passKey {\n id\n passKeyParams\n passIdpParams\n wrappedPassIdpVerifierPrk\n created\n }\n masterKey {\n id\n }\n rootKey {\n id\n }\n pxk {\n id\n }\n sigPxk {\n id\n }\n }\n sessionEncryptionKey\n }\n keyGraph {\n ...KeyGraphFragment\n }\n}\n", "\n"], ["\nquery {\n currentUser {\n id\n username\n currentUserKey {\n passKey {\n id\n passKeyParams\n passIdpParams\n wrappedPassIdpVerifierPrk\n created\n }\n masterKey {\n id\n }\n rootKey {\n id\n }\n pxk {\n id\n }\n sigPxk {\n id\n }\n }\n sessionEncryptionKey\n }\n keyGraph {\n ...KeyGraphFragment\n }\n}\n", "\n"])), KeyGraphFragment);
|
|
6043
|
+
var ResetUserQuery = gqlTyped(templateObject_2$7 || (templateObject_2$7 = __makeTemplateObject(["\nquery ResetUserQuery {\n tpPasswordResetUser {\n username\n sessionEncryptionKey\n state\n passKey {\n id\n passKeyParams\n passIdpParams\n }\n masterKey {\n id\n }\n pxk {\n id\n }\n assembly {\n singleReject\n quorum\n subAssemblies {\n singleReject\n quorum\n approvers {\n name\n email\n state\n }\n }\n }\n approvals {\n id\n modified\n approverEmail\n receiverCipher\n receiverCipherPartialAssemblyKey\n }\n assemblyCipherData\n wrappedAssemblyKeyVerifierPrk\n }\n}"], ["\nquery ResetUserQuery {\n tpPasswordResetUser {\n username\n sessionEncryptionKey\n state\n passKey {\n id\n passKeyParams\n passIdpParams\n }\n masterKey {\n id\n }\n pxk {\n id\n }\n assembly {\n singleReject\n quorum\n subAssemblies {\n singleReject\n quorum\n approvers {\n name\n email\n state\n }\n }\n }\n approvals {\n id\n modified\n approverEmail\n receiverCipher\n receiverCipherPartialAssemblyKey\n }\n assemblyCipherData\n wrappedAssemblyKeyVerifierPrk\n }\n}"])));
|
|
6044
|
+
var SetSessionEncryptionKeyMutation = gqlTyped(templateObject_3$6 || (templateObject_3$6 = __makeTemplateObject(["\nmutation SetSessionEncryptionKeyMutation($input: SetSessionEncryptionKeyInput!) {\n setSessionEncryptionKey(input: $input) {\n sessionEncryptionKey\n }\n}\n"], ["\nmutation SetSessionEncryptionKeyMutation($input: SetSessionEncryptionKeyInput!) {\n setSessionEncryptionKey(input: $input) {\n sessionEncryptionKey\n }\n}\n"])));
|
|
6045
|
+
var templateObject_1$c, templateObject_2$7, templateObject_3$6;
|
|
6086
6046
|
|
|
6087
6047
|
var RecoveryStatus;
|
|
6088
6048
|
(function (RecoveryStatus) {
|
|
@@ -6917,10 +6877,10 @@
|
|
|
6917
6877
|
})
|
|
6918
6878
|
], exports.Auth2Service);
|
|
6919
6879
|
|
|
6920
|
-
var CreateContactCardMutation$2 = gqlTyped(templateObject_1$
|
|
6921
|
-
var UpdateContactCardMutation$2 = gqlTyped(templateObject_2$
|
|
6922
|
-
var DeleteContactCardMutation$1 = gqlTyped(templateObject_3$
|
|
6923
|
-
var templateObject_1$
|
|
6880
|
+
var CreateContactCardMutation$2 = gqlTyped(templateObject_1$d || (templateObject_1$d = __makeTemplateObject(["\nmutation CreateContactCardMutation(\n $input: CreateContactCardInput!\n) {\n createContactCard(input: $input) {\n contactCard {\n id\n }\n }\n}\n"], ["\nmutation CreateContactCardMutation(\n $input: CreateContactCardInput!\n) {\n createContactCard(input: $input) {\n contactCard {\n id\n }\n }\n}\n"])));
|
|
6881
|
+
var UpdateContactCardMutation$2 = gqlTyped(templateObject_2$8 || (templateObject_2$8 = __makeTemplateObject(["\nmutation UpdateContactCardMutation($input: UpdateContactCardInput!) {\n updateContactCard(input: $input) {\n contactCard {\n id\n }\n }\n}\n"], ["\nmutation UpdateContactCardMutation($input: UpdateContactCardInput!) {\n updateContactCard(input: $input) {\n contactCard {\n id\n }\n }\n}\n"])));
|
|
6882
|
+
var DeleteContactCardMutation$1 = gqlTyped(templateObject_3$7 || (templateObject_3$7 = __makeTemplateObject(["\nmutation DeleteContactCardMutation($input: DeleteContactCardInput!) {\n deleteContactCard(input: $input) {\n id\n }\n}\n"], ["\nmutation DeleteContactCardMutation($input: DeleteContactCardInput!) {\n deleteContactCard(input: $input) {\n id\n }\n}\n"])));
|
|
6883
|
+
var templateObject_1$d, templateObject_2$8, templateObject_3$7;
|
|
6924
6884
|
|
|
6925
6885
|
var OwnerPlainDataJson = /** @class */ (function () {
|
|
6926
6886
|
function OwnerPlainDataJson() {
|
|
@@ -7146,11 +7106,11 @@
|
|
|
7146
7106
|
{ type: i4.AuthClass }
|
|
7147
7107
|
]; };
|
|
7148
7108
|
|
|
7149
|
-
var LockFragment = gqlTyped(templateObject_1$
|
|
7150
|
-
var UpdateLockMutation = gqlTyped(templateObject_2$
|
|
7151
|
-
var AcquireLockMutation = gqlTyped(templateObject_3$
|
|
7152
|
-
var ReleaseLockMutation = gqlTyped(templateObject_4$
|
|
7153
|
-
var templateObject_1$
|
|
7109
|
+
var LockFragment = gqlTyped(templateObject_1$e || (templateObject_1$e = __makeTemplateObject(["\nfragment LockFragment on LockField {\n created\n modified\n version\n expiryTime\n state\n}"], ["\nfragment LockFragment on LockField {\n created\n modified\n version\n expiryTime\n state\n}"])));
|
|
7110
|
+
var UpdateLockMutation = gqlTyped(templateObject_2$9 || (templateObject_2$9 = __makeTemplateObject(["\nmutation UpdateLockMutation($input: UpdateLockInput!) {\n updateLock(input: $input) {\n lock {\n ...LockFragment\n }\n }\n}\n", "\n"], ["\nmutation UpdateLockMutation($input: UpdateLockInput!) {\n updateLock(input: $input) {\n lock {\n ...LockFragment\n }\n }\n}\n", "\n"])), LockFragment);
|
|
7111
|
+
var AcquireLockMutation = gqlTyped(templateObject_3$8 || (templateObject_3$8 = __makeTemplateObject(["\nmutation AcquireLockMutation($input: AcquireLockInput!) {\n acquireLock(input: $input) {\n lock {\n ...LockFragment\n }\n }\n}\n", "\n"], ["\nmutation AcquireLockMutation($input: AcquireLockInput!) {\n acquireLock(input: $input) {\n lock {\n ...LockFragment\n }\n }\n}\n", "\n"])), LockFragment);
|
|
7112
|
+
var ReleaseLockMutation = gqlTyped(templateObject_4$5 || (templateObject_4$5 = __makeTemplateObject(["\nmutation ReleaseLockMutation($input: ReleaseLockInput!) {\n releaseLock(input: $input) {\n lock {\n ...LockFragment\n }\n }\n}\n", "\n"], ["\nmutation ReleaseLockMutation($input: ReleaseLockInput!) {\n releaseLock(input: $input) {\n lock {\n ...LockFragment\n }\n }\n}\n", "\n"])), LockFragment);
|
|
7113
|
+
var templateObject_1$e, templateObject_2$9, templateObject_3$8, templateObject_4$5;
|
|
7154
7114
|
|
|
7155
7115
|
exports.LockService = /** @class */ (function (_super) {
|
|
7156
7116
|
__extends(LockService, _super);
|
|
@@ -7212,15 +7172,15 @@
|
|
|
7212
7172
|
})
|
|
7213
7173
|
], exports.LockService);
|
|
7214
7174
|
|
|
7215
|
-
var CreateDirectoryMutation = gqlTyped(templateObject_1$
|
|
7216
|
-
var UpdateDirectoryMutation = gqlTyped(templateObject_2$
|
|
7217
|
-
var DeleteDirectoryMutation = gqlTyped(templateObject_3$
|
|
7218
|
-
var CreateFileMutation = gqlTyped(templateObject_4$
|
|
7219
|
-
var UpdateFileMutation = gqlTyped(templateObject_5$
|
|
7220
|
-
var RevertFileMutation = gqlTyped(templateObject_6$
|
|
7221
|
-
var DeleteFileMutation = gqlTyped(templateObject_7$
|
|
7222
|
-
var ArchiveDirectoryMutation = gqlTyped(templateObject_8$
|
|
7223
|
-
var ArchiveFileMutation = gqlTyped(templateObject_9$
|
|
7175
|
+
var CreateDirectoryMutation = gqlTyped(templateObject_1$f || (templateObject_1$f = __makeTemplateObject(["\nmutation CreateDirectoryMutation($input: CreateDirectoryInput!) {\n createDirectory(input: $input) {\n directory {\n id\n keyId\n }\n }\n}\n"], ["\nmutation CreateDirectoryMutation($input: CreateDirectoryInput!) {\n createDirectory(input: $input) {\n directory {\n id\n keyId\n }\n }\n}\n"])));
|
|
7176
|
+
var UpdateDirectoryMutation = gqlTyped(templateObject_2$a || (templateObject_2$a = __makeTemplateObject(["\nmutation UpdateDirectoryMutation($input: UpdateDirectoryInput!) {\n updateDirectory(input: $input) {\n directory {\n id\n modified\n }\n }\n}\n"], ["\nmutation UpdateDirectoryMutation($input: UpdateDirectoryInput!) {\n updateDirectory(input: $input) {\n directory {\n id\n modified\n }\n }\n}\n"])));
|
|
7177
|
+
var DeleteDirectoryMutation = gqlTyped(templateObject_3$9 || (templateObject_3$9 = __makeTemplateObject(["\nmutation DeleteDirectoryMutation($input: DeleteDirectoryInput!) {\n deleteDirectory(input: $input) {\n id\n }\n}\n"], ["\nmutation DeleteDirectoryMutation($input: DeleteDirectoryInput!) {\n deleteDirectory(input: $input) {\n id\n }\n}\n"])));
|
|
7178
|
+
var CreateFileMutation = gqlTyped(templateObject_4$6 || (templateObject_4$6 = __makeTemplateObject(["\nmutation CreateFileMutation($input: CreateFileInput!) {\n createFile(input: $input) {\n file {\n id\n keyId\n }\n }\n}\n"], ["\nmutation CreateFileMutation($input: CreateFileInput!) {\n createFile(input: $input) {\n file {\n id\n keyId\n }\n }\n}\n"])));
|
|
7179
|
+
var UpdateFileMutation = gqlTyped(templateObject_5$5 || (templateObject_5$5 = __makeTemplateObject(["\nmutation UpdateFileMutation($input: UpdateFileInput!) {\n updateFile(input: $input) {\n file {\n id\n }\n }\n}\n"], ["\nmutation UpdateFileMutation($input: UpdateFileInput!) {\n updateFile(input: $input) {\n file {\n id\n }\n }\n}\n"])));
|
|
7180
|
+
var RevertFileMutation = gqlTyped(templateObject_6$4 || (templateObject_6$4 = __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"])));
|
|
7181
|
+
var DeleteFileMutation = gqlTyped(templateObject_7$3 || (templateObject_7$3 = __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"])));
|
|
7182
|
+
var ArchiveDirectoryMutation = gqlTyped(templateObject_8$3 || (templateObject_8$3 = __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"])));
|
|
7183
|
+
var ArchiveFileMutation = gqlTyped(templateObject_9$2 || (templateObject_9$2 = __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"])));
|
|
7224
7184
|
var UnarchiveDirectoryMutation = gqlTyped(templateObject_10 || (templateObject_10 = __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"])));
|
|
7225
7185
|
var UnarchiveFileMutation = gqlTyped(templateObject_11 || (templateObject_11 = __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"])));
|
|
7226
7186
|
var ChangeDirectoryParentsMutation = gqlTyped(templateObject_12 || (templateObject_12 = __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"])));
|
|
@@ -7229,12 +7189,12 @@
|
|
|
7229
7189
|
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"])));
|
|
7230
7190
|
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"])));
|
|
7231
7191
|
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"])));
|
|
7232
|
-
var templateObject_1$
|
|
7192
|
+
var templateObject_1$f, templateObject_2$a, templateObject_3$9, templateObject_4$6, templateObject_5$5, templateObject_6$4, templateObject_7$3, templateObject_8$3, templateObject_9$2, templateObject_10, templateObject_11, templateObject_12, templateObject_13, templateObject_14, templateObject_15, templateObject_16, templateObject_17;
|
|
7233
7193
|
|
|
7234
|
-
var DirectoryKeyQuery$1 = gqlTyped(templateObject_1$
|
|
7235
|
-
var FileKeyQuery = gqlTyped(templateObject_2$
|
|
7236
|
-
var FileStateKeyQuery = gqlTyped(templateObject_3$
|
|
7237
|
-
var templateObject_1$
|
|
7194
|
+
var DirectoryKeyQuery$1 = gqlTyped(templateObject_1$g || (templateObject_1$g = __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"])));
|
|
7195
|
+
var FileKeyQuery = gqlTyped(templateObject_2$b || (templateObject_2$b = __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"])));
|
|
7196
|
+
var FileStateKeyQuery = gqlTyped(templateObject_3$a || (templateObject_3$a = __makeTemplateObject(["\nquery FileStateKeyQuery($id: LrRelayIdInput!) {\n fileState(id: $id) {\n keyId\n }\n}\n"], ["\nquery FileStateKeyQuery($id: LrRelayIdInput!) {\n fileState(id: $id) {\n keyId\n }\n}\n"])));
|
|
7197
|
+
var templateObject_1$g, templateObject_2$b, templateObject_3$a;
|
|
7238
7198
|
|
|
7239
7199
|
var Item2Service_1;
|
|
7240
7200
|
exports.Item2Service = Item2Service_1 = /** @class */ (function (_super) {
|
|
@@ -7267,7 +7227,7 @@
|
|
|
7267
7227
|
case 2:
|
|
7268
7228
|
fileStateKey = _d.sent();
|
|
7269
7229
|
return [2 /*return*/, this.keyGraph.decryptFromString(fileStateKey, fileContent, {
|
|
7270
|
-
payloadType:
|
|
7230
|
+
payloadType: PayloadType.UINT_8_ARRAY,
|
|
7271
7231
|
})];
|
|
7272
7232
|
}
|
|
7273
7233
|
});
|
|
@@ -8061,19 +8021,6 @@
|
|
|
8061
8021
|
})
|
|
8062
8022
|
], exports.Item2Service);
|
|
8063
8023
|
|
|
8064
|
-
var KeyExchangeFragment = gqlTyped(templateObject_1$g || (templateObject_1$g = __makeTemplateObject(["\nfragment KeyExchangeFragment on KeyExchangeNode {\n id\n token\n state\n mode\n isInitiator\n initiator {\n id\n username\n config\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 config\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"])));
|
|
8065
|
-
var UserSharedKeyFragment = gqlTyped(templateObject_2$b || (templateObject_2$b = __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}"])));
|
|
8066
|
-
var KeyExchangesQuery2 = gqlTyped(templateObject_3$a || (templateObject_3$a = __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);
|
|
8067
|
-
var KeyExchangeQuery2 = gqlTyped(templateObject_4$6 || (templateObject_4$6 = __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);
|
|
8068
|
-
var KeyExchangeTokenQuery2 = gqlTyped(templateObject_5$5 || (templateObject_5$5 = __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);
|
|
8069
|
-
var CancelKeyExchangeMutation = gqlTyped(templateObject_6$4 || (templateObject_6$4 = __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"])));
|
|
8070
|
-
var DeclineKeyExchangeMutation = gqlTyped(templateObject_7$3 || (templateObject_7$3 = __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"])));
|
|
8071
|
-
var InitiateKeyExchangeOtkMutation = gqlTyped(templateObject_8$3 || (templateObject_8$3 = __makeTemplateObject(["\nmutation InitiateKeyExchangeOtkMutation(\n $input: InitiateKeyExchangeOtkInput!\n) {\n initiateKeyExchangeOtk(input: $input) {\n keyExchange {\n ...KeyExchangeFragment\n }\n }\n}\n", "\n"], ["\nmutation InitiateKeyExchangeOtkMutation(\n $input: InitiateKeyExchangeOtkInput!\n) {\n initiateKeyExchangeOtk(input: $input) {\n keyExchange {\n ...KeyExchangeFragment\n }\n }\n}\n", "\n"])), KeyExchangeFragment);
|
|
8072
|
-
var RespondKeyExchangeOtkMutation = gqlTyped(templateObject_9$2 || (templateObject_9$2 = __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);
|
|
8073
|
-
var CompleteKeyExchangeOtkMutation = gqlTyped(templateObject_10$1 || (templateObject_10$1 = __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);
|
|
8074
|
-
var CurrentUserSharedKeyQuery2 = gqlTyped(templateObject_11$1 || (templateObject_11$1 = __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);
|
|
8075
|
-
var templateObject_1$g, templateObject_2$b, templateObject_3$a, templateObject_4$6, templateObject_5$5, templateObject_6$4, templateObject_7$3, templateObject_8$3, templateObject_9$2, templateObject_10$1, templateObject_11$1;
|
|
8076
|
-
|
|
8077
8024
|
exports.KeyExchange2Service = /** @class */ (function (_super) {
|
|
8078
8025
|
__extends(KeyExchange2Service, _super);
|
|
8079
8026
|
function KeyExchange2Service(ngZone, injector, keyFactory, keyService, encryptionService, keyGraph) {
|
|
@@ -10291,8 +10238,8 @@
|
|
|
10291
10238
|
var ApproveScenarioClaimMutation = gqlTyped(templateObject_7$5 || (templateObject_7$5 = __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"])));
|
|
10292
10239
|
var ReceiveScenarioClaimMutation = gqlTyped(templateObject_8$5 || (templateObject_8$5 = __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"])));
|
|
10293
10240
|
var DebugExpireScenarioClaimMutation = gqlTyped(templateObject_9$4 || (templateObject_9$4 = __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"])));
|
|
10294
|
-
var DebugExpireTpPasswordResetRequestMutation = gqlTyped(templateObject_10$
|
|
10295
|
-
var templateObject_1$l, templateObject_2$g, templateObject_3$f, templateObject_4$a, templateObject_5$9, templateObject_6$6, templateObject_7$5, templateObject_8$5, templateObject_9$4, templateObject_10$
|
|
10241
|
+
var DebugExpireTpPasswordResetRequestMutation = gqlTyped(templateObject_10$1 || (templateObject_10$1 = __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"])));
|
|
10242
|
+
var templateObject_1$l, templateObject_2$g, templateObject_3$f, templateObject_4$a, templateObject_5$9, templateObject_6$6, templateObject_7$5, templateObject_8$5, templateObject_9$4, templateObject_10$1;
|
|
10296
10243
|
|
|
10297
10244
|
var ScenarioQuery = gqlTyped(templateObject_1$m || (templateObject_1$m = __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}"])));
|
|
10298
10245
|
var SharedScenarioQuery = gqlTyped(templateObject_2$h || (templateObject_2$h = __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"])));
|
|
@@ -12378,7 +12325,9 @@
|
|
|
12378
12325
|
exports.ApiContactCard = ApiContactCard;
|
|
12379
12326
|
exports.ApiCurrentUser = ApiCurrentUser;
|
|
12380
12327
|
exports.AuthTypes = auth2_types;
|
|
12328
|
+
exports.CancelKeyExchangeMutation = CancelKeyExchangeMutation;
|
|
12381
12329
|
exports.CancelUserDeleteMutation = CancelUserDeleteMutation;
|
|
12330
|
+
exports.CompleteKeyExchangeOtkMutation = CompleteKeyExchangeOtkMutation;
|
|
12382
12331
|
exports.ContactCardAddress = ContactCardAddress;
|
|
12383
12332
|
exports.ContactCardName = ContactCardName;
|
|
12384
12333
|
exports.ContactCardsQuery = ContactCardsQuery;
|
|
@@ -12387,6 +12336,8 @@
|
|
|
12387
12336
|
exports.CreateLbopQuery = CreateLbopQuery;
|
|
12388
12337
|
exports.CurrentUserKey = CurrentUserKey;
|
|
12389
12338
|
exports.CurrentUserQuery = CurrentUserQuery;
|
|
12339
|
+
exports.CurrentUserSharedKeyQuery2 = CurrentUserSharedKeyQuery2;
|
|
12340
|
+
exports.DeclineKeyExchangeMutation = DeclineKeyExchangeMutation;
|
|
12390
12341
|
exports.DefaultProcessorOptions = DefaultProcessorOptions;
|
|
12391
12342
|
exports.DeleteLbopQuery = DeleteLbopQuery;
|
|
12392
12343
|
exports.DirectoryQuery = DirectoryQuery;
|
|
@@ -12396,6 +12347,7 @@
|
|
|
12396
12347
|
exports.FileQuery = FileQuery;
|
|
12397
12348
|
exports.FileUploadService = FileUploadService;
|
|
12398
12349
|
exports.IdleService = IdleService;
|
|
12350
|
+
exports.InitiateKeyExchangeOtkMutation = InitiateKeyExchangeOtkMutation;
|
|
12399
12351
|
exports.KC_CONFIG = KC_CONFIG;
|
|
12400
12352
|
exports.KcAuthException = KcAuthException;
|
|
12401
12353
|
exports.KcBadArgumentException = KcBadArgumentException;
|
|
@@ -12415,6 +12367,9 @@
|
|
|
12415
12367
|
exports.KcSuspiciousOperationException = KcSuspiciousOperationException;
|
|
12416
12368
|
exports.KcUnsupportedException = KcUnsupportedException;
|
|
12417
12369
|
exports.KeyExchangeFields = KeyExchangeFields;
|
|
12370
|
+
exports.KeyExchangeQuery2 = KeyExchangeQuery2;
|
|
12371
|
+
exports.KeyExchangeTokenQuery2 = KeyExchangeTokenQuery2;
|
|
12372
|
+
exports.KeyExchangesQuery2 = KeyExchangesQuery2;
|
|
12418
12373
|
exports.KeyGraphField = KeyGraphField;
|
|
12419
12374
|
exports.KeyGraphFragment = KeyGraphFragment;
|
|
12420
12375
|
exports.LbopQuery = LbopQuery;
|
|
@@ -12442,6 +12397,7 @@
|
|
|
12442
12397
|
exports.ProfileService = ProfileService;
|
|
12443
12398
|
exports.RegisterService = RegisterService;
|
|
12444
12399
|
exports.RequestUserDeleteMutation = RequestUserDeleteMutation;
|
|
12400
|
+
exports.RespondKeyExchangeOtkMutation = RespondKeyExchangeOtkMutation;
|
|
12445
12401
|
exports.RevertFileQuery = RevertFileQuery;
|
|
12446
12402
|
exports.ServerTimeQuery = ServerTimeQuery;
|
|
12447
12403
|
exports.SharedTrustedPartyDetails = SharedTrustedPartyDetails;
|