/** * Synapse REST API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: v1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * JSON schema for a change message * @export * @interface ChangeMessage */ export interface ChangeMessage { /** * * @type {string} * @memberof ChangeMessage */ concreteType: ChangeMessageConcreteTypeEnum; /** * The unique identifier of the object that changed. * @type {string} * @memberof ChangeMessage */ objectId?: string; /** * Identifier for a specific version of an object. * @type {number} * @memberof ChangeMessage */ objectVersion?: number; /** * JSON enum for the types of objects in Synapse. * @type {string} * @memberof ChangeMessage */ objectType?: ChangeMessageObjectTypeEnum; /** * The timestamp when this change was originally committed. * @type {string} * @memberof ChangeMessage */ timestamp?: string; /** * The application change number created as a result of this change. * @type {number} * @memberof ChangeMessage */ changeNumber?: number; /** * The type of change that occurred * @type {string} * @memberof ChangeMessage */ changeType?: ChangeMessageChangeTypeEnum; /** * The ID of the user who created this change message * @type {number} * @memberof ChangeMessage */ userId?: number; } /** * @export */ export declare const ChangeMessageConcreteTypeEnum: { readonly org_sagebionetworks_repo_model_message_ChangeMessage: "org.sagebionetworks.repo.model.message.ChangeMessage"; }; export type ChangeMessageConcreteTypeEnum = typeof ChangeMessageConcreteTypeEnum[keyof typeof ChangeMessageConcreteTypeEnum]; /** * @export */ export declare const ChangeMessageObjectTypeEnum: { readonly ENTITY: "ENTITY"; readonly ENTITY_CONTAINER: "ENTITY_CONTAINER"; readonly PRINCIPAL: "PRINCIPAL"; readonly ACTIVITY: "ACTIVITY"; readonly EVALUATION: "EVALUATION"; readonly EVALUATION_ROUND: "EVALUATION_ROUND"; readonly SUBMISSION: "SUBMISSION"; readonly EVALUATION_SUBMISSIONS: "EVALUATION_SUBMISSIONS"; readonly FILE: "FILE"; readonly MESSAGE: "MESSAGE"; readonly WIKI: "WIKI"; readonly FAVORITE: "FAVORITE"; readonly ACCESS_REQUIREMENT: "ACCESS_REQUIREMENT"; readonly ACCESS_APPROVAL: "ACCESS_APPROVAL"; readonly TEAM: "TEAM"; readonly TABLE: "TABLE"; readonly ACCESS_CONTROL_LIST: "ACCESS_CONTROL_LIST"; readonly PROJECT_SETTING: "PROJECT_SETTING"; readonly VERIFICATION_SUBMISSION: "VERIFICATION_SUBMISSION"; readonly CERTIFIED_USER_PASSING_RECORD: "CERTIFIED_USER_PASSING_RECORD"; readonly FORUM: "FORUM"; readonly THREAD: "THREAD"; readonly REPLY: "REPLY"; readonly FORM_GROUP: "FORM_GROUP"; readonly ORGANIZATION: "ORGANIZATION"; readonly FORM_DATA: "FORM_DATA"; readonly ENTITY_VIEW: "ENTITY_VIEW"; readonly USER_PROFILE: "USER_PROFILE"; readonly DATA_ACCESS_REQUEST: "DATA_ACCESS_REQUEST"; readonly DATA_ACCESS_SUBMISSION: "DATA_ACCESS_SUBMISSION"; readonly DATA_ACCESS_SUBMISSION_STATUS: "DATA_ACCESS_SUBMISSION_STATUS"; readonly MEMBERSHIP_INVITATION: "MEMBERSHIP_INVITATION"; readonly JSON_SCHEMA: "JSON_SCHEMA"; readonly JSON_SCHEMA_DEPENDANT: "JSON_SCHEMA_DEPENDANT"; readonly DATASET: "DATASET"; readonly DATASET_COLLECTION: "DATASET_COLLECTION"; readonly THREAD_VIEW: "THREAD_VIEW"; readonly MATERIALIZED_VIEW: "MATERIALIZED_VIEW"; readonly VIRTUAL_TABLE: "VIRTUAL_TABLE"; readonly TABLE_STATUS_EVENT: "TABLE_STATUS_EVENT"; readonly DATA_ACCESS_SUBMISSION_EVENT: "DATA_ACCESS_SUBMISSION_EVENT"; readonly FILE_EVENT: "FILE_EVENT"; readonly QUERY_CACHE_HIT: "QUERY_CACHE_HIT"; readonly PROJECT_STORAGE_EVENT: "PROJECT_STORAGE_EVENT"; readonly REPLICATED_EVENT: "REPLICATED_EVENT"; readonly PORTAL: "PORTAL"; readonly OAUTH_CLIENT: "OAUTH_CLIENT"; readonly GRID_SESSION: "GRID_SESSION"; }; export type ChangeMessageObjectTypeEnum = typeof ChangeMessageObjectTypeEnum[keyof typeof ChangeMessageObjectTypeEnum]; /** * @export */ export declare const ChangeMessageChangeTypeEnum: { readonly CREATE: "CREATE"; readonly UPDATE: "UPDATE"; readonly DELETE: "DELETE"; }; export type ChangeMessageChangeTypeEnum = typeof ChangeMessageChangeTypeEnum[keyof typeof ChangeMessageChangeTypeEnum]; /** * Check if a given object implements the ChangeMessage interface. */ export declare function instanceOfChangeMessage(value: object): value is ChangeMessage; export declare function ChangeMessageFromJSON(json: any): ChangeMessage; export declare function ChangeMessageFromJSONTyped(json: any, ignoreDiscriminator: boolean): ChangeMessage; export declare function ChangeMessageToJSON(json: any): ChangeMessage; export declare function ChangeMessageToJSONTyped(value?: ChangeMessage | null, ignoreDiscriminator?: boolean): any;