Skip to content

Commit 201c939

Browse files
seynadioAfstklamichelle0927claude
authored
Merging pull request #18275
* Add file attachment support to Zendesk update-ticket action - Add attachments prop definition to zendesk.app.mjs for multiple file uploads - Add uploadFile() and uploadFiles() helper methods with MIME type detection - Modify update-ticket action to support file attachments via Zendesk uploads API - Update version to 0.2.0 and package version to 0.7.2 - Enhanced success message to show attachment count * Address CodeRabbit feedback - Add guard for missing upload token and fail fast with clear error message - Remove duplicate summary emission from uploadFiles method - Use actual upload token count instead of input array length for summary * Implement comprehensive URL support and improve file handling - Add full HTTP/HTTPS URL support with axios for remote file fetching - Extract filename from Content-Disposition header or URL path for URLs - Use response Content-Type when available for better MIME detection - Replace blocking readFileSync with async fs.promises.readFile - Add proper input validation and JSDoc documentation - Implement concurrent uploads with Promise.allSettled for better performance - Add comprehensive error aggregation showing all failed uploads - Filter and trim attachment input for robustness * up versions * lock change for some reason * updates * pnpm-lock.yaml * update @pipedream/platform dependency * pnpm-lock.yaml * Add assignee support to Zendesk update ticket component - Add assigneeId prop with dynamic agent dropdown selection - Add assigneeEmail prop for email-based ticket assignment - Update ticket data to include assignee_id and assignee_email fields - Enhanced summary messages to reflect assignee updates - Maintain backward compatibility with optional props - Follow Zendesk API v2 specification for ticket updates 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]> * Fix CI issues: increment versions and remove trailing spaces - Bump component version from 0.2.0 to 0.2.1 - Bump package version from 0.8.2 to 0.8.3 - Remove trailing spaces to fix linting errors * Bump versions of all dependent Zendesk components Updated 20 component versions to satisfy CI requirements: Actions: - add-ticket-tags: 0.0.3 → 0.0.4 - create-ticket: 0.1.7 → 0.1.8 - delete-ticket: 0.1.7 → 0.1.8 - get-ticket-info: 0.0.5 → 0.0.6 - get-user-info: 0.0.2 → 0.0.3 - list-locales: 0.0.2 → 0.0.3 - list-macros: 0.0.2 → 0.0.3 - list-ticket-comments: 0.0.2 → 0.0.3 - list-tickets: 0.0.5 → 0.0.6 - remove-ticket-tags: 0.0.3 → 0.0.4 - search-tickets: 0.0.6 → 0.0.7 - set-ticket-tags: 0.0.3 → 0.0.4 Sources: - locale-updated: 0.0.2 → 0.0.3 - new-ticket: 0.2.7 → 0.2.8 - new-ticket-comment-added: 0.0.2 → 0.0.3 - ticket-added-to-view: 0.0.7 → 0.0.8 - ticket-closed: 0.2.7 → 0.2.8 - ticket-pended: 0.2.7 → 0.2.8 - ticket-solved: 0.2.7 → 0.2.8 - ticket-updated: 0.2.7 → 0.2.8 --------- Co-authored-by: Job <[email protected]> Co-authored-by: Job Nijenhuis <[email protected]> Co-authored-by: Michelle Bergeron <[email protected]> Co-authored-by: Claude <[email protected]>
1 parent dbeb0b9 commit 201c939

File tree

23 files changed

+106
-31
lines changed

23 files changed

+106
-31
lines changed

components/zendesk/actions/add-ticket-tags/add-ticket-tags.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default {
55
name: "Add Ticket Tags",
66
description: "Add tags to a ticket (appends to existing tags). [See the documentation](https://developer.zendesk.com/api-reference/ticketing/ticket-management/tags/#add-tags).",
77
type: "action",
8-
version: "0.0.3",
8+
version: "0.0.4",
99
props: {
1010
app,
1111
ticketId: {

components/zendesk/actions/create-ticket/create-ticket.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default {
55
name: "Create Ticket",
66
description: "Creates a ticket. [See the documentation](https://developer.zendesk.com/api-reference/ticketing/tickets/tickets/#create-ticket).",
77
type: "action",
8-
version: "0.1.7",
8+
version: "0.1.8",
99
props: {
1010
app,
1111
ticketCommentBody: {

components/zendesk/actions/delete-ticket/delete-ticket.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default {
55
name: "Delete Ticket",
66
description: "Deletes a ticket. [See the documentation](https://developer.zendesk.com/api-reference/ticketing/tickets/tickets/#delete-ticket).",
77
type: "action",
8-
version: "0.1.7",
8+
version: "0.1.8",
99
props: {
1010
app,
1111
ticketId: {

components/zendesk/actions/get-ticket-info/get-ticket-info.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default {
55
name: "Get Ticket Info",
66
description: "Retrieves information about a specific ticket. [See the documentation](https://developer.zendesk.com/api-reference/ticketing/tickets/tickets/#show-ticket).",
77
type: "action",
8-
version: "0.0.5",
8+
version: "0.0.6",
99
props: {
1010
app,
1111
ticketId: {

components/zendesk/actions/get-user-info/get-user-info.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default {
44
key: "zendesk-get-user-info",
55
name: "Get User Info",
66
description: "Retrieves information about a specific user. [See the documentation](https://developer.zendesk.com/api-reference/ticketing/users/users/#show-user).",
7-
version: "0.0.2",
7+
version: "0.0.3",
88
type: "action",
99
props: {
1010
zendesk,

components/zendesk/actions/list-locales/list-locales.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default {
44
key: "zendesk-list-locales",
55
name: "List Locales",
66
description: "Retrieves all locales. [See the documentation](https://developer.zendesk.com/api-reference/ticketing/account-configuration/locales/).",
7-
version: "0.0.2",
7+
version: "0.0.3",
88
type: "action",
99
props: {
1010
zendesk,

components/zendesk/actions/list-macros/list-macros.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default {
44
key: "zendesk-list-macros",
55
name: "List Macros",
66
description: "Retrieves all macros. [See the documentation](https://developer.zendesk.com/api-reference/ticketing/business-rules/macros/#list-macros).",
7-
version: "0.0.2",
7+
version: "0.0.3",
88
type: "action",
99
props: {
1010
zendesk,

components/zendesk/actions/list-ticket-comments/list-ticket-comments.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default {
44
key: "zendesk-list-ticket-comments",
55
name: "List Ticket Comments",
66
description: "Retrieves all comments for a specific ticket. [See the documentation](https://developer.zendesk.com/api-reference/ticketing/tickets/ticket_comments/#list-comments).",
7-
version: "0.0.2",
7+
version: "0.0.3",
88
type: "action",
99
props: {
1010
zendesk,

components/zendesk/actions/list-tickets/list-tickets.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default {
55
name: "List Tickets",
66
description: "Retrieves a list of tickets. [See the documentation](https://developer.zendesk.com/api-reference/ticketing/tickets/tickets/#list-tickets).",
77
type: "action",
8-
version: "0.0.5",
8+
version: "0.0.6",
99
props: {
1010
app,
1111
sortBy: {

components/zendesk/actions/remove-ticket-tags/remove-ticket-tags.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default {
55
name: "Remove Ticket Tags",
66
description: "Remove specific tags from a ticket. [See the documentation](https://developer.zendesk.com/api-reference/ticketing/ticket-management/tags/#remove-tags).",
77
type: "action",
8-
version: "0.0.3",
8+
version: "0.0.4",
99
props: {
1010
app,
1111
ticketId: {

0 commit comments

Comments
 (0)