UNPKG

xero-node

Version:

Xero NodeJS OAuth 2.0 client for xero-node

34 lines (33 loc) 897 B
export declare class TimeEntryCreateOrUpdate { /** * The xero user identifier of the person logging the time. */ 'userId': string; /** * Identifier of the task that time entry is logged against. */ 'taskId': string; /** * Date time entry is logged on. UTC Date Time in ISO-8601 format. */ 'dateUtc': Date; /** * Number of minutes to be logged. Duration is between 1 and 59940 inclusively. */ 'duration': number; /** * An optional description of the time entry, will be set to null if not provided during update. */ 'description'?: string; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; }