@keystrokehq/rootly 0.1.0 → 0.1.3
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/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/delete-action-item.cjs +5 -5
- package/dist/actions/delete-action-item.cjs.map +1 -1
- package/dist/actions/delete-action-item.d.cts +23 -3
- package/dist/actions/delete-action-item.d.cts.map +1 -1
- package/dist/actions/delete-action-item.d.mts +23 -3
- package/dist/actions/delete-action-item.d.mts.map +1 -1
- package/dist/actions/delete-action-item.mjs +5 -5
- package/dist/actions/delete-action-item.mjs.map +1 -1
- package/dist/actions/delete-incident.cjs +1 -1
- package/dist/actions/delete-incident.cjs.map +1 -1
- package/dist/actions/delete-incident.d.cts +9 -3
- package/dist/actions/delete-incident.d.cts.map +1 -1
- package/dist/actions/delete-incident.d.mts +9 -3
- package/dist/actions/delete-incident.d.mts.map +1 -1
- package/dist/actions/delete-incident.mjs +1 -1
- package/dist/actions/delete-incident.mjs.map +1 -1
- package/dist/actions/get-action-item.cjs +8 -8
- package/dist/actions/get-action-item.cjs.map +1 -1
- package/dist/actions/get-action-item.d.cts +51 -3
- package/dist/actions/get-action-item.d.cts.map +1 -1
- package/dist/actions/get-action-item.d.mts +51 -3
- package/dist/actions/get-action-item.d.mts.map +1 -1
- package/dist/actions/get-action-item.mjs +8 -8
- package/dist/actions/get-action-item.mjs.map +1 -1
- package/dist/actions/get-incident.cjs +5 -5
- package/dist/actions/get-incident.cjs.map +1 -1
- package/dist/actions/get-incident.d.cts +48 -3
- package/dist/actions/get-incident.d.cts.map +1 -1
- package/dist/actions/get-incident.d.mts +48 -3
- package/dist/actions/get-incident.d.mts.map +1 -1
- package/dist/actions/get-incident.mjs +5 -5
- package/dist/actions/get-incident.mjs.map +1 -1
- package/dist/actions/list-action-items.cjs +10 -10
- package/dist/actions/list-action-items.cjs.map +1 -1
- package/dist/actions/list-action-items.d.cts +60 -3
- package/dist/actions/list-action-items.d.cts.map +1 -1
- package/dist/actions/list-action-items.d.mts +60 -3
- package/dist/actions/list-action-items.d.mts.map +1 -1
- package/dist/actions/list-action-items.mjs +10 -10
- package/dist/actions/list-action-items.mjs.map +1 -1
- package/dist/actions/update-incident.cjs +5 -5
- package/dist/actions/update-incident.cjs.map +1 -1
- package/dist/actions/update-incident.d.cts +62 -3
- package/dist/actions/update-incident.d.cts.map +1 -1
- package/dist/actions/update-incident.d.mts +62 -3
- package/dist/actions/update-incident.d.mts.map +1 -1
- package/dist/actions/update-incident.mjs +5 -5
- package/dist/actions/update-incident.mjs.map +1 -1
- package/dist/catalog.cjs +7 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +8 -0
- package/dist/catalog.d.mts +8 -0
- package/dist/catalog.mjs +7 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
package/dist/action.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.cjs","names":["rootly","executeRootlyTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { rootly } from \"./app\";\nimport { executeRootlyTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input:
|
|
1
|
+
{"version":3,"file":"action.cjs","names":["rootly","executeRootlyTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { rootly } from \"./app\";\nimport { executeRootlyTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return rootly.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeRootlyTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,OAAO,OAAO;EACnB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,kBAAkB,MAAM,KAAgC,CAAC;EACzF;CACF,CAAC;AACH"}
|
package/dist/action.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { rootly } from \"./app\";\nimport { executeRootlyTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input:
|
|
1
|
+
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { rootly } from \"./app\";\nimport { executeRootlyTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return rootly.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeRootlyTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,OAAO,OAAO;EACnB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,kBAAkB,MAAM,KAAgC,CAAC;EACzF;CACF,CAAC;AACH"}
|
|
@@ -11,16 +11,16 @@ const RootlyDeleteActionItem_DeletedActionItemAttributesSchema = zod.z.object({
|
|
|
11
11
|
updated_at: zod.z.string().describe("Date of last update").nullable().optional(),
|
|
12
12
|
description: zod.z.string().describe("The description of the action item").nullable().optional(),
|
|
13
13
|
incident_id: zod.z.string().describe("ID of the incident this action item belonged to").nullable().optional()
|
|
14
|
-
}).describe("Attributes of the deleted action item returned by the API.");
|
|
14
|
+
}).passthrough().describe("Attributes of the deleted action item returned by the API.");
|
|
15
15
|
const RootlyDeleteActionItem_DeletedActionItemDataSchema = zod.z.object({
|
|
16
|
-
id: zod.z.string().describe("The unique ID of the deleted action item"),
|
|
17
|
-
type: zod.z.string().describe("Type of the resource (incident_action_items)"),
|
|
16
|
+
id: zod.z.string().describe("The unique ID of the deleted action item").nullable(),
|
|
17
|
+
type: zod.z.string().describe("Type of the resource (incident_action_items)").nullable(),
|
|
18
18
|
attributes: RootlyDeleteActionItem_DeletedActionItemAttributesSchema.nullable().optional()
|
|
19
|
-
}).describe("Data of the deleted action item.");
|
|
19
|
+
}).passthrough().describe("Data of the deleted action item.");
|
|
20
20
|
const RootlyDeleteActionItemOutput = zod.z.object({
|
|
21
21
|
data: RootlyDeleteActionItem_DeletedActionItemDataSchema.nullable().optional(),
|
|
22
22
|
success: zod.z.boolean().default(true).describe("Indicates if the action item was successfully deleted.").nullable().optional()
|
|
23
|
-
}).describe("Response model for delete action item operation.");
|
|
23
|
+
}).passthrough().describe("Response model for delete action item operation.");
|
|
24
24
|
const rootlyDeleteActionItem = require_action.action("ROOTLY_DELETE_ACTION_ITEM", {
|
|
25
25
|
slug: "rootly-delete-action-item",
|
|
26
26
|
name: "Delete Action Item",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-action-item.cjs","names":["z","action"],"sources":["../../src/actions/delete-action-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RootlyDeleteActionItemInput
|
|
1
|
+
{"version":3,"file":"delete-action-item.cjs","names":["z","action"],"sources":["../../src/actions/delete-action-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RootlyDeleteActionItemInput = z.object({\n action_item_id: z.string().describe(\"The unique identifier (UUID) of the action item to delete. Use ROOTLY_LIST_ACTION_ITEMS to find action item IDs.\"),\n}).describe(\"Request model for deleting an action item.\");\nconst RootlyDeleteActionItem_DeletedActionItemAttributesSchema = z.object({\n kind: z.string().describe(\"The kind of action item: 'task' or 'follow_up'\").nullable().optional(),\n status: z.string().describe(\"The status: 'open', 'in_progress', 'cancelled', or 'done'\").nullable().optional(),\n summary: z.string().describe(\"The summary of the action item\").nullable().optional(),\n priority: z.string().describe(\"The priority level: 'high', 'medium', or 'low'\").nullable().optional(),\n created_at: z.string().describe(\"Date of creation\").nullable().optional(),\n updated_at: z.string().describe(\"Date of last update\").nullable().optional(),\n description: z.string().describe(\"The description of the action item\").nullable().optional(),\n incident_id: z.string().describe(\"ID of the incident this action item belonged to\").nullable().optional(),\n}).passthrough().describe(\"Attributes of the deleted action item returned by the API.\");\nconst RootlyDeleteActionItem_DeletedActionItemDataSchema = z.object({\n id: z.string().describe(\"The unique ID of the deleted action item\").nullable(),\n type: z.string().describe(\"Type of the resource (incident_action_items)\").nullable(),\n attributes: RootlyDeleteActionItem_DeletedActionItemAttributesSchema.nullable().optional(),\n}).passthrough().describe(\"Data of the deleted action item.\");\nexport const RootlyDeleteActionItemOutput = z.object({\n data: RootlyDeleteActionItem_DeletedActionItemDataSchema.nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates if the action item was successfully deleted.\").nullable().optional(),\n}).passthrough().describe(\"Response model for delete action item operation.\");\n\nexport const rootlyDeleteActionItem = action(\"ROOTLY_DELETE_ACTION_ITEM\", {\n slug: \"rootly-delete-action-item\",\n name: \"Delete Action Item\",\n description: \"This tool allows for the deletion of a specific action item in Rootly. It complements the existing ROOTLY_LIST_ACTION_ITEMS functionality by providing the ability to rem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,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACnF,YAAY,yDAAyD,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAAkC;AAC5D,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAM,mDAAmD,SAAS,CAAC,CAAC,SAAS;CAC7E,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,29 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/delete-action-item.d.ts
|
|
4
|
-
declare const RootlyDeleteActionItemInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RootlyDeleteActionItemInput: z.ZodObject<{
|
|
5
|
+
action_item_id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const RootlyDeleteActionItemOutput: z.ZodObject<{
|
|
8
|
+
data: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
9
|
+
id: z.ZodNullable<z.ZodString>;
|
|
10
|
+
type: z.ZodNullable<z.ZodString>;
|
|
11
|
+
attributes: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
12
|
+
kind: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
priority: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
incident_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
}, z.core.$loose>>>;
|
|
21
|
+
}, z.core.$loose>>>;
|
|
22
|
+
success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
23
|
+
}, z.core.$loose>;
|
|
24
|
+
declare const rootlyDeleteActionItem: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
|
+
action_item_id: string;
|
|
26
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
27
|
//#endregion
|
|
8
28
|
export { rootlyDeleteActionItem };
|
|
9
29
|
//# sourceMappingURL=delete-action-item.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-action-item.d.cts","names":[],"sources":["../../src/actions/delete-action-item.ts"],"mappings":";;;cAIa,2BAAA,
|
|
1
|
+
{"version":3,"file":"delete-action-item.d.cts","names":[],"sources":["../../src/actions/delete-action-item.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAkB3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAK5B,sBAAA,gCAAsB,wBAAA"}
|
|
@@ -1,9 +1,29 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/delete-action-item.d.ts
|
|
4
|
-
declare const RootlyDeleteActionItemInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RootlyDeleteActionItemInput: z.ZodObject<{
|
|
5
|
+
action_item_id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const RootlyDeleteActionItemOutput: z.ZodObject<{
|
|
8
|
+
data: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
9
|
+
id: z.ZodNullable<z.ZodString>;
|
|
10
|
+
type: z.ZodNullable<z.ZodString>;
|
|
11
|
+
attributes: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
12
|
+
kind: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
priority: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
incident_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
}, z.core.$loose>>>;
|
|
21
|
+
}, z.core.$loose>>>;
|
|
22
|
+
success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
23
|
+
}, z.core.$loose>;
|
|
24
|
+
declare const rootlyDeleteActionItem: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
|
+
action_item_id: string;
|
|
26
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
27
|
//#endregion
|
|
8
28
|
export { rootlyDeleteActionItem };
|
|
9
29
|
//# sourceMappingURL=delete-action-item.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-action-item.d.mts","names":[],"sources":["../../src/actions/delete-action-item.ts"],"mappings":";;;cAIa,2BAAA,
|
|
1
|
+
{"version":3,"file":"delete-action-item.d.mts","names":[],"sources":["../../src/actions/delete-action-item.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAkB3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAK5B,sBAAA,gCAAsB,wBAAA"}
|
|
@@ -11,12 +11,12 @@ const RootlyDeleteActionItem_DeletedActionItemAttributesSchema = z.object({
|
|
|
11
11
|
updated_at: z.string().describe("Date of last update").nullable().optional(),
|
|
12
12
|
description: z.string().describe("The description of the action item").nullable().optional(),
|
|
13
13
|
incident_id: z.string().describe("ID of the incident this action item belonged to").nullable().optional()
|
|
14
|
-
}).describe("Attributes of the deleted action item returned by the API.");
|
|
14
|
+
}).passthrough().describe("Attributes of the deleted action item returned by the API.");
|
|
15
15
|
const RootlyDeleteActionItem_DeletedActionItemDataSchema = z.object({
|
|
16
|
-
id: z.string().describe("The unique ID of the deleted action item"),
|
|
17
|
-
type: z.string().describe("Type of the resource (incident_action_items)"),
|
|
16
|
+
id: z.string().describe("The unique ID of the deleted action item").nullable(),
|
|
17
|
+
type: z.string().describe("Type of the resource (incident_action_items)").nullable(),
|
|
18
18
|
attributes: RootlyDeleteActionItem_DeletedActionItemAttributesSchema.nullable().optional()
|
|
19
|
-
}).describe("Data of the deleted action item.");
|
|
19
|
+
}).passthrough().describe("Data of the deleted action item.");
|
|
20
20
|
const rootlyDeleteActionItem = action("ROOTLY_DELETE_ACTION_ITEM", {
|
|
21
21
|
slug: "rootly-delete-action-item",
|
|
22
22
|
name: "Delete Action Item",
|
|
@@ -25,7 +25,7 @@ const rootlyDeleteActionItem = action("ROOTLY_DELETE_ACTION_ITEM", {
|
|
|
25
25
|
output: z.object({
|
|
26
26
|
data: RootlyDeleteActionItem_DeletedActionItemDataSchema.nullable().optional(),
|
|
27
27
|
success: z.boolean().default(true).describe("Indicates if the action item was successfully deleted.").nullable().optional()
|
|
28
|
-
}).describe("Response model for delete action item operation.")
|
|
28
|
+
}).passthrough().describe("Response model for delete action item operation.")
|
|
29
29
|
});
|
|
30
30
|
//#endregion
|
|
31
31
|
export { rootlyDeleteActionItem };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-action-item.mjs","names":[],"sources":["../../src/actions/delete-action-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RootlyDeleteActionItemInput
|
|
1
|
+
{"version":3,"file":"delete-action-item.mjs","names":[],"sources":["../../src/actions/delete-action-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RootlyDeleteActionItemInput = z.object({\n action_item_id: z.string().describe(\"The unique identifier (UUID) of the action item to delete. Use ROOTLY_LIST_ACTION_ITEMS to find action item IDs.\"),\n}).describe(\"Request model for deleting an action item.\");\nconst RootlyDeleteActionItem_DeletedActionItemAttributesSchema = z.object({\n kind: z.string().describe(\"The kind of action item: 'task' or 'follow_up'\").nullable().optional(),\n status: z.string().describe(\"The status: 'open', 'in_progress', 'cancelled', or 'done'\").nullable().optional(),\n summary: z.string().describe(\"The summary of the action item\").nullable().optional(),\n priority: z.string().describe(\"The priority level: 'high', 'medium', or 'low'\").nullable().optional(),\n created_at: z.string().describe(\"Date of creation\").nullable().optional(),\n updated_at: z.string().describe(\"Date of last update\").nullable().optional(),\n description: z.string().describe(\"The description of the action item\").nullable().optional(),\n incident_id: z.string().describe(\"ID of the incident this action item belonged to\").nullable().optional(),\n}).passthrough().describe(\"Attributes of the deleted action item returned by the API.\");\nconst RootlyDeleteActionItem_DeletedActionItemDataSchema = z.object({\n id: z.string().describe(\"The unique ID of the deleted action item\").nullable(),\n type: z.string().describe(\"Type of the resource (incident_action_items)\").nullable(),\n attributes: RootlyDeleteActionItem_DeletedActionItemAttributesSchema.nullable().optional(),\n}).passthrough().describe(\"Data of the deleted action item.\");\nexport const RootlyDeleteActionItemOutput = z.object({\n data: RootlyDeleteActionItem_DeletedActionItemDataSchema.nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates if the action item was successfully deleted.\").nullable().optional(),\n}).passthrough().describe(\"Response model for delete action item operation.\");\n\nexport const rootlyDeleteActionItem = action(\"ROOTLY_DELETE_ACTION_ITEM\", {\n slug: \"rootly-delete-action-item\",\n name: \"Delete Action Item\",\n description: \"This tool allows for the deletion of a specific action item in Rootly. It complements the existing ROOTLY_LIST_ACTION_ITEMS functionality by providing the ability to remove individual action items from the system.\",\n input: RootlyDeleteActionItemInput,\n output: RootlyDeleteActionItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO,EAClD,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,EACxJ,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,2DAA2D,EAAE,OAAO;CACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAA4D;AACtF,MAAM,qDAAqD,EAAE,OAAO;CAClE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC7E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACnF,YAAY,yDAAyD,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAAkC;AAM5D,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV0C,EAAE,OAAO;EACnD,MAAM,mDAAmD,SAAS,CAAC,CAAC,SAAS;EAC7E,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAOhB;AACV,CAAC"}
|
|
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/delete-incident.ts
|
|
4
4
|
const RootlyDeleteIncidentInput = zod.z.object({ id: zod.z.string().describe("The unique identifier of the incident to delete.") }).describe("Request model for deleting an incident.");
|
|
5
|
-
const RootlyDeleteIncidentOutput = zod.z.object({ success: zod.z.boolean().default(true).describe("Indicates if the incident was successfully deleted.").nullable().optional() }).describe("Response model for delete incident operation.");
|
|
5
|
+
const RootlyDeleteIncidentOutput = zod.z.object({ success: zod.z.boolean().default(true).describe("Indicates if the incident was successfully deleted.").nullable().optional() }).passthrough().describe("Response model for delete incident operation.");
|
|
6
6
|
const rootlyDeleteIncident = require_action.action("ROOTLY_DELETE_INCIDENT", {
|
|
7
7
|
slug: "rootly-delete-incident",
|
|
8
8
|
name: "Delete Incident",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-incident.cjs","names":["z","action"],"sources":["../../src/actions/delete-incident.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RootlyDeleteIncidentInput
|
|
1
|
+
{"version":3,"file":"delete-incident.cjs","names":["z","action"],"sources":["../../src/actions/delete-incident.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RootlyDeleteIncidentInput = z.object({\n id: z.string().describe(\"The unique identifier of the incident to delete.\"),\n}).describe(\"Request model for deleting an incident.\");\nexport const RootlyDeleteIncidentOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates if the incident was successfully deleted.\").nullable().optional(),\n}).passthrough().describe(\"Response model for delete incident operation.\");\n\nexport const rootlyDeleteIncident = action(\"ROOTLY_DELETE_INCIDENT\", {\n slug: \"rootly-delete-incident\",\n name: \"Delete Incident\",\n description: \"Tool to delete an incident in Rootly by ID. Use when performing administrative cleanup. This is a destructive operation and depends on appropriate Rootly permissions.\",\n input: RootlyDeleteIncidentInput,\n output: RootlyDeleteIncidentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,EAC5E,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAEzE,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/delete-incident.d.ts
|
|
4
|
-
declare const RootlyDeleteIncidentInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RootlyDeleteIncidentInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const RootlyDeleteIncidentOutput: z.ZodObject<{
|
|
8
|
+
success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
9
|
+
}, z.core.$loose>;
|
|
10
|
+
declare const rootlyDeleteIncident: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
|
+
id: string;
|
|
12
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
13
|
//#endregion
|
|
8
14
|
export { rootlyDeleteIncident };
|
|
9
15
|
//# sourceMappingURL=delete-incident.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-incident.d.cts","names":[],"sources":["../../src/actions/delete-incident.ts"],"mappings":";;;cAIa,yBAAA,
|
|
1
|
+
{"version":3,"file":"delete-incident.d.cts","names":[],"sources":["../../src/actions/delete-incident.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAI1B,oBAAA,gCAAoB,wBAAA"}
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/delete-incident.d.ts
|
|
4
|
-
declare const RootlyDeleteIncidentInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RootlyDeleteIncidentInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const RootlyDeleteIncidentOutput: z.ZodObject<{
|
|
8
|
+
success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
9
|
+
}, z.core.$loose>;
|
|
10
|
+
declare const rootlyDeleteIncident: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
|
+
id: string;
|
|
12
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
13
|
//#endregion
|
|
8
14
|
export { rootlyDeleteIncident };
|
|
9
15
|
//# sourceMappingURL=delete-incident.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-incident.d.mts","names":[],"sources":["../../src/actions/delete-incident.ts"],"mappings":";;;cAIa,yBAAA,
|
|
1
|
+
{"version":3,"file":"delete-incident.d.mts","names":[],"sources":["../../src/actions/delete-incident.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAI1B,oBAAA,gCAAoB,wBAAA"}
|
|
@@ -5,7 +5,7 @@ const rootlyDeleteIncident = action("ROOTLY_DELETE_INCIDENT", {
|
|
|
5
5
|
name: "Delete Incident",
|
|
6
6
|
description: "Tool to delete an incident in Rootly by ID. Use when performing administrative cleanup. This is a destructive operation and depends on appropriate Rootly permissions.",
|
|
7
7
|
input: z.object({ id: z.string().describe("The unique identifier of the incident to delete.") }).describe("Request model for deleting an incident."),
|
|
8
|
-
output: z.object({ success: z.boolean().default(true).describe("Indicates if the incident was successfully deleted.").nullable().optional() }).describe("Response model for delete incident operation.")
|
|
8
|
+
output: z.object({ success: z.boolean().default(true).describe("Indicates if the incident was successfully deleted.").nullable().optional() }).passthrough().describe("Response model for delete incident operation.")
|
|
9
9
|
});
|
|
10
10
|
//#endregion
|
|
11
11
|
export { rootlyDeleteIncident };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-incident.mjs","names":[],"sources":["../../src/actions/delete-incident.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RootlyDeleteIncidentInput
|
|
1
|
+
{"version":3,"file":"delete-incident.mjs","names":[],"sources":["../../src/actions/delete-incident.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RootlyDeleteIncidentInput = z.object({\n id: z.string().describe(\"The unique identifier of the incident to delete.\"),\n}).describe(\"Request model for deleting an incident.\");\nexport const RootlyDeleteIncidentOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates if the incident was successfully deleted.\").nullable().optional(),\n}).passthrough().describe(\"Response model for delete incident operation.\");\n\nexport const rootlyDeleteIncident = action(\"ROOTLY_DELETE_INCIDENT\", {\n slug: \"rootly-delete-incident\",\n name: \"Delete Incident\",\n description: \"Tool to delete an incident in Rootly by ID. Use when performing administrative cleanup. This is a destructive operation and depends on appropriate Rootly permissions.\",\n input: RootlyDeleteIncidentInput,\n output: RootlyDeleteIncidentOutput,\n});\n"],"mappings":";;AAWA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXuC,EAAE,OAAO,EAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,EAC5E,CAAC,CAAC,CAAC,SAAS,yCASH;CACP,QATwC,EAAE,OAAO,EACjD,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAOhB;AACV,CAAC"}
|
|
@@ -6,11 +6,11 @@ const RootlyGetActionItem_ActionItemAttributesSchema = zod.z.object({
|
|
|
6
6
|
url: zod.z.string().describe("URL to view the action item in Rootly").nullable().optional(),
|
|
7
7
|
kind: zod.z.string().describe("The type of action item: 'task' or 'follow_up'").nullable().optional(),
|
|
8
8
|
status: zod.z.string().describe("Current status: 'open', 'in_progress', 'cancelled', or 'done'").nullable().optional(),
|
|
9
|
-
summary: zod.z.string().describe("The summary/title of the action item"),
|
|
9
|
+
summary: zod.z.string().describe("The summary/title of the action item").nullable(),
|
|
10
10
|
due_date: zod.z.string().describe("Due date in ISO 8601 format (e.g., '2024-01-15')").nullable().optional(),
|
|
11
11
|
priority: zod.z.string().describe("Priority level: 'high', 'medium', or 'low'").nullable().optional(),
|
|
12
|
-
created_at: zod.z.string().describe("ISO 8601 timestamp when the action item was created"),
|
|
13
|
-
updated_at: zod.z.string().describe("ISO 8601 timestamp when the action item was last updated"),
|
|
12
|
+
created_at: zod.z.string().describe("ISO 8601 timestamp when the action item was created").nullable(),
|
|
13
|
+
updated_at: zod.z.string().describe("ISO 8601 timestamp when the action item was last updated").nullable(),
|
|
14
14
|
description: zod.z.string().describe("Detailed description of the action item (supports Markdown)").nullable().optional(),
|
|
15
15
|
asana_task_id: zod.z.string().describe("Linked Asana task ID").nullable().optional(),
|
|
16
16
|
jira_issue_id: zod.z.string().describe("Linked Jira issue ID").nullable().optional(),
|
|
@@ -39,14 +39,14 @@ const RootlyGetActionItem_ActionItemAttributesSchema = zod.z.object({
|
|
|
39
39
|
assigned_to_group_ids: zod.z.array(zod.z.string()).describe("List of group IDs assigned to this action item").nullable().optional(),
|
|
40
40
|
freshservice_ticket_id: zod.z.string().describe("Linked Freshservice ticket ID").nullable().optional(),
|
|
41
41
|
freshservice_ticket_url: zod.z.string().describe("URL to the linked Freshservice ticket").nullable().optional()
|
|
42
|
-
}).describe("Model for action item attributes.");
|
|
42
|
+
}).passthrough().describe("Model for action item attributes.");
|
|
43
43
|
const RootlyGetActionItem_ActionItemDataSchema = zod.z.object({
|
|
44
|
-
id: zod.z.string().describe("Unique ID of the action item"),
|
|
45
|
-
type: zod.z.string().describe("Type of the item (incident_action_items)"),
|
|
44
|
+
id: zod.z.string().describe("Unique ID of the action item").nullable(),
|
|
45
|
+
type: zod.z.string().describe("Type of the item (incident_action_items)").nullable(),
|
|
46
46
|
attributes: RootlyGetActionItem_ActionItemAttributesSchema.nullable(),
|
|
47
47
|
relationships: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Related resources").nullable().optional()
|
|
48
|
-
}).describe("Model for action item data.");
|
|
49
|
-
const RootlyGetActionItemOutput = zod.z.object({ data: RootlyGetActionItem_ActionItemDataSchema.nullable() }).describe("Response model for getting an action item.");
|
|
48
|
+
}).passthrough().describe("Model for action item data.");
|
|
49
|
+
const RootlyGetActionItemOutput = zod.z.object({ data: RootlyGetActionItem_ActionItemDataSchema.nullable() }).passthrough().describe("Response model for getting an action item.");
|
|
50
50
|
const rootlyGetActionItem = require_action.action("ROOTLY_GET_ACTION_ITEM", {
|
|
51
51
|
slug: "rootly-get-action-item",
|
|
52
52
|
name: "Get Action Item Details",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-action-item.cjs","names":["z","action"],"sources":["../../src/actions/get-action-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RootlyGetActionItemInput
|
|
1
|
+
{"version":3,"file":"get-action-item.cjs","names":["z","action"],"sources":["../../src/actions/get-action-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RootlyGetActionItemInput = z.object({\n action_item_id: z.string().describe(\"The unique identifier of the action item to retrieve. Use ROOTLY_LIST_ACTION_ITEMS to discover available action item IDs.\"),\n}).describe(\"Request model for getting an action item.\");\nconst RootlyGetActionItem_ActionItemAttributesSchema = z.object({\n url: z.string().describe(\"URL to view the action item in Rootly\").nullable().optional(),\n kind: z.string().describe(\"The type of action item: 'task' or 'follow_up'\").nullable().optional(),\n status: z.string().describe(\"Current status: 'open', 'in_progress', 'cancelled', or 'done'\").nullable().optional(),\n summary: z.string().describe(\"The summary/title of the action item\").nullable(),\n due_date: z.string().describe(\"Due date in ISO 8601 format (e.g., '2024-01-15')\").nullable().optional(),\n priority: z.string().describe(\"Priority level: 'high', 'medium', or 'low'\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the action item was created\").nullable(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the action item was last updated\").nullable(),\n description: z.string().describe(\"Detailed description of the action item (supports Markdown)\").nullable().optional(),\n asana_task_id: z.string().describe(\"Linked Asana task ID\").nullable().optional(),\n jira_issue_id: z.string().describe(\"Linked Jira issue ID\").nullable().optional(),\n asana_task_url: z.string().describe(\"URL to the linked Asana task\").nullable().optional(),\n jira_issue_key: z.string().describe(\"Linked Jira issue key\").nullable().optional(),\n jira_issue_url: z.string().describe(\"URL to the linked Jira issue\").nullable().optional(),\n motion_task_id: z.string().describe(\"Linked Motion task ID\").nullable().optional(),\n trello_card_id: z.string().describe(\"Linked Trello card ID\").nullable().optional(),\n clickup_task_id: z.string().describe(\"Linked ClickUp task ID\").nullable().optional(),\n github_issue_id: z.string().describe(\"Linked GitHub issue ID\").nullable().optional(),\n gitlab_issue_id: z.string().describe(\"Linked GitLab issue ID\").nullable().optional(),\n linear_issue_id: z.string().describe(\"Linked Linear issue ID\").nullable().optional(),\n motion_task_url: z.string().describe(\"URL to the linked Motion task\").nullable().optional(),\n trello_card_url: z.string().describe(\"URL to the linked Trello card\").nullable().optional(),\n clickup_task_url: z.string().describe(\"URL to the linked ClickUp task\").nullable().optional(),\n github_issue_url: z.string().describe(\"URL to the linked GitHub issue\").nullable().optional(),\n gitlab_issue_url: z.string().describe(\"URL to the linked GitLab issue\").nullable().optional(),\n linear_issue_url: z.string().describe(\"URL to the linked Linear issue\").nullable().optional(),\n shortcut_story_id: z.string().describe(\"Linked Shortcut story ID\").nullable().optional(),\n zendesk_ticket_id: z.string().describe(\"Linked Zendesk ticket ID\").nullable().optional(),\n airtable_record_id: z.string().describe(\"Linked Airtable record ID\").nullable().optional(),\n shortcut_story_url: z.string().describe(\"URL to the linked Shortcut story\").nullable().optional(),\n zendesk_ticket_url: z.string().describe(\"URL to the linked Zendesk ticket\").nullable().optional(),\n airtable_record_url: z.string().describe(\"URL to the linked Airtable record\").nullable().optional(),\n assigned_to_user_id: z.number().int().describe(\"ID of the user assigned to this action item\").nullable().optional(),\n assigned_to_group_ids: z.array(z.string()).describe(\"List of group IDs assigned to this action item\").nullable().optional(),\n freshservice_ticket_id: z.string().describe(\"Linked Freshservice ticket ID\").nullable().optional(),\n freshservice_ticket_url: z.string().describe(\"URL to the linked Freshservice ticket\").nullable().optional(),\n}).passthrough().describe(\"Model for action item attributes.\");\nconst RootlyGetActionItem_ActionItemDataSchema = z.object({\n id: z.string().describe(\"Unique ID of the action item\").nullable(),\n type: z.string().describe(\"Type of the item (incident_action_items)\").nullable(),\n attributes: RootlyGetActionItem_ActionItemAttributesSchema.nullable(),\n relationships: z.record(z.string(), z.unknown()).describe(\"Related resources\").nullable().optional(),\n}).passthrough().describe(\"Model for action item data.\");\nexport const RootlyGetActionItemOutput = z.object({\n data: RootlyGetActionItem_ActionItemDataSchema.nullable(),\n}).passthrough().describe(\"Response model for getting an action item.\");\n\nexport const rootlyGetActionItem = action(\"ROOTLY_GET_ACTION_ITEM\", {\n slug: \"rootly-get-action-item\",\n name: \"Get Action Item Details\",\n description: \"Retrieves detailed information about a specific action item by its ID from Rootly. Action items are tasks or follow-up items created during incident management to track work that needs to be completed. This tool returns comprehensive details including: - Core info: summary, description, kind (task/follow_up), priority, status, due_date - Assignment: assigned user and group IDs - Integration links: Jira, GitHub, GitLab, Linear, Asana, Trello, ClickUp, and other connected tools - Metadata: creation and update timestamps, direct URL to the action item Use ROOTLY_LIST_ACTION_ITEMS first to discover available action item IDs if you don't already have one.\",\n input: RootlyGetActionItemInput,\n output: RootlyGetActionItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H,EACjK,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,MAAMA,IAAAA,EAAE,OAAO,CAAC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AA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6BAA6B;AACvD,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,MAAM,yCAAyC,SAAS,EAC1D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,sBAAsBC,eAAAA,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,57 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-action-item.d.ts
|
|
4
|
-
declare const RootlyGetActionItemInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RootlyGetActionItemInput: z.ZodObject<{
|
|
5
|
+
action_item_id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const RootlyGetActionItemOutput: z.ZodObject<{
|
|
8
|
+
data: z.ZodNullable<z.ZodObject<{
|
|
9
|
+
id: z.ZodNullable<z.ZodString>;
|
|
10
|
+
type: z.ZodNullable<z.ZodString>;
|
|
11
|
+
attributes: z.ZodNullable<z.ZodObject<{
|
|
12
|
+
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
kind: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
summary: z.ZodNullable<z.ZodString>;
|
|
16
|
+
due_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
priority: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
created_at: z.ZodNullable<z.ZodString>;
|
|
19
|
+
updated_at: z.ZodNullable<z.ZodString>;
|
|
20
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
asana_task_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
jira_issue_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
asana_task_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
jira_issue_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
jira_issue_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
motion_task_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
+
trello_card_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
clickup_task_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
+
github_issue_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
+
gitlab_issue_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
+
linear_issue_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
+
motion_task_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
+
trello_card_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
|
+
clickup_task_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
|
+
github_issue_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
|
+
gitlab_issue_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
|
+
linear_issue_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
|
+
shortcut_story_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
|
+
zendesk_ticket_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
|
+
airtable_record_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
|
+
shortcut_story_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
|
+
zendesk_ticket_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43
|
+
airtable_record_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
44
|
+
assigned_to_user_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
45
|
+
assigned_to_group_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
46
|
+
freshservice_ticket_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
47
|
+
freshservice_ticket_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
48
|
+
}, z.core.$loose>>;
|
|
49
|
+
relationships: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
50
|
+
}, z.core.$loose>>;
|
|
51
|
+
}, z.core.$loose>;
|
|
52
|
+
declare const rootlyGetActionItem: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
53
|
+
action_item_id: string;
|
|
54
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
55
|
//#endregion
|
|
8
56
|
export { rootlyGetActionItem };
|
|
9
57
|
//# sourceMappingURL=get-action-item.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-action-item.d.cts","names":[],"sources":["../../src/actions/get-action-item.ts"],"mappings":";;;cAIa,wBAAA,
|
|
1
|
+
{"version":3,"file":"get-action-item.d.cts","names":[],"sources":["../../src/actions/get-action-item.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cA+CxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIzB,mBAAA,gCAAmB,wBAAA"}
|
|
@@ -1,9 +1,57 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-action-item.d.ts
|
|
4
|
-
declare const RootlyGetActionItemInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RootlyGetActionItemInput: z.ZodObject<{
|
|
5
|
+
action_item_id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const RootlyGetActionItemOutput: z.ZodObject<{
|
|
8
|
+
data: z.ZodNullable<z.ZodObject<{
|
|
9
|
+
id: z.ZodNullable<z.ZodString>;
|
|
10
|
+
type: z.ZodNullable<z.ZodString>;
|
|
11
|
+
attributes: z.ZodNullable<z.ZodObject<{
|
|
12
|
+
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
kind: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
summary: z.ZodNullable<z.ZodString>;
|
|
16
|
+
due_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
priority: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
created_at: z.ZodNullable<z.ZodString>;
|
|
19
|
+
updated_at: z.ZodNullable<z.ZodString>;
|
|
20
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
asana_task_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
jira_issue_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
asana_task_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
jira_issue_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
jira_issue_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
motion_task_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
+
trello_card_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
clickup_task_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
+
github_issue_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
+
gitlab_issue_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
+
linear_issue_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
+
motion_task_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
+
trello_card_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
|
+
clickup_task_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
|
+
github_issue_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
|
+
gitlab_issue_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
|
+
linear_issue_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
|
+
shortcut_story_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
|
+
zendesk_ticket_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
|
+
airtable_record_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
|
+
shortcut_story_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
|
+
zendesk_ticket_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43
|
+
airtable_record_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
44
|
+
assigned_to_user_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
45
|
+
assigned_to_group_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
46
|
+
freshservice_ticket_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
47
|
+
freshservice_ticket_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
48
|
+
}, z.core.$loose>>;
|
|
49
|
+
relationships: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
50
|
+
}, z.core.$loose>>;
|
|
51
|
+
}, z.core.$loose>;
|
|
52
|
+
declare const rootlyGetActionItem: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
53
|
+
action_item_id: string;
|
|
54
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
55
|
//#endregion
|
|
8
56
|
export { rootlyGetActionItem };
|
|
9
57
|
//# sourceMappingURL=get-action-item.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-action-item.d.mts","names":[],"sources":["../../src/actions/get-action-item.ts"],"mappings":";;;cAIa,wBAAA,
|
|
1
|
+
{"version":3,"file":"get-action-item.d.mts","names":[],"sources":["../../src/actions/get-action-item.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cA+CxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIzB,mBAAA,gCAAmB,wBAAA"}
|
|
@@ -6,11 +6,11 @@ const RootlyGetActionItem_ActionItemAttributesSchema = z.object({
|
|
|
6
6
|
url: z.string().describe("URL to view the action item in Rootly").nullable().optional(),
|
|
7
7
|
kind: z.string().describe("The type of action item: 'task' or 'follow_up'").nullable().optional(),
|
|
8
8
|
status: z.string().describe("Current status: 'open', 'in_progress', 'cancelled', or 'done'").nullable().optional(),
|
|
9
|
-
summary: z.string().describe("The summary/title of the action item"),
|
|
9
|
+
summary: z.string().describe("The summary/title of the action item").nullable(),
|
|
10
10
|
due_date: z.string().describe("Due date in ISO 8601 format (e.g., '2024-01-15')").nullable().optional(),
|
|
11
11
|
priority: z.string().describe("Priority level: 'high', 'medium', or 'low'").nullable().optional(),
|
|
12
|
-
created_at: z.string().describe("ISO 8601 timestamp when the action item was created"),
|
|
13
|
-
updated_at: z.string().describe("ISO 8601 timestamp when the action item was last updated"),
|
|
12
|
+
created_at: z.string().describe("ISO 8601 timestamp when the action item was created").nullable(),
|
|
13
|
+
updated_at: z.string().describe("ISO 8601 timestamp when the action item was last updated").nullable(),
|
|
14
14
|
description: z.string().describe("Detailed description of the action item (supports Markdown)").nullable().optional(),
|
|
15
15
|
asana_task_id: z.string().describe("Linked Asana task ID").nullable().optional(),
|
|
16
16
|
jira_issue_id: z.string().describe("Linked Jira issue ID").nullable().optional(),
|
|
@@ -39,19 +39,19 @@ const RootlyGetActionItem_ActionItemAttributesSchema = z.object({
|
|
|
39
39
|
assigned_to_group_ids: z.array(z.string()).describe("List of group IDs assigned to this action item").nullable().optional(),
|
|
40
40
|
freshservice_ticket_id: z.string().describe("Linked Freshservice ticket ID").nullable().optional(),
|
|
41
41
|
freshservice_ticket_url: z.string().describe("URL to the linked Freshservice ticket").nullable().optional()
|
|
42
|
-
}).describe("Model for action item attributes.");
|
|
42
|
+
}).passthrough().describe("Model for action item attributes.");
|
|
43
43
|
const RootlyGetActionItem_ActionItemDataSchema = z.object({
|
|
44
|
-
id: z.string().describe("Unique ID of the action item"),
|
|
45
|
-
type: z.string().describe("Type of the item (incident_action_items)"),
|
|
44
|
+
id: z.string().describe("Unique ID of the action item").nullable(),
|
|
45
|
+
type: z.string().describe("Type of the item (incident_action_items)").nullable(),
|
|
46
46
|
attributes: RootlyGetActionItem_ActionItemAttributesSchema.nullable(),
|
|
47
47
|
relationships: z.record(z.string(), z.unknown()).describe("Related resources").nullable().optional()
|
|
48
|
-
}).describe("Model for action item data.");
|
|
48
|
+
}).passthrough().describe("Model for action item data.");
|
|
49
49
|
const rootlyGetActionItem = action("ROOTLY_GET_ACTION_ITEM", {
|
|
50
50
|
slug: "rootly-get-action-item",
|
|
51
51
|
name: "Get Action Item Details",
|
|
52
52
|
description: "Retrieves detailed information about a specific action item by its ID from Rootly. Action items are tasks or follow-up items created during incident management to track work that needs to be completed. This tool returns comprehensive details including: - Core info: summary, description, kind (task/follow_up), priority, status, due_date - Assignment: assigned user and group IDs - Integration links: Jira, GitHub, GitLab, Linear, Asana, Trello, ClickUp, and other connected tools - Metadata: creation and update timestamps, direct URL to the action item Use ROOTLY_LIST_ACTION_ITEMS first to discover available action item IDs if you don't already have one.",
|
|
53
53
|
input: RootlyGetActionItemInput,
|
|
54
|
-
output: z.object({ data: RootlyGetActionItem_ActionItemDataSchema.nullable() }).describe("Response model for getting an action item.")
|
|
54
|
+
output: z.object({ data: RootlyGetActionItem_ActionItemDataSchema.nullable() }).passthrough().describe("Response model for getting an action item.")
|
|
55
55
|
});
|
|
56
56
|
//#endregion
|
|
57
57
|
export { rootlyGetActionItem };
|