@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,136 @@
1
+ # `ticket_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`)
10
+ - Composite: `_gen:account`
11
+ - **`display_id`** (`text`) — Human-readable object ID unique to the Dev organization.
12
+ - **`display_name`** (`text`) — Name of the Organization.
13
+ - **`id`** (`id`) **REQUIRED** — Globally unique object ID.
14
+ - ID type: `account`
15
+ - **`applies_to_part`** (`composite`) — The part that the ticket applies to.
16
+ - Composite: `_gen:applies_to_part`
17
+ - **`display_id`** (`text`) — Human-readable object ID unique to the Dev organization.
18
+ - **`name`** (`text`) **REQUIRED** — Name of the part.
19
+ - **`type`** (`enum`) **REQUIRED**
20
+ - Allowed: `capability`, `enhancement`, `feature`, `linkable`, `product`, `runnable`
21
+ - **`id`** (`id`) **REQUIRED** — Globally unique object ID.
22
+ - ID type: `capability`, `feature`, `product`, `runnable`, `linkable`, `enhancement`
23
+ - **`artifacts`** (`[]composite`)
24
+ - Composite: `_gen:artifact-summary`
25
+ - **`display_id`** (`text`) — Human-readable object ID unique to the Dev organization.
26
+ - **`file`** (`composite`) — Defines a file object.
27
+ - Composite: `_gen:file`
28
+ - **`id`** (`id`) **REQUIRED** — The id of the artifact.
29
+ - ID type: `artifact`
30
+ - **`body`** (`text`) — The description of the ticket.
31
+ - **`channels`** (`[]enum`) — Channels of the ticket.
32
+ - Allowed: `email`, `plug`, `slack`, `twilio`, `twilio_sms`
33
+ - **`channels_v2`** (`[]composite`)
34
+ - Composite: `_gen:external-communication-channel-summary`
35
+ - **`created_by`** (`composite`) — The user that created the ticket.
36
+ - Composite: `_gen:created_by`
37
+ - **`display_id`** (`text`) — Human-readable object ID unique to the Dev organization.
38
+ - **`display_name`** (`text`) — The user's display name. The name is non-unique and mutable.
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
+ - **`rev_org`** (`composite`)
43
+ - Composite: `_gen:rev_org`
44
+ - **`state`** (`enum`) — State of the user.
45
+ - Allowed: `active`, `deactivated`, `deleted`, `locked`, `shadow`, `unassigned`
46
+ - **`type`** (`enum`) **REQUIRED**
47
+ - Allowed: `dev_user`, `rev_user`, `service_account`, `sys_user`
48
+ - **`id`** (`id`) **REQUIRED** — Globally unique object ID.
49
+ - ID type: `devu`, `sysu`, `svcacc`, `revu`
50
+ - **`created_date`** (`timestamp`) — The timestamp when the ticket was created.
51
+ - **`display_id`** (`text`) — Human-readable object ID unique to the Dev organization.
52
+ - **`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).
53
+ - **`group`** (`composite`) — The group that the ticket belongs to.
54
+ - Composite: `_gen:group`
55
+ - **`display_id`** (`text`) — Human-readable object ID unique to the Dev organization.
56
+ - **`id`** (`id`) **REQUIRED** — Globally unique object ID.
57
+ - ID type: `group`
58
+ - **`is_frozen`** (`bool`) — Whether the object is frozen or not.
59
+ - **`is_spam`** (`bool`) — Whether the ticket is spam.
60
+ - **`needs_response`** (`bool`) — Whether the ticket needs a response.
61
+ - **`owned_by`** (`[]composite`) **REQUIRED** — The user that owns the ticket.
62
+ - Composite: `_gen:user-summary`
63
+ - **`display_id`** (`text`) — Human-readable object ID unique to the Dev organization.
64
+ - **`display_name`** (`text`) — The user's display name. The name is non-unique and mutable.
65
+ - **`email`** (`text`) — Email address of the user.
66
+ - **`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.
67
+ - **`full_name`** (`text`) — Full name of the user.
68
+ - **`rev_org`** (`composite`)
69
+ - Composite: `_gen:rev_org`
70
+ - **`state`** (`enum`) — State of the user.
71
+ - Allowed: `active`, `deactivated`, `deleted`, `locked`, `shadow`, `unassigned`
72
+ - **`type`** (`enum`) **REQUIRED**
73
+ - Allowed: `dev_user`, `rev_user`, `service_account`, `sys_user`
74
+ - **`id`** (`id`) **REQUIRED** — The id of the user.
75
+ - ID type: `devu`, `sysu`, `svcacc`
76
+ - **`rev_org`** (`composite`) — The workspace that the ticket is associated with.
77
+ - Composite: `_gen:rev_org`
78
+ - **`display_id`** (`text`) — Human-readable object ID unique to the Dev organization.
79
+ - **`display_name`** (`text`) — Name of the Organization.
80
+ - **`type`** (`enum`) **REQUIRED**
81
+ - Allowed: `account`, `rev_org`
82
+ - **`id`** (`id`) **REQUIRED** — The id of the workspace.
83
+ - ID type: `revo`
84
+ - **`sentiment`** (`composite`) — The properties of an enum value.
85
+ - Composite: `_gen:sentiment`
86
+ - **`id`** (`int`) **REQUIRED** — The unique ID of the enum value.
87
+ - **`ordinal`** (`int`) **REQUIRED** — Used for determining the relative order of the enum value.
88
+ - **`label`** (`enum`) **REQUIRED** — The display label of the enum value.
89
+ - Allowed: `Delighted`, `Happy`, `Neutral`, `Unhappy`, `Frustrated`
90
+ - **`sentiment_modified_date`** (`timestamp`) — Timestamp when the sentiment was last modified.
91
+ - **`sentiment_summary`** (`text`) — Summary justifying the sentiment.
92
+ - **`severity`** (`enum`) — Severity of the ticket.
93
+ - Allowed: `blocker`, `high`, `low`, `medium`
94
+ - **`source_channel`** (`text`) — Source channel of the ticket.
95
+ - **`source_channel_v2`** (`composite`)
96
+ - Composite: `_gen:source_channel_v2`
97
+ - **`state_display_name`** (`text`) — Display name for current state.
98
+ - **`tags`** (`[]composite`) — The tags associated with the ticket.
99
+ - Composite: `_gen:tags`
100
+ - **`tag`** (`composite`)
101
+ - Composite: `_gen:tag`
102
+ - **`target_close_date`** (`timestamp`) — Timestamp when the ticket is expected to be closed.
103
+ - **`title`** (`text`) **REQUIRED** — The title of the ticket.
104
+ - **`visibility`** (`composite`) — The properties of an enum value.
105
+ - Composite: `_gen:visibility`
106
+ - **`id`** (`int`) **REQUIRED** — The unique ID of the enum value.
107
+ - **`ordinal`** (`int`) **REQUIRED** — Used for determining the relative order of the enum value.
108
+ - **`value`** (`json_value`) — The actual value of the enum value.
109
+ - **`label`** (`enum`) **REQUIRED** — The display label of the enum value.
110
+ - Allowed: `internal`, `external`
111
+ - **`id`** (`id`) **REQUIRED** — The id of the ticket.
112
+ - ID type: `ticket`
113
+ - **`stage`** (`composite`) — The current stage of the ticket.
114
+ - Composite: `_gen:work-base-properties.stage`
115
+ - **`name`** (`text`) **REQUIRED** — Current stage name of the ticket.
116
+ - **`notes`** (`text`) — Notes relevant to the stage.
117
+ - **`ordinal`** (`int`) — Current stage number of the ticket (sortable).
118
+ - **`stage`** (`composite`)
119
+ - Composite: `_gen:stage`
120
+ - **`state`** (`composite`)
121
+ - Composite: `_gen:state`
122
+ - **`reported_by`** (`[]composite`) — The user that reported the ticket.
123
+ - Composite: `reported_by`
124
+ - **`display_id`** (`text`) — Human-readable object ID unique to the Dev organization.
125
+ - **`display_name`** (`text`) — The user's display name. The name is non-unique and mutable.
126
+ - **`email`** (`text`) — Email address of the user.
127
+ - **`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.
128
+ - **`full_name`** (`text`) — Full name of the user.
129
+ - **`rev_org`** (`composite`)
130
+ - Composite: `_gen:rev_org`
131
+ - **`state`** (`enum`) — State of the user.
132
+ - Allowed: `active`, `deactivated`, `deleted`, `locked`, `shadow`, `unassigned`
133
+ - **`type`** (`enum`) **REQUIRED**
134
+ - Allowed: `rev_user`
135
+ - **`id`** (`id`) **REQUIRED** — The id of the user.
136
+ - ID type: `revu`
@@ -0,0 +1,46 @@
1
+ # `ticket_sla_tracker_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: `stage`
7
+
8
+ ## Output Port: `output`
9
+
10
+ - **`metric_target_summaries`** (`[]composite`) **REQUIRED** — Summary of the metrics target being tracked in the SLA tracker.
11
+ - Composite: `_gen:metric_target_summaries`
12
+ - **`breached_at`** (`timestamp`) — For breached metrics the time they entered into breach. This is the same as what the target date was, unless the breach happened due to a different policy starting to apply.
13
+ - **`completed_in`** (`int`) — For completed metrics the time (in minutes) it took to complete them. (Taking into account the schedule if any).
14
+ - **`completed_in_seconds`** (`int`) — For completed metrics the time (in seconds) it took to complete them. (Taking into account the schedule if any).
15
+ - **`is_out_of_schedule`** (`bool`) — If true, the schedule attached to this metric is out of schedule at the time of the query. It is not set for metrics in *completed* stage.
16
+ - **`metric_definition`** (`composite`)
17
+ - Composite: `_gen:metric_definition`
18
+ - **`next_schedule_transition`** (`timestamp`) — The next time the schedule will change its state, if such is known.
19
+ - **`org_schedule`** (`composite`)
20
+ - Composite: `_gen:org_schedule`
21
+ - **`org_schedule_version`** (`int`) — The version of the org schedule at the time this tracker was created.
22
+ - **`remaining_time`** (`int`) — Time in minutes that remains on a paused metric.
23
+ - **`target_time`** (`timestamp`) — Time at which the metric would breach SLA if no action taken.
24
+ - **`warning_target_time`** (`timestamp`) — Time at which the metric would reach the SLA warning limit if no action taken.
25
+ - **`stage`** (`enum`) **REQUIRED** — SLA stage of the object being tracked.
26
+ - Allowed: `active`, `breached`, `completed`, `paused`, `warning`
27
+ - **`status`** (`enum`) **REQUIRED** — Status of the object being tracked.
28
+ - Allowed: `hit`, `in_progress`, `miss`
29
+ - **`modified_date`** (`timestamp`) — Timestamp when the object was last modified.
30
+ - **`sla`** (`composite`)
31
+ - Composite: `_gen:sla`
32
+ - **`name`** (`text`) **REQUIRED** — Human-readable name.
33
+ - **`status`** (`enum`) **REQUIRED** — Status determines how an item can be used. In 'draft' status an item can be edited but can't be used. When 'published' the item can longer be edited but can be used. 'Archived' is read-only.
34
+ - Allowed: `archived`, `draft`, `published`
35
+ - **`id`** (`id`) **REQUIRED** — Globally unique object ID.
36
+ - ID type: `sla`
37
+ - **`sla_type`** (`enum`) **REQUIRED** — Type of the SLA. Internal - for internal objects (issues, etc) external - for customer facing objects (tickets, conversations etc)
38
+ - Allowed: `external`, `internal`
39
+ - **`id`** (`id`) **REQUIRED** — Globally unique object ID.
40
+ - ID type: `sla_tracker`
41
+ - **`applies_to_id`** (`id`) **REQUIRED** — The id of the ticket.
42
+ - ID type: `ticket`
43
+ - **`stage`** (`enum`) **REQUIRED** — SLA stage of the object being tracked.
44
+ - Allowed: `active`, `breached`, `completed`, `paused`, `warning`
45
+ - **`status`** (`enum`) **REQUIRED** — Status of the object being tracked.
46
+ - Allowed: `hit`, `in_progress`, `miss`
@@ -0,0 +1,198 @@
1
+ # `ticket_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: `applies_to_part`, `artifacts`, `body`, `channels`, `group`, `owned_by`, `reported_by`, `rev_org`, `severity`, `source_channel`... (17 total)
7
+
8
+ ## Output Port: `output`
9
+
10
+ - **`account`** (`composite`)
11
+ - Composite: `_gen:account`
12
+ - **`display_id`** (`text`) — Human-readable object ID unique to the Dev organization.
13
+ - **`display_name`** (`text`) — Name of the Organization.
14
+ - **`id`** (`id`) **REQUIRED** — The id of the account.
15
+ - ID type: `account`
16
+ - **`applies_to_part`** (`composite`)
17
+ - Composite: `_gen:applies_to_part`
18
+ - **`display_id`** (`text`) — Human-readable object ID unique to the Dev organization.
19
+ - **`name`** (`text`) **REQUIRED** — Name of the part.
20
+ - **`type`** (`enum`) **REQUIRED**
21
+ - Allowed: `capability`, `enhancement`, `feature`, `linkable`, `product`, `runnable`
22
+ - **`id`** (`id`) **REQUIRED** — The id of the part.
23
+ - ID type: `capability`, `feature`, `product`, `runnable`, `linkable`, `enhancement`
24
+ - **`artifacts`** (`[]composite`)
25
+ - Composite: `_gen:artifact-summary`
26
+ - **`display_id`** (`text`) — Human-readable object ID unique to the Dev organization.
27
+ - **`file`** (`composite`) — Defines a file object.
28
+ - Composite: `_gen:file`
29
+ - **`id`** (`id`) **REQUIRED** — The id of the artifact.
30
+ - ID type: `artifact`
31
+ - **`body`** (`text`) — The body of the ticket.
32
+ - **`channels`** (`[]enum`) — Channels of the ticket.
33
+ - Allowed: `email`, `plug`, `slack`, `twilio`, `twilio_sms`
34
+ - **`created_by`** (`composite`)
35
+ - Composite: `_gen:created_by`
36
+ - **`display_id`** (`text`) — Human-readable object ID unique to the Dev organization.
37
+ - **`display_name`** (`text`) — The user's display name. The name is non-unique and mutable.
38
+ - **`display_picture`** (`composite`)
39
+ - Composite: `_gen:display_picture`
40
+ - **`email`** (`text`) — Email address of the user.
41
+ - **`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.
42
+ - **`full_name`** (`text`) — Full name of the user.
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
+ - **`id`** (`id`) **REQUIRED** — The id of the user
50
+ - ID type: `devu`, `sysu`, `svcacc`, `revu`
51
+ - **`created_date`** (`timestamp`) — Timestamp when the ticket was created.
52
+ - **`display_id`** (`text`) — Display ID of the ticket.
53
+ - **`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).
54
+ - **`group`** (`composite`)
55
+ - Composite: `_gen:group`
56
+ - **`display_id`** (`text`) — Human-readable object ID unique to the Dev organization.
57
+ - **`id`** (`id`) **REQUIRED** — The id of the group
58
+ - ID type: `group`
59
+ - **`is_frozen`** (`bool`) — Whether the object is frozen or not.
60
+ - **`is_spam`** (`bool`) — Whether the ticket is spam.
61
+ - **`modified_by`** (`composite`)
62
+ - Composite: `_gen:modified_by`
63
+ - **`display_id`** (`text`) — Human-readable object ID unique to the Dev organization.
64
+ - **`display_name`** (`text`) — The user's display name. The name is non-unique and mutable.
65
+ - **`display_picture`** (`composite`)
66
+ - Composite: `_gen:display_picture`
67
+ - **`email`** (`text`) — Email address of the user.
68
+ - **`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.
69
+ - **`full_name`** (`text`) — Full name of the user.
70
+ - **`rev_org`** (`composite`)
71
+ - Composite: `_gen:rev_org`
72
+ - **`state`** (`enum`) — State of the user.
73
+ - Allowed: `active`, `deactivated`, `deleted`, `locked`, `shadow`, `unassigned`
74
+ - **`type`** (`enum`) **REQUIRED**
75
+ - Allowed: `dev_user`, `rev_user`, `service_account`, `sys_user`
76
+ - **`id`** (`id`) **REQUIRED** — The id of the user.
77
+ - ID type: `devu`, `sysu`, `svcacc`
78
+ - **`modified_date`** (`timestamp`) — Timestamp when the ticket was modified.
79
+ - **`needs_response`** (`bool`) — Whether the ticket needs a response.
80
+ - **`owned_by`** (`[]composite`) **REQUIRED**
81
+ - Composite: `_gen:user-summary`
82
+ - **`display_id`** (`text`) — Human-readable object ID unique to the Dev organization.
83
+ - **`display_name`** (`text`) — The user's display name. The name is non-unique and mutable.
84
+ - **`display_picture`** (`composite`)
85
+ - Composite: `_gen:display_picture`
86
+ - **`email`** (`text`) — Email address of the user.
87
+ - **`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.
88
+ - **`full_name`** (`text`) — Full name of the user.
89
+ - **`rev_org`** (`composite`)
90
+ - Composite: `_gen:rev_org`
91
+ - **`state`** (`enum`) — State of the user.
92
+ - Allowed: `active`, `deactivated`, `deleted`, `locked`, `shadow`, `unassigned`
93
+ - **`type`** (`enum`) **REQUIRED**
94
+ - Allowed: `dev_user`, `rev_user`, `service_account`, `sys_user`
95
+ - **`id`** (`id`) **REQUIRED** — The id of the user.
96
+ - ID type: `devu`, `sysu`, `svcacc`
97
+ - **`rev_org`** (`composite`)
98
+ - Composite: `_gen:rev_org`
99
+ - **`display_id`** (`text`) — Human-readable object ID unique to the Dev organization.
100
+ - **`display_name`** (`text`) — Name of the Organization.
101
+ - **`type`** (`enum`) **REQUIRED**
102
+ - Allowed: `account`, `rev_org`
103
+ - **`id`** (`id`) **REQUIRED** — The id of the workspace.
104
+ - ID type: `revo`
105
+ - **`sentiment`** (`composite`) — The properties of an enum value.
106
+ - Composite: `_gen:sentiment`
107
+ - **`id`** (`int`) **REQUIRED** — The unique ID of the enum value.
108
+ - **`ordinal`** (`int`) **REQUIRED** — Used for determining the relative order of the enum value.
109
+ - **`label`** (`enum`) **REQUIRED** — The display label of the enum value.
110
+ - Allowed: `Delighted`, `Happy`, `Neutral`, `Unhappy`, `Frustrated`
111
+ - **`sentiment_modified_date`** (`timestamp`) — Timestamp when the sentiment was last modified.
112
+ - **`sentiment_summary`** (`text`) — Summary justifying the sentiment.
113
+ - **`severity`** (`enum`) — Severity of the ticket.
114
+ - Allowed: `blocker`, `high`, `low`, `medium`
115
+ - **`source_channel`** (`text`) — Source channel of the ticket.
116
+ - **`state_display_name`** (`text`) — Display name for current state.
117
+ - **`tags`** (`[]composite`) — Tags associated with the ticket.
118
+ - Composite: `_gen:tags`
119
+ - **`tag`** (`composite`)
120
+ - Composite: `_gen:tag`
121
+ - **`target_close_date`** (`timestamp`) — Timestamp when the ticket is expected to be complete.
122
+ - **`title`** (`text`) **REQUIRED** — Title of the ticket.
123
+ - **`visibility`** (`composite`) — The properties of an enum value.
124
+ - Composite: `_gen:visibility`
125
+ - **`id`** (`int`) **REQUIRED** — The unique ID of the enum value.
126
+ - **`label`** (`text`) **REQUIRED** — The display label of the enum value.
127
+ - **`ordinal`** (`int`) **REQUIRED** — Used for determining the relative order of the enum value.
128
+ - **`value`** (`json_value`) — The actual value of the enum value.
129
+ - **`old_ticket`** (`composite`) — Old ticket object
130
+ - Composite: `_gen:implicit:ticket`
131
+ - **`applies_to_part`** (`composite`)
132
+ - Composite: `_gen:applies_to_part`
133
+ - **`body`** (`text`) — Body of the work object.
134
+ - **`channels`** (`[]enum`) — Channels of the ticket.
135
+ - Allowed: `email`, `plug`, `slack`, `twilio`, `twilio_sms`
136
+ - **`created_by`** (`composite`)
137
+ - Composite: `_gen:created_by`
138
+ - **`created_date`** (`timestamp`) — Timestamp when the object was created.
139
+ - **`display_id`** (`text`) — Human-readable object ID unique to the Dev organization.
140
+ - **`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).
141
+ - **`group`** (`composite`)
142
+ - Composite: `_gen:group`
143
+ - **`is_frozen`** (`bool`) — Whether the object is frozen or not.
144
+ - **`is_spam`** (`bool`) — Whether the ticket is spam.
145
+ - **`modified_by`** (`composite`)
146
+ - Composite: `_gen:modified_by`
147
+ - **`modified_date`** (`timestamp`) — Timestamp when the object was last modified.
148
+ - **`needs_response`** (`bool`) — Whether the ticket needs a response.
149
+ - **`owned_by`** (`[]composite`) **REQUIRED**
150
+ - Composite: `_gen:user-summary`
151
+ - **`reported_by`** (`[]composite`)
152
+ - Composite: `_gen:user-summary`
153
+ - **`rev_org`** (`composite`)
154
+ - Composite: `_gen:rev_org`
155
+ - **`sentiment`** (`composite`) — The properties of an enum value.
156
+ - Composite: `_gen:sentiment`
157
+ - **`sentiment_modified_date`** (`timestamp`) — Timestamp when the sentiment was last modified.
158
+ - **`sentiment_summary`** (`text`) — Summary justifying the sentiment.
159
+ - **`severity`** (`enum`) — Severity of the ticket.
160
+ - Allowed: `blocker`, `high`, `low`, `medium`
161
+ - **`source_channel`** (`text`) — Source channel of the ticket.
162
+ - **`state_display_name`** (`text`) — Display name for current state.
163
+ - **`tags`** (`[]composite`) — Tags associated with the object.
164
+ - Composite: `_gen:tags`
165
+ - **`target_close_date`** (`timestamp`) — Timestamp when the work is expected to be complete.
166
+ - **`title`** (`text`) **REQUIRED** — Title of the work object.
167
+ - **`visibility`** (`composite`) — The properties of an enum value.
168
+ - Composite: `_gen:visibility`
169
+ - **`id`** (`id`) **REQUIRED** — The id of the ticket.
170
+ - ID type: `ticket`
171
+ - **`stage`** (`composite`) — The old stage of the ticket.
172
+ - Composite: `_gen:work-base-properties.stage`
173
+ - **`id`** (`id`) **REQUIRED** — The id of the ticket.
174
+ - ID type: `ticket`
175
+ - **`stage`** (`composite`) — Current stage of the ticket.
176
+ - Composite: `_gen:work-base-properties.stage`
177
+ - **`name`** (`text`) **REQUIRED** — Current stage name of the ticket.
178
+ - **`notes`** (`text`) — Notes relevant to the stage.
179
+ - **`ordinal`** (`int`) — Current stage number of the ticket (sortable).
180
+ - **`stage`** (`composite`)
181
+ - Composite: `_gen:stage`
182
+ - **`state`** (`composite`)
183
+ - Composite: `_gen:state`
184
+ - **`reported_by`** (`[]composite`) — The users that reported the ticket.
185
+ - Composite: `reported_by`
186
+ - **`display_id`** (`text`) — Human-readable object ID unique to the Dev organization.
187
+ - **`display_name`** (`text`) — The user's display name. The name is non-unique and mutable.
188
+ - **`email`** (`text`) — Email address of the user.
189
+ - **`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.
190
+ - **`full_name`** (`text`) — Full name of the user.
191
+ - **`rev_org`** (`composite`)
192
+ - Composite: `_gen:rev_org`
193
+ - **`state`** (`enum`) — State of the user.
194
+ - Allowed: `active`, `deactivated`, `deleted`, `locked`, `shadow`, `unassigned`
195
+ - **`type`** (`enum`) **REQUIRED**
196
+ - Allowed: `rev_user`
197
+ - **`id`** (`id`) **REQUIRED** — The id of the user.
198
+ - ID type: `revu`
@@ -0,0 +1,70 @@
1
+ # `timeline_comment_created` — Schema Reference
2
+
3
+ ## Input Port: `input`
4
+
5
+ - **`object_type`** (`[]uenum`) **REQUIRED** — The type of object that the Timeline entry belongs to.
6
+ - Default: `[14]`
7
+ - **`panels`** (`[]uenum`) **REQUIRED** — The type of panel that the Timeline entry belongs to.
8
+ - Default: `[2]`
9
+ - **`visibility`** (`[]uenum`) **REQUIRED** — The visibility of the entry. 'Internal' is visible with the Dev organization, and 'external' is visible to the Dev organization and Customers both.
10
+ - Default: `[1, 2]`
11
+ - **`user_type`** (`[]uenum`) **REQUIRED** — The type of user that the Timeline entry belongs to.
12
+ - Default: `[1]`
13
+
14
+ ## Output Port: `output`
15
+
16
+ - **`artifacts`** (`[]composite`)
17
+ - Composite: `_gen:artifact-summary`
18
+ - **`display_id`** (`text`) — Human-readable object ID unique to the Dev organization.
19
+ - **`file`** (`composite`) — Defines a file object.
20
+ - Composite: `_gen:file`
21
+ - **`id`** (`id`) **REQUIRED** — The id of the artifact.
22
+ - ID type: `artifact`
23
+ - **`body`** (`text`) — The comment's body. If the comment has been deleted, then no body will appear in the response.
24
+ - **`body_type`** (`enum`) — The type of the body to use for the comment.
25
+ - Allowed: `data`, `snap_kit`, `snap_widget`, `text`
26
+ - **`created_by`** (`composite`)
27
+ - Composite: `_gen:created_by`
28
+ - **`display_id`** (`text`) — Human-readable object ID unique to the Dev organization.
29
+ - **`display_name`** (`text`) — The user's display name. The name is non-unique and mutable.
30
+ - **`display_picture`** (`composite`)
31
+ - Composite: `_gen:display_picture`
32
+ - **`email`** (`text`) — Email address of the user.
33
+ - **`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.
34
+ - **`full_name`** (`text`) — Full name of the user.
35
+ - **`state`** (`enum`) — State of the user.
36
+ - Allowed: `active`, `deactivated`, `deleted`, `locked`, `shadow`, `unassigned`
37
+ - **`type`** (`enum`) **REQUIRED**
38
+ - Allowed: `dev_user`, `rev_user`, `service_account`, `sys_user`
39
+ - **`id`** (`id`) **REQUIRED** — The id of the user.
40
+ - ID type: `devu`, `sysu`, `svcacc`, `revu`
41
+ - **`rev_org`** (`composite`)
42
+ - Composite: `_gen:rev_org`
43
+ - **`created_date`** (`timestamp`) — Timestamp when the object was created.
44
+ - **`display_id`** (`text`) — Human-readable object ID unique to the Dev organization.
45
+ - **`modified_by`** (`composite`)
46
+ - Composite: `_gen:modified_by`
47
+ - **`display_id`** (`text`) — Human-readable object ID unique to the Dev organization.
48
+ - **`display_name`** (`text`) — The user's display name. The name is non-unique and mutable.
49
+ - **`display_picture`** (`composite`)
50
+ - Composite: `_gen:display_picture`
51
+ - **`email`** (`text`) — Email address of the user.
52
+ - **`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.
53
+ - **`full_name`** (`text`) — Full name of the user.
54
+ - **`state`** (`enum`) — State of the user.
55
+ - Allowed: `active`, `deactivated`, `deleted`, `locked`, `shadow`, `unassigned`
56
+ - **`type`** (`enum`) **REQUIRED**
57
+ - Allowed: `dev_user`, `rev_user`, `service_account`, `sys_user`
58
+ - **`id`** (`id`) **REQUIRED** — The id of the user.
59
+ - ID type: `devu`, `sysu`, `svcacc`, `revu`
60
+ - **`rev_org`** (`composite`)
61
+ - Composite: `_gen:rev_org`
62
+ - **`modified_date`** (`timestamp`) — Timestamp when the object was last modified.
63
+ - **`object_display_id`** (`text`) **REQUIRED** — The display ID of the object that the Timeline entry belongs to.
64
+ - **`id`** (`id`) **REQUIRED** — The id of the comment.
65
+ - ID type: `comment`
66
+ - **`object`** (`id`) **REQUIRED** — The object that the Timeline entry belongs to.
67
+ - ID type: `account`, `capability`, `conversation`, `enhancement`, `feature`, `incident`, `issue`, `linkable`, `opportunity`, `product`, `revo`, `revu`, `runnable`, `ticket`
68
+ - **`object_type`** (`uenum`) — The type of object that the Timeline entry belongs to.
69
+ - **`panels`** (`[]uenum`) — The type of panel that the Timeline entry belongs to.
70
+ - **`visibility`** (`uenum`) — The visibility of the entry. 'Internal' is visible with the Dev organization, and 'external' is visible to the Dev organization and Customers both.
@@ -0,0 +1,68 @@
1
+ # `update_account` — Schema Reference
2
+
3
+ ## Input Port: `input`
4
+
5
+ - **`description`** (`text`) — Updated description of the account.
6
+ - **`display_name`** (`text`) — Updated display name for the account.
7
+ - **`domains`** (`[]text`) — Updated list of company's domain names. Example - ['devrev.ai'].
8
+ - **`external_refs`** (`[]text`) — Updated External Refs of account.
9
+ - **`id`** (`id`) **REQUIRED** — The ID of account to update.
10
+ - ID type: `account`
11
+ - **`tier`** (`enum`) — Updated tier of the account.
12
+ - Allowed: `tier_1`, `tier_2`, `tier_3`
13
+ - **`owned_by`** (`[]id`) — Updated list of the users owning this account.
14
+ - ID type: `devu`, `sysu`
15
+
16
+ ## Output Port: `output`
17
+
18
+ - **`created_by`** (`composite`)
19
+ - Composite: `_gen:created_by`
20
+ - **`display_id`** (`text`) — Human-readable object ID unique to the Dev organization.
21
+ - **`display_name`** (`text`) — The user's display name. The name is non-unique and mutable.
22
+ - **`email`** (`text`) — Email address of the user.
23
+ - **`full_name`** (`text`) — Full name of the user.
24
+ - **`state`** (`enum`) — State of the user.
25
+ - Allowed: `active`, `deactivated`, `deleted`, `locked`, `shadow`, `unassigned`
26
+ - **`type`** (`enum`) **REQUIRED**
27
+ - Allowed: `dev_user`, `rev_user`, `service_account`, `sys_user`
28
+ - **`id`** (`id`) **REQUIRED** — Globally unique object ID.
29
+ - ID type: `devu`, `sysu`, `svcacc`
30
+ - **`created_date`** (`timestamp`) — Timestamp when the account was created.
31
+ - **`description`** (`text`) — Description of the corresponding Account.
32
+ - **`display_id`** (`text`) — Human-readable account ID unique to the Dev organization.
33
+ - **`display_name`** (`text`) — Name of the Organization.
34
+ - **`domains`** (`[]text`) — Company's domain names. Example - 'devrev.ai'.
35
+ - **`external_refs`** (`[]text`) — External refs are unique identifiers from your customer system of records, stored as a list.
36
+ - **`modified_by`** (`composite`)
37
+ - Composite: `_gen:modified_by`
38
+ - **`display_id`** (`text`) — Human-readable object ID unique to the Dev organization.
39
+ - **`display_name`** (`text`) — The user's display name. The name is non-unique and mutable.
40
+ - **`email`** (`text`) — Email address of the user.
41
+ - **`full_name`** (`text`) — Full name of the user.
42
+ - **`state`** (`enum`) — State of the user.
43
+ - Allowed: `active`, `deactivated`, `deleted`, `locked`, `shadow`, `unassigned`
44
+ - **`type`** (`enum`) **REQUIRED**
45
+ - Allowed: `dev_user`, `rev_user`, `service_account`, `sys_user`
46
+ - **`id`** (`id`) **REQUIRED** — Globally unique object ID.
47
+ - ID type: `devu`, `sysu`, `svcacc`
48
+ - **`modified_date`** (`timestamp`) — Timestamp when the account was modified.
49
+ - **`owned_by`** (`[]composite`) **REQUIRED**
50
+ - Composite: `_gen:user-summary`
51
+ - **`display_id`** (`text`) — Human-readable object ID unique to the Dev organization.
52
+ - **`display_name`** (`text`) — The user's display name. The name is non-unique and mutable.
53
+ - **`email`** (`text`) — Email address of the user.
54
+ - **`full_name`** (`text`) — Full name of the user.
55
+ - **`state`** (`enum`) — State of the user.
56
+ - Allowed: `active`, `deactivated`, `deleted`, `locked`, `shadow`, `unassigned`
57
+ - **`id`** (`id`) **REQUIRED** — Globally unique object ID.
58
+ - ID type: `devu`, `sysu`
59
+ - **`type`** (`enum`) **REQUIRED**
60
+ - Allowed: `dev_user`, `service_account`, `sys_user`
61
+ - **`tags`** (`[]composite`) — Tags associated with an object.
62
+ - Composite: `_gen:tags`
63
+ - **`tag`** (`composite`)
64
+ - Composite: `_gen:tag`
65
+ - **`tier`** (`enum`) — The Tier of the corresponding Account.
66
+ - Allowed: `tier_1`, `tier_2`, `tier_3`
67
+ - **`id`** (`id`) **REQUIRED** — The ID of the account updated.
68
+ - ID type: `account`
@@ -0,0 +1,95 @@
1
+ # `update_article` — Schema Reference
2
+
3
+ ## Input Port: `input`
4
+
5
+ - **`applies_to_parts`** (`composite`)
6
+ - Composite: `_gen:applies_to_parts`
7
+ - **`set`** (`[]id`) — Sets the part IDs to the provided part IDs. This must not be empty.
8
+ - ID type: `capability`, `feature`, `product`, `runnable`, `linkable`, `enhancement`
9
+ - **`attachments`** (`composite`)
10
+ - Composite: `_gen:attachments`
11
+ - **`add`** (`[]id`) — Adds the attachment artifacts to the article.
12
+ - ID type: `artifact`
13
+ - **`set`** (`[]id`) — Sets the attachment artifacts of the article.
14
+ - ID type: `artifact`
15
+ - **`description`** (`text`) — Updated description of the article object, or unchanged if not provided.
16
+ - **`id`** (`id`) **REQUIRED** — The article's ID.
17
+ - ID type: `article`
18
+ - **`owned_by`** (`composite`)
19
+ - Composite: `_gen:owned_by`
20
+ - **`set`** (`[]id`) — Sets the owner IDs to the provided user IDs. This must not be empty.
21
+ - ID type: `devu`, `sysu`, `svcacc`
22
+ - **`parent`** (`id`) — The updated parent directory for the article.
23
+ - ID type: `directory`
24
+ - **`shared_with`** (`composite`)
25
+ - Composite: `_gen:shared_with`
26
+ - **`set`** (`[]composite`) — Sets the field to the provided membership list.
27
+ - Composite: `_gen:set_8c468d4e`
28
+ - **`tags`** (`composite`)
29
+ - Composite: `_gen:tags`
30
+ - **`set`** (`[]composite`) — Sets the provided tags on the article.
31
+ - Composite: `_gen:set_59d5af0d`
32
+ - **`title`** (`text`) — Updated title of the article object, or unchanged if not provided.
33
+ - **`url`** (`text`) — Updates the URL of the external article.
34
+ - **`status`** (`enum`) — Status of the article.
35
+ - Allowed: `draft`, `published`, `archived`, `review_needed`
36
+
37
+ ## Output Port: `output`
38
+
39
+ - **`applies_to_parts`** (`[]composite`)
40
+ - Composite: `_gen:part-summary`
41
+ - **`name`** (`text`) **REQUIRED** — Name of the part.
42
+ - **`type`** (`enum`) **REQUIRED**
43
+ - Allowed: `capability`, `enhancement`, `feature`, `linkable`, `product`, `runnable`
44
+ - **`id`** (`id`) **REQUIRED** — Globally unique object ID.
45
+ - ID type: `capability`, `feature`, `product`, `runnable`, `linkable`, `enhancement`
46
+ - **`created_by`** (`composite`)
47
+ - Composite: `_gen:created_by`
48
+ - **`display_name`** (`text`) — The user's display name. The name is non-unique and mutable.
49
+ - **`email`** (`text`) — Email address of the user.
50
+ - **`full_name`** (`text`) — Full name of the user.
51
+ - **`state`** (`enum`) — State of the user.
52
+ - Allowed: `active`, `deactivated`, `deleted`, `locked`, `shadow`, `unassigned`
53
+ - **`id`** (`id`) **REQUIRED** — Globally unique object ID.
54
+ - ID type: `devu`, `sysu`, `svcacc`
55
+ - **`type`** (`enum`) **REQUIRED** — Type of the user.
56
+ - Allowed: `dev_user`, `service_account`, `sys_user`
57
+ - **`created_date`** (`timestamp`) — Timestamp when the article was created.
58
+ - **`description`** (`text`) — Description of the article.
59
+ - **`modified_by`** (`composite`)
60
+ - Composite: `_gen:modified_by`
61
+ - **`display_name`** (`text`) — The user's display name. The name is non-unique and mutable.
62
+ - **`email`** (`text`) — Email address of the user.
63
+ - **`full_name`** (`text`) — Full name of the user.
64
+ - **`state`** (`enum`) — State of the user.
65
+ - Allowed: `active`, `deactivated`, `deleted`, `locked`, `shadow`, `unassigned`
66
+ - **`id`** (`id`) **REQUIRED** — Globally unique object ID.
67
+ - ID type: `devu`, `sysu`, `svcacc`
68
+ - **`type`** (`enum`) **REQUIRED** — Type of the user.
69
+ - Allowed: `dev_user`, `service_account`, `sys_user`
70
+ - **`modified_date`** (`timestamp`) — Timestamp when the article was last modified.
71
+ - **`owned_by`** (`[]composite`) **REQUIRED**
72
+ - Composite: `_gen:user-summary`
73
+ - **`display_name`** (`text`) — The user's display name. The name is non-unique and mutable.
74
+ - **`email`** (`text`) — Email address of the user.
75
+ - **`full_name`** (`text`) — Full name of the user.
76
+ - **`state`** (`enum`) — State of the user.
77
+ - Allowed: `active`, `deactivated`, `deleted`, `locked`, `shadow`, `unassigned`
78
+ - **`id`** (`id`) **REQUIRED** — Globally unique object ID.
79
+ - ID type: `devu`, `sysu`, `svcacc`
80
+ - **`type`** (`enum`) **REQUIRED** — The type of the user.
81
+ - Allowed: `devu`, `sysu`, `svcacc`
82
+ - **`parent`** (`composite`)
83
+ - Composite: `_gen:parent`
84
+ - **`title`** (`text`) — Title of the directory.
85
+ - **`id`** (`id`) **REQUIRED** — Globally unique object ID.
86
+ - ID type: `directory`
87
+ - **`status`** (`enum`) — Status of the article.
88
+ - Allowed: `archived`, `draft`, `published`, `review_needed`
89
+ - **`tags`** (`[]composite`) — Tags associated with the article.
90
+ - Composite: `_gen:tags`
91
+ - **`tag`** (`composite`)
92
+ - Composite: `_gen:tag`
93
+ - **`title`** (`text`) — Title of the article.
94
+ - **`id`** (`id`) **REQUIRED** — Globally unique object ID.
95
+ - ID type: `article`