@keystrokehq/rootly 0.1.2 → 0.1.4
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/actions/delete-action-item.cjs +3 -3
- package/dist/actions/delete-action-item.cjs.map +1 -1
- package/dist/actions/delete-action-item.d.cts +3 -3
- package/dist/actions/delete-action-item.d.mts +3 -3
- package/dist/actions/delete-action-item.mjs +3 -3
- 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 +1 -1
- package/dist/actions/delete-incident.d.mts +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 +3 -3
- package/dist/actions/get-action-item.cjs.map +1 -1
- package/dist/actions/get-action-item.d.cts +3 -3
- package/dist/actions/get-action-item.d.mts +3 -3
- package/dist/actions/get-action-item.mjs +3 -3
- package/dist/actions/get-action-item.mjs.map +1 -1
- package/dist/actions/get-incident.cjs +3 -3
- package/dist/actions/get-incident.cjs.map +1 -1
- package/dist/actions/get-incident.d.cts +3 -3
- package/dist/actions/get-incident.d.mts +3 -3
- package/dist/actions/get-incident.mjs +3 -3
- package/dist/actions/get-incident.mjs.map +1 -1
- package/dist/actions/list-action-items.cjs +5 -5
- package/dist/actions/list-action-items.cjs.map +1 -1
- package/dist/actions/list-action-items.d.cts +5 -5
- package/dist/actions/list-action-items.d.mts +5 -5
- package/dist/actions/list-action-items.mjs +5 -5
- package/dist/actions/list-action-items.mjs.map +1 -1
- package/dist/actions/update-incident.cjs +3 -3
- package/dist/actions/update-incident.cjs.map +1 -1
- package/dist/actions/update-incident.d.cts +3 -3
- package/dist/actions/update-incident.d.mts +3 -3
- package/dist/actions/update-incident.mjs +3 -3
- package/dist/actions/update-incident.mjs.map +1 -1
- package/dist/catalog.cjs +1 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +1 -1
- package/dist/catalog.d.mts +1 -1
- package/dist/catalog.mjs +1 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -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
16
|
id: zod.z.string().describe("The unique ID of the deleted action item").nullable(),
|
|
17
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 = 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}).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}).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}).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,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,EACxJ,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,2DAA2DA,IAAAA,EAAE,OAAO;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,SAAS,4DAA4D;
|
|
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 remove individual action items from the system.\",\n input: RootlyDeleteActionItemInput,\n output: RootlyDeleteActionItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,EACxJ,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,2DAA2DA,IAAAA,EAAE,OAAO;CACxE,MAAMA,IAAAA,EAAE,OAAO,CA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AC,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"}
|
|
@@ -17,10 +17,10 @@ declare const RootlyDeleteActionItemOutput: z.ZodObject<{
|
|
|
17
17
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
18
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
19
|
incident_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
-
}, z.core.$
|
|
21
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>>>;
|
|
21
|
+
}, z.core.$loose>>>;
|
|
22
22
|
success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
23
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>;
|
|
24
24
|
declare const rootlyDeleteActionItem: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
25
|
action_item_id: string;
|
|
26
26
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -17,10 +17,10 @@ declare const RootlyDeleteActionItemOutput: z.ZodObject<{
|
|
|
17
17
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
18
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
19
|
incident_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
-
}, z.core.$
|
|
21
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>>>;
|
|
21
|
+
}, z.core.$loose>>>;
|
|
22
22
|
success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
23
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>;
|
|
24
24
|
declare const rootlyDeleteActionItem: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
25
|
action_item_id: string;
|
|
26
26
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -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
16
|
id: z.string().describe("The unique ID of the deleted action item").nullable(),
|
|
17
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 = 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}).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}).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}).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,SAAS,4DAA4D;
|
|
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,4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AAE,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 = 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}).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,SAAS,+CAA+C;
|
|
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"}
|
|
@@ -6,7 +6,7 @@ declare const RootlyDeleteIncidentInput: z.ZodObject<{
|
|
|
6
6
|
}, z.core.$strip>;
|
|
7
7
|
declare const RootlyDeleteIncidentOutput: z.ZodObject<{
|
|
8
8
|
success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
9
|
-
}, z.core.$
|
|
9
|
+
}, z.core.$loose>;
|
|
10
10
|
declare const rootlyDeleteIncident: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
11
|
id: string;
|
|
12
12
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -6,7 +6,7 @@ declare const RootlyDeleteIncidentInput: z.ZodObject<{
|
|
|
6
6
|
}, z.core.$strip>;
|
|
7
7
|
declare const RootlyDeleteIncidentOutput: z.ZodObject<{
|
|
8
8
|
success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
9
|
-
}, z.core.$
|
|
9
|
+
}, z.core.$loose>;
|
|
10
10
|
declare const rootlyDeleteIncident: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
11
|
id: string;
|
|
12
12
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -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 = 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}).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,SAAS,+
|
|
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"}
|
|
@@ -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
44
|
id: zod.z.string().describe("Unique ID of the action item").nullable(),
|
|
45
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 = 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}).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}).describe(\"Model for action item data.\");\nexport const RootlyGetActionItemOutput = z.object({\n data: RootlyGetActionItem_ActionItemDataSchema.nullable(),\n}).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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AAC,SAAS,CAAC,CAAC,SAAS;CAC5F,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,uBAAuBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,SAAS,mCAAmC;
|
|
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,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC9E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAChG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACrG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC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,CAAC,CAAC,SAAS;CAC1H,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAC7D,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC/E,YAAY,+CAA+C,SAAS;CACpE,eAAeA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,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"}
|
|
@@ -45,10 +45,10 @@ declare const RootlyGetActionItemOutput: z.ZodObject<{
|
|
|
45
45
|
assigned_to_group_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
46
46
|
freshservice_ticket_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
47
47
|
freshservice_ticket_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
48
|
-
}, z.core.$
|
|
48
|
+
}, z.core.$loose>>;
|
|
49
49
|
relationships: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
50
|
-
}, z.core.$
|
|
51
|
-
}, z.core.$
|
|
50
|
+
}, z.core.$loose>>;
|
|
51
|
+
}, z.core.$loose>;
|
|
52
52
|
declare const rootlyGetActionItem: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
53
53
|
action_item_id: string;
|
|
54
54
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -45,10 +45,10 @@ declare const RootlyGetActionItemOutput: z.ZodObject<{
|
|
|
45
45
|
assigned_to_group_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
46
46
|
freshservice_ticket_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
47
47
|
freshservice_ticket_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
48
|
-
}, z.core.$
|
|
48
|
+
}, z.core.$loose>>;
|
|
49
49
|
relationships: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
50
|
-
}, z.core.$
|
|
51
|
-
}, z.core.$
|
|
50
|
+
}, z.core.$loose>>;
|
|
51
|
+
}, z.core.$loose>;
|
|
52
52
|
declare const rootlyGetActionItem: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
53
53
|
action_item_id: string;
|
|
54
54
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -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
44
|
id: z.string().describe("Unique ID of the action item").nullable(),
|
|
45
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 };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-action-item.mjs","names":[],"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}).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}).describe(\"Model for action item data.\");\nexport const RootlyGetActionItemOutput = z.object({\n data: RootlyGetActionItem_ActionItemDataSchema.nullable(),\n}).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,2BAA2B,EAAE,OAAO,EAC/C,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H,EACjK,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAM,iDAAiD,EAAE,OAAO;CAC9D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC9E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAChG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACrG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAs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C,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,qBAAqB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,uBAAuB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,wBAAwB,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,SAAS,mCAAmC;
|
|
1
|
+
{"version":3,"file":"get-action-item.mjs","names":[],"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,2BAA2B,EAAE,OAAO,EAC/C,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H,EACjK,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAM,iDAAiD,EAAE,OAAO;CAC9D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC9E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAChG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACrG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAA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,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC/E,YAAY,+CAA+C,SAAS;CACpE,eAAe,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6BAA6B;AAKvD,MAAa,sBAAsB,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATuC,EAAE,OAAO,EAChD,MAAM,yCAAyC,SAAS,EAC1D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAOhB;AACV,CAAC"}
|
|
@@ -36,17 +36,17 @@ const RootlyGetIncident_IncidentAttributesSchema = zod.z.object({
|
|
|
36
36
|
datadog_incident_id: zod.z.string().describe("Datadog incident ID").nullable().optional(),
|
|
37
37
|
pagerduty_incident_id: zod.z.string().describe("PagerDuty incident ID").nullable().optional(),
|
|
38
38
|
servicenow_incident_id: zod.z.string().describe("ServiceNow incident ID").nullable().optional()
|
|
39
|
-
}).describe("Model for incident attributes.");
|
|
39
|
+
}).passthrough().describe("Model for incident attributes.");
|
|
40
40
|
const RootlyGetIncident_IncidentDataSchema = zod.z.object({
|
|
41
41
|
id: zod.z.string().describe("Unique ID of the incident").nullable(),
|
|
42
42
|
type: zod.z.string().describe("Type of the resource (incidents)").nullable(),
|
|
43
43
|
attributes: RootlyGetIncident_IncidentAttributesSchema.nullable(),
|
|
44
44
|
relationships: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Related resources").nullable().optional()
|
|
45
|
-
}).describe("Model for incident data.");
|
|
45
|
+
}).passthrough().describe("Model for incident data.");
|
|
46
46
|
const RootlyGetIncidentOutput = zod.z.object({
|
|
47
47
|
data: RootlyGetIncident_IncidentDataSchema.nullable(),
|
|
48
48
|
included: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Included related resources when requested via include parameter").nullable().optional()
|
|
49
|
-
}).describe("Response model for getting an incident.");
|
|
49
|
+
}).passthrough().describe("Response model for getting an incident.");
|
|
50
50
|
const rootlyGetIncident = require_action.action("ROOTLY_GET_INCIDENT", {
|
|
51
51
|
slug: "rootly-get-incident",
|
|
52
52
|
name: "Get Incident Details",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-incident.cjs","names":["z","action"],"sources":["../../src/actions/get-incident.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RootlyGetIncidentInput = z.object({\n id: z.string().describe(\"The ID of the incident to retrieve (UUID or slug format)\"),\n include: z.string().describe(\"Comma-separated list of related resources to include in response. Available options: sub_statuses, causes, subscribers, roles, slack_messages, environments, incident_types, services, functionalities, groups, events, action_items, custom_field_selections, feedbacks, incident_post_mortem, alerts\").optional(),\n}).describe(\"Request model for getting an incident.\");\nconst RootlyGetIncident_IncidentAttributesSchema = z.object({\n url: z.string().describe(\"URL to view the incident\").nullable().optional(),\n kind: z.string().describe(\"Kind of incident\").nullable().optional(),\n slug: z.string().describe(\"URL-friendly slug of the incident\").nullable().optional(),\n title: z.string().describe(\"Title of the incident\").nullable().optional(),\n source: z.string().describe(\"Source of the incident\").nullable().optional(),\n status: z.string().describe(\"Status of the incident\").nullable().optional(),\n private: z.boolean().describe(\"Whether the incident is private\").nullable().optional(),\n summary: z.string().describe(\"Summary of the incident\").nullable().optional(),\n created_at: z.string().describe(\"Date of creation\").nullable().optional(),\n started_at: z.string().describe(\"Date when incident started\").nullable().optional(),\n updated_at: z.string().describe(\"Date of last update\").nullable().optional(),\n detected_at: z.string().describe(\"Date when incident was detected\").nullable().optional(),\n resolved_at: z.string().describe(\"Date when incident was resolved\").nullable().optional(),\n cancelled_at: z.string().describe(\"Date when incident was cancelled\").nullable().optional(),\n mitigated_at: z.string().describe(\"Date when incident was mitigated\").nullable().optional(),\n public_title: z.string().describe(\"Public-facing title\").nullable().optional(),\n asana_task_id: z.string().describe(\"Asana task ID\").nullable().optional(),\n sequential_id: z.number().int().describe(\"Sequential ID of the incident\").nullable().optional(),\n jira_issue_key: z.string().describe(\"Jira issue key\").nullable().optional(),\n acknowledged_at: z.string().describe(\"Date when incident was acknowledged\").nullable().optional(),\n github_issue_id: z.string().describe(\"GitHub issue ID\").nullable().optional(),\n google_drive_id: z.string().describe(\"Google Drive folder ID\").nullable().optional(),\n linear_issue_id: z.string().describe(\"Linear issue ID\").nullable().optional(),\n zoom_meeting_id: z.string().describe(\"Zoom meeting ID\").nullable().optional(),\n slack_channel_id: z.string().describe(\"Slack channel ID\").nullable().optional(),\n zendesk_ticket_id: z.string().describe(\"Zendesk ticket ID\").nullable().optional(),\n parent_incident_id: z.string().describe(\"Parent incident ID if this is a sub-incident\").nullable().optional(),\n datadog_incident_id: z.string().describe(\"Datadog incident ID\").nullable().optional(),\n pagerduty_incident_id: z.string().describe(\"PagerDuty incident ID\").nullable().optional(),\n servicenow_incident_id: z.string().describe(\"ServiceNow incident ID\").nullable().optional(),\n}).describe(\"Model for incident attributes.\");\nconst RootlyGetIncident_IncidentDataSchema = z.object({\n id: z.string().describe(\"Unique ID of the incident\").nullable(),\n type: z.string().describe(\"Type of the resource (incidents)\").nullable(),\n attributes: RootlyGetIncident_IncidentAttributesSchema.nullable(),\n relationships: z.record(z.string(), z.unknown()).describe(\"Related resources\").nullable().optional(),\n}).describe(\"Model for incident data.\");\nexport const RootlyGetIncidentOutput = z.object({\n data: RootlyGetIncident_IncidentDataSchema.nullable(),\n included: z.array(z.record(z.string(), z.unknown())).describe(\"Included related resources when requested via include parameter\").nullable().optional(),\n}).describe(\"Response model for getting an incident.\");\n\nexport const rootlyGetIncident = action(\"ROOTLY_GET_INCIDENT\", {\n slug: \"rootly-get-incident\",\n name: \"Get Incident Details\",\n description: \"Tool to retrieve full details for a single Rootly incident by ID. Use when you need complete incident information for drill-down after listing or searching incidents. Supports optional include parameter to fetch related resources like environments, services, action_items, and events in a single request.\",\n input: RootlyGetIncidentInput,\n output: RootlyGetIncidentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CAClF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wSAAwS,CAAC,CAAC,SAAS;AAClV,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC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OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,gCAAgC;
|
|
1
|
+
{"version":3,"file":"get-incident.cjs","names":["z","action"],"sources":["../../src/actions/get-incident.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RootlyGetIncidentInput = z.object({\n id: z.string().describe(\"The ID of the incident to retrieve (UUID or slug format)\"),\n include: z.string().describe(\"Comma-separated list of related resources to include in response. Available options: sub_statuses, causes, subscribers, roles, slack_messages, environments, incident_types, services, functionalities, groups, events, action_items, custom_field_selections, feedbacks, incident_post_mortem, alerts\").optional(),\n}).describe(\"Request model for getting an incident.\");\nconst RootlyGetIncident_IncidentAttributesSchema = z.object({\n url: z.string().describe(\"URL to view the incident\").nullable().optional(),\n kind: z.string().describe(\"Kind of incident\").nullable().optional(),\n slug: z.string().describe(\"URL-friendly slug of the incident\").nullable().optional(),\n title: z.string().describe(\"Title of the incident\").nullable().optional(),\n source: z.string().describe(\"Source of the incident\").nullable().optional(),\n status: z.string().describe(\"Status of the incident\").nullable().optional(),\n private: z.boolean().describe(\"Whether the incident is private\").nullable().optional(),\n summary: z.string().describe(\"Summary of the incident\").nullable().optional(),\n created_at: z.string().describe(\"Date of creation\").nullable().optional(),\n started_at: z.string().describe(\"Date when incident started\").nullable().optional(),\n updated_at: z.string().describe(\"Date of last update\").nullable().optional(),\n detected_at: z.string().describe(\"Date when incident was detected\").nullable().optional(),\n resolved_at: z.string().describe(\"Date when incident was resolved\").nullable().optional(),\n cancelled_at: z.string().describe(\"Date when incident was cancelled\").nullable().optional(),\n mitigated_at: z.string().describe(\"Date when incident was mitigated\").nullable().optional(),\n public_title: z.string().describe(\"Public-facing title\").nullable().optional(),\n asana_task_id: z.string().describe(\"Asana task ID\").nullable().optional(),\n sequential_id: z.number().int().describe(\"Sequential ID of the incident\").nullable().optional(),\n jira_issue_key: z.string().describe(\"Jira issue key\").nullable().optional(),\n acknowledged_at: z.string().describe(\"Date when incident was acknowledged\").nullable().optional(),\n github_issue_id: z.string().describe(\"GitHub issue ID\").nullable().optional(),\n google_drive_id: z.string().describe(\"Google Drive folder ID\").nullable().optional(),\n linear_issue_id: z.string().describe(\"Linear issue ID\").nullable().optional(),\n zoom_meeting_id: z.string().describe(\"Zoom meeting ID\").nullable().optional(),\n slack_channel_id: z.string().describe(\"Slack channel ID\").nullable().optional(),\n zendesk_ticket_id: z.string().describe(\"Zendesk ticket ID\").nullable().optional(),\n parent_incident_id: z.string().describe(\"Parent incident ID if this is a sub-incident\").nullable().optional(),\n datadog_incident_id: z.string().describe(\"Datadog incident ID\").nullable().optional(),\n pagerduty_incident_id: z.string().describe(\"PagerDuty incident ID\").nullable().optional(),\n servicenow_incident_id: z.string().describe(\"ServiceNow incident ID\").nullable().optional(),\n}).passthrough().describe(\"Model for incident attributes.\");\nconst RootlyGetIncident_IncidentDataSchema = z.object({\n id: z.string().describe(\"Unique ID of the incident\").nullable(),\n type: z.string().describe(\"Type of the resource (incidents)\").nullable(),\n attributes: RootlyGetIncident_IncidentAttributesSchema.nullable(),\n relationships: z.record(z.string(), z.unknown()).describe(\"Related resources\").nullable().optional(),\n}).passthrough().describe(\"Model for incident data.\");\nexport const RootlyGetIncidentOutput = z.object({\n data: RootlyGetIncident_IncidentDataSchema.nullable(),\n included: z.array(z.record(z.string(), z.unknown())).describe(\"Included related resources when requested via include parameter\").nullable().optional(),\n}).passthrough().describe(\"Response model for getting an incident.\");\n\nexport const rootlyGetIncident = action(\"ROOTLY_GET_INCIDENT\", {\n slug: \"rootly-get-incident\",\n name: \"Get Incident Details\",\n description: \"Tool to retrieve full details for a single Rootly incident by ID. Use when you need complete incident information for drill-down after listing or searching incidents. Supports optional include parameter to fetch related resources like environments, services, action_items, and events in a single request.\",\n input: RootlyGetIncidentInput,\n output: RootlyGetIncidentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CAClF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wSAAwS,CAAC,CAAC,SAAS;AAClV,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAA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ZodString>>;
|
|
41
41
|
pagerduty_incident_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
42
|
servicenow_incident_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43
|
-
}, z.core.$
|
|
43
|
+
}, z.core.$loose>>;
|
|
44
44
|
relationships: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
45
|
-
}, z.core.$
|
|
45
|
+
}, z.core.$loose>>;
|
|
46
46
|
included: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
47
|
-
}, z.core.$
|
|
47
|
+
}, z.core.$loose>;
|
|
48
48
|
declare const rootlyGetIncident: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
49
49
|
id: string;
|
|
50
50
|
include?: string | undefined;
|
|
@@ -40,11 +40,11 @@ declare const RootlyGetIncidentOutput: z.ZodObject<{
|
|
|
40
40
|
datadog_incident_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
41
|
pagerduty_incident_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
42
|
servicenow_incident_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43
|
-
}, z.core.$
|
|
43
|
+
}, z.core.$loose>>;
|
|
44
44
|
relationships: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
45
|
-
}, z.core.$
|
|
45
|
+
}, z.core.$loose>>;
|
|
46
46
|
included: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
47
|
-
}, z.core.$
|
|
47
|
+
}, z.core.$loose>;
|
|
48
48
|
declare const rootlyGetIncident: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
49
49
|
id: string;
|
|
50
50
|
include?: string | undefined;
|
|
@@ -36,13 +36,13 @@ const RootlyGetIncident_IncidentAttributesSchema = z.object({
|
|
|
36
36
|
datadog_incident_id: z.string().describe("Datadog incident ID").nullable().optional(),
|
|
37
37
|
pagerduty_incident_id: z.string().describe("PagerDuty incident ID").nullable().optional(),
|
|
38
38
|
servicenow_incident_id: z.string().describe("ServiceNow incident ID").nullable().optional()
|
|
39
|
-
}).describe("Model for incident attributes.");
|
|
39
|
+
}).passthrough().describe("Model for incident attributes.");
|
|
40
40
|
const RootlyGetIncident_IncidentDataSchema = z.object({
|
|
41
41
|
id: z.string().describe("Unique ID of the incident").nullable(),
|
|
42
42
|
type: z.string().describe("Type of the resource (incidents)").nullable(),
|
|
43
43
|
attributes: RootlyGetIncident_IncidentAttributesSchema.nullable(),
|
|
44
44
|
relationships: z.record(z.string(), z.unknown()).describe("Related resources").nullable().optional()
|
|
45
|
-
}).describe("Model for incident data.");
|
|
45
|
+
}).passthrough().describe("Model for incident data.");
|
|
46
46
|
const rootlyGetIncident = action("ROOTLY_GET_INCIDENT", {
|
|
47
47
|
slug: "rootly-get-incident",
|
|
48
48
|
name: "Get Incident Details",
|
|
@@ -51,7 +51,7 @@ const rootlyGetIncident = action("ROOTLY_GET_INCIDENT", {
|
|
|
51
51
|
output: z.object({
|
|
52
52
|
data: RootlyGetIncident_IncidentDataSchema.nullable(),
|
|
53
53
|
included: z.array(z.record(z.string(), z.unknown())).describe("Included related resources when requested via include parameter").nullable().optional()
|
|
54
|
-
}).describe("Response model for getting an incident.")
|
|
54
|
+
}).passthrough().describe("Response model for getting an incident.")
|
|
55
55
|
});
|
|
56
56
|
//#endregion
|
|
57
57
|
export { rootlyGetIncident };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-incident.mjs","names":[],"sources":["../../src/actions/get-incident.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RootlyGetIncidentInput = z.object({\n id: z.string().describe(\"The ID of the incident to retrieve (UUID or slug format)\"),\n include: z.string().describe(\"Comma-separated list of related resources to include in response. Available options: sub_statuses, causes, subscribers, roles, slack_messages, environments, incident_types, services, functionalities, groups, events, action_items, custom_field_selections, feedbacks, incident_post_mortem, alerts\").optional(),\n}).describe(\"Request model for getting an incident.\");\nconst RootlyGetIncident_IncidentAttributesSchema = z.object({\n url: z.string().describe(\"URL to view the incident\").nullable().optional(),\n kind: z.string().describe(\"Kind of incident\").nullable().optional(),\n slug: z.string().describe(\"URL-friendly slug of the incident\").nullable().optional(),\n title: z.string().describe(\"Title of the incident\").nullable().optional(),\n source: z.string().describe(\"Source of the incident\").nullable().optional(),\n status: z.string().describe(\"Status of the incident\").nullable().optional(),\n private: z.boolean().describe(\"Whether the incident is private\").nullable().optional(),\n summary: z.string().describe(\"Summary of the incident\").nullable().optional(),\n created_at: z.string().describe(\"Date of creation\").nullable().optional(),\n started_at: z.string().describe(\"Date when incident started\").nullable().optional(),\n updated_at: z.string().describe(\"Date of last update\").nullable().optional(),\n detected_at: z.string().describe(\"Date when incident was detected\").nullable().optional(),\n resolved_at: z.string().describe(\"Date when incident was resolved\").nullable().optional(),\n cancelled_at: z.string().describe(\"Date when incident was cancelled\").nullable().optional(),\n mitigated_at: z.string().describe(\"Date when incident was mitigated\").nullable().optional(),\n public_title: z.string().describe(\"Public-facing title\").nullable().optional(),\n asana_task_id: z.string().describe(\"Asana task ID\").nullable().optional(),\n sequential_id: z.number().int().describe(\"Sequential ID of the incident\").nullable().optional(),\n jira_issue_key: z.string().describe(\"Jira issue key\").nullable().optional(),\n acknowledged_at: z.string().describe(\"Date when incident was acknowledged\").nullable().optional(),\n github_issue_id: z.string().describe(\"GitHub issue ID\").nullable().optional(),\n google_drive_id: z.string().describe(\"Google Drive folder ID\").nullable().optional(),\n linear_issue_id: z.string().describe(\"Linear issue ID\").nullable().optional(),\n zoom_meeting_id: z.string().describe(\"Zoom meeting ID\").nullable().optional(),\n slack_channel_id: z.string().describe(\"Slack channel ID\").nullable().optional(),\n zendesk_ticket_id: z.string().describe(\"Zendesk ticket ID\").nullable().optional(),\n parent_incident_id: z.string().describe(\"Parent incident ID if this is a sub-incident\").nullable().optional(),\n datadog_incident_id: z.string().describe(\"Datadog incident ID\").nullable().optional(),\n pagerduty_incident_id: z.string().describe(\"PagerDuty incident ID\").nullable().optional(),\n servicenow_incident_id: z.string().describe(\"ServiceNow incident ID\").nullable().optional(),\n}).describe(\"Model for incident attributes.\");\nconst RootlyGetIncident_IncidentDataSchema = z.object({\n id: z.string().describe(\"Unique ID of the incident\").nullable(),\n type: z.string().describe(\"Type of the resource (incidents)\").nullable(),\n attributes: RootlyGetIncident_IncidentAttributesSchema.nullable(),\n relationships: z.record(z.string(), z.unknown()).describe(\"Related resources\").nullable().optional(),\n}).describe(\"Model for incident data.\");\nexport const RootlyGetIncidentOutput = z.object({\n data: RootlyGetIncident_IncidentDataSchema.nullable(),\n included: z.array(z.record(z.string(), z.unknown())).describe(\"Included related resources when requested via include parameter\").nullable().optional(),\n}).describe(\"Response model for getting an incident.\");\n\nexport const rootlyGetIncident = action(\"ROOTLY_GET_INCIDENT\", {\n slug: \"rootly-get-incident\",\n name: \"Get Incident Details\",\n description: \"Tool to retrieve full details for a single Rootly incident by ID. Use when you need complete incident information for drill-down after listing or searching incidents. Supports optional include parameter to fetch related resources like environments, services, action_items, and events in a single request.\",\n input: RootlyGetIncidentInput,\n output: RootlyGetIncidentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyB,EAAE,OAAO;CAC7C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CAClF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wSAAwS,CAAC,CAAC,SAAS;AAClV,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,6CAA6C,EAAE,OAAO;CAC1D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClE,MAAM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AC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,gCAAgC;
|
|
1
|
+
{"version":3,"file":"get-incident.mjs","names":[],"sources":["../../src/actions/get-incident.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RootlyGetIncidentInput = z.object({\n id: z.string().describe(\"The ID of the incident to retrieve (UUID or slug format)\"),\n include: z.string().describe(\"Comma-separated list of related resources to include in response. Available options: sub_statuses, causes, subscribers, roles, slack_messages, environments, incident_types, services, functionalities, groups, events, action_items, custom_field_selections, feedbacks, incident_post_mortem, alerts\").optional(),\n}).describe(\"Request model for getting an incident.\");\nconst RootlyGetIncident_IncidentAttributesSchema = z.object({\n url: z.string().describe(\"URL to view the incident\").nullable().optional(),\n kind: z.string().describe(\"Kind of incident\").nullable().optional(),\n slug: z.string().describe(\"URL-friendly slug of the incident\").nullable().optional(),\n title: z.string().describe(\"Title of the incident\").nullable().optional(),\n source: z.string().describe(\"Source of the incident\").nullable().optional(),\n status: z.string().describe(\"Status of the incident\").nullable().optional(),\n private: z.boolean().describe(\"Whether the incident is private\").nullable().optional(),\n summary: z.string().describe(\"Summary of the incident\").nullable().optional(),\n created_at: z.string().describe(\"Date of creation\").nullable().optional(),\n started_at: z.string().describe(\"Date when incident started\").nullable().optional(),\n updated_at: z.string().describe(\"Date of last update\").nullable().optional(),\n detected_at: z.string().describe(\"Date when incident was detected\").nullable().optional(),\n resolved_at: z.string().describe(\"Date when incident was resolved\").nullable().optional(),\n cancelled_at: z.string().describe(\"Date when incident was cancelled\").nullable().optional(),\n mitigated_at: z.string().describe(\"Date when incident was mitigated\").nullable().optional(),\n public_title: z.string().describe(\"Public-facing title\").nullable().optional(),\n asana_task_id: z.string().describe(\"Asana task ID\").nullable().optional(),\n sequential_id: z.number().int().describe(\"Sequential ID of the incident\").nullable().optional(),\n jira_issue_key: z.string().describe(\"Jira issue key\").nullable().optional(),\n acknowledged_at: z.string().describe(\"Date when incident was acknowledged\").nullable().optional(),\n github_issue_id: z.string().describe(\"GitHub issue ID\").nullable().optional(),\n google_drive_id: z.string().describe(\"Google Drive folder ID\").nullable().optional(),\n linear_issue_id: z.string().describe(\"Linear issue ID\").nullable().optional(),\n zoom_meeting_id: z.string().describe(\"Zoom meeting ID\").nullable().optional(),\n slack_channel_id: z.string().describe(\"Slack channel ID\").nullable().optional(),\n zendesk_ticket_id: z.string().describe(\"Zendesk ticket ID\").nullable().optional(),\n parent_incident_id: z.string().describe(\"Parent incident ID if this is a sub-incident\").nullable().optional(),\n datadog_incident_id: z.string().describe(\"Datadog incident ID\").nullable().optional(),\n pagerduty_incident_id: z.string().describe(\"PagerDuty incident ID\").nullable().optional(),\n servicenow_incident_id: z.string().describe(\"ServiceNow incident ID\").nullable().optional(),\n}).passthrough().describe(\"Model for incident attributes.\");\nconst RootlyGetIncident_IncidentDataSchema = z.object({\n id: z.string().describe(\"Unique ID of the incident\").nullable(),\n type: z.string().describe(\"Type of the resource (incidents)\").nullable(),\n attributes: RootlyGetIncident_IncidentAttributesSchema.nullable(),\n relationships: z.record(z.string(), z.unknown()).describe(\"Related resources\").nullable().optional(),\n}).passthrough().describe(\"Model for incident data.\");\nexport const RootlyGetIncidentOutput = z.object({\n data: RootlyGetIncident_IncidentDataSchema.nullable(),\n included: z.array(z.record(z.string(), z.unknown())).describe(\"Included related resources when requested via include parameter\").nullable().optional(),\n}).passthrough().describe(\"Response model for getting an incident.\");\n\nexport const rootlyGetIncident = action(\"ROOTLY_GET_INCIDENT\", {\n slug: \"rootly-get-incident\",\n name: \"Get Incident Details\",\n description: \"Tool to retrieve full details for a single Rootly incident by ID. Use when you need complete incident information for drill-down after listing or searching incidents. Supports optional include parameter to fetch related resources like environments, services, action_items, and events in a single request.\",\n input: RootlyGetIncidentInput,\n output: RootlyGetIncidentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyB,EAAE,OAAO;CAC7C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CAClF,SAA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CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,wBAAwB,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gCAAgC;AAC1D,MAAM,uCAAuC,EAAE,OAAO;CACpD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,YAAY,2CAA2C,SAAS;CAChE,eAAe,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0BAA0B;AAMpD,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVqC,EAAE,OAAO;EAC9C,MAAM,qCAAqC,SAAS;EACpD,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAOhB;AACV,CAAC"}
|
|
@@ -30,31 +30,31 @@ const RootlyListActionItems_ActionItemAttributesSchema = zod.z.object({
|
|
|
30
30
|
jira_issue_url: zod.z.string().describe("The Jira issue URL").nullable().optional(),
|
|
31
31
|
assigned_to_user_id: zod.z.number().int().describe("ID of user assigned to this action item").nullable().optional(),
|
|
32
32
|
assigned_to_group_ids: zod.z.array(zod.z.string()).describe("IDs of groups assigned to this action item").nullable().optional()
|
|
33
|
-
}).describe("Model for action item attributes.");
|
|
33
|
+
}).passthrough().describe("Model for action item attributes.");
|
|
34
34
|
const RootlyListActionItems_ActionItemSchema = zod.z.object({
|
|
35
35
|
id: zod.z.string().describe("Unique ID of the action item").nullable(),
|
|
36
36
|
type: zod.z.string().describe("Type of the item (incident_action_items)").nullable(),
|
|
37
37
|
attributes: RootlyListActionItems_ActionItemAttributesSchema.nullable()
|
|
38
|
-
}).describe("Model for action item.");
|
|
38
|
+
}).passthrough().describe("Model for action item.");
|
|
39
39
|
const RootlyListActionItems_PaginationMetaSchema = zod.z.object({
|
|
40
40
|
next_page: zod.z.number().int().describe("Next page number").nullable().optional(),
|
|
41
41
|
prev_page: zod.z.number().int().describe("Previous page number").nullable().optional(),
|
|
42
42
|
total_count: zod.z.number().int().describe("Total number of action items").nullable().optional(),
|
|
43
43
|
total_pages: zod.z.number().int().describe("Total number of pages").nullable().optional(),
|
|
44
44
|
current_page: zod.z.number().int().describe("Current page number").nullable().optional()
|
|
45
|
-
}).describe("Model for pagination metadata.");
|
|
45
|
+
}).passthrough().describe("Model for pagination metadata.");
|
|
46
46
|
const RootlyListActionItems_PaginationLinksSchema = zod.z.object({
|
|
47
47
|
last: zod.z.string().describe("Link to last page").nullable().optional(),
|
|
48
48
|
next: zod.z.string().describe("Link to next page").nullable().optional(),
|
|
49
49
|
prev: zod.z.string().describe("Link to previous page").nullable().optional(),
|
|
50
50
|
self: zod.z.string().describe("Link to current page").nullable().optional(),
|
|
51
51
|
first: zod.z.string().describe("Link to first page").nullable().optional()
|
|
52
|
-
}).describe("Model for pagination links.");
|
|
52
|
+
}).passthrough().describe("Model for pagination links.");
|
|
53
53
|
const RootlyListActionItemsOutput = zod.z.object({
|
|
54
54
|
data: zod.z.array(RootlyListActionItems_ActionItemSchema).describe("List of action items").nullable().optional(),
|
|
55
55
|
meta: RootlyListActionItems_PaginationMetaSchema.nullable().optional(),
|
|
56
56
|
links: RootlyListActionItems_PaginationLinksSchema.nullable().optional()
|
|
57
|
-
}).describe("Response model for listing action items.");
|
|
57
|
+
}).passthrough().describe("Response model for listing action items.");
|
|
58
58
|
const rootlyListActionItems = require_action.action("ROOTLY_LIST_ACTION_ITEMS", {
|
|
59
59
|
slug: "rootly-list-action-items",
|
|
60
60
|
name: "List Action Items",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-action-items.cjs","names":["z","action"],"sources":["../../src/actions/list-action-items.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RootlyListActionItemsInput = z.object({\n kind: z.enum([\"task\", \"follow_up\"]).describe(\"Kind of action item in Rootly.\").optional(),\n status: z.enum([\"open\", \"in_progress\", \"cancelled\", \"done\"]).describe(\"Status of action items.\").optional(),\n priority: z.enum([\"high\", \"medium\", \"low\"]).describe(\"Priority levels for action items.\").optional(),\n page_size: z.number().int().describe(\"Number of items per page\").optional(),\n page_number: z.number().int().describe(\"Page number for pagination\").optional(),\n}).describe(\"Request model for listing action items.\");\nconst RootlyListActionItems_ActionItemAttributesSchema = z.object({\n kind: z.string().describe(\"The kind of the action item (task or follow_up)\").nullable().optional(),\n status: z.string().describe(\"The status of the action item (open, in_progress, cancelled, done)\").nullable().optional(),\n summary: z.string().describe(\"The summary of the action item\").nullable(),\n due_date: z.string().describe(\"The due date of the action item\").nullable().optional(),\n priority: z.string().describe(\"The priority of the action item (high, medium, low)\").nullable().optional(),\n created_at: z.string().describe(\"Date of creation\").nullable(),\n updated_at: z.string().describe(\"Date of last update\").nullable(),\n description: z.string().describe(\"The description of the action item\").nullable().optional(),\n jira_issue_id: z.string().describe(\"The Jira issue ID\").nullable().optional(),\n jira_issue_url: z.string().describe(\"The Jira issue URL\").nullable().optional(),\n assigned_to_user_id: z.number().int().describe(\"ID of user assigned to this action item\").nullable().optional(),\n assigned_to_group_ids: z.array(z.string()).describe(\"IDs of groups assigned to this action item\").nullable().optional(),\n}).describe(\"Model for action item attributes.\");\nconst RootlyListActionItems_ActionItemSchema = 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: RootlyListActionItems_ActionItemAttributesSchema.nullable(),\n}).describe(\"Model for action item.\");\nconst RootlyListActionItems_PaginationMetaSchema = z.object({\n next_page: z.number().int().describe(\"Next page number\").nullable().optional(),\n prev_page: z.number().int().describe(\"Previous page number\").nullable().optional(),\n total_count: z.number().int().describe(\"Total number of action items\").nullable().optional(),\n total_pages: z.number().int().describe(\"Total number of pages\").nullable().optional(),\n current_page: z.number().int().describe(\"Current page number\").nullable().optional(),\n}).describe(\"Model for pagination metadata.\");\nconst RootlyListActionItems_PaginationLinksSchema = z.object({\n last: z.string().describe(\"Link to last page\").nullable().optional(),\n next: z.string().describe(\"Link to next page\").nullable().optional(),\n prev: z.string().describe(\"Link to previous page\").nullable().optional(),\n self: z.string().describe(\"Link to current page\").nullable().optional(),\n first: z.string().describe(\"Link to first page\").nullable().optional(),\n}).describe(\"Model for pagination links.\");\nexport const RootlyListActionItemsOutput = z.object({\n data: z.array(RootlyListActionItems_ActionItemSchema).describe(\"List of action items\").nullable().optional(),\n meta: RootlyListActionItems_PaginationMetaSchema.nullable().optional(),\n links: RootlyListActionItems_PaginationLinksSchema.nullable().optional(),\n}).describe(\"Response model for listing action items.\");\n\nexport const rootlyListActionItems = action(\"ROOTLY_LIST_ACTION_ITEMS\", {\n slug: \"rootly-list-action-items\",\n name: \"List Action Items\",\n description: \"This tool retrieves a list of all action items for an organization in Rootly. Action items are tasks or follow-up items that need to be completed during or after an incident, helping to track and manage incident-related tasks effectively.\",\n input: RootlyListActionItemsInput,\n output: RootlyListActionItemsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EA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AAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,uBAAuBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,SAAS,mCAAmC;
|
|
1
|
+
{"version":3,"file":"list-action-items.cjs","names":["z","action"],"sources":["../../src/actions/list-action-items.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RootlyListActionItemsInput = z.object({\n kind: z.enum([\"task\", \"follow_up\"]).describe(\"Kind of action item in Rootly.\").optional(),\n status: z.enum([\"open\", \"in_progress\", \"cancelled\", \"done\"]).describe(\"Status of action items.\").optional(),\n priority: z.enum([\"high\", \"medium\", \"low\"]).describe(\"Priority levels for action items.\").optional(),\n page_size: z.number().int().describe(\"Number of items per page\").optional(),\n page_number: z.number().int().describe(\"Page number for pagination\").optional(),\n}).describe(\"Request model for listing action items.\");\nconst RootlyListActionItems_ActionItemAttributesSchema = z.object({\n kind: z.string().describe(\"The kind of the action item (task or follow_up)\").nullable().optional(),\n status: z.string().describe(\"The status of the action item (open, in_progress, cancelled, done)\").nullable().optional(),\n summary: z.string().describe(\"The summary of the action item\").nullable(),\n due_date: z.string().describe(\"The due date of the action item\").nullable().optional(),\n priority: z.string().describe(\"The priority of the action item (high, medium, low)\").nullable().optional(),\n created_at: z.string().describe(\"Date of creation\").nullable(),\n updated_at: z.string().describe(\"Date of last update\").nullable(),\n description: z.string().describe(\"The description of the action item\").nullable().optional(),\n jira_issue_id: z.string().describe(\"The Jira issue ID\").nullable().optional(),\n jira_issue_url: z.string().describe(\"The Jira issue URL\").nullable().optional(),\n assigned_to_user_id: z.number().int().describe(\"ID of user assigned to this action item\").nullable().optional(),\n assigned_to_group_ids: z.array(z.string()).describe(\"IDs of groups assigned to this action item\").nullable().optional(),\n}).passthrough().describe(\"Model for action item attributes.\");\nconst RootlyListActionItems_ActionItemSchema = 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: RootlyListActionItems_ActionItemAttributesSchema.nullable(),\n}).passthrough().describe(\"Model for action item.\");\nconst RootlyListActionItems_PaginationMetaSchema = z.object({\n next_page: z.number().int().describe(\"Next page number\").nullable().optional(),\n prev_page: z.number().int().describe(\"Previous page number\").nullable().optional(),\n total_count: z.number().int().describe(\"Total number of action items\").nullable().optional(),\n total_pages: z.number().int().describe(\"Total number of pages\").nullable().optional(),\n current_page: z.number().int().describe(\"Current page number\").nullable().optional(),\n}).passthrough().describe(\"Model for pagination metadata.\");\nconst RootlyListActionItems_PaginationLinksSchema = z.object({\n last: z.string().describe(\"Link to last page\").nullable().optional(),\n next: z.string().describe(\"Link to next page\").nullable().optional(),\n prev: z.string().describe(\"Link to previous page\").nullable().optional(),\n self: z.string().describe(\"Link to current page\").nullable().optional(),\n first: z.string().describe(\"Link to first page\").nullable().optional(),\n}).passthrough().describe(\"Model for pagination links.\");\nexport const RootlyListActionItemsOutput = z.object({\n data: z.array(RootlyListActionItems_ActionItemSchema).describe(\"List of action items\").nullable().optional(),\n meta: RootlyListActionItems_PaginationMetaSchema.nullable().optional(),\n links: RootlyListActionItems_PaginationLinksSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for listing action items.\");\n\nexport const rootlyListActionItems = action(\"ROOTLY_LIST_ACTION_ITEMS\", {\n slug: \"rootly-list-action-items\",\n name: \"List Action Items\",\n description: \"This tool retrieves a list of all action items for an organization in Rootly. Action items are tasks or follow-up items that need to be completed during or after an incident, helping to track and manage incident-related tasks effectively.\",\n input: RootlyListActionItemsInput,\n output: RootlyListActionItemsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,KAAK,CAAC,QAAQ,WAAW,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACxF,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAe;EAAa;CAAM,CAAC,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC1G,UAAUA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAU;CAAK,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACnG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC1E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACxE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,UAAUA,IAAAA,EAAE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AC,CAAC,SAAS;CAC3G,MAAM,2CAA2C,SAAS,CAAC,CAAC,SAAS;CACrE,OAAO,4CAA4C,SAAS,CAAC,CAAC,SAAS;AACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAEpE,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -37,23 +37,23 @@ declare const RootlyListActionItemsOutput: z.ZodObject<{
|
|
|
37
37
|
jira_issue_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
38
|
assigned_to_user_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
39
39
|
assigned_to_group_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
40
|
-
}, z.core.$
|
|
41
|
-
}, z.core.$
|
|
40
|
+
}, z.core.$loose>>;
|
|
41
|
+
}, z.core.$loose>>>>;
|
|
42
42
|
meta: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
43
43
|
next_page: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
44
44
|
prev_page: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
45
45
|
total_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
46
46
|
total_pages: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
47
47
|
current_page: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
48
|
-
}, z.core.$
|
|
48
|
+
}, z.core.$loose>>>;
|
|
49
49
|
links: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
50
50
|
last: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
51
51
|
next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
52
52
|
prev: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
53
53
|
self: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
54
54
|
first: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
55
|
-
}, z.core.$
|
|
56
|
-
}, z.core.$
|
|
55
|
+
}, z.core.$loose>>>;
|
|
56
|
+
}, z.core.$loose>;
|
|
57
57
|
declare const rootlyListActionItems: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
58
58
|
kind?: "task" | "follow_up" | undefined;
|
|
59
59
|
status?: "open" | "in_progress" | "cancelled" | "done" | undefined;
|
|
@@ -37,23 +37,23 @@ declare const RootlyListActionItemsOutput: z.ZodObject<{
|
|
|
37
37
|
jira_issue_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
38
|
assigned_to_user_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
39
39
|
assigned_to_group_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
40
|
-
}, z.core.$
|
|
41
|
-
}, z.core.$
|
|
40
|
+
}, z.core.$loose>>;
|
|
41
|
+
}, z.core.$loose>>>>;
|
|
42
42
|
meta: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
43
43
|
next_page: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
44
44
|
prev_page: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
45
45
|
total_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
46
46
|
total_pages: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
47
47
|
current_page: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
48
|
-
}, z.core.$
|
|
48
|
+
}, z.core.$loose>>>;
|
|
49
49
|
links: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
50
50
|
last: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
51
51
|
next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
52
52
|
prev: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
53
53
|
self: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
54
54
|
first: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
55
|
-
}, z.core.$
|
|
56
|
-
}, z.core.$
|
|
55
|
+
}, z.core.$loose>>>;
|
|
56
|
+
}, z.core.$loose>;
|
|
57
57
|
declare const rootlyListActionItems: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
58
58
|
kind?: "task" | "follow_up" | undefined;
|
|
59
59
|
status?: "open" | "in_progress" | "cancelled" | "done" | undefined;
|
|
@@ -30,26 +30,26 @@ const RootlyListActionItems_ActionItemAttributesSchema = z.object({
|
|
|
30
30
|
jira_issue_url: z.string().describe("The Jira issue URL").nullable().optional(),
|
|
31
31
|
assigned_to_user_id: z.number().int().describe("ID of user assigned to this action item").nullable().optional(),
|
|
32
32
|
assigned_to_group_ids: z.array(z.string()).describe("IDs of groups assigned to this action item").nullable().optional()
|
|
33
|
-
}).describe("Model for action item attributes.");
|
|
33
|
+
}).passthrough().describe("Model for action item attributes.");
|
|
34
34
|
const RootlyListActionItems_ActionItemSchema = z.object({
|
|
35
35
|
id: z.string().describe("Unique ID of the action item").nullable(),
|
|
36
36
|
type: z.string().describe("Type of the item (incident_action_items)").nullable(),
|
|
37
37
|
attributes: RootlyListActionItems_ActionItemAttributesSchema.nullable()
|
|
38
|
-
}).describe("Model for action item.");
|
|
38
|
+
}).passthrough().describe("Model for action item.");
|
|
39
39
|
const RootlyListActionItems_PaginationMetaSchema = z.object({
|
|
40
40
|
next_page: z.number().int().describe("Next page number").nullable().optional(),
|
|
41
41
|
prev_page: z.number().int().describe("Previous page number").nullable().optional(),
|
|
42
42
|
total_count: z.number().int().describe("Total number of action items").nullable().optional(),
|
|
43
43
|
total_pages: z.number().int().describe("Total number of pages").nullable().optional(),
|
|
44
44
|
current_page: z.number().int().describe("Current page number").nullable().optional()
|
|
45
|
-
}).describe("Model for pagination metadata.");
|
|
45
|
+
}).passthrough().describe("Model for pagination metadata.");
|
|
46
46
|
const RootlyListActionItems_PaginationLinksSchema = z.object({
|
|
47
47
|
last: z.string().describe("Link to last page").nullable().optional(),
|
|
48
48
|
next: z.string().describe("Link to next page").nullable().optional(),
|
|
49
49
|
prev: z.string().describe("Link to previous page").nullable().optional(),
|
|
50
50
|
self: z.string().describe("Link to current page").nullable().optional(),
|
|
51
51
|
first: z.string().describe("Link to first page").nullable().optional()
|
|
52
|
-
}).describe("Model for pagination links.");
|
|
52
|
+
}).passthrough().describe("Model for pagination links.");
|
|
53
53
|
const rootlyListActionItems = action("ROOTLY_LIST_ACTION_ITEMS", {
|
|
54
54
|
slug: "rootly-list-action-items",
|
|
55
55
|
name: "List Action Items",
|
|
@@ -59,7 +59,7 @@ const rootlyListActionItems = action("ROOTLY_LIST_ACTION_ITEMS", {
|
|
|
59
59
|
data: z.array(RootlyListActionItems_ActionItemSchema).describe("List of action items").nullable().optional(),
|
|
60
60
|
meta: RootlyListActionItems_PaginationMetaSchema.nullable().optional(),
|
|
61
61
|
links: RootlyListActionItems_PaginationLinksSchema.nullable().optional()
|
|
62
|
-
}).describe("Response model for listing action items.")
|
|
62
|
+
}).passthrough().describe("Response model for listing action items.")
|
|
63
63
|
});
|
|
64
64
|
//#endregion
|
|
65
65
|
export { rootlyListActionItems };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-action-items.mjs","names":[],"sources":["../../src/actions/list-action-items.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RootlyListActionItemsInput = z.object({\n kind: z.enum([\"task\", \"follow_up\"]).describe(\"Kind of action item in Rootly.\").optional(),\n status: z.enum([\"open\", \"in_progress\", \"cancelled\", \"done\"]).describe(\"Status of action items.\").optional(),\n priority: z.enum([\"high\", \"medium\", \"low\"]).describe(\"Priority levels for action items.\").optional(),\n page_size: z.number().int().describe(\"Number of items per page\").optional(),\n page_number: z.number().int().describe(\"Page number for pagination\").optional(),\n}).describe(\"Request model for listing action items.\");\nconst RootlyListActionItems_ActionItemAttributesSchema = z.object({\n kind: z.string().describe(\"The kind of the action item (task or follow_up)\").nullable().optional(),\n status: z.string().describe(\"The status of the action item (open, in_progress, cancelled, done)\").nullable().optional(),\n summary: z.string().describe(\"The summary of the action item\").nullable(),\n due_date: z.string().describe(\"The due date of the action item\").nullable().optional(),\n priority: z.string().describe(\"The priority of the action item (high, medium, low)\").nullable().optional(),\n created_at: z.string().describe(\"Date of creation\").nullable(),\n updated_at: z.string().describe(\"Date of last update\").nullable(),\n description: z.string().describe(\"The description of the action item\").nullable().optional(),\n jira_issue_id: z.string().describe(\"The Jira issue ID\").nullable().optional(),\n jira_issue_url: z.string().describe(\"The Jira issue URL\").nullable().optional(),\n assigned_to_user_id: z.number().int().describe(\"ID of user assigned to this action item\").nullable().optional(),\n assigned_to_group_ids: z.array(z.string()).describe(\"IDs of groups assigned to this action item\").nullable().optional(),\n}).describe(\"Model for action item attributes.\");\nconst RootlyListActionItems_ActionItemSchema = 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: RootlyListActionItems_ActionItemAttributesSchema.nullable(),\n}).describe(\"Model for action item.\");\nconst RootlyListActionItems_PaginationMetaSchema = z.object({\n next_page: z.number().int().describe(\"Next page number\").nullable().optional(),\n prev_page: z.number().int().describe(\"Previous page number\").nullable().optional(),\n total_count: z.number().int().describe(\"Total number of action items\").nullable().optional(),\n total_pages: z.number().int().describe(\"Total number of pages\").nullable().optional(),\n current_page: z.number().int().describe(\"Current page number\").nullable().optional(),\n}).describe(\"Model for pagination metadata.\");\nconst RootlyListActionItems_PaginationLinksSchema = z.object({\n last: z.string().describe(\"Link to last page\").nullable().optional(),\n next: z.string().describe(\"Link to next page\").nullable().optional(),\n prev: z.string().describe(\"Link to previous page\").nullable().optional(),\n self: z.string().describe(\"Link to current page\").nullable().optional(),\n first: z.string().describe(\"Link to first page\").nullable().optional(),\n}).describe(\"Model for pagination links.\");\nexport const RootlyListActionItemsOutput = z.object({\n data: z.array(RootlyListActionItems_ActionItemSchema).describe(\"List of action items\").nullable().optional(),\n meta: RootlyListActionItems_PaginationMetaSchema.nullable().optional(),\n links: RootlyListActionItems_PaginationLinksSchema.nullable().optional(),\n}).describe(\"Response model for listing action items.\");\n\nexport const rootlyListActionItems = action(\"ROOTLY_LIST_ACTION_ITEMS\", {\n slug: \"rootly-list-action-items\",\n name: \"List Action Items\",\n description: \"This tool retrieves a list of all action items for an organization in Rootly. Action items are tasks or follow-up items that need to be completed during or after an incident, helping to track and manage incident-related tasks effectively.\",\n input: RootlyListActionItemsInput,\n output: RootlyListActionItemsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO;CACjD,MAAM,EAAE,KAAK,CAAC,QAAQ,WAAW,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACxF,QAAQ,EAAE,KAAK;EAAC;EAAQ;EAAe;EAAa;CAAM,CAAC,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC1G,UAAU,EAAE,KAAK;EAAC;EAAQ;EAAU;CAAK,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACnG,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC1E,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,mDAAmD,EAAE,OAAO;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACxE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CAC7D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAChE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,qBAAqB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,uBAAuB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,SAAS,mCAAmC;
|
|
1
|
+
{"version":3,"file":"list-action-items.mjs","names":[],"sources":["../../src/actions/list-action-items.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RootlyListActionItemsInput = z.object({\n kind: z.enum([\"task\", \"follow_up\"]).describe(\"Kind of action item in Rootly.\").optional(),\n status: z.enum([\"open\", \"in_progress\", \"cancelled\", \"done\"]).describe(\"Status of action items.\").optional(),\n priority: z.enum([\"high\", \"medium\", \"low\"]).describe(\"Priority levels for action items.\").optional(),\n page_size: z.number().int().describe(\"Number of items per page\").optional(),\n page_number: z.number().int().describe(\"Page number for pagination\").optional(),\n}).describe(\"Request model for listing action items.\");\nconst RootlyListActionItems_ActionItemAttributesSchema = z.object({\n kind: z.string().describe(\"The kind of the action item (task or follow_up)\").nullable().optional(),\n status: z.string().describe(\"The status of the action item (open, in_progress, cancelled, done)\").nullable().optional(),\n summary: z.string().describe(\"The summary of the action item\").nullable(),\n due_date: z.string().describe(\"The due date of the action item\").nullable().optional(),\n priority: z.string().describe(\"The priority of the action item (high, medium, low)\").nullable().optional(),\n created_at: z.string().describe(\"Date of creation\").nullable(),\n updated_at: z.string().describe(\"Date of last update\").nullable(),\n description: z.string().describe(\"The description of the action item\").nullable().optional(),\n jira_issue_id: z.string().describe(\"The Jira issue ID\").nullable().optional(),\n jira_issue_url: z.string().describe(\"The Jira issue URL\").nullable().optional(),\n assigned_to_user_id: z.number().int().describe(\"ID of user assigned to this action item\").nullable().optional(),\n assigned_to_group_ids: z.array(z.string()).describe(\"IDs of groups assigned to this action item\").nullable().optional(),\n}).passthrough().describe(\"Model for action item attributes.\");\nconst RootlyListActionItems_ActionItemSchema = 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: RootlyListActionItems_ActionItemAttributesSchema.nullable(),\n}).passthrough().describe(\"Model for action item.\");\nconst RootlyListActionItems_PaginationMetaSchema = z.object({\n next_page: z.number().int().describe(\"Next page number\").nullable().optional(),\n prev_page: z.number().int().describe(\"Previous page number\").nullable().optional(),\n total_count: z.number().int().describe(\"Total number of action items\").nullable().optional(),\n total_pages: z.number().int().describe(\"Total number of pages\").nullable().optional(),\n current_page: z.number().int().describe(\"Current page number\").nullable().optional(),\n}).passthrough().describe(\"Model for pagination metadata.\");\nconst RootlyListActionItems_PaginationLinksSchema = z.object({\n last: z.string().describe(\"Link to last page\").nullable().optional(),\n next: z.string().describe(\"Link to next page\").nullable().optional(),\n prev: z.string().describe(\"Link to previous page\").nullable().optional(),\n self: z.string().describe(\"Link to current page\").nullable().optional(),\n first: z.string().describe(\"Link to first page\").nullable().optional(),\n}).passthrough().describe(\"Model for pagination links.\");\nexport const RootlyListActionItemsOutput = z.object({\n data: z.array(RootlyListActionItems_ActionItemSchema).describe(\"List of action items\").nullable().optional(),\n meta: RootlyListActionItems_PaginationMetaSchema.nullable().optional(),\n links: RootlyListActionItems_PaginationLinksSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for listing action items.\");\n\nexport const rootlyListActionItems = action(\"ROOTLY_LIST_ACTION_ITEMS\", {\n slug: \"rootly-list-action-items\",\n name: \"List Action Items\",\n description: \"This tool retrieves a list of all action items for an organization in Rootly. Action items are tasks or follow-up items that need to be completed during or after an incident, helping to track and manage incident-related tasks effectively.\",\n input: RootlyListActionItemsInput,\n output: RootlyListActionItemsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO;CACjD,MAAM,EAAE,KAAK,CAAC,QAAQ,WAAW,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACxF,QAAQ,EAAE,KAAK;EAAC;EAAQ;EAAe;EAAa;CAAM,CAAC,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC1G,UAAU,EAAE,KAAK;EAAC;EAAQ;EAAU;CAAK,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACnG,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC1E,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,mDAAmD,EAAE,OAAO;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,SAAS,E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CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,MAAM,2CAA2C,SAAS,CAAC,CAAC,SAAS;EACrE,OAAO,4CAA4C,SAAS,CAAC,CAAC,SAAS;CACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAOhB;AACV,CAAC"}
|
|
@@ -48,14 +48,14 @@ const RootlyUpdateIncident_IncidentAttributesSchema = zod.z.object({
|
|
|
48
48
|
cancellation_message: zod.z.string().describe("Cancellation message").nullable().optional(),
|
|
49
49
|
duplicate_incident_id: zod.z.string().describe("Duplicate incident reference").nullable().optional(),
|
|
50
50
|
slack_channel_archived: zod.z.boolean().describe("Whether Slack channel is archived").nullable().optional()
|
|
51
|
-
}).describe("Model for incident attributes in the response.");
|
|
51
|
+
}).passthrough().describe("Model for incident attributes in the response.");
|
|
52
52
|
const RootlyUpdateIncident_IncidentDataSchema = zod.z.object({
|
|
53
53
|
id: zod.z.string().describe("Unique incident identifier").nullable(),
|
|
54
54
|
type: zod.z.string().describe("Resource type (incidents)").nullable(),
|
|
55
55
|
attributes: RootlyUpdateIncident_IncidentAttributesSchema.nullable(),
|
|
56
56
|
relationships: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Related resources").nullable().optional()
|
|
57
|
-
}).describe("Model for incident data in the response.");
|
|
58
|
-
const RootlyUpdateIncidentOutput = zod.z.object({ data: RootlyUpdateIncident_IncidentDataSchema.nullable() }).describe("Response model for updating an incident.");
|
|
57
|
+
}).passthrough().describe("Model for incident data in the response.");
|
|
58
|
+
const RootlyUpdateIncidentOutput = zod.z.object({ data: RootlyUpdateIncident_IncidentDataSchema.nullable() }).passthrough().describe("Response model for updating an incident.");
|
|
59
59
|
const rootlyUpdateIncident = require_action.action("ROOTLY_UPDATE_INCIDENT", {
|
|
60
60
|
slug: "rootly-update-incident",
|
|
61
61
|
name: "Update Incident",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-incident.cjs","names":["z","action"],"sources":["../../src/actions/update-incident.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RootlyUpdateIncidentInput = z.object({\n id: z.string().describe(\"The ID of the incident to update (UUID or slug format)\"),\n data: z.object({\n type: z.string().default(\"incidents\").describe(\"Resource type, must be 'incidents'\").optional(),\n attributes: z.record(z.string(), z.unknown()).describe(\"Incident attributes to update. Supported fields include: title (string), kind (string), status (string), summary (string), private (boolean), severity_id (string), public_title (string), parent_incident_id (string), duplicate_incident_id (string), alert_ids (array), service_ids (array), environment_ids (array), incident_type_ids (array), functionality_ids (array), group_ids (array), cause_ids (array), muted_service_ids (array), labels (object), slack_channel_id, slack_channel_name, slack_channel_url, slack_channel_archived, jira_issue_key, jira_issue_id, jira_issue_url, google_drive_id, google_drive_url, scheduled_for, scheduled_until, started_at, mitigated_at, resolved_at, mitigation_message, resolution_message, cancellation_message, and other incident fields. Only include fields you want to update.\"),\n}).describe(\"Data object containing the incident type and attributes to update\"),\n}).describe(\"Request model for updating an incident.\");\nconst RootlyUpdateIncident_IncidentAttributesSchema = z.object({\n kind: z.string().describe(\"Incident kind\").nullable().optional(),\n slug: z.string().describe(\"URL-friendly identifier\").nullable().optional(),\n title: z.string().describe(\"Incident title\").nullable().optional(),\n labels: z.record(z.string(), z.unknown()).describe(\"Custom labels\").nullable().optional(),\n status: z.string().describe(\"Incident status\").nullable().optional(),\n private: z.boolean().describe(\"Whether incident is private\").nullable().optional(),\n summary: z.string().describe(\"Incident summary\").nullable().optional(),\n alert_ids: z.array(z.string()).describe(\"Alert identifiers\").nullable().optional(),\n cause_ids: z.array(z.string()).describe(\"Cause identifiers\").nullable().optional(),\n group_ids: z.array(z.string()).describe(\"Group identifiers\").nullable().optional(),\n created_at: z.string().describe(\"Creation timestamp\").nullable().optional(),\n started_at: z.string().describe(\"Incident start timestamp\").nullable().optional(),\n updated_at: z.string().describe(\"Last update timestamp\").nullable().optional(),\n resolved_at: z.string().describe(\"Incident resolution timestamp\").nullable().optional(),\n service_ids: z.array(z.string()).describe(\"Service identifiers\").nullable().optional(),\n severity_id: z.string().describe(\"Severity identifier\").nullable().optional(),\n mitigated_at: z.string().describe(\"Incident mitigation timestamp\").nullable().optional(),\n public_title: z.string().describe(\"Public-facing title\").nullable().optional(),\n jira_issue_id: z.string().describe(\"Jira issue ID\").nullable().optional(),\n scheduled_for: z.string().describe(\"Scheduled start timestamp\").nullable().optional(),\n sequential_id: z.number().int().describe(\"Sequential numeric identifier\").nullable().optional(),\n jira_issue_key: z.string().describe(\"Jira issue key\").nullable().optional(),\n jira_issue_url: z.string().describe(\"Jira issue URL\").nullable().optional(),\n environment_ids: z.array(z.string()).describe(\"Environment identifiers\").nullable().optional(),\n google_drive_id: z.string().describe(\"Google Drive ID\").nullable().optional(),\n scheduled_until: z.string().describe(\"Scheduled end timestamp\").nullable().optional(),\n google_drive_url: z.string().describe(\"Google Drive URL\").nullable().optional(),\n slack_channel_id: z.string().describe(\"Slack channel ID\").nullable().optional(),\n functionality_ids: z.array(z.string()).describe(\"Functionality identifiers\").nullable().optional(),\n incident_type_ids: z.array(z.string()).describe(\"Incident type identifiers\").nullable().optional(),\n muted_service_ids: z.array(z.string()).describe(\"Muted service identifiers\").nullable().optional(),\n slack_channel_url: z.string().describe(\"Slack channel URL\").nullable().optional(),\n mitigation_message: z.string().describe(\"Mitigation message\").nullable().optional(),\n parent_incident_id: z.string().describe(\"Parent incident reference\").nullable().optional(),\n resolution_message: z.string().describe(\"Resolution message\").nullable().optional(),\n slack_channel_name: z.string().describe(\"Slack channel name\").nullable().optional(),\n cancellation_message: z.string().describe(\"Cancellation message\").nullable().optional(),\n duplicate_incident_id: z.string().describe(\"Duplicate incident reference\").nullable().optional(),\n slack_channel_archived: z.boolean().describe(\"Whether Slack channel is archived\").nullable().optional(),\n}).describe(\"Model for incident attributes in the response.\");\nconst RootlyUpdateIncident_IncidentDataSchema = z.object({\n id: z.string().describe(\"Unique incident identifier\").nullable(),\n type: z.string().describe(\"Resource type (incidents)\").nullable(),\n attributes: RootlyUpdateIncident_IncidentAttributesSchema.nullable(),\n relationships: z.record(z.string(), z.unknown()).describe(\"Related resources\").nullable().optional(),\n}).describe(\"Model for incident data in the response.\");\nexport const RootlyUpdateIncidentOutput = z.object({\n data: RootlyUpdateIncident_IncidentDataSchema.nullable(),\n}).describe(\"Response model for updating an incident.\");\n\nexport const rootlyUpdateIncident = action(\"ROOTLY_UPDATE_INCIDENT\", {\n slug: \"rootly-update-incident\",\n name: \"Update Incident\",\n description: \"Tool to update fields on an existing Rootly incident by ID. Use when you need to modify incident status, severity, metadata, or other attributes. Supports updating title, status, summary, severity_id, service_ids, environment_ids, and more.\",\n input: RootlyUpdateIncidentInput,\n output: RootlyUpdateIncidentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CAChF,MAAMA,IAAAA,EAAE,OAAO;EACf,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,WAAW,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAC9F,YAAYA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6yBAA6yB;CACt2B,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjE,Q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AAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,YAAY,8CAA8C,SAAS;CACnE,eAAeA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,MAAM,wCAAwC,SAAS,EACzD,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAEtD,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"update-incident.cjs","names":["z","action"],"sources":["../../src/actions/update-incident.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RootlyUpdateIncidentInput = z.object({\n id: z.string().describe(\"The ID of the incident to update (UUID or slug format)\"),\n data: z.object({\n type: z.string().default(\"incidents\").describe(\"Resource type, must be 'incidents'\").optional(),\n attributes: z.record(z.string(), z.unknown()).describe(\"Incident attributes to update. Supported fields include: title (string), kind (string), status (string), summary (string), private (boolean), severity_id (string), public_title (string), parent_incident_id (string), duplicate_incident_id (string), alert_ids (array), service_ids (array), environment_ids (array), incident_type_ids (array), functionality_ids (array), group_ids (array), cause_ids (array), muted_service_ids (array), labels (object), slack_channel_id, slack_channel_name, slack_channel_url, slack_channel_archived, jira_issue_key, jira_issue_id, jira_issue_url, google_drive_id, google_drive_url, scheduled_for, scheduled_until, started_at, mitigated_at, resolved_at, mitigation_message, resolution_message, cancellation_message, and other incident fields. Only include fields you want to update.\"),\n}).describe(\"Data object containing the incident type and attributes to update\"),\n}).describe(\"Request model for updating an incident.\");\nconst RootlyUpdateIncident_IncidentAttributesSchema = z.object({\n kind: z.string().describe(\"Incident kind\").nullable().optional(),\n slug: z.string().describe(\"URL-friendly identifier\").nullable().optional(),\n title: z.string().describe(\"Incident title\").nullable().optional(),\n labels: z.record(z.string(), z.unknown()).describe(\"Custom labels\").nullable().optional(),\n status: z.string().describe(\"Incident status\").nullable().optional(),\n private: z.boolean().describe(\"Whether incident is private\").nullable().optional(),\n summary: z.string().describe(\"Incident summary\").nullable().optional(),\n alert_ids: z.array(z.string()).describe(\"Alert identifiers\").nullable().optional(),\n cause_ids: z.array(z.string()).describe(\"Cause identifiers\").nullable().optional(),\n group_ids: z.array(z.string()).describe(\"Group identifiers\").nullable().optional(),\n created_at: z.string().describe(\"Creation timestamp\").nullable().optional(),\n started_at: z.string().describe(\"Incident start timestamp\").nullable().optional(),\n updated_at: z.string().describe(\"Last update timestamp\").nullable().optional(),\n resolved_at: z.string().describe(\"Incident resolution timestamp\").nullable().optional(),\n service_ids: z.array(z.string()).describe(\"Service identifiers\").nullable().optional(),\n severity_id: z.string().describe(\"Severity identifier\").nullable().optional(),\n mitigated_at: z.string().describe(\"Incident mitigation timestamp\").nullable().optional(),\n public_title: z.string().describe(\"Public-facing title\").nullable().optional(),\n jira_issue_id: z.string().describe(\"Jira issue ID\").nullable().optional(),\n scheduled_for: z.string().describe(\"Scheduled start timestamp\").nullable().optional(),\n sequential_id: z.number().int().describe(\"Sequential numeric identifier\").nullable().optional(),\n jira_issue_key: z.string().describe(\"Jira issue key\").nullable().optional(),\n jira_issue_url: z.string().describe(\"Jira issue URL\").nullable().optional(),\n environment_ids: z.array(z.string()).describe(\"Environment identifiers\").nullable().optional(),\n google_drive_id: z.string().describe(\"Google Drive ID\").nullable().optional(),\n scheduled_until: z.string().describe(\"Scheduled end timestamp\").nullable().optional(),\n google_drive_url: z.string().describe(\"Google Drive URL\").nullable().optional(),\n slack_channel_id: z.string().describe(\"Slack channel ID\").nullable().optional(),\n functionality_ids: z.array(z.string()).describe(\"Functionality identifiers\").nullable().optional(),\n incident_type_ids: z.array(z.string()).describe(\"Incident type identifiers\").nullable().optional(),\n muted_service_ids: z.array(z.string()).describe(\"Muted service identifiers\").nullable().optional(),\n slack_channel_url: z.string().describe(\"Slack channel URL\").nullable().optional(),\n mitigation_message: z.string().describe(\"Mitigation message\").nullable().optional(),\n parent_incident_id: z.string().describe(\"Parent incident reference\").nullable().optional(),\n resolution_message: z.string().describe(\"Resolution message\").nullable().optional(),\n slack_channel_name: z.string().describe(\"Slack channel name\").nullable().optional(),\n cancellation_message: z.string().describe(\"Cancellation message\").nullable().optional(),\n duplicate_incident_id: z.string().describe(\"Duplicate incident reference\").nullable().optional(),\n slack_channel_archived: z.boolean().describe(\"Whether Slack channel is archived\").nullable().optional(),\n}).passthrough().describe(\"Model for incident attributes in the response.\");\nconst RootlyUpdateIncident_IncidentDataSchema = z.object({\n id: z.string().describe(\"Unique incident identifier\").nullable(),\n type: z.string().describe(\"Resource type (incidents)\").nullable(),\n attributes: RootlyUpdateIncident_IncidentAttributesSchema.nullable(),\n relationships: z.record(z.string(), z.unknown()).describe(\"Related resources\").nullable().optional(),\n}).passthrough().describe(\"Model for incident data in the response.\");\nexport const RootlyUpdateIncidentOutput = z.object({\n data: RootlyUpdateIncident_IncidentDataSchema.nullable(),\n}).passthrough().describe(\"Response model for updating an incident.\");\n\nexport const rootlyUpdateIncident = action(\"ROOTLY_UPDATE_INCIDENT\", {\n slug: \"rootly-update-incident\",\n name: \"Update Incident\",\n description: \"Tool to update fields on an existing Rootly incident by ID. Use when you need to modify incident status, severity, metadata, or other attributes. Supports updating title, status, summary, severity_id, service_ids, environment_ids, and more.\",\n input: RootlyUpdateIncidentInput,\n output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AC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,MAAM,wCAAwC,SAAS,EACzD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAEpE,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -52,10 +52,10 @@ declare const RootlyUpdateIncidentOutput: z.ZodObject<{
|
|
|
52
52
|
cancellation_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
53
53
|
duplicate_incident_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
54
54
|
slack_channel_archived: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
55
|
-
}, z.core.$
|
|
55
|
+
}, z.core.$loose>>;
|
|
56
56
|
relationships: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
57
|
-
}, z.core.$
|
|
58
|
-
}, z.core.$
|
|
57
|
+
}, z.core.$loose>>;
|
|
58
|
+
}, z.core.$loose>;
|
|
59
59
|
declare const rootlyUpdateIncident: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
60
60
|
id: string;
|
|
61
61
|
data: {
|
|
@@ -52,10 +52,10 @@ declare const RootlyUpdateIncidentOutput: z.ZodObject<{
|
|
|
52
52
|
cancellation_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
53
53
|
duplicate_incident_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
54
54
|
slack_channel_archived: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
55
|
-
}, z.core.$
|
|
55
|
+
}, z.core.$loose>>;
|
|
56
56
|
relationships: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
57
|
-
}, z.core.$
|
|
58
|
-
}, z.core.$
|
|
57
|
+
}, z.core.$loose>>;
|
|
58
|
+
}, z.core.$loose>;
|
|
59
59
|
declare const rootlyUpdateIncident: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
60
60
|
id: string;
|
|
61
61
|
data: {
|
|
@@ -48,19 +48,19 @@ const RootlyUpdateIncident_IncidentAttributesSchema = z.object({
|
|
|
48
48
|
cancellation_message: z.string().describe("Cancellation message").nullable().optional(),
|
|
49
49
|
duplicate_incident_id: z.string().describe("Duplicate incident reference").nullable().optional(),
|
|
50
50
|
slack_channel_archived: z.boolean().describe("Whether Slack channel is archived").nullable().optional()
|
|
51
|
-
}).describe("Model for incident attributes in the response.");
|
|
51
|
+
}).passthrough().describe("Model for incident attributes in the response.");
|
|
52
52
|
const RootlyUpdateIncident_IncidentDataSchema = z.object({
|
|
53
53
|
id: z.string().describe("Unique incident identifier").nullable(),
|
|
54
54
|
type: z.string().describe("Resource type (incidents)").nullable(),
|
|
55
55
|
attributes: RootlyUpdateIncident_IncidentAttributesSchema.nullable(),
|
|
56
56
|
relationships: z.record(z.string(), z.unknown()).describe("Related resources").nullable().optional()
|
|
57
|
-
}).describe("Model for incident data in the response.");
|
|
57
|
+
}).passthrough().describe("Model for incident data in the response.");
|
|
58
58
|
const rootlyUpdateIncident = action("ROOTLY_UPDATE_INCIDENT", {
|
|
59
59
|
slug: "rootly-update-incident",
|
|
60
60
|
name: "Update Incident",
|
|
61
61
|
description: "Tool to update fields on an existing Rootly incident by ID. Use when you need to modify incident status, severity, metadata, or other attributes. Supports updating title, status, summary, severity_id, service_ids, environment_ids, and more.",
|
|
62
62
|
input: RootlyUpdateIncidentInput,
|
|
63
|
-
output: z.object({ data: RootlyUpdateIncident_IncidentDataSchema.nullable() }).describe("Response model for updating an incident.")
|
|
63
|
+
output: z.object({ data: RootlyUpdateIncident_IncidentDataSchema.nullable() }).passthrough().describe("Response model for updating an incident.")
|
|
64
64
|
});
|
|
65
65
|
//#endregion
|
|
66
66
|
export { rootlyUpdateIncident };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-incident.mjs","names":[],"sources":["../../src/actions/update-incident.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RootlyUpdateIncidentInput = z.object({\n id: z.string().describe(\"The ID of the incident to update (UUID or slug format)\"),\n data: z.object({\n type: z.string().default(\"incidents\").describe(\"Resource type, must be 'incidents'\").optional(),\n attributes: z.record(z.string(), z.unknown()).describe(\"Incident attributes to update. Supported fields include: title (string), kind (string), status (string), summary (string), private (boolean), severity_id (string), public_title (string), parent_incident_id (string), duplicate_incident_id (string), alert_ids (array), service_ids (array), environment_ids (array), incident_type_ids (array), functionality_ids (array), group_ids (array), cause_ids (array), muted_service_ids (array), labels (object), slack_channel_id, slack_channel_name, slack_channel_url, slack_channel_archived, jira_issue_key, jira_issue_id, jira_issue_url, google_drive_id, google_drive_url, scheduled_for, scheduled_until, started_at, mitigated_at, resolved_at, mitigation_message, resolution_message, cancellation_message, and other incident fields. Only include fields you want to update.\"),\n}).describe(\"Data object containing the incident type and attributes to update\"),\n}).describe(\"Request model for updating an incident.\");\nconst RootlyUpdateIncident_IncidentAttributesSchema = z.object({\n kind: z.string().describe(\"Incident kind\").nullable().optional(),\n slug: z.string().describe(\"URL-friendly identifier\").nullable().optional(),\n title: z.string().describe(\"Incident title\").nullable().optional(),\n labels: z.record(z.string(), z.unknown()).describe(\"Custom labels\").nullable().optional(),\n status: z.string().describe(\"Incident status\").nullable().optional(),\n private: z.boolean().describe(\"Whether incident is private\").nullable().optional(),\n summary: z.string().describe(\"Incident summary\").nullable().optional(),\n alert_ids: z.array(z.string()).describe(\"Alert identifiers\").nullable().optional(),\n cause_ids: z.array(z.string()).describe(\"Cause identifiers\").nullable().optional(),\n group_ids: z.array(z.string()).describe(\"Group identifiers\").nullable().optional(),\n created_at: z.string().describe(\"Creation timestamp\").nullable().optional(),\n started_at: z.string().describe(\"Incident start timestamp\").nullable().optional(),\n updated_at: z.string().describe(\"Last update timestamp\").nullable().optional(),\n resolved_at: z.string().describe(\"Incident resolution timestamp\").nullable().optional(),\n service_ids: z.array(z.string()).describe(\"Service identifiers\").nullable().optional(),\n severity_id: z.string().describe(\"Severity identifier\").nullable().optional(),\n mitigated_at: z.string().describe(\"Incident mitigation timestamp\").nullable().optional(),\n public_title: z.string().describe(\"Public-facing title\").nullable().optional(),\n jira_issue_id: z.string().describe(\"Jira issue ID\").nullable().optional(),\n scheduled_for: z.string().describe(\"Scheduled start timestamp\").nullable().optional(),\n sequential_id: z.number().int().describe(\"Sequential numeric identifier\").nullable().optional(),\n jira_issue_key: z.string().describe(\"Jira issue key\").nullable().optional(),\n jira_issue_url: z.string().describe(\"Jira issue URL\").nullable().optional(),\n environment_ids: z.array(z.string()).describe(\"Environment identifiers\").nullable().optional(),\n google_drive_id: z.string().describe(\"Google Drive ID\").nullable().optional(),\n scheduled_until: z.string().describe(\"Scheduled end timestamp\").nullable().optional(),\n google_drive_url: z.string().describe(\"Google Drive URL\").nullable().optional(),\n slack_channel_id: z.string().describe(\"Slack channel ID\").nullable().optional(),\n functionality_ids: z.array(z.string()).describe(\"Functionality identifiers\").nullable().optional(),\n incident_type_ids: z.array(z.string()).describe(\"Incident type identifiers\").nullable().optional(),\n muted_service_ids: z.array(z.string()).describe(\"Muted service identifiers\").nullable().optional(),\n slack_channel_url: z.string().describe(\"Slack channel URL\").nullable().optional(),\n mitigation_message: z.string().describe(\"Mitigation message\").nullable().optional(),\n parent_incident_id: z.string().describe(\"Parent incident reference\").nullable().optional(),\n resolution_message: z.string().describe(\"Resolution message\").nullable().optional(),\n slack_channel_name: z.string().describe(\"Slack channel name\").nullable().optional(),\n cancellation_message: z.string().describe(\"Cancellation message\").nullable().optional(),\n duplicate_incident_id: z.string().describe(\"Duplicate incident reference\").nullable().optional(),\n slack_channel_archived: z.boolean().describe(\"Whether Slack channel is archived\").nullable().optional(),\n}).describe(\"Model for incident attributes in the response.\");\nconst RootlyUpdateIncident_IncidentDataSchema = z.object({\n id: z.string().describe(\"Unique incident identifier\").nullable(),\n type: z.string().describe(\"Resource type (incidents)\").nullable(),\n attributes: RootlyUpdateIncident_IncidentAttributesSchema.nullable(),\n relationships: z.record(z.string(), z.unknown()).describe(\"Related resources\").nullable().optional(),\n}).describe(\"Model for incident data in the response.\");\nexport const RootlyUpdateIncidentOutput = z.object({\n data: RootlyUpdateIncident_IncidentDataSchema.nullable(),\n}).describe(\"Response model for updating an incident.\");\n\nexport const rootlyUpdateIncident = action(\"ROOTLY_UPDATE_INCIDENT\", {\n slug: \"rootly-update-incident\",\n name: \"Update Incident\",\n description: \"Tool to update fields on an existing Rootly incident by ID. Use when you need to modify incident status, severity, metadata, or other attributes. Supports updating title, status, summary, severity_id, service_ids, environment_ids, and more.\",\n input: RootlyUpdateIncidentInput,\n output: RootlyUpdateIncidentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CAChF,MAAM,EAAE,OAAO;EACf,MAAM,EAAE,OAAO,CAAC,CAAC,QAAQ,WAAW,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAC9F,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6yBAA6yB;CACt2B,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,gDAAgD,EAAE,OAAO;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gB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,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAKtD,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATwC,EAAE,OAAO,EACjD,MAAM,wCAAwC,SAAS,EACzD,CAAC,CAAC,CAAC,SAAS,0CAOF;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"update-incident.mjs","names":[],"sources":["../../src/actions/update-incident.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RootlyUpdateIncidentInput = z.object({\n id: z.string().describe(\"The ID of the incident to update (UUID or slug format)\"),\n data: z.object({\n type: z.string().default(\"incidents\").describe(\"Resource type, must be 'incidents'\").optional(),\n attributes: z.record(z.string(), z.unknown()).describe(\"Incident attributes to update. Supported fields include: title (string), kind (string), status (string), summary (string), private (boolean), severity_id (string), public_title (string), parent_incident_id (string), duplicate_incident_id (string), alert_ids (array), service_ids (array), environment_ids (array), incident_type_ids (array), functionality_ids (array), group_ids (array), cause_ids (array), muted_service_ids (array), labels (object), slack_channel_id, slack_channel_name, slack_channel_url, slack_channel_archived, jira_issue_key, jira_issue_id, jira_issue_url, google_drive_id, google_drive_url, scheduled_for, scheduled_until, started_at, mitigated_at, resolved_at, mitigation_message, resolution_message, cancellation_message, and other incident fields. Only include fields you want to update.\"),\n}).describe(\"Data object containing the incident type and attributes to update\"),\n}).describe(\"Request model for updating an incident.\");\nconst RootlyUpdateIncident_IncidentAttributesSchema = z.object({\n kind: z.string().describe(\"Incident kind\").nullable().optional(),\n slug: z.string().describe(\"URL-friendly identifier\").nullable().optional(),\n title: z.string().describe(\"Incident title\").nullable().optional(),\n labels: z.record(z.string(), z.unknown()).describe(\"Custom labels\").nullable().optional(),\n status: z.string().describe(\"Incident status\").nullable().optional(),\n private: z.boolean().describe(\"Whether incident is private\").nullable().optional(),\n summary: z.string().describe(\"Incident summary\").nullable().optional(),\n alert_ids: z.array(z.string()).describe(\"Alert identifiers\").nullable().optional(),\n cause_ids: z.array(z.string()).describe(\"Cause identifiers\").nullable().optional(),\n group_ids: z.array(z.string()).describe(\"Group identifiers\").nullable().optional(),\n created_at: z.string().describe(\"Creation timestamp\").nullable().optional(),\n started_at: z.string().describe(\"Incident start timestamp\").nullable().optional(),\n updated_at: z.string().describe(\"Last update timestamp\").nullable().optional(),\n resolved_at: z.string().describe(\"Incident resolution timestamp\").nullable().optional(),\n service_ids: z.array(z.string()).describe(\"Service identifiers\").nullable().optional(),\n severity_id: z.string().describe(\"Severity identifier\").nullable().optional(),\n mitigated_at: z.string().describe(\"Incident mitigation timestamp\").nullable().optional(),\n public_title: z.string().describe(\"Public-facing title\").nullable().optional(),\n jira_issue_id: z.string().describe(\"Jira issue ID\").nullable().optional(),\n scheduled_for: z.string().describe(\"Scheduled start timestamp\").nullable().optional(),\n sequential_id: z.number().int().describe(\"Sequential numeric identifier\").nullable().optional(),\n jira_issue_key: z.string().describe(\"Jira issue key\").nullable().optional(),\n jira_issue_url: z.string().describe(\"Jira issue URL\").nullable().optional(),\n environment_ids: z.array(z.string()).describe(\"Environment identifiers\").nullable().optional(),\n google_drive_id: z.string().describe(\"Google Drive ID\").nullable().optional(),\n scheduled_until: z.string().describe(\"Scheduled end timestamp\").nullable().optional(),\n google_drive_url: z.string().describe(\"Google Drive URL\").nullable().optional(),\n slack_channel_id: z.string().describe(\"Slack channel ID\").nullable().optional(),\n functionality_ids: z.array(z.string()).describe(\"Functionality identifiers\").nullable().optional(),\n incident_type_ids: z.array(z.string()).describe(\"Incident type identifiers\").nullable().optional(),\n muted_service_ids: z.array(z.string()).describe(\"Muted service identifiers\").nullable().optional(),\n slack_channel_url: z.string().describe(\"Slack channel URL\").nullable().optional(),\n mitigation_message: z.string().describe(\"Mitigation message\").nullable().optional(),\n parent_incident_id: z.string().describe(\"Parent incident reference\").nullable().optional(),\n resolution_message: z.string().describe(\"Resolution message\").nullable().optional(),\n slack_channel_name: z.string().describe(\"Slack channel name\").nullable().optional(),\n cancellation_message: z.string().describe(\"Cancellation message\").nullable().optional(),\n duplicate_incident_id: z.string().describe(\"Duplicate incident reference\").nullable().optional(),\n slack_channel_archived: z.boolean().describe(\"Whether Slack channel is archived\").nullable().optional(),\n}).passthrough().describe(\"Model for incident attributes in the response.\");\nconst RootlyUpdateIncident_IncidentDataSchema = z.object({\n id: z.string().describe(\"Unique incident identifier\").nullable(),\n type: z.string().describe(\"Resource type (incidents)\").nullable(),\n attributes: RootlyUpdateIncident_IncidentAttributesSchema.nullable(),\n relationships: z.record(z.string(), z.unknown()).describe(\"Related resources\").nullable().optional(),\n}).passthrough().describe(\"Model for incident data in the response.\");\nexport const RootlyUpdateIncidentOutput = z.object({\n data: RootlyUpdateIncident_IncidentDataSchema.nullable(),\n}).passthrough().describe(\"Response model for updating an incident.\");\n\nexport const rootlyUpdateIncident = action(\"ROOTLY_UPDATE_INCIDENT\", {\n slug: \"rootly-update-incident\",\n name: \"Update Incident\",\n description: \"Tool to update fields on an existing Rootly incident by ID. Use when you need to modify incident status, severity, metadata, or other attributes. Supports updating title, status, summary, severity_id, service_ids, environment_ids, and more.\",\n input: RootlyUpdateIncidentInput,\n output: RootlyUpdateIncidentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CAChF,MAAM,EAAE,OAAO;EACf,MAAM,EAAE,OAAO,CAAC,CAAC,QAAQ,WAAW,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAC9F,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6yBAA6yB;CACt2B,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,gDAAgD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,gDAAgD;AAC1E,MAAM,0CAA0C,EAAE,OAAO;CACvD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,YAAY,8CAA8C,SAAS;CACnE,eAAe,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAKpE,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATwC,EAAE,OAAO,EACjD,MAAM,wCAAwC,SAAS,EACzD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAOhB;AACV,CAAC"}
|
package/dist/catalog.cjs
CHANGED
|
@@ -8,7 +8,7 @@ const rootlyCatalog = {
|
|
|
8
8
|
"logo": "https://logos.composio.dev/api/rootly",
|
|
9
9
|
"authKind": "keystroke",
|
|
10
10
|
"oauthScopes": [],
|
|
11
|
-
"credentialFields": { "
|
|
11
|
+
"credentialFields": { "generic_api_key": {
|
|
12
12
|
"label": "Rootly API Key",
|
|
13
13
|
"secret": true,
|
|
14
14
|
"description": "The API key used for authenticating requests to the Rootly API."
|
package/dist/catalog.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const rootlyCatalog = {\n \"slug\": \"rootly\",\n \"name\": \"Rootly\",\n \"description\": \"Rootly is an AI-native incident management platform that automates workflows and collaboration, integrating with Slack, PagerDuty, and other tools to streamline incident response.\",\n \"category\": \"IT Operations\",\n \"logo\": \"https://logos.composio.dev/api/rootly\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"
|
|
1
|
+
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const rootlyCatalog = {\n \"slug\": \"rootly\",\n \"name\": \"Rootly\",\n \"description\": \"Rootly is an AI-native incident management platform that automates workflows and collaboration, integrating with Slack, PagerDuty, and other tools to streamline incident response.\",\n \"category\": \"IT Operations\",\n \"logo\": \"https://logos.composio.dev/api/rootly\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"generic_api_key\": {\n \"label\": \"Rootly API Key\",\n \"secret\": true,\n \"description\": \"The API key used for authenticating requests to the Rootly API.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,gBAAgB;CAC3B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,mBAAmB;EACjB,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
|
package/dist/catalog.d.cts
CHANGED
|
@@ -9,7 +9,7 @@ declare const rootlyCatalog: {
|
|
|
9
9
|
readonly authKind: "keystroke";
|
|
10
10
|
readonly oauthScopes: readonly [];
|
|
11
11
|
readonly credentialFields: {
|
|
12
|
-
readonly
|
|
12
|
+
readonly generic_api_key: {
|
|
13
13
|
readonly label: "Rootly API Key";
|
|
14
14
|
readonly secret: true;
|
|
15
15
|
readonly description: "The API key used for authenticating requests to the Rootly API.";
|
package/dist/catalog.d.mts
CHANGED
|
@@ -9,7 +9,7 @@ declare const rootlyCatalog: {
|
|
|
9
9
|
readonly authKind: "keystroke";
|
|
10
10
|
readonly oauthScopes: readonly [];
|
|
11
11
|
readonly credentialFields: {
|
|
12
|
-
readonly
|
|
12
|
+
readonly generic_api_key: {
|
|
13
13
|
readonly label: "Rootly API Key";
|
|
14
14
|
readonly secret: true;
|
|
15
15
|
readonly description: "The API key used for authenticating requests to the Rootly API.";
|
package/dist/catalog.mjs
CHANGED
|
@@ -8,7 +8,7 @@ const rootlyCatalog = {
|
|
|
8
8
|
"logo": "https://logos.composio.dev/api/rootly",
|
|
9
9
|
"authKind": "keystroke",
|
|
10
10
|
"oauthScopes": [],
|
|
11
|
-
"credentialFields": { "
|
|
11
|
+
"credentialFields": { "generic_api_key": {
|
|
12
12
|
"label": "Rootly API Key",
|
|
13
13
|
"secret": true,
|
|
14
14
|
"description": "The API key used for authenticating requests to the Rootly API."
|
package/dist/catalog.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const rootlyCatalog = {\n \"slug\": \"rootly\",\n \"name\": \"Rootly\",\n \"description\": \"Rootly is an AI-native incident management platform that automates workflows and collaboration, integrating with Slack, PagerDuty, and other tools to streamline incident response.\",\n \"category\": \"IT Operations\",\n \"logo\": \"https://logos.composio.dev/api/rootly\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"
|
|
1
|
+
{"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const rootlyCatalog = {\n \"slug\": \"rootly\",\n \"name\": \"Rootly\",\n \"description\": \"Rootly is an AI-native incident management platform that automates workflows and collaboration, integrating with Slack, PagerDuty, and other tools to streamline incident response.\",\n \"category\": \"IT Operations\",\n \"logo\": \"https://logos.composio.dev/api/rootly\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"generic_api_key\": {\n \"label\": \"Rootly API Key\",\n \"secret\": true,\n \"description\": \"The API key used for authenticating requests to the Rootly API.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,gBAAgB;CAC3B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,mBAAmB;EACjB,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
|