@keystrokehq/rootly 0.1.0 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) 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 +5 -5
  4. package/dist/actions/delete-action-item.cjs.map +1 -1
  5. package/dist/actions/delete-action-item.d.cts +23 -3
  6. package/dist/actions/delete-action-item.d.cts.map +1 -1
  7. package/dist/actions/delete-action-item.d.mts +23 -3
  8. package/dist/actions/delete-action-item.d.mts.map +1 -1
  9. package/dist/actions/delete-action-item.mjs +5 -5
  10. package/dist/actions/delete-action-item.mjs.map +1 -1
  11. package/dist/actions/delete-incident.cjs +1 -1
  12. package/dist/actions/delete-incident.cjs.map +1 -1
  13. package/dist/actions/delete-incident.d.cts +9 -3
  14. package/dist/actions/delete-incident.d.cts.map +1 -1
  15. package/dist/actions/delete-incident.d.mts +9 -3
  16. package/dist/actions/delete-incident.d.mts.map +1 -1
  17. package/dist/actions/delete-incident.mjs +1 -1
  18. package/dist/actions/delete-incident.mjs.map +1 -1
  19. package/dist/actions/get-action-item.cjs +8 -8
  20. package/dist/actions/get-action-item.cjs.map +1 -1
  21. package/dist/actions/get-action-item.d.cts +51 -3
  22. package/dist/actions/get-action-item.d.cts.map +1 -1
  23. package/dist/actions/get-action-item.d.mts +51 -3
  24. package/dist/actions/get-action-item.d.mts.map +1 -1
  25. package/dist/actions/get-action-item.mjs +8 -8
  26. package/dist/actions/get-action-item.mjs.map +1 -1
  27. package/dist/actions/get-incident.cjs +5 -5
  28. package/dist/actions/get-incident.cjs.map +1 -1
  29. package/dist/actions/get-incident.d.cts +48 -3
  30. package/dist/actions/get-incident.d.cts.map +1 -1
  31. package/dist/actions/get-incident.d.mts +48 -3
  32. package/dist/actions/get-incident.d.mts.map +1 -1
  33. package/dist/actions/get-incident.mjs +5 -5
  34. package/dist/actions/get-incident.mjs.map +1 -1
  35. package/dist/actions/list-action-items.cjs +10 -10
  36. package/dist/actions/list-action-items.cjs.map +1 -1
  37. package/dist/actions/list-action-items.d.cts +60 -3
  38. package/dist/actions/list-action-items.d.cts.map +1 -1
  39. package/dist/actions/list-action-items.d.mts +60 -3
  40. package/dist/actions/list-action-items.d.mts.map +1 -1
  41. package/dist/actions/list-action-items.mjs +10 -10
  42. package/dist/actions/list-action-items.mjs.map +1 -1
  43. package/dist/actions/update-incident.cjs +5 -5
  44. package/dist/actions/update-incident.cjs.map +1 -1
  45. package/dist/actions/update-incident.d.cts +62 -3
  46. package/dist/actions/update-incident.d.cts.map +1 -1
  47. package/dist/actions/update-incident.d.mts +62 -3
  48. package/dist/actions/update-incident.d.mts.map +1 -1
  49. package/dist/actions/update-incident.mjs +5 -5
  50. package/dist/actions/update-incident.mjs.map +1 -1
  51. package/dist/catalog.cjs +7 -1
  52. package/dist/catalog.cjs.map +1 -1
  53. package/dist/catalog.d.cts +8 -0
  54. package/dist/catalog.d.mts +8 -0
  55. package/dist/catalog.mjs +7 -1
  56. package/dist/catalog.mjs.map +1 -1
  57. package/package.json +2 -2
@@ -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.ZodTypeAny = 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.ZodTypeAny = 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\"),\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\"),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the action item was last updated\"),\n description: z.string().describe(\"Detailed description of the action item (supports Markdown)\").nullable().optional(),\n asana_task_id: z.string().describe(\"Linked Asana task ID\").nullable().optional(),\n jira_issue_id: z.string().describe(\"Linked Jira issue ID\").nullable().optional(),\n asana_task_url: z.string().describe(\"URL to the linked Asana task\").nullable().optional(),\n jira_issue_key: z.string().describe(\"Linked Jira issue key\").nullable().optional(),\n jira_issue_url: z.string().describe(\"URL to the linked Jira issue\").nullable().optional(),\n motion_task_id: z.string().describe(\"Linked Motion task ID\").nullable().optional(),\n trello_card_id: z.string().describe(\"Linked Trello card ID\").nullable().optional(),\n clickup_task_id: z.string().describe(\"Linked ClickUp task ID\").nullable().optional(),\n github_issue_id: z.string().describe(\"Linked GitHub issue ID\").nullable().optional(),\n gitlab_issue_id: z.string().describe(\"Linked GitLab issue ID\").nullable().optional(),\n linear_issue_id: z.string().describe(\"Linked Linear issue ID\").nullable().optional(),\n motion_task_url: z.string().describe(\"URL to the linked Motion task\").nullable().optional(),\n trello_card_url: z.string().describe(\"URL to the linked Trello card\").nullable().optional(),\n clickup_task_url: z.string().describe(\"URL to the linked ClickUp task\").nullable().optional(),\n github_issue_url: z.string().describe(\"URL to the linked GitHub issue\").nullable().optional(),\n gitlab_issue_url: z.string().describe(\"URL to the linked GitLab issue\").nullable().optional(),\n linear_issue_url: z.string().describe(\"URL to the linked Linear issue\").nullable().optional(),\n shortcut_story_id: z.string().describe(\"Linked Shortcut story ID\").nullable().optional(),\n zendesk_ticket_id: z.string().describe(\"Linked Zendesk ticket ID\").nullable().optional(),\n airtable_record_id: z.string().describe(\"Linked Airtable record ID\").nullable().optional(),\n shortcut_story_url: z.string().describe(\"URL to the linked Shortcut story\").nullable().optional(),\n zendesk_ticket_url: z.string().describe(\"URL to the linked Zendesk ticket\").nullable().optional(),\n airtable_record_url: z.string().describe(\"URL to the linked Airtable record\").nullable().optional(),\n assigned_to_user_id: z.number().int().describe(\"ID of the user assigned to this action item\").nullable().optional(),\n assigned_to_group_ids: z.array(z.string()).describe(\"List of group IDs assigned to this action item\").nullable().optional(),\n freshservice_ticket_id: z.string().describe(\"Linked Freshservice ticket ID\").nullable().optional(),\n freshservice_ticket_url: z.string().describe(\"URL to the linked Freshservice ticket\").nullable().optional(),\n}).describe(\"Model for action item attributes.\");\nconst RootlyGetActionItem_ActionItemDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique ID of the action item\"),\n type: z.string().describe(\"Type of the item (incident_action_items)\"),\n attributes: RootlyGetActionItem_ActionItemAttributesSchema.nullable(),\n relationships: z.record(z.string(), z.unknown()).describe(\"Related resources\").nullable().optional(),\n}).describe(\"Model for action item data.\");\nexport const RootlyGetActionItemOutput: z.ZodTypeAny = z.object({\n data: RootlyGetActionItem_ActionItemDataSchema.nullable(),\n}).describe(\"Response model for getting an action item.\");\n\nexport const rootlyGetActionItem = action(\"ROOTLY_GET_ACTION_ITEM\", {\n slug: \"rootly-get-action-item\",\n name: \"Get Action Item Details\",\n description: \"Retrieves detailed information about a specific action item by its ID from Rootly. Action items are tasks or follow-up items created during incident management to track work that needs to be completed. This tool returns comprehensive details including: - Core info: summary, description, kind (task/follow_up), priority, status, due_date - Assignment: assigned user and group IDs - Integration links: Jira, GitHub, GitLab, Linear, Asana, Trello, ClickUp, and other connected tools - Metadata: creation and update timestamps, direct URL to the action item Use ROOTLY_LIST_ACTION_ITEMS first to discover available action item IDs if you don't already have one.\",\n input: RootlyGetActionItemInput,\n output: RootlyGetActionItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyC,EAAE,OAAO,EAC7D,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H,EACjK,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAA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"version":3,"file":"get-action-item.mjs","names":[],"sources":["../../src/actions/get-action-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RootlyGetActionItemInput = z.object({\n action_item_id: z.string().describe(\"The unique identifier of the action item to retrieve. Use ROOTLY_LIST_ACTION_ITEMS to discover available action item IDs.\"),\n}).describe(\"Request model for getting an action item.\");\nconst RootlyGetActionItem_ActionItemAttributesSchema = z.object({\n url: z.string().describe(\"URL to view the action item in Rootly\").nullable().optional(),\n kind: z.string().describe(\"The type of action item: 'task' or 'follow_up'\").nullable().optional(),\n status: z.string().describe(\"Current status: 'open', 'in_progress', 'cancelled', or 'done'\").nullable().optional(),\n summary: z.string().describe(\"The summary/title of the action item\").nullable(),\n due_date: z.string().describe(\"Due date in ISO 8601 format (e.g., '2024-01-15')\").nullable().optional(),\n priority: z.string().describe(\"Priority level: 'high', 'medium', or 'low'\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the action item was created\").nullable(),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the action item was last updated\").nullable(),\n description: z.string().describe(\"Detailed description of the action item (supports Markdown)\").nullable().optional(),\n asana_task_id: z.string().describe(\"Linked Asana task ID\").nullable().optional(),\n jira_issue_id: z.string().describe(\"Linked Jira issue ID\").nullable().optional(),\n asana_task_url: z.string().describe(\"URL to the linked Asana task\").nullable().optional(),\n jira_issue_key: z.string().describe(\"Linked Jira issue key\").nullable().optional(),\n jira_issue_url: z.string().describe(\"URL to the linked Jira issue\").nullable().optional(),\n motion_task_id: z.string().describe(\"Linked Motion task ID\").nullable().optional(),\n trello_card_id: z.string().describe(\"Linked Trello card ID\").nullable().optional(),\n clickup_task_id: z.string().describe(\"Linked ClickUp task ID\").nullable().optional(),\n github_issue_id: z.string().describe(\"Linked GitHub issue ID\").nullable().optional(),\n gitlab_issue_id: z.string().describe(\"Linked GitLab issue ID\").nullable().optional(),\n linear_issue_id: z.string().describe(\"Linked Linear issue ID\").nullable().optional(),\n motion_task_url: z.string().describe(\"URL to the linked Motion task\").nullable().optional(),\n trello_card_url: z.string().describe(\"URL to the linked Trello card\").nullable().optional(),\n clickup_task_url: z.string().describe(\"URL to the linked ClickUp task\").nullable().optional(),\n github_issue_url: z.string().describe(\"URL to the linked GitHub issue\").nullable().optional(),\n gitlab_issue_url: z.string().describe(\"URL to the linked GitLab issue\").nullable().optional(),\n linear_issue_url: z.string().describe(\"URL to the linked Linear issue\").nullable().optional(),\n shortcut_story_id: z.string().describe(\"Linked Shortcut story ID\").nullable().optional(),\n zendesk_ticket_id: z.string().describe(\"Linked Zendesk ticket ID\").nullable().optional(),\n airtable_record_id: z.string().describe(\"Linked Airtable record ID\").nullable().optional(),\n shortcut_story_url: z.string().describe(\"URL to the linked Shortcut story\").nullable().optional(),\n zendesk_ticket_url: z.string().describe(\"URL to the linked Zendesk ticket\").nullable().optional(),\n airtable_record_url: z.string().describe(\"URL to the linked Airtable record\").nullable().optional(),\n assigned_to_user_id: z.number().int().describe(\"ID of the user assigned to this action item\").nullable().optional(),\n assigned_to_group_ids: z.array(z.string()).describe(\"List of group IDs assigned to this action item\").nullable().optional(),\n freshservice_ticket_id: z.string().describe(\"Linked Freshservice ticket ID\").nullable().optional(),\n freshservice_ticket_url: z.string().describe(\"URL to the linked Freshservice ticket\").nullable().optional(),\n}).passthrough().describe(\"Model for action item attributes.\");\nconst RootlyGetActionItem_ActionItemDataSchema = z.object({\n id: z.string().describe(\"Unique ID of the action item\").nullable(),\n type: z.string().describe(\"Type of the item (incident_action_items)\").nullable(),\n attributes: RootlyGetActionItem_ActionItemAttributesSchema.nullable(),\n relationships: z.record(z.string(), z.unknown()).describe(\"Related resources\").nullable().optional(),\n}).passthrough().describe(\"Model for action item data.\");\nexport const RootlyGetActionItemOutput = z.object({\n data: RootlyGetActionItem_ActionItemDataSchema.nullable(),\n}).passthrough().describe(\"Response model for getting an action item.\");\n\nexport const rootlyGetActionItem = action(\"ROOTLY_GET_ACTION_ITEM\", {\n slug: \"rootly-get-action-item\",\n name: \"Get Action Item Details\",\n description: \"Retrieves detailed information about a specific action item by its ID from Rootly. Action items are tasks or follow-up items created during incident management to track work that needs to be completed. This tool returns comprehensive details including: - Core info: summary, description, kind (task/follow_up), priority, status, due_date - Assignment: assigned user and group IDs - Integration links: Jira, GitHub, GitLab, Linear, Asana, Trello, ClickUp, and other connected tools - Metadata: creation and update timestamps, direct URL to the action item Use ROOTLY_LIST_ACTION_ITEMS first to discover available action item IDs if you don't already have one.\",\n input: RootlyGetActionItemInput,\n output: RootlyGetActionItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO,EAC/C,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H,EACjK,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAM,iDAAiD,EAAE,OAAO;CAC9D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC9E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAChG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACrG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SA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AS;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"}
@@ -36,17 +36,17 @@ const RootlyGetIncident_IncidentAttributesSchema = zod.z.object({
36
36
  datadog_incident_id: zod.z.string().describe("Datadog incident ID").nullable().optional(),
37
37
  pagerduty_incident_id: zod.z.string().describe("PagerDuty incident ID").nullable().optional(),
38
38
  servicenow_incident_id: zod.z.string().describe("ServiceNow incident ID").nullable().optional()
39
- }).describe("Model for incident attributes.");
39
+ }).passthrough().describe("Model for incident attributes.");
40
40
  const RootlyGetIncident_IncidentDataSchema = zod.z.object({
41
- id: zod.z.string().describe("Unique ID of the incident"),
42
- type: zod.z.string().describe("Type of the resource (incidents)"),
41
+ id: zod.z.string().describe("Unique ID of the incident").nullable(),
42
+ type: zod.z.string().describe("Type of the resource (incidents)").nullable(),
43
43
  attributes: RootlyGetIncident_IncidentAttributesSchema.nullable(),
44
44
  relationships: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Related resources").nullable().optional()
45
- }).describe("Model for incident data.");
45
+ }).passthrough().describe("Model for incident data.");
46
46
  const RootlyGetIncidentOutput = zod.z.object({
47
47
  data: RootlyGetIncident_IncidentDataSchema.nullable(),
48
48
  included: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Included related resources when requested via include parameter").nullable().optional()
49
- }).describe("Response model for getting an incident.");
49
+ }).passthrough().describe("Response model for getting an incident.");
50
50
  const rootlyGetIncident = require_action.action("ROOTLY_GET_INCIDENT", {
51
51
  slug: "rootly-get-incident",
52
52
  name: "Get Incident Details",
@@ -1 +1 @@
1
- {"version":3,"file":"get-incident.cjs","names":["z","action"],"sources":["../../src/actions/get-incident.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RootlyGetIncidentInput: z.ZodTypeAny = 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.ZodTypeAny = z.object({\n url: z.string().describe(\"URL to view the incident\").nullable().optional(),\n kind: z.string().describe(\"Kind of incident\").nullable().optional(),\n slug: z.string().describe(\"URL-friendly slug of the incident\").nullable().optional(),\n title: z.string().describe(\"Title of the incident\").nullable().optional(),\n source: z.string().describe(\"Source of the incident\").nullable().optional(),\n status: z.string().describe(\"Status of the incident\").nullable().optional(),\n private: z.boolean().describe(\"Whether the incident is private\").nullable().optional(),\n summary: z.string().describe(\"Summary of the incident\").nullable().optional(),\n created_at: z.string().describe(\"Date of creation\").nullable().optional(),\n started_at: z.string().describe(\"Date when incident started\").nullable().optional(),\n updated_at: z.string().describe(\"Date of last update\").nullable().optional(),\n detected_at: z.string().describe(\"Date when incident was detected\").nullable().optional(),\n resolved_at: z.string().describe(\"Date when incident was resolved\").nullable().optional(),\n cancelled_at: z.string().describe(\"Date when incident was cancelled\").nullable().optional(),\n mitigated_at: z.string().describe(\"Date when incident was mitigated\").nullable().optional(),\n public_title: z.string().describe(\"Public-facing title\").nullable().optional(),\n asana_task_id: z.string().describe(\"Asana task ID\").nullable().optional(),\n sequential_id: z.number().int().describe(\"Sequential ID of the incident\").nullable().optional(),\n jira_issue_key: z.string().describe(\"Jira issue key\").nullable().optional(),\n acknowledged_at: z.string().describe(\"Date when incident was acknowledged\").nullable().optional(),\n github_issue_id: z.string().describe(\"GitHub issue ID\").nullable().optional(),\n google_drive_id: z.string().describe(\"Google Drive folder ID\").nullable().optional(),\n linear_issue_id: z.string().describe(\"Linear issue ID\").nullable().optional(),\n zoom_meeting_id: z.string().describe(\"Zoom meeting ID\").nullable().optional(),\n slack_channel_id: z.string().describe(\"Slack channel ID\").nullable().optional(),\n zendesk_ticket_id: z.string().describe(\"Zendesk ticket ID\").nullable().optional(),\n parent_incident_id: z.string().describe(\"Parent incident ID if this is a sub-incident\").nullable().optional(),\n datadog_incident_id: z.string().describe(\"Datadog incident ID\").nullable().optional(),\n pagerduty_incident_id: z.string().describe(\"PagerDuty incident ID\").nullable().optional(),\n servicenow_incident_id: z.string().describe(\"ServiceNow incident ID\").nullable().optional(),\n}).describe(\"Model for incident attributes.\");\nconst RootlyGetIncident_IncidentDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique ID of the incident\"),\n type: z.string().describe(\"Type of the resource (incidents)\"),\n attributes: RootlyGetIncident_IncidentAttributesSchema.nullable(),\n relationships: z.record(z.string(), z.unknown()).describe(\"Related resources\").nullable().optional(),\n}).describe(\"Model for incident data.\");\nexport const RootlyGetIncidentOutput: z.ZodTypeAny = z.object({\n data: RootlyGetIncident_IncidentDataSchema.nullable(),\n included: z.array(z.record(z.string(), z.unknown())).describe(\"Included related resources when requested via include parameter\").nullable().optional(),\n}).describe(\"Response model for getting an incident.\");\n\nexport const rootlyGetIncident = action(\"ROOTLY_GET_INCIDENT\", {\n slug: \"rootly-get-incident\",\n name: \"Get Incident Details\",\n description: \"Tool to retrieve full details for a single Rootly incident by ID. Use when you need complete incident information for drill-down after listing or searching incidents. Supports optional include parameter to fetch related resources like environments, services, action_items, and events in a single request.\",\n input: RootlyGetIncidentInput,\n output: RootlyGetIncidentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAuCA,IAAAA,EAAE,OAAO;CAC3D,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,6CAA2DA,IAAAA,EAAE,OAAO;CACxE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,YAAY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SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,SAAS,0BAA0B;AACtC,MAAa,0BAAwCA,IAAAA,EAAE,OAAO;CAC5D,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,SAAS,yCAAyC;AAErD,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 { 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,SAAS;CAC1E,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CA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AAAA,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,9 +1,54 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-incident.d.ts
4
- declare const RootlyGetIncidentInput: z.ZodTypeAny;
5
- declare const RootlyGetIncidentOutput: z.ZodTypeAny;
6
- declare const rootlyGetIncident: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RootlyGetIncidentInput: z.ZodObject<{
5
+ id: z.ZodString;
6
+ include: z.ZodOptional<z.ZodString>;
7
+ }, z.core.$strip>;
8
+ declare const RootlyGetIncidentOutput: z.ZodObject<{
9
+ data: z.ZodNullable<z.ZodObject<{
10
+ id: z.ZodNullable<z.ZodString>;
11
+ type: z.ZodNullable<z.ZodString>;
12
+ attributes: z.ZodNullable<z.ZodObject<{
13
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ kind: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ private: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
20
+ summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ detected_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ resolved_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ cancelled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ mitigated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ public_title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ asana_task_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ sequential_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
31
+ jira_issue_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
+ acknowledged_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
+ github_issue_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
+ google_drive_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
+ linear_issue_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
+ zoom_meeting_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
+ slack_channel_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
+ zendesk_ticket_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
+ parent_incident_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
+ datadog_incident_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
+ pagerduty_incident_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
42
+ servicenow_incident_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43
+ }, z.core.$loose>>;
44
+ relationships: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
45
+ }, z.core.$loose>>;
46
+ included: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
47
+ }, 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]>, readonly [import("@keystrokehq/shared").Credential]>;
7
52
  //#endregion
8
53
  export { rootlyGetIncident };
9
54
  //# 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,EAAwB,CAAA,CAAE,UAGc;AAAA,cAuCxC,uBAAA,EAAyB,CAAA,CAAE,UAGc;AAAA,cAEzC,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,9 +1,54 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-incident.d.ts
4
- declare const RootlyGetIncidentInput: z.ZodTypeAny;
5
- declare const RootlyGetIncidentOutput: z.ZodTypeAny;
6
- declare const rootlyGetIncident: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RootlyGetIncidentInput: z.ZodObject<{
5
+ id: z.ZodString;
6
+ include: z.ZodOptional<z.ZodString>;
7
+ }, z.core.$strip>;
8
+ declare const RootlyGetIncidentOutput: z.ZodObject<{
9
+ data: z.ZodNullable<z.ZodObject<{
10
+ id: z.ZodNullable<z.ZodString>;
11
+ type: z.ZodNullable<z.ZodString>;
12
+ attributes: z.ZodNullable<z.ZodObject<{
13
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ kind: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ private: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
20
+ summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ detected_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ resolved_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ cancelled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ mitigated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ public_title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ asana_task_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ sequential_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
31
+ jira_issue_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
+ acknowledged_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
+ github_issue_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
+ google_drive_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
+ linear_issue_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
+ zoom_meeting_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
+ slack_channel_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
+ zendesk_ticket_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
+ parent_incident_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
+ datadog_incident_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
+ pagerduty_incident_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
42
+ servicenow_incident_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43
+ }, z.core.$loose>>;
44
+ relationships: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
45
+ }, z.core.$loose>>;
46
+ included: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
47
+ }, 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]>, readonly [import("@keystrokehq/shared").Credential]>;
7
52
  //#endregion
8
53
  export { rootlyGetIncident };
9
54
  //# 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,EAAwB,CAAA,CAAE,UAGc;AAAA,cAuCxC,uBAAA,EAAyB,CAAA,CAAE,UAGc;AAAA,cAEzC,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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"}
@@ -36,13 +36,13 @@ const RootlyGetIncident_IncidentAttributesSchema = z.object({
36
36
  datadog_incident_id: z.string().describe("Datadog incident ID").nullable().optional(),
37
37
  pagerduty_incident_id: z.string().describe("PagerDuty incident ID").nullable().optional(),
38
38
  servicenow_incident_id: z.string().describe("ServiceNow incident ID").nullable().optional()
39
- }).describe("Model for incident attributes.");
39
+ }).passthrough().describe("Model for incident attributes.");
40
40
  const RootlyGetIncident_IncidentDataSchema = z.object({
41
- id: z.string().describe("Unique ID of the incident"),
42
- type: z.string().describe("Type of the resource (incidents)"),
41
+ id: z.string().describe("Unique ID of the incident").nullable(),
42
+ type: z.string().describe("Type of the resource (incidents)").nullable(),
43
43
  attributes: RootlyGetIncident_IncidentAttributesSchema.nullable(),
44
44
  relationships: z.record(z.string(), z.unknown()).describe("Related resources").nullable().optional()
45
- }).describe("Model for incident data.");
45
+ }).passthrough().describe("Model for incident data.");
46
46
  const rootlyGetIncident = action("ROOTLY_GET_INCIDENT", {
47
47
  slug: "rootly-get-incident",
48
48
  name: "Get Incident Details",
@@ -51,7 +51,7 @@ const rootlyGetIncident = action("ROOTLY_GET_INCIDENT", {
51
51
  output: z.object({
52
52
  data: RootlyGetIncident_IncidentDataSchema.nullable(),
53
53
  included: z.array(z.record(z.string(), z.unknown())).describe("Included related resources when requested via include parameter").nullable().optional()
54
- }).describe("Response model for getting an incident.")
54
+ }).passthrough().describe("Response model for getting an incident.")
55
55
  });
56
56
  //#endregion
57
57
  export { rootlyGetIncident };
@@ -1 +1 @@
1
- {"version":3,"file":"get-incident.mjs","names":[],"sources":["../../src/actions/get-incident.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RootlyGetIncidentInput: z.ZodTypeAny = 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.ZodTypeAny = z.object({\n url: z.string().describe(\"URL to view the incident\").nullable().optional(),\n kind: z.string().describe(\"Kind of incident\").nullable().optional(),\n slug: z.string().describe(\"URL-friendly slug of the incident\").nullable().optional(),\n title: z.string().describe(\"Title of the incident\").nullable().optional(),\n source: z.string().describe(\"Source of the incident\").nullable().optional(),\n status: z.string().describe(\"Status of the incident\").nullable().optional(),\n private: z.boolean().describe(\"Whether the incident is private\").nullable().optional(),\n summary: z.string().describe(\"Summary of the incident\").nullable().optional(),\n created_at: z.string().describe(\"Date of creation\").nullable().optional(),\n started_at: z.string().describe(\"Date when incident started\").nullable().optional(),\n updated_at: z.string().describe(\"Date of last update\").nullable().optional(),\n detected_at: z.string().describe(\"Date when incident was detected\").nullable().optional(),\n resolved_at: z.string().describe(\"Date when incident was resolved\").nullable().optional(),\n cancelled_at: z.string().describe(\"Date when incident was cancelled\").nullable().optional(),\n mitigated_at: z.string().describe(\"Date when incident was mitigated\").nullable().optional(),\n public_title: z.string().describe(\"Public-facing title\").nullable().optional(),\n asana_task_id: z.string().describe(\"Asana task ID\").nullable().optional(),\n sequential_id: z.number().int().describe(\"Sequential ID of the incident\").nullable().optional(),\n jira_issue_key: z.string().describe(\"Jira issue key\").nullable().optional(),\n acknowledged_at: z.string().describe(\"Date when incident was acknowledged\").nullable().optional(),\n github_issue_id: z.string().describe(\"GitHub issue ID\").nullable().optional(),\n google_drive_id: z.string().describe(\"Google Drive folder ID\").nullable().optional(),\n linear_issue_id: z.string().describe(\"Linear issue ID\").nullable().optional(),\n zoom_meeting_id: z.string().describe(\"Zoom meeting ID\").nullable().optional(),\n slack_channel_id: z.string().describe(\"Slack channel ID\").nullable().optional(),\n zendesk_ticket_id: z.string().describe(\"Zendesk ticket ID\").nullable().optional(),\n parent_incident_id: z.string().describe(\"Parent incident ID if this is a sub-incident\").nullable().optional(),\n datadog_incident_id: z.string().describe(\"Datadog incident ID\").nullable().optional(),\n pagerduty_incident_id: z.string().describe(\"PagerDuty incident ID\").nullable().optional(),\n servicenow_incident_id: z.string().describe(\"ServiceNow incident ID\").nullable().optional(),\n}).describe(\"Model for incident attributes.\");\nconst RootlyGetIncident_IncidentDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique ID of the incident\"),\n type: z.string().describe(\"Type of the resource (incidents)\"),\n attributes: RootlyGetIncident_IncidentAttributesSchema.nullable(),\n relationships: z.record(z.string(), z.unknown()).describe(\"Related resources\").nullable().optional(),\n}).describe(\"Model for incident data.\");\nexport const RootlyGetIncidentOutput: z.ZodTypeAny = z.object({\n data: RootlyGetIncident_IncidentDataSchema.nullable(),\n included: z.array(z.record(z.string(), z.unknown())).describe(\"Included related resources when requested via include parameter\").nullable().optional(),\n}).describe(\"Response model for getting an incident.\");\n\nexport const rootlyGetIncident = action(\"ROOTLY_GET_INCIDENT\", {\n slug: \"rootly-get-incident\",\n name: \"Get Incident Details\",\n description: \"Tool to retrieve full details for a single Rootly incident by ID. Use when you need complete incident information for drill-down after listing or searching incidents. Supports optional include parameter to fetch related resources like environments, services, action_items, and events in a single request.\",\n input: RootlyGetIncidentInput,\n output: RootlyGetIncidentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAuC,EAAE,OAAO;CAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CAClF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wSAAwS,CAAC,CAAC,SAAS;AAClV,CAAC,CAAC,C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AAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,wBAAwB,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,gCAAgC;AAC5C,MAAM,uCAAqD,EAAE,OAAO;CAClE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC5D,YAAY,2CAA2C,SAAS;CAChE,eAAe,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,SAAS,0BAA0B;AAMtC,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVmD,EAAE,OAAO;EAC5D,MAAM,qCAAqC,SAAS;EACpD,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvJ,CAAC,CAAC,CAAC,SAAS,yCAOF;AACV,CAAC"}
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,mCAAm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AC,YAAY,CAAC,CAAC,SAAS,gCAAgC;AAC1D,MAAM,uCAAuC,EAAE,OAAO;CACpD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,YAAY,2CAA2C,SAAS;CAChE,eAAe,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0BAA0B;AAMpD,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVqC,EAAE,OAAO;EAC9C,MAAM,qCAAqC,SAAS;EACpD,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAOhB;AACV,CAAC"}
@@ -20,41 +20,41 @@ const RootlyListActionItemsInput = zod.z.object({
20
20
  const RootlyListActionItems_ActionItemAttributesSchema = zod.z.object({
21
21
  kind: zod.z.string().describe("The kind of the action item (task or follow_up)").nullable().optional(),
22
22
  status: zod.z.string().describe("The status of the action item (open, in_progress, cancelled, done)").nullable().optional(),
23
- summary: zod.z.string().describe("The summary of the action item"),
23
+ summary: zod.z.string().describe("The summary of the action item").nullable(),
24
24
  due_date: zod.z.string().describe("The due date of the action item").nullable().optional(),
25
25
  priority: zod.z.string().describe("The priority of the action item (high, medium, low)").nullable().optional(),
26
- created_at: zod.z.string().describe("Date of creation"),
27
- updated_at: zod.z.string().describe("Date of last update"),
26
+ created_at: zod.z.string().describe("Date of creation").nullable(),
27
+ updated_at: zod.z.string().describe("Date of last update").nullable(),
28
28
  description: zod.z.string().describe("The description of the action item").nullable().optional(),
29
29
  jira_issue_id: zod.z.string().describe("The Jira issue ID").nullable().optional(),
30
30
  jira_issue_url: zod.z.string().describe("The Jira issue URL").nullable().optional(),
31
31
  assigned_to_user_id: zod.z.number().int().describe("ID of user assigned to this action item").nullable().optional(),
32
32
  assigned_to_group_ids: zod.z.array(zod.z.string()).describe("IDs of groups assigned to this action item").nullable().optional()
33
- }).describe("Model for action item attributes.");
33
+ }).passthrough().describe("Model for action item attributes.");
34
34
  const RootlyListActionItems_ActionItemSchema = zod.z.object({
35
- id: zod.z.string().describe("Unique ID of the action item"),
36
- type: zod.z.string().describe("Type of the item (incident_action_items)"),
35
+ id: zod.z.string().describe("Unique ID of the action item").nullable(),
36
+ type: zod.z.string().describe("Type of the item (incident_action_items)").nullable(),
37
37
  attributes: RootlyListActionItems_ActionItemAttributesSchema.nullable()
38
- }).describe("Model for action item.");
38
+ }).passthrough().describe("Model for action item.");
39
39
  const RootlyListActionItems_PaginationMetaSchema = zod.z.object({
40
40
  next_page: zod.z.number().int().describe("Next page number").nullable().optional(),
41
41
  prev_page: zod.z.number().int().describe("Previous page number").nullable().optional(),
42
42
  total_count: zod.z.number().int().describe("Total number of action items").nullable().optional(),
43
43
  total_pages: zod.z.number().int().describe("Total number of pages").nullable().optional(),
44
44
  current_page: zod.z.number().int().describe("Current page number").nullable().optional()
45
- }).describe("Model for pagination metadata.");
45
+ }).passthrough().describe("Model for pagination metadata.");
46
46
  const RootlyListActionItems_PaginationLinksSchema = zod.z.object({
47
47
  last: zod.z.string().describe("Link to last page").nullable().optional(),
48
48
  next: zod.z.string().describe("Link to next page").nullable().optional(),
49
49
  prev: zod.z.string().describe("Link to previous page").nullable().optional(),
50
50
  self: zod.z.string().describe("Link to current page").nullable().optional(),
51
51
  first: zod.z.string().describe("Link to first page").nullable().optional()
52
- }).describe("Model for pagination links.");
52
+ }).passthrough().describe("Model for pagination links.");
53
53
  const RootlyListActionItemsOutput = zod.z.object({
54
54
  data: zod.z.array(RootlyListActionItems_ActionItemSchema).describe("List of action items").nullable().optional(),
55
55
  meta: RootlyListActionItems_PaginationMetaSchema.nullable().optional(),
56
56
  links: RootlyListActionItems_PaginationLinksSchema.nullable().optional()
57
- }).describe("Response model for listing action items.");
57
+ }).passthrough().describe("Response model for listing action items.");
58
58
  const rootlyListActionItems = require_action.action("ROOTLY_LIST_ACTION_ITEMS", {
59
59
  slug: "rootly-list-action-items",
60
60
  name: "List Action Items",
@@ -1 +1 @@
1
- {"version":3,"file":"list-action-items.cjs","names":["z","action"],"sources":["../../src/actions/list-action-items.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RootlyListActionItemsInput: z.ZodTypeAny = 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.ZodTypeAny = 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\"),\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\"),\n updated_at: z.string().describe(\"Date of last update\"),\n description: z.string().describe(\"The description of the action item\").nullable().optional(),\n jira_issue_id: z.string().describe(\"The Jira issue ID\").nullable().optional(),\n jira_issue_url: z.string().describe(\"The Jira issue URL\").nullable().optional(),\n assigned_to_user_id: z.number().int().describe(\"ID of user assigned to this action item\").nullable().optional(),\n assigned_to_group_ids: z.array(z.string()).describe(\"IDs of groups assigned to this action item\").nullable().optional(),\n}).describe(\"Model for action item attributes.\");\nconst RootlyListActionItems_ActionItemSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique ID of the action item\"),\n type: z.string().describe(\"Type of the item (incident_action_items)\"),\n attributes: RootlyListActionItems_ActionItemAttributesSchema.nullable(),\n}).describe(\"Model for action item.\");\nconst RootlyListActionItems_PaginationMetaSchema: z.ZodTypeAny = z.object({\n next_page: z.number().int().describe(\"Next page number\").nullable().optional(),\n prev_page: z.number().int().describe(\"Previous page number\").nullable().optional(),\n total_count: z.number().int().describe(\"Total number of action items\").nullable().optional(),\n total_pages: z.number().int().describe(\"Total number of pages\").nullable().optional(),\n current_page: z.number().int().describe(\"Current page number\").nullable().optional(),\n}).describe(\"Model for pagination metadata.\");\nconst RootlyListActionItems_PaginationLinksSchema: z.ZodTypeAny = z.object({\n last: z.string().describe(\"Link to last page\").nullable().optional(),\n next: z.string().describe(\"Link to next page\").nullable().optional(),\n prev: z.string().describe(\"Link to previous page\").nullable().optional(),\n self: z.string().describe(\"Link to current page\").nullable().optional(),\n first: z.string().describe(\"Link to first page\").nullable().optional(),\n}).describe(\"Model for pagination links.\");\nexport const RootlyListActionItemsOutput: z.ZodTypeAny = z.object({\n data: z.array(RootlyListActionItems_ActionItemSchema).describe(\"List of action items\").nullable().optional(),\n meta: RootlyListActionItems_PaginationMetaSchema.nullable().optional(),\n links: RootlyListActionItems_PaginationLinksSchema.nullable().optional(),\n}).describe(\"Response model for listing action items.\");\n\nexport const rootlyListActionItems = action(\"ROOTLY_LIST_ACTION_ITEMS\", {\n slug: \"rootly-list-action-items\",\n name: \"List Action Items\",\n description: \"This tool retrieves a list of all action items for an organization in Rootly. Action items are tasks or follow-up items that need to be completed during or after an incident, helping to track and manage incident-related tasks effectively.\",\n input: RootlyListActionItemsInput,\n output: RootlyListActionItemsOutput,\n});\n"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AAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,SAAS,gCAAgC;AAC5C,MAAM,8CAA4DA,IAAAA,EAAE,OAAO;CACzE,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,SAAS,6BAA6B;AACzC,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,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,SAAS,0CAA0C;AAEtD,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-action-items.cjs","names":["z","action"],"sources":["../../src/actions/list-action-items.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RootlyListActionItemsInput = z.object({\n kind: z.enum([\"task\", \"follow_up\"]).describe(\"Kind of action item in Rootly.\").optional(),\n status: z.enum([\"open\", \"in_progress\", \"cancelled\", \"done\"]).describe(\"Status of action items.\").optional(),\n priority: z.enum([\"high\", \"medium\", \"low\"]).describe(\"Priority levels for action items.\").optional(),\n page_size: z.number().int().describe(\"Number of items per page\").optional(),\n page_number: z.number().int().describe(\"Page number for pagination\").optional(),\n}).describe(\"Request model for listing action items.\");\nconst RootlyListActionItems_ActionItemAttributesSchema = z.object({\n kind: z.string().describe(\"The kind of the action item (task or follow_up)\").nullable().optional(),\n status: z.string().describe(\"The status of the action item (open, in_progress, cancelled, done)\").nullable().optional(),\n summary: z.string().describe(\"The summary of the action item\").nullable(),\n due_date: z.string().describe(\"The due date of the action item\").nullable().optional(),\n priority: z.string().describe(\"The priority of the action item (high, medium, low)\").nullable().optional(),\n created_at: z.string().describe(\"Date of creation\").nullable(),\n updated_at: z.string().describe(\"Date of last update\").nullable(),\n description: z.string().describe(\"The description of the action item\").nullable().optional(),\n jira_issue_id: z.string().describe(\"The Jira issue ID\").nullable().optional(),\n jira_issue_url: z.string().describe(\"The Jira issue URL\").nullable().optional(),\n assigned_to_user_id: z.number().int().describe(\"ID of user assigned to this action item\").nullable().optional(),\n assigned_to_group_ids: z.array(z.string()).describe(\"IDs of groups assigned to this action item\").nullable().optional(),\n}).passthrough().describe(\"Model for action item attributes.\");\nconst RootlyListActionItems_ActionItemSchema = z.object({\n id: z.string().describe(\"Unique ID of the action item\").nullable(),\n type: z.string().describe(\"Type of the item (incident_action_items)\").nullable(),\n attributes: RootlyListActionItems_ActionItemAttributesSchema.nullable(),\n}).passthrough().describe(\"Model for action item.\");\nconst RootlyListActionItems_PaginationMetaSchema = z.object({\n next_page: z.number().int().describe(\"Next page number\").nullable().optional(),\n prev_page: z.number().int().describe(\"Previous page number\").nullable().optional(),\n total_count: z.number().int().describe(\"Total number of action items\").nullable().optional(),\n total_pages: z.number().int().describe(\"Total number of pages\").nullable().optional(),\n current_page: z.number().int().describe(\"Current page number\").nullable().optional(),\n}).passthrough().describe(\"Model for pagination metadata.\");\nconst RootlyListActionItems_PaginationLinksSchema = z.object({\n last: z.string().describe(\"Link to last page\").nullable().optional(),\n next: z.string().describe(\"Link to next page\").nullable().optional(),\n prev: z.string().describe(\"Link to previous page\").nullable().optional(),\n self: z.string().describe(\"Link to current page\").nullable().optional(),\n first: z.string().describe(\"Link to first page\").nullable().optional(),\n}).passthrough().describe(\"Model for pagination links.\");\nexport const RootlyListActionItemsOutput = z.object({\n data: z.array(RootlyListActionItems_ActionItemSchema).describe(\"List of action items\").nullable().optional(),\n meta: RootlyListActionItems_PaginationMetaSchema.nullable().optional(),\n links: RootlyListActionItems_PaginationLinksSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for listing action items.\");\n\nexport const rootlyListActionItems = action(\"ROOTLY_LIST_ACTION_ITEMS\", {\n slug: \"rootly-list-action-items\",\n name: \"List Action Items\",\n description: \"This tool retrieves a list of all action items for an organization in Rootly. Action items are tasks or follow-up items that need to be completed during or after an incident, helping to track and manage incident-related tasks effectively.\",\n input: RootlyListActionItemsInput,\n output: RootlyListActionItemsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,KAAK,CAAC,QAAQ,WAAW,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACxF,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAe;EAAa;CAAM,CAAC,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC1G,UAAUA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAU;CAAK,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACnG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SA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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,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,66 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-action-items.d.ts
4
- declare const RootlyListActionItemsInput: z.ZodTypeAny;
5
- declare const RootlyListActionItemsOutput: z.ZodTypeAny;
6
- declare const rootlyListActionItems: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RootlyListActionItemsInput: z.ZodObject<{
5
+ kind: z.ZodOptional<z.ZodEnum<{
6
+ task: "task";
7
+ follow_up: "follow_up";
8
+ }>>;
9
+ status: z.ZodOptional<z.ZodEnum<{
10
+ open: "open";
11
+ in_progress: "in_progress";
12
+ cancelled: "cancelled";
13
+ done: "done";
14
+ }>>;
15
+ priority: z.ZodOptional<z.ZodEnum<{
16
+ high: "high";
17
+ medium: "medium";
18
+ low: "low";
19
+ }>>;
20
+ page_size: z.ZodOptional<z.ZodNumber>;
21
+ page_number: z.ZodOptional<z.ZodNumber>;
22
+ }, z.core.$strip>;
23
+ declare const RootlyListActionItemsOutput: z.ZodObject<{
24
+ data: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
25
+ id: z.ZodNullable<z.ZodString>;
26
+ type: z.ZodNullable<z.ZodString>;
27
+ attributes: z.ZodNullable<z.ZodObject<{
28
+ kind: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ summary: z.ZodNullable<z.ZodString>;
31
+ due_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
+ priority: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
+ created_at: z.ZodNullable<z.ZodString>;
34
+ updated_at: z.ZodNullable<z.ZodString>;
35
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
+ jira_issue_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
+ jira_issue_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
+ assigned_to_user_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
39
+ assigned_to_group_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
40
+ }, z.core.$loose>>;
41
+ }, z.core.$loose>>>>;
42
+ meta: z.ZodOptional<z.ZodNullable<z.ZodObject<{
43
+ next_page: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
44
+ prev_page: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
45
+ total_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
46
+ total_pages: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
47
+ current_page: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
48
+ }, z.core.$loose>>>;
49
+ links: z.ZodOptional<z.ZodNullable<z.ZodObject<{
50
+ last: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51
+ next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
52
+ prev: z.ZodOptional<z.ZodNullable<z.ZodString>>;
53
+ self: z.ZodOptional<z.ZodNullable<z.ZodString>>;
54
+ first: z.ZodOptional<z.ZodNullable<z.ZodString>>;
55
+ }, z.core.$loose>>>;
56
+ }, 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]>, readonly [import("@keystrokehq/shared").Credential]>;
7
64
  //#endregion
8
65
  export { rootlyListActionItems };
9
66
  //# 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,EAA4B,CAAA,CAAE,UAMW;AAAA,cAkCzC,2BAAA,EAA6B,CAAA,CAAE,UAIW;AAAA,cAE1C,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,9 +1,66 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-action-items.d.ts
4
- declare const RootlyListActionItemsInput: z.ZodTypeAny;
5
- declare const RootlyListActionItemsOutput: z.ZodTypeAny;
6
- declare const rootlyListActionItems: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RootlyListActionItemsInput: z.ZodObject<{
5
+ kind: z.ZodOptional<z.ZodEnum<{
6
+ task: "task";
7
+ follow_up: "follow_up";
8
+ }>>;
9
+ status: z.ZodOptional<z.ZodEnum<{
10
+ open: "open";
11
+ in_progress: "in_progress";
12
+ cancelled: "cancelled";
13
+ done: "done";
14
+ }>>;
15
+ priority: z.ZodOptional<z.ZodEnum<{
16
+ high: "high";
17
+ medium: "medium";
18
+ low: "low";
19
+ }>>;
20
+ page_size: z.ZodOptional<z.ZodNumber>;
21
+ page_number: z.ZodOptional<z.ZodNumber>;
22
+ }, z.core.$strip>;
23
+ declare const RootlyListActionItemsOutput: z.ZodObject<{
24
+ data: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
25
+ id: z.ZodNullable<z.ZodString>;
26
+ type: z.ZodNullable<z.ZodString>;
27
+ attributes: z.ZodNullable<z.ZodObject<{
28
+ kind: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ summary: z.ZodNullable<z.ZodString>;
31
+ due_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
+ priority: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
+ created_at: z.ZodNullable<z.ZodString>;
34
+ updated_at: z.ZodNullable<z.ZodString>;
35
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
+ jira_issue_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
+ jira_issue_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
+ assigned_to_user_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
39
+ assigned_to_group_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
40
+ }, z.core.$loose>>;
41
+ }, z.core.$loose>>>>;
42
+ meta: z.ZodOptional<z.ZodNullable<z.ZodObject<{
43
+ next_page: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
44
+ prev_page: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
45
+ total_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
46
+ total_pages: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
47
+ current_page: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
48
+ }, z.core.$loose>>>;
49
+ links: z.ZodOptional<z.ZodNullable<z.ZodObject<{
50
+ last: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51
+ next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
52
+ prev: z.ZodOptional<z.ZodNullable<z.ZodString>>;
53
+ self: z.ZodOptional<z.ZodNullable<z.ZodString>>;
54
+ first: z.ZodOptional<z.ZodNullable<z.ZodString>>;
55
+ }, z.core.$loose>>>;
56
+ }, 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]>, readonly [import("@keystrokehq/shared").Credential]>;
7
64
  //#endregion
8
65
  export { rootlyListActionItems };
9
66
  //# 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,EAA4B,CAAA,CAAE,UAMW;AAAA,cAkCzC,2BAAA,EAA6B,CAAA,CAAE,UAIW;AAAA,cAE1C,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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"}