@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.
- package/README.md +37 -0
- package/bin/install.mjs +158 -0
- package/package.json +33 -0
- package/skills/account-evaluation/account-evaluation.md +64 -0
- package/skills/account-research/account-research.md +323 -0
- package/skills/account-research/references/signals-guide.md +52 -0
- package/skills/create-workflow-template/create-workflow-template.md +1091 -0
- package/skills/create-workflow-template/examples/3592-Generate rca from pia-template.json +1 -0
- package/skills/create-workflow-template/examples/4392-Async opportunity review agent-template.json +1 -0
- package/skills/create-workflow-template/examples/4441-Ticket escalator from customer message-template.json +1 -0
- package/skills/create-workflow-template/examples/4505-Auto-update issue tcd as end of sprint date-template.json +1 -0
- package/skills/create-workflow-template/examples/5040-Devrevu - enablement journey - poc emails-template.json +1 -0
- package/skills/create-workflow-template/examples/5158-Devrevu - enablement journey - mailing for non enablement journey users-template.json +1 -0
- package/skills/create-workflow-template/examples/5216-Account segment missing notification-template.json +1 -0
- package/skills/create-workflow-template/examples/working-csat-score-on-ticket-resolved.json +1 -0
- package/skills/create-workflow-template/examples/working-enhancement-replace-agent.json +1 -0
- package/skills/create-workflow-template/examples/working-invoke-code-sample.json +1 -0
- package/skills/create-workflow-template/examples/working-loop-variable-sample.json +1 -0
- package/skills/create-workflow-template/operations/actions.md +2919 -0
- package/skills/create-workflow-template/operations/blockings.md +38 -0
- package/skills/create-workflow-template/operations/controls.md +108 -0
- package/skills/create-workflow-template/operations/schema-index.md +166 -0
- package/skills/create-workflow-template/operations/schemas/account_created.md +58 -0
- package/skills/create-workflow-template/operations/schemas/account_updated.md +73 -0
- package/skills/create-workflow-template/operations/schemas/add_comment.md +29 -0
- package/skills/create-workflow-template/operations/schemas/airdrop_sync_run_started.md +33 -0
- package/skills/create-workflow-template/operations/schemas/airdrop_sync_run_status_updated.md +35 -0
- package/skills/create-workflow-template/operations/schemas/article_created.md +96 -0
- package/skills/create-workflow-template/operations/schemas/article_updated.md +135 -0
- package/skills/create-workflow-template/operations/schemas/ask_ai.md +11 -0
- package/skills/create-workflow-template/operations/schemas/classify_object.md +22 -0
- package/skills/create-workflow-template/operations/schemas/contact_created.md +43 -0
- package/skills/create-workflow-template/operations/schemas/contact_updated.md +65 -0
- package/skills/create-workflow-template/operations/schemas/conversation_created.md +108 -0
- package/skills/create-workflow-template/operations/schemas/conversation_sla_tracker_updated.md +46 -0
- package/skills/create-workflow-template/operations/schemas/conversation_updated.md +130 -0
- package/skills/create-workflow-template/operations/schemas/convert_conversation_to_ticket.md +13 -0
- package/skills/create-workflow-template/operations/schemas/create_account.md +62 -0
- package/skills/create-workflow-template/operations/schemas/create_article.md +79 -0
- package/skills/create-workflow-template/operations/schemas/create_brand.md +42 -0
- package/skills/create-workflow-template/operations/schemas/create_contact.md +65 -0
- package/skills/create-workflow-template/operations/schemas/create_dm.md +53 -0
- package/skills/create-workflow-template/operations/schemas/create_enhancement.md +63 -0
- package/skills/create-workflow-template/operations/schemas/create_incident.md +136 -0
- package/skills/create-workflow-template/operations/schemas/create_issue.md +150 -0
- package/skills/create-workflow-template/operations/schemas/create_meeting.md +105 -0
- package/skills/create-workflow-template/operations/schemas/create_opportunity.md +123 -0
- package/skills/create-workflow-template/operations/schemas/create_ticket.md +184 -0
- package/skills/create-workflow-template/operations/schemas/csat_response_received.md +73 -0
- package/skills/create-workflow-template/operations/schemas/dev_user_created.md +54 -0
- package/skills/create-workflow-template/operations/schemas/dev_user_updated.md +99 -0
- package/skills/create-workflow-template/operations/schemas/enhancement_created.md +46 -0
- package/skills/create-workflow-template/operations/schemas/enhancement_updated.md +89 -0
- package/skills/create-workflow-template/operations/schemas/evaluate_sentiment.md +14 -0
- package/skills/create-workflow-template/operations/schemas/execute_metric_action.md +11 -0
- package/skills/create-workflow-template/operations/schemas/feature_created.md +40 -0
- package/skills/create-workflow-template/operations/schemas/for_each.md +45 -0
- package/skills/create-workflow-template/operations/schemas/get_account.md +59 -0
- package/skills/create-workflow-template/operations/schemas/get_airdrop_sync_unit.md +32 -0
- package/skills/create-workflow-template/operations/schemas/get_brand.md +40 -0
- package/skills/create-workflow-template/operations/schemas/get_complete_enhancement_details.md +13 -0
- package/skills/create-workflow-template/operations/schemas/get_conversation.md +120 -0
- package/skills/create-workflow-template/operations/schemas/get_customer.md +60 -0
- package/skills/create-workflow-template/operations/schemas/get_enhancement.md +66 -0
- package/skills/create-workflow-template/operations/schemas/get_feature.md +56 -0
- package/skills/create-workflow-template/operations/schemas/get_incident.md +85 -0
- package/skills/create-workflow-template/operations/schemas/get_issue.md +117 -0
- package/skills/create-workflow-template/operations/schemas/get_kg_schema.md +23 -0
- package/skills/create-workflow-template/operations/schemas/get_meeting.md +87 -0
- package/skills/create-workflow-template/operations/schemas/get_metric_trackers.md +20 -0
- package/skills/create-workflow-template/operations/schemas/get_node_schema.md +29 -0
- package/skills/create-workflow-template/operations/schemas/get_opportunity.md +93 -0
- package/skills/create-workflow-template/operations/schemas/get_org_user.md +57 -0
- package/skills/create-workflow-template/operations/schemas/get_org_user_preference.md +40 -0
- package/skills/create-workflow-template/operations/schemas/get_part.md +55 -0
- package/skills/create-workflow-template/operations/schemas/get_self.md +54 -0
- package/skills/create-workflow-template/operations/schemas/get_session_details.md +45 -0
- package/skills/create-workflow-template/operations/schemas/get_sprint_board.md +103 -0
- package/skills/create-workflow-template/operations/schemas/get_ticket.md +136 -0
- package/skills/create-workflow-template/operations/schemas/get_workspace.md +21 -0
- package/skills/create-workflow-template/operations/schemas/go_back.md +13 -0
- package/skills/create-workflow-template/operations/schemas/http.md +38 -0
- package/skills/create-workflow-template/operations/schemas/hybrid_search.md +144 -0
- package/skills/create-workflow-template/operations/schemas/if_else.md +16 -0
- package/skills/create-workflow-template/operations/schemas/incident_created.md +88 -0
- package/skills/create-workflow-template/operations/schemas/incident_updated.md +126 -0
- package/skills/create-workflow-template/operations/schemas/init_variable.md +67 -0
- package/skills/create-workflow-template/operations/schemas/invoice_created.md +21 -0
- package/skills/create-workflow-template/operations/schemas/invoice_updated.md +41 -0
- package/skills/create-workflow-template/operations/schemas/invoke_code.md +132 -0
- package/skills/create-workflow-template/operations/schemas/issue_created.md +105 -0
- package/skills/create-workflow-template/operations/schemas/issue_sla_tracker_updated.md +46 -0
- package/skills/create-workflow-template/operations/schemas/issue_updated.md +172 -0
- package/skills/create-workflow-template/operations/schemas/link_incident_with_issue.md +14 -0
- package/skills/create-workflow-template/operations/schemas/link_ticket_with_issue.md +14 -0
- package/skills/create-workflow-template/operations/schemas/list_enhancements.md +74 -0
- package/skills/create-workflow-template/operations/schemas/list_issues.md +108 -0
- package/skills/create-workflow-template/operations/schemas/list_sessions.md +79 -0
- package/skills/create-workflow-template/operations/schemas/list_sprint.md +29 -0
- package/skills/create-workflow-template/operations/schemas/list_web_sessions.md +87 -0
- package/skills/create-workflow-template/operations/schemas/loop_over_accounts.md +106 -0
- package/skills/create-workflow-template/operations/schemas/loop_over_articles.md +126 -0
- package/skills/create-workflow-template/operations/schemas/loop_over_customers.md +88 -0
- package/skills/create-workflow-template/operations/schemas/loop_over_dev_users.md +75 -0
- package/skills/create-workflow-template/operations/schemas/loop_over_enhancements.md +112 -0
- package/skills/create-workflow-template/operations/schemas/loop_over_incidents.md +113 -0
- package/skills/create-workflow-template/operations/schemas/loop_over_issues.md +217 -0
- package/skills/create-workflow-template/operations/schemas/loop_over_meetings.md +150 -0
- package/skills/create-workflow-template/operations/schemas/loop_over_opportunity.md +161 -0
- package/skills/create-workflow-template/operations/schemas/loop_over_sprints.md +50 -0
- package/skills/create-workflow-template/operations/schemas/loop_over_tickets.md +203 -0
- package/skills/create-workflow-template/operations/schemas/manual_trigger.md +11 -0
- package/skills/create-workflow-template/operations/schemas/meeting_created.md +116 -0
- package/skills/create-workflow-template/operations/schemas/meeting_updated.md +152 -0
- package/skills/create-workflow-template/operations/schemas/oasis_sql_execute.md +11 -0
- package/skills/create-workflow-template/operations/schemas/opportunity_created.md +92 -0
- package/skills/create-workflow-template/operations/schemas/opportunity_updated.md +124 -0
- package/skills/create-workflow-template/operations/schemas/pick_user.md +16 -0
- package/skills/create-workflow-template/operations/schemas/question_answer_created.md +44 -0
- package/skills/create-workflow-template/operations/schemas/question_answer_updated.md +75 -0
- package/skills/create-workflow-template/operations/schemas/recall_chats.md +13 -0
- package/skills/create-workflow-template/operations/schemas/router.md +15 -0
- package/skills/create-workflow-template/operations/schemas/send_notification.md +19 -0
- package/skills/create-workflow-template/operations/schemas/set_variable.md +67 -0
- package/skills/create-workflow-template/operations/schemas/sleep_for.md +12 -0
- package/skills/create-workflow-template/operations/schemas/sleep_until.md +17 -0
- package/skills/create-workflow-template/operations/schemas/sprint_updated.md +37 -0
- package/skills/create-workflow-template/operations/schemas/suggest_part.md +14 -0
- package/skills/create-workflow-template/operations/schemas/task_updated.md +79 -0
- package/skills/create-workflow-template/operations/schemas/test_example.md +16 -0
- package/skills/create-workflow-template/operations/schemas/ticket_created.md +136 -0
- package/skills/create-workflow-template/operations/schemas/ticket_sla_tracker_updated.md +46 -0
- package/skills/create-workflow-template/operations/schemas/ticket_updated.md +198 -0
- package/skills/create-workflow-template/operations/schemas/timeline_comment_created.md +70 -0
- package/skills/create-workflow-template/operations/schemas/update_account.md +68 -0
- package/skills/create-workflow-template/operations/schemas/update_article.md +95 -0
- package/skills/create-workflow-template/operations/schemas/update_brand.md +44 -0
- package/skills/create-workflow-template/operations/schemas/update_contact.md +53 -0
- package/skills/create-workflow-template/operations/schemas/update_conversation.md +149 -0
- package/skills/create-workflow-template/operations/schemas/update_enhancement.md +64 -0
- package/skills/create-workflow-template/operations/schemas/update_incident.md +156 -0
- package/skills/create-workflow-template/operations/schemas/update_issue.md +173 -0
- package/skills/create-workflow-template/operations/schemas/update_meeting.md +114 -0
- package/skills/create-workflow-template/operations/schemas/update_opportunity.md +137 -0
- package/skills/create-workflow-template/operations/schemas/update_question_answer.md +60 -0
- package/skills/create-workflow-template/operations/schemas/update_ticket.md +188 -0
- package/skills/create-workflow-template/operations/schemas/watch_ticket_for_updates.md +225 -0
- package/skills/create-workflow-template/operations/schemas/web_search.md +17 -0
- package/skills/create-workflow-template/operations/schemas/while.md +24 -0
- package/skills/create-workflow-template/operations/schemas/widget_created.md +75 -0
- package/skills/create-workflow-template/operations/schemas/widget_updated.md +98 -0
- package/skills/create-workflow-template/operations/schemas/workspace_created.md +20 -0
- package/skills/create-workflow-template/operations/triggers.md +1583 -0
- package/skills/customer-brief/customer-brief.md +66 -0
- package/skills/deal-review-meddpicc/deal-review-meddpicc.md +58 -0
- package/skills/next-step-for-opportunity/next-step-for-opportunity.md +55 -0
- package/skills/opportunity-feature-prioritizer/SKILL.md +183 -0
- package/skills/sales-call-plan-coach/sales-call-plan-coach.md +73 -0
- package/skills/sales-context/sales-context.md +44 -0
- package/skills/sales-search-and-lookup/sales-search-and-lookup.md +58 -0
- package/skills/skill-creator/SKILL.md +570 -0
- package/skills/skill-creator/agents/analyzer.md +274 -0
- package/skills/skill-creator/agents/comparator.md +202 -0
- package/skills/skill-creator/agents/grader.md +223 -0
- package/skills/skill-creator/assets/eval_review.html +146 -0
- package/skills/skill-creator/eval-viewer/generate_review.py +471 -0
- package/skills/skill-creator/eval-viewer/viewer.html +1325 -0
- package/skills/skill-creator/references/schemas.md +430 -0
- package/skills/skill-creator/references/tool-patterns.md +290 -0
- package/skills/skill-creator/scripts/__init__.py +0 -0
- package/skills/skill-creator/scripts/aggregate_benchmark.py +401 -0
- package/skills/skill-creator/scripts/generate_report.py +326 -0
- package/skills/skill-creator/scripts/improve_description.py +247 -0
- package/skills/skill-creator/scripts/package_skill.py +136 -0
- package/skills/skill-creator/scripts/quick_validate.py +103 -0
- package/skills/skill-creator/scripts/run_eval.py +310 -0
- package/skills/skill-creator/scripts/run_loop.py +328 -0
- package/skills/skill-creator/scripts/utils.py +47 -0
- package/skills/trace-diagnosis/trace-diagnosis.md +186 -0
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
# `opportunity_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: `account`, `actual_close_date`, `annual_contract_value`, `body`, `contacts`, `owned_by`, `stage`, `tags`, `target_close_date`, `title`... (11 total)
|
|
7
|
+
|
|
8
|
+
## Output Port: `output`
|
|
9
|
+
|
|
10
|
+
- **`id`** (`id`) **REQUIRED** — The opportunity which was updated.
|
|
11
|
+
- ID type: `opportunity`
|
|
12
|
+
- **`body`** (`text`) — The description of the opportunity.
|
|
13
|
+
- **`created_date`** (`timestamp`) — Timestamp when the opportunity was created.
|
|
14
|
+
- **`display_id`** (`text`) — Human-readable object ID unique to the Dev organization.
|
|
15
|
+
- **`modified_date`** (`timestamp`) — Timestamp when the opportunity was last modified.
|
|
16
|
+
- **`stage`** (`composite`) — Describes the current stage of a opportunity
|
|
17
|
+
- Composite: `_gen:stage`
|
|
18
|
+
- **`name`** (`text`) **REQUIRED** — Describes the current stage of a opportunity
|
|
19
|
+
- **`target_close_date`** (`timestamp`) — Timestamp when the opportunity is expected to be closed.
|
|
20
|
+
- **`title`** (`text`) **REQUIRED** — Title of the opportunity.
|
|
21
|
+
- **`account`** (`composite`)
|
|
22
|
+
- Composite: `_gen:account`
|
|
23
|
+
- **`display_id`** (`text`) — Human-readable object ID unique to the Dev organization.
|
|
24
|
+
- **`display_name`** (`text`) — Name of the Organization.
|
|
25
|
+
- **`id`** (`id`) **REQUIRED** — The id of the account.
|
|
26
|
+
- ID type: `account`
|
|
27
|
+
- **`actual_close_date`** (`timestamp`) — Timestamp when the opportunity was actually closed.
|
|
28
|
+
- **`annual_contract_value`** (`composite`) — Annual contract value of an opportunity in USD
|
|
29
|
+
- Composite: `_gen:annual_contract_value`
|
|
30
|
+
- **`amount`** (`text`) — Amount of the money.
|
|
31
|
+
- **`currency`** (`text`) — Currency of the money.
|
|
32
|
+
- **`created_by`** (`composite`)
|
|
33
|
+
- Composite: `_gen:created_by`
|
|
34
|
+
- **`display_id`** (`text`) — Human-readable object ID unique to the Dev organization.
|
|
35
|
+
- **`display_name`** (`text`) — The user's display name. The name is non-unique and mutable.
|
|
36
|
+
- **`display_picture`** (`composite`)
|
|
37
|
+
- Composite: `_gen:display_picture`
|
|
38
|
+
- **`email`** (`text`) — Email address of the user.
|
|
39
|
+
- **`full_name`** (`text`) — Full name of the user.
|
|
40
|
+
- **`state`** (`enum`) — State of the user.
|
|
41
|
+
- Allowed: `active`, `deactivated`, `deleted`, `locked`, `shadow`, `unassigned`
|
|
42
|
+
- **`type`** (`enum`) **REQUIRED**
|
|
43
|
+
- Allowed: `dev_user`, `rev_user`, `service_account`, `sys_user`
|
|
44
|
+
- **`id`** (`id`) **REQUIRED** — Globally unique object ID.
|
|
45
|
+
- ID type: `devu`, `sysu`, `svcacc`
|
|
46
|
+
- **`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).
|
|
47
|
+
- **`modified_by`** (`composite`)
|
|
48
|
+
- Composite: `_gen:modified_by`
|
|
49
|
+
- **`display_id`** (`text`) — Human-readable object ID unique to the Dev organization.
|
|
50
|
+
- **`display_name`** (`text`) — The user's display name. The name is non-unique and mutable.
|
|
51
|
+
- **`display_picture`** (`composite`)
|
|
52
|
+
- Composite: `_gen:display_picture`
|
|
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
|
+
- **`type`** (`enum`) **REQUIRED**
|
|
58
|
+
- Allowed: `dev_user`, `rev_user`, `service_account`, `sys_user`
|
|
59
|
+
- **`id`** (`id`) **REQUIRED** — Globally unique object ID.
|
|
60
|
+
- ID type: `devu`, `sysu`, `svcacc`
|
|
61
|
+
- **`old_opportunity`** (`composite`) — Old opportunity object
|
|
62
|
+
- Composite: `_gen:implicit:opportunity`
|
|
63
|
+
- **`account`** (`composite`)
|
|
64
|
+
- Composite: `_gen:account`
|
|
65
|
+
- **`actual_close_date`** (`timestamp`) — Timestamp when the opportunity was actually closed
|
|
66
|
+
- **`annual_contract_value`** (`composite`) — Money.
|
|
67
|
+
- Composite: `_gen:annual_contract_value`
|
|
68
|
+
- **`body`** (`text`) — Body of the opportunity
|
|
69
|
+
- **`created_by`** (`composite`)
|
|
70
|
+
- Composite: `_gen:created_by`
|
|
71
|
+
- **`created_date`** (`timestamp`) — Timestamp when the opportunity was created.
|
|
72
|
+
- **`display_id`** (`text`) — Human-readable object ID unique to the Dev organization.
|
|
73
|
+
- **`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).
|
|
74
|
+
- **`modified_by`** (`composite`)
|
|
75
|
+
- Composite: `_gen:modified_by`
|
|
76
|
+
- **`modified_date`** (`timestamp`) — Timestamp when the opportunity was last modified.
|
|
77
|
+
- **`owned_by`** (`[]composite`) **REQUIRED**
|
|
78
|
+
- Composite: `_gen:user-summary`
|
|
79
|
+
- **`reported_by`** (`[]composite`)
|
|
80
|
+
- Composite: `_gen:user-summary`
|
|
81
|
+
- **`stage`** (`composite`) — Describes the current stage of a opportunity
|
|
82
|
+
- Composite: `_gen:stage`
|
|
83
|
+
- **`state_display_name`** (`text`) — Display name for current state.
|
|
84
|
+
- **`tags`** (`[]composite`) — Tags associated with the opportunity
|
|
85
|
+
- Composite: `_gen:tags`
|
|
86
|
+
- **`target_close_date`** (`timestamp`) — Timestamp when the opportunity is expected to be closed
|
|
87
|
+
- **`title`** (`text`) **REQUIRED** — Title of the opportunity
|
|
88
|
+
- **`value`** (`composite`) — Money.
|
|
89
|
+
- Composite: `_gen:value`
|
|
90
|
+
- **`id`** (`id`) **REQUIRED** — Globally unique object ID.
|
|
91
|
+
- ID type: `opportunity`
|
|
92
|
+
- **`owned_by`** (`[]composite`) **REQUIRED**
|
|
93
|
+
- Composite: `_gen:user-summary`
|
|
94
|
+
- **`display_id`** (`text`) — Human-readable object ID unique to the Dev organization.
|
|
95
|
+
- **`display_name`** (`text`) — The user's display name. The name is non-unique and mutable.
|
|
96
|
+
- **`email`** (`text`) — Email address of the user.
|
|
97
|
+
- **`full_name`** (`text`) — Full name of the user.
|
|
98
|
+
- **`state`** (`enum`) — State of the user.
|
|
99
|
+
- Allowed: `active`, `deactivated`, `deleted`, `locked`, `shadow`, `unassigned`
|
|
100
|
+
- **`id`** (`id`) **REQUIRED** — The id of the user.
|
|
101
|
+
- ID type: `devu`, `sysu`, `svcacc`
|
|
102
|
+
- **`type`** (`enum`) **REQUIRED**
|
|
103
|
+
- Allowed: `dev_user`, `service_account`, `sys_user`
|
|
104
|
+
- **`reported_by`** (`[]composite`)
|
|
105
|
+
- Composite: `_gen:user-summary`
|
|
106
|
+
- **`display_id`** (`text`) — Human-readable object ID unique to the Dev organization.
|
|
107
|
+
- **`display_name`** (`text`) — The user's display name. The name is non-unique and mutable.
|
|
108
|
+
- **`email`** (`text`) — Email address of the user.
|
|
109
|
+
- **`full_name`** (`text`) — Full name of the user.
|
|
110
|
+
- **`state`** (`enum`) — State of the user.
|
|
111
|
+
- Allowed: `active`, `deactivated`, `deleted`, `locked`, `shadow`, `unassigned`
|
|
112
|
+
- **`id`** (`id`) **REQUIRED** — The id of the user.
|
|
113
|
+
- ID type: `devu`, `sysu`, `svcacc`
|
|
114
|
+
- **`type`** (`enum`) **REQUIRED**
|
|
115
|
+
- Allowed: `dev_user`, `service_account`, `sys_user`
|
|
116
|
+
- **`state_display_name`** (`text`) — Display name for current state.
|
|
117
|
+
- **`tags`** (`[]composite`) — Tags associated with the object.
|
|
118
|
+
- Composite: `_gen:tags`
|
|
119
|
+
- **`tag`** (`composite`)
|
|
120
|
+
- Composite: `_gen:tag`
|
|
121
|
+
- **`value`** (`composite`) — The value of the opportunity in USD.
|
|
122
|
+
- Composite: `_gen:value`
|
|
123
|
+
- **`amount`** (`text`) — Amount of the money.
|
|
124
|
+
- **`currency`** (`text`) — Currency of the money.
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# `pick_user` — Schema Reference
|
|
2
|
+
|
|
3
|
+
Picks a user from a group or list of users based on the given strategy (e.g., round robin).
|
|
4
|
+
|
|
5
|
+
## Input Port: `input`
|
|
6
|
+
|
|
7
|
+
Schema is **dynamic** (Overridden by schema handler). Typically includes:
|
|
8
|
+
- The group or list of users to pick from.
|
|
9
|
+
- The selection strategy (e.g., round robin).
|
|
10
|
+
|
|
11
|
+
## Output Port: `output`
|
|
12
|
+
|
|
13
|
+
Schema is **dynamic** (Overridden by schema handler). Typically includes:
|
|
14
|
+
- The selected user ID.
|
|
15
|
+
|
|
16
|
+
> **Note:** Both input and output schemas are managed by the schema handler at design time.
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# `question_answer_created` — Schema Reference
|
|
2
|
+
|
|
3
|
+
## Input Port: `input`
|
|
4
|
+
|
|
5
|
+
_No input fields (trigger or system-provided)._
|
|
6
|
+
|
|
7
|
+
## Output Port: `output`
|
|
8
|
+
|
|
9
|
+
- **`answer`** (`text`) — The Answer.
|
|
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
|
+
- **`full_name`** (`text`) — Full name of the user.
|
|
16
|
+
- **`state`** (`enum`) — State of the user.
|
|
17
|
+
- Allowed: `active`, `deactivated`, `deleted`, `locked`, `shadow`, `unassigned`
|
|
18
|
+
- **`id`** (`id`) **REQUIRED** — Globally unique object ID.
|
|
19
|
+
- ID type: `devu`, `sysu`, `svcacc`
|
|
20
|
+
- **`type`** (`enum`) **REQUIRED**
|
|
21
|
+
- Allowed: `dev_user`, `service_account`, `sys_user`
|
|
22
|
+
- **`created_date`** (`timestamp`) — Timestamp when the QA was created.
|
|
23
|
+
- **`modified_by`** (`composite`)
|
|
24
|
+
- Composite: `_gen:modified_by`
|
|
25
|
+
- **`display_id`** (`text`) — Human-readable object ID unique to the Dev organization.
|
|
26
|
+
- **`display_name`** (`text`) — The user's display name. The name is non-unique and mutable.
|
|
27
|
+
- **`email`** (`text`) — Email address of the user.
|
|
28
|
+
- **`full_name`** (`text`) — Full name of the user.
|
|
29
|
+
- **`state`** (`enum`) — State of the user.
|
|
30
|
+
- Allowed: `active`, `deactivated`, `deleted`, `locked`, `shadow`, `unassigned`
|
|
31
|
+
- **`id`** (`id`) **REQUIRED** — Globally unique object ID.
|
|
32
|
+
- ID type: `devu`, `sysu`, `svcacc`
|
|
33
|
+
- **`type`** (`enum`) **REQUIRED**
|
|
34
|
+
- Allowed: `dev_user`, `service_account`, `sys_user`
|
|
35
|
+
- **`modified_date`** (`timestamp`) — Timestamp when the QA was modified.
|
|
36
|
+
- **`question`** (`text`) — The Question.
|
|
37
|
+
- **`status`** (`enum`) — Status of the question answer.
|
|
38
|
+
- Allowed: `archived`, `discarded`, `draft`, `published`, `review_needed`
|
|
39
|
+
- **`suggested_answer`** (`text`) — An alternative answer suggested by the QA generation algorithm.
|
|
40
|
+
- **`suggested_for_deletion`** (`bool`) — Whether the QA was marked for deletion by the QA generation algorithm.
|
|
41
|
+
- **`topic`** (`text`) — The topic to which the QA belongs.
|
|
42
|
+
- **`verified`** (`bool`) — Whether the QA was verified.
|
|
43
|
+
- **`id`** (`id`) **REQUIRED** — The ID of the created QA.
|
|
44
|
+
- ID type: `question_answer`
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
# `question_answer_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: `question`, `answer`, `status`
|
|
7
|
+
|
|
8
|
+
## Output Port: `output`
|
|
9
|
+
|
|
10
|
+
- **`answer`** (`text`) — The Answer.
|
|
11
|
+
- **`applies_to_parts`** (`[]composite`)
|
|
12
|
+
- Composite: `_gen:part-summary`
|
|
13
|
+
- **`display_id`** (`text`) — Human-readable object ID unique to the Dev organization.
|
|
14
|
+
- **`name`** (`text`) **REQUIRED** — Name of the part.
|
|
15
|
+
- **`owned_by`** (`[]composite`) **REQUIRED**
|
|
16
|
+
- Composite: `_gen:user-summary`
|
|
17
|
+
- **`type`** (`enum`) **REQUIRED**
|
|
18
|
+
- Allowed: `capability`, `enhancement`, `feature`, `linkable`, `product`, `runnable`
|
|
19
|
+
- **`id`** (`id`) **REQUIRED** — ID of the part attached to the QA.
|
|
20
|
+
- ID type: `capability`, `feature`, `product`, `runnable`, `linkable`, `enhancement`
|
|
21
|
+
- **`created_by`** (`composite`)
|
|
22
|
+
- Composite: `_gen:created_by`
|
|
23
|
+
- **`display_id`** (`text`) — Human-readable object ID unique to the Dev organization.
|
|
24
|
+
- **`display_name`** (`text`) — The user's display name. The name is non-unique and mutable.
|
|
25
|
+
- **`email`** (`text`) — Email address of the user.
|
|
26
|
+
- **`full_name`** (`text`) — Full name of the user.
|
|
27
|
+
- **`state`** (`enum`) — State of the user.
|
|
28
|
+
- Allowed: `active`, `deactivated`, `deleted`, `locked`, `shadow`, `unassigned`
|
|
29
|
+
- **`id`** (`id`) **REQUIRED** — Globally unique object ID.
|
|
30
|
+
- ID type: `devu`, `sysu`, `svcacc`
|
|
31
|
+
- **`type`** (`enum`) **REQUIRED**
|
|
32
|
+
- Allowed: `dev_user`, `service_account`, `sys_user`
|
|
33
|
+
- **`created_date`** (`timestamp`) — Timestamp when the QA was created.
|
|
34
|
+
- **`modified_by`** (`composite`)
|
|
35
|
+
- Composite: `_gen:modified_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
|
+
- **`email`** (`text`) — Email address of the user.
|
|
39
|
+
- **`full_name`** (`text`) — Full name of the user.
|
|
40
|
+
- **`state`** (`enum`) — State of the user.
|
|
41
|
+
- Allowed: `active`, `deactivated`, `deleted`, `locked`, `shadow`, `unassigned`
|
|
42
|
+
- **`id`** (`id`) **REQUIRED** — Globally unique object ID.
|
|
43
|
+
- ID type: `devu`, `sysu`, `svcacc`
|
|
44
|
+
- **`type`** (`enum`) **REQUIRED**
|
|
45
|
+
- Allowed: `dev_user`, `service_account`, `sys_user`
|
|
46
|
+
- **`modified_date`** (`timestamp`) — Timestamp when the QA was modified.
|
|
47
|
+
- **`question`** (`text`) — The Question.
|
|
48
|
+
- **`status`** (`enum`) — Status of the question answer.
|
|
49
|
+
- Allowed: `archived`, `discarded`, `draft`, `published`, `review_needed`
|
|
50
|
+
- **`suggested_answer`** (`text`) — An alternative answer suggested by the QA generation algorithm.
|
|
51
|
+
- **`suggested_for_deletion`** (`bool`) — Whether the QA was marked for deletion by the QA generation algorithm.
|
|
52
|
+
- **`topic`** (`text`) — The topic to which the QA belongs.
|
|
53
|
+
- **`verified`** (`bool`) — Whether the QA was verified.
|
|
54
|
+
- **`old_question_answer`** (`composite`) — Old question_answer object
|
|
55
|
+
- Composite: `_gen:implicit:question_answer`
|
|
56
|
+
- **`answer`** (`text`) — The Answer.
|
|
57
|
+
- **`applies_to_parts`** (`[]composite`)
|
|
58
|
+
- Composite: `_gen:part-summary`
|
|
59
|
+
- **`created_by`** (`composite`)
|
|
60
|
+
- Composite: `_gen:created_by`
|
|
61
|
+
- **`created_date`** (`timestamp`) — Timestamp when the object was created.
|
|
62
|
+
- **`modified_by`** (`composite`)
|
|
63
|
+
- Composite: `_gen:modified_by`
|
|
64
|
+
- **`modified_date`** (`timestamp`) — Timestamp when the object was last modified.
|
|
65
|
+
- **`question`** (`text`) — The Question.
|
|
66
|
+
- **`status`** (`enum`) — Status of the question answer.
|
|
67
|
+
- Allowed: `archived`, `discarded`, `draft`, `published`, `review_needed`
|
|
68
|
+
- **`suggested_answer`** (`text`) — An alternative answer suggested by the Q/A generation algorithm.
|
|
69
|
+
- **`suggested_for_deletion`** (`bool`) — Whether the Q/A was marked for deletion by the Q/A generation algorithm.
|
|
70
|
+
- **`topic`** (`text`) — The topic to which the QA belongs.
|
|
71
|
+
- **`verified`** (`bool`) — Whether the Q/A was verified.
|
|
72
|
+
- **`id`** (`id`) **REQUIRED** — Globally unique object ID.
|
|
73
|
+
- ID type: `question_answer`
|
|
74
|
+
- **`id`** (`id`) **REQUIRED** — The ID of the updated QA
|
|
75
|
+
- ID type: `question_answer`
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# `recall_chats` — Schema Reference
|
|
2
|
+
|
|
3
|
+
## Input Port: `input`
|
|
4
|
+
|
|
5
|
+
- **`query`** (`text`) — Extract only specific topic keywords. Drop time words ("yesterday", "last week", "last fiscal year") and generic fillers ("find", "what was"). If the prompt has no clear topic (e.g., "what were the topics of conversations last week?"), leave this empty so only the date filters are used.
|
|
6
|
+
- **`start_date`** (`timestamp`) — Start of date range (ISO 8601 timestamp). If any time reference exists, always set both start_date and end_date. Examples: "last fiscal year" -> first day of that fiscal year; "last week" -> first day of last week; "last month" -> first day of last month. Leave empty only when no time reference.
|
|
7
|
+
- **`end_date`** (`timestamp`) — End of date range (ISO 8601 timestamp). If any time reference exists, always set both start_date and end_date. Examples: "last fiscal year" -> last day of that fiscal year; "last week" -> last day of last week; "last month" -> last day of last month. Leave empty only when no time reference.
|
|
8
|
+
- **`limit`** (`int`) — Maximum number of results to return. Defaults to 10 if not specified. Valid range: 1-100.
|
|
9
|
+
|
|
10
|
+
## Output Port: `output`
|
|
11
|
+
|
|
12
|
+
- **`results_count`** (`int`) **REQUIRED** — Number of conversations/messages found
|
|
13
|
+
- **`results`** (`text`) **REQUIRED** — Array of search results with id, title, snippet, and comments (if any)
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# `router` — Schema Reference
|
|
2
|
+
|
|
3
|
+
Route workflow into parallel paths, executing only the routes whose conditions are met.
|
|
4
|
+
|
|
5
|
+
**Release Stage:** Beta
|
|
6
|
+
|
|
7
|
+
## Input Port: `input`
|
|
8
|
+
|
|
9
|
+
Schema is **dynamic** (Overridden by schema handler). The input includes route conditions configured at design time.
|
|
10
|
+
|
|
11
|
+
## Output Port: `output`
|
|
12
|
+
|
|
13
|
+
Schema is **dynamic** (Overridden by schema handler). Multiple output routes are defined at design time, each with its own condition.
|
|
14
|
+
|
|
15
|
+
> **Note:** The router operation's schema (both input conditions and output routes) is fully managed by the schema handler. Routes and their conditions are configured in the workflow editor.
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# `send_notification` — Schema Reference
|
|
2
|
+
|
|
3
|
+
Send notification to users or groups. By default, notification priority will be marked as "Important". Emails are sent for unread "Important" notifications. Once the workflow is deployed, any receiver can go to notification preferences and change the priority to "Others" to stop receiving emails.
|
|
4
|
+
|
|
5
|
+
## Input Port: `input`
|
|
6
|
+
|
|
7
|
+
- **`receivers`** (`[]id`) **REQUIRED** — The users or groups who will receive the notification.
|
|
8
|
+
- ID type: `devu`, `group`
|
|
9
|
+
- **`body`** (`rich_text`) **REQUIRED** — The body of the notification.
|
|
10
|
+
- **`title`** (`rich_text`) **REQUIRED** — The title of the notification.
|
|
11
|
+
- **`content_template_id`** (`id`) — The content template for the notification.
|
|
12
|
+
- ID type: `notification_content_template`
|
|
13
|
+
- UI: hidden
|
|
14
|
+
- **`linked_object`** (`id`) — The object which will open on clicking the notification.
|
|
15
|
+
- ID type: `account`, `capability`, `enhancement`, `feature`, `incident`, `issue`, `linkable`, `opportunity`, `product`, `runnable`, `ticket`, `conversation`
|
|
16
|
+
|
|
17
|
+
## Output Port: `output`
|
|
18
|
+
|
|
19
|
+
No output fields defined (empty schema).
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
# `set_variable` — Schema Reference
|
|
2
|
+
|
|
3
|
+
Sets a variable with the given value. Typically used inside loop bodies to accumulate data across iterations.
|
|
4
|
+
|
|
5
|
+
## Input Port: `input`
|
|
6
|
+
|
|
7
|
+
Schema is **dynamic** (Overridden by schema handler), but the template pattern is well-defined. Has three fields — all using `uenum` or `text` field types:
|
|
8
|
+
|
|
9
|
+
```json
|
|
10
|
+
"input_ports": [{"name": "input", "schema": {"field_descriptors": [
|
|
11
|
+
{"field_type": "uenum", "allowed_values": [
|
|
12
|
+
{"id": 1, "label": "init_variable_1 - summary", "ordinal": 1,
|
|
13
|
+
"value": {"output_port_name": "output", "step_reference_key": "init_variable_1", "variable_name": "summary"}}
|
|
14
|
+
], "data_name": "variable", "db_name": "variable", "description": "Variable",
|
|
15
|
+
"is_required": true, "name": "variable", "oasis": {"name": "variable"}, "ui": {"display_name": "Variable"}},
|
|
16
|
+
{"field_type": "uenum", "allowed_values": [
|
|
17
|
+
{"id": 1, "label": "Set Value", "ordinal": 1, "value": "set"},
|
|
18
|
+
{"id": 2, "label": "Concatenate", "ordinal": 2, "value": "concat"}
|
|
19
|
+
], "data_name": "operation", "db_name": "operation", "description": "Operation to perform. Defaults to 'Set Value' if not specified.",
|
|
20
|
+
"is_required": false, "name": "operation", "oasis": {"name": "operation"}, "ui": {"display_name": "Operation"}},
|
|
21
|
+
{"field_type": "text", "data_name": "value", "db_name": "value", "description": "Value",
|
|
22
|
+
"is_filterable": false, "is_required": true, "name": "value", "oasis": {"name": "value"}, "ui": {"display_name": "Value"}}
|
|
23
|
+
], "invalidate_on_field_update": ["variable"], "type": "field_descriptor"}, "type": "default"}]
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
**CRITICAL:** The `variable` and `operation` fields are `uenum` type and MUST have `allowed_values`. Missing `allowed_values` causes "Missing required field: allowed_values" on import.
|
|
27
|
+
|
|
28
|
+
### `variable` allowed_values
|
|
29
|
+
|
|
30
|
+
The `variable` field's `allowed_values` references the `init_variable` step:
|
|
31
|
+
```json
|
|
32
|
+
{"id": 1, "label": "init_variable_1 - summary", "ordinal": 1,
|
|
33
|
+
"value": {"output_port_name": "output", "step_reference_key": "init_variable_1", "variable_name": "summary"}}
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
### `operation` allowed_values
|
|
37
|
+
|
|
38
|
+
Always include both options:
|
|
39
|
+
```json
|
|
40
|
+
[
|
|
41
|
+
{"id": 1, "label": "Set Value", "ordinal": 1, "value": "set"},
|
|
42
|
+
{"id": 2, "label": "Concatenate", "ordinal": 2, "value": "concat"}
|
|
43
|
+
]
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
## Input Values
|
|
47
|
+
|
|
48
|
+
```json
|
|
49
|
+
"input_values": [{"port_name": "input", "fields": [
|
|
50
|
+
{"name": "variable", "value": {"type": "literal", "value": {
|
|
51
|
+
"output_port_name": "output", "step_reference_key": "init_variable_1", "variable_name": "summary"}}},
|
|
52
|
+
{"name": "operation", "value": {"type": "literal", "value": "concat"}},
|
|
53
|
+
{"name": "value", "value": {"type": "text_template", "value": "{% expr $get('http_1', 'output').body %}"}}
|
|
54
|
+
]}]
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
## Output Port: `output`
|
|
58
|
+
|
|
59
|
+
```json
|
|
60
|
+
"output_ports": [
|
|
61
|
+
{"name": "output", "schema": {"type": "field_descriptor"}, "type": "default"},
|
|
62
|
+
{"name": "error", "schema": {"field_descriptors": [
|
|
63
|
+
{"field_type": "text", "data_name": "message", "db_name": "message", "description": "Error message with more details about the error", "name": "message", "oasis": {"name": "message"}, "ui": {"display_name": "Error Message"}},
|
|
64
|
+
{"field_type": "enum", "allowed_values": ["bad_request", "not_found", "internal"], "data_name": "type", "db_name": "type", "description": "Type of the error", "name": "type", "oasis": {"name": "type"}, "ui": {"display_name": "Error Type"}}
|
|
65
|
+
], "type": "field_descriptor"}, "type": "error"}
|
|
66
|
+
]
|
|
67
|
+
```
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# `sleep_for` — Schema Reference
|
|
2
|
+
|
|
3
|
+
Pause the workflow for a specified duration.
|
|
4
|
+
|
|
5
|
+
## Input Port: `input`
|
|
6
|
+
|
|
7
|
+
- **`duration`** (`composite`) **REQUIRED** — Duration to sleep for.
|
|
8
|
+
- Composite: `devrev:duration`
|
|
9
|
+
|
|
10
|
+
## Output Port: `output`
|
|
11
|
+
|
|
12
|
+
No output fields (empty schema). The workflow simply resumes after the duration.
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# `sleep_until` — Schema Reference
|
|
2
|
+
|
|
3
|
+
Pause the workflow until a specific date and time. You can also adjust this time by adding or subtracting some duration. Use this to delay actions, like sending reminders, until the right moment. If the time is in the past, the workflow will resume immediately.
|
|
4
|
+
|
|
5
|
+
## Input Port: `input`
|
|
6
|
+
|
|
7
|
+
- **`sleep_until`** (`timestamp`) **REQUIRED** — Select the time when the workflow should resume.
|
|
8
|
+
- **`offset_duration`** (`composite`) — Choose if you want to add or subtract extra time from the date and time you picked.
|
|
9
|
+
- Composite: `offset`
|
|
10
|
+
- **`add_or_subtract`** (`enum`) **REQUIRED** — Choose whether to add or subtract the duration from the specified timestamp.
|
|
11
|
+
- Allowed: `add`, `subtract`
|
|
12
|
+
- **`duration`** (`composite`) **REQUIRED** — Duration of time to add or subtract.
|
|
13
|
+
- Composite: `devrev:duration`
|
|
14
|
+
|
|
15
|
+
## Output Port: `output`
|
|
16
|
+
|
|
17
|
+
No output fields (empty schema). The workflow simply resumes at the specified time.
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# `sprint_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: `name`, `state`, `start_date`, `end_date`, `parent`
|
|
7
|
+
|
|
8
|
+
## Output Port: `output`
|
|
9
|
+
|
|
10
|
+
- **`end_date`** (`timestamp`) — Timestamp when the vista ends.
|
|
11
|
+
- **`name`** (`text`) **REQUIRED** — Name of the group.
|
|
12
|
+
- **`start_date`** (`timestamp`) — Timestamp when the vista starts.
|
|
13
|
+
- **`state`** (`enum`) — Defines the state of the group item.
|
|
14
|
+
- Allowed: `active`, `completed`, `planned`
|
|
15
|
+
- **`type`** (`enum`) **REQUIRED** — Type of the group object.
|
|
16
|
+
- Allowed: `curated`, `dynamic`
|
|
17
|
+
- **`old_vista_group_item`** (`composite`) — Old sprint object
|
|
18
|
+
- Composite: `_gen:implicit:vista_group_item`
|
|
19
|
+
- **`end_date`** (`timestamp`) — Timestamp when the vista ends.
|
|
20
|
+
- **`name`** (`text`) **REQUIRED** — Name of the group.
|
|
21
|
+
- **`start_date`** (`timestamp`) — Timestamp when the vista starts.
|
|
22
|
+
- **`state`** (`enum`) — Defines the state of the group item.
|
|
23
|
+
- Allowed: `active`, `completed`, `planned`
|
|
24
|
+
- **`type`** (`enum`) **REQUIRED** — Type of the group object.
|
|
25
|
+
- Allowed: `curated`, `dynamic`
|
|
26
|
+
- **`id`** (`id`) **REQUIRED** — Globally unique object ID.
|
|
27
|
+
- ID type: `vista_group_item`
|
|
28
|
+
- **`parent`** (`composite`) — The sprint board this sprint belongs to
|
|
29
|
+
- Composite: `_gen:parent`
|
|
30
|
+
- **`id`** (`id`) **REQUIRED** — Globally unique object ID.
|
|
31
|
+
- ID type: `vista_group_item`
|
|
32
|
+
- **`parent`** (`composite`) — The sprint board this sprint belongs to
|
|
33
|
+
- Composite: `_gen:parent`
|
|
34
|
+
- **`id`** (`id`) **REQUIRED** — Parent vista ID.
|
|
35
|
+
- ID type: `vista`
|
|
36
|
+
- **`name`** (`text`) **REQUIRED** — Name of the parent vista.
|
|
37
|
+
- **`display_id`** (`text`) **REQUIRED** — Human-readable object ID.
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# `suggest_part` — Schema Reference
|
|
2
|
+
|
|
3
|
+
Suggest a part that can be attributed to a given object.
|
|
4
|
+
|
|
5
|
+
## Input Port: `input`
|
|
6
|
+
|
|
7
|
+
- **`id`** (`id`) **REQUIRED** — The ID of the ticket, conversation or incident to suggest parts for.
|
|
8
|
+
- ID type: `ticket`, `conversation`, `incident`
|
|
9
|
+
|
|
10
|
+
## Output Port: `output`
|
|
11
|
+
|
|
12
|
+
- **`id`** (`id`) **REQUIRED** — The ID of the suggested part.
|
|
13
|
+
- ID type: `capability`, `enhancement`, `feature`, `product`, `linkable`, `runnable`
|
|
14
|
+
- **`found`** (`bool`) **REQUIRED** — If suggestion is present, returns true.
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
# `task_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: `owned_by`, `stage`, `title`, `due_date`
|
|
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
|
+
- **`id`** (`id`) **REQUIRED** — Globally unique object ID.
|
|
20
|
+
- ID type: `devu`, `sysu`, `svcacc`
|
|
21
|
+
- **`type`** (`enum`) **REQUIRED**
|
|
22
|
+
- Allowed: `dev_user`, `sys_user`, `svcacc`
|
|
23
|
+
- **`created_date`** (`timestamp`) — Timestamp when the object was created.
|
|
24
|
+
- **`display_id`** (`text`) — Human-readable object ID unique to the Dev organization.
|
|
25
|
+
- **`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).
|
|
26
|
+
- **`modified_by`** (`composite`)
|
|
27
|
+
- Composite: `_gen:modified_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
|
+
- **`email`** (`text`) — Email address of the user.
|
|
31
|
+
- **`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.
|
|
32
|
+
- **`full_name`** (`text`) — Full name of the user.
|
|
33
|
+
- **`state`** (`enum`) — State of the user.
|
|
34
|
+
- Allowed: `active`, `deactivated`, `deleted`, `locked`, `shadow`, `unassigned`
|
|
35
|
+
- **`id`** (`id`) **REQUIRED** — Globally unique object ID.
|
|
36
|
+
- ID type: `devu`, `sysu`, `svcacc`
|
|
37
|
+
- **`type`** (`enum`) **REQUIRED**
|
|
38
|
+
- Allowed: `dev_user`, `sys_user`, `svcacc`
|
|
39
|
+
- **`modified_date`** (`timestamp`) — Timestamp when the object was last modified.
|
|
40
|
+
- **`owned_by`** (`[]composite`) **REQUIRED**
|
|
41
|
+
- Composite: `_gen:user-summary`
|
|
42
|
+
- **`display_id`** (`text`) — Human-readable object ID unique to the Dev organization.
|
|
43
|
+
- **`display_name`** (`text`) — The user's display name. The name is non-unique and mutable.
|
|
44
|
+
- **`email`** (`text`) — Email address of the user.
|
|
45
|
+
- **`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.
|
|
46
|
+
- **`full_name`** (`text`) — Full name of the user.
|
|
47
|
+
- **`rev_org`** (`composite`)
|
|
48
|
+
- Composite: `_gen:rev_org`
|
|
49
|
+
- **`state`** (`enum`) — State of the user.
|
|
50
|
+
- Allowed: `active`, `deactivated`, `deleted`, `locked`, `shadow`, `unassigned`
|
|
51
|
+
- **`type`** (`enum`) **REQUIRED**
|
|
52
|
+
- Allowed: `dev_user`, `rev_user`, `service_account`, `sys_user`
|
|
53
|
+
- **`id`** (`id`) **REQUIRED** — Globally unique object ID.
|
|
54
|
+
- ID type: `devu`, `sysu`, `svcacc`
|
|
55
|
+
- **`stage`** (`composite`) — Describes the current stage of a work item.
|
|
56
|
+
- Composite: `_gen:stage`
|
|
57
|
+
- **`name`** (`text`) **REQUIRED** — Current stage name of the work item.
|
|
58
|
+
- **`state_display_name`** (`text`) — Display name for current state.
|
|
59
|
+
- **`title`** (`text`) **REQUIRED** — Title of the work object.
|
|
60
|
+
- **`old_task`** (`composite`) — Old task object
|
|
61
|
+
- Composite: `_gen:implicit:task`
|
|
62
|
+
- **`created_by`** (`composite`)
|
|
63
|
+
- Composite: `_gen:created_by`
|
|
64
|
+
- **`created_date`** (`timestamp`) — Timestamp when the object was created.
|
|
65
|
+
- **`display_id`** (`text`) — Human-readable object ID unique to the Dev organization.
|
|
66
|
+
- **`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).
|
|
67
|
+
- **`modified_by`** (`composite`)
|
|
68
|
+
- Composite: `_gen:modified_by`
|
|
69
|
+
- **`modified_date`** (`timestamp`) — Timestamp when the object was last modified.
|
|
70
|
+
- **`owned_by`** (`[]composite`) **REQUIRED**
|
|
71
|
+
- Composite: `_gen:user-summary`
|
|
72
|
+
- **`stage`** (`composite`) — Describes the current stage of a work item.
|
|
73
|
+
- Composite: `_gen:stage`
|
|
74
|
+
- **`state_display_name`** (`text`) — Display name for current state.
|
|
75
|
+
- **`title`** (`text`) **REQUIRED** — Title of the work object.
|
|
76
|
+
- **`id`** (`id`) **REQUIRED** — Globally unique object ID.
|
|
77
|
+
- ID type: `task`
|
|
78
|
+
- **`id`** (`id`) **REQUIRED** — Globally unique object ID.
|
|
79
|
+
- ID type: `task`
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# `test_example` — Schema Reference
|
|
2
|
+
|
|
3
|
+
## Input Port: `input`
|
|
4
|
+
|
|
5
|
+
- **`new_field_required`** (`text`) **REQUIRED** — This is a new required field
|
|
6
|
+
- **`new_field_required`** (`text`) **REQUIRED** — This is a new required field
|
|
7
|
+
- **`new_field`** (`text`) — This is a new field
|
|
8
|
+
- **`message`** (`text`) **REQUIRED** — A new description
|
|
9
|
+
- Default: `Hello, World!`
|
|
10
|
+
- Validation: min_len=1, max_len=1000
|
|
11
|
+
|
|
12
|
+
## Output Port: `output`
|
|
13
|
+
|
|
14
|
+
- **`message`** (`text`) — The echoed message.
|
|
15
|
+
- **`nested_level_field_1`** (`text`) — This is a nested level field that should be promoted to the top level.
|
|
16
|
+
- **`nested_level_field_2`** (`text`) — This is a nested level field that should be promoted to the top level.
|