This is the history of changes of the node-freshdesk-api package
This file should be filled by maintainers, using pull requests Please, follow this guide
- Company:filterCompanies implemented // thanks, @roniger (a5fad8d)
- Company:listAllCompanyFields implemented // thanks, @roniger (a5fad8d)
- update dependencies
- rename
listAllTimeEntries->listAllTicketTimeEntries
-
TIME ENTRIES implemented // thanks to @Velua
-
AGENTS implemented // thanks to @davinthesmith and @Velua
-
CI: Build over Node 8 MUST NOT fail
- documentation improved (use JSDoc)
- enable tests on NodeJS 8 on Travis CI
- rename endpoint ticket:
Tickets->ticket(now lowercase) - update deps
-
ROLES implemented
-
update dependencies
-
implement ticket field filtering by type (see https://developers.freshdesk.com/api/#list_all_ticket_fields)
-
more tests
-
several new functions in
utils(internal stuff)
- argument
extrawas added for callback-function to allow handle paging
- Error Handling: filter for errors on JSON-parse, now it handles on JSON errors
- Error Handling:
apiTargetfield on FreshdeskError, containing the name of method and requested URL of the API - Error Handling: HTTP status 404 handled correctly (there is an empty body)
- Test: added test for network errors
Fixed:
- bug
response.request is not defined, caused by network-errors, in thedebugcall
statusproperty on FreshdeskError- more tests
- Published APIv1 version
1.1.1, using sources provided by Kumar Harsh (@kumarharsh, https://github.com/kumarharsh) - This version marked as deprecated in favor of version 2.0.0
- Attach RAW data to FreshdeskError, when
JSON.parsecan't parse body of the request