Skip to content

Commit

Permalink
feat(typings): Add TimesheetActivity & TimesheetActivityType (#175)
Browse files Browse the repository at this point in the history
* add TimesheetActivity & TimesheetActivityType

* update field names
  • Loading branch information
jordanbullhorn authored Sep 27, 2023
1 parent 7f3a70a commit 0e89589
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -699,6 +699,8 @@ export class EntityTypes {
static TimeLaborEvalSheetStatusLookup: 'TimeLaborEvalSheetStatusLookup' = 'TimeLaborEvalSheetStatusLookup';
static TimeUnit: 'TimeUnit' = 'TimeUnit';
static Timesheet: 'Timesheet' = 'Timesheet';
static TimesheetActivity: 'TimesheetActivity' = 'TimesheetActivity';
static TimesheetActivityType: 'TimesheetActivityType' = 'TimesheetActivityType';
static TimesheetEntry: 'TimesheetEntry' = 'TimesheetEntry';
static TimesheetEntryApprovalStatusLookup: 'TimesheetEntryApprovalStatusLookup' = 'TimesheetEntryApprovalStatusLookup';
static TransactionNote: 'TransactionNote' = 'TransactionNote';
Expand Down Expand Up @@ -15557,6 +15559,33 @@ export interface Timesheet {
timesheetEntryApprovalStatusLookup?: TimesheetEntryApprovalStatusLookup;
units?: boolean;
}
export interface TimesheetActivity {
id?: number;
activityExternalId?: number;
timesheetActivityType?: TimesheetActivityType;
timesheet?: Timesheet;
transactionOrigin?: TransactionOrigin;
user?: CorporateUser;
activityDateTime?: Date;
description?: string;
metadata?: string;
firstName?: string;
lastName?: string;
email?: string;
dateAdded?: Date;
}
export interface TimesheetActivityType {
id?: number;
label?: string;
description?: string;
isDeleted?: boolean;
isSystem?: boolean;
isHidden?: boolean;
shouldShowInPicker?: boolean;
dateAdded?: Date;
dateLastModified?: Date;
modifiedByUser?: CorporateUser;
}
export interface TimesheetEntry {
id?: number;
addedAtUtc?: Date;
Expand Down

0 comments on commit 0e89589

Please sign in to comment.