From e42a127966c4a04ba16cb7d18cdda0d781f7c7f9 Mon Sep 17 00:00:00 2001 From: Jordan Brownfield Date: Mon, 29 Jul 2024 07:13:00 -0600 Subject: [PATCH 1/2] add interface for TimesheetVersion --- src/index.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index bca2dc5..ca98082 100644 --- a/src/index.ts +++ b/src/index.ts @@ -15614,7 +15614,7 @@ export interface Timesheet { jobOrder?: JobOrder; lastModifiedAtUtc?: Date; lastProcessedOn?: Date; - lastVersion?: number; + lastVersion?: TimesheetVersion; modifyingUser?: CorporateUser; paid?: number; placement?: Placement; @@ -15623,6 +15623,12 @@ export interface Timesheet { timesheetEntryApprovalStatusLookup?: TimesheetEntryApprovalStatusLookup; units?: boolean; } +export interface TimesheetVersion { + versionHash?: string; + versionNumber?: number; + timesheetVersionId?: number; + timesheetId?: number; +} export interface TimesheetActivity { id?: number; activityExternalId?: number; From b39faf182bc3ce92ffd921a557abaa6092f83029 Mon Sep 17 00:00:00 2001 From: Jordan Brownfield Date: Mon, 29 Jul 2024 08:03:58 -0600 Subject: [PATCH 2/2] feat(typings): add TimesheetVersion interface for timesheet lastVersion --- src/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/index.ts b/src/index.ts index ca98082..7403f7c 100644 --- a/src/index.ts +++ b/src/index.ts @@ -705,6 +705,7 @@ export class EntityTypes { static TimesheetActivityType: 'TimesheetActivityType' = 'TimesheetActivityType'; static TimesheetEntry: 'TimesheetEntry' = 'TimesheetEntry'; static TimesheetEntryApprovalStatusLookup: 'TimesheetEntryApprovalStatusLookup' = 'TimesheetEntryApprovalStatusLookup'; + static TimesheetVersion: 'TimesheetVersion' = 'TimesheetVersion'; static TransactionNote: 'TransactionNote' = 'TransactionNote'; static TransactionNoteType: 'TransactionNoteType' = 'TransactionNoteType'; static TransactionOrigin: 'TransactionOrigin' = 'TransactionOrigin';