weave-typescript 0.46.0 → 0.47.1

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.
@@ -211,19 +211,19 @@ export interface ChatStreamFrame_WorkspaceCommand_ShowArtifact {
211
211
  artifactId: string;
212
212
  }
213
213
  export interface ChatStreamFrame_WorkspaceCommand_ShowAgentDraft {
214
- agentTemplateId: string;
214
+ agentDefinitionId: string;
215
215
  draftId: string;
216
216
  title: string;
217
217
  revision: number;
218
218
  }
219
219
  export interface ChatStreamFrame_WorkspaceCommand_ShowWorkflowDraft {
220
- workflowTemplateId: string;
220
+ workflowDefinitionId: string;
221
221
  draftId: string;
222
222
  title: string;
223
223
  revision: number;
224
224
  }
225
225
  export interface ChatStreamFrame_WorkspaceCommand_ShowWorkflowGraph {
226
- workflowTemplateId: string;
226
+ workflowDefinitionId: string;
227
227
  draftId: string;
228
228
  title: string;
229
229
  revision: number;
@@ -2874,12 +2874,12 @@ exports.ChatStreamFrame_WorkspaceCommand_ShowArtifact = {
2874
2874
  },
2875
2875
  };
2876
2876
  function createBaseChatStreamFrame_WorkspaceCommand_ShowAgentDraft() {
2877
- return { agentTemplateId: "", draftId: "", title: "", revision: 0 };
2877
+ return { agentDefinitionId: "", draftId: "", title: "", revision: 0 };
2878
2878
  }
2879
2879
  exports.ChatStreamFrame_WorkspaceCommand_ShowAgentDraft = {
2880
2880
  encode(message, writer = new wire_1.BinaryWriter()) {
2881
- if (message.agentTemplateId !== "") {
2882
- writer.uint32(10).string(message.agentTemplateId);
2881
+ if (message.agentDefinitionId !== "") {
2882
+ writer.uint32(10).string(message.agentDefinitionId);
2883
2883
  }
2884
2884
  if (message.draftId !== "") {
2885
2885
  writer.uint32(18).string(message.draftId);
@@ -2903,7 +2903,7 @@ exports.ChatStreamFrame_WorkspaceCommand_ShowAgentDraft = {
2903
2903
  if (tag !== 10) {
2904
2904
  break;
2905
2905
  }
2906
- message.agentTemplateId = reader.string();
2906
+ message.agentDefinitionId = reader.string();
2907
2907
  continue;
2908
2908
  }
2909
2909
  case 2: {
@@ -2937,10 +2937,10 @@ exports.ChatStreamFrame_WorkspaceCommand_ShowAgentDraft = {
2937
2937
  },
2938
2938
  fromJSON(object) {
2939
2939
  return {
2940
- agentTemplateId: isSet(object.agentTemplateId)
2941
- ? globalThis.String(object.agentTemplateId)
2942
- : isSet(object.agent_template_id)
2943
- ? globalThis.String(object.agent_template_id)
2940
+ agentDefinitionId: isSet(object.agentDefinitionId)
2941
+ ? globalThis.String(object.agentDefinitionId)
2942
+ : isSet(object.agent_definition_id)
2943
+ ? globalThis.String(object.agent_definition_id)
2944
2944
  : "",
2945
2945
  draftId: isSet(object.draftId)
2946
2946
  ? globalThis.String(object.draftId)
@@ -2953,8 +2953,8 @@ exports.ChatStreamFrame_WorkspaceCommand_ShowAgentDraft = {
2953
2953
  },
2954
2954
  toJSON(message) {
2955
2955
  const obj = {};
2956
- if (message.agentTemplateId !== "") {
2957
- obj.agentTemplateId = message.agentTemplateId;
2956
+ if (message.agentDefinitionId !== "") {
2957
+ obj.agentDefinitionId = message.agentDefinitionId;
2958
2958
  }
2959
2959
  if (message.draftId !== "") {
2960
2960
  obj.draftId = message.draftId;
@@ -2973,7 +2973,7 @@ exports.ChatStreamFrame_WorkspaceCommand_ShowAgentDraft = {
2973
2973
  fromPartial(object) {
2974
2974
  var _a, _b, _c, _d;
2975
2975
  const message = createBaseChatStreamFrame_WorkspaceCommand_ShowAgentDraft();
2976
- message.agentTemplateId = (_a = object.agentTemplateId) !== null && _a !== void 0 ? _a : "";
2976
+ message.agentDefinitionId = (_a = object.agentDefinitionId) !== null && _a !== void 0 ? _a : "";
2977
2977
  message.draftId = (_b = object.draftId) !== null && _b !== void 0 ? _b : "";
2978
2978
  message.title = (_c = object.title) !== null && _c !== void 0 ? _c : "";
2979
2979
  message.revision = (_d = object.revision) !== null && _d !== void 0 ? _d : 0;
@@ -2981,12 +2981,12 @@ exports.ChatStreamFrame_WorkspaceCommand_ShowAgentDraft = {
2981
2981
  },
2982
2982
  };
2983
2983
  function createBaseChatStreamFrame_WorkspaceCommand_ShowWorkflowDraft() {
2984
- return { workflowTemplateId: "", draftId: "", title: "", revision: 0 };
2984
+ return { workflowDefinitionId: "", draftId: "", title: "", revision: 0 };
2985
2985
  }
2986
2986
  exports.ChatStreamFrame_WorkspaceCommand_ShowWorkflowDraft = {
2987
2987
  encode(message, writer = new wire_1.BinaryWriter()) {
2988
- if (message.workflowTemplateId !== "") {
2989
- writer.uint32(10).string(message.workflowTemplateId);
2988
+ if (message.workflowDefinitionId !== "") {
2989
+ writer.uint32(10).string(message.workflowDefinitionId);
2990
2990
  }
2991
2991
  if (message.draftId !== "") {
2992
2992
  writer.uint32(18).string(message.draftId);
@@ -3010,7 +3010,7 @@ exports.ChatStreamFrame_WorkspaceCommand_ShowWorkflowDraft = {
3010
3010
  if (tag !== 10) {
3011
3011
  break;
3012
3012
  }
3013
- message.workflowTemplateId = reader.string();
3013
+ message.workflowDefinitionId = reader.string();
3014
3014
  continue;
3015
3015
  }
3016
3016
  case 2: {
@@ -3044,10 +3044,10 @@ exports.ChatStreamFrame_WorkspaceCommand_ShowWorkflowDraft = {
3044
3044
  },
3045
3045
  fromJSON(object) {
3046
3046
  return {
3047
- workflowTemplateId: isSet(object.workflowTemplateId)
3048
- ? globalThis.String(object.workflowTemplateId)
3049
- : isSet(object.workflow_template_id)
3050
- ? globalThis.String(object.workflow_template_id)
3047
+ workflowDefinitionId: isSet(object.workflowDefinitionId)
3048
+ ? globalThis.String(object.workflowDefinitionId)
3049
+ : isSet(object.workflow_definition_id)
3050
+ ? globalThis.String(object.workflow_definition_id)
3051
3051
  : "",
3052
3052
  draftId: isSet(object.draftId)
3053
3053
  ? globalThis.String(object.draftId)
@@ -3060,8 +3060,8 @@ exports.ChatStreamFrame_WorkspaceCommand_ShowWorkflowDraft = {
3060
3060
  },
3061
3061
  toJSON(message) {
3062
3062
  const obj = {};
3063
- if (message.workflowTemplateId !== "") {
3064
- obj.workflowTemplateId = message.workflowTemplateId;
3063
+ if (message.workflowDefinitionId !== "") {
3064
+ obj.workflowDefinitionId = message.workflowDefinitionId;
3065
3065
  }
3066
3066
  if (message.draftId !== "") {
3067
3067
  obj.draftId = message.draftId;
@@ -3080,7 +3080,7 @@ exports.ChatStreamFrame_WorkspaceCommand_ShowWorkflowDraft = {
3080
3080
  fromPartial(object) {
3081
3081
  var _a, _b, _c, _d;
3082
3082
  const message = createBaseChatStreamFrame_WorkspaceCommand_ShowWorkflowDraft();
3083
- message.workflowTemplateId = (_a = object.workflowTemplateId) !== null && _a !== void 0 ? _a : "";
3083
+ message.workflowDefinitionId = (_a = object.workflowDefinitionId) !== null && _a !== void 0 ? _a : "";
3084
3084
  message.draftId = (_b = object.draftId) !== null && _b !== void 0 ? _b : "";
3085
3085
  message.title = (_c = object.title) !== null && _c !== void 0 ? _c : "";
3086
3086
  message.revision = (_d = object.revision) !== null && _d !== void 0 ? _d : 0;
@@ -3088,12 +3088,12 @@ exports.ChatStreamFrame_WorkspaceCommand_ShowWorkflowDraft = {
3088
3088
  },
3089
3089
  };
3090
3090
  function createBaseChatStreamFrame_WorkspaceCommand_ShowWorkflowGraph() {
3091
- return { workflowTemplateId: "", draftId: "", title: "", revision: 0 };
3091
+ return { workflowDefinitionId: "", draftId: "", title: "", revision: 0 };
3092
3092
  }
3093
3093
  exports.ChatStreamFrame_WorkspaceCommand_ShowWorkflowGraph = {
3094
3094
  encode(message, writer = new wire_1.BinaryWriter()) {
3095
- if (message.workflowTemplateId !== "") {
3096
- writer.uint32(10).string(message.workflowTemplateId);
3095
+ if (message.workflowDefinitionId !== "") {
3096
+ writer.uint32(10).string(message.workflowDefinitionId);
3097
3097
  }
3098
3098
  if (message.draftId !== "") {
3099
3099
  writer.uint32(18).string(message.draftId);
@@ -3117,7 +3117,7 @@ exports.ChatStreamFrame_WorkspaceCommand_ShowWorkflowGraph = {
3117
3117
  if (tag !== 10) {
3118
3118
  break;
3119
3119
  }
3120
- message.workflowTemplateId = reader.string();
3120
+ message.workflowDefinitionId = reader.string();
3121
3121
  continue;
3122
3122
  }
3123
3123
  case 2: {
@@ -3151,10 +3151,10 @@ exports.ChatStreamFrame_WorkspaceCommand_ShowWorkflowGraph = {
3151
3151
  },
3152
3152
  fromJSON(object) {
3153
3153
  return {
3154
- workflowTemplateId: isSet(object.workflowTemplateId)
3155
- ? globalThis.String(object.workflowTemplateId)
3156
- : isSet(object.workflow_template_id)
3157
- ? globalThis.String(object.workflow_template_id)
3154
+ workflowDefinitionId: isSet(object.workflowDefinitionId)
3155
+ ? globalThis.String(object.workflowDefinitionId)
3156
+ : isSet(object.workflow_definition_id)
3157
+ ? globalThis.String(object.workflow_definition_id)
3158
3158
  : "",
3159
3159
  draftId: isSet(object.draftId)
3160
3160
  ? globalThis.String(object.draftId)
@@ -3167,8 +3167,8 @@ exports.ChatStreamFrame_WorkspaceCommand_ShowWorkflowGraph = {
3167
3167
  },
3168
3168
  toJSON(message) {
3169
3169
  const obj = {};
3170
- if (message.workflowTemplateId !== "") {
3171
- obj.workflowTemplateId = message.workflowTemplateId;
3170
+ if (message.workflowDefinitionId !== "") {
3171
+ obj.workflowDefinitionId = message.workflowDefinitionId;
3172
3172
  }
3173
3173
  if (message.draftId !== "") {
3174
3174
  obj.draftId = message.draftId;
@@ -3187,7 +3187,7 @@ exports.ChatStreamFrame_WorkspaceCommand_ShowWorkflowGraph = {
3187
3187
  fromPartial(object) {
3188
3188
  var _a, _b, _c, _d;
3189
3189
  const message = createBaseChatStreamFrame_WorkspaceCommand_ShowWorkflowGraph();
3190
- message.workflowTemplateId = (_a = object.workflowTemplateId) !== null && _a !== void 0 ? _a : "";
3190
+ message.workflowDefinitionId = (_a = object.workflowDefinitionId) !== null && _a !== void 0 ? _a : "";
3191
3191
  message.draftId = (_b = object.draftId) !== null && _b !== void 0 ? _b : "";
3192
3192
  message.title = (_c = object.title) !== null && _c !== void 0 ? _c : "";
3193
3193
  message.revision = (_d = object.revision) !== null && _d !== void 0 ? _d : 0;
@@ -1,13 +1,13 @@
1
1
  import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
2
2
  import { Observable } from "rxjs";
3
- import { WorkflowDefinition, WorkflowDraft, WorkflowPublishPlan, WorkflowRun, WorkflowRunEvent, WorkflowRunStatus, WorkflowStepRun, WorkflowTemplate, WorkflowTemplateStatus, WorkflowVersion } from "./workflow.pb";
3
+ import { WorkflowDefinition, WorkflowDefinitionStatus, WorkflowDraft, WorkflowGraph, WorkflowPublishPlan, WorkflowRun, WorkflowRunEvent, WorkflowRunStatus, WorkflowStepRun, WorkflowVersion } from "./workflow.pb";
4
4
  export declare const protobufPackage = "weaveapi.workflow.v1";
5
- export interface CreateWorkflowTemplateRequest {
5
+ export interface CreateWorkflowDefinitionRequest {
6
6
  organizationId: string;
7
7
  slug: string;
8
8
  name: string;
9
9
  description: string;
10
- definition: WorkflowDefinition | undefined;
10
+ graph: WorkflowGraph | undefined;
11
11
  inputSchema: {
12
12
  [key: string]: any;
13
13
  } | undefined;
@@ -18,36 +18,36 @@ export interface CreateWorkflowTemplateRequest {
18
18
  [key: string]: any;
19
19
  } | undefined;
20
20
  }
21
- export interface CreateWorkflowTemplateResponse {
22
- template: WorkflowTemplate | undefined;
21
+ export interface CreateWorkflowDefinitionResponse {
22
+ definition: WorkflowDefinition | undefined;
23
23
  draft: WorkflowDraft | undefined;
24
24
  }
25
- export interface GetWorkflowTemplateRequest {
25
+ export interface GetWorkflowDefinitionRequest {
26
26
  organizationId: string;
27
- workflowTemplateId: string;
27
+ workflowDefinitionId: string;
28
28
  }
29
- export interface GetWorkflowTemplateResponse {
30
- template: WorkflowTemplate | undefined;
29
+ export interface GetWorkflowDefinitionResponse {
30
+ definition: WorkflowDefinition | undefined;
31
31
  draft: WorkflowDraft | undefined;
32
32
  latestVersion: WorkflowVersion | undefined;
33
33
  }
34
- export interface ListWorkflowTemplatesRequest {
34
+ export interface ListWorkflowDefinitionsRequest {
35
35
  organizationId: string;
36
- status: WorkflowTemplateStatus;
36
+ status: WorkflowDefinitionStatus;
37
37
  pageSize: number;
38
38
  pageToken: string;
39
39
  }
40
- export interface ListWorkflowTemplatesResponse {
41
- templates: WorkflowTemplate[];
40
+ export interface ListWorkflowDefinitionsResponse {
41
+ definitions: WorkflowDefinition[];
42
42
  nextPageToken: string;
43
43
  }
44
44
  export interface UpdateWorkflowDraftRequest {
45
45
  organizationId: string;
46
- workflowTemplateId: string;
46
+ workflowDefinitionId: string;
47
47
  expectedRevision: number;
48
48
  name: string;
49
49
  description: string;
50
- definition: WorkflowDefinition | undefined;
50
+ graph: WorkflowGraph | undefined;
51
51
  inputSchema: {
52
52
  [key: string]: any;
53
53
  } | undefined;
@@ -66,23 +66,23 @@ export interface UpdateWorkflowDraftResponse {
66
66
  }
67
67
  export interface PlanWorkflowPublishRequest {
68
68
  organizationId: string;
69
- workflowTemplateId: string;
69
+ workflowDefinitionId: string;
70
70
  draftRevision: number;
71
71
  }
72
72
  export interface PlanWorkflowPublishResponse {
73
73
  plan: WorkflowPublishPlan | undefined;
74
74
  }
75
- export interface PublishWorkflowTemplateRequest {
75
+ export interface PublishWorkflowDefinitionRequest {
76
76
  organizationId: string;
77
- workflowTemplateId: string;
77
+ workflowDefinitionId: string;
78
78
  draftRevision: number;
79
79
  }
80
- export interface PublishWorkflowTemplateResponse {
80
+ export interface PublishWorkflowDefinitionResponse {
81
81
  version: WorkflowVersion | undefined;
82
82
  }
83
83
  export interface GetWorkflowVersionRequest {
84
84
  organizationId: string;
85
- workflowTemplateId: string;
85
+ workflowDefinitionId: string;
86
86
  version: number;
87
87
  }
88
88
  export interface GetWorkflowVersionResponse {
@@ -90,7 +90,7 @@ export interface GetWorkflowVersionResponse {
90
90
  }
91
91
  export interface ListWorkflowVersionsRequest {
92
92
  organizationId: string;
93
- workflowTemplateId: string;
93
+ workflowDefinitionId: string;
94
94
  pageSize: number;
95
95
  pageToken: string;
96
96
  }
@@ -100,7 +100,7 @@ export interface ListWorkflowVersionsResponse {
100
100
  }
101
101
  export interface RunWorkflowRequest {
102
102
  organizationId: string;
103
- workflowTemplateId: string;
103
+ workflowDefinitionId: string;
104
104
  version: number;
105
105
  chatSessionId: string;
106
106
  input: {
@@ -120,7 +120,7 @@ export interface GetWorkflowRunResponse {
120
120
  }
121
121
  export interface ListWorkflowRunsRequest {
122
122
  organizationId: string;
123
- workflowTemplateId: string;
123
+ workflowDefinitionId: string;
124
124
  status: WorkflowRunStatus;
125
125
  pageSize: number;
126
126
  pageToken: string;
@@ -137,18 +137,18 @@ export interface WatchWorkflowRunEventsRequest {
137
137
  export interface WatchWorkflowRunEventsResponse {
138
138
  event: WorkflowRunEvent | undefined;
139
139
  }
140
- export declare const CreateWorkflowTemplateRequest: MessageFns<CreateWorkflowTemplateRequest>;
141
- export declare const CreateWorkflowTemplateResponse: MessageFns<CreateWorkflowTemplateResponse>;
142
- export declare const GetWorkflowTemplateRequest: MessageFns<GetWorkflowTemplateRequest>;
143
- export declare const GetWorkflowTemplateResponse: MessageFns<GetWorkflowTemplateResponse>;
144
- export declare const ListWorkflowTemplatesRequest: MessageFns<ListWorkflowTemplatesRequest>;
145
- export declare const ListWorkflowTemplatesResponse: MessageFns<ListWorkflowTemplatesResponse>;
140
+ export declare const CreateWorkflowDefinitionRequest: MessageFns<CreateWorkflowDefinitionRequest>;
141
+ export declare const CreateWorkflowDefinitionResponse: MessageFns<CreateWorkflowDefinitionResponse>;
142
+ export declare const GetWorkflowDefinitionRequest: MessageFns<GetWorkflowDefinitionRequest>;
143
+ export declare const GetWorkflowDefinitionResponse: MessageFns<GetWorkflowDefinitionResponse>;
144
+ export declare const ListWorkflowDefinitionsRequest: MessageFns<ListWorkflowDefinitionsRequest>;
145
+ export declare const ListWorkflowDefinitionsResponse: MessageFns<ListWorkflowDefinitionsResponse>;
146
146
  export declare const UpdateWorkflowDraftRequest: MessageFns<UpdateWorkflowDraftRequest>;
147
147
  export declare const UpdateWorkflowDraftResponse: MessageFns<UpdateWorkflowDraftResponse>;
148
148
  export declare const PlanWorkflowPublishRequest: MessageFns<PlanWorkflowPublishRequest>;
149
149
  export declare const PlanWorkflowPublishResponse: MessageFns<PlanWorkflowPublishResponse>;
150
- export declare const PublishWorkflowTemplateRequest: MessageFns<PublishWorkflowTemplateRequest>;
151
- export declare const PublishWorkflowTemplateResponse: MessageFns<PublishWorkflowTemplateResponse>;
150
+ export declare const PublishWorkflowDefinitionRequest: MessageFns<PublishWorkflowDefinitionRequest>;
151
+ export declare const PublishWorkflowDefinitionResponse: MessageFns<PublishWorkflowDefinitionResponse>;
152
152
  export declare const GetWorkflowVersionRequest: MessageFns<GetWorkflowVersionRequest>;
153
153
  export declare const GetWorkflowVersionResponse: MessageFns<GetWorkflowVersionResponse>;
154
154
  export declare const ListWorkflowVersionsRequest: MessageFns<ListWorkflowVersionsRequest>;
@@ -162,12 +162,12 @@ export declare const ListWorkflowRunsResponse: MessageFns<ListWorkflowRunsRespon
162
162
  export declare const WatchWorkflowRunEventsRequest: MessageFns<WatchWorkflowRunEventsRequest>;
163
163
  export declare const WatchWorkflowRunEventsResponse: MessageFns<WatchWorkflowRunEventsResponse>;
164
164
  export interface WorkflowService {
165
- CreateWorkflowTemplate(request: CreateWorkflowTemplateRequest): Promise<CreateWorkflowTemplateResponse>;
166
- GetWorkflowTemplate(request: GetWorkflowTemplateRequest): Promise<GetWorkflowTemplateResponse>;
167
- ListWorkflowTemplates(request: ListWorkflowTemplatesRequest): Promise<ListWorkflowTemplatesResponse>;
165
+ CreateWorkflowDefinition(request: CreateWorkflowDefinitionRequest): Promise<CreateWorkflowDefinitionResponse>;
166
+ GetWorkflowDefinition(request: GetWorkflowDefinitionRequest): Promise<GetWorkflowDefinitionResponse>;
167
+ ListWorkflowDefinitions(request: ListWorkflowDefinitionsRequest): Promise<ListWorkflowDefinitionsResponse>;
168
168
  UpdateWorkflowDraft(request: UpdateWorkflowDraftRequest): Promise<UpdateWorkflowDraftResponse>;
169
169
  PlanWorkflowPublish(request: PlanWorkflowPublishRequest): Promise<PlanWorkflowPublishResponse>;
170
- PublishWorkflowTemplate(request: PublishWorkflowTemplateRequest): Promise<PublishWorkflowTemplateResponse>;
170
+ PublishWorkflowDefinition(request: PublishWorkflowDefinitionRequest): Promise<PublishWorkflowDefinitionResponse>;
171
171
  GetWorkflowVersion(request: GetWorkflowVersionRequest): Promise<GetWorkflowVersionResponse>;
172
172
  ListWorkflowVersions(request: ListWorkflowVersionsRequest): Promise<ListWorkflowVersionsResponse>;
173
173
  RunWorkflow(request: RunWorkflowRequest): Promise<RunWorkflowResponse>;
@@ -182,12 +182,12 @@ export declare class WorkflowServiceClientImpl implements WorkflowService {
182
182
  constructor(rpc: Rpc, opts?: {
183
183
  service?: string;
184
184
  });
185
- CreateWorkflowTemplate(request: CreateWorkflowTemplateRequest): Promise<CreateWorkflowTemplateResponse>;
186
- GetWorkflowTemplate(request: GetWorkflowTemplateRequest): Promise<GetWorkflowTemplateResponse>;
187
- ListWorkflowTemplates(request: ListWorkflowTemplatesRequest): Promise<ListWorkflowTemplatesResponse>;
185
+ CreateWorkflowDefinition(request: CreateWorkflowDefinitionRequest): Promise<CreateWorkflowDefinitionResponse>;
186
+ GetWorkflowDefinition(request: GetWorkflowDefinitionRequest): Promise<GetWorkflowDefinitionResponse>;
187
+ ListWorkflowDefinitions(request: ListWorkflowDefinitionsRequest): Promise<ListWorkflowDefinitionsResponse>;
188
188
  UpdateWorkflowDraft(request: UpdateWorkflowDraftRequest): Promise<UpdateWorkflowDraftResponse>;
189
189
  PlanWorkflowPublish(request: PlanWorkflowPublishRequest): Promise<PlanWorkflowPublishResponse>;
190
- PublishWorkflowTemplate(request: PublishWorkflowTemplateRequest): Promise<PublishWorkflowTemplateResponse>;
190
+ PublishWorkflowDefinition(request: PublishWorkflowDefinitionRequest): Promise<PublishWorkflowDefinitionResponse>;
191
191
  GetWorkflowVersion(request: GetWorkflowVersionRequest): Promise<GetWorkflowVersionResponse>;
192
192
  ListWorkflowVersions(request: ListWorkflowVersionsRequest): Promise<ListWorkflowVersionsResponse>;
193
193
  RunWorkflow(request: RunWorkflowRequest): Promise<RunWorkflowResponse>;
@@ -200,11 +200,11 @@ export declare const WorkflowServiceDefinition: {
200
200
  readonly name: "WorkflowService";
201
201
  readonly fullName: "weaveapi.workflow.v1.WorkflowService";
202
202
  readonly methods: {
203
- readonly createWorkflowTemplate: {
204
- readonly name: "CreateWorkflowTemplate";
205
- readonly requestType: typeof CreateWorkflowTemplateRequest;
203
+ readonly createWorkflowDefinition: {
204
+ readonly name: "CreateWorkflowDefinition";
205
+ readonly requestType: typeof CreateWorkflowDefinitionRequest;
206
206
  readonly requestStream: false;
207
- readonly responseType: typeof CreateWorkflowTemplateResponse;
207
+ readonly responseType: typeof CreateWorkflowDefinitionResponse;
208
208
  readonly responseStream: false;
209
209
  readonly options: {
210
210
  readonly _unknownFields: {
@@ -212,11 +212,11 @@ export declare const WorkflowServiceDefinition: {
212
212
  };
213
213
  };
214
214
  };
215
- readonly getWorkflowTemplate: {
216
- readonly name: "GetWorkflowTemplate";
217
- readonly requestType: typeof GetWorkflowTemplateRequest;
215
+ readonly getWorkflowDefinition: {
216
+ readonly name: "GetWorkflowDefinition";
217
+ readonly requestType: typeof GetWorkflowDefinitionRequest;
218
218
  readonly requestStream: false;
219
- readonly responseType: typeof GetWorkflowTemplateResponse;
219
+ readonly responseType: typeof GetWorkflowDefinitionResponse;
220
220
  readonly responseStream: false;
221
221
  readonly options: {
222
222
  readonly _unknownFields: {
@@ -224,11 +224,11 @@ export declare const WorkflowServiceDefinition: {
224
224
  };
225
225
  };
226
226
  };
227
- readonly listWorkflowTemplates: {
228
- readonly name: "ListWorkflowTemplates";
229
- readonly requestType: typeof ListWorkflowTemplatesRequest;
227
+ readonly listWorkflowDefinitions: {
228
+ readonly name: "ListWorkflowDefinitions";
229
+ readonly requestType: typeof ListWorkflowDefinitionsRequest;
230
230
  readonly requestStream: false;
231
- readonly responseType: typeof ListWorkflowTemplatesResponse;
231
+ readonly responseType: typeof ListWorkflowDefinitionsResponse;
232
232
  readonly responseStream: false;
233
233
  readonly options: {
234
234
  readonly _unknownFields: {
@@ -260,11 +260,11 @@ export declare const WorkflowServiceDefinition: {
260
260
  };
261
261
  };
262
262
  };
263
- readonly publishWorkflowTemplate: {
264
- readonly name: "PublishWorkflowTemplate";
265
- readonly requestType: typeof PublishWorkflowTemplateRequest;
263
+ readonly publishWorkflowDefinition: {
264
+ readonly name: "PublishWorkflowDefinition";
265
+ readonly requestType: typeof PublishWorkflowDefinitionRequest;
266
266
  readonly requestStream: false;
267
- readonly responseType: typeof PublishWorkflowTemplateResponse;
267
+ readonly responseType: typeof PublishWorkflowDefinitionResponse;
268
268
  readonly responseStream: false;
269
269
  readonly options: {
270
270
  readonly _unknownFields: {