weave-typescript 0.45.0 → 0.47.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.
@@ -5,26 +5,26 @@
5
5
  // protoc unknown
6
6
  // source: weaveapi/workflow/v1/service.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.WorkflowServiceDefinition = exports.WorkflowServiceClientImpl = exports.WorkflowServiceServiceName = exports.WatchWorkflowRunEventsResponse = exports.WatchWorkflowRunEventsRequest = exports.ListWorkflowRunsResponse = exports.ListWorkflowRunsRequest = exports.GetWorkflowRunResponse = exports.GetWorkflowRunRequest = exports.RunWorkflowResponse = exports.RunWorkflowRequest = exports.ListWorkflowVersionsResponse = exports.ListWorkflowVersionsRequest = exports.GetWorkflowVersionResponse = exports.GetWorkflowVersionRequest = exports.PublishWorkflowTemplateResponse = exports.PublishWorkflowTemplateRequest = exports.PlanWorkflowPublishResponse = exports.PlanWorkflowPublishRequest = exports.UpdateWorkflowDraftResponse = exports.UpdateWorkflowDraftRequest = exports.ListWorkflowTemplatesResponse = exports.ListWorkflowTemplatesRequest = exports.GetWorkflowTemplateResponse = exports.GetWorkflowTemplateRequest = exports.CreateWorkflowTemplateResponse = exports.CreateWorkflowTemplateRequest = exports.protobufPackage = void 0;
8
+ exports.WorkflowServiceDefinition = exports.WorkflowServiceClientImpl = exports.WorkflowServiceServiceName = exports.WatchWorkflowRunEventsResponse = exports.WatchWorkflowRunEventsRequest = exports.ListWorkflowRunsResponse = exports.ListWorkflowRunsRequest = exports.GetWorkflowRunResponse = exports.GetWorkflowRunRequest = exports.RunWorkflowResponse = exports.RunWorkflowRequest = exports.ListWorkflowVersionsResponse = exports.ListWorkflowVersionsRequest = exports.GetWorkflowVersionResponse = exports.GetWorkflowVersionRequest = exports.PublishWorkflowDefinitionResponse = exports.PublishWorkflowDefinitionRequest = exports.PlanWorkflowPublishResponse = exports.PlanWorkflowPublishRequest = exports.UpdateWorkflowDraftResponse = exports.UpdateWorkflowDraftRequest = exports.ListWorkflowDefinitionsResponse = exports.ListWorkflowDefinitionsRequest = exports.GetWorkflowDefinitionResponse = exports.GetWorkflowDefinitionRequest = exports.CreateWorkflowDefinitionResponse = exports.CreateWorkflowDefinitionRequest = exports.protobufPackage = void 0;
9
9
  /* eslint-disable */
10
10
  const wire_1 = require("@bufbuild/protobuf/wire");
11
11
  const operators_1 = require("rxjs/operators");
12
12
  const struct_pb_1 = require("../../../google/protobuf/struct.pb");
13
13
  const workflow_pb_1 = require("./workflow.pb");
14
14
  exports.protobufPackage = "weaveapi.workflow.v1";
15
- function createBaseCreateWorkflowTemplateRequest() {
15
+ function createBaseCreateWorkflowDefinitionRequest() {
16
16
  return {
17
17
  organizationId: "",
18
18
  slug: "",
19
19
  name: "",
20
20
  description: "",
21
- definition: undefined,
21
+ graph: undefined,
22
22
  inputSchema: undefined,
23
23
  outputSchema: undefined,
24
24
  metadata: undefined,
25
25
  };
26
26
  }
27
- exports.CreateWorkflowTemplateRequest = {
27
+ exports.CreateWorkflowDefinitionRequest = {
28
28
  encode(message, writer = new wire_1.BinaryWriter()) {
29
29
  if (message.organizationId !== "") {
30
30
  writer.uint32(10).string(message.organizationId);
@@ -38,8 +38,8 @@ exports.CreateWorkflowTemplateRequest = {
38
38
  if (message.description !== "") {
39
39
  writer.uint32(34).string(message.description);
40
40
  }
41
- if (message.definition !== undefined) {
42
- workflow_pb_1.WorkflowDefinition.encode(message.definition, writer.uint32(42).fork()).join();
41
+ if (message.graph !== undefined) {
42
+ workflow_pb_1.WorkflowGraph.encode(message.graph, writer.uint32(42).fork()).join();
43
43
  }
44
44
  if (message.inputSchema !== undefined) {
45
45
  struct_pb_1.Struct.encode(struct_pb_1.Struct.wrap(message.inputSchema), writer.uint32(50).fork()).join();
@@ -55,7 +55,7 @@ exports.CreateWorkflowTemplateRequest = {
55
55
  decode(input, length) {
56
56
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
57
57
  const end = length === undefined ? reader.len : reader.pos + length;
58
- const message = createBaseCreateWorkflowTemplateRequest();
58
+ const message = createBaseCreateWorkflowDefinitionRequest();
59
59
  while (reader.pos < end) {
60
60
  const tag = reader.uint32();
61
61
  switch (tag >>> 3) {
@@ -91,7 +91,7 @@ exports.CreateWorkflowTemplateRequest = {
91
91
  if (tag !== 42) {
92
92
  break;
93
93
  }
94
- message.definition = workflow_pb_1.WorkflowDefinition.decode(reader, reader.uint32());
94
+ message.graph = workflow_pb_1.WorkflowGraph.decode(reader, reader.uint32());
95
95
  continue;
96
96
  }
97
97
  case 6: {
@@ -133,7 +133,7 @@ exports.CreateWorkflowTemplateRequest = {
133
133
  slug: isSet(object.slug) ? globalThis.String(object.slug) : "",
134
134
  name: isSet(object.name) ? globalThis.String(object.name) : "",
135
135
  description: isSet(object.description) ? globalThis.String(object.description) : "",
136
- definition: isSet(object.definition) ? workflow_pb_1.WorkflowDefinition.fromJSON(object.definition) : undefined,
136
+ graph: isSet(object.graph) ? workflow_pb_1.WorkflowGraph.fromJSON(object.graph) : undefined,
137
137
  inputSchema: isObject(object.inputSchema)
138
138
  ? object.inputSchema
139
139
  : isObject(object.input_schema)
@@ -161,8 +161,8 @@ exports.CreateWorkflowTemplateRequest = {
161
161
  if (message.description !== "") {
162
162
  obj.description = message.description;
163
163
  }
164
- if (message.definition !== undefined) {
165
- obj.definition = workflow_pb_1.WorkflowDefinition.toJSON(message.definition);
164
+ if (message.graph !== undefined) {
165
+ obj.graph = workflow_pb_1.WorkflowGraph.toJSON(message.graph);
166
166
  }
167
167
  if (message.inputSchema !== undefined) {
168
168
  obj.inputSchema = message.inputSchema;
@@ -176,17 +176,17 @@ exports.CreateWorkflowTemplateRequest = {
176
176
  return obj;
177
177
  },
178
178
  create(base) {
179
- return exports.CreateWorkflowTemplateRequest.fromPartial(base !== null && base !== void 0 ? base : {});
179
+ return exports.CreateWorkflowDefinitionRequest.fromPartial(base !== null && base !== void 0 ? base : {});
180
180
  },
181
181
  fromPartial(object) {
182
182
  var _a, _b, _c, _d, _e, _f, _g;
183
- const message = createBaseCreateWorkflowTemplateRequest();
183
+ const message = createBaseCreateWorkflowDefinitionRequest();
184
184
  message.organizationId = (_a = object.organizationId) !== null && _a !== void 0 ? _a : "";
185
185
  message.slug = (_b = object.slug) !== null && _b !== void 0 ? _b : "";
186
186
  message.name = (_c = object.name) !== null && _c !== void 0 ? _c : "";
187
187
  message.description = (_d = object.description) !== null && _d !== void 0 ? _d : "";
188
- message.definition = (object.definition !== undefined && object.definition !== null)
189
- ? workflow_pb_1.WorkflowDefinition.fromPartial(object.definition)
188
+ message.graph = (object.graph !== undefined && object.graph !== null)
189
+ ? workflow_pb_1.WorkflowGraph.fromPartial(object.graph)
190
190
  : undefined;
191
191
  message.inputSchema = (_e = object.inputSchema) !== null && _e !== void 0 ? _e : undefined;
192
192
  message.outputSchema = (_f = object.outputSchema) !== null && _f !== void 0 ? _f : undefined;
@@ -194,13 +194,13 @@ exports.CreateWorkflowTemplateRequest = {
194
194
  return message;
195
195
  },
196
196
  };
197
- function createBaseCreateWorkflowTemplateResponse() {
198
- return { template: undefined, draft: undefined };
197
+ function createBaseCreateWorkflowDefinitionResponse() {
198
+ return { definition: undefined, draft: undefined };
199
199
  }
200
- exports.CreateWorkflowTemplateResponse = {
200
+ exports.CreateWorkflowDefinitionResponse = {
201
201
  encode(message, writer = new wire_1.BinaryWriter()) {
202
- if (message.template !== undefined) {
203
- workflow_pb_1.WorkflowTemplate.encode(message.template, writer.uint32(10).fork()).join();
202
+ if (message.definition !== undefined) {
203
+ workflow_pb_1.WorkflowDefinition.encode(message.definition, writer.uint32(10).fork()).join();
204
204
  }
205
205
  if (message.draft !== undefined) {
206
206
  workflow_pb_1.WorkflowDraft.encode(message.draft, writer.uint32(18).fork()).join();
@@ -210,7 +210,7 @@ exports.CreateWorkflowTemplateResponse = {
210
210
  decode(input, length) {
211
211
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
212
212
  const end = length === undefined ? reader.len : reader.pos + length;
213
- const message = createBaseCreateWorkflowTemplateResponse();
213
+ const message = createBaseCreateWorkflowDefinitionResponse();
214
214
  while (reader.pos < end) {
215
215
  const tag = reader.uint32();
216
216
  switch (tag >>> 3) {
@@ -218,7 +218,7 @@ exports.CreateWorkflowTemplateResponse = {
218
218
  if (tag !== 10) {
219
219
  break;
220
220
  }
221
- message.template = workflow_pb_1.WorkflowTemplate.decode(reader, reader.uint32());
221
+ message.definition = workflow_pb_1.WorkflowDefinition.decode(reader, reader.uint32());
222
222
  continue;
223
223
  }
224
224
  case 2: {
@@ -238,14 +238,14 @@ exports.CreateWorkflowTemplateResponse = {
238
238
  },
239
239
  fromJSON(object) {
240
240
  return {
241
- template: isSet(object.template) ? workflow_pb_1.WorkflowTemplate.fromJSON(object.template) : undefined,
241
+ definition: isSet(object.definition) ? workflow_pb_1.WorkflowDefinition.fromJSON(object.definition) : undefined,
242
242
  draft: isSet(object.draft) ? workflow_pb_1.WorkflowDraft.fromJSON(object.draft) : undefined,
243
243
  };
244
244
  },
245
245
  toJSON(message) {
246
246
  const obj = {};
247
- if (message.template !== undefined) {
248
- obj.template = workflow_pb_1.WorkflowTemplate.toJSON(message.template);
247
+ if (message.definition !== undefined) {
248
+ obj.definition = workflow_pb_1.WorkflowDefinition.toJSON(message.definition);
249
249
  }
250
250
  if (message.draft !== undefined) {
251
251
  obj.draft = workflow_pb_1.WorkflowDraft.toJSON(message.draft);
@@ -253,12 +253,12 @@ exports.CreateWorkflowTemplateResponse = {
253
253
  return obj;
254
254
  },
255
255
  create(base) {
256
- return exports.CreateWorkflowTemplateResponse.fromPartial(base !== null && base !== void 0 ? base : {});
256
+ return exports.CreateWorkflowDefinitionResponse.fromPartial(base !== null && base !== void 0 ? base : {});
257
257
  },
258
258
  fromPartial(object) {
259
- const message = createBaseCreateWorkflowTemplateResponse();
260
- message.template = (object.template !== undefined && object.template !== null)
261
- ? workflow_pb_1.WorkflowTemplate.fromPartial(object.template)
259
+ const message = createBaseCreateWorkflowDefinitionResponse();
260
+ message.definition = (object.definition !== undefined && object.definition !== null)
261
+ ? workflow_pb_1.WorkflowDefinition.fromPartial(object.definition)
262
262
  : undefined;
263
263
  message.draft = (object.draft !== undefined && object.draft !== null)
264
264
  ? workflow_pb_1.WorkflowDraft.fromPartial(object.draft)
@@ -266,23 +266,23 @@ exports.CreateWorkflowTemplateResponse = {
266
266
  return message;
267
267
  },
268
268
  };
269
- function createBaseGetWorkflowTemplateRequest() {
270
- return { organizationId: "", workflowTemplateId: "" };
269
+ function createBaseGetWorkflowDefinitionRequest() {
270
+ return { organizationId: "", workflowDefinitionId: "" };
271
271
  }
272
- exports.GetWorkflowTemplateRequest = {
272
+ exports.GetWorkflowDefinitionRequest = {
273
273
  encode(message, writer = new wire_1.BinaryWriter()) {
274
274
  if (message.organizationId !== "") {
275
275
  writer.uint32(10).string(message.organizationId);
276
276
  }
277
- if (message.workflowTemplateId !== "") {
278
- writer.uint32(18).string(message.workflowTemplateId);
277
+ if (message.workflowDefinitionId !== "") {
278
+ writer.uint32(18).string(message.workflowDefinitionId);
279
279
  }
280
280
  return writer;
281
281
  },
282
282
  decode(input, length) {
283
283
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
284
284
  const end = length === undefined ? reader.len : reader.pos + length;
285
- const message = createBaseGetWorkflowTemplateRequest();
285
+ const message = createBaseGetWorkflowDefinitionRequest();
286
286
  while (reader.pos < end) {
287
287
  const tag = reader.uint32();
288
288
  switch (tag >>> 3) {
@@ -297,7 +297,7 @@ exports.GetWorkflowTemplateRequest = {
297
297
  if (tag !== 18) {
298
298
  break;
299
299
  }
300
- message.workflowTemplateId = reader.string();
300
+ message.workflowDefinitionId = reader.string();
301
301
  continue;
302
302
  }
303
303
  }
@@ -315,10 +315,10 @@ exports.GetWorkflowTemplateRequest = {
315
315
  : isSet(object.organization_id)
316
316
  ? globalThis.String(object.organization_id)
317
317
  : "",
318
- workflowTemplateId: isSet(object.workflowTemplateId)
319
- ? globalThis.String(object.workflowTemplateId)
320
- : isSet(object.workflow_template_id)
321
- ? globalThis.String(object.workflow_template_id)
318
+ workflowDefinitionId: isSet(object.workflowDefinitionId)
319
+ ? globalThis.String(object.workflowDefinitionId)
320
+ : isSet(object.workflow_definition_id)
321
+ ? globalThis.String(object.workflow_definition_id)
322
322
  : "",
323
323
  };
324
324
  },
@@ -327,29 +327,29 @@ exports.GetWorkflowTemplateRequest = {
327
327
  if (message.organizationId !== "") {
328
328
  obj.organizationId = message.organizationId;
329
329
  }
330
- if (message.workflowTemplateId !== "") {
331
- obj.workflowTemplateId = message.workflowTemplateId;
330
+ if (message.workflowDefinitionId !== "") {
331
+ obj.workflowDefinitionId = message.workflowDefinitionId;
332
332
  }
333
333
  return obj;
334
334
  },
335
335
  create(base) {
336
- return exports.GetWorkflowTemplateRequest.fromPartial(base !== null && base !== void 0 ? base : {});
336
+ return exports.GetWorkflowDefinitionRequest.fromPartial(base !== null && base !== void 0 ? base : {});
337
337
  },
338
338
  fromPartial(object) {
339
339
  var _a, _b;
340
- const message = createBaseGetWorkflowTemplateRequest();
340
+ const message = createBaseGetWorkflowDefinitionRequest();
341
341
  message.organizationId = (_a = object.organizationId) !== null && _a !== void 0 ? _a : "";
342
- message.workflowTemplateId = (_b = object.workflowTemplateId) !== null && _b !== void 0 ? _b : "";
342
+ message.workflowDefinitionId = (_b = object.workflowDefinitionId) !== null && _b !== void 0 ? _b : "";
343
343
  return message;
344
344
  },
345
345
  };
346
- function createBaseGetWorkflowTemplateResponse() {
347
- return { template: undefined, draft: undefined, latestVersion: undefined };
346
+ function createBaseGetWorkflowDefinitionResponse() {
347
+ return { definition: undefined, draft: undefined, latestVersion: undefined };
348
348
  }
349
- exports.GetWorkflowTemplateResponse = {
349
+ exports.GetWorkflowDefinitionResponse = {
350
350
  encode(message, writer = new wire_1.BinaryWriter()) {
351
- if (message.template !== undefined) {
352
- workflow_pb_1.WorkflowTemplate.encode(message.template, writer.uint32(10).fork()).join();
351
+ if (message.definition !== undefined) {
352
+ workflow_pb_1.WorkflowDefinition.encode(message.definition, writer.uint32(10).fork()).join();
353
353
  }
354
354
  if (message.draft !== undefined) {
355
355
  workflow_pb_1.WorkflowDraft.encode(message.draft, writer.uint32(18).fork()).join();
@@ -362,7 +362,7 @@ exports.GetWorkflowTemplateResponse = {
362
362
  decode(input, length) {
363
363
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
364
364
  const end = length === undefined ? reader.len : reader.pos + length;
365
- const message = createBaseGetWorkflowTemplateResponse();
365
+ const message = createBaseGetWorkflowDefinitionResponse();
366
366
  while (reader.pos < end) {
367
367
  const tag = reader.uint32();
368
368
  switch (tag >>> 3) {
@@ -370,7 +370,7 @@ exports.GetWorkflowTemplateResponse = {
370
370
  if (tag !== 10) {
371
371
  break;
372
372
  }
373
- message.template = workflow_pb_1.WorkflowTemplate.decode(reader, reader.uint32());
373
+ message.definition = workflow_pb_1.WorkflowDefinition.decode(reader, reader.uint32());
374
374
  continue;
375
375
  }
376
376
  case 2: {
@@ -397,7 +397,7 @@ exports.GetWorkflowTemplateResponse = {
397
397
  },
398
398
  fromJSON(object) {
399
399
  return {
400
- template: isSet(object.template) ? workflow_pb_1.WorkflowTemplate.fromJSON(object.template) : undefined,
400
+ definition: isSet(object.definition) ? workflow_pb_1.WorkflowDefinition.fromJSON(object.definition) : undefined,
401
401
  draft: isSet(object.draft) ? workflow_pb_1.WorkflowDraft.fromJSON(object.draft) : undefined,
402
402
  latestVersion: isSet(object.latestVersion)
403
403
  ? workflow_pb_1.WorkflowVersion.fromJSON(object.latestVersion)
@@ -408,8 +408,8 @@ exports.GetWorkflowTemplateResponse = {
408
408
  },
409
409
  toJSON(message) {
410
410
  const obj = {};
411
- if (message.template !== undefined) {
412
- obj.template = workflow_pb_1.WorkflowTemplate.toJSON(message.template);
411
+ if (message.definition !== undefined) {
412
+ obj.definition = workflow_pb_1.WorkflowDefinition.toJSON(message.definition);
413
413
  }
414
414
  if (message.draft !== undefined) {
415
415
  obj.draft = workflow_pb_1.WorkflowDraft.toJSON(message.draft);
@@ -420,12 +420,12 @@ exports.GetWorkflowTemplateResponse = {
420
420
  return obj;
421
421
  },
422
422
  create(base) {
423
- return exports.GetWorkflowTemplateResponse.fromPartial(base !== null && base !== void 0 ? base : {});
423
+ return exports.GetWorkflowDefinitionResponse.fromPartial(base !== null && base !== void 0 ? base : {});
424
424
  },
425
425
  fromPartial(object) {
426
- const message = createBaseGetWorkflowTemplateResponse();
427
- message.template = (object.template !== undefined && object.template !== null)
428
- ? workflow_pb_1.WorkflowTemplate.fromPartial(object.template)
426
+ const message = createBaseGetWorkflowDefinitionResponse();
427
+ message.definition = (object.definition !== undefined && object.definition !== null)
428
+ ? workflow_pb_1.WorkflowDefinition.fromPartial(object.definition)
429
429
  : undefined;
430
430
  message.draft = (object.draft !== undefined && object.draft !== null)
431
431
  ? workflow_pb_1.WorkflowDraft.fromPartial(object.draft)
@@ -436,10 +436,10 @@ exports.GetWorkflowTemplateResponse = {
436
436
  return message;
437
437
  },
438
438
  };
439
- function createBaseListWorkflowTemplatesRequest() {
439
+ function createBaseListWorkflowDefinitionsRequest() {
440
440
  return { organizationId: "", status: 0, pageSize: 0, pageToken: "" };
441
441
  }
442
- exports.ListWorkflowTemplatesRequest = {
442
+ exports.ListWorkflowDefinitionsRequest = {
443
443
  encode(message, writer = new wire_1.BinaryWriter()) {
444
444
  if (message.organizationId !== "") {
445
445
  writer.uint32(10).string(message.organizationId);
@@ -458,7 +458,7 @@ exports.ListWorkflowTemplatesRequest = {
458
458
  decode(input, length) {
459
459
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
460
460
  const end = length === undefined ? reader.len : reader.pos + length;
461
- const message = createBaseListWorkflowTemplatesRequest();
461
+ const message = createBaseListWorkflowDefinitionsRequest();
462
462
  while (reader.pos < end) {
463
463
  const tag = reader.uint32();
464
464
  switch (tag >>> 3) {
@@ -505,7 +505,7 @@ exports.ListWorkflowTemplatesRequest = {
505
505
  : isSet(object.organization_id)
506
506
  ? globalThis.String(object.organization_id)
507
507
  : "",
508
- status: isSet(object.status) ? (0, workflow_pb_1.workflowTemplateStatusFromJSON)(object.status) : 0,
508
+ status: isSet(object.status) ? (0, workflow_pb_1.workflowDefinitionStatusFromJSON)(object.status) : 0,
509
509
  pageSize: isSet(object.pageSize)
510
510
  ? globalThis.Number(object.pageSize)
511
511
  : isSet(object.page_size)
@@ -524,7 +524,7 @@ exports.ListWorkflowTemplatesRequest = {
524
524
  obj.organizationId = message.organizationId;
525
525
  }
526
526
  if (message.status !== 0) {
527
- obj.status = (0, workflow_pb_1.workflowTemplateStatusToJSON)(message.status);
527
+ obj.status = (0, workflow_pb_1.workflowDefinitionStatusToJSON)(message.status);
528
528
  }
529
529
  if (message.pageSize !== 0) {
530
530
  obj.pageSize = Math.round(message.pageSize);
@@ -535,11 +535,11 @@ exports.ListWorkflowTemplatesRequest = {
535
535
  return obj;
536
536
  },
537
537
  create(base) {
538
- return exports.ListWorkflowTemplatesRequest.fromPartial(base !== null && base !== void 0 ? base : {});
538
+ return exports.ListWorkflowDefinitionsRequest.fromPartial(base !== null && base !== void 0 ? base : {});
539
539
  },
540
540
  fromPartial(object) {
541
541
  var _a, _b, _c, _d;
542
- const message = createBaseListWorkflowTemplatesRequest();
542
+ const message = createBaseListWorkflowDefinitionsRequest();
543
543
  message.organizationId = (_a = object.organizationId) !== null && _a !== void 0 ? _a : "";
544
544
  message.status = (_b = object.status) !== null && _b !== void 0 ? _b : 0;
545
545
  message.pageSize = (_c = object.pageSize) !== null && _c !== void 0 ? _c : 0;
@@ -547,13 +547,13 @@ exports.ListWorkflowTemplatesRequest = {
547
547
  return message;
548
548
  },
549
549
  };
550
- function createBaseListWorkflowTemplatesResponse() {
551
- return { templates: [], nextPageToken: "" };
550
+ function createBaseListWorkflowDefinitionsResponse() {
551
+ return { definitions: [], nextPageToken: "" };
552
552
  }
553
- exports.ListWorkflowTemplatesResponse = {
553
+ exports.ListWorkflowDefinitionsResponse = {
554
554
  encode(message, writer = new wire_1.BinaryWriter()) {
555
- for (const v of message.templates) {
556
- workflow_pb_1.WorkflowTemplate.encode(v, writer.uint32(10).fork()).join();
555
+ for (const v of message.definitions) {
556
+ workflow_pb_1.WorkflowDefinition.encode(v, writer.uint32(10).fork()).join();
557
557
  }
558
558
  if (message.nextPageToken !== "") {
559
559
  writer.uint32(18).string(message.nextPageToken);
@@ -563,7 +563,7 @@ exports.ListWorkflowTemplatesResponse = {
563
563
  decode(input, length) {
564
564
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
565
565
  const end = length === undefined ? reader.len : reader.pos + length;
566
- const message = createBaseListWorkflowTemplatesResponse();
566
+ const message = createBaseListWorkflowDefinitionsResponse();
567
567
  while (reader.pos < end) {
568
568
  const tag = reader.uint32();
569
569
  switch (tag >>> 3) {
@@ -571,7 +571,7 @@ exports.ListWorkflowTemplatesResponse = {
571
571
  if (tag !== 10) {
572
572
  break;
573
573
  }
574
- message.templates.push(workflow_pb_1.WorkflowTemplate.decode(reader, reader.uint32()));
574
+ message.definitions.push(workflow_pb_1.WorkflowDefinition.decode(reader, reader.uint32()));
575
575
  continue;
576
576
  }
577
577
  case 2: {
@@ -591,8 +591,8 @@ exports.ListWorkflowTemplatesResponse = {
591
591
  },
592
592
  fromJSON(object) {
593
593
  return {
594
- templates: globalThis.Array.isArray(object === null || object === void 0 ? void 0 : object.templates)
595
- ? object.templates.map((e) => workflow_pb_1.WorkflowTemplate.fromJSON(e))
594
+ definitions: globalThis.Array.isArray(object === null || object === void 0 ? void 0 : object.definitions)
595
+ ? object.definitions.map((e) => workflow_pb_1.WorkflowDefinition.fromJSON(e))
596
596
  : [],
597
597
  nextPageToken: isSet(object.nextPageToken)
598
598
  ? globalThis.String(object.nextPageToken)
@@ -604,8 +604,8 @@ exports.ListWorkflowTemplatesResponse = {
604
604
  toJSON(message) {
605
605
  var _a;
606
606
  const obj = {};
607
- if ((_a = message.templates) === null || _a === void 0 ? void 0 : _a.length) {
608
- obj.templates = message.templates.map((e) => workflow_pb_1.WorkflowTemplate.toJSON(e));
607
+ if ((_a = message.definitions) === null || _a === void 0 ? void 0 : _a.length) {
608
+ obj.definitions = message.definitions.map((e) => workflow_pb_1.WorkflowDefinition.toJSON(e));
609
609
  }
610
610
  if (message.nextPageToken !== "") {
611
611
  obj.nextPageToken = message.nextPageToken;
@@ -613,13 +613,13 @@ exports.ListWorkflowTemplatesResponse = {
613
613
  return obj;
614
614
  },
615
615
  create(base) {
616
- return exports.ListWorkflowTemplatesResponse.fromPartial(base !== null && base !== void 0 ? base : {});
616
+ return exports.ListWorkflowDefinitionsResponse.fromPartial(base !== null && base !== void 0 ? base : {});
617
617
  },
618
618
  fromPartial(object) {
619
619
  var _a;
620
620
  var _b;
621
- const message = createBaseListWorkflowTemplatesResponse();
622
- message.templates = ((_a = object.templates) === null || _a === void 0 ? void 0 : _a.map((e) => workflow_pb_1.WorkflowTemplate.fromPartial(e))) || [];
621
+ const message = createBaseListWorkflowDefinitionsResponse();
622
+ message.definitions = ((_a = object.definitions) === null || _a === void 0 ? void 0 : _a.map((e) => workflow_pb_1.WorkflowDefinition.fromPartial(e))) || [];
623
623
  message.nextPageToken = (_b = object.nextPageToken) !== null && _b !== void 0 ? _b : "";
624
624
  return message;
625
625
  },
@@ -627,11 +627,11 @@ exports.ListWorkflowTemplatesResponse = {
627
627
  function createBaseUpdateWorkflowDraftRequest() {
628
628
  return {
629
629
  organizationId: "",
630
- workflowTemplateId: "",
630
+ workflowDefinitionId: "",
631
631
  expectedRevision: 0,
632
632
  name: "",
633
633
  description: "",
634
- definition: undefined,
634
+ graph: undefined,
635
635
  inputSchema: undefined,
636
636
  outputSchema: undefined,
637
637
  metadata: undefined,
@@ -643,8 +643,8 @@ exports.UpdateWorkflowDraftRequest = {
643
643
  if (message.organizationId !== "") {
644
644
  writer.uint32(10).string(message.organizationId);
645
645
  }
646
- if (message.workflowTemplateId !== "") {
647
- writer.uint32(18).string(message.workflowTemplateId);
646
+ if (message.workflowDefinitionId !== "") {
647
+ writer.uint32(18).string(message.workflowDefinitionId);
648
648
  }
649
649
  if (message.expectedRevision !== 0) {
650
650
  writer.uint32(24).int32(message.expectedRevision);
@@ -655,8 +655,8 @@ exports.UpdateWorkflowDraftRequest = {
655
655
  if (message.description !== "") {
656
656
  writer.uint32(42).string(message.description);
657
657
  }
658
- if (message.definition !== undefined) {
659
- workflow_pb_1.WorkflowDefinition.encode(message.definition, writer.uint32(50).fork()).join();
658
+ if (message.graph !== undefined) {
659
+ workflow_pb_1.WorkflowGraph.encode(message.graph, writer.uint32(50).fork()).join();
660
660
  }
661
661
  if (message.inputSchema !== undefined) {
662
662
  struct_pb_1.Struct.encode(struct_pb_1.Struct.wrap(message.inputSchema), writer.uint32(58).fork()).join();
@@ -690,7 +690,7 @@ exports.UpdateWorkflowDraftRequest = {
690
690
  if (tag !== 18) {
691
691
  break;
692
692
  }
693
- message.workflowTemplateId = reader.string();
693
+ message.workflowDefinitionId = reader.string();
694
694
  continue;
695
695
  }
696
696
  case 3: {
@@ -718,7 +718,7 @@ exports.UpdateWorkflowDraftRequest = {
718
718
  if (tag !== 50) {
719
719
  break;
720
720
  }
721
- message.definition = workflow_pb_1.WorkflowDefinition.decode(reader, reader.uint32());
721
+ message.graph = workflow_pb_1.WorkflowGraph.decode(reader, reader.uint32());
722
722
  continue;
723
723
  }
724
724
  case 7: {
@@ -764,10 +764,10 @@ exports.UpdateWorkflowDraftRequest = {
764
764
  : isSet(object.organization_id)
765
765
  ? globalThis.String(object.organization_id)
766
766
  : "",
767
- workflowTemplateId: isSet(object.workflowTemplateId)
768
- ? globalThis.String(object.workflowTemplateId)
769
- : isSet(object.workflow_template_id)
770
- ? globalThis.String(object.workflow_template_id)
767
+ workflowDefinitionId: isSet(object.workflowDefinitionId)
768
+ ? globalThis.String(object.workflowDefinitionId)
769
+ : isSet(object.workflow_definition_id)
770
+ ? globalThis.String(object.workflow_definition_id)
771
771
  : "",
772
772
  expectedRevision: isSet(object.expectedRevision)
773
773
  ? globalThis.Number(object.expectedRevision)
@@ -776,7 +776,7 @@ exports.UpdateWorkflowDraftRequest = {
776
776
  : 0,
777
777
  name: isSet(object.name) ? globalThis.String(object.name) : "",
778
778
  description: isSet(object.description) ? globalThis.String(object.description) : "",
779
- definition: isSet(object.definition) ? workflow_pb_1.WorkflowDefinition.fromJSON(object.definition) : undefined,
779
+ graph: isSet(object.graph) ? workflow_pb_1.WorkflowGraph.fromJSON(object.graph) : undefined,
780
780
  inputSchema: isObject(object.inputSchema)
781
781
  ? object.inputSchema
782
782
  : isObject(object.input_schema)
@@ -796,8 +796,8 @@ exports.UpdateWorkflowDraftRequest = {
796
796
  if (message.organizationId !== "") {
797
797
  obj.organizationId = message.organizationId;
798
798
  }
799
- if (message.workflowTemplateId !== "") {
800
- obj.workflowTemplateId = message.workflowTemplateId;
799
+ if (message.workflowDefinitionId !== "") {
800
+ obj.workflowDefinitionId = message.workflowDefinitionId;
801
801
  }
802
802
  if (message.expectedRevision !== 0) {
803
803
  obj.expectedRevision = Math.round(message.expectedRevision);
@@ -808,8 +808,8 @@ exports.UpdateWorkflowDraftRequest = {
808
808
  if (message.description !== "") {
809
809
  obj.description = message.description;
810
810
  }
811
- if (message.definition !== undefined) {
812
- obj.definition = workflow_pb_1.WorkflowDefinition.toJSON(message.definition);
811
+ if (message.graph !== undefined) {
812
+ obj.graph = workflow_pb_1.WorkflowGraph.toJSON(message.graph);
813
813
  }
814
814
  if (message.inputSchema !== undefined) {
815
815
  obj.inputSchema = message.inputSchema;
@@ -832,12 +832,12 @@ exports.UpdateWorkflowDraftRequest = {
832
832
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
833
833
  const message = createBaseUpdateWorkflowDraftRequest();
834
834
  message.organizationId = (_a = object.organizationId) !== null && _a !== void 0 ? _a : "";
835
- message.workflowTemplateId = (_b = object.workflowTemplateId) !== null && _b !== void 0 ? _b : "";
835
+ message.workflowDefinitionId = (_b = object.workflowDefinitionId) !== null && _b !== void 0 ? _b : "";
836
836
  message.expectedRevision = (_c = object.expectedRevision) !== null && _c !== void 0 ? _c : 0;
837
837
  message.name = (_d = object.name) !== null && _d !== void 0 ? _d : "";
838
838
  message.description = (_e = object.description) !== null && _e !== void 0 ? _e : "";
839
- message.definition = (object.definition !== undefined && object.definition !== null)
840
- ? workflow_pb_1.WorkflowDefinition.fromPartial(object.definition)
839
+ message.graph = (object.graph !== undefined && object.graph !== null)
840
+ ? workflow_pb_1.WorkflowGraph.fromPartial(object.graph)
841
841
  : undefined;
842
842
  message.inputSchema = (_f = object.inputSchema) !== null && _f !== void 0 ? _f : undefined;
843
843
  message.outputSchema = (_g = object.outputSchema) !== null && _g !== void 0 ? _g : undefined;
@@ -900,15 +900,15 @@ exports.UpdateWorkflowDraftResponse = {
900
900
  },
901
901
  };
902
902
  function createBasePlanWorkflowPublishRequest() {
903
- return { organizationId: "", workflowTemplateId: "", draftRevision: 0 };
903
+ return { organizationId: "", workflowDefinitionId: "", draftRevision: 0 };
904
904
  }
905
905
  exports.PlanWorkflowPublishRequest = {
906
906
  encode(message, writer = new wire_1.BinaryWriter()) {
907
907
  if (message.organizationId !== "") {
908
908
  writer.uint32(10).string(message.organizationId);
909
909
  }
910
- if (message.workflowTemplateId !== "") {
911
- writer.uint32(18).string(message.workflowTemplateId);
910
+ if (message.workflowDefinitionId !== "") {
911
+ writer.uint32(18).string(message.workflowDefinitionId);
912
912
  }
913
913
  if (message.draftRevision !== 0) {
914
914
  writer.uint32(24).int32(message.draftRevision);
@@ -933,7 +933,7 @@ exports.PlanWorkflowPublishRequest = {
933
933
  if (tag !== 18) {
934
934
  break;
935
935
  }
936
- message.workflowTemplateId = reader.string();
936
+ message.workflowDefinitionId = reader.string();
937
937
  continue;
938
938
  }
939
939
  case 3: {
@@ -958,10 +958,10 @@ exports.PlanWorkflowPublishRequest = {
958
958
  : isSet(object.organization_id)
959
959
  ? globalThis.String(object.organization_id)
960
960
  : "",
961
- workflowTemplateId: isSet(object.workflowTemplateId)
962
- ? globalThis.String(object.workflowTemplateId)
963
- : isSet(object.workflow_template_id)
964
- ? globalThis.String(object.workflow_template_id)
961
+ workflowDefinitionId: isSet(object.workflowDefinitionId)
962
+ ? globalThis.String(object.workflowDefinitionId)
963
+ : isSet(object.workflow_definition_id)
964
+ ? globalThis.String(object.workflow_definition_id)
965
965
  : "",
966
966
  draftRevision: isSet(object.draftRevision)
967
967
  ? globalThis.Number(object.draftRevision)
@@ -975,8 +975,8 @@ exports.PlanWorkflowPublishRequest = {
975
975
  if (message.organizationId !== "") {
976
976
  obj.organizationId = message.organizationId;
977
977
  }
978
- if (message.workflowTemplateId !== "") {
979
- obj.workflowTemplateId = message.workflowTemplateId;
978
+ if (message.workflowDefinitionId !== "") {
979
+ obj.workflowDefinitionId = message.workflowDefinitionId;
980
980
  }
981
981
  if (message.draftRevision !== 0) {
982
982
  obj.draftRevision = Math.round(message.draftRevision);
@@ -990,7 +990,7 @@ exports.PlanWorkflowPublishRequest = {
990
990
  var _a, _b, _c;
991
991
  const message = createBasePlanWorkflowPublishRequest();
992
992
  message.organizationId = (_a = object.organizationId) !== null && _a !== void 0 ? _a : "";
993
- message.workflowTemplateId = (_b = object.workflowTemplateId) !== null && _b !== void 0 ? _b : "";
993
+ message.workflowDefinitionId = (_b = object.workflowDefinitionId) !== null && _b !== void 0 ? _b : "";
994
994
  message.draftRevision = (_c = object.draftRevision) !== null && _c !== void 0 ? _c : 0;
995
995
  return message;
996
996
  },
@@ -1048,16 +1048,16 @@ exports.PlanWorkflowPublishResponse = {
1048
1048
  return message;
1049
1049
  },
1050
1050
  };
1051
- function createBasePublishWorkflowTemplateRequest() {
1052
- return { organizationId: "", workflowTemplateId: "", draftRevision: 0 };
1051
+ function createBasePublishWorkflowDefinitionRequest() {
1052
+ return { organizationId: "", workflowDefinitionId: "", draftRevision: 0 };
1053
1053
  }
1054
- exports.PublishWorkflowTemplateRequest = {
1054
+ exports.PublishWorkflowDefinitionRequest = {
1055
1055
  encode(message, writer = new wire_1.BinaryWriter()) {
1056
1056
  if (message.organizationId !== "") {
1057
1057
  writer.uint32(10).string(message.organizationId);
1058
1058
  }
1059
- if (message.workflowTemplateId !== "") {
1060
- writer.uint32(18).string(message.workflowTemplateId);
1059
+ if (message.workflowDefinitionId !== "") {
1060
+ writer.uint32(18).string(message.workflowDefinitionId);
1061
1061
  }
1062
1062
  if (message.draftRevision !== 0) {
1063
1063
  writer.uint32(24).int32(message.draftRevision);
@@ -1067,7 +1067,7 @@ exports.PublishWorkflowTemplateRequest = {
1067
1067
  decode(input, length) {
1068
1068
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
1069
1069
  const end = length === undefined ? reader.len : reader.pos + length;
1070
- const message = createBasePublishWorkflowTemplateRequest();
1070
+ const message = createBasePublishWorkflowDefinitionRequest();
1071
1071
  while (reader.pos < end) {
1072
1072
  const tag = reader.uint32();
1073
1073
  switch (tag >>> 3) {
@@ -1082,7 +1082,7 @@ exports.PublishWorkflowTemplateRequest = {
1082
1082
  if (tag !== 18) {
1083
1083
  break;
1084
1084
  }
1085
- message.workflowTemplateId = reader.string();
1085
+ message.workflowDefinitionId = reader.string();
1086
1086
  continue;
1087
1087
  }
1088
1088
  case 3: {
@@ -1107,10 +1107,10 @@ exports.PublishWorkflowTemplateRequest = {
1107
1107
  : isSet(object.organization_id)
1108
1108
  ? globalThis.String(object.organization_id)
1109
1109
  : "",
1110
- workflowTemplateId: isSet(object.workflowTemplateId)
1111
- ? globalThis.String(object.workflowTemplateId)
1112
- : isSet(object.workflow_template_id)
1113
- ? globalThis.String(object.workflow_template_id)
1110
+ workflowDefinitionId: isSet(object.workflowDefinitionId)
1111
+ ? globalThis.String(object.workflowDefinitionId)
1112
+ : isSet(object.workflow_definition_id)
1113
+ ? globalThis.String(object.workflow_definition_id)
1114
1114
  : "",
1115
1115
  draftRevision: isSet(object.draftRevision)
1116
1116
  ? globalThis.Number(object.draftRevision)
@@ -1124,8 +1124,8 @@ exports.PublishWorkflowTemplateRequest = {
1124
1124
  if (message.organizationId !== "") {
1125
1125
  obj.organizationId = message.organizationId;
1126
1126
  }
1127
- if (message.workflowTemplateId !== "") {
1128
- obj.workflowTemplateId = message.workflowTemplateId;
1127
+ if (message.workflowDefinitionId !== "") {
1128
+ obj.workflowDefinitionId = message.workflowDefinitionId;
1129
1129
  }
1130
1130
  if (message.draftRevision !== 0) {
1131
1131
  obj.draftRevision = Math.round(message.draftRevision);
@@ -1133,21 +1133,21 @@ exports.PublishWorkflowTemplateRequest = {
1133
1133
  return obj;
1134
1134
  },
1135
1135
  create(base) {
1136
- return exports.PublishWorkflowTemplateRequest.fromPartial(base !== null && base !== void 0 ? base : {});
1136
+ return exports.PublishWorkflowDefinitionRequest.fromPartial(base !== null && base !== void 0 ? base : {});
1137
1137
  },
1138
1138
  fromPartial(object) {
1139
1139
  var _a, _b, _c;
1140
- const message = createBasePublishWorkflowTemplateRequest();
1140
+ const message = createBasePublishWorkflowDefinitionRequest();
1141
1141
  message.organizationId = (_a = object.organizationId) !== null && _a !== void 0 ? _a : "";
1142
- message.workflowTemplateId = (_b = object.workflowTemplateId) !== null && _b !== void 0 ? _b : "";
1142
+ message.workflowDefinitionId = (_b = object.workflowDefinitionId) !== null && _b !== void 0 ? _b : "";
1143
1143
  message.draftRevision = (_c = object.draftRevision) !== null && _c !== void 0 ? _c : 0;
1144
1144
  return message;
1145
1145
  },
1146
1146
  };
1147
- function createBasePublishWorkflowTemplateResponse() {
1147
+ function createBasePublishWorkflowDefinitionResponse() {
1148
1148
  return { version: undefined };
1149
1149
  }
1150
- exports.PublishWorkflowTemplateResponse = {
1150
+ exports.PublishWorkflowDefinitionResponse = {
1151
1151
  encode(message, writer = new wire_1.BinaryWriter()) {
1152
1152
  if (message.version !== undefined) {
1153
1153
  workflow_pb_1.WorkflowVersion.encode(message.version, writer.uint32(10).fork()).join();
@@ -1157,7 +1157,7 @@ exports.PublishWorkflowTemplateResponse = {
1157
1157
  decode(input, length) {
1158
1158
  const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
1159
1159
  const end = length === undefined ? reader.len : reader.pos + length;
1160
- const message = createBasePublishWorkflowTemplateResponse();
1160
+ const message = createBasePublishWorkflowDefinitionResponse();
1161
1161
  while (reader.pos < end) {
1162
1162
  const tag = reader.uint32();
1163
1163
  switch (tag >>> 3) {
@@ -1187,10 +1187,10 @@ exports.PublishWorkflowTemplateResponse = {
1187
1187
  return obj;
1188
1188
  },
1189
1189
  create(base) {
1190
- return exports.PublishWorkflowTemplateResponse.fromPartial(base !== null && base !== void 0 ? base : {});
1190
+ return exports.PublishWorkflowDefinitionResponse.fromPartial(base !== null && base !== void 0 ? base : {});
1191
1191
  },
1192
1192
  fromPartial(object) {
1193
- const message = createBasePublishWorkflowTemplateResponse();
1193
+ const message = createBasePublishWorkflowDefinitionResponse();
1194
1194
  message.version = (object.version !== undefined && object.version !== null)
1195
1195
  ? workflow_pb_1.WorkflowVersion.fromPartial(object.version)
1196
1196
  : undefined;
@@ -1198,15 +1198,15 @@ exports.PublishWorkflowTemplateResponse = {
1198
1198
  },
1199
1199
  };
1200
1200
  function createBaseGetWorkflowVersionRequest() {
1201
- return { organizationId: "", workflowTemplateId: "", version: 0 };
1201
+ return { organizationId: "", workflowDefinitionId: "", version: 0 };
1202
1202
  }
1203
1203
  exports.GetWorkflowVersionRequest = {
1204
1204
  encode(message, writer = new wire_1.BinaryWriter()) {
1205
1205
  if (message.organizationId !== "") {
1206
1206
  writer.uint32(10).string(message.organizationId);
1207
1207
  }
1208
- if (message.workflowTemplateId !== "") {
1209
- writer.uint32(18).string(message.workflowTemplateId);
1208
+ if (message.workflowDefinitionId !== "") {
1209
+ writer.uint32(18).string(message.workflowDefinitionId);
1210
1210
  }
1211
1211
  if (message.version !== 0) {
1212
1212
  writer.uint32(24).int32(message.version);
@@ -1231,7 +1231,7 @@ exports.GetWorkflowVersionRequest = {
1231
1231
  if (tag !== 18) {
1232
1232
  break;
1233
1233
  }
1234
- message.workflowTemplateId = reader.string();
1234
+ message.workflowDefinitionId = reader.string();
1235
1235
  continue;
1236
1236
  }
1237
1237
  case 3: {
@@ -1256,10 +1256,10 @@ exports.GetWorkflowVersionRequest = {
1256
1256
  : isSet(object.organization_id)
1257
1257
  ? globalThis.String(object.organization_id)
1258
1258
  : "",
1259
- workflowTemplateId: isSet(object.workflowTemplateId)
1260
- ? globalThis.String(object.workflowTemplateId)
1261
- : isSet(object.workflow_template_id)
1262
- ? globalThis.String(object.workflow_template_id)
1259
+ workflowDefinitionId: isSet(object.workflowDefinitionId)
1260
+ ? globalThis.String(object.workflowDefinitionId)
1261
+ : isSet(object.workflow_definition_id)
1262
+ ? globalThis.String(object.workflow_definition_id)
1263
1263
  : "",
1264
1264
  version: isSet(object.version) ? globalThis.Number(object.version) : 0,
1265
1265
  };
@@ -1269,8 +1269,8 @@ exports.GetWorkflowVersionRequest = {
1269
1269
  if (message.organizationId !== "") {
1270
1270
  obj.organizationId = message.organizationId;
1271
1271
  }
1272
- if (message.workflowTemplateId !== "") {
1273
- obj.workflowTemplateId = message.workflowTemplateId;
1272
+ if (message.workflowDefinitionId !== "") {
1273
+ obj.workflowDefinitionId = message.workflowDefinitionId;
1274
1274
  }
1275
1275
  if (message.version !== 0) {
1276
1276
  obj.version = Math.round(message.version);
@@ -1284,7 +1284,7 @@ exports.GetWorkflowVersionRequest = {
1284
1284
  var _a, _b, _c;
1285
1285
  const message = createBaseGetWorkflowVersionRequest();
1286
1286
  message.organizationId = (_a = object.organizationId) !== null && _a !== void 0 ? _a : "";
1287
- message.workflowTemplateId = (_b = object.workflowTemplateId) !== null && _b !== void 0 ? _b : "";
1287
+ message.workflowDefinitionId = (_b = object.workflowDefinitionId) !== null && _b !== void 0 ? _b : "";
1288
1288
  message.version = (_c = object.version) !== null && _c !== void 0 ? _c : 0;
1289
1289
  return message;
1290
1290
  },
@@ -1343,15 +1343,15 @@ exports.GetWorkflowVersionResponse = {
1343
1343
  },
1344
1344
  };
1345
1345
  function createBaseListWorkflowVersionsRequest() {
1346
- return { organizationId: "", workflowTemplateId: "", pageSize: 0, pageToken: "" };
1346
+ return { organizationId: "", workflowDefinitionId: "", pageSize: 0, pageToken: "" };
1347
1347
  }
1348
1348
  exports.ListWorkflowVersionsRequest = {
1349
1349
  encode(message, writer = new wire_1.BinaryWriter()) {
1350
1350
  if (message.organizationId !== "") {
1351
1351
  writer.uint32(10).string(message.organizationId);
1352
1352
  }
1353
- if (message.workflowTemplateId !== "") {
1354
- writer.uint32(18).string(message.workflowTemplateId);
1353
+ if (message.workflowDefinitionId !== "") {
1354
+ writer.uint32(18).string(message.workflowDefinitionId);
1355
1355
  }
1356
1356
  if (message.pageSize !== 0) {
1357
1357
  writer.uint32(24).int32(message.pageSize);
@@ -1379,7 +1379,7 @@ exports.ListWorkflowVersionsRequest = {
1379
1379
  if (tag !== 18) {
1380
1380
  break;
1381
1381
  }
1382
- message.workflowTemplateId = reader.string();
1382
+ message.workflowDefinitionId = reader.string();
1383
1383
  continue;
1384
1384
  }
1385
1385
  case 3: {
@@ -1411,10 +1411,10 @@ exports.ListWorkflowVersionsRequest = {
1411
1411
  : isSet(object.organization_id)
1412
1412
  ? globalThis.String(object.organization_id)
1413
1413
  : "",
1414
- workflowTemplateId: isSet(object.workflowTemplateId)
1415
- ? globalThis.String(object.workflowTemplateId)
1416
- : isSet(object.workflow_template_id)
1417
- ? globalThis.String(object.workflow_template_id)
1414
+ workflowDefinitionId: isSet(object.workflowDefinitionId)
1415
+ ? globalThis.String(object.workflowDefinitionId)
1416
+ : isSet(object.workflow_definition_id)
1417
+ ? globalThis.String(object.workflow_definition_id)
1418
1418
  : "",
1419
1419
  pageSize: isSet(object.pageSize)
1420
1420
  ? globalThis.Number(object.pageSize)
@@ -1433,8 +1433,8 @@ exports.ListWorkflowVersionsRequest = {
1433
1433
  if (message.organizationId !== "") {
1434
1434
  obj.organizationId = message.organizationId;
1435
1435
  }
1436
- if (message.workflowTemplateId !== "") {
1437
- obj.workflowTemplateId = message.workflowTemplateId;
1436
+ if (message.workflowDefinitionId !== "") {
1437
+ obj.workflowDefinitionId = message.workflowDefinitionId;
1438
1438
  }
1439
1439
  if (message.pageSize !== 0) {
1440
1440
  obj.pageSize = Math.round(message.pageSize);
@@ -1451,7 +1451,7 @@ exports.ListWorkflowVersionsRequest = {
1451
1451
  var _a, _b, _c, _d;
1452
1452
  const message = createBaseListWorkflowVersionsRequest();
1453
1453
  message.organizationId = (_a = object.organizationId) !== null && _a !== void 0 ? _a : "";
1454
- message.workflowTemplateId = (_b = object.workflowTemplateId) !== null && _b !== void 0 ? _b : "";
1454
+ message.workflowDefinitionId = (_b = object.workflowDefinitionId) !== null && _b !== void 0 ? _b : "";
1455
1455
  message.pageSize = (_c = object.pageSize) !== null && _c !== void 0 ? _c : 0;
1456
1456
  message.pageToken = (_d = object.pageToken) !== null && _d !== void 0 ? _d : "";
1457
1457
  return message;
@@ -1535,15 +1535,15 @@ exports.ListWorkflowVersionsResponse = {
1535
1535
  },
1536
1536
  };
1537
1537
  function createBaseRunWorkflowRequest() {
1538
- return { organizationId: "", workflowTemplateId: "", version: 0, chatSessionId: "", input: undefined };
1538
+ return { organizationId: "", workflowDefinitionId: "", version: 0, chatSessionId: "", input: undefined };
1539
1539
  }
1540
1540
  exports.RunWorkflowRequest = {
1541
1541
  encode(message, writer = new wire_1.BinaryWriter()) {
1542
1542
  if (message.organizationId !== "") {
1543
1543
  writer.uint32(10).string(message.organizationId);
1544
1544
  }
1545
- if (message.workflowTemplateId !== "") {
1546
- writer.uint32(18).string(message.workflowTemplateId);
1545
+ if (message.workflowDefinitionId !== "") {
1546
+ writer.uint32(18).string(message.workflowDefinitionId);
1547
1547
  }
1548
1548
  if (message.version !== 0) {
1549
1549
  writer.uint32(24).int32(message.version);
@@ -1574,7 +1574,7 @@ exports.RunWorkflowRequest = {
1574
1574
  if (tag !== 18) {
1575
1575
  break;
1576
1576
  }
1577
- message.workflowTemplateId = reader.string();
1577
+ message.workflowDefinitionId = reader.string();
1578
1578
  continue;
1579
1579
  }
1580
1580
  case 3: {
@@ -1613,10 +1613,10 @@ exports.RunWorkflowRequest = {
1613
1613
  : isSet(object.organization_id)
1614
1614
  ? globalThis.String(object.organization_id)
1615
1615
  : "",
1616
- workflowTemplateId: isSet(object.workflowTemplateId)
1617
- ? globalThis.String(object.workflowTemplateId)
1618
- : isSet(object.workflow_template_id)
1619
- ? globalThis.String(object.workflow_template_id)
1616
+ workflowDefinitionId: isSet(object.workflowDefinitionId)
1617
+ ? globalThis.String(object.workflowDefinitionId)
1618
+ : isSet(object.workflow_definition_id)
1619
+ ? globalThis.String(object.workflow_definition_id)
1620
1620
  : "",
1621
1621
  version: isSet(object.version) ? globalThis.Number(object.version) : 0,
1622
1622
  chatSessionId: isSet(object.chatSessionId)
@@ -1632,8 +1632,8 @@ exports.RunWorkflowRequest = {
1632
1632
  if (message.organizationId !== "") {
1633
1633
  obj.organizationId = message.organizationId;
1634
1634
  }
1635
- if (message.workflowTemplateId !== "") {
1636
- obj.workflowTemplateId = message.workflowTemplateId;
1635
+ if (message.workflowDefinitionId !== "") {
1636
+ obj.workflowDefinitionId = message.workflowDefinitionId;
1637
1637
  }
1638
1638
  if (message.version !== 0) {
1639
1639
  obj.version = Math.round(message.version);
@@ -1653,7 +1653,7 @@ exports.RunWorkflowRequest = {
1653
1653
  var _a, _b, _c, _d, _e;
1654
1654
  const message = createBaseRunWorkflowRequest();
1655
1655
  message.organizationId = (_a = object.organizationId) !== null && _a !== void 0 ? _a : "";
1656
- message.workflowTemplateId = (_b = object.workflowTemplateId) !== null && _b !== void 0 ? _b : "";
1656
+ message.workflowDefinitionId = (_b = object.workflowDefinitionId) !== null && _b !== void 0 ? _b : "";
1657
1657
  message.version = (_c = object.version) !== null && _c !== void 0 ? _c : 0;
1658
1658
  message.chatSessionId = (_d = object.chatSessionId) !== null && _d !== void 0 ? _d : "";
1659
1659
  message.input = (_e = object.input) !== null && _e !== void 0 ? _e : undefined;
@@ -1859,15 +1859,15 @@ exports.GetWorkflowRunResponse = {
1859
1859
  },
1860
1860
  };
1861
1861
  function createBaseListWorkflowRunsRequest() {
1862
- return { organizationId: "", workflowTemplateId: "", status: 0, pageSize: 0, pageToken: "" };
1862
+ return { organizationId: "", workflowDefinitionId: "", status: 0, pageSize: 0, pageToken: "" };
1863
1863
  }
1864
1864
  exports.ListWorkflowRunsRequest = {
1865
1865
  encode(message, writer = new wire_1.BinaryWriter()) {
1866
1866
  if (message.organizationId !== "") {
1867
1867
  writer.uint32(10).string(message.organizationId);
1868
1868
  }
1869
- if (message.workflowTemplateId !== "") {
1870
- writer.uint32(18).string(message.workflowTemplateId);
1869
+ if (message.workflowDefinitionId !== "") {
1870
+ writer.uint32(18).string(message.workflowDefinitionId);
1871
1871
  }
1872
1872
  if (message.status !== 0) {
1873
1873
  writer.uint32(24).int32(message.status);
@@ -1898,7 +1898,7 @@ exports.ListWorkflowRunsRequest = {
1898
1898
  if (tag !== 18) {
1899
1899
  break;
1900
1900
  }
1901
- message.workflowTemplateId = reader.string();
1901
+ message.workflowDefinitionId = reader.string();
1902
1902
  continue;
1903
1903
  }
1904
1904
  case 3: {
@@ -1937,10 +1937,10 @@ exports.ListWorkflowRunsRequest = {
1937
1937
  : isSet(object.organization_id)
1938
1938
  ? globalThis.String(object.organization_id)
1939
1939
  : "",
1940
- workflowTemplateId: isSet(object.workflowTemplateId)
1941
- ? globalThis.String(object.workflowTemplateId)
1942
- : isSet(object.workflow_template_id)
1943
- ? globalThis.String(object.workflow_template_id)
1940
+ workflowDefinitionId: isSet(object.workflowDefinitionId)
1941
+ ? globalThis.String(object.workflowDefinitionId)
1942
+ : isSet(object.workflow_definition_id)
1943
+ ? globalThis.String(object.workflow_definition_id)
1944
1944
  : "",
1945
1945
  status: isSet(object.status) ? (0, workflow_pb_1.workflowRunStatusFromJSON)(object.status) : 0,
1946
1946
  pageSize: isSet(object.pageSize)
@@ -1960,8 +1960,8 @@ exports.ListWorkflowRunsRequest = {
1960
1960
  if (message.organizationId !== "") {
1961
1961
  obj.organizationId = message.organizationId;
1962
1962
  }
1963
- if (message.workflowTemplateId !== "") {
1964
- obj.workflowTemplateId = message.workflowTemplateId;
1963
+ if (message.workflowDefinitionId !== "") {
1964
+ obj.workflowDefinitionId = message.workflowDefinitionId;
1965
1965
  }
1966
1966
  if (message.status !== 0) {
1967
1967
  obj.status = (0, workflow_pb_1.workflowRunStatusToJSON)(message.status);
@@ -1981,7 +1981,7 @@ exports.ListWorkflowRunsRequest = {
1981
1981
  var _a, _b, _c, _d, _e;
1982
1982
  const message = createBaseListWorkflowRunsRequest();
1983
1983
  message.organizationId = (_a = object.organizationId) !== null && _a !== void 0 ? _a : "";
1984
- message.workflowTemplateId = (_b = object.workflowTemplateId) !== null && _b !== void 0 ? _b : "";
1984
+ message.workflowDefinitionId = (_b = object.workflowDefinitionId) !== null && _b !== void 0 ? _b : "";
1985
1985
  message.status = (_c = object.status) !== null && _c !== void 0 ? _c : 0;
1986
1986
  message.pageSize = (_d = object.pageSize) !== null && _d !== void 0 ? _d : 0;
1987
1987
  message.pageToken = (_e = object.pageToken) !== null && _e !== void 0 ? _e : "";
@@ -2217,12 +2217,12 @@ class WorkflowServiceClientImpl {
2217
2217
  constructor(rpc, opts) {
2218
2218
  this.service = (opts === null || opts === void 0 ? void 0 : opts.service) || exports.WorkflowServiceServiceName;
2219
2219
  this.rpc = rpc;
2220
- this.CreateWorkflowTemplate = this.CreateWorkflowTemplate.bind(this);
2221
- this.GetWorkflowTemplate = this.GetWorkflowTemplate.bind(this);
2222
- this.ListWorkflowTemplates = this.ListWorkflowTemplates.bind(this);
2220
+ this.CreateWorkflowDefinition = this.CreateWorkflowDefinition.bind(this);
2221
+ this.GetWorkflowDefinition = this.GetWorkflowDefinition.bind(this);
2222
+ this.ListWorkflowDefinitions = this.ListWorkflowDefinitions.bind(this);
2223
2223
  this.UpdateWorkflowDraft = this.UpdateWorkflowDraft.bind(this);
2224
2224
  this.PlanWorkflowPublish = this.PlanWorkflowPublish.bind(this);
2225
- this.PublishWorkflowTemplate = this.PublishWorkflowTemplate.bind(this);
2225
+ this.PublishWorkflowDefinition = this.PublishWorkflowDefinition.bind(this);
2226
2226
  this.GetWorkflowVersion = this.GetWorkflowVersion.bind(this);
2227
2227
  this.ListWorkflowVersions = this.ListWorkflowVersions.bind(this);
2228
2228
  this.RunWorkflow = this.RunWorkflow.bind(this);
@@ -2230,20 +2230,20 @@ class WorkflowServiceClientImpl {
2230
2230
  this.ListWorkflowRuns = this.ListWorkflowRuns.bind(this);
2231
2231
  this.WatchWorkflowRunEvents = this.WatchWorkflowRunEvents.bind(this);
2232
2232
  }
2233
- CreateWorkflowTemplate(request) {
2234
- const data = exports.CreateWorkflowTemplateRequest.encode(request).finish();
2235
- const promise = this.rpc.request(this.service, "CreateWorkflowTemplate", data);
2236
- return promise.then((data) => exports.CreateWorkflowTemplateResponse.decode(new wire_1.BinaryReader(data)));
2233
+ CreateWorkflowDefinition(request) {
2234
+ const data = exports.CreateWorkflowDefinitionRequest.encode(request).finish();
2235
+ const promise = this.rpc.request(this.service, "CreateWorkflowDefinition", data);
2236
+ return promise.then((data) => exports.CreateWorkflowDefinitionResponse.decode(new wire_1.BinaryReader(data)));
2237
2237
  }
2238
- GetWorkflowTemplate(request) {
2239
- const data = exports.GetWorkflowTemplateRequest.encode(request).finish();
2240
- const promise = this.rpc.request(this.service, "GetWorkflowTemplate", data);
2241
- return promise.then((data) => exports.GetWorkflowTemplateResponse.decode(new wire_1.BinaryReader(data)));
2238
+ GetWorkflowDefinition(request) {
2239
+ const data = exports.GetWorkflowDefinitionRequest.encode(request).finish();
2240
+ const promise = this.rpc.request(this.service, "GetWorkflowDefinition", data);
2241
+ return promise.then((data) => exports.GetWorkflowDefinitionResponse.decode(new wire_1.BinaryReader(data)));
2242
2242
  }
2243
- ListWorkflowTemplates(request) {
2244
- const data = exports.ListWorkflowTemplatesRequest.encode(request).finish();
2245
- const promise = this.rpc.request(this.service, "ListWorkflowTemplates", data);
2246
- return promise.then((data) => exports.ListWorkflowTemplatesResponse.decode(new wire_1.BinaryReader(data)));
2243
+ ListWorkflowDefinitions(request) {
2244
+ const data = exports.ListWorkflowDefinitionsRequest.encode(request).finish();
2245
+ const promise = this.rpc.request(this.service, "ListWorkflowDefinitions", data);
2246
+ return promise.then((data) => exports.ListWorkflowDefinitionsResponse.decode(new wire_1.BinaryReader(data)));
2247
2247
  }
2248
2248
  UpdateWorkflowDraft(request) {
2249
2249
  const data = exports.UpdateWorkflowDraftRequest.encode(request).finish();
@@ -2255,10 +2255,10 @@ class WorkflowServiceClientImpl {
2255
2255
  const promise = this.rpc.request(this.service, "PlanWorkflowPublish", data);
2256
2256
  return promise.then((data) => exports.PlanWorkflowPublishResponse.decode(new wire_1.BinaryReader(data)));
2257
2257
  }
2258
- PublishWorkflowTemplate(request) {
2259
- const data = exports.PublishWorkflowTemplateRequest.encode(request).finish();
2260
- const promise = this.rpc.request(this.service, "PublishWorkflowTemplate", data);
2261
- return promise.then((data) => exports.PublishWorkflowTemplateResponse.decode(new wire_1.BinaryReader(data)));
2258
+ PublishWorkflowDefinition(request) {
2259
+ const data = exports.PublishWorkflowDefinitionRequest.encode(request).finish();
2260
+ const promise = this.rpc.request(this.service, "PublishWorkflowDefinition", data);
2261
+ return promise.then((data) => exports.PublishWorkflowDefinitionResponse.decode(new wire_1.BinaryReader(data)));
2262
2262
  }
2263
2263
  GetWorkflowVersion(request) {
2264
2264
  const data = exports.GetWorkflowVersionRequest.encode(request).finish();
@@ -2296,11 +2296,11 @@ exports.WorkflowServiceDefinition = {
2296
2296
  name: "WorkflowService",
2297
2297
  fullName: "weaveapi.workflow.v1.WorkflowService",
2298
2298
  methods: {
2299
- createWorkflowTemplate: {
2300
- name: "CreateWorkflowTemplate",
2301
- requestType: exports.CreateWorkflowTemplateRequest,
2299
+ createWorkflowDefinition: {
2300
+ name: "CreateWorkflowDefinition",
2301
+ requestType: exports.CreateWorkflowDefinitionRequest,
2302
2302
  requestStream: false,
2303
- responseType: exports.CreateWorkflowTemplateResponse,
2303
+ responseType: exports.CreateWorkflowDefinitionResponse,
2304
2304
  responseStream: false,
2305
2305
  options: {
2306
2306
  _unknownFields: {
@@ -2330,19 +2330,19 @@ exports.WorkflowServiceDefinition = {
2330
2330
  },
2331
2331
  },
2332
2332
  },
2333
- getWorkflowTemplate: {
2334
- name: "GetWorkflowTemplate",
2335
- requestType: exports.GetWorkflowTemplateRequest,
2333
+ getWorkflowDefinition: {
2334
+ name: "GetWorkflowDefinition",
2335
+ requestType: exports.GetWorkflowDefinitionRequest,
2336
2336
  requestStream: false,
2337
- responseType: exports.GetWorkflowTemplateResponse,
2337
+ responseType: exports.GetWorkflowDefinitionResponse,
2338
2338
  responseStream: false,
2339
2339
  options: {
2340
2340
  _unknownFields: {
2341
2341
  578365826: [
2342
2342
  new Uint8Array([
2343
- 38,
2343
+ 40,
2344
2344
  18,
2345
- 36,
2345
+ 38,
2346
2346
  47,
2347
2347
  118,
2348
2348
  49,
@@ -2367,14 +2367,16 @@ exports.WorkflowServiceDefinition = {
2367
2367
  111,
2368
2368
  119,
2369
2369
  95,
2370
- 116,
2370
+ 100,
2371
2371
  101,
2372
- 109,
2373
- 112,
2374
- 108,
2375
- 97,
2372
+ 102,
2373
+ 105,
2374
+ 110,
2375
+ 105,
2376
2376
  116,
2377
- 101,
2377
+ 105,
2378
+ 111,
2379
+ 110,
2378
2380
  95,
2379
2381
  105,
2380
2382
  100,
@@ -2384,11 +2386,11 @@ exports.WorkflowServiceDefinition = {
2384
2386
  },
2385
2387
  },
2386
2388
  },
2387
- listWorkflowTemplates: {
2388
- name: "ListWorkflowTemplates",
2389
- requestType: exports.ListWorkflowTemplatesRequest,
2389
+ listWorkflowDefinitions: {
2390
+ name: "ListWorkflowDefinitions",
2391
+ requestType: exports.ListWorkflowDefinitionsRequest,
2390
2392
  requestStream: false,
2391
- responseType: exports.ListWorkflowTemplatesResponse,
2393
+ responseType: exports.ListWorkflowDefinitionsResponse,
2392
2394
  responseStream: false,
2393
2395
  options: {
2394
2396
  _unknownFields: {
@@ -2408,12 +2410,12 @@ exports.WorkflowServiceDefinition = {
2408
2410
  _unknownFields: {
2409
2411
  578365826: [
2410
2412
  new Uint8Array([
2411
- 47,
2413
+ 49,
2412
2414
  58,
2413
2415
  1,
2414
2416
  42,
2415
2417
  50,
2416
- 42,
2418
+ 44,
2417
2419
  47,
2418
2420
  118,
2419
2421
  49,
@@ -2438,14 +2440,16 @@ exports.WorkflowServiceDefinition = {
2438
2440
  111,
2439
2441
  119,
2440
2442
  95,
2441
- 116,
2443
+ 100,
2442
2444
  101,
2443
- 109,
2444
- 112,
2445
- 108,
2446
- 97,
2445
+ 102,
2446
+ 105,
2447
+ 110,
2448
+ 105,
2447
2449
  116,
2448
- 101,
2450
+ 105,
2451
+ 111,
2452
+ 110,
2449
2453
  95,
2450
2454
  105,
2451
2455
  100,
@@ -2471,12 +2475,12 @@ exports.WorkflowServiceDefinition = {
2471
2475
  _unknownFields: {
2472
2476
  578365826: [
2473
2477
  new Uint8Array([
2474
- 59,
2478
+ 61,
2475
2479
  58,
2476
2480
  1,
2477
2481
  42,
2478
2482
  34,
2479
- 54,
2483
+ 56,
2480
2484
  47,
2481
2485
  118,
2482
2486
  49,
@@ -2501,14 +2505,16 @@ exports.WorkflowServiceDefinition = {
2501
2505
  111,
2502
2506
  119,
2503
2507
  95,
2504
- 116,
2508
+ 100,
2505
2509
  101,
2506
- 109,
2507
- 112,
2508
- 108,
2509
- 97,
2510
+ 102,
2511
+ 105,
2512
+ 110,
2513
+ 105,
2510
2514
  116,
2511
- 101,
2515
+ 105,
2516
+ 111,
2517
+ 110,
2512
2518
  95,
2513
2519
  105,
2514
2520
  100,
@@ -2536,22 +2542,22 @@ exports.WorkflowServiceDefinition = {
2536
2542
  },
2537
2543
  },
2538
2544
  },
2539
- publishWorkflowTemplate: {
2540
- name: "PublishWorkflowTemplate",
2541
- requestType: exports.PublishWorkflowTemplateRequest,
2545
+ publishWorkflowDefinition: {
2546
+ name: "PublishWorkflowDefinition",
2547
+ requestType: exports.PublishWorkflowDefinitionRequest,
2542
2548
  requestStream: false,
2543
- responseType: exports.PublishWorkflowTemplateResponse,
2549
+ responseType: exports.PublishWorkflowDefinitionResponse,
2544
2550
  responseStream: false,
2545
2551
  options: {
2546
2552
  _unknownFields: {
2547
2553
  578365826: [
2548
2554
  new Uint8Array([
2549
- 49,
2555
+ 51,
2550
2556
  58,
2551
2557
  1,
2552
2558
  42,
2553
2559
  34,
2554
- 44,
2560
+ 46,
2555
2561
  47,
2556
2562
  118,
2557
2563
  49,
@@ -2576,14 +2582,16 @@ exports.WorkflowServiceDefinition = {
2576
2582
  111,
2577
2583
  119,
2578
2584
  95,
2579
- 116,
2585
+ 100,
2580
2586
  101,
2581
- 109,
2582
- 112,
2583
- 108,
2584
- 97,
2587
+ 102,
2588
+ 105,
2589
+ 110,
2590
+ 105,
2585
2591
  116,
2586
- 101,
2592
+ 105,
2593
+ 111,
2594
+ 110,
2587
2595
  95,
2588
2596
  105,
2589
2597
  100,
@@ -2611,9 +2619,9 @@ exports.WorkflowServiceDefinition = {
2611
2619
  _unknownFields: {
2612
2620
  578365826: [
2613
2621
  new Uint8Array([
2614
- 57,
2622
+ 59,
2615
2623
  18,
2616
- 55,
2624
+ 57,
2617
2625
  47,
2618
2626
  118,
2619
2627
  49,
@@ -2638,14 +2646,16 @@ exports.WorkflowServiceDefinition = {
2638
2646
  111,
2639
2647
  119,
2640
2648
  95,
2641
- 116,
2649
+ 100,
2642
2650
  101,
2643
- 109,
2644
- 112,
2645
- 108,
2646
- 97,
2651
+ 102,
2652
+ 105,
2653
+ 110,
2654
+ 105,
2647
2655
  116,
2648
- 101,
2656
+ 105,
2657
+ 111,
2658
+ 110,
2649
2659
  95,
2650
2660
  105,
2651
2661
  100,
@@ -2684,9 +2694,9 @@ exports.WorkflowServiceDefinition = {
2684
2694
  _unknownFields: {
2685
2695
  578365826: [
2686
2696
  new Uint8Array([
2687
- 47,
2697
+ 49,
2688
2698
  18,
2689
- 45,
2699
+ 47,
2690
2700
  47,
2691
2701
  118,
2692
2702
  49,
@@ -2711,14 +2721,16 @@ exports.WorkflowServiceDefinition = {
2711
2721
  111,
2712
2722
  119,
2713
2723
  95,
2714
- 116,
2724
+ 100,
2715
2725
  101,
2716
- 109,
2717
- 112,
2718
- 108,
2719
- 97,
2726
+ 102,
2727
+ 105,
2728
+ 110,
2729
+ 105,
2720
2730
  116,
2721
- 101,
2731
+ 105,
2732
+ 111,
2733
+ 110,
2722
2734
  95,
2723
2735
  105,
2724
2736
  100,
@@ -2747,12 +2759,12 @@ exports.WorkflowServiceDefinition = {
2747
2759
  _unknownFields: {
2748
2760
  578365826: [
2749
2761
  new Uint8Array([
2750
- 64,
2762
+ 66,
2751
2763
  58,
2752
2764
  1,
2753
2765
  42,
2754
2766
  34,
2755
- 59,
2767
+ 61,
2756
2768
  47,
2757
2769
  118,
2758
2770
  49,
@@ -2777,14 +2789,16 @@ exports.WorkflowServiceDefinition = {
2777
2789
  111,
2778
2790
  119,
2779
2791
  95,
2780
- 116,
2792
+ 100,
2781
2793
  101,
2782
- 109,
2783
- 112,
2784
- 108,
2785
- 97,
2794
+ 102,
2795
+ 105,
2796
+ 110,
2797
+ 105,
2786
2798
  116,
2787
- 101,
2799
+ 105,
2800
+ 111,
2801
+ 110,
2788
2802
  95,
2789
2803
  105,
2790
2804
  100,