import { SdPlatformResponseSavedStateMinimal } from "./SdPlatformResponseSavedState"; import { SdPlatformResponseUserMinimal } from "./SdPlatformResponseUser"; export interface SdPlatformResponseSavedStateSharingPolicy { /** * Id of the sharing relationship. */ readonly id: string; /** * Alias of the policy being shared. */ readonly policy_alias: string; /** * True if the provider of the sharing relationship (the owner of the saved state) has the required features_provider of the shared policy. */ readonly provider_has_features: boolean; /** * True if the receiver of the sharing relationship (the user stored in the relationship) has the required features_receiver of the shared policy. */ readonly receiver_has_features: boolean; } /** * A saved state sharing relationship, which shares a policy for accessing a saved state with a receiving user. */ export interface SdPlatformResponseSavedStateSharing extends SdPlatformResponseSavedStateSharingPolicy { /** * Id of the receiving user. */ readonly user_id: string; /** * Id of the saved state being shared. */ readonly saved_state_id: string; /** * Gets the shared saved state. */ readonly saved_state?: SdPlatformResponseSavedStateMinimal; /** * Gets the user that saved state is being shared with. */ readonly user?: SdPlatformResponseUserMinimal; /** * Gets the provider of sharing relationship. */ readonly provider?: SdPlatformResponseUserMinimal; } /** * The saved state sharings grouped by user. */ export interface SdPlatformResponseSavedStateSharingGroupedByUser { /** * The user id. */ readonly user_id: string; /** * The user. */ readonly user: SdPlatformResponseUserMinimal; /** * All the policies of a sharing. */ readonly policies: Array; } //# sourceMappingURL=SdPlatformResponseSavedStateSharing.d.ts.map