Skip to content

Commit

Permalink
QUACK-4721 [TSR Part 2] The reopening of a manager (#903)
Browse files Browse the repository at this point in the history
  • Loading branch information
kktimetac authored Jan 15, 2025
1 parent b70452a commit 14464fe
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/timesheetAccountings/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,14 @@ export class TimesheetAccountingsEndpoint extends BaseApi<ResourceName> {
return required(response);
}

public unapprove(
data: TimesheetAccountingApproveRequest,
params?: RequestParams<Entity<ResourceName>>,
): Required<typeof resourceName, Resources[typeof resourceName][]> {
const response = this._put<ResourceName>('unapprove', data, params);
return required(response);
}

public update(data: TimesheetAccountingUpdate, params?: RequestParams<Entity<ResourceName>>): Required<ResourceName> {
const response = this._put<ResourceName>('update', data, params);
return requiredSingle(response);
Expand Down

0 comments on commit 14464fe

Please sign in to comment.