Skip to content

Commit 2c5f4f2

Browse files
authored
Zoho Desk - Help Center & Knowledge Base Actions (#18837)
* updates * versions
1 parent 24cb4b9 commit 2c5f4f2

File tree

30 files changed

+112
-47
lines changed

30 files changed

+112
-47
lines changed

components/zoho_desk/actions/add-ticket-attachment/add-ticket-attachment.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export default {
77
name: "Add Ticket Attachment",
88
description: "Attaches a file to a ticket. [See the docs here](https://desk.zoho.com/DeskAPIDocument#TicketAttachments#TicketAttachments_CreateTicketattachment)",
99
type: "action",
10-
version: "0.1.4",
10+
version: "0.1.5",
1111
annotations: {
1212
destructiveHint: false,
1313
openWorldHint: true,

components/zoho_desk/actions/add-ticket-comment/add-ticket-comment.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 Comment",
66
description: "Adds a comment to a ticket. [See the docs here](https://desk.zoho.com/DeskAPIDocument#TicketsComments#TicketsComments_Createticketcomment)",
77
type: "action",
8-
version: "0.0.5",
8+
version: "0.0.6",
99
annotations: {
1010
destructiveHint: false,
1111
openWorldHint: true,

components/zoho_desk/actions/create-account/create-account.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default {
55
name: "Create Account",
66
description: "Creates an account in your help desk portal. [See the docs here](https://desk.zoho.com/DeskAPIDocument#Accounts#Accounts_CreateAccount)",
77
type: "action",
8-
version: "0.0.5",
8+
version: "0.0.6",
99
annotations: {
1010
destructiveHint: false,
1111
openWorldHint: true,

components/zoho_desk/actions/create-contact/create-contact.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default {
55
name: "Create Contact",
66
description: "Creates a contact in your help desk portal. [See the docs here](https://desk.zoho.com/DeskAPIDocument#Contacts#Contacts_CreateContact)",
77
type: "action",
8-
version: "0.0.5",
8+
version: "0.0.6",
99
annotations: {
1010
destructiveHint: false,
1111
openWorldHint: true,

components/zoho_desk/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 in your helpdesk. [See the docs here](https://desk.zoho.com/DeskAPIDocument#Tickets#Tickets_Createaticket)",
77
type: "action",
8-
version: "0.0.5",
8+
version: "0.0.6",
99
annotations: {
1010
destructiveHint: false,
1111
openWorldHint: true,

components/zoho_desk/actions/find-contact/find-contact.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default {
55
name: "Find Contact",
66
description: "Searches for contacts in your help desk portal. [See the docs here](https://desk.zoho.com/DeskAPIDocument#Search#Search_SearchContacts)",
77
type: "action",
8-
version: "0.0.5",
8+
version: "0.0.6",
99
annotations: {
1010
destructiveHint: false,
1111
openWorldHint: true,

components/zoho_desk/actions/find-or-create-contact/find-or-create-contact.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default {
55
name: "Find or Create Contact",
66
description: "Finds or create a contact. [See the docs here](https://desk.zoho.com/DeskAPIDocument#Contacts#Contacts_CreateContact)",
77
type: "action",
8-
version: "0.0.5",
8+
version: "0.0.6",
99
annotations: {
1010
destructiveHint: false,
1111
openWorldHint: true,

components/zoho_desk/actions/get-article/get-article.mjs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ import zohoDesk from "../../zoho_desk.app.mjs";
33
export default {
44
key: "zoho_desk-get-article",
55
name: "Get Article",
6-
description: "Retrieves the details of a knowledge base article. [See the docs here](https://desk.zoho.com/portal/APIDocument.do#KnowledgeBase_Getarticle)",
6+
description: "Retrieves the details of a knowledge base article. [See the documentation](https://desk.zoho.com/portal/APIDocument.do#KnowledgeBase_Getarticle)",
77
type: "action",
8-
version: "0.0.1",
8+
version: "0.0.2",
99
annotations: {
1010
destructiveHint: false,
1111
openWorldHint: true,
@@ -32,6 +32,9 @@ export default {
3232
propDefinition: [
3333
zohoDesk,
3434
"articleId",
35+
({ portalId }) => ({
36+
portalId,
37+
}),
3538
],
3639
},
3740
},

components/zoho_desk/actions/list-articles/list-articles.mjs

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ import zohoDesk from "../../zoho_desk.app.mjs";
22
export default {
33
key: "zoho_desk-list-articles",
44
name: "List Articles",
5-
description: "Lists knowledge base articles for a help center. [See the docs here](https://desk.zoho.com/portal/APIDocument.do#KnowledgeBase#KnowledgeBase_Listarticles)",
5+
description: "Lists knowledge base articles for a help center. [See the documentation](https://desk.zoho.com/portal/APIDocument.do#KnowledgeBase#KnowledgeBase_Listarticles)",
66
type: "action",
7-
version: "0.0.1",
7+
version: "0.0.2",
88
annotations: {
99
destructiveHint: false,
1010
openWorldHint: true,
@@ -28,15 +28,18 @@ export default {
2828
],
2929
},
3030
categoryId: {
31-
type: "string",
32-
label: "Category ID",
33-
description: "Filter by the ID(s) of the categories the articles belong to. Use comma-separated IDs to include multiple categories.",
34-
optional: true,
31+
propDefinition: [
32+
zohoDesk,
33+
"categoryId",
34+
({ portalId }) => ({
35+
portalId,
36+
}),
37+
],
3538
},
3639
sortBy: {
3740
type: "string",
3841
label: "Sort By",
39-
description: "Sort articles by the specified attribute.",
42+
description: "Sort articles by the specified attribute",
4043
optional: true,
4144
options: [
4245
"createdTime",
@@ -50,7 +53,7 @@ export default {
5053
tag: {
5154
type: "string",
5255
label: "Tag",
53-
description: "Filter articles by a tag.",
56+
description: "Filter articles by a tag",
5457
optional: true,
5558
},
5659
maxResults: {

components/zoho_desk/actions/list-help-centers/list-help-centers.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ import zohoDesk from "../../zoho_desk.app.mjs";
33
export default {
44
key: "zoho_desk-list-help-centers",
55
name: "List Help Centers",
6-
description: "Lists the help centers configured in an organization. [See the docs here](https://desk.zoho.com/portal/APIDocument.do#HelpCenters_Listhelpcenters)",
6+
description: "Lists the help centers configured in an organization. [See the documentation](https://desk.zoho.com/portal/APIDocument.do#HelpCenters_Listhelpcenters)",
77
type: "action",
8-
version: "0.0.1",
8+
version: "0.0.2",
99
annotations: {
1010
destructiveHint: false,
1111
openWorldHint: true,

0 commit comments

Comments
 (0)