wallee
Version:
TypeScript/JavaScript client for wallee
77 lines (76 loc) • 2.42 kB
TypeScript
import type { Transaction } from './Transaction';
/**
*
* @export
* @interface TransactionComment
*/
export interface TransactionComment {
/**
* The ID of the space this object belongs to.
* @type {number}
* @memberof TransactionComment
*/
readonly linkedSpaceId?: number;
/**
* Whether the comment is pinned to the top.
* @type {boolean}
* @memberof TransactionComment
*/
readonly pinned?: boolean;
/**
* The ID of the user the comment was last updated by.
* @type {number}
* @memberof TransactionComment
*/
readonly editedBy?: number;
/**
* The ID of the user the comment was created by.
* @type {number}
* @memberof TransactionComment
*/
readonly createdBy?: number;
/**
* A unique identifier for the object.
* @type {number}
* @memberof TransactionComment
*/
readonly id?: number;
/**
* The date and time when the comment was last updated.
* @type {Date}
* @memberof TransactionComment
*/
readonly editedOn?: Date;
/**
* The date and time when the object was created.
* @type {Date}
* @memberof TransactionComment
*/
readonly createdOn?: Date;
/**
* The version is used for optimistic locking and incremented whenever the object is updated.
* @type {number}
* @memberof TransactionComment
*/
readonly version?: number;
/**
* The comment's actual content.
* @type {string}
* @memberof TransactionComment
*/
readonly content?: string;
/**
*
* @type {Transaction}
* @memberof TransactionComment
*/
transaction?: Transaction;
}
/**
* Check if a given object implements the TransactionComment interface.
*/
export declare function instanceOfTransactionComment(value: object): value is TransactionComment;
export declare function TransactionCommentFromJSON(json: any): TransactionComment;
export declare function TransactionCommentFromJSONTyped(json: any, ignoreDiscriminator: boolean): TransactionComment;
export declare function TransactionCommentToJSON(json: any): TransactionComment;
export declare function TransactionCommentToJSONTyped(value?: Omit<TransactionComment, 'linkedSpaceId' | 'pinned' | 'editedBy' | 'createdBy' | 'id' | 'editedOn' | 'createdOn' | 'version' | 'content'> | null, ignoreDiscriminator?: boolean): any;