poozle
poozle copied to clipboard
New Integration: Zendesk
#168
✨ CodeStory generated PR Summary:
Install extension at link for in editor experience
Open in editor [🔗] copy paste in your browser address bar
vscode://codestory-ghost.codestoryai?action=start-review&repo=https://github.com/poozlehq/engine/pull/158&branch=157-zendesk
🤖 (213f5c472f818183f0615a530b0ece8671695b4a)
This Pull Request introduces several changes to the Zendesk ticketing integration.
-
New utility functions for data conversion:
convertTeam
,convertTag
,convertEpoc
,convertDatetime
,convertComment
,convertAccount
, andconvertUser
. -
New classes and methods for handling API requests:
TeamPath
,TicketPath
,UserPath
,TagsPath
,AccountsPath
, andProxyPath
. Each class has methods for handling specific HTTP methods (GET, POST, PATCH). -
New TypeScript interfaces for handling API responses and request parameters:
Meta
,CommentWithRaw
,CommentsResponse
,CommentResponse
,GetCommentsParams
,CreateCommentsParams
,AccountWithRaw
,AccountsResponse
,AccountResponse
,GetAccountsParams
,GetAccountParams
,CreateAccountParams
,updateAccountParams
,TagWithRaw
,TagsResponse
,TagResponse
,UserWithRaw
,UsersResponse
,UserResponse
,GetUsersParams
,TicketWithRaw
,TicketsResponse
,TicketResponse
,GetTicketsParams
,GetTicketParams
,createBody
,CreateTicketParams
, andUpdateTicketParams
. -
Updates to the
ZendeskIntegration
class, including a newspec
method, an updatedauthHeaders
method, a newcheck
method, and a newpaths
method. -
New testing function
run
in the testing module. -
Updates to the
main
function in the source index, which now creates an instance of theZendeskIntegration
class and runs a command using this instance.
If you found this useful, please give me feedback by liking 👍 this comment, or 👎 if this wans't useful to you. I learn from my mistakes 🎓
I am a AI bot and might make mistakes 🫤, please give feedback to the devs at [email protected] or on slack