@lifeready/core 8.0.10 → 8.0.11

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.
@@ -581,30 +581,44 @@ export interface ReceiverItems {
581
581
  receiverDirectories?: Connection<ScenarioReceiverDirectoryNode>;
582
582
  receiverFiles?: Connection<ScenarioReceiverFileNode>;
583
583
  }
584
+ export interface SharedScenarioReceiverItems {
585
+ receiverDirectories?: Connection<SharedScenarioReceiverDirectoryNode>;
586
+ receiverFiles?: Connection<SharedScenarioReceiverFileNode>;
587
+ }
584
588
  export interface ScenarioReceiverNodeBase extends Node, TimeStamped {
585
589
  sharedKey?: KeyNode;
586
590
  sharedCipherData?: string;
587
591
  sharedCipherDataClearJson?: JSONObject;
588
592
  pbk?: KeyNode;
589
593
  tp?: TpNode;
594
+ }
595
+ export interface ScenarioReceiverNode extends ScenarioReceiverNodeBase {
590
596
  receiverItems?: ReceiverItems;
591
597
  }
592
- export declare type ScenarioReceiverNode = ScenarioReceiverNodeBase;
593
- export declare type SharedScenarioReceiverNode = ScenarioReceiverNodeBase;
598
+ export interface SharedScenarioReceiverNode extends ScenarioReceiverNodeBase {
599
+ receiverItems?: SharedScenarioReceiverItems;
600
+ }
594
601
  export declare type ReceiverDirectoryAccessRole = AccessRoleChoice;
595
602
  export interface ScenarioReceiverItemNode extends Node, TimeStamped {
596
- receiver?: SharedScenarioReceiverNode;
597
603
  sharedKey?: KeyNode;
598
604
  sharedCipherData?: string;
599
605
  sharedCipherDataClearJson?: JSONObject;
600
606
  accessRole?: ReceiverDirectoryAccessRole;
601
- wrappedItemKey?: string;
602
- itemKey?: KeyNode;
603
607
  }
604
608
  export interface ScenarioReceiverDirectoryNode extends ScenarioReceiverItemNode {
609
+ receiver?: ScenarioReceiverNode;
605
610
  directory?: DirectoryNode;
606
611
  }
607
612
  export interface ScenarioReceiverFileNode extends ScenarioReceiverItemNode {
613
+ receiver?: ScenarioReceiverNode;
614
+ file?: FileNode;
615
+ }
616
+ export interface SharedScenarioReceiverDirectoryNode extends ScenarioReceiverItemNode {
617
+ receiver?: SharedScenarioReceiverNode;
618
+ directory?: DirectoryNode;
619
+ }
620
+ export interface SharedScenarioReceiverFileNode extends ScenarioReceiverItemNode {
621
+ receiver?: SharedScenarioReceiverNode;
608
622
  file?: FileNode;
609
623
  }
610
624
  export interface ScenarioClaimantNode extends Node, TimeStamped {
@@ -587,13 +587,6 @@ export declare class ScenarioService extends LrService {
587
587
  sharedKeyId: string;
588
588
  assemblyKeyId: string;
589
589
  }>;
590
- prepareReceiveClaim(scenarioId: string, sharedClaimId: string): Promise<{
591
- scenarioClaimId: string;
592
- receiverDirectories: {
593
- receiverDirectoryId: string;
594
- receiverSharedKeyWrappedItemKey: any;
595
- }[];
596
- }>;
597
590
  private recoverAssemblyKey;
598
591
  private asClaimApprovers;
599
592
  private prepareApproveClaimMutations;