@devrev-computer/skills 1.0.0

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 (179) hide show
  1. package/README.md +37 -0
  2. package/bin/install.mjs +158 -0
  3. package/package.json +33 -0
  4. package/skills/account-evaluation/account-evaluation.md +64 -0
  5. package/skills/account-research/account-research.md +323 -0
  6. package/skills/account-research/references/signals-guide.md +52 -0
  7. package/skills/create-workflow-template/create-workflow-template.md +1091 -0
  8. package/skills/create-workflow-template/examples/3592-Generate rca from pia-template.json +1 -0
  9. package/skills/create-workflow-template/examples/4392-Async opportunity review agent-template.json +1 -0
  10. package/skills/create-workflow-template/examples/4441-Ticket escalator from customer message-template.json +1 -0
  11. package/skills/create-workflow-template/examples/4505-Auto-update issue tcd as end of sprint date-template.json +1 -0
  12. package/skills/create-workflow-template/examples/5040-Devrevu - enablement journey - poc emails-template.json +1 -0
  13. package/skills/create-workflow-template/examples/5158-Devrevu - enablement journey - mailing for non enablement journey users-template.json +1 -0
  14. package/skills/create-workflow-template/examples/5216-Account segment missing notification-template.json +1 -0
  15. package/skills/create-workflow-template/examples/working-csat-score-on-ticket-resolved.json +1 -0
  16. package/skills/create-workflow-template/examples/working-enhancement-replace-agent.json +1 -0
  17. package/skills/create-workflow-template/examples/working-invoke-code-sample.json +1 -0
  18. package/skills/create-workflow-template/examples/working-loop-variable-sample.json +1 -0
  19. package/skills/create-workflow-template/operations/actions.md +2919 -0
  20. package/skills/create-workflow-template/operations/blockings.md +38 -0
  21. package/skills/create-workflow-template/operations/controls.md +108 -0
  22. package/skills/create-workflow-template/operations/schema-index.md +166 -0
  23. package/skills/create-workflow-template/operations/schemas/account_created.md +58 -0
  24. package/skills/create-workflow-template/operations/schemas/account_updated.md +73 -0
  25. package/skills/create-workflow-template/operations/schemas/add_comment.md +29 -0
  26. package/skills/create-workflow-template/operations/schemas/airdrop_sync_run_started.md +33 -0
  27. package/skills/create-workflow-template/operations/schemas/airdrop_sync_run_status_updated.md +35 -0
  28. package/skills/create-workflow-template/operations/schemas/article_created.md +96 -0
  29. package/skills/create-workflow-template/operations/schemas/article_updated.md +135 -0
  30. package/skills/create-workflow-template/operations/schemas/ask_ai.md +11 -0
  31. package/skills/create-workflow-template/operations/schemas/classify_object.md +22 -0
  32. package/skills/create-workflow-template/operations/schemas/contact_created.md +43 -0
  33. package/skills/create-workflow-template/operations/schemas/contact_updated.md +65 -0
  34. package/skills/create-workflow-template/operations/schemas/conversation_created.md +108 -0
  35. package/skills/create-workflow-template/operations/schemas/conversation_sla_tracker_updated.md +46 -0
  36. package/skills/create-workflow-template/operations/schemas/conversation_updated.md +130 -0
  37. package/skills/create-workflow-template/operations/schemas/convert_conversation_to_ticket.md +13 -0
  38. package/skills/create-workflow-template/operations/schemas/create_account.md +62 -0
  39. package/skills/create-workflow-template/operations/schemas/create_article.md +79 -0
  40. package/skills/create-workflow-template/operations/schemas/create_brand.md +42 -0
  41. package/skills/create-workflow-template/operations/schemas/create_contact.md +65 -0
  42. package/skills/create-workflow-template/operations/schemas/create_dm.md +53 -0
  43. package/skills/create-workflow-template/operations/schemas/create_enhancement.md +63 -0
  44. package/skills/create-workflow-template/operations/schemas/create_incident.md +136 -0
  45. package/skills/create-workflow-template/operations/schemas/create_issue.md +150 -0
  46. package/skills/create-workflow-template/operations/schemas/create_meeting.md +105 -0
  47. package/skills/create-workflow-template/operations/schemas/create_opportunity.md +123 -0
  48. package/skills/create-workflow-template/operations/schemas/create_ticket.md +184 -0
  49. package/skills/create-workflow-template/operations/schemas/csat_response_received.md +73 -0
  50. package/skills/create-workflow-template/operations/schemas/dev_user_created.md +54 -0
  51. package/skills/create-workflow-template/operations/schemas/dev_user_updated.md +99 -0
  52. package/skills/create-workflow-template/operations/schemas/enhancement_created.md +46 -0
  53. package/skills/create-workflow-template/operations/schemas/enhancement_updated.md +89 -0
  54. package/skills/create-workflow-template/operations/schemas/evaluate_sentiment.md +14 -0
  55. package/skills/create-workflow-template/operations/schemas/execute_metric_action.md +11 -0
  56. package/skills/create-workflow-template/operations/schemas/feature_created.md +40 -0
  57. package/skills/create-workflow-template/operations/schemas/for_each.md +45 -0
  58. package/skills/create-workflow-template/operations/schemas/get_account.md +59 -0
  59. package/skills/create-workflow-template/operations/schemas/get_airdrop_sync_unit.md +32 -0
  60. package/skills/create-workflow-template/operations/schemas/get_brand.md +40 -0
  61. package/skills/create-workflow-template/operations/schemas/get_complete_enhancement_details.md +13 -0
  62. package/skills/create-workflow-template/operations/schemas/get_conversation.md +120 -0
  63. package/skills/create-workflow-template/operations/schemas/get_customer.md +60 -0
  64. package/skills/create-workflow-template/operations/schemas/get_enhancement.md +66 -0
  65. package/skills/create-workflow-template/operations/schemas/get_feature.md +56 -0
  66. package/skills/create-workflow-template/operations/schemas/get_incident.md +85 -0
  67. package/skills/create-workflow-template/operations/schemas/get_issue.md +117 -0
  68. package/skills/create-workflow-template/operations/schemas/get_kg_schema.md +23 -0
  69. package/skills/create-workflow-template/operations/schemas/get_meeting.md +87 -0
  70. package/skills/create-workflow-template/operations/schemas/get_metric_trackers.md +20 -0
  71. package/skills/create-workflow-template/operations/schemas/get_node_schema.md +29 -0
  72. package/skills/create-workflow-template/operations/schemas/get_opportunity.md +93 -0
  73. package/skills/create-workflow-template/operations/schemas/get_org_user.md +57 -0
  74. package/skills/create-workflow-template/operations/schemas/get_org_user_preference.md +40 -0
  75. package/skills/create-workflow-template/operations/schemas/get_part.md +55 -0
  76. package/skills/create-workflow-template/operations/schemas/get_self.md +54 -0
  77. package/skills/create-workflow-template/operations/schemas/get_session_details.md +45 -0
  78. package/skills/create-workflow-template/operations/schemas/get_sprint_board.md +103 -0
  79. package/skills/create-workflow-template/operations/schemas/get_ticket.md +136 -0
  80. package/skills/create-workflow-template/operations/schemas/get_workspace.md +21 -0
  81. package/skills/create-workflow-template/operations/schemas/go_back.md +13 -0
  82. package/skills/create-workflow-template/operations/schemas/http.md +38 -0
  83. package/skills/create-workflow-template/operations/schemas/hybrid_search.md +144 -0
  84. package/skills/create-workflow-template/operations/schemas/if_else.md +16 -0
  85. package/skills/create-workflow-template/operations/schemas/incident_created.md +88 -0
  86. package/skills/create-workflow-template/operations/schemas/incident_updated.md +126 -0
  87. package/skills/create-workflow-template/operations/schemas/init_variable.md +67 -0
  88. package/skills/create-workflow-template/operations/schemas/invoice_created.md +21 -0
  89. package/skills/create-workflow-template/operations/schemas/invoice_updated.md +41 -0
  90. package/skills/create-workflow-template/operations/schemas/invoke_code.md +132 -0
  91. package/skills/create-workflow-template/operations/schemas/issue_created.md +105 -0
  92. package/skills/create-workflow-template/operations/schemas/issue_sla_tracker_updated.md +46 -0
  93. package/skills/create-workflow-template/operations/schemas/issue_updated.md +172 -0
  94. package/skills/create-workflow-template/operations/schemas/link_incident_with_issue.md +14 -0
  95. package/skills/create-workflow-template/operations/schemas/link_ticket_with_issue.md +14 -0
  96. package/skills/create-workflow-template/operations/schemas/list_enhancements.md +74 -0
  97. package/skills/create-workflow-template/operations/schemas/list_issues.md +108 -0
  98. package/skills/create-workflow-template/operations/schemas/list_sessions.md +79 -0
  99. package/skills/create-workflow-template/operations/schemas/list_sprint.md +29 -0
  100. package/skills/create-workflow-template/operations/schemas/list_web_sessions.md +87 -0
  101. package/skills/create-workflow-template/operations/schemas/loop_over_accounts.md +106 -0
  102. package/skills/create-workflow-template/operations/schemas/loop_over_articles.md +126 -0
  103. package/skills/create-workflow-template/operations/schemas/loop_over_customers.md +88 -0
  104. package/skills/create-workflow-template/operations/schemas/loop_over_dev_users.md +75 -0
  105. package/skills/create-workflow-template/operations/schemas/loop_over_enhancements.md +112 -0
  106. package/skills/create-workflow-template/operations/schemas/loop_over_incidents.md +113 -0
  107. package/skills/create-workflow-template/operations/schemas/loop_over_issues.md +217 -0
  108. package/skills/create-workflow-template/operations/schemas/loop_over_meetings.md +150 -0
  109. package/skills/create-workflow-template/operations/schemas/loop_over_opportunity.md +161 -0
  110. package/skills/create-workflow-template/operations/schemas/loop_over_sprints.md +50 -0
  111. package/skills/create-workflow-template/operations/schemas/loop_over_tickets.md +203 -0
  112. package/skills/create-workflow-template/operations/schemas/manual_trigger.md +11 -0
  113. package/skills/create-workflow-template/operations/schemas/meeting_created.md +116 -0
  114. package/skills/create-workflow-template/operations/schemas/meeting_updated.md +152 -0
  115. package/skills/create-workflow-template/operations/schemas/oasis_sql_execute.md +11 -0
  116. package/skills/create-workflow-template/operations/schemas/opportunity_created.md +92 -0
  117. package/skills/create-workflow-template/operations/schemas/opportunity_updated.md +124 -0
  118. package/skills/create-workflow-template/operations/schemas/pick_user.md +16 -0
  119. package/skills/create-workflow-template/operations/schemas/question_answer_created.md +44 -0
  120. package/skills/create-workflow-template/operations/schemas/question_answer_updated.md +75 -0
  121. package/skills/create-workflow-template/operations/schemas/recall_chats.md +13 -0
  122. package/skills/create-workflow-template/operations/schemas/router.md +15 -0
  123. package/skills/create-workflow-template/operations/schemas/send_notification.md +19 -0
  124. package/skills/create-workflow-template/operations/schemas/set_variable.md +67 -0
  125. package/skills/create-workflow-template/operations/schemas/sleep_for.md +12 -0
  126. package/skills/create-workflow-template/operations/schemas/sleep_until.md +17 -0
  127. package/skills/create-workflow-template/operations/schemas/sprint_updated.md +37 -0
  128. package/skills/create-workflow-template/operations/schemas/suggest_part.md +14 -0
  129. package/skills/create-workflow-template/operations/schemas/task_updated.md +79 -0
  130. package/skills/create-workflow-template/operations/schemas/test_example.md +16 -0
  131. package/skills/create-workflow-template/operations/schemas/ticket_created.md +136 -0
  132. package/skills/create-workflow-template/operations/schemas/ticket_sla_tracker_updated.md +46 -0
  133. package/skills/create-workflow-template/operations/schemas/ticket_updated.md +198 -0
  134. package/skills/create-workflow-template/operations/schemas/timeline_comment_created.md +70 -0
  135. package/skills/create-workflow-template/operations/schemas/update_account.md +68 -0
  136. package/skills/create-workflow-template/operations/schemas/update_article.md +95 -0
  137. package/skills/create-workflow-template/operations/schemas/update_brand.md +44 -0
  138. package/skills/create-workflow-template/operations/schemas/update_contact.md +53 -0
  139. package/skills/create-workflow-template/operations/schemas/update_conversation.md +149 -0
  140. package/skills/create-workflow-template/operations/schemas/update_enhancement.md +64 -0
  141. package/skills/create-workflow-template/operations/schemas/update_incident.md +156 -0
  142. package/skills/create-workflow-template/operations/schemas/update_issue.md +173 -0
  143. package/skills/create-workflow-template/operations/schemas/update_meeting.md +114 -0
  144. package/skills/create-workflow-template/operations/schemas/update_opportunity.md +137 -0
  145. package/skills/create-workflow-template/operations/schemas/update_question_answer.md +60 -0
  146. package/skills/create-workflow-template/operations/schemas/update_ticket.md +188 -0
  147. package/skills/create-workflow-template/operations/schemas/watch_ticket_for_updates.md +225 -0
  148. package/skills/create-workflow-template/operations/schemas/web_search.md +17 -0
  149. package/skills/create-workflow-template/operations/schemas/while.md +24 -0
  150. package/skills/create-workflow-template/operations/schemas/widget_created.md +75 -0
  151. package/skills/create-workflow-template/operations/schemas/widget_updated.md +98 -0
  152. package/skills/create-workflow-template/operations/schemas/workspace_created.md +20 -0
  153. package/skills/create-workflow-template/operations/triggers.md +1583 -0
  154. package/skills/customer-brief/customer-brief.md +66 -0
  155. package/skills/deal-review-meddpicc/deal-review-meddpicc.md +58 -0
  156. package/skills/next-step-for-opportunity/next-step-for-opportunity.md +55 -0
  157. package/skills/opportunity-feature-prioritizer/SKILL.md +183 -0
  158. package/skills/sales-call-plan-coach/sales-call-plan-coach.md +73 -0
  159. package/skills/sales-context/sales-context.md +44 -0
  160. package/skills/sales-search-and-lookup/sales-search-and-lookup.md +58 -0
  161. package/skills/skill-creator/SKILL.md +570 -0
  162. package/skills/skill-creator/agents/analyzer.md +274 -0
  163. package/skills/skill-creator/agents/comparator.md +202 -0
  164. package/skills/skill-creator/agents/grader.md +223 -0
  165. package/skills/skill-creator/assets/eval_review.html +146 -0
  166. package/skills/skill-creator/eval-viewer/generate_review.py +471 -0
  167. package/skills/skill-creator/eval-viewer/viewer.html +1325 -0
  168. package/skills/skill-creator/references/schemas.md +430 -0
  169. package/skills/skill-creator/references/tool-patterns.md +290 -0
  170. package/skills/skill-creator/scripts/__init__.py +0 -0
  171. package/skills/skill-creator/scripts/aggregate_benchmark.py +401 -0
  172. package/skills/skill-creator/scripts/generate_report.py +326 -0
  173. package/skills/skill-creator/scripts/improve_description.py +247 -0
  174. package/skills/skill-creator/scripts/package_skill.py +136 -0
  175. package/skills/skill-creator/scripts/quick_validate.py +103 -0
  176. package/skills/skill-creator/scripts/run_eval.py +310 -0
  177. package/skills/skill-creator/scripts/run_loop.py +328 -0
  178. package/skills/skill-creator/scripts/utils.py +47 -0
  179. package/skills/trace-diagnosis/trace-diagnosis.md +186 -0
@@ -0,0 +1,225 @@
1
+ # `watch_ticket_for_updates` — Schema Reference
2
+
3
+ ## Input Port: `input`
4
+
5
+ - **`fields_to_watch`** (`[]enum`) **REQUIRED** — Fields to watch for changes. The trigger will only be fired if any of these fields are updated.
6
+ - Allowed: `applies_to_part`, `artifacts`, `body`, `channels`, `group`, `owned_by`, `reported_by`, `rev_org`, `severity`, `source_channel`... (15 total)
7
+ - **`id`** (`id`) **REQUIRED** — The object to watch for updates
8
+ - ID type: `ticket`
9
+
10
+ ## Input Port: `callback`
11
+
12
+ - **`event`** (`rich_text`) **REQUIRED** — The event that triggered the callback
13
+
14
+ ## Output Port: `output`
15
+
16
+ - **`actual_close_date`** (`timestamp`) — Timestamp when the work was actually completed.
17
+ - **`applies_to_part`** (`composite`)
18
+ - Composite: `_gen:applies_to_part`
19
+ - **`display_id`** (`text`) — Human-readable object ID unique to the Dev organization.
20
+ - **`id`** (`text`) **REQUIRED** — Globally unique object ID.
21
+ - **`name`** (`text`) **REQUIRED** — Name of the part.
22
+ - **`owned_by`** (`[]composite`) **REQUIRED**
23
+ - Composite: `_gen:user-summary`
24
+ - **`type`** (`enum`) **REQUIRED**
25
+ - Allowed: `capability`, `enhancement`, `feature`, `linkable`, `product`, `runnable`
26
+ - **`artifacts`** (`[]composite`)
27
+ - Composite: `_gen:artifact-summary`
28
+ - **`display_id`** (`text`) — Human-readable object ID unique to the Dev organization.
29
+ - **`id`** (`text`) **REQUIRED** — Globally unique object ID.
30
+ - **`body`** (`text`) — Body of the work object.
31
+ - **`channels`** (`[]enum`) — Channels of the ticket.
32
+ - Allowed: `email`, `plug`, `slack`, `twilio`, `twilio_sms`
33
+ - **`created_by`** (`composite`)
34
+ - Composite: `_gen:created_by`
35
+ - **`display_id`** (`text`) — Human-readable object ID unique to the Dev organization.
36
+ - **`display_name`** (`text`) — The user's display name. The name is non-unique and mutable.
37
+ - **`display_picture`** (`composite`)
38
+ - Composite: `_gen:display_picture`
39
+ - **`email`** (`text`) — Email address of the user.
40
+ - **`external_ref`** (`text`) — External ref is a mutable unique identifier for a user within the Rev organization from your primary customer record. If none is available, a good alternative is the email address/phone number which could uniquely identify the user. If none is specified, a system-generated identifier will be assigned to the user.
41
+ - **`full_name`** (`text`) — Full name of the user.
42
+ - **`id`** (`text`) **REQUIRED** — Globally unique object ID.
43
+ - **`rev_org`** (`composite`)
44
+ - Composite: `_gen:rev_org`
45
+ - **`state`** (`enum`) — State of the user.
46
+ - Allowed: `active`, `deactivated`, `deleted`, `locked`, `shadow`, `unassigned`
47
+ - **`type`** (`enum`) **REQUIRED**
48
+ - Allowed: `dev_user`, `rev_user`, `service_account`, `sys_user`
49
+ - **`created_date`** (`timestamp`) — Timestamp when the object was created.
50
+ - **`custom_fields`** (`composite`) — Custom fields.
51
+ - Composite: `_gen:custom_fields`
52
+
53
+ - **`custom_schema_fragments`** (`[]id`) — Custom schema fragments.
54
+ - ID type: `app_fragment`, `custom_type_fragment`, `stock_sf`, `tenant_fragment`
55
+ - **`display_id`** (`text`) — Human-readable object ID unique to the Dev organization.
56
+ - **`external_ref`** (`text`) — An opaque key that's associated with the work item that's guaranteed to be unique across all work items of same type (issue, ticket, etc).
57
+ - **`group`** (`composite`)
58
+ - Composite: `_gen:group`
59
+ - **`display_id`** (`text`) — Human-readable object ID unique to the Dev organization.
60
+ - **`id`** (`text`) **REQUIRED** — Globally unique object ID.
61
+ - **`member_type`** (`enum`) — Type of the members in the group.
62
+ - Allowed: `dev_user`, `rev_user`
63
+ - **`name`** (`text`) — Name of the group.
64
+ - **`sync_metadata`** (`composite`) — Sync information for records synced into/from DevRev.
65
+ - Composite: `_gen:sync_metadata`
66
+ - **`id`** (`text`) **REQUIRED** — Globally unique object ID.
67
+ - **`is_frozen`** (`bool`) — Whether the object is frozen or not.
68
+ - **`is_spam`** (`bool`) — Whether the ticket is spam.
69
+ - **`modified_by`** (`composite`)
70
+ - Composite: `_gen:modified_by`
71
+ - **`display_id`** (`text`) — Human-readable object ID unique to the Dev organization.
72
+ - **`display_name`** (`text`) — The user's display name. The name is non-unique and mutable.
73
+ - **`display_picture`** (`composite`)
74
+ - Composite: `_gen:display_picture`
75
+ - **`email`** (`text`) — Email address of the user.
76
+ - **`external_ref`** (`text`) — External ref is a mutable unique identifier for a user within the Rev organization from your primary customer record. If none is available, a good alternative is the email address/phone number which could uniquely identify the user. If none is specified, a system-generated identifier will be assigned to the user.
77
+ - **`full_name`** (`text`) — Full name of the user.
78
+ - **`id`** (`text`) **REQUIRED** — Globally unique object ID.
79
+ - **`rev_org`** (`composite`)
80
+ - Composite: `_gen:rev_org`
81
+ - **`state`** (`enum`) — State of the user.
82
+ - Allowed: `active`, `deactivated`, `deleted`, `locked`, `shadow`, `unassigned`
83
+ - **`type`** (`enum`) **REQUIRED**
84
+ - Allowed: `dev_user`, `rev_user`, `service_account`, `sys_user`
85
+ - **`modified_date`** (`timestamp`) — Timestamp when the object was last modified.
86
+ - **`needs_response`** (`bool`) — Whether the ticket needs a response.
87
+ - **`owned_by`** (`[]composite`) **REQUIRED**
88
+ - Composite: `_gen:user-summary`
89
+ - **`display_id`** (`text`) — Human-readable object ID unique to the Dev organization.
90
+ - **`display_name`** (`text`) — The user's display name. The name is non-unique and mutable.
91
+ - **`display_picture`** (`composite`)
92
+ - Composite: `_gen:display_picture`
93
+ - **`email`** (`text`) — Email address of the user.
94
+ - **`external_ref`** (`text`) — External ref is a mutable unique identifier for a user within the Rev organization from your primary customer record. If none is available, a good alternative is the email address/phone number which could uniquely identify the user. If none is specified, a system-generated identifier will be assigned to the user.
95
+ - **`full_name`** (`text`) — Full name of the user.
96
+ - **`id`** (`text`) **REQUIRED** — Globally unique object ID.
97
+ - **`rev_org`** (`composite`)
98
+ - Composite: `_gen:rev_org`
99
+ - **`state`** (`enum`) — State of the user.
100
+ - Allowed: `active`, `deactivated`, `deleted`, `locked`, `shadow`, `unassigned`
101
+ - **`type`** (`enum`) **REQUIRED**
102
+ - Allowed: `dev_user`, `rev_user`, `service_account`, `sys_user`
103
+ - **`reported_by`** (`[]composite`)
104
+ - Composite: `_gen:user-summary`
105
+ - **`display_id`** (`text`) — Human-readable object ID unique to the Dev organization.
106
+ - **`display_name`** (`text`) — The user's display name. The name is non-unique and mutable.
107
+ - **`display_picture`** (`composite`)
108
+ - Composite: `_gen:display_picture`
109
+ - **`email`** (`text`) — Email address of the user.
110
+ - **`external_ref`** (`text`) — External ref is a mutable unique identifier for a user within the Rev organization from your primary customer record. If none is available, a good alternative is the email address/phone number which could uniquely identify the user. If none is specified, a system-generated identifier will be assigned to the user.
111
+ - **`full_name`** (`text`) — Full name of the user.
112
+ - **`id`** (`text`) **REQUIRED** — Globally unique object ID.
113
+ - **`rev_org`** (`composite`)
114
+ - Composite: `_gen:rev_org`
115
+ - **`state`** (`enum`) — State of the user.
116
+ - Allowed: `active`, `deactivated`, `deleted`, `locked`, `shadow`, `unassigned`
117
+ - **`type`** (`enum`) **REQUIRED**
118
+ - Allowed: `dev_user`, `rev_user`, `service_account`, `sys_user`
119
+ - **`rev_org`** (`composite`)
120
+ - Composite: `_gen:rev_org`
121
+ - **`display_id`** (`text`) — Human-readable object ID unique to the Dev organization.
122
+ - **`display_name`** (`text`) — Name of the Organization.
123
+ - **`type`** (`enum`) **REQUIRED**
124
+ - Allowed: `account`, `rev_org`
125
+ - **`sentiment`** (`composite`) — The properties of an enum value.
126
+ - Composite: `_gen:sentiment`
127
+ - **`id`** (`int`) **REQUIRED** — The unique ID of the enum value.
128
+ - **`label`** (`text`) **REQUIRED** — The display label of the enum value.
129
+ - **`ordinal`** (`int`) **REQUIRED** — Used for determining the relative order of the enum value.
130
+ - **`value`** (`json_value`) — The actual value of the enum value.
131
+ - **`sentiment_modified_date`** (`timestamp`) — Timestamp when the sentiment was last modified.
132
+ - **`sentiment_summary`** (`text`) — Summary justifying the sentiment.
133
+ - **`severity`** (`enum`) — Severity of the ticket.
134
+ - Allowed: `blocker`, `high`, `low`, `medium`
135
+ - **`sla_summary`** (`composite`) — SLA summary for the object.
136
+ - Composite: `_gen:sla_summary`
137
+
138
+ - **`sla_tracker`** (`composite`)
139
+ - Composite: `_gen:ticket-properties.sla_tracker`
140
+ - **`display_id`** (`text`) — Human-readable object ID unique to the Dev organization.
141
+ - **`id`** (`text`) **REQUIRED** — Globally unique object ID.
142
+ - **`source_channel`** (`text`) — Source channel of the ticket.
143
+ - **`stage`** (`composite`) — Describes the current stage of a work item.
144
+ - Composite: `_gen:stage`
145
+ - **`display_id`** (`text`) — Human-readable object ID unique to the Dev organization.
146
+ - **`id`** (`text`) **REQUIRED** — Globally unique object ID.
147
+ - **`name`** (`text`) — The human readable name of the stage.
148
+ - **`state_display_name`** (`text`) — Display name for current state.
149
+ - **`stock_schema_fragment`** (`id`) — Stock schema fragment.
150
+ - ID type: `app_fragment`, `custom_type_fragment`, `stock_sf`, `tenant_fragment`
151
+ - **`subtype`** (`text`) — Subtype corresponding to the custom type fragment.
152
+ - **`sync_metadata`** (`composite`) — Sync information for records synced into/from DevRev.
153
+ - Composite: `_gen:work-base-properties.sync_metadata`
154
+ - **`external_record_id`** (`text`) — ID of the record in the external system.
155
+ - **`external_record_type`** (`text`) — Type of the external record in the external system.
156
+ - **`external_reference`** (`text`) — External record URL.
157
+ - **`origin_system`** (`text`) — Where the record was first created.
158
+ - **`tags`** (`[]composite`) — Tags associated with the object.
159
+ - Composite: `_gen:tags`
160
+ - **`tag`** (`composite`)
161
+ - Composite: `_gen:tag`
162
+ - **`value`** (`text`) — The value for the object's association with the tag.
163
+ - **`target_close_date`** (`timestamp`) — Timestamp when the work is expected to be complete.
164
+ - **`title`** (`text`) **REQUIRED** — Title of the work object.
165
+ - **`type`** (`enum`) **REQUIRED**
166
+ - Allowed: `issue`, `opportunity`, `task`, `ticket`
167
+ - **`old_ticket`** (`composite`) — Old ticket object
168
+ - Composite: `_gen:implicit:ticket`
169
+ - **`actual_close_date`** (`timestamp`) — Timestamp when the work was actually completed.
170
+ - **`applies_to_part`** (`composite`)
171
+ - Composite: `_gen:applies_to_part`
172
+ - **`artifacts`** (`[]composite`)
173
+ - Composite: `_gen:artifact-summary`
174
+ - **`body`** (`text`) — Body of the work object.
175
+ - **`channels`** (`[]enum`) — Channels of the ticket.
176
+ - Allowed: `email`, `plug`, `slack`, `twilio`, `twilio_sms`
177
+ - **`created_by`** (`composite`)
178
+ - Composite: `_gen:created_by`
179
+ - **`created_date`** (`timestamp`) — Timestamp when the object was created.
180
+ - **`custom_fields`** (`composite`) — Custom fields.
181
+ - Composite: `_gen:custom_fields`
182
+ - **`custom_schema_fragments`** (`[]id`) — Custom schema fragments.
183
+ - ID type: `app_fragment`, `custom_type_fragment`, `stock_sf`, `tenant_fragment`
184
+ - **`display_id`** (`text`) — Human-readable object ID unique to the Dev organization.
185
+ - **`external_ref`** (`text`) — An opaque key that's associated with the work item that's guaranteed to be unique across all work items of same type (issue, ticket, etc).
186
+ - **`group`** (`composite`)
187
+ - Composite: `_gen:group`
188
+ - **`id`** (`text`) **REQUIRED** — Globally unique object ID.
189
+ - **`is_frozen`** (`bool`) — Whether the object is frozen or not.
190
+ - **`is_spam`** (`bool`) — Whether the ticket is spam.
191
+ - **`modified_by`** (`composite`)
192
+ - Composite: `_gen:modified_by`
193
+ - **`modified_date`** (`timestamp`) — Timestamp when the object was last modified.
194
+ - **`needs_response`** (`bool`) — Whether the ticket needs a response.
195
+ - **`owned_by`** (`[]composite`) **REQUIRED**
196
+ - Composite: `_gen:user-summary`
197
+ - **`reported_by`** (`[]composite`)
198
+ - Composite: `_gen:user-summary`
199
+ - **`rev_org`** (`composite`)
200
+ - Composite: `_gen:rev_org`
201
+ - **`sentiment`** (`composite`) — The properties of an enum value.
202
+ - Composite: `_gen:sentiment`
203
+ - **`sentiment_modified_date`** (`timestamp`) — Timestamp when the sentiment was last modified.
204
+ - **`sentiment_summary`** (`text`) — Summary justifying the sentiment.
205
+ - **`severity`** (`enum`) — Severity of the ticket.
206
+ - Allowed: `blocker`, `high`, `low`, `medium`
207
+ - **`sla_summary`** (`composite`) — SLA summary for the object.
208
+ - Composite: `_gen:sla_summary`
209
+ - **`sla_tracker`** (`composite`)
210
+ - Composite: `_gen:ticket-properties.sla_tracker`
211
+ - **`source_channel`** (`text`) — Source channel of the ticket.
212
+ - **`stage`** (`composite`) — Describes the current stage of a work item.
213
+ - Composite: `_gen:stage`
214
+ - **`state_display_name`** (`text`) — Display name for current state.
215
+ - **`stock_schema_fragment`** (`id`) — Stock schema fragment.
216
+ - ID type: `app_fragment`, `custom_type_fragment`, `stock_sf`, `tenant_fragment`
217
+ - **`subtype`** (`text`) — Subtype corresponding to the custom type fragment.
218
+ - **`sync_metadata`** (`composite`) — Sync information for records synced into/from DevRev.
219
+ - Composite: `_gen:work-base-properties.sync_metadata`
220
+ - **`tags`** (`[]composite`) — Tags associated with the object.
221
+ - Composite: `_gen:tags`
222
+ - **`target_close_date`** (`timestamp`) — Timestamp when the work is expected to be complete.
223
+ - **`title`** (`text`) **REQUIRED** — Title of the work object.
224
+ - **`type`** (`enum`) **REQUIRED**
225
+ - Allowed: `issue`, `opportunity`, `task`, `ticket`
@@ -0,0 +1,17 @@
1
+ # `web_search` — Schema Reference
2
+
3
+ Calls a web search API with a query and returns results. Use this tool to get latest information from the internet. Should be used only as a last resort when information is not available inside DevRev knowledge.
4
+
5
+ ## Input Port: `input`
6
+
7
+ - **`query`** (`text`) **REQUIRED** — The search query.
8
+ - Validation: min_len=1, max_len=400
9
+ - **`max_results`** (`int`) — Number of results to fetch.
10
+ - Validation: gt=0
11
+
12
+ ## Output Port: `output`
13
+
14
+ - **`results`** (`[]composite`) — Search results containing URLs and snippets.
15
+ - Composite: `web_search_result`
16
+ - **`url`** (`text`) **REQUIRED** — URL of the search result.
17
+ - **`snippet`** (`text`) — Snippet of the result content.
@@ -0,0 +1,24 @@
1
+ # `while` — Schema Reference
2
+
3
+ Executes a block of steps while a condition is true. Maximum iterations of 1000.
4
+
5
+ ## Input Port: `input`
6
+
7
+ Schema: empty field descriptors (no explicit input fields). The loop condition is configured separately.
8
+
9
+ ## Input Port: `block_callback`
10
+
11
+ - Type: BlockCallback
12
+ - Schema: empty field descriptors (receives data back from the loop body block).
13
+
14
+ ## Output Port: `output`
15
+
16
+ Schema: empty field descriptors. Execution continues from this port after the loop ends.
17
+
18
+ ## Output Port: `block_start`
19
+
20
+ - **`iteration_number`** (`int`) — The current iteration number of the loop starting from 1.
21
+
22
+ ### Scope Variables
23
+
24
+ - **`break`** (`bool`) — Breaks the loop. Default value is `true` for each iteration. Set to `false` within the loop body to continue iterating.
@@ -0,0 +1,75 @@
1
+ # `widget_created` — Schema Reference
2
+
3
+ ## Input Port: `input`
4
+
5
+ _No input fields (trigger or system-provided)._
6
+
7
+ ## Output Port: `output`
8
+
9
+ - **`created_by`** (`composite`)
10
+ - Composite: `_gen:created_by`
11
+ - **`display_id`** (`text`) — Human-readable object ID unique to the Dev organization.
12
+ - **`display_name`** (`text`) — The user's display name. The name is non-unique and mutable.
13
+ - **`email`** (`text`) — Email address of the user.
14
+ - **`external_ref`** (`text`) — External ref is a mutable unique identifier for a user within the Rev organization from your primary customer record. If none is available, a good alternative is the email address/phone number which could uniquely identify the user. If none is specified, a system-generated identifier will be assigned to the user.
15
+ - **`full_name`** (`text`) — Full name of the user.
16
+ - **`state`** (`enum`) — State of the user.
17
+ - Allowed: `active`, `deactivated`, `deleted`, `locked`, `shadow`, `unassigned`
18
+ - **`type`** (`enum`) **REQUIRED**
19
+ - Allowed: `dev_user`, `rev_user`, `service_account`, `sys_user`
20
+ - **`id`** (`id`) **REQUIRED** — The id of the user.
21
+ - ID type: `devu`, `sysu`, `svcacc`
22
+ - **`created_date`** (`timestamp`) — Timestamp when the object was created.
23
+ - **`data_sources`** (`[]composite`) — Data sources provide the backing data tables for the widget.
24
+ - Composite: `_gen:data_sources`
25
+ - **`api`** (`composite`) — An API-backed data source.
26
+ - Composite: `_gen:api`
27
+ - **`data_source`** (`text`) — The ID of the data source. Meant to be set when the type is data_source.
28
+ - **`dimensions`** (`[]composite`) — The dimensions (or the extended dimensions) provided by the data source. These are the categories that can be used to group or segment the measures.
29
+ - Composite: `_gen:dimensions`
30
+ - **`external_data_source`** (`composite`) — An referenced data source for a widget.
31
+ - Composite: `_gen:external_data_source`
32
+ - **`joins`** (`[]composite`) — A list of possible joins for the data source. Follows foreign key semantics.
33
+ - Composite: `_gen:joins`
34
+ - **`measures`** (`[]composite`) — The measures (or the extended measures) provided by the data source. These are the numerical values that can be analyzed.
35
+ - Composite: `_gen:measures`
36
+ - **`oasis`** (`composite`) — An oasis backed data source.
37
+ - Composite: `_gen:data_sources.oasis`
38
+ - **`reference_name`** (`text`) **REQUIRED** — The reference name of the data source.
39
+ - **`type`** (`enum`) **REQUIRED** — The type of the data source.
40
+ - Allowed: `api`, `data_source`, `data_view`, `external_data_source`, `oasis`
41
+ - **`description`** (`text`) **REQUIRED** — A brief summary of what the widget displays or represents.
42
+ - **`display_id`** (`text`) — Human-readable object ID unique to the Dev organization.
43
+ - **`insights`** (`text`) — The insights associated with the widget for agent generated widgets.
44
+ - **`is_draft`** (`bool`) — Whether the widget is a draft widget.
45
+ - **`is_system`** (`bool`) — Whether the widget is a system widget.
46
+ - **`layout`** (`[]composite`) **REQUIRED** — Layout of the widget. It determines the organization of the sub widgets.
47
+ - Composite: `_gen:layout`
48
+ - **`position`** (`composite`) — A grid position represents the location and size of a widget or section within its container (dashboard, tab, or section).
49
+ - Composite: `_gen:position`
50
+ - **`reference_id`** (`text`) **REQUIRED** — The reference ID for the element to be laid out. It should be an ID of a tab, section, or widget.
51
+ - **`modified_by`** (`composite`)
52
+ - Composite: `_gen:modified_by`
53
+ - **`display_id`** (`text`) — Human-readable object ID unique to the Dev organization.
54
+ - **`display_name`** (`text`) — The user's display name. The name is non-unique and mutable.
55
+ - **`email`** (`text`) — Email address of the user.
56
+ - **`external_ref`** (`text`) — External ref is a mutable unique identifier for a user within the Rev organization from your primary customer record. If none is available, a good alternative is the email address/phone number which could uniquely identify the user. If none is specified, a system-generated identifier will be assigned to the user.
57
+ - **`full_name`** (`text`) — Full name of the user.
58
+ - **`state`** (`enum`) — State of the user.
59
+ - Allowed: `active`, `deactivated`, `deleted`, `locked`, `shadow`, `unassigned`
60
+ - **`type`** (`enum`) **REQUIRED**
61
+ - Allowed: `dev_user`, `rev_user`, `service_account`, `sys_user`
62
+ - **`id`** (`id`) **REQUIRED** — The id of the user.
63
+ - ID type: `devu`, `sysu`, `svcacc`
64
+ - **`modified_date`** (`timestamp`) — Timestamp when the object was last modified.
65
+ - **`name`** (`text`) — A unique identifying name for the widget (optional).
66
+ - **`sub_widgets`** (`[]composite`) **REQUIRED** — A list of sub-widgets that the widget contains. Each widget can contain multiple sub-widgets.
67
+ - Composite: `_gen:sub_widgets`
68
+ - **`query`** (`composite`) — The query for a widget. This includes measures and dimensions to be visualized.
69
+ - Composite: `_gen:query`
70
+ - **`reference_id`** (`text`) **REQUIRED** — A reference ID for the sub-widget. It should be unique within the widget.
71
+ - **`visualization`** (`composite`) — The visualization for a widget. This includes the type of visualization and any configuration specific to that type.
72
+ - Composite: `_gen:visualization`
73
+ - **`title`** (`text`) **REQUIRED** — The title of the widget.
74
+ - **`id`** (`id`) **REQUIRED** — Globally unique object ID.
75
+ - ID type: `widget`
@@ -0,0 +1,98 @@
1
+ # `widget_updated` — Schema Reference
2
+
3
+ ## Input Port: `input`
4
+
5
+ - **`fields_to_watch`** (`[]enum`) **REQUIRED** — Fields to watch for changes. The trigger will only be fired if any of these fields are updated.
6
+ - Allowed: `data_sources`, `description`, `is_draft`, `layout`, `modified_date`, `name`, `sub_widgets`, `title`
7
+
8
+ ## Output Port: `output`
9
+
10
+ - **`created_by`** (`composite`)
11
+ - Composite: `_gen:created_by`
12
+ - **`display_id`** (`text`) — Human-readable object ID unique to the Dev organization.
13
+ - **`display_name`** (`text`) — The user's display name. The name is non-unique and mutable.
14
+ - **`email`** (`text`) — Email address of the user.
15
+ - **`external_ref`** (`text`) — External ref is a mutable unique identifier for a user within the Rev organization from your primary customer record. If none is available, a good alternative is the email address/phone number which could uniquely identify the user. If none is specified, a system-generated identifier will be assigned to the user.
16
+ - **`full_name`** (`text`) — Full name of the user.
17
+ - **`state`** (`enum`) — State of the user.
18
+ - Allowed: `active`, `deactivated`, `deleted`, `locked`, `shadow`, `unassigned`
19
+ - **`type`** (`enum`) **REQUIRED**
20
+ - Allowed: `dev_user`, `rev_user`, `service_account`, `sys_user`
21
+ - **`id`** (`id`) **REQUIRED** — The id of the user.
22
+ - ID type: `devu`, `sysu`, `svcacc`
23
+ - **`created_date`** (`timestamp`) — Timestamp when the object was created.
24
+ - **`data_sources`** (`[]composite`) — Data sources provide the backing data tables for the widget.
25
+ - Composite: `_gen:data_sources`
26
+ - **`api`** (`composite`) — An API-backed data source.
27
+ - Composite: `_gen:api`
28
+ - **`data_source`** (`text`) — The ID of the data source. Meant to be set when the type is data_source.
29
+ - **`dimensions`** (`[]composite`) — The dimensions (or the extended dimensions) provided by the data source. These are the categories that can be used to group or segment the measures.
30
+ - Composite: `_gen:dimensions`
31
+ - **`external_data_source`** (`composite`) — An referenced data source for a widget.
32
+ - Composite: `_gen:external_data_source`
33
+ - **`joins`** (`[]composite`) — A list of possible joins for the data source. Follows foreign key semantics.
34
+ - Composite: `_gen:joins`
35
+ - **`measures`** (`[]composite`) — The measures (or the extended measures) provided by the data source. These are the numerical values that can be analyzed.
36
+ - Composite: `_gen:measures`
37
+ - **`oasis`** (`composite`) — An oasis backed data source.
38
+ - Composite: `_gen:data_sources.oasis`
39
+ - **`reference_name`** (`text`) **REQUIRED** — The reference name of the data source.
40
+ - **`type`** (`enum`) **REQUIRED** — The type of the data source.
41
+ - Allowed: `api`, `data_source`, `data_view`, `external_data_source`, `oasis`
42
+ - **`description`** (`text`) **REQUIRED** — A brief summary of what the widget displays or represents.
43
+ - **`display_id`** (`text`) — Human-readable object ID unique to the Dev organization.
44
+ - **`insights`** (`text`) — The insights associated with the widget for agent generated widgets.
45
+ - **`is_draft`** (`bool`) — Whether the widget is a draft widget.
46
+ - **`is_system`** (`bool`) — Whether the widget is a system widget.
47
+ - **`layout`** (`[]composite`) **REQUIRED** — Layout of the widget. It determines the organization of the sub widgets.
48
+ - Composite: `_gen:layout`
49
+ - **`position`** (`composite`) — A grid position represents the location and size of a widget or section within its container (dashboard, tab, or section).
50
+ - Composite: `_gen:position`
51
+ - **`reference_id`** (`text`) **REQUIRED** — The reference ID for the element to be laid out. It should be an ID of a tab, section, or widget.
52
+ - **`modified_by`** (`composite`)
53
+ - Composite: `_gen:modified_by`
54
+ - **`display_id`** (`text`) — Human-readable object ID unique to the Dev organization.
55
+ - **`display_name`** (`text`) — The user's display name. The name is non-unique and mutable.
56
+ - **`email`** (`text`) — Email address of the user.
57
+ - **`external_ref`** (`text`) — External ref is a mutable unique identifier for a user within the Rev organization from your primary customer record. If none is available, a good alternative is the email address/phone number which could uniquely identify the user. If none is specified, a system-generated identifier will be assigned to the user.
58
+ - **`full_name`** (`text`) — Full name of the user.
59
+ - **`state`** (`enum`) — State of the user.
60
+ - Allowed: `active`, `deactivated`, `deleted`, `locked`, `shadow`, `unassigned`
61
+ - **`type`** (`enum`) **REQUIRED**
62
+ - Allowed: `dev_user`, `rev_user`, `service_account`, `sys_user`
63
+ - **`id`** (`id`) **REQUIRED** — The id of the user.
64
+ - ID type: `devu`, `sysu`, `svcacc`
65
+ - **`modified_date`** (`timestamp`) — Timestamp when the object was last modified.
66
+ - **`name`** (`text`) — A unique identifying name for the widget (optional).
67
+ - **`sub_widgets`** (`[]composite`) **REQUIRED** — A list of sub-widgets that the widget contains. Each widget can contain multiple sub-widgets.
68
+ - Composite: `_gen:sub_widgets`
69
+ - **`query`** (`composite`) — The query for a widget. This includes measures and dimensions to be visualized.
70
+ - Composite: `_gen:query`
71
+ - **`reference_id`** (`text`) **REQUIRED** — A reference ID for the sub-widget. It should be unique within the widget.
72
+ - **`visualization`** (`composite`) — The visualization for a widget. This includes the type of visualization and any configuration specific to that type.
73
+ - Composite: `_gen:visualization`
74
+ - **`title`** (`text`) **REQUIRED** — The title of the widget.
75
+ - **`old_widget`** (`composite`) — Old widget object
76
+ - Composite: `_gen:implicit:widget`
77
+ - **`created_by`** (`composite`)
78
+ - Composite: `_gen:created_by`
79
+ - **`created_date`** (`timestamp`) — Timestamp when the object was created.
80
+ - **`data_sources`** (`[]composite`) — Data sources provide the backing data tables for the widget.
81
+ - Composite: `_gen:data_sources`
82
+ - **`description`** (`text`) **REQUIRED** — A brief summary of what the widget displays or represents.
83
+ - **`display_id`** (`text`) — Human-readable object ID unique to the Dev organization.
84
+ - **`id`** (`text`) **REQUIRED** — Globally unique object ID.
85
+ - **`insights`** (`text`) — The insights associated with the widget for agent generated widgets.
86
+ - **`is_draft`** (`bool`) — Whether the widget is a draft widget.
87
+ - **`is_system`** (`bool`) — Whether the widget is a system widget.
88
+ - **`layout`** (`[]composite`) **REQUIRED** — Layout of the widget. It determines the organization of the sub widgets.
89
+ - Composite: `_gen:layout`
90
+ - **`modified_by`** (`composite`)
91
+ - Composite: `_gen:modified_by`
92
+ - **`modified_date`** (`timestamp`) — Timestamp when the object was last modified.
93
+ - **`name`** (`text`) — A unique identifying name for the widget (optional).
94
+ - **`sub_widgets`** (`[]composite`) **REQUIRED** — A list of sub-widgets that the widget contains. Each widget can contain multiple sub-widgets.
95
+ - Composite: `_gen:sub_widgets`
96
+ - **`title`** (`text`) **REQUIRED** — The title of the widget.
97
+ - **`id`** (`id`) **REQUIRED** — Globally unique object ID.
98
+ - ID type: `widget`
@@ -0,0 +1,20 @@
1
+ # `workspace_created` — Schema Reference
2
+
3
+ ## Input Port: `input`
4
+
5
+ _No input fields (trigger or system-provided)._
6
+
7
+ ## Output Port: `output`
8
+
9
+ - **`account`** (`composite`) — The account associated with the workspace.
10
+ - Composite: `_gen:account`
11
+ - **`display_name`** (`text`) — Name of the Organization.
12
+ - **`id`** (`id`) **REQUIRED** — The id of the account.
13
+ - ID type: `account`
14
+ - **`description`** (`text`) — The description of the workspace.
15
+ - **`display_id`** (`text`) — Human-readable object ID unique to the Dev organization.
16
+ - **`display_name`** (`text`) — Name of the Organization.
17
+ - **`domain`** (`text`) — The domain of the workspace.
18
+ - **`external_ref`** (`text`) — The external reference of the workspace.
19
+ - **`id`** (`id`) **REQUIRED** — The id of the workspace.
20
+ - ID type: `revo`