/** * 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. */ /** * File record for file upload and download events * @export * @interface FileEventRecord */ export interface FileEventRecord { /** * The Id of user who initiated the file event. * @type {number} * @memberof FileEventRecord */ userId: number; /** * The project Id of file. * @type {number} * @memberof FileEventRecord */ projectId?: number; /** * The filehandle Id of file. * @type {string} * @memberof FileEventRecord */ fileHandleId: string; /** * The zipped filehandle Id, If the file download is requested in zip file otherwise not applicable. * @type {string} * @memberof FileEventRecord */ downloadedFileHandleId?: string; /** * Enumeration of all possible objects types that can be associated with a file. * @type {string} * @memberof FileEventRecord */ associateType?: FileEventRecordAssociateTypeEnum; /** * The association Id of filehandle. * @type {string} * @memberof FileEventRecord */ associateId: string; /** * The session ID from the access record associated with this event. When present, can be used to join access records with download records. * @type {string} * @memberof FileEventRecord */ sessionId?: string; } /** * @export */ export declare const FileEventRecordAssociateTypeEnum: { readonly FileEntity: "FileEntity"; readonly TableEntity: "TableEntity"; readonly WikiAttachment: "WikiAttachment"; readonly WikiMarkdown: "WikiMarkdown"; readonly UserProfileAttachment: "UserProfileAttachment"; readonly MessageAttachment: "MessageAttachment"; readonly TeamAttachment: "TeamAttachment"; readonly SubmissionAttachment: "SubmissionAttachment"; readonly VerificationSubmission: "VerificationSubmission"; readonly AccessRequirementAttachment: "AccessRequirementAttachment"; readonly DataAccessRequestAttachment: "DataAccessRequestAttachment"; readonly DataAccessSubmissionAttachment: "DataAccessSubmissionAttachment"; readonly FormData: "FormData"; }; export type FileEventRecordAssociateTypeEnum = typeof FileEventRecordAssociateTypeEnum[keyof typeof FileEventRecordAssociateTypeEnum]; /** * Check if a given object implements the FileEventRecord interface. */ export declare function instanceOfFileEventRecord(value: object): value is FileEventRecord; export declare function FileEventRecordFromJSON(json: any): FileEventRecord; export declare function FileEventRecordFromJSONTyped(json: any, ignoreDiscriminator: boolean): FileEventRecord; export declare function FileEventRecordToJSON(json: any): FileEventRecord; export declare function FileEventRecordToJSONTyped(value?: FileEventRecord | null, ignoreDiscriminator?: boolean): any;