This repository has been archived by the owner on Apr 5, 2023. It is now read-only.
Releases: leifgehrmann/node-tempo-client
Releases · leifgehrmann/node-tempo-client
v4.1.0
Additions
- Added new Tempo.io endpoints: #90
- Permission Roles
- GET
/permission-roles
->permissionRoles.get()
- POST
/permission-roles
->permissionRoles.post()
- GET
/permission-roles/global
->permissionRoles.getGlobal()
- GET
/permission-roles/{id}
->permissionRoles.getPermissionRole()
- PUT
/permission-roles/{id}
->permissionRoles.putPermissionRole()
- DELETE
/permission-roles/{id}
->permissionRoles.deletePermissionRole()
- GET
- Permission Roles
Improvements
- Updated devDependencies: #92
Internal Improvements
v4.0.0
Breaking Changes
- Renamed
requestTypes.WorkAttribute
torequestTypes.WorkAttributeValue
: #83- A new definition of
WorkAttribute
will exist in its place, so make sure to rename itWorkAttributeValue
to avoid Typescript compilation issues.
- A new definition of
- Changed type definitions for API request and response types by changing
string
to literal strings (For example:'OPEN' | 'CLOSED' | 'ARCHIVED'
): #88- If you are using Typescript and depend on node-tempo-client's types, it's possible you might need to update them. See the PR for more details on which definitions have changed.
Additions
- Added new Tempo.io endpoints: #83
- Holiday Schemes
- POST
/holiday-schemes
->holidaySchemes.post()
- PUT
/holiday-schemes/{id}
->holidaySchemes.putHolidayScheme()
- DELETE
/holiday-schemes/{id}
->holidaySchemes.deleteHolidayScheme()
- PUT
/holiday-schemes/{id}/default
->holidaySchemes.putHolidaySchemeDefault()
- POST
/holiday-schemes/{id}/holidays
->holidaySchemes.postHolidaySchemeHoliday()
- GET
/holiday-schemes/{id}/holidays/{id}
->holidaySchemes.getHolidaySchemeHoliday()
- PUT
/holiday-schemes/{id}/holidays/{id}
->holidaySchemes.putHolidaySchemeHoliday()
- DELETE
/holiday-schemes/{id}/holidays/{id}
->holidaySchemes.deleteHolidaySchemeHoliday()
- GET
/holiday-schemes/{id}/members
->holidaySchemes.getHolidaySchemeMembers()
- POST
/holiday-schemes/{id}/members
->holidaySchemes.postHolidaySchemeMembers()
- GET
/holiday-schemes/users/{accountId}
->holidaySchemes.getForUser()
- POST
- Roles
- GET
/roles/default
->roles.getDefault()
- GET
- Work Attributes
- POST
/work-attributes
->workAttributes.post()
- PUT
/work-attributes/{key}
->workAttributes.putWorkAttribute()
- DELETE
/work-attributes/{key}
->workAttributes.deleteWorkAttribute()
- POST
- Workload Schemes
- POST
/workload-schemes
->workloadSchemes.post()
- PUT
/workload-schemes/{id}
->workloadSchemes.putWorkloadScheme()
- DELETE
/workload-schemes/{id}
->workloadSchemes.deleteWorkloadScheme()
- PUT
/workload-schemes/{id}/default
->workloadSchemes.putWorkloadScheme()
- GET
/workload-schemes/{id}/members
->workloadSchemes.getWorkloadSchemeMembers()
- POST
/workload-schemes/{id}/members
->workloadSchemes.postWorkloadSchemeMembers()
- GET
/workload-schemes/users/{accountId}
->workloadSchemes.getForUser()
- POST
- Worklogs
- POST
/worklogs/work-attribute-values
->worklogs.postWorkAttributeValues()
- POST
- Holiday Schemes
Improvements
Internal Improvements
v3.1.3
v3.1.2
v3.1.1
Bug Fixes
- Fixed types to accurately reflect tempo.io's API: #60
- This includes making the following properties for
Worklog
optional:billableSeconds
remainingEstimateSeconds
attributes
- This includes making
values
againstWorkAttributesResponse
optional.
- This includes making the following properties for
Improvements
v3.1.0
Additions
- Updates that reflect changes made in Tempo's REST documentation: #44
- 2 new properties added to the
Plan
response: https://tempo-io.github.io/tempo-api-docs/#planssecondsPerDay
includeNonWorkingDays
- 3 new endpoints for
holiday-schemes
: https://tempo-io.github.io/tempo-api-docs/#workload_schemes - 2 new endpoints for
workload-schemes
: https://tempo-io.github.io/tempo-api-docs/#holiday_schemes
- 2 new properties added to the
Improvements
v3.0.1
v3.0.0
Breaking changes
- Renamed several interfaces to remove
I
as a prefix. This was done because of the Eslint style guide rule@typescript-eslint/interface-name-prefix
. To fix in any dependant code, the imports of these interfaces must be updated to use the new names (i.e. Remove the prefixI
). See #31. - When instantiating TempoApi, the
port
value no longer acceptsnull
. To fix in any dependant code, changenull
toundefined
. See #31.
Minor changes
- Clarified that the type of
WorkAttributeResponse.values
isstring[]
. See #31.