@keystrokehq/onedesk 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -0
- package/dist/action.cjs +21 -0
- package/dist/action.cjs.map +1 -0
- package/dist/action.mjs +21 -0
- package/dist/action.mjs.map +1 -0
- package/dist/actions/create-worklog.cjs +38 -0
- package/dist/actions/create-worklog.cjs.map +1 -0
- package/dist/actions/create-worklog.d.cts +9 -0
- package/dist/actions/create-worklog.d.cts.map +1 -0
- package/dist/actions/create-worklog.d.mts +9 -0
- package/dist/actions/create-worklog.d.mts.map +1 -0
- package/dist/actions/create-worklog.mjs +37 -0
- package/dist/actions/create-worklog.mjs.map +1 -0
- package/dist/actions/delete-attachment.cjs +20 -0
- package/dist/actions/delete-attachment.cjs.map +1 -0
- package/dist/actions/delete-attachment.d.cts +9 -0
- package/dist/actions/delete-attachment.d.cts.map +1 -0
- package/dist/actions/delete-attachment.d.mts +9 -0
- package/dist/actions/delete-attachment.d.mts.map +1 -0
- package/dist/actions/delete-attachment.mjs +17 -0
- package/dist/actions/delete-attachment.mjs.map +1 -0
- package/dist/actions/delete-comment.cjs +21 -0
- package/dist/actions/delete-comment.cjs.map +1 -0
- package/dist/actions/delete-comment.d.cts +9 -0
- package/dist/actions/delete-comment.d.cts.map +1 -0
- package/dist/actions/delete-comment.d.mts +9 -0
- package/dist/actions/delete-comment.d.mts.map +1 -0
- package/dist/actions/delete-comment.mjs +18 -0
- package/dist/actions/delete-comment.mjs.map +1 -0
- package/dist/actions/delete-customer.cjs +16 -0
- package/dist/actions/delete-customer.cjs.map +1 -0
- package/dist/actions/delete-customer.d.cts +9 -0
- package/dist/actions/delete-customer.d.cts.map +1 -0
- package/dist/actions/delete-customer.d.mts +9 -0
- package/dist/actions/delete-customer.d.mts.map +1 -0
- package/dist/actions/delete-customer.mjs +13 -0
- package/dist/actions/delete-customer.mjs.map +1 -0
- package/dist/actions/delete-message.cjs +19 -0
- package/dist/actions/delete-message.cjs.map +1 -0
- package/dist/actions/delete-message.d.cts +9 -0
- package/dist/actions/delete-message.d.cts.map +1 -0
- package/dist/actions/delete-message.d.mts +9 -0
- package/dist/actions/delete-message.d.mts.map +1 -0
- package/dist/actions/delete-message.mjs +16 -0
- package/dist/actions/delete-message.mjs.map +1 -0
- package/dist/actions/delete-project.cjs +19 -0
- package/dist/actions/delete-project.cjs.map +1 -0
- package/dist/actions/delete-project.d.cts +9 -0
- package/dist/actions/delete-project.d.cts.map +1 -0
- package/dist/actions/delete-project.d.mts +9 -0
- package/dist/actions/delete-project.d.mts.map +1 -0
- package/dist/actions/delete-project.mjs +16 -0
- package/dist/actions/delete-project.mjs.map +1 -0
- package/dist/actions/delete-requirement.cjs +16 -0
- package/dist/actions/delete-requirement.cjs.map +1 -0
- package/dist/actions/delete-requirement.d.cts +9 -0
- package/dist/actions/delete-requirement.d.cts.map +1 -0
- package/dist/actions/delete-requirement.d.mts +9 -0
- package/dist/actions/delete-requirement.d.mts.map +1 -0
- package/dist/actions/delete-requirement.mjs +13 -0
- package/dist/actions/delete-requirement.mjs.map +1 -0
- package/dist/actions/delete-task.cjs +19 -0
- package/dist/actions/delete-task.cjs.map +1 -0
- package/dist/actions/delete-task.d.cts +9 -0
- package/dist/actions/delete-task.d.cts.map +1 -0
- package/dist/actions/delete-task.d.mts +9 -0
- package/dist/actions/delete-task.d.mts.map +1 -0
- package/dist/actions/delete-task.mjs +16 -0
- package/dist/actions/delete-task.mjs.map +1 -0
- package/dist/actions/delete-ticket.cjs +21 -0
- package/dist/actions/delete-ticket.cjs.map +1 -0
- package/dist/actions/delete-ticket.d.cts +9 -0
- package/dist/actions/delete-ticket.d.cts.map +1 -0
- package/dist/actions/delete-ticket.d.mts +9 -0
- package/dist/actions/delete-ticket.d.mts.map +1 -0
- package/dist/actions/delete-ticket.mjs +18 -0
- package/dist/actions/delete-ticket.mjs.map +1 -0
- package/dist/actions/delete-timesheet.cjs +19 -0
- package/dist/actions/delete-timesheet.cjs.map +1 -0
- package/dist/actions/delete-timesheet.d.cts +9 -0
- package/dist/actions/delete-timesheet.d.cts.map +1 -0
- package/dist/actions/delete-timesheet.d.mts +9 -0
- package/dist/actions/delete-timesheet.d.mts.map +1 -0
- package/dist/actions/delete-timesheet.mjs +16 -0
- package/dist/actions/delete-timesheet.mjs.map +1 -0
- package/dist/actions/delete-user.cjs +20 -0
- package/dist/actions/delete-user.cjs.map +1 -0
- package/dist/actions/delete-user.d.cts +9 -0
- package/dist/actions/delete-user.d.cts.map +1 -0
- package/dist/actions/delete-user.d.mts +9 -0
- package/dist/actions/delete-user.d.mts.map +1 -0
- package/dist/actions/delete-user.mjs +17 -0
- package/dist/actions/delete-user.mjs.map +1 -0
- package/dist/actions/get-attachments.cjs +30 -0
- package/dist/actions/get-attachments.cjs.map +1 -0
- package/dist/actions/get-attachments.d.cts +9 -0
- package/dist/actions/get-attachments.d.cts.map +1 -0
- package/dist/actions/get-attachments.d.mts +9 -0
- package/dist/actions/get-attachments.d.mts.map +1 -0
- package/dist/actions/get-attachments.mjs +29 -0
- package/dist/actions/get-attachments.mjs.map +1 -0
- package/dist/actions/get-comment-details.cjs +23 -0
- package/dist/actions/get-comment-details.cjs.map +1 -0
- package/dist/actions/get-comment-details.d.cts +9 -0
- package/dist/actions/get-comment-details.d.cts.map +1 -0
- package/dist/actions/get-comment-details.d.mts +9 -0
- package/dist/actions/get-comment-details.d.mts.map +1 -0
- package/dist/actions/get-comment-details.mjs +20 -0
- package/dist/actions/get-comment-details.mjs.map +1 -0
- package/dist/actions/get-comments.cjs +24 -0
- package/dist/actions/get-comments.cjs.map +1 -0
- package/dist/actions/get-comments.d.cts +9 -0
- package/dist/actions/get-comments.d.cts.map +1 -0
- package/dist/actions/get-comments.d.mts +9 -0
- package/dist/actions/get-comments.d.mts.map +1 -0
- package/dist/actions/get-comments.mjs +23 -0
- package/dist/actions/get-comments.mjs.map +1 -0
- package/dist/actions/get-feedback-details.cjs +36 -0
- package/dist/actions/get-feedback-details.cjs.map +1 -0
- package/dist/actions/get-feedback-details.d.cts +9 -0
- package/dist/actions/get-feedback-details.d.cts.map +1 -0
- package/dist/actions/get-feedback-details.d.mts +9 -0
- package/dist/actions/get-feedback-details.d.mts.map +1 -0
- package/dist/actions/get-feedback-details.mjs +33 -0
- package/dist/actions/get-feedback-details.mjs.map +1 -0
- package/dist/actions/get-feedback.cjs +38 -0
- package/dist/actions/get-feedback.cjs.map +1 -0
- package/dist/actions/get-feedback.d.cts +9 -0
- package/dist/actions/get-feedback.d.cts.map +1 -0
- package/dist/actions/get-feedback.d.mts +9 -0
- package/dist/actions/get-feedback.d.mts.map +1 -0
- package/dist/actions/get-feedback.mjs +37 -0
- package/dist/actions/get-feedback.mjs.map +1 -0
- package/dist/actions/get-issue-details.cjs +28 -0
- package/dist/actions/get-issue-details.cjs.map +1 -0
- package/dist/actions/get-issue-details.d.cts +9 -0
- package/dist/actions/get-issue-details.d.cts.map +1 -0
- package/dist/actions/get-issue-details.d.mts +9 -0
- package/dist/actions/get-issue-details.d.mts.map +1 -0
- package/dist/actions/get-issue-details.mjs +25 -0
- package/dist/actions/get-issue-details.mjs.map +1 -0
- package/dist/actions/get-issues.cjs +29 -0
- package/dist/actions/get-issues.cjs.map +1 -0
- package/dist/actions/get-issues.d.cts +9 -0
- package/dist/actions/get-issues.d.cts.map +1 -0
- package/dist/actions/get-issues.d.mts +9 -0
- package/dist/actions/get-issues.d.mts.map +1 -0
- package/dist/actions/get-issues.mjs +28 -0
- package/dist/actions/get-issues.mjs.map +1 -0
- package/dist/actions/get-messages.cjs +39 -0
- package/dist/actions/get-messages.cjs.map +1 -0
- package/dist/actions/get-messages.d.cts +9 -0
- package/dist/actions/get-messages.d.cts.map +1 -0
- package/dist/actions/get-messages.d.mts +9 -0
- package/dist/actions/get-messages.d.mts.map +1 -0
- package/dist/actions/get-messages.mjs +38 -0
- package/dist/actions/get-messages.mjs.map +1 -0
- package/dist/actions/get-requirements.cjs +29 -0
- package/dist/actions/get-requirements.cjs.map +1 -0
- package/dist/actions/get-requirements.d.cts +9 -0
- package/dist/actions/get-requirements.d.cts.map +1 -0
- package/dist/actions/get-requirements.d.mts +9 -0
- package/dist/actions/get-requirements.d.mts.map +1 -0
- package/dist/actions/get-requirements.mjs +28 -0
- package/dist/actions/get-requirements.mjs.map +1 -0
- package/dist/actions/get-task-details.cjs +28 -0
- package/dist/actions/get-task-details.cjs.map +1 -0
- package/dist/actions/get-task-details.d.cts +9 -0
- package/dist/actions/get-task-details.d.cts.map +1 -0
- package/dist/actions/get-task-details.d.mts +9 -0
- package/dist/actions/get-task-details.d.mts.map +1 -0
- package/dist/actions/get-task-details.mjs +25 -0
- package/dist/actions/get-task-details.mjs.map +1 -0
- package/dist/actions/get-tickets.cjs +42 -0
- package/dist/actions/get-tickets.cjs.map +1 -0
- package/dist/actions/get-tickets.d.cts +9 -0
- package/dist/actions/get-tickets.d.cts.map +1 -0
- package/dist/actions/get-tickets.d.mts +9 -0
- package/dist/actions/get-tickets.d.mts.map +1 -0
- package/dist/actions/get-tickets.mjs +41 -0
- package/dist/actions/get-tickets.mjs.map +1 -0
- package/dist/actions/get-timesheet-details.cjs +29 -0
- package/dist/actions/get-timesheet-details.cjs.map +1 -0
- package/dist/actions/get-timesheet-details.d.cts +9 -0
- package/dist/actions/get-timesheet-details.d.cts.map +1 -0
- package/dist/actions/get-timesheet-details.d.mts +9 -0
- package/dist/actions/get-timesheet-details.d.mts.map +1 -0
- package/dist/actions/get-timesheet-details.mjs +26 -0
- package/dist/actions/get-timesheet-details.mjs.map +1 -0
- package/dist/actions/get-worklogs.cjs +39 -0
- package/dist/actions/get-worklogs.cjs.map +1 -0
- package/dist/actions/get-worklogs.d.cts +9 -0
- package/dist/actions/get-worklogs.d.cts.map +1 -0
- package/dist/actions/get-worklogs.d.mts +9 -0
- package/dist/actions/get-worklogs.d.mts.map +1 -0
- package/dist/actions/get-worklogs.mjs +38 -0
- package/dist/actions/get-worklogs.mjs.map +1 -0
- package/dist/actions/index.cjs +49 -0
- package/dist/actions/index.d.cts +25 -0
- package/dist/actions/index.d.mts +25 -0
- package/dist/actions/index.mjs +25 -0
- package/dist/app.cjs +9 -0
- package/dist/app.cjs.map +1 -0
- package/dist/app.d.cts +5 -0
- package/dist/app.d.cts.map +1 -0
- package/dist/app.d.mts +5 -0
- package/dist/app.d.mts.map +1 -0
- package/dist/app.mjs +10 -0
- package/dist/app.mjs.map +1 -0
- package/dist/catalog.cjs +15 -0
- package/dist/catalog.cjs.map +1 -0
- package/dist/catalog.d.cts +14 -0
- package/dist/catalog.d.cts.map +1 -0
- package/dist/catalog.d.mts +14 -0
- package/dist/catalog.d.mts.map +1 -0
- package/dist/catalog.mjs +15 -0
- package/dist/catalog.mjs.map +1 -0
- package/dist/execute.cjs +18 -0
- package/dist/execute.cjs.map +1 -0
- package/dist/execute.mjs +18 -0
- package/dist/execute.mjs.map +1 -0
- package/dist/index.cjs +54 -0
- package/dist/index.d.cts +27 -0
- package/dist/index.d.mts +27 -0
- package/dist/index.mjs +28 -0
- package/package.json +49 -0
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-comment-details.ts
|
|
4
|
+
const OnedeskGetCommentDetailsInput = zod.z.object({ comment_id: zod.z.number().int().describe("The unique identifier of the comment to retrieve") }).describe("Request parameters for retrieving details of a specific comment in OneDesk.");
|
|
5
|
+
const OnedeskGetCommentDetailsOutput = zod.z.object({
|
|
6
|
+
id: zod.z.number().int().describe("Unique identifier of the comment"),
|
|
7
|
+
body: zod.z.string().describe("Content/text of the comment").nullable().optional(),
|
|
8
|
+
author_id: zod.z.number().int().describe("ID of the comment author").nullable().optional(),
|
|
9
|
+
ticket_id: zod.z.number().int().describe("ID of the ticket/item associated with the comment").nullable().optional(),
|
|
10
|
+
created_at: zod.z.string().describe("ISO 8601 timestamp when the comment was created").nullable().optional(),
|
|
11
|
+
updated_at: zod.z.string().describe("ISO 8601 timestamp when the comment was last updated").nullable().optional()
|
|
12
|
+
}).describe("Response schema for comment details retrieved from OneDesk.");
|
|
13
|
+
const onedeskGetCommentDetails = require_action.action("ONEDESK_GET_COMMENT_DETAILS", {
|
|
14
|
+
slug: "onedesk-get-comment-details",
|
|
15
|
+
name: "Get Comment Details",
|
|
16
|
+
description: "Retrieve detailed information for a specific comment by its ID. This action attempts to fetch comment details from OneDesk using the comment ID. It tries multiple endpoint patterns to maximize compatibility with different API versions. Note: The OneDesk Public REST API has limited support for retrieving comments. If the comment ID doesn't exist or the endpoint is not available, this action will fail.",
|
|
17
|
+
input: OnedeskGetCommentDetailsInput,
|
|
18
|
+
output: OnedeskGetCommentDetailsOutput
|
|
19
|
+
});
|
|
20
|
+
//#endregion
|
|
21
|
+
exports.onedeskGetCommentDetails = onedeskGetCommentDetails;
|
|
22
|
+
|
|
23
|
+
//# sourceMappingURL=get-comment-details.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-comment-details.cjs","names":["z","action"],"sources":["../../src/actions/get-comment-details.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnedeskGetCommentDetailsInput: z.ZodTypeAny = z.object({\n comment_id: z.number().int().describe(\"The unique identifier of the comment to retrieve\"),\n}).describe(\"Request parameters for retrieving details of a specific comment in OneDesk.\");\nexport const OnedeskGetCommentDetailsOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the comment\"),\n body: z.string().describe(\"Content/text of the comment\").nullable().optional(),\n author_id: z.number().int().describe(\"ID of the comment author\").nullable().optional(),\n ticket_id: z.number().int().describe(\"ID of the ticket/item associated with the comment\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the comment was created\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the comment was last updated\").nullable().optional(),\n}).describe(\"Response schema for comment details retrieved from OneDesk.\");\n\nexport const onedeskGetCommentDetails = action(\"ONEDESK_GET_COMMENT_DETAILS\", {\n slug: \"onedesk-get-comment-details\",\n name: \"Get Comment Details\",\n description: \"Retrieve detailed information for a specific comment by its ID. This action attempts to fetch comment details from OneDesk using the comment ID. It tries multiple endpoint patterns to maximize compatibility with different API versions. Note: The OneDesk Public REST API has limited support for retrieving comments. If the comment ID doesn't exist or the endpoint is not available, this action will fail.\",\n input: OnedeskGetCommentDetailsInput,\n output: OnedeskGetCommentDetailsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8CA,IAAAA,EAAE,OAAO,EAClE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,EAC1F,CAAC,CAAC,CAAC,SAAS,6EAA6E;AACzF,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,SAAS,6DAA6D;AAEzE,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-comment-details.d.ts
|
|
4
|
+
declare const OnedeskGetCommentDetailsInput: z.ZodTypeAny;
|
|
5
|
+
declare const OnedeskGetCommentDetailsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const onedeskGetCommentDetails: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { onedeskGetCommentDetails };
|
|
9
|
+
//# sourceMappingURL=get-comment-details.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-comment-details.d.cts","names":[],"sources":["../../src/actions/get-comment-details.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAE4C;AAAA,cAC7E,8BAAA,EAAgC,CAAA,CAAE,UAO2B;AAAA,cAE7D,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-comment-details.d.ts
|
|
4
|
+
declare const OnedeskGetCommentDetailsInput: z.ZodTypeAny;
|
|
5
|
+
declare const OnedeskGetCommentDetailsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const onedeskGetCommentDetails: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { onedeskGetCommentDetails };
|
|
9
|
+
//# sourceMappingURL=get-comment-details.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-comment-details.d.mts","names":[],"sources":["../../src/actions/get-comment-details.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAE4C;AAAA,cAC7E,8BAAA,EAAgC,CAAA,CAAE,UAO2B;AAAA,cAE7D,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const onedeskGetCommentDetails = action("ONEDESK_GET_COMMENT_DETAILS", {
|
|
4
|
+
slug: "onedesk-get-comment-details",
|
|
5
|
+
name: "Get Comment Details",
|
|
6
|
+
description: "Retrieve detailed information for a specific comment by its ID. This action attempts to fetch comment details from OneDesk using the comment ID. It tries multiple endpoint patterns to maximize compatibility with different API versions. Note: The OneDesk Public REST API has limited support for retrieving comments. If the comment ID doesn't exist or the endpoint is not available, this action will fail.",
|
|
7
|
+
input: z.object({ comment_id: z.number().int().describe("The unique identifier of the comment to retrieve") }).describe("Request parameters for retrieving details of a specific comment in OneDesk."),
|
|
8
|
+
output: z.object({
|
|
9
|
+
id: z.number().int().describe("Unique identifier of the comment"),
|
|
10
|
+
body: z.string().describe("Content/text of the comment").nullable().optional(),
|
|
11
|
+
author_id: z.number().int().describe("ID of the comment author").nullable().optional(),
|
|
12
|
+
ticket_id: z.number().int().describe("ID of the ticket/item associated with the comment").nullable().optional(),
|
|
13
|
+
created_at: z.string().describe("ISO 8601 timestamp when the comment was created").nullable().optional(),
|
|
14
|
+
updated_at: z.string().describe("ISO 8601 timestamp when the comment was last updated").nullable().optional()
|
|
15
|
+
}).describe("Response schema for comment details retrieved from OneDesk.")
|
|
16
|
+
});
|
|
17
|
+
//#endregion
|
|
18
|
+
export { onedeskGetCommentDetails };
|
|
19
|
+
|
|
20
|
+
//# sourceMappingURL=get-comment-details.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-comment-details.mjs","names":[],"sources":["../../src/actions/get-comment-details.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnedeskGetCommentDetailsInput: z.ZodTypeAny = z.object({\n comment_id: z.number().int().describe(\"The unique identifier of the comment to retrieve\"),\n}).describe(\"Request parameters for retrieving details of a specific comment in OneDesk.\");\nexport const OnedeskGetCommentDetailsOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the comment\"),\n body: z.string().describe(\"Content/text of the comment\").nullable().optional(),\n author_id: z.number().int().describe(\"ID of the comment author\").nullable().optional(),\n ticket_id: z.number().int().describe(\"ID of the ticket/item associated with the comment\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the comment was created\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the comment was last updated\").nullable().optional(),\n}).describe(\"Response schema for comment details retrieved from OneDesk.\");\n\nexport const onedeskGetCommentDetails = action(\"ONEDESK_GET_COMMENT_DETAILS\", {\n slug: \"onedesk-get-comment-details\",\n name: \"Get Comment Details\",\n description: \"Retrieve detailed information for a specific comment by its ID. This action attempts to fetch comment details from OneDesk using the comment ID. It tries multiple endpoint patterns to maximize compatibility with different API versions. Note: The OneDesk Public REST API has limited support for retrieving comments. If the comment ID doesn't exist or the endpoint is not available, this action will fail.\",\n input: OnedeskGetCommentDetailsInput,\n output: OnedeskGetCommentDetailsOutput,\n});\n"],"mappings":";;AAgBA,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhByD,EAAE,OAAO,EAClE,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,EAC1F,CAAC,CAAC,CAAC,SAAS,6EAcH;CACP,QAd0D,EAAE,OAAO;EACnE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC;EAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7E,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,CAAC,CAAC,CAAC,SAAS,6DAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-comments.ts
|
|
4
|
+
const OnedeskGetCommentsInput = zod.z.object({ item_id: zod.z.number().int().describe("Filter comments by associated item (ticket/task) ID (not supported by public API)").optional() }).describe("Request model for retrieving comments (discussion posts) from OneDesk.\n\nNote: The OneDesk Public REST API has very limited endpoints. This action\nattempts to retrieve comments but may not succeed due to API limitations.");
|
|
5
|
+
const OnedeskGetComments_CommentSchema = zod.z.object({
|
|
6
|
+
id: zod.z.number().int().describe("The unique identifier of the comment"),
|
|
7
|
+
text: zod.z.string().describe("The content of the comment").nullable().optional(),
|
|
8
|
+
itemId: zod.z.number().int().describe("ID of the work item (ticket/task) this comment is on").nullable().optional(),
|
|
9
|
+
userId: zod.z.number().int().describe("ID of the user who posted the comment").nullable().optional(),
|
|
10
|
+
createdDate: zod.z.string().describe("Timestamp when the comment was created").nullable().optional(),
|
|
11
|
+
updatedDate: zod.z.string().describe("Timestamp when the comment was last updated").nullable().optional()
|
|
12
|
+
}).describe("Model representing a OneDesk comment (discussion post).");
|
|
13
|
+
const OnedeskGetCommentsOutput = zod.z.object({ comments: zod.z.array(OnedeskGetComments_CommentSchema).describe("List of comments retrieved from OneDesk") }).describe("Response model for retrieving comments.");
|
|
14
|
+
const onedeskGetComments = require_action.action("ONEDESK_GET_COMMENTS", {
|
|
15
|
+
slug: "onedesk-get-comments",
|
|
16
|
+
name: "Get Comments",
|
|
17
|
+
description: "Attempts to retrieve comments (discussion posts) from OneDesk. **IMPORTANT LIMITATION**: The OneDesk Public REST API does not provide an endpoint to list or retrieve comments. According to OneDesk's API documentation, the public API only supports: - Creating items: POST /rest/public/items/ - Retrieving items by external ID: GET /rest/public/items/externalId/{externalId} - Getting organization info: GET /rest/public/organization/profileAndPolicy Comments can be created via the API but cannot be retrieved or listed through the public API. This action documents this limitation clearly. **Alternative approaches**: 1. Use the OneDesk web application directly to view comments 2. Request access to OneDesk's private/internal API from OneDesk support 3. Use OneDesk's webhook system to receive comment events in real-time 4. If you have a comment ID, try ONEDESK_GET_COMMENT_DETAILS For more information, visit: https://onedesk.com/dev/",
|
|
18
|
+
input: OnedeskGetCommentsInput,
|
|
19
|
+
output: OnedeskGetCommentsOutput
|
|
20
|
+
});
|
|
21
|
+
//#endregion
|
|
22
|
+
exports.onedeskGetComments = onedeskGetComments;
|
|
23
|
+
|
|
24
|
+
//# sourceMappingURL=get-comments.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-comments.cjs","names":["z","action"],"sources":["../../src/actions/get-comments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnedeskGetCommentsInput: z.ZodTypeAny = z.object({\n item_id: z.number().int().describe(\"Filter comments by associated item (ticket/task) ID (not supported by public API)\").optional(),\n}).describe(\"Request model for retrieving comments (discussion posts) from OneDesk.\\n\\nNote: The OneDesk Public REST API has very limited endpoints. This action\\nattempts to retrieve comments but may not succeed due to API limitations.\");\nconst OnedeskGetComments_CommentSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"The unique identifier of the comment\"),\n text: z.string().describe(\"The content of the comment\").nullable().optional(),\n itemId: z.number().int().describe(\"ID of the work item (ticket/task) this comment is on\").nullable().optional(),\n userId: z.number().int().describe(\"ID of the user who posted the comment\").nullable().optional(),\n createdDate: z.string().describe(\"Timestamp when the comment was created\").nullable().optional(),\n updatedDate: z.string().describe(\"Timestamp when the comment was last updated\").nullable().optional(),\n}).describe(\"Model representing a OneDesk comment (discussion post).\");\nexport const OnedeskGetCommentsOutput: z.ZodTypeAny = z.object({\n comments: z.array(OnedeskGetComments_CommentSchema).describe(\"List of comments retrieved from OneDesk\"),\n}).describe(\"Response model for retrieving comments.\");\n\nexport const onedeskGetComments = action(\"ONEDESK_GET_COMMENTS\", {\n slug: \"onedesk-get-comments\",\n name: \"Get Comments\",\n description: \"Attempts to retrieve comments (discussion posts) from OneDesk. **IMPORTANT LIMITATION**: The OneDesk Public REST API does not provide an endpoint to list or retrieve comments. According to OneDesk's API documentation, the public API only supports: - Creating items: POST /rest/public/items/ - Retrieving items by external ID: GET /rest/public/items/externalId/{externalId} - Getting organization info: GET /rest/public/organization/profileAndPolicy Comments can be created via the API but cannot be retrieved or listed through the public API. This action documents this limitation clearly. **Alternative approaches**: 1. Use the OneDesk web application directly to view comments 2. Request access to OneDesk's private/internal API from OneDesk support 3. Use OneDesk's webhook system to receive comment events in real-time 4. If you have a comment ID, try ONEDESK_GET_COMMENT_DETAILS For more information, visit: https://onedesk.com/dev/\",\n input: OnedeskGetCommentsInput,\n output: OnedeskGetCommentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwCA,IAAAA,EAAE,OAAO,EAC5D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,EACnI,CAAC,CAAC,CAAC,SAAS,gOAAgO;AAC5O,MAAM,mCAAiDA,IAAAA,EAAE,OAAO;CAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAa,2BAAyCA,IAAAA,EAAE,OAAO,EAC7D,UAAUA,IAAAA,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,yCAAyC,EACxG,CAAC,CAAC,CAAC,SAAS,yCAAyC;AAErD,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-comments.d.ts
|
|
4
|
+
declare const OnedeskGetCommentsInput: z.ZodTypeAny;
|
|
5
|
+
declare const OnedeskGetCommentsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const onedeskGetComments: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { onedeskGetComments };
|
|
9
|
+
//# sourceMappingURL=get-comments.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-comments.d.cts","names":[],"sources":["../../src/actions/get-comments.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAEqM;AAAA,cAShO,wBAAA,EAA0B,CAAA,CAAE,UAEa;AAAA,cAEzC,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-comments.d.ts
|
|
4
|
+
declare const OnedeskGetCommentsInput: z.ZodTypeAny;
|
|
5
|
+
declare const OnedeskGetCommentsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const onedeskGetComments: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { onedeskGetComments };
|
|
9
|
+
//# sourceMappingURL=get-comments.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-comments.d.mts","names":[],"sources":["../../src/actions/get-comments.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAEqM;AAAA,cAShO,wBAAA,EAA0B,CAAA,CAAE,UAEa;AAAA,cAEzC,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-comments.ts
|
|
4
|
+
const OnedeskGetCommentsInput = z.object({ item_id: z.number().int().describe("Filter comments by associated item (ticket/task) ID (not supported by public API)").optional() }).describe("Request model for retrieving comments (discussion posts) from OneDesk.\n\nNote: The OneDesk Public REST API has very limited endpoints. This action\nattempts to retrieve comments but may not succeed due to API limitations.");
|
|
5
|
+
const OnedeskGetComments_CommentSchema = z.object({
|
|
6
|
+
id: z.number().int().describe("The unique identifier of the comment"),
|
|
7
|
+
text: z.string().describe("The content of the comment").nullable().optional(),
|
|
8
|
+
itemId: z.number().int().describe("ID of the work item (ticket/task) this comment is on").nullable().optional(),
|
|
9
|
+
userId: z.number().int().describe("ID of the user who posted the comment").nullable().optional(),
|
|
10
|
+
createdDate: z.string().describe("Timestamp when the comment was created").nullable().optional(),
|
|
11
|
+
updatedDate: z.string().describe("Timestamp when the comment was last updated").nullable().optional()
|
|
12
|
+
}).describe("Model representing a OneDesk comment (discussion post).");
|
|
13
|
+
const onedeskGetComments = action("ONEDESK_GET_COMMENTS", {
|
|
14
|
+
slug: "onedesk-get-comments",
|
|
15
|
+
name: "Get Comments",
|
|
16
|
+
description: "Attempts to retrieve comments (discussion posts) from OneDesk. **IMPORTANT LIMITATION**: The OneDesk Public REST API does not provide an endpoint to list or retrieve comments. According to OneDesk's API documentation, the public API only supports: - Creating items: POST /rest/public/items/ - Retrieving items by external ID: GET /rest/public/items/externalId/{externalId} - Getting organization info: GET /rest/public/organization/profileAndPolicy Comments can be created via the API but cannot be retrieved or listed through the public API. This action documents this limitation clearly. **Alternative approaches**: 1. Use the OneDesk web application directly to view comments 2. Request access to OneDesk's private/internal API from OneDesk support 3. Use OneDesk's webhook system to receive comment events in real-time 4. If you have a comment ID, try ONEDESK_GET_COMMENT_DETAILS For more information, visit: https://onedesk.com/dev/",
|
|
17
|
+
input: OnedeskGetCommentsInput,
|
|
18
|
+
output: z.object({ comments: z.array(OnedeskGetComments_CommentSchema).describe("List of comments retrieved from OneDesk") }).describe("Response model for retrieving comments.")
|
|
19
|
+
});
|
|
20
|
+
//#endregion
|
|
21
|
+
export { onedeskGetComments };
|
|
22
|
+
|
|
23
|
+
//# sourceMappingURL=get-comments.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-comments.mjs","names":[],"sources":["../../src/actions/get-comments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnedeskGetCommentsInput: z.ZodTypeAny = z.object({\n item_id: z.number().int().describe(\"Filter comments by associated item (ticket/task) ID (not supported by public API)\").optional(),\n}).describe(\"Request model for retrieving comments (discussion posts) from OneDesk.\\n\\nNote: The OneDesk Public REST API has very limited endpoints. This action\\nattempts to retrieve comments but may not succeed due to API limitations.\");\nconst OnedeskGetComments_CommentSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"The unique identifier of the comment\"),\n text: z.string().describe(\"The content of the comment\").nullable().optional(),\n itemId: z.number().int().describe(\"ID of the work item (ticket/task) this comment is on\").nullable().optional(),\n userId: z.number().int().describe(\"ID of the user who posted the comment\").nullable().optional(),\n createdDate: z.string().describe(\"Timestamp when the comment was created\").nullable().optional(),\n updatedDate: z.string().describe(\"Timestamp when the comment was last updated\").nullable().optional(),\n}).describe(\"Model representing a OneDesk comment (discussion post).\");\nexport const OnedeskGetCommentsOutput: z.ZodTypeAny = z.object({\n comments: z.array(OnedeskGetComments_CommentSchema).describe(\"List of comments retrieved from OneDesk\"),\n}).describe(\"Response model for retrieving comments.\");\n\nexport const onedeskGetComments = action(\"ONEDESK_GET_COMMENTS\", {\n slug: \"onedesk-get-comments\",\n name: \"Get Comments\",\n description: \"Attempts to retrieve comments (discussion posts) from OneDesk. **IMPORTANT LIMITATION**: The OneDesk Public REST API does not provide an endpoint to list or retrieve comments. According to OneDesk's API documentation, the public API only supports: - Creating items: POST /rest/public/items/ - Retrieving items by external ID: GET /rest/public/items/externalId/{externalId} - Getting organization info: GET /rest/public/organization/profileAndPolicy Comments can be created via the API but cannot be retrieved or listed through the public API. This action documents this limitation clearly. **Alternative approaches**: 1. Use the OneDesk web application directly to view comments 2. Request access to OneDesk's private/internal API from OneDesk support 3. Use OneDesk's webhook system to receive comment events in real-time 4. If you have a comment ID, try ONEDESK_GET_COMMENT_DETAILS For more information, visit: https://onedesk.com/dev/\",\n input: OnedeskGetCommentsInput,\n output: OnedeskGetCommentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwC,EAAE,OAAO,EAC5D,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,EACnI,CAAC,CAAC,CAAC,SAAS,gOAAgO;AAC5O,MAAM,mCAAiD,EAAE,OAAO;CAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC;CACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,SAAS,yDAAyD;AAKrE,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAToD,EAAE,OAAO,EAC7D,UAAU,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,yCAAyC,EACxG,CAAC,CAAC,CAAC,SAAS,yCAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-feedback-details.ts
|
|
4
|
+
const OnedeskGetFeedbackDetailsInput = zod.z.object({ feedback_id: zod.z.number().int().describe("Internal ID of the item to retrieve (works for tickets, tasks, feedback, and all other item types)") }).describe("Request model for retrieving details of a specific item in OneDesk.\nNote: This retrieves any type of item (Ticket, Task, Feedback, etc.) by its internal ID.");
|
|
5
|
+
const OnedeskGetFeedbackDetailsOutput = zod.z.object({
|
|
6
|
+
id: zod.z.number().int().describe("Internal unique identifier of the item"),
|
|
7
|
+
tags: zod.z.array(zod.z.string()).describe("List of tags associated with the item").nullable().optional(),
|
|
8
|
+
title: zod.z.string().describe("Title or subject of the item").nullable().optional(),
|
|
9
|
+
number: zod.z.string().describe("Item reference number/code").nullable().optional(),
|
|
10
|
+
status: zod.z.string().describe("Current lifecycle status name of the item").nullable().optional(),
|
|
11
|
+
itemType: zod.z.string().describe("Type of item (e.g., 'Ticket', 'Task', 'Feedback', etc.)").nullable().optional(),
|
|
12
|
+
priority: zod.z.number().int().describe("Priority level (integer value, higher = higher priority)").nullable().optional(),
|
|
13
|
+
createdAt: zod.z.string().describe("ISO 8601 timestamp of when the item was created").nullable().optional(),
|
|
14
|
+
creatorId: zod.z.string().describe("External ID (UUID) of the item creator").nullable().optional(),
|
|
15
|
+
updatedAt: zod.z.string().describe("ISO 8601 timestamp of the last update to the item").nullable().optional(),
|
|
16
|
+
externalId: zod.z.string().describe("External UUID of the item, used for external integrations").nullable().optional(),
|
|
17
|
+
assigneeIds: zod.z.array(zod.z.string()).describe("List of external IDs (UUIDs) of users assigned to this item").nullable().optional(),
|
|
18
|
+
creatorName: zod.z.string().describe("Display name of the item creator").nullable().optional(),
|
|
19
|
+
description: zod.z.string().describe("Detailed description or content of the item (may contain HTML)").nullable().optional(),
|
|
20
|
+
projectName: zod.z.string().describe("Name of the project this item belongs to").nullable().optional(),
|
|
21
|
+
workItemUrl: zod.z.string().describe("Direct URL to view this item in the OneDesk web application").nullable().optional(),
|
|
22
|
+
creatorEmail: zod.z.string().describe("Email address of the item creator").nullable().optional(),
|
|
23
|
+
lifecycleState: zod.z.string().describe("Lifecycle state (e.g., 'not started', 'in progress', 'completed')").nullable().optional(),
|
|
24
|
+
projectExternalId: zod.z.string().describe("External ID (UUID) of the project this item belongs to").nullable().optional()
|
|
25
|
+
}).describe("Response model for item details retrieved from OneDesk.\nNote: This endpoint retrieves any type of item (Ticket, Task, Feedback, etc.), not just feedback.");
|
|
26
|
+
const onedeskGetFeedbackDetails = require_action.action("ONEDESK_GET_FEEDBACK_DETAILS", {
|
|
27
|
+
slug: "onedesk-get-feedback-details",
|
|
28
|
+
name: "Get Feedback Details",
|
|
29
|
+
description: "Retrieve detailed information about a specific item in OneDesk by its internal ID. This endpoint retrieves ANY type of item (Tickets, Tasks, Feedback, etc.), not just feedback items. Use this action when you have an item's internal ID and need comprehensive details including: - Basic info (title, description, status, priority) - Creator and assignee information - Project association - Timestamps and lifecycle state - Direct web URL to view the item The internal ID is the numeric ID shown in the OneDesk application.",
|
|
30
|
+
input: OnedeskGetFeedbackDetailsInput,
|
|
31
|
+
output: OnedeskGetFeedbackDetailsOutput
|
|
32
|
+
});
|
|
33
|
+
//#endregion
|
|
34
|
+
exports.onedeskGetFeedbackDetails = onedeskGetFeedbackDetails;
|
|
35
|
+
|
|
36
|
+
//# sourceMappingURL=get-feedback-details.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-feedback-details.cjs","names":["z","action"],"sources":["../../src/actions/get-feedback-details.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnedeskGetFeedbackDetailsInput: z.ZodTypeAny = z.object({\n feedback_id: z.number().int().describe(\"Internal ID of the item to retrieve (works for tickets, tasks, feedback, and all other item types)\"),\n}).describe(\"Request model for retrieving details of a specific item in OneDesk.\\nNote: This retrieves any type of item (Ticket, Task, Feedback, etc.) by its internal ID.\");\nexport const OnedeskGetFeedbackDetailsOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Internal unique identifier of the item\"),\n tags: z.array(z.string()).describe(\"List of tags associated with the item\").nullable().optional(),\n title: z.string().describe(\"Title or subject of the item\").nullable().optional(),\n number: z.string().describe(\"Item reference number/code\").nullable().optional(),\n status: z.string().describe(\"Current lifecycle status name of the item\").nullable().optional(),\n itemType: z.string().describe(\"Type of item (e.g., 'Ticket', 'Task', 'Feedback', etc.)\").nullable().optional(),\n priority: z.number().int().describe(\"Priority level (integer value, higher = higher priority)\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp of when the item was created\").nullable().optional(),\n creatorId: z.string().describe(\"External ID (UUID) of the item creator\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp of the last update to the item\").nullable().optional(),\n externalId: z.string().describe(\"External UUID of the item, used for external integrations\").nullable().optional(),\n assigneeIds: z.array(z.string()).describe(\"List of external IDs (UUIDs) of users assigned to this item\").nullable().optional(),\n creatorName: z.string().describe(\"Display name of the item creator\").nullable().optional(),\n description: z.string().describe(\"Detailed description or content of the item (may contain HTML)\").nullable().optional(),\n projectName: z.string().describe(\"Name of the project this item belongs to\").nullable().optional(),\n workItemUrl: z.string().describe(\"Direct URL to view this item in the OneDesk web application\").nullable().optional(),\n creatorEmail: z.string().describe(\"Email address of the item creator\").nullable().optional(),\n lifecycleState: z.string().describe(\"Lifecycle state (e.g., 'not started', 'in progress', 'completed')\").nullable().optional(),\n projectExternalId: z.string().describe(\"External ID (UUID) of the project this item belongs to\").nullable().optional(),\n}).describe(\"Response model for item details retrieved from OneDesk.\\nNote: This endpoint retrieves any type of item (Ticket, Task, Feedback, etc.), not just feedback.\");\n\nexport const onedeskGetFeedbackDetails = action(\"ONEDESK_GET_FEEDBACK_DETAILS\", {\n slug: \"onedesk-get-feedback-details\",\n name: \"Get Feedback Details\",\n description: \"Retrieve detailed information about a specific item in OneDesk by its internal ID. This endpoint retrieves ANY type of item (Tickets, Tasks, Feedback, etc.), not just feedback items. Use this action when you have an item's internal ID and need comprehensive details including: - Basic info (title, description, status, priority) - Creator and assignee information - Project association - Timestamps and lifecycle state - Direct web URL to view the item The internal ID is the numeric ID shown in the OneDesk application.\",\n input: OnedeskGetFeedbackDetailsInput,\n output: OnedeskGetFeedbackDetailsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+CA,IAAAA,EAAE,OAAO,EACnE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oGAAoG,EAC7I,CAAC,CAAC,CAAC,SAAS,+JAA+J;AAC3K,MAAa,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC;CACtE,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,SAAS,4JAA4J;AAExK,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-feedback-details.d.ts
|
|
4
|
+
declare const OnedeskGetFeedbackDetailsInput: z.ZodTypeAny;
|
|
5
|
+
declare const OnedeskGetFeedbackDetailsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const onedeskGetFeedbackDetails: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { onedeskGetFeedbackDetails };
|
|
9
|
+
//# sourceMappingURL=get-feedback-details.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-feedback-details.d.cts","names":[],"sources":["../../src/actions/get-feedback-details.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAE6H;AAAA,cAC/J,+BAAA,EAAiC,CAAA,CAAE,UAoByH;AAAA,cAE5J,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-feedback-details.d.ts
|
|
4
|
+
declare const OnedeskGetFeedbackDetailsInput: z.ZodTypeAny;
|
|
5
|
+
declare const OnedeskGetFeedbackDetailsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const onedeskGetFeedbackDetails: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { onedeskGetFeedbackDetails };
|
|
9
|
+
//# sourceMappingURL=get-feedback-details.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-feedback-details.d.mts","names":[],"sources":["../../src/actions/get-feedback-details.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAE6H;AAAA,cAC/J,+BAAA,EAAiC,CAAA,CAAE,UAoByH;AAAA,cAE5J,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const onedeskGetFeedbackDetails = action("ONEDESK_GET_FEEDBACK_DETAILS", {
|
|
4
|
+
slug: "onedesk-get-feedback-details",
|
|
5
|
+
name: "Get Feedback Details",
|
|
6
|
+
description: "Retrieve detailed information about a specific item in OneDesk by its internal ID. This endpoint retrieves ANY type of item (Tickets, Tasks, Feedback, etc.), not just feedback items. Use this action when you have an item's internal ID and need comprehensive details including: - Basic info (title, description, status, priority) - Creator and assignee information - Project association - Timestamps and lifecycle state - Direct web URL to view the item The internal ID is the numeric ID shown in the OneDesk application.",
|
|
7
|
+
input: z.object({ feedback_id: z.number().int().describe("Internal ID of the item to retrieve (works for tickets, tasks, feedback, and all other item types)") }).describe("Request model for retrieving details of a specific item in OneDesk.\nNote: This retrieves any type of item (Ticket, Task, Feedback, etc.) by its internal ID."),
|
|
8
|
+
output: z.object({
|
|
9
|
+
id: z.number().int().describe("Internal unique identifier of the item"),
|
|
10
|
+
tags: z.array(z.string()).describe("List of tags associated with the item").nullable().optional(),
|
|
11
|
+
title: z.string().describe("Title or subject of the item").nullable().optional(),
|
|
12
|
+
number: z.string().describe("Item reference number/code").nullable().optional(),
|
|
13
|
+
status: z.string().describe("Current lifecycle status name of the item").nullable().optional(),
|
|
14
|
+
itemType: z.string().describe("Type of item (e.g., 'Ticket', 'Task', 'Feedback', etc.)").nullable().optional(),
|
|
15
|
+
priority: z.number().int().describe("Priority level (integer value, higher = higher priority)").nullable().optional(),
|
|
16
|
+
createdAt: z.string().describe("ISO 8601 timestamp of when the item was created").nullable().optional(),
|
|
17
|
+
creatorId: z.string().describe("External ID (UUID) of the item creator").nullable().optional(),
|
|
18
|
+
updatedAt: z.string().describe("ISO 8601 timestamp of the last update to the item").nullable().optional(),
|
|
19
|
+
externalId: z.string().describe("External UUID of the item, used for external integrations").nullable().optional(),
|
|
20
|
+
assigneeIds: z.array(z.string()).describe("List of external IDs (UUIDs) of users assigned to this item").nullable().optional(),
|
|
21
|
+
creatorName: z.string().describe("Display name of the item creator").nullable().optional(),
|
|
22
|
+
description: z.string().describe("Detailed description or content of the item (may contain HTML)").nullable().optional(),
|
|
23
|
+
projectName: z.string().describe("Name of the project this item belongs to").nullable().optional(),
|
|
24
|
+
workItemUrl: z.string().describe("Direct URL to view this item in the OneDesk web application").nullable().optional(),
|
|
25
|
+
creatorEmail: z.string().describe("Email address of the item creator").nullable().optional(),
|
|
26
|
+
lifecycleState: z.string().describe("Lifecycle state (e.g., 'not started', 'in progress', 'completed')").nullable().optional(),
|
|
27
|
+
projectExternalId: z.string().describe("External ID (UUID) of the project this item belongs to").nullable().optional()
|
|
28
|
+
}).describe("Response model for item details retrieved from OneDesk.\nNote: This endpoint retrieves any type of item (Ticket, Task, Feedback, etc.), not just feedback.")
|
|
29
|
+
});
|
|
30
|
+
//#endregion
|
|
31
|
+
export { onedeskGetFeedbackDetails };
|
|
32
|
+
|
|
33
|
+
//# sourceMappingURL=get-feedback-details.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-feedback-details.mjs","names":[],"sources":["../../src/actions/get-feedback-details.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnedeskGetFeedbackDetailsInput: z.ZodTypeAny = z.object({\n feedback_id: z.number().int().describe(\"Internal ID of the item to retrieve (works for tickets, tasks, feedback, and all other item types)\"),\n}).describe(\"Request model for retrieving details of a specific item in OneDesk.\\nNote: This retrieves any type of item (Ticket, Task, Feedback, etc.) by its internal ID.\");\nexport const OnedeskGetFeedbackDetailsOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Internal unique identifier of the item\"),\n tags: z.array(z.string()).describe(\"List of tags associated with the item\").nullable().optional(),\n title: z.string().describe(\"Title or subject of the item\").nullable().optional(),\n number: z.string().describe(\"Item reference number/code\").nullable().optional(),\n status: z.string().describe(\"Current lifecycle status name of the item\").nullable().optional(),\n itemType: z.string().describe(\"Type of item (e.g., 'Ticket', 'Task', 'Feedback', etc.)\").nullable().optional(),\n priority: z.number().int().describe(\"Priority level (integer value, higher = higher priority)\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp of when the item was created\").nullable().optional(),\n creatorId: z.string().describe(\"External ID (UUID) of the item creator\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp of the last update to the item\").nullable().optional(),\n externalId: z.string().describe(\"External UUID of the item, used for external integrations\").nullable().optional(),\n assigneeIds: z.array(z.string()).describe(\"List of external IDs (UUIDs) of users assigned to this item\").nullable().optional(),\n creatorName: z.string().describe(\"Display name of the item creator\").nullable().optional(),\n description: z.string().describe(\"Detailed description or content of the item (may contain HTML)\").nullable().optional(),\n projectName: z.string().describe(\"Name of the project this item belongs to\").nullable().optional(),\n workItemUrl: z.string().describe(\"Direct URL to view this item in the OneDesk web application\").nullable().optional(),\n creatorEmail: z.string().describe(\"Email address of the item creator\").nullable().optional(),\n lifecycleState: z.string().describe(\"Lifecycle state (e.g., 'not started', 'in progress', 'completed')\").nullable().optional(),\n projectExternalId: z.string().describe(\"External ID (UUID) of the project this item belongs to\").nullable().optional(),\n}).describe(\"Response model for item details retrieved from OneDesk.\\nNote: This endpoint retrieves any type of item (Ticket, Task, Feedback, etc.), not just feedback.\");\n\nexport const onedeskGetFeedbackDetails = action(\"ONEDESK_GET_FEEDBACK_DETAILS\", {\n slug: \"onedesk-get-feedback-details\",\n name: \"Get Feedback Details\",\n description: \"Retrieve detailed information about a specific item in OneDesk by its internal ID. This endpoint retrieves ANY type of item (Tickets, Tasks, Feedback, etc.), not just feedback items. Use this action when you have an item's internal ID and need comprehensive details including: - Basic info (title, description, status, priority) - Creator and assignee information - Project association - Timestamps and lifecycle state - Direct web URL to view the item The internal ID is the numeric ID shown in the OneDesk application.\",\n input: OnedeskGetFeedbackDetailsInput,\n output: OnedeskGetFeedbackDetailsOutput,\n});\n"],"mappings":";;AA6BA,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA7B0D,EAAE,OAAO,EACnE,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oGAAoG,EAC7I,CAAC,CAAC,CAAC,SAAS,+JA2BH;CACP,QA3B2D,EAAE,OAAO;EACpE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC;EACtE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7H,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7H,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,CAAC,CAAC,CAAC,SAAS,4JAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-feedback.ts
|
|
4
|
+
const OnedeskGetFeedbackInput = zod.z.object({
|
|
5
|
+
page: zod.z.number().int().describe("Page number for pagination, starting at 1").optional(),
|
|
6
|
+
per_page: zod.z.number().int().describe("Number of items per page for pagination, max 100").optional()
|
|
7
|
+
}).describe("Request parameters for fetching feedback items.");
|
|
8
|
+
const OnedeskGetFeedback_FeedbackItemSchema = zod.z.object({
|
|
9
|
+
id: zod.z.number().int().describe("Unique identifier of the feedback item"),
|
|
10
|
+
tags: zod.z.array(zod.z.string()).describe("List of tags associated with the feedback").nullable().optional(),
|
|
11
|
+
links: zod.z.object({}).describe("Links to related resources").nullable().optional(),
|
|
12
|
+
title: zod.z.string().describe("Title or subject of the feedback").nullable().optional(),
|
|
13
|
+
number: zod.z.string().describe("Feedback reference number/code").nullable().optional(),
|
|
14
|
+
status: zod.z.string().describe("Current status of the feedback item").nullable().optional(),
|
|
15
|
+
priority: zod.z.string().describe("Priority level of the feedback").nullable().optional(),
|
|
16
|
+
createdAt: zod.z.string().describe("ISO 8601 timestamp of when feedback was created").nullable().optional(),
|
|
17
|
+
creatorId: zod.z.number().int().describe("User ID of the feedback creator").nullable().optional(),
|
|
18
|
+
updatedAt: zod.z.string().describe("ISO 8601 timestamp of the last update to the feedback").nullable().optional(),
|
|
19
|
+
assigneeId: zod.z.number().int().describe("User ID assigned to handle the feedback").nullable().optional(),
|
|
20
|
+
description: zod.z.string().describe("Detailed description of the feedback").nullable().optional()
|
|
21
|
+
});
|
|
22
|
+
const OnedeskGetFeedbackOutput = zod.z.object({
|
|
23
|
+
page: zod.z.number().int().describe("Current page number").nullable().optional(),
|
|
24
|
+
total: zod.z.number().int().describe("Total number of feedback items").nullable().optional(),
|
|
25
|
+
feedback: zod.z.array(OnedeskGetFeedback_FeedbackItemSchema).describe("List of feedback items"),
|
|
26
|
+
per_page: zod.z.number().int().describe("Number of items per page").nullable().optional()
|
|
27
|
+
}).describe("Response model for listing feedback items.");
|
|
28
|
+
const onedeskGetFeedback = require_action.action("ONEDESK_GET_FEEDBACK", {
|
|
29
|
+
slug: "onedesk-get-feedback",
|
|
30
|
+
name: "Get Feedback Items",
|
|
31
|
+
description: "Retrieve all feedback items from OneDesk. **IMPORTANT LIMITATION**: The OneDesk Public API does not provide a GET endpoint to list feedback items. The public API only supports: - Creating items via POST /rest/public/items/ - Retrieving specific items by external ID via GET /rest/public/items/externalId/{externalId} - Getting organization info This action will always fail with an informative error message explaining this API limitation. **Alternative approaches:** - Use the OneDesk web application for viewing feedback - Retrieve feedback by external ID if you have it - Use OneDesk webhooks to receive feedback data as events - Contact OneDesk for private/internal API access",
|
|
32
|
+
input: OnedeskGetFeedbackInput,
|
|
33
|
+
output: OnedeskGetFeedbackOutput
|
|
34
|
+
});
|
|
35
|
+
//#endregion
|
|
36
|
+
exports.onedeskGetFeedback = onedeskGetFeedback;
|
|
37
|
+
|
|
38
|
+
//# sourceMappingURL=get-feedback.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-feedback.cjs","names":["z","action"],"sources":["../../src/actions/get-feedback.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnedeskGetFeedbackInput: z.ZodTypeAny = z.object({\n page: z.number().int().describe(\"Page number for pagination, starting at 1\").optional(),\n per_page: z.number().int().describe(\"Number of items per page for pagination, max 100\").optional(),\n}).describe(\"Request parameters for fetching feedback items.\");\nconst OnedeskGetFeedback_FeedbackItemSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the feedback item\"),\n tags: z.array(z.string()).describe(\"List of tags associated with the feedback\").nullable().optional(),\n links: z.object({}).describe(\"Links to related resources\").nullable().optional(),\n title: z.string().describe(\"Title or subject of the feedback\").nullable().optional(),\n number: z.string().describe(\"Feedback reference number/code\").nullable().optional(),\n status: z.string().describe(\"Current status of the feedback item\").nullable().optional(),\n priority: z.string().describe(\"Priority level of the feedback\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp of when feedback was created\").nullable().optional(),\n creatorId: z.number().int().describe(\"User ID of the feedback creator\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp of the last update to the feedback\").nullable().optional(),\n assigneeId: z.number().int().describe(\"User ID assigned to handle the feedback\").nullable().optional(),\n description: z.string().describe(\"Detailed description of the feedback\").nullable().optional(),\n});\nexport const OnedeskGetFeedbackOutput: z.ZodTypeAny = z.object({\n page: z.number().int().describe(\"Current page number\").nullable().optional(),\n total: z.number().int().describe(\"Total number of feedback items\").nullable().optional(),\n feedback: z.array(OnedeskGetFeedback_FeedbackItemSchema).describe(\"List of feedback items\"),\n per_page: z.number().int().describe(\"Number of items per page\").nullable().optional(),\n}).describe(\"Response model for listing feedback items.\");\n\nexport const onedeskGetFeedback = action(\"ONEDESK_GET_FEEDBACK\", {\n slug: \"onedesk-get-feedback\",\n name: \"Get Feedback Items\",\n description: \"Retrieve all feedback items from OneDesk. **IMPORTANT LIMITATION**: The OneDesk Public API does not provide a GET endpoint to list feedback items. The public API only supports: - Creating items via POST /rest/public/items/ - Retrieving specific items by external ID via GET /rest/public/items/externalId/{externalId} - Getting organization info This action will always fail with an informative error message explaining this API limitation. **Alternative approaches:** - Use the OneDesk web application for viewing feedback - Retrieve feedback by external ID if you have it - Use OneDesk webhooks to receive feedback data as events - Contact OneDesk for private/internal API access\",\n input: OnedeskGetFeedbackInput,\n output: OnedeskGetFeedbackOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwCA,IAAAA,EAAE,OAAO;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,wCAAsDA,IAAAA,EAAE,OAAO;CACnE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC;CACtE,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC;AACD,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,UAAUA,IAAAA,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,wBAAwB;CAC1F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,SAAS,4CAA4C;AAExD,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-feedback.d.ts
|
|
4
|
+
declare const OnedeskGetFeedbackInput: z.ZodTypeAny;
|
|
5
|
+
declare const OnedeskGetFeedbackOutput: z.ZodTypeAny;
|
|
6
|
+
declare const onedeskGetFeedback: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { onedeskGetFeedback };
|
|
9
|
+
//# sourceMappingURL=get-feedback.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-feedback.d.cts","names":[],"sources":["../../src/actions/get-feedback.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAGsB;AAAA,cAejD,wBAAA,EAA0B,CAAA,CAAE,UAKgB;AAAA,cAE5C,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-feedback.d.ts
|
|
4
|
+
declare const OnedeskGetFeedbackInput: z.ZodTypeAny;
|
|
5
|
+
declare const OnedeskGetFeedbackOutput: z.ZodTypeAny;
|
|
6
|
+
declare const onedeskGetFeedback: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { onedeskGetFeedback };
|
|
9
|
+
//# sourceMappingURL=get-feedback.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-feedback.d.mts","names":[],"sources":["../../src/actions/get-feedback.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAGsB;AAAA,cAejD,wBAAA,EAA0B,CAAA,CAAE,UAKgB;AAAA,cAE5C,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-feedback.ts
|
|
4
|
+
const OnedeskGetFeedbackInput = z.object({
|
|
5
|
+
page: z.number().int().describe("Page number for pagination, starting at 1").optional(),
|
|
6
|
+
per_page: z.number().int().describe("Number of items per page for pagination, max 100").optional()
|
|
7
|
+
}).describe("Request parameters for fetching feedback items.");
|
|
8
|
+
const OnedeskGetFeedback_FeedbackItemSchema = z.object({
|
|
9
|
+
id: z.number().int().describe("Unique identifier of the feedback item"),
|
|
10
|
+
tags: z.array(z.string()).describe("List of tags associated with the feedback").nullable().optional(),
|
|
11
|
+
links: z.object({}).describe("Links to related resources").nullable().optional(),
|
|
12
|
+
title: z.string().describe("Title or subject of the feedback").nullable().optional(),
|
|
13
|
+
number: z.string().describe("Feedback reference number/code").nullable().optional(),
|
|
14
|
+
status: z.string().describe("Current status of the feedback item").nullable().optional(),
|
|
15
|
+
priority: z.string().describe("Priority level of the feedback").nullable().optional(),
|
|
16
|
+
createdAt: z.string().describe("ISO 8601 timestamp of when feedback was created").nullable().optional(),
|
|
17
|
+
creatorId: z.number().int().describe("User ID of the feedback creator").nullable().optional(),
|
|
18
|
+
updatedAt: z.string().describe("ISO 8601 timestamp of the last update to the feedback").nullable().optional(),
|
|
19
|
+
assigneeId: z.number().int().describe("User ID assigned to handle the feedback").nullable().optional(),
|
|
20
|
+
description: z.string().describe("Detailed description of the feedback").nullable().optional()
|
|
21
|
+
});
|
|
22
|
+
const onedeskGetFeedback = action("ONEDESK_GET_FEEDBACK", {
|
|
23
|
+
slug: "onedesk-get-feedback",
|
|
24
|
+
name: "Get Feedback Items",
|
|
25
|
+
description: "Retrieve all feedback items from OneDesk. **IMPORTANT LIMITATION**: The OneDesk Public API does not provide a GET endpoint to list feedback items. The public API only supports: - Creating items via POST /rest/public/items/ - Retrieving specific items by external ID via GET /rest/public/items/externalId/{externalId} - Getting organization info This action will always fail with an informative error message explaining this API limitation. **Alternative approaches:** - Use the OneDesk web application for viewing feedback - Retrieve feedback by external ID if you have it - Use OneDesk webhooks to receive feedback data as events - Contact OneDesk for private/internal API access",
|
|
26
|
+
input: OnedeskGetFeedbackInput,
|
|
27
|
+
output: z.object({
|
|
28
|
+
page: z.number().int().describe("Current page number").nullable().optional(),
|
|
29
|
+
total: z.number().int().describe("Total number of feedback items").nullable().optional(),
|
|
30
|
+
feedback: z.array(OnedeskGetFeedback_FeedbackItemSchema).describe("List of feedback items"),
|
|
31
|
+
per_page: z.number().int().describe("Number of items per page").nullable().optional()
|
|
32
|
+
}).describe("Response model for listing feedback items.")
|
|
33
|
+
});
|
|
34
|
+
//#endregion
|
|
35
|
+
export { onedeskGetFeedback };
|
|
36
|
+
|
|
37
|
+
//# sourceMappingURL=get-feedback.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-feedback.mjs","names":[],"sources":["../../src/actions/get-feedback.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnedeskGetFeedbackInput: z.ZodTypeAny = z.object({\n page: z.number().int().describe(\"Page number for pagination, starting at 1\").optional(),\n per_page: z.number().int().describe(\"Number of items per page for pagination, max 100\").optional(),\n}).describe(\"Request parameters for fetching feedback items.\");\nconst OnedeskGetFeedback_FeedbackItemSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the feedback item\"),\n tags: z.array(z.string()).describe(\"List of tags associated with the feedback\").nullable().optional(),\n links: z.object({}).describe(\"Links to related resources\").nullable().optional(),\n title: z.string().describe(\"Title or subject of the feedback\").nullable().optional(),\n number: z.string().describe(\"Feedback reference number/code\").nullable().optional(),\n status: z.string().describe(\"Current status of the feedback item\").nullable().optional(),\n priority: z.string().describe(\"Priority level of the feedback\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp of when feedback was created\").nullable().optional(),\n creatorId: z.number().int().describe(\"User ID of the feedback creator\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp of the last update to the feedback\").nullable().optional(),\n assigneeId: z.number().int().describe(\"User ID assigned to handle the feedback\").nullable().optional(),\n description: z.string().describe(\"Detailed description of the feedback\").nullable().optional(),\n});\nexport const OnedeskGetFeedbackOutput: z.ZodTypeAny = z.object({\n page: z.number().int().describe(\"Current page number\").nullable().optional(),\n total: z.number().int().describe(\"Total number of feedback items\").nullable().optional(),\n feedback: z.array(OnedeskGetFeedback_FeedbackItemSchema).describe(\"List of feedback items\"),\n per_page: z.number().int().describe(\"Number of items per page\").nullable().optional(),\n}).describe(\"Response model for listing feedback items.\");\n\nexport const onedeskGetFeedback = action(\"ONEDESK_GET_FEEDBACK\", {\n slug: \"onedesk-get-feedback\",\n name: \"Get Feedback Items\",\n description: \"Retrieve all feedback items from OneDesk. **IMPORTANT LIMITATION**: The OneDesk Public API does not provide a GET endpoint to list feedback items. The public API only supports: - Creating items via POST /rest/public/items/ - Retrieving specific items by external ID via GET /rest/public/items/externalId/{externalId} - Getting organization info This action will always fail with an informative error message explaining this API limitation. **Alternative approaches:** - Use the OneDesk web application for viewing feedback - Retrieve feedback by external ID if you have it - Use OneDesk webhooks to receive feedback data as events - Contact OneDesk for private/internal API access\",\n input: OnedeskGetFeedbackInput,\n output: OnedeskGetFeedbackOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwC,EAAE,OAAO;CAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtF,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,wCAAsD,EAAE,OAAO;CACnE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC;CACtE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC;AAQD,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZoD,EAAE,OAAO;EAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3E,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,UAAU,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,wBAAwB;EAC1F,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,CAAC,CAAC,CAAC,SAAS,4CAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-issue-details.ts
|
|
4
|
+
const OnedeskGetIssueDetailsInput = zod.z.object({ issue_id: zod.z.number().int().describe("Unique identifier of the issue to retrieve") }).describe("Request model for retrieving details of a specific issue in OneDesk.");
|
|
5
|
+
const OnedeskGetIssueDetailsOutput = zod.z.object({
|
|
6
|
+
id: zod.z.number().int().describe("Unique identifier of the issue"),
|
|
7
|
+
tags: zod.z.array(zod.z.string()).describe("List of tags associated with the issue").nullable().optional(),
|
|
8
|
+
links: zod.z.object({}).describe("Links to related resources").nullable().optional(),
|
|
9
|
+
title: zod.z.string().describe("Title or name of the issue").nullable().optional(),
|
|
10
|
+
number: zod.z.string().describe("Issue reference number/code (external ID/UUID)").nullable().optional(),
|
|
11
|
+
status: zod.z.string().describe("Current lifecycle status of the issue (e.g., Open, Pending agent, Resolved)").nullable().optional(),
|
|
12
|
+
priority: zod.z.number().int().describe("Priority level of the issue as an integer (0-100, where higher values indicate higher priority)").nullable().optional(),
|
|
13
|
+
createdAt: zod.z.string().describe("ISO 8601 timestamp of when the issue was created").nullable().optional(),
|
|
14
|
+
updatedAt: zod.z.string().describe("ISO 8601 timestamp of when the issue was last updated").nullable().optional(),
|
|
15
|
+
assigneeId: zod.z.number().int().describe("User ID assigned to handle the issue").nullable().optional(),
|
|
16
|
+
description: zod.z.string().describe("Detailed description or content of the issue (may contain HTML)").nullable().optional()
|
|
17
|
+
}).describe("Response model containing comprehensive issue details from OneDesk.\nProvides full information about an issue including metadata, tracking info, and relationships.");
|
|
18
|
+
const onedeskGetIssueDetails = require_action.action("ONEDESK_GET_ISSUE_DETAILS", {
|
|
19
|
+
slug: "onedesk-get-issue-details",
|
|
20
|
+
name: "Get Issue Details",
|
|
21
|
+
description: "Retrieve comprehensive details of a specific issue by its ID. This action fetches full information about an issue including its title, description, status, priority, creation/update timestamps, and other metadata. Use this when you need detailed information about a specific issue that you have the ID for. Returns essential issue information that can be used for reporting, tracking, or further processing. The response includes both basic fields (title, description) and advanced tracking information (status, priority, timestamps).",
|
|
22
|
+
input: OnedeskGetIssueDetailsInput,
|
|
23
|
+
output: OnedeskGetIssueDetailsOutput
|
|
24
|
+
});
|
|
25
|
+
//#endregion
|
|
26
|
+
exports.onedeskGetIssueDetails = onedeskGetIssueDetails;
|
|
27
|
+
|
|
28
|
+
//# sourceMappingURL=get-issue-details.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-issue-details.cjs","names":["z","action"],"sources":["../../src/actions/get-issue-details.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnedeskGetIssueDetailsInput: z.ZodTypeAny = z.object({\n issue_id: z.number().int().describe(\"Unique identifier of the issue to retrieve\"),\n}).describe(\"Request model for retrieving details of a specific issue in OneDesk.\");\nexport const OnedeskGetIssueDetailsOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the issue\"),\n tags: z.array(z.string()).describe(\"List of tags associated with the issue\").nullable().optional(),\n links: z.object({}).describe(\"Links to related resources\").nullable().optional(),\n title: z.string().describe(\"Title or name of the issue\").nullable().optional(),\n number: z.string().describe(\"Issue reference number/code (external ID/UUID)\").nullable().optional(),\n status: z.string().describe(\"Current lifecycle status of the issue (e.g., Open, Pending agent, Resolved)\").nullable().optional(),\n priority: z.number().int().describe(\"Priority level of the issue as an integer (0-100, where higher values indicate higher priority)\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp of when the issue was created\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp of when the issue was last updated\").nullable().optional(),\n assigneeId: z.number().int().describe(\"User ID assigned to handle the issue\").nullable().optional(),\n description: z.string().describe(\"Detailed description or content of the issue (may contain HTML)\").nullable().optional(),\n}).describe(\"Response model containing comprehensive issue details from OneDesk.\\nProvides full information about an issue including metadata, tracking info, and relationships.\");\n\nexport const onedeskGetIssueDetails = action(\"ONEDESK_GET_ISSUE_DETAILS\", {\n slug: \"onedesk-get-issue-details\",\n name: \"Get Issue Details\",\n description: \"Retrieve comprehensive details of a specific issue by its ID. This action fetches full information about an issue including its title, description, status, priority, creation/update timestamps, and other metadata. Use this when you need detailed information about a specific issue that you have the ID for. Returns essential issue information that can be used for reporting, tracking, or further processing. The response includes both basic fields (title, description) and advanced tracking information (status, priority, timestamps).\",\n input: OnedeskGetIssueDetailsInput,\n output: OnedeskGetIssueDetailsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO,EAChE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,EAClF,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAClF,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC;CAC9D,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3J,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,SAAS,qKAAqK;AAEjL,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-issue-details.d.ts
|
|
4
|
+
declare const OnedeskGetIssueDetailsInput: z.ZodTypeAny;
|
|
5
|
+
declare const OnedeskGetIssueDetailsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const onedeskGetIssueDetails: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { onedeskGetIssueDetails };
|
|
9
|
+
//# sourceMappingURL=get-issue-details.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-issue-details.d.cts","names":[],"sources":["../../src/actions/get-issue-details.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAEuC;AAAA,cACtE,4BAAA,EAA8B,CAAA,CAAE,UAYqI;AAAA,cAErK,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-issue-details.d.ts
|
|
4
|
+
declare const OnedeskGetIssueDetailsInput: z.ZodTypeAny;
|
|
5
|
+
declare const OnedeskGetIssueDetailsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const onedeskGetIssueDetails: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { onedeskGetIssueDetails };
|
|
9
|
+
//# sourceMappingURL=get-issue-details.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-issue-details.d.mts","names":[],"sources":["../../src/actions/get-issue-details.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAEuC;AAAA,cACtE,4BAAA,EAA8B,CAAA,CAAE,UAYqI;AAAA,cAErK,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const onedeskGetIssueDetails = action("ONEDESK_GET_ISSUE_DETAILS", {
|
|
4
|
+
slug: "onedesk-get-issue-details",
|
|
5
|
+
name: "Get Issue Details",
|
|
6
|
+
description: "Retrieve comprehensive details of a specific issue by its ID. This action fetches full information about an issue including its title, description, status, priority, creation/update timestamps, and other metadata. Use this when you need detailed information about a specific issue that you have the ID for. Returns essential issue information that can be used for reporting, tracking, or further processing. The response includes both basic fields (title, description) and advanced tracking information (status, priority, timestamps).",
|
|
7
|
+
input: z.object({ issue_id: z.number().int().describe("Unique identifier of the issue to retrieve") }).describe("Request model for retrieving details of a specific issue in OneDesk."),
|
|
8
|
+
output: z.object({
|
|
9
|
+
id: z.number().int().describe("Unique identifier of the issue"),
|
|
10
|
+
tags: z.array(z.string()).describe("List of tags associated with the issue").nullable().optional(),
|
|
11
|
+
links: z.object({}).describe("Links to related resources").nullable().optional(),
|
|
12
|
+
title: z.string().describe("Title or name of the issue").nullable().optional(),
|
|
13
|
+
number: z.string().describe("Issue reference number/code (external ID/UUID)").nullable().optional(),
|
|
14
|
+
status: z.string().describe("Current lifecycle status of the issue (e.g., Open, Pending agent, Resolved)").nullable().optional(),
|
|
15
|
+
priority: z.number().int().describe("Priority level of the issue as an integer (0-100, where higher values indicate higher priority)").nullable().optional(),
|
|
16
|
+
createdAt: z.string().describe("ISO 8601 timestamp of when the issue was created").nullable().optional(),
|
|
17
|
+
updatedAt: z.string().describe("ISO 8601 timestamp of when the issue was last updated").nullable().optional(),
|
|
18
|
+
assigneeId: z.number().int().describe("User ID assigned to handle the issue").nullable().optional(),
|
|
19
|
+
description: z.string().describe("Detailed description or content of the issue (may contain HTML)").nullable().optional()
|
|
20
|
+
}).describe("Response model containing comprehensive issue details from OneDesk.\nProvides full information about an issue including metadata, tracking info, and relationships.")
|
|
21
|
+
});
|
|
22
|
+
//#endregion
|
|
23
|
+
export { onedeskGetIssueDetails };
|
|
24
|
+
|
|
25
|
+
//# sourceMappingURL=get-issue-details.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-issue-details.mjs","names":[],"sources":["../../src/actions/get-issue-details.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OnedeskGetIssueDetailsInput: z.ZodTypeAny = z.object({\n issue_id: z.number().int().describe(\"Unique identifier of the issue to retrieve\"),\n}).describe(\"Request model for retrieving details of a specific issue in OneDesk.\");\nexport const OnedeskGetIssueDetailsOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the issue\"),\n tags: z.array(z.string()).describe(\"List of tags associated with the issue\").nullable().optional(),\n links: z.object({}).describe(\"Links to related resources\").nullable().optional(),\n title: z.string().describe(\"Title or name of the issue\").nullable().optional(),\n number: z.string().describe(\"Issue reference number/code (external ID/UUID)\").nullable().optional(),\n status: z.string().describe(\"Current lifecycle status of the issue (e.g., Open, Pending agent, Resolved)\").nullable().optional(),\n priority: z.number().int().describe(\"Priority level of the issue as an integer (0-100, where higher values indicate higher priority)\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp of when the issue was created\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp of when the issue was last updated\").nullable().optional(),\n assigneeId: z.number().int().describe(\"User ID assigned to handle the issue\").nullable().optional(),\n description: z.string().describe(\"Detailed description or content of the issue (may contain HTML)\").nullable().optional(),\n}).describe(\"Response model containing comprehensive issue details from OneDesk.\\nProvides full information about an issue including metadata, tracking info, and relationships.\");\n\nexport const onedeskGetIssueDetails = action(\"ONEDESK_GET_ISSUE_DETAILS\", {\n slug: \"onedesk-get-issue-details\",\n name: \"Get Issue Details\",\n description: \"Retrieve comprehensive details of a specific issue by its ID. This action fetches full information about an issue including its title, description, status, priority, creation/update timestamps, and other metadata. Use this when you need detailed information about a specific issue that you have the ID for. Returns essential issue information that can be used for reporting, tracking, or further processing. The response includes both basic fields (title, description) and advanced tracking information (status, priority, timestamps).\",\n input: OnedeskGetIssueDetailsInput,\n output: OnedeskGetIssueDetailsOutput,\n});\n"],"mappings":";;AAqBA,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArBuD,EAAE,OAAO,EAChE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,EAClF,CAAC,CAAC,CAAC,SAAS,sEAmBH;CACP,QAnBwD,EAAE,OAAO;EACjE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC;EAC9D,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/H,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3J,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,CAAC,CAAC,CAAC,SAAS,qKAOF;AACV,CAAC"}
|