poozle icon indicating copy to clipboard operation
poozle copied to clipboard

New Integration: Zendesk

Open saimanoj opened this issue 1 year ago • 1 comments

#168

saimanoj avatar Aug 09 '23 06:08 saimanoj

✨ 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.

  1. New utility functions for data conversion: convertTeam, convertTag, convertEpoc, convertDatetime, convertComment, convertAccount, and convertUser.

  2. New classes and methods for handling API requests: TeamPath, TicketPath, UserPath, TagsPath, AccountsPath, and ProxyPath. Each class has methods for handling specific HTTP methods (GET, POST, PATCH).

  3. 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, and UpdateTicketParams.

  4. Updates to the ZendeskIntegration class, including a new spec method, an updated authHeaders method, a new check method, and a new paths method.

  5. New testing function run in the testing module.

  6. Updates to the main function in the source index, which now creates an instance of the ZendeskIntegration 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

codestorybetabot[bot] avatar Aug 09 '23 06:08 codestorybetabot[bot]