@evalops/sdk-ts 0.1.13
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 +15 -0
- package/dist/agentregistry/v1/service_pb.d.ts +458 -0
- package/dist/agentregistry/v1/service_pb.js +100 -0
- package/dist/agentruntime/v1/runtime_pb.d.ts +1809 -0
- package/dist/agentruntime/v1/runtime_pb.js +480 -0
- package/dist/agents/v1/agents_pb.d.ts +1151 -0
- package/dist/agents/v1/agents_pb.js +256 -0
- package/dist/approvals/v1/approvals_pb.d.ts +788 -0
- package/dist/approvals/v1/approvals_pb.js +212 -0
- package/dist/artifacts/v1/artifacts_pb.d.ts +1079 -0
- package/dist/artifacts/v1/artifacts_pb.js +292 -0
- package/dist/attestation/v1/attestation_pb.d.ts +359 -0
- package/dist/attestation/v1/attestation_pb.js +84 -0
- package/dist/attribution/v1/attribution_pb.d.ts +1312 -0
- package/dist/attribution/v1/attribution_pb.js +285 -0
- package/dist/audit/v1/audit_pb.d.ts +1151 -0
- package/dist/audit/v1/audit_pb.js +262 -0
- package/dist/buf/validate/validate_pb.d.ts +4827 -0
- package/dist/buf/validate/validate_pb.js +356 -0
- package/dist/catalogs/v1/catalogs_pb.d.ts +150 -0
- package/dist/catalogs/v1/catalogs_pb.js +38 -0
- package/dist/common/v1/analytics_pb.d.ts +134 -0
- package/dist/common/v1/analytics_pb.js +72 -0
- package/dist/common/v1/authz_pb.d.ts +23 -0
- package/dist/common/v1/authz_pb.js +26 -0
- package/dist/common/v1/delivery_pb.d.ts +36 -0
- package/dist/common/v1/delivery_pb.js +40 -0
- package/dist/common/v1/entity_pb.d.ts +44 -0
- package/dist/common/v1/entity_pb.js +48 -0
- package/dist/common/v1/risk_pb.d.ts +36 -0
- package/dist/common/v1/risk_pb.js +40 -0
- package/dist/compliance/v1/compliance_pb.d.ts +866 -0
- package/dist/compliance/v1/compliance_pb.js +240 -0
- package/dist/config/v1/config_pb.d.ts +589 -0
- package/dist/config/v1/config_pb.js +164 -0
- package/dist/connectors/v1/connectors_pb.d.ts +653 -0
- package/dist/connectors/v1/connectors_pb.js +236 -0
- package/dist/entities/v1/entities_pb.d.ts +784 -0
- package/dist/entities/v1/entities_pb.js +197 -0
- package/dist/evalpipeline/v1/evalpipeline_pb.d.ts +943 -0
- package/dist/evalpipeline/v1/evalpipeline_pb.js +227 -0
- package/dist/events/v1/change_pb.d.ts +60 -0
- package/dist/events/v1/change_pb.js +14 -0
- package/dist/events/v1/cloudevent_pb.d.ts +63 -0
- package/dist/events/v1/cloudevent_pb.js +14 -0
- package/dist/events/v1/evaluation_pb.d.ts +124 -0
- package/dist/events/v1/evaluation_pb.js +24 -0
- package/dist/fermata/v1/fermata_pb.d.ts +1869 -0
- package/dist/fermata/v1/fermata_pb.js +515 -0
- package/dist/fermata/v1/worker_pb.d.ts +223 -0
- package/dist/fermata/v1/worker_pb.js +55 -0
- package/dist/gate/v1/audit_pb.d.ts +243 -0
- package/dist/gate/v1/audit_pb.js +60 -0
- package/dist/gate/v1/connector_pb.d.ts +360 -0
- package/dist/gate/v1/connector_pb.js +91 -0
- package/dist/gate/v1/controlplane_pb.d.ts +345 -0
- package/dist/gate/v1/controlplane_pb.js +19 -0
- package/dist/gate/v1/identity_group_pb.d.ts +255 -0
- package/dist/gate/v1/identity_group_pb.js +90 -0
- package/dist/gate/v1/recording_pb.d.ts +93 -0
- package/dist/gate/v1/recording_pb.js +35 -0
- package/dist/gate/v1/resource_policy_pb.d.ts +541 -0
- package/dist/gate/v1/resource_policy_pb.js +145 -0
- package/dist/gate/v1/tenant_pb.d.ts +273 -0
- package/dist/gate/v1/tenant_pb.js +101 -0
- package/dist/gate/v1/webhook_access_pb.d.ts +359 -0
- package/dist/gate/v1/webhook_access_pb.js +105 -0
- package/dist/google/api/annotations_pb.d.ts +13 -0
- package/dist/google/api/annotations_pb.js +26 -0
- package/dist/google/api/http_pb.d.ts +440 -0
- package/dist/google/api/http_pb.js +33 -0
- package/dist/governance/v1/governance_pb.d.ts +1219 -0
- package/dist/governance/v1/governance_pb.js +376 -0
- package/dist/identity/v1/organizations_pb.d.ts +621 -0
- package/dist/identity/v1/organizations_pb.js +166 -0
- package/dist/identity/v1/sessions_pb.d.ts +78 -0
- package/dist/identity/v1/sessions_pb.js +19 -0
- package/dist/identity/v1/tokens_pb.d.ts +332 -0
- package/dist/identity/v1/tokens_pb.js +56 -0
- package/dist/ingest/v1/admin_pb.d.ts +471 -0
- package/dist/ingest/v1/admin_pb.js +112 -0
- package/dist/ingest/v1/event_pb.d.ts +155 -0
- package/dist/ingest/v1/event_pb.js +24 -0
- package/dist/keys/v1/keys_pb.d.ts +241 -0
- package/dist/keys/v1/keys_pb.js +52 -0
- package/dist/llmgateway/v1/gateway_pb.d.ts +393 -0
- package/dist/llmgateway/v1/gateway_pb.js +79 -0
- package/dist/memory/v1/memory_pb.d.ts +1260 -0
- package/dist/memory/v1/memory_pb.js +243 -0
- package/dist/meter/v1/meter_pb.d.ts +1691 -0
- package/dist/meter/v1/meter_pb.js +263 -0
- package/dist/notifications/v1/notifications_pb.d.ts +777 -0
- package/dist/notifications/v1/notifications_pb.js +257 -0
- package/dist/objectives/v1/objectives_pb.d.ts +1000 -0
- package/dist/objectives/v1/objectives_pb.js +340 -0
- package/dist/posture/v1/posture_pb.d.ts +357 -0
- package/dist/posture/v1/posture_pb.js +88 -0
- package/dist/prompts/v1/prompts_pb.d.ts +864 -0
- package/dist/prompts/v1/prompts_pb.js +156 -0
- package/dist/relationships/v1/relationships_pb.d.ts +367 -0
- package/dist/relationships/v1/relationships_pb.js +96 -0
- package/dist/secretbroker/v1/broker_pb.d.ts +888 -0
- package/dist/secretbroker/v1/broker_pb.js +168 -0
- package/dist/skills/v1/skills_pb.d.ts +652 -0
- package/dist/skills/v1/skills_pb.js +164 -0
- package/dist/tap/v1/admin_pb.d.ts +530 -0
- package/dist/tap/v1/admin_pb.js +132 -0
- package/dist/tap/v1/event_pb.d.ts +141 -0
- package/dist/tap/v1/event_pb.js +27 -0
- package/dist/toolexecution/v1/toolexecution_pb.d.ts +994 -0
- package/dist/toolexecution/v1/toolexecution_pb.js +315 -0
- package/dist/traces/v1/traces_pb.d.ts +633 -0
- package/dist/traces/v1/traces_pb.js +163 -0
- package/dist/workflows/v1/workflows_pb.d.ts +1784 -0
- package/dist/workflows/v1/workflows_pb.js +431 -0
- package/package.json +272 -0
|
@@ -0,0 +1,1784 @@
|
|
|
1
|
+
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
3
|
+
import type { DeliveryChannel } from "../../common/v1/delivery_pb.js";
|
|
4
|
+
import type { EntityType } from "../../common/v1/entity_pb.js";
|
|
5
|
+
import type { RiskLevel } from "../../common/v1/risk_pb.js";
|
|
6
|
+
import type { JsonObject, Message } from "@bufbuild/protobuf";
|
|
7
|
+
/**
|
|
8
|
+
* Describes the file workflows/v1/workflows.proto.
|
|
9
|
+
*/
|
|
10
|
+
export declare const file_workflows_v1_workflows: GenFile;
|
|
11
|
+
/**
|
|
12
|
+
* WorkflowDefinition is a named, versioned process template.
|
|
13
|
+
*
|
|
14
|
+
* @generated from message workflows.v1.WorkflowDefinition
|
|
15
|
+
*/
|
|
16
|
+
export type WorkflowDefinition = Message<"workflows.v1.WorkflowDefinition"> & {
|
|
17
|
+
/**
|
|
18
|
+
* @generated from field: string id = 1;
|
|
19
|
+
*/
|
|
20
|
+
id: string;
|
|
21
|
+
/**
|
|
22
|
+
* @generated from field: string workspace_id = 2;
|
|
23
|
+
*/
|
|
24
|
+
workspaceId: string;
|
|
25
|
+
/**
|
|
26
|
+
* @generated from field: string name = 3;
|
|
27
|
+
*/
|
|
28
|
+
name: string;
|
|
29
|
+
/**
|
|
30
|
+
* @generated from field: string description = 4;
|
|
31
|
+
*/
|
|
32
|
+
description: string;
|
|
33
|
+
/**
|
|
34
|
+
* @generated from field: int32 latest_version = 5;
|
|
35
|
+
*/
|
|
36
|
+
latestVersion: number;
|
|
37
|
+
/**
|
|
38
|
+
* @generated from field: repeated string tags = 6;
|
|
39
|
+
*/
|
|
40
|
+
tags: string[];
|
|
41
|
+
/**
|
|
42
|
+
* @generated from field: google.protobuf.Timestamp created_at = 7;
|
|
43
|
+
*/
|
|
44
|
+
createdAt?: Timestamp;
|
|
45
|
+
/**
|
|
46
|
+
* @generated from field: google.protobuf.Timestamp updated_at = 8;
|
|
47
|
+
*/
|
|
48
|
+
updatedAt?: Timestamp;
|
|
49
|
+
};
|
|
50
|
+
/**
|
|
51
|
+
* Describes the message workflows.v1.WorkflowDefinition.
|
|
52
|
+
* Use `create(WorkflowDefinitionSchema)` to create a new message.
|
|
53
|
+
*/
|
|
54
|
+
export declare const WorkflowDefinitionSchema: GenMessage<WorkflowDefinition>;
|
|
55
|
+
/**
|
|
56
|
+
* WorkflowVersion is an immutable snapshot of a workflow's step graph.
|
|
57
|
+
* Follows the same versioning pattern as prompts/v1 Version and
|
|
58
|
+
* skills/v1 SkillVersion.
|
|
59
|
+
*
|
|
60
|
+
* @generated from message workflows.v1.WorkflowVersion
|
|
61
|
+
*/
|
|
62
|
+
export type WorkflowVersion = Message<"workflows.v1.WorkflowVersion"> & {
|
|
63
|
+
/**
|
|
64
|
+
* @generated from field: string id = 1;
|
|
65
|
+
*/
|
|
66
|
+
id: string;
|
|
67
|
+
/**
|
|
68
|
+
* @generated from field: string definition_id = 2;
|
|
69
|
+
*/
|
|
70
|
+
definitionId: string;
|
|
71
|
+
/**
|
|
72
|
+
* @generated from field: int32 version = 3;
|
|
73
|
+
*/
|
|
74
|
+
version: number;
|
|
75
|
+
/**
|
|
76
|
+
* @generated from field: repeated workflows.v1.StepDefinition steps = 4;
|
|
77
|
+
*/
|
|
78
|
+
steps: StepDefinition[];
|
|
79
|
+
/**
|
|
80
|
+
* @generated from field: repeated workflows.v1.Edge edges = 5;
|
|
81
|
+
*/
|
|
82
|
+
edges: Edge[];
|
|
83
|
+
/**
|
|
84
|
+
* @generated from field: workflows.v1.WorkflowTrigger trigger = 6;
|
|
85
|
+
*/
|
|
86
|
+
trigger?: WorkflowTrigger;
|
|
87
|
+
/**
|
|
88
|
+
* @generated from field: workflows.v1.RetryPolicy default_retry_policy = 7;
|
|
89
|
+
*/
|
|
90
|
+
defaultRetryPolicy?: RetryPolicy;
|
|
91
|
+
/**
|
|
92
|
+
* @generated from field: int32 timeout_seconds = 8;
|
|
93
|
+
*/
|
|
94
|
+
timeoutSeconds: number;
|
|
95
|
+
/**
|
|
96
|
+
* @generated from field: string author = 9;
|
|
97
|
+
*/
|
|
98
|
+
author: string;
|
|
99
|
+
/**
|
|
100
|
+
* @generated from field: google.protobuf.Timestamp created_at = 10;
|
|
101
|
+
*/
|
|
102
|
+
createdAt?: Timestamp;
|
|
103
|
+
};
|
|
104
|
+
/**
|
|
105
|
+
* Describes the message workflows.v1.WorkflowVersion.
|
|
106
|
+
* Use `create(WorkflowVersionSchema)` to create a new message.
|
|
107
|
+
*/
|
|
108
|
+
export declare const WorkflowVersionSchema: GenMessage<WorkflowVersion>;
|
|
109
|
+
/**
|
|
110
|
+
* StepDefinition is a single node in the workflow DAG.
|
|
111
|
+
*
|
|
112
|
+
* @generated from message workflows.v1.StepDefinition
|
|
113
|
+
*/
|
|
114
|
+
export type StepDefinition = Message<"workflows.v1.StepDefinition"> & {
|
|
115
|
+
/**
|
|
116
|
+
* Unique identifier within the workflow (e.g., "prospect", "qualify",
|
|
117
|
+
* "send-outreach"). Referenced by Edge.from_step_id / Edge.to_step_id
|
|
118
|
+
* and by StepRun.step_id.
|
|
119
|
+
*
|
|
120
|
+
* @generated from field: string id = 1;
|
|
121
|
+
*/
|
|
122
|
+
id: string;
|
|
123
|
+
/**
|
|
124
|
+
* @generated from field: string name = 2;
|
|
125
|
+
*/
|
|
126
|
+
name: string;
|
|
127
|
+
/**
|
|
128
|
+
* @generated from field: workflows.v1.StepType step_type = 3;
|
|
129
|
+
*/
|
|
130
|
+
stepType: StepType;
|
|
131
|
+
/**
|
|
132
|
+
* For AGENT_ACTION: the agents/v1 Agent.id to assign, or empty for
|
|
133
|
+
* capability-based routing.
|
|
134
|
+
*
|
|
135
|
+
* @generated from field: string agent_id = 4;
|
|
136
|
+
*/
|
|
137
|
+
agentId: string;
|
|
138
|
+
/**
|
|
139
|
+
* For AGENT_ACTION: the agents/v1 capability required. Used when
|
|
140
|
+
* agent_id is empty to resolve the best available agent through the
|
|
141
|
+
* registry.
|
|
142
|
+
*
|
|
143
|
+
* @generated from field: string required_capability = 5;
|
|
144
|
+
*/
|
|
145
|
+
requiredCapability: string;
|
|
146
|
+
/**
|
|
147
|
+
* For AGENT_ACTION: the action type passed to governance/v1
|
|
148
|
+
* EvaluateActionRequest.action_type and approvals/v1
|
|
149
|
+
* RequestApprovalRequest.action_type.
|
|
150
|
+
*
|
|
151
|
+
* @generated from field: string action_type = 6;
|
|
152
|
+
*/
|
|
153
|
+
actionType: string;
|
|
154
|
+
/**
|
|
155
|
+
* For APPROVAL_GATE: the approvals/v1 RiskLevel for this gate.
|
|
156
|
+
* Stored as string to avoid cross-package import (e.g., "RISK_LEVEL_HIGH").
|
|
157
|
+
*
|
|
158
|
+
* @generated from field: string risk_level = 7;
|
|
159
|
+
*/
|
|
160
|
+
riskLevel: string;
|
|
161
|
+
/**
|
|
162
|
+
* @generated from field: common.v1.RiskLevel risk_level_enum = 19;
|
|
163
|
+
*/
|
|
164
|
+
riskLevelEnum: RiskLevel;
|
|
165
|
+
/**
|
|
166
|
+
* For WAIT_FOR_EVENT: the events/v1 CloudEvent.type pattern to match.
|
|
167
|
+
*
|
|
168
|
+
* @generated from field: string event_type_pattern = 8;
|
|
169
|
+
*/
|
|
170
|
+
eventTypePattern: string;
|
|
171
|
+
/**
|
|
172
|
+
* For WAIT_FOR_EVENT: the events/v1 CloudEvent.subject pattern to match.
|
|
173
|
+
*
|
|
174
|
+
* @generated from field: string event_subject_pattern = 9;
|
|
175
|
+
*/
|
|
176
|
+
eventSubjectPattern: string;
|
|
177
|
+
/**
|
|
178
|
+
* For NOTIFICATION: the notifications/v1 DeliveryChannel to use.
|
|
179
|
+
* Stored as string (e.g., "DELIVERY_CHANNEL_SLACK").
|
|
180
|
+
*
|
|
181
|
+
* @generated from field: string notification_channel = 10;
|
|
182
|
+
*/
|
|
183
|
+
notificationChannel: string;
|
|
184
|
+
/**
|
|
185
|
+
* @generated from field: common.v1.DeliveryChannel notification_channel_enum = 20;
|
|
186
|
+
*/
|
|
187
|
+
notificationChannelEnum: DeliveryChannel;
|
|
188
|
+
/**
|
|
189
|
+
* For NOTIFICATION: the notification template.
|
|
190
|
+
*
|
|
191
|
+
* @generated from field: string notification_template = 11;
|
|
192
|
+
*/
|
|
193
|
+
notificationTemplate: string;
|
|
194
|
+
/**
|
|
195
|
+
* For BRANCH: the expression evaluated to select outgoing edges.
|
|
196
|
+
* References step output fields from prior steps.
|
|
197
|
+
*
|
|
198
|
+
* @generated from field: string condition_expr = 12;
|
|
199
|
+
*/
|
|
200
|
+
conditionExpr: string;
|
|
201
|
+
/**
|
|
202
|
+
* The step to execute if this step fails and the workflow enters
|
|
203
|
+
* COMPENSATING state. References another StepDefinition.id in the
|
|
204
|
+
* same workflow.
|
|
205
|
+
*
|
|
206
|
+
* @generated from field: string compensation_step_id = 13;
|
|
207
|
+
*/
|
|
208
|
+
compensationStepId: string;
|
|
209
|
+
/**
|
|
210
|
+
* Step-specific parameters. For AGENT_ACTION, passed as the objective
|
|
211
|
+
* description or context. For WAIT_FOR_EVENT, may contain
|
|
212
|
+
* timeout_seconds. For HUMAN_TASK, contains instructions.
|
|
213
|
+
*
|
|
214
|
+
* @generated from field: google.protobuf.Struct config = 14;
|
|
215
|
+
*/
|
|
216
|
+
config?: JsonObject;
|
|
217
|
+
/**
|
|
218
|
+
* Per-step retry policy. Falls back to WorkflowVersion.default_retry_policy.
|
|
219
|
+
*
|
|
220
|
+
* @generated from field: workflows.v1.RetryPolicy retry_policy = 15;
|
|
221
|
+
*/
|
|
222
|
+
retryPolicy?: RetryPolicy;
|
|
223
|
+
/**
|
|
224
|
+
* Per-step timeout. Falls back to WorkflowVersion.timeout_seconds.
|
|
225
|
+
*
|
|
226
|
+
* @generated from field: int32 timeout_seconds = 16;
|
|
227
|
+
*/
|
|
228
|
+
timeoutSeconds: number;
|
|
229
|
+
/**
|
|
230
|
+
* prompt_name references prompts/v1 Prompt.name for agent action steps.
|
|
231
|
+
* Resolved through prompts/v1 Resolve at execution time using the
|
|
232
|
+
* label from the agent's agents/v1 AgentConfig.prompt_bindings.
|
|
233
|
+
*
|
|
234
|
+
* @generated from field: string prompt_name = 17;
|
|
235
|
+
*/
|
|
236
|
+
promptName: string;
|
|
237
|
+
/**
|
|
238
|
+
* skill_id references skills/v1 Skill.id required for this step.
|
|
239
|
+
*
|
|
240
|
+
* @generated from field: string skill_id = 18;
|
|
241
|
+
*/
|
|
242
|
+
skillId: string;
|
|
243
|
+
};
|
|
244
|
+
/**
|
|
245
|
+
* Describes the message workflows.v1.StepDefinition.
|
|
246
|
+
* Use `create(StepDefinitionSchema)` to create a new message.
|
|
247
|
+
*/
|
|
248
|
+
export declare const StepDefinitionSchema: GenMessage<StepDefinition>;
|
|
249
|
+
/**
|
|
250
|
+
* Edge defines a directed connection between two steps in the DAG.
|
|
251
|
+
*
|
|
252
|
+
* @generated from message workflows.v1.Edge
|
|
253
|
+
*/
|
|
254
|
+
export type Edge = Message<"workflows.v1.Edge"> & {
|
|
255
|
+
/**
|
|
256
|
+
* @generated from field: string from_step_id = 1;
|
|
257
|
+
*/
|
|
258
|
+
fromStepId: string;
|
|
259
|
+
/**
|
|
260
|
+
* @generated from field: string to_step_id = 2;
|
|
261
|
+
*/
|
|
262
|
+
toStepId: string;
|
|
263
|
+
/**
|
|
264
|
+
* Optional condition for BRANCH steps. When the from_step is a BRANCH,
|
|
265
|
+
* each outgoing edge has a condition_expr evaluated against the step's
|
|
266
|
+
* output. The first matching edge is followed.
|
|
267
|
+
*
|
|
268
|
+
* @generated from field: string condition_expr = 3;
|
|
269
|
+
*/
|
|
270
|
+
conditionExpr: string;
|
|
271
|
+
/**
|
|
272
|
+
* label for the edge, useful for debugging and visualization
|
|
273
|
+
* (e.g., "approved", "denied", "high-value", "default").
|
|
274
|
+
*
|
|
275
|
+
* @generated from field: string label = 4;
|
|
276
|
+
*/
|
|
277
|
+
label: string;
|
|
278
|
+
};
|
|
279
|
+
/**
|
|
280
|
+
* Describes the message workflows.v1.Edge.
|
|
281
|
+
* Use `create(EdgeSchema)` to create a new message.
|
|
282
|
+
*/
|
|
283
|
+
export declare const EdgeSchema: GenMessage<Edge>;
|
|
284
|
+
/**
|
|
285
|
+
* WorkflowTrigger defines what automatically starts a workflow run.
|
|
286
|
+
*
|
|
287
|
+
* @generated from message workflows.v1.WorkflowTrigger
|
|
288
|
+
*/
|
|
289
|
+
export type WorkflowTrigger = Message<"workflows.v1.WorkflowTrigger"> & {
|
|
290
|
+
/**
|
|
291
|
+
* @generated from field: workflows.v1.TriggerType trigger_type = 1;
|
|
292
|
+
*/
|
|
293
|
+
triggerType: TriggerType;
|
|
294
|
+
/**
|
|
295
|
+
* For EVENT: the events/v1 CloudEvent.type to match.
|
|
296
|
+
*
|
|
297
|
+
* @generated from field: string event_type = 2;
|
|
298
|
+
*/
|
|
299
|
+
eventType: string;
|
|
300
|
+
/**
|
|
301
|
+
* For EVENT: the events/v1 CloudEvent.subject to match.
|
|
302
|
+
*
|
|
303
|
+
* @generated from field: string event_subject = 3;
|
|
304
|
+
*/
|
|
305
|
+
eventSubject: string;
|
|
306
|
+
/**
|
|
307
|
+
* For WEBHOOK: the ingest/v1 IngestEventData.provider to match.
|
|
308
|
+
*
|
|
309
|
+
* @generated from field: string tap_provider = 4;
|
|
310
|
+
*/
|
|
311
|
+
tapProvider: string;
|
|
312
|
+
/**
|
|
313
|
+
* For WEBHOOK: the ingest/v1 IngestEventData.entity_type to match.
|
|
314
|
+
*
|
|
315
|
+
* @generated from field: string tap_entity_type = 5;
|
|
316
|
+
*/
|
|
317
|
+
tapEntityType: string;
|
|
318
|
+
/**
|
|
319
|
+
* For WEBHOOK: the ingest/v1 IngestEventData.action to match.
|
|
320
|
+
*
|
|
321
|
+
* @generated from field: string tap_action = 6;
|
|
322
|
+
*/
|
|
323
|
+
tapAction: string;
|
|
324
|
+
/**
|
|
325
|
+
* For SCHEDULE: the cron expression.
|
|
326
|
+
*
|
|
327
|
+
* @generated from field: string cron_expr = 7;
|
|
328
|
+
*/
|
|
329
|
+
cronExpr: string;
|
|
330
|
+
/**
|
|
331
|
+
* For WORKFLOW: the parent workflows/v1 WorkflowDefinition.id.
|
|
332
|
+
*
|
|
333
|
+
* @generated from field: string parent_workflow_id = 8;
|
|
334
|
+
*/
|
|
335
|
+
parentWorkflowId: string;
|
|
336
|
+
/**
|
|
337
|
+
* Filter expression applied to the trigger payload. Only events matching
|
|
338
|
+
* this expression start a run.
|
|
339
|
+
*
|
|
340
|
+
* @generated from field: string filter_expr = 9;
|
|
341
|
+
*/
|
|
342
|
+
filterExpr: string;
|
|
343
|
+
/**
|
|
344
|
+
* For SCHEDULE: IANA timezone used to evaluate cron_expr.
|
|
345
|
+
*
|
|
346
|
+
* @generated from field: string timezone = 10;
|
|
347
|
+
*/
|
|
348
|
+
timezone: string;
|
|
349
|
+
};
|
|
350
|
+
/**
|
|
351
|
+
* Describes the message workflows.v1.WorkflowTrigger.
|
|
352
|
+
* Use `create(WorkflowTriggerSchema)` to create a new message.
|
|
353
|
+
*/
|
|
354
|
+
export declare const WorkflowTriggerSchema: GenMessage<WorkflowTrigger>;
|
|
355
|
+
/**
|
|
356
|
+
* RetryPolicy controls retry behavior for steps. Mirrors the pattern in
|
|
357
|
+
* objectives/v1 WakeSchedule (retry_count, max_retries, backoff_seconds).
|
|
358
|
+
*
|
|
359
|
+
* @generated from message workflows.v1.RetryPolicy
|
|
360
|
+
*/
|
|
361
|
+
export type RetryPolicy = Message<"workflows.v1.RetryPolicy"> & {
|
|
362
|
+
/**
|
|
363
|
+
* @generated from field: int32 max_retries = 1;
|
|
364
|
+
*/
|
|
365
|
+
maxRetries: number;
|
|
366
|
+
/**
|
|
367
|
+
* @generated from field: int32 backoff_seconds = 2;
|
|
368
|
+
*/
|
|
369
|
+
backoffSeconds: number;
|
|
370
|
+
/**
|
|
371
|
+
* @generated from field: float backoff_multiplier = 3;
|
|
372
|
+
*/
|
|
373
|
+
backoffMultiplier: number;
|
|
374
|
+
};
|
|
375
|
+
/**
|
|
376
|
+
* Describes the message workflows.v1.RetryPolicy.
|
|
377
|
+
* Use `create(RetryPolicySchema)` to create a new message.
|
|
378
|
+
*/
|
|
379
|
+
export declare const RetryPolicySchema: GenMessage<RetryPolicy>;
|
|
380
|
+
/**
|
|
381
|
+
* WorkflowRun is a live execution of a workflow definition version.
|
|
382
|
+
*
|
|
383
|
+
* @generated from message workflows.v1.WorkflowRun
|
|
384
|
+
*/
|
|
385
|
+
export type WorkflowRun = Message<"workflows.v1.WorkflowRun"> & {
|
|
386
|
+
/**
|
|
387
|
+
* @generated from field: string id = 1;
|
|
388
|
+
*/
|
|
389
|
+
id: string;
|
|
390
|
+
/**
|
|
391
|
+
* @generated from field: string definition_id = 2;
|
|
392
|
+
*/
|
|
393
|
+
definitionId: string;
|
|
394
|
+
/**
|
|
395
|
+
* @generated from field: int32 definition_version = 3;
|
|
396
|
+
*/
|
|
397
|
+
definitionVersion: number;
|
|
398
|
+
/**
|
|
399
|
+
* @generated from field: string workspace_id = 4;
|
|
400
|
+
*/
|
|
401
|
+
workspaceId: string;
|
|
402
|
+
/**
|
|
403
|
+
* @generated from field: workflows.v1.WorkflowState state = 5;
|
|
404
|
+
*/
|
|
405
|
+
state: WorkflowState;
|
|
406
|
+
/**
|
|
407
|
+
* @generated from field: repeated workflows.v1.StepRun steps = 6;
|
|
408
|
+
*/
|
|
409
|
+
steps: StepRun[];
|
|
410
|
+
/**
|
|
411
|
+
* trigger_event_id references the events/v1 CloudEvent.id that started
|
|
412
|
+
* this run, if trigger_type is EVENT or WEBHOOK.
|
|
413
|
+
*
|
|
414
|
+
* @generated from field: string trigger_event_id = 7;
|
|
415
|
+
*/
|
|
416
|
+
triggerEventId: string;
|
|
417
|
+
/**
|
|
418
|
+
* @generated from field: workflows.v1.TriggerType trigger_type = 8;
|
|
419
|
+
*/
|
|
420
|
+
triggerType: TriggerType;
|
|
421
|
+
/**
|
|
422
|
+
* initiator_agent_id references agents/v1 Agent.id if an agent started
|
|
423
|
+
* this run. For MANUAL triggers, this may be empty (human-initiated).
|
|
424
|
+
*
|
|
425
|
+
* @generated from field: string initiator_agent_id = 9;
|
|
426
|
+
*/
|
|
427
|
+
initiatorAgentId: string;
|
|
428
|
+
/**
|
|
429
|
+
* initiator_user_id references identity/v1 Member.user_id if a human
|
|
430
|
+
* started this run.
|
|
431
|
+
*
|
|
432
|
+
* @generated from field: string initiator_user_id = 10;
|
|
433
|
+
*/
|
|
434
|
+
initiatorUserId: string;
|
|
435
|
+
/**
|
|
436
|
+
* parent_run_id references another WorkflowRun.id when this run is a
|
|
437
|
+
* sub-workflow started by a WORKFLOW trigger.
|
|
438
|
+
*
|
|
439
|
+
* @generated from field: string parent_run_id = 11;
|
|
440
|
+
*/
|
|
441
|
+
parentRunId: string;
|
|
442
|
+
/**
|
|
443
|
+
* entity_id references entities/v1 CanonicalEntity.id — the primary
|
|
444
|
+
* entity this workflow operates on (e.g., a contact being prospected,
|
|
445
|
+
* a deal being closed).
|
|
446
|
+
*
|
|
447
|
+
* @generated from field: string entity_id = 12;
|
|
448
|
+
*/
|
|
449
|
+
entityId: string;
|
|
450
|
+
/**
|
|
451
|
+
* entity_type aligns with entities/v1 EntityType. Stored as string
|
|
452
|
+
* to avoid cross-package import (e.g., "ENTITY_TYPE_DEAL").
|
|
453
|
+
*
|
|
454
|
+
* @generated from field: string entity_type = 13;
|
|
455
|
+
*/
|
|
456
|
+
entityType: string;
|
|
457
|
+
/**
|
|
458
|
+
* @generated from field: common.v1.EntityType entity_type_enum = 19;
|
|
459
|
+
*/
|
|
460
|
+
entityTypeEnum: EntityType;
|
|
461
|
+
/**
|
|
462
|
+
* input_payload is the trigger data passed to the first step.
|
|
463
|
+
*
|
|
464
|
+
* @generated from field: google.protobuf.Struct input_payload = 14;
|
|
465
|
+
*/
|
|
466
|
+
inputPayload?: JsonObject;
|
|
467
|
+
/**
|
|
468
|
+
* output_payload is the final result produced by the terminal step.
|
|
469
|
+
*
|
|
470
|
+
* @generated from field: google.protobuf.Struct output_payload = 15;
|
|
471
|
+
*/
|
|
472
|
+
outputPayload?: JsonObject;
|
|
473
|
+
/**
|
|
474
|
+
* total_cost_usd is the sum of meter/v1 usage records attributed to
|
|
475
|
+
* this workflow run's steps.
|
|
476
|
+
*
|
|
477
|
+
* @generated from field: double total_cost_usd = 16;
|
|
478
|
+
*/
|
|
479
|
+
totalCostUsd: number;
|
|
480
|
+
/**
|
|
481
|
+
* @generated from field: google.protobuf.Timestamp started_at = 17;
|
|
482
|
+
*/
|
|
483
|
+
startedAt?: Timestamp;
|
|
484
|
+
/**
|
|
485
|
+
* @generated from field: google.protobuf.Timestamp completed_at = 18;
|
|
486
|
+
*/
|
|
487
|
+
completedAt?: Timestamp;
|
|
488
|
+
};
|
|
489
|
+
/**
|
|
490
|
+
* Describes the message workflows.v1.WorkflowRun.
|
|
491
|
+
* Use `create(WorkflowRunSchema)` to create a new message.
|
|
492
|
+
*/
|
|
493
|
+
export declare const WorkflowRunSchema: GenMessage<WorkflowRun>;
|
|
494
|
+
/**
|
|
495
|
+
* StepRun is the execution record for a single step within a workflow run.
|
|
496
|
+
*
|
|
497
|
+
* @generated from message workflows.v1.StepRun
|
|
498
|
+
*/
|
|
499
|
+
export type StepRun = Message<"workflows.v1.StepRun"> & {
|
|
500
|
+
/**
|
|
501
|
+
* step_id references StepDefinition.id from the workflow version.
|
|
502
|
+
*
|
|
503
|
+
* @generated from field: string step_id = 1;
|
|
504
|
+
*/
|
|
505
|
+
stepId: string;
|
|
506
|
+
/**
|
|
507
|
+
* @generated from field: string step_name = 2;
|
|
508
|
+
*/
|
|
509
|
+
stepName: string;
|
|
510
|
+
/**
|
|
511
|
+
* @generated from field: workflows.v1.StepType step_type = 3;
|
|
512
|
+
*/
|
|
513
|
+
stepType: StepType;
|
|
514
|
+
/**
|
|
515
|
+
* @generated from field: workflows.v1.StepRunState state = 4;
|
|
516
|
+
*/
|
|
517
|
+
state: StepRunState;
|
|
518
|
+
/**
|
|
519
|
+
* objective_id links to objectives/v1 Objective.id — the objective
|
|
520
|
+
* created when this AGENT_ACTION step begins execution.
|
|
521
|
+
*
|
|
522
|
+
* @generated from field: string objective_id = 5;
|
|
523
|
+
*/
|
|
524
|
+
objectiveId: string;
|
|
525
|
+
/**
|
|
526
|
+
* agent_id links to agents/v1 Agent.id — the agent assigned to this step.
|
|
527
|
+
*
|
|
528
|
+
* @generated from field: string agent_id = 6;
|
|
529
|
+
*/
|
|
530
|
+
agentId: string;
|
|
531
|
+
/**
|
|
532
|
+
* delegation_id links to agents/v1 DelegationRecord.id when the step
|
|
533
|
+
* was fulfilled through capability-based delegation.
|
|
534
|
+
*
|
|
535
|
+
* @generated from field: string delegation_id = 7;
|
|
536
|
+
*/
|
|
537
|
+
delegationId: string;
|
|
538
|
+
/**
|
|
539
|
+
* approval_request_id links to approvals/v1 ApprovalRequest.id for
|
|
540
|
+
* APPROVAL_GATE steps or when governance/v1 returns REQUIRE_APPROVAL.
|
|
541
|
+
*
|
|
542
|
+
* @generated from field: string approval_request_id = 8;
|
|
543
|
+
*/
|
|
544
|
+
approvalRequestId: string;
|
|
545
|
+
/**
|
|
546
|
+
* governance_decision stores the governance/v1 ActionDecision result.
|
|
547
|
+
* Stored as string (e.g., "ACTION_DECISION_ALLOW").
|
|
548
|
+
*
|
|
549
|
+
* @generated from field: string governance_decision = 9;
|
|
550
|
+
*/
|
|
551
|
+
governanceDecision: string;
|
|
552
|
+
/**
|
|
553
|
+
* event_id references the events/v1 CloudEvent.id that satisfied a
|
|
554
|
+
* WAIT_FOR_EVENT step.
|
|
555
|
+
*
|
|
556
|
+
* @generated from field: string event_id = 10;
|
|
557
|
+
*/
|
|
558
|
+
eventId: string;
|
|
559
|
+
/**
|
|
560
|
+
* notification_id references notifications/v1 Notification.id for
|
|
561
|
+
* NOTIFICATION steps.
|
|
562
|
+
*
|
|
563
|
+
* @generated from field: string notification_id = 11;
|
|
564
|
+
*/
|
|
565
|
+
notificationId: string;
|
|
566
|
+
/**
|
|
567
|
+
* input_payload is the data this step received from upstream steps.
|
|
568
|
+
*
|
|
569
|
+
* @generated from field: google.protobuf.Struct input_payload = 12;
|
|
570
|
+
*/
|
|
571
|
+
inputPayload?: JsonObject;
|
|
572
|
+
/**
|
|
573
|
+
* output_payload is the data this step produced for downstream steps.
|
|
574
|
+
*
|
|
575
|
+
* @generated from field: google.protobuf.Struct output_payload = 13;
|
|
576
|
+
*/
|
|
577
|
+
outputPayload?: JsonObject;
|
|
578
|
+
/**
|
|
579
|
+
* @generated from field: string error_message = 14;
|
|
580
|
+
*/
|
|
581
|
+
errorMessage: string;
|
|
582
|
+
/**
|
|
583
|
+
* @generated from field: int32 retry_count = 15;
|
|
584
|
+
*/
|
|
585
|
+
retryCount: number;
|
|
586
|
+
/**
|
|
587
|
+
* cost_usd is the meter/v1 cost attributed to this step's execution.
|
|
588
|
+
*
|
|
589
|
+
* @generated from field: double cost_usd = 16;
|
|
590
|
+
*/
|
|
591
|
+
costUsd: number;
|
|
592
|
+
/**
|
|
593
|
+
* @generated from field: google.protobuf.Timestamp started_at = 17;
|
|
594
|
+
*/
|
|
595
|
+
startedAt?: Timestamp;
|
|
596
|
+
/**
|
|
597
|
+
* @generated from field: google.protobuf.Timestamp completed_at = 18;
|
|
598
|
+
*/
|
|
599
|
+
completedAt?: Timestamp;
|
|
600
|
+
};
|
|
601
|
+
/**
|
|
602
|
+
* Describes the message workflows.v1.StepRun.
|
|
603
|
+
* Use `create(StepRunSchema)` to create a new message.
|
|
604
|
+
*/
|
|
605
|
+
export declare const StepRunSchema: GenMessage<StepRun>;
|
|
606
|
+
/**
|
|
607
|
+
* WorkflowRunLifecycleEvent is the typed payload for workflow run lifecycle
|
|
608
|
+
* events published on the internal event bus (for example
|
|
609
|
+
* `workflows.changes.run.started` and `workflows.changes.run.completed`).
|
|
610
|
+
*
|
|
611
|
+
* @generated from message workflows.v1.WorkflowRunLifecycleEvent
|
|
612
|
+
*/
|
|
613
|
+
export type WorkflowRunLifecycleEvent = Message<"workflows.v1.WorkflowRunLifecycleEvent"> & {
|
|
614
|
+
/**
|
|
615
|
+
* @generated from field: workflows.v1.WorkflowRun run = 1;
|
|
616
|
+
*/
|
|
617
|
+
run?: WorkflowRun;
|
|
618
|
+
/**
|
|
619
|
+
* @generated from field: string operation = 2;
|
|
620
|
+
*/
|
|
621
|
+
operation: string;
|
|
622
|
+
/**
|
|
623
|
+
* @generated from field: google.protobuf.Timestamp recorded_at = 3;
|
|
624
|
+
*/
|
|
625
|
+
recordedAt?: Timestamp;
|
|
626
|
+
};
|
|
627
|
+
/**
|
|
628
|
+
* Describes the message workflows.v1.WorkflowRunLifecycleEvent.
|
|
629
|
+
* Use `create(WorkflowRunLifecycleEventSchema)` to create a new message.
|
|
630
|
+
*/
|
|
631
|
+
export declare const WorkflowRunLifecycleEventSchema: GenMessage<WorkflowRunLifecycleEvent>;
|
|
632
|
+
/**
|
|
633
|
+
* WorkflowStepLifecycleEvent is the typed payload for workflow step lifecycle
|
|
634
|
+
* events published on the internal event bus (for example
|
|
635
|
+
* `workflows.changes.step.started`, `workflows.changes.step.waiting`, and
|
|
636
|
+
* `workflows.changes.step.completed`). It carries the specific StepRun plus the
|
|
637
|
+
* run context consumers need without requiring the full WorkflowRun snapshot.
|
|
638
|
+
*
|
|
639
|
+
* @generated from message workflows.v1.WorkflowStepLifecycleEvent
|
|
640
|
+
*/
|
|
641
|
+
export type WorkflowStepLifecycleEvent = Message<"workflows.v1.WorkflowStepLifecycleEvent"> & {
|
|
642
|
+
/**
|
|
643
|
+
* @generated from field: string run_id = 1;
|
|
644
|
+
*/
|
|
645
|
+
runId: string;
|
|
646
|
+
/**
|
|
647
|
+
* @generated from field: string definition_id = 2;
|
|
648
|
+
*/
|
|
649
|
+
definitionId: string;
|
|
650
|
+
/**
|
|
651
|
+
* @generated from field: int32 definition_version = 3;
|
|
652
|
+
*/
|
|
653
|
+
definitionVersion: number;
|
|
654
|
+
/**
|
|
655
|
+
* @generated from field: string workspace_id = 4;
|
|
656
|
+
*/
|
|
657
|
+
workspaceId: string;
|
|
658
|
+
/**
|
|
659
|
+
* @generated from field: workflows.v1.WorkflowState workflow_state = 5;
|
|
660
|
+
*/
|
|
661
|
+
workflowState: WorkflowState;
|
|
662
|
+
/**
|
|
663
|
+
* @generated from field: workflows.v1.TriggerType trigger_type = 6;
|
|
664
|
+
*/
|
|
665
|
+
triggerType: TriggerType;
|
|
666
|
+
/**
|
|
667
|
+
* @generated from field: string trigger_event_id = 7;
|
|
668
|
+
*/
|
|
669
|
+
triggerEventId: string;
|
|
670
|
+
/**
|
|
671
|
+
* @generated from field: string initiator_agent_id = 8;
|
|
672
|
+
*/
|
|
673
|
+
initiatorAgentId: string;
|
|
674
|
+
/**
|
|
675
|
+
* @generated from field: string initiator_user_id = 9;
|
|
676
|
+
*/
|
|
677
|
+
initiatorUserId: string;
|
|
678
|
+
/**
|
|
679
|
+
* @generated from field: string parent_run_id = 10;
|
|
680
|
+
*/
|
|
681
|
+
parentRunId: string;
|
|
682
|
+
/**
|
|
683
|
+
* @generated from field: string entity_id = 11;
|
|
684
|
+
*/
|
|
685
|
+
entityId: string;
|
|
686
|
+
/**
|
|
687
|
+
* @generated from field: string entity_type = 12;
|
|
688
|
+
*/
|
|
689
|
+
entityType: string;
|
|
690
|
+
/**
|
|
691
|
+
* @generated from field: common.v1.EntityType entity_type_enum = 17;
|
|
692
|
+
*/
|
|
693
|
+
entityTypeEnum: EntityType;
|
|
694
|
+
/**
|
|
695
|
+
* @generated from field: double workflow_total_cost_usd = 13;
|
|
696
|
+
*/
|
|
697
|
+
workflowTotalCostUsd: number;
|
|
698
|
+
/**
|
|
699
|
+
* @generated from field: workflows.v1.StepRun step = 14;
|
|
700
|
+
*/
|
|
701
|
+
step?: StepRun;
|
|
702
|
+
/**
|
|
703
|
+
* @generated from field: string operation = 15;
|
|
704
|
+
*/
|
|
705
|
+
operation: string;
|
|
706
|
+
/**
|
|
707
|
+
* @generated from field: google.protobuf.Timestamp recorded_at = 16;
|
|
708
|
+
*/
|
|
709
|
+
recordedAt?: Timestamp;
|
|
710
|
+
};
|
|
711
|
+
/**
|
|
712
|
+
* Describes the message workflows.v1.WorkflowStepLifecycleEvent.
|
|
713
|
+
* Use `create(WorkflowStepLifecycleEventSchema)` to create a new message.
|
|
714
|
+
*/
|
|
715
|
+
export declare const WorkflowStepLifecycleEventSchema: GenMessage<WorkflowStepLifecycleEvent>;
|
|
716
|
+
/**
|
|
717
|
+
* @generated from message workflows.v1.CreateDefinitionRequest
|
|
718
|
+
*/
|
|
719
|
+
export type CreateDefinitionRequest = Message<"workflows.v1.CreateDefinitionRequest"> & {
|
|
720
|
+
/**
|
|
721
|
+
* @generated from field: string workspace_id = 1;
|
|
722
|
+
*/
|
|
723
|
+
workspaceId: string;
|
|
724
|
+
/**
|
|
725
|
+
* @generated from field: string name = 2;
|
|
726
|
+
*/
|
|
727
|
+
name: string;
|
|
728
|
+
/**
|
|
729
|
+
* @generated from field: string description = 3;
|
|
730
|
+
*/
|
|
731
|
+
description: string;
|
|
732
|
+
/**
|
|
733
|
+
* @generated from field: repeated string tags = 4;
|
|
734
|
+
*/
|
|
735
|
+
tags: string[];
|
|
736
|
+
};
|
|
737
|
+
/**
|
|
738
|
+
* Describes the message workflows.v1.CreateDefinitionRequest.
|
|
739
|
+
* Use `create(CreateDefinitionRequestSchema)` to create a new message.
|
|
740
|
+
*/
|
|
741
|
+
export declare const CreateDefinitionRequestSchema: GenMessage<CreateDefinitionRequest>;
|
|
742
|
+
/**
|
|
743
|
+
* @generated from message workflows.v1.CreateDefinitionResponse
|
|
744
|
+
*/
|
|
745
|
+
export type CreateDefinitionResponse = Message<"workflows.v1.CreateDefinitionResponse"> & {
|
|
746
|
+
/**
|
|
747
|
+
* @generated from field: workflows.v1.WorkflowDefinition definition = 1;
|
|
748
|
+
*/
|
|
749
|
+
definition?: WorkflowDefinition;
|
|
750
|
+
};
|
|
751
|
+
/**
|
|
752
|
+
* Describes the message workflows.v1.CreateDefinitionResponse.
|
|
753
|
+
* Use `create(CreateDefinitionResponseSchema)` to create a new message.
|
|
754
|
+
*/
|
|
755
|
+
export declare const CreateDefinitionResponseSchema: GenMessage<CreateDefinitionResponse>;
|
|
756
|
+
/**
|
|
757
|
+
* @generated from message workflows.v1.GetDefinitionRequest
|
|
758
|
+
*/
|
|
759
|
+
export type GetDefinitionRequest = Message<"workflows.v1.GetDefinitionRequest"> & {
|
|
760
|
+
/**
|
|
761
|
+
* @generated from field: string id = 1;
|
|
762
|
+
*/
|
|
763
|
+
id: string;
|
|
764
|
+
};
|
|
765
|
+
/**
|
|
766
|
+
* Describes the message workflows.v1.GetDefinitionRequest.
|
|
767
|
+
* Use `create(GetDefinitionRequestSchema)` to create a new message.
|
|
768
|
+
*/
|
|
769
|
+
export declare const GetDefinitionRequestSchema: GenMessage<GetDefinitionRequest>;
|
|
770
|
+
/**
|
|
771
|
+
* @generated from message workflows.v1.GetDefinitionResponse
|
|
772
|
+
*/
|
|
773
|
+
export type GetDefinitionResponse = Message<"workflows.v1.GetDefinitionResponse"> & {
|
|
774
|
+
/**
|
|
775
|
+
* @generated from field: workflows.v1.WorkflowDefinition definition = 1;
|
|
776
|
+
*/
|
|
777
|
+
definition?: WorkflowDefinition;
|
|
778
|
+
};
|
|
779
|
+
/**
|
|
780
|
+
* Describes the message workflows.v1.GetDefinitionResponse.
|
|
781
|
+
* Use `create(GetDefinitionResponseSchema)` to create a new message.
|
|
782
|
+
*/
|
|
783
|
+
export declare const GetDefinitionResponseSchema: GenMessage<GetDefinitionResponse>;
|
|
784
|
+
/**
|
|
785
|
+
* @generated from message workflows.v1.ListDefinitionsRequest
|
|
786
|
+
*/
|
|
787
|
+
export type ListDefinitionsRequest = Message<"workflows.v1.ListDefinitionsRequest"> & {
|
|
788
|
+
/**
|
|
789
|
+
* @generated from field: string workspace_id = 1;
|
|
790
|
+
*/
|
|
791
|
+
workspaceId: string;
|
|
792
|
+
/**
|
|
793
|
+
* @generated from field: string tag = 2;
|
|
794
|
+
*/
|
|
795
|
+
tag: string;
|
|
796
|
+
/**
|
|
797
|
+
* @generated from field: int32 limit = 3;
|
|
798
|
+
*/
|
|
799
|
+
limit: number;
|
|
800
|
+
/**
|
|
801
|
+
* @generated from field: int32 offset = 4;
|
|
802
|
+
*/
|
|
803
|
+
offset: number;
|
|
804
|
+
};
|
|
805
|
+
/**
|
|
806
|
+
* Describes the message workflows.v1.ListDefinitionsRequest.
|
|
807
|
+
* Use `create(ListDefinitionsRequestSchema)` to create a new message.
|
|
808
|
+
*/
|
|
809
|
+
export declare const ListDefinitionsRequestSchema: GenMessage<ListDefinitionsRequest>;
|
|
810
|
+
/**
|
|
811
|
+
* @generated from message workflows.v1.ListDefinitionsResponse
|
|
812
|
+
*/
|
|
813
|
+
export type ListDefinitionsResponse = Message<"workflows.v1.ListDefinitionsResponse"> & {
|
|
814
|
+
/**
|
|
815
|
+
* @generated from field: repeated workflows.v1.WorkflowDefinition definitions = 1;
|
|
816
|
+
*/
|
|
817
|
+
definitions: WorkflowDefinition[];
|
|
818
|
+
/**
|
|
819
|
+
* @generated from field: int32 total = 2;
|
|
820
|
+
*/
|
|
821
|
+
total: number;
|
|
822
|
+
};
|
|
823
|
+
/**
|
|
824
|
+
* Describes the message workflows.v1.ListDefinitionsResponse.
|
|
825
|
+
* Use `create(ListDefinitionsResponseSchema)` to create a new message.
|
|
826
|
+
*/
|
|
827
|
+
export declare const ListDefinitionsResponseSchema: GenMessage<ListDefinitionsResponse>;
|
|
828
|
+
/**
|
|
829
|
+
* @generated from message workflows.v1.PublishVersionRequest
|
|
830
|
+
*/
|
|
831
|
+
export type PublishVersionRequest = Message<"workflows.v1.PublishVersionRequest"> & {
|
|
832
|
+
/**
|
|
833
|
+
* @generated from field: string definition_id = 1;
|
|
834
|
+
*/
|
|
835
|
+
definitionId: string;
|
|
836
|
+
/**
|
|
837
|
+
* @generated from field: repeated workflows.v1.StepDefinition steps = 2;
|
|
838
|
+
*/
|
|
839
|
+
steps: StepDefinition[];
|
|
840
|
+
/**
|
|
841
|
+
* @generated from field: repeated workflows.v1.Edge edges = 3;
|
|
842
|
+
*/
|
|
843
|
+
edges: Edge[];
|
|
844
|
+
/**
|
|
845
|
+
* @generated from field: workflows.v1.WorkflowTrigger trigger = 4;
|
|
846
|
+
*/
|
|
847
|
+
trigger?: WorkflowTrigger;
|
|
848
|
+
/**
|
|
849
|
+
* @generated from field: workflows.v1.RetryPolicy default_retry_policy = 5;
|
|
850
|
+
*/
|
|
851
|
+
defaultRetryPolicy?: RetryPolicy;
|
|
852
|
+
/**
|
|
853
|
+
* @generated from field: int32 timeout_seconds = 6;
|
|
854
|
+
*/
|
|
855
|
+
timeoutSeconds: number;
|
|
856
|
+
/**
|
|
857
|
+
* @generated from field: string author = 7;
|
|
858
|
+
*/
|
|
859
|
+
author: string;
|
|
860
|
+
};
|
|
861
|
+
/**
|
|
862
|
+
* Describes the message workflows.v1.PublishVersionRequest.
|
|
863
|
+
* Use `create(PublishVersionRequestSchema)` to create a new message.
|
|
864
|
+
*/
|
|
865
|
+
export declare const PublishVersionRequestSchema: GenMessage<PublishVersionRequest>;
|
|
866
|
+
/**
|
|
867
|
+
* @generated from message workflows.v1.PublishVersionResponse
|
|
868
|
+
*/
|
|
869
|
+
export type PublishVersionResponse = Message<"workflows.v1.PublishVersionResponse"> & {
|
|
870
|
+
/**
|
|
871
|
+
* @generated from field: workflows.v1.WorkflowVersion version = 1;
|
|
872
|
+
*/
|
|
873
|
+
version?: WorkflowVersion;
|
|
874
|
+
/**
|
|
875
|
+
* @generated from field: workflows.v1.WorkflowDefinition definition = 2;
|
|
876
|
+
*/
|
|
877
|
+
definition?: WorkflowDefinition;
|
|
878
|
+
};
|
|
879
|
+
/**
|
|
880
|
+
* Describes the message workflows.v1.PublishVersionResponse.
|
|
881
|
+
* Use `create(PublishVersionResponseSchema)` to create a new message.
|
|
882
|
+
*/
|
|
883
|
+
export declare const PublishVersionResponseSchema: GenMessage<PublishVersionResponse>;
|
|
884
|
+
/**
|
|
885
|
+
* @generated from message workflows.v1.ListVersionsRequest
|
|
886
|
+
*/
|
|
887
|
+
export type ListVersionsRequest = Message<"workflows.v1.ListVersionsRequest"> & {
|
|
888
|
+
/**
|
|
889
|
+
* @generated from field: string definition_id = 1;
|
|
890
|
+
*/
|
|
891
|
+
definitionId: string;
|
|
892
|
+
/**
|
|
893
|
+
* @generated from field: int32 limit = 2;
|
|
894
|
+
*/
|
|
895
|
+
limit: number;
|
|
896
|
+
/**
|
|
897
|
+
* @generated from field: int32 offset = 3;
|
|
898
|
+
*/
|
|
899
|
+
offset: number;
|
|
900
|
+
};
|
|
901
|
+
/**
|
|
902
|
+
* Describes the message workflows.v1.ListVersionsRequest.
|
|
903
|
+
* Use `create(ListVersionsRequestSchema)` to create a new message.
|
|
904
|
+
*/
|
|
905
|
+
export declare const ListVersionsRequestSchema: GenMessage<ListVersionsRequest>;
|
|
906
|
+
/**
|
|
907
|
+
* @generated from message workflows.v1.ListVersionsResponse
|
|
908
|
+
*/
|
|
909
|
+
export type ListVersionsResponse = Message<"workflows.v1.ListVersionsResponse"> & {
|
|
910
|
+
/**
|
|
911
|
+
* @generated from field: repeated workflows.v1.WorkflowVersion versions = 1;
|
|
912
|
+
*/
|
|
913
|
+
versions: WorkflowVersion[];
|
|
914
|
+
/**
|
|
915
|
+
* @generated from field: int32 total = 2;
|
|
916
|
+
*/
|
|
917
|
+
total: number;
|
|
918
|
+
/**
|
|
919
|
+
* @generated from field: bool has_more = 3;
|
|
920
|
+
*/
|
|
921
|
+
hasMore: boolean;
|
|
922
|
+
};
|
|
923
|
+
/**
|
|
924
|
+
* Describes the message workflows.v1.ListVersionsResponse.
|
|
925
|
+
* Use `create(ListVersionsResponseSchema)` to create a new message.
|
|
926
|
+
*/
|
|
927
|
+
export declare const ListVersionsResponseSchema: GenMessage<ListVersionsResponse>;
|
|
928
|
+
/**
|
|
929
|
+
* @generated from message workflows.v1.StartRunRequest
|
|
930
|
+
*/
|
|
931
|
+
export type StartRunRequest = Message<"workflows.v1.StartRunRequest"> & {
|
|
932
|
+
/**
|
|
933
|
+
* @generated from field: string definition_id = 1;
|
|
934
|
+
*/
|
|
935
|
+
definitionId: string;
|
|
936
|
+
/**
|
|
937
|
+
* @generated from field: int32 definition_version = 2;
|
|
938
|
+
*/
|
|
939
|
+
definitionVersion: number;
|
|
940
|
+
/**
|
|
941
|
+
* @generated from field: string workspace_id = 3;
|
|
942
|
+
*/
|
|
943
|
+
workspaceId: string;
|
|
944
|
+
/**
|
|
945
|
+
* @generated from field: string initiator_agent_id = 4;
|
|
946
|
+
*/
|
|
947
|
+
initiatorAgentId: string;
|
|
948
|
+
/**
|
|
949
|
+
* @generated from field: string initiator_user_id = 5;
|
|
950
|
+
*/
|
|
951
|
+
initiatorUserId: string;
|
|
952
|
+
/**
|
|
953
|
+
* @generated from field: string entity_id = 6;
|
|
954
|
+
*/
|
|
955
|
+
entityId: string;
|
|
956
|
+
/**
|
|
957
|
+
* @generated from field: string entity_type = 7;
|
|
958
|
+
*/
|
|
959
|
+
entityType: string;
|
|
960
|
+
/**
|
|
961
|
+
* @generated from field: common.v1.EntityType entity_type_enum = 12;
|
|
962
|
+
*/
|
|
963
|
+
entityTypeEnum: EntityType;
|
|
964
|
+
/**
|
|
965
|
+
* @generated from field: string parent_run_id = 8;
|
|
966
|
+
*/
|
|
967
|
+
parentRunId: string;
|
|
968
|
+
/**
|
|
969
|
+
* @generated from field: google.protobuf.Struct input_payload = 9;
|
|
970
|
+
*/
|
|
971
|
+
inputPayload?: JsonObject;
|
|
972
|
+
/**
|
|
973
|
+
* trigger_type allows callers to start non-manual runs explicitly.
|
|
974
|
+
* When omitted, services may infer WORKFLOW from parent_run_id or
|
|
975
|
+
* default to MANUAL.
|
|
976
|
+
*
|
|
977
|
+
* @generated from field: workflows.v1.TriggerType trigger_type = 10;
|
|
978
|
+
*/
|
|
979
|
+
triggerType: TriggerType;
|
|
980
|
+
/**
|
|
981
|
+
* trigger_event_id references the events/v1 CloudEvent.id that started
|
|
982
|
+
* this run when trigger_type is EVENT or WEBHOOK.
|
|
983
|
+
*
|
|
984
|
+
* @generated from field: string trigger_event_id = 11;
|
|
985
|
+
*/
|
|
986
|
+
triggerEventId: string;
|
|
987
|
+
};
|
|
988
|
+
/**
|
|
989
|
+
* Describes the message workflows.v1.StartRunRequest.
|
|
990
|
+
* Use `create(StartRunRequestSchema)` to create a new message.
|
|
991
|
+
*/
|
|
992
|
+
export declare const StartRunRequestSchema: GenMessage<StartRunRequest>;
|
|
993
|
+
/**
|
|
994
|
+
* @generated from message workflows.v1.StartRunResponse
|
|
995
|
+
*/
|
|
996
|
+
export type StartRunResponse = Message<"workflows.v1.StartRunResponse"> & {
|
|
997
|
+
/**
|
|
998
|
+
* @generated from field: workflows.v1.WorkflowRun run = 1;
|
|
999
|
+
*/
|
|
1000
|
+
run?: WorkflowRun;
|
|
1001
|
+
};
|
|
1002
|
+
/**
|
|
1003
|
+
* Describes the message workflows.v1.StartRunResponse.
|
|
1004
|
+
* Use `create(StartRunResponseSchema)` to create a new message.
|
|
1005
|
+
*/
|
|
1006
|
+
export declare const StartRunResponseSchema: GenMessage<StartRunResponse>;
|
|
1007
|
+
/**
|
|
1008
|
+
* @generated from message workflows.v1.HandleTriggerRequest
|
|
1009
|
+
*/
|
|
1010
|
+
export type HandleTriggerRequest = Message<"workflows.v1.HandleTriggerRequest"> & {
|
|
1011
|
+
/**
|
|
1012
|
+
* @generated from field: string workspace_id = 1;
|
|
1013
|
+
*/
|
|
1014
|
+
workspaceId: string;
|
|
1015
|
+
/**
|
|
1016
|
+
* trigger_type selects how the request is matched against WorkflowTrigger.
|
|
1017
|
+
* Supported values are EVENT, WEBHOOK, and SCHEDULE.
|
|
1018
|
+
*
|
|
1019
|
+
* @generated from field: workflows.v1.TriggerType trigger_type = 2;
|
|
1020
|
+
*/
|
|
1021
|
+
triggerType: TriggerType;
|
|
1022
|
+
/**
|
|
1023
|
+
* trigger_event_id references the events/v1 CloudEvent.id that initiated
|
|
1024
|
+
* this trigger when trigger_type is EVENT or WEBHOOK.
|
|
1025
|
+
*
|
|
1026
|
+
* @generated from field: string trigger_event_id = 3;
|
|
1027
|
+
*/
|
|
1028
|
+
triggerEventId: string;
|
|
1029
|
+
/**
|
|
1030
|
+
* For EVENT and optional WAIT_FOR_EVENT satisfaction: the
|
|
1031
|
+
* events/v1 CloudEvent.type value.
|
|
1032
|
+
*
|
|
1033
|
+
* @generated from field: string event_type = 4;
|
|
1034
|
+
*/
|
|
1035
|
+
eventType: string;
|
|
1036
|
+
/**
|
|
1037
|
+
* For EVENT and optional WAIT_FOR_EVENT satisfaction: the
|
|
1038
|
+
* events/v1 CloudEvent.subject value.
|
|
1039
|
+
*
|
|
1040
|
+
* @generated from field: string event_subject = 5;
|
|
1041
|
+
*/
|
|
1042
|
+
eventSubject: string;
|
|
1043
|
+
/**
|
|
1044
|
+
* For WEBHOOK: the ingest/v1 IngestEventData.provider to match.
|
|
1045
|
+
*
|
|
1046
|
+
* @generated from field: string tap_provider = 6;
|
|
1047
|
+
*/
|
|
1048
|
+
tapProvider: string;
|
|
1049
|
+
/**
|
|
1050
|
+
* For WEBHOOK: the ingest/v1 IngestEventData.entity_type to match.
|
|
1051
|
+
*
|
|
1052
|
+
* @generated from field: string tap_entity_type = 7;
|
|
1053
|
+
*/
|
|
1054
|
+
tapEntityType: string;
|
|
1055
|
+
/**
|
|
1056
|
+
* For WEBHOOK: the ingest/v1 IngestEventData.action to match.
|
|
1057
|
+
*
|
|
1058
|
+
* @generated from field: string tap_action = 8;
|
|
1059
|
+
*/
|
|
1060
|
+
tapAction: string;
|
|
1061
|
+
/**
|
|
1062
|
+
* For SCHEDULE: the cron expression that fired.
|
|
1063
|
+
*
|
|
1064
|
+
* @generated from field: string cron_expr = 9;
|
|
1065
|
+
*/
|
|
1066
|
+
cronExpr: string;
|
|
1067
|
+
/**
|
|
1068
|
+
* @generated from field: string initiator_agent_id = 10;
|
|
1069
|
+
*/
|
|
1070
|
+
initiatorAgentId: string;
|
|
1071
|
+
/**
|
|
1072
|
+
* @generated from field: string initiator_user_id = 11;
|
|
1073
|
+
*/
|
|
1074
|
+
initiatorUserId: string;
|
|
1075
|
+
/**
|
|
1076
|
+
* @generated from field: string entity_id = 12;
|
|
1077
|
+
*/
|
|
1078
|
+
entityId: string;
|
|
1079
|
+
/**
|
|
1080
|
+
* @generated from field: string entity_type = 13;
|
|
1081
|
+
*/
|
|
1082
|
+
entityType: string;
|
|
1083
|
+
/**
|
|
1084
|
+
* @generated from field: common.v1.EntityType entity_type_enum = 15;
|
|
1085
|
+
*/
|
|
1086
|
+
entityTypeEnum: EntityType;
|
|
1087
|
+
/**
|
|
1088
|
+
* input_payload is passed to newly started runs and, when event metadata
|
|
1089
|
+
* is present, to WAIT_FOR_EVENT steps completed by this trigger.
|
|
1090
|
+
*
|
|
1091
|
+
* @generated from field: google.protobuf.Struct input_payload = 14;
|
|
1092
|
+
*/
|
|
1093
|
+
inputPayload?: JsonObject;
|
|
1094
|
+
};
|
|
1095
|
+
/**
|
|
1096
|
+
* Describes the message workflows.v1.HandleTriggerRequest.
|
|
1097
|
+
* Use `create(HandleTriggerRequestSchema)` to create a new message.
|
|
1098
|
+
*/
|
|
1099
|
+
export declare const HandleTriggerRequestSchema: GenMessage<HandleTriggerRequest>;
|
|
1100
|
+
/**
|
|
1101
|
+
* @generated from message workflows.v1.HandleTriggerResponse
|
|
1102
|
+
*/
|
|
1103
|
+
export type HandleTriggerResponse = Message<"workflows.v1.HandleTriggerResponse"> & {
|
|
1104
|
+
/**
|
|
1105
|
+
* started_runs contains runs created by matching workflow triggers.
|
|
1106
|
+
*
|
|
1107
|
+
* @generated from field: repeated workflows.v1.WorkflowRun started_runs = 1;
|
|
1108
|
+
*/
|
|
1109
|
+
startedRuns: WorkflowRun[];
|
|
1110
|
+
/**
|
|
1111
|
+
* updated_runs contains existing runs advanced by satisfying
|
|
1112
|
+
* WAIT_FOR_EVENT steps. Runs already present in started_runs should not
|
|
1113
|
+
* be repeated here.
|
|
1114
|
+
*
|
|
1115
|
+
* @generated from field: repeated workflows.v1.WorkflowRun updated_runs = 2;
|
|
1116
|
+
*/
|
|
1117
|
+
updatedRuns: WorkflowRun[];
|
|
1118
|
+
};
|
|
1119
|
+
/**
|
|
1120
|
+
* Describes the message workflows.v1.HandleTriggerResponse.
|
|
1121
|
+
* Use `create(HandleTriggerResponseSchema)` to create a new message.
|
|
1122
|
+
*/
|
|
1123
|
+
export declare const HandleTriggerResponseSchema: GenMessage<HandleTriggerResponse>;
|
|
1124
|
+
/**
|
|
1125
|
+
* @generated from message workflows.v1.GetRunRequest
|
|
1126
|
+
*/
|
|
1127
|
+
export type GetRunRequest = Message<"workflows.v1.GetRunRequest"> & {
|
|
1128
|
+
/**
|
|
1129
|
+
* @generated from field: string id = 1;
|
|
1130
|
+
*/
|
|
1131
|
+
id: string;
|
|
1132
|
+
};
|
|
1133
|
+
/**
|
|
1134
|
+
* Describes the message workflows.v1.GetRunRequest.
|
|
1135
|
+
* Use `create(GetRunRequestSchema)` to create a new message.
|
|
1136
|
+
*/
|
|
1137
|
+
export declare const GetRunRequestSchema: GenMessage<GetRunRequest>;
|
|
1138
|
+
/**
|
|
1139
|
+
* @generated from message workflows.v1.GetRunResponse
|
|
1140
|
+
*/
|
|
1141
|
+
export type GetRunResponse = Message<"workflows.v1.GetRunResponse"> & {
|
|
1142
|
+
/**
|
|
1143
|
+
* @generated from field: workflows.v1.WorkflowRun run = 1;
|
|
1144
|
+
*/
|
|
1145
|
+
run?: WorkflowRun;
|
|
1146
|
+
};
|
|
1147
|
+
/**
|
|
1148
|
+
* Describes the message workflows.v1.GetRunResponse.
|
|
1149
|
+
* Use `create(GetRunResponseSchema)` to create a new message.
|
|
1150
|
+
*/
|
|
1151
|
+
export declare const GetRunResponseSchema: GenMessage<GetRunResponse>;
|
|
1152
|
+
/**
|
|
1153
|
+
* @generated from message workflows.v1.ListRunsRequest
|
|
1154
|
+
*/
|
|
1155
|
+
export type ListRunsRequest = Message<"workflows.v1.ListRunsRequest"> & {
|
|
1156
|
+
/**
|
|
1157
|
+
* @generated from field: string workspace_id = 1;
|
|
1158
|
+
*/
|
|
1159
|
+
workspaceId: string;
|
|
1160
|
+
/**
|
|
1161
|
+
* @generated from field: string definition_id = 2;
|
|
1162
|
+
*/
|
|
1163
|
+
definitionId: string;
|
|
1164
|
+
/**
|
|
1165
|
+
* @generated from field: workflows.v1.WorkflowState state = 3;
|
|
1166
|
+
*/
|
|
1167
|
+
state: WorkflowState;
|
|
1168
|
+
/**
|
|
1169
|
+
* @generated from field: string entity_id = 4;
|
|
1170
|
+
*/
|
|
1171
|
+
entityId: string;
|
|
1172
|
+
/**
|
|
1173
|
+
* @generated from field: string initiator_agent_id = 5;
|
|
1174
|
+
*/
|
|
1175
|
+
initiatorAgentId: string;
|
|
1176
|
+
/**
|
|
1177
|
+
* @generated from field: int32 limit = 6;
|
|
1178
|
+
*/
|
|
1179
|
+
limit: number;
|
|
1180
|
+
/**
|
|
1181
|
+
* @generated from field: int32 offset = 7;
|
|
1182
|
+
*/
|
|
1183
|
+
offset: number;
|
|
1184
|
+
};
|
|
1185
|
+
/**
|
|
1186
|
+
* Describes the message workflows.v1.ListRunsRequest.
|
|
1187
|
+
* Use `create(ListRunsRequestSchema)` to create a new message.
|
|
1188
|
+
*/
|
|
1189
|
+
export declare const ListRunsRequestSchema: GenMessage<ListRunsRequest>;
|
|
1190
|
+
/**
|
|
1191
|
+
* @generated from message workflows.v1.ListRunsResponse
|
|
1192
|
+
*/
|
|
1193
|
+
export type ListRunsResponse = Message<"workflows.v1.ListRunsResponse"> & {
|
|
1194
|
+
/**
|
|
1195
|
+
* @generated from field: repeated workflows.v1.WorkflowRun runs = 1;
|
|
1196
|
+
*/
|
|
1197
|
+
runs: WorkflowRun[];
|
|
1198
|
+
/**
|
|
1199
|
+
* @generated from field: int32 total = 2;
|
|
1200
|
+
*/
|
|
1201
|
+
total: number;
|
|
1202
|
+
};
|
|
1203
|
+
/**
|
|
1204
|
+
* Describes the message workflows.v1.ListRunsResponse.
|
|
1205
|
+
* Use `create(ListRunsResponseSchema)` to create a new message.
|
|
1206
|
+
*/
|
|
1207
|
+
export declare const ListRunsResponseSchema: GenMessage<ListRunsResponse>;
|
|
1208
|
+
/**
|
|
1209
|
+
* @generated from message workflows.v1.TransitionStepRequest
|
|
1210
|
+
*/
|
|
1211
|
+
export type TransitionStepRequest = Message<"workflows.v1.TransitionStepRequest"> & {
|
|
1212
|
+
/**
|
|
1213
|
+
* @generated from field: string run_id = 1;
|
|
1214
|
+
*/
|
|
1215
|
+
runId: string;
|
|
1216
|
+
/**
|
|
1217
|
+
* @generated from field: string step_id = 2;
|
|
1218
|
+
*/
|
|
1219
|
+
stepId: string;
|
|
1220
|
+
/**
|
|
1221
|
+
* @generated from field: workflows.v1.StepRunState state = 3;
|
|
1222
|
+
*/
|
|
1223
|
+
state: StepRunState;
|
|
1224
|
+
/**
|
|
1225
|
+
* @generated from field: string objective_id = 4;
|
|
1226
|
+
*/
|
|
1227
|
+
objectiveId: string;
|
|
1228
|
+
/**
|
|
1229
|
+
* @generated from field: string agent_id = 5;
|
|
1230
|
+
*/
|
|
1231
|
+
agentId: string;
|
|
1232
|
+
/**
|
|
1233
|
+
* @generated from field: string delegation_id = 6;
|
|
1234
|
+
*/
|
|
1235
|
+
delegationId: string;
|
|
1236
|
+
/**
|
|
1237
|
+
* @generated from field: string approval_request_id = 7;
|
|
1238
|
+
*/
|
|
1239
|
+
approvalRequestId: string;
|
|
1240
|
+
/**
|
|
1241
|
+
* @generated from field: string governance_decision = 8;
|
|
1242
|
+
*/
|
|
1243
|
+
governanceDecision: string;
|
|
1244
|
+
/**
|
|
1245
|
+
* @generated from field: string event_id = 9;
|
|
1246
|
+
*/
|
|
1247
|
+
eventId: string;
|
|
1248
|
+
/**
|
|
1249
|
+
* @generated from field: string notification_id = 10;
|
|
1250
|
+
*/
|
|
1251
|
+
notificationId: string;
|
|
1252
|
+
/**
|
|
1253
|
+
* @generated from field: google.protobuf.Struct output_payload = 11;
|
|
1254
|
+
*/
|
|
1255
|
+
outputPayload?: JsonObject;
|
|
1256
|
+
/**
|
|
1257
|
+
* @generated from field: string error_message = 12;
|
|
1258
|
+
*/
|
|
1259
|
+
errorMessage: string;
|
|
1260
|
+
/**
|
|
1261
|
+
* @generated from field: double cost_usd = 13;
|
|
1262
|
+
*/
|
|
1263
|
+
costUsd: number;
|
|
1264
|
+
};
|
|
1265
|
+
/**
|
|
1266
|
+
* Describes the message workflows.v1.TransitionStepRequest.
|
|
1267
|
+
* Use `create(TransitionStepRequestSchema)` to create a new message.
|
|
1268
|
+
*/
|
|
1269
|
+
export declare const TransitionStepRequestSchema: GenMessage<TransitionStepRequest>;
|
|
1270
|
+
/**
|
|
1271
|
+
* @generated from message workflows.v1.TransitionStepResponse
|
|
1272
|
+
*/
|
|
1273
|
+
export type TransitionStepResponse = Message<"workflows.v1.TransitionStepResponse"> & {
|
|
1274
|
+
/**
|
|
1275
|
+
* @generated from field: workflows.v1.StepRun step = 1;
|
|
1276
|
+
*/
|
|
1277
|
+
step?: StepRun;
|
|
1278
|
+
/**
|
|
1279
|
+
* @generated from field: workflows.v1.WorkflowRun run = 2;
|
|
1280
|
+
*/
|
|
1281
|
+
run?: WorkflowRun;
|
|
1282
|
+
};
|
|
1283
|
+
/**
|
|
1284
|
+
* Describes the message workflows.v1.TransitionStepResponse.
|
|
1285
|
+
* Use `create(TransitionStepResponseSchema)` to create a new message.
|
|
1286
|
+
*/
|
|
1287
|
+
export declare const TransitionStepResponseSchema: GenMessage<TransitionStepResponse>;
|
|
1288
|
+
/**
|
|
1289
|
+
* @generated from message workflows.v1.PauseRunRequest
|
|
1290
|
+
*/
|
|
1291
|
+
export type PauseRunRequest = Message<"workflows.v1.PauseRunRequest"> & {
|
|
1292
|
+
/**
|
|
1293
|
+
* @generated from field: string id = 1;
|
|
1294
|
+
*/
|
|
1295
|
+
id: string;
|
|
1296
|
+
/**
|
|
1297
|
+
* @generated from field: string reason = 2;
|
|
1298
|
+
*/
|
|
1299
|
+
reason: string;
|
|
1300
|
+
};
|
|
1301
|
+
/**
|
|
1302
|
+
* Describes the message workflows.v1.PauseRunRequest.
|
|
1303
|
+
* Use `create(PauseRunRequestSchema)` to create a new message.
|
|
1304
|
+
*/
|
|
1305
|
+
export declare const PauseRunRequestSchema: GenMessage<PauseRunRequest>;
|
|
1306
|
+
/**
|
|
1307
|
+
* @generated from message workflows.v1.PauseRunResponse
|
|
1308
|
+
*/
|
|
1309
|
+
export type PauseRunResponse = Message<"workflows.v1.PauseRunResponse"> & {
|
|
1310
|
+
/**
|
|
1311
|
+
* @generated from field: workflows.v1.WorkflowRun run = 1;
|
|
1312
|
+
*/
|
|
1313
|
+
run?: WorkflowRun;
|
|
1314
|
+
};
|
|
1315
|
+
/**
|
|
1316
|
+
* Describes the message workflows.v1.PauseRunResponse.
|
|
1317
|
+
* Use `create(PauseRunResponseSchema)` to create a new message.
|
|
1318
|
+
*/
|
|
1319
|
+
export declare const PauseRunResponseSchema: GenMessage<PauseRunResponse>;
|
|
1320
|
+
/**
|
|
1321
|
+
* @generated from message workflows.v1.ResumeRunRequest
|
|
1322
|
+
*/
|
|
1323
|
+
export type ResumeRunRequest = Message<"workflows.v1.ResumeRunRequest"> & {
|
|
1324
|
+
/**
|
|
1325
|
+
* @generated from field: string id = 1;
|
|
1326
|
+
*/
|
|
1327
|
+
id: string;
|
|
1328
|
+
};
|
|
1329
|
+
/**
|
|
1330
|
+
* Describes the message workflows.v1.ResumeRunRequest.
|
|
1331
|
+
* Use `create(ResumeRunRequestSchema)` to create a new message.
|
|
1332
|
+
*/
|
|
1333
|
+
export declare const ResumeRunRequestSchema: GenMessage<ResumeRunRequest>;
|
|
1334
|
+
/**
|
|
1335
|
+
* @generated from message workflows.v1.ResumeRunResponse
|
|
1336
|
+
*/
|
|
1337
|
+
export type ResumeRunResponse = Message<"workflows.v1.ResumeRunResponse"> & {
|
|
1338
|
+
/**
|
|
1339
|
+
* @generated from field: workflows.v1.WorkflowRun run = 1;
|
|
1340
|
+
*/
|
|
1341
|
+
run?: WorkflowRun;
|
|
1342
|
+
};
|
|
1343
|
+
/**
|
|
1344
|
+
* Describes the message workflows.v1.ResumeRunResponse.
|
|
1345
|
+
* Use `create(ResumeRunResponseSchema)` to create a new message.
|
|
1346
|
+
*/
|
|
1347
|
+
export declare const ResumeRunResponseSchema: GenMessage<ResumeRunResponse>;
|
|
1348
|
+
/**
|
|
1349
|
+
* @generated from message workflows.v1.CancelRunRequest
|
|
1350
|
+
*/
|
|
1351
|
+
export type CancelRunRequest = Message<"workflows.v1.CancelRunRequest"> & {
|
|
1352
|
+
/**
|
|
1353
|
+
* @generated from field: string id = 1;
|
|
1354
|
+
*/
|
|
1355
|
+
id: string;
|
|
1356
|
+
/**
|
|
1357
|
+
* @generated from field: string reason = 2;
|
|
1358
|
+
*/
|
|
1359
|
+
reason: string;
|
|
1360
|
+
};
|
|
1361
|
+
/**
|
|
1362
|
+
* Describes the message workflows.v1.CancelRunRequest.
|
|
1363
|
+
* Use `create(CancelRunRequestSchema)` to create a new message.
|
|
1364
|
+
*/
|
|
1365
|
+
export declare const CancelRunRequestSchema: GenMessage<CancelRunRequest>;
|
|
1366
|
+
/**
|
|
1367
|
+
* @generated from message workflows.v1.CancelRunResponse
|
|
1368
|
+
*/
|
|
1369
|
+
export type CancelRunResponse = Message<"workflows.v1.CancelRunResponse"> & {
|
|
1370
|
+
/**
|
|
1371
|
+
* @generated from field: workflows.v1.WorkflowRun run = 1;
|
|
1372
|
+
*/
|
|
1373
|
+
run?: WorkflowRun;
|
|
1374
|
+
};
|
|
1375
|
+
/**
|
|
1376
|
+
* Describes the message workflows.v1.CancelRunResponse.
|
|
1377
|
+
* Use `create(CancelRunResponseSchema)` to create a new message.
|
|
1378
|
+
*/
|
|
1379
|
+
export declare const CancelRunResponseSchema: GenMessage<CancelRunResponse>;
|
|
1380
|
+
/**
|
|
1381
|
+
* @generated from message workflows.v1.CompensateRunRequest
|
|
1382
|
+
*/
|
|
1383
|
+
export type CompensateRunRequest = Message<"workflows.v1.CompensateRunRequest"> & {
|
|
1384
|
+
/**
|
|
1385
|
+
* @generated from field: string id = 1;
|
|
1386
|
+
*/
|
|
1387
|
+
id: string;
|
|
1388
|
+
/**
|
|
1389
|
+
* @generated from field: string reason = 2;
|
|
1390
|
+
*/
|
|
1391
|
+
reason: string;
|
|
1392
|
+
};
|
|
1393
|
+
/**
|
|
1394
|
+
* Describes the message workflows.v1.CompensateRunRequest.
|
|
1395
|
+
* Use `create(CompensateRunRequestSchema)` to create a new message.
|
|
1396
|
+
*/
|
|
1397
|
+
export declare const CompensateRunRequestSchema: GenMessage<CompensateRunRequest>;
|
|
1398
|
+
/**
|
|
1399
|
+
* @generated from message workflows.v1.CompensateRunResponse
|
|
1400
|
+
*/
|
|
1401
|
+
export type CompensateRunResponse = Message<"workflows.v1.CompensateRunResponse"> & {
|
|
1402
|
+
/**
|
|
1403
|
+
* @generated from field: workflows.v1.WorkflowRun run = 1;
|
|
1404
|
+
*/
|
|
1405
|
+
run?: WorkflowRun;
|
|
1406
|
+
};
|
|
1407
|
+
/**
|
|
1408
|
+
* Describes the message workflows.v1.CompensateRunResponse.
|
|
1409
|
+
* Use `create(CompensateRunResponseSchema)` to create a new message.
|
|
1410
|
+
*/
|
|
1411
|
+
export declare const CompensateRunResponseSchema: GenMessage<CompensateRunResponse>;
|
|
1412
|
+
/**
|
|
1413
|
+
* StepType describes the semantic kind of a workflow step.
|
|
1414
|
+
*
|
|
1415
|
+
* @generated from enum workflows.v1.StepType
|
|
1416
|
+
*/
|
|
1417
|
+
export declare enum StepType {
|
|
1418
|
+
/**
|
|
1419
|
+
* @generated from enum value: STEP_TYPE_UNSPECIFIED = 0;
|
|
1420
|
+
*/
|
|
1421
|
+
UNSPECIFIED = 0,
|
|
1422
|
+
/**
|
|
1423
|
+
* An agent executes an action. Creates an objectives/v1 Objective and
|
|
1424
|
+
* optionally delegates via agents/v1 Delegate.
|
|
1425
|
+
*
|
|
1426
|
+
* @generated from enum value: STEP_TYPE_AGENT_ACTION = 1;
|
|
1427
|
+
*/
|
|
1428
|
+
AGENT_ACTION = 1,
|
|
1429
|
+
/**
|
|
1430
|
+
* Blocks until an approvals/v1 ApprovalRequest is resolved.
|
|
1431
|
+
* The approval_request_id on StepRun links to the pending approval.
|
|
1432
|
+
*
|
|
1433
|
+
* @generated from enum value: STEP_TYPE_APPROVAL_GATE = 2;
|
|
1434
|
+
*/
|
|
1435
|
+
APPROVAL_GATE = 2,
|
|
1436
|
+
/**
|
|
1437
|
+
* Evaluates the action through governance/v1 EvaluateAction.
|
|
1438
|
+
* A DENY decision fails the step; REQUIRE_APPROVAL inserts an
|
|
1439
|
+
* implicit approval gate.
|
|
1440
|
+
*
|
|
1441
|
+
* @generated from enum value: STEP_TYPE_GOVERNANCE_CHECK = 3;
|
|
1442
|
+
*/
|
|
1443
|
+
GOVERNANCE_CHECK = 3,
|
|
1444
|
+
/**
|
|
1445
|
+
* Blocks until a matching events/v1 CloudEvent arrives on the bus.
|
|
1446
|
+
* event_type_pattern and event_subject_pattern on StepDefinition
|
|
1447
|
+
* control the match.
|
|
1448
|
+
*
|
|
1449
|
+
* @generated from enum value: STEP_TYPE_WAIT_FOR_EVENT = 4;
|
|
1450
|
+
*/
|
|
1451
|
+
WAIT_FOR_EVENT = 4,
|
|
1452
|
+
/**
|
|
1453
|
+
* Evaluates condition_expr and routes to one of multiple outgoing edges.
|
|
1454
|
+
*
|
|
1455
|
+
* @generated from enum value: STEP_TYPE_BRANCH = 5;
|
|
1456
|
+
*/
|
|
1457
|
+
BRANCH = 5,
|
|
1458
|
+
/**
|
|
1459
|
+
* Fans out to multiple steps concurrently. All children must complete
|
|
1460
|
+
* before the parent step completes.
|
|
1461
|
+
*
|
|
1462
|
+
* @generated from enum value: STEP_TYPE_PARALLEL = 6;
|
|
1463
|
+
*/
|
|
1464
|
+
PARALLEL = 6,
|
|
1465
|
+
/**
|
|
1466
|
+
* Sends a notifications/v1 notification. Non-blocking by default.
|
|
1467
|
+
*
|
|
1468
|
+
* @generated from enum value: STEP_TYPE_NOTIFICATION = 7;
|
|
1469
|
+
*/
|
|
1470
|
+
NOTIFICATION = 7,
|
|
1471
|
+
/**
|
|
1472
|
+
* Requires a human to perform an action and mark the step complete
|
|
1473
|
+
* through the API or a product surface.
|
|
1474
|
+
*
|
|
1475
|
+
* @generated from enum value: STEP_TYPE_HUMAN_TASK = 8;
|
|
1476
|
+
*/
|
|
1477
|
+
HUMAN_TASK = 8
|
|
1478
|
+
}
|
|
1479
|
+
/**
|
|
1480
|
+
* Describes the enum workflows.v1.StepType.
|
|
1481
|
+
*/
|
|
1482
|
+
export declare const StepTypeSchema: GenEnum<StepType>;
|
|
1483
|
+
/**
|
|
1484
|
+
* WorkflowState describes the lifecycle state of a workflow run.
|
|
1485
|
+
*
|
|
1486
|
+
* @generated from enum workflows.v1.WorkflowState
|
|
1487
|
+
*/
|
|
1488
|
+
export declare enum WorkflowState {
|
|
1489
|
+
/**
|
|
1490
|
+
* @generated from enum value: WORKFLOW_STATE_UNSPECIFIED = 0;
|
|
1491
|
+
*/
|
|
1492
|
+
UNSPECIFIED = 0,
|
|
1493
|
+
/**
|
|
1494
|
+
* @generated from enum value: WORKFLOW_STATE_PENDING = 1;
|
|
1495
|
+
*/
|
|
1496
|
+
PENDING = 1,
|
|
1497
|
+
/**
|
|
1498
|
+
* @generated from enum value: WORKFLOW_STATE_RUNNING = 2;
|
|
1499
|
+
*/
|
|
1500
|
+
RUNNING = 2,
|
|
1501
|
+
/**
|
|
1502
|
+
* @generated from enum value: WORKFLOW_STATE_PAUSED = 3;
|
|
1503
|
+
*/
|
|
1504
|
+
PAUSED = 3,
|
|
1505
|
+
/**
|
|
1506
|
+
* @generated from enum value: WORKFLOW_STATE_COMPENSATING = 4;
|
|
1507
|
+
*/
|
|
1508
|
+
COMPENSATING = 4,
|
|
1509
|
+
/**
|
|
1510
|
+
* @generated from enum value: WORKFLOW_STATE_COMPLETED = 5;
|
|
1511
|
+
*/
|
|
1512
|
+
COMPLETED = 5,
|
|
1513
|
+
/**
|
|
1514
|
+
* @generated from enum value: WORKFLOW_STATE_FAILED = 6;
|
|
1515
|
+
*/
|
|
1516
|
+
FAILED = 6,
|
|
1517
|
+
/**
|
|
1518
|
+
* @generated from enum value: WORKFLOW_STATE_CANCELLED = 7;
|
|
1519
|
+
*/
|
|
1520
|
+
CANCELLED = 7
|
|
1521
|
+
}
|
|
1522
|
+
/**
|
|
1523
|
+
* Describes the enum workflows.v1.WorkflowState.
|
|
1524
|
+
*/
|
|
1525
|
+
export declare const WorkflowStateSchema: GenEnum<WorkflowState>;
|
|
1526
|
+
/**
|
|
1527
|
+
* StepRunState describes the lifecycle state of an individual step execution.
|
|
1528
|
+
*
|
|
1529
|
+
* @generated from enum workflows.v1.StepRunState
|
|
1530
|
+
*/
|
|
1531
|
+
export declare enum StepRunState {
|
|
1532
|
+
/**
|
|
1533
|
+
* @generated from enum value: STEP_RUN_STATE_UNSPECIFIED = 0;
|
|
1534
|
+
*/
|
|
1535
|
+
UNSPECIFIED = 0,
|
|
1536
|
+
/**
|
|
1537
|
+
* @generated from enum value: STEP_RUN_STATE_PENDING = 1;
|
|
1538
|
+
*/
|
|
1539
|
+
PENDING = 1,
|
|
1540
|
+
/**
|
|
1541
|
+
* @generated from enum value: STEP_RUN_STATE_RUNNING = 2;
|
|
1542
|
+
*/
|
|
1543
|
+
RUNNING = 2,
|
|
1544
|
+
/**
|
|
1545
|
+
* @generated from enum value: STEP_RUN_STATE_WAITING = 3;
|
|
1546
|
+
*/
|
|
1547
|
+
WAITING = 3,
|
|
1548
|
+
/**
|
|
1549
|
+
* @generated from enum value: STEP_RUN_STATE_COMPLETED = 4;
|
|
1550
|
+
*/
|
|
1551
|
+
COMPLETED = 4,
|
|
1552
|
+
/**
|
|
1553
|
+
* @generated from enum value: STEP_RUN_STATE_FAILED = 5;
|
|
1554
|
+
*/
|
|
1555
|
+
FAILED = 5,
|
|
1556
|
+
/**
|
|
1557
|
+
* @generated from enum value: STEP_RUN_STATE_SKIPPED = 6;
|
|
1558
|
+
*/
|
|
1559
|
+
SKIPPED = 6,
|
|
1560
|
+
/**
|
|
1561
|
+
* @generated from enum value: STEP_RUN_STATE_COMPENSATED = 7;
|
|
1562
|
+
*/
|
|
1563
|
+
COMPENSATED = 7,
|
|
1564
|
+
/**
|
|
1565
|
+
* @generated from enum value: STEP_RUN_STATE_CANCELLED = 8;
|
|
1566
|
+
*/
|
|
1567
|
+
CANCELLED = 8
|
|
1568
|
+
}
|
|
1569
|
+
/**
|
|
1570
|
+
* Describes the enum workflows.v1.StepRunState.
|
|
1571
|
+
*/
|
|
1572
|
+
export declare const StepRunStateSchema: GenEnum<StepRunState>;
|
|
1573
|
+
/**
|
|
1574
|
+
* TriggerType describes what initiates a workflow run.
|
|
1575
|
+
*
|
|
1576
|
+
* @generated from enum workflows.v1.TriggerType
|
|
1577
|
+
*/
|
|
1578
|
+
export declare enum TriggerType {
|
|
1579
|
+
/**
|
|
1580
|
+
* @generated from enum value: TRIGGER_TYPE_UNSPECIFIED = 0;
|
|
1581
|
+
*/
|
|
1582
|
+
UNSPECIFIED = 0,
|
|
1583
|
+
/**
|
|
1584
|
+
* Started by an events/v1 CloudEvent matching the trigger pattern.
|
|
1585
|
+
*
|
|
1586
|
+
* @generated from enum value: TRIGGER_TYPE_EVENT = 1;
|
|
1587
|
+
*/
|
|
1588
|
+
EVENT = 1,
|
|
1589
|
+
/**
|
|
1590
|
+
* Started on a cron schedule.
|
|
1591
|
+
*
|
|
1592
|
+
* @generated from enum value: TRIGGER_TYPE_SCHEDULE = 2;
|
|
1593
|
+
*/
|
|
1594
|
+
SCHEDULE = 2,
|
|
1595
|
+
/**
|
|
1596
|
+
* Started by a human or agent through the API.
|
|
1597
|
+
*
|
|
1598
|
+
* @generated from enum value: TRIGGER_TYPE_MANUAL = 3;
|
|
1599
|
+
*/
|
|
1600
|
+
MANUAL = 3,
|
|
1601
|
+
/**
|
|
1602
|
+
* Started by an ingest/v1 IngestEventData webhook from an external provider.
|
|
1603
|
+
*
|
|
1604
|
+
* @generated from enum value: TRIGGER_TYPE_WEBHOOK = 4;
|
|
1605
|
+
*/
|
|
1606
|
+
WEBHOOK = 4,
|
|
1607
|
+
/**
|
|
1608
|
+
* Started by another workflow's step (nested/sub-workflow).
|
|
1609
|
+
*
|
|
1610
|
+
* @generated from enum value: TRIGGER_TYPE_WORKFLOW = 5;
|
|
1611
|
+
*/
|
|
1612
|
+
WORKFLOW = 5
|
|
1613
|
+
}
|
|
1614
|
+
/**
|
|
1615
|
+
* Describes the enum workflows.v1.TriggerType.
|
|
1616
|
+
*/
|
|
1617
|
+
export declare const TriggerTypeSchema: GenEnum<TriggerType>;
|
|
1618
|
+
/**
|
|
1619
|
+
* WorkflowService manages multi-agent process definitions and their
|
|
1620
|
+
* executions. A workflow composes multiple objectives/v1 Objective records
|
|
1621
|
+
* into a DAG with typed step semantics, approval gates, governance checks,
|
|
1622
|
+
* event waits, branching, and compensation.
|
|
1623
|
+
*
|
|
1624
|
+
* Where objectives/v1 tracks a single agent doing a single thing, a workflow
|
|
1625
|
+
* tracks the process: prospect -> qualify -> outreach -> follow-up -> close.
|
|
1626
|
+
* Each step in a running workflow creates an objective, delegates to an agent
|
|
1627
|
+
* (agents/v1), and feeds its output to the next step.
|
|
1628
|
+
*
|
|
1629
|
+
* There is intentionally no standalone "workflows" service binary in this
|
|
1630
|
+
* repository. `workflows.v1.WorkflowService` is implemented by the `objectives`
|
|
1631
|
+
* service under `cmd/objectives` and `internal/objectives/...`.
|
|
1632
|
+
*
|
|
1633
|
+
* @generated from service workflows.v1.WorkflowService
|
|
1634
|
+
*/
|
|
1635
|
+
export declare const WorkflowService: GenService<{
|
|
1636
|
+
/**
|
|
1637
|
+
* CreateDefinition registers a new workflow definition.
|
|
1638
|
+
*
|
|
1639
|
+
* @generated from rpc workflows.v1.WorkflowService.CreateDefinition
|
|
1640
|
+
*/
|
|
1641
|
+
createDefinition: {
|
|
1642
|
+
methodKind: "unary";
|
|
1643
|
+
input: typeof CreateDefinitionRequestSchema;
|
|
1644
|
+
output: typeof CreateDefinitionResponseSchema;
|
|
1645
|
+
};
|
|
1646
|
+
/**
|
|
1647
|
+
* GetDefinition retrieves a workflow definition by ID.
|
|
1648
|
+
*
|
|
1649
|
+
* @generated from rpc workflows.v1.WorkflowService.GetDefinition
|
|
1650
|
+
*/
|
|
1651
|
+
getDefinition: {
|
|
1652
|
+
methodKind: "unary";
|
|
1653
|
+
input: typeof GetDefinitionRequestSchema;
|
|
1654
|
+
output: typeof GetDefinitionResponseSchema;
|
|
1655
|
+
};
|
|
1656
|
+
/**
|
|
1657
|
+
* ListDefinitions returns workflow definitions matching the query filters.
|
|
1658
|
+
*
|
|
1659
|
+
* @generated from rpc workflows.v1.WorkflowService.ListDefinitions
|
|
1660
|
+
*/
|
|
1661
|
+
listDefinitions: {
|
|
1662
|
+
methodKind: "unary";
|
|
1663
|
+
input: typeof ListDefinitionsRequestSchema;
|
|
1664
|
+
output: typeof ListDefinitionsResponseSchema;
|
|
1665
|
+
};
|
|
1666
|
+
/**
|
|
1667
|
+
* PublishVersion creates an immutable version snapshot of a definition.
|
|
1668
|
+
* Runs always reference a specific definition version.
|
|
1669
|
+
*
|
|
1670
|
+
* @generated from rpc workflows.v1.WorkflowService.PublishVersion
|
|
1671
|
+
*/
|
|
1672
|
+
publishVersion: {
|
|
1673
|
+
methodKind: "unary";
|
|
1674
|
+
input: typeof PublishVersionRequestSchema;
|
|
1675
|
+
output: typeof PublishVersionResponseSchema;
|
|
1676
|
+
};
|
|
1677
|
+
/**
|
|
1678
|
+
* ListVersions returns all published versions of a definition.
|
|
1679
|
+
*
|
|
1680
|
+
* @generated from rpc workflows.v1.WorkflowService.ListVersions
|
|
1681
|
+
*/
|
|
1682
|
+
listVersions: {
|
|
1683
|
+
methodKind: "unary";
|
|
1684
|
+
input: typeof ListVersionsRequestSchema;
|
|
1685
|
+
output: typeof ListVersionsResponseSchema;
|
|
1686
|
+
};
|
|
1687
|
+
/**
|
|
1688
|
+
* StartRun begins execution of a workflow definition version.
|
|
1689
|
+
*
|
|
1690
|
+
* @generated from rpc workflows.v1.WorkflowService.StartRun
|
|
1691
|
+
*/
|
|
1692
|
+
startRun: {
|
|
1693
|
+
methodKind: "unary";
|
|
1694
|
+
input: typeof StartRunRequestSchema;
|
|
1695
|
+
output: typeof StartRunResponseSchema;
|
|
1696
|
+
};
|
|
1697
|
+
/**
|
|
1698
|
+
* HandleTrigger processes an asynchronous workflow trigger. It starts
|
|
1699
|
+
* matching latest workflow versions for EVENT, WEBHOOK, or SCHEDULE
|
|
1700
|
+
* triggers and may also satisfy WAIT_FOR_EVENT steps when event
|
|
1701
|
+
* metadata is present.
|
|
1702
|
+
*
|
|
1703
|
+
* @generated from rpc workflows.v1.WorkflowService.HandleTrigger
|
|
1704
|
+
*/
|
|
1705
|
+
handleTrigger: {
|
|
1706
|
+
methodKind: "unary";
|
|
1707
|
+
input: typeof HandleTriggerRequestSchema;
|
|
1708
|
+
output: typeof HandleTriggerResponseSchema;
|
|
1709
|
+
};
|
|
1710
|
+
/**
|
|
1711
|
+
* GetRun retrieves a workflow run by ID.
|
|
1712
|
+
*
|
|
1713
|
+
* @generated from rpc workflows.v1.WorkflowService.GetRun
|
|
1714
|
+
*/
|
|
1715
|
+
getRun: {
|
|
1716
|
+
methodKind: "unary";
|
|
1717
|
+
input: typeof GetRunRequestSchema;
|
|
1718
|
+
output: typeof GetRunResponseSchema;
|
|
1719
|
+
};
|
|
1720
|
+
/**
|
|
1721
|
+
* ListRuns returns workflow runs matching the query filters.
|
|
1722
|
+
*
|
|
1723
|
+
* @generated from rpc workflows.v1.WorkflowService.ListRuns
|
|
1724
|
+
*/
|
|
1725
|
+
listRuns: {
|
|
1726
|
+
methodKind: "unary";
|
|
1727
|
+
input: typeof ListRunsRequestSchema;
|
|
1728
|
+
output: typeof ListRunsResponseSchema;
|
|
1729
|
+
};
|
|
1730
|
+
/**
|
|
1731
|
+
* TransitionStep records a step state change. Called by the orchestrator
|
|
1732
|
+
* as agents complete objectives, approvals resolve, or events arrive.
|
|
1733
|
+
*
|
|
1734
|
+
* @generated from rpc workflows.v1.WorkflowService.TransitionStep
|
|
1735
|
+
*/
|
|
1736
|
+
transitionStep: {
|
|
1737
|
+
methodKind: "unary";
|
|
1738
|
+
input: typeof TransitionStepRequestSchema;
|
|
1739
|
+
output: typeof TransitionStepResponseSchema;
|
|
1740
|
+
};
|
|
1741
|
+
/**
|
|
1742
|
+
* PauseRun suspends a running workflow. Steps in RUNNING state continue
|
|
1743
|
+
* to completion but no new steps are started.
|
|
1744
|
+
*
|
|
1745
|
+
* @generated from rpc workflows.v1.WorkflowService.PauseRun
|
|
1746
|
+
*/
|
|
1747
|
+
pauseRun: {
|
|
1748
|
+
methodKind: "unary";
|
|
1749
|
+
input: typeof PauseRunRequestSchema;
|
|
1750
|
+
output: typeof PauseRunResponseSchema;
|
|
1751
|
+
};
|
|
1752
|
+
/**
|
|
1753
|
+
* ResumeRun resumes a paused workflow.
|
|
1754
|
+
*
|
|
1755
|
+
* @generated from rpc workflows.v1.WorkflowService.ResumeRun
|
|
1756
|
+
*/
|
|
1757
|
+
resumeRun: {
|
|
1758
|
+
methodKind: "unary";
|
|
1759
|
+
input: typeof ResumeRunRequestSchema;
|
|
1760
|
+
output: typeof ResumeRunResponseSchema;
|
|
1761
|
+
};
|
|
1762
|
+
/**
|
|
1763
|
+
* CancelRun terminates a workflow. In-progress steps are cancelled and
|
|
1764
|
+
* no compensation is triggered.
|
|
1765
|
+
*
|
|
1766
|
+
* @generated from rpc workflows.v1.WorkflowService.CancelRun
|
|
1767
|
+
*/
|
|
1768
|
+
cancelRun: {
|
|
1769
|
+
methodKind: "unary";
|
|
1770
|
+
input: typeof CancelRunRequestSchema;
|
|
1771
|
+
output: typeof CancelRunResponseSchema;
|
|
1772
|
+
};
|
|
1773
|
+
/**
|
|
1774
|
+
* CompensateRun triggers the compensation path for a failed workflow,
|
|
1775
|
+
* executing compensation steps in reverse topological order.
|
|
1776
|
+
*
|
|
1777
|
+
* @generated from rpc workflows.v1.WorkflowService.CompensateRun
|
|
1778
|
+
*/
|
|
1779
|
+
compensateRun: {
|
|
1780
|
+
methodKind: "unary";
|
|
1781
|
+
input: typeof CompensateRunRequestSchema;
|
|
1782
|
+
output: typeof CompensateRunResponseSchema;
|
|
1783
|
+
};
|
|
1784
|
+
}>;
|