@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
@@ -20,36 +20,36 @@ const RootlyListActionItemsInput = z.object({
20
20
  const RootlyListActionItems_ActionItemAttributesSchema = z.object({
21
21
  kind: z.string().describe("The kind of the action item (task or follow_up)").nullable().optional(),
22
22
  status: z.string().describe("The status of the action item (open, in_progress, cancelled, done)").nullable().optional(),
23
- summary: z.string().describe("The summary of the action item"),
23
+ summary: z.string().describe("The summary of the action item").nullable(),
24
24
  due_date: z.string().describe("The due date of the action item").nullable().optional(),
25
25
  priority: z.string().describe("The priority of the action item (high, medium, low)").nullable().optional(),
26
- created_at: z.string().describe("Date of creation"),
27
- updated_at: z.string().describe("Date of last update"),
26
+ created_at: z.string().describe("Date of creation").nullable(),
27
+ updated_at: z.string().describe("Date of last update").nullable(),
28
28
  description: z.string().describe("The description of the action item").nullable().optional(),
29
29
  jira_issue_id: z.string().describe("The Jira issue ID").nullable().optional(),
30
30
  jira_issue_url: z.string().describe("The Jira issue URL").nullable().optional(),
31
31
  assigned_to_user_id: z.number().int().describe("ID of user assigned to this action item").nullable().optional(),
32
32
  assigned_to_group_ids: z.array(z.string()).describe("IDs of groups assigned to this action item").nullable().optional()
33
- }).describe("Model for action item attributes.");
33
+ }).passthrough().describe("Model for action item attributes.");
34
34
  const RootlyListActionItems_ActionItemSchema = z.object({
35
- id: z.string().describe("Unique ID of the action item"),
36
- type: z.string().describe("Type of the item (incident_action_items)"),
35
+ id: z.string().describe("Unique ID of the action item").nullable(),
36
+ type: z.string().describe("Type of the item (incident_action_items)").nullable(),
37
37
  attributes: RootlyListActionItems_ActionItemAttributesSchema.nullable()
38
- }).describe("Model for action item.");
38
+ }).passthrough().describe("Model for action item.");
39
39
  const RootlyListActionItems_PaginationMetaSchema = z.object({
40
40
  next_page: z.number().int().describe("Next page number").nullable().optional(),
41
41
  prev_page: z.number().int().describe("Previous page number").nullable().optional(),
42
42
  total_count: z.number().int().describe("Total number of action items").nullable().optional(),
43
43
  total_pages: z.number().int().describe("Total number of pages").nullable().optional(),
44
44
  current_page: z.number().int().describe("Current page number").nullable().optional()
45
- }).describe("Model for pagination metadata.");
45
+ }).passthrough().describe("Model for pagination metadata.");
46
46
  const RootlyListActionItems_PaginationLinksSchema = z.object({
47
47
  last: z.string().describe("Link to last page").nullable().optional(),
48
48
  next: z.string().describe("Link to next page").nullable().optional(),
49
49
  prev: z.string().describe("Link to previous page").nullable().optional(),
50
50
  self: z.string().describe("Link to current page").nullable().optional(),
51
51
  first: z.string().describe("Link to first page").nullable().optional()
52
- }).describe("Model for pagination links.");
52
+ }).passthrough().describe("Model for pagination links.");
53
53
  const rootlyListActionItems = action("ROOTLY_LIST_ACTION_ITEMS", {
54
54
  slug: "rootly-list-action-items",
55
55
  name: "List Action Items",
@@ -59,7 +59,7 @@ const rootlyListActionItems = action("ROOTLY_LIST_ACTION_ITEMS", {
59
59
  data: z.array(RootlyListActionItems_ActionItemSchema).describe("List of action items").nullable().optional(),
60
60
  meta: RootlyListActionItems_PaginationMetaSchema.nullable().optional(),
61
61
  links: RootlyListActionItems_PaginationLinksSchema.nullable().optional()
62
- }).describe("Response model for listing action items.")
62
+ }).passthrough().describe("Response model for listing action items.")
63
63
  });
64
64
  //#endregion
65
65
  export { rootlyListActionItems };
@@ -1 +1 @@
1
- {"version":3,"file":"list-action-items.mjs","names":[],"sources":["../../src/actions/list-action-items.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RootlyListActionItemsInput: z.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"],"mappings":";;;AAIA,MAAa,6BAA2C,EAAE,OAAO;CAC/D,MAAM,EAAE,KAAK,CAAC,QAAQ,WAAW,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,C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,SAAS,CAAC,CAAC,SAAS;CACnE,MAAM,EAAE,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,SAAS,6BAA6B;AAOzC,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXuD,EAAE,OAAO;EAChE,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,SAAS,0CAOF;AACV,CAAC"}
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,O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,CAAC,SAAS,0CAOhB;AACV,CAAC"}
@@ -48,14 +48,14 @@ const RootlyUpdateIncident_IncidentAttributesSchema = zod.z.object({
48
48
  cancellation_message: zod.z.string().describe("Cancellation message").nullable().optional(),
49
49
  duplicate_incident_id: zod.z.string().describe("Duplicate incident reference").nullable().optional(),
50
50
  slack_channel_archived: zod.z.boolean().describe("Whether Slack channel is archived").nullable().optional()
51
- }).describe("Model for incident attributes in the response.");
51
+ }).passthrough().describe("Model for incident attributes in the response.");
52
52
  const RootlyUpdateIncident_IncidentDataSchema = zod.z.object({
53
- id: zod.z.string().describe("Unique incident identifier"),
54
- type: zod.z.string().describe("Resource type (incidents)"),
53
+ id: zod.z.string().describe("Unique incident identifier").nullable(),
54
+ type: zod.z.string().describe("Resource type (incidents)").nullable(),
55
55
  attributes: RootlyUpdateIncident_IncidentAttributesSchema.nullable(),
56
56
  relationships: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Related resources").nullable().optional()
57
- }).describe("Model for incident data in the response.");
58
- const RootlyUpdateIncidentOutput = zod.z.object({ data: RootlyUpdateIncident_IncidentDataSchema.nullable() }).describe("Response model for updating an incident.");
57
+ }).passthrough().describe("Model for incident data in the response.");
58
+ const RootlyUpdateIncidentOutput = zod.z.object({ data: RootlyUpdateIncident_IncidentDataSchema.nullable() }).passthrough().describe("Response model for updating an incident.");
59
59
  const rootlyUpdateIncident = require_action.action("ROOTLY_UPDATE_INCIDENT", {
60
60
  slug: "rootly-update-incident",
61
61
  name: "Update Incident",
@@ -1 +1 @@
1
- {"version":3,"file":"update-incident.cjs","names":["z","action"],"sources":["../../src/actions/update-incident.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RootlyUpdateIncidentInput: z.ZodTypeAny = 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.ZodTypeAny = z.object({\n kind: z.string().describe(\"Incident kind\").nullable().optional(),\n slug: z.string().describe(\"URL-friendly identifier\").nullable().optional(),\n title: z.string().describe(\"Incident title\").nullable().optional(),\n labels: z.record(z.string(), z.unknown()).describe(\"Custom labels\").nullable().optional(),\n status: z.string().describe(\"Incident status\").nullable().optional(),\n private: z.boolean().describe(\"Whether incident is private\").nullable().optional(),\n summary: z.string().describe(\"Incident summary\").nullable().optional(),\n alert_ids: z.array(z.string()).describe(\"Alert identifiers\").nullable().optional(),\n cause_ids: z.array(z.string()).describe(\"Cause identifiers\").nullable().optional(),\n group_ids: z.array(z.string()).describe(\"Group identifiers\").nullable().optional(),\n created_at: z.string().describe(\"Creation timestamp\").nullable().optional(),\n started_at: z.string().describe(\"Incident start timestamp\").nullable().optional(),\n updated_at: z.string().describe(\"Last update timestamp\").nullable().optional(),\n resolved_at: z.string().describe(\"Incident resolution timestamp\").nullable().optional(),\n service_ids: z.array(z.string()).describe(\"Service identifiers\").nullable().optional(),\n severity_id: z.string().describe(\"Severity identifier\").nullable().optional(),\n mitigated_at: z.string().describe(\"Incident mitigation timestamp\").nullable().optional(),\n public_title: z.string().describe(\"Public-facing title\").nullable().optional(),\n jira_issue_id: z.string().describe(\"Jira issue ID\").nullable().optional(),\n scheduled_for: z.string().describe(\"Scheduled start timestamp\").nullable().optional(),\n sequential_id: z.number().int().describe(\"Sequential numeric identifier\").nullable().optional(),\n jira_issue_key: z.string().describe(\"Jira issue key\").nullable().optional(),\n jira_issue_url: z.string().describe(\"Jira issue URL\").nullable().optional(),\n environment_ids: z.array(z.string()).describe(\"Environment identifiers\").nullable().optional(),\n google_drive_id: z.string().describe(\"Google Drive ID\").nullable().optional(),\n scheduled_until: z.string().describe(\"Scheduled end timestamp\").nullable().optional(),\n google_drive_url: z.string().describe(\"Google Drive URL\").nullable().optional(),\n slack_channel_id: z.string().describe(\"Slack channel ID\").nullable().optional(),\n functionality_ids: z.array(z.string()).describe(\"Functionality identifiers\").nullable().optional(),\n incident_type_ids: z.array(z.string()).describe(\"Incident type identifiers\").nullable().optional(),\n muted_service_ids: z.array(z.string()).describe(\"Muted service identifiers\").nullable().optional(),\n slack_channel_url: z.string().describe(\"Slack channel URL\").nullable().optional(),\n mitigation_message: z.string().describe(\"Mitigation message\").nullable().optional(),\n parent_incident_id: z.string().describe(\"Parent incident reference\").nullable().optional(),\n resolution_message: z.string().describe(\"Resolution message\").nullable().optional(),\n slack_channel_name: z.string().describe(\"Slack channel name\").nullable().optional(),\n cancellation_message: z.string().describe(\"Cancellation message\").nullable().optional(),\n duplicate_incident_id: z.string().describe(\"Duplicate incident reference\").nullable().optional(),\n slack_channel_archived: z.boolean().describe(\"Whether Slack channel is archived\").nullable().optional(),\n}).describe(\"Model for incident attributes in the response.\");\nconst RootlyUpdateIncident_IncidentDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique incident identifier\"),\n type: z.string().describe(\"Resource type (incidents)\"),\n attributes: RootlyUpdateIncident_IncidentAttributesSchema.nullable(),\n relationships: z.record(z.string(), z.unknown()).describe(\"Related resources\").nullable().optional(),\n}).describe(\"Model for incident data in the response.\");\nexport const RootlyUpdateIncidentOutput: z.ZodTypeAny = z.object({\n data: RootlyUpdateIncident_IncidentDataSchema.nullable(),\n}).describe(\"Response model for updating an incident.\");\n\nexport const rootlyUpdateIncident = action(\"ROOTLY_UPDATE_INCIDENT\", {\n slug: \"rootly-update-incident\",\n name: \"Update Incident\",\n description: \"Tool to update fields on an existing Rootly incident by ID. Use when you need to modify incident status, severity, metadata, or other attributes. Supports updating title, status, summary, severity_id, service_ids, environment_ids, and more.\",\n input: RootlyUpdateIncidentInput,\n output: RootlyUpdateIncidentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CAChF,MAAMA,IAAAA,EAAE,OAAO;EACf,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,WAAW,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAC9F,YAAYA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6yBAA6yB;CACt2B,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,gDAA8DA,IAAAA,EAAE,OAAO;CAC3E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjE,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,i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4B;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACrD,YAAY,8CAA8C,SAAS;CACnE,eAAeA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAa,6BAA2CA,IAAAA,EAAE,OAAO,EAC/D,MAAM,wCAAwC,SAAS,EACzD,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAEtD,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-incident.cjs","names":["z","action"],"sources":["../../src/actions/update-incident.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RootlyUpdateIncidentInput = z.object({\n id: z.string().describe(\"The ID of the incident to update (UUID or slug format)\"),\n data: z.object({\n type: z.string().default(\"incidents\").describe(\"Resource type, must be 'incidents'\").optional(),\n attributes: z.record(z.string(), z.unknown()).describe(\"Incident attributes to update. Supported fields include: title (string), kind (string), status (string), summary (string), private (boolean), severity_id (string), public_title (string), parent_incident_id (string), duplicate_incident_id (string), alert_ids (array), service_ids (array), environment_ids (array), incident_type_ids (array), functionality_ids (array), group_ids (array), cause_ids (array), muted_service_ids (array), labels (object), slack_channel_id, slack_channel_name, slack_channel_url, slack_channel_archived, jira_issue_key, jira_issue_id, jira_issue_url, google_drive_id, google_drive_url, scheduled_for, scheduled_until, started_at, mitigated_at, resolved_at, mitigation_message, resolution_message, cancellation_message, and other incident fields. Only include fields you want to update.\"),\n}).describe(\"Data object containing the incident type and attributes to update\"),\n}).describe(\"Request model for updating an incident.\");\nconst RootlyUpdateIncident_IncidentAttributesSchema = z.object({\n kind: z.string().describe(\"Incident kind\").nullable().optional(),\n slug: z.string().describe(\"URL-friendly identifier\").nullable().optional(),\n title: z.string().describe(\"Incident title\").nullable().optional(),\n labels: z.record(z.string(), z.unknown()).describe(\"Custom labels\").nullable().optional(),\n status: z.string().describe(\"Incident status\").nullable().optional(),\n private: z.boolean().describe(\"Whether incident is private\").nullable().optional(),\n summary: z.string().describe(\"Incident summary\").nullable().optional(),\n alert_ids: z.array(z.string()).describe(\"Alert identifiers\").nullable().optional(),\n cause_ids: z.array(z.string()).describe(\"Cause identifiers\").nullable().optional(),\n group_ids: z.array(z.string()).describe(\"Group identifiers\").nullable().optional(),\n created_at: z.string().describe(\"Creation timestamp\").nullable().optional(),\n started_at: z.string().describe(\"Incident start timestamp\").nullable().optional(),\n updated_at: z.string().describe(\"Last update timestamp\").nullable().optional(),\n resolved_at: z.string().describe(\"Incident resolution timestamp\").nullable().optional(),\n service_ids: z.array(z.string()).describe(\"Service identifiers\").nullable().optional(),\n severity_id: z.string().describe(\"Severity identifier\").nullable().optional(),\n mitigated_at: z.string().describe(\"Incident mitigation timestamp\").nullable().optional(),\n public_title: z.string().describe(\"Public-facing title\").nullable().optional(),\n jira_issue_id: z.string().describe(\"Jira issue ID\").nullable().optional(),\n scheduled_for: z.string().describe(\"Scheduled start timestamp\").nullable().optional(),\n sequential_id: z.number().int().describe(\"Sequential numeric identifier\").nullable().optional(),\n jira_issue_key: z.string().describe(\"Jira issue key\").nullable().optional(),\n jira_issue_url: z.string().describe(\"Jira issue URL\").nullable().optional(),\n environment_ids: z.array(z.string()).describe(\"Environment identifiers\").nullable().optional(),\n google_drive_id: z.string().describe(\"Google Drive ID\").nullable().optional(),\n scheduled_until: z.string().describe(\"Scheduled end timestamp\").nullable().optional(),\n google_drive_url: z.string().describe(\"Google Drive URL\").nullable().optional(),\n slack_channel_id: z.string().describe(\"Slack channel ID\").nullable().optional(),\n functionality_ids: z.array(z.string()).describe(\"Functionality identifiers\").nullable().optional(),\n incident_type_ids: z.array(z.string()).describe(\"Incident type identifiers\").nullable().optional(),\n muted_service_ids: z.array(z.string()).describe(\"Muted service identifiers\").nullable().optional(),\n slack_channel_url: z.string().describe(\"Slack channel URL\").nullable().optional(),\n mitigation_message: z.string().describe(\"Mitigation message\").nullable().optional(),\n parent_incident_id: z.string().describe(\"Parent incident reference\").nullable().optional(),\n resolution_message: z.string().describe(\"Resolution message\").nullable().optional(),\n slack_channel_name: z.string().describe(\"Slack channel name\").nullable().optional(),\n cancellation_message: z.string().describe(\"Cancellation message\").nullable().optional(),\n duplicate_incident_id: z.string().describe(\"Duplicate incident reference\").nullable().optional(),\n slack_channel_archived: z.boolean().describe(\"Whether Slack channel is archived\").nullable().optional(),\n}).passthrough().describe(\"Model for incident attributes in the response.\");\nconst RootlyUpdateIncident_IncidentDataSchema = z.object({\n id: z.string().describe(\"Unique incident identifier\").nullable(),\n type: z.string().describe(\"Resource type (incidents)\").nullable(),\n attributes: RootlyUpdateIncident_IncidentAttributesSchema.nullable(),\n relationships: z.record(z.string(), z.unknown()).describe(\"Related resources\").nullable().optional(),\n}).passthrough().describe(\"Model for incident data in the response.\");\nexport const RootlyUpdateIncidentOutput = z.object({\n data: RootlyUpdateIncident_IncidentDataSchema.nullable(),\n}).passthrough().describe(\"Response model for updating an incident.\");\n\nexport const rootlyUpdateIncident = action(\"ROOTLY_UPDATE_INCIDENT\", {\n slug: \"rootly-update-incident\",\n name: \"Update Incident\",\n description: \"Tool to update fields on an existing Rootly incident by ID. Use when you need to modify incident status, severity, metadata, or other attributes. Supports updating title, status, summary, severity_id, service_ids, environment_ids, and more.\",\n input: RootlyUpdateIncidentInput,\n output: RootlyUpdateIncidentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CAChF,MAAMA,IAAAA,EAAE,OAAO;EACf,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,WAAW,CAAC,C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AAEpE,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,68 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-incident.d.ts
4
- declare const RootlyUpdateIncidentInput: z.ZodTypeAny;
5
- declare const RootlyUpdateIncidentOutput: z.ZodTypeAny;
6
- declare const rootlyUpdateIncident: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RootlyUpdateIncidentInput: z.ZodObject<{
5
+ id: z.ZodString;
6
+ data: z.ZodObject<{
7
+ type: z.ZodOptional<z.ZodDefault<z.ZodString>>;
8
+ attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9
+ }, z.core.$strip>;
10
+ }, z.core.$strip>;
11
+ declare const RootlyUpdateIncidentOutput: z.ZodObject<{
12
+ data: z.ZodNullable<z.ZodObject<{
13
+ id: z.ZodNullable<z.ZodString>;
14
+ type: z.ZodNullable<z.ZodString>;
15
+ attributes: z.ZodNullable<z.ZodObject<{
16
+ kind: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ labels: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
20
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ private: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
22
+ summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ alert_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
24
+ cause_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
25
+ group_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
26
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ resolved_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ service_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
31
+ severity_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
+ mitigated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
+ public_title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
+ jira_issue_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
+ scheduled_for: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
+ sequential_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
37
+ jira_issue_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
+ jira_issue_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
+ environment_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
40
+ google_drive_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
+ scheduled_until: z.ZodOptional<z.ZodNullable<z.ZodString>>;
42
+ google_drive_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43
+ slack_channel_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
44
+ functionality_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
45
+ incident_type_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
46
+ muted_service_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
47
+ slack_channel_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
48
+ mitigation_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
49
+ parent_incident_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
50
+ resolution_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51
+ slack_channel_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
52
+ cancellation_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
53
+ duplicate_incident_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
54
+ slack_channel_archived: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
55
+ }, z.core.$loose>>;
56
+ relationships: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
57
+ }, z.core.$loose>>;
58
+ }, 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]>, readonly [import("@keystrokehq/shared").Credential]>;
7
66
  //#endregion
8
67
  export { rootlyUpdateIncident };
9
68
  //# 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,EAA2B,CAAA,CAAE,UAMY;AAAA,cAgDzC,0BAAA,EAA4B,CAAA,CAAE,UAEY;AAAA,cAE1C,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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;;;gBAM/B,MAAA"}
@@ -1,9 +1,68 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-incident.d.ts
4
- declare const RootlyUpdateIncidentInput: z.ZodTypeAny;
5
- declare const RootlyUpdateIncidentOutput: z.ZodTypeAny;
6
- declare const rootlyUpdateIncident: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RootlyUpdateIncidentInput: z.ZodObject<{
5
+ id: z.ZodString;
6
+ data: z.ZodObject<{
7
+ type: z.ZodOptional<z.ZodDefault<z.ZodString>>;
8
+ attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9
+ }, z.core.$strip>;
10
+ }, z.core.$strip>;
11
+ declare const RootlyUpdateIncidentOutput: z.ZodObject<{
12
+ data: z.ZodNullable<z.ZodObject<{
13
+ id: z.ZodNullable<z.ZodString>;
14
+ type: z.ZodNullable<z.ZodString>;
15
+ attributes: z.ZodNullable<z.ZodObject<{
16
+ kind: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ labels: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
20
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ private: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
22
+ summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ alert_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
24
+ cause_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
25
+ group_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
26
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ resolved_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ service_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
31
+ severity_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
+ mitigated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
+ public_title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
+ jira_issue_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
+ scheduled_for: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
+ sequential_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
37
+ jira_issue_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
+ jira_issue_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
+ environment_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
40
+ google_drive_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
+ scheduled_until: z.ZodOptional<z.ZodNullable<z.ZodString>>;
42
+ google_drive_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43
+ slack_channel_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
44
+ functionality_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
45
+ incident_type_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
46
+ muted_service_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
47
+ slack_channel_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
48
+ mitigation_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
49
+ parent_incident_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
50
+ resolution_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51
+ slack_channel_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
52
+ cancellation_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
53
+ duplicate_incident_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
54
+ slack_channel_archived: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
55
+ }, z.core.$loose>>;
56
+ relationships: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
57
+ }, z.core.$loose>>;
58
+ }, 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]>, readonly [import("@keystrokehq/shared").Credential]>;
7
66
  //#endregion
8
67
  export { rootlyUpdateIncident };
9
68
  //# 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,EAA2B,CAAA,CAAE,UAMY;AAAA,cAgDzC,0BAAA,EAA4B,CAAA,CAAE,UAEY;AAAA,cAE1C,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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;;;gBAM/B,MAAA"}
@@ -48,19 +48,19 @@ const RootlyUpdateIncident_IncidentAttributesSchema = z.object({
48
48
  cancellation_message: z.string().describe("Cancellation message").nullable().optional(),
49
49
  duplicate_incident_id: z.string().describe("Duplicate incident reference").nullable().optional(),
50
50
  slack_channel_archived: z.boolean().describe("Whether Slack channel is archived").nullable().optional()
51
- }).describe("Model for incident attributes in the response.");
51
+ }).passthrough().describe("Model for incident attributes in the response.");
52
52
  const RootlyUpdateIncident_IncidentDataSchema = z.object({
53
- id: z.string().describe("Unique incident identifier"),
54
- type: z.string().describe("Resource type (incidents)"),
53
+ id: z.string().describe("Unique incident identifier").nullable(),
54
+ type: z.string().describe("Resource type (incidents)").nullable(),
55
55
  attributes: RootlyUpdateIncident_IncidentAttributesSchema.nullable(),
56
56
  relationships: z.record(z.string(), z.unknown()).describe("Related resources").nullable().optional()
57
- }).describe("Model for incident data in the response.");
57
+ }).passthrough().describe("Model for incident data in the response.");
58
58
  const rootlyUpdateIncident = action("ROOTLY_UPDATE_INCIDENT", {
59
59
  slug: "rootly-update-incident",
60
60
  name: "Update Incident",
61
61
  description: "Tool to update fields on an existing Rootly incident by ID. Use when you need to modify incident status, severity, metadata, or other attributes. Supports updating title, status, summary, severity_id, service_ids, environment_ids, and more.",
62
62
  input: RootlyUpdateIncidentInput,
63
- output: z.object({ data: RootlyUpdateIncident_IncidentDataSchema.nullable() }).describe("Response model for updating an incident.")
63
+ output: z.object({ data: RootlyUpdateIncident_IncidentDataSchema.nullable() }).passthrough().describe("Response model for updating an incident.")
64
64
  });
65
65
  //#endregion
66
66
  export { rootlyUpdateIncident };
@@ -1 +1 @@
1
- {"version":3,"file":"update-incident.mjs","names":[],"sources":["../../src/actions/update-incident.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RootlyUpdateIncidentInput: z.ZodTypeAny = 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.ZodTypeAny = z.object({\n kind: z.string().describe(\"Incident kind\").nullable().optional(),\n slug: z.string().describe(\"URL-friendly identifier\").nullable().optional(),\n title: z.string().describe(\"Incident title\").nullable().optional(),\n labels: z.record(z.string(), z.unknown()).describe(\"Custom labels\").nullable().optional(),\n status: z.string().describe(\"Incident status\").nullable().optional(),\n private: z.boolean().describe(\"Whether incident is private\").nullable().optional(),\n summary: z.string().describe(\"Incident summary\").nullable().optional(),\n alert_ids: z.array(z.string()).describe(\"Alert identifiers\").nullable().optional(),\n cause_ids: z.array(z.string()).describe(\"Cause identifiers\").nullable().optional(),\n group_ids: z.array(z.string()).describe(\"Group identifiers\").nullable().optional(),\n created_at: z.string().describe(\"Creation timestamp\").nullable().optional(),\n started_at: z.string().describe(\"Incident start timestamp\").nullable().optional(),\n updated_at: z.string().describe(\"Last update timestamp\").nullable().optional(),\n resolved_at: z.string().describe(\"Incident resolution timestamp\").nullable().optional(),\n service_ids: z.array(z.string()).describe(\"Service identifiers\").nullable().optional(),\n severity_id: z.string().describe(\"Severity identifier\").nullable().optional(),\n mitigated_at: z.string().describe(\"Incident mitigation timestamp\").nullable().optional(),\n public_title: z.string().describe(\"Public-facing title\").nullable().optional(),\n jira_issue_id: z.string().describe(\"Jira issue ID\").nullable().optional(),\n scheduled_for: z.string().describe(\"Scheduled start timestamp\").nullable().optional(),\n sequential_id: z.number().int().describe(\"Sequential numeric identifier\").nullable().optional(),\n jira_issue_key: z.string().describe(\"Jira issue key\").nullable().optional(),\n jira_issue_url: z.string().describe(\"Jira issue URL\").nullable().optional(),\n environment_ids: z.array(z.string()).describe(\"Environment identifiers\").nullable().optional(),\n google_drive_id: z.string().describe(\"Google Drive ID\").nullable().optional(),\n scheduled_until: z.string().describe(\"Scheduled end timestamp\").nullable().optional(),\n google_drive_url: z.string().describe(\"Google Drive URL\").nullable().optional(),\n slack_channel_id: z.string().describe(\"Slack channel ID\").nullable().optional(),\n functionality_ids: z.array(z.string()).describe(\"Functionality identifiers\").nullable().optional(),\n incident_type_ids: z.array(z.string()).describe(\"Incident type identifiers\").nullable().optional(),\n muted_service_ids: z.array(z.string()).describe(\"Muted service identifiers\").nullable().optional(),\n slack_channel_url: z.string().describe(\"Slack channel URL\").nullable().optional(),\n mitigation_message: z.string().describe(\"Mitigation message\").nullable().optional(),\n parent_incident_id: z.string().describe(\"Parent incident reference\").nullable().optional(),\n resolution_message: z.string().describe(\"Resolution message\").nullable().optional(),\n slack_channel_name: z.string().describe(\"Slack channel name\").nullable().optional(),\n cancellation_message: z.string().describe(\"Cancellation message\").nullable().optional(),\n duplicate_incident_id: z.string().describe(\"Duplicate incident reference\").nullable().optional(),\n slack_channel_archived: z.boolean().describe(\"Whether Slack channel is archived\").nullable().optional(),\n}).describe(\"Model for incident attributes in the response.\");\nconst RootlyUpdateIncident_IncidentDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique incident identifier\"),\n type: z.string().describe(\"Resource type (incidents)\"),\n attributes: RootlyUpdateIncident_IncidentAttributesSchema.nullable(),\n relationships: z.record(z.string(), z.unknown()).describe(\"Related resources\").nullable().optional(),\n}).describe(\"Model for incident data in the response.\");\nexport const RootlyUpdateIncidentOutput: z.ZodTypeAny = z.object({\n data: RootlyUpdateIncident_IncidentDataSchema.nullable(),\n}).describe(\"Response model for updating an incident.\");\n\nexport const rootlyUpdateIncident = action(\"ROOTLY_UPDATE_INCIDENT\", {\n slug: \"rootly-update-incident\",\n name: \"Update Incident\",\n description: \"Tool to update fields on an existing Rootly incident by ID. Use when you need to modify incident status, severity, metadata, or other attributes. Supports updating title, status, summary, severity_id, service_ids, environment_ids, and more.\",\n input: RootlyUpdateIncidentInput,\n output: RootlyUpdateIncidentOutput,\n});\n"],"m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BAAoB,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,SAAS,gDAAgD;AAC5D,MAAM,0CAAwD,EAAE,OAAO;CACrE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACrD,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,SAAS,0CAA0C;AAKtD,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATsD,EAAE,OAAO,EAC/D,MAAM,wCAAwC,SAAS,EACzD,CAAC,CAAC,CAAC,SAAS,0CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"update-incident.mjs","names":[],"sources":["../../src/actions/update-incident.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RootlyUpdateIncidentInput = z.object({\n id: z.string().describe(\"The ID of the incident to update (UUID or slug format)\"),\n data: z.object({\n type: z.string().default(\"incidents\").describe(\"Resource type, must be 'incidents'\").optional(),\n attributes: z.record(z.string(), z.unknown()).describe(\"Incident attributes to update. Supported fields include: title (string), kind (string), status (string), summary (string), private (boolean), severity_id (string), public_title (string), parent_incident_id (string), duplicate_incident_id (string), alert_ids (array), service_ids (array), environment_ids (array), incident_type_ids (array), functionality_ids (array), group_ids (array), cause_ids (array), muted_service_ids (array), labels (object), slack_channel_id, slack_channel_name, slack_channel_url, slack_channel_archived, jira_issue_key, jira_issue_id, jira_issue_url, google_drive_id, google_drive_url, scheduled_for, scheduled_until, started_at, mitigated_at, resolved_at, mitigation_message, resolution_message, cancellation_message, and other incident fields. Only include fields you want to update.\"),\n}).describe(\"Data object containing the incident type and attributes to update\"),\n}).describe(\"Request model for updating an incident.\");\nconst RootlyUpdateIncident_IncidentAttributesSchema = z.object({\n kind: z.string().describe(\"Incident kind\").nullable().optional(),\n slug: z.string().describe(\"URL-friendly identifier\").nullable().optional(),\n title: z.string().describe(\"Incident title\").nullable().optional(),\n labels: z.record(z.string(), z.unknown()).describe(\"Custom labels\").nullable().optional(),\n status: z.string().describe(\"Incident status\").nullable().optional(),\n private: z.boolean().describe(\"Whether incident is private\").nullable().optional(),\n summary: z.string().describe(\"Incident summary\").nullable().optional(),\n alert_ids: z.array(z.string()).describe(\"Alert identifiers\").nullable().optional(),\n cause_ids: z.array(z.string()).describe(\"Cause identifiers\").nullable().optional(),\n group_ids: z.array(z.string()).describe(\"Group identifiers\").nullable().optional(),\n created_at: z.string().describe(\"Creation timestamp\").nullable().optional(),\n started_at: z.string().describe(\"Incident start timestamp\").nullable().optional(),\n updated_at: z.string().describe(\"Last update timestamp\").nullable().optional(),\n resolved_at: z.string().describe(\"Incident resolution timestamp\").nullable().optional(),\n service_ids: z.array(z.string()).describe(\"Service identifiers\").nullable().optional(),\n severity_id: z.string().describe(\"Severity identifier\").nullable().optional(),\n mitigated_at: z.string().describe(\"Incident mitigation timestamp\").nullable().optional(),\n public_title: z.string().describe(\"Public-facing title\").nullable().optional(),\n jira_issue_id: z.string().describe(\"Jira issue ID\").nullable().optional(),\n scheduled_for: z.string().describe(\"Scheduled start timestamp\").nullable().optional(),\n sequential_id: z.number().int().describe(\"Sequential numeric identifier\").nullable().optional(),\n jira_issue_key: z.string().describe(\"Jira issue key\").nullable().optional(),\n jira_issue_url: z.string().describe(\"Jira issue URL\").nullable().optional(),\n environment_ids: z.array(z.string()).describe(\"Environment identifiers\").nullable().optional(),\n google_drive_id: z.string().describe(\"Google Drive ID\").nullable().optional(),\n scheduled_until: z.string().describe(\"Scheduled end timestamp\").nullable().optional(),\n google_drive_url: z.string().describe(\"Google Drive URL\").nullable().optional(),\n slack_channel_id: z.string().describe(\"Slack channel ID\").nullable().optional(),\n functionality_ids: z.array(z.string()).describe(\"Functionality identifiers\").nullable().optional(),\n incident_type_ids: z.array(z.string()).describe(\"Incident type identifiers\").nullable().optional(),\n muted_service_ids: z.array(z.string()).describe(\"Muted service identifiers\").nullable().optional(),\n slack_channel_url: z.string().describe(\"Slack channel URL\").nullable().optional(),\n mitigation_message: z.string().describe(\"Mitigation message\").nullable().optional(),\n parent_incident_id: z.string().describe(\"Parent incident reference\").nullable().optional(),\n resolution_message: z.string().describe(\"Resolution message\").nullable().optional(),\n slack_channel_name: z.string().describe(\"Slack channel name\").nullable().optional(),\n cancellation_message: z.string().describe(\"Cancellation message\").nullable().optional(),\n duplicate_incident_id: z.string().describe(\"Duplicate incident reference\").nullable().optional(),\n slack_channel_archived: z.boolean().describe(\"Whether Slack channel is archived\").nullable().optional(),\n}).passthrough().describe(\"Model for incident attributes in the response.\");\nconst RootlyUpdateIncident_IncidentDataSchema = z.object({\n id: z.string().describe(\"Unique incident identifier\").nullable(),\n type: z.string().describe(\"Resource type (incidents)\").nullable(),\n attributes: RootlyUpdateIncident_IncidentAttributesSchema.nullable(),\n relationships: z.record(z.string(), z.unknown()).describe(\"Related resources\").nullable().optional(),\n}).passthrough().describe(\"Model for incident data in the response.\");\nexport const RootlyUpdateIncidentOutput = z.object({\n data: RootlyUpdateIncident_IncidentDataSchema.nullable(),\n}).passthrough().describe(\"Response model for updating an incident.\");\n\nexport const rootlyUpdateIncident = action(\"ROOTLY_UPDATE_INCIDENT\", {\n slug: \"rootly-update-incident\",\n name: \"Update Incident\",\n description: \"Tool to update fields on an existing Rootly incident by ID. Use when you need to modify incident status, severity, metadata, or other attributes. Supports updating title, status, summary, severity_id, service_ids, environment_ids, and more.\",\n input: RootlyUpdateIncidentInput,\n output: RootlyUpdateIncidentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CAChF,MAAM,EAAE,OAAO;EACf,MAAM,EAAE,OAAO,CAAC,CAAC,QAAQ,WAAW,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAC9F,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6yBAA6yB;CACt2B,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,gDAAgD,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,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,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7
  "category": "IT Operations",
8
8
  "logo": "https://logos.composio.dev/api/rootly",
9
9
  "authKind": "keystroke",
10
- "oauthScopes": []
10
+ "oauthScopes": [],
11
+ "credentialFields": { "api_key": {
12
+ "label": "Rootly API Key",
13
+ "secret": true,
14
+ "description": "The API key used for authenticating requests to the Rootly API."
15
+ } },
16
+ "credentialScheme": "API_KEY"
11
17
  };
12
18
  //#endregion
13
19
  exports.rootlyCatalog = rootlyCatalog;
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const rootlyCatalog = {\n \"slug\": \"rootly\",\n \"name\": \"Rootly\",\n \"description\": \"Rootly is an AI-native incident management platform that automates workflows and collaboration, integrating with Slack, PagerDuty, and other tools to streamline incident response.\",\n \"category\": \"IT Operations\",\n \"logo\": \"https://logos.composio.dev/api/rootly\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,gBAAgB;CAC3B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
1
+ {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const rootlyCatalog = {\n \"slug\": \"rootly\",\n \"name\": \"Rootly\",\n \"description\": \"Rootly is an AI-native incident management platform that automates workflows and collaboration, integrating with Slack, PagerDuty, and other tools to streamline incident response.\",\n \"category\": \"IT Operations\",\n \"logo\": \"https://logos.composio.dev/api/rootly\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"Rootly API Key\",\n \"secret\": true,\n \"description\": \"The API key used for authenticating requests to the Rootly API.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,gBAAgB;CAC3B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
@@ -8,6 +8,14 @@ declare const rootlyCatalog: {
8
8
  readonly logo: "https://logos.composio.dev/api/rootly";
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
+ readonly credentialFields: {
12
+ readonly api_key: {
13
+ readonly label: "Rootly API Key";
14
+ readonly secret: true;
15
+ readonly description: "The API key used for authenticating requests to the Rootly API.";
16
+ };
17
+ };
18
+ readonly credentialScheme: "API_KEY";
11
19
  };
12
20
  //#endregion
13
21
  export { rootlyCatalog };
@@ -8,6 +8,14 @@ declare const rootlyCatalog: {
8
8
  readonly logo: "https://logos.composio.dev/api/rootly";
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
+ readonly credentialFields: {
12
+ readonly api_key: {
13
+ readonly label: "Rootly API Key";
14
+ readonly secret: true;
15
+ readonly description: "The API key used for authenticating requests to the Rootly API.";
16
+ };
17
+ };
18
+ readonly credentialScheme: "API_KEY";
11
19
  };
12
20
  //#endregion
13
21
  export { rootlyCatalog };
package/dist/catalog.mjs CHANGED
@@ -7,7 +7,13 @@ const rootlyCatalog = {
7
7
  "category": "IT Operations",
8
8
  "logo": "https://logos.composio.dev/api/rootly",
9
9
  "authKind": "keystroke",
10
- "oauthScopes": []
10
+ "oauthScopes": [],
11
+ "credentialFields": { "api_key": {
12
+ "label": "Rootly API Key",
13
+ "secret": true,
14
+ "description": "The API key used for authenticating requests to the Rootly API."
15
+ } },
16
+ "credentialScheme": "API_KEY"
11
17
  };
12
18
  //#endregion
13
19
  export { rootlyCatalog };
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const rootlyCatalog = {\n \"slug\": \"rootly\",\n \"name\": \"Rootly\",\n \"description\": \"Rootly is an AI-native incident management platform that automates workflows and collaboration, integrating with Slack, PagerDuty, and other tools to streamline incident response.\",\n \"category\": \"IT Operations\",\n \"logo\": \"https://logos.composio.dev/api/rootly\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,gBAAgB;CAC3B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
1
+ {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const rootlyCatalog = {\n \"slug\": \"rootly\",\n \"name\": \"Rootly\",\n \"description\": \"Rootly is an AI-native incident management platform that automates workflows and collaboration, integrating with Slack, PagerDuty, and other tools to streamline incident response.\",\n \"category\": \"IT Operations\",\n \"logo\": \"https://logos.composio.dev/api/rootly\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"Rootly API Key\",\n \"secret\": true,\n \"description\": \"The API key used for authenticating requests to the Rootly API.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,gBAAgB;CAC3B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/rootly",
3
- "version": "0.1.0",
3
+ "version": "0.1.3",
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.4",
35
35
  "zod": "^4.4.3"
36
36
  },
37
37
  "devDependencies": {