@keystrokehq/rootly 0.1.5 → 0.1.6

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.
Files changed (61) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/delete-action-item.cjs +1 -0
  4. package/dist/actions/delete-action-item.cjs.map +1 -1
  5. package/dist/actions/delete-action-item.d.cts +3 -15
  6. package/dist/actions/delete-action-item.d.cts.map +1 -1
  7. package/dist/actions/delete-action-item.d.mts +3 -15
  8. package/dist/actions/delete-action-item.d.mts.map +1 -1
  9. package/dist/actions/delete-action-item.mjs +1 -0
  10. package/dist/actions/delete-action-item.mjs.map +1 -1
  11. package/dist/actions/delete-incident.cjs +1 -0
  12. package/dist/actions/delete-incident.cjs.map +1 -1
  13. package/dist/actions/delete-incident.d.cts +3 -15
  14. package/dist/actions/delete-incident.d.cts.map +1 -1
  15. package/dist/actions/delete-incident.d.mts +3 -15
  16. package/dist/actions/delete-incident.d.mts.map +1 -1
  17. package/dist/actions/delete-incident.mjs +1 -0
  18. package/dist/actions/delete-incident.mjs.map +1 -1
  19. package/dist/actions/get-action-item.cjs +1 -0
  20. package/dist/actions/get-action-item.cjs.map +1 -1
  21. package/dist/actions/get-action-item.d.cts +3 -15
  22. package/dist/actions/get-action-item.d.cts.map +1 -1
  23. package/dist/actions/get-action-item.d.mts +3 -15
  24. package/dist/actions/get-action-item.d.mts.map +1 -1
  25. package/dist/actions/get-action-item.mjs +1 -0
  26. package/dist/actions/get-action-item.mjs.map +1 -1
  27. package/dist/actions/get-incident.cjs +1 -0
  28. package/dist/actions/get-incident.cjs.map +1 -1
  29. package/dist/actions/get-incident.d.cts +3 -16
  30. package/dist/actions/get-incident.d.cts.map +1 -1
  31. package/dist/actions/get-incident.d.mts +3 -16
  32. package/dist/actions/get-incident.d.mts.map +1 -1
  33. package/dist/actions/get-incident.mjs +1 -0
  34. package/dist/actions/get-incident.mjs.map +1 -1
  35. package/dist/actions/list-action-items.cjs +1 -0
  36. package/dist/actions/list-action-items.cjs.map +1 -1
  37. package/dist/actions/list-action-items.d.cts +3 -19
  38. package/dist/actions/list-action-items.d.cts.map +1 -1
  39. package/dist/actions/list-action-items.d.mts +3 -19
  40. package/dist/actions/list-action-items.d.mts.map +1 -1
  41. package/dist/actions/list-action-items.mjs +1 -0
  42. package/dist/actions/list-action-items.mjs.map +1 -1
  43. package/dist/actions/update-incident.cjs +1 -0
  44. package/dist/actions/update-incident.cjs.map +1 -1
  45. package/dist/actions/update-incident.d.cts +3 -19
  46. package/dist/actions/update-incident.d.cts.map +1 -1
  47. package/dist/actions/update-incident.d.mts +3 -19
  48. package/dist/actions/update-incident.d.mts.map +1 -1
  49. package/dist/actions/update-incident.mjs +1 -0
  50. package/dist/actions/update-incident.mjs.map +1 -1
  51. package/dist/app.cjs +2 -2
  52. package/dist/app.cjs.map +1 -1
  53. package/dist/app.d.cts +4 -6
  54. package/dist/app.d.cts.map +1 -1
  55. package/dist/app.d.mts +4 -6
  56. package/dist/app.d.mts.map +1 -1
  57. package/dist/app.mjs +0 -1
  58. package/dist/app.mjs.map +1 -1
  59. package/dist/index.d.cts +1 -1
  60. package/dist/index.d.mts +1 -1
  61. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"action.cjs","names":["rootly","executeRootlyTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { rootly } from \"./app\";\nimport { executeRootlyTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return rootly.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeRootlyTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,OAAO,OAAO;EACnB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,kBAAkB,MAAM,KAAgC,CAAC;EACzF;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.cjs","names":["rootly","executeRootlyTool"],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { rootly } from \"./app\";\nimport { executeRootlyTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof rootly.credential> {\n return rootly.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeRootlyTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAOsD;CACtD,OAAOA,YAAAA,OAAO,OAAO;EACnB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,kBAAkB,MAAM,KAAgC,CAAC;EACzF;CACF,CAAC;AACH"}
@@ -1 +1 @@
1
- {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { rootly } from \"./app\";\nimport { executeRootlyTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return rootly.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeRootlyTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,OAAO,OAAO;EACnB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,kBAAkB,MAAM,KAAgC,CAAC;EACzF;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { rootly } from \"./app\";\nimport { executeRootlyTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof rootly.credential> {\n return rootly.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeRootlyTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAOsD;CACtD,OAAO,OAAO,OAAO;EACnB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,kBAAkB,MAAM,KAAgC,CAAC;EACzF;CACF,CAAC;AACH"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/delete-action-item.ts
@@ -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}).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,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,YAAY,CAAC,CAAC,SAAS,4DAA4D;AACtF,MAAM,qDAAqDA,IAAAA,EAAE,OAAO;CAClE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC7E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACnF,YAAY,yDAAyD,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAAkC;AAC5D,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAM,mDAAmD,SAAS,CAAC,CAAC,SAAS;CAC7E,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-action-item.cjs","names":["z","action"],"sources":["../../src/actions/delete-action-item.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { rootly } from \"../app\";\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: AppAction<\n typeof RootlyDeleteActionItemInput,\n typeof RootlyDeleteActionItemOutput,\n typeof rootly.credential\n> = 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":";;;;AAMA,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,OAA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N,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { rootly } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/delete-action-item.d.ts
@@ -21,21 +23,7 @@ declare const RootlyDeleteActionItemOutput: z.ZodObject<{
21
23
  }, z.core.$loose>>>;
22
24
  success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
23
25
  }, z.core.$loose>;
24
- declare const rootlyDeleteActionItem: import("@keystrokehq/action").WorkflowActionDefinition<{
25
- action_item_id: string;
26
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"rootly", z.ZodObject<{
27
- connectionId: z.ZodString;
28
- entityId: z.ZodString;
29
- instanceId: z.ZodString;
30
- }, z.core.$strip>, z.ZodObject<{
31
- generic_api_key: z.ZodString;
32
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"rootly", z.ZodObject<{
33
- connectionId: z.ZodString;
34
- entityId: z.ZodString;
35
- instanceId: z.ZodString;
36
- }, z.core.$strip>, z.ZodObject<{
37
- generic_api_key: z.ZodString;
38
- }, z.core.$strip>>]>;
26
+ declare const rootlyDeleteActionItem: AppAction<typeof RootlyDeleteActionItemInput, typeof RootlyDeleteActionItemOutput, typeof rootly.credential>;
39
27
  //#endregion
40
28
  export { rootlyDeleteActionItem };
41
29
  //# sourceMappingURL=delete-action-item.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-action-item.d.cts","names":[],"sources":["../../src/actions/delete-action-item.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAkB3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAK5B,sBAAA,gCAAsB,wBAAA"}
1
+ {"version":3,"file":"delete-action-item.d.cts","names":[],"sources":["../../src/actions/delete-action-item.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAkB3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAK5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,MAAA,CAAO,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { rootly } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/delete-action-item.d.ts
@@ -21,21 +23,7 @@ declare const RootlyDeleteActionItemOutput: z.ZodObject<{
21
23
  }, z.core.$loose>>>;
22
24
  success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
23
25
  }, z.core.$loose>;
24
- declare const rootlyDeleteActionItem: import("@keystrokehq/action").WorkflowActionDefinition<{
25
- action_item_id: string;
26
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"rootly", z.ZodObject<{
27
- connectionId: z.ZodString;
28
- entityId: z.ZodString;
29
- instanceId: z.ZodString;
30
- }, z.core.$strip>, z.ZodObject<{
31
- generic_api_key: z.ZodString;
32
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"rootly", z.ZodObject<{
33
- connectionId: z.ZodString;
34
- entityId: z.ZodString;
35
- instanceId: z.ZodString;
36
- }, z.core.$strip>, z.ZodObject<{
37
- generic_api_key: z.ZodString;
38
- }, z.core.$strip>>]>;
26
+ declare const rootlyDeleteActionItem: AppAction<typeof RootlyDeleteActionItemInput, typeof RootlyDeleteActionItemOutput, typeof rootly.credential>;
39
27
  //#endregion
40
28
  export { rootlyDeleteActionItem };
41
29
  //# sourceMappingURL=delete-action-item.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-action-item.d.mts","names":[],"sources":["../../src/actions/delete-action-item.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAkB3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAK5B,sBAAA,gCAAsB,wBAAA"}
1
+ {"version":3,"file":"delete-action-item.d.mts","names":[],"sources":["../../src/actions/delete-action-item.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAkB3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAK5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,MAAA,CAAO,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/delete-action-item.ts
@@ -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}).passthrough().describe(\"Attributes of the deleted action item returned by the API.\");\nconst RootlyDeleteActionItem_DeletedActionItemDataSchema = z.object({\n id: z.string().describe(\"The unique ID of the deleted action item\").nullable(),\n type: z.string().describe(\"Type of the resource (incident_action_items)\").nullable(),\n attributes: RootlyDeleteActionItem_DeletedActionItemAttributesSchema.nullable().optional(),\n}).passthrough().describe(\"Data of the deleted action item.\");\nexport const RootlyDeleteActionItemOutput = z.object({\n data: RootlyDeleteActionItem_DeletedActionItemDataSchema.nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates if the action item was successfully deleted.\").nullable().optional(),\n}).passthrough().describe(\"Response model for delete action item operation.\");\n\nexport const rootlyDeleteActionItem = action(\"ROOTLY_DELETE_ACTION_ITEM\", {\n slug: \"rootly-delete-action-item\",\n name: \"Delete Action Item\",\n description: \"This tool allows for the deletion of a specific action item in Rootly. It complements the existing ROOTLY_LIST_ACTION_ITEMS functionality by providing the ability to remove individual action items from the system.\",\n input: RootlyDeleteActionItemInput,\n output: RootlyDeleteActionItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO,EAClD,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,EACxJ,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,2DAA2D,EAAE,OAAO;CACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAA4D;AACtF,MAAM,qDAAqD,EAAE,OAAO;CAClE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC7E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACnF,YAAY,yDAAyD,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAAkC;AAM5D,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV0C,EAAE,OAAO;EACnD,MAAM,mDAAmD,SAAS,CAAC,CAAC,SAAS;EAC7E,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"delete-action-item.mjs","names":[],"sources":["../../src/actions/delete-action-item.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { rootly } from \"../app\";\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: AppAction<\n typeof RootlyDeleteActionItemInput,\n typeof RootlyDeleteActionItemOutput,\n typeof rootly.credential\n> = 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":";;;;AAMA,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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CAAC,CAAC,SAAS;CAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/delete-incident.ts
@@ -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}).passthrough().describe(\"Response model for delete incident operation.\");\n\nexport const rootlyDeleteIncident = action(\"ROOTLY_DELETE_INCIDENT\", {\n slug: \"rootly-delete-incident\",\n name: \"Delete Incident\",\n description: \"Tool to delete an incident in Rootly by ID. Use when performing administrative cleanup. This is a destructive operation and depends on appropriate Rootly permissions.\",\n input: RootlyDeleteIncidentInput,\n output: RootlyDeleteIncidentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,EAC5E,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAEzE,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-incident.cjs","names":["z","action"],"sources":["../../src/actions/delete-incident.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { rootly } from \"../app\";\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: AppAction<\n typeof RootlyDeleteIncidentInput,\n typeof RootlyDeleteIncidentOutput,\n typeof rootly.credential\n> = 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":";;;;AAMA,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,uBAITC,eAAAA,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { rootly } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/delete-incident.d.ts
@@ -7,21 +9,7 @@ declare const RootlyDeleteIncidentInput: z.ZodObject<{
7
9
  declare const RootlyDeleteIncidentOutput: z.ZodObject<{
8
10
  success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
9
11
  }, z.core.$loose>;
10
- declare const rootlyDeleteIncident: import("@keystrokehq/action").WorkflowActionDefinition<{
11
- id: string;
12
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"rootly", z.ZodObject<{
13
- connectionId: z.ZodString;
14
- entityId: z.ZodString;
15
- instanceId: z.ZodString;
16
- }, z.core.$strip>, z.ZodObject<{
17
- generic_api_key: z.ZodString;
18
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"rootly", z.ZodObject<{
19
- connectionId: z.ZodString;
20
- entityId: z.ZodString;
21
- instanceId: z.ZodString;
22
- }, z.core.$strip>, z.ZodObject<{
23
- generic_api_key: z.ZodString;
24
- }, z.core.$strip>>]>;
12
+ declare const rootlyDeleteIncident: AppAction<typeof RootlyDeleteIncidentInput, typeof RootlyDeleteIncidentOutput, typeof rootly.credential>;
25
13
  //#endregion
26
14
  export { rootlyDeleteIncident };
27
15
  //# sourceMappingURL=delete-incident.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-incident.d.cts","names":[],"sources":["../../src/actions/delete-incident.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAI1B,oBAAA,gCAAoB,wBAAA"}
1
+ {"version":3,"file":"delete-incident.d.cts","names":[],"sources":["../../src/actions/delete-incident.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAI1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,MAAA,CAAO,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { rootly } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/delete-incident.d.ts
@@ -7,21 +9,7 @@ declare const RootlyDeleteIncidentInput: z.ZodObject<{
7
9
  declare const RootlyDeleteIncidentOutput: z.ZodObject<{
8
10
  success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
9
11
  }, z.core.$loose>;
10
- declare const rootlyDeleteIncident: import("@keystrokehq/action").WorkflowActionDefinition<{
11
- id: string;
12
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"rootly", z.ZodObject<{
13
- connectionId: z.ZodString;
14
- entityId: z.ZodString;
15
- instanceId: z.ZodString;
16
- }, z.core.$strip>, z.ZodObject<{
17
- generic_api_key: z.ZodString;
18
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"rootly", z.ZodObject<{
19
- connectionId: z.ZodString;
20
- entityId: z.ZodString;
21
- instanceId: z.ZodString;
22
- }, z.core.$strip>, z.ZodObject<{
23
- generic_api_key: z.ZodString;
24
- }, z.core.$strip>>]>;
12
+ declare const rootlyDeleteIncident: AppAction<typeof RootlyDeleteIncidentInput, typeof RootlyDeleteIncidentOutput, typeof rootly.credential>;
25
13
  //#endregion
26
14
  export { rootlyDeleteIncident };
27
15
  //# sourceMappingURL=delete-incident.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-incident.d.mts","names":[],"sources":["../../src/actions/delete-incident.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAI1B,oBAAA,gCAAoB,wBAAA"}
1
+ {"version":3,"file":"delete-incident.d.mts","names":[],"sources":["../../src/actions/delete-incident.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAI1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,MAAA,CAAO,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const rootlyDeleteIncident = action("ROOTLY_DELETE_INCIDENT", {
@@ -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}).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"}
1
+ {"version":3,"file":"delete-incident.mjs","names":[],"sources":["../../src/actions/delete-incident.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { rootly } from \"../app\";\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: AppAction<\n typeof RootlyDeleteIncidentInput,\n typeof RootlyDeleteIncidentOutput,\n typeof rootly.credential\n> = 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":";;;AAaA,MAAa,uBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfuC,EAAE,OAAO,EAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,EAC5E,CAAC,CAAC,CAAC,SAAS,yCAaH;CACP,QAbwC,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,+CAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-action-item.ts
@@ -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}).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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AAE,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,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"}
1
+ {"version":3,"file":"get-action-item.cjs","names":["z","action"],"sources":["../../src/actions/get-action-item.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { rootly } from \"../app\";\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: AppAction<\n typeof RootlyGetActionItemInput,\n typeof RootlyGetActionItemOutput,\n typeof rootly.credential\n> = 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":";;;;AAMA,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,CAA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AS,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,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,sBAITC,eAAAA,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { rootly } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-action-item.d.ts
@@ -49,21 +51,7 @@ declare const RootlyGetActionItemOutput: z.ZodObject<{
49
51
  relationships: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
50
52
  }, z.core.$loose>>;
51
53
  }, z.core.$loose>;
52
- declare const rootlyGetActionItem: import("@keystrokehq/action").WorkflowActionDefinition<{
53
- action_item_id: string;
54
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"rootly", z.ZodObject<{
55
- connectionId: z.ZodString;
56
- entityId: z.ZodString;
57
- instanceId: z.ZodString;
58
- }, z.core.$strip>, z.ZodObject<{
59
- generic_api_key: z.ZodString;
60
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"rootly", z.ZodObject<{
61
- connectionId: z.ZodString;
62
- entityId: z.ZodString;
63
- instanceId: z.ZodString;
64
- }, z.core.$strip>, z.ZodObject<{
65
- generic_api_key: z.ZodString;
66
- }, z.core.$strip>>]>;
54
+ declare const rootlyGetActionItem: AppAction<typeof RootlyGetActionItemInput, typeof RootlyGetActionItemOutput, typeof rootly.credential>;
67
55
  //#endregion
68
56
  export { rootlyGetActionItem };
69
57
  //# sourceMappingURL=get-action-item.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-action-item.d.cts","names":[],"sources":["../../src/actions/get-action-item.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cA+CxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIzB,mBAAA,gCAAmB,wBAAA"}
1
+ {"version":3,"file":"get-action-item.d.cts","names":[],"sources":["../../src/actions/get-action-item.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cA+CxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,MAAA,CAAO,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { rootly } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-action-item.d.ts
@@ -49,21 +51,7 @@ declare const RootlyGetActionItemOutput: z.ZodObject<{
49
51
  relationships: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
50
52
  }, z.core.$loose>>;
51
53
  }, z.core.$loose>;
52
- declare const rootlyGetActionItem: import("@keystrokehq/action").WorkflowActionDefinition<{
53
- action_item_id: string;
54
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"rootly", z.ZodObject<{
55
- connectionId: z.ZodString;
56
- entityId: z.ZodString;
57
- instanceId: z.ZodString;
58
- }, z.core.$strip>, z.ZodObject<{
59
- generic_api_key: z.ZodString;
60
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"rootly", z.ZodObject<{
61
- connectionId: z.ZodString;
62
- entityId: z.ZodString;
63
- instanceId: z.ZodString;
64
- }, z.core.$strip>, z.ZodObject<{
65
- generic_api_key: z.ZodString;
66
- }, z.core.$strip>>]>;
54
+ declare const rootlyGetActionItem: AppAction<typeof RootlyGetActionItemInput, typeof RootlyGetActionItemOutput, typeof rootly.credential>;
67
55
  //#endregion
68
56
  export { rootlyGetActionItem };
69
57
  //# sourceMappingURL=get-action-item.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-action-item.d.mts","names":[],"sources":["../../src/actions/get-action-item.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cA+CxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIzB,mBAAA,gCAAmB,wBAAA"}
1
+ {"version":3,"file":"get-action-item.d.mts","names":[],"sources":["../../src/actions/get-action-item.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cA+CxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,MAAA,CAAO,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-action-item.ts
@@ -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}).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,CAA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AAM,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,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAC7D,MAAM,2CAA2C,EAAE,OAAO;CACxD,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"}
1
+ {"version":3,"file":"get-action-item.mjs","names":[],"sources":["../../src/actions/get-action-item.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { rootly } from \"../app\";\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: AppAction<\n typeof RootlyGetActionItemInput,\n typeof RootlyGetActionItemOutput,\n typeof rootly.credential\n> = 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":";;;;AAMA,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,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CA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,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,sBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbuC,EAAE,OAAO,EAChD,MAAM,yCAAyC,SAAS,EAC1D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-incident.ts
@@ -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}).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,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,SA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EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,YAAY,2CAA2C,SAAS;CAChE,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,0BAA0B;AACpD,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAM,qCAAqC,SAAS;CACpD,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAEnE,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-incident.cjs","names":["z","action"],"sources":["../../src/actions/get-incident.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { rootly } from \"../app\";\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: AppAction<\n typeof RootlyGetIncidentInput,\n typeof RootlyGetIncidentOutput,\n typeof rootly.credential\n> = 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":";;;;AAMA,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,O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 
3
5
  //#region src/actions/get-incident.d.ts
@@ -45,22 +47,7 @@ declare const RootlyGetIncidentOutput: z.ZodObject<{
45
47
  }, z.core.$loose>>;
46
48
  included: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
47
49
  }, z.core.$loose>;
48
- declare const rootlyGetIncident: import("@keystrokehq/action").WorkflowActionDefinition<{
49
- id: string;
50
- include?: string | undefined;
51
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"rootly", z.ZodObject<{
52
- connectionId: z.ZodString;
53
- entityId: z.ZodString;
54
- instanceId: z.ZodString;
55
- }, z.core.$strip>, z.ZodObject<{
56
- generic_api_key: z.ZodString;
57
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"rootly", z.ZodObject<{
58
- connectionId: z.ZodString;
59
- entityId: z.ZodString;
60
- instanceId: z.ZodString;
61
- }, z.core.$strip>, z.ZodObject<{
62
- generic_api_key: z.ZodString;
63
- }, z.core.$strip>>]>;
50
+ declare const rootlyGetIncident: AppAction<typeof RootlyGetIncidentInput, typeof RootlyGetIncidentOutput, typeof rootly.credential>;
64
51
  //#endregion
65
52
  export { rootlyGetIncident };
66
53
  //# sourceMappingURL=get-incident.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-incident.d.cts","names":[],"sources":["../../src/actions/get-incident.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;cA0CtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKvB,iBAAA,gCAAiB,wBAAA"}
1
+ {"version":3,"file":"get-incident.d.cts","names":[],"sources":["../../src/actions/get-incident.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;cA0CtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,MAAA,CAAO,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { rootly } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-incident.d.ts
@@ -45,22 +47,7 @@ declare const RootlyGetIncidentOutput: z.ZodObject<{
45
47
  }, z.core.$loose>>;
46
48
  included: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
47
49
  }, z.core.$loose>;
48
- declare const rootlyGetIncident: import("@keystrokehq/action").WorkflowActionDefinition<{
49
- id: string;
50
- include?: string | undefined;
51
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"rootly", z.ZodObject<{
52
- connectionId: z.ZodString;
53
- entityId: z.ZodString;
54
- instanceId: z.ZodString;
55
- }, z.core.$strip>, z.ZodObject<{
56
- generic_api_key: z.ZodString;
57
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"rootly", z.ZodObject<{
58
- connectionId: z.ZodString;
59
- entityId: z.ZodString;
60
- instanceId: z.ZodString;
61
- }, z.core.$strip>, z.ZodObject<{
62
- generic_api_key: z.ZodString;
63
- }, z.core.$strip>>]>;
50
+ declare const rootlyGetIncident: AppAction<typeof RootlyGetIncidentInput, typeof RootlyGetIncidentOutput, typeof rootly.credential>;
64
51
  //#endregion
65
52
  export { rootlyGetIncident };
66
53
  //# sourceMappingURL=get-incident.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-incident.d.mts","names":[],"sources":["../../src/actions/get-incident.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;cA0CtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKvB,iBAAA,gCAAiB,wBAAA"}
1
+ {"version":3,"file":"get-incident.d.mts","names":[],"sources":["../../src/actions/get-incident.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;cA0CtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,MAAA,CAAO,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-incident.ts
@@ -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}).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,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,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,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AAM,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"}
1
+ {"version":3,"file":"get-incident.mjs","names":[],"sources":["../../src/actions/get-incident.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { rootly } from \"../app\";\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: AppAction<\n typeof RootlyGetIncidentInput,\n typeof RootlyGetIncidentOutput,\n typeof rootly.credential\n> = 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":";;;;AAMA,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,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,YAAY,EAAE,OA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E,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/list-action-items.ts
@@ -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}).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,EAA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"}
1
+ {"version":3,"file":"list-action-items.cjs","names":["z","action"],"sources":["../../src/actions/list-action-items.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { rootly } from \"../app\";\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: AppAction<\n typeof RootlyListActionItemsInput,\n typeof RootlyListActionItemsOutput,\n typeof rootly.credential\n> = 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":";;;;AAMA,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,SA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CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gCAAgC;AAC1D,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6BAA6B;AACvD,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,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,wBAITC,eAAAA,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { rootly } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-action-items.d.ts
@@ -54,25 +56,7 @@ declare const RootlyListActionItemsOutput: z.ZodObject<{
54
56
  first: z.ZodOptional<z.ZodNullable<z.ZodString>>;
55
57
  }, z.core.$loose>>>;
56
58
  }, z.core.$loose>;
57
- declare const rootlyListActionItems: import("@keystrokehq/action").WorkflowActionDefinition<{
58
- kind?: "task" | "follow_up" | undefined;
59
- status?: "open" | "in_progress" | "cancelled" | "done" | undefined;
60
- priority?: "high" | "medium" | "low" | undefined;
61
- page_size?: number | undefined;
62
- page_number?: number | undefined;
63
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"rootly", z.ZodObject<{
64
- connectionId: z.ZodString;
65
- entityId: z.ZodString;
66
- instanceId: z.ZodString;
67
- }, z.core.$strip>, z.ZodObject<{
68
- generic_api_key: z.ZodString;
69
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"rootly", z.ZodObject<{
70
- connectionId: z.ZodString;
71
- entityId: z.ZodString;
72
- instanceId: z.ZodString;
73
- }, z.core.$strip>, z.ZodObject<{
74
- generic_api_key: z.ZodString;
75
- }, z.core.$strip>>]>;
59
+ declare const rootlyListActionItems: AppAction<typeof RootlyListActionItemsInput, typeof RootlyListActionItemsOutput, typeof rootly.credential>;
76
60
  //#endregion
77
61
  export { rootlyListActionItems };
78
62
  //# sourceMappingURL=list-action-items.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-action-items.d.cts","names":[],"sources":["../../src/actions/list-action-items.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAwC1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAM3B,qBAAA,gCAAqB,wBAAA"}
1
+ {"version":3,"file":"list-action-items.d.cts","names":[],"sources":["../../src/actions/list-action-items.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAwC1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAM3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,MAAA,CAAO,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { rootly } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-action-items.d.ts
@@ -54,25 +56,7 @@ declare const RootlyListActionItemsOutput: z.ZodObject<{
54
56
  first: z.ZodOptional<z.ZodNullable<z.ZodString>>;
55
57
  }, z.core.$loose>>>;
56
58
  }, z.core.$loose>;
57
- declare const rootlyListActionItems: import("@keystrokehq/action").WorkflowActionDefinition<{
58
- kind?: "task" | "follow_up" | undefined;
59
- status?: "open" | "in_progress" | "cancelled" | "done" | undefined;
60
- priority?: "high" | "medium" | "low" | undefined;
61
- page_size?: number | undefined;
62
- page_number?: number | undefined;
63
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"rootly", z.ZodObject<{
64
- connectionId: z.ZodString;
65
- entityId: z.ZodString;
66
- instanceId: z.ZodString;
67
- }, z.core.$strip>, z.ZodObject<{
68
- generic_api_key: z.ZodString;
69
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"rootly", z.ZodObject<{
70
- connectionId: z.ZodString;
71
- entityId: z.ZodString;
72
- instanceId: z.ZodString;
73
- }, z.core.$strip>, z.ZodObject<{
74
- generic_api_key: z.ZodString;
75
- }, z.core.$strip>>]>;
59
+ declare const rootlyListActionItems: AppAction<typeof RootlyListActionItemsInput, typeof RootlyListActionItemsOutput, typeof rootly.credential>;
76
60
  //#endregion
77
61
  export { rootlyListActionItems };
78
62
  //# sourceMappingURL=list-action-items.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-action-items.d.mts","names":[],"sources":["../../src/actions/list-action-items.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAwC1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAM3B,qBAAA,gCAAqB,wBAAA"}
1
+ {"version":3,"file":"list-action-items.d.mts","names":[],"sources":["../../src/actions/list-action-items.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAwC1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAM3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,MAAA,CAAO,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/list-action-items.ts
@@ -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}).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,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,CA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esContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { rootly } from \"../app\";\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: AppAction<\n typeof RootlyListActionItemsInput,\n typeof RootlyListActionItemsOutput,\n typeof rootly.credential\n> = 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":";;;;AAMA,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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AAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6BAA6B;AAOvD,MAAa,wBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAfyC,EAAE,OAAO;EAClD,MAAM,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,sBAAsB,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,0CAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/update-incident.ts
@@ -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}).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,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AO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,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"}
1
+ {"version":3,"file":"update-incident.cjs","names":["z","action"],"sources":["../../src/actions/update-incident.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { rootly } from \"../app\";\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: AppAction<\n typeof RootlyUpdateIncidentInput,\n typeof RootlyUpdateIncidentOutput,\n typeof rootly.credential\n> = 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":";;;;AAMA,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,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CAAC,CAAC,SAAS,0CAA0C;AAEpE,MAAa,uBAITC,eAAAA,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { rootly } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/update-incident.d.ts
@@ -56,25 +58,7 @@ declare const RootlyUpdateIncidentOutput: z.ZodObject<{
56
58
  relationships: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
57
59
  }, z.core.$loose>>;
58
60
  }, z.core.$loose>;
59
- declare const rootlyUpdateIncident: import("@keystrokehq/action").WorkflowActionDefinition<{
60
- id: string;
61
- data: {
62
- attributes: Record<string, unknown>;
63
- type?: string | undefined;
64
- };
65
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"rootly", z.ZodObject<{
66
- connectionId: z.ZodString;
67
- entityId: z.ZodString;
68
- instanceId: z.ZodString;
69
- }, z.core.$strip>, z.ZodObject<{
70
- generic_api_key: z.ZodString;
71
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"rootly", z.ZodObject<{
72
- connectionId: z.ZodString;
73
- entityId: z.ZodString;
74
- instanceId: z.ZodString;
75
- }, z.core.$strip>, z.ZodObject<{
76
- generic_api_key: z.ZodString;
77
- }, z.core.$strip>>]>;
61
+ declare const rootlyUpdateIncident: AppAction<typeof RootlyUpdateIncidentInput, typeof RootlyUpdateIncidentOutput, typeof rootly.credential>;
78
62
  //#endregion
79
63
  export { rootlyUpdateIncident };
80
64
  //# sourceMappingURL=update-incident.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-incident.d.cts","names":[],"sources":["../../src/actions/update-incident.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;cAsDzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAI1B,oBAAA,gCAAoB,wBAAA"}
1
+ {"version":3,"file":"update-incident.d.cts","names":[],"sources":["../../src/actions/update-incident.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;cAsDzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAI1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,MAAA,CAAO,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { rootly } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/update-incident.d.ts
@@ -56,25 +58,7 @@ declare const RootlyUpdateIncidentOutput: z.ZodObject<{
56
58
  relationships: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
57
59
  }, z.core.$loose>>;
58
60
  }, z.core.$loose>;
59
- declare const rootlyUpdateIncident: import("@keystrokehq/action").WorkflowActionDefinition<{
60
- id: string;
61
- data: {
62
- attributes: Record<string, unknown>;
63
- type?: string | undefined;
64
- };
65
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"rootly", z.ZodObject<{
66
- connectionId: z.ZodString;
67
- entityId: z.ZodString;
68
- instanceId: z.ZodString;
69
- }, z.core.$strip>, z.ZodObject<{
70
- generic_api_key: z.ZodString;
71
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"rootly", z.ZodObject<{
72
- connectionId: z.ZodString;
73
- entityId: z.ZodString;
74
- instanceId: z.ZodString;
75
- }, z.core.$strip>, z.ZodObject<{
76
- generic_api_key: z.ZodString;
77
- }, z.core.$strip>>]>;
61
+ declare const rootlyUpdateIncident: AppAction<typeof RootlyUpdateIncidentInput, typeof RootlyUpdateIncidentOutput, typeof rootly.credential>;
78
62
  //#endregion
79
63
  export { rootlyUpdateIncident };
80
64
  //# sourceMappingURL=update-incident.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-incident.d.mts","names":[],"sources":["../../src/actions/update-incident.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;cAsDzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAI1B,oBAAA,gCAAoB,wBAAA"}
1
+ {"version":3,"file":"update-incident.d.mts","names":[],"sources":["../../src/actions/update-incident.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;cAsDzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAI1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,MAAA,CAAO,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/update-incident.ts
@@ -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}).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,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oB,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,wBAAwB,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,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"}
1
+ {"version":3,"file":"update-incident.mjs","names":[],"sources":["../../src/actions/update-incident.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { rootly } from \"../app\";\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: AppAction<\n typeof RootlyUpdateIncidentInput,\n typeof RootlyUpdateIncidentOutput,\n typeof rootly.credential\n> = 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":";;;;AAMA,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,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjE,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAA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AAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAKpE,MAAa,uBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbwC,EAAE,OAAO,EACjD,MAAM,wCAAwC,SAAS,EACzD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAWhB;AACV,CAAC"}
package/dist/app.cjs CHANGED
@@ -1,10 +1,10 @@
1
1
  let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
2
- let zod = require("zod");
3
2
  //#region src/app.ts
3
+ const credential = { generic_api_key: require("zod").z.string() };
4
4
  const rootly = (0, _keystrokehq_keystroke_app.defineApp)({
5
5
  slug: "rootly",
6
6
  auth: "keystroke",
7
- credential: { generic_api_key: zod.z.string() }
7
+ credential
8
8
  });
9
9
  //#endregion
10
10
  exports.rootly = rootly;
package/dist/app.cjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const rootly = defineApp({\n slug: \"rootly\",\n auth: \"keystroke\",\n credential: {\n generic_api_key: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,UAAA,GAAA,2BAAA,UAAA,CAAmB;CAC9B,MAAM;CACN,MAAM;CACN,YAAY,EACV,iBAAiBA,IAAAA,EAAE,OAAO,EAC5B;AACF,CAAC"}
1
+ {"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const rootly: KeystrokeApp<\"rootly\", typeof credential> = defineApp({\n slug: \"rootly\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAGA,MAAM,aAAa,EACjB,8BAAiBA,CAAAA,CAAAA,EAAE,OAAO,EAC5B;AAEA,MAAa,UAAA,GAAA,2BAAA,UAAA,CAA8D;CACzE,MAAM;CACN,MAAM;CACN;AACF,CAAC"}
package/dist/app.d.cts CHANGED
@@ -1,13 +1,11 @@
1
+ import { KeystrokeApp } from "@keystrokehq/keystroke/app";
1
2
  import { z } from "zod";
2
3
 
3
4
  //#region src/app.d.ts
4
- declare const rootly: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"rootly", z.ZodObject<{
5
- connectionId: z.ZodString;
6
- entityId: z.ZodString;
7
- instanceId: z.ZodString;
8
- }, z.core.$strip>, z.ZodObject<{
5
+ declare const credential: {
9
6
  generic_api_key: z.ZodString;
10
- }, z.core.$strip>>>;
7
+ };
8
+ declare const rootly: KeystrokeApp<"rootly", typeof credential>;
11
9
  //#endregion
12
10
  export { rootly };
13
11
  //# sourceMappingURL=app.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,MAAA,6BAAM,GAAA,+BAAA,UAAA,WAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,MAAA,EAAQ,YAAY,kBAAkB,UAAA"}
package/dist/app.d.mts CHANGED
@@ -1,13 +1,11 @@
1
+ import { KeystrokeApp } from "@keystrokehq/keystroke/app";
1
2
  import { z } from "zod";
2
3
 
3
4
  //#region src/app.d.ts
4
- declare const rootly: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"rootly", z.ZodObject<{
5
- connectionId: z.ZodString;
6
- entityId: z.ZodString;
7
- instanceId: z.ZodString;
8
- }, z.core.$strip>, z.ZodObject<{
5
+ declare const credential: {
9
6
  generic_api_key: z.ZodString;
10
- }, z.core.$strip>>>;
7
+ };
8
+ declare const rootly: KeystrokeApp<"rootly", typeof credential>;
11
9
  //#endregion
12
10
  export { rootly };
13
11
  //# sourceMappingURL=app.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,MAAA,6BAAM,GAAA,+BAAA,UAAA,WAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,MAAA,EAAQ,YAAY,kBAAkB,UAAA"}
package/dist/app.mjs CHANGED
@@ -1,6 +1,5 @@
1
1
  import { defineApp } from "@keystrokehq/keystroke/app";
2
2
  import { z } from "zod";
3
- //#region src/app.ts
4
3
  const rootly = defineApp({
5
4
  slug: "rootly",
6
5
  auth: "keystroke",
package/dist/app.mjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const rootly = defineApp({\n slug: \"rootly\",\n auth: \"keystroke\",\n credential: {\n generic_api_key: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,SAAS,UAAU;CAC9B,MAAM;CACN,MAAM;CACN,YAAY,EACV,iBAAiB,EAAE,OAAO,EAC5B;AACF,CAAC"}
1
+ {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const rootly: KeystrokeApp<\"rootly\", typeof credential> = defineApp({\n slug: \"rootly\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAOA,MAAa,SAAoD,UAAU;CACzE,MAAM;CACN,MAAM;CACN,cANA,iBAAiB,EAAE,OAAO,EAM1B;AACF,CAAC"}
package/dist/index.d.cts CHANGED
@@ -1,9 +1,9 @@
1
+ import { rootly } from "./app.cjs";
1
2
  import { rootlyDeleteActionItem } from "./actions/delete-action-item.cjs";
2
3
  import { rootlyDeleteIncident } from "./actions/delete-incident.cjs";
3
4
  import { rootlyGetActionItem } from "./actions/get-action-item.cjs";
4
5
  import { rootlyGetIncident } from "./actions/get-incident.cjs";
5
6
  import { rootlyListActionItems } from "./actions/list-action-items.cjs";
6
7
  import { rootlyUpdateIncident } from "./actions/update-incident.cjs";
7
- import { rootly } from "./app.cjs";
8
8
  import { rootlyCatalog } from "./catalog.cjs";
9
9
  export { rootly, rootlyCatalog, rootlyDeleteActionItem, rootlyDeleteIncident, rootlyGetActionItem, rootlyGetIncident, rootlyListActionItems, rootlyUpdateIncident };
package/dist/index.d.mts CHANGED
@@ -1,9 +1,9 @@
1
+ import { rootly } from "./app.mjs";
1
2
  import { rootlyDeleteActionItem } from "./actions/delete-action-item.mjs";
2
3
  import { rootlyDeleteIncident } from "./actions/delete-incident.mjs";
3
4
  import { rootlyGetActionItem } from "./actions/get-action-item.mjs";
4
5
  import { rootlyGetIncident } from "./actions/get-incident.mjs";
5
6
  import { rootlyListActionItems } from "./actions/list-action-items.mjs";
6
7
  import { rootlyUpdateIncident } from "./actions/update-incident.mjs";
7
- import { rootly } from "./app.mjs";
8
8
  import { rootlyCatalog } from "./catalog.mjs";
9
9
  export { rootly, rootlyCatalog, rootlyDeleteActionItem, rootlyDeleteIncident, rootlyGetActionItem, rootlyGetIncident, rootlyListActionItems, rootlyUpdateIncident };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/rootly",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"
@@ -31,7 +31,7 @@
31
31
  }
32
32
  },
33
33
  "peerDependencies": {
34
- "@keystrokehq/keystroke": ">=0.1.4",
34
+ "@keystrokehq/keystroke": ">=0.1.104",
35
35
  "zod": "^4.4.3"
36
36
  },
37
37
  "devDependencies": {