@lifeready/core 1.1.20 → 1.1.22
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 +247 -42
- 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/api/types/lr-graphql.types.js +8 -1
- package/esm2015/lib/plan2/plan2.gql.js +122 -0
- package/esm2015/lib/plan2/plan2.service.js +191 -0
- package/esm2015/lib/plan2/plan2.types.js +2 -0
- package/esm2015/public-api.js +3 -1
- package/fesm2015/lifeready-core.js +313 -1
- package/fesm2015/lifeready-core.js.map +1 -1
- package/lib/api/types/lr-graphql.types.d.ts +87 -5
- package/lib/plan2/plan2.gql.d.ts +66 -0
- package/lib/plan2/plan2.service.d.ts +111 -0
- package/lib/plan2/plan2.types.d.ts +15 -0
- package/lifeready-core.metadata.json +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +2 -0
|
@@ -3780,6 +3780,12 @@
|
|
|
3780
3780
|
LinkTypeField["HARD"] = "HARD";
|
|
3781
3781
|
LinkTypeField["SOFT"] = "SOFT";
|
|
3782
3782
|
})(exports.LinkTypeField || (exports.LinkTypeField = {}));
|
|
3783
|
+
(function (PlanStateField) {
|
|
3784
|
+
PlanStateField["TRIALLING"] = "TRIALLING";
|
|
3785
|
+
PlanStateField["ACTIVE"] = "ACTIVE";
|
|
3786
|
+
PlanStateField["CANCELLED"] = "CANCELLED";
|
|
3787
|
+
PlanStateField["EXPIRED"] = "EXPIRED";
|
|
3788
|
+
})(exports.PlanStateField || (exports.PlanStateField = {}));
|
|
3783
3789
|
|
|
3784
3790
|
function handleCognitoCallback(method) {
|
|
3785
3791
|
return new Promise(function (resolve, reject) { return method(function (err, result) { return (err ? reject(err) : resolve(result)); }); });
|
|
@@ -11196,8 +11202,207 @@
|
|
|
11196
11202
|
return StripeBillingPortalSession;
|
|
11197
11203
|
}());
|
|
11198
11204
|
|
|
11205
|
+
var PlanFields = "\n id\n created\n modified\n name\n description\n currentStates {\n id\n created\n modified\n periodStart\n periodEnd\n state\n }\n currentPriceOption {\n priceId\n name\n amount\n currency\n intervalUnit\n intervalCount\n }\n alternativePriceOptions {\n priceId\n name\n amount\n currency\n intervalUnit\n intervalCount\n }\n";
|
|
11206
|
+
var InitiateStripePaymentMethodCaptureMutation = gqlTyped(templateObject_1$o || (templateObject_1$o = __makeTemplateObject(["\nmutation InitiateStripePaymentMethodCaptureMutation {\n initiateStripePaymentMethodCapture(input: {}) {\n paymentCapture {\n stripeIntentId\n stripeClientSecret\n }\n }\n}\n"], ["\nmutation InitiateStripePaymentMethodCaptureMutation {\n initiateStripePaymentMethodCapture(input: {}) {\n paymentCapture {\n stripeIntentId\n stripeClientSecret\n }\n }\n}\n"])));
|
|
11207
|
+
var CompleteStripePaymentMethodCaptureMutation = gqlTyped(templateObject_2$l || (templateObject_2$l = __makeTemplateObject(["\nmutation CompleteStripePaymentMethodCaptureMutation($input: CompleteStripePaymentMethodCaptureInput!) {\n completeStripePaymentMethodCapture(input: $input) {\n paymentMethod {\n id\n created\n modified\n card {\n brand\n lastFourDigits\n expiryYear\n expiryMonth\n }\n isDefault \n }\n }\n}\n"], ["\nmutation CompleteStripePaymentMethodCaptureMutation($input: CompleteStripePaymentMethodCaptureInput!) {\n completeStripePaymentMethodCapture(input: $input) {\n paymentMethod {\n id\n created\n modified\n card {\n brand\n lastFourDigits\n expiryYear\n expiryMonth\n }\n isDefault \n }\n }\n}\n"])));
|
|
11208
|
+
var RemovePaymentMethodMutation = gqlTyped(templateObject_3$i || (templateObject_3$i = __makeTemplateObject(["\nmutation RemovePaymentMethodMutation($input: RemovePaymentMethodInput!) {\n removePaymentMethod(input: $input) {\n id\n }\n}\n"], ["\nmutation RemovePaymentMethodMutation($input: RemovePaymentMethodInput!) {\n removePaymentMethod(input: $input) {\n id\n }\n}\n"])));
|
|
11209
|
+
var SetDefaultPaymentMethodMutation = gqlTyped(templateObject_4$d || (templateObject_4$d = __makeTemplateObject(["\nmutation SetDefaultPaymentMethodMutation($input: SetDefaultPaymentMethodInput!) {\n setDefaultPaymentMethod(input: $input) {\n paymentMethod {\n id\n } \n }\n}\n"], ["\nmutation SetDefaultPaymentMethodMutation($input: SetDefaultPaymentMethodInput!) {\n setDefaultPaymentMethod(input: $input) {\n paymentMethod {\n id\n } \n }\n}\n"])));
|
|
11210
|
+
var RemoveDefaultPaymentMethodMutation = gqlTyped(templateObject_5$c || (templateObject_5$c = __makeTemplateObject(["\nmutation RemoveDefaultPaymentMethodMutation {\n removeDefaultPaymentMethod(input: {}) {\n paymentMethod {\n id\n } \n }\n}\n"], ["\nmutation RemoveDefaultPaymentMethodMutation {\n removeDefaultPaymentMethod(input: {}) {\n paymentMethod {\n id\n } \n }\n}\n"])));
|
|
11211
|
+
var IssuePlanMutation = gqlTyped(templateObject_6$9 || (templateObject_6$9 = __makeTemplateObject(["\nmutation IssuePlanMutation($input: IssuePlanInput!) {\n issuePlan(input: $input) {\n plan {\n ", "\n }\n }\n}\n"], ["\nmutation IssuePlanMutation($input: IssuePlanInput!) {\n issuePlan(input: $input) {\n plan {\n ", "\n }\n }\n}\n"])), PlanFields);
|
|
11212
|
+
var CancelPlanMutation = gqlTyped(templateObject_7$8 || (templateObject_7$8 = __makeTemplateObject(["\nmutation CancelPlanMutation($input: CancelPlanInput!) {\n cancelPlan(input: $input) {\n plan {\n ", "\n } \n }\n}\n"], ["\nmutation CancelPlanMutation($input: CancelPlanInput!) {\n cancelPlan(input: $input) {\n plan {\n ", "\n } \n }\n}\n"])), PlanFields);
|
|
11213
|
+
var ChangePriceOptionMutation = gqlTyped(templateObject_8$7 || (templateObject_8$7 = __makeTemplateObject(["\nmutation ChangePriceOptionMutation($input: ChangePriceOptionInput!) {\n changePriceOption(input: $input) {\n plan {\n ", "\n } \n }\n}\n"], ["\nmutation ChangePriceOptionMutation($input: ChangePriceOptionInput!) {\n changePriceOption(input: $input) {\n plan {\n ", "\n } \n }\n}\n"])), PlanFields);
|
|
11214
|
+
var ReactivatePlanMutation = gqlTyped(templateObject_9$5 || (templateObject_9$5 = __makeTemplateObject(["\nmutation ReactivatePlanMutation($input: ReactivatePlanInput!) {\n reactivatePlan(input: $input) {\n plan {\n ", "\n } \n }\n}\n"], ["\nmutation ReactivatePlanMutation($input: ReactivatePlanInput!) {\n reactivatePlan(input: $input) {\n plan {\n ", "\n } \n }\n}\n"])), PlanFields);
|
|
11215
|
+
var templateObject_1$o, templateObject_2$l, templateObject_3$i, templateObject_4$d, templateObject_5$c, templateObject_6$9, templateObject_7$8, templateObject_8$7, templateObject_9$5;
|
|
11216
|
+
|
|
11217
|
+
exports.Plan2Service = /** @class */ (function (_super) {
|
|
11218
|
+
__extends(Plan2Service, _super);
|
|
11219
|
+
function Plan2Service(ngZone, injector) {
|
|
11220
|
+
var _this = _super.call(this, injector) || this;
|
|
11221
|
+
_this.ngZone = ngZone;
|
|
11222
|
+
_this.injector = injector;
|
|
11223
|
+
return _this;
|
|
11224
|
+
}
|
|
11225
|
+
Plan2Service.prototype.initiateStripePaymentMethodCapture = function () {
|
|
11226
|
+
return this.mutate(this.initiateStripePaymentMethodCaptureMutation());
|
|
11227
|
+
};
|
|
11228
|
+
/**
|
|
11229
|
+
* Starts a stripe payment capture intent. On intent can only add one card.
|
|
11230
|
+
* @returns Promise that resolves to a mutation
|
|
11231
|
+
*/
|
|
11232
|
+
Plan2Service.prototype.initiateStripePaymentMethodCaptureMutation = function () {
|
|
11233
|
+
return new LrMutation({
|
|
11234
|
+
mutation: InitiateStripePaymentMethodCaptureMutation,
|
|
11235
|
+
variables: {
|
|
11236
|
+
input: {},
|
|
11237
|
+
},
|
|
11238
|
+
});
|
|
11239
|
+
};
|
|
11240
|
+
Plan2Service.prototype.completeStripePaymentMethodCapture = function (stripeIntentId) {
|
|
11241
|
+
return this.mutate(this.completeStripePaymentMethodCaptureMutation(stripeIntentId));
|
|
11242
|
+
};
|
|
11243
|
+
/**
|
|
11244
|
+
* Completes the payment capture intent. Call this after calling stripe.confirmCardSetup.
|
|
11245
|
+
*
|
|
11246
|
+
* The return result of this mutation can be used to update the UI. Because this is a mutation
|
|
11247
|
+
* we always get the most up to date data from the BD.
|
|
11248
|
+
*
|
|
11249
|
+
* @returns Promise that resolves to a mutation with the just created PaymentMethodNode
|
|
11250
|
+
*/
|
|
11251
|
+
Plan2Service.prototype.completeStripePaymentMethodCaptureMutation = function (stripeIntentId) {
|
|
11252
|
+
return new LrMutation({
|
|
11253
|
+
mutation: CompleteStripePaymentMethodCaptureMutation,
|
|
11254
|
+
variables: {
|
|
11255
|
+
input: { stripeIntentId: stripeIntentId },
|
|
11256
|
+
},
|
|
11257
|
+
});
|
|
11258
|
+
};
|
|
11259
|
+
Plan2Service.prototype.setDefaultPaymentMethod = function (paymentMethodId) {
|
|
11260
|
+
return this.mutate(this.setDefaultPaymentMethodMutation(paymentMethodId));
|
|
11261
|
+
};
|
|
11262
|
+
/**
|
|
11263
|
+
* Mutation that sets the default payment method for the current user.
|
|
11264
|
+
*
|
|
11265
|
+
* @param paymentMethodId The id from PaymentMethodNode
|
|
11266
|
+
* @returns Promise that resolves to a mutation
|
|
11267
|
+
*/
|
|
11268
|
+
Plan2Service.prototype.setDefaultPaymentMethodMutation = function (paymentMethodId) {
|
|
11269
|
+
return new LrMutation({
|
|
11270
|
+
mutation: SetDefaultPaymentMethodMutation,
|
|
11271
|
+
variables: {
|
|
11272
|
+
input: {
|
|
11273
|
+
paymentMethodId: paymentMethodId,
|
|
11274
|
+
},
|
|
11275
|
+
},
|
|
11276
|
+
});
|
|
11277
|
+
};
|
|
11278
|
+
Plan2Service.prototype.removeDefaultPaymentMethod = function () {
|
|
11279
|
+
return this.mutate(this.removeDefaultPaymentMethodMutation());
|
|
11280
|
+
};
|
|
11281
|
+
/**
|
|
11282
|
+
* Mutation that removes a the default payment method
|
|
11283
|
+
*
|
|
11284
|
+
* @returns Promise that resolves to a mutation
|
|
11285
|
+
*/
|
|
11286
|
+
Plan2Service.prototype.removeDefaultPaymentMethodMutation = function () {
|
|
11287
|
+
return new LrMutation({
|
|
11288
|
+
mutation: RemoveDefaultPaymentMethodMutation,
|
|
11289
|
+
variables: {
|
|
11290
|
+
input: {},
|
|
11291
|
+
},
|
|
11292
|
+
});
|
|
11293
|
+
};
|
|
11294
|
+
Plan2Service.prototype.issuePlan = function (options) {
|
|
11295
|
+
return this.mutate(this.issuePlanMutation(options));
|
|
11296
|
+
};
|
|
11297
|
+
/**
|
|
11298
|
+
* Mutation that issues a new plan for the current user.
|
|
11299
|
+
*
|
|
11300
|
+
* @param options.issuerUid The same issuerUid that is in the AvailablePlanField returned by queries such as availablePublicPlans
|
|
11301
|
+
* @param options.planUid The same planUid that is in the AvailablePlanField returned by queries such as availablePublicPlans
|
|
11302
|
+
* @param options.priceId The priceId from PriceOptionField (eg. inside AvailablePlanField)
|
|
11303
|
+
* @param options.promotionalCode promotion code where applicable
|
|
11304
|
+
* @returns Promise that resolves to a mutation
|
|
11305
|
+
*/
|
|
11306
|
+
Plan2Service.prototype.issuePlanMutation = function (options) {
|
|
11307
|
+
return new LrMutation({
|
|
11308
|
+
mutation: IssuePlanMutation,
|
|
11309
|
+
variables: {
|
|
11310
|
+
input: options,
|
|
11311
|
+
},
|
|
11312
|
+
});
|
|
11313
|
+
};
|
|
11314
|
+
Plan2Service.prototype.removePaymentMethod = function (paymentMethodId) {
|
|
11315
|
+
return this.mutate(this.removePaymentMethodMutation(paymentMethodId));
|
|
11316
|
+
};
|
|
11317
|
+
/**
|
|
11318
|
+
* Mutation that removes a payment method for the current user
|
|
11319
|
+
*
|
|
11320
|
+
* @param paymentMethodId The id from PaymentMethodNode
|
|
11321
|
+
* @returns Promise that resolves to a mutation
|
|
11322
|
+
*/
|
|
11323
|
+
Plan2Service.prototype.removePaymentMethodMutation = function (paymentMethodId) {
|
|
11324
|
+
return new LrMutation({
|
|
11325
|
+
mutation: RemovePaymentMethodMutation,
|
|
11326
|
+
variables: {
|
|
11327
|
+
input: {
|
|
11328
|
+
paymentMethodId: paymentMethodId,
|
|
11329
|
+
},
|
|
11330
|
+
},
|
|
11331
|
+
});
|
|
11332
|
+
};
|
|
11333
|
+
Plan2Service.prototype.cancelPlan = function (options) {
|
|
11334
|
+
return this.mutate(this.cancelPlanMutation(options));
|
|
11335
|
+
};
|
|
11336
|
+
/**
|
|
11337
|
+
* Mutation that removes a payment method for the current user
|
|
11338
|
+
*
|
|
11339
|
+
* @param options.planId The id from IssuedPlanNode
|
|
11340
|
+
* @param options.immediate If true, cancel plan effective immediately. Default false.
|
|
11341
|
+
* @returns Promise that resolves to a mutation
|
|
11342
|
+
*/
|
|
11343
|
+
Plan2Service.prototype.cancelPlanMutation = function (options) {
|
|
11344
|
+
return new LrMutation({
|
|
11345
|
+
mutation: CancelPlanMutation,
|
|
11346
|
+
variables: {
|
|
11347
|
+
input: options,
|
|
11348
|
+
},
|
|
11349
|
+
});
|
|
11350
|
+
};
|
|
11351
|
+
Plan2Service.prototype.changePriceOption = function (options) {
|
|
11352
|
+
return this.mutate(this.changePriceOptionMutation(options));
|
|
11353
|
+
};
|
|
11354
|
+
/**
|
|
11355
|
+
* Change the price option for a plan.
|
|
11356
|
+
*
|
|
11357
|
+
* @param options.planId The id from IssuedPlanNode
|
|
11358
|
+
* @param options.priceId The priceId from PriceOptionField (eg. inside AvailablePlanField)
|
|
11359
|
+
* @returns Promise that resolves to a mutation
|
|
11360
|
+
*/
|
|
11361
|
+
Plan2Service.prototype.changePriceOptionMutation = function (options) {
|
|
11362
|
+
return new LrMutation({
|
|
11363
|
+
mutation: ChangePriceOptionMutation,
|
|
11364
|
+
variables: {
|
|
11365
|
+
input: options,
|
|
11366
|
+
},
|
|
11367
|
+
});
|
|
11368
|
+
};
|
|
11369
|
+
Plan2Service.prototype.reactivatePlan = function (planId) {
|
|
11370
|
+
return this.mutate(this.reactivatePlanMutation(planId));
|
|
11371
|
+
};
|
|
11372
|
+
/**
|
|
11373
|
+
* Reactivate a cancelled plan with a specified price option.
|
|
11374
|
+
*
|
|
11375
|
+
* @param options.planId The id from IssuedPlanNode
|
|
11376
|
+
* @returns Promise that resolves to a mutation
|
|
11377
|
+
*/
|
|
11378
|
+
Plan2Service.prototype.reactivatePlanMutation = function (planId) {
|
|
11379
|
+
return new LrMutation({
|
|
11380
|
+
mutation: ReactivatePlanMutation,
|
|
11381
|
+
variables: {
|
|
11382
|
+
input: { planId: planId },
|
|
11383
|
+
},
|
|
11384
|
+
});
|
|
11385
|
+
};
|
|
11386
|
+
return Plan2Service;
|
|
11387
|
+
}(LrService));
|
|
11388
|
+
exports.Plan2Service.ɵprov = i0.ɵɵdefineInjectable({ factory: function Plan2Service_Factory() { return new exports.Plan2Service(i0.ɵɵinject(i0.NgZone), i0.ɵɵinject(i0.INJECTOR)); }, token: exports.Plan2Service, providedIn: "root" });
|
|
11389
|
+
exports.Plan2Service.decorators = [
|
|
11390
|
+
{ type: i0.Injectable, args: [{
|
|
11391
|
+
providedIn: 'root',
|
|
11392
|
+
},] }
|
|
11393
|
+
];
|
|
11394
|
+
exports.Plan2Service.ctorParameters = function () { return [
|
|
11395
|
+
{ type: i0.NgZone },
|
|
11396
|
+
{ type: i0.Injector }
|
|
11397
|
+
]; };
|
|
11398
|
+
exports.Plan2Service = __decorate([
|
|
11399
|
+
RunOutsideAngular({
|
|
11400
|
+
ngZoneName: 'ngZone',
|
|
11401
|
+
})
|
|
11402
|
+
], exports.Plan2Service);
|
|
11403
|
+
|
|
11199
11404
|
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";
|
|
11200
|
-
var UpdateOwnedContactCard = gql__default['default'](templateObject_1$
|
|
11405
|
+
var UpdateOwnedContactCard = gql__default['default'](templateObject_1$p || (templateObject_1$p = __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);
|
|
11201
11406
|
var SharedContactCardService = /** @class */ (function () {
|
|
11202
11407
|
function SharedContactCardService(keyService, lrApollo, keyGraph, encryptionService) {
|
|
11203
11408
|
this.keyService = keyService;
|
|
@@ -11304,18 +11509,18 @@
|
|
|
11304
11509
|
{ type: KeyGraphService },
|
|
11305
11510
|
{ type: EncryptionService }
|
|
11306
11511
|
]; };
|
|
11307
|
-
var templateObject_1$
|
|
11512
|
+
var templateObject_1$p;
|
|
11308
11513
|
|
|
11309
11514
|
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 sharedItems {\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 }";
|
|
11310
|
-
var GetTrustedPartiesQuery = gql__default['default'](templateObject_1$
|
|
11311
|
-
var GetAllTrustedPartiesQuery = gql__default['default'](templateObject_2$
|
|
11312
|
-
var GetTrustedPartyQuery = gql__default['default'](templateObject_3$
|
|
11313
|
-
var DeclineTrustedPartyInvitationMutation = gql__default['default'](templateObject_4$
|
|
11314
|
-
var CancelTrustedPartyInvitationMutation = gql__default['default'](templateObject_5$
|
|
11315
|
-
var DeleteTrustedPartyMutation = gql__default['default'](templateObject_6$
|
|
11316
|
-
var ShareCategoryMutation = gql__default['default'](templateObject_7$
|
|
11317
|
-
var UnshareCategoryMutation = gql__default['default'](templateObject_8$
|
|
11318
|
-
var templateObject_1$
|
|
11515
|
+
var GetTrustedPartiesQuery = gql__default['default'](templateObject_1$q || (templateObject_1$q = __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);
|
|
11516
|
+
var GetAllTrustedPartiesQuery = gql__default['default'](templateObject_2$m || (templateObject_2$m = __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);
|
|
11517
|
+
var GetTrustedPartyQuery = gql__default['default'](templateObject_3$j || (templateObject_3$j = __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);
|
|
11518
|
+
var DeclineTrustedPartyInvitationMutation = gql__default['default'](templateObject_4$e || (templateObject_4$e = __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"])));
|
|
11519
|
+
var CancelTrustedPartyInvitationMutation = gql__default['default'](templateObject_5$d || (templateObject_5$d = __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"])));
|
|
11520
|
+
var DeleteTrustedPartyMutation = gql__default['default'](templateObject_6$a || (templateObject_6$a = __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"])));
|
|
11521
|
+
var ShareCategoryMutation = gql__default['default'](templateObject_7$9 || (templateObject_7$9 = __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"])));
|
|
11522
|
+
var UnshareCategoryMutation = gql__default['default'](templateObject_8$8 || (templateObject_8$8 = __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"])));
|
|
11523
|
+
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;
|
|
11319
11524
|
|
|
11320
11525
|
var TrustedPartyRole = /** @class */ (function () {
|
|
11321
11526
|
function TrustedPartyRole() {
|
|
@@ -12970,21 +13175,21 @@
|
|
|
12970
13175
|
})
|
|
12971
13176
|
], exports.ɵn);
|
|
12972
13177
|
|
|
12973
|
-
var CreateScenarioMutation = gqlTyped(templateObject_1$
|
|
12974
|
-
var UpdateScenarioMutation = gqlTyped(templateObject_2$
|
|
12975
|
-
var DeleteScenarioMutation = gqlTyped(templateObject_3$
|
|
12976
|
-
var CreateScenarioClaimMutation = gqlTyped(templateObject_4$
|
|
12977
|
-
var CancelScenarioClaimMutation = gqlTyped(templateObject_5$
|
|
12978
|
-
var RejectScenarioClaimMutation = gqlTyped(templateObject_6$
|
|
12979
|
-
var ApproveScenarioClaimMutation = gqlTyped(templateObject_7$
|
|
12980
|
-
var ReceiveScenarioClaimMutation = gqlTyped(templateObject_8$
|
|
12981
|
-
var DebugExpireScenarioClaimMutation = gqlTyped(templateObject_9$
|
|
13178
|
+
var CreateScenarioMutation = gqlTyped(templateObject_1$r || (templateObject_1$r = __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"])));
|
|
13179
|
+
var UpdateScenarioMutation = gqlTyped(templateObject_2$n || (templateObject_2$n = __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"])));
|
|
13180
|
+
var DeleteScenarioMutation = gqlTyped(templateObject_3$k || (templateObject_3$k = __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"])));
|
|
13181
|
+
var CreateScenarioClaimMutation = gqlTyped(templateObject_4$f || (templateObject_4$f = __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"])));
|
|
13182
|
+
var CancelScenarioClaimMutation = gqlTyped(templateObject_5$e || (templateObject_5$e = __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"])));
|
|
13183
|
+
var RejectScenarioClaimMutation = gqlTyped(templateObject_6$b || (templateObject_6$b = __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"])));
|
|
13184
|
+
var ApproveScenarioClaimMutation = gqlTyped(templateObject_7$a || (templateObject_7$a = __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"])));
|
|
13185
|
+
var ReceiveScenarioClaimMutation = gqlTyped(templateObject_8$9 || (templateObject_8$9 = __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"])));
|
|
13186
|
+
var DebugExpireScenarioClaimMutation = gqlTyped(templateObject_9$6 || (templateObject_9$6 = __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"])));
|
|
12982
13187
|
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"])));
|
|
12983
|
-
var templateObject_1$
|
|
13188
|
+
var templateObject_1$r, templateObject_2$n, templateObject_3$k, templateObject_4$f, templateObject_5$e, templateObject_6$b, templateObject_7$a, templateObject_8$9, templateObject_9$6, templateObject_10$4;
|
|
12984
13189
|
|
|
12985
|
-
var ScenarioQuery = gqlTyped(templateObject_1$
|
|
12986
|
-
var SharedScenarioQuery = gqlTyped(templateObject_2$
|
|
12987
|
-
var templateObject_1$
|
|
13190
|
+
var ScenarioQuery = gqlTyped(templateObject_1$s || (templateObject_1$s = __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}"])));
|
|
13191
|
+
var SharedScenarioQuery = gqlTyped(templateObject_2$o || (templateObject_2$o = __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"])));
|
|
13192
|
+
var templateObject_1$s, templateObject_2$o;
|
|
12988
13193
|
|
|
12989
13194
|
function throwClaimIdMismatch() {
|
|
12990
13195
|
throw new LrBadArgumentException('claimId does not match with the current claimId of the scenario');
|
|
@@ -13830,8 +14035,8 @@
|
|
|
13830
14035
|
})
|
|
13831
14036
|
], exports.ScenarioService);
|
|
13832
14037
|
|
|
13833
|
-
var ServerConfigQuery = gqlTyped(templateObject_1$
|
|
13834
|
-
var templateObject_1$
|
|
14038
|
+
var ServerConfigQuery = gqlTyped(templateObject_1$t || (templateObject_1$t = __makeTemplateObject(["\nquery ServerConfigQuery {\n serverConfig {\n relayConnectionMaxLimit\n }\n}\n"], ["\nquery ServerConfigQuery {\n serverConfig {\n relayConnectionMaxLimit\n }\n}\n"])));
|
|
14039
|
+
var templateObject_1$t;
|
|
13835
14040
|
|
|
13836
14041
|
exports.ServerConfigService = /** @class */ (function (_super) {
|
|
13837
14042
|
__extends(ServerConfigService, _super);
|
|
@@ -13879,11 +14084,11 @@
|
|
|
13879
14084
|
})
|
|
13880
14085
|
], exports.ServerConfigService);
|
|
13881
14086
|
|
|
13882
|
-
var UpdateOwnedContactCardMutation = gqlTyped(templateObject_1$
|
|
13883
|
-
var UpdateReceivedContactCardMutation = gqlTyped(templateObject_2$
|
|
13884
|
-
var GetOwnedContactCardKeyIdsQuery = gqlTyped(templateObject_3$
|
|
13885
|
-
var GetReceivedContactCardKeyIdQuery = gqlTyped(templateObject_4$
|
|
13886
|
-
var templateObject_1$
|
|
14087
|
+
var UpdateOwnedContactCardMutation = gqlTyped(templateObject_1$u || (templateObject_1$u = __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}"])));
|
|
14088
|
+
var UpdateReceivedContactCardMutation = gqlTyped(templateObject_2$p || (templateObject_2$p = __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}"])));
|
|
14089
|
+
var GetOwnedContactCardKeyIdsQuery = gqlTyped(templateObject_3$l || (templateObject_3$l = __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}"])));
|
|
14090
|
+
var GetReceivedContactCardKeyIdQuery = gqlTyped(templateObject_4$g || (templateObject_4$g = __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}"])));
|
|
14091
|
+
var templateObject_1$u, templateObject_2$p, templateObject_3$l, templateObject_4$g;
|
|
13887
14092
|
|
|
13888
14093
|
exports.SharedContactCard2Service = /** @class */ (function () {
|
|
13889
14094
|
function SharedContactCard2Service(ngZone, keyService, keyGraph, encryptionService, lrGraphQL) {
|
|
@@ -14513,18 +14718,18 @@
|
|
|
14513
14718
|
})
|
|
14514
14719
|
], exports.TpPasswordResetService);
|
|
14515
14720
|
|
|
14516
|
-
var DeleteTpMutation = gqlTyped(templateObject_1$
|
|
14517
|
-
var ShareDirectoryMutation = gqlTyped(templateObject_2$
|
|
14518
|
-
var UnshareDirectoryMutation = gqlTyped(templateObject_3$
|
|
14519
|
-
var ShareFileMutation = gqlTyped(templateObject_4$
|
|
14520
|
-
var UnshareFileMutation = gqlTyped(templateObject_5$
|
|
14521
|
-
var RequestTpMkReshareMutation = gqlTyped(templateObject_6$
|
|
14522
|
-
var RespondTpMkReshareMutation = gqlTyped(templateObject_7$
|
|
14523
|
-
var CompleteTpMkReshareMutation = gqlTyped(templateObject_8$
|
|
14524
|
-
var templateObject_1$
|
|
14721
|
+
var DeleteTpMutation = gqlTyped(templateObject_1$v || (templateObject_1$v = __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"])));
|
|
14722
|
+
var ShareDirectoryMutation = gqlTyped(templateObject_2$q || (templateObject_2$q = __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"])));
|
|
14723
|
+
var UnshareDirectoryMutation = gqlTyped(templateObject_3$m || (templateObject_3$m = __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"])));
|
|
14724
|
+
var ShareFileMutation = gqlTyped(templateObject_4$h || (templateObject_4$h = __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"])));
|
|
14725
|
+
var UnshareFileMutation = gqlTyped(templateObject_5$f || (templateObject_5$f = __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"])));
|
|
14726
|
+
var RequestTpMkReshareMutation = gqlTyped(templateObject_6$c || (templateObject_6$c = __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}"])));
|
|
14727
|
+
var RespondTpMkReshareMutation = gqlTyped(templateObject_7$b || (templateObject_7$b = __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"])));
|
|
14728
|
+
var CompleteTpMkReshareMutation = gqlTyped(templateObject_8$a || (templateObject_8$a = __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}"])));
|
|
14729
|
+
var templateObject_1$v, templateObject_2$q, templateObject_3$m, templateObject_4$h, templateObject_5$f, templateObject_6$c, templateObject_7$b, templateObject_8$a;
|
|
14525
14730
|
|
|
14526
|
-
var TpCurrentUserSharedKeyQuery = gqlTyped(templateObject_1$
|
|
14527
|
-
var templateObject_1$
|
|
14731
|
+
var TpCurrentUserSharedKeyQuery = gqlTyped(templateObject_1$w || (templateObject_1$w = __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"])));
|
|
14732
|
+
var templateObject_1$w;
|
|
14528
14733
|
|
|
14529
14734
|
exports.TrustedParty2Service = /** @class */ (function (_super) {
|
|
14530
14735
|
__extends(TrustedParty2Service, _super);
|