projectmanager-sdk
Version:
Software development kit for the ProjectManager.com API. for TypeScript
46 lines (45 loc) • 1.06 kB
TypeScript
/**
* ProjectManager API for TypeScript
*
* (c) ProjectManager.com, Inc.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @author ProjectManager.com <support@projectmanager.com>
* @copyright ProjectManager.com, Inc.
* @link https://github.com/projectmgr/projectmanager-sdk-typescript
*/
/**
* Payload to create time entry
*/
export type TimesheetCreateRequestDto = {
/**
* Time entry date
*/
date: string;
/**
* Reported hours. If minutes is specified this property is ignored
*/
hours: number;
/**
* Specify the time in minutes. This overrides the Hours property.
*/
minutes: number;
/**
* Task id that time reported to
*/
taskId: string | null;
/**
* Admin task id that time reported to
*/
adminTypeId: string | null;
/**
* Resource id that time reported to
*/
resourceId: string | null;
/**
* Notes
*/
notes: string | null;
};