@lifeready/core 1.1.25 → 1.1.27
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 +49 -21
- 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 +1 -1
- package/esm2015/lib/trusted-party/trusted-party2.service.js +40 -20
- package/fesm2015/lifeready-core.js +38 -18
- package/fesm2015/lifeready-core.js.map +1 -1
- package/lib/api/types/lr-graphql.types.d.ts +2 -0
- package/lib/trusted-party/trusted-party2.service.d.ts +10 -6
- package/lifeready-core.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -61,6 +61,7 @@ export interface UserNode extends Node {
|
|
|
61
61
|
features?: FeaturesNode;
|
|
62
62
|
featureState?: UserFeatureState;
|
|
63
63
|
sessionEncryptionKey?: string;
|
|
64
|
+
availablePlans?: AvailablePlanField;
|
|
64
65
|
plans?: IssuedPlanNode[];
|
|
65
66
|
paymentMethods?: PaymentMethodNode[];
|
|
66
67
|
billingHistory?: BillingField[];
|
|
@@ -679,6 +680,7 @@ export interface IssuedPlanNode extends Node, TimeStamped {
|
|
|
679
680
|
currentStates?: IssuedPlanStateNode[];
|
|
680
681
|
currentPeriod?: PeriodField;
|
|
681
682
|
currentPriceOption?: PriceOptionField;
|
|
683
|
+
upcomingInvoice?: BillingField;
|
|
682
684
|
alternativePriceOptions?: PriceOptionField[];
|
|
683
685
|
}
|
|
684
686
|
export interface IssuedPlanStateNode extends Node, TimeStamped {
|
|
@@ -28,7 +28,8 @@ export declare class TrustedParty2Service extends LrService {
|
|
|
28
28
|
id: string;
|
|
29
29
|
};
|
|
30
30
|
}>;
|
|
31
|
-
shareDirectory(options: ShareItemOptions): Promise<
|
|
31
|
+
shareDirectory(options: ShareItemOptions): Promise<ShareDirectoryMutation>;
|
|
32
|
+
shareDirectoryMutation(options: ShareItemOptions): Promise<LrMutation<ShareDirectoryMutation, {
|
|
32
33
|
input: {
|
|
33
34
|
id: string;
|
|
34
35
|
tpId: string;
|
|
@@ -38,7 +39,8 @@ export declare class TrustedParty2Service extends LrService {
|
|
|
38
39
|
wrappedKey: string;
|
|
39
40
|
};
|
|
40
41
|
}>>;
|
|
41
|
-
shareFile(options: ShareItemOptions): Promise<
|
|
42
|
+
shareFile(options: ShareItemOptions): Promise<ShareDirectoryMutation>;
|
|
43
|
+
shareFileMutation(options: ShareItemOptions): Promise<LrMutation<ShareDirectoryMutation, {
|
|
42
44
|
input: {
|
|
43
45
|
id: string;
|
|
44
46
|
tpId: string;
|
|
@@ -48,19 +50,22 @@ export declare class TrustedParty2Service extends LrService {
|
|
|
48
50
|
wrappedKey: string;
|
|
49
51
|
};
|
|
50
52
|
}>>;
|
|
51
|
-
private
|
|
52
|
-
unshareDirectory(options: UnshareItemOptions): Promise<
|
|
53
|
+
private shareItemMutation;
|
|
54
|
+
unshareDirectory(options: UnshareItemOptions): Promise<UnshareDirectoryMutation>;
|
|
55
|
+
unshareDirectoryMutation(options: UnshareItemOptions): Promise<LrMutation<UnshareDirectoryMutation, {
|
|
53
56
|
input: {
|
|
54
57
|
id: string;
|
|
55
58
|
tpId: string;
|
|
56
59
|
};
|
|
57
60
|
}>>;
|
|
58
|
-
unshareFile(options: UnshareItemOptions): Promise<
|
|
61
|
+
unshareFile(options: UnshareItemOptions): Promise<UnshareDirectoryMutation>;
|
|
62
|
+
unshareFileMutation(options: UnshareItemOptions): Promise<LrMutation<UnshareDirectoryMutation, {
|
|
59
63
|
input: {
|
|
60
64
|
id: string;
|
|
61
65
|
tpId: string;
|
|
62
66
|
};
|
|
63
67
|
}>>;
|
|
68
|
+
private unshareItemMutation;
|
|
64
69
|
requestMkReshare(tpId: LrRelayIdInput): Promise<LrMutation<RequestTpMkReshareMutation, {
|
|
65
70
|
input: {
|
|
66
71
|
tpId: string;
|
|
@@ -87,5 +92,4 @@ export declare class TrustedParty2Service extends LrService {
|
|
|
87
92
|
};
|
|
88
93
|
}>>;
|
|
89
94
|
private getTpCurrentUserSharedKey;
|
|
90
|
-
private unshareItem;
|
|
91
95
|
}
|