import { SdPlatformPolicyCommonAliasesSavedState, SdPlatformPolicyPermissionsSavedState } from "../commons/SdPlatformPolicyCommons"; import { SdPlatformSavedStateVisibility } from "../commons/SdPlatformVisibility"; import { SdPlatformResponseModelPublic } from "./SdPlatformResponseModel"; import { SdPlatformResponseOrganizationPublic } from "./SdPlatformResponseOrganization"; import { SdPlatformResponsePolicyPermissions } from "./SdPlatformResponsePolicy"; import { SdPlatformResponseUserMinimal } from "./SdPlatformResponseUser"; import { SdPlatformResponseImagePublic } from './SdPlatformResponseImage'; /** * Saved state - minimal information */ export interface SdPlatformResponseSavedStateMinimal extends SdPlatformResponsePolicyPermissions { /** * The saved state id. */ readonly id: string; /** * Name of the saved state. */ readonly name: string; /** * Description of the saved state. */ readonly description?: string; /** * Id of the model of the saved state. */ readonly model_id: string; /** * Model of the saved state. */ readonly model?: SdPlatformResponseModelPublic; /** * Image of the saved state. */ readonly image?: SdPlatformResponseImagePublic; /** * Id of the image of the saved state. */ readonly image_id?: string; } /** * The saved state settings. */ export interface SdPlatformResponseSavedStateSettings { /** * The version of settings. */ readonly version?: string; /** * The Viewer Settings. */ readonly viewer_settings?: any; } /** * Saved state - public access level */ export interface SdPlatformResponseSavedStatePublic extends SdPlatformResponseSavedStateMinimal { /** * Id of the owner of the saved state (may be different from the owner of the model). */ readonly owner_id: string; /** * Owner of the saved state. */ readonly owner?: SdPlatformResponseUserMinimal; /** * The parameter values of the model for this saved state. Map from parameter id to parameter string value. */ readonly parameters: { [id: string]: string; }; /** * Organization of the owner of the saved state, if the owner is member of an organization. */ readonly organization?: SdPlatformResponseOrganizationPublic; /** * Epoch timestamp of creation. */ readonly created_at: number; /** * Epoch timestamp of update. */ readonly updated_at: number; /** * Applying session settings. */ readonly settings: SdPlatformResponseSavedStateSettings; /** * Visibility of the saved state. Might be limited by the visibility of the model, the owner, or an organization. */ readonly visibility: SdPlatformSavedStateVisibility; /** * Nominal visibility of the saved state as specified by the saved state owner. */ readonly visibility_nominal: SdPlatformSavedStateVisibility; /** * Display the saved state on the Iframe page indicator */ readonly show_iframe: boolean; } /** * Saved state - owner access level */ export interface SdPlatformResponseSavedStateOwner extends SdPlatformResponseSavedStatePublic { } /** * Saved state - admin access level */ export interface SdPlatformResponseSavedStateAdmin extends SdPlatformResponseSavedStateOwner { } /** * Saved state - any access level */ export type SdPlatformResponseSavedStateAny = SdPlatformResponseSavedStateAdmin | SdPlatformResponseSavedStateOwner | SdPlatformResponseSavedStatePublic | SdPlatformResponseSavedStateMinimal; //# sourceMappingURL=SdPlatformResponseSavedState.d.ts.map